diff --git a/README.md b/README.md
index fd65e10..8ca1458 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,15 @@ The only required input is `project-name`.
that CodeBuild requires.
By default, the action uses the buildspec file location
that you configured in the CodeBuild project.
+1. **compute-type-override** (optional) :
+ The name of a compute type for this build that overrides the one specified
+ in the build project.
+1. **environment-type-override** (optional) :
+ A container type for this build that overrides the one specified in the
+ build project.
+1. **image-override** (optional) :
+ The name of an image for this build that overrides the one specified
+ in the build project.
1. **env-vars-for-codebuild** (optional) :
A comma-separated list of the names of environment variables
that the action passes from GitHub Actions to CodeBuild.
@@ -37,6 +46,31 @@ The only required input is `project-name`.
the one defined here replaces the one in the CodeBuild project.
For a list of CodeBuild environment variables, see
+1. **update-interval** (optional) :
+ Update interval as seconds for how often the API is called to check on the status.
+
+ A higher value mitigates the chance of hitting API rate-limiting especially when
+ running many instances of this action in parallel, but also introduces a larger
+ potential time overhead (ranging from 0 to update interval) for the action to
+ fetch the build result and finish.
+
+ Lower value limits the potential time overhead worst case but it may hit the API
+ rate-limit more often, depending on the use-case.
+
+ The default value is 30.
+
+1. **update-back-off** (optional) :
+ Base back-off time in seconds for the update interval.
+
+ When API rate-limiting is hit the back-off time, augmented with jitter, will be
+ added to the next update interval.
+ E.g. with update interval of 30 and back-off time of 15, upon hitting the rate-limit
+ the next interval for the update call will be 30 + random_between(0, 15 _ 2 \*\* 0))
+ seconds and if the rate-limit is hit again the next interval will be
+ 30 + random_between(0, 15 _ 2 \*\* 1) and so on.
+
+ The default value is 15.
+
### Outputs
1. **aws-build-id** : The CodeBuild build ID of the build that the action ran.
@@ -136,7 +170,7 @@ the only CodeBuild Run input you need to provide is the project name.
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: Run CodeBuild
- uses: aws-actions/aws-codebuild-run-build@v1.0.3
+ uses: aws-actions/aws-codebuild-run-build@v1
with:
project-name: CodeBuildProjectName
```
@@ -158,10 +192,13 @@ this will overwrite them.
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: Run CodeBuild
- uses: aws-actions/aws-codebuild-run-build@v1.0.3
+ uses: aws-actions/aws-codebuild-run-build@v1
with:
project-name: CodeBuildProjectName
buildspec-override: path/to/buildspec.yaml
+ compute-type-override: compute-type
+ environment-type-override: environment-type
+ image-override: ecr-image-uri
env-vars-for-codebuild: |
custom,
requester,
diff --git a/action.yml b/action.yml
index 8feaae4..0e647ce 100644
--- a/action.yml
+++ b/action.yml
@@ -10,12 +10,28 @@ inputs:
buildspec-override:
description: 'Buildspec Override'
required: false
+ compute-type-override:
+ description: 'The name of a compute type for this build that overrides the one specified in the build project.'
+ required: false
+ environment-type-override:
+ description: 'A container type for this build that overrides the one specified in the build project.'
+ required: false
+ image-override:
+ description: 'The name of an image for this build that overrides the one specified in the build project.'
+ required: false
env-vars-for-codebuild:
description: 'Comma separated list of environment variables to send to CodeBuild'
required: false
+ update-interval:
+ description: 'How often the action calls the API for updates'
+ required: false
+ update-back-off:
+ description: 'Base back-off time for the update calls for API if rate-limiting is encountered'
+ required: false
+
outputs:
aws-build-id:
description: 'The AWS CodeBuild Build ID for this build.'
runs:
- using: 'node12'
- main: 'dist/index.js'
\ No newline at end of file
+ using: 'node16'
+ main: 'dist/index.js'
diff --git a/code-build.js b/code-build.js
index 4e20c83..4cec993 100644
--- a/code-build.js
+++ b/code-build.js
@@ -20,27 +20,41 @@ function runBuild() {
// get a codeBuild instance from the SDK
const sdk = buildSdk();
+ const inputs = githubInputs();
+
+ const config = (({ updateInterval, updateBackOff }) => ({
+ updateInterval,
+ updateBackOff,
+ }))(inputs);
+
// Get input options for startBuild
- const params = inputs2Parameters(githubInputs());
+ const params = inputs2Parameters(inputs);
- return build(sdk, params);
+ return build(sdk, params, config);
}
-async function build(sdk, params) {
+async function build(sdk, params, config) {
// Start the build
const start = await sdk.codeBuild.startBuild(params).promise();
// Wait for the build to "complete"
- return waitForBuildEndTime(sdk, start.build);
+ return waitForBuildEndTime(sdk, start.build, config);
}
-async function waitForBuildEndTime(sdk, { id, logs }, nextToken) {
- const {
- codeBuild,
- cloudWatchLogs,
- wait = 1000 * 30,
- backOff = 1000 * 15,
- } = sdk;
+async function waitForBuildEndTime(
+ sdk,
+ { id, logs },
+ { updateInterval, updateBackOff },
+ seqEmptyLogs,
+ totalEvents,
+ throttleCount,
+ nextToken
+) {
+ const { codeBuild, cloudWatchLogs } = sdk;
+
+ totalEvents = totalEvents || 0;
+ seqEmptyLogs = seqEmptyLogs || 0;
+ throttleCount = throttleCount || 0;
// Get the CloudWatchLog info
const startFromHead = true;
@@ -55,7 +69,12 @@ async function waitForBuildEndTime(sdk, { id, logs }, nextToken) {
// The CloudWatchLog _may_ not be set up, only make the call if we have a logGroupName
logGroupName &&
cloudWatchLogs
- .getLogEvents({ logGroupName, logStreamName, startFromHead, nextToken })
+ .getLogEvents({
+ logGroupName,
+ logStreamName,
+ startFromHead,
+ nextToken,
+ })
.promise(),
]).catch((err) => {
errObject = err;
@@ -70,16 +89,24 @@ async function waitForBuildEndTime(sdk, { id, logs }, nextToken) {
if (errObject) {
//We caught an error in trying to make the AWS api call, and are now checking to see if it was just a rate limiting error
if (errObject.message && errObject.message.search("Rate exceeded") !== -1) {
- //We were rate-limited, so add `backOff` seconds to the wait time
- let newWait = wait + backOff;
+ // We were rate-limited, so add backoff with Full Jitter, ref: https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/
+ let jitteredBackOff = Math.floor(
+ Math.random() * (updateBackOff * 2 ** throttleCount)
+ );
+ let newWait = updateInterval + jitteredBackOff;
+ throttleCount++;
//Sleep before trying again
await new Promise((resolve) => setTimeout(resolve, newWait));
// Try again from the same token position
return waitForBuildEndTime(
- { ...sdk, wait: newWait },
+ { ...sdk },
{ id, logs },
+ { updateInterval: newWait, updateBackOff },
+ seqEmptyLogs,
+ totalEvents,
+ throttleCount,
nextToken
);
} else {
@@ -92,20 +119,48 @@ async function waitForBuildEndTime(sdk, { id, logs }, nextToken) {
const [current] = batch.builds;
const { nextForwardToken, events = [] } = cloudWatch;
+ // GetLogEvents can return partial/empty responses even when there is data.
+ // We wait for two consecutive empty log responses to minimize false positive on EOF.
+ // Empty response counter starts after any logs have been received, or when the build completes.
+ if (events.length == 0 && (totalEvents > 0 || current.endTime)) {
+ seqEmptyLogs++;
+ } else {
+ seqEmptyLogs = 0;
+ }
+ totalEvents += events.length;
+
// stdout the CloudWatchLog (everyone likes progress...)
// CloudWatchLogs have line endings.
// I trim and then log each line
// to ensure that the line ending is OS specific.
events.forEach(({ message }) => console.log(message.trimEnd()));
- // We did it! We can stop looking!
- if (current.endTime && !events.length) return current;
+ // Stop after the build is ended and we've received two consecutive empty log responses
+ if (current.endTime && seqEmptyLogs >= 2) {
+ return current;
+ }
// More to do: Sleep for a few seconds to avoid rate limiting
- await new Promise((resolve) => setTimeout(resolve, wait));
+ // If never throttled and build is complete, halve CWL polling delay to minimize latency
+ await new Promise((resolve) =>
+ setTimeout(
+ resolve,
+ current.endTime && throttleCount == 0
+ ? updateInterval / 2
+ : updateInterval
+ )
+ );
// Try again
- return waitForBuildEndTime(sdk, current, nextForwardToken);
+ return waitForBuildEndTime(
+ sdk,
+ current,
+ { updateInterval, updateBackOff },
+ seqEmptyLogs,
+ totalEvents,
+ throttleCount,
+ nextForwardToken
+ );
}
function githubInputs() {
@@ -117,7 +172,7 @@ function githubInputs() {
// So I use the raw ENV.
// There is a complexity here because for pull request
// the GITHUB_SHA value is NOT the correct value.
- // See: https://github.com/sailthru/aws-codebuild-run-build/issues/36
+ // See: https://github.com/aws-actions/aws-codebuild-run-build/issues/36
const sourceVersion =
process.env[`GITHUB_EVENT_NAME`] === "pull_request"
? (((payload || {}).pull_request || {}).head || {}).sha
@@ -127,19 +182,44 @@ function githubInputs() {
const buildspecOverride =
core.getInput("buildspec-override", { required: false }) || undefined;
+ const computeTypeOverride =
+ core.getInput("compute-type-override", { required: false }) || undefined;
+
+ const environmentTypeOverride =
+ core.getInput("environment-type-override", { required: false }) ||
+ undefined;
+ const imageOverride =
+ core.getInput("image-override", { required: false }) || undefined;
+
const envPassthrough = core
.getInput("env-vars-for-codebuild", { required: false })
.split(",")
.map((i) => i.trim())
.filter((i) => i !== "");
+ const updateInterval =
+ parseInt(
+ core.getInput("update-interval", { required: false }) || "30",
+ 10
+ ) * 1000;
+ const updateBackOff =
+ parseInt(
+ core.getInput("update-back-off", { required: false }) || "15",
+ 10
+ ) * 1000;
+
return {
projectName,
owner,
repo,
sourceVersion,
buildspecOverride,
+ computeTypeOverride,
+ environmentTypeOverride,
+ imageOverride,
envPassthrough,
+ updateInterval,
+ updateBackOff,
};
}
@@ -150,8 +230,15 @@ function inputs2Parameters(inputs) {
repo,
sourceVersion,
buildspecOverride,
+ computeTypeOverride,
+ environmentTypeOverride,
+ imageOverride,
envPassthrough = [],
} = inputs;
+
+ const sourceTypeOverride = "GITHUB";
+ const sourceLocationOverride = `https://github.com/${owner}/${repo}.git`;
+
const environmentVariablesOverride = Object.entries(process.env)
.filter(
([key]) => key.startsWith("GITHUB_") || envPassthrough.includes(key)
@@ -162,36 +249,47 @@ function inputs2Parameters(inputs) {
// This way the GitHub events can manage the builds.
return {
projectName,
+ sourceVersion,
+ sourceTypeOverride,
+ sourceLocationOverride,
buildspecOverride,
+ computeTypeOverride,
+ environmentTypeOverride,
+ imageOverride,
environmentVariablesOverride,
};
}
function buildSdk() {
const codeBuild = new aws.CodeBuild({
- customUserAgent: "sailthru/aws-codebuild-run-build",
+ customUserAgent: "aws-actions/aws-codebuild-run-build",
});
const cloudWatchLogs = new aws.CloudWatchLogs({
- customUserAgent: "sailthru/aws-codebuild-run-build",
+ customUserAgent: "aws-actions/aws-codebuild-run-build",
});
assert(
codeBuild.config.credentials && cloudWatchLogs.config.credentials,
- "No credentials. Try adding @sailthru/configure-aws-credentials earlier in your job to set up AWS credentials."
+ "No credentials. Try adding @aws-actions/configure-aws-credentials earlier in your job to set up AWS credentials."
);
return { codeBuild, cloudWatchLogs };
}
function logName(Arn) {
- const [logGroupName, logStreamName] = Arn.split(":log-group:")
- .pop()
- .split(":log-stream:");
- if (logGroupName === "null" || logStreamName === "null")
- return {
- logGroupName: undefined,
- logStreamName: undefined,
- };
- return { logGroupName, logStreamName };
+ const logs = {
+ logGroupName: undefined,
+ logStreamName: undefined,
+ };
+ if (Arn) {
+ const [logGroupName, logStreamName] = Arn.split(":log-group:")
+ .pop()
+ .split(":log-stream:");
+ if (logGroupName !== "null" && logStreamName !== "null") {
+ logs.logGroupName = logGroupName;
+ logs.logStreamName = logStreamName;
+ }
+ }
+ return logs;
}
diff --git a/dist/index.js b/dist/index.js
index 4f371cf..d9e1a74 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,1135 +1,325 @@
-module.exports = /******/ (function (modules, runtime) {
+/******/ (() => {
// webpackBootstrap
- /******/ "use strict"; // The module cache
- /******/ /******/ var installedModules = {}; // The require function
- /******/
- /******/ /******/ function __webpack_require__(moduleId) {
- /******/
- /******/ // Check if module is in cache
- /******/ if (installedModules[moduleId]) {
- /******/ return installedModules[moduleId].exports;
- /******/
- } // Create a new module (and put it into the cache)
- /******/ /******/ var module = (installedModules[moduleId] = {
- /******/ i: moduleId,
- /******/ l: false,
- /******/ exports: {},
- /******/
- }); // Execute the module function
- /******/
- /******/ /******/ modules[moduleId].call(
- module.exports,
+ /******/ var __webpack_modules__ = {
+ /***/ 72496: /***/ (
module,
- module.exports,
- __webpack_require__
- ); // Flag the module as loaded
- /******/
- /******/ /******/ module.l = true; // Return the exports of the module
- /******/
- /******/ /******/ return module.exports;
- /******/
- }
- /******/
- /******/
- /******/ __webpack_require__.ab = __dirname + "/"; // the startup function
- /******/
- /******/ /******/ function startup() {
- /******/ // Load entry module and return exports
- /******/ return __webpack_require__(104);
- /******/
- } // run startup
- /******/
- /******/ /******/ return startup();
- /******/
-})(
- /************************************************************************/
- /******/ {
- /***/ 0: /***/ function (module, __unusedexports, __webpack_require__) {
- const { requestLog } = __webpack_require__(8916);
- const { restEndpointMethods } = __webpack_require__(842);
+ __unused_webpack_exports,
+ __nccwpck_require__
+ ) => {
+ // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ // SPDX-License-Identifier: Apache-2.0
- const Core = __webpack_require__(9529);
+ const core = __nccwpck_require__(42186);
+ const github = __nccwpck_require__(95438);
+ const aws = __nccwpck_require__(71786);
+ const assert = __nccwpck_require__(39491);
- const CORE_PLUGINS = [
- __webpack_require__(4190),
- __webpack_require__(8019), // deprecated: remove in v17
- requestLog,
- __webpack_require__(8148),
- restEndpointMethods,
- __webpack_require__(4430),
+ module.exports = {
+ runBuild,
+ build,
+ waitForBuildEndTime,
+ inputs2Parameters,
+ githubInputs,
+ buildSdk,
+ logName,
+ };
- __webpack_require__(850), // deprecated: remove in v17
- ];
+ function runBuild() {
+ // get a codeBuild instance from the SDK
+ const sdk = buildSdk();
- const OctokitRest = Core.plugin(CORE_PLUGINS);
+ const inputs = githubInputs();
- function DeprecatedOctokit(options) {
- const warn =
- options && options.log && options.log.warn
- ? options.log.warn
- : console.warn;
- warn(
- '[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead'
- );
- return new OctokitRest(options);
+ const config = (({ updateInterval, updateBackOff }) => ({
+ updateInterval,
+ updateBackOff,
+ }))(inputs);
+
+ // Get input options for startBuild
+ const params = inputs2Parameters(inputs);
+
+ return build(sdk, params, config);
}
- const Octokit = Object.assign(DeprecatedOctokit, {
- Octokit: OctokitRest,
- });
+ async function build(sdk, params, config) {
+ // Start the build
+ const start = await sdk.codeBuild.startBuild(params).promise();
- Object.keys(OctokitRest).forEach((key) => {
- /* istanbul ignore else */
- if (OctokitRest.hasOwnProperty(key)) {
- Octokit[key] = OctokitRest[key];
- }
- });
+ // Wait for the build to "complete"
+ return waitForBuildEndTime(sdk, start.build, config);
+ }
- module.exports = Octokit;
+ async function waitForBuildEndTime(
+ sdk,
+ { id, logs },
+ { updateInterval, updateBackOff },
+ seqEmptyLogs,
+ totalEvents,
+ throttleCount,
+ nextToken
+ ) {
+ const { codeBuild, cloudWatchLogs } = sdk;
- /***/
- },
+ totalEvents = totalEvents || 0;
+ seqEmptyLogs = seqEmptyLogs || 0;
+ throttleCount = throttleCount || 0;
- /***/ 20: /***/ function (module, __unusedexports, __webpack_require__) {
- "use strict";
+ // Get the CloudWatchLog info
+ const startFromHead = true;
+ const { cloudWatchLogsArn } = logs;
+ const { logGroupName, logStreamName } = logName(cloudWatchLogsArn);
- const cp = __webpack_require__(3129);
- const parse = __webpack_require__(4568);
- const enoent = __webpack_require__(2881);
+ let errObject = false;
- function spawn(command, args, options) {
- // Parse the arguments
- const parsed = parse(command, args, options);
+ // Check the state
+ const [batch, cloudWatch = {}] = await Promise.all([
+ codeBuild.batchGetBuilds({ ids: [id] }).promise(),
+ // The CloudWatchLog _may_ not be set up, only make the call if we have a logGroupName
+ logGroupName &&
+ cloudWatchLogs
+ .getLogEvents({
+ logGroupName,
+ logStreamName,
+ startFromHead,
+ nextToken,
+ })
+ .promise(),
+ ]).catch((err) => {
+ errObject = err;
+ /* Returning [] here so that the assignment above
+ * does not throw `TypeError: undefined is not iterable`.
+ * The error is handled below,
+ * since it might be a rate limit.
+ */
+ return [];
+ });
- // Spawn the child process
- const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
+ if (errObject) {
+ //We caught an error in trying to make the AWS api call, and are now checking to see if it was just a rate limiting error
+ if (
+ errObject.message &&
+ errObject.message.search("Rate exceeded") !== -1
+ ) {
+ // We were rate-limited, so add backoff with Full Jitter, ref: https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/
+ let jitteredBackOff = Math.floor(
+ Math.random() * (updateBackOff * 2 ** throttleCount)
+ );
+ let newWait = updateInterval + jitteredBackOff;
+ throttleCount++;
- // Hook into child process "exit" event to emit an error if the command
- // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16
- enoent.hookChildProcess(spawned, parsed);
+ //Sleep before trying again
+ await new Promise((resolve) => setTimeout(resolve, newWait));
- return spawned;
- }
+ // Try again from the same token position
+ return waitForBuildEndTime(
+ { ...sdk },
+ { id, logs },
+ { updateInterval: newWait, updateBackOff },
+ seqEmptyLogs,
+ totalEvents,
+ throttleCount,
+ nextToken
+ );
+ } else {
+ //The error returned from the API wasn't about rate limiting, so throw it as an actual error and fail the job
+ throw errObject;
+ }
+ }
- function spawnSync(command, args, options) {
- // Parse the arguments
- const parsed = parse(command, args, options);
+ // Pluck off the relevant state
+ const [current] = batch.builds;
+ const { nextForwardToken, events = [] } = cloudWatch;
- // Spawn the child process
- const result = cp.spawnSync(
- parsed.command,
- parsed.args,
- parsed.options
- );
+ // GetLogEvents can return partial/empty responses even when there is data.
+ // We wait for two consecutive empty log responses to minimize false positive on EOF.
+ // Empty response counter starts after any logs have been received, or when the build completes.
+ if (events.length == 0 && (totalEvents > 0 || current.endTime)) {
+ seqEmptyLogs++;
+ } else {
+ seqEmptyLogs = 0;
+ }
+ totalEvents += events.length;
- // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16
- result.error =
- result.error || enoent.verifyENOENTSync(result.status, parsed);
+ // stdout the CloudWatchLog (everyone likes progress...)
+ // CloudWatchLogs have line endings.
+ // I trim and then log each line
+ // to ensure that the line ending is OS specific.
+ events.forEach(({ message }) => console.log(message.trimEnd()));
- return result;
- }
+ // Stop after the build is ended and we've received two consecutive empty log responses
+ if (current.endTime && seqEmptyLogs >= 2) {
+ return current;
+ }
- module.exports = spawn;
- module.exports.spawn = spawn;
- module.exports.sync = spawnSync;
+ // More to do: Sleep for a few seconds to avoid rate limiting
+ // If never throttled and build is complete, halve CWL polling delay to minimize latency
+ await new Promise((resolve) =>
+ setTimeout(
+ resolve,
+ current.endTime && throttleCount == 0
+ ? updateInterval / 2
+ : updateInterval
+ )
+ );
- module.exports._parse = parse;
- module.exports._enoent = enoent;
+ // Try again
+ return waitForBuildEndTime(
+ sdk,
+ current,
+ { updateInterval, updateBackOff },
+ seqEmptyLogs,
+ totalEvents,
+ throttleCount,
+ nextForwardToken
+ );
+ }
- /***/
- },
+ function githubInputs() {
+ const projectName = core.getInput("project-name", { required: true });
+ const { owner, repo } = github.context.repo;
+ const { payload } = github.context;
+ // The github.context.sha is evaluated on import.
+ // This makes it hard to test.
+ // So I use the raw ENV.
+ // There is a complexity here because for pull request
+ // the GITHUB_SHA value is NOT the correct value.
+ // See: https://github.com/aws-actions/aws-codebuild-run-build/issues/36
+ const sourceVersion =
+ process.env[`GITHUB_EVENT_NAME`] === "pull_request"
+ ? (((payload || {}).pull_request || {}).head || {}).sha
+ : process.env[`GITHUB_SHA`];
- /***/ 32: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeCases: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "cases",
- },
- DescribeCommunications: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "communications",
- },
- DescribeServices: { result_key: "services" },
- DescribeTrustedAdvisorCheckRefreshStatuses: {
- result_key: "statuses",
- },
- DescribeTrustedAdvisorCheckSummaries: { result_key: "summaries" },
- },
- };
+ assert(sourceVersion, "No source version could be evaluated.");
+ const buildspecOverride =
+ core.getInput("buildspec-override", { required: false }) || undefined;
- /***/
- },
+ const computeTypeOverride =
+ core.getInput("compute-type-override", { required: false }) ||
+ undefined;
- /***/ 42: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
+ const environmentTypeOverride =
+ core.getInput("environment-type-override", { required: false }) ||
+ undefined;
+ const imageOverride =
+ core.getInput("image-override", { required: false }) || undefined;
- 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__(5118);
- model.paginators = __webpack_require__(1657).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
+ const envPassthrough = core
+ .getInput("env-vars-for-codebuild", { required: false })
+ .split(",")
+ .map((i) => i.trim())
+ .filter((i) => i !== "");
- module.exports = AWS.WAFV2;
+ const updateInterval =
+ parseInt(
+ core.getInput("update-interval", { required: false }) || "30",
+ 10
+ ) * 1000;
+ const updateBackOff =
+ parseInt(
+ core.getInput("update-back-off", { required: false }) || "15",
+ 10
+ ) * 1000;
- /***/
- },
+ return {
+ projectName,
+ owner,
+ repo,
+ sourceVersion,
+ buildspecOverride,
+ computeTypeOverride,
+ environmentTypeOverride,
+ imageOverride,
+ envPassthrough,
+ updateInterval,
+ updateBackOff,
+ };
+ }
- /***/ 47: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeAccountAttributes: { result_key: "AccountAttributes" },
- DescribeAddresses: { result_key: "Addresses" },
- DescribeAvailabilityZones: { result_key: "AvailabilityZones" },
- DescribeBundleTasks: { result_key: "BundleTasks" },
- DescribeByoipCidrs: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ByoipCidrs",
- },
- DescribeCapacityReservations: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "CapacityReservations",
- },
- DescribeClassicLinkInstances: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Instances",
- },
- DescribeClientVpnAuthorizationRules: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "AuthorizationRules",
- },
- DescribeClientVpnConnections: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Connections",
- },
- DescribeClientVpnEndpoints: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ClientVpnEndpoints",
- },
- DescribeClientVpnRoutes: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Routes",
- },
- DescribeClientVpnTargetNetworks: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ClientVpnTargetNetworks",
- },
- DescribeCoipPools: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "CoipPools",
- },
- DescribeConversionTasks: { result_key: "ConversionTasks" },
- DescribeCustomerGateways: { result_key: "CustomerGateways" },
- DescribeDhcpOptions: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "DhcpOptions",
- },
- DescribeEgressOnlyInternetGateways: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "EgressOnlyInternetGateways",
- },
- DescribeExportImageTasks: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ExportImageTasks",
- },
- DescribeExportTasks: { result_key: "ExportTasks" },
- DescribeFastSnapshotRestores: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "FastSnapshotRestores",
- },
- DescribeFleets: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Fleets",
- },
- DescribeFlowLogs: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "FlowLogs",
- },
- DescribeFpgaImages: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "FpgaImages",
- },
- DescribeHostReservationOfferings: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "OfferingSet",
- },
- DescribeHostReservations: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "HostReservationSet",
- },
- DescribeHosts: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Hosts",
- },
- DescribeIamInstanceProfileAssociations: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "IamInstanceProfileAssociations",
- },
- DescribeImages: { result_key: "Images" },
- DescribeImportImageTasks: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ImportImageTasks",
- },
- DescribeImportSnapshotTasks: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ImportSnapshotTasks",
- },
- DescribeInstanceCreditSpecifications: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "InstanceCreditSpecifications",
- },
- DescribeInstanceStatus: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "InstanceStatuses",
- },
- DescribeInstanceTypeOfferings: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "InstanceTypeOfferings",
- },
- DescribeInstanceTypes: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "InstanceTypes",
- },
- DescribeInstances: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Reservations",
- },
- DescribeInternetGateways: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "InternetGateways",
- },
- DescribeIpv6Pools: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Ipv6Pools",
- },
- DescribeKeyPairs: { result_key: "KeyPairs" },
- DescribeLaunchTemplateVersions: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "LaunchTemplateVersions",
- },
- DescribeLaunchTemplates: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "LaunchTemplates",
- },
- DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key:
- "LocalGatewayRouteTableVirtualInterfaceGroupAssociations",
- },
- DescribeLocalGatewayRouteTableVpcAssociations: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "LocalGatewayRouteTableVpcAssociations",
- },
- DescribeLocalGatewayRouteTables: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "LocalGatewayRouteTables",
- },
- DescribeLocalGatewayVirtualInterfaceGroups: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "LocalGatewayVirtualInterfaceGroups",
- },
- DescribeLocalGatewayVirtualInterfaces: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "LocalGatewayVirtualInterfaces",
- },
- DescribeLocalGateways: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "LocalGateways",
- },
- DescribeMovingAddresses: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "MovingAddressStatuses",
- },
- DescribeNatGateways: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "NatGateways",
- },
- DescribeNetworkAcls: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "NetworkAcls",
- },
- DescribeNetworkInterfacePermissions: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "NetworkInterfacePermissions",
- },
- DescribeNetworkInterfaces: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "NetworkInterfaces",
- },
- DescribePlacementGroups: { result_key: "PlacementGroups" },
- DescribePrefixLists: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "PrefixLists",
- },
- DescribePrincipalIdFormat: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Principals",
- },
- DescribePublicIpv4Pools: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "PublicIpv4Pools",
- },
- DescribeRegions: { result_key: "Regions" },
- DescribeReservedInstances: { result_key: "ReservedInstances" },
- DescribeReservedInstancesListings: {
- result_key: "ReservedInstancesListings",
- },
- DescribeReservedInstancesModifications: {
- input_token: "NextToken",
- output_token: "NextToken",
- result_key: "ReservedInstancesModifications",
- },
- DescribeReservedInstancesOfferings: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ReservedInstancesOfferings",
- },
- DescribeRouteTables: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "RouteTables",
- },
- DescribeScheduledInstanceAvailability: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ScheduledInstanceAvailabilitySet",
- },
- DescribeScheduledInstances: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ScheduledInstanceSet",
- },
- DescribeSecurityGroups: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "SecurityGroups",
- },
- DescribeSnapshots: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Snapshots",
- },
- DescribeSpotFleetRequests: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "SpotFleetRequestConfigs",
- },
- DescribeSpotInstanceRequests: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "SpotInstanceRequests",
- },
- DescribeSpotPriceHistory: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "SpotPriceHistory",
- },
- DescribeStaleSecurityGroups: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "StaleSecurityGroupSet",
- },
- DescribeSubnets: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Subnets",
- },
- DescribeTags: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Tags",
- },
- DescribeTrafficMirrorFilters: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "TrafficMirrorFilters",
- },
- DescribeTrafficMirrorSessions: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "TrafficMirrorSessions",
- },
- DescribeTrafficMirrorTargets: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "TrafficMirrorTargets",
- },
- DescribeTransitGatewayAttachments: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "TransitGatewayAttachments",
- },
- DescribeTransitGatewayMulticastDomains: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "TransitGatewayMulticastDomains",
- },
- DescribeTransitGatewayPeeringAttachments: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "TransitGatewayPeeringAttachments",
- },
- DescribeTransitGatewayRouteTables: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "TransitGatewayRouteTables",
- },
- DescribeTransitGatewayVpcAttachments: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "TransitGatewayVpcAttachments",
- },
- DescribeTransitGateways: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "TransitGateways",
- },
- DescribeVolumeStatus: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "VolumeStatuses",
- },
- DescribeVolumes: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Volumes",
- },
- DescribeVolumesModifications: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "VolumesModifications",
- },
- DescribeVpcClassicLinkDnsSupport: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Vpcs",
- },
- DescribeVpcEndpointConnectionNotifications: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ConnectionNotificationSet",
- },
- DescribeVpcEndpointConnections: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "VpcEndpointConnections",
- },
- DescribeVpcEndpointServiceConfigurations: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ServiceConfigurations",
- },
- DescribeVpcEndpointServicePermissions: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "AllowedPrincipals",
- },
- DescribeVpcEndpoints: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "VpcEndpoints",
- },
- DescribeVpcPeeringConnections: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "VpcPeeringConnections",
- },
- DescribeVpcs: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Vpcs",
- },
- DescribeVpnConnections: { result_key: "VpnConnections" },
- DescribeVpnGateways: { result_key: "VpnGateways" },
- GetAssociatedIpv6PoolCidrs: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Ipv6CidrAssociations",
- },
- GetTransitGatewayAttachmentPropagations: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "TransitGatewayAttachmentPropagations",
- },
- GetTransitGatewayMulticastDomainAssociations: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "MulticastDomainAssociations",
- },
- GetTransitGatewayRouteTableAssociations: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Associations",
- },
- GetTransitGatewayRouteTablePropagations: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "TransitGatewayRouteTablePropagations",
- },
- SearchLocalGatewayRoutes: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Routes",
- },
- SearchTransitGatewayMulticastGroups: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "MulticastGroups",
- },
- },
- };
+ function inputs2Parameters(inputs) {
+ const {
+ projectName,
+ owner,
+ repo,
+ sourceVersion,
+ buildspecOverride,
+ computeTypeOverride,
+ environmentTypeOverride,
+ imageOverride,
+ envPassthrough = [],
+ } = inputs;
- /***/
- },
+ const sourceTypeOverride = "GITHUB";
+ const sourceLocationOverride = `https://github.com/${owner}/${repo}.git`;
- /***/ 72: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-08-22",
- endpointPrefix: "acm-pca",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "ACM-PCA",
- serviceFullName:
- "AWS Certificate Manager Private Certificate Authority",
- serviceId: "ACM PCA",
- signatureVersion: "v4",
- targetPrefix: "ACMPrivateCA",
- uid: "acm-pca-2017-08-22",
- },
- operations: {
- CreateCertificateAuthority: {
- input: {
- type: "structure",
- required: [
- "CertificateAuthorityConfiguration",
- "CertificateAuthorityType",
- ],
- members: {
- CertificateAuthorityConfiguration: { shape: "S2" },
- RevocationConfiguration: { shape: "Se" },
- CertificateAuthorityType: {},
- IdempotencyToken: {},
- Tags: { shape: "Sm" },
- },
- },
- output: {
- type: "structure",
- members: { CertificateAuthorityArn: {} },
- },
- idempotent: true,
- },
- CreateCertificateAuthorityAuditReport: {
- input: {
- type: "structure",
- required: [
- "CertificateAuthorityArn",
- "S3BucketName",
- "AuditReportResponseFormat",
- ],
- members: {
- CertificateAuthorityArn: {},
- S3BucketName: {},
- AuditReportResponseFormat: {},
- },
- },
- output: {
- type: "structure",
- members: { AuditReportId: {}, S3Key: {} },
- },
- idempotent: true,
- },
- CreatePermission: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn", "Principal", "Actions"],
- members: {
- CertificateAuthorityArn: {},
- Principal: {},
- SourceAccount: {},
- Actions: { shape: "S10" },
- },
- },
- },
- DeleteCertificateAuthority: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn"],
- members: {
- CertificateAuthorityArn: {},
- PermanentDeletionTimeInDays: { type: "integer" },
- },
- },
- },
- DeletePermission: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn", "Principal"],
- members: {
- CertificateAuthorityArn: {},
- Principal: {},
- SourceAccount: {},
- },
- },
- },
- DescribeCertificateAuthority: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn"],
- members: { CertificateAuthorityArn: {} },
- },
- output: {
- type: "structure",
- members: { CertificateAuthority: { shape: "S17" } },
- },
- },
- DescribeCertificateAuthorityAuditReport: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn", "AuditReportId"],
- members: { CertificateAuthorityArn: {}, AuditReportId: {} },
- },
- output: {
- type: "structure",
- members: {
- AuditReportStatus: {},
- S3BucketName: {},
- S3Key: {},
- CreatedAt: { type: "timestamp" },
- },
- },
- },
- GetCertificate: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn", "CertificateArn"],
- members: { CertificateAuthorityArn: {}, CertificateArn: {} },
- },
- output: {
- type: "structure",
- members: { Certificate: {}, CertificateChain: {} },
- },
- },
- GetCertificateAuthorityCertificate: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn"],
- members: { CertificateAuthorityArn: {} },
- },
- output: {
- type: "structure",
- members: { Certificate: {}, CertificateChain: {} },
- },
- },
- GetCertificateAuthorityCsr: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn"],
- members: { CertificateAuthorityArn: {} },
- },
- output: { type: "structure", members: { Csr: {} } },
- },
- ImportCertificateAuthorityCertificate: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn", "Certificate"],
- members: {
- CertificateAuthorityArn: {},
- Certificate: { type: "blob" },
- CertificateChain: { type: "blob" },
- },
- },
- },
- IssueCertificate: {
- input: {
- type: "structure",
- required: [
- "CertificateAuthorityArn",
- "Csr",
- "SigningAlgorithm",
- "Validity",
- ],
- members: {
- CertificateAuthorityArn: {},
- Csr: { type: "blob" },
- SigningAlgorithm: {},
- TemplateArn: {},
- Validity: {
- type: "structure",
- required: ["Value", "Type"],
- members: { Value: { type: "long" }, Type: {} },
- },
- IdempotencyToken: {},
- },
- },
- output: { type: "structure", members: { CertificateArn: {} } },
- idempotent: true,
- },
- ListCertificateAuthorities: {
- input: {
- type: "structure",
- members: { NextToken: {}, MaxResults: { type: "integer" } },
- },
- output: {
- type: "structure",
- members: {
- CertificateAuthorities: {
- type: "list",
- member: { shape: "S17" },
- },
- NextToken: {},
- },
- },
- },
- ListPermissions: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn"],
- members: {
- CertificateAuthorityArn: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Permissions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CertificateAuthorityArn: {},
- CreatedAt: { type: "timestamp" },
- Principal: {},
- SourceAccount: {},
- Actions: { shape: "S10" },
- Policy: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListTags: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn"],
- members: {
- CertificateAuthorityArn: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "Sm" }, NextToken: {} },
- },
- },
- RestoreCertificateAuthority: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn"],
- members: { CertificateAuthorityArn: {} },
- },
- },
- RevokeCertificate: {
- input: {
- type: "structure",
- required: [
- "CertificateAuthorityArn",
- "CertificateSerial",
- "RevocationReason",
- ],
- members: {
- CertificateAuthorityArn: {},
- CertificateSerial: {},
- RevocationReason: {},
- },
- },
- },
- TagCertificateAuthority: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn", "Tags"],
- members: { CertificateAuthorityArn: {}, Tags: { shape: "Sm" } },
- },
- },
- UntagCertificateAuthority: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn", "Tags"],
- members: { CertificateAuthorityArn: {}, Tags: { shape: "Sm" } },
- },
- },
- UpdateCertificateAuthority: {
- input: {
- type: "structure",
- required: ["CertificateAuthorityArn"],
- members: {
- CertificateAuthorityArn: {},
- RevocationConfiguration: { shape: "Se" },
- Status: {},
- },
- },
- },
- },
- shapes: {
- S2: {
- type: "structure",
- required: ["KeyAlgorithm", "SigningAlgorithm", "Subject"],
- members: {
- KeyAlgorithm: {},
- SigningAlgorithm: {},
- Subject: {
- type: "structure",
- members: {
- Country: {},
- Organization: {},
- OrganizationalUnit: {},
- DistinguishedNameQualifier: {},
- State: {},
- CommonName: {},
- SerialNumber: {},
- Locality: {},
- Title: {},
- Surname: {},
- GivenName: {},
- Initials: {},
- Pseudonym: {},
- GenerationQualifier: {},
- },
- },
- },
- },
- Se: {
- type: "structure",
- members: {
- CrlConfiguration: {
- type: "structure",
- required: ["Enabled"],
- members: {
- Enabled: { type: "boolean" },
- ExpirationInDays: { type: "integer" },
- CustomCname: {},
- S3BucketName: {},
- },
- },
- },
- },
- Sm: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key"],
- members: { Key: {}, Value: {} },
- },
- },
- S10: { type: "list", member: {} },
- S17: {
- type: "structure",
- members: {
- Arn: {},
- CreatedAt: { type: "timestamp" },
- LastStateChangeAt: { type: "timestamp" },
- Type: {},
- Serial: {},
- Status: {},
- NotBefore: { type: "timestamp" },
- NotAfter: { type: "timestamp" },
- FailureReason: {},
- CertificateAuthorityConfiguration: { shape: "S2" },
- RevocationConfiguration: { shape: "Se" },
- RestorableUntil: { type: "timestamp" },
- },
- },
- },
- };
+ const environmentVariablesOverride = Object.entries(process.env)
+ .filter(
+ ([key]) => key.startsWith("GITHUB_") || envPassthrough.includes(key)
+ )
+ .map(([name, value]) => ({ name, value, type: "PLAINTEXT" }));
- /***/
- },
+ // The idempotencyToken is intentionally not set.
+ // This way the GitHub events can manage the builds.
+ return {
+ projectName,
+ sourceVersion,
+ sourceTypeOverride,
+ sourceLocationOverride,
+ buildspecOverride,
+ computeTypeOverride,
+ environmentTypeOverride,
+ imageOverride,
+ environmentVariablesOverride,
+ };
+ }
- /***/ 91: /***/ function (module) {
- module.exports = { pagination: {} };
+ function buildSdk() {
+ const codeBuild = new aws.CodeBuild({
+ customUserAgent: "aws-actions/aws-codebuild-run-build",
+ });
- /***/
- },
+ const cloudWatchLogs = new aws.CloudWatchLogs({
+ customUserAgent: "aws-actions/aws-codebuild-run-build",
+ });
- /***/ 99: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
+ assert(
+ codeBuild.config.credentials && cloudWatchLogs.config.credentials,
+ "No credentials. Try adding @aws-actions/configure-aws-credentials earlier in your job to set up AWS credentials."
+ );
- 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__(4444);
- model.paginators = __webpack_require__(8369).pagination;
- model.waiters = __webpack_require__(9461).waiters;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
+ return { codeBuild, cloudWatchLogs };
+ }
- module.exports = AWS.MediaLive;
+ function logName(Arn) {
+ const logs = {
+ logGroupName: undefined,
+ logStreamName: undefined,
+ };
+ if (Arn) {
+ const [logGroupName, logStreamName] = Arn.split(":log-group:")
+ .pop()
+ .split(":log-stream:");
+ if (logGroupName !== "null" && logStreamName !== "null") {
+ logs.logGroupName = logGroupName;
+ logs.logStreamName = logStreamName;
+ }
+ }
+ return logs;
+ }
/***/
},
- /***/ 104: /***/ function (module, __unusedexports, __webpack_require__) {
+ /***/ 32932: /***/ (
+ module,
+ __unused_webpack_exports,
+ __nccwpck_require__
+ ) => {
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
- const core = __webpack_require__(6470);
- const { runBuild } = __webpack_require__(9951);
- const assert = __webpack_require__(2357);
+ const core = __nccwpck_require__(42186);
+ const { runBuild } = __nccwpck_require__(72496);
+ const assert = __nccwpck_require__(39491);
/* istanbul ignore next */
if (require.main === require.cache[eval("__filename")]) {
@@ -1159,11639 +349,6425 @@ module.exports = /******/ (function (modules, runtime) {
/***/
},
- /***/ 109: /***/ function (module, __unusedexports, __webpack_require__) {
- var util = __webpack_require__(395).util;
- var convert = __webpack_require__(9433);
-
- 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);
- };
+ /***/ 87351: /***/ function (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) {
+ "use strict";
+ var __createBinding =
+ (this && this.__createBinding) ||
+ (Object.create
+ ? function (o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ Object.defineProperty(o, k2, {
+ enumerable: true,
+ get: function () {
+ return m[k];
+ },
+ });
+ }
+ : function (o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+ });
+ var __setModuleDefault =
+ (this && this.__setModuleDefault) ||
+ (Object.create
+ ? function (o, v) {
+ Object.defineProperty(o, "default", {
+ enumerable: true,
+ value: v,
+ });
+ }
+ : function (o, v) {
+ o["default"] = v;
+ });
+ var __importStar =
+ (this && this.__importStar) ||
+ function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null)
+ for (var k in mod)
+ if (k !== "default" && Object.hasOwnProperty.call(mod, k))
+ __createBinding(result, mod, k);
+ __setModuleDefault(result, mod);
+ return result;
+ };
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.issue = exports.issueCommand = void 0;
+ const os = __importStar(__nccwpck_require__(22037));
+ const utils_1 = __nccwpck_require__(5278);
/**
- * @api private
+ * Commands
+ *
+ * Command Format:
+ * ::name key=value,key=value::message
+ *
+ * Examples:
+ * ::warning::This is the message
+ * ::set-env name=MY_VAR::some value
*/
- module.exports = Translator;
+ function issueCommand(command, properties, message) {
+ const cmd = new Command(command, properties, message);
+ process.stdout.write(cmd.toString() + os.EOL);
+ }
+ exports.issueCommand = issueCommand;
+ function issue(name, message = "") {
+ issueCommand(name, {}, message);
+ }
+ exports.issue = issue;
+ const CMD_STRING = "::";
+ class Command {
+ constructor(command, properties, message) {
+ if (!command) {
+ command = "missing.command";
+ }
+ this.command = command;
+ this.properties = properties;
+ this.message = message;
+ }
+ toString() {
+ let cmdStr = CMD_STRING + this.command;
+ if (this.properties && Object.keys(this.properties).length > 0) {
+ cmdStr += " ";
+ let first = true;
+ for (const key in this.properties) {
+ if (this.properties.hasOwnProperty(key)) {
+ const val = this.properties[key];
+ if (val) {
+ if (first) {
+ first = false;
+ } else {
+ cmdStr += ",";
+ }
+ cmdStr += `${key}=${escapeProperty(val)}`;
+ }
+ }
+ }
+ }
+ cmdStr += `${CMD_STRING}${escapeData(this.message)}`;
+ return cmdStr;
+ }
+ }
+ function escapeData(s) {
+ return utils_1
+ .toCommandValue(s)
+ .replace(/%/g, "%25")
+ .replace(/\r/g, "%0D")
+ .replace(/\n/g, "%0A");
+ }
+ function escapeProperty(s) {
+ return utils_1
+ .toCommandValue(s)
+ .replace(/%/g, "%25")
+ .replace(/\r/g, "%0D")
+ .replace(/\n/g, "%0A")
+ .replace(/:/g, "%3A")
+ .replace(/,/g, "%2C");
+ }
+ //# sourceMappingURL=command.js.map
/***/
},
- /***/ 126: /***/ function (module) {
- /**
- * lodash (Custom Build)
- * Build: `lodash modularize exports="npm" -o ./`
- * Copyright jQuery Foundation and other contributors
- * Released under MIT license
- * Based on Underscore.js 1.8.3
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */
-
- /** Used as the size to enable large array optimizations. */
- var LARGE_ARRAY_SIZE = 200;
-
- /** Used to stand-in for `undefined` hash values. */
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
-
- /** Used as references for various `Number` constants. */
- var INFINITY = 1 / 0;
-
- /** `Object#toString` result references. */
- var funcTag = "[object Function]",
- genTag = "[object GeneratorFunction]";
+ /***/ 42186: /***/ function (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) {
+ "use strict";
+ var __createBinding =
+ (this && this.__createBinding) ||
+ (Object.create
+ ? function (o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ Object.defineProperty(o, k2, {
+ enumerable: true,
+ get: function () {
+ return m[k];
+ },
+ });
+ }
+ : function (o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+ });
+ var __setModuleDefault =
+ (this && this.__setModuleDefault) ||
+ (Object.create
+ ? function (o, v) {
+ Object.defineProperty(o, "default", {
+ enumerable: true,
+ value: v,
+ });
+ }
+ : function (o, v) {
+ o["default"] = v;
+ });
+ var __importStar =
+ (this && this.__importStar) ||
+ function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null)
+ for (var k in mod)
+ if (k !== "default" && Object.hasOwnProperty.call(mod, k))
+ __createBinding(result, mod, k);
+ __setModuleDefault(result, mod);
+ return result;
+ };
+ var __awaiter =
+ (this && this.__awaiter) ||
+ function (thisArg, _arguments, P, generator) {
+ function adopt(value) {
+ return value instanceof P
+ ? value
+ : new P(function (resolve) {
+ resolve(value);
+ });
+ }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) {
+ try {
+ step(generator.next(value));
+ } catch (e) {
+ reject(e);
+ }
+ }
+ function rejected(value) {
+ try {
+ step(generator["throw"](value));
+ } catch (e) {
+ reject(e);
+ }
+ }
+ function step(result) {
+ result.done
+ ? resolve(result.value)
+ : adopt(result.value).then(fulfilled, rejected);
+ }
+ step(
+ (generator = generator.apply(thisArg, _arguments || [])).next()
+ );
+ });
+ };
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;
+ const command_1 = __nccwpck_require__(87351);
+ const file_command_1 = __nccwpck_require__(717);
+ const utils_1 = __nccwpck_require__(5278);
+ const os = __importStar(__nccwpck_require__(22037));
+ const path = __importStar(__nccwpck_require__(71017));
+ const oidc_utils_1 = __nccwpck_require__(98041);
/**
- * Used to match `RegExp`
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
+ * The code to exit an action
*/
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
-
- /** Used to detect host constructors (Safari). */
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
-
- /** Detect free variable `global` from Node.js. */
- var freeGlobal =
- typeof global == "object" &&
- global &&
- global.Object === Object &&
- global;
-
- /** Detect free variable `self`. */
- var freeSelf =
- typeof self == "object" && self && self.Object === Object && self;
-
- /** Used as a reference to the global object. */
- var root = freeGlobal || freeSelf || Function("return this")();
-
+ var ExitCode;
+ (function (ExitCode) {
+ /**
+ * A code indicating that the action was successful
+ */
+ ExitCode[(ExitCode["Success"] = 0)] = "Success";
+ /**
+ * A code indicating that the action was a failure
+ */
+ ExitCode[(ExitCode["Failure"] = 1)] = "Failure";
+ })((ExitCode = exports.ExitCode || (exports.ExitCode = {})));
+ //-----------------------------------------------------------------------
+ // Variables
+ //-----------------------------------------------------------------------
/**
- * A specialized version of `_.includes` for arrays without support for
- * specifying an index to search from.
- *
- * @private
- * @param {Array} [array] The array to inspect.
- * @param {*} target The value to search for.
- * @returns {boolean} Returns `true` if `target` is found, else `false`.
+ * Sets env variable for this action and future actions in the job
+ * @param name the name of the variable to set
+ * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify
*/
- function arrayIncludes(array, value) {
- var length = array ? array.length : 0;
- return !!length && baseIndexOf(array, value, 0) > -1;
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ function exportVariable(name, val) {
+ const convertedVal = utils_1.toCommandValue(val);
+ process.env[name] = convertedVal;
+ const filePath = process.env["GITHUB_ENV"] || "";
+ if (filePath) {
+ return file_command_1.issueFileCommand(
+ "ENV",
+ file_command_1.prepareKeyValueMessage(name, val)
+ );
+ }
+ command_1.issueCommand("set-env", { name }, convertedVal);
}
-
+ exports.exportVariable = exportVariable;
/**
- * This function is like `arrayIncludes` except that it accepts a comparator.
- *
- * @private
- * @param {Array} [array] The array to inspect.
- * @param {*} target The value to search for.
- * @param {Function} comparator The comparator invoked per element.
- * @returns {boolean} Returns `true` if `target` is found, else `false`.
+ * Registers a secret which will get masked from logs
+ * @param secret value of the secret
*/
- function arrayIncludesWith(array, value, comparator) {
- var index = -1,
- length = array ? array.length : 0;
-
- while (++index < length) {
- if (comparator(value, array[index])) {
- return true;
- }
- }
- return false;
+ function setSecret(secret) {
+ command_1.issueCommand("add-mask", {}, secret);
}
-
+ exports.setSecret = setSecret;
/**
- * The base implementation of `_.findIndex` and `_.findLastIndex` without
- * support for iteratee shorthands.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {Function} predicate The function invoked per iteration.
- * @param {number} fromIndex The index to search from.
- * @param {boolean} [fromRight] Specify iterating from right to left.
- * @returns {number} Returns the index of the matched value, else `-1`.
+ * Prepends inputPath to the PATH (for this action and future actions)
+ * @param inputPath
*/
- function baseFindIndex(array, predicate, fromIndex, fromRight) {
- var length = array.length,
- index = fromIndex + (fromRight ? 1 : -1);
-
- while (fromRight ? index-- : ++index < length) {
- if (predicate(array[index], index, array)) {
- return index;
- }
+ function addPath(inputPath) {
+ const filePath = process.env["GITHUB_PATH"] || "";
+ if (filePath) {
+ file_command_1.issueFileCommand("PATH", inputPath);
+ } else {
+ command_1.issueCommand("add-path", {}, inputPath);
}
- return -1;
+ process.env[
+ "PATH"
+ ] = `${inputPath}${path.delimiter}${process.env["PATH"]}`;
}
-
+ exports.addPath = addPath;
/**
- * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
+ * Gets the value of an input.
+ * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.
+ * Returns an empty string if the value is not defined.
*
- * @private
- * @param {Array} array The array to inspect.
- * @param {*} value The value to search for.
- * @param {number} fromIndex The index to search from.
- * @returns {number} Returns the index of the matched value, else `-1`.
+ * @param name name of the input to get
+ * @param options optional. See InputOptions.
+ * @returns string
*/
- function baseIndexOf(array, value, fromIndex) {
- if (value !== value) {
- return baseFindIndex(array, baseIsNaN, fromIndex);
+ function getInput(name, options) {
+ const val =
+ process.env[`INPUT_${name.replace(/ /g, "_").toUpperCase()}`] || "";
+ if (options && options.required && !val) {
+ throw new Error(`Input required and not supplied: ${name}`);
}
- var index = fromIndex - 1,
- length = array.length;
-
- while (++index < length) {
- if (array[index] === value) {
- return index;
- }
+ if (options && options.trimWhitespace === false) {
+ return val;
}
- return -1;
+ return val.trim();
}
-
+ exports.getInput = getInput;
/**
- * The base implementation of `_.isNaN` without support for number objects.
+ * Gets the values of an multiline input. Each value is also trimmed.
*
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
- */
- function baseIsNaN(value) {
- return value !== value;
- }
-
- /**
- * Checks if a cache value for `key` exists.
+ * @param name name of the input to get
+ * @param options optional. See InputOptions.
+ * @returns string[]
*
- * @private
- * @param {Object} cache The cache to query.
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/
- function cacheHas(cache, key) {
- return cache.has(key);
+ function getMultilineInput(name, options) {
+ const inputs = getInput(name, options)
+ .split("\n")
+ .filter((x) => x !== "");
+ if (options && options.trimWhitespace === false) {
+ return inputs;
+ }
+ return inputs.map((input) => input.trim());
}
-
+ exports.getMultilineInput = getMultilineInput;
/**
- * Gets the value at `key` of `object`.
+ * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification.
+ * Support boolean input list: `true | True | TRUE | false | False | FALSE` .
+ * The return value is also in boolean type.
+ * ref: https://yaml.org/spec/1.2/spec.html#id2804923
*
- * @private
- * @param {Object} [object] The object to query.
- * @param {string} key The key of the property to get.
- * @returns {*} Returns the property value.
+ * @param name name of the input to get
+ * @param options optional. See InputOptions.
+ * @returns boolean
*/
- function getValue(object, key) {
- return object == null ? undefined : object[key];
+ function getBooleanInput(name, options) {
+ const trueValue = ["true", "True", "TRUE"];
+ const falseValue = ["false", "False", "FALSE"];
+ const val = getInput(name, options);
+ if (trueValue.includes(val)) return true;
+ if (falseValue.includes(val)) return false;
+ throw new TypeError(
+ `Input does not meet YAML 1.2 "Core Schema" specification: ${name}\n` +
+ `Support boolean input list: \`true | True | TRUE | false | False | FALSE\``
+ );
}
-
+ exports.getBooleanInput = getBooleanInput;
/**
- * Checks if `value` is a host object in IE < 9.
+ * Sets the value of an output.
*
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
+ * @param name name of the output to set
+ * @param value value to store. Non-string values will be converted to a string via JSON.stringify
*/
- function isHostObject(value) {
- // Many host objects are `Object` objects that can coerce to strings
- // despite having improperly defined `toString` methods.
- var result = false;
- if (value != null && typeof value.toString != "function") {
- try {
- result = !!(value + "");
- } catch (e) {}
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ function setOutput(name, value) {
+ const filePath = process.env["GITHUB_OUTPUT"] || "";
+ if (filePath) {
+ return file_command_1.issueFileCommand(
+ "OUTPUT",
+ file_command_1.prepareKeyValueMessage(name, value)
+ );
}
- return result;
+ process.stdout.write(os.EOL);
+ command_1.issueCommand(
+ "set-output",
+ { name },
+ utils_1.toCommandValue(value)
+ );
}
-
+ exports.setOutput = setOutput;
/**
- * Converts `set` to an array of its values.
+ * Enables or disables the echoing of commands into stdout for the rest of the step.
+ * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.
*
- * @private
- * @param {Object} set The set to convert.
- * @returns {Array} Returns the values.
*/
- function setToArray(set) {
- var index = -1,
- result = Array(set.size);
-
- set.forEach(function (value) {
- result[++index] = value;
- });
- return result;
+ function setCommandEcho(enabled) {
+ command_1.issue("echo", enabled ? "on" : "off");
}
-
- /** Used for built-in method references. */
- var arrayProto = Array.prototype,
- funcProto = Function.prototype,
- objectProto = Object.prototype;
-
- /** Used to detect overreaching core-js shims. */
- var coreJsData = root["__core-js_shared__"];
-
- /** Used to detect methods masquerading as native. */
- var maskSrcKey = (function () {
- var uid = /[^.]+$/.exec(
- (coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO) || ""
- );
- return uid ? "Symbol(src)_1." + uid : "";
- })();
-
- /** Used to resolve the decompiled source of functions. */
- var funcToString = funcProto.toString;
-
- /** Used to check objects for own properties. */
- var hasOwnProperty = objectProto.hasOwnProperty;
-
+ exports.setCommandEcho = setCommandEcho;
+ //-----------------------------------------------------------------------
+ // Results
+ //-----------------------------------------------------------------------
/**
- * Used to resolve the
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
- * of values.
+ * Sets the action status to failed.
+ * When the action exits it will be with an exit code of 1
+ * @param message add error issue message
*/
- var objectToString = objectProto.toString;
-
- /** Used to detect if a method is native. */
- var reIsNative = RegExp(
- "^" +
- funcToString
- .call(hasOwnProperty)
- .replace(reRegExpChar, "\\$&")
- .replace(
- /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
- "$1.*?"
- ) +
- "$"
- );
-
- /** Built-in value references. */
- var splice = arrayProto.splice;
-
- /* Built-in method references that are verified to be native. */
- var Map = getNative(root, "Map"),
- Set = getNative(root, "Set"),
- nativeCreate = getNative(Object, "create");
-
+ function setFailed(message) {
+ process.exitCode = ExitCode.Failure;
+ error(message);
+ }
+ exports.setFailed = setFailed;
+ //-----------------------------------------------------------------------
+ // Logging Commands
+ //-----------------------------------------------------------------------
/**
- * Creates a hash object.
- *
- * @private
- * @constructor
- * @param {Array} [entries] The key-value pairs to cache.
+ * Gets whether Actions Step Debug is on or not
*/
- function Hash(entries) {
- var index = -1,
- length = entries ? entries.length : 0;
-
- this.clear();
- while (++index < length) {
- var entry = entries[index];
- this.set(entry[0], entry[1]);
- }
+ function isDebug() {
+ return process.env["RUNNER_DEBUG"] === "1";
}
-
+ exports.isDebug = isDebug;
/**
- * Removes all key-value entries from the hash.
- *
- * @private
- * @name clear
- * @memberOf Hash
+ * Writes debug message to user log
+ * @param message debug message
*/
- function hashClear() {
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
+ function debug(message) {
+ command_1.issueCommand("debug", {}, message);
}
-
+ exports.debug = debug;
/**
- * Removes `key` and its value from the hash.
- *
- * @private
- * @name delete
- * @memberOf Hash
- * @param {Object} hash The hash to modify.
- * @param {string} key The key of the value to remove.
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ * Adds an error issue
+ * @param message error issue message. Errors will be converted to string via toString()
+ * @param properties optional properties to add to the annotation.
*/
- function hashDelete(key) {
- return this.has(key) && delete this.__data__[key];
+ function error(message, properties = {}) {
+ command_1.issueCommand(
+ "error",
+ utils_1.toCommandProperties(properties),
+ message instanceof Error ? message.toString() : message
+ );
}
-
+ exports.error = error;
/**
- * Gets the hash value for `key`.
- *
- * @private
- * @name get
- * @memberOf Hash
- * @param {string} key The key of the value to get.
- * @returns {*} Returns the entry value.
+ * Adds a warning issue
+ * @param message warning issue message. Errors will be converted to string via toString()
+ * @param properties optional properties to add to the annotation.
*/
- function hashGet(key) {
- var data = this.__data__;
- if (nativeCreate) {
- var result = data[key];
- return result === HASH_UNDEFINED ? undefined : result;
- }
- return hasOwnProperty.call(data, key) ? data[key] : undefined;
+ function warning(message, properties = {}) {
+ command_1.issueCommand(
+ "warning",
+ utils_1.toCommandProperties(properties),
+ message instanceof Error ? message.toString() : message
+ );
}
-
+ exports.warning = warning;
/**
- * Checks if a hash value for `key` exists.
- *
- * @private
- * @name has
- * @memberOf Hash
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ * Adds a notice issue
+ * @param message notice issue message. Errors will be converted to string via toString()
+ * @param properties optional properties to add to the annotation.
*/
- function hashHas(key) {
- var data = this.__data__;
- return nativeCreate
- ? data[key] !== undefined
- : hasOwnProperty.call(data, key);
+ function notice(message, properties = {}) {
+ command_1.issueCommand(
+ "notice",
+ utils_1.toCommandProperties(properties),
+ message instanceof Error ? message.toString() : message
+ );
}
-
+ exports.notice = notice;
/**
- * Sets the hash `key` to `value`.
- *
- * @private
- * @name set
- * @memberOf Hash
- * @param {string} key The key of the value to set.
- * @param {*} value The value to set.
- * @returns {Object} Returns the hash instance.
+ * Writes info to log with console.log.
+ * @param message info message
*/
- function hashSet(key, value) {
- var data = this.__data__;
- data[key] =
- nativeCreate && value === undefined ? HASH_UNDEFINED : value;
- return this;
+ function info(message) {
+ process.stdout.write(message + os.EOL);
}
-
- // Add methods to `Hash`.
- Hash.prototype.clear = hashClear;
- Hash.prototype["delete"] = hashDelete;
- Hash.prototype.get = hashGet;
- Hash.prototype.has = hashHas;
- Hash.prototype.set = hashSet;
-
+ exports.info = info;
/**
- * Creates an list cache object.
+ * Begin an output group.
*
- * @private
- * @constructor
- * @param {Array} [entries] The key-value pairs to cache.
- */
- function ListCache(entries) {
- var index = -1,
- length = entries ? entries.length : 0;
-
- this.clear();
- while (++index < length) {
- var entry = entries[index];
- this.set(entry[0], entry[1]);
- }
- }
-
- /**
- * Removes all key-value entries from the list cache.
+ * Output until the next `groupEnd` will be foldable in this group
*
- * @private
- * @name clear
- * @memberOf ListCache
+ * @param name The name of the output group
*/
- function listCacheClear() {
- this.__data__ = [];
+ function startGroup(name) {
+ command_1.issue("group", name);
}
-
+ exports.startGroup = startGroup;
/**
- * Removes `key` and its value from the list cache.
- *
- * @private
- * @name delete
- * @memberOf ListCache
- * @param {string} key The key of the value to remove.
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ * End an output group.
*/
- function listCacheDelete(key) {
- var data = this.__data__,
- index = assocIndexOf(data, key);
-
- if (index < 0) {
- return false;
- }
- var lastIndex = data.length - 1;
- if (index == lastIndex) {
- data.pop();
- } else {
- splice.call(data, index, 1);
- }
- return true;
+ function endGroup() {
+ command_1.issue("endgroup");
}
-
+ exports.endGroup = endGroup;
/**
- * Gets the list cache value for `key`.
+ * Wrap an asynchronous function call in a group.
*
- * @private
- * @name get
- * @memberOf ListCache
- * @param {string} key The key of the value to get.
- * @returns {*} Returns the entry value.
- */
- function listCacheGet(key) {
- var data = this.__data__,
- index = assocIndexOf(data, key);
-
- return index < 0 ? undefined : data[index][1];
- }
-
- /**
- * Checks if a list cache value for `key` exists.
+ * Returns the same type as the function itself.
*
- * @private
- * @name has
- * @memberOf ListCache
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ * @param name The name of the group
+ * @param fn The function to wrap in the group
*/
- function listCacheHas(key) {
- return assocIndexOf(this.__data__, key) > -1;
+ function group(name, fn) {
+ return __awaiter(this, void 0, void 0, function* () {
+ startGroup(name);
+ let result;
+ try {
+ result = yield fn();
+ } finally {
+ endGroup();
+ }
+ return result;
+ });
}
-
+ exports.group = group;
+ //-----------------------------------------------------------------------
+ // Wrapper action state
+ //-----------------------------------------------------------------------
/**
- * Sets the list cache `key` to `value`.
+ * Saves state for current action, the state can only be retrieved by this action's post job execution.
*
- * @private
- * @name set
- * @memberOf ListCache
- * @param {string} key The key of the value to set.
- * @param {*} value The value to set.
- * @returns {Object} Returns the list cache instance.
+ * @param name name of the state to store
+ * @param value value to store. Non-string values will be converted to a string via JSON.stringify
*/
- function listCacheSet(key, value) {
- var data = this.__data__,
- index = assocIndexOf(data, key);
-
- if (index < 0) {
- data.push([key, value]);
- } else {
- data[index][1] = value;
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ function saveState(name, value) {
+ const filePath = process.env["GITHUB_STATE"] || "";
+ if (filePath) {
+ return file_command_1.issueFileCommand(
+ "STATE",
+ file_command_1.prepareKeyValueMessage(name, value)
+ );
}
- return this;
+ command_1.issueCommand(
+ "save-state",
+ { name },
+ utils_1.toCommandValue(value)
+ );
}
-
- // Add methods to `ListCache`.
- ListCache.prototype.clear = listCacheClear;
- ListCache.prototype["delete"] = listCacheDelete;
- ListCache.prototype.get = listCacheGet;
- ListCache.prototype.has = listCacheHas;
- ListCache.prototype.set = listCacheSet;
-
+ exports.saveState = saveState;
/**
- * Creates a map cache object to store key-value pairs.
+ * Gets the value of an state set by this action's main execution.
*
- * @private
- * @constructor
- * @param {Array} [entries] The key-value pairs to cache.
+ * @param name name of the state to get
+ * @returns string
*/
- function MapCache(entries) {
- var index = -1,
- length = entries ? entries.length : 0;
-
- this.clear();
- while (++index < length) {
- var entry = entries[index];
- this.set(entry[0], entry[1]);
- }
+ function getState(name) {
+ return process.env[`STATE_${name}`] || "";
}
-
- /**
- * Removes all key-value entries from the map.
- *
- * @private
- * @name clear
- * @memberOf MapCache
- */
- function mapCacheClear() {
- this.__data__ = {
- hash: new Hash(),
- map: new (Map || ListCache)(),
- string: new Hash(),
- };
+ exports.getState = getState;
+ function getIDToken(aud) {
+ return __awaiter(this, void 0, void 0, function* () {
+ return yield oidc_utils_1.OidcClient.getIDToken(aud);
+ });
}
-
+ exports.getIDToken = getIDToken;
/**
- * Removes `key` and its value from the map.
- *
- * @private
- * @name delete
- * @memberOf MapCache
- * @param {string} key The key of the value to remove.
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ * Summary exports
*/
- function mapCacheDelete(key) {
- return getMapData(this, key)["delete"](key);
- }
-
+ var summary_1 = __nccwpck_require__(81327);
+ Object.defineProperty(exports, "summary", {
+ enumerable: true,
+ get: function () {
+ return summary_1.summary;
+ },
+ });
/**
- * Gets the map value for `key`.
- *
- * @private
- * @name get
- * @memberOf MapCache
- * @param {string} key The key of the value to get.
- * @returns {*} Returns the entry value.
+ * @deprecated use core.summary
*/
- function mapCacheGet(key) {
- return getMapData(this, key).get(key);
- }
-
+ var summary_2 = __nccwpck_require__(81327);
+ Object.defineProperty(exports, "markdownSummary", {
+ enumerable: true,
+ get: function () {
+ return summary_2.markdownSummary;
+ },
+ });
/**
- * Checks if a map value for `key` exists.
- *
- * @private
- * @name has
- * @memberOf MapCache
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ * Path exports
*/
- function mapCacheHas(key) {
- return getMapData(this, key).has(key);
- }
+ var path_utils_1 = __nccwpck_require__(2981);
+ Object.defineProperty(exports, "toPosixPath", {
+ enumerable: true,
+ get: function () {
+ return path_utils_1.toPosixPath;
+ },
+ });
+ Object.defineProperty(exports, "toWin32Path", {
+ enumerable: true,
+ get: function () {
+ return path_utils_1.toWin32Path;
+ },
+ });
+ Object.defineProperty(exports, "toPlatformPath", {
+ enumerable: true,
+ get: function () {
+ return path_utils_1.toPlatformPath;
+ },
+ });
+ //# sourceMappingURL=core.js.map
- /**
- * Sets the map `key` to `value`.
- *
- * @private
- * @name set
- * @memberOf MapCache
- * @param {string} key The key of the value to set.
- * @param {*} value The value to set.
- * @returns {Object} Returns the map cache instance.
- */
- function mapCacheSet(key, value) {
- getMapData(this, key).set(key, value);
- return this;
+ /***/
+ },
+
+ /***/ 717: /***/ function (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) {
+ "use strict";
+
+ // For internal use, subject to change.
+ var __createBinding =
+ (this && this.__createBinding) ||
+ (Object.create
+ ? function (o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ Object.defineProperty(o, k2, {
+ enumerable: true,
+ get: function () {
+ return m[k];
+ },
+ });
+ }
+ : function (o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+ });
+ var __setModuleDefault =
+ (this && this.__setModuleDefault) ||
+ (Object.create
+ ? function (o, v) {
+ Object.defineProperty(o, "default", {
+ enumerable: true,
+ value: v,
+ });
+ }
+ : function (o, v) {
+ o["default"] = v;
+ });
+ var __importStar =
+ (this && this.__importStar) ||
+ function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null)
+ for (var k in mod)
+ if (k !== "default" && Object.hasOwnProperty.call(mod, k))
+ __createBinding(result, mod, k);
+ __setModuleDefault(result, mod);
+ return result;
+ };
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.prepareKeyValueMessage = exports.issueFileCommand = void 0;
+ // We use any as a valid input type
+ /* eslint-disable @typescript-eslint/no-explicit-any */
+ const fs = __importStar(__nccwpck_require__(57147));
+ const os = __importStar(__nccwpck_require__(22037));
+ const uuid_1 = __nccwpck_require__(78974);
+ const utils_1 = __nccwpck_require__(5278);
+ function issueFileCommand(command, message) {
+ const filePath = process.env[`GITHUB_${command}`];
+ if (!filePath) {
+ throw new Error(
+ `Unable to find environment variable for file command ${command}`
+ );
+ }
+ if (!fs.existsSync(filePath)) {
+ throw new Error(`Missing file at path: ${filePath}`);
+ }
+ fs.appendFileSync(
+ filePath,
+ `${utils_1.toCommandValue(message)}${os.EOL}`,
+ {
+ encoding: "utf8",
+ }
+ );
+ }
+ exports.issueFileCommand = issueFileCommand;
+ function prepareKeyValueMessage(key, value) {
+ const delimiter = `ghadelimiter_${uuid_1.v4()}`;
+ const convertedValue = utils_1.toCommandValue(value);
+ // These should realistically never happen, but just in case someone finds a
+ // way to exploit uuid generation let's not allow keys or values that contain
+ // the delimiter.
+ if (key.includes(delimiter)) {
+ throw new Error(
+ `Unexpected input: name should not contain the delimiter "${delimiter}"`
+ );
+ }
+ if (convertedValue.includes(delimiter)) {
+ throw new Error(
+ `Unexpected input: value should not contain the delimiter "${delimiter}"`
+ );
+ }
+ return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`;
}
+ exports.prepareKeyValueMessage = prepareKeyValueMessage;
+ //# sourceMappingURL=file-command.js.map
- // Add methods to `MapCache`.
- MapCache.prototype.clear = mapCacheClear;
- MapCache.prototype["delete"] = mapCacheDelete;
- MapCache.prototype.get = mapCacheGet;
- MapCache.prototype.has = mapCacheHas;
- MapCache.prototype.set = mapCacheSet;
+ /***/
+ },
- /**
- *
- * Creates an array cache object to store unique values.
- *
- * @private
- * @constructor
- * @param {Array} [values] The values to cache.
- */
- function SetCache(values) {
- var index = -1,
- length = values ? values.length : 0;
+ /***/ 98041: /***/ function (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) {
+ "use strict";
- this.__data__ = new MapCache();
- while (++index < length) {
- this.add(values[index]);
+ var __awaiter =
+ (this && this.__awaiter) ||
+ function (thisArg, _arguments, P, generator) {
+ function adopt(value) {
+ return value instanceof P
+ ? value
+ : new P(function (resolve) {
+ resolve(value);
+ });
+ }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) {
+ try {
+ step(generator.next(value));
+ } catch (e) {
+ reject(e);
+ }
+ }
+ function rejected(value) {
+ try {
+ step(generator["throw"](value));
+ } catch (e) {
+ reject(e);
+ }
+ }
+ function step(result) {
+ result.done
+ ? resolve(result.value)
+ : adopt(result.value).then(fulfilled, rejected);
+ }
+ step(
+ (generator = generator.apply(thisArg, _arguments || [])).next()
+ );
+ });
+ };
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.OidcClient = void 0;
+ const http_client_1 = __nccwpck_require__(11404);
+ const auth_1 = __nccwpck_require__(36758);
+ const core_1 = __nccwpck_require__(42186);
+ class OidcClient {
+ static createHttpClient(allowRetry = true, maxRetry = 10) {
+ const requestOptions = {
+ allowRetries: allowRetry,
+ maxRetries: maxRetry,
+ };
+ return new http_client_1.HttpClient(
+ "actions/oidc-client",
+ [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())],
+ requestOptions
+ );
+ }
+ static getRequestToken() {
+ const token = process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];
+ if (!token) {
+ throw new Error(
+ "Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable"
+ );
+ }
+ return token;
+ }
+ static getIDTokenUrl() {
+ const runtimeUrl = process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];
+ if (!runtimeUrl) {
+ throw new Error(
+ "Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable"
+ );
+ }
+ return runtimeUrl;
+ }
+ static getCall(id_token_url) {
+ var _a;
+ return __awaiter(this, void 0, void 0, function* () {
+ const httpclient = OidcClient.createHttpClient();
+ const res = yield httpclient
+ .getJson(id_token_url)
+ .catch((error) => {
+ throw new Error(`Failed to get ID Token. \n
+ Error Code : ${error.statusCode}\n
+ Error Message: ${error.result.message}`);
+ });
+ const id_token =
+ (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;
+ if (!id_token) {
+ throw new Error("Response json body do not have ID Token field");
+ }
+ return id_token;
+ });
+ }
+ static getIDToken(audience) {
+ return __awaiter(this, void 0, void 0, function* () {
+ try {
+ // New ID Token is requested from action service
+ let id_token_url = OidcClient.getIDTokenUrl();
+ if (audience) {
+ const encodedAudience = encodeURIComponent(audience);
+ id_token_url = `${id_token_url}&audience=${encodedAudience}`;
+ }
+ core_1.debug(`ID token url is ${id_token_url}`);
+ const id_token = yield OidcClient.getCall(id_token_url);
+ core_1.setSecret(id_token);
+ return id_token;
+ } catch (error) {
+ throw new Error(`Error message: ${error.message}`);
+ }
+ });
}
}
+ exports.OidcClient = OidcClient;
+ //# sourceMappingURL=oidc-utils.js.map
- /**
- * Adds `value` to the array cache.
- *
- * @private
- * @name add
- * @memberOf SetCache
- * @alias push
- * @param {*} value The value to cache.
- * @returns {Object} Returns the cache instance.
- */
- function setCacheAdd(value) {
- this.__data__.set(value, HASH_UNDEFINED);
- return this;
- }
+ /***/
+ },
+
+ /***/ 2981: /***/ function (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) {
+ "use strict";
+ var __createBinding =
+ (this && this.__createBinding) ||
+ (Object.create
+ ? function (o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ Object.defineProperty(o, k2, {
+ enumerable: true,
+ get: function () {
+ return m[k];
+ },
+ });
+ }
+ : function (o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+ });
+ var __setModuleDefault =
+ (this && this.__setModuleDefault) ||
+ (Object.create
+ ? function (o, v) {
+ Object.defineProperty(o, "default", {
+ enumerable: true,
+ value: v,
+ });
+ }
+ : function (o, v) {
+ o["default"] = v;
+ });
+ var __importStar =
+ (this && this.__importStar) ||
+ function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null)
+ for (var k in mod)
+ if (k !== "default" && Object.hasOwnProperty.call(mod, k))
+ __createBinding(result, mod, k);
+ __setModuleDefault(result, mod);
+ return result;
+ };
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0;
+ const path = __importStar(__nccwpck_require__(71017));
/**
- * Checks if `value` is in the array cache.
+ * toPosixPath converts the given path to the posix form. On Windows, \\ will be
+ * replaced with /.
*
- * @private
- * @name has
- * @memberOf SetCache
- * @param {*} value The value to search for.
- * @returns {number} Returns `true` if `value` is found, else `false`.
+ * @param pth. Path to transform.
+ * @return string Posix path.
*/
- function setCacheHas(value) {
- return this.__data__.has(value);
+ function toPosixPath(pth) {
+ return pth.replace(/[\\]/g, "/");
}
-
- // Add methods to `SetCache`.
- SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
- SetCache.prototype.has = setCacheHas;
-
+ exports.toPosixPath = toPosixPath;
/**
- * Gets the index at which the `key` is found in `array` of key-value pairs.
+ * toWin32Path converts the given path to the win32 form. On Linux, / will be
+ * replaced with \\.
*
- * @private
- * @param {Array} array The array to inspect.
- * @param {*} key The key to search for.
- * @returns {number} Returns the index of the matched value, else `-1`.
+ * @param pth. Path to transform.
+ * @return string Win32 path.
*/
- function assocIndexOf(array, key) {
- var length = array.length;
- while (length--) {
- if (eq(array[length][0], key)) {
- return length;
- }
- }
- return -1;
+ function toWin32Path(pth) {
+ return pth.replace(/[/]/g, "\\");
}
-
+ exports.toWin32Path = toWin32Path;
/**
- * The base implementation of `_.isNative` without bad shim checks.
+ * toPlatformPath converts the given path to a platform-specific path. It does
+ * this by replacing instances of / and \ with the platform-specific path
+ * separator.
*
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a native function,
- * else `false`.
+ * @param pth The path to platformize.
+ * @return string The platform-specific path.
*/
- function baseIsNative(value) {
- if (!isObject(value) || isMasked(value)) {
- return false;
- }
- var pattern =
- isFunction(value) || isHostObject(value) ? reIsNative : reIsHostCtor;
- return pattern.test(toSource(value));
+ function toPlatformPath(pth) {
+ return pth.replace(/[/\\]/g, path.sep);
}
+ exports.toPlatformPath = toPlatformPath;
+ //# sourceMappingURL=path-utils.js.map
- /**
- * The base implementation of `_.uniqBy` without support for iteratee shorthands.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {Function} [iteratee] The iteratee invoked per element.
- * @param {Function} [comparator] The comparator invoked per element.
- * @returns {Array} Returns the new duplicate free array.
- */
- function baseUniq(array, iteratee, comparator) {
- var index = -1,
- includes = arrayIncludes,
- length = array.length,
- isCommon = true,
- result = [],
- seen = result;
+ /***/
+ },
- if (comparator) {
- isCommon = false;
- includes = arrayIncludesWith;
- } else if (length >= LARGE_ARRAY_SIZE) {
- var set = iteratee ? null : createSet(array);
- if (set) {
- return setToArray(set);
- }
- isCommon = false;
- includes = cacheHas;
- seen = new SetCache();
- } else {
- seen = iteratee ? [] : result;
- }
- outer: while (++index < length) {
- var value = array[index],
- computed = iteratee ? iteratee(value) : value;
+ /***/ 81327: /***/ function (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) {
+ "use strict";
- value = comparator || value !== 0 ? value : 0;
- if (isCommon && computed === computed) {
- var seenIndex = seen.length;
- while (seenIndex--) {
- if (seen[seenIndex] === computed) {
- continue outer;
- }
- }
- if (iteratee) {
- seen.push(computed);
+ var __awaiter =
+ (this && this.__awaiter) ||
+ function (thisArg, _arguments, P, generator) {
+ function adopt(value) {
+ return value instanceof P
+ ? value
+ : new P(function (resolve) {
+ resolve(value);
+ });
+ }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) {
+ try {
+ step(generator.next(value));
+ } catch (e) {
+ reject(e);
+ }
}
- result.push(value);
- } else if (!includes(seen, computed, comparator)) {
- if (seen !== result) {
- seen.push(computed);
+ function rejected(value) {
+ try {
+ step(generator["throw"](value));
+ } catch (e) {
+ reject(e);
+ }
}
- result.push(value);
+ function step(result) {
+ result.done
+ ? resolve(result.value)
+ : adopt(result.value).then(fulfilled, rejected);
+ }
+ step(
+ (generator = generator.apply(thisArg, _arguments || [])).next()
+ );
+ });
+ };
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;
+ const os_1 = __nccwpck_require__(22037);
+ const fs_1 = __nccwpck_require__(57147);
+ const { access, appendFile, writeFile } = fs_1.promises;
+ exports.SUMMARY_ENV_VAR = "GITHUB_STEP_SUMMARY";
+ exports.SUMMARY_DOCS_URL =
+ "https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";
+ class Summary {
+ constructor() {
+ this._buffer = "";
+ }
+ /**
+ * Finds the summary file path from the environment, rejects if env var is not found or file does not exist
+ * Also checks r/w permissions.
+ *
+ * @returns step summary file path
+ */
+ filePath() {
+ return __awaiter(this, void 0, void 0, function* () {
+ if (this._filePath) {
+ return this._filePath;
+ }
+ const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];
+ if (!pathFromEnv) {
+ throw new Error(
+ `Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`
+ );
+ }
+ try {
+ yield access(
+ pathFromEnv,
+ fs_1.constants.R_OK | fs_1.constants.W_OK
+ );
+ } catch (_a) {
+ throw new Error(
+ `Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`
+ );
+ }
+ this._filePath = pathFromEnv;
+ return this._filePath;
+ });
+ }
+ /**
+ * Wraps content in an HTML tag, adding any HTML attributes
+ *
+ * @param {string} tag HTML tag to wrap
+ * @param {string | null} content content within the tag
+ * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add
+ *
+ * @returns {string} content wrapped in HTML element
+ */
+ wrap(tag, content, attrs = {}) {
+ const htmlAttrs = Object.entries(attrs)
+ .map(([key, value]) => ` ${key}="${value}"`)
+ .join("");
+ if (!content) {
+ return `<${tag}${htmlAttrs}>`;
}
+ return `<${tag}${htmlAttrs}>${content}${tag}>`;
}
- return result;
- }
-
- /**
- * Creates a set object of `values`.
- *
- * @private
- * @param {Array} values The values to add to the set.
- * @returns {Object} Returns the new set.
- */
- var createSet = !(Set && 1 / setToArray(new Set([, -0]))[1] == INFINITY)
- ? noop
- : function (values) {
- return new Set(values);
- };
-
- /**
- * Gets the data for `map`.
- *
- * @private
- * @param {Object} map The map to query.
- * @param {string} key The reference key.
- * @returns {*} Returns the map data.
- */
- function getMapData(map, key) {
- var data = map.__data__;
- return isKeyable(key)
- ? data[typeof key == "string" ? "string" : "hash"]
- : data.map;
- }
-
- /**
- * Gets the native function at `key` of `object`.
- *
- * @private
- * @param {Object} object The object to query.
- * @param {string} key The key of the method to get.
- * @returns {*} Returns the function if it's native, else `undefined`.
- */
- function getNative(object, key) {
- var value = getValue(object, key);
- return baseIsNative(value) ? value : undefined;
- }
-
- /**
- * Checks if `value` is suitable for use as unique object key.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
- */
- function isKeyable(value) {
- var type = typeof value;
- return type == "string" ||
- type == "number" ||
- type == "symbol" ||
- type == "boolean"
- ? value !== "__proto__"
- : value === null;
- }
-
- /**
- * Checks if `func` has its source masked.
- *
- * @private
- * @param {Function} func The function to check.
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
- */
- function isMasked(func) {
- return !!maskSrcKey && maskSrcKey in func;
- }
-
- /**
- * Converts `func` to its source code.
- *
- * @private
- * @param {Function} func The function to process.
- * @returns {string} Returns the source code.
- */
- function toSource(func) {
- if (func != null) {
- try {
- return funcToString.call(func);
- } catch (e) {}
- try {
- return func + "";
- } catch (e) {}
+ /**
+ * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.
+ *
+ * @param {SummaryWriteOptions} [options] (optional) options for write operation
+ *
+ * @returns {Promise} summary instance
+ */
+ write(options) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const overwrite = !!(options === null || options === void 0
+ ? void 0
+ : options.overwrite);
+ const filePath = yield this.filePath();
+ const writeFunc = overwrite ? writeFile : appendFile;
+ yield writeFunc(filePath, this._buffer, { encoding: "utf8" });
+ return this.emptyBuffer();
+ });
+ }
+ /**
+ * Clears the summary buffer and wipes the summary file
+ *
+ * @returns {Summary} summary instance
+ */
+ clear() {
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.emptyBuffer().write({ overwrite: true });
+ });
+ }
+ /**
+ * Returns the current summary buffer as a string
+ *
+ * @returns {string} string of summary buffer
+ */
+ stringify() {
+ return this._buffer;
+ }
+ /**
+ * If the summary buffer is empty
+ *
+ * @returns {boolen} true if the buffer is empty
+ */
+ isEmptyBuffer() {
+ return this._buffer.length === 0;
+ }
+ /**
+ * Resets the summary buffer without writing to summary file
+ *
+ * @returns {Summary} summary instance
+ */
+ emptyBuffer() {
+ this._buffer = "";
+ return this;
+ }
+ /**
+ * Adds raw text to the summary buffer
+ *
+ * @param {string} text content to add
+ * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)
+ *
+ * @returns {Summary} summary instance
+ */
+ addRaw(text, addEOL = false) {
+ this._buffer += text;
+ return addEOL ? this.addEOL() : this;
+ }
+ /**
+ * Adds the operating system-specific end-of-line marker to the buffer
+ *
+ * @returns {Summary} summary instance
+ */
+ addEOL() {
+ return this.addRaw(os_1.EOL);
+ }
+ /**
+ * Adds an HTML codeblock to the summary buffer
+ *
+ * @param {string} code content to render within fenced code block
+ * @param {string} lang (optional) language to syntax highlight code
+ *
+ * @returns {Summary} summary instance
+ */
+ addCodeBlock(code, lang) {
+ const attrs = Object.assign({}, lang && { lang });
+ const element = this.wrap("pre", this.wrap("code", code), attrs);
+ return this.addRaw(element).addEOL();
+ }
+ /**
+ * Adds an HTML list to the summary buffer
+ *
+ * @param {string[]} items list of items to render
+ * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)
+ *
+ * @returns {Summary} summary instance
+ */
+ addList(items, ordered = false) {
+ const tag = ordered ? "ol" : "ul";
+ const listItems = items.map((item) => this.wrap("li", item)).join("");
+ const element = this.wrap(tag, listItems);
+ return this.addRaw(element).addEOL();
+ }
+ /**
+ * Adds an HTML table to the summary buffer
+ *
+ * @param {SummaryTableCell[]} rows table rows
+ *
+ * @returns {Summary} summary instance
+ */
+ addTable(rows) {
+ const tableBody = rows
+ .map((row) => {
+ const cells = row
+ .map((cell) => {
+ if (typeof cell === "string") {
+ return this.wrap("td", cell);
+ }
+ const { header, data, colspan, rowspan } = cell;
+ const tag = header ? "th" : "td";
+ const attrs = Object.assign(
+ Object.assign({}, colspan && { colspan }),
+ rowspan && { rowspan }
+ );
+ return this.wrap(tag, data, attrs);
+ })
+ .join("");
+ return this.wrap("tr", cells);
+ })
+ .join("");
+ const element = this.wrap("table", tableBody);
+ return this.addRaw(element).addEOL();
+ }
+ /**
+ * Adds a collapsable HTML details element to the summary buffer
+ *
+ * @param {string} label text for the closed state
+ * @param {string} content collapsable content
+ *
+ * @returns {Summary} summary instance
+ */
+ addDetails(label, content) {
+ const element = this.wrap(
+ "details",
+ this.wrap("summary", label) + content
+ );
+ return this.addRaw(element).addEOL();
+ }
+ /**
+ * Adds an HTML image tag to the summary buffer
+ *
+ * @param {string} src path to the image you to embed
+ * @param {string} alt text description of the image
+ * @param {SummaryImageOptions} options (optional) addition image attributes
+ *
+ * @returns {Summary} summary instance
+ */
+ addImage(src, alt, options) {
+ const { width, height } = options || {};
+ const attrs = Object.assign(
+ Object.assign({}, width && { width }),
+ height && { height }
+ );
+ const element = this.wrap(
+ "img",
+ null,
+ Object.assign({ src, alt }, attrs)
+ );
+ return this.addRaw(element).addEOL();
+ }
+ /**
+ * Adds an HTML section heading element
+ *
+ * @param {string} text heading text
+ * @param {number | string} [level=1] (optional) the heading level, default: 1
+ *
+ * @returns {Summary} summary instance
+ */
+ addHeading(text, level) {
+ const tag = `h${level}`;
+ const allowedTag = ["h1", "h2", "h3", "h4", "h5", "h6"].includes(tag)
+ ? tag
+ : "h1";
+ const element = this.wrap(allowedTag, text);
+ return this.addRaw(element).addEOL();
+ }
+ /**
+ * Adds an HTML thematic break (
) to the summary buffer
+ *
+ * @returns {Summary} summary instance
+ */
+ addSeparator() {
+ const element = this.wrap("hr", null);
+ return this.addRaw(element).addEOL();
+ }
+ /**
+ * Adds an HTML line break (
) to the summary buffer
+ *
+ * @returns {Summary} summary instance
+ */
+ addBreak() {
+ const element = this.wrap("br", null);
+ return this.addRaw(element).addEOL();
+ }
+ /**
+ * Adds an HTML blockquote to the summary buffer
+ *
+ * @param {string} text quote text
+ * @param {string} cite (optional) citation url
+ *
+ * @returns {Summary} summary instance
+ */
+ addQuote(text, cite) {
+ const attrs = Object.assign({}, cite && { cite });
+ const element = this.wrap("blockquote", text, attrs);
+ return this.addRaw(element).addEOL();
+ }
+ /**
+ * Adds an HTML anchor tag to the summary buffer
+ *
+ * @param {string} text link text/content
+ * @param {string} href hyperlink
+ *
+ * @returns {Summary} summary instance
+ */
+ addLink(text, href) {
+ const element = this.wrap("a", text, { href });
+ return this.addRaw(element).addEOL();
}
- return "";
}
-
+ const _summary = new Summary();
/**
- * Creates a duplicate-free version of an array, using
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
- * for equality comparisons, in which only the first occurrence of each
- * element is kept.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @returns {Array} Returns the new duplicate free array.
- * @example
- *
- * _.uniq([2, 1, 2]);
- * // => [2, 1]
+ * @deprecated use `core.summary`
*/
- function uniq(array) {
- return array && array.length ? baseUniq(array) : [];
- }
+ exports.markdownSummary = _summary;
+ exports.summary = _summary;
+ //# sourceMappingURL=summary.js.map
- /**
- * Performs a
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
- * comparison between two values to determine if they are equivalent.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to compare.
- * @param {*} other The other value to compare.
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
- * @example
- *
- * var object = { 'a': 1 };
- * var other = { 'a': 1 };
- *
- * _.eq(object, object);
- * // => true
- *
- * _.eq(object, other);
- * // => false
- *
- * _.eq('a', 'a');
- * // => true
- *
- * _.eq('a', Object('a'));
- * // => false
- *
- * _.eq(NaN, NaN);
- * // => true
- */
- function eq(value, other) {
- return value === other || (value !== value && other !== other);
- }
+ /***/
+ },
- /**
- * Checks if `value` is classified as a `Function` object.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
- * @example
- *
- * _.isFunction(_);
- * // => true
- *
- * _.isFunction(/abc/);
- * // => false
- */
- function isFunction(value) {
- // The use of `Object#toString` avoids issues with the `typeof` operator
- // in Safari 8-9 which returns 'object' for typed array and other constructors.
- var tag = isObject(value) ? objectToString.call(value) : "";
- return tag == funcTag || tag == genTag;
- }
+ /***/ 5278: /***/ (__unused_webpack_module, exports) => {
+ "use strict";
+ // We use any as a valid input type
+ /* eslint-disable @typescript-eslint/no-explicit-any */
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.toCommandProperties = exports.toCommandValue = void 0;
/**
- * Checks if `value` is the
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
- * @example
- *
- * _.isObject({});
- * // => true
- *
- * _.isObject([1, 2, 3]);
- * // => true
- *
- * _.isObject(_.noop);
- * // => true
- *
- * _.isObject(null);
- * // => false
+ * Sanitizes an input into a string so it can be passed into issueCommand safely
+ * @param input input to sanitize into a string
*/
- function isObject(value) {
- var type = typeof value;
- return !!value && (type == "object" || type == "function");
+ function toCommandValue(input) {
+ if (input === null || input === undefined) {
+ return "";
+ } else if (typeof input === "string" || input instanceof String) {
+ return input;
+ }
+ return JSON.stringify(input);
}
-
+ exports.toCommandValue = toCommandValue;
/**
- * This method returns `undefined`.
- *
- * @static
- * @memberOf _
- * @since 2.3.0
- * @category Util
- * @example
*
- * _.times(2, _.noop);
- * // => [undefined, undefined]
+ * @param annotationProperties
+ * @returns The command properties to send with the actual annotation command
+ * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646
*/
- function noop() {
- // No operation performed.
+ function toCommandProperties(annotationProperties) {
+ if (!Object.keys(annotationProperties).length) {
+ return {};
+ }
+ return {
+ title: annotationProperties.title,
+ file: annotationProperties.file,
+ line: annotationProperties.startLine,
+ endLine: annotationProperties.endLine,
+ col: annotationProperties.startColumn,
+ endColumn: annotationProperties.endColumn,
+ };
}
-
- module.exports = uniq;
+ exports.toCommandProperties = toCommandProperties;
+ //# sourceMappingURL=utils.js.map
/***/
},
- /***/ 145: /***/ function (module, __unusedexports, __webpack_require__) {
+ /***/ 36758: /***/ function (__unused_webpack_module, exports) {
"use strict";
- const pump = __webpack_require__(5453);
- const bufferStream = __webpack_require__(4966);
-
- class MaxBufferError extends Error {
- constructor() {
- super("maxBuffer exceeded");
- this.name = "MaxBufferError";
+ var __awaiter =
+ (this && this.__awaiter) ||
+ function (thisArg, _arguments, P, generator) {
+ function adopt(value) {
+ return value instanceof P
+ ? value
+ : new P(function (resolve) {
+ resolve(value);
+ });
+ }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) {
+ try {
+ step(generator.next(value));
+ } catch (e) {
+ reject(e);
+ }
+ }
+ function rejected(value) {
+ try {
+ step(generator["throw"](value));
+ } catch (e) {
+ reject(e);
+ }
+ }
+ function step(result) {
+ result.done
+ ? resolve(result.value)
+ : adopt(result.value).then(fulfilled, rejected);
+ }
+ step(
+ (generator = generator.apply(thisArg, _arguments || [])).next()
+ );
+ });
+ };
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0;
+ class BasicCredentialHandler {
+ constructor(username, password) {
+ this.username = username;
+ this.password = password;
+ }
+ prepareRequest(options) {
+ if (!options.headers) {
+ throw Error("The request has no headers");
+ }
+ options.headers["Authorization"] = `Basic ${Buffer.from(
+ `${this.username}:${this.password}`
+ ).toString("base64")}`;
+ }
+ // This handler cannot handle 401
+ canHandleAuthentication() {
+ return false;
+ }
+ handleAuthentication() {
+ return __awaiter(this, void 0, void 0, function* () {
+ throw new Error("not implemented");
+ });
}
}
-
- function getStream(inputStream, options) {
- if (!inputStream) {
- return Promise.reject(new Error("Expected a stream"));
+ exports.BasicCredentialHandler = BasicCredentialHandler;
+ class BearerCredentialHandler {
+ constructor(token) {
+ this.token = token;
}
-
- options = Object.assign({ maxBuffer: Infinity }, options);
-
- const { maxBuffer } = options;
-
- let stream;
- return new Promise((resolve, reject) => {
- const rejectPromise = (error) => {
- if (error) {
- // A null check
- error.bufferedData = stream.getBufferedValue();
- }
- reject(error);
- };
-
- stream = pump(inputStream, bufferStream(options), (error) => {
- if (error) {
- rejectPromise(error);
- return;
- }
-
- resolve();
+ // currently implements pre-authorization
+ // TODO: support preAuth = false where it hooks on 401
+ prepareRequest(options) {
+ if (!options.headers) {
+ throw Error("The request has no headers");
+ }
+ options.headers["Authorization"] = `Bearer ${this.token}`;
+ }
+ // This handler cannot handle 401
+ canHandleAuthentication() {
+ return false;
+ }
+ handleAuthentication() {
+ return __awaiter(this, void 0, void 0, function* () {
+ throw new Error("not implemented");
});
-
- stream.on("data", () => {
- if (stream.getBufferedLength() > maxBuffer) {
- rejectPromise(new MaxBufferError());
- }
+ }
+ }
+ exports.BearerCredentialHandler = BearerCredentialHandler;
+ class PersonalAccessTokenCredentialHandler {
+ constructor(token) {
+ this.token = token;
+ }
+ // currently implements pre-authorization
+ // TODO: support preAuth = false where it hooks on 401
+ prepareRequest(options) {
+ if (!options.headers) {
+ throw Error("The request has no headers");
+ }
+ options.headers["Authorization"] = `Basic ${Buffer.from(
+ `PAT:${this.token}`
+ ).toString("base64")}`;
+ }
+ // This handler cannot handle 401
+ canHandleAuthentication() {
+ return false;
+ }
+ handleAuthentication() {
+ return __awaiter(this, void 0, void 0, function* () {
+ throw new Error("not implemented");
});
- }).then(() => stream.getBufferedValue());
+ }
}
-
- module.exports = getStream;
- module.exports.buffer = (stream, options) =>
- getStream(stream, Object.assign({}, options, { encoding: "buffer" }));
- module.exports.array = (stream, options) =>
- getStream(stream, Object.assign({}, options, { array: true }));
- module.exports.MaxBufferError = MaxBufferError;
+ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;
+ //# sourceMappingURL=auth.js.map
/***/
},
- /***/ 153: /***/ function (module, __unusedexports, __webpack_require__) {
- /* eslint guard-for-in:0 */
- var AWS;
+ /***/ 11404: /***/ function (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) {
+ "use strict";
- /**
- * A set of utility methods for use with the AWS SDK.
- *
- * @!attribute abort
- * Return this value from an iterator function {each} or {arrayEach}
- * to break out of the iteration.
- * @example Breaking out of an iterator function
- * AWS.util.each({a: 1, b: 2, c: 3}, function(key, value) {
- * if (key == 'b') return AWS.util.abort;
- * });
- * @see each
- * @see arrayEach
- * @api private
- */
- var util = {
- environment: "nodejs",
- engine: function engine() {
- if (util.isBrowser() && typeof navigator !== "undefined") {
- return navigator.userAgent;
- } else {
- var engine = process.platform + "/" + process.version;
- if (process.env.AWS_EXECUTION_ENV) {
- engine += " exec-env/" + process.env.AWS_EXECUTION_ENV;
+ /* eslint-disable @typescript-eslint/no-explicit-any */
+ var __createBinding =
+ (this && this.__createBinding) ||
+ (Object.create
+ ? function (o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ Object.defineProperty(o, k2, {
+ enumerable: true,
+ get: function () {
+ return m[k];
+ },
+ });
}
- return engine;
- }
- },
-
- userAgent: function userAgent() {
- var name = util.environment;
- var agent =
- "aws-sdk-" + name + "/" + __webpack_require__(395).VERSION;
- if (name === "nodejs") agent += " " + util.engine();
- return agent;
- },
-
- uriEscape: function uriEscape(string) {
- var output = encodeURIComponent(string);
- output = output.replace(/[^A-Za-z0-9_.~\-%]+/g, escape);
-
- // AWS percent-encodes some extra non-standard characters in a URI
- output = output.replace(/[*]/g, function (ch) {
- return "%" + ch.charCodeAt(0).toString(16).toUpperCase();
- });
-
- return output;
- },
-
- uriEscapePath: function uriEscapePath(string) {
- var parts = [];
- util.arrayEach(string.split("/"), function (part) {
- parts.push(util.uriEscape(part));
- });
- return parts.join("/");
- },
-
- urlParse: function urlParse(url) {
- return util.url.parse(url);
- },
-
- urlFormat: function urlFormat(url) {
- return util.url.format(url);
- },
-
- queryStringParse: function queryStringParse(qs) {
- return util.querystring.parse(qs);
- },
-
- queryParamsToString: function queryParamsToString(params) {
- var items = [];
- var escape = util.uriEscape;
- var sortedKeys = Object.keys(params).sort();
-
- util.arrayEach(sortedKeys, function (name) {
- var value = params[name];
- var ename = escape(name);
- var result = ename + "=";
- if (Array.isArray(value)) {
- var vals = [];
- util.arrayEach(value, function (item) {
- vals.push(escape(item));
+ : function (o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+ });
+ var __setModuleDefault =
+ (this && this.__setModuleDefault) ||
+ (Object.create
+ ? function (o, v) {
+ Object.defineProperty(o, "default", {
+ enumerable: true,
+ value: v,
});
- result = ename + "=" + vals.sort().join("&" + ename + "=");
- } else if (value !== undefined && value !== null) {
- result = ename + "=" + escape(value);
}
- items.push(result);
- });
-
- return items.join("&");
- },
-
- readFileSync: function readFileSync(path) {
- if (util.isBrowser()) return null;
- return __webpack_require__(5747).readFileSync(path, "utf-8");
- },
-
- base64: {
- encode: function encode64(string) {
- if (typeof string === "number") {
- throw util.error(
- new Error("Cannot base64 encode number " + string)
- );
+ : function (o, v) {
+ o["default"] = v;
+ });
+ var __importStar =
+ (this && this.__importStar) ||
+ function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null)
+ for (var k in mod)
+ if (k !== "default" && Object.hasOwnProperty.call(mod, k))
+ __createBinding(result, mod, k);
+ __setModuleDefault(result, mod);
+ return result;
+ };
+ var __awaiter =
+ (this && this.__awaiter) ||
+ function (thisArg, _arguments, P, generator) {
+ function adopt(value) {
+ return value instanceof P
+ ? value
+ : new P(function (resolve) {
+ resolve(value);
+ });
+ }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) {
+ try {
+ step(generator.next(value));
+ } catch (e) {
+ reject(e);
+ }
}
- if (string === null || typeof string === "undefined") {
- return string;
+ function rejected(value) {
+ try {
+ step(generator["throw"](value));
+ } catch (e) {
+ reject(e);
+ }
}
- var buf = util.buffer.toBuffer(string);
- return buf.toString("base64");
- },
-
- decode: function decode64(string) {
- if (typeof string === "number") {
- throw util.error(
- new Error("Cannot base64 decode number " + string)
- );
+ function step(result) {
+ result.done
+ ? resolve(result.value)
+ : adopt(result.value).then(fulfilled, rejected);
}
- if (string === null || typeof string === "undefined") {
- return string;
+ step(
+ (generator = generator.apply(thisArg, _arguments || [])).next()
+ );
+ });
+ };
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0;
+ const http = __importStar(__nccwpck_require__(13685));
+ const https = __importStar(__nccwpck_require__(95687));
+ const pm = __importStar(__nccwpck_require__(72843));
+ const tunnel = __importStar(__nccwpck_require__(74294));
+ var HttpCodes;
+ (function (HttpCodes) {
+ HttpCodes[(HttpCodes["OK"] = 200)] = "OK";
+ HttpCodes[(HttpCodes["MultipleChoices"] = 300)] = "MultipleChoices";
+ HttpCodes[(HttpCodes["MovedPermanently"] = 301)] = "MovedPermanently";
+ HttpCodes[(HttpCodes["ResourceMoved"] = 302)] = "ResourceMoved";
+ HttpCodes[(HttpCodes["SeeOther"] = 303)] = "SeeOther";
+ HttpCodes[(HttpCodes["NotModified"] = 304)] = "NotModified";
+ HttpCodes[(HttpCodes["UseProxy"] = 305)] = "UseProxy";
+ HttpCodes[(HttpCodes["SwitchProxy"] = 306)] = "SwitchProxy";
+ HttpCodes[(HttpCodes["TemporaryRedirect"] = 307)] = "TemporaryRedirect";
+ HttpCodes[(HttpCodes["PermanentRedirect"] = 308)] = "PermanentRedirect";
+ HttpCodes[(HttpCodes["BadRequest"] = 400)] = "BadRequest";
+ HttpCodes[(HttpCodes["Unauthorized"] = 401)] = "Unauthorized";
+ HttpCodes[(HttpCodes["PaymentRequired"] = 402)] = "PaymentRequired";
+ HttpCodes[(HttpCodes["Forbidden"] = 403)] = "Forbidden";
+ HttpCodes[(HttpCodes["NotFound"] = 404)] = "NotFound";
+ HttpCodes[(HttpCodes["MethodNotAllowed"] = 405)] = "MethodNotAllowed";
+ HttpCodes[(HttpCodes["NotAcceptable"] = 406)] = "NotAcceptable";
+ HttpCodes[(HttpCodes["ProxyAuthenticationRequired"] = 407)] =
+ "ProxyAuthenticationRequired";
+ HttpCodes[(HttpCodes["RequestTimeout"] = 408)] = "RequestTimeout";
+ HttpCodes[(HttpCodes["Conflict"] = 409)] = "Conflict";
+ HttpCodes[(HttpCodes["Gone"] = 410)] = "Gone";
+ HttpCodes[(HttpCodes["TooManyRequests"] = 429)] = "TooManyRequests";
+ HttpCodes[(HttpCodes["InternalServerError"] = 500)] =
+ "InternalServerError";
+ HttpCodes[(HttpCodes["NotImplemented"] = 501)] = "NotImplemented";
+ HttpCodes[(HttpCodes["BadGateway"] = 502)] = "BadGateway";
+ HttpCodes[(HttpCodes["ServiceUnavailable"] = 503)] =
+ "ServiceUnavailable";
+ HttpCodes[(HttpCodes["GatewayTimeout"] = 504)] = "GatewayTimeout";
+ })((HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})));
+ var Headers;
+ (function (Headers) {
+ Headers["Accept"] = "accept";
+ Headers["ContentType"] = "content-type";
+ })((Headers = exports.Headers || (exports.Headers = {})));
+ var MediaTypes;
+ (function (MediaTypes) {
+ MediaTypes["ApplicationJson"] = "application/json";
+ })((MediaTypes = exports.MediaTypes || (exports.MediaTypes = {})));
+ /**
+ * Returns the proxy URL, depending upon the supplied url and proxy environment variables.
+ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com
+ */
+ function getProxyUrl(serverUrl) {
+ const proxyUrl = pm.getProxyUrl(new URL(serverUrl));
+ return proxyUrl ? proxyUrl.href : "";
+ }
+ exports.getProxyUrl = getProxyUrl;
+ const HttpRedirectCodes = [
+ HttpCodes.MovedPermanently,
+ HttpCodes.ResourceMoved,
+ HttpCodes.SeeOther,
+ HttpCodes.TemporaryRedirect,
+ HttpCodes.PermanentRedirect,
+ ];
+ const HttpResponseRetryCodes = [
+ HttpCodes.BadGateway,
+ HttpCodes.ServiceUnavailable,
+ HttpCodes.GatewayTimeout,
+ ];
+ const RetryableHttpVerbs = ["OPTIONS", "GET", "DELETE", "HEAD"];
+ const ExponentialBackoffCeiling = 10;
+ const ExponentialBackoffTimeSlice = 5;
+ class HttpClientError extends Error {
+ constructor(message, statusCode) {
+ super(message);
+ this.name = "HttpClientError";
+ this.statusCode = statusCode;
+ Object.setPrototypeOf(this, HttpClientError.prototype);
+ }
+ }
+ exports.HttpClientError = HttpClientError;
+ class HttpClientResponse {
+ constructor(message) {
+ this.message = message;
+ }
+ readBody() {
+ return __awaiter(this, void 0, void 0, function* () {
+ return new Promise((resolve) =>
+ __awaiter(this, void 0, void 0, function* () {
+ let output = Buffer.alloc(0);
+ this.message.on("data", (chunk) => {
+ output = Buffer.concat([output, chunk]);
+ });
+ this.message.on("end", () => {
+ resolve(output.toString());
+ });
+ })
+ );
+ });
+ }
+ }
+ exports.HttpClientResponse = HttpClientResponse;
+ function isHttps(requestUrl) {
+ const parsedUrl = new URL(requestUrl);
+ return parsedUrl.protocol === "https:";
+ }
+ exports.isHttps = isHttps;
+ class HttpClient {
+ constructor(userAgent, handlers, requestOptions) {
+ this._ignoreSslError = false;
+ this._allowRedirects = true;
+ this._allowRedirectDowngrade = false;
+ this._maxRedirects = 50;
+ this._allowRetries = false;
+ this._maxRetries = 1;
+ this._keepAlive = false;
+ this._disposed = false;
+ this.userAgent = userAgent;
+ this.handlers = handlers || [];
+ this.requestOptions = requestOptions;
+ if (requestOptions) {
+ if (requestOptions.ignoreSslError != null) {
+ this._ignoreSslError = requestOptions.ignoreSslError;
}
- return util.buffer.toBuffer(string, "base64");
- },
- },
-
- buffer: {
- /**
- * Buffer constructor for Node buffer and buffer pollyfill
- */
- toBuffer: function (data, encoding) {
- return typeof util.Buffer.from === "function" &&
- util.Buffer.from !== Uint8Array.from
- ? util.Buffer.from(data, encoding)
- : new util.Buffer(data, encoding);
- },
-
- alloc: function (size, fill, encoding) {
- if (typeof size !== "number") {
- throw new Error("size passed to alloc must be a number.");
+ this._socketTimeout = requestOptions.socketTimeout;
+ if (requestOptions.allowRedirects != null) {
+ this._allowRedirects = requestOptions.allowRedirects;
}
- if (typeof util.Buffer.alloc === "function") {
- return util.Buffer.alloc(size, fill, encoding);
- } else {
- var buf = new util.Buffer(size);
- if (fill !== undefined && typeof buf.fill === "function") {
- buf.fill(fill, undefined, undefined, encoding);
- }
- return buf;
+ if (requestOptions.allowRedirectDowngrade != null) {
+ this._allowRedirectDowngrade =
+ requestOptions.allowRedirectDowngrade;
}
- },
-
- toStream: function toStream(buffer) {
- if (!util.Buffer.isBuffer(buffer))
- buffer = util.buffer.toBuffer(buffer);
-
- var readable = new util.stream.Readable();
- var pos = 0;
- readable._read = function (size) {
- if (pos >= buffer.length) return readable.push(null);
-
- var end = pos + size;
- if (end > buffer.length) end = buffer.length;
- readable.push(buffer.slice(pos, end));
- pos = end;
- };
-
- return readable;
- },
-
- /**
- * Concatenates a list of Buffer objects.
- */
- concat: function (buffers) {
- var length = 0,
- offset = 0,
- buffer = null,
- i;
-
- for (i = 0; i < buffers.length; i++) {
- length += buffers[i].length;
+ if (requestOptions.maxRedirects != null) {
+ this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);
}
-
- buffer = util.buffer.alloc(length);
-
- for (i = 0; i < buffers.length; i++) {
- buffers[i].copy(buffer, offset);
- offset += buffers[i].length;
+ if (requestOptions.keepAlive != null) {
+ this._keepAlive = requestOptions.keepAlive;
}
-
- return buffer;
- },
- },
-
- string: {
- byteLength: function byteLength(string) {
- if (string === null || string === undefined) return 0;
- if (typeof string === "string")
- string = util.buffer.toBuffer(string);
-
- if (typeof string.byteLength === "number") {
- return string.byteLength;
- } else if (typeof string.length === "number") {
- return string.length;
- } else if (typeof string.size === "number") {
- return string.size;
- } else if (typeof string.path === "string") {
- return __webpack_require__(5747).lstatSync(string.path).size;
- } else {
- throw util.error(
- new Error("Cannot determine length of " + string),
- { object: string }
- );
+ if (requestOptions.allowRetries != null) {
+ this._allowRetries = requestOptions.allowRetries;
}
- },
-
- upperFirst: function upperFirst(string) {
- return string[0].toUpperCase() + string.substr(1);
- },
-
- lowerFirst: function lowerFirst(string) {
- return string[0].toLowerCase() + string.substr(1);
- },
- },
-
- ini: {
- parse: function string(ini) {
- var currentSection,
- map = {};
- util.arrayEach(ini.split(/\r?\n/), function (line) {
- line = line.split(/(^|\s)[;#]/)[0]; // remove comments
- var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/);
- if (section) {
- currentSection = section[1];
- } else if (currentSection) {
- var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/);
- if (item) {
- map[currentSection] = map[currentSection] || {};
- map[currentSection][item[1]] = item[2];
+ if (requestOptions.maxRetries != null) {
+ this._maxRetries = requestOptions.maxRetries;
+ }
+ }
+ }
+ options(requestUrl, additionalHeaders) {
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request(
+ "OPTIONS",
+ requestUrl,
+ null,
+ additionalHeaders || {}
+ );
+ });
+ }
+ get(requestUrl, additionalHeaders) {
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request(
+ "GET",
+ requestUrl,
+ null,
+ additionalHeaders || {}
+ );
+ });
+ }
+ del(requestUrl, additionalHeaders) {
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request(
+ "DELETE",
+ requestUrl,
+ null,
+ additionalHeaders || {}
+ );
+ });
+ }
+ post(requestUrl, data, additionalHeaders) {
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request(
+ "POST",
+ requestUrl,
+ data,
+ additionalHeaders || {}
+ );
+ });
+ }
+ patch(requestUrl, data, additionalHeaders) {
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request(
+ "PATCH",
+ requestUrl,
+ data,
+ additionalHeaders || {}
+ );
+ });
+ }
+ put(requestUrl, data, additionalHeaders) {
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request(
+ "PUT",
+ requestUrl,
+ data,
+ additionalHeaders || {}
+ );
+ });
+ }
+ head(requestUrl, additionalHeaders) {
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request(
+ "HEAD",
+ requestUrl,
+ null,
+ additionalHeaders || {}
+ );
+ });
+ }
+ sendStream(verb, requestUrl, stream, additionalHeaders) {
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request(verb, requestUrl, stream, additionalHeaders);
+ });
+ }
+ /**
+ * Gets a typed object from an endpoint
+ * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise
+ */
+ getJson(requestUrl, additionalHeaders = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ additionalHeaders[
+ Headers.Accept
+ ] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.Accept,
+ MediaTypes.ApplicationJson
+ );
+ const res = yield this.get(requestUrl, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ });
+ }
+ postJson(requestUrl, obj, additionalHeaders = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const data = JSON.stringify(obj, null, 2);
+ additionalHeaders[
+ Headers.Accept
+ ] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.Accept,
+ MediaTypes.ApplicationJson
+ );
+ additionalHeaders[
+ Headers.ContentType
+ ] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.ContentType,
+ MediaTypes.ApplicationJson
+ );
+ const res = yield this.post(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ });
+ }
+ putJson(requestUrl, obj, additionalHeaders = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const data = JSON.stringify(obj, null, 2);
+ additionalHeaders[
+ Headers.Accept
+ ] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.Accept,
+ MediaTypes.ApplicationJson
+ );
+ additionalHeaders[
+ Headers.ContentType
+ ] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.ContentType,
+ MediaTypes.ApplicationJson
+ );
+ const res = yield this.put(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ });
+ }
+ patchJson(requestUrl, obj, additionalHeaders = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const data = JSON.stringify(obj, null, 2);
+ additionalHeaders[
+ Headers.Accept
+ ] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.Accept,
+ MediaTypes.ApplicationJson
+ );
+ additionalHeaders[
+ Headers.ContentType
+ ] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.ContentType,
+ MediaTypes.ApplicationJson
+ );
+ const res = yield this.patch(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ });
+ }
+ /**
+ * Makes a raw http request.
+ * All other methods such as get, post, patch, and request ultimately call this.
+ * Prefer get, del, post and patch
+ */
+ request(verb, requestUrl, data, headers) {
+ return __awaiter(this, void 0, void 0, function* () {
+ if (this._disposed) {
+ throw new Error("Client has already been disposed.");
+ }
+ const parsedUrl = new URL(requestUrl);
+ let info = this._prepareRequest(verb, parsedUrl, headers);
+ // Only perform retries on reads since writes may not be idempotent.
+ const maxTries =
+ this._allowRetries && RetryableHttpVerbs.includes(verb)
+ ? this._maxRetries + 1
+ : 1;
+ let numTries = 0;
+ let response;
+ do {
+ response = yield this.requestRaw(info, data);
+ // Check if it's an authentication challenge
+ if (
+ response &&
+ response.message &&
+ response.message.statusCode === HttpCodes.Unauthorized
+ ) {
+ let authenticationHandler;
+ for (const handler of this.handlers) {
+ if (handler.canHandleAuthentication(response)) {
+ authenticationHandler = handler;
+ break;
+ }
+ }
+ if (authenticationHandler) {
+ return authenticationHandler.handleAuthentication(
+ this,
+ info,
+ data
+ );
+ } else {
+ // We have received an unauthorized response but have no handlers to handle it.
+ // Let the response return to the caller.
+ return response;
+ }
+ }
+ let redirectsRemaining = this._maxRedirects;
+ while (
+ response.message.statusCode &&
+ HttpRedirectCodes.includes(response.message.statusCode) &&
+ this._allowRedirects &&
+ redirectsRemaining > 0
+ ) {
+ const redirectUrl = response.message.headers["location"];
+ if (!redirectUrl) {
+ // if there's no location to redirect to, we won't
+ break;
+ }
+ const parsedRedirectUrl = new URL(redirectUrl);
+ if (
+ parsedUrl.protocol === "https:" &&
+ parsedUrl.protocol !== parsedRedirectUrl.protocol &&
+ !this._allowRedirectDowngrade
+ ) {
+ throw new Error(
+ "Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true."
+ );
+ }
+ // we need to finish reading the response before reassigning response
+ // which will leak the open socket.
+ yield response.readBody();
+ // strip authorization header if redirected to a different hostname
+ if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {
+ for (const header in headers) {
+ // header names are case insensitive
+ if (header.toLowerCase() === "authorization") {
+ delete headers[header];
+ }
+ }
+ }
+ // let's make the request with the new redirectUrl
+ info = this._prepareRequest(verb, parsedRedirectUrl, headers);
+ response = yield this.requestRaw(info, data);
+ redirectsRemaining--;
+ }
+ if (
+ !response.message.statusCode ||
+ !HttpResponseRetryCodes.includes(response.message.statusCode)
+ ) {
+ // If not a retry code, return immediately instead of retrying
+ return response;
+ }
+ numTries += 1;
+ if (numTries < maxTries) {
+ yield response.readBody();
+ yield this._performExponentialBackoff(numTries);
+ }
+ } while (numTries < maxTries);
+ return response;
+ });
+ }
+ /**
+ * Needs to be called if keepAlive is set to true in request options.
+ */
+ dispose() {
+ if (this._agent) {
+ this._agent.destroy();
+ }
+ this._disposed = true;
+ }
+ /**
+ * Raw request.
+ * @param info
+ * @param data
+ */
+ requestRaw(info, data) {
+ return __awaiter(this, void 0, void 0, function* () {
+ return new Promise((resolve, reject) => {
+ function callbackForResult(err, res) {
+ if (err) {
+ reject(err);
+ } else if (!res) {
+ // If `err` is not passed, then `res` must be passed.
+ reject(new Error("Unknown error"));
+ } else {
+ resolve(res);
}
}
+ this.requestRawWithCallback(info, data, callbackForResult);
});
-
- return map;
- },
- },
-
- fn: {
- noop: function () {},
- callback: function (err) {
- if (err) throw err;
- },
-
- /**
- * Turn a synchronous function into as "async" function by making it call
- * a callback. The underlying function is called with all but the last argument,
- * which is treated as the callback. The callback is passed passed a first argument
- * of null on success to mimick standard node callbacks.
- */
- makeAsync: function makeAsync(fn, expectedArgs) {
- if (expectedArgs && expectedArgs <= fn.length) {
- return fn;
- }
-
- return function () {
- var args = Array.prototype.slice.call(arguments, 0);
- var callback = args.pop();
- var result = fn.apply(null, args);
- callback(result);
- };
- },
- },
-
+ });
+ }
/**
- * Date and time utility functions.
+ * Raw request with callback.
+ * @param info
+ * @param data
+ * @param onResult
*/
- date: {
- /**
- * @return [Date] the current JavaScript date object. Since all
- * AWS services rely on this date object, you can override
- * this function to provide a special time value to AWS service
- * requests.
- */
- getDate: function getDate() {
- if (!AWS) AWS = __webpack_require__(395);
- if (AWS.config.systemClockOffset) {
- // use offset when non-zero
- return new Date(
- new Date().getTime() + AWS.config.systemClockOffset
- );
- } else {
- return new Date();
- }
- },
-
- /**
- * @return [String] the date in ISO-8601 format
- */
- iso8601: function iso8601(date) {
- if (date === undefined) {
- date = util.date.getDate();
+ requestRawWithCallback(info, data, onResult) {
+ if (typeof data === "string") {
+ if (!info.options.headers) {
+ info.options.headers = {};
}
- return date.toISOString().replace(/\.\d{3}Z$/, "Z");
- },
-
- /**
- * @return [String] the date in RFC 822 format
- */
- rfc822: function rfc822(date) {
- if (date === undefined) {
- date = util.date.getDate();
+ info.options.headers["Content-Length"] = Buffer.byteLength(
+ data,
+ "utf8"
+ );
+ }
+ let callbackCalled = false;
+ function handleResult(err, res) {
+ if (!callbackCalled) {
+ callbackCalled = true;
+ onResult(err, res);
}
- return date.toUTCString();
- },
-
- /**
- * @return [Integer] the UNIX timestamp value for the current time
- */
- unixTimestamp: function unixTimestamp(date) {
- if (date === undefined) {
- date = util.date.getDate();
+ }
+ const req = info.httpModule.request(info.options, (msg) => {
+ const res = new HttpClientResponse(msg);
+ handleResult(undefined, res);
+ });
+ let socket;
+ req.on("socket", (sock) => {
+ socket = sock;
+ });
+ // If we ever get disconnected, we want the socket to timeout eventually
+ req.setTimeout(this._socketTimeout || 3 * 60000, () => {
+ if (socket) {
+ socket.end();
}
- return date.getTime() / 1000;
- },
-
- /**
- * @param [String,number,Date] date
- * @return [Date]
- */
- from: function format(date) {
- if (typeof date === "number") {
- return new Date(date * 1000); // unix timestamp
- } else {
- return new Date(date);
+ handleResult(new Error(`Request timeout: ${info.options.path}`));
+ });
+ req.on("error", function (err) {
+ // err has statusCode property
+ // res should have headers
+ handleResult(err);
+ });
+ if (data && typeof data === "string") {
+ req.write(data, "utf8");
+ }
+ if (data && typeof data !== "string") {
+ data.on("close", function () {
+ req.end();
+ });
+ data.pipe(req);
+ } else {
+ req.end();
+ }
+ }
+ /**
+ * Gets an http agent. This function is useful when you need an http agent that handles
+ * routing through a proxy server - depending upon the url and proxy environment variables.
+ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com
+ */
+ getAgent(serverUrl) {
+ const parsedUrl = new URL(serverUrl);
+ return this._getAgent(parsedUrl);
+ }
+ _prepareRequest(method, requestUrl, headers) {
+ const info = {};
+ info.parsedUrl = requestUrl;
+ const usingSsl = info.parsedUrl.protocol === "https:";
+ info.httpModule = usingSsl ? https : http;
+ const defaultPort = usingSsl ? 443 : 80;
+ info.options = {};
+ info.options.host = info.parsedUrl.hostname;
+ info.options.port = info.parsedUrl.port
+ ? parseInt(info.parsedUrl.port)
+ : defaultPort;
+ info.options.path =
+ (info.parsedUrl.pathname || "") + (info.parsedUrl.search || "");
+ info.options.method = method;
+ info.options.headers = this._mergeHeaders(headers);
+ if (this.userAgent != null) {
+ info.options.headers["user-agent"] = this.userAgent;
+ }
+ info.options.agent = this._getAgent(info.parsedUrl);
+ // gives handlers an opportunity to participate
+ if (this.handlers) {
+ for (const handler of this.handlers) {
+ handler.prepareRequest(info.options);
}
- },
-
- /**
- * Given a Date or date-like value, this function formats the
- * date into a string of the requested value.
- * @param [String,number,Date] date
- * @param [String] formatter Valid formats are:
- # * 'iso8601'
- # * 'rfc822'
- # * 'unixTimestamp'
- * @return [String]
- */
- format: function format(date, formatter) {
- if (!formatter) formatter = "iso8601";
- return util.date[formatter](util.date.from(date));
- },
-
- parseTimestamp: function parseTimestamp(value) {
- if (typeof value === "number") {
- // unix timestamp (number)
- return new Date(value * 1000);
- } else if (value.match(/^\d+$/)) {
- // unix timestamp
- return new Date(value * 1000);
- } else if (value.match(/^\d{4}/)) {
- // iso8601
- return new Date(value);
- } else if (value.match(/^\w{3},/)) {
- // rfc822
- return new Date(value);
+ }
+ return info;
+ }
+ _mergeHeaders(headers) {
+ if (this.requestOptions && this.requestOptions.headers) {
+ return Object.assign(
+ {},
+ lowercaseKeys(this.requestOptions.headers),
+ lowercaseKeys(headers || {})
+ );
+ }
+ return lowercaseKeys(headers || {});
+ }
+ _getExistingOrDefaultHeader(additionalHeaders, header, _default) {
+ let clientHeader;
+ if (this.requestOptions && this.requestOptions.headers) {
+ clientHeader = lowercaseKeys(this.requestOptions.headers)[header];
+ }
+ return additionalHeaders[header] || clientHeader || _default;
+ }
+ _getAgent(parsedUrl) {
+ let agent;
+ const proxyUrl = pm.getProxyUrl(parsedUrl);
+ const useProxy = proxyUrl && proxyUrl.hostname;
+ if (this._keepAlive && useProxy) {
+ agent = this._proxyAgent;
+ }
+ if (this._keepAlive && !useProxy) {
+ agent = this._agent;
+ }
+ // if agent is already assigned use that agent.
+ if (agent) {
+ return agent;
+ }
+ const usingSsl = parsedUrl.protocol === "https:";
+ let maxSockets = 100;
+ if (this.requestOptions) {
+ maxSockets =
+ this.requestOptions.maxSockets || http.globalAgent.maxSockets;
+ }
+ // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.
+ if (proxyUrl && proxyUrl.hostname) {
+ const agentOptions = {
+ maxSockets,
+ keepAlive: this._keepAlive,
+ proxy: Object.assign(
+ Object.assign(
+ {},
+ (proxyUrl.username || proxyUrl.password) && {
+ proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`,
+ }
+ ),
+ { host: proxyUrl.hostname, port: proxyUrl.port }
+ ),
+ };
+ let tunnelAgent;
+ const overHttps = proxyUrl.protocol === "https:";
+ if (usingSsl) {
+ tunnelAgent = overHttps
+ ? tunnel.httpsOverHttps
+ : tunnel.httpsOverHttp;
} else {
- throw util.error(
- new Error("unhandled timestamp format: " + value),
- { code: "TimestampParserError" }
- );
+ tunnelAgent = overHttps
+ ? tunnel.httpOverHttps
+ : tunnel.httpOverHttp;
}
- },
- },
-
- crypto: {
- crc32Table: [
- 0x00000000,
- 0x77073096,
- 0xee0e612c,
- 0x990951ba,
- 0x076dc419,
- 0x706af48f,
- 0xe963a535,
- 0x9e6495a3,
- 0x0edb8832,
- 0x79dcb8a4,
- 0xe0d5e91e,
- 0x97d2d988,
- 0x09b64c2b,
- 0x7eb17cbd,
- 0xe7b82d07,
- 0x90bf1d91,
- 0x1db71064,
- 0x6ab020f2,
- 0xf3b97148,
- 0x84be41de,
- 0x1adad47d,
- 0x6ddde4eb,
- 0xf4d4b551,
- 0x83d385c7,
- 0x136c9856,
- 0x646ba8c0,
- 0xfd62f97a,
- 0x8a65c9ec,
- 0x14015c4f,
- 0x63066cd9,
- 0xfa0f3d63,
- 0x8d080df5,
- 0x3b6e20c8,
- 0x4c69105e,
- 0xd56041e4,
- 0xa2677172,
- 0x3c03e4d1,
- 0x4b04d447,
- 0xd20d85fd,
- 0xa50ab56b,
- 0x35b5a8fa,
- 0x42b2986c,
- 0xdbbbc9d6,
- 0xacbcf940,
- 0x32d86ce3,
- 0x45df5c75,
- 0xdcd60dcf,
- 0xabd13d59,
- 0x26d930ac,
- 0x51de003a,
- 0xc8d75180,
- 0xbfd06116,
- 0x21b4f4b5,
- 0x56b3c423,
- 0xcfba9599,
- 0xb8bda50f,
- 0x2802b89e,
- 0x5f058808,
- 0xc60cd9b2,
- 0xb10be924,
- 0x2f6f7c87,
- 0x58684c11,
- 0xc1611dab,
- 0xb6662d3d,
- 0x76dc4190,
- 0x01db7106,
- 0x98d220bc,
- 0xefd5102a,
- 0x71b18589,
- 0x06b6b51f,
- 0x9fbfe4a5,
- 0xe8b8d433,
- 0x7807c9a2,
- 0x0f00f934,
- 0x9609a88e,
- 0xe10e9818,
- 0x7f6a0dbb,
- 0x086d3d2d,
- 0x91646c97,
- 0xe6635c01,
- 0x6b6b51f4,
- 0x1c6c6162,
- 0x856530d8,
- 0xf262004e,
- 0x6c0695ed,
- 0x1b01a57b,
- 0x8208f4c1,
- 0xf50fc457,
- 0x65b0d9c6,
- 0x12b7e950,
- 0x8bbeb8ea,
- 0xfcb9887c,
- 0x62dd1ddf,
- 0x15da2d49,
- 0x8cd37cf3,
- 0xfbd44c65,
- 0x4db26158,
- 0x3ab551ce,
- 0xa3bc0074,
- 0xd4bb30e2,
- 0x4adfa541,
- 0x3dd895d7,
- 0xa4d1c46d,
- 0xd3d6f4fb,
- 0x4369e96a,
- 0x346ed9fc,
- 0xad678846,
- 0xda60b8d0,
- 0x44042d73,
- 0x33031de5,
- 0xaa0a4c5f,
- 0xdd0d7cc9,
- 0x5005713c,
- 0x270241aa,
- 0xbe0b1010,
- 0xc90c2086,
- 0x5768b525,
- 0x206f85b3,
- 0xb966d409,
- 0xce61e49f,
- 0x5edef90e,
- 0x29d9c998,
- 0xb0d09822,
- 0xc7d7a8b4,
- 0x59b33d17,
- 0x2eb40d81,
- 0xb7bd5c3b,
- 0xc0ba6cad,
- 0xedb88320,
- 0x9abfb3b6,
- 0x03b6e20c,
- 0x74b1d29a,
- 0xead54739,
- 0x9dd277af,
- 0x04db2615,
- 0x73dc1683,
- 0xe3630b12,
- 0x94643b84,
- 0x0d6d6a3e,
- 0x7a6a5aa8,
- 0xe40ecf0b,
- 0x9309ff9d,
- 0x0a00ae27,
- 0x7d079eb1,
- 0xf00f9344,
- 0x8708a3d2,
- 0x1e01f268,
- 0x6906c2fe,
- 0xf762575d,
- 0x806567cb,
- 0x196c3671,
- 0x6e6b06e7,
- 0xfed41b76,
- 0x89d32be0,
- 0x10da7a5a,
- 0x67dd4acc,
- 0xf9b9df6f,
- 0x8ebeeff9,
- 0x17b7be43,
- 0x60b08ed5,
- 0xd6d6a3e8,
- 0xa1d1937e,
- 0x38d8c2c4,
- 0x4fdff252,
- 0xd1bb67f1,
- 0xa6bc5767,
- 0x3fb506dd,
- 0x48b2364b,
- 0xd80d2bda,
- 0xaf0a1b4c,
- 0x36034af6,
- 0x41047a60,
- 0xdf60efc3,
- 0xa867df55,
- 0x316e8eef,
- 0x4669be79,
- 0xcb61b38c,
- 0xbc66831a,
- 0x256fd2a0,
- 0x5268e236,
- 0xcc0c7795,
- 0xbb0b4703,
- 0x220216b9,
- 0x5505262f,
- 0xc5ba3bbe,
- 0xb2bd0b28,
- 0x2bb45a92,
- 0x5cb36a04,
- 0xc2d7ffa7,
- 0xb5d0cf31,
- 0x2cd99e8b,
- 0x5bdeae1d,
- 0x9b64c2b0,
- 0xec63f226,
- 0x756aa39c,
- 0x026d930a,
- 0x9c0906a9,
- 0xeb0e363f,
- 0x72076785,
- 0x05005713,
- 0x95bf4a82,
- 0xe2b87a14,
- 0x7bb12bae,
- 0x0cb61b38,
- 0x92d28e9b,
- 0xe5d5be0d,
- 0x7cdcefb7,
- 0x0bdbdf21,
- 0x86d3d2d4,
- 0xf1d4e242,
- 0x68ddb3f8,
- 0x1fda836e,
- 0x81be16cd,
- 0xf6b9265b,
- 0x6fb077e1,
- 0x18b74777,
- 0x88085ae6,
- 0xff0f6a70,
- 0x66063bca,
- 0x11010b5c,
- 0x8f659eff,
- 0xf862ae69,
- 0x616bffd3,
- 0x166ccf45,
- 0xa00ae278,
- 0xd70dd2ee,
- 0x4e048354,
- 0x3903b3c2,
- 0xa7672661,
- 0xd06016f7,
- 0x4969474d,
- 0x3e6e77db,
- 0xaed16a4a,
- 0xd9d65adc,
- 0x40df0b66,
- 0x37d83bf0,
- 0xa9bcae53,
- 0xdebb9ec5,
- 0x47b2cf7f,
- 0x30b5ffe9,
- 0xbdbdf21c,
- 0xcabac28a,
- 0x53b39330,
- 0x24b4a3a6,
- 0xbad03605,
- 0xcdd70693,
- 0x54de5729,
- 0x23d967bf,
- 0xb3667a2e,
- 0xc4614ab8,
- 0x5d681b02,
- 0x2a6f2b94,
- 0xb40bbe37,
- 0xc30c8ea1,
- 0x5a05df1b,
- 0x2d02ef8d,
- ],
-
- crc32: function crc32(data) {
- var tbl = util.crypto.crc32Table;
- var crc = 0 ^ -1;
+ agent = tunnelAgent(agentOptions);
+ this._proxyAgent = agent;
+ }
+ // if reusing agent across request and tunneling agent isn't assigned create a new agent
+ if (this._keepAlive && !agent) {
+ const options = { keepAlive: this._keepAlive, maxSockets };
+ agent = usingSsl
+ ? new https.Agent(options)
+ : new http.Agent(options);
+ this._agent = agent;
+ }
+ // if not using private agent and tunnel agent isn't setup then use global agent
+ if (!agent) {
+ agent = usingSsl ? https.globalAgent : http.globalAgent;
+ }
+ if (usingSsl && this._ignoreSslError) {
+ // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process
+ // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options
+ // we have to cast it to any and change it directly
+ agent.options = Object.assign(agent.options || {}, {
+ rejectUnauthorized: false,
+ });
+ }
+ return agent;
+ }
+ _performExponentialBackoff(retryNumber) {
+ return __awaiter(this, void 0, void 0, function* () {
+ retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);
+ const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);
+ return new Promise((resolve) => setTimeout(() => resolve(), ms));
+ });
+ }
+ _processResponse(res, options) {
+ return __awaiter(this, void 0, void 0, function* () {
+ return new Promise((resolve, reject) =>
+ __awaiter(this, void 0, void 0, function* () {
+ const statusCode = res.message.statusCode || 0;
+ const response = {
+ statusCode,
+ result: null,
+ headers: {},
+ };
+ // not found leads to null obj returned
+ if (statusCode === HttpCodes.NotFound) {
+ resolve(response);
+ }
+ // get the result from the body
+ function dateTimeDeserializer(key, value) {
+ if (typeof value === "string") {
+ const a = new Date(value);
+ if (!isNaN(a.valueOf())) {
+ return a;
+ }
+ }
+ return value;
+ }
+ let obj;
+ let contents;
+ try {
+ contents = yield res.readBody();
+ if (contents && contents.length > 0) {
+ if (options && options.deserializeDates) {
+ obj = JSON.parse(contents, dateTimeDeserializer);
+ } else {
+ obj = JSON.parse(contents);
+ }
+ response.result = obj;
+ }
+ response.headers = res.message.headers;
+ } catch (err) {
+ // Invalid resource (contents not json); leaving result obj null
+ }
+ // note that 3xx redirects are handled by the http layer.
+ if (statusCode > 299) {
+ let msg;
+ // if exception/error in body, attempt to get better error
+ if (obj && obj.message) {
+ msg = obj.message;
+ } else if (contents && contents.length > 0) {
+ // it may be the case that the exception is in the body message as string
+ msg = contents;
+ } else {
+ msg = `Failed request: (${statusCode})`;
+ }
+ const err = new HttpClientError(msg, statusCode);
+ err.result = response.result;
+ reject(err);
+ } else {
+ resolve(response);
+ }
+ })
+ );
+ });
+ }
+ }
+ exports.HttpClient = HttpClient;
+ const lowercaseKeys = (obj) =>
+ Object.keys(obj).reduce(
+ (c, k) => ((c[k.toLowerCase()] = obj[k]), c),
+ {}
+ );
+ //# sourceMappingURL=index.js.map
- if (typeof data === "string") {
- data = util.buffer.toBuffer(data);
- }
+ /***/
+ },
- for (var i = 0; i < data.length; i++) {
- var code = data.readUInt8(i);
- crc = (crc >>> 8) ^ tbl[(crc ^ code) & 0xff];
- }
- return (crc ^ -1) >>> 0;
- },
+ /***/ 72843: /***/ (__unused_webpack_module, exports) => {
+ "use strict";
- hmac: function hmac(key, string, digest, fn) {
- if (!digest) digest = "binary";
- if (digest === "buffer") {
- digest = undefined;
- }
- if (!fn) fn = "sha256";
- if (typeof string === "string")
- string = util.buffer.toBuffer(string);
- return util.crypto.lib
- .createHmac(fn, key)
- .update(string)
- .digest(digest);
- },
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.checkBypass = exports.getProxyUrl = void 0;
+ function getProxyUrl(reqUrl) {
+ const usingSsl = reqUrl.protocol === "https:";
+ if (checkBypass(reqUrl)) {
+ return undefined;
+ }
+ const proxyVar = (() => {
+ if (usingSsl) {
+ return process.env["https_proxy"] || process.env["HTTPS_PROXY"];
+ } else {
+ return process.env["http_proxy"] || process.env["HTTP_PROXY"];
+ }
+ })();
+ if (proxyVar) {
+ return new URL(proxyVar);
+ } else {
+ return undefined;
+ }
+ }
+ exports.getProxyUrl = getProxyUrl;
+ function checkBypass(reqUrl) {
+ if (!reqUrl.hostname) {
+ return false;
+ }
+ const noProxy =
+ process.env["no_proxy"] || process.env["NO_PROXY"] || "";
+ if (!noProxy) {
+ return false;
+ }
+ // Determine the request port
+ let reqPort;
+ if (reqUrl.port) {
+ reqPort = Number(reqUrl.port);
+ } else if (reqUrl.protocol === "http:") {
+ reqPort = 80;
+ } else if (reqUrl.protocol === "https:") {
+ reqPort = 443;
+ }
+ // Format the request hostname and hostname with port
+ const upperReqHosts = [reqUrl.hostname.toUpperCase()];
+ if (typeof reqPort === "number") {
+ upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);
+ }
+ // Compare request host against noproxy
+ for (const upperNoProxyItem of noProxy
+ .split(",")
+ .map((x) => x.trim().toUpperCase())
+ .filter((x) => x)) {
+ if (upperReqHosts.some((x) => x === upperNoProxyItem)) {
+ return true;
+ }
+ }
+ return false;
+ }
+ exports.checkBypass = checkBypass;
+ //# sourceMappingURL=proxy.js.map
- md5: function md5(data, digest, callback) {
- return util.crypto.hash("md5", data, digest, callback);
- },
+ /***/
+ },
- sha256: function sha256(data, digest, callback) {
- return util.crypto.hash("sha256", data, digest, callback);
- },
+ /***/ 78974: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
- hash: function (algorithm, data, digest, callback) {
- var hash = util.crypto.createHash(algorithm);
- if (!digest) {
- digest = "binary";
- }
- if (digest === "buffer") {
- digest = undefined;
- }
- if (typeof data === "string") data = util.buffer.toBuffer(data);
- var sliceFn = util.arraySliceFn(data);
- var isBuffer = util.Buffer.isBuffer(data);
- //Identifying objects with an ArrayBuffer as buffers
- if (
- util.isBrowser() &&
- typeof ArrayBuffer !== "undefined" &&
- data &&
- data.buffer instanceof ArrayBuffer
- )
- isBuffer = true;
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ Object.defineProperty(exports, "v1", {
+ enumerable: true,
+ get: function () {
+ return _v.default;
+ },
+ });
+ Object.defineProperty(exports, "v3", {
+ enumerable: true,
+ get: function () {
+ return _v2.default;
+ },
+ });
+ Object.defineProperty(exports, "v4", {
+ enumerable: true,
+ get: function () {
+ return _v3.default;
+ },
+ });
+ Object.defineProperty(exports, "v5", {
+ enumerable: true,
+ get: function () {
+ return _v4.default;
+ },
+ });
+ Object.defineProperty(exports, "NIL", {
+ enumerable: true,
+ get: function () {
+ return _nil.default;
+ },
+ });
+ Object.defineProperty(exports, "version", {
+ enumerable: true,
+ get: function () {
+ return _version.default;
+ },
+ });
+ Object.defineProperty(exports, "validate", {
+ enumerable: true,
+ get: function () {
+ return _validate.default;
+ },
+ });
+ Object.defineProperty(exports, "stringify", {
+ enumerable: true,
+ get: function () {
+ return _stringify.default;
+ },
+ });
+ Object.defineProperty(exports, "parse", {
+ enumerable: true,
+ get: function () {
+ return _parse.default;
+ },
+ });
- if (
- callback &&
- typeof data === "object" &&
- typeof data.on === "function" &&
- !isBuffer
- ) {
- data.on("data", function (chunk) {
- hash.update(chunk);
- });
- data.on("error", function (err) {
- callback(err);
- });
- data.on("end", function () {
- callback(null, hash.digest(digest));
- });
- } else if (
- callback &&
- sliceFn &&
- !isBuffer &&
- typeof FileReader !== "undefined"
- ) {
- // this might be a File/Blob
- var index = 0,
- size = 1024 * 512;
- var reader = new FileReader();
- reader.onerror = function () {
- callback(new Error("Failed to read data."));
- };
- reader.onload = function () {
- var buf = new util.Buffer(new Uint8Array(reader.result));
- hash.update(buf);
- index += buf.length;
- reader._continueReading();
- };
- reader._continueReading = function () {
- if (index >= data.size) {
- callback(null, hash.digest(digest));
- return;
- }
+ var _v = _interopRequireDefault(__nccwpck_require__(81595));
- var back = index + size;
- if (back > data.size) back = data.size;
- reader.readAsArrayBuffer(sliceFn.call(data, index, back));
- };
+ var _v2 = _interopRequireDefault(__nccwpck_require__(26993));
- reader._continueReading();
- } else {
- if (util.isBrowser() && typeof data === "object" && !isBuffer) {
- data = new util.Buffer(new Uint8Array(data));
- }
- var out = hash.update(data).digest(digest);
- if (callback) callback(null, out);
- return out;
- }
- },
+ var _v3 = _interopRequireDefault(__nccwpck_require__(51472));
- toHex: function toHex(data) {
- var out = [];
- for (var i = 0; i < data.length; i++) {
- out.push(("0" + data.charCodeAt(i).toString(16)).substr(-2, 2));
- }
- return out.join("");
- },
+ var _v4 = _interopRequireDefault(__nccwpck_require__(16217));
- createHash: function createHash(algorithm) {
- return util.crypto.lib.createHash(algorithm);
- },
- },
+ var _nil = _interopRequireDefault(__nccwpck_require__(32381));
- /** @!ignore */
+ var _version = _interopRequireDefault(__nccwpck_require__(40427));
- /* Abort constant */
- abort: {},
+ var _validate = _interopRequireDefault(__nccwpck_require__(92609));
- each: function each(object, iterFunction) {
- for (var key in object) {
- if (Object.prototype.hasOwnProperty.call(object, key)) {
- var ret = iterFunction.call(this, key, object[key]);
- if (ret === util.abort) break;
- }
- }
- },
+ var _stringify = _interopRequireDefault(__nccwpck_require__(61458));
- arrayEach: function arrayEach(array, iterFunction) {
- for (var idx in array) {
- if (Object.prototype.hasOwnProperty.call(array, idx)) {
- var ret = iterFunction.call(this, array[idx], parseInt(idx, 10));
- if (ret === util.abort) break;
- }
- }
- },
+ var _parse = _interopRequireDefault(__nccwpck_require__(26385));
- update: function update(obj1, obj2) {
- util.each(obj2, function iterator(key, item) {
- obj1[key] = item;
- });
- return obj1;
- },
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+ }
- merge: function merge(obj1, obj2) {
- return util.update(util.copy(obj1), obj2);
- },
+ /***/
+ },
- copy: function copy(object) {
- if (object === null || object === undefined) return object;
- var dupe = {};
- // jshint forin:false
- for (var key in object) {
- dupe[key] = object[key];
- }
- return dupe;
- },
+ /***/ 5842: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
- isEmpty: function isEmpty(obj) {
- for (var prop in obj) {
- if (Object.prototype.hasOwnProperty.call(obj, prop)) {
- return false;
- }
- }
- return true;
- },
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ exports["default"] = void 0;
- arraySliceFn: function arraySliceFn(obj) {
- var fn = obj.slice || obj.webkitSlice || obj.mozSlice;
- return typeof fn === "function" ? fn : null;
- },
+ var _crypto = _interopRequireDefault(__nccwpck_require__(6113));
- isType: function isType(obj, type) {
- // handle cross-"frame" objects
- if (typeof type === "function") type = util.typeName(type);
- return (
- Object.prototype.toString.call(obj) === "[object " + type + "]"
- );
- },
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+ }
- typeName: function typeName(type) {
- if (Object.prototype.hasOwnProperty.call(type, "name"))
- return type.name;
- var str = type.toString();
- var match = str.match(/^\s*function (.+)\(/);
- return match ? match[1] : str;
- },
+ function md5(bytes) {
+ if (Array.isArray(bytes)) {
+ bytes = Buffer.from(bytes);
+ } else if (typeof bytes === "string") {
+ bytes = Buffer.from(bytes, "utf8");
+ }
- error: function error(err, options) {
- var originalError = null;
- if (typeof err.message === "string" && err.message !== "") {
- if (typeof options === "string" || (options && options.message)) {
- originalError = util.copy(err);
- originalError.message = err.message;
- }
- }
- err.message = err.message || null;
+ return _crypto.default.createHash("md5").update(bytes).digest();
+ }
- if (typeof options === "string") {
- err.message = options;
- } else if (typeof options === "object" && options !== null) {
- util.update(err, options);
- if (options.message) err.message = options.message;
- if (options.code || options.name)
- err.code = options.code || options.name;
- if (options.stack) err.stack = options.stack;
- }
+ var _default = md5;
+ exports["default"] = _default;
- if (typeof Object.defineProperty === "function") {
- Object.defineProperty(err, "name", {
- writable: true,
- enumerable: false,
- });
- Object.defineProperty(err, "message", { enumerable: true });
- }
+ /***/
+ },
- err.name = String(
- (options && options.name) || err.name || err.code || "Error"
- );
- err.time = new Date();
+ /***/ 32381: /***/ (__unused_webpack_module, exports) => {
+ "use strict";
- if (originalError) err.originalError = originalError;
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ exports["default"] = void 0;
+ var _default = "00000000-0000-0000-0000-000000000000";
+ exports["default"] = _default;
- return err;
- },
+ /***/
+ },
- /**
- * @api private
- */
- inherit: function inherit(klass, features) {
- var newObject = null;
- if (features === undefined) {
- features = klass;
- klass = Object;
- newObject = {};
- } else {
- var ctor = function ConstructorWrapper() {};
- ctor.prototype = klass.prototype;
- newObject = new ctor();
- }
+ /***/ 26385: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
- // constructor not supplied, create pass-through ctor
- if (features.constructor === Object) {
- features.constructor = function () {
- if (klass !== Object) {
- return klass.apply(this, arguments);
- }
- };
- }
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ exports["default"] = void 0;
- features.constructor.prototype = newObject;
- util.update(features.constructor.prototype, features);
- features.constructor.__super__ = klass;
- return features.constructor;
- },
+ var _validate = _interopRequireDefault(__nccwpck_require__(92609));
- /**
- * @api private
- */
- mixin: function mixin() {
- var klass = arguments[0];
- for (var i = 1; i < arguments.length; i++) {
- // jshint forin:false
- for (var prop in arguments[i].prototype) {
- var fn = arguments[i].prototype[prop];
- if (prop !== "constructor") {
- klass.prototype[prop] = fn;
- }
- }
- }
- return klass;
- },
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+ }
- /**
- * @api private
- */
- hideProperties: function hideProperties(obj, props) {
- if (typeof Object.defineProperty !== "function") return;
+ function parse(uuid) {
+ if (!(0, _validate.default)(uuid)) {
+ throw TypeError("Invalid UUID");
+ }
- util.arrayEach(props, function (key) {
- Object.defineProperty(obj, key, {
- enumerable: false,
- writable: true,
- configurable: true,
- });
- });
- },
+ let v;
+ const arr = new Uint8Array(16); // Parse ########-....-....-....-............
- /**
- * @api private
- */
- property: function property(obj, name, value, enumerable, isValue) {
- var opts = {
- configurable: true,
- enumerable: enumerable !== undefined ? enumerable : true,
- };
- if (typeof value === "function" && !isValue) {
- opts.get = value;
- } else {
- opts.value = value;
- opts.writable = true;
- }
+ arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;
+ arr[1] = (v >>> 16) & 0xff;
+ arr[2] = (v >>> 8) & 0xff;
+ arr[3] = v & 0xff; // Parse ........-####-....-....-............
- Object.defineProperty(obj, name, opts);
- },
+ arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;
+ arr[5] = v & 0xff; // Parse ........-....-####-....-............
- /**
- * @api private
- */
- memoizedProperty: function memoizedProperty(
- obj,
- name,
- get,
- enumerable
- ) {
- var cachedValue = null;
+ arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;
+ arr[7] = v & 0xff; // Parse ........-....-....-####-............
- // build enumerable attribute for each value with lazy accessor.
- util.property(
- obj,
- name,
- function () {
- if (cachedValue === null) {
- cachedValue = get();
- }
- return cachedValue;
- },
- enumerable
- );
- },
+ arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;
+ arr[9] = v & 0xff; // Parse ........-....-....-....-############
+ // (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes)
- /**
- * TODO Remove in major version revision
- * This backfill populates response data without the
- * top-level payload name.
- *
- * @api private
- */
- hoistPayloadMember: function hoistPayloadMember(resp) {
- var req = resp.request;
- var operationName = req.operation;
- var operation = req.service.api.operations[operationName];
- var output = operation.output;
- if (output.payload && !operation.hasEventOutput) {
- var payloadMember = output.members[output.payload];
- var responsePayload = resp.data[output.payload];
- if (payloadMember.type === "structure") {
- util.each(responsePayload, function (key, value) {
- util.property(resp.data, key, value, false);
- });
- }
- }
- },
+ arr[10] =
+ ((v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000) & 0xff;
+ arr[11] = (v / 0x100000000) & 0xff;
+ arr[12] = (v >>> 24) & 0xff;
+ arr[13] = (v >>> 16) & 0xff;
+ arr[14] = (v >>> 8) & 0xff;
+ arr[15] = v & 0xff;
+ return arr;
+ }
- /**
- * Compute SHA-256 checksums of streams
- *
- * @api private
- */
- computeSha256: function computeSha256(body, done) {
- if (util.isNode()) {
- var Stream = util.stream.Stream;
- var fs = __webpack_require__(5747);
- if (typeof Stream === "function" && body instanceof Stream) {
- if (typeof body.path === "string") {
- // assume file object
- var settings = {};
- if (typeof body.start === "number") {
- settings.start = body.start;
- }
- if (typeof body.end === "number") {
- settings.end = body.end;
- }
- body = fs.createReadStream(body.path, settings);
- } else {
- // TODO support other stream types
- return done(
- new Error(
- "Non-file stream objects are " + "not supported with SigV4"
- )
- );
- }
- }
- }
+ var _default = parse;
+ exports["default"] = _default;
- util.crypto.sha256(body, "hex", function (err, sha) {
- if (err) done(err);
- else done(null, sha);
- });
- },
+ /***/
+ },
- /**
- * @api private
- */
- isClockSkewed: function isClockSkewed(serverTime) {
- if (serverTime) {
- util.property(
- AWS.config,
- "isClockSkewed",
- Math.abs(new Date().getTime() - serverTime) >= 300000,
- false
- );
- return AWS.config.isClockSkewed;
- }
- },
+ /***/ 86230: /***/ (__unused_webpack_module, exports) => {
+ "use strict";
- applyClockOffset: function applyClockOffset(serverTime) {
- if (serverTime)
- AWS.config.systemClockOffset = serverTime - new Date().getTime();
- },
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ exports["default"] = void 0;
+ var _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
+ exports["default"] = _default;
- /**
- * @api private
- */
- extractRequestId: function extractRequestId(resp) {
- var requestId =
- resp.httpResponse.headers["x-amz-request-id"] ||
- resp.httpResponse.headers["x-amzn-requestid"];
+ /***/
+ },
- if (!requestId && resp.data && resp.data.ResponseMetadata) {
- requestId = resp.data.ResponseMetadata.RequestId;
- }
+ /***/ 9784: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
- if (requestId) {
- resp.requestId = requestId;
- }
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ exports["default"] = rng;
- if (resp.error) {
- resp.error.requestId = requestId;
- }
- },
+ var _crypto = _interopRequireDefault(__nccwpck_require__(6113));
- /**
- * @api private
- */
- addPromises: function addPromises(constructors, PromiseDependency) {
- var deletePromises = false;
- if (PromiseDependency === undefined && AWS && AWS.config) {
- PromiseDependency = AWS.config.getPromisesDependency();
- }
- if (
- PromiseDependency === undefined &&
- typeof Promise !== "undefined"
- ) {
- PromiseDependency = Promise;
- }
- if (typeof PromiseDependency !== "function") deletePromises = true;
- if (!Array.isArray(constructors)) constructors = [constructors];
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+ }
- for (var ind = 0; ind < constructors.length; ind++) {
- var constructor = constructors[ind];
- if (deletePromises) {
- if (constructor.deletePromisesFromClass) {
- constructor.deletePromisesFromClass();
- }
- } else if (constructor.addPromisesToClass) {
- constructor.addPromisesToClass(PromiseDependency);
- }
- }
- },
+ const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate
- /**
- * @api private
- * Return a function that will return a promise whose fate is decided by the
- * callback behavior of the given method with `methodName`. The method to be
- * promisified should conform to node.js convention of accepting a callback as
- * last argument and calling that callback with error as the first argument
- * and success value on the second argument.
- */
- promisifyMethod: function promisifyMethod(
- methodName,
- PromiseDependency
- ) {
- return function promise() {
- var self = this;
- var args = Array.prototype.slice.call(arguments);
- return new PromiseDependency(function (resolve, reject) {
- args.push(function (err, data) {
- if (err) {
- reject(err);
- } else {
- resolve(data);
- }
- });
- self[methodName].apply(self, args);
- });
- };
- },
+ let poolPtr = rnds8Pool.length;
- /**
- * @api private
- */
- isDualstackAvailable: function isDualstackAvailable(service) {
- if (!service) return false;
- var metadata = __webpack_require__(1694);
- if (typeof service !== "string") service = service.serviceIdentifier;
- if (typeof service !== "string" || !metadata.hasOwnProperty(service))
- return false;
- return !!metadata[service].dualstackAvailable;
- },
+ function rng() {
+ if (poolPtr > rnds8Pool.length - 16) {
+ _crypto.default.randomFillSync(rnds8Pool);
- /**
- * @api private
- */
- calculateRetryDelay: function calculateRetryDelay(
- retryCount,
- retryDelayOptions,
- err
- ) {
- if (!retryDelayOptions) retryDelayOptions = {};
- var customBackoff = retryDelayOptions.customBackoff || null;
- if (typeof customBackoff === "function") {
- return customBackoff(retryCount, err);
- }
- var base =
- typeof retryDelayOptions.base === "number"
- ? retryDelayOptions.base
- : 100;
- var delay = Math.random() * (Math.pow(2, retryCount) * base);
- return delay;
- },
+ poolPtr = 0;
+ }
- /**
- * @api private
- */
- handleRequestWithRetries: function handleRequestWithRetries(
- httpRequest,
- options,
- cb
- ) {
- if (!options) options = {};
- var http = AWS.HttpClient.getInstance();
- var httpOptions = options.httpOptions || {};
- var retryCount = 0;
+ return rnds8Pool.slice(poolPtr, (poolPtr += 16));
+ }
- var errCallback = function (err) {
- var maxRetries = options.maxRetries || 0;
- if (err && err.code === "TimeoutError") err.retryable = true;
- var delay = util.calculateRetryDelay(
- retryCount,
- options.retryDelayOptions,
- err
- );
- if (err && err.retryable && retryCount < maxRetries && delay >= 0) {
- retryCount++;
- setTimeout(sendRequest, delay + (err.retryAfter || 0));
- } else {
- cb(err);
- }
- };
+ /***/
+ },
- var sendRequest = function () {
- var data = "";
- http.handleRequest(
- httpRequest,
- httpOptions,
- function (httpResponse) {
- httpResponse.on("data", function (chunk) {
- data += chunk.toString();
- });
- httpResponse.on("end", function () {
- var statusCode = httpResponse.statusCode;
- if (statusCode < 300) {
- cb(null, data);
- } else {
- var retryAfter =
- parseInt(httpResponse.headers["retry-after"], 10) *
- 1000 || 0;
- var err = util.error(new Error(), {
- statusCode: statusCode,
- retryable: statusCode >= 500 || statusCode === 429,
- });
- if (retryAfter && err.retryable)
- err.retryAfter = retryAfter;
- errCallback(err);
- }
- });
- },
- errCallback
- );
- };
+ /***/ 38844: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
- AWS.util.defer(sendRequest);
- },
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ exports["default"] = void 0;
- /**
- * @api private
- */
- uuid: {
- v4: function uuidV4() {
- return __webpack_require__(3158).v4();
- },
- },
+ var _crypto = _interopRequireDefault(__nccwpck_require__(6113));
- /**
- * @api private
- */
- convertPayloadToString: function convertPayloadToString(resp) {
- var req = resp.request;
- var operation = req.operation;
- var rules = req.service.api.operations[operation].output || {};
- if (rules.payload && resp.data[rules.payload]) {
- resp.data[rules.payload] = resp.data[rules.payload].toString();
- }
- },
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+ }
- /**
- * @api private
- */
- defer: function defer(callback) {
- if (
- typeof process === "object" &&
- typeof process.nextTick === "function"
- ) {
- process.nextTick(callback);
- } else if (typeof setImmediate === "function") {
- setImmediate(callback);
- } else {
- setTimeout(callback, 0);
- }
- },
+ function sha1(bytes) {
+ if (Array.isArray(bytes)) {
+ bytes = Buffer.from(bytes);
+ } else if (typeof bytes === "string") {
+ bytes = Buffer.from(bytes, "utf8");
+ }
- /**
- * @api private
- */
- getRequestPayloadShape: function getRequestPayloadShape(req) {
- var operations = req.service.api.operations;
- if (!operations) return undefined;
- var operation = (operations || {})[req.operation];
- if (!operation || !operation.input || !operation.input.payload)
- return undefined;
- return operation.input.members[operation.input.payload];
- },
+ return _crypto.default.createHash("sha1").update(bytes).digest();
+ }
- getProfilesFromSharedConfig: function getProfilesFromSharedConfig(
- iniLoader,
- filename
- ) {
- var profiles = {};
- var profilesFromConfig = {};
- if (process.env[util.configOptInEnv]) {
- var profilesFromConfig = iniLoader.loadFrom({
- isConfig: true,
- filename: process.env[util.sharedConfigFileEnv],
- });
- }
- var profilesFromCreds = iniLoader.loadFrom({
- filename:
- filename ||
- (process.env[util.configOptInEnv] &&
- process.env[util.sharedCredentialsFileEnv]),
- });
- for (
- var i = 0, profileNames = Object.keys(profilesFromConfig);
- i < profileNames.length;
- i++
- ) {
- profiles[profileNames[i]] = profilesFromConfig[profileNames[i]];
+ var _default = sha1;
+ exports["default"] = _default;
+
+ /***/
+ },
+
+ /***/ 61458: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ exports["default"] = void 0;
+
+ var _validate = _interopRequireDefault(__nccwpck_require__(92609));
+
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+ }
+
+ /**
+ * Convert array of 16 byte values to UUID string format of the form:
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
+ */
+ const byteToHex = [];
+
+ for (let i = 0; i < 256; ++i) {
+ byteToHex.push((i + 0x100).toString(16).substr(1));
+ }
+
+ function stringify(arr, offset = 0) {
+ // Note: Be careful editing this code! It's been tuned for performance
+ // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
+ const uuid = (
+ byteToHex[arr[offset + 0]] +
+ byteToHex[arr[offset + 1]] +
+ byteToHex[arr[offset + 2]] +
+ byteToHex[arr[offset + 3]] +
+ "-" +
+ byteToHex[arr[offset + 4]] +
+ byteToHex[arr[offset + 5]] +
+ "-" +
+ byteToHex[arr[offset + 6]] +
+ byteToHex[arr[offset + 7]] +
+ "-" +
+ byteToHex[arr[offset + 8]] +
+ byteToHex[arr[offset + 9]] +
+ "-" +
+ byteToHex[arr[offset + 10]] +
+ byteToHex[arr[offset + 11]] +
+ byteToHex[arr[offset + 12]] +
+ byteToHex[arr[offset + 13]] +
+ byteToHex[arr[offset + 14]] +
+ byteToHex[arr[offset + 15]]
+ ).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one
+ // of the following:
+ // - One or more input array values don't map to a hex octet (leading to
+ // "undefined" in the uuid)
+ // - Invalid input values for the RFC `version` or `variant` fields
+
+ if (!(0, _validate.default)(uuid)) {
+ throw TypeError("Stringified UUID is invalid");
+ }
+
+ return uuid;
+ }
+
+ var _default = stringify;
+ exports["default"] = _default;
+
+ /***/
+ },
+
+ /***/ 81595: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ exports["default"] = void 0;
+
+ var _rng = _interopRequireDefault(__nccwpck_require__(9784));
+
+ var _stringify = _interopRequireDefault(__nccwpck_require__(61458));
+
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+ }
+
+ // **`v1()` - Generate time-based UUID**
+ //
+ // Inspired by https://github.com/LiosK/UUID.js
+ // and http://docs.python.org/library/uuid.html
+ let _nodeId;
+
+ let _clockseq; // Previous uuid creation time
+
+ let _lastMSecs = 0;
+ let _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details
+
+ function v1(options, buf, offset) {
+ let i = (buf && offset) || 0;
+ const b = buf || new Array(16);
+ options = options || {};
+ let node = options.node || _nodeId;
+ let clockseq =
+ options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not
+ // specified. We do this lazily to minimize issues related to insufficient
+ // system entropy. See #189
+
+ if (node == null || clockseq == null) {
+ const seedBytes = options.random || (options.rng || _rng.default)();
+
+ if (node == null) {
+ // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
+ node = _nodeId = [
+ seedBytes[0] | 0x01,
+ seedBytes[1],
+ seedBytes[2],
+ seedBytes[3],
+ seedBytes[4],
+ seedBytes[5],
+ ];
}
- for (
- var i = 0, profileNames = Object.keys(profilesFromCreds);
- i < profileNames.length;
- i++
- ) {
- profiles[profileNames[i]] = profilesFromCreds[profileNames[i]];
+
+ if (clockseq == null) {
+ // Per 4.2.2, randomize (14 bit) clockseq
+ clockseq = _clockseq =
+ ((seedBytes[6] << 8) | seedBytes[7]) & 0x3fff;
}
- return profiles;
- },
+ } // UUID timestamps are 100 nano-second units since the Gregorian epoch,
+ // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
+ // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
+ // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
- /**
- * @api private
- */
- ARN: {
- validate: function validateARN(str) {
- return (
- str && str.indexOf("arn:") === 0 && str.split(":").length >= 6
- );
- },
- parse: function parseARN(arn) {
- var matched = arn.split(":");
- return {
- partition: matched[1],
- service: matched[2],
- region: matched[3],
- accountId: matched[4],
- resource: matched.slice(5).join(":"),
- };
- },
- build: function buildARN(arnObject) {
- if (
- arnObject.service === undefined ||
- arnObject.region === undefined ||
- arnObject.accountId === undefined ||
- arnObject.resource === undefined
- )
- throw util.error(new Error("Input ARN object is invalid"));
- return (
- "arn:" +
- (arnObject.partition || "aws") +
- ":" +
- arnObject.service +
- ":" +
- arnObject.region +
- ":" +
- arnObject.accountId +
- ":" +
- arnObject.resource
- );
- },
- },
+ let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock
+ // cycle to simulate higher resolution clock
- /**
- * @api private
- */
- defaultProfile: "default",
+ let nsecs =
+ options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)
- /**
- * @api private
- */
- configOptInEnv: "AWS_SDK_LOAD_CONFIG",
+ const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression
- /**
- * @api private
- */
- sharedCredentialsFileEnv: "AWS_SHARED_CREDENTIALS_FILE",
+ if (dt < 0 && options.clockseq === undefined) {
+ clockseq = (clockseq + 1) & 0x3fff;
+ } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
+ // time interval
- /**
- * @api private
- */
- sharedConfigFileEnv: "AWS_CONFIG_FILE",
+ if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
+ nsecs = 0;
+ } // Per 4.2.1.2 Throw error if too many uuids are requested
- /**
- * @api private
- */
- imdsDisabledEnv: "AWS_EC2_METADATA_DISABLED",
- };
+ if (nsecs >= 10000) {
+ throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
+ }
- /**
- * @api private
- */
- module.exports = util;
+ _lastMSecs = msecs;
+ _lastNSecs = nsecs;
+ _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
+
+ msecs += 12219292800000; // `time_low`
+
+ const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
+ b[i++] = (tl >>> 24) & 0xff;
+ b[i++] = (tl >>> 16) & 0xff;
+ b[i++] = (tl >>> 8) & 0xff;
+ b[i++] = tl & 0xff; // `time_mid`
+
+ const tmh = ((msecs / 0x100000000) * 10000) & 0xfffffff;
+ b[i++] = (tmh >>> 8) & 0xff;
+ b[i++] = tmh & 0xff; // `time_high_and_version`
+
+ b[i++] = ((tmh >>> 24) & 0xf) | 0x10; // include version
+
+ b[i++] = (tmh >>> 16) & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
+
+ b[i++] = (clockseq >>> 8) | 0x80; // `clock_seq_low`
+
+ b[i++] = clockseq & 0xff; // `node`
+
+ for (let n = 0; n < 6; ++n) {
+ b[i + n] = node[n];
+ }
+
+ return buf || (0, _stringify.default)(b);
+ }
+
+ var _default = v1;
+ exports["default"] = _default;
/***/
},
- /***/ 155: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- DistributionDeployed: {
- delay: 60,
- operation: "GetDistribution",
- maxAttempts: 25,
- description: "Wait until a distribution is deployed.",
- acceptors: [
- {
- expected: "Deployed",
- matcher: "path",
- state: "success",
- argument: "Distribution.Status",
- },
- ],
- },
- InvalidationCompleted: {
- delay: 20,
- operation: "GetInvalidation",
- maxAttempts: 30,
- description: "Wait until an invalidation has completed.",
- acceptors: [
- {
- expected: "Completed",
- matcher: "path",
- state: "success",
- argument: "Invalidation.Status",
- },
- ],
- },
- StreamingDistributionDeployed: {
- delay: 60,
- operation: "GetStreamingDistribution",
- maxAttempts: 25,
- description: "Wait until a streaming distribution is deployed.",
- acceptors: [
- {
- expected: "Deployed",
- matcher: "path",
- state: "success",
- argument: "StreamingDistribution.Status",
- },
- ],
- },
- },
- };
+ /***/ 26993: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ exports["default"] = void 0;
+
+ var _v = _interopRequireDefault(__nccwpck_require__(65920));
+
+ var _md = _interopRequireDefault(__nccwpck_require__(5842));
+
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+ }
+
+ const v3 = (0, _v.default)("v3", 0x30, _md.default);
+ var _default = v3;
+ exports["default"] = _default;
/***/
},
- /***/ 160: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
+ /***/ 65920: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
- 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__(1890);
- model.paginators = __webpack_require__(9459).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
});
+ exports["default"] = _default;
+ exports.URL = exports.DNS = void 0;
- module.exports = AWS.DLM;
+ var _stringify = _interopRequireDefault(__nccwpck_require__(61458));
+
+ var _parse = _interopRequireDefault(__nccwpck_require__(26385));
+
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+ }
+
+ function stringToBytes(str) {
+ str = unescape(encodeURIComponent(str)); // UTF8 escape
+
+ const bytes = [];
+
+ for (let i = 0; i < str.length; ++i) {
+ bytes.push(str.charCodeAt(i));
+ }
+
+ return bytes;
+ }
+
+ const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
+ exports.DNS = DNS;
+ const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
+ exports.URL = URL;
+
+ function _default(name, version, hashfunc) {
+ function generateUUID(value, namespace, buf, offset) {
+ if (typeof value === "string") {
+ value = stringToBytes(value);
+ }
+
+ if (typeof namespace === "string") {
+ namespace = (0, _parse.default)(namespace);
+ }
+
+ if (namespace.length !== 16) {
+ throw TypeError(
+ "Namespace must be array-like (16 iterable integer values, 0-255)"
+ );
+ } // Compute hash of namespace and value, Per 4.3
+ // Future: Use spread syntax when supported on all platforms, e.g. `bytes =
+ // hashfunc([...namespace, ... value])`
+
+ let bytes = new Uint8Array(16 + value.length);
+ bytes.set(namespace);
+ bytes.set(value, namespace.length);
+ bytes = hashfunc(bytes);
+ bytes[6] = (bytes[6] & 0x0f) | version;
+ bytes[8] = (bytes[8] & 0x3f) | 0x80;
+
+ if (buf) {
+ offset = offset || 0;
+
+ for (let i = 0; i < 16; ++i) {
+ buf[offset + i] = bytes[i];
+ }
+
+ return buf;
+ }
+
+ return (0, _stringify.default)(bytes);
+ } // Function#name is not settable on some platforms (#270)
+
+ try {
+ generateUUID.name = name; // eslint-disable-next-line no-empty
+ } catch (err) {} // For CommonJS default export support
+
+ generateUUID.DNS = DNS;
+ generateUUID.URL = URL;
+ return generateUUID;
+ }
/***/
},
- /***/ 170: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
+ /***/ 51472: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
- 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__(7359);
- model.paginators = __webpack_require__(4666).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ exports["default"] = void 0;
+
+ var _rng = _interopRequireDefault(__nccwpck_require__(9784));
+
+ var _stringify = _interopRequireDefault(__nccwpck_require__(61458));
+
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+ }
+
+ function v4(options, buf, offset) {
+ options = options || {};
+
+ const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
+
+ rnds[6] = (rnds[6] & 0x0f) | 0x40;
+ rnds[8] = (rnds[8] & 0x3f) | 0x80; // Copy bytes to buffer, if provided
+
+ if (buf) {
+ offset = offset || 0;
+
+ for (let i = 0; i < 16; ++i) {
+ buf[offset + i] = rnds[i];
+ }
+
+ return buf;
}
- );
- module.exports = AWS.ApplicationAutoScaling;
+ return (0, _stringify.default)(rnds);
+ }
+
+ var _default = v4;
+ exports["default"] = _default;
/***/
},
- /***/ 184: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeAddresses: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Addresses",
- },
- ListJobs: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "JobListEntries",
- },
- },
- };
+ /***/ 16217: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ exports["default"] = void 0;
+
+ var _v = _interopRequireDefault(__nccwpck_require__(65920));
+
+ var _sha = _interopRequireDefault(__nccwpck_require__(38844));
+
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+ }
+
+ const v5 = (0, _v.default)("v5", 0x50, _sha.default);
+ var _default = v5;
+ exports["default"] = _default;
/***/
},
- /***/ 215: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
+ /***/ 92609: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
- 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__(223);
- model.paginators = __webpack_require__(8096).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ exports["default"] = void 0;
- module.exports = AWS.ResourceGroups;
+ var _regex = _interopRequireDefault(__nccwpck_require__(86230));
+
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+ }
+
+ function validate(uuid) {
+ return typeof uuid === "string" && _regex.default.test(uuid);
+ }
+
+ var _default = validate;
+ exports["default"] = _default;
/***/
},
- /***/ 216: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeBackups: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- DescribeClusters: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListTags: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
+ /***/ 40427: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true,
+ });
+ exports["default"] = void 0;
+
+ var _validate = _interopRequireDefault(__nccwpck_require__(92609));
+
+ function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+ }
+
+ function version(uuid) {
+ if (!(0, _validate.default)(uuid)) {
+ throw TypeError("Invalid UUID");
+ }
+
+ return parseInt(uuid.substr(14, 1), 16);
+ }
+
+ var _default = version;
+ exports["default"] = _default;
/***/
},
- /***/ 223: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-11-27",
- endpointPrefix: "resource-groups",
- protocol: "rest-json",
- serviceAbbreviation: "Resource Groups",
- serviceFullName: "AWS Resource Groups",
- serviceId: "Resource Groups",
- signatureVersion: "v4",
- signingName: "resource-groups",
- uid: "resource-groups-2017-11-27",
- },
- operations: {
- CreateGroup: {
- http: { requestUri: "/groups" },
- input: {
- type: "structure",
- required: ["Name", "ResourceQuery"],
- members: {
- Name: {},
- Description: {},
- ResourceQuery: { shape: "S4" },
- Tags: { shape: "S7" },
- },
- },
- output: {
- type: "structure",
- members: {
- Group: { shape: "Sb" },
- ResourceQuery: { shape: "S4" },
- Tags: { shape: "S7" },
- },
- },
- },
- DeleteGroup: {
- http: { method: "DELETE", requestUri: "/groups/{GroupName}" },
- input: {
- type: "structure",
- required: ["GroupName"],
- members: {
- GroupName: { location: "uri", locationName: "GroupName" },
- },
- },
- output: { type: "structure", members: { Group: { shape: "Sb" } } },
- },
- GetGroup: {
- http: { method: "GET", requestUri: "/groups/{GroupName}" },
- input: {
- type: "structure",
- required: ["GroupName"],
- members: {
- GroupName: { location: "uri", locationName: "GroupName" },
- },
- },
- output: { type: "structure", members: { Group: { shape: "Sb" } } },
- },
- GetGroupQuery: {
- http: { method: "GET", requestUri: "/groups/{GroupName}/query" },
- input: {
- type: "structure",
- required: ["GroupName"],
- members: {
- GroupName: { location: "uri", locationName: "GroupName" },
- },
- },
- output: {
- type: "structure",
- members: { GroupQuery: { shape: "Sj" } },
- },
- },
- GetTags: {
- http: { method: "GET", requestUri: "/resources/{Arn}/tags" },
- input: {
- type: "structure",
- required: ["Arn"],
- members: { Arn: { location: "uri", locationName: "Arn" } },
- },
- output: {
- type: "structure",
- members: { Arn: {}, Tags: { shape: "S7" } },
- },
- },
- ListGroupResources: {
- http: {
- requestUri: "/groups/{GroupName}/resource-identifiers-list",
- },
- input: {
- type: "structure",
- required: ["GroupName"],
- members: {
- GroupName: { location: "uri", locationName: "GroupName" },
- Filters: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Values"],
- members: { Name: {}, Values: { type: "list", member: {} } },
- },
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- ResourceIdentifiers: { shape: "Sv" },
- NextToken: {},
- QueryErrors: { shape: "Sz" },
- },
- },
- },
- ListGroups: {
- http: { requestUri: "/groups-list" },
- input: {
- type: "structure",
- members: {
- Filters: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Values"],
- members: { Name: {}, Values: { type: "list", member: {} } },
- },
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- GroupIdentifiers: {
- type: "list",
- member: {
- type: "structure",
- members: { GroupName: {}, GroupArn: {} },
- },
- },
- Groups: {
- deprecated: true,
- deprecatedMessage:
- "This field is deprecated, use GroupIdentifiers instead.",
- type: "list",
- member: { shape: "Sb" },
- },
- NextToken: {},
- },
- },
- },
- SearchResources: {
- http: { requestUri: "/resources/search" },
- input: {
- type: "structure",
- required: ["ResourceQuery"],
- members: {
- ResourceQuery: { shape: "S4" },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ResourceIdentifiers: { shape: "Sv" },
- NextToken: {},
- QueryErrors: { shape: "Sz" },
- },
- },
- },
- Tag: {
- http: { method: "PUT", requestUri: "/resources/{Arn}/tags" },
- input: {
- type: "structure",
- required: ["Arn", "Tags"],
- members: {
- Arn: { location: "uri", locationName: "Arn" },
- Tags: { shape: "S7" },
- },
- },
- output: {
- type: "structure",
- members: { Arn: {}, Tags: { shape: "S7" } },
- },
- },
- Untag: {
- http: { method: "PATCH", requestUri: "/resources/{Arn}/tags" },
- input: {
- type: "structure",
- required: ["Arn", "Keys"],
- members: {
- Arn: { location: "uri", locationName: "Arn" },
- Keys: { shape: "S1i" },
- },
- },
- output: {
- type: "structure",
- members: { Arn: {}, Keys: { shape: "S1i" } },
- },
- },
- UpdateGroup: {
- http: { method: "PUT", requestUri: "/groups/{GroupName}" },
- input: {
- type: "structure",
- required: ["GroupName"],
- members: {
- GroupName: { location: "uri", locationName: "GroupName" },
- Description: {},
- },
- },
- output: { type: "structure", members: { Group: { shape: "Sb" } } },
- },
- UpdateGroupQuery: {
- http: { method: "PUT", requestUri: "/groups/{GroupName}/query" },
- input: {
- type: "structure",
- required: ["GroupName", "ResourceQuery"],
- members: {
- GroupName: { location: "uri", locationName: "GroupName" },
- ResourceQuery: { shape: "S4" },
- },
- },
- output: {
- type: "structure",
- members: { GroupQuery: { shape: "Sj" } },
- },
- },
- },
- shapes: {
- S4: {
- type: "structure",
- required: ["Type", "Query"],
- members: { Type: {}, Query: {} },
- },
- S7: { type: "map", key: {}, value: {} },
- Sb: {
- type: "structure",
- required: ["GroupArn", "Name"],
- members: { GroupArn: {}, Name: {}, Description: {} },
- },
- Sj: {
- type: "structure",
- required: ["GroupName", "ResourceQuery"],
- members: { GroupName: {}, ResourceQuery: { shape: "S4" } },
- },
- Sv: {
- type: "list",
- member: {
- type: "structure",
- members: { ResourceArn: {}, ResourceType: {} },
- },
- },
- Sz: {
- type: "list",
- member: {
- type: "structure",
- members: { ErrorCode: {}, Message: {} },
- },
- },
- S1i: { type: "list", member: {} },
- },
- };
-
- /***/
- },
-
- /***/ 232: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-10-26",
- endpointPrefix: "transcribe",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "Amazon Transcribe Service",
- serviceId: "Transcribe",
- signatureVersion: "v4",
- signingName: "transcribe",
- targetPrefix: "Transcribe",
- uid: "transcribe-2017-10-26",
- },
- operations: {
- CreateVocabulary: {
- input: {
- type: "structure",
- required: ["VocabularyName", "LanguageCode"],
- members: {
- VocabularyName: {},
- LanguageCode: {},
- Phrases: { shape: "S4" },
- VocabularyFileUri: {},
- },
- },
- output: {
- type: "structure",
- members: {
- VocabularyName: {},
- LanguageCode: {},
- VocabularyState: {},
- LastModifiedTime: { type: "timestamp" },
- FailureReason: {},
- },
- },
- },
- CreateVocabularyFilter: {
- input: {
- type: "structure",
- required: ["VocabularyFilterName", "LanguageCode"],
- members: {
- VocabularyFilterName: {},
- LanguageCode: {},
- Words: { shape: "Sd" },
- VocabularyFilterFileUri: {},
- },
- },
- output: {
- type: "structure",
- members: {
- VocabularyFilterName: {},
- LanguageCode: {},
- LastModifiedTime: { type: "timestamp" },
- },
- },
- },
- DeleteMedicalTranscriptionJob: {
- input: {
- type: "structure",
- required: ["MedicalTranscriptionJobName"],
- members: { MedicalTranscriptionJobName: {} },
- },
- },
- DeleteTranscriptionJob: {
- input: {
- type: "structure",
- required: ["TranscriptionJobName"],
- members: { TranscriptionJobName: {} },
- },
- },
- DeleteVocabulary: {
- input: {
- type: "structure",
- required: ["VocabularyName"],
- members: { VocabularyName: {} },
- },
- },
- DeleteVocabularyFilter: {
- input: {
- type: "structure",
- required: ["VocabularyFilterName"],
- members: { VocabularyFilterName: {} },
- },
- },
- GetMedicalTranscriptionJob: {
- input: {
- type: "structure",
- required: ["MedicalTranscriptionJobName"],
- members: { MedicalTranscriptionJobName: {} },
- },
- output: {
- type: "structure",
- members: { MedicalTranscriptionJob: { shape: "Sn" } },
- },
- },
- GetTranscriptionJob: {
- input: {
- type: "structure",
- required: ["TranscriptionJobName"],
- members: { TranscriptionJobName: {} },
- },
- output: {
- type: "structure",
- members: { TranscriptionJob: { shape: "S11" } },
- },
- },
- GetVocabulary: {
- input: {
- type: "structure",
- required: ["VocabularyName"],
- members: { VocabularyName: {} },
- },
- output: {
- type: "structure",
- members: {
- VocabularyName: {},
- LanguageCode: {},
- VocabularyState: {},
- LastModifiedTime: { type: "timestamp" },
- FailureReason: {},
- DownloadUri: {},
- },
- },
- },
- GetVocabularyFilter: {
- input: {
- type: "structure",
- required: ["VocabularyFilterName"],
- members: { VocabularyFilterName: {} },
- },
- output: {
- type: "structure",
- members: {
- VocabularyFilterName: {},
- LanguageCode: {},
- LastModifiedTime: { type: "timestamp" },
- DownloadUri: {},
- },
- },
- },
- ListMedicalTranscriptionJobs: {
- input: {
- type: "structure",
- members: {
- Status: {},
- JobNameContains: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Status: {},
- NextToken: {},
- MedicalTranscriptionJobSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- MedicalTranscriptionJobName: {},
- CreationTime: { type: "timestamp" },
- StartTime: { type: "timestamp" },
- CompletionTime: { type: "timestamp" },
- LanguageCode: {},
- TranscriptionJobStatus: {},
- FailureReason: {},
- OutputLocationType: {},
- Specialty: {},
- Type: {},
- },
- },
- },
- },
- },
- },
- ListTranscriptionJobs: {
- input: {
- type: "structure",
- members: {
- Status: {},
- JobNameContains: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Status: {},
- NextToken: {},
- TranscriptionJobSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- TranscriptionJobName: {},
- CreationTime: { type: "timestamp" },
- StartTime: { type: "timestamp" },
- CompletionTime: { type: "timestamp" },
- LanguageCode: {},
- TranscriptionJobStatus: {},
- FailureReason: {},
- OutputLocationType: {},
- ContentRedaction: { shape: "S17" },
- },
- },
- },
- },
- },
- },
- ListVocabularies: {
- input: {
- type: "structure",
- members: {
- NextToken: {},
- MaxResults: { type: "integer" },
- StateEquals: {},
- NameContains: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Status: {},
- NextToken: {},
- Vocabularies: {
- type: "list",
- member: {
- type: "structure",
- members: {
- VocabularyName: {},
- LanguageCode: {},
- LastModifiedTime: { type: "timestamp" },
- VocabularyState: {},
- },
- },
- },
- },
- },
- },
- ListVocabularyFilters: {
- input: {
- type: "structure",
- members: {
- NextToken: {},
- MaxResults: { type: "integer" },
- NameContains: {},
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- VocabularyFilters: {
- type: "list",
- member: {
- type: "structure",
- members: {
- VocabularyFilterName: {},
- LanguageCode: {},
- LastModifiedTime: { type: "timestamp" },
- },
- },
- },
- },
- },
- },
- StartMedicalTranscriptionJob: {
- input: {
- type: "structure",
- required: [
- "MedicalTranscriptionJobName",
- "LanguageCode",
- "Media",
- "OutputBucketName",
- "Specialty",
- "Type",
- ],
- members: {
- MedicalTranscriptionJobName: {},
- LanguageCode: {},
- MediaSampleRateHertz: { type: "integer" },
- MediaFormat: {},
- Media: { shape: "Sr" },
- OutputBucketName: {},
- OutputEncryptionKMSKeyId: {},
- Settings: { shape: "St" },
- Specialty: {},
- Type: {},
- },
- },
- output: {
- type: "structure",
- members: { MedicalTranscriptionJob: { shape: "Sn" } },
- },
- },
- StartTranscriptionJob: {
- input: {
- type: "structure",
- required: ["TranscriptionJobName", "LanguageCode", "Media"],
- members: {
- TranscriptionJobName: {},
- LanguageCode: {},
- MediaSampleRateHertz: { type: "integer" },
- MediaFormat: {},
- Media: { shape: "Sr" },
- OutputBucketName: {},
- OutputEncryptionKMSKeyId: {},
- Settings: { shape: "S13" },
- JobExecutionSettings: { shape: "S15" },
- ContentRedaction: { shape: "S17" },
- },
- },
- output: {
- type: "structure",
- members: { TranscriptionJob: { shape: "S11" } },
- },
- },
- UpdateVocabulary: {
- input: {
- type: "structure",
- required: ["VocabularyName", "LanguageCode"],
- members: {
- VocabularyName: {},
- LanguageCode: {},
- Phrases: { shape: "S4" },
- VocabularyFileUri: {},
- },
- },
- output: {
- type: "structure",
- members: {
- VocabularyName: {},
- LanguageCode: {},
- LastModifiedTime: { type: "timestamp" },
- VocabularyState: {},
- },
- },
- },
- UpdateVocabularyFilter: {
- input: {
- type: "structure",
- required: ["VocabularyFilterName"],
- members: {
- VocabularyFilterName: {},
- Words: { shape: "Sd" },
- VocabularyFilterFileUri: {},
- },
- },
- output: {
- type: "structure",
- members: {
- VocabularyFilterName: {},
- LanguageCode: {},
- LastModifiedTime: { type: "timestamp" },
- },
- },
- },
- },
- shapes: {
- S4: { type: "list", member: {} },
- Sd: { type: "list", member: {} },
- Sn: {
- type: "structure",
- members: {
- MedicalTranscriptionJobName: {},
- TranscriptionJobStatus: {},
- LanguageCode: {},
- MediaSampleRateHertz: { type: "integer" },
- MediaFormat: {},
- Media: { shape: "Sr" },
- Transcript: {
- type: "structure",
- members: { TranscriptFileUri: {} },
- },
- StartTime: { type: "timestamp" },
- CreationTime: { type: "timestamp" },
- CompletionTime: { type: "timestamp" },
- FailureReason: {},
- Settings: { shape: "St" },
- Specialty: {},
- Type: {},
- },
- },
- Sr: { type: "structure", members: { MediaFileUri: {} } },
- St: {
- type: "structure",
- members: {
- ShowSpeakerLabels: { type: "boolean" },
- MaxSpeakerLabels: { type: "integer" },
- ChannelIdentification: { type: "boolean" },
- ShowAlternatives: { type: "boolean" },
- MaxAlternatives: { type: "integer" },
- },
- },
- S11: {
- type: "structure",
- members: {
- TranscriptionJobName: {},
- TranscriptionJobStatus: {},
- LanguageCode: {},
- MediaSampleRateHertz: { type: "integer" },
- MediaFormat: {},
- Media: { shape: "Sr" },
- Transcript: {
- type: "structure",
- members: {
- TranscriptFileUri: {},
- RedactedTranscriptFileUri: {},
- },
- },
- StartTime: { type: "timestamp" },
- CreationTime: { type: "timestamp" },
- CompletionTime: { type: "timestamp" },
- FailureReason: {},
- Settings: { shape: "S13" },
- JobExecutionSettings: { shape: "S15" },
- ContentRedaction: { shape: "S17" },
- },
- },
- S13: {
- type: "structure",
- members: {
- VocabularyName: {},
- ShowSpeakerLabels: { type: "boolean" },
- MaxSpeakerLabels: { type: "integer" },
- ChannelIdentification: { type: "boolean" },
- ShowAlternatives: { type: "boolean" },
- MaxAlternatives: { type: "integer" },
- VocabularyFilterName: {},
- VocabularyFilterMethod: {},
- },
- },
- S15: {
- type: "structure",
- members: {
- AllowDeferredExecution: { type: "boolean" },
- DataAccessRoleArn: {},
- },
- },
- S17: {
- type: "structure",
- required: ["RedactionType", "RedactionOutput"],
- members: { RedactionType: {}, RedactionOutput: {} },
- },
- },
- };
-
- /***/
- },
+ /***/ 74087: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
- /***/ 240: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeJobFlows: { result_key: "JobFlows" },
- ListBootstrapActions: {
- input_token: "Marker",
- output_token: "Marker",
- result_key: "BootstrapActions",
- },
- ListClusters: {
- input_token: "Marker",
- output_token: "Marker",
- result_key: "Clusters",
- },
- ListInstanceFleets: {
- input_token: "Marker",
- output_token: "Marker",
- result_key: "InstanceFleets",
- },
- ListInstanceGroups: {
- input_token: "Marker",
- output_token: "Marker",
- result_key: "InstanceGroups",
- },
- ListInstances: {
- input_token: "Marker",
- output_token: "Marker",
- result_key: "Instances",
- },
- ListSecurityConfigurations: {
- input_token: "Marker",
- output_token: "Marker",
- result_key: "SecurityConfigurations",
- },
- ListSteps: {
- input_token: "Marker",
- output_token: "Marker",
- result_key: "Steps",
- },
- },
- };
+ Object.defineProperty(exports, "__esModule", { value: true });
+ const fs_1 = __nccwpck_require__(57147);
+ const os_1 = __nccwpck_require__(22037);
+ class Context {
+ /**
+ * Hydrate the context from the environment
+ */
+ constructor() {
+ this.payload = {};
+ if (process.env.GITHUB_EVENT_PATH) {
+ if (fs_1.existsSync(process.env.GITHUB_EVENT_PATH)) {
+ this.payload = JSON.parse(
+ fs_1.readFileSync(process.env.GITHUB_EVENT_PATH, {
+ encoding: "utf8",
+ })
+ );
+ } else {
+ const path = process.env.GITHUB_EVENT_PATH;
+ process.stdout.write(
+ `GITHUB_EVENT_PATH ${path} does not exist${os_1.EOL}`
+ );
+ }
+ }
+ this.eventName = process.env.GITHUB_EVENT_NAME;
+ this.sha = process.env.GITHUB_SHA;
+ this.ref = process.env.GITHUB_REF;
+ this.workflow = process.env.GITHUB_WORKFLOW;
+ this.action = process.env.GITHUB_ACTION;
+ this.actor = process.env.GITHUB_ACTOR;
+ }
+ get issue() {
+ const payload = this.payload;
+ return Object.assign(Object.assign({}, this.repo), {
+ number: (payload.issue || payload.pull_request || payload).number,
+ });
+ }
+ get repo() {
+ if (process.env.GITHUB_REPOSITORY) {
+ const [owner, repo] = process.env.GITHUB_REPOSITORY.split("/");
+ return { owner, repo };
+ }
+ if (this.payload.repository) {
+ return {
+ owner: this.payload.repository.owner.login,
+ repo: this.payload.repository.name,
+ };
+ }
+ throw new Error(
+ "context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'"
+ );
+ }
+ }
+ exports.Context = Context;
+ //# sourceMappingURL=context.js.map
/***/
},
- /***/ 280: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
+ /***/ 95438: /***/ function (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) {
+ "use strict";
- /***/ 287: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2012-10-29",
- endpointPrefix: "datapipeline",
- jsonVersion: "1.1",
- serviceFullName: "AWS Data Pipeline",
- serviceId: "Data Pipeline",
- signatureVersion: "v4",
- targetPrefix: "DataPipeline",
- protocol: "json",
- uid: "datapipeline-2012-10-29",
- },
- operations: {
- ActivatePipeline: {
- input: {
- type: "structure",
- required: ["pipelineId"],
- members: {
- pipelineId: {},
- parameterValues: { shape: "S3" },
- startTimestamp: { type: "timestamp" },
- },
- },
- output: { type: "structure", members: {} },
- },
- AddTags: {
- input: {
- type: "structure",
- required: ["pipelineId", "tags"],
- members: { pipelineId: {}, tags: { shape: "Sa" } },
- },
- output: { type: "structure", members: {} },
- },
- CreatePipeline: {
- input: {
- type: "structure",
- required: ["name", "uniqueId"],
- members: {
- name: {},
- uniqueId: {},
- description: {},
- tags: { shape: "Sa" },
- },
- },
- output: {
- type: "structure",
- required: ["pipelineId"],
- members: { pipelineId: {} },
- },
- },
- DeactivatePipeline: {
- input: {
- type: "structure",
- required: ["pipelineId"],
- members: { pipelineId: {}, cancelActive: { type: "boolean" } },
- },
- output: { type: "structure", members: {} },
- },
- DeletePipeline: {
- input: {
- type: "structure",
- required: ["pipelineId"],
- members: { pipelineId: {} },
- },
- },
- DescribeObjects: {
- input: {
- type: "structure",
- required: ["pipelineId", "objectIds"],
- members: {
- pipelineId: {},
- objectIds: { shape: "Sn" },
- evaluateExpressions: { type: "boolean" },
- marker: {},
- },
- },
- output: {
- type: "structure",
- required: ["pipelineObjects"],
- members: {
- pipelineObjects: { shape: "Sq" },
- marker: {},
- hasMoreResults: { type: "boolean" },
- },
- },
- },
- DescribePipelines: {
- input: {
- type: "structure",
- required: ["pipelineIds"],
- members: { pipelineIds: { shape: "Sn" } },
- },
- output: {
- type: "structure",
- required: ["pipelineDescriptionList"],
- members: {
- pipelineDescriptionList: {
- type: "list",
- member: {
- type: "structure",
- required: ["pipelineId", "name", "fields"],
- members: {
- pipelineId: {},
- name: {},
- fields: { shape: "Ss" },
- description: {},
- tags: { shape: "Sa" },
- },
- },
- },
- },
- },
- },
- EvaluateExpression: {
- input: {
- type: "structure",
- required: ["pipelineId", "objectId", "expression"],
- members: { pipelineId: {}, objectId: {}, expression: {} },
- },
- output: {
- type: "structure",
- required: ["evaluatedExpression"],
- members: { evaluatedExpression: {} },
- },
- },
- GetPipelineDefinition: {
- input: {
- type: "structure",
- required: ["pipelineId"],
- members: { pipelineId: {}, version: {} },
- },
- output: {
- type: "structure",
- members: {
- pipelineObjects: { shape: "Sq" },
- parameterObjects: { shape: "S13" },
- parameterValues: { shape: "S3" },
- },
- },
- },
- ListPipelines: {
- input: { type: "structure", members: { marker: {} } },
- output: {
- type: "structure",
- required: ["pipelineIdList"],
- members: {
- pipelineIdList: {
- type: "list",
- member: { type: "structure", members: { id: {}, name: {} } },
- },
- marker: {},
- hasMoreResults: { type: "boolean" },
- },
- },
- },
- PollForTask: {
- input: {
- type: "structure",
- required: ["workerGroup"],
- members: {
- workerGroup: {},
- hostname: {},
- instanceIdentity: {
- type: "structure",
- members: { document: {}, signature: {} },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- taskObject: {
- type: "structure",
- members: {
- taskId: {},
- pipelineId: {},
- attemptId: {},
- objects: { type: "map", key: {}, value: { shape: "Sr" } },
- },
- },
- },
- },
- },
- PutPipelineDefinition: {
- input: {
- type: "structure",
- required: ["pipelineId", "pipelineObjects"],
- members: {
- pipelineId: {},
- pipelineObjects: { shape: "Sq" },
- parameterObjects: { shape: "S13" },
- parameterValues: { shape: "S3" },
- },
- },
- output: {
- type: "structure",
- required: ["errored"],
- members: {
- validationErrors: { shape: "S1l" },
- validationWarnings: { shape: "S1p" },
- errored: { type: "boolean" },
- },
- },
- },
- QueryObjects: {
- input: {
- type: "structure",
- required: ["pipelineId", "sphere"],
- members: {
- pipelineId: {},
- query: {
- type: "structure",
- members: {
- selectors: {
- type: "list",
- member: {
- type: "structure",
- members: {
- fieldName: {},
- operator: {
- type: "structure",
- members: { type: {}, values: { shape: "S1x" } },
- },
- },
- },
- },
- },
- },
- sphere: {},
- marker: {},
- limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- ids: { shape: "Sn" },
- marker: {},
- hasMoreResults: { type: "boolean" },
- },
- },
- },
- RemoveTags: {
- input: {
- type: "structure",
- required: ["pipelineId", "tagKeys"],
- members: { pipelineId: {}, tagKeys: { shape: "S1x" } },
- },
- output: { type: "structure", members: {} },
- },
- ReportTaskProgress: {
- input: {
- type: "structure",
- required: ["taskId"],
- members: { taskId: {}, fields: { shape: "Ss" } },
- },
- output: {
- type: "structure",
- required: ["canceled"],
- members: { canceled: { type: "boolean" } },
- },
- },
- ReportTaskRunnerHeartbeat: {
- input: {
- type: "structure",
- required: ["taskrunnerId"],
- members: { taskrunnerId: {}, workerGroup: {}, hostname: {} },
- },
- output: {
- type: "structure",
- required: ["terminate"],
- members: { terminate: { type: "boolean" } },
- },
- },
- SetStatus: {
- input: {
- type: "structure",
- required: ["pipelineId", "objectIds", "status"],
- members: {
- pipelineId: {},
- objectIds: { shape: "Sn" },
- status: {},
- },
- },
- },
- SetTaskStatus: {
- input: {
- type: "structure",
- required: ["taskId", "taskStatus"],
- members: {
- taskId: {},
- taskStatus: {},
- errorId: {},
- errorMessage: {},
- errorStackTrace: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- ValidatePipelineDefinition: {
- input: {
- type: "structure",
- required: ["pipelineId", "pipelineObjects"],
- members: {
- pipelineId: {},
- pipelineObjects: { shape: "Sq" },
- parameterObjects: { shape: "S13" },
- parameterValues: { shape: "S3" },
- },
- },
- output: {
- type: "structure",
- required: ["errored"],
- members: {
- validationErrors: { shape: "S1l" },
- validationWarnings: { shape: "S1p" },
- errored: { type: "boolean" },
- },
- },
- },
- },
- shapes: {
- S3: {
- type: "list",
- member: {
- type: "structure",
- required: ["id", "stringValue"],
- members: { id: {}, stringValue: {} },
- },
- },
- Sa: {
- type: "list",
- member: {
- type: "structure",
- required: ["key", "value"],
- members: { key: {}, value: {} },
- },
- },
- Sn: { type: "list", member: {} },
- Sq: { type: "list", member: { shape: "Sr" } },
- Sr: {
- type: "structure",
- required: ["id", "name", "fields"],
- members: { id: {}, name: {}, fields: { shape: "Ss" } },
- },
- Ss: {
- type: "list",
- member: {
- type: "structure",
- required: ["key"],
- members: { key: {}, stringValue: {}, refValue: {} },
- },
- },
- S13: {
- type: "list",
- member: {
- type: "structure",
- required: ["id", "attributes"],
- members: {
- id: {},
- attributes: {
- type: "list",
- member: {
- type: "structure",
- required: ["key", "stringValue"],
- members: { key: {}, stringValue: {} },
- },
- },
- },
- },
- },
- S1l: {
- type: "list",
- member: {
- type: "structure",
- members: { id: {}, errors: { shape: "S1n" } },
- },
- },
- S1n: { type: "list", member: {} },
- S1p: {
- type: "list",
- member: {
- type: "structure",
- members: { id: {}, warnings: { shape: "S1n" } },
- },
- },
- S1x: { type: "list", member: {} },
- },
- };
+ var __importStar =
+ (this && this.__importStar) ||
+ function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null)
+ for (var k in mod)
+ if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+ };
+ Object.defineProperty(exports, "__esModule", { value: true });
+ // Originally pulled from https://github.com/JasonEtco/actions-toolkit/blob/master/src/github.ts
+ const graphql_1 = __nccwpck_require__(88467);
+ const rest_1 = __nccwpck_require__(29351);
+ const Context = __importStar(__nccwpck_require__(74087));
+ const httpClient = __importStar(__nccwpck_require__(39925));
+ // We need this in order to extend Octokit
+ rest_1.Octokit.prototype = new rest_1.Octokit();
+ exports.context = new Context.Context();
+ class GitHub extends rest_1.Octokit {
+ constructor(token, opts) {
+ super(GitHub.getOctokitOptions(GitHub.disambiguate(token, opts)));
+ this.graphql = GitHub.getGraphQL(GitHub.disambiguate(token, opts));
+ }
+ /**
+ * Disambiguates the constructor overload parameters
+ */
+ static disambiguate(token, opts) {
+ return [
+ typeof token === "string" ? token : "",
+ typeof token === "object" ? token : opts || {},
+ ];
+ }
+ static getOctokitOptions(args) {
+ const token = args[0];
+ const options = Object.assign({}, args[1]); // Shallow clone - don't mutate the object provided by the caller
+ // Auth
+ const auth = GitHub.getAuthString(token, options);
+ if (auth) {
+ options.auth = auth;
+ }
+ // Proxy
+ const agent = GitHub.getProxyAgent(options);
+ if (agent) {
+ // Shallow clone - don't mutate the object provided by the caller
+ options.request = options.request
+ ? Object.assign({}, options.request)
+ : {};
+ // Set the agent
+ options.request.agent = agent;
+ }
+ return options;
+ }
+ static getGraphQL(args) {
+ const defaults = {};
+ const token = args[0];
+ const options = args[1];
+ // Authorization
+ const auth = this.getAuthString(token, options);
+ if (auth) {
+ defaults.headers = {
+ authorization: auth,
+ };
+ }
+ // Proxy
+ const agent = GitHub.getProxyAgent(options);
+ if (agent) {
+ defaults.request = { agent };
+ }
+ return graphql_1.graphql.defaults(defaults);
+ }
+ static getAuthString(token, options) {
+ // Validate args
+ if (!token && !options.auth) {
+ throw new Error("Parameter token or opts.auth is required");
+ } else if (token && options.auth) {
+ throw new Error(
+ "Parameters token and opts.auth may not both be specified"
+ );
+ }
+ return typeof options.auth === "string"
+ ? options.auth
+ : `token ${token}`;
+ }
+ static getProxyAgent(options) {
+ var _a;
+ if (
+ !((_a = options.request) === null || _a === void 0
+ ? void 0
+ : _a.agent)
+ ) {
+ const serverUrl = "https://api.github.com";
+ if (httpClient.getProxyUrl(serverUrl)) {
+ const hc = new httpClient.HttpClient();
+ return hc.getAgent(serverUrl);
+ }
+ }
+ return undefined;
+ }
+ }
+ exports.GitHub = GitHub;
+ //# sourceMappingURL=github.js.map
/***/
},
- /***/ 299: /***/ function (__unusedmodule, exports) {
+ /***/ 39925: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-
- const VERSION = "1.1.2";
-
+ const url = __nccwpck_require__(57310);
+ const http = __nccwpck_require__(13685);
+ const https = __nccwpck_require__(95687);
+ const pm = __nccwpck_require__(16443);
+ let tunnel;
+ var HttpCodes;
+ (function (HttpCodes) {
+ HttpCodes[(HttpCodes["OK"] = 200)] = "OK";
+ HttpCodes[(HttpCodes["MultipleChoices"] = 300)] = "MultipleChoices";
+ HttpCodes[(HttpCodes["MovedPermanently"] = 301)] = "MovedPermanently";
+ HttpCodes[(HttpCodes["ResourceMoved"] = 302)] = "ResourceMoved";
+ HttpCodes[(HttpCodes["SeeOther"] = 303)] = "SeeOther";
+ HttpCodes[(HttpCodes["NotModified"] = 304)] = "NotModified";
+ HttpCodes[(HttpCodes["UseProxy"] = 305)] = "UseProxy";
+ HttpCodes[(HttpCodes["SwitchProxy"] = 306)] = "SwitchProxy";
+ HttpCodes[(HttpCodes["TemporaryRedirect"] = 307)] = "TemporaryRedirect";
+ HttpCodes[(HttpCodes["PermanentRedirect"] = 308)] = "PermanentRedirect";
+ HttpCodes[(HttpCodes["BadRequest"] = 400)] = "BadRequest";
+ HttpCodes[(HttpCodes["Unauthorized"] = 401)] = "Unauthorized";
+ HttpCodes[(HttpCodes["PaymentRequired"] = 402)] = "PaymentRequired";
+ HttpCodes[(HttpCodes["Forbidden"] = 403)] = "Forbidden";
+ HttpCodes[(HttpCodes["NotFound"] = 404)] = "NotFound";
+ HttpCodes[(HttpCodes["MethodNotAllowed"] = 405)] = "MethodNotAllowed";
+ HttpCodes[(HttpCodes["NotAcceptable"] = 406)] = "NotAcceptable";
+ HttpCodes[(HttpCodes["ProxyAuthenticationRequired"] = 407)] =
+ "ProxyAuthenticationRequired";
+ HttpCodes[(HttpCodes["RequestTimeout"] = 408)] = "RequestTimeout";
+ HttpCodes[(HttpCodes["Conflict"] = 409)] = "Conflict";
+ HttpCodes[(HttpCodes["Gone"] = 410)] = "Gone";
+ HttpCodes[(HttpCodes["TooManyRequests"] = 429)] = "TooManyRequests";
+ HttpCodes[(HttpCodes["InternalServerError"] = 500)] =
+ "InternalServerError";
+ HttpCodes[(HttpCodes["NotImplemented"] = 501)] = "NotImplemented";
+ HttpCodes[(HttpCodes["BadGateway"] = 502)] = "BadGateway";
+ HttpCodes[(HttpCodes["ServiceUnavailable"] = 503)] =
+ "ServiceUnavailable";
+ HttpCodes[(HttpCodes["GatewayTimeout"] = 504)] = "GatewayTimeout";
+ })((HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})));
+ var Headers;
+ (function (Headers) {
+ Headers["Accept"] = "accept";
+ Headers["ContentType"] = "content-type";
+ })((Headers = exports.Headers || (exports.Headers = {})));
+ var MediaTypes;
+ (function (MediaTypes) {
+ MediaTypes["ApplicationJson"] = "application/json";
+ })((MediaTypes = exports.MediaTypes || (exports.MediaTypes = {})));
/**
- * 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:
- *
- * - https://developer.github.com/v3/search/#example (key `items`)
- * - https://developer.github.com/v3/checks/runs/#response-3 (key: `check_runs`)
- * - https://developer.github.com/v3/checks/suites/#response-1 (key: `check_suites`)
- * - https://developer.github.com/v3/apps/installations/#list-repositories (key: `repositories`)
- * - https://developer.github.com/v3/apps/installations/#list-installations-for-a-user (key `installations`)
- *
- * 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. For the exceptions with the namespace, a fallback check for the route
- * paths has to be added in order to normalize the response. We cannot check for the total_count
- * property because it also exists in the response of Get the combined status for a specific ref.
+ * Returns the proxy URL, depending upon the supplied url and proxy environment variables.
+ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com
*/
- const REGEX = [
- /^\/search\//,
- /^\/repos\/[^/]+\/[^/]+\/commits\/[^/]+\/(check-runs|check-suites)([^/]|$)/,
- /^\/installation\/repositories([^/]|$)/,
- /^\/user\/installations([^/]|$)/,
- /^\/repos\/[^/]+\/[^/]+\/actions\/secrets([^/]|$)/,
- /^\/repos\/[^/]+\/[^/]+\/actions\/workflows(\/[^/]+\/runs)?([^/]|$)/,
- /^\/repos\/[^/]+\/[^/]+\/actions\/runs(\/[^/]+\/(artifacts|jobs))?([^/]|$)/,
+ function getProxyUrl(serverUrl) {
+ let proxyUrl = pm.getProxyUrl(url.parse(serverUrl));
+ return proxyUrl ? proxyUrl.href : "";
+ }
+ exports.getProxyUrl = getProxyUrl;
+ const HttpRedirectCodes = [
+ HttpCodes.MovedPermanently,
+ HttpCodes.ResourceMoved,
+ HttpCodes.SeeOther,
+ HttpCodes.TemporaryRedirect,
+ HttpCodes.PermanentRedirect,
];
- function normalizePaginatedListResponse(octokit, url, response) {
- const path = url.replace(octokit.request.endpoint.DEFAULTS.baseUrl, "");
- const responseNeedsNormalization = REGEX.find((regex) =>
- regex.test(path)
- );
- if (!responseNeedsNormalization) return; // 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;
+ const HttpResponseRetryCodes = [
+ HttpCodes.BadGateway,
+ HttpCodes.ServiceUnavailable,
+ HttpCodes.GatewayTimeout,
+ ];
+ const RetryableHttpVerbs = ["OPTIONS", "GET", "DELETE", "HEAD"];
+ const ExponentialBackoffCeiling = 10;
+ const ExponentialBackoffTimeSlice = 5;
+ class HttpClientResponse {
+ constructor(message) {
+ this.message = message;
}
-
- if (typeof repositorySelection !== "undefined") {
- response.data.repository_selection = repositorySelection;
+ readBody() {
+ return new Promise(async (resolve, reject) => {
+ let output = Buffer.alloc(0);
+ this.message.on("data", (chunk) => {
+ output = Buffer.concat([output, chunk]);
+ });
+ this.message.on("end", () => {
+ resolve(output.toString());
+ });
+ });
}
-
- response.data.total_count = totalCount;
- Object.defineProperty(response.data, namespaceKey, {
- get() {
- octokit.log.warn(
- `[@octokit/paginate-rest] "response.data.${namespaceKey}" is deprecated for "GET ${path}". Get the results directly from "response.data"`
- );
- return Array.from(data);
- },
- });
}
-
- function iterator(octokit, route, parameters) {
- const options = octokit.request.endpoint(route, parameters);
- const method = options.method;
- const headers = options.headers;
- let url = options.url;
- return {
- [Symbol.asyncIterator]: () => ({
- next() {
- if (!url) {
- return Promise.resolve({
- done: true,
- });
- }
-
- return octokit
- .request({
- method,
- url,
- headers,
- })
- .then((response) => {
- normalizePaginatedListResponse(octokit, url, 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 = ((response.headers.link || "").match(
- /<([^>]+)>;\s*rel="next"/
- ) || [])[1];
- return {
- value: response,
- };
- });
- },
- }),
- };
+ exports.HttpClientResponse = HttpClientResponse;
+ function isHttps(requestUrl) {
+ let parsedUrl = url.parse(requestUrl);
+ return parsedUrl.protocol === "https:";
}
-
- function paginate(octokit, route, parameters, mapFn) {
- if (typeof parameters === "function") {
- mapFn = parameters;
- parameters = undefined;
+ exports.isHttps = isHttps;
+ class HttpClient {
+ constructor(userAgent, handlers, requestOptions) {
+ this._ignoreSslError = false;
+ this._allowRedirects = true;
+ this._allowRedirectDowngrade = false;
+ this._maxRedirects = 50;
+ this._allowRetries = false;
+ this._maxRetries = 1;
+ this._keepAlive = false;
+ this._disposed = false;
+ this.userAgent = userAgent;
+ this.handlers = handlers || [];
+ this.requestOptions = requestOptions;
+ if (requestOptions) {
+ if (requestOptions.ignoreSslError != null) {
+ this._ignoreSslError = requestOptions.ignoreSslError;
+ }
+ this._socketTimeout = requestOptions.socketTimeout;
+ if (requestOptions.allowRedirects != null) {
+ this._allowRedirects = requestOptions.allowRedirects;
+ }
+ if (requestOptions.allowRedirectDowngrade != null) {
+ this._allowRedirectDowngrade =
+ requestOptions.allowRedirectDowngrade;
+ }
+ if (requestOptions.maxRedirects != null) {
+ this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);
+ }
+ if (requestOptions.keepAlive != null) {
+ this._keepAlive = requestOptions.keepAlive;
+ }
+ if (requestOptions.allowRetries != null) {
+ this._allowRetries = requestOptions.allowRetries;
+ }
+ if (requestOptions.maxRetries != null) {
+ this._maxRetries = requestOptions.maxRetries;
+ }
+ }
}
-
- return gather(
- octokit,
- [],
- iterator(octokit, route, parameters)[Symbol.asyncIterator](),
- mapFn
- );
- }
-
- function gather(octokit, results, iterator, mapFn) {
- return iterator.next().then((result) => {
- if (result.done) {
- return results;
+ options(requestUrl, additionalHeaders) {
+ return this.request(
+ "OPTIONS",
+ requestUrl,
+ null,
+ additionalHeaders || {}
+ );
+ }
+ get(requestUrl, additionalHeaders) {
+ return this.request("GET", requestUrl, null, additionalHeaders || {});
+ }
+ del(requestUrl, additionalHeaders) {
+ return this.request(
+ "DELETE",
+ requestUrl,
+ null,
+ additionalHeaders || {}
+ );
+ }
+ post(requestUrl, data, additionalHeaders) {
+ return this.request(
+ "POST",
+ requestUrl,
+ data,
+ additionalHeaders || {}
+ );
+ }
+ patch(requestUrl, data, additionalHeaders) {
+ return this.request(
+ "PATCH",
+ requestUrl,
+ data,
+ additionalHeaders || {}
+ );
+ }
+ put(requestUrl, data, additionalHeaders) {
+ return this.request("PUT", requestUrl, data, additionalHeaders || {});
+ }
+ head(requestUrl, additionalHeaders) {
+ return this.request(
+ "HEAD",
+ requestUrl,
+ null,
+ additionalHeaders || {}
+ );
+ }
+ sendStream(verb, requestUrl, stream, additionalHeaders) {
+ return this.request(verb, requestUrl, stream, additionalHeaders);
+ }
+ /**
+ * Gets a typed object from an endpoint
+ * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise
+ */
+ async getJson(requestUrl, additionalHeaders = {}) {
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.Accept,
+ MediaTypes.ApplicationJson
+ );
+ let res = await this.get(requestUrl, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ }
+ async postJson(requestUrl, obj, additionalHeaders = {}) {
+ let data = JSON.stringify(obj, null, 2);
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.Accept,
+ MediaTypes.ApplicationJson
+ );
+ additionalHeaders[
+ Headers.ContentType
+ ] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.ContentType,
+ MediaTypes.ApplicationJson
+ );
+ let res = await this.post(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ }
+ async putJson(requestUrl, obj, additionalHeaders = {}) {
+ let data = JSON.stringify(obj, null, 2);
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.Accept,
+ MediaTypes.ApplicationJson
+ );
+ additionalHeaders[
+ Headers.ContentType
+ ] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.ContentType,
+ MediaTypes.ApplicationJson
+ );
+ let res = await this.put(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ }
+ async patchJson(requestUrl, obj, additionalHeaders = {}) {
+ let data = JSON.stringify(obj, null, 2);
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.Accept,
+ MediaTypes.ApplicationJson
+ );
+ additionalHeaders[
+ Headers.ContentType
+ ] = this._getExistingOrDefaultHeader(
+ additionalHeaders,
+ Headers.ContentType,
+ MediaTypes.ApplicationJson
+ );
+ let res = await this.patch(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ }
+ /**
+ * Makes a raw http request.
+ * All other methods such as get, post, patch, and request ultimately call this.
+ * Prefer get, del, post and patch
+ */
+ async request(verb, requestUrl, data, headers) {
+ if (this._disposed) {
+ throw new Error("Client has already been disposed.");
}
-
- let earlyExit = false;
-
- function done() {
- earlyExit = true;
+ let parsedUrl = url.parse(requestUrl);
+ let info = this._prepareRequest(verb, parsedUrl, headers);
+ // Only perform retries on reads since writes may not be idempotent.
+ let maxTries =
+ this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1
+ ? this._maxRetries + 1
+ : 1;
+ let numTries = 0;
+ let response;
+ while (numTries < maxTries) {
+ response = await this.requestRaw(info, data);
+ // Check if it's an authentication challenge
+ if (
+ response &&
+ response.message &&
+ response.message.statusCode === HttpCodes.Unauthorized
+ ) {
+ let authenticationHandler;
+ for (let i = 0; i < this.handlers.length; i++) {
+ if (this.handlers[i].canHandleAuthentication(response)) {
+ authenticationHandler = this.handlers[i];
+ break;
+ }
+ }
+ if (authenticationHandler) {
+ return authenticationHandler.handleAuthentication(
+ this,
+ info,
+ data
+ );
+ } else {
+ // We have received an unauthorized response but have no handlers to handle it.
+ // Let the response return to the caller.
+ return response;
+ }
+ }
+ let redirectsRemaining = this._maxRedirects;
+ while (
+ HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&
+ this._allowRedirects &&
+ redirectsRemaining > 0
+ ) {
+ const redirectUrl = response.message.headers["location"];
+ if (!redirectUrl) {
+ // if there's no location to redirect to, we won't
+ break;
+ }
+ let parsedRedirectUrl = url.parse(redirectUrl);
+ if (
+ parsedUrl.protocol == "https:" &&
+ parsedUrl.protocol != parsedRedirectUrl.protocol &&
+ !this._allowRedirectDowngrade
+ ) {
+ throw new Error(
+ "Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true."
+ );
+ }
+ // we need to finish reading the response before reassigning response
+ // which will leak the open socket.
+ await response.readBody();
+ // strip authorization header if redirected to a different hostname
+ if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {
+ for (let header in headers) {
+ // header names are case insensitive
+ if (header.toLowerCase() === "authorization") {
+ delete headers[header];
+ }
+ }
+ }
+ // let's make the request with the new redirectUrl
+ info = this._prepareRequest(verb, parsedRedirectUrl, headers);
+ response = await this.requestRaw(info, data);
+ redirectsRemaining--;
+ }
+ if (
+ HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1
+ ) {
+ // If not a retry code, return immediately instead of retrying
+ return response;
+ }
+ numTries += 1;
+ if (numTries < maxTries) {
+ await response.readBody();
+ await this._performExponentialBackoff(numTries);
+ }
}
-
- results = results.concat(
- mapFn ? mapFn(result.value, done) : result.value.data
- );
-
- if (earlyExit) {
- return results;
+ return response;
+ }
+ /**
+ * Needs to be called if keepAlive is set to true in request options.
+ */
+ dispose() {
+ if (this._agent) {
+ this._agent.destroy();
}
-
- return gather(octokit, results, iterator, mapFn);
- });
- }
-
- /**
- * @param octokit Octokit instance
- * @param options Options passed to Octokit constructor
- */
-
- function paginateRest(octokit) {
- return {
- paginate: Object.assign(paginate.bind(null, octokit), {
- iterator: iterator.bind(null, octokit),
- }),
- };
- }
- paginateRest.VERSION = VERSION;
-
- exports.paginateRest = paginateRest;
- //# sourceMappingURL=index.js.map
-
- /***/
- },
-
- /***/ 312: /***/ function (module, __unusedexports, __webpack_require__) {
- // Generated by CoffeeScript 1.12.7
- (function () {
- var XMLDocument,
- XMLDocumentCB,
- XMLStreamWriter,
- XMLStringWriter,
- assign,
- isFunction,
- ref;
-
- (ref = __webpack_require__(8582)),
- (assign = ref.assign),
- (isFunction = ref.isFunction);
-
- XMLDocument = __webpack_require__(8559);
-
- XMLDocumentCB = __webpack_require__(9768);
-
- XMLStringWriter = __webpack_require__(2750);
-
- XMLStreamWriter = __webpack_require__(3458);
-
- module.exports.create = function (name, xmldec, doctype, options) {
- var doc, root;
- if (name == null) {
- throw new Error("Root element needs a name");
+ this._disposed = true;
+ }
+ /**
+ * Raw request.
+ * @param info
+ * @param data
+ */
+ requestRaw(info, data) {
+ return new Promise((resolve, reject) => {
+ let callbackForResult = function (err, res) {
+ if (err) {
+ reject(err);
+ }
+ resolve(res);
+ };
+ this.requestRawWithCallback(info, data, callbackForResult);
+ });
+ }
+ /**
+ * Raw request with callback.
+ * @param info
+ * @param data
+ * @param onResult
+ */
+ requestRawWithCallback(info, data, onResult) {
+ let socket;
+ if (typeof data === "string") {
+ info.options.headers["Content-Length"] = Buffer.byteLength(
+ data,
+ "utf8"
+ );
}
- options = assign({}, xmldec, doctype, options);
- doc = new XMLDocument(options);
- root = doc.element(name);
- if (!options.headless) {
- doc.declaration(options);
- if (options.pubID != null || options.sysID != null) {
- doc.doctype(options);
+ let callbackCalled = false;
+ let handleResult = (err, res) => {
+ if (!callbackCalled) {
+ callbackCalled = true;
+ onResult(err, res);
}
+ };
+ let req = info.httpModule.request(info.options, (msg) => {
+ let res = new HttpClientResponse(msg);
+ handleResult(null, res);
+ });
+ req.on("socket", (sock) => {
+ socket = sock;
+ });
+ // If we ever get disconnected, we want the socket to timeout eventually
+ req.setTimeout(this._socketTimeout || 3 * 60000, () => {
+ if (socket) {
+ socket.end();
+ }
+ handleResult(
+ new Error("Request timeout: " + info.options.path),
+ null
+ );
+ });
+ req.on("error", function (err) {
+ // err has statusCode property
+ // res should have headers
+ handleResult(err, null);
+ });
+ if (data && typeof data === "string") {
+ req.write(data, "utf8");
}
- return root;
- };
-
- module.exports.begin = function (options, onData, onEnd) {
- var ref1;
- if (isFunction(options)) {
- (ref1 = [options, onData]), (onData = ref1[0]), (onEnd = ref1[1]);
- options = {};
- }
- if (onData) {
- return new XMLDocumentCB(options, onData, onEnd);
+ if (data && typeof data !== "string") {
+ data.on("close", function () {
+ req.end();
+ });
+ data.pipe(req);
} else {
- return new XMLDocument(options);
+ req.end();
}
- };
-
- module.exports.stringWriter = function (options) {
- return new XMLStringWriter(options);
- };
-
- module.exports.streamWriter = function (stream, options) {
- return new XMLStreamWriter(stream, options);
- };
- }.call(this));
-
- /***/
- },
-
- /***/ 320: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2019-07-11",
- endpointPrefix: "session.qldb",
- jsonVersion: "1.0",
- protocol: "json",
- serviceAbbreviation: "QLDB Session",
- serviceFullName: "Amazon QLDB Session",
- serviceId: "QLDB Session",
- signatureVersion: "v4",
- signingName: "qldb",
- targetPrefix: "QLDBSession",
- uid: "qldb-session-2019-07-11",
- },
- operations: {
- SendCommand: {
- input: {
- type: "structure",
- members: {
- SessionToken: {},
- StartSession: {
- type: "structure",
- required: ["LedgerName"],
- members: { LedgerName: {} },
- },
- StartTransaction: { type: "structure", members: {} },
- EndSession: { type: "structure", members: {} },
- CommitTransaction: {
- type: "structure",
- required: ["TransactionId", "CommitDigest"],
- members: {
- TransactionId: {},
- CommitDigest: { type: "blob" },
- },
- },
- AbortTransaction: { type: "structure", members: {} },
- ExecuteStatement: {
- type: "structure",
- required: ["TransactionId", "Statement"],
- members: {
- TransactionId: {},
- Statement: {},
- Parameters: { type: "list", member: { shape: "Se" } },
- },
- },
- FetchPage: {
- type: "structure",
- required: ["TransactionId", "NextPageToken"],
- members: { TransactionId: {}, NextPageToken: {} },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- StartSession: {
- type: "structure",
- members: { SessionToken: {} },
- },
- StartTransaction: {
- type: "structure",
- members: { TransactionId: {} },
- },
- EndSession: { type: "structure", members: {} },
- CommitTransaction: {
- type: "structure",
- members: {
- TransactionId: {},
- CommitDigest: { type: "blob" },
- },
- },
- AbortTransaction: { type: "structure", members: {} },
- ExecuteStatement: {
- type: "structure",
- members: { FirstPage: { shape: "Sq" } },
- },
- FetchPage: {
- type: "structure",
- members: { Page: { shape: "Sq" } },
- },
+ }
+ /**
+ * Gets an http agent. This function is useful when you need an http agent that handles
+ * routing through a proxy server - depending upon the url and proxy environment variables.
+ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com
+ */
+ getAgent(serverUrl) {
+ let parsedUrl = url.parse(serverUrl);
+ return this._getAgent(parsedUrl);
+ }
+ _prepareRequest(method, requestUrl, headers) {
+ const info = {};
+ info.parsedUrl = requestUrl;
+ const usingSsl = info.parsedUrl.protocol === "https:";
+ info.httpModule = usingSsl ? https : http;
+ const defaultPort = usingSsl ? 443 : 80;
+ info.options = {};
+ info.options.host = info.parsedUrl.hostname;
+ info.options.port = info.parsedUrl.port
+ ? parseInt(info.parsedUrl.port)
+ : defaultPort;
+ info.options.path =
+ (info.parsedUrl.pathname || "") + (info.parsedUrl.search || "");
+ info.options.method = method;
+ info.options.headers = this._mergeHeaders(headers);
+ if (this.userAgent != null) {
+ info.options.headers["user-agent"] = this.userAgent;
+ }
+ info.options.agent = this._getAgent(info.parsedUrl);
+ // gives handlers an opportunity to participate
+ if (this.handlers) {
+ this.handlers.forEach((handler) => {
+ handler.prepareRequest(info.options);
+ });
+ }
+ return info;
+ }
+ _mergeHeaders(headers) {
+ const lowercaseKeys = (obj) =>
+ Object.keys(obj).reduce(
+ (c, k) => ((c[k.toLowerCase()] = obj[k]), c),
+ {}
+ );
+ if (this.requestOptions && this.requestOptions.headers) {
+ return Object.assign(
+ {},
+ lowercaseKeys(this.requestOptions.headers),
+ lowercaseKeys(headers)
+ );
+ }
+ return lowercaseKeys(headers || {});
+ }
+ _getExistingOrDefaultHeader(additionalHeaders, header, _default) {
+ const lowercaseKeys = (obj) =>
+ Object.keys(obj).reduce(
+ (c, k) => ((c[k.toLowerCase()] = obj[k]), c),
+ {}
+ );
+ let clientHeader;
+ if (this.requestOptions && this.requestOptions.headers) {
+ clientHeader = lowercaseKeys(this.requestOptions.headers)[header];
+ }
+ return additionalHeaders[header] || clientHeader || _default;
+ }
+ _getAgent(parsedUrl) {
+ let agent;
+ let proxyUrl = pm.getProxyUrl(parsedUrl);
+ let useProxy = proxyUrl && proxyUrl.hostname;
+ if (this._keepAlive && useProxy) {
+ agent = this._proxyAgent;
+ }
+ if (this._keepAlive && !useProxy) {
+ agent = this._agent;
+ }
+ // if agent is already assigned use that agent.
+ if (!!agent) {
+ return agent;
+ }
+ const usingSsl = parsedUrl.protocol === "https:";
+ let maxSockets = 100;
+ if (!!this.requestOptions) {
+ maxSockets =
+ this.requestOptions.maxSockets || http.globalAgent.maxSockets;
+ }
+ if (useProxy) {
+ // If using proxy, need tunnel
+ if (!tunnel) {
+ tunnel = __nccwpck_require__(74294);
+ }
+ const agentOptions = {
+ maxSockets: maxSockets,
+ keepAlive: this._keepAlive,
+ proxy: {
+ proxyAuth: proxyUrl.auth,
+ host: proxyUrl.hostname,
+ port: proxyUrl.port,
},
- },
- },
- },
- shapes: {
- Se: {
- type: "structure",
- members: { IonBinary: { type: "blob" }, IonText: {} },
- },
- Sq: {
- type: "structure",
- members: {
- Values: { type: "list", member: { shape: "Se" } },
- NextPageToken: {},
- },
- },
- },
- };
+ };
+ let tunnelAgent;
+ const overHttps = proxyUrl.protocol === "https:";
+ if (usingSsl) {
+ tunnelAgent = overHttps
+ ? tunnel.httpsOverHttps
+ : tunnel.httpsOverHttp;
+ } else {
+ tunnelAgent = overHttps
+ ? tunnel.httpOverHttps
+ : tunnel.httpOverHttp;
+ }
+ agent = tunnelAgent(agentOptions);
+ this._proxyAgent = agent;
+ }
+ // if reusing agent across request and tunneling agent isn't assigned create a new agent
+ if (this._keepAlive && !agent) {
+ const options = {
+ keepAlive: this._keepAlive,
+ maxSockets: maxSockets,
+ };
+ agent = usingSsl
+ ? new https.Agent(options)
+ : new http.Agent(options);
+ this._agent = agent;
+ }
+ // if not using private agent and tunnel agent isn't setup then use global agent
+ if (!agent) {
+ agent = usingSsl ? https.globalAgent : http.globalAgent;
+ }
+ if (usingSsl && this._ignoreSslError) {
+ // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process
+ // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options
+ // we have to cast it to any and change it directly
+ agent.options = Object.assign(agent.options || {}, {
+ rejectUnauthorized: false,
+ });
+ }
+ return agent;
+ }
+ _performExponentialBackoff(retryNumber) {
+ retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);
+ const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);
+ return new Promise((resolve) => setTimeout(() => resolve(), ms));
+ }
+ static dateTimeDeserializer(key, value) {
+ if (typeof value === "string") {
+ let a = new Date(value);
+ if (!isNaN(a.valueOf())) {
+ return a;
+ }
+ }
+ return value;
+ }
+ async _processResponse(res, options) {
+ return new Promise(async (resolve, reject) => {
+ const statusCode = res.message.statusCode;
+ const response = {
+ statusCode: statusCode,
+ result: null,
+ headers: {},
+ };
+ // not found leads to null obj returned
+ if (statusCode == HttpCodes.NotFound) {
+ resolve(response);
+ }
+ let obj;
+ let contents;
+ // get the result from the body
+ try {
+ contents = await res.readBody();
+ if (contents && contents.length > 0) {
+ if (options && options.deserializeDates) {
+ obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);
+ } else {
+ obj = JSON.parse(contents);
+ }
+ response.result = obj;
+ }
+ response.headers = res.message.headers;
+ } catch (err) {
+ // Invalid resource (contents not json); leaving result obj null
+ }
+ // note that 3xx redirects are handled by the http layer.
+ if (statusCode > 299) {
+ let msg;
+ // if exception/error in body, attempt to get better error
+ if (obj && obj.message) {
+ msg = obj.message;
+ } else if (contents && contents.length > 0) {
+ // it may be the case that the exception is in the body message as string
+ msg = contents;
+ } else {
+ msg = "Failed request: (" + statusCode + ")";
+ }
+ let err = new Error(msg);
+ // attach statusCode and body obj (if available) to the error object
+ err["statusCode"] = statusCode;
+ if (response.result) {
+ err["result"] = response.result;
+ }
+ reject(err);
+ } else {
+ resolve(response);
+ }
+ });
+ }
+ }
+ exports.HttpClient = HttpClient;
/***/
},
- /***/ 323: /***/ function (module) {
+ /***/ 16443: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
"use strict";
- var isStream = (module.exports = function (stream) {
- return (
- stream !== null &&
- typeof stream === "object" &&
- typeof stream.pipe === "function"
- );
- });
+ Object.defineProperty(exports, "__esModule", { value: true });
+ const url = __nccwpck_require__(57310);
+ function getProxyUrl(reqUrl) {
+ let usingSsl = reqUrl.protocol === "https:";
+ let proxyUrl;
+ if (checkBypass(reqUrl)) {
+ return proxyUrl;
+ }
+ let proxyVar;
+ if (usingSsl) {
+ proxyVar = process.env["https_proxy"] || process.env["HTTPS_PROXY"];
+ } else {
+ proxyVar = process.env["http_proxy"] || process.env["HTTP_PROXY"];
+ }
+ if (proxyVar) {
+ proxyUrl = url.parse(proxyVar);
+ }
+ return proxyUrl;
+ }
+ exports.getProxyUrl = getProxyUrl;
+ function checkBypass(reqUrl) {
+ if (!reqUrl.hostname) {
+ return false;
+ }
+ let noProxy = process.env["no_proxy"] || process.env["NO_PROXY"] || "";
+ if (!noProxy) {
+ return false;
+ }
+ // Determine the request port
+ let reqPort;
+ if (reqUrl.port) {
+ reqPort = Number(reqUrl.port);
+ } else if (reqUrl.protocol === "http:") {
+ reqPort = 80;
+ } else if (reqUrl.protocol === "https:") {
+ reqPort = 443;
+ }
+ // Format the request hostname and hostname with port
+ let upperReqHosts = [reqUrl.hostname.toUpperCase()];
+ if (typeof reqPort === "number") {
+ upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);
+ }
+ // Compare request host against noproxy
+ for (let upperNoProxyItem of noProxy
+ .split(",")
+ .map((x) => x.trim().toUpperCase())
+ .filter((x) => x)) {
+ if (upperReqHosts.some((x) => x === upperNoProxyItem)) {
+ return true;
+ }
+ }
+ return false;
+ }
+ exports.checkBypass = checkBypass;
- isStream.writable = function (stream) {
- return (
- isStream(stream) &&
- stream.writable !== false &&
- typeof stream._write === "function" &&
- typeof stream._writableState === "object"
- );
- };
+ /***/
+ },
- isStream.readable = function (stream) {
- return (
- isStream(stream) &&
- stream.readable !== false &&
- typeof stream._read === "function" &&
- typeof stream._readableState === "object"
- );
- };
+ /***/ 40334: /***/ (__unused_webpack_module, exports) => {
+ "use strict";
- isStream.duplex = function (stream) {
- return isStream.writable(stream) && isStream.readable(stream);
- };
+ Object.defineProperty(exports, "__esModule", { value: true });
- isStream.transform = function (stream) {
- return (
- isStream.duplex(stream) &&
- typeof stream._transform === "function" &&
- typeof stream._transformState === "object"
- );
- };
+ async function auth(token) {
+ const tokenType =
+ token.split(/\./).length === 3
+ ? "app"
+ : /^v\d+\./.test(token)
+ ? "installation"
+ : "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}`;
+ }
- /***/ 324: /***/ function (module) {
- module.exports = {
- pagination: {
- ListTerminologies: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListTextTranslationJobs: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- },
- };
+ return `token ${token}`;
+ }
- /***/
- },
+ async function hook(token, request, route, parameters) {
+ const endpoint = request.endpoint.merge(route, parameters);
+ endpoint.headers.authorization = withAuthorizationPrefix(token);
+ return request(endpoint);
+ }
- /***/ 332: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
+ const createTokenAuth = function createTokenAuth(token) {
+ if (!token) {
+ throw new Error(
+ "[@octokit/auth-token] No token passed to createTokenAuth"
+ );
+ }
- 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__(6279);
- model.paginators = __webpack_require__(8755).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
+ if (typeof token !== "string") {
+ throw new Error(
+ "[@octokit/auth-token] Token passed to createTokenAuth is not a string"
+ );
+ }
- module.exports = AWS.CostExplorer;
+ token = token.replace(/^(token|bearer) +/i, "");
+ return Object.assign(auth.bind(null, token), {
+ hook: hook.bind(null, token),
+ });
+ };
+
+ exports.createTokenAuth = createTokenAuth;
+ //# sourceMappingURL=index.js.map
/***/
},
- /***/ 337: /***/ function (module, __unusedexports, __webpack_require__) {
- var util = __webpack_require__(153);
+ /***/ 59440: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
- function JsonBuilder() {}
+ Object.defineProperty(exports, "__esModule", { value: true });
- JsonBuilder.prototype.build = function (value, shape) {
- return JSON.stringify(translate(value, shape));
- };
+ function _interopDefault(ex) {
+ return ex && typeof ex === "object" && "default" in ex
+ ? ex["default"]
+ : ex;
+ }
- function translate(value, shape) {
- if (!shape || value === undefined || value === null) return undefined;
+ var isPlainObject = _interopDefault(__nccwpck_require__(48840));
+ var universalUserAgent = __nccwpck_require__(11292);
- 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 lowercaseKeys(object) {
+ if (!object) {
+ return {};
}
+
+ return Object.keys(object).reduce((newObj, key) => {
+ newObj[key.toLowerCase()] = object[key];
+ return newObj;
+ }, {});
}
- function translateStructure(structure, shape) {
- 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;
+ function mergeDeep(defaults, options) {
+ const result = Object.assign({}, defaults);
+ Object.keys(options).forEach((key) => {
+ if (isPlainObject(options[key])) {
+ if (!(key in defaults))
+ Object.assign(result, {
+ [key]: options[key],
+ });
+ else result[key] = mergeDeep(defaults[key], options[key]);
+ } else {
+ Object.assign(result, {
+ [key]: options[key],
+ });
}
});
- return struct;
+ return result;
}
- 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 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
- 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;
- }
+ options.headers = lowercaseKeys(options.headers);
+ const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten
- function translateScalar(value, shape) {
- return shape.toWireFormat(value);
+ 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;
}
- /**
- * @api private
- */
- module.exports = JsonBuilder;
+ function addQueryParameters(url, parameters) {
+ const separator = /\?/.test(url) ? "&" : "?";
+ const names = Object.keys(parameters);
- /***/
- },
+ if (names.length === 0) {
+ return url;
+ }
- /***/ 349: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2010-12-01",
- endpointPrefix: "email",
- protocol: "query",
- serviceAbbreviation: "Amazon SES",
- serviceFullName: "Amazon Simple Email Service",
- serviceId: "SES",
- signatureVersion: "v4",
- signingName: "ses",
- uid: "email-2010-12-01",
- xmlNamespace: "http://ses.amazonaws.com/doc/2010-12-01/",
- },
- operations: {
- CloneReceiptRuleSet: {
- input: {
- type: "structure",
- required: ["RuleSetName", "OriginalRuleSetName"],
- members: { RuleSetName: {}, OriginalRuleSetName: {} },
- },
- output: {
- resultWrapper: "CloneReceiptRuleSetResult",
- type: "structure",
- members: {},
- },
- },
- CreateConfigurationSet: {
- input: {
- type: "structure",
- required: ["ConfigurationSet"],
- members: { ConfigurationSet: { shape: "S5" } },
- },
- output: {
- resultWrapper: "CreateConfigurationSetResult",
- type: "structure",
- members: {},
- },
- },
- CreateConfigurationSetEventDestination: {
- input: {
- type: "structure",
- required: ["ConfigurationSetName", "EventDestination"],
- members: {
- ConfigurationSetName: {},
- EventDestination: { shape: "S9" },
- },
- },
- output: {
- resultWrapper: "CreateConfigurationSetEventDestinationResult",
- type: "structure",
- members: {},
- },
- },
- CreateConfigurationSetTrackingOptions: {
- input: {
- type: "structure",
- required: ["ConfigurationSetName", "TrackingOptions"],
- members: {
- ConfigurationSetName: {},
- TrackingOptions: { shape: "Sp" },
- },
- },
- output: {
- resultWrapper: "CreateConfigurationSetTrackingOptionsResult",
- type: "structure",
- members: {},
- },
- },
- CreateCustomVerificationEmailTemplate: {
- input: {
- type: "structure",
- required: [
- "TemplateName",
- "FromEmailAddress",
- "TemplateSubject",
- "TemplateContent",
- "SuccessRedirectionURL",
- "FailureRedirectionURL",
- ],
- members: {
- TemplateName: {},
- FromEmailAddress: {},
- TemplateSubject: {},
- TemplateContent: {},
- SuccessRedirectionURL: {},
- FailureRedirectionURL: {},
- },
- },
- },
- CreateReceiptFilter: {
- input: {
- type: "structure",
- required: ["Filter"],
- members: { Filter: { shape: "S10" } },
- },
- output: {
- resultWrapper: "CreateReceiptFilterResult",
- type: "structure",
- members: {},
- },
- },
- CreateReceiptRule: {
- input: {
- type: "structure",
- required: ["RuleSetName", "Rule"],
- members: { RuleSetName: {}, After: {}, Rule: { shape: "S18" } },
- },
- output: {
- resultWrapper: "CreateReceiptRuleResult",
- type: "structure",
- members: {},
- },
- },
- CreateReceiptRuleSet: {
- input: {
- type: "structure",
- required: ["RuleSetName"],
- members: { RuleSetName: {} },
- },
- output: {
- resultWrapper: "CreateReceiptRuleSetResult",
- type: "structure",
- members: {},
- },
- },
- CreateTemplate: {
- input: {
- type: "structure",
- required: ["Template"],
- members: { Template: { shape: "S20" } },
- },
- output: {
- resultWrapper: "CreateTemplateResult",
- type: "structure",
- members: {},
- },
- },
- DeleteConfigurationSet: {
- input: {
- type: "structure",
- required: ["ConfigurationSetName"],
- members: { ConfigurationSetName: {} },
- },
- output: {
- resultWrapper: "DeleteConfigurationSetResult",
- type: "structure",
- members: {},
- },
- },
- DeleteConfigurationSetEventDestination: {
- input: {
- type: "structure",
- required: ["ConfigurationSetName", "EventDestinationName"],
- members: { ConfigurationSetName: {}, EventDestinationName: {} },
- },
- output: {
- resultWrapper: "DeleteConfigurationSetEventDestinationResult",
- type: "structure",
- members: {},
- },
- },
- DeleteConfigurationSetTrackingOptions: {
- input: {
- type: "structure",
- required: ["ConfigurationSetName"],
- members: { ConfigurationSetName: {} },
- },
- output: {
- resultWrapper: "DeleteConfigurationSetTrackingOptionsResult",
- type: "structure",
- members: {},
- },
- },
- DeleteCustomVerificationEmailTemplate: {
- input: {
- type: "structure",
- required: ["TemplateName"],
- members: { TemplateName: {} },
- },
- },
- DeleteIdentity: {
- input: {
- type: "structure",
- required: ["Identity"],
- members: { Identity: {} },
- },
- output: {
- resultWrapper: "DeleteIdentityResult",
- type: "structure",
- members: {},
- },
- },
- DeleteIdentityPolicy: {
- input: {
- type: "structure",
- required: ["Identity", "PolicyName"],
- members: { Identity: {}, PolicyName: {} },
- },
- output: {
- resultWrapper: "DeleteIdentityPolicyResult",
- type: "structure",
- members: {},
- },
- },
- DeleteReceiptFilter: {
- input: {
- type: "structure",
- required: ["FilterName"],
- members: { FilterName: {} },
- },
- output: {
- resultWrapper: "DeleteReceiptFilterResult",
- type: "structure",
- members: {},
- },
- },
- DeleteReceiptRule: {
- input: {
- type: "structure",
- required: ["RuleSetName", "RuleName"],
- members: { RuleSetName: {}, RuleName: {} },
- },
- output: {
- resultWrapper: "DeleteReceiptRuleResult",
- type: "structure",
- members: {},
- },
- },
- DeleteReceiptRuleSet: {
- input: {
- type: "structure",
- required: ["RuleSetName"],
- members: { RuleSetName: {} },
- },
- output: {
- resultWrapper: "DeleteReceiptRuleSetResult",
- type: "structure",
- members: {},
- },
- },
- DeleteTemplate: {
- input: {
- type: "structure",
- required: ["TemplateName"],
- members: { TemplateName: {} },
- },
- output: {
- resultWrapper: "DeleteTemplateResult",
- type: "structure",
- members: {},
- },
- },
- DeleteVerifiedEmailAddress: {
- input: {
- type: "structure",
- required: ["EmailAddress"],
- members: { EmailAddress: {} },
- },
- },
- DescribeActiveReceiptRuleSet: {
- input: { type: "structure", members: {} },
- output: {
- resultWrapper: "DescribeActiveReceiptRuleSetResult",
- type: "structure",
- members: { Metadata: { shape: "S2t" }, Rules: { shape: "S2v" } },
- },
- },
- DescribeConfigurationSet: {
- input: {
- type: "structure",
- required: ["ConfigurationSetName"],
- members: {
- ConfigurationSetName: {},
- ConfigurationSetAttributeNames: { type: "list", member: {} },
- },
- },
- output: {
- resultWrapper: "DescribeConfigurationSetResult",
- type: "structure",
- members: {
- ConfigurationSet: { shape: "S5" },
- EventDestinations: { type: "list", member: { shape: "S9" } },
- TrackingOptions: { shape: "Sp" },
- DeliveryOptions: { shape: "S31" },
- ReputationOptions: {
- type: "structure",
- members: {
- SendingEnabled: { type: "boolean" },
- ReputationMetricsEnabled: { type: "boolean" },
- LastFreshStart: { type: "timestamp" },
- },
- },
- },
- },
- },
- DescribeReceiptRule: {
- input: {
- type: "structure",
- required: ["RuleSetName", "RuleName"],
- members: { RuleSetName: {}, RuleName: {} },
- },
- output: {
- resultWrapper: "DescribeReceiptRuleResult",
- type: "structure",
- members: { Rule: { shape: "S18" } },
- },
- },
- DescribeReceiptRuleSet: {
- input: {
- type: "structure",
- required: ["RuleSetName"],
- members: { RuleSetName: {} },
- },
- output: {
- resultWrapper: "DescribeReceiptRuleSetResult",
- type: "structure",
- members: { Metadata: { shape: "S2t" }, Rules: { shape: "S2v" } },
- },
- },
- GetAccountSendingEnabled: {
- output: {
- resultWrapper: "GetAccountSendingEnabledResult",
- type: "structure",
- members: { Enabled: { type: "boolean" } },
- },
- },
- GetCustomVerificationEmailTemplate: {
- input: {
- type: "structure",
- required: ["TemplateName"],
- members: { TemplateName: {} },
- },
- output: {
- resultWrapper: "GetCustomVerificationEmailTemplateResult",
- type: "structure",
- members: {
- TemplateName: {},
- FromEmailAddress: {},
- TemplateSubject: {},
- TemplateContent: {},
- SuccessRedirectionURL: {},
- FailureRedirectionURL: {},
- },
- },
- },
- GetIdentityDkimAttributes: {
- input: {
- type: "structure",
- required: ["Identities"],
- members: { Identities: { shape: "S3c" } },
- },
- output: {
- resultWrapper: "GetIdentityDkimAttributesResult",
- type: "structure",
- required: ["DkimAttributes"],
- members: {
- DkimAttributes: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- required: ["DkimEnabled", "DkimVerificationStatus"],
- members: {
- DkimEnabled: { type: "boolean" },
- DkimVerificationStatus: {},
- DkimTokens: { shape: "S3h" },
- },
- },
- },
- },
- },
- },
- GetIdentityMailFromDomainAttributes: {
- input: {
- type: "structure",
- required: ["Identities"],
- members: { Identities: { shape: "S3c" } },
- },
- output: {
- resultWrapper: "GetIdentityMailFromDomainAttributesResult",
- type: "structure",
- required: ["MailFromDomainAttributes"],
- members: {
- MailFromDomainAttributes: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- required: [
- "MailFromDomain",
- "MailFromDomainStatus",
- "BehaviorOnMXFailure",
- ],
- members: {
- MailFromDomain: {},
- MailFromDomainStatus: {},
- BehaviorOnMXFailure: {},
- },
- },
- },
- },
- },
- },
- GetIdentityNotificationAttributes: {
- input: {
- type: "structure",
- required: ["Identities"],
- members: { Identities: { shape: "S3c" } },
- },
- output: {
- resultWrapper: "GetIdentityNotificationAttributesResult",
- type: "structure",
- required: ["NotificationAttributes"],
- members: {
- NotificationAttributes: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- required: [
- "BounceTopic",
- "ComplaintTopic",
- "DeliveryTopic",
- "ForwardingEnabled",
- ],
- members: {
- BounceTopic: {},
- ComplaintTopic: {},
- DeliveryTopic: {},
- ForwardingEnabled: { type: "boolean" },
- HeadersInBounceNotificationsEnabled: { type: "boolean" },
- HeadersInComplaintNotificationsEnabled: {
- type: "boolean",
- },
- HeadersInDeliveryNotificationsEnabled: {
- type: "boolean",
- },
- },
- },
- },
- },
- },
- },
- GetIdentityPolicies: {
- input: {
- type: "structure",
- required: ["Identity", "PolicyNames"],
- members: { Identity: {}, PolicyNames: { shape: "S3w" } },
- },
- output: {
- resultWrapper: "GetIdentityPoliciesResult",
- type: "structure",
- required: ["Policies"],
- members: { Policies: { type: "map", key: {}, value: {} } },
- },
- },
- GetIdentityVerificationAttributes: {
- input: {
- type: "structure",
- required: ["Identities"],
- members: { Identities: { shape: "S3c" } },
- },
- output: {
- resultWrapper: "GetIdentityVerificationAttributesResult",
- type: "structure",
- required: ["VerificationAttributes"],
- members: {
- VerificationAttributes: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- required: ["VerificationStatus"],
- members: { VerificationStatus: {}, VerificationToken: {} },
- },
- },
- },
- },
- },
- GetSendQuota: {
- output: {
- resultWrapper: "GetSendQuotaResult",
- type: "structure",
- members: {
- Max24HourSend: { type: "double" },
- MaxSendRate: { type: "double" },
- SentLast24Hours: { type: "double" },
- },
- },
- },
- GetSendStatistics: {
- output: {
- resultWrapper: "GetSendStatisticsResult",
- type: "structure",
- members: {
- SendDataPoints: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Timestamp: { type: "timestamp" },
- DeliveryAttempts: { type: "long" },
- Bounces: { type: "long" },
- Complaints: { type: "long" },
- Rejects: { type: "long" },
- },
- },
- },
- },
- },
- },
- GetTemplate: {
- input: {
- type: "structure",
- required: ["TemplateName"],
- members: { TemplateName: {} },
- },
- output: {
- resultWrapper: "GetTemplateResult",
- type: "structure",
- members: { Template: { shape: "S20" } },
- },
- },
- ListConfigurationSets: {
- input: {
- type: "structure",
- members: { NextToken: {}, MaxItems: { type: "integer" } },
- },
- output: {
- resultWrapper: "ListConfigurationSetsResult",
- type: "structure",
- members: {
- ConfigurationSets: { type: "list", member: { shape: "S5" } },
- NextToken: {},
- },
- },
- },
- ListCustomVerificationEmailTemplates: {
- input: {
- type: "structure",
- members: { NextToken: {}, MaxResults: { type: "integer" } },
- },
- output: {
- resultWrapper: "ListCustomVerificationEmailTemplatesResult",
- type: "structure",
- members: {
- CustomVerificationEmailTemplates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- TemplateName: {},
- FromEmailAddress: {},
- TemplateSubject: {},
- SuccessRedirectionURL: {},
- FailureRedirectionURL: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListIdentities: {
- input: {
- type: "structure",
- members: {
- IdentityType: {},
- NextToken: {},
- MaxItems: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "ListIdentitiesResult",
- type: "structure",
- required: ["Identities"],
- members: { Identities: { shape: "S3c" }, NextToken: {} },
- },
- },
- ListIdentityPolicies: {
- input: {
- type: "structure",
- required: ["Identity"],
- members: { Identity: {} },
- },
- output: {
- resultWrapper: "ListIdentityPoliciesResult",
- type: "structure",
- required: ["PolicyNames"],
- members: { PolicyNames: { shape: "S3w" } },
- },
- },
- ListReceiptFilters: {
- input: { type: "structure", members: {} },
- output: {
- resultWrapper: "ListReceiptFiltersResult",
- type: "structure",
- members: { Filters: { type: "list", member: { shape: "S10" } } },
- },
- },
- ListReceiptRuleSets: {
- input: { type: "structure", members: { NextToken: {} } },
- output: {
- resultWrapper: "ListReceiptRuleSetsResult",
- type: "structure",
- members: {
- RuleSets: { type: "list", member: { shape: "S2t" } },
- NextToken: {},
- },
- },
- },
- ListTemplates: {
- input: {
- type: "structure",
- members: { NextToken: {}, MaxItems: { type: "integer" } },
- },
- output: {
- resultWrapper: "ListTemplatesResult",
- type: "structure",
- members: {
- TemplatesMetadata: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- CreatedTimestamp: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListVerifiedEmailAddresses: {
- output: {
- resultWrapper: "ListVerifiedEmailAddressesResult",
- type: "structure",
- members: { VerifiedEmailAddresses: { shape: "S54" } },
- },
- },
- PutConfigurationSetDeliveryOptions: {
- input: {
- type: "structure",
- required: ["ConfigurationSetName"],
- members: {
- ConfigurationSetName: {},
- DeliveryOptions: { shape: "S31" },
- },
- },
- output: {
- resultWrapper: "PutConfigurationSetDeliveryOptionsResult",
- type: "structure",
- members: {},
- },
- },
- PutIdentityPolicy: {
- input: {
- type: "structure",
- required: ["Identity", "PolicyName", "Policy"],
- members: { Identity: {}, PolicyName: {}, Policy: {} },
- },
- output: {
- resultWrapper: "PutIdentityPolicyResult",
- type: "structure",
- members: {},
- },
- },
- ReorderReceiptRuleSet: {
- input: {
- type: "structure",
- required: ["RuleSetName", "RuleNames"],
- members: {
- RuleSetName: {},
- RuleNames: { type: "list", member: {} },
- },
- },
- output: {
- resultWrapper: "ReorderReceiptRuleSetResult",
- type: "structure",
- members: {},
- },
- },
- SendBounce: {
- input: {
- type: "structure",
- required: [
- "OriginalMessageId",
- "BounceSender",
- "BouncedRecipientInfoList",
- ],
- members: {
- OriginalMessageId: {},
- BounceSender: {},
- Explanation: {},
- MessageDsn: {
- type: "structure",
- required: ["ReportingMta"],
- members: {
- ReportingMta: {},
- ArrivalDate: { type: "timestamp" },
- ExtensionFields: { shape: "S5i" },
- },
- },
- BouncedRecipientInfoList: {
- type: "list",
- member: {
- type: "structure",
- required: ["Recipient"],
- members: {
- Recipient: {},
- RecipientArn: {},
- BounceType: {},
- RecipientDsnFields: {
- type: "structure",
- required: ["Action", "Status"],
- members: {
- FinalRecipient: {},
- Action: {},
- RemoteMta: {},
- Status: {},
- DiagnosticCode: {},
- LastAttemptDate: { type: "timestamp" },
- ExtensionFields: { shape: "S5i" },
- },
- },
- },
- },
- },
- BounceSenderArn: {},
- },
- },
- output: {
- resultWrapper: "SendBounceResult",
- type: "structure",
- members: { MessageId: {} },
- },
- },
- SendBulkTemplatedEmail: {
- input: {
- type: "structure",
- required: ["Source", "Template", "Destinations"],
- members: {
- Source: {},
- SourceArn: {},
- ReplyToAddresses: { shape: "S54" },
- ReturnPath: {},
- ReturnPathArn: {},
- ConfigurationSetName: {},
- DefaultTags: { shape: "S5x" },
- Template: {},
- TemplateArn: {},
- DefaultTemplateData: {},
- Destinations: {
- type: "list",
- member: {
- type: "structure",
- required: ["Destination"],
- members: {
- Destination: { shape: "S64" },
- ReplacementTags: { shape: "S5x" },
- ReplacementTemplateData: {},
- },
- },
- },
- },
- },
- output: {
- resultWrapper: "SendBulkTemplatedEmailResult",
- type: "structure",
- required: ["Status"],
- members: {
- Status: {
- type: "list",
- member: {
- type: "structure",
- members: { Status: {}, Error: {}, MessageId: {} },
- },
- },
- },
- },
- },
- SendCustomVerificationEmail: {
- input: {
- type: "structure",
- required: ["EmailAddress", "TemplateName"],
- members: {
- EmailAddress: {},
- TemplateName: {},
- ConfigurationSetName: {},
- },
- },
- output: {
- resultWrapper: "SendCustomVerificationEmailResult",
- type: "structure",
- members: { MessageId: {} },
- },
- },
- SendEmail: {
- input: {
- type: "structure",
- required: ["Source", "Destination", "Message"],
- members: {
- Source: {},
- Destination: { shape: "S64" },
- Message: {
- type: "structure",
- required: ["Subject", "Body"],
- members: {
- Subject: { shape: "S6e" },
- Body: {
- type: "structure",
- members: {
- Text: { shape: "S6e" },
- Html: { shape: "S6e" },
- },
- },
- },
- },
- ReplyToAddresses: { shape: "S54" },
- ReturnPath: {},
- SourceArn: {},
- ReturnPathArn: {},
- Tags: { shape: "S5x" },
- ConfigurationSetName: {},
- },
- },
- output: {
- resultWrapper: "SendEmailResult",
- type: "structure",
- required: ["MessageId"],
- members: { MessageId: {} },
- },
- },
- SendRawEmail: {
- input: {
- type: "structure",
- required: ["RawMessage"],
- members: {
- Source: {},
- Destinations: { shape: "S54" },
- RawMessage: {
- type: "structure",
- required: ["Data"],
- members: { Data: { type: "blob" } },
- },
- FromArn: {},
- SourceArn: {},
- ReturnPathArn: {},
- Tags: { shape: "S5x" },
- ConfigurationSetName: {},
- },
- },
- output: {
- resultWrapper: "SendRawEmailResult",
- type: "structure",
- required: ["MessageId"],
- members: { MessageId: {} },
- },
- },
- SendTemplatedEmail: {
- input: {
- type: "structure",
- required: ["Source", "Destination", "Template", "TemplateData"],
- members: {
- Source: {},
- Destination: { shape: "S64" },
- ReplyToAddresses: { shape: "S54" },
- ReturnPath: {},
- SourceArn: {},
- ReturnPathArn: {},
- Tags: { shape: "S5x" },
- ConfigurationSetName: {},
- Template: {},
- TemplateArn: {},
- TemplateData: {},
- },
- },
- output: {
- resultWrapper: "SendTemplatedEmailResult",
- type: "structure",
- required: ["MessageId"],
- members: { MessageId: {} },
- },
- },
- SetActiveReceiptRuleSet: {
- input: { type: "structure", members: { RuleSetName: {} } },
- output: {
- resultWrapper: "SetActiveReceiptRuleSetResult",
- type: "structure",
- members: {},
- },
- },
- SetIdentityDkimEnabled: {
- input: {
- type: "structure",
- required: ["Identity", "DkimEnabled"],
- members: { Identity: {}, DkimEnabled: { type: "boolean" } },
- },
- output: {
- resultWrapper: "SetIdentityDkimEnabledResult",
- type: "structure",
- members: {},
- },
- },
- SetIdentityFeedbackForwardingEnabled: {
- input: {
- type: "structure",
- required: ["Identity", "ForwardingEnabled"],
- members: { Identity: {}, ForwardingEnabled: { type: "boolean" } },
- },
- output: {
- resultWrapper: "SetIdentityFeedbackForwardingEnabledResult",
- type: "structure",
- members: {},
- },
- },
- SetIdentityHeadersInNotificationsEnabled: {
- input: {
- type: "structure",
- required: ["Identity", "NotificationType", "Enabled"],
- members: {
- Identity: {},
- NotificationType: {},
- Enabled: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "SetIdentityHeadersInNotificationsEnabledResult",
- type: "structure",
- members: {},
- },
- },
- SetIdentityMailFromDomain: {
- input: {
- type: "structure",
- required: ["Identity"],
- members: {
- Identity: {},
- MailFromDomain: {},
- BehaviorOnMXFailure: {},
- },
- },
- output: {
- resultWrapper: "SetIdentityMailFromDomainResult",
- type: "structure",
- members: {},
- },
- },
- SetIdentityNotificationTopic: {
- input: {
- type: "structure",
- required: ["Identity", "NotificationType"],
- members: { Identity: {}, NotificationType: {}, SnsTopic: {} },
- },
- output: {
- resultWrapper: "SetIdentityNotificationTopicResult",
- type: "structure",
- members: {},
- },
- },
- SetReceiptRulePosition: {
- input: {
- type: "structure",
- required: ["RuleSetName", "RuleName"],
- members: { RuleSetName: {}, RuleName: {}, After: {} },
- },
- output: {
- resultWrapper: "SetReceiptRulePositionResult",
- type: "structure",
- members: {},
- },
- },
- TestRenderTemplate: {
- input: {
- type: "structure",
- required: ["TemplateName", "TemplateData"],
- members: { TemplateName: {}, TemplateData: {} },
- },
- output: {
- resultWrapper: "TestRenderTemplateResult",
- type: "structure",
- members: { RenderedTemplate: {} },
- },
- },
- UpdateAccountSendingEnabled: {
- input: {
- type: "structure",
- members: { Enabled: { type: "boolean" } },
- },
- },
- UpdateConfigurationSetEventDestination: {
- input: {
- type: "structure",
- required: ["ConfigurationSetName", "EventDestination"],
- members: {
- ConfigurationSetName: {},
- EventDestination: { shape: "S9" },
- },
- },
- output: {
- resultWrapper: "UpdateConfigurationSetEventDestinationResult",
- type: "structure",
- members: {},
- },
- },
- UpdateConfigurationSetReputationMetricsEnabled: {
- input: {
- type: "structure",
- required: ["ConfigurationSetName", "Enabled"],
- members: {
- ConfigurationSetName: {},
- Enabled: { type: "boolean" },
- },
- },
- },
- UpdateConfigurationSetSendingEnabled: {
- input: {
- type: "structure",
- required: ["ConfigurationSetName", "Enabled"],
- members: {
- ConfigurationSetName: {},
- Enabled: { type: "boolean" },
- },
- },
- },
- UpdateConfigurationSetTrackingOptions: {
- input: {
- type: "structure",
- required: ["ConfigurationSetName", "TrackingOptions"],
- members: {
- ConfigurationSetName: {},
- TrackingOptions: { shape: "Sp" },
- },
- },
- output: {
- resultWrapper: "UpdateConfigurationSetTrackingOptionsResult",
- type: "structure",
- members: {},
- },
- },
- UpdateCustomVerificationEmailTemplate: {
- input: {
- type: "structure",
- required: ["TemplateName"],
- members: {
- TemplateName: {},
- FromEmailAddress: {},
- TemplateSubject: {},
- TemplateContent: {},
- SuccessRedirectionURL: {},
- FailureRedirectionURL: {},
- },
- },
- },
- UpdateReceiptRule: {
- input: {
- type: "structure",
- required: ["RuleSetName", "Rule"],
- members: { RuleSetName: {}, Rule: { shape: "S18" } },
- },
- output: {
- resultWrapper: "UpdateReceiptRuleResult",
- type: "structure",
- members: {},
- },
- },
- UpdateTemplate: {
- input: {
- type: "structure",
- required: ["Template"],
- members: { Template: { shape: "S20" } },
- },
- output: {
- resultWrapper: "UpdateTemplateResult",
- type: "structure",
- members: {},
- },
- },
- VerifyDomainDkim: {
- input: {
- type: "structure",
- required: ["Domain"],
- members: { Domain: {} },
- },
- output: {
- resultWrapper: "VerifyDomainDkimResult",
- type: "structure",
- required: ["DkimTokens"],
- members: { DkimTokens: { shape: "S3h" } },
- },
- },
- VerifyDomainIdentity: {
- input: {
- type: "structure",
- required: ["Domain"],
- members: { Domain: {} },
- },
- output: {
- resultWrapper: "VerifyDomainIdentityResult",
- type: "structure",
- required: ["VerificationToken"],
- members: { VerificationToken: {} },
- },
- },
- VerifyEmailAddress: {
- input: {
- type: "structure",
- required: ["EmailAddress"],
- members: { EmailAddress: {} },
- },
- },
- VerifyEmailIdentity: {
- input: {
- type: "structure",
- required: ["EmailAddress"],
- members: { EmailAddress: {} },
- },
- output: {
- resultWrapper: "VerifyEmailIdentityResult",
- type: "structure",
- members: {},
- },
- },
- },
- shapes: {
- S5: { type: "structure", required: ["Name"], members: { Name: {} } },
- S9: {
- type: "structure",
- required: ["Name", "MatchingEventTypes"],
- members: {
- Name: {},
- Enabled: { type: "boolean" },
- MatchingEventTypes: { type: "list", member: {} },
- KinesisFirehoseDestination: {
- type: "structure",
- required: ["IAMRoleARN", "DeliveryStreamARN"],
- members: { IAMRoleARN: {}, DeliveryStreamARN: {} },
- },
- CloudWatchDestination: {
- type: "structure",
- required: ["DimensionConfigurations"],
- members: {
- DimensionConfigurations: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "DimensionName",
- "DimensionValueSource",
- "DefaultDimensionValue",
- ],
- members: {
- DimensionName: {},
- DimensionValueSource: {},
- DefaultDimensionValue: {},
- },
- },
- },
- },
- },
- SNSDestination: {
- type: "structure",
- required: ["TopicARN"],
- members: { TopicARN: {} },
- },
- },
- },
- Sp: { type: "structure", members: { CustomRedirectDomain: {} } },
- S10: {
- type: "structure",
- required: ["Name", "IpFilter"],
- members: {
- Name: {},
- IpFilter: {
- type: "structure",
- required: ["Policy", "Cidr"],
- members: { Policy: {}, Cidr: {} },
- },
- },
- },
- S18: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {},
- Enabled: { type: "boolean" },
- TlsPolicy: {},
- Recipients: { type: "list", member: {} },
- Actions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- S3Action: {
- type: "structure",
- required: ["BucketName"],
- members: {
- TopicArn: {},
- BucketName: {},
- ObjectKeyPrefix: {},
- KmsKeyArn: {},
- },
- },
- BounceAction: {
- type: "structure",
- required: ["SmtpReplyCode", "Message", "Sender"],
- members: {
- TopicArn: {},
- SmtpReplyCode: {},
- StatusCode: {},
- Message: {},
- Sender: {},
- },
- },
- WorkmailAction: {
- type: "structure",
- required: ["OrganizationArn"],
- members: { TopicArn: {}, OrganizationArn: {} },
- },
- LambdaAction: {
- type: "structure",
- required: ["FunctionArn"],
- members: {
- TopicArn: {},
- FunctionArn: {},
- InvocationType: {},
- },
- },
- StopAction: {
- type: "structure",
- required: ["Scope"],
- members: { Scope: {}, TopicArn: {} },
- },
- AddHeaderAction: {
- type: "structure",
- required: ["HeaderName", "HeaderValue"],
- members: { HeaderName: {}, HeaderValue: {} },
- },
- SNSAction: {
- type: "structure",
- required: ["TopicArn"],
- members: { TopicArn: {}, Encoding: {} },
- },
- },
- },
- },
- ScanEnabled: { type: "boolean" },
- },
- },
- S20: {
- type: "structure",
- required: ["TemplateName"],
- members: {
- TemplateName: {},
- SubjectPart: {},
- TextPart: {},
- HtmlPart: {},
- },
- },
- S2t: {
- type: "structure",
- members: { Name: {}, CreatedTimestamp: { type: "timestamp" } },
- },
- S2v: { type: "list", member: { shape: "S18" } },
- S31: { type: "structure", members: { TlsPolicy: {} } },
- S3c: { type: "list", member: {} },
- S3h: { type: "list", member: {} },
- S3w: { type: "list", member: {} },
- S54: { type: "list", member: {} },
- S5i: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Value"],
- members: { Name: {}, Value: {} },
- },
- },
- S5x: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Value"],
- members: { Name: {}, Value: {} },
- },
- },
- S64: {
- type: "structure",
- members: {
- ToAddresses: { shape: "S54" },
- CcAddresses: { shape: "S54" },
- BccAddresses: { shape: "S54" },
- },
- },
- S6e: {
- type: "structure",
- required: ["Data"],
- members: { Data: {}, Charset: {} },
- },
- },
- };
+ return (
+ url +
+ separator +
+ names
+ .map((name) => {
+ if (name === "q") {
+ return (
+ "q=" +
+ parameters.q.split("+").map(encodeURIComponent).join("+")
+ );
+ }
- /***/
- },
+ return `${name}=${encodeURIComponent(parameters[name])}`;
+ })
+ .join("&")
+ );
+ }
- /***/ 363: /***/ function (module) {
- module.exports = register;
+ const urlVariableRegex = /\{[^}]+\}/g;
- function register(state, name, method, options) {
- if (typeof method !== "function") {
- throw new Error("method for before hook must be a function");
- }
+ function removeNonChars(variableName) {
+ return variableName.replace(/^\W+|\W+$/g, "").split(/,/);
+ }
- if (!options) {
- options = {};
- }
+ function extractUrlVariableNames(url) {
+ const matches = url.match(urlVariableRegex);
- if (Array.isArray(name)) {
- return name.reverse().reduce(function (callback, name) {
- return register.bind(null, state, name, callback, options);
- }, method)();
+ if (!matches) {
+ return [];
}
- return Promise.resolve().then(function () {
- if (!state.registry[name]) {
- return method(options);
- }
-
- return state.registry[name].reduce(function (method, registered) {
- return registered.hook.bind(null, method, options);
- }, method)();
- });
+ return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);
}
- /***/
- },
+ function omit(object, keysToOmit) {
+ return Object.keys(object)
+ .filter((option) => !keysToOmit.includes(option))
+ .reduce((obj, key) => {
+ obj[key] = object[key];
+ return obj;
+ }, {});
+ }
- /***/ 370: /***/ function (module) {
- module.exports = {
- pagination: {
- ListApplicationStates: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ApplicationStateList",
- },
- ListCreatedArtifacts: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "CreatedArtifactList",
- },
- ListDiscoveredResources: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "DiscoveredResourceList",
- },
- ListMigrationTasks: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "MigrationTaskSummaryList",
- },
- ListProgressUpdateStreams: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ProgressUpdateStreamSummaryList",
- },
- },
- };
+ // 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, "]");
+ }
- /***/ 395: /***/ function (module, __unusedexports, __webpack_require__) {
- /**
- * The main AWS namespace
- */
- var AWS = { util: __webpack_require__(153) };
+ return part;
+ })
+ .join("");
+ }
- /**
- * @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
+ function encodeUnreserved(str) {
+ return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
+ return "%" + c.charCodeAt(0).toString(16).toUpperCase();
+ });
+ }
- /**
- * @api private
- */
- module.exports = AWS;
+ function encodeValue(operator, value, key) {
+ value =
+ operator === "+" || operator === "#"
+ ? encodeReserved(value)
+ : encodeUnreserved(value);
- AWS.util.update(AWS, {
- /**
- * @constant
- */
- VERSION: "2.654.0",
+ if (key) {
+ return encodeUnreserved(key) + "=" + value;
+ } else {
+ return value;
+ }
+ }
- /**
- * @api private
- */
- Signers: {},
+ function isDefined(value) {
+ return value !== undefined && value !== null;
+ }
- /**
- * @api private
- */
- Protocol: {
- Json: __webpack_require__(9912),
- Query: __webpack_require__(576),
- Rest: __webpack_require__(4618),
- RestJson: __webpack_require__(3315),
- RestXml: __webpack_require__(9002),
- },
+ function isKeyOperator(operator) {
+ return operator === ";" || operator === "&" || operator === "?";
+ }
- /**
- * @api private
- */
- XML: {
- Builder: __webpack_require__(2492),
- Parser: null, // conditionally set based on environment
- },
+ function getValues(context, operator, key, modifier) {
+ var value = context[key],
+ result = [];
- /**
- * @api private
- */
- JSON: {
- Builder: __webpack_require__(337),
- Parser: __webpack_require__(9806),
- },
+ if (isDefined(value) && value !== "") {
+ if (
+ typeof value === "string" ||
+ typeof value === "number" ||
+ typeof value === "boolean"
+ ) {
+ value = value.toString();
- /**
- * @api private
- */
- Model: {
- Api: __webpack_require__(7788),
- Operation: __webpack_require__(3964),
- Shape: __webpack_require__(3682),
- Paginator: __webpack_require__(6265),
- ResourceWaiter: __webpack_require__(3624),
- },
+ if (modifier && modifier !== "*") {
+ value = value.substring(0, parseInt(modifier, 10));
+ }
- /**
- * @api private
- */
- apiLoader: __webpack_require__(6165),
+ 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 = [];
- /**
- * @api private
- */
- EndpointCache: __webpack_require__(4120).EndpointCache,
- });
- __webpack_require__(8610);
- __webpack_require__(3503);
- __webpack_require__(3187);
- __webpack_require__(3711);
- __webpack_require__(8606);
- __webpack_require__(2453);
- __webpack_require__(9828);
- __webpack_require__(4904);
- __webpack_require__(7835);
- __webpack_require__(3977);
+ 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()));
+ }
+ });
+ }
- /**
- * @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();
+ if (isKeyOperator(operator)) {
+ result.push(encodeUnreserved(key) + "=" + tmp.join(","));
+ } else if (tmp.length !== 0) {
+ result.push(tmp.join(","));
+ }
+ }
+ }
+ } else {
+ if (operator === ";") {
+ if (isDefined(value)) {
+ result.push(encodeUnreserved(key));
+ }
+ } else if (value === "" && (operator === "&" || operator === "?")) {
+ result.push(encodeUnreserved(key) + "=");
+ } else if (value === "") {
+ result.push("");
+ }
+ }
- //create endpoint cache lazily
- AWS.util.memoizedProperty(
- AWS,
- "endpointCache",
- function () {
- return new AWS.EndpointCache(AWS.config.endpointCacheSize);
- },
- true
- );
+ return result;
+ }
- /***/
- },
+ function parseUrl(template) {
+ return {
+ expand: expand.bind(null, template),
+ };
+ }
- /***/ 398: /***/ function (module) {
- module.exports = {
- pagination: {
- ListJobsByPipeline: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- result_key: "Jobs",
- },
- ListJobsByStatus: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- result_key: "Jobs",
- },
- ListPipelines: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- result_key: "Pipelines",
- },
- ListPresets: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- result_key: "Presets",
+ function expand(template, context) {
+ var operators = ["+", "#", ".", "/", ";", "?", "&"];
+ return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, function (
+ _,
+ expression,
+ literal
+ ) {
+ if (expression) {
+ let operator = "";
+ const values = [];
+
+ if (operators.indexOf(expression.charAt(0)) !== -1) {
+ operator = expression.charAt(0);
+ expression = expression.substr(1);
+ }
+
+ expression.split(/,/g).forEach(function (variable) {
+ var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable);
+ values.push(
+ getValues(context, operator, tmp[1], tmp[2] || tmp[3])
+ );
+ });
+
+ if (operator && operator !== "+") {
+ var separator = ",";
+
+ if (operator === "?") {
+ separator = "&";
+ } else if (operator !== "#") {
+ separator = operator;
+ }
+
+ return (
+ (values.length !== 0 ? operator : "") + values.join(separator)
+ );
+ } else {
+ return values.join(",");
+ }
+ } else {
+ return encodeReserved(literal);
+ }
+ });
+ }
+
+ function parse(options) {
+ // https://fetch.spec.whatwg.org/#methods
+ let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible
+
+ let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{+$1}");
+ let headers = Object.assign({}, options.headers);
+ let body;
+ let parameters = omit(options, [
+ "method",
+ "baseUrl",
+ "url",
+ "headers",
+ "request",
+ "mediaType",
+ ]); // extract variable names from URL to calculate remaining variables later
+
+ const urlVariableNames = extractUrlVariableNames(url);
+ url = parseUrl(url).expand(parameters);
+
+ if (!/^http/.test(url)) {
+ url = options.baseUrl + url;
+ }
+
+ const omittedParameters = Object.keys(options)
+ .filter((option) => urlVariableNames.includes(option))
+ .concat("baseUrl");
+ const remainingParameters = omit(parameters, omittedParameters);
+ const isBinaryRequset = /application\/octet-stream/i.test(
+ headers.accept
+ );
+
+ if (!isBinaryRequset) {
+ if (options.mediaType.format) {
+ // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw
+ headers.accept = headers.accept
+ .split(/,/)
+ .map((preview) =>
+ preview.replace(
+ /application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,
+ `application/vnd$1$2.${options.mediaType.format}`
+ )
+ )
+ .join(",");
+ }
+
+ if (options.mediaType.previews.length) {
+ const previewsFromAcceptHeader =
+ headers.accept.match(/[\w-]+(?=-preview)/g) || [];
+ headers.accept = previewsFromAcceptHeader
+ .concat(options.mediaType.previews)
+ .map((preview) => {
+ const format = options.mediaType.format
+ ? `.${options.mediaType.format}`
+ : "+json";
+ return `application/vnd.github.${preview}-preview${format}`;
+ })
+ .join(",");
+ }
+ } // for GET/HEAD requests, set URL query parameters from remaining parameters
+ // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters
+
+ if (["GET", "HEAD"].includes(method)) {
+ url = addQueryParameters(url, remainingParameters);
+ } else {
+ if ("data" in remainingParameters) {
+ body = remainingParameters.data;
+ } else {
+ if (Object.keys(remainingParameters).length) {
+ body = remainingParameters;
+ } else {
+ headers["content-length"] = 0;
+ }
+ }
+ } // default content-type for JSON if body is set
+
+ if (!headers["content-type"] && typeof body !== "undefined") {
+ headers["content-type"] = "application/json; charset=utf-8";
+ } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.
+ // fetch does not allow to set `content-length` header, but we can set body to an empty string
+
+ if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") {
+ body = "";
+ } // Only return body/request keys if present
+
+ return Object.assign(
+ {
+ method,
+ url,
+ headers,
},
+ typeof body !== "undefined"
+ ? {
+ body,
+ }
+ : null,
+ options.request
+ ? {
+ request: options.request,
+ }
+ : null
+ );
+ }
+
+ function endpointWithDefaults(defaults, route, options) {
+ return parse(merge(defaults, route, options));
+ }
+
+ function withDefaults(oldDefaults, newDefaults) {
+ const DEFAULTS = merge(oldDefaults, newDefaults);
+ const endpoint = endpointWithDefaults.bind(null, DEFAULTS);
+ return Object.assign(endpoint, {
+ DEFAULTS,
+ defaults: withDefaults.bind(null, DEFAULTS),
+ merge: merge.bind(null, DEFAULTS),
+ parse,
+ });
+ }
+
+ const VERSION = "6.0.0";
+
+ const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url.
+ // So we use RequestParameters and add method as additional required property.
+
+ const DEFAULTS = {
+ method: "GET",
+ baseUrl: "https://api.github.com",
+ headers: {
+ accept: "application/vnd.github.v3+json",
+ "user-agent": userAgent,
+ },
+ mediaType: {
+ format: "",
+ previews: [],
},
};
+ const endpoint = withDefaults(null, DEFAULTS);
+
+ exports.endpoint = endpoint;
+ //# sourceMappingURL=index.js.map
+
/***/
},
- /***/ 404: /***/ function (module, __unusedexports, __webpack_require__) {
- var escapeAttribute = __webpack_require__(8918).escapeAttribute;
+ /***/ 11292: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
- /**
- * Represents an XML node.
- * @api private
- */
- function XmlNode(name, children) {
- if (children === void 0) {
- children = [];
- }
- this.name = name;
- this.children = children;
- this.attributes = {};
+ Object.defineProperty(exports, "__esModule", { value: true });
+
+ function _interopDefault(ex) {
+ return ex && typeof ex === "object" && "default" in ex
+ ? ex["default"]
+ : ex;
}
- XmlNode.prototype.addAttribute = function (name, value) {
- this.attributes[name] = value;
- return this;
- };
- XmlNode.prototype.addChildNode = function (child) {
- this.children.push(child);
- return this;
- };
- XmlNode.prototype.removeAttribute = function (name) {
- delete this.attributes[name];
- return this;
- };
- XmlNode.prototype.toString = function () {
- var hasChildren = Boolean(this.children.length);
- var xmlText = "<" + this.name;
- // add attributes
- var attributes = this.attributes;
- for (
- var i = 0, attributeNames = Object.keys(attributes);
- i < attributeNames.length;
- i++
- ) {
- var attributeName = attributeNames[i];
- var attribute = attributes[attributeName];
- if (typeof attribute !== "undefined" && attribute !== null) {
- xmlText +=
- " " +
- attributeName +
- '="' +
- escapeAttribute("" + attribute) +
- '"';
+
+ var osName = _interopDefault(__nccwpck_require__(54824));
+
+ function getUserAgent() {
+ try {
+ return `Node.js/${process.version.substr(1)} (${osName()}; ${
+ process.arch
+ })`;
+ } catch (error) {
+ if (/wmic os get Caption/.test(error.message)) {
+ return "Windows ";
}
+
+ return "";
}
- return (xmlText += !hasChildren
- ? "/>"
- : ">" +
- this.children
- .map(function (c) {
- return c.toString();
- })
- .join("") +
- "" +
- this.name +
- ">");
- };
+ }
- /**
- * @api private
- */
- module.exports = {
- XmlNode: XmlNode,
- };
+ exports.getUserAgent = getUserAgent;
+ //# sourceMappingURL=index.js.map
/***/
},
- /***/ 408: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
+ /***/ 88467: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
- apiLoader.services["rdsdataservice"] = {};
- AWS.RDSDataService = Service.defineService("rdsdataservice", [
- "2018-08-01",
- ]);
- __webpack_require__(2450);
- Object.defineProperty(
- apiLoader.services["rdsdataservice"],
- "2018-08-01",
- {
- get: function get() {
- var model = __webpack_require__(8192);
- model.paginators = __webpack_require__(8828).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
+ Object.defineProperty(exports, "__esModule", { value: true });
+
+ var request = __nccwpck_require__(36234);
+ var universalUserAgent = __nccwpck_require__(45030);
+
+ const VERSION = "4.3.1";
+
+ class GraphqlError extends Error {
+ constructor(request, response) {
+ const message = response.data.errors[0].message;
+ super(message);
+ Object.assign(this, response.data);
+ this.name = "GraphqlError";
+ this.request = request; // Maintains proper stack trace (only available on V8)
+
+ /* istanbul ignore next */
+
+ if (Error.captureStackTrace) {
+ Error.captureStackTrace(this, this.constructor);
+ }
}
- );
+ }
- module.exports = AWS.RDSDataService;
+ const NON_VARIABLE_OPTIONS = [
+ "method",
+ "baseUrl",
+ "url",
+ "headers",
+ "request",
+ "query",
+ ];
+ function graphql(request, query, options) {
+ options =
+ typeof query === "string"
+ ? (options = Object.assign(
+ {
+ query,
+ },
+ options
+ ))
+ : (options = query);
+ const requestOptions = Object.keys(options).reduce((result, key) => {
+ if (NON_VARIABLE_OPTIONS.includes(key)) {
+ result[key] = options[key];
+ return result;
+ }
- /***/
- },
+ if (!result.variables) {
+ result.variables = {};
+ }
+
+ result.variables[key] = options[key];
+ return result;
+ }, {});
+ return request(requestOptions).then((response) => {
+ if (response.data.errors) {
+ throw new GraphqlError(requestOptions, {
+ data: response.data,
+ });
+ }
- /***/ 422: /***/ function (module) {
- module.exports = { pagination: {} };
+ return response.data.data;
+ });
+ }
+
+ function withDefaults(request$1, newDefaults) {
+ const newRequest = request$1.defaults(newDefaults);
+
+ const newApi = (query, options) => {
+ return graphql(newRequest, query, options);
+ };
+
+ return Object.assign(newApi, {
+ defaults: withDefaults.bind(null, newRequest),
+ endpoint: request.request.endpoint,
+ });
+ }
+
+ const graphql$1 = withDefaults(request.request, {
+ headers: {
+ "user-agent": `octokit-graphql.js/${VERSION} ${universalUserAgent.getUserAgent()}`,
+ },
+ method: "POST",
+ url: "/graphql",
+ });
+ function withCustomRequest(customRequest) {
+ return withDefaults(customRequest, {
+ method: "POST",
+ url: "/graphql",
+ });
+ }
+
+ exports.graphql = graphql$1;
+ exports.withCustomRequest = withCustomRequest;
+ //# sourceMappingURL=index.js.map
/***/
},
- /***/ 437: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2009-03-31",
- endpointPrefix: "elasticmapreduce",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "Amazon EMR",
- serviceFullName: "Amazon Elastic MapReduce",
- serviceId: "EMR",
- signatureVersion: "v4",
- targetPrefix: "ElasticMapReduce",
- uid: "elasticmapreduce-2009-03-31",
- },
- operations: {
- AddInstanceFleet: {
- input: {
- type: "structure",
- required: ["ClusterId", "InstanceFleet"],
- members: { ClusterId: {}, InstanceFleet: { shape: "S3" } },
- },
- output: {
- type: "structure",
- members: { ClusterId: {}, InstanceFleetId: {}, ClusterArn: {} },
- },
- },
- AddInstanceGroups: {
- input: {
- type: "structure",
- required: ["InstanceGroups", "JobFlowId"],
- members: { InstanceGroups: { shape: "Sr" }, JobFlowId: {} },
- },
- output: {
- type: "structure",
- members: {
- JobFlowId: {},
- InstanceGroupIds: { type: "list", member: {} },
- ClusterArn: {},
- },
- },
- },
- AddJobFlowSteps: {
- input: {
- type: "structure",
- required: ["JobFlowId", "Steps"],
- members: { JobFlowId: {}, Steps: { shape: "S1c" } },
- },
- output: {
- type: "structure",
- members: { StepIds: { shape: "S1l" } },
- },
- },
- AddTags: {
- input: {
- type: "structure",
- required: ["ResourceId", "Tags"],
- members: { ResourceId: {}, Tags: { shape: "S1o" } },
- },
- output: { type: "structure", members: {} },
- },
- CancelSteps: {
- input: {
- type: "structure",
- required: ["ClusterId", "StepIds"],
- members: {
- ClusterId: {},
- StepIds: { shape: "S1l" },
- StepCancellationOption: {},
- },
- },
- output: {
- type: "structure",
- members: {
- CancelStepsInfoList: {
- type: "list",
- member: {
- type: "structure",
- members: { StepId: {}, Status: {}, Reason: {} },
- },
- },
- },
- },
- },
- CreateSecurityConfiguration: {
- input: {
- type: "structure",
- required: ["Name", "SecurityConfiguration"],
- members: { Name: {}, SecurityConfiguration: {} },
- },
- output: {
- type: "structure",
- required: ["Name", "CreationDateTime"],
- members: { Name: {}, CreationDateTime: { type: "timestamp" } },
- },
- },
- DeleteSecurityConfiguration: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: { type: "structure", members: {} },
+ /***/ 64193: /***/ (__unused_webpack_module, exports) => {
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", { value: true });
+
+ const VERSION = "1.1.2";
+
+ /**
+ * 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:
+ *
+ * - https://developer.github.com/v3/search/#example (key `items`)
+ * - https://developer.github.com/v3/checks/runs/#response-3 (key: `check_runs`)
+ * - https://developer.github.com/v3/checks/suites/#response-1 (key: `check_suites`)
+ * - https://developer.github.com/v3/apps/installations/#list-repositories (key: `repositories`)
+ * - https://developer.github.com/v3/apps/installations/#list-installations-for-a-user (key `installations`)
+ *
+ * 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. For the exceptions with the namespace, a fallback check for the route
+ * paths has to be added in order to normalize the response. We cannot check for the total_count
+ * property because it also exists in the response of Get the combined status for a specific ref.
+ */
+ const REGEX = [
+ /^\/search\//,
+ /^\/repos\/[^/]+\/[^/]+\/commits\/[^/]+\/(check-runs|check-suites)([^/]|$)/,
+ /^\/installation\/repositories([^/]|$)/,
+ /^\/user\/installations([^/]|$)/,
+ /^\/repos\/[^/]+\/[^/]+\/actions\/secrets([^/]|$)/,
+ /^\/repos\/[^/]+\/[^/]+\/actions\/workflows(\/[^/]+\/runs)?([^/]|$)/,
+ /^\/repos\/[^/]+\/[^/]+\/actions\/runs(\/[^/]+\/(artifacts|jobs))?([^/]|$)/,
+ ];
+ function normalizePaginatedListResponse(octokit, url, response) {
+ const path = url.replace(octokit.request.endpoint.DEFAULTS.baseUrl, "");
+ const responseNeedsNormalization = REGEX.find((regex) =>
+ regex.test(path)
+ );
+ if (!responseNeedsNormalization) return; // keep the additional properties intact as there is currently no other way
+ // to retrieve the same information.
+
+ const incompleteResults = response.data.incomplete_results;
+ const repositorySelection = response.data.repository_selection;
+ const totalCount = response.data.total_count;
+ delete response.data.incomplete_results;
+ delete response.data.repository_selection;
+ delete response.data.total_count;
+ const namespaceKey = Object.keys(response.data)[0];
+ const data = response.data[namespaceKey];
+ response.data = data;
+
+ if (typeof incompleteResults !== "undefined") {
+ response.data.incomplete_results = incompleteResults;
+ }
+
+ if (typeof repositorySelection !== "undefined") {
+ response.data.repository_selection = repositorySelection;
+ }
+
+ response.data.total_count = totalCount;
+ Object.defineProperty(response.data, namespaceKey, {
+ get() {
+ octokit.log.warn(
+ `[@octokit/paginate-rest] "response.data.${namespaceKey}" is deprecated for "GET ${path}". Get the results directly from "response.data"`
+ );
+ return Array.from(data);
},
- DescribeCluster: {
- input: {
- type: "structure",
- required: ["ClusterId"],
- members: { ClusterId: {} },
- },
- output: {
- type: "structure",
- members: {
- Cluster: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Status: { shape: "S27" },
- Ec2InstanceAttributes: {
- type: "structure",
- members: {
- Ec2KeyName: {},
- Ec2SubnetId: {},
- RequestedEc2SubnetIds: { shape: "S2d" },
- Ec2AvailabilityZone: {},
- RequestedEc2AvailabilityZones: { shape: "S2d" },
- IamInstanceProfile: {},
- EmrManagedMasterSecurityGroup: {},
- EmrManagedSlaveSecurityGroup: {},
- ServiceAccessSecurityGroup: {},
- AdditionalMasterSecurityGroups: { shape: "S2e" },
- AdditionalSlaveSecurityGroups: { shape: "S2e" },
- },
- },
- InstanceCollectionType: {},
- LogUri: {},
- RequestedAmiVersion: {},
- RunningAmiVersion: {},
- ReleaseLabel: {},
- AutoTerminate: { type: "boolean" },
- TerminationProtected: { type: "boolean" },
- VisibleToAllUsers: { type: "boolean" },
- Applications: { shape: "S2h" },
- Tags: { shape: "S1o" },
- ServiceRole: {},
- NormalizedInstanceHours: { type: "integer" },
- MasterPublicDnsName: {},
- Configurations: { shape: "Sh" },
- SecurityConfiguration: {},
- AutoScalingRole: {},
- ScaleDownBehavior: {},
- CustomAmiId: {},
- EbsRootVolumeSize: { type: "integer" },
- RepoUpgradeOnBoot: {},
- KerberosAttributes: { shape: "S2l" },
- ClusterArn: {},
- StepConcurrencyLevel: { type: "integer" },
- OutpostArn: {},
- },
- },
- },
+ });
+ }
+
+ function iterator(octokit, route, parameters) {
+ const options = octokit.request.endpoint(route, parameters);
+ const method = options.method;
+ const headers = options.headers;
+ let url = options.url;
+ return {
+ [Symbol.asyncIterator]: () => ({
+ next() {
+ if (!url) {
+ return Promise.resolve({
+ done: true,
+ });
+ }
+
+ return octokit
+ .request({
+ method,
+ url,
+ headers,
+ })
+ .then((response) => {
+ normalizePaginatedListResponse(octokit, url, 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 = ((response.headers.link || "").match(
+ /<([^>]+)>;\s*rel="next"/
+ ) || [])[1];
+ return {
+ value: response,
+ };
+ });
},
- },
- DescribeJobFlows: {
- input: {
- type: "structure",
- members: {
- CreatedAfter: { type: "timestamp" },
- CreatedBefore: { type: "timestamp" },
- JobFlowIds: { shape: "S1j" },
- JobFlowStates: { type: "list", member: {} },
+ }),
+ };
+ }
+
+ function paginate(octokit, route, parameters, mapFn) {
+ if (typeof parameters === "function") {
+ mapFn = parameters;
+ parameters = undefined;
+ }
+
+ return gather(
+ octokit,
+ [],
+ iterator(octokit, route, parameters)[Symbol.asyncIterator](),
+ mapFn
+ );
+ }
+
+ function gather(octokit, results, iterator, mapFn) {
+ return iterator.next().then((result) => {
+ if (result.done) {
+ return results;
+ }
+
+ let earlyExit = false;
+
+ function done() {
+ earlyExit = true;
+ }
+
+ results = results.concat(
+ mapFn ? mapFn(result.value, done) : result.value.data
+ );
+
+ if (earlyExit) {
+ return results;
+ }
+
+ return gather(octokit, results, iterator, mapFn);
+ });
+ }
+
+ /**
+ * @param octokit Octokit instance
+ * @param options Options passed to Octokit constructor
+ */
+
+ function paginateRest(octokit) {
+ return {
+ paginate: Object.assign(paginate.bind(null, octokit), {
+ iterator: iterator.bind(null, octokit),
+ }),
+ };
+ }
+ paginateRest.VERSION = VERSION;
+
+ exports.paginateRest = paginateRest;
+ //# sourceMappingURL=index.js.map
+
+ /***/
+ },
+
+ /***/ 68883: /***/ (__unused_webpack_module, exports) => {
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", { value: true });
+
+ const VERSION = "1.0.0";
+
+ /**
+ * @param octokit Octokit instance
+ * @param options Options passed to Octokit constructor
+ */
+
+ function requestLog(octokit) {
+ octokit.hook.wrap("request", (request, options) => {
+ octokit.log.debug("request", options);
+ const start = Date.now();
+ const requestOptions = octokit.request.endpoint.parse(options);
+ const path = requestOptions.url.replace(options.baseUrl, "");
+ return request(options)
+ .then((response) => {
+ octokit.log.info(
+ `${requestOptions.method} ${path} - ${response.status} in ${
+ Date.now() - start
+ }ms`
+ );
+ return response;
+ })
+ .catch((error) => {
+ octokit.log.info(
+ `${requestOptions.method} ${path} - ${error.status} in ${
+ Date.now() - start
+ }ms`
+ );
+ throw error;
+ });
+ });
+ }
+ requestLog.VERSION = VERSION;
+
+ exports.requestLog = requestLog;
+ //# sourceMappingURL=index.js.map
+
+ /***/
+ },
+
+ /***/ 83044: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", { value: true });
+
+ var deprecation = __nccwpck_require__(58932);
+
+ var endpointsByScope = {
+ actions: {
+ cancelWorkflowRun: {
+ method: "POST",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- JobFlows: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "JobFlowId",
- "Name",
- "ExecutionStatusDetail",
- "Instances",
- ],
- members: {
- JobFlowId: {},
- Name: {},
- LogUri: {},
- AmiVersion: {},
- ExecutionStatusDetail: {
- type: "structure",
- required: ["State", "CreationDateTime"],
- members: {
- State: {},
- CreationDateTime: { type: "timestamp" },
- StartDateTime: { type: "timestamp" },
- ReadyDateTime: { type: "timestamp" },
- EndDateTime: { type: "timestamp" },
- LastStateChangeReason: {},
- },
- },
- Instances: {
- type: "structure",
- required: [
- "MasterInstanceType",
- "SlaveInstanceType",
- "InstanceCount",
- ],
- members: {
- MasterInstanceType: {},
- MasterPublicDnsName: {},
- MasterInstanceId: {},
- SlaveInstanceType: {},
- InstanceCount: { type: "integer" },
- InstanceGroups: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "Market",
- "InstanceRole",
- "InstanceType",
- "InstanceRequestCount",
- "InstanceRunningCount",
- "State",
- "CreationDateTime",
- ],
- members: {
- InstanceGroupId: {},
- Name: {},
- Market: {},
- InstanceRole: {},
- BidPrice: {},
- InstanceType: {},
- InstanceRequestCount: { type: "integer" },
- InstanceRunningCount: { type: "integer" },
- State: {},
- LastStateChangeReason: {},
- CreationDateTime: { type: "timestamp" },
- StartDateTime: { type: "timestamp" },
- ReadyDateTime: { type: "timestamp" },
- EndDateTime: { type: "timestamp" },
- },
- },
- },
- NormalizedInstanceHours: { type: "integer" },
- Ec2KeyName: {},
- Ec2SubnetId: {},
- Placement: { shape: "S2y" },
- KeepJobFlowAliveWhenNoSteps: { type: "boolean" },
- TerminationProtected: { type: "boolean" },
- HadoopVersion: {},
- },
- },
- Steps: {
- type: "list",
- member: {
- type: "structure",
- required: ["StepConfig", "ExecutionStatusDetail"],
- members: {
- StepConfig: { shape: "S1d" },
- ExecutionStatusDetail: {
- type: "structure",
- required: ["State", "CreationDateTime"],
- members: {
- State: {},
- CreationDateTime: { type: "timestamp" },
- StartDateTime: { type: "timestamp" },
- EndDateTime: { type: "timestamp" },
- LastStateChangeReason: {},
- },
- },
- },
- },
- },
- BootstrapActions: {
- type: "list",
- member: {
- type: "structure",
- members: { BootstrapActionConfig: { shape: "S35" } },
- },
- },
- SupportedProducts: { shape: "S37" },
- VisibleToAllUsers: { type: "boolean" },
- JobFlowRole: {},
- ServiceRole: {},
- AutoScalingRole: {},
- ScaleDownBehavior: {},
- },
- },
- },
+ repo: {
+ required: true,
+ type: "string",
},
- },
- deprecated: true,
- },
- DescribeSecurityConfiguration: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: {
- type: "structure",
- members: {
- Name: {},
- SecurityConfiguration: {},
- CreationDateTime: { type: "timestamp" },
+ run_id: {
+ required: true,
+ type: "integer",
},
},
+ url: "/repos/:owner/:repo/actions/runs/:run_id/cancel",
},
- DescribeStep: {
- input: {
- type: "structure",
- required: ["ClusterId", "StepId"],
- members: { ClusterId: {}, StepId: {} },
- },
- output: {
- type: "structure",
- members: {
- Step: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Config: { shape: "S3d" },
- ActionOnFailure: {},
- Status: { shape: "S3e" },
- },
- },
+ createOrUpdateSecretForRepo: {
+ method: "PUT",
+ params: {
+ encrypted_value: {
+ type: "string",
},
- },
- },
- GetBlockPublicAccessConfiguration: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- required: [
- "BlockPublicAccessConfiguration",
- "BlockPublicAccessConfigurationMetadata",
- ],
- members: {
- BlockPublicAccessConfiguration: { shape: "S3m" },
- BlockPublicAccessConfigurationMetadata: {
- type: "structure",
- required: ["CreationDateTime", "CreatedByArn"],
- members: {
- CreationDateTime: { type: "timestamp" },
- CreatedByArn: {},
- },
- },
+ key_id: {
+ type: "string",
},
- },
- },
- ListBootstrapActions: {
- input: {
- type: "structure",
- required: ["ClusterId"],
- members: { ClusterId: {}, Marker: {} },
- },
- output: {
- type: "structure",
- members: {
- BootstrapActions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- ScriptPath: {},
- Args: { shape: "S2e" },
- },
- },
- },
- Marker: {},
+ name: {
+ required: true,
+ type: "string",
},
- },
- },
- ListClusters: {
- input: {
- type: "structure",
- members: {
- CreatedAfter: { type: "timestamp" },
- CreatedBefore: { type: "timestamp" },
- ClusterStates: { type: "list", member: {} },
- Marker: {},
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- Clusters: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Status: { shape: "S27" },
- NormalizedInstanceHours: { type: "integer" },
- ClusterArn: {},
- OutpostArn: {},
- },
- },
- },
- Marker: {},
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/actions/secrets/:name",
},
- ListInstanceFleets: {
- input: {
- type: "structure",
- required: ["ClusterId"],
- members: { ClusterId: {}, Marker: {} },
- },
- output: {
- type: "structure",
- members: {
- InstanceFleets: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Status: {
- type: "structure",
- members: {
- State: {},
- StateChangeReason: {
- type: "structure",
- members: { Code: {}, Message: {} },
- },
- Timeline: {
- type: "structure",
- members: {
- CreationDateTime: { type: "timestamp" },
- ReadyDateTime: { type: "timestamp" },
- EndDateTime: { type: "timestamp" },
- },
- },
- },
- },
- InstanceFleetType: {},
- TargetOnDemandCapacity: { type: "integer" },
- TargetSpotCapacity: { type: "integer" },
- ProvisionedOnDemandCapacity: { type: "integer" },
- ProvisionedSpotCapacity: { type: "integer" },
- InstanceTypeSpecifications: {
- type: "list",
- member: {
- type: "structure",
- members: {
- InstanceType: {},
- WeightedCapacity: { type: "integer" },
- BidPrice: {},
- BidPriceAsPercentageOfOnDemandPrice: {
- type: "double",
- },
- Configurations: { shape: "Sh" },
- EbsBlockDevices: { shape: "S4c" },
- EbsOptimized: { type: "boolean" },
- },
- },
- },
- LaunchSpecifications: { shape: "Sk" },
- },
- },
- },
- Marker: {},
+ createRegistrationToken: {
+ method: "POST",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- },
- },
- ListInstanceGroups: {
- input: {
- type: "structure",
- required: ["ClusterId"],
- members: { ClusterId: {}, Marker: {} },
- },
- output: {
- type: "structure",
- members: {
- InstanceGroups: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Market: {},
- InstanceGroupType: {},
- BidPrice: {},
- InstanceType: {},
- RequestedInstanceCount: { type: "integer" },
- RunningInstanceCount: { type: "integer" },
- Status: {
- type: "structure",
- members: {
- State: {},
- StateChangeReason: {
- type: "structure",
- members: { Code: {}, Message: {} },
- },
- Timeline: {
- type: "structure",
- members: {
- CreationDateTime: { type: "timestamp" },
- ReadyDateTime: { type: "timestamp" },
- EndDateTime: { type: "timestamp" },
- },
- },
- },
- },
- Configurations: { shape: "Sh" },
- ConfigurationsVersion: { type: "long" },
- LastSuccessfullyAppliedConfigurations: { shape: "Sh" },
- LastSuccessfullyAppliedConfigurationsVersion: {
- type: "long",
- },
- EbsBlockDevices: { shape: "S4c" },
- EbsOptimized: { type: "boolean" },
- ShrinkPolicy: { shape: "S4p" },
- AutoScalingPolicy: { shape: "S4t" },
- },
- },
- },
- Marker: {},
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/actions/runners/registration-token",
},
- ListInstances: {
- input: {
- type: "structure",
- required: ["ClusterId"],
- members: {
- ClusterId: {},
- InstanceGroupId: {},
- InstanceGroupTypes: { type: "list", member: {} },
- InstanceFleetId: {},
- InstanceFleetType: {},
- InstanceStates: { type: "list", member: {} },
- Marker: {},
+ createRemoveToken: {
+ method: "POST",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- Instances: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Ec2InstanceId: {},
- PublicDnsName: {},
- PublicIpAddress: {},
- PrivateDnsName: {},
- PrivateIpAddress: {},
- Status: {
- type: "structure",
- members: {
- State: {},
- StateChangeReason: {
- type: "structure",
- members: { Code: {}, Message: {} },
- },
- Timeline: {
- type: "structure",
- members: {
- CreationDateTime: { type: "timestamp" },
- ReadyDateTime: { type: "timestamp" },
- EndDateTime: { type: "timestamp" },
- },
- },
- },
- },
- InstanceGroupId: {},
- InstanceFleetId: {},
- Market: {},
- InstanceType: {},
- EbsVolumes: {
- type: "list",
- member: {
- type: "structure",
- members: { Device: {}, VolumeId: {} },
- },
- },
- },
- },
- },
- Marker: {},
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/actions/runners/remove-token",
},
- ListSecurityConfigurations: {
- input: { type: "structure", members: { Marker: {} } },
- output: {
- type: "structure",
- members: {
- SecurityConfigurations: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- CreationDateTime: { type: "timestamp" },
- },
- },
- },
- Marker: {},
+ deleteArtifact: {
+ method: "DELETE",
+ params: {
+ artifact_id: {
+ required: true,
+ type: "integer",
},
- },
- },
- ListSteps: {
- input: {
- type: "structure",
- required: ["ClusterId"],
- members: {
- ClusterId: {},
- StepStates: { type: "list", member: {} },
- StepIds: { shape: "S1j" },
- Marker: {},
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- Steps: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Config: { shape: "S3d" },
- ActionOnFailure: {},
- Status: { shape: "S3e" },
- },
- },
- },
- Marker: {},
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/actions/artifacts/:artifact_id",
},
- ModifyCluster: {
- input: {
- type: "structure",
- required: ["ClusterId"],
- members: {
- ClusterId: {},
- StepConcurrencyLevel: { type: "integer" },
+ deleteSecretFromRepo: {
+ method: "DELETE",
+ params: {
+ name: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: { StepConcurrencyLevel: { type: "integer" } },
- },
- },
- ModifyInstanceFleet: {
- input: {
- type: "structure",
- required: ["ClusterId", "InstanceFleet"],
- members: {
- ClusterId: {},
- InstanceFleet: {
- type: "structure",
- required: ["InstanceFleetId"],
- members: {
- InstanceFleetId: {},
- TargetOnDemandCapacity: { type: "integer" },
- TargetSpotCapacity: { type: "integer" },
- },
- },
+ owner: {
+ required: true,
+ type: "string",
},
- },
- },
- ModifyInstanceGroups: {
- input: {
- type: "structure",
- members: {
- ClusterId: {},
- InstanceGroups: {
- type: "list",
- member: {
- type: "structure",
- required: ["InstanceGroupId"],
- members: {
- InstanceGroupId: {},
- InstanceCount: { type: "integer" },
- EC2InstanceIdsToTerminate: { type: "list", member: {} },
- ShrinkPolicy: { shape: "S4p" },
- Configurations: { shape: "Sh" },
- },
- },
- },
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/actions/secrets/:name",
},
- PutAutoScalingPolicy: {
- input: {
- type: "structure",
- required: ["ClusterId", "InstanceGroupId", "AutoScalingPolicy"],
- members: {
- ClusterId: {},
- InstanceGroupId: {},
- AutoScalingPolicy: { shape: "Sv" },
+ downloadArtifact: {
+ method: "GET",
+ params: {
+ archive_format: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- ClusterId: {},
- InstanceGroupId: {},
- AutoScalingPolicy: { shape: "S4t" },
- ClusterArn: {},
+ artifact_id: {
+ required: true,
+ type: "integer",
},
- },
- },
- PutBlockPublicAccessConfiguration: {
- input: {
- type: "structure",
- required: ["BlockPublicAccessConfiguration"],
- members: { BlockPublicAccessConfiguration: { shape: "S3m" } },
- },
- output: { type: "structure", members: {} },
- },
- RemoveAutoScalingPolicy: {
- input: {
- type: "structure",
- required: ["ClusterId", "InstanceGroupId"],
- members: { ClusterId: {}, InstanceGroupId: {} },
- },
- output: { type: "structure", members: {} },
- },
- RemoveTags: {
- input: {
- type: "structure",
- required: ["ResourceId", "TagKeys"],
- members: { ResourceId: {}, TagKeys: { shape: "S2e" } },
- },
- output: { type: "structure", members: {} },
- },
- RunJobFlow: {
- input: {
- type: "structure",
- required: ["Name", "Instances"],
- members: {
- Name: {},
- LogUri: {},
- AdditionalInfo: {},
- AmiVersion: {},
- ReleaseLabel: {},
- Instances: {
- type: "structure",
- members: {
- MasterInstanceType: {},
- SlaveInstanceType: {},
- InstanceCount: { type: "integer" },
- InstanceGroups: { shape: "Sr" },
- InstanceFleets: { type: "list", member: { shape: "S3" } },
- Ec2KeyName: {},
- Placement: { shape: "S2y" },
- KeepJobFlowAliveWhenNoSteps: { type: "boolean" },
- TerminationProtected: { type: "boolean" },
- HadoopVersion: {},
- Ec2SubnetId: {},
- Ec2SubnetIds: { shape: "S2d" },
- EmrManagedMasterSecurityGroup: {},
- EmrManagedSlaveSecurityGroup: {},
- ServiceAccessSecurityGroup: {},
- AdditionalMasterSecurityGroups: { shape: "S63" },
- AdditionalSlaveSecurityGroups: { shape: "S63" },
- },
- },
- Steps: { shape: "S1c" },
- BootstrapActions: { type: "list", member: { shape: "S35" } },
- SupportedProducts: { shape: "S37" },
- NewSupportedProducts: {
- type: "list",
- member: {
- type: "structure",
- members: { Name: {}, Args: { shape: "S1j" } },
- },
- },
- Applications: { shape: "S2h" },
- Configurations: { shape: "Sh" },
- VisibleToAllUsers: { type: "boolean" },
- JobFlowRole: {},
- ServiceRole: {},
- Tags: { shape: "S1o" },
- SecurityConfiguration: {},
- AutoScalingRole: {},
- ScaleDownBehavior: {},
- CustomAmiId: {},
- EbsRootVolumeSize: { type: "integer" },
- RepoUpgradeOnBoot: {},
- KerberosAttributes: { shape: "S2l" },
- StepConcurrencyLevel: { type: "integer" },
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: { JobFlowId: {}, ClusterArn: {} },
- },
- },
- SetTerminationProtection: {
- input: {
- type: "structure",
- required: ["JobFlowIds", "TerminationProtected"],
- members: {
- JobFlowIds: { shape: "S1j" },
- TerminationProtected: { type: "boolean" },
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url:
+ "/repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format",
},
- SetVisibleToAllUsers: {
- input: {
- type: "structure",
- required: ["JobFlowIds", "VisibleToAllUsers"],
- members: {
- JobFlowIds: { shape: "S1j" },
- VisibleToAllUsers: { type: "boolean" },
+ getArtifact: {
+ method: "GET",
+ params: {
+ artifact_id: {
+ required: true,
+ type: "integer",
},
- },
- },
- TerminateJobFlows: {
- input: {
- type: "structure",
- required: ["JobFlowIds"],
- members: { JobFlowIds: { shape: "S1j" } },
- },
- },
- },
- shapes: {
- S3: {
- type: "structure",
- required: ["InstanceFleetType"],
- members: {
- Name: {},
- InstanceFleetType: {},
- TargetOnDemandCapacity: { type: "integer" },
- TargetSpotCapacity: { type: "integer" },
- InstanceTypeConfigs: {
- type: "list",
- member: {
- type: "structure",
- required: ["InstanceType"],
- members: {
- InstanceType: {},
- WeightedCapacity: { type: "integer" },
- BidPrice: {},
- BidPriceAsPercentageOfOnDemandPrice: { type: "double" },
- EbsConfiguration: { shape: "Sa" },
- Configurations: { shape: "Sh" },
- },
- },
+ owner: {
+ required: true,
+ type: "string",
},
- LaunchSpecifications: { shape: "Sk" },
- },
- },
- Sa: {
- type: "structure",
- members: {
- EbsBlockDeviceConfigs: {
- type: "list",
- member: {
- type: "structure",
- required: ["VolumeSpecification"],
- members: {
- VolumeSpecification: { shape: "Sd" },
- VolumesPerInstance: { type: "integer" },
- },
- },
+ repo: {
+ required: true,
+ type: "string",
},
- EbsOptimized: { type: "boolean" },
- },
- },
- Sd: {
- type: "structure",
- required: ["VolumeType", "SizeInGB"],
- members: {
- VolumeType: {},
- Iops: { type: "integer" },
- SizeInGB: { type: "integer" },
},
+ url: "/repos/:owner/:repo/actions/artifacts/:artifact_id",
},
- Sh: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Classification: {},
- Configurations: { shape: "Sh" },
- Properties: { shape: "Sj" },
+ getPublicKey: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- },
- },
- Sj: { type: "map", key: {}, value: {} },
- Sk: {
- type: "structure",
- required: ["SpotSpecification"],
- members: {
- SpotSpecification: {
- type: "structure",
- required: ["TimeoutDurationMinutes", "TimeoutAction"],
- members: {
- TimeoutDurationMinutes: { type: "integer" },
- TimeoutAction: {},
- BlockDurationMinutes: { type: "integer" },
- },
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/actions/secrets/public-key",
},
- Sr: {
- type: "list",
- member: {
- type: "structure",
- required: ["InstanceRole", "InstanceType", "InstanceCount"],
- members: {
- Name: {},
- Market: {},
- InstanceRole: {},
- BidPrice: {},
- InstanceType: {},
- InstanceCount: { type: "integer" },
- Configurations: { shape: "Sh" },
- EbsConfiguration: { shape: "Sa" },
- AutoScalingPolicy: { shape: "Sv" },
+ getSecret: {
+ method: "GET",
+ params: {
+ name: {
+ required: true,
+ type: "string",
},
- },
- },
- Sv: {
- type: "structure",
- required: ["Constraints", "Rules"],
- members: { Constraints: { shape: "Sw" }, Rules: { shape: "Sx" } },
- },
- Sw: {
- type: "structure",
- required: ["MinCapacity", "MaxCapacity"],
- members: {
- MinCapacity: { type: "integer" },
- MaxCapacity: { type: "integer" },
- },
- },
- Sx: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Action", "Trigger"],
- members: {
- Name: {},
- Description: {},
- Action: {
- type: "structure",
- required: ["SimpleScalingPolicyConfiguration"],
- members: {
- Market: {},
- SimpleScalingPolicyConfiguration: {
- type: "structure",
- required: ["ScalingAdjustment"],
- members: {
- AdjustmentType: {},
- ScalingAdjustment: { type: "integer" },
- CoolDown: { type: "integer" },
- },
- },
- },
- },
- Trigger: {
- type: "structure",
- required: ["CloudWatchAlarmDefinition"],
- members: {
- CloudWatchAlarmDefinition: {
- type: "structure",
- required: [
- "ComparisonOperator",
- "MetricName",
- "Period",
- "Threshold",
- ],
- members: {
- ComparisonOperator: {},
- EvaluationPeriods: { type: "integer" },
- MetricName: {},
- Namespace: {},
- Period: { type: "integer" },
- Statistic: {},
- Threshold: { type: "double" },
- Unit: {},
- Dimensions: {
- type: "list",
- member: {
- type: "structure",
- members: { Key: {}, Value: {} },
- },
- },
- },
- },
- },
- },
+ owner: {
+ required: true,
+ type: "string",
},
- },
- },
- S1c: { type: "list", member: { shape: "S1d" } },
- S1d: {
- type: "structure",
- required: ["Name", "HadoopJarStep"],
- members: {
- Name: {},
- ActionOnFailure: {},
- HadoopJarStep: {
- type: "structure",
- required: ["Jar"],
- members: {
- Properties: {
- type: "list",
- member: {
- type: "structure",
- members: { Key: {}, Value: {} },
- },
- },
- Jar: {},
- MainClass: {},
- Args: { shape: "S1j" },
- },
+ page: {
+ type: "integer",
},
- },
- },
- S1j: { type: "list", member: {} },
- S1l: { type: "list", member: {} },
- S1o: {
- type: "list",
- member: { type: "structure", members: { Key: {}, Value: {} } },
- },
- S27: {
- type: "structure",
- members: {
- State: {},
- StateChangeReason: {
- type: "structure",
- members: { Code: {}, Message: {} },
- },
- Timeline: {
- type: "structure",
- members: {
- CreationDateTime: { type: "timestamp" },
- ReadyDateTime: { type: "timestamp" },
- EndDateTime: { type: "timestamp" },
- },
+ per_page: {
+ type: "integer",
},
- },
- },
- S2d: { type: "list", member: {} },
- S2e: { type: "list", member: {} },
- S2h: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- Version: {},
- Args: { shape: "S2e" },
- AdditionalInfo: { shape: "Sj" },
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/actions/secrets/:name",
},
- S2l: {
- type: "structure",
- required: ["Realm", "KdcAdminPassword"],
- members: {
- Realm: {},
- KdcAdminPassword: {},
- CrossRealmTrustPrincipalPassword: {},
- ADDomainJoinUser: {},
- ADDomainJoinPassword: {},
- },
- },
- S2y: {
- type: "structure",
- members: {
- AvailabilityZone: {},
- AvailabilityZones: { shape: "S2d" },
- },
- },
- S35: {
- type: "structure",
- required: ["Name", "ScriptBootstrapAction"],
- members: {
- Name: {},
- ScriptBootstrapAction: {
- type: "structure",
- required: ["Path"],
- members: { Path: {}, Args: { shape: "S1j" } },
+ getSelfHostedRunner: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
+ },
+ runner_id: {
+ required: true,
+ type: "integer",
},
},
+ url: "/repos/:owner/:repo/actions/runners/:runner_id",
},
- S37: { type: "list", member: {} },
- S3d: {
- type: "structure",
- members: {
- Jar: {},
- Properties: { shape: "Sj" },
- MainClass: {},
- Args: { shape: "S2e" },
- },
- },
- S3e: {
- type: "structure",
- members: {
- State: {},
- StateChangeReason: {
- type: "structure",
- members: { Code: {}, Message: {} },
- },
- FailureDetails: {
- type: "structure",
- members: { Reason: {}, Message: {}, LogFile: {} },
- },
- Timeline: {
- type: "structure",
- members: {
- CreationDateTime: { type: "timestamp" },
- StartDateTime: { type: "timestamp" },
- EndDateTime: { type: "timestamp" },
- },
+ getWorkflow: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
+ },
+ workflow_id: {
+ required: true,
+ type: "integer",
},
},
+ url: "/repos/:owner/:repo/actions/workflows/:workflow_id",
},
- S3m: {
- type: "structure",
- required: ["BlockPublicSecurityGroupRules"],
- members: {
- BlockPublicSecurityGroupRules: { type: "boolean" },
- PermittedPublicSecurityGroupRuleRanges: {
- type: "list",
- member: {
- type: "structure",
- required: ["MinRange"],
- members: {
- MinRange: { type: "integer" },
- MaxRange: { type: "integer" },
- },
- },
+ getWorkflowJob: {
+ method: "GET",
+ params: {
+ job_id: {
+ required: true,
+ type: "integer",
+ },
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/actions/jobs/:job_id",
},
- S4c: {
- type: "list",
- member: {
- type: "structure",
- members: { VolumeSpecification: { shape: "Sd" }, Device: {} },
+ getWorkflowRun: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
+ },
+ run_id: {
+ required: true,
+ type: "integer",
+ },
},
+ url: "/repos/:owner/:repo/actions/runs/:run_id",
},
- S4p: {
- type: "structure",
- members: {
- DecommissionTimeout: { type: "integer" },
- InstanceResizePolicy: {
- type: "structure",
- members: {
- InstancesToTerminate: { shape: "S4r" },
- InstancesToProtect: { shape: "S4r" },
- InstanceTerminationTimeout: { type: "integer" },
- },
+ listDownloadsForSelfHostedRunnerApplication: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/actions/runners/downloads",
},
- S4r: { type: "list", member: {} },
- S4t: {
- type: "structure",
- members: {
- Status: {
- type: "structure",
- members: {
- State: {},
- StateChangeReason: {
- type: "structure",
- members: { Code: {}, Message: {} },
- },
- },
+ listJobsForWorkflowRun: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ repo: {
+ required: true,
+ type: "string",
+ },
+ run_id: {
+ required: true,
+ type: "integer",
},
- Constraints: { shape: "Sw" },
- Rules: { shape: "Sx" },
},
+ url: "/repos/:owner/:repo/actions/runs/:run_id/jobs",
},
- S63: { type: "list", member: {} },
- },
- };
-
- /***/
- },
-
- /***/ 439: /***/ function (module, __unusedexports, __webpack_require__) {
- var util = __webpack_require__(153);
-
- 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;
-
- /***/
- },
-
- /***/ 445: /***/ function (module, __unusedexports, __webpack_require__) {
- /**
- * What is necessary to create an event stream in node?
- * - http response stream
- * - parser
- * - event stream model
- */
-
- var EventMessageChunkerStream = __webpack_require__(3862)
- .EventMessageChunkerStream;
- var EventUnmarshallerStream = __webpack_require__(8723)
- .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,
- };
-
- /***/
- },
-
- /***/ 462: /***/ function (module) {
- "use strict";
-
- // See http://www.robvanderwoude.com/escapechars.php
- const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
-
- function escapeCommand(arg) {
- // Escape meta chars
- arg = arg.replace(metaCharsRegExp, "^$1");
-
- return arg;
- }
-
- function escapeArgument(arg, doubleEscapeMetaChars) {
- // Convert to string
- arg = `${arg}`;
-
- // Algorithm below is based on https://qntm.org/cmd
-
- // Sequence of backslashes followed by a double quote:
- // double up all the backslashes and escape the double quote
- arg = arg.replace(/(\\*)"/g, '$1$1\\"');
-
- // Sequence of backslashes followed by the end of the string
- // (which will become a double quote later):
- // double up all the backslashes
- arg = arg.replace(/(\\*)$/, "$1$1");
-
- // All other backslashes occur literally
-
- // Quote the whole thing:
- arg = `"${arg}"`;
-
- // Escape meta chars
- arg = arg.replace(metaCharsRegExp, "^$1");
-
- // Double escape meta chars if necessary
- if (doubleEscapeMetaChars) {
- arg = arg.replace(metaCharsRegExp, "^$1");
- }
-
- return arg;
- }
-
- module.exports.command = escapeCommand;
- module.exports.argument = escapeArgument;
-
- /***/
- },
-
- /***/ 466: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(8892);
- model.paginators = __webpack_require__(5369).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.MediaTailor;
-
- /***/
- },
-
- /***/ 469: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(6869);
- model.paginators = __webpack_require__(1287).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
- Object.defineProperty(
- apiLoader.services["clouddirectory"],
- "2017-01-11",
- {
- get: function get() {
- var model = __webpack_require__(2638);
- model.paginators = __webpack_require__(8910).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.CloudDirectory;
-
- /***/
- },
-
- /***/ 484: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 489: /***/ function (module, __unusedexports, __webpack_require__) {
- "use strict";
-
- const path = __webpack_require__(5622);
- const which = __webpack_require__(3814);
- const pathKey = __webpack_require__(1039)();
-
- function resolveCommandAttempt(parsed, withoutPathExt) {
- const cwd = process.cwd();
- const hasCustomCwd = parsed.options.cwd != null;
-
- // If a custom `cwd` was specified, we need to change the process cwd
- // because `which` will do stat calls but does not support a custom cwd
- if (hasCustomCwd) {
- try {
- process.chdir(parsed.options.cwd);
- } catch (err) {
- /* Empty */
- }
- }
-
- let resolved;
-
- try {
- resolved = which.sync(parsed.command, {
- path: (parsed.options.env || process.env)[pathKey],
- pathExt: withoutPathExt ? path.delimiter : undefined,
- });
- } catch (e) {
- /* Empty */
- } finally {
- process.chdir(cwd);
- }
-
- // If we successfully resolved, ensure that an absolute path is returned
- // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it
- if (resolved) {
- resolved = path.resolve(
- hasCustomCwd ? parsed.options.cwd : "",
- resolved
- );
- }
-
- return resolved;
- }
-
- function resolveCommand(parsed) {
- return (
- resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true)
- );
- }
-
- module.exports = resolveCommand;
-
- /***/
- },
-
- /***/ 505: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-07-01",
- endpointPrefix: "mobile",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceFullName: "AWS Mobile",
- serviceId: "Mobile",
- signatureVersion: "v4",
- signingName: "AWSMobileHubService",
- uid: "mobile-2017-07-01",
- },
- operations: {
- CreateProject: {
- http: { requestUri: "/projects" },
- input: {
- type: "structure",
- members: {
- name: { location: "querystring", locationName: "name" },
- region: { location: "querystring", locationName: "region" },
- contents: { type: "blob" },
- snapshotId: {
- location: "querystring",
- locationName: "snapshotId",
- },
- },
- payload: "contents",
- },
- output: {
- type: "structure",
- members: { details: { shape: "S7" } },
- },
- },
- DeleteProject: {
- http: { method: "DELETE", requestUri: "/projects/{projectId}" },
- input: {
- type: "structure",
- required: ["projectId"],
- members: {
- projectId: { location: "uri", locationName: "projectId" },
+ listRepoWorkflowRuns: {
+ method: "GET",
+ params: {
+ actor: {
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- deletedResources: { shape: "Sc" },
- orphanedResources: { shape: "Sc" },
+ branch: {
+ type: "string",
},
- },
- },
- DescribeBundle: {
- http: { method: "GET", requestUri: "/bundles/{bundleId}" },
- input: {
- type: "structure",
- required: ["bundleId"],
- members: {
- bundleId: { location: "uri", locationName: "bundleId" },
+ event: {
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: { details: { shape: "Sq" } },
- },
- },
- DescribeProject: {
- http: { method: "GET", requestUri: "/project" },
- input: {
- type: "structure",
- required: ["projectId"],
- members: {
- projectId: {
- location: "querystring",
- locationName: "projectId",
- },
- syncFromResources: {
- location: "querystring",
- locationName: "syncFromResources",
- type: "boolean",
- },
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: { details: { shape: "S7" } },
- },
- },
- ExportBundle: {
- http: { requestUri: "/bundles/{bundleId}" },
- input: {
- type: "structure",
- required: ["bundleId"],
- members: {
- bundleId: { location: "uri", locationName: "bundleId" },
- projectId: {
- location: "querystring",
- locationName: "projectId",
- },
- platform: { location: "querystring", locationName: "platform" },
+ page: {
+ type: "integer",
},
- },
- output: { type: "structure", members: { downloadUrl: {} } },
- },
- ExportProject: {
- http: { requestUri: "/exports/{projectId}" },
- input: {
- type: "structure",
- required: ["projectId"],
- members: {
- projectId: { location: "uri", locationName: "projectId" },
+ per_page: {
+ type: "integer",
},
- },
- output: {
- type: "structure",
- members: { downloadUrl: {}, shareUrl: {}, snapshotId: {} },
- },
- },
- ListBundles: {
- http: { method: "GET", requestUri: "/bundles" },
- input: {
- type: "structure",
- members: {
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
+ repo: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- bundleList: { type: "list", member: { shape: "Sq" } },
- nextToken: {},
+ status: {
+ enum: ["completed", "status", "conclusion"],
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/actions/runs",
},
- ListProjects: {
- http: { method: "GET", requestUri: "/projects" },
- input: {
- type: "structure",
- members: {
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
+ listRepoWorkflows: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- projects: {
- type: "list",
- member: {
- type: "structure",
- members: { name: {}, projectId: {} },
- },
- },
- nextToken: {},
+ page: {
+ type: "integer",
},
- },
- },
- UpdateProject: {
- http: { requestUri: "/update" },
- input: {
- type: "structure",
- required: ["projectId"],
- members: {
- contents: { type: "blob" },
- projectId: {
- location: "querystring",
- locationName: "projectId",
- },
+ per_page: {
+ type: "integer",
},
- payload: "contents",
- },
- output: {
- type: "structure",
- members: { details: { shape: "S7" } },
- },
- },
- },
- shapes: {
- S7: {
- type: "structure",
- members: {
- name: {},
- projectId: {},
- region: {},
- state: {},
- createdDate: { type: "timestamp" },
- lastUpdatedDate: { type: "timestamp" },
- consoleUrl: {},
- resources: { shape: "Sc" },
- },
- },
- Sc: {
- type: "list",
- member: {
- type: "structure",
- members: {
- type: {},
- name: {},
- arn: {},
- feature: {},
- attributes: { type: "map", key: {}, value: {} },
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/actions/workflows",
},
- Sq: {
- type: "structure",
- members: {
- bundleId: {},
- title: {},
- version: {},
- description: {},
- iconUrl: {},
- availablePlatforms: { type: "list", member: {} },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 520: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 522: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2016-08-10",
- endpointPrefix: "batch",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "AWS Batch",
- serviceFullName: "AWS Batch",
- serviceId: "Batch",
- signatureVersion: "v4",
- uid: "batch-2016-08-10",
- },
- operations: {
- CancelJob: {
- http: { requestUri: "/v1/canceljob" },
- input: {
- type: "structure",
- required: ["jobId", "reason"],
- members: { jobId: {}, reason: {} },
- },
- output: { type: "structure", members: {} },
- },
- CreateComputeEnvironment: {
- http: { requestUri: "/v1/createcomputeenvironment" },
- input: {
- type: "structure",
- required: ["computeEnvironmentName", "type", "serviceRole"],
- members: {
- computeEnvironmentName: {},
- type: {},
- state: {},
- computeResources: { shape: "S7" },
- serviceRole: {},
+ listSecretsForRepo: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- computeEnvironmentName: {},
- computeEnvironmentArn: {},
+ page: {
+ type: "integer",
},
- },
- },
- CreateJobQueue: {
- http: { requestUri: "/v1/createjobqueue" },
- input: {
- type: "structure",
- required: ["jobQueueName", "priority", "computeEnvironmentOrder"],
- members: {
- jobQueueName: {},
- state: {},
- priority: { type: "integer" },
- computeEnvironmentOrder: { shape: "Sh" },
+ per_page: {
+ type: "integer",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
- output: {
- type: "structure",
- required: ["jobQueueName", "jobQueueArn"],
- members: { jobQueueName: {}, jobQueueArn: {} },
- },
- },
- DeleteComputeEnvironment: {
- http: { requestUri: "/v1/deletecomputeenvironment" },
- input: {
- type: "structure",
- required: ["computeEnvironment"],
- members: { computeEnvironment: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteJobQueue: {
- http: { requestUri: "/v1/deletejobqueue" },
- input: {
- type: "structure",
- required: ["jobQueue"],
- members: { jobQueue: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeregisterJobDefinition: {
- http: { requestUri: "/v1/deregisterjobdefinition" },
- input: {
- type: "structure",
- required: ["jobDefinition"],
- members: { jobDefinition: {} },
- },
- output: { type: "structure", members: {} },
+ url: "/repos/:owner/:repo/actions/secrets",
},
- DescribeComputeEnvironments: {
- http: { requestUri: "/v1/describecomputeenvironments" },
- input: {
- type: "structure",
- members: {
- computeEnvironments: { shape: "Sb" },
- maxResults: { type: "integer" },
- nextToken: {},
+ listSelfHostedRunnersForRepo: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- computeEnvironments: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "computeEnvironmentName",
- "computeEnvironmentArn",
- "ecsClusterArn",
- ],
- members: {
- computeEnvironmentName: {},
- computeEnvironmentArn: {},
- ecsClusterArn: {},
- type: {},
- state: {},
- status: {},
- statusReason: {},
- computeResources: { shape: "S7" },
- serviceRole: {},
- },
- },
- },
- nextToken: {},
+ page: {
+ type: "integer",
},
- },
- },
- DescribeJobDefinitions: {
- http: { requestUri: "/v1/describejobdefinitions" },
- input: {
- type: "structure",
- members: {
- jobDefinitions: { shape: "Sb" },
- maxResults: { type: "integer" },
- jobDefinitionName: {},
- status: {},
- nextToken: {},
+ per_page: {
+ type: "integer",
},
- },
- output: {
- type: "structure",
- members: {
- jobDefinitions: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "jobDefinitionName",
- "jobDefinitionArn",
- "revision",
- "type",
- ],
- members: {
- jobDefinitionName: {},
- jobDefinitionArn: {},
- revision: { type: "integer" },
- status: {},
- type: {},
- parameters: { shape: "Sz" },
- retryStrategy: { shape: "S10" },
- containerProperties: { shape: "S11" },
- timeout: { shape: "S1k" },
- nodeProperties: { shape: "S1l" },
- },
- },
- },
- nextToken: {},
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/actions/runners",
},
- DescribeJobQueues: {
- http: { requestUri: "/v1/describejobqueues" },
- input: {
- type: "structure",
- members: {
- jobQueues: { shape: "Sb" },
- maxResults: { type: "integer" },
- nextToken: {},
+ listWorkflowJobLogs: {
+ method: "GET",
+ params: {
+ job_id: {
+ required: true,
+ type: "integer",
},
- },
- output: {
- type: "structure",
- members: {
- jobQueues: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "jobQueueName",
- "jobQueueArn",
- "state",
- "priority",
- "computeEnvironmentOrder",
- ],
- members: {
- jobQueueName: {},
- jobQueueArn: {},
- state: {},
- status: {},
- statusReason: {},
- priority: { type: "integer" },
- computeEnvironmentOrder: { shape: "Sh" },
- },
- },
- },
- nextToken: {},
+ owner: {
+ required: true,
+ type: "string",
},
- },
- },
- DescribeJobs: {
- http: { requestUri: "/v1/describejobs" },
- input: {
- type: "structure",
- required: ["jobs"],
- members: { jobs: { shape: "Sb" } },
- },
- output: {
- type: "structure",
- members: {
- jobs: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "jobName",
- "jobId",
- "jobQueue",
- "status",
- "startedAt",
- "jobDefinition",
- ],
- members: {
- jobName: {},
- jobId: {},
- jobQueue: {},
- status: {},
- attempts: {
- type: "list",
- member: {
- type: "structure",
- members: {
- container: {
- type: "structure",
- members: {
- containerInstanceArn: {},
- taskArn: {},
- exitCode: { type: "integer" },
- reason: {},
- logStreamName: {},
- networkInterfaces: { shape: "S21" },
- },
- },
- startedAt: { type: "long" },
- stoppedAt: { type: "long" },
- statusReason: {},
- },
- },
- },
- statusReason: {},
- createdAt: { type: "long" },
- retryStrategy: { shape: "S10" },
- startedAt: { type: "long" },
- stoppedAt: { type: "long" },
- dependsOn: { shape: "S24" },
- jobDefinition: {},
- parameters: { shape: "Sz" },
- container: {
- type: "structure",
- members: {
- image: {},
- vcpus: { type: "integer" },
- memory: { type: "integer" },
- command: { shape: "Sb" },
- jobRoleArn: {},
- volumes: { shape: "S12" },
- environment: { shape: "S15" },
- mountPoints: { shape: "S17" },
- readonlyRootFilesystem: { type: "boolean" },
- ulimits: { shape: "S1a" },
- privileged: { type: "boolean" },
- user: {},
- exitCode: { type: "integer" },
- reason: {},
- containerInstanceArn: {},
- taskArn: {},
- logStreamName: {},
- instanceType: {},
- networkInterfaces: { shape: "S21" },
- resourceRequirements: { shape: "S1c" },
- linuxParameters: { shape: "S1f" },
- },
- },
- nodeDetails: {
- type: "structure",
- members: {
- nodeIndex: { type: "integer" },
- isMainNode: { type: "boolean" },
- },
- },
- nodeProperties: { shape: "S1l" },
- arrayProperties: {
- type: "structure",
- members: {
- statusSummary: {
- type: "map",
- key: {},
- value: { type: "integer" },
- },
- size: { type: "integer" },
- index: { type: "integer" },
- },
- },
- timeout: { shape: "S1k" },
- },
- },
- },
+ page: {
+ type: "integer",
},
- },
- },
- ListJobs: {
- http: { requestUri: "/v1/listjobs" },
- input: {
- type: "structure",
- members: {
- jobQueue: {},
- arrayJobId: {},
- multiNodeJobId: {},
- jobStatus: {},
- maxResults: { type: "integer" },
- nextToken: {},
+ per_page: {
+ type: "integer",
},
- },
- output: {
- type: "structure",
- required: ["jobSummaryList"],
- members: {
- jobSummaryList: {
- type: "list",
- member: {
- type: "structure",
- required: ["jobId", "jobName"],
- members: {
- jobId: {},
- jobName: {},
- createdAt: { type: "long" },
- status: {},
- statusReason: {},
- startedAt: { type: "long" },
- stoppedAt: { type: "long" },
- container: {
- type: "structure",
- members: { exitCode: { type: "integer" }, reason: {} },
- },
- arrayProperties: {
- type: "structure",
- members: {
- size: { type: "integer" },
- index: { type: "integer" },
- },
- },
- nodeProperties: {
- type: "structure",
- members: {
- isMainNode: { type: "boolean" },
- numNodes: { type: "integer" },
- nodeIndex: { type: "integer" },
- },
- },
- },
- },
- },
- nextToken: {},
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/actions/jobs/:job_id/logs",
},
- RegisterJobDefinition: {
- http: { requestUri: "/v1/registerjobdefinition" },
- input: {
- type: "structure",
- required: ["jobDefinitionName", "type"],
- members: {
- jobDefinitionName: {},
- type: {},
- parameters: { shape: "Sz" },
- containerProperties: { shape: "S11" },
- nodeProperties: { shape: "S1l" },
- retryStrategy: { shape: "S10" },
- timeout: { shape: "S1k" },
+ listWorkflowRunArtifacts: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- required: ["jobDefinitionName", "jobDefinitionArn", "revision"],
- members: {
- jobDefinitionName: {},
- jobDefinitionArn: {},
- revision: { type: "integer" },
+ page: {
+ type: "integer",
},
- },
- },
- SubmitJob: {
- http: { requestUri: "/v1/submitjob" },
- input: {
- type: "structure",
- required: ["jobName", "jobQueue", "jobDefinition"],
- members: {
- jobName: {},
- jobQueue: {},
- arrayProperties: {
- type: "structure",
- members: { size: { type: "integer" } },
- },
- dependsOn: { shape: "S24" },
- jobDefinition: {},
- parameters: { shape: "Sz" },
- containerOverrides: { shape: "S2n" },
- nodeOverrides: {
- type: "structure",
- members: {
- numNodes: { type: "integer" },
- nodePropertyOverrides: {
- type: "list",
- member: {
- type: "structure",
- required: ["targetNodes"],
- members: {
- targetNodes: {},
- containerOverrides: { shape: "S2n" },
- },
- },
- },
- },
- },
- retryStrategy: { shape: "S10" },
- timeout: { shape: "S1k" },
+ per_page: {
+ type: "integer",
},
- },
- output: {
- type: "structure",
- required: ["jobName", "jobId"],
- members: { jobName: {}, jobId: {} },
- },
- },
- TerminateJob: {
- http: { requestUri: "/v1/terminatejob" },
- input: {
- type: "structure",
- required: ["jobId", "reason"],
- members: { jobId: {}, reason: {} },
- },
- output: { type: "structure", members: {} },
- },
- UpdateComputeEnvironment: {
- http: { requestUri: "/v1/updatecomputeenvironment" },
- input: {
- type: "structure",
- required: ["computeEnvironment"],
- members: {
- computeEnvironment: {},
- state: {},
- computeResources: {
- type: "structure",
- members: {
- minvCpus: { type: "integer" },
- maxvCpus: { type: "integer" },
- desiredvCpus: { type: "integer" },
- },
- },
- serviceRole: {},
+ repo: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- computeEnvironmentName: {},
- computeEnvironmentArn: {},
+ run_id: {
+ required: true,
+ type: "integer",
},
},
+ url: "/repos/:owner/:repo/actions/runs/:run_id/artifacts",
},
- UpdateJobQueue: {
- http: { requestUri: "/v1/updatejobqueue" },
- input: {
- type: "structure",
- required: ["jobQueue"],
- members: {
- jobQueue: {},
- state: {},
- priority: { type: "integer" },
- computeEnvironmentOrder: { shape: "Sh" },
+ listWorkflowRunLogs: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: { jobQueueName: {}, jobQueueArn: {} },
- },
- },
- },
- shapes: {
- S7: {
- type: "structure",
- required: [
- "type",
- "minvCpus",
- "maxvCpus",
- "instanceTypes",
- "subnets",
- "instanceRole",
- ],
- members: {
- type: {},
- allocationStrategy: {},
- minvCpus: { type: "integer" },
- maxvCpus: { type: "integer" },
- desiredvCpus: { type: "integer" },
- instanceTypes: { shape: "Sb" },
- imageId: {},
- subnets: { shape: "Sb" },
- securityGroupIds: { shape: "Sb" },
- ec2KeyPair: {},
- instanceRole: {},
- tags: { type: "map", key: {}, value: {} },
- placementGroup: {},
- bidPercentage: { type: "integer" },
- spotIamFleetRole: {},
- launchTemplate: {
- type: "structure",
- members: {
- launchTemplateId: {},
- launchTemplateName: {},
- version: {},
- },
+ page: {
+ type: "integer",
},
- },
- },
- Sb: { type: "list", member: {} },
- Sh: {
- type: "list",
- member: {
- type: "structure",
- required: ["order", "computeEnvironment"],
- members: { order: { type: "integer" }, computeEnvironment: {} },
- },
- },
- Sz: { type: "map", key: {}, value: {} },
- S10: {
- type: "structure",
- members: { attempts: { type: "integer" } },
- },
- S11: {
- type: "structure",
- members: {
- image: {},
- vcpus: { type: "integer" },
- memory: { type: "integer" },
- command: { shape: "Sb" },
- jobRoleArn: {},
- volumes: { shape: "S12" },
- environment: { shape: "S15" },
- mountPoints: { shape: "S17" },
- readonlyRootFilesystem: { type: "boolean" },
- privileged: { type: "boolean" },
- ulimits: { shape: "S1a" },
- user: {},
- instanceType: {},
- resourceRequirements: { shape: "S1c" },
- linuxParameters: { shape: "S1f" },
- },
- },
- S12: {
- type: "list",
- member: {
- type: "structure",
- members: {
- host: { type: "structure", members: { sourcePath: {} } },
- name: {},
+ per_page: {
+ type: "integer",
},
- },
- },
- S15: {
- type: "list",
- member: { type: "structure", members: { name: {}, value: {} } },
- },
- S17: {
- type: "list",
- member: {
- type: "structure",
- members: {
- containerPath: {},
- readOnly: { type: "boolean" },
- sourceVolume: {},
+ repo: {
+ required: true,
+ type: "string",
},
- },
- },
- S1a: {
- type: "list",
- member: {
- type: "structure",
- required: ["hardLimit", "name", "softLimit"],
- members: {
- hardLimit: { type: "integer" },
- name: {},
- softLimit: { type: "integer" },
+ run_id: {
+ required: true,
+ type: "integer",
},
},
+ url: "/repos/:owner/:repo/actions/runs/:run_id/logs",
},
- S1c: {
- type: "list",
- member: {
- type: "structure",
- required: ["value", "type"],
- members: { value: {}, type: {} },
- },
- },
- S1f: {
- type: "structure",
- members: {
- devices: {
- type: "list",
- member: {
- type: "structure",
- required: ["hostPath"],
- members: {
- hostPath: {},
- containerPath: {},
- permissions: { type: "list", member: {} },
- },
- },
- },
- },
- },
- S1k: {
- type: "structure",
- members: { attemptDurationSeconds: { type: "integer" } },
- },
- S1l: {
- type: "structure",
- required: ["numNodes", "mainNode", "nodeRangeProperties"],
- members: {
- numNodes: { type: "integer" },
- mainNode: { type: "integer" },
- nodeRangeProperties: {
- type: "list",
- member: {
- type: "structure",
- required: ["targetNodes"],
- members: { targetNodes: {}, container: { shape: "S11" } },
- },
- },
- },
- },
- S21: {
- type: "list",
- member: {
- type: "structure",
- members: {
- attachmentId: {},
- ipv6Address: {},
- privateIpv4Address: {},
+ listWorkflowRuns: {
+ method: "GET",
+ params: {
+ actor: {
+ type: "string",
},
- },
- },
- S24: {
- type: "list",
- member: { type: "structure", members: { jobId: {}, type: {} } },
- },
- S2n: {
- type: "structure",
- members: {
- vcpus: { type: "integer" },
- memory: { type: "integer" },
- command: { shape: "Sb" },
- instanceType: {},
- environment: { shape: "S15" },
- resourceRequirements: { shape: "S1c" },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 543: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
-
- AWS.util.update(AWS.Glacier.prototype, {
- /**
- * @api private
- */
- setupRequestListeners: function setupRequestListeners(request) {
- if (Array.isArray(request._events.validate)) {
- request._events.validate.unshift(this.validateAccountId);
- } else {
- request.on("validate", this.validateAccountId);
- }
- request.removeListener(
- "afterBuild",
- AWS.EventListeners.Core.COMPUTE_SHA256
- );
- request.on("build", this.addGlacierApiVersion);
- request.on("build", this.addTreeHashHeaders);
- },
-
- /**
- * @api private
- */
- validateAccountId: function validateAccountId(request) {
- if (request.params.accountId !== undefined) return;
- request.params = AWS.util.copy(request.params);
- request.params.accountId = "-";
- },
-
- /**
- * @api private
- */
- addGlacierApiVersion: function addGlacierApiVersion(request) {
- var version = request.service.api.apiVersion;
- request.httpRequest.headers["x-amz-glacier-version"] = version;
- },
-
- /**
- * @api private
- */
- addTreeHashHeaders: function addTreeHashHeaders(request) {
- if (request.params.body === undefined) return;
-
- var hashes = request.service.computeChecksums(request.params.body);
- request.httpRequest.headers["X-Amz-Content-Sha256"] =
- hashes.linearHash;
-
- if (!request.httpRequest.headers["x-amz-sha256-tree-hash"]) {
- request.httpRequest.headers["x-amz-sha256-tree-hash"] =
- hashes.treeHash;
- }
- },
-
- /**
- * @!group Computing Checksums
- */
-
- /**
- * Computes the SHA-256 linear and tree hash checksums for a given
- * block of Buffer data. Pass the tree hash of the computed checksums
- * as the checksum input to the {completeMultipartUpload} when performing
- * a multi-part upload.
- *
- * @example Calculate checksum of 5.5MB data chunk
- * var glacier = new AWS.Glacier();
- * var data = Buffer.alloc(5.5 * 1024 * 1024);
- * data.fill('0'); // fill with zeros
- * var results = glacier.computeChecksums(data);
- * // Result: { linearHash: '68aff0c5a9...', treeHash: '154e26c78f...' }
- * @param data [Buffer, String] data to calculate the checksum for
- * @return [map] a map containing
- * the linearHash and treeHash properties representing hex based digests
- * of the respective checksums.
- * @see completeMultipartUpload
- */
- computeChecksums: function computeChecksums(data) {
- if (!AWS.util.Buffer.isBuffer(data))
- data = AWS.util.buffer.toBuffer(data);
-
- var mb = 1024 * 1024;
- var hashes = [];
- var hash = AWS.util.crypto.createHash("sha256");
-
- // build leaf nodes in 1mb chunks
- for (var i = 0; i < data.length; i += mb) {
- var chunk = data.slice(i, Math.min(i + mb, data.length));
- hash.update(chunk);
- hashes.push(AWS.util.crypto.sha256(chunk));
- }
-
- return {
- linearHash: hash.digest("hex"),
- treeHash: this.buildHashTree(hashes),
- };
- },
-
- /**
- * @api private
- */
- buildHashTree: function buildHashTree(hashes) {
- // merge leaf nodes
- while (hashes.length > 1) {
- var tmpHashes = [];
- for (var i = 0; i < hashes.length; i += 2) {
- if (hashes[i + 1]) {
- var tmpHash = AWS.util.buffer.alloc(64);
- tmpHash.write(hashes[i], 0, 32, "binary");
- tmpHash.write(hashes[i + 1], 32, 32, "binary");
- tmpHashes.push(AWS.util.crypto.sha256(tmpHash));
- } else {
- tmpHashes.push(hashes[i]);
- }
- }
- hashes = tmpHashes;
- }
-
- return AWS.util.crypto.toHex(hashes[0]);
- },
- });
-
- /***/
- },
-
- /***/ 559: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeStackEvents: {
- input_token: "NextToken",
- output_token: "NextToken",
- result_key: "StackEvents",
- },
- DescribeStackResourceDrifts: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- DescribeStackResources: { result_key: "StackResources" },
- DescribeStacks: {
- input_token: "NextToken",
- output_token: "NextToken",
- result_key: "Stacks",
- },
- ListExports: {
- input_token: "NextToken",
- output_token: "NextToken",
- result_key: "Exports",
- },
- ListImports: {
- input_token: "NextToken",
- output_token: "NextToken",
- result_key: "Imports",
- },
- ListStackResources: {
- input_token: "NextToken",
- output_token: "NextToken",
- result_key: "StackResourceSummaries",
- },
- ListStacks: {
- input_token: "NextToken",
- output_token: "NextToken",
- result_key: "StackSummaries",
- },
- ListTypeRegistrations: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListTypeVersions: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListTypes: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- },
- };
-
- /***/
- },
-
- /***/ 576: /***/ function (module, __unusedexports, __webpack_require__) {
- var AWS = __webpack_require__(395);
- var util = __webpack_require__(153);
- var QueryParamSerializer = __webpack_require__(439);
- var Shape = __webpack_require__(3682);
- var populateHostPrefix = __webpack_require__(904).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(" 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,
- };
-
- /***/
- },
-
- /***/ 612: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2016-02-16",
- endpointPrefix: "inspector",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "Amazon Inspector",
- serviceId: "Inspector",
- signatureVersion: "v4",
- targetPrefix: "InspectorService",
- uid: "inspector-2016-02-16",
- },
- operations: {
- AddAttributesToFindings: {
- input: {
- type: "structure",
- required: ["findingArns", "attributes"],
- members: {
- findingArns: { shape: "S2" },
- attributes: { shape: "S4" },
+ since: {
+ type: "string",
},
},
- output: {
- type: "structure",
- required: ["failedItems"],
- members: { failedItems: { shape: "S9" } },
- },
- },
- CreateAssessmentTarget: {
- input: {
- type: "structure",
- required: ["assessmentTargetName"],
- members: { assessmentTargetName: {}, resourceGroupArn: {} },
- },
- output: {
- type: "structure",
- required: ["assessmentTargetArn"],
- members: { assessmentTargetArn: {} },
- },
+ url: "/notifications",
},
- CreateAssessmentTemplate: {
- input: {
- type: "structure",
- required: [
- "assessmentTargetArn",
- "assessmentTemplateName",
- "durationInSeconds",
- "rulesPackageArns",
- ],
- members: {
- assessmentTargetArn: {},
- assessmentTemplateName: {},
- durationInSeconds: { type: "integer" },
- rulesPackageArns: { shape: "Sj" },
- userAttributesForFindings: { shape: "S4" },
+ listNotificationsForRepo: {
+ method: "GET",
+ params: {
+ all: {
+ type: "boolean",
+ },
+ before: {
+ type: "string",
+ },
+ owner: {
+ required: true,
+ type: "string",
+ },
+ page: {
+ type: "integer",
+ },
+ participating: {
+ type: "boolean",
+ },
+ per_page: {
+ type: "integer",
+ },
+ repo: {
+ required: true,
+ type: "string",
+ },
+ since: {
+ type: "string",
},
},
- output: {
- type: "structure",
- required: ["assessmentTemplateArn"],
- members: { assessmentTemplateArn: {} },
- },
- },
- CreateExclusionsPreview: {
- input: {
- type: "structure",
- required: ["assessmentTemplateArn"],
- members: { assessmentTemplateArn: {} },
- },
- output: {
- type: "structure",
- required: ["previewToken"],
- members: { previewToken: {} },
- },
- },
- CreateResourceGroup: {
- input: {
- type: "structure",
- required: ["resourceGroupTags"],
- members: { resourceGroupTags: { shape: "Sp" } },
- },
- output: {
- type: "structure",
- required: ["resourceGroupArn"],
- members: { resourceGroupArn: {} },
- },
+ url: "/repos/:owner/:repo/notifications",
},
- DeleteAssessmentRun: {
- input: {
- type: "structure",
- required: ["assessmentRunArn"],
- members: { assessmentRunArn: {} },
+ listPublicEvents: {
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
},
+ url: "/events",
},
- DeleteAssessmentTarget: {
- input: {
- type: "structure",
- required: ["assessmentTargetArn"],
- members: { assessmentTargetArn: {} },
+ listPublicEventsForOrg: {
+ method: "GET",
+ params: {
+ org: {
+ required: true,
+ type: "string",
+ },
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
},
+ url: "/orgs/:org/events",
},
- DeleteAssessmentTemplate: {
- input: {
- type: "structure",
- required: ["assessmentTemplateArn"],
- members: { assessmentTemplateArn: {} },
+ listPublicEventsForRepoNetwork: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ repo: {
+ required: true,
+ type: "string",
+ },
},
+ url: "/networks/:owner/:repo/events",
},
- DescribeAssessmentRuns: {
- input: {
- type: "structure",
- required: ["assessmentRunArns"],
- members: { assessmentRunArns: { shape: "Sy" } },
- },
- output: {
- type: "structure",
- required: ["assessmentRuns", "failedItems"],
- members: {
- assessmentRuns: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "arn",
- "name",
- "assessmentTemplateArn",
- "state",
- "durationInSeconds",
- "rulesPackageArns",
- "userAttributesForFindings",
- "createdAt",
- "stateChangedAt",
- "dataCollected",
- "stateChanges",
- "notifications",
- "findingCounts",
- ],
- members: {
- arn: {},
- name: {},
- assessmentTemplateArn: {},
- state: {},
- durationInSeconds: { type: "integer" },
- rulesPackageArns: { type: "list", member: {} },
- userAttributesForFindings: { shape: "S4" },
- createdAt: { type: "timestamp" },
- startedAt: { type: "timestamp" },
- completedAt: { type: "timestamp" },
- stateChangedAt: { type: "timestamp" },
- dataCollected: { type: "boolean" },
- stateChanges: {
- type: "list",
- member: {
- type: "structure",
- required: ["stateChangedAt", "state"],
- members: {
- stateChangedAt: { type: "timestamp" },
- state: {},
- },
- },
- },
- notifications: {
- type: "list",
- member: {
- type: "structure",
- required: ["date", "event", "error"],
- members: {
- date: { type: "timestamp" },
- event: {},
- message: {},
- error: { type: "boolean" },
- snsTopicArn: {},
- snsPublishStatusCode: {},
- },
- },
- },
- findingCounts: {
- type: "map",
- key: {},
- value: { type: "integer" },
- },
- },
- },
- },
- failedItems: { shape: "S9" },
+ listPublicEventsForUser: {
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ username: {
+ required: true,
+ type: "string",
},
},
+ url: "/users/:username/events/public",
},
- DescribeAssessmentTargets: {
- input: {
- type: "structure",
- required: ["assessmentTargetArns"],
- members: { assessmentTargetArns: { shape: "Sy" } },
- },
- output: {
- type: "structure",
- required: ["assessmentTargets", "failedItems"],
- members: {
- assessmentTargets: {
- type: "list",
- member: {
- type: "structure",
- required: ["arn", "name", "createdAt", "updatedAt"],
- members: {
- arn: {},
- name: {},
- resourceGroupArn: {},
- createdAt: { type: "timestamp" },
- updatedAt: { type: "timestamp" },
- },
- },
- },
- failedItems: { shape: "S9" },
+ listReceivedEventsForUser: {
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ username: {
+ required: true,
+ type: "string",
},
},
+ url: "/users/:username/received_events",
},
- DescribeAssessmentTemplates: {
- input: {
- type: "structure",
- required: ["assessmentTemplateArns"],
- members: { assessmentTemplateArns: { shape: "Sy" } },
- },
- output: {
- type: "structure",
- required: ["assessmentTemplates", "failedItems"],
- members: {
- assessmentTemplates: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "arn",
- "name",
- "assessmentTargetArn",
- "durationInSeconds",
- "rulesPackageArns",
- "userAttributesForFindings",
- "assessmentRunCount",
- "createdAt",
- ],
- members: {
- arn: {},
- name: {},
- assessmentTargetArn: {},
- durationInSeconds: { type: "integer" },
- rulesPackageArns: { shape: "Sj" },
- userAttributesForFindings: { shape: "S4" },
- lastAssessmentRunArn: {},
- assessmentRunCount: { type: "integer" },
- createdAt: { type: "timestamp" },
- },
- },
- },
- failedItems: { shape: "S9" },
+ listReceivedPublicEventsForUser: {
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ username: {
+ required: true,
+ type: "string",
},
},
+ url: "/users/:username/received_events/public",
},
- DescribeCrossAccountAccessRole: {
- output: {
- type: "structure",
- required: ["roleArn", "valid", "registeredAt"],
- members: {
- roleArn: {},
- valid: { type: "boolean" },
- registeredAt: { type: "timestamp" },
+ listRepoEvents: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/events",
},
- DescribeExclusions: {
- input: {
- type: "structure",
- required: ["exclusionArns"],
- members: {
- exclusionArns: { type: "list", member: {} },
- locale: {},
+ listReposStarredByAuthenticatedUser: {
+ method: "GET",
+ params: {
+ direction: {
+ enum: ["asc", "desc"],
+ type: "string",
},
- },
- output: {
- type: "structure",
- required: ["exclusions", "failedItems"],
- members: {
- exclusions: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- required: [
- "arn",
- "title",
- "description",
- "recommendation",
- "scopes",
- ],
- members: {
- arn: {},
- title: {},
- description: {},
- recommendation: {},
- scopes: { shape: "S1x" },
- attributes: { shape: "S21" },
- },
- },
- },
- failedItems: { shape: "S9" },
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ sort: {
+ enum: ["created", "updated"],
+ type: "string",
},
},
+ url: "/user/starred",
},
- DescribeFindings: {
- input: {
- type: "structure",
- required: ["findingArns"],
- members: { findingArns: { shape: "Sy" }, locale: {} },
- },
- output: {
- type: "structure",
- required: ["findings", "failedItems"],
- members: {
- findings: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "arn",
- "attributes",
- "userAttributes",
- "createdAt",
- "updatedAt",
- ],
- members: {
- arn: {},
- schemaVersion: { type: "integer" },
- service: {},
- serviceAttributes: {
- type: "structure",
- required: ["schemaVersion"],
- members: {
- schemaVersion: { type: "integer" },
- assessmentRunArn: {},
- rulesPackageArn: {},
- },
- },
- assetType: {},
- assetAttributes: {
- type: "structure",
- required: ["schemaVersion"],
- members: {
- schemaVersion: { type: "integer" },
- agentId: {},
- autoScalingGroup: {},
- amiId: {},
- hostname: {},
- ipv4Addresses: { type: "list", member: {} },
- tags: { type: "list", member: { shape: "S2i" } },
- networkInterfaces: {
- type: "list",
- member: {
- type: "structure",
- members: {
- networkInterfaceId: {},
- subnetId: {},
- vpcId: {},
- privateDnsName: {},
- privateIpAddress: {},
- privateIpAddresses: {
- type: "list",
- member: {
- type: "structure",
- members: {
- privateDnsName: {},
- privateIpAddress: {},
- },
- },
- },
- publicDnsName: {},
- publicIp: {},
- ipv6Addresses: { type: "list", member: {} },
- securityGroups: {
- type: "list",
- member: {
- type: "structure",
- members: { groupName: {}, groupId: {} },
- },
- },
- },
- },
- },
- },
- },
- id: {},
- title: {},
- description: {},
- recommendation: {},
- severity: {},
- numericSeverity: { type: "double" },
- confidence: { type: "integer" },
- indicatorOfCompromise: { type: "boolean" },
- attributes: { shape: "S21" },
- userAttributes: { shape: "S4" },
- createdAt: { type: "timestamp" },
- updatedAt: { type: "timestamp" },
- },
- },
- },
- failedItems: { shape: "S9" },
+ listReposStarredByUser: {
+ method: "GET",
+ params: {
+ direction: {
+ enum: ["asc", "desc"],
+ type: "string",
+ },
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ sort: {
+ enum: ["created", "updated"],
+ type: "string",
+ },
+ username: {
+ required: true,
+ type: "string",
},
},
+ url: "/users/:username/starred",
},
- DescribeResourceGroups: {
- input: {
- type: "structure",
- required: ["resourceGroupArns"],
- members: { resourceGroupArns: { shape: "Sy" } },
- },
- output: {
- type: "structure",
- required: ["resourceGroups", "failedItems"],
- members: {
- resourceGroups: {
- type: "list",
- member: {
- type: "structure",
- required: ["arn", "tags", "createdAt"],
- members: {
- arn: {},
- tags: { shape: "Sp" },
- createdAt: { type: "timestamp" },
- },
- },
- },
- failedItems: { shape: "S9" },
+ listReposWatchedByUser: {
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ username: {
+ required: true,
+ type: "string",
},
},
+ url: "/users/:username/subscriptions",
},
- DescribeRulesPackages: {
- input: {
- type: "structure",
- required: ["rulesPackageArns"],
- members: { rulesPackageArns: { shape: "Sy" }, locale: {} },
- },
- output: {
- type: "structure",
- required: ["rulesPackages", "failedItems"],
- members: {
- rulesPackages: {
- type: "list",
- member: {
- type: "structure",
- required: ["arn", "name", "version", "provider"],
- members: {
- arn: {},
- name: {},
- version: {},
- provider: {},
- description: {},
- },
- },
- },
- failedItems: { shape: "S9" },
+ listStargazersForRepo: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/stargazers",
},
- GetAssessmentReport: {
- input: {
- type: "structure",
- required: ["assessmentRunArn", "reportFileFormat", "reportType"],
- members: {
- assessmentRunArn: {},
- reportFileFormat: {},
- reportType: {},
+ listWatchedReposForAuthenticatedUser: {
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
},
},
- output: {
- type: "structure",
- required: ["status"],
- members: { status: {}, url: {} },
- },
+ url: "/user/subscriptions",
},
- GetExclusionsPreview: {
- input: {
- type: "structure",
- required: ["assessmentTemplateArn", "previewToken"],
- members: {
- assessmentTemplateArn: {},
- previewToken: {},
- nextToken: {},
- maxResults: { type: "integer" },
- locale: {},
+ listWatchersForRepo: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- required: ["previewStatus"],
- members: {
- previewStatus: {},
- exclusionPreviews: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "title",
- "description",
- "recommendation",
- "scopes",
- ],
- members: {
- title: {},
- description: {},
- recommendation: {},
- scopes: { shape: "S1x" },
- attributes: { shape: "S21" },
- },
- },
- },
- nextToken: {},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/subscribers",
},
- GetTelemetryMetadata: {
- input: {
- type: "structure",
- required: ["assessmentRunArn"],
- members: { assessmentRunArn: {} },
- },
- output: {
- type: "structure",
- required: ["telemetryMetadata"],
- members: { telemetryMetadata: { shape: "S3j" } },
+ markAsRead: {
+ method: "PUT",
+ params: {
+ last_read_at: {
+ type: "string",
+ },
},
+ url: "/notifications",
},
- ListAssessmentRunAgents: {
- input: {
- type: "structure",
- required: ["assessmentRunArn"],
- members: {
- assessmentRunArn: {},
- filter: {
- type: "structure",
- required: ["agentHealths", "agentHealthCodes"],
- members: {
- agentHealths: { type: "list", member: {} },
- agentHealthCodes: { type: "list", member: {} },
- },
- },
- nextToken: {},
- maxResults: { type: "integer" },
+ markNotificationsAsReadForRepo: {
+ method: "PUT",
+ params: {
+ last_read_at: {
+ type: "string",
},
- },
- output: {
- type: "structure",
- required: ["assessmentRunAgents"],
- members: {
- assessmentRunAgents: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "agentId",
- "assessmentRunArn",
- "agentHealth",
- "agentHealthCode",
- "telemetryMetadata",
- ],
- members: {
- agentId: {},
- assessmentRunArn: {},
- agentHealth: {},
- agentHealthCode: {},
- agentHealthDetails: {},
- autoScalingGroup: {},
- telemetryMetadata: { shape: "S3j" },
- },
- },
- },
- nextToken: {},
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/notifications",
},
- ListAssessmentRuns: {
- input: {
- type: "structure",
- members: {
- assessmentTemplateArns: { shape: "S3x" },
- filter: {
- type: "structure",
- members: {
- namePattern: {},
- states: { type: "list", member: {} },
- durationRange: { shape: "S41" },
- rulesPackageArns: { shape: "S42" },
- startTimeRange: { shape: "S43" },
- completionTimeRange: { shape: "S43" },
- stateChangeTimeRange: { shape: "S43" },
- },
- },
- nextToken: {},
- maxResults: { type: "integer" },
+ markThreadAsRead: {
+ method: "PATCH",
+ params: {
+ thread_id: {
+ required: true,
+ type: "integer",
},
},
- output: {
- type: "structure",
- required: ["assessmentRunArns"],
- members: { assessmentRunArns: { shape: "S45" }, nextToken: {} },
- },
+ url: "/notifications/threads/:thread_id",
},
- ListAssessmentTargets: {
- input: {
- type: "structure",
- members: {
- filter: {
- type: "structure",
- members: { assessmentTargetNamePattern: {} },
- },
- nextToken: {},
- maxResults: { type: "integer" },
+ setRepoSubscription: {
+ method: "PUT",
+ params: {
+ ignored: {
+ type: "boolean",
},
- },
- output: {
- type: "structure",
- required: ["assessmentTargetArns"],
- members: {
- assessmentTargetArns: { shape: "S45" },
- nextToken: {},
+ owner: {
+ required: true,
+ type: "string",
},
- },
- },
- ListAssessmentTemplates: {
- input: {
- type: "structure",
- members: {
- assessmentTargetArns: { shape: "S3x" },
- filter: {
- type: "structure",
- members: {
- namePattern: {},
- durationRange: { shape: "S41" },
- rulesPackageArns: { shape: "S42" },
- },
- },
- nextToken: {},
- maxResults: { type: "integer" },
+ repo: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- required: ["assessmentTemplateArns"],
- members: {
- assessmentTemplateArns: { shape: "S45" },
- nextToken: {},
+ subscribed: {
+ type: "boolean",
},
},
+ url: "/repos/:owner/:repo/subscription",
},
- ListEventSubscriptions: {
- input: {
- type: "structure",
- members: {
- resourceArn: {},
- nextToken: {},
- maxResults: { type: "integer" },
+ setThreadSubscription: {
+ method: "PUT",
+ params: {
+ ignored: {
+ type: "boolean",
},
- },
- output: {
- type: "structure",
- required: ["subscriptions"],
- members: {
- subscriptions: {
- type: "list",
- member: {
- type: "structure",
- required: ["resourceArn", "topicArn", "eventSubscriptions"],
- members: {
- resourceArn: {},
- topicArn: {},
- eventSubscriptions: {
- type: "list",
- member: {
- type: "structure",
- required: ["event", "subscribedAt"],
- members: {
- event: {},
- subscribedAt: { type: "timestamp" },
- },
- },
- },
- },
- },
- },
- nextToken: {},
+ thread_id: {
+ required: true,
+ type: "integer",
},
},
+ url: "/notifications/threads/:thread_id/subscription",
},
- ListExclusions: {
- input: {
- type: "structure",
- required: ["assessmentRunArn"],
- members: {
- assessmentRunArn: {},
- nextToken: {},
- maxResults: { type: "integer" },
+ starRepo: {
+ method: "PUT",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- required: ["exclusionArns"],
- members: { exclusionArns: { shape: "S45" }, nextToken: {} },
- },
- },
- ListFindings: {
- input: {
- type: "structure",
- members: {
- assessmentRunArns: { shape: "S3x" },
- filter: {
- type: "structure",
- members: {
- agentIds: { type: "list", member: {} },
- autoScalingGroups: { type: "list", member: {} },
- ruleNames: { type: "list", member: {} },
- severities: { type: "list", member: {} },
- rulesPackageArns: { shape: "S42" },
- attributes: { shape: "S21" },
- userAttributes: { shape: "S21" },
- creationTimeRange: { shape: "S43" },
- },
- },
- nextToken: {},
- maxResults: { type: "integer" },
+ repo: {
+ required: true,
+ type: "string",
},
},
- output: {
- type: "structure",
- required: ["findingArns"],
- members: { findingArns: { shape: "S45" }, nextToken: {} },
- },
- },
- ListRulesPackages: {
- input: {
- type: "structure",
- members: { nextToken: {}, maxResults: { type: "integer" } },
- },
- output: {
- type: "structure",
- required: ["rulesPackageArns"],
- members: { rulesPackageArns: { shape: "S45" }, nextToken: {} },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["resourceArn"],
- members: { resourceArn: {} },
- },
- output: {
- type: "structure",
- required: ["tags"],
- members: { tags: { shape: "S4x" } },
- },
+ url: "/user/starred/:owner/:repo",
},
- PreviewAgents: {
- input: {
- type: "structure",
- required: ["previewAgentsArn"],
- members: {
- previewAgentsArn: {},
- nextToken: {},
- maxResults: { type: "integer" },
+ unstarRepo: {
+ method: "DELETE",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- required: ["agentPreviews"],
- members: {
- agentPreviews: {
- type: "list",
- member: {
- type: "structure",
- required: ["agentId"],
- members: {
- hostname: {},
- agentId: {},
- autoScalingGroup: {},
- agentHealth: {},
- agentVersion: {},
- operatingSystem: {},
- kernelVersion: {},
- ipv4Address: {},
- },
- },
- },
- nextToken: {},
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/user/starred/:owner/:repo",
},
- RegisterCrossAccountAccessRole: {
- input: {
- type: "structure",
- required: ["roleArn"],
- members: { roleArn: {} },
+ },
+ apps: {
+ addRepoToInstallation: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
},
- },
- RemoveAttributesFromFindings: {
- input: {
- type: "structure",
- required: ["findingArns", "attributeKeys"],
- members: {
- findingArns: { shape: "S2" },
- attributeKeys: { type: "list", member: {} },
+ method: "PUT",
+ params: {
+ installation_id: {
+ required: true,
+ type: "integer",
+ },
+ repository_id: {
+ required: true,
+ type: "integer",
},
},
- output: {
- type: "structure",
- required: ["failedItems"],
- members: { failedItems: { shape: "S9" } },
- },
+ url:
+ "/user/installations/:installation_id/repositories/:repository_id",
},
- SetTagsForResource: {
- input: {
- type: "structure",
- required: ["resourceArn"],
- members: { resourceArn: {}, tags: { shape: "S4x" } },
+ checkAccountIsAssociatedWithAny: {
+ method: "GET",
+ params: {
+ account_id: {
+ required: true,
+ type: "integer",
+ },
},
+ url: "/marketplace_listing/accounts/:account_id",
},
- StartAssessmentRun: {
- input: {
- type: "structure",
- required: ["assessmentTemplateArn"],
- members: { assessmentTemplateArn: {}, assessmentRunName: {} },
- },
- output: {
- type: "structure",
- required: ["assessmentRunArn"],
- members: { assessmentRunArn: {} },
+ checkAccountIsAssociatedWithAnyStubbed: {
+ method: "GET",
+ params: {
+ account_id: {
+ required: true,
+ type: "integer",
+ },
},
+ url: "/marketplace_listing/stubbed/accounts/:account_id",
},
- StopAssessmentRun: {
- input: {
- type: "structure",
- required: ["assessmentRunArn"],
- members: { assessmentRunArn: {}, stopAction: {} },
+ checkAuthorization: {
+ deprecated:
+ "octokit.apps.checkAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization",
+ method: "GET",
+ params: {
+ access_token: {
+ required: true,
+ type: "string",
+ },
+ client_id: {
+ required: true,
+ type: "string",
+ },
},
+ url: "/applications/:client_id/tokens/:access_token",
},
- SubscribeToEvent: {
- input: {
- type: "structure",
- required: ["resourceArn", "event", "topicArn"],
- members: { resourceArn: {}, event: {}, topicArn: {} },
+ checkToken: {
+ headers: {
+ accept: "application/vnd.github.doctor-strange-preview+json",
+ },
+ method: "POST",
+ params: {
+ access_token: {
+ type: "string",
+ },
+ client_id: {
+ required: true,
+ type: "string",
+ },
},
+ url: "/applications/:client_id/token",
},
- UnsubscribeFromEvent: {
- input: {
- type: "structure",
- required: ["resourceArn", "event", "topicArn"],
- members: { resourceArn: {}, event: {}, topicArn: {} },
+ createContentAttachment: {
+ headers: {
+ accept: "application/vnd.github.corsair-preview+json",
+ },
+ method: "POST",
+ params: {
+ body: {
+ required: true,
+ type: "string",
+ },
+ content_reference_id: {
+ required: true,
+ type: "integer",
+ },
+ title: {
+ required: true,
+ type: "string",
+ },
},
+ url: "/content_references/:content_reference_id/attachments",
},
- UpdateAssessmentTarget: {
- input: {
- type: "structure",
- required: ["assessmentTargetArn", "assessmentTargetName"],
- members: {
- assessmentTargetArn: {},
- assessmentTargetName: {},
- resourceGroupArn: {},
+ createFromManifest: {
+ headers: {
+ accept: "application/vnd.github.fury-preview+json",
+ },
+ method: "POST",
+ params: {
+ code: {
+ required: true,
+ type: "string",
},
},
+ url: "/app-manifests/:code/conversions",
},
- },
- shapes: {
- S2: { type: "list", member: {} },
- S4: { type: "list", member: { shape: "S5" } },
- S5: {
- type: "structure",
- required: ["key"],
- members: { key: {}, value: {} },
+ createInstallationToken: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
+ },
+ method: "POST",
+ params: {
+ installation_id: {
+ required: true,
+ type: "integer",
+ },
+ permissions: {
+ type: "object",
+ },
+ repository_ids: {
+ type: "integer[]",
+ },
+ },
+ url: "/app/installations/:installation_id/access_tokens",
},
- S9: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- required: ["failureCode", "retryable"],
- members: { failureCode: {}, retryable: { type: "boolean" } },
+ deleteAuthorization: {
+ headers: {
+ accept: "application/vnd.github.doctor-strange-preview+json",
+ },
+ method: "DELETE",
+ params: {
+ access_token: {
+ type: "string",
+ },
+ client_id: {
+ required: true,
+ type: "string",
+ },
},
+ url: "/applications/:client_id/grant",
},
- Sj: { type: "list", member: {} },
- Sp: {
- type: "list",
- member: {
- type: "structure",
- required: ["key"],
- members: { key: {}, value: {} },
+ deleteInstallation: {
+ headers: {
+ accept:
+ "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json",
+ },
+ method: "DELETE",
+ params: {
+ installation_id: {
+ required: true,
+ type: "integer",
+ },
},
+ url: "/app/installations/:installation_id",
},
- Sy: { type: "list", member: {} },
- S1x: {
- type: "list",
- member: { type: "structure", members: { key: {}, value: {} } },
+ deleteToken: {
+ headers: {
+ accept: "application/vnd.github.doctor-strange-preview+json",
+ },
+ method: "DELETE",
+ params: {
+ access_token: {
+ type: "string",
+ },
+ client_id: {
+ required: true,
+ type: "string",
+ },
+ },
+ url: "/applications/:client_id/token",
},
- S21: { type: "list", member: { shape: "S5" } },
- S2i: {
- type: "structure",
- required: ["key"],
- members: { key: {}, value: {} },
+ findOrgInstallation: {
+ deprecated:
+ "octokit.apps.findOrgInstallation() has been renamed to octokit.apps.getOrgInstallation() (2019-04-10)",
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
+ },
+ method: "GET",
+ params: {
+ org: {
+ required: true,
+ type: "string",
+ },
+ },
+ url: "/orgs/:org/installation",
},
- S3j: {
- type: "list",
- member: {
- type: "structure",
- required: ["messageType", "count"],
- members: {
- messageType: {},
- count: { type: "long" },
- dataSize: { type: "long" },
+ findRepoInstallation: {
+ deprecated:
+ "octokit.apps.findRepoInstallation() has been renamed to octokit.apps.getRepoInstallation() (2019-04-10)",
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
+ },
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
+ url: "/repos/:owner/:repo/installation",
},
- S3x: { type: "list", member: {} },
- S41: {
- type: "structure",
- members: {
- minSeconds: { type: "integer" },
- maxSeconds: { type: "integer" },
+ findUserInstallation: {
+ deprecated:
+ "octokit.apps.findUserInstallation() has been renamed to octokit.apps.getUserInstallation() (2019-04-10)",
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
+ },
+ method: "GET",
+ params: {
+ username: {
+ required: true,
+ type: "string",
+ },
},
+ url: "/users/:username/installation",
},
- S42: { type: "list", member: {} },
- S43: {
- type: "structure",
- members: {
- beginDate: { type: "timestamp" },
- endDate: { type: "timestamp" },
+ getAuthenticated: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
},
+ method: "GET",
+ params: {},
+ url: "/app",
},
- S45: { type: "list", member: {} },
- S4x: { type: "list", member: { shape: "S2i" } },
- },
- };
-
- /***/
- },
-
- /***/ 623: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5408);
- model.paginators = __webpack_require__(4571).pagination;
- return model;
+ getBySlug: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
+ },
+ method: "GET",
+ params: {
+ app_slug: {
+ required: true,
+ type: "string",
+ },
+ },
+ url: "/apps/:app_slug",
},
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.CodeGuruProfiler;
-
- /***/
- },
-
- /***/ 625: /***/ function (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,
- };
-
- /***/
- },
-
- /***/ 634: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
-
- /**
- * 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);
- }
- },
- });
-
- /***/
- },
-
- /***/ 636: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- ImageScanComplete: {
- description:
- "Wait until an image scan is complete and findings can be accessed",
- operation: "DescribeImageScanFindings",
- delay: 5,
- maxAttempts: 60,
- acceptors: [
- {
- state: "success",
- matcher: "path",
- argument: "imageScanStatus.status",
- expected: "COMPLETE",
+ getInstallation: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
+ },
+ method: "GET",
+ params: {
+ installation_id: {
+ required: true,
+ type: "integer",
},
- {
- state: "failure",
- matcher: "path",
- argument: "imageScanStatus.status",
- expected: "FAILED",
+ },
+ url: "/app/installations/:installation_id",
+ },
+ getOrgInstallation: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
+ },
+ method: "GET",
+ params: {
+ org: {
+ required: true,
+ type: "string",
},
- ],
+ },
+ url: "/orgs/:org/installation",
},
- LifecyclePolicyPreviewComplete: {
- description:
- "Wait until a lifecycle policy preview request is complete and results can be accessed",
- operation: "GetLifecyclePolicyPreview",
- delay: 5,
- maxAttempts: 20,
- acceptors: [
- {
- state: "success",
- matcher: "path",
- argument: "status",
- expected: "COMPLETE",
+ getRepoInstallation: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
+ },
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- {
- state: "failure",
- matcher: "path",
- argument: "status",
- expected: "FAILED",
+ repo: {
+ required: true,
+ type: "string",
},
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 644: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeAccessPoints: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- DescribeFileSystems: {
- input_token: "Marker",
- output_token: "NextMarker",
- limit_key: "MaxItems",
- },
- DescribeTags: {
- input_token: "Marker",
- output_token: "NextMarker",
- limit_key: "MaxItems",
+ },
+ url: "/repos/:owner/:repo/installation",
},
- ListTagsForResource: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
+ getUserInstallation: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
+ },
+ method: "GET",
+ params: {
+ username: {
+ required: true,
+ type: "string",
+ },
+ },
+ url: "/users/:username/installation",
},
- },
- };
-
- /***/
- },
-
- /***/ 665: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5915);
- model.paginators = __webpack_require__(484).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.CodeBuild;
-
- /***/
- },
-
- /***/ 677: /***/ function (module) {
- module.exports = {
- pagination: {
- ListComponentBuildVersions: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
+ listAccountsUserOrOrgOnPlan: {
+ method: "GET",
+ params: {
+ direction: {
+ enum: ["asc", "desc"],
+ type: "string",
+ },
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ plan_id: {
+ required: true,
+ type: "integer",
+ },
+ sort: {
+ enum: ["created", "updated"],
+ type: "string",
+ },
+ },
+ url: "/marketplace_listing/plans/:plan_id/accounts",
},
- ListComponents: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
+ listAccountsUserOrOrgOnPlanStubbed: {
+ method: "GET",
+ params: {
+ direction: {
+ enum: ["asc", "desc"],
+ type: "string",
+ },
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ plan_id: {
+ required: true,
+ type: "integer",
+ },
+ sort: {
+ enum: ["created", "updated"],
+ type: "string",
+ },
+ },
+ url: "/marketplace_listing/stubbed/plans/:plan_id/accounts",
},
- ListDistributionConfigurations: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
+ listInstallationReposForAuthenticatedUser: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
+ },
+ method: "GET",
+ params: {
+ installation_id: {
+ required: true,
+ type: "integer",
+ },
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ },
+ url: "/user/installations/:installation_id/repositories",
},
- ListImageBuildVersions: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
+ listInstallations: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
+ },
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ },
+ url: "/app/installations",
},
- ListImagePipelineImages: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
+ listInstallationsForAuthenticatedUser: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
+ },
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ },
+ url: "/user/installations",
},
- ListImagePipelines: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListImageRecipes: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListImages: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListInfrastructureConfigurations: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 682: /***/ function (module) {
- module.exports = {
- pagination: {
- ListAccountRoles: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- result_key: "roleList",
- },
- ListAccounts: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- result_key: "accountList",
- },
- },
- };
-
- /***/
- },
-
- /***/ 686: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(7752);
- model.paginators = __webpack_require__(4252).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.SavingsPlans;
-
- /***/
- },
-
- /***/ 693: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeCacheClusters: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "CacheClusters",
- },
- DescribeCacheEngineVersions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "CacheEngineVersions",
- },
- DescribeCacheParameterGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "CacheParameterGroups",
- },
- DescribeCacheParameters: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "Parameters",
- },
- DescribeCacheSecurityGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "CacheSecurityGroups",
- },
- DescribeCacheSubnetGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "CacheSubnetGroups",
- },
- DescribeEngineDefaultParameters: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "EngineDefaults.Marker",
- result_key: "EngineDefaults.Parameters",
- },
- DescribeEvents: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "Events",
- },
- DescribeGlobalReplicationGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "GlobalReplicationGroups",
- },
- DescribeReplicationGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "ReplicationGroups",
- },
- DescribeReservedCacheNodes: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "ReservedCacheNodes",
- },
- DescribeReservedCacheNodesOfferings: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "ReservedCacheNodesOfferings",
- },
- DescribeServiceUpdates: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "ServiceUpdates",
- },
- DescribeSnapshots: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "Snapshots",
- },
- DescribeUpdateActions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "UpdateActions",
- },
- },
- };
-
- /***/
- },
-
- /***/ 697: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(2662);
- model.paginators = __webpack_require__(1479).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Connect;
-
- /***/
- },
-
- /***/ 707: /***/ function (module) {
- module.exports = {
- pagination: {
- ListBuckets: { result_key: "Buckets" },
- ListMultipartUploads: {
- input_token: ["KeyMarker", "UploadIdMarker"],
- limit_key: "MaxUploads",
- more_results: "IsTruncated",
- output_token: ["NextKeyMarker", "NextUploadIdMarker"],
- result_key: ["Uploads", "CommonPrefixes"],
- },
- ListObjectVersions: {
- input_token: ["KeyMarker", "VersionIdMarker"],
- limit_key: "MaxKeys",
- more_results: "IsTruncated",
- output_token: ["NextKeyMarker", "NextVersionIdMarker"],
- result_key: ["Versions", "DeleteMarkers", "CommonPrefixes"],
- },
- ListObjects: {
- input_token: "Marker",
- limit_key: "MaxKeys",
- more_results: "IsTruncated",
- output_token: "NextMarker || Contents[-1].Key",
- result_key: ["Contents", "CommonPrefixes"],
- },
- ListObjectsV2: {
- input_token: "ContinuationToken",
- limit_key: "MaxKeys",
- output_token: "NextContinuationToken",
- result_key: ["Contents", "CommonPrefixes"],
- },
- ListParts: {
- input_token: "PartNumberMarker",
- limit_key: "MaxParts",
- more_results: "IsTruncated",
- output_token: "NextPartNumberMarker",
- result_key: "Parts",
- },
- },
- };
-
- /***/
- },
-
- /***/ 721: /***/ function (module) {
- module.exports = {
- pagination: {
- GetWorkflowExecutionHistory: {
- input_token: "nextPageToken",
- limit_key: "maximumPageSize",
- output_token: "nextPageToken",
- result_key: "events",
- },
- ListActivityTypes: {
- input_token: "nextPageToken",
- limit_key: "maximumPageSize",
- output_token: "nextPageToken",
- result_key: "typeInfos",
- },
- ListClosedWorkflowExecutions: {
- input_token: "nextPageToken",
- limit_key: "maximumPageSize",
- output_token: "nextPageToken",
- result_key: "executionInfos",
- },
- ListDomains: {
- input_token: "nextPageToken",
- limit_key: "maximumPageSize",
- output_token: "nextPageToken",
- result_key: "domainInfos",
- },
- ListOpenWorkflowExecutions: {
- input_token: "nextPageToken",
- limit_key: "maximumPageSize",
- output_token: "nextPageToken",
- result_key: "executionInfos",
- },
- ListWorkflowTypes: {
- input_token: "nextPageToken",
- limit_key: "maximumPageSize",
- output_token: "nextPageToken",
- result_key: "typeInfos",
- },
- PollForDecisionTask: {
- input_token: "nextPageToken",
- limit_key: "maximumPageSize",
- output_token: "nextPageToken",
- result_key: "events",
- },
- },
- };
-
- /***/
- },
-
- /***/ 747: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
- var STS = __webpack_require__(1733);
-
- /**
- * 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);
- }
- },
- });
-
- /***/
- },
-
- /***/ 758: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(505);
- model.paginators = __webpack_require__(3410).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Mobile;
-
- /***/
- },
-
- /***/ 761: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- DBInstanceAvailable: {
- delay: 30,
- operation: "DescribeDBInstances",
- maxAttempts: 60,
- acceptors: [
- {
- expected: "available",
- matcher: "pathAll",
- state: "success",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "deleted",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "deleting",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "failed",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "incompatible-restore",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "incompatible-parameters",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- ],
- },
- DBInstanceDeleted: {
- delay: 30,
- operation: "DescribeDBInstances",
- maxAttempts: 60,
- acceptors: [
- {
- expected: "deleted",
- matcher: "pathAll",
- state: "success",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "DBInstanceNotFound",
- matcher: "error",
- state: "success",
- },
- {
- expected: "creating",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "modifying",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "rebooting",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "resetting-master-credentials",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
+ listMarketplacePurchasesForAuthenticatedUser: {
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
},
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 768: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(1459);
- model.paginators = __webpack_require__(7744).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.CloudTrail;
-
- /***/
- },
-
- /***/ 807: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-01-04",
- endpointPrefix: "ram",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "RAM",
- serviceFullName: "AWS Resource Access Manager",
- serviceId: "RAM",
- signatureVersion: "v4",
- uid: "ram-2018-01-04",
- },
- operations: {
- AcceptResourceShareInvitation: {
- http: { requestUri: "/acceptresourceshareinvitation" },
- input: {
- type: "structure",
- required: ["resourceShareInvitationArn"],
- members: { resourceShareInvitationArn: {}, clientToken: {} },
- },
- output: {
- type: "structure",
- members: {
- resourceShareInvitation: { shape: "S4" },
- clientToken: {},
+ per_page: {
+ type: "integer",
},
},
+ url: "/user/marketplace_purchases",
},
- AssociateResourceShare: {
- http: { requestUri: "/associateresourceshare" },
- input: {
- type: "structure",
- required: ["resourceShareArn"],
- members: {
- resourceShareArn: {},
- resourceArns: { shape: "Sd" },
- principals: { shape: "Se" },
- clientToken: {},
+ listMarketplacePurchasesForAuthenticatedUserStubbed: {
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
},
- },
- output: {
- type: "structure",
- members: {
- resourceShareAssociations: { shape: "S7" },
- clientToken: {},
+ per_page: {
+ type: "integer",
},
},
+ url: "/user/marketplace_purchases/stubbed",
},
- AssociateResourceSharePermission: {
- http: { requestUri: "/associateresourcesharepermission" },
- input: {
- type: "structure",
- required: ["resourceShareArn", "permissionArn"],
- members: {
- resourceShareArn: {},
- permissionArn: {},
- replace: { type: "boolean" },
- clientToken: {},
+ listPlans: {
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
},
- },
- output: {
- type: "structure",
- members: { returnValue: { type: "boolean" }, clientToken: {} },
- },
- },
- CreateResourceShare: {
- http: { requestUri: "/createresourceshare" },
- input: {
- type: "structure",
- required: ["name"],
- members: {
- name: {},
- resourceArns: { shape: "Sd" },
- principals: { shape: "Se" },
- tags: { shape: "Sj" },
- allowExternalPrincipals: { type: "boolean" },
- clientToken: {},
- permissionArns: { type: "list", member: {} },
+ per_page: {
+ type: "integer",
},
},
- output: {
- type: "structure",
- members: { resourceShare: { shape: "Sp" }, clientToken: {} },
- },
+ url: "/marketplace_listing/plans",
},
- DeleteResourceShare: {
- http: { method: "DELETE", requestUri: "/deleteresourceshare" },
- input: {
- type: "structure",
- required: ["resourceShareArn"],
- members: {
- resourceShareArn: {
- location: "querystring",
- locationName: "resourceShareArn",
- },
- clientToken: {
- location: "querystring",
- locationName: "clientToken",
- },
+ listPlansStubbed: {
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
},
},
- output: {
- type: "structure",
- members: { returnValue: { type: "boolean" }, clientToken: {} },
- },
+ url: "/marketplace_listing/stubbed/plans",
},
- DisassociateResourceShare: {
- http: { requestUri: "/disassociateresourceshare" },
- input: {
- type: "structure",
- required: ["resourceShareArn"],
- members: {
- resourceShareArn: {},
- resourceArns: { shape: "Sd" },
- principals: { shape: "Se" },
- clientToken: {},
- },
+ listRepos: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
},
- output: {
- type: "structure",
- members: {
- resourceShareAssociations: { shape: "S7" },
- clientToken: {},
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
},
- },
- },
- DisassociateResourceSharePermission: {
- http: { requestUri: "/disassociateresourcesharepermission" },
- input: {
- type: "structure",
- required: ["resourceShareArn", "permissionArn"],
- members: {
- resourceShareArn: {},
- permissionArn: {},
- clientToken: {},
+ per_page: {
+ type: "integer",
},
},
- output: {
- type: "structure",
- members: { returnValue: { type: "boolean" }, clientToken: {} },
- },
+ url: "/installation/repositories",
},
- EnableSharingWithAwsOrganization: {
- http: { requestUri: "/enablesharingwithawsorganization" },
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: { returnValue: { type: "boolean" } },
+ removeRepoFromInstallation: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
},
- },
- GetPermission: {
- http: { requestUri: "/getpermission" },
- input: {
- type: "structure",
- required: ["permissionArn"],
- members: {
- permissionArn: {},
- permissionVersion: { type: "integer" },
+ method: "DELETE",
+ params: {
+ installation_id: {
+ required: true,
+ type: "integer",
},
- },
- output: {
- type: "structure",
- members: {
- permission: {
- type: "structure",
- members: {
- arn: {},
- version: {},
- defaultVersion: { type: "boolean" },
- name: {},
- resourceType: {},
- permission: {},
- creationTime: { type: "timestamp" },
- lastUpdatedTime: { type: "timestamp" },
- },
- },
+ repository_id: {
+ required: true,
+ type: "integer",
},
},
+ url:
+ "/user/installations/:installation_id/repositories/:repository_id",
},
- GetResourcePolicies: {
- http: { requestUri: "/getresourcepolicies" },
- input: {
- type: "structure",
- required: ["resourceArns"],
- members: {
- resourceArns: { shape: "Sd" },
- principal: {},
- nextToken: {},
- maxResults: { type: "integer" },
+ resetAuthorization: {
+ deprecated:
+ "octokit.apps.resetAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization",
+ method: "POST",
+ params: {
+ access_token: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- policies: { type: "list", member: {} },
- nextToken: {},
+ client_id: {
+ required: true,
+ type: "string",
},
},
+ url: "/applications/:client_id/tokens/:access_token",
},
- GetResourceShareAssociations: {
- http: { requestUri: "/getresourceshareassociations" },
- input: {
- type: "structure",
- required: ["associationType"],
- members: {
- associationType: {},
- resourceShareArns: { shape: "S1a" },
- resourceArn: {},
- principal: {},
- associationStatus: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
+ resetToken: {
+ headers: {
+ accept: "application/vnd.github.doctor-strange-preview+json",
},
- output: {
- type: "structure",
- members: {
- resourceShareAssociations: { shape: "S7" },
- nextToken: {},
+ method: "PATCH",
+ params: {
+ access_token: {
+ type: "string",
+ },
+ client_id: {
+ required: true,
+ type: "string",
},
},
+ url: "/applications/:client_id/token",
},
- GetResourceShareInvitations: {
- http: { requestUri: "/getresourceshareinvitations" },
- input: {
- type: "structure",
- members: {
- resourceShareInvitationArns: { type: "list", member: {} },
- resourceShareArns: { shape: "S1a" },
- nextToken: {},
- maxResults: { type: "integer" },
+ revokeAuthorizationForApplication: {
+ deprecated:
+ "octokit.apps.revokeAuthorizationForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application",
+ method: "DELETE",
+ params: {
+ access_token: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- resourceShareInvitations: {
- type: "list",
- member: { shape: "S4" },
- },
- nextToken: {},
+ client_id: {
+ required: true,
+ type: "string",
},
},
+ url: "/applications/:client_id/tokens/:access_token",
},
- GetResourceShares: {
- http: { requestUri: "/getresourceshares" },
- input: {
- type: "structure",
- required: ["resourceOwner"],
- members: {
- resourceShareArns: { shape: "S1a" },
- resourceShareStatus: {},
- resourceOwner: {},
- name: {},
- tagFilters: {
- type: "list",
- member: {
- type: "structure",
- members: {
- tagKey: {},
- tagValues: { type: "list", member: {} },
- },
- },
- },
- nextToken: {},
- maxResults: { type: "integer" },
+ revokeGrantForApplication: {
+ deprecated:
+ "octokit.apps.revokeGrantForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application",
+ method: "DELETE",
+ params: {
+ access_token: {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: {
- resourceShares: { type: "list", member: { shape: "Sp" } },
- nextToken: {},
+ client_id: {
+ required: true,
+ type: "string",
},
},
+ url: "/applications/:client_id/grants/:access_token",
},
- ListPendingInvitationResources: {
- http: { requestUri: "/listpendinginvitationresources" },
- input: {
- type: "structure",
- required: ["resourceShareInvitationArn"],
- members: {
- resourceShareInvitationArn: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { resources: { shape: "S1p" }, nextToken: {} },
+ revokeInstallationToken: {
+ headers: {
+ accept: "application/vnd.github.gambit-preview+json",
},
+ method: "DELETE",
+ params: {},
+ url: "/installation/token",
},
- ListPermissions: {
- http: { requestUri: "/listpermissions" },
- input: {
- type: "structure",
- members: {
- resourceType: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { permissions: { shape: "S1u" }, nextToken: {} },
+ },
+ checks: {
+ create: {
+ headers: {
+ accept: "application/vnd.github.antiope-preview+json",
},
- },
- ListPrincipals: {
- http: { requestUri: "/listprincipals" },
- input: {
- type: "structure",
- required: ["resourceOwner"],
- members: {
- resourceOwner: {},
- resourceArn: {},
- principals: { shape: "Se" },
- resourceType: {},
- resourceShareArns: { shape: "S1a" },
- nextToken: {},
- maxResults: { type: "integer" },
+ method: "POST",
+ params: {
+ actions: {
+ type: "object[]",
},
- },
- output: {
- type: "structure",
- members: {
- principals: {
- type: "list",
- member: {
- type: "structure",
- members: {
- id: {},
- resourceShareArn: {},
- creationTime: { type: "timestamp" },
- lastUpdatedTime: { type: "timestamp" },
- external: { type: "boolean" },
- },
- },
- },
- nextToken: {},
+ "actions[].description": {
+ required: true,
+ type: "string",
},
- },
- },
- ListResourceSharePermissions: {
- http: { requestUri: "/listresourcesharepermissions" },
- input: {
- type: "structure",
- required: ["resourceShareArn"],
- members: {
- resourceShareArn: {},
- nextToken: {},
- maxResults: { type: "integer" },
+ "actions[].identifier": {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: { permissions: { shape: "S1u" }, nextToken: {} },
- },
- },
- ListResources: {
- http: { requestUri: "/listresources" },
- input: {
- type: "structure",
- required: ["resourceOwner"],
- members: {
- resourceOwner: {},
- principal: {},
- resourceType: {},
- resourceArns: { shape: "Sd" },
- resourceShareArns: { shape: "S1a" },
- nextToken: {},
- maxResults: { type: "integer" },
+ "actions[].label": {
+ required: true,
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: { resources: { shape: "S1p" }, nextToken: {} },
- },
- },
- PromoteResourceShareCreatedFromPolicy: {
- http: { requestUri: "/promoteresourcesharecreatedfrompolicy" },
- input: {
- type: "structure",
- required: ["resourceShareArn"],
- members: {
- resourceShareArn: {
- location: "querystring",
- locationName: "resourceShareArn",
- },
+ completed_at: {
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: { returnValue: { type: "boolean" } },
- },
- },
- RejectResourceShareInvitation: {
- http: { requestUri: "/rejectresourceshareinvitation" },
- input: {
- type: "structure",
- required: ["resourceShareInvitationArn"],
- members: { resourceShareInvitationArn: {}, clientToken: {} },
- },
- output: {
- type: "structure",
- members: {
- resourceShareInvitation: { shape: "S4" },
- clientToken: {},
+ conclusion: {
+ enum: [
+ "success",
+ "failure",
+ "neutral",
+ "cancelled",
+ "timed_out",
+ "action_required",
+ ],
+ type: "string",
},
- },
- },
- TagResource: {
- http: { requestUri: "/tagresource" },
- input: {
- type: "structure",
- required: ["resourceShareArn", "tags"],
- members: { resourceShareArn: {}, tags: { shape: "Sj" } },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- http: { requestUri: "/untagresource" },
- input: {
- type: "structure",
- required: ["resourceShareArn", "tagKeys"],
- members: {
- resourceShareArn: {},
- tagKeys: { type: "list", member: {} },
+ details_url: {
+ type: "string",
},
- },
- output: { type: "structure", members: {} },
- },
- UpdateResourceShare: {
- http: { requestUri: "/updateresourceshare" },
- input: {
- type: "structure",
- required: ["resourceShareArn"],
- members: {
- resourceShareArn: {},
- name: {},
- allowExternalPrincipals: { type: "boolean" },
- clientToken: {},
+ external_id: {
+ type: "string",
},
- },
- output: {
- type: "structure",
- members: { resourceShare: { shape: "Sp" }, clientToken: {} },
- },
- },
- },
- shapes: {
- S4: {
- type: "structure",
- members: {
- resourceShareInvitationArn: {},
- resourceShareName: {},
- resourceShareArn: {},
- senderAccountId: {},
- receiverAccountId: {},
- invitationTimestamp: { type: "timestamp" },
- status: {},
- resourceShareAssociations: {
- shape: "S7",
- deprecated: true,
- deprecatedMessage:
- "This member has been deprecated. Use ListPendingInvitationResources.",
+ head_sha: {
+ required: true,
+ type: "string",
},
- },
- },
- S7: {
- type: "list",
- member: {
- type: "structure",
- members: {
- resourceShareArn: {},
- resourceShareName: {},
- associatedEntity: {},
- associationType: {},
- status: {},
- statusMessage: {},
- creationTime: { type: "timestamp" },
- lastUpdatedTime: { type: "timestamp" },
- external: { type: "boolean" },
+ name: {
+ required: true,
+ type: "string",
},
- },
- },
- Sd: { type: "list", member: {} },
- Se: { type: "list", member: {} },
- Sj: {
- type: "list",
- member: { type: "structure", members: { key: {}, value: {} } },
- },
- Sp: {
- type: "structure",
- members: {
- resourceShareArn: {},
- name: {},
- owningAccountId: {},
- allowExternalPrincipals: { type: "boolean" },
- status: {},
- statusMessage: {},
- tags: { shape: "Sj" },
- creationTime: { type: "timestamp" },
- lastUpdatedTime: { type: "timestamp" },
- featureSet: {},
- },
- },
- S1a: { type: "list", member: {} },
- S1p: {
- type: "list",
- member: {
- type: "structure",
- members: {
- arn: {},
- type: {},
- resourceShareArn: {},
- resourceGroupArn: {},
- status: {},
- statusMessage: {},
- creationTime: { type: "timestamp" },
- lastUpdatedTime: { type: "timestamp" },
+ output: {
+ type: "object",
},
- },
- },
- S1u: {
- type: "list",
- member: {
- type: "structure",
- members: {
- arn: {},
- version: {},
- defaultVersion: { type: "boolean" },
- name: {},
- resourceType: {},
- status: {},
- creationTime: { type: "timestamp" },
- lastUpdatedTime: { type: "timestamp" },
+ "output.annotations": {
+ type: "object[]",
},
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 833: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeDomains: { result_key: "DomainStatusList" },
- DescribeIndexFields: { result_key: "IndexFields" },
- DescribeRankExpressions: { result_key: "RankExpressions" },
- },
- };
-
- /***/
- },
-
- /***/ 837: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5338);
- model.paginators = __webpack_require__(2189).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.SESV2;
-
- /***/
- },
-
- /***/ 842: /***/ function (__unusedmodule, exports, __webpack_require__) {
- "use strict";
-
- Object.defineProperty(exports, "__esModule", { value: true });
-
- var deprecation = __webpack_require__(7692);
-
- var endpointsByScope = {
- actions: {
- cancelWorkflowRun: {
- method: "POST",
- params: {
- owner: {
+ "output.annotations[].annotation_level": {
+ enum: ["notice", "warning", "failure"],
required: true,
type: "string",
},
- repo: {
- required: true,
- type: "string",
+ "output.annotations[].end_column": {
+ type: "integer",
},
- run_id: {
+ "output.annotations[].end_line": {
required: true,
type: "integer",
},
- },
- url: "/repos/:owner/:repo/actions/runs/:run_id/cancel",
- },
- createOrUpdateSecretForRepo: {
- method: "PUT",
- params: {
- encrypted_value: {
+ "output.annotations[].message": {
+ required: true,
type: "string",
},
- key_id: {
+ "output.annotations[].path": {
+ required: true,
type: "string",
},
- name: {
- required: true,
+ "output.annotations[].raw_details": {
type: "string",
},
- owner: {
+ "output.annotations[].start_column": {
+ type: "integer",
+ },
+ "output.annotations[].start_line": {
required: true,
+ type: "integer",
+ },
+ "output.annotations[].title": {
type: "string",
},
- repo: {
+ "output.images": {
+ type: "object[]",
+ },
+ "output.images[].alt": {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/actions/secrets/:name",
- },
- createRegistrationToken: {
- method: "POST",
- params: {
- owner: {
- required: true,
+ "output.images[].caption": {
type: "string",
},
- repo: {
+ "output.images[].image_url": {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/actions/runners/registration-token",
- },
- createRemoveToken: {
- method: "POST",
- params: {
- owner: {
+ "output.summary": {
required: true,
type: "string",
},
- repo: {
- required: true,
+ "output.text": {
type: "string",
},
- },
- url: "/repos/:owner/:repo/actions/runners/remove-token",
- },
- deleteArtifact: {
- method: "DELETE",
- params: {
- artifact_id: {
+ "output.title": {
required: true,
- type: "integer",
+ type: "string",
},
owner: {
required: true,
@@ -12801,38 +6777,26 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/actions/artifacts/:artifact_id",
- },
- deleteSecretFromRepo: {
- method: "DELETE",
- params: {
- name: {
- required: true,
- type: "string",
- },
- owner: {
- required: true,
+ started_at: {
type: "string",
},
- repo: {
- required: true,
+ status: {
+ enum: ["queued", "in_progress", "completed"],
type: "string",
},
},
- url: "/repos/:owner/:repo/actions/secrets/:name",
+ url: "/repos/:owner/:repo/check-runs",
},
- downloadArtifact: {
- method: "GET",
+ createSuite: {
+ headers: {
+ accept: "application/vnd.github.antiope-preview+json",
+ },
+ method: "POST",
params: {
- archive_format: {
+ head_sha: {
required: true,
type: "string",
},
- artifact_id: {
- required: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
@@ -12842,13 +6806,15 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url:
- "/repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format",
+ url: "/repos/:owner/:repo/check-suites",
},
- getArtifact: {
+ get: {
+ headers: {
+ accept: "application/vnd.github.antiope-preview+json",
+ },
method: "GET",
params: {
- artifact_id: {
+ check_run_id: {
required: true,
type: "integer",
},
@@ -12861,11 +6827,18 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/actions/artifacts/:artifact_id",
+ url: "/repos/:owner/:repo/check-runs/:check_run_id",
},
- getPublicKey: {
+ getSuite: {
+ headers: {
+ accept: "application/vnd.github.antiope-preview+json",
+ },
method: "GET",
params: {
+ check_suite_id: {
+ required: true,
+ type: "integer",
+ },
owner: {
required: true,
type: "string",
@@ -12875,14 +6848,17 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/actions/secrets/public-key",
+ url: "/repos/:owner/:repo/check-suites/:check_suite_id",
},
- getSecret: {
+ listAnnotations: {
+ headers: {
+ accept: "application/vnd.github.antiope-preview+json",
+ },
method: "GET",
params: {
- name: {
+ check_run_id: {
required: true,
- type: "string",
+ type: "integer",
},
owner: {
required: true,
@@ -12899,52 +6875,32 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/actions/secrets/:name",
+ url: "/repos/:owner/:repo/check-runs/:check_run_id/annotations",
},
- getSelfHostedRunner: {
+ listForRef: {
+ headers: {
+ accept: "application/vnd.github.antiope-preview+json",
+ },
method: "GET",
params: {
- owner: {
- required: true,
+ check_name: {
type: "string",
},
- repo: {
- required: true,
+ filter: {
+ enum: ["latest", "all"],
type: "string",
},
- runner_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/repos/:owner/:repo/actions/runners/:runner_id",
- },
- getWorkflow: {
- method: "GET",
- params: {
owner: {
required: true,
type: "string",
},
- repo: {
- required: true,
- type: "string",
- },
- workflow_id: {
- required: true,
+ page: {
type: "integer",
},
- },
- url: "/repos/:owner/:repo/actions/workflows/:workflow_id",
- },
- getWorkflowJob: {
- method: "GET",
- params: {
- job_id: {
- required: true,
+ per_page: {
type: "integer",
},
- owner: {
+ ref: {
required: true,
type: "string",
},
@@ -12952,44 +6908,30 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/actions/jobs/:job_id",
- },
- getWorkflowRun: {
- method: "GET",
- params: {
- owner: {
- required: true,
- type: "string",
- },
- repo: {
- required: true,
+ status: {
+ enum: ["queued", "in_progress", "completed"],
type: "string",
},
- run_id: {
- required: true,
- type: "integer",
- },
},
- url: "/repos/:owner/:repo/actions/runs/:run_id",
+ url: "/repos/:owner/:repo/commits/:ref/check-runs",
},
- listDownloadsForSelfHostedRunnerApplication: {
+ listForSuite: {
+ headers: {
+ accept: "application/vnd.github.antiope-preview+json",
+ },
method: "GET",
params: {
- owner: {
- required: true,
+ check_name: {
type: "string",
},
- repo: {
+ check_suite_id: {
required: true,
+ type: "integer",
+ },
+ filter: {
+ enum: ["latest", "all"],
type: "string",
},
- },
- url: "/repos/:owner/:repo/actions/runners/downloads",
- },
- listJobsForWorkflowRun: {
- method: "GET",
- params: {
owner: {
required: true,
type: "string",
@@ -13004,23 +6946,23 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- run_id: {
- required: true,
- type: "integer",
+ status: {
+ enum: ["queued", "in_progress", "completed"],
+ type: "string",
},
},
- url: "/repos/:owner/:repo/actions/runs/:run_id/jobs",
+ url: "/repos/:owner/:repo/check-suites/:check_suite_id/check-runs",
},
- listRepoWorkflowRuns: {
+ listSuitesForRef: {
+ headers: {
+ accept: "application/vnd.github.antiope-preview+json",
+ },
method: "GET",
params: {
- actor: {
- type: "string",
- },
- branch: {
- type: "string",
+ app_id: {
+ type: "integer",
},
- event: {
+ check_name: {
type: "string",
},
owner: {
@@ -13033,207 +6975,177 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- repo: {
+ ref: {
required: true,
type: "string",
},
- status: {
- enum: ["completed", "status", "conclusion"],
+ repo: {
+ required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/actions/runs",
+ url: "/repos/:owner/:repo/commits/:ref/check-suites",
},
- listRepoWorkflows: {
- method: "GET",
+ rerequestSuite: {
+ headers: {
+ accept: "application/vnd.github.antiope-preview+json",
+ },
+ method: "POST",
params: {
- owner: {
+ check_suite_id: {
required: true,
- type: "string",
- },
- page: {
type: "integer",
},
- per_page: {
- type: "integer",
+ owner: {
+ required: true,
+ type: "string",
},
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/actions/workflows",
+ url: "/repos/:owner/:repo/check-suites/:check_suite_id/rerequest",
},
- listSecretsForRepo: {
- method: "GET",
+ setSuitesPreferences: {
+ headers: {
+ accept: "application/vnd.github.antiope-preview+json",
+ },
+ method: "PATCH",
params: {
- owner: {
- required: true,
- type: "string",
- },
- page: {
- type: "integer",
+ auto_trigger_checks: {
+ type: "object[]",
},
- per_page: {
+ "auto_trigger_checks[].app_id": {
+ required: true,
type: "integer",
},
- repo: {
+ "auto_trigger_checks[].setting": {
required: true,
- type: "string",
+ type: "boolean",
},
- },
- url: "/repos/:owner/:repo/actions/secrets",
- },
- listSelfHostedRunnersForRepo: {
- method: "GET",
- params: {
owner: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/actions/runners",
+ url: "/repos/:owner/:repo/check-suites/preferences",
},
- listWorkflowJobLogs: {
- method: "GET",
+ update: {
+ headers: {
+ accept: "application/vnd.github.antiope-preview+json",
+ },
+ method: "PATCH",
params: {
- job_id: {
+ actions: {
+ type: "object[]",
+ },
+ "actions[].description": {
required: true,
- type: "integer",
+ type: "string",
},
- owner: {
+ "actions[].identifier": {
required: true,
type: "string",
},
- page: {
- type: "integer",
+ "actions[].label": {
+ required: true,
+ type: "string",
},
- per_page: {
+ check_run_id: {
+ required: true,
type: "integer",
},
- repo: {
- required: true,
+ completed_at: {
type: "string",
},
- },
- url: "/repos/:owner/:repo/actions/jobs/:job_id/logs",
- },
- listWorkflowRunArtifacts: {
- method: "GET",
- params: {
- owner: {
- required: true,
+ conclusion: {
+ enum: [
+ "success",
+ "failure",
+ "neutral",
+ "cancelled",
+ "timed_out",
+ "action_required",
+ ],
type: "string",
},
- page: {
- type: "integer",
+ details_url: {
+ type: "string",
},
- per_page: {
- type: "integer",
+ external_id: {
+ type: "string",
},
- repo: {
- required: true,
+ name: {
type: "string",
},
- run_id: {
- required: true,
- type: "integer",
+ output: {
+ type: "object",
},
- },
- url: "/repos/:owner/:repo/actions/runs/:run_id/artifacts",
- },
- listWorkflowRunLogs: {
- method: "GET",
- params: {
- owner: {
+ "output.annotations": {
+ type: "object[]",
+ },
+ "output.annotations[].annotation_level": {
+ enum: ["notice", "warning", "failure"],
required: true,
type: "string",
},
- page: {
+ "output.annotations[].end_column": {
type: "integer",
},
- per_page: {
+ "output.annotations[].end_line": {
+ required: true,
type: "integer",
},
- repo: {
+ "output.annotations[].message": {
required: true,
type: "string",
},
- run_id: {
+ "output.annotations[].path": {
required: true,
- type: "integer",
- },
- },
- url: "/repos/:owner/:repo/actions/runs/:run_id/logs",
- },
- listWorkflowRuns: {
- method: "GET",
- params: {
- actor: {
type: "string",
},
- branch: {
+ "output.annotations[].raw_details": {
type: "string",
},
- event: {
- type: "string",
+ "output.annotations[].start_column": {
+ type: "integer",
},
- owner: {
+ "output.annotations[].start_line": {
required: true,
- type: "string",
- },
- page: {
type: "integer",
},
- per_page: {
- type: "integer",
+ "output.annotations[].title": {
+ type: "string",
},
- repo: {
+ "output.images": {
+ type: "object[]",
+ },
+ "output.images[].alt": {
required: true,
type: "string",
},
- status: {
- enum: ["completed", "status", "conclusion"],
+ "output.images[].caption": {
type: "string",
},
- workflow_id: {
+ "output.images[].image_url": {
required: true,
- type: "integer",
+ type: "string",
},
- },
- url: "/repos/:owner/:repo/actions/workflows/:workflow_id/runs",
- },
- reRunWorkflow: {
- method: "POST",
- params: {
- owner: {
+ "output.summary": {
required: true,
type: "string",
},
- repo: {
- required: true,
+ "output.text": {
type: "string",
},
- run_id: {
- required: true,
- type: "integer",
+ "output.title": {
+ type: "string",
},
- },
- url: "/repos/:owner/:repo/actions/runs/:run_id/rerun",
- },
- removeSelfHostedRunner: {
- method: "DELETE",
- params: {
owner: {
required: true,
type: "string",
@@ -13242,16 +7154,35 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- runner_id: {
- required: true,
- type: "integer",
+ started_at: {
+ type: "string",
+ },
+ status: {
+ enum: ["queued", "in_progress", "completed"],
+ type: "string",
},
},
- url: "/repos/:owner/:repo/actions/runners/:runner_id",
+ url: "/repos/:owner/:repo/check-runs/:check_run_id",
},
},
- activity: {
- checkStarringRepo: {
+ codesOfConduct: {
+ getConductCode: {
+ headers: {
+ accept: "application/vnd.github.scarlet-witch-preview+json",
+ },
+ method: "GET",
+ params: {
+ key: {
+ required: true,
+ type: "string",
+ },
+ },
+ url: "/codes_of_conduct/:key",
+ },
+ getForRepo: {
+ headers: {
+ accept: "application/vnd.github.scarlet-witch-preview+json",
+ },
method: "GET",
params: {
owner: {
@@ -13263,166 +7194,162 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/user/starred/:owner/:repo",
+ url: "/repos/:owner/:repo/community/code_of_conduct",
},
- deleteRepoSubscription: {
- method: "DELETE",
+ listConductCodes: {
+ headers: {
+ accept: "application/vnd.github.scarlet-witch-preview+json",
+ },
+ method: "GET",
+ params: {},
+ url: "/codes_of_conduct",
+ },
+ },
+ emojis: {
+ get: {
+ method: "GET",
+ params: {},
+ url: "/emojis",
+ },
+ },
+ gists: {
+ checkIsStarred: {
+ method: "GET",
params: {
- owner: {
- required: true,
- type: "string",
- },
- repo: {
+ gist_id: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/subscription",
+ url: "/gists/:gist_id/star",
},
- deleteThreadSubscription: {
- method: "DELETE",
+ create: {
+ method: "POST",
params: {
- thread_id: {
+ description: {
+ type: "string",
+ },
+ files: {
required: true,
- type: "integer",
+ type: "object",
+ },
+ "files.content": {
+ type: "string",
+ },
+ public: {
+ type: "boolean",
},
},
- url: "/notifications/threads/:thread_id/subscription",
+ url: "/gists",
},
- getRepoSubscription: {
- method: "GET",
+ createComment: {
+ method: "POST",
params: {
- owner: {
+ body: {
required: true,
type: "string",
},
- repo: {
+ gist_id: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/subscription",
+ url: "/gists/:gist_id/comments",
},
- getThread: {
- method: "GET",
+ delete: {
+ method: "DELETE",
params: {
- thread_id: {
+ gist_id: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/notifications/threads/:thread_id",
+ url: "/gists/:gist_id",
},
- getThreadSubscription: {
- method: "GET",
+ deleteComment: {
+ method: "DELETE",
params: {
- thread_id: {
+ comment_id: {
required: true,
type: "integer",
},
- },
- url: "/notifications/threads/:thread_id/subscription",
- },
- listEventsForOrg: {
- method: "GET",
- params: {
- org: {
+ gist_id: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- username: {
+ },
+ url: "/gists/:gist_id/comments/:comment_id",
+ },
+ fork: {
+ method: "POST",
+ params: {
+ gist_id: {
required: true,
type: "string",
},
},
- url: "/users/:username/events/orgs/:org",
+ url: "/gists/:gist_id/forks",
},
- listEventsForUser: {
+ get: {
method: "GET",
params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- username: {
+ gist_id: {
required: true,
type: "string",
},
},
- url: "/users/:username/events",
- },
- listFeeds: {
- method: "GET",
- params: {},
- url: "/feeds",
+ url: "/gists/:gist_id",
},
- listNotifications: {
+ getComment: {
method: "GET",
params: {
- all: {
- type: "boolean",
- },
- before: {
- type: "string",
- },
- page: {
- type: "integer",
- },
- participating: {
- type: "boolean",
- },
- per_page: {
+ comment_id: {
+ required: true,
type: "integer",
},
- since: {
+ gist_id: {
+ required: true,
type: "string",
},
},
- url: "/notifications",
+ url: "/gists/:gist_id/comments/:comment_id",
},
- listNotificationsForRepo: {
+ getRevision: {
method: "GET",
params: {
- all: {
- type: "boolean",
- },
- before: {
+ gist_id: {
+ required: true,
type: "string",
},
- owner: {
+ sha: {
required: true,
type: "string",
},
+ },
+ url: "/gists/:gist_id/:sha",
+ },
+ list: {
+ method: "GET",
+ params: {
page: {
type: "integer",
},
- participating: {
- type: "boolean",
- },
per_page: {
type: "integer",
},
- repo: {
- required: true,
- type: "string",
- },
since: {
type: "string",
},
},
- url: "/repos/:owner/:repo/notifications",
+ url: "/gists",
},
- listPublicEvents: {
+ listComments: {
method: "GET",
params: {
+ gist_id: {
+ required: true,
+ type: "string",
+ },
page: {
type: "integer",
},
@@ -13430,12 +7357,12 @@ module.exports = /******/ (function (modules, runtime) {
type: "integer",
},
},
- url: "/events",
+ url: "/gists/:gist_id/comments",
},
- listPublicEventsForOrg: {
+ listCommits: {
method: "GET",
params: {
- org: {
+ gist_id: {
required: true,
type: "string",
},
@@ -13446,12 +7373,12 @@ module.exports = /******/ (function (modules, runtime) {
type: "integer",
},
},
- url: "/orgs/:org/events",
+ url: "/gists/:gist_id/commits",
},
- listPublicEventsForRepoNetwork: {
+ listForks: {
method: "GET",
params: {
- owner: {
+ gist_id: {
required: true,
type: "string",
},
@@ -13461,14 +7388,10 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- repo: {
- required: true,
- type: "string",
- },
},
- url: "/networks/:owner/:repo/events",
+ url: "/gists/:gist_id/forks",
},
- listPublicEventsForUser: {
+ listPublic: {
method: "GET",
params: {
page: {
@@ -13477,14 +7400,13 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- username: {
- required: true,
+ since: {
type: "string",
},
},
- url: "/users/:username/events/public",
+ url: "/gists/public",
},
- listReceivedEventsForUser: {
+ listPublicForUser: {
method: "GET",
params: {
page: {
@@ -13493,14 +7415,17 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
+ since: {
+ type: "string",
+ },
username: {
required: true,
type: "string",
},
},
- url: "/users/:username/received_events",
+ url: "/users/:username/gists",
},
- listReceivedPublicEventsForUser: {
+ listStarred: {
method: "GET",
params: {
page: {
@@ -13509,161 +7434,156 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- username: {
- required: true,
+ since: {
type: "string",
},
},
- url: "/users/:username/received_events/public",
+ url: "/gists/starred",
},
- listRepoEvents: {
- method: "GET",
+ star: {
+ method: "PUT",
params: {
- owner: {
- required: true,
- type: "string",
- },
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- repo: {
+ gist_id: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/events",
+ url: "/gists/:gist_id/star",
},
- listReposStarredByAuthenticatedUser: {
- method: "GET",
+ unstar: {
+ method: "DELETE",
params: {
- direction: {
- enum: ["asc", "desc"],
- type: "string",
- },
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- sort: {
- enum: ["created", "updated"],
+ gist_id: {
+ required: true,
type: "string",
},
},
- url: "/user/starred",
+ url: "/gists/:gist_id/star",
},
- listReposStarredByUser: {
- method: "GET",
+ update: {
+ method: "PATCH",
params: {
- direction: {
- enum: ["asc", "desc"],
+ description: {
type: "string",
},
- page: {
- type: "integer",
+ files: {
+ type: "object",
},
- per_page: {
- type: "integer",
+ "files.content": {
+ type: "string",
},
- sort: {
- enum: ["created", "updated"],
+ "files.filename": {
type: "string",
},
- username: {
+ gist_id: {
required: true,
type: "string",
},
},
- url: "/users/:username/starred",
+ url: "/gists/:gist_id",
},
- listReposWatchedByUser: {
- method: "GET",
+ updateComment: {
+ method: "PATCH",
params: {
- page: {
- type: "integer",
+ body: {
+ required: true,
+ type: "string",
},
- per_page: {
+ comment_id: {
+ required: true,
type: "integer",
},
- username: {
+ gist_id: {
required: true,
type: "string",
},
},
- url: "/users/:username/subscriptions",
+ url: "/gists/:gist_id/comments/:comment_id",
},
- listStargazersForRepo: {
- method: "GET",
+ },
+ git: {
+ createBlob: {
+ method: "POST",
params: {
- owner: {
+ content: {
required: true,
type: "string",
},
- page: {
- type: "integer",
+ encoding: {
+ type: "string",
},
- per_page: {
- type: "integer",
+ owner: {
+ required: true,
+ type: "string",
},
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/stargazers",
+ url: "/repos/:owner/:repo/git/blobs",
},
- listWatchedReposForAuthenticatedUser: {
- method: "GET",
+ createCommit: {
+ method: "POST",
params: {
- page: {
- type: "integer",
+ author: {
+ type: "object",
},
- per_page: {
- type: "integer",
+ "author.date": {
+ type: "string",
},
- },
- url: "/user/subscriptions",
- },
- listWatchersForRepo: {
- method: "GET",
- params: {
- owner: {
+ "author.email": {
+ type: "string",
+ },
+ "author.name": {
+ type: "string",
+ },
+ committer: {
+ type: "object",
+ },
+ "committer.date": {
+ type: "string",
+ },
+ "committer.email": {
+ type: "string",
+ },
+ "committer.name": {
+ type: "string",
+ },
+ message: {
required: true,
type: "string",
},
- page: {
- type: "integer",
+ owner: {
+ required: true,
+ type: "string",
},
- per_page: {
- type: "integer",
+ parents: {
+ required: true,
+ type: "string[]",
},
repo: {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/subscribers",
- },
- markAsRead: {
- method: "PUT",
- params: {
- last_read_at: {
+ signature: {
+ type: "string",
+ },
+ tree: {
+ required: true,
type: "string",
},
},
- url: "/notifications",
+ url: "/repos/:owner/:repo/git/commits",
},
- markNotificationsAsReadForRepo: {
- method: "PUT",
+ createRef: {
+ method: "POST",
params: {
- last_read_at: {
+ owner: {
+ required: true,
type: "string",
},
- owner: {
+ ref: {
required: true,
type: "string",
},
@@ -13671,24 +7591,23 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/notifications",
- },
- markThreadAsRead: {
- method: "PATCH",
- params: {
- thread_id: {
+ sha: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/notifications/threads/:thread_id",
+ url: "/repos/:owner/:repo/git/refs",
},
- setRepoSubscription: {
- method: "PUT",
+ createTag: {
+ method: "POST",
params: {
- ignored: {
- type: "boolean",
+ message: {
+ required: true,
+ type: "string",
+ },
+ object: {
+ required: true,
+ type: "string",
},
owner: {
required: true,
@@ -13698,28 +7617,36 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- subscribed: {
- type: "boolean",
+ tag: {
+ required: true,
+ type: "string",
},
- },
- url: "/repos/:owner/:repo/subscription",
- },
- setThreadSubscription: {
- method: "PUT",
- params: {
- ignored: {
- type: "boolean",
+ tagger: {
+ type: "object",
},
- thread_id: {
+ "tagger.date": {
+ type: "string",
+ },
+ "tagger.email": {
+ type: "string",
+ },
+ "tagger.name": {
+ type: "string",
+ },
+ type: {
+ enum: ["commit", "tree", "blob"],
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/notifications/threads/:thread_id/subscription",
+ url: "/repos/:owner/:repo/git/tags",
},
- starRepo: {
- method: "PUT",
+ createTree: {
+ method: "POST",
params: {
+ base_tree: {
+ type: "string",
+ },
owner: {
required: true,
type: "string",
@@ -13728,218 +7655,201 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ tree: {
+ required: true,
+ type: "object[]",
+ },
+ "tree[].content": {
+ type: "string",
+ },
+ "tree[].mode": {
+ enum: ["100644", "100755", "040000", "160000", "120000"],
+ type: "string",
+ },
+ "tree[].path": {
+ type: "string",
+ },
+ "tree[].sha": {
+ allowNull: true,
+ type: "string",
+ },
+ "tree[].type": {
+ enum: ["blob", "tree", "commit"],
+ type: "string",
+ },
},
- url: "/user/starred/:owner/:repo",
+ url: "/repos/:owner/:repo/git/trees",
},
- unstarRepo: {
+ deleteRef: {
method: "DELETE",
params: {
owner: {
required: true,
type: "string",
},
+ ref: {
+ required: true,
+ type: "string",
+ },
repo: {
required: true,
type: "string",
},
},
- url: "/user/starred/:owner/:repo",
+ url: "/repos/:owner/:repo/git/refs/:ref",
},
- },
- apps: {
- addRepoToInstallation: {
- headers: {
- accept: "application/vnd.github.machine-man-preview+json",
- },
- method: "PUT",
+ getBlob: {
+ method: "GET",
params: {
- installation_id: {
+ file_sha: {
required: true,
- type: "integer",
+ type: "string",
},
- repository_id: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
- url:
- "/user/installations/:installation_id/repositories/:repository_id",
+ url: "/repos/:owner/:repo/git/blobs/:file_sha",
},
- checkAccountIsAssociatedWithAny: {
+ getCommit: {
method: "GET",
params: {
- account_id: {
+ commit_sha: {
required: true,
- type: "integer",
+ type: "string",
+ },
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
- url: "/marketplace_listing/accounts/:account_id",
+ url: "/repos/:owner/:repo/git/commits/:commit_sha",
},
- checkAccountIsAssociatedWithAnyStubbed: {
+ getRef: {
method: "GET",
params: {
- account_id: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
},
- },
- url: "/marketplace_listing/stubbed/accounts/:account_id",
- },
- checkAuthorization: {
- deprecated:
- "octokit.apps.checkAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization",
- method: "GET",
- params: {
- access_token: {
+ ref: {
required: true,
type: "string",
},
- client_id: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/applications/:client_id/tokens/:access_token",
+ url: "/repos/:owner/:repo/git/ref/:ref",
},
- checkToken: {
- headers: {
- accept: "application/vnd.github.doctor-strange-preview+json",
- },
- method: "POST",
+ getTag: {
+ method: "GET",
params: {
- access_token: {
+ owner: {
+ required: true,
type: "string",
},
- client_id: {
+ repo: {
+ required: true,
+ type: "string",
+ },
+ tag_sha: {
required: true,
type: "string",
},
},
- url: "/applications/:client_id/token",
+ url: "/repos/:owner/:repo/git/tags/:tag_sha",
},
- createContentAttachment: {
- headers: {
- accept: "application/vnd.github.corsair-preview+json",
- },
- method: "POST",
+ getTree: {
+ method: "GET",
params: {
- body: {
+ owner: {
required: true,
type: "string",
},
- content_reference_id: {
- required: true,
+ recursive: {
+ enum: ["1"],
type: "integer",
},
- title: {
+ repo: {
required: true,
type: "string",
},
- },
- url: "/content_references/:content_reference_id/attachments",
- },
- createFromManifest: {
- headers: {
- accept: "application/vnd.github.fury-preview+json",
- },
- method: "POST",
- params: {
- code: {
+ tree_sha: {
required: true,
type: "string",
},
},
- url: "/app-manifests/:code/conversions",
+ url: "/repos/:owner/:repo/git/trees/:tree_sha",
},
- createInstallationToken: {
- headers: {
- accept: "application/vnd.github.machine-man-preview+json",
- },
- method: "POST",
+ listMatchingRefs: {
+ method: "GET",
params: {
- installation_id: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
},
- permissions: {
- type: "object",
+ page: {
+ type: "integer",
},
- repository_ids: {
- type: "integer[]",
+ per_page: {
+ type: "integer",
},
- },
- url: "/app/installations/:installation_id/access_tokens",
- },
- deleteAuthorization: {
- headers: {
- accept: "application/vnd.github.doctor-strange-preview+json",
- },
- method: "DELETE",
- params: {
- access_token: {
+ ref: {
+ required: true,
type: "string",
},
- client_id: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/applications/:client_id/grant",
+ url: "/repos/:owner/:repo/git/matching-refs/:ref",
},
- deleteInstallation: {
- headers: {
- accept:
- "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json",
- },
- method: "DELETE",
+ listRefs: {
+ method: "GET",
params: {
- installation_id: {
+ namespace: {
+ type: "string",
+ },
+ owner: {
required: true,
+ type: "string",
+ },
+ page: {
type: "integer",
},
- },
- url: "/app/installations/:installation_id",
- },
- deleteToken: {
- headers: {
- accept: "application/vnd.github.doctor-strange-preview+json",
- },
- method: "DELETE",
- params: {
- access_token: {
- type: "string",
+ per_page: {
+ type: "integer",
},
- client_id: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/applications/:client_id/token",
+ url: "/repos/:owner/:repo/git/refs/:namespace",
},
- findOrgInstallation: {
- deprecated:
- "octokit.apps.findOrgInstallation() has been renamed to octokit.apps.getOrgInstallation() (2019-04-10)",
- headers: {
- accept: "application/vnd.github.machine-man-preview+json",
- },
- method: "GET",
+ updateRef: {
+ method: "PATCH",
params: {
- org: {
+ force: {
+ type: "boolean",
+ },
+ owner: {
required: true,
type: "string",
},
- },
- url: "/orgs/:org/installation",
- },
- findRepoInstallation: {
- deprecated:
- "octokit.apps.findRepoInstallation() has been renamed to octokit.apps.getRepoInstallation() (2019-04-10)",
- headers: {
- accept: "application/vnd.github.machine-man-preview+json",
- },
- method: "GET",
- params: {
- owner: {
+ ref: {
required: true,
type: "string",
},
@@ -13947,61 +7857,83 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ sha: {
+ required: true,
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/installation",
+ url: "/repos/:owner/:repo/git/refs/:ref",
},
- findUserInstallation: {
- deprecated:
- "octokit.apps.findUserInstallation() has been renamed to octokit.apps.getUserInstallation() (2019-04-10)",
- headers: {
- accept: "application/vnd.github.machine-man-preview+json",
- },
+ },
+ gitignore: {
+ getTemplate: {
method: "GET",
params: {
- username: {
+ name: {
required: true,
type: "string",
},
},
- url: "/users/:username/installation",
+ url: "/gitignore/templates/:name",
},
- getAuthenticated: {
- headers: {
- accept: "application/vnd.github.machine-man-preview+json",
- },
+ listTemplates: {
method: "GET",
params: {},
- url: "/app",
+ url: "/gitignore/templates",
},
- getBySlug: {
+ },
+ interactions: {
+ addOrUpdateRestrictionsForOrg: {
headers: {
- accept: "application/vnd.github.machine-man-preview+json",
+ accept: "application/vnd.github.sombra-preview+json",
},
- method: "GET",
+ method: "PUT",
params: {
- app_slug: {
+ limit: {
+ enum: [
+ "existing_users",
+ "contributors_only",
+ "collaborators_only",
+ ],
+ required: true,
+ type: "string",
+ },
+ org: {
required: true,
type: "string",
},
},
- url: "/apps/:app_slug",
+ url: "/orgs/:org/interaction-limits",
},
- getInstallation: {
+ addOrUpdateRestrictionsForRepo: {
headers: {
- accept: "application/vnd.github.machine-man-preview+json",
+ accept: "application/vnd.github.sombra-preview+json",
},
- method: "GET",
+ method: "PUT",
params: {
- installation_id: {
+ limit: {
+ enum: [
+ "existing_users",
+ "contributors_only",
+ "collaborators_only",
+ ],
required: true,
- type: "integer",
+ type: "string",
+ },
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
- url: "/app/installations/:installation_id",
+ url: "/repos/:owner/:repo/interaction-limits",
},
- getOrgInstallation: {
+ getRestrictionsForOrg: {
headers: {
- accept: "application/vnd.github.machine-man-preview+json",
+ accept: "application/vnd.github.sombra-preview+json",
},
method: "GET",
params: {
@@ -14010,11 +7942,11 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/orgs/:org/installation",
+ url: "/orgs/:org/interaction-limits",
},
- getRepoInstallation: {
+ getRestrictionsForRepo: {
headers: {
- accept: "application/vnd.github.machine-man-preview+json",
+ accept: "application/vnd.github.sombra-preview+json",
},
method: "GET",
params: {
@@ -14027,385 +7959,330 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/installation",
+ url: "/repos/:owner/:repo/interaction-limits",
},
- getUserInstallation: {
+ removeRestrictionsForOrg: {
headers: {
- accept: "application/vnd.github.machine-man-preview+json",
+ accept: "application/vnd.github.sombra-preview+json",
},
- method: "GET",
+ method: "DELETE",
params: {
- username: {
+ org: {
required: true,
type: "string",
},
},
- url: "/users/:username/installation",
+ url: "/orgs/:org/interaction-limits",
},
- listAccountsUserOrOrgOnPlan: {
- method: "GET",
+ removeRestrictionsForRepo: {
+ headers: {
+ accept: "application/vnd.github.sombra-preview+json",
+ },
+ method: "DELETE",
params: {
- direction: {
- enum: ["asc", "desc"],
+ owner: {
+ required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- plan_id: {
+ repo: {
required: true,
- type: "integer",
- },
- sort: {
- enum: ["created", "updated"],
type: "string",
},
},
- url: "/marketplace_listing/plans/:plan_id/accounts",
+ url: "/repos/:owner/:repo/interaction-limits",
},
- listAccountsUserOrOrgOnPlanStubbed: {
- method: "GET",
+ },
+ issues: {
+ addAssignees: {
+ method: "POST",
params: {
- direction: {
- enum: ["asc", "desc"],
- type: "string",
+ assignees: {
+ type: "string[]",
},
- page: {
+ issue_number: {
+ required: true,
type: "integer",
},
- per_page: {
+ number: {
+ alias: "issue_number",
+ deprecated: true,
type: "integer",
},
- plan_id: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
},
- sort: {
- enum: ["created", "updated"],
+ repo: {
+ required: true,
type: "string",
},
},
- url: "/marketplace_listing/stubbed/plans/:plan_id/accounts",
+ url: "/repos/:owner/:repo/issues/:issue_number/assignees",
},
- listInstallationReposForAuthenticatedUser: {
- headers: {
- accept: "application/vnd.github.machine-man-preview+json",
- },
- method: "GET",
+ addLabels: {
+ method: "POST",
params: {
- installation_id: {
+ issue_number: {
required: true,
type: "integer",
},
- page: {
- type: "integer",
+ labels: {
+ required: true,
+ type: "string[]",
},
- per_page: {
+ number: {
+ alias: "issue_number",
+ deprecated: true,
type: "integer",
},
- },
- url: "/user/installations/:installation_id/repositories",
- },
- listInstallations: {
- headers: {
- accept: "application/vnd.github.machine-man-preview+json",
- },
- method: "GET",
- params: {
- page: {
- type: "integer",
+ owner: {
+ required: true,
+ type: "string",
},
- per_page: {
- type: "integer",
+ repo: {
+ required: true,
+ type: "string",
},
},
- url: "/app/installations",
+ url: "/repos/:owner/:repo/issues/:issue_number/labels",
},
- listInstallationsForAuthenticatedUser: {
- headers: {
- accept: "application/vnd.github.machine-man-preview+json",
- },
+ checkAssignee: {
method: "GET",
params: {
- page: {
- type: "integer",
+ assignee: {
+ required: true,
+ type: "string",
},
- per_page: {
- type: "integer",
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
- url: "/user/installations",
+ url: "/repos/:owner/:repo/assignees/:assignee",
},
- listMarketplacePurchasesForAuthenticatedUser: {
- method: "GET",
+ create: {
+ method: "POST",
params: {
- page: {
- type: "integer",
+ assignee: {
+ type: "string",
},
- per_page: {
- type: "integer",
+ assignees: {
+ type: "string[]",
},
- },
- url: "/user/marketplace_purchases",
- },
- listMarketplacePurchasesForAuthenticatedUserStubbed: {
- method: "GET",
- params: {
- page: {
- type: "integer",
+ body: {
+ type: "string",
},
- per_page: {
- type: "integer",
+ labels: {
+ type: "string[]",
},
- },
- url: "/user/marketplace_purchases/stubbed",
- },
- listPlans: {
- method: "GET",
- params: {
- page: {
+ milestone: {
type: "integer",
},
- per_page: {
- type: "integer",
+ owner: {
+ required: true,
+ type: "string",
},
- },
- url: "/marketplace_listing/plans",
- },
- listPlansStubbed: {
- method: "GET",
- params: {
- page: {
- type: "integer",
+ repo: {
+ required: true,
+ type: "string",
},
- per_page: {
- type: "integer",
+ title: {
+ required: true,
+ type: "string",
},
},
- url: "/marketplace_listing/stubbed/plans",
+ url: "/repos/:owner/:repo/issues",
},
- listRepos: {
- headers: {
- accept: "application/vnd.github.machine-man-preview+json",
- },
- method: "GET",
+ createComment: {
+ method: "POST",
params: {
- page: {
+ body: {
+ required: true,
+ type: "string",
+ },
+ issue_number: {
+ required: true,
type: "integer",
},
- per_page: {
+ number: {
+ alias: "issue_number",
+ deprecated: true,
type: "integer",
},
- },
- url: "/installation/repositories",
- },
- removeRepoFromInstallation: {
- headers: {
- accept: "application/vnd.github.machine-man-preview+json",
- },
- method: "DELETE",
- params: {
- installation_id: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
},
- repository_id: {
+ repo: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url:
- "/user/installations/:installation_id/repositories/:repository_id",
+ url: "/repos/:owner/:repo/issues/:issue_number/comments",
},
- resetAuthorization: {
- deprecated:
- "octokit.apps.resetAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization",
+ createLabel: {
method: "POST",
params: {
- access_token: {
+ color: {
required: true,
type: "string",
},
- client_id: {
+ description: {
+ type: "string",
+ },
+ name: {
required: true,
type: "string",
},
- },
- url: "/applications/:client_id/tokens/:access_token",
- },
- resetToken: {
- headers: {
- accept: "application/vnd.github.doctor-strange-preview+json",
- },
- method: "PATCH",
- params: {
- access_token: {
+ owner: {
+ required: true,
type: "string",
},
- client_id: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/applications/:client_id/token",
+ url: "/repos/:owner/:repo/labels",
},
- revokeAuthorizationForApplication: {
- deprecated:
- "octokit.apps.revokeAuthorizationForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application",
- method: "DELETE",
+ createMilestone: {
+ method: "POST",
params: {
- access_token: {
- required: true,
+ description: {
type: "string",
},
- client_id: {
- required: true,
+ due_on: {
type: "string",
},
- },
- url: "/applications/:client_id/tokens/:access_token",
- },
- revokeGrantForApplication: {
- deprecated:
- "octokit.apps.revokeGrantForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application",
- method: "DELETE",
- params: {
- access_token: {
+ owner: {
required: true,
type: "string",
},
- client_id: {
+ repo: {
+ required: true,
+ type: "string",
+ },
+ state: {
+ enum: ["open", "closed"],
+ type: "string",
+ },
+ title: {
required: true,
type: "string",
},
},
- url: "/applications/:client_id/grants/:access_token",
+ url: "/repos/:owner/:repo/milestones",
},
- revokeInstallationToken: {
- headers: {
- accept: "application/vnd.github.gambit-preview+json",
- },
+ deleteComment: {
method: "DELETE",
- params: {},
- url: "/installation/token",
- },
- },
- checks: {
- create: {
- headers: {
- accept: "application/vnd.github.antiope-preview+json",
- },
- method: "POST",
params: {
- actions: {
- type: "object[]",
- },
- "actions[].description": {
+ comment_id: {
required: true,
- type: "string",
+ type: "integer",
},
- "actions[].identifier": {
+ owner: {
required: true,
type: "string",
},
- "actions[].label": {
+ repo: {
required: true,
type: "string",
},
- completed_at: {
- type: "string",
- },
- conclusion: {
- enum: [
- "success",
- "failure",
- "neutral",
- "cancelled",
- "timed_out",
- "action_required",
- ],
- type: "string",
- },
- details_url: {
- type: "string",
- },
- external_id: {
- type: "string",
- },
- head_sha: {
+ },
+ url: "/repos/:owner/:repo/issues/comments/:comment_id",
+ },
+ deleteLabel: {
+ method: "DELETE",
+ params: {
+ name: {
required: true,
type: "string",
},
- name: {
+ owner: {
required: true,
type: "string",
},
- output: {
- type: "object",
- },
- "output.annotations": {
- type: "object[]",
- },
- "output.annotations[].annotation_level": {
- enum: ["notice", "warning", "failure"],
+ repo: {
required: true,
type: "string",
},
- "output.annotations[].end_column": {
+ },
+ url: "/repos/:owner/:repo/labels/:name",
+ },
+ deleteMilestone: {
+ method: "DELETE",
+ params: {
+ milestone_number: {
+ required: true,
type: "integer",
},
- "output.annotations[].end_line": {
- required: true,
+ number: {
+ alias: "milestone_number",
+ deprecated: true,
type: "integer",
},
- "output.annotations[].message": {
+ owner: {
required: true,
type: "string",
},
- "output.annotations[].path": {
+ repo: {
required: true,
type: "string",
},
- "output.annotations[].raw_details": {
- type: "string",
- },
- "output.annotations[].start_column": {
- type: "integer",
- },
- "output.annotations[].start_line": {
+ },
+ url: "/repos/:owner/:repo/milestones/:milestone_number",
+ },
+ get: {
+ method: "GET",
+ params: {
+ issue_number: {
required: true,
type: "integer",
},
- "output.annotations[].title": {
- type: "string",
- },
- "output.images": {
- type: "object[]",
+ number: {
+ alias: "issue_number",
+ deprecated: true,
+ type: "integer",
},
- "output.images[].alt": {
+ owner: {
required: true,
type: "string",
},
- "output.images[].caption": {
+ repo: {
+ required: true,
type: "string",
},
- "output.images[].image_url": {
+ },
+ url: "/repos/:owner/:repo/issues/:issue_number",
+ },
+ getComment: {
+ method: "GET",
+ params: {
+ comment_id: {
required: true,
- type: "string",
+ type: "integer",
},
- "output.summary": {
+ owner: {
required: true,
type: "string",
},
- "output.text": {
+ repo: {
+ required: true,
type: "string",
},
- "output.title": {
+ },
+ url: "/repos/:owner/:repo/issues/comments/:comment_id",
+ },
+ getEvent: {
+ method: "GET",
+ params: {
+ event_id: {
required: true,
- type: "string",
+ type: "integer",
},
owner: {
required: true,
@@ -14415,23 +8292,13 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- started_at: {
- type: "string",
- },
- status: {
- enum: ["queued", "in_progress", "completed"],
- type: "string",
- },
},
- url: "/repos/:owner/:repo/check-runs",
+ url: "/repos/:owner/:repo/issues/events/:event_id",
},
- createSuite: {
- headers: {
- accept: "application/vnd.github.antiope-preview+json",
- },
- method: "POST",
+ getLabel: {
+ method: "GET",
params: {
- head_sha: {
+ name: {
required: true,
type: "string",
},
@@ -14444,18 +8311,20 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/check-suites",
+ url: "/repos/:owner/:repo/labels/:name",
},
- get: {
- headers: {
- accept: "application/vnd.github.antiope-preview+json",
- },
+ getMilestone: {
method: "GET",
params: {
- check_run_id: {
+ milestone_number: {
required: true,
type: "integer",
},
+ number: {
+ alias: "milestone_number",
+ deprecated: true,
+ type: "integer",
+ },
owner: {
required: true,
type: "string",
@@ -14465,39 +8334,45 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/check-runs/:check_run_id",
+ url: "/repos/:owner/:repo/milestones/:milestone_number",
},
- getSuite: {
- headers: {
- accept: "application/vnd.github.antiope-preview+json",
- },
+ list: {
method: "GET",
params: {
- check_suite_id: {
- required: true,
+ direction: {
+ enum: ["asc", "desc"],
+ type: "string",
+ },
+ filter: {
+ enum: ["assigned", "created", "mentioned", "subscribed", "all"],
+ type: "string",
+ },
+ labels: {
+ type: "string",
+ },
+ page: {
type: "integer",
},
- owner: {
- required: true,
+ per_page: {
+ type: "integer",
+ },
+ since: {
type: "string",
},
- repo: {
- required: true,
+ sort: {
+ enum: ["created", "updated", "comments"],
+ type: "string",
+ },
+ state: {
+ enum: ["open", "closed", "all"],
type: "string",
},
},
- url: "/repos/:owner/:repo/check-suites/:check_suite_id",
+ url: "/issues",
},
- listAnnotations: {
- headers: {
- accept: "application/vnd.github.antiope-preview+json",
- },
+ listAssignees: {
method: "GET",
params: {
- check_run_id: {
- required: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
@@ -14513,20 +8388,19 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/check-runs/:check_run_id/annotations",
+ url: "/repos/:owner/:repo/assignees",
},
- listForRef: {
- headers: {
- accept: "application/vnd.github.antiope-preview+json",
- },
+ listComments: {
method: "GET",
params: {
- check_name: {
- type: "string",
+ issue_number: {
+ required: true,
+ type: "integer",
},
- filter: {
- enum: ["latest", "all"],
- type: "string",
+ number: {
+ alias: "issue_number",
+ deprecated: true,
+ type: "integer",
},
owner: {
required: true,
@@ -14538,70 +8412,52 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- ref: {
- required: true,
- type: "string",
- },
repo: {
required: true,
type: "string",
},
- status: {
- enum: ["queued", "in_progress", "completed"],
+ since: {
type: "string",
},
},
- url: "/repos/:owner/:repo/commits/:ref/check-runs",
+ url: "/repos/:owner/:repo/issues/:issue_number/comments",
},
- listForSuite: {
- headers: {
- accept: "application/vnd.github.antiope-preview+json",
- },
+ listCommentsForRepo: {
method: "GET",
params: {
- check_name: {
- type: "string",
- },
- check_suite_id: {
- required: true,
- type: "integer",
- },
- filter: {
- enum: ["latest", "all"],
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
owner: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
repo: {
required: true,
type: "string",
},
- status: {
- enum: ["queued", "in_progress", "completed"],
+ since: {
+ type: "string",
+ },
+ sort: {
+ enum: ["created", "updated"],
type: "string",
},
},
- url: "/repos/:owner/:repo/check-suites/:check_suite_id/check-runs",
+ url: "/repos/:owner/:repo/issues/comments",
},
- listSuitesForRef: {
- headers: {
- accept: "application/vnd.github.antiope-preview+json",
- },
+ listEvents: {
method: "GET",
params: {
- app_id: {
+ issue_number: {
+ required: true,
type: "integer",
},
- check_name: {
- type: "string",
+ number: {
+ alias: "issue_number",
+ deprecated: true,
+ type: "integer",
},
owner: {
required: true,
@@ -14613,378 +8469,273 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- ref: {
- required: true,
- type: "string",
- },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/commits/:ref/check-suites",
+ url: "/repos/:owner/:repo/issues/:issue_number/events",
},
- rerequestSuite: {
- headers: {
- accept: "application/vnd.github.antiope-preview+json",
- },
- method: "POST",
+ listEventsForRepo: {
+ method: "GET",
params: {
- check_suite_id: {
- required: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/check-suites/:check_suite_id/rerequest",
+ url: "/repos/:owner/:repo/issues/events",
},
- setSuitesPreferences: {
+ listEventsForTimeline: {
headers: {
- accept: "application/vnd.github.antiope-preview+json",
+ accept: "application/vnd.github.mockingbird-preview+json",
},
- method: "PATCH",
+ method: "GET",
params: {
- auto_trigger_checks: {
- type: "object[]",
- },
- "auto_trigger_checks[].app_id": {
+ issue_number: {
required: true,
type: "integer",
},
- "auto_trigger_checks[].setting": {
- required: true,
- type: "boolean",
+ number: {
+ alias: "issue_number",
+ deprecated: true,
+ type: "integer",
},
owner: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/check-suites/preferences",
+ url: "/repos/:owner/:repo/issues/:issue_number/timeline",
},
- update: {
- headers: {
- accept: "application/vnd.github.antiope-preview+json",
- },
- method: "PATCH",
+ listForAuthenticatedUser: {
+ method: "GET",
params: {
- actions: {
- type: "object[]",
- },
- "actions[].description": {
- required: true,
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
- "actions[].identifier": {
- required: true,
+ filter: {
+ enum: ["assigned", "created", "mentioned", "subscribed", "all"],
type: "string",
},
- "actions[].label": {
- required: true,
+ labels: {
type: "string",
},
- check_run_id: {
- required: true,
+ page: {
type: "integer",
},
- completed_at: {
- type: "string",
+ per_page: {
+ type: "integer",
},
- conclusion: {
- enum: [
- "success",
- "failure",
- "neutral",
- "cancelled",
- "timed_out",
- "action_required",
- ],
+ since: {
type: "string",
},
- details_url: {
+ sort: {
+ enum: ["created", "updated", "comments"],
type: "string",
},
- external_id: {
+ state: {
+ enum: ["open", "closed", "all"],
type: "string",
},
- name: {
+ },
+ url: "/user/issues",
+ },
+ listForOrg: {
+ method: "GET",
+ params: {
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
- output: {
- type: "object",
+ filter: {
+ enum: ["assigned", "created", "mentioned", "subscribed", "all"],
+ type: "string",
},
- "output.annotations": {
- type: "object[]",
+ labels: {
+ type: "string",
},
- "output.annotations[].annotation_level": {
- enum: ["notice", "warning", "failure"],
+ org: {
required: true,
type: "string",
},
- "output.annotations[].end_column": {
+ page: {
type: "integer",
},
- "output.annotations[].end_line": {
- required: true,
+ per_page: {
type: "integer",
},
- "output.annotations[].message": {
- required: true,
- type: "string",
- },
- "output.annotations[].path": {
- required: true,
+ since: {
type: "string",
},
- "output.annotations[].raw_details": {
+ sort: {
+ enum: ["created", "updated", "comments"],
type: "string",
},
- "output.annotations[].start_column": {
- type: "integer",
- },
- "output.annotations[].start_line": {
- required: true,
- type: "integer",
- },
- "output.annotations[].title": {
+ state: {
+ enum: ["open", "closed", "all"],
type: "string",
},
- "output.images": {
- type: "object[]",
- },
- "output.images[].alt": {
- required: true,
+ },
+ url: "/orgs/:org/issues",
+ },
+ listForRepo: {
+ method: "GET",
+ params: {
+ assignee: {
type: "string",
},
- "output.images[].caption": {
+ creator: {
type: "string",
},
- "output.images[].image_url": {
- required: true,
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
- "output.summary": {
- required: true,
+ labels: {
type: "string",
},
- "output.text": {
+ mentioned: {
type: "string",
},
- "output.title": {
+ milestone: {
type: "string",
},
owner: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
repo: {
required: true,
type: "string",
},
- started_at: {
+ since: {
type: "string",
},
- status: {
- enum: ["queued", "in_progress", "completed"],
+ sort: {
+ enum: ["created", "updated", "comments"],
type: "string",
},
- },
- url: "/repos/:owner/:repo/check-runs/:check_run_id",
- },
- },
- codesOfConduct: {
- getConductCode: {
- headers: {
- accept: "application/vnd.github.scarlet-witch-preview+json",
- },
- method: "GET",
- params: {
- key: {
- required: true,
+ state: {
+ enum: ["open", "closed", "all"],
type: "string",
},
},
- url: "/codes_of_conduct/:key",
+ url: "/repos/:owner/:repo/issues",
},
- getForRepo: {
- headers: {
- accept: "application/vnd.github.scarlet-witch-preview+json",
- },
+ listLabelsForMilestone: {
method: "GET",
params: {
+ milestone_number: {
+ required: true,
+ type: "integer",
+ },
+ number: {
+ alias: "milestone_number",
+ deprecated: true,
+ type: "integer",
+ },
owner: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/community/code_of_conduct",
- },
- listConductCodes: {
- headers: {
- accept: "application/vnd.github.scarlet-witch-preview+json",
- },
- method: "GET",
- params: {},
- url: "/codes_of_conduct",
- },
- },
- emojis: {
- get: {
- method: "GET",
- params: {},
- url: "/emojis",
+ url: "/repos/:owner/:repo/milestones/:milestone_number/labels",
},
- },
- gists: {
- checkIsStarred: {
+ listLabelsForRepo: {
method: "GET",
params: {
- gist_id: {
- required: true,
- type: "string",
- },
- },
- url: "/gists/:gist_id/star",
- },
- create: {
- method: "POST",
- params: {
- description: {
- type: "string",
- },
- files: {
- required: true,
- type: "object",
- },
- "files.content": {
- type: "string",
- },
- public: {
- type: "boolean",
- },
- },
- url: "/gists",
- },
- createComment: {
- method: "POST",
- params: {
- body: {
- required: true,
- type: "string",
- },
- gist_id: {
- required: true,
- type: "string",
- },
- },
- url: "/gists/:gist_id/comments",
- },
- delete: {
- method: "DELETE",
- params: {
- gist_id: {
+ owner: {
required: true,
type: "string",
},
- },
- url: "/gists/:gist_id",
- },
- deleteComment: {
- method: "DELETE",
- params: {
- comment_id: {
- required: true,
+ page: {
type: "integer",
},
- gist_id: {
- required: true,
- type: "string",
- },
- },
- url: "/gists/:gist_id/comments/:comment_id",
- },
- fork: {
- method: "POST",
- params: {
- gist_id: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
- },
- url: "/gists/:gist_id/forks",
- },
- get: {
- method: "GET",
- params: {
- gist_id: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/gists/:gist_id",
+ url: "/repos/:owner/:repo/labels",
},
- getComment: {
+ listLabelsOnIssue: {
method: "GET",
params: {
- comment_id: {
+ issue_number: {
required: true,
type: "integer",
},
- gist_id: {
- required: true,
- type: "string",
- },
- },
- url: "/gists/:gist_id/comments/:comment_id",
- },
- getRevision: {
- method: "GET",
- params: {
- gist_id: {
- required: true,
- type: "string",
+ number: {
+ alias: "issue_number",
+ deprecated: true,
+ type: "integer",
},
- sha: {
+ owner: {
required: true,
type: "string",
},
- },
- url: "/gists/:gist_id/:sha",
- },
- list: {
- method: "GET",
- params: {
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- since: {
+ repo: {
+ required: true,
type: "string",
},
},
- url: "/gists",
+ url: "/repos/:owner/:repo/issues/:issue_number/labels",
},
- listComments: {
+ listMilestonesForRepo: {
method: "GET",
params: {
- gist_id: {
+ direction: {
+ enum: ["asc", "desc"],
+ type: "string",
+ },
+ owner: {
required: true,
type: "string",
},
@@ -14994,161 +8745,161 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- },
- url: "/gists/:gist_id/comments",
- },
- listCommits: {
- method: "GET",
- params: {
- gist_id: {
+ repo: {
required: true,
type: "string",
},
- page: {
- type: "integer",
+ sort: {
+ enum: ["due_on", "completeness"],
+ type: "string",
},
- per_page: {
- type: "integer",
+ state: {
+ enum: ["open", "closed", "all"],
+ type: "string",
},
},
- url: "/gists/:gist_id/commits",
+ url: "/repos/:owner/:repo/milestones",
},
- listForks: {
- method: "GET",
+ lock: {
+ method: "PUT",
params: {
- gist_id: {
+ issue_number: {
required: true,
- type: "string",
- },
- page: {
type: "integer",
},
- per_page: {
- type: "integer",
+ lock_reason: {
+ enum: ["off-topic", "too heated", "resolved", "spam"],
+ type: "string",
},
- },
- url: "/gists/:gist_id/forks",
- },
- listPublic: {
- method: "GET",
- params: {
- page: {
+ number: {
+ alias: "issue_number",
+ deprecated: true,
type: "integer",
},
- per_page: {
- type: "integer",
+ owner: {
+ required: true,
+ type: "string",
},
- since: {
+ repo: {
+ required: true,
type: "string",
},
},
- url: "/gists/public",
+ url: "/repos/:owner/:repo/issues/:issue_number/lock",
},
- listPublicForUser: {
- method: "GET",
+ removeAssignees: {
+ method: "DELETE",
params: {
- page: {
+ assignees: {
+ type: "string[]",
+ },
+ issue_number: {
+ required: true,
type: "integer",
},
- per_page: {
+ number: {
+ alias: "issue_number",
+ deprecated: true,
type: "integer",
},
- since: {
+ owner: {
+ required: true,
type: "string",
},
- username: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/users/:username/gists",
+ url: "/repos/:owner/:repo/issues/:issue_number/assignees",
},
- listStarred: {
- method: "GET",
+ removeLabel: {
+ method: "DELETE",
params: {
- page: {
+ issue_number: {
+ required: true,
type: "integer",
},
- per_page: {
+ name: {
+ required: true,
+ type: "string",
+ },
+ number: {
+ alias: "issue_number",
+ deprecated: true,
type: "integer",
},
- since: {
+ owner: {
+ required: true,
type: "string",
},
- },
- url: "/gists/starred",
- },
- star: {
- method: "PUT",
- params: {
- gist_id: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/gists/:gist_id/star",
+ url: "/repos/:owner/:repo/issues/:issue_number/labels/:name",
},
- unstar: {
+ removeLabels: {
method: "DELETE",
params: {
- gist_id: {
+ issue_number: {
required: true,
- type: "string",
- },
- },
- url: "/gists/:gist_id/star",
- },
- update: {
- method: "PATCH",
- params: {
- description: {
- type: "string",
- },
- files: {
- type: "object",
+ type: "integer",
},
- "files.content": {
- type: "string",
+ number: {
+ alias: "issue_number",
+ deprecated: true,
+ type: "integer",
},
- "files.filename": {
+ owner: {
+ required: true,
type: "string",
},
- gist_id: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/gists/:gist_id",
+ url: "/repos/:owner/:repo/issues/:issue_number/labels",
},
- updateComment: {
- method: "PATCH",
+ replaceLabels: {
+ method: "PUT",
params: {
- body: {
+ issue_number: {
required: true,
- type: "string",
+ type: "integer",
},
- comment_id: {
- required: true,
+ labels: {
+ type: "string[]",
+ },
+ number: {
+ alias: "issue_number",
+ deprecated: true,
type: "integer",
},
- gist_id: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
required: true,
type: "string",
},
},
- url: "/gists/:gist_id/comments/:comment_id",
+ url: "/repos/:owner/:repo/issues/:issue_number/labels",
},
- },
- git: {
- createBlob: {
- method: "POST",
+ unlock: {
+ method: "DELETE",
params: {
- content: {
+ issue_number: {
required: true,
- type: "string",
+ type: "integer",
},
- encoding: {
- type: "string",
+ number: {
+ alias: "issue_number",
+ deprecated: true,
+ type: "integer",
},
owner: {
required: true,
@@ -15159,190 +8910,154 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/git/blobs",
+ url: "/repos/:owner/:repo/issues/:issue_number/lock",
},
- createCommit: {
- method: "POST",
+ update: {
+ method: "PATCH",
params: {
- author: {
- type: "object",
- },
- "author.date": {
+ assignee: {
type: "string",
},
- "author.email": {
- type: "string",
+ assignees: {
+ type: "string[]",
},
- "author.name": {
+ body: {
type: "string",
},
- committer: {
- type: "object",
- },
- "committer.date": {
- type: "string",
+ issue_number: {
+ required: true,
+ type: "integer",
},
- "committer.email": {
- type: "string",
+ labels: {
+ type: "string[]",
},
- "committer.name": {
- type: "string",
+ milestone: {
+ allowNull: true,
+ type: "integer",
},
- message: {
- required: true,
- type: "string",
+ number: {
+ alias: "issue_number",
+ deprecated: true,
+ type: "integer",
},
owner: {
required: true,
type: "string",
},
- parents: {
- required: true,
- type: "string[]",
- },
repo: {
required: true,
type: "string",
},
- signature: {
+ state: {
+ enum: ["open", "closed"],
type: "string",
},
- tree: {
- required: true,
+ title: {
type: "string",
},
},
- url: "/repos/:owner/:repo/git/commits",
+ url: "/repos/:owner/:repo/issues/:issue_number",
},
- createRef: {
- method: "POST",
+ updateComment: {
+ method: "PATCH",
params: {
- owner: {
+ body: {
required: true,
type: "string",
},
- ref: {
+ comment_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ owner: {
required: true,
type: "string",
},
- sha: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/git/refs",
+ url: "/repos/:owner/:repo/issues/comments/:comment_id",
},
- createTag: {
- method: "POST",
+ updateLabel: {
+ method: "PATCH",
params: {
- message: {
- required: true,
+ color: {
type: "string",
},
- object: {
+ current_name: {
required: true,
type: "string",
},
- owner: {
- required: true,
+ description: {
type: "string",
},
- repo: {
- required: true,
+ name: {
type: "string",
},
- tag: {
+ owner: {
required: true,
type: "string",
},
- tagger: {
- type: "object",
- },
- "tagger.date": {
- type: "string",
- },
- "tagger.email": {
- type: "string",
- },
- "tagger.name": {
- type: "string",
- },
- type: {
- enum: ["commit", "tree", "blob"],
+ repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/git/tags",
+ url: "/repos/:owner/:repo/labels/:current_name",
},
- createTree: {
- method: "POST",
+ updateMilestone: {
+ method: "PATCH",
params: {
- base_tree: {
- type: "string",
- },
- owner: {
- required: true,
+ description: {
type: "string",
},
- repo: {
- required: true,
+ due_on: {
type: "string",
},
- tree: {
+ milestone_number: {
required: true,
- type: "object[]",
+ type: "integer",
},
- "tree[].content": {
- type: "string",
+ number: {
+ alias: "milestone_number",
+ deprecated: true,
+ type: "integer",
},
- "tree[].mode": {
- enum: ["100644", "100755", "040000", "160000", "120000"],
+ owner: {
+ required: true,
type: "string",
},
- "tree[].path": {
+ repo: {
+ required: true,
type: "string",
},
- "tree[].sha": {
- allowNull: true,
+ state: {
+ enum: ["open", "closed"],
type: "string",
},
- "tree[].type": {
- enum: ["blob", "tree", "commit"],
+ title: {
type: "string",
},
},
- url: "/repos/:owner/:repo/git/trees",
+ url: "/repos/:owner/:repo/milestones/:milestone_number",
},
- deleteRef: {
- method: "DELETE",
+ },
+ licenses: {
+ get: {
+ method: "GET",
params: {
- owner: {
- required: true,
- type: "string",
- },
- ref: {
- required: true,
- type: "string",
- },
- repo: {
+ license: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/git/refs/:ref",
+ url: "/licenses/:license",
},
- getBlob: {
+ getForRepo: {
method: "GET",
params: {
- file_sha: {
- required: true,
- type: "string",
- },
owner: {
required: true,
type: "string",
@@ -15352,46 +9067,64 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/git/blobs/:file_sha",
+ url: "/repos/:owner/:repo/license",
},
- getCommit: {
+ list: {
+ deprecated:
+ "octokit.licenses.list() has been renamed to octokit.licenses.listCommonlyUsed() (2019-03-05)",
method: "GET",
+ params: {},
+ url: "/licenses",
+ },
+ listCommonlyUsed: {
+ method: "GET",
+ params: {},
+ url: "/licenses",
+ },
+ },
+ markdown: {
+ render: {
+ method: "POST",
params: {
- commit_sha: {
- required: true,
+ context: {
type: "string",
},
- owner: {
- required: true,
+ mode: {
+ enum: ["markdown", "gfm"],
type: "string",
},
- repo: {
+ text: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/git/commits/:commit_sha",
+ url: "/markdown",
},
- getRef: {
- method: "GET",
+ renderRaw: {
+ headers: {
+ "content-type": "text/plain; charset=utf-8",
+ },
+ method: "POST",
params: {
- owner: {
- required: true,
- type: "string",
- },
- ref: {
- required: true,
- type: "string",
- },
- repo: {
+ data: {
+ mapTo: "data",
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/git/ref/:ref",
+ url: "/markdown/raw",
},
- getTag: {
+ },
+ meta: {
+ get: {
method: "GET",
+ params: {},
+ url: "/meta",
+ },
+ },
+ migrations: {
+ cancelImport: {
+ method: "DELETE",
params: {
owner: {
required: true,
@@ -15401,277 +9134,251 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- tag_sha: {
- required: true,
- type: "string",
- },
},
- url: "/repos/:owner/:repo/git/tags/:tag_sha",
+ url: "/repos/:owner/:repo/import",
},
- getTree: {
- method: "GET",
+ deleteArchiveForAuthenticatedUser: {
+ headers: {
+ accept: "application/vnd.github.wyandotte-preview+json",
+ },
+ method: "DELETE",
params: {
- owner: {
+ migration_id: {
required: true,
- type: "string",
- },
- recursive: {
- enum: ["1"],
type: "integer",
},
- repo: {
+ },
+ url: "/user/migrations/:migration_id/archive",
+ },
+ deleteArchiveForOrg: {
+ headers: {
+ accept: "application/vnd.github.wyandotte-preview+json",
+ },
+ method: "DELETE",
+ params: {
+ migration_id: {
required: true,
- type: "string",
+ type: "integer",
},
- tree_sha: {
+ org: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/git/trees/:tree_sha",
+ url: "/orgs/:org/migrations/:migration_id/archive",
},
- listMatchingRefs: {
+ downloadArchiveForOrg: {
+ headers: {
+ accept: "application/vnd.github.wyandotte-preview+json",
+ },
method: "GET",
params: {
- owner: {
+ migration_id: {
required: true,
- type: "string",
- },
- page: {
type: "integer",
},
- per_page: {
- type: "integer",
- },
- ref: {
- required: true,
- type: "string",
- },
- repo: {
+ org: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/git/matching-refs/:ref",
+ url: "/orgs/:org/migrations/:migration_id/archive",
},
- listRefs: {
+ getArchiveForAuthenticatedUser: {
+ headers: {
+ accept: "application/vnd.github.wyandotte-preview+json",
+ },
method: "GET",
params: {
- namespace: {
- type: "string",
- },
- owner: {
+ migration_id: {
required: true,
- type: "string",
- },
- page: {
type: "integer",
},
- per_page: {
+ },
+ url: "/user/migrations/:migration_id/archive",
+ },
+ getArchiveForOrg: {
+ deprecated:
+ "octokit.migrations.getArchiveForOrg() has been renamed to octokit.migrations.downloadArchiveForOrg() (2020-01-27)",
+ headers: {
+ accept: "application/vnd.github.wyandotte-preview+json",
+ },
+ method: "GET",
+ params: {
+ migration_id: {
+ required: true,
type: "integer",
},
- repo: {
+ org: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/git/refs/:namespace",
+ url: "/orgs/:org/migrations/:migration_id/archive",
},
- updateRef: {
- method: "PATCH",
+ getCommitAuthors: {
+ method: "GET",
params: {
- force: {
- type: "boolean",
- },
owner: {
required: true,
type: "string",
},
- ref: {
- required: true,
- type: "string",
- },
repo: {
required: true,
type: "string",
},
- sha: {
- required: true,
+ since: {
type: "string",
},
},
- url: "/repos/:owner/:repo/git/refs/:ref",
+ url: "/repos/:owner/:repo/import/authors",
},
- },
- gitignore: {
- getTemplate: {
+ getImportProgress: {
method: "GET",
params: {
- name: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
required: true,
type: "string",
},
},
- url: "/gitignore/templates/:name",
+ url: "/repos/:owner/:repo/import",
},
- listTemplates: {
+ getLargeFiles: {
method: "GET",
- params: {},
- url: "/gitignore/templates",
- },
- },
- interactions: {
- addOrUpdateRestrictionsForOrg: {
- headers: {
- accept: "application/vnd.github.sombra-preview+json",
- },
- method: "PUT",
params: {
- limit: {
- enum: [
- "existing_users",
- "contributors_only",
- "collaborators_only",
- ],
+ owner: {
required: true,
type: "string",
},
- org: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/interaction-limits",
+ url: "/repos/:owner/:repo/import/large_files",
},
- addOrUpdateRestrictionsForRepo: {
+ getStatusForAuthenticatedUser: {
headers: {
- accept: "application/vnd.github.sombra-preview+json",
+ accept: "application/vnd.github.wyandotte-preview+json",
},
- method: "PUT",
+ method: "GET",
params: {
- limit: {
- enum: [
- "existing_users",
- "contributors_only",
- "collaborators_only",
- ],
- required: true,
- type: "string",
- },
- owner: {
- required: true,
- type: "string",
- },
- repo: {
+ migration_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/interaction-limits",
+ url: "/user/migrations/:migration_id",
},
- getRestrictionsForOrg: {
+ getStatusForOrg: {
headers: {
- accept: "application/vnd.github.sombra-preview+json",
+ accept: "application/vnd.github.wyandotte-preview+json",
},
method: "GET",
params: {
+ migration_id: {
+ required: true,
+ type: "integer",
+ },
org: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/interaction-limits",
+ url: "/orgs/:org/migrations/:migration_id",
},
- getRestrictionsForRepo: {
+ listForAuthenticatedUser: {
headers: {
- accept: "application/vnd.github.sombra-preview+json",
+ accept: "application/vnd.github.wyandotte-preview+json",
},
method: "GET",
params: {
- owner: {
- required: true,
- type: "string",
+ page: {
+ type: "integer",
},
- repo: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/interaction-limits",
+ url: "/user/migrations",
},
- removeRestrictionsForOrg: {
+ listForOrg: {
headers: {
- accept: "application/vnd.github.sombra-preview+json",
+ accept: "application/vnd.github.wyandotte-preview+json",
},
- method: "DELETE",
+ method: "GET",
params: {
org: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
},
- url: "/orgs/:org/interaction-limits",
+ url: "/orgs/:org/migrations",
},
- removeRestrictionsForRepo: {
+ listReposForOrg: {
headers: {
- accept: "application/vnd.github.sombra-preview+json",
+ accept: "application/vnd.github.wyandotte-preview+json",
},
- method: "DELETE",
+ method: "GET",
params: {
- owner: {
+ migration_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ org: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
},
- url: "/repos/:owner/:repo/interaction-limits",
+ url: "/orgs/:org/migrations/:migration_id/repositories",
},
- },
- issues: {
- addAssignees: {
- method: "POST",
+ listReposForUser: {
+ headers: {
+ accept: "application/vnd.github.wyandotte-preview+json",
+ },
+ method: "GET",
params: {
- assignees: {
- type: "string[]",
- },
- issue_number: {
+ migration_id: {
required: true,
type: "integer",
},
- number: {
- alias: "issue_number",
- deprecated: true,
+ page: {
type: "integer",
},
- owner: {
- required: true,
- type: "string",
- },
- repo: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number/assignees",
+ url: "/user/:migration_id/repositories",
},
- addLabels: {
- method: "POST",
+ mapCommitAuthor: {
+ method: "PATCH",
params: {
- issue_number: {
+ author_id: {
required: true,
type: "integer",
},
- labels: {
- required: true,
- type: "string[]",
+ email: {
+ type: "string",
},
- number: {
- alias: "issue_number",
- deprecated: true,
- type: "integer",
+ name: {
+ type: "string",
},
owner: {
required: true,
@@ -15682,100 +9389,66 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number/labels",
+ url: "/repos/:owner/:repo/import/authors/:author_id",
},
- checkAssignee: {
- method: "GET",
+ setLfsPreference: {
+ method: "PATCH",
params: {
- assignee: {
+ owner: {
required: true,
type: "string",
},
- owner: {
+ repo: {
required: true,
type: "string",
},
- repo: {
+ use_lfs: {
+ enum: ["opt_in", "opt_out"],
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/assignees/:assignee",
+ url: "/repos/:owner/:repo/import/lfs",
},
- create: {
+ startForAuthenticatedUser: {
method: "POST",
params: {
- assignee: {
- type: "string",
- },
- assignees: {
- type: "string[]",
- },
- body: {
- type: "string",
- },
- labels: {
- type: "string[]",
- },
- milestone: {
- type: "integer",
- },
- owner: {
- required: true,
- type: "string",
+ exclude_attachments: {
+ type: "boolean",
},
- repo: {
- required: true,
- type: "string",
+ lock_repositories: {
+ type: "boolean",
},
- title: {
+ repositories: {
required: true,
- type: "string",
+ type: "string[]",
},
},
- url: "/repos/:owner/:repo/issues",
+ url: "/user/migrations",
},
- createComment: {
+ startForOrg: {
method: "POST",
params: {
- body: {
- required: true,
- type: "string",
- },
- issue_number: {
- required: true,
- type: "integer",
+ exclude_attachments: {
+ type: "boolean",
},
- number: {
- alias: "issue_number",
- deprecated: true,
- type: "integer",
+ lock_repositories: {
+ type: "boolean",
},
- owner: {
+ org: {
required: true,
type: "string",
},
- repo: {
+ repositories: {
required: true,
- type: "string",
+ type: "string[]",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number/comments",
+ url: "/orgs/:org/migrations",
},
- createLabel: {
- method: "POST",
+ startImport: {
+ method: "PUT",
params: {
- color: {
- required: true,
- type: "string",
- },
- description: {
- type: "string",
- },
- name: {
- required: true,
- type: "string",
- },
owner: {
required: true,
type: "string",
@@ -15784,85 +9457,67 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/labels",
- },
- createMilestone: {
- method: "POST",
- params: {
- description: {
+ tfvc_project: {
type: "string",
},
- due_on: {
+ vcs: {
+ enum: ["subversion", "git", "mercurial", "tfvc"],
type: "string",
},
- owner: {
- required: true,
+ vcs_password: {
type: "string",
},
- repo: {
+ vcs_url: {
required: true,
type: "string",
},
- state: {
- enum: ["open", "closed"],
- type: "string",
- },
- title: {
- required: true,
+ vcs_username: {
type: "string",
},
},
- url: "/repos/:owner/:repo/milestones",
+ url: "/repos/:owner/:repo/import",
},
- deleteComment: {
+ unlockRepoForAuthenticatedUser: {
+ headers: {
+ accept: "application/vnd.github.wyandotte-preview+json",
+ },
method: "DELETE",
params: {
- comment_id: {
+ migration_id: {
required: true,
type: "integer",
},
- owner: {
- required: true,
- type: "string",
- },
- repo: {
+ repo_name: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/comments/:comment_id",
+ url: "/user/migrations/:migration_id/repos/:repo_name/lock",
},
- deleteLabel: {
+ unlockRepoForOrg: {
+ headers: {
+ accept: "application/vnd.github.wyandotte-preview+json",
+ },
method: "DELETE",
params: {
- name: {
+ migration_id: {
required: true,
- type: "string",
+ type: "integer",
},
- owner: {
+ org: {
required: true,
type: "string",
},
- repo: {
+ repo_name: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/labels/:name",
+ url: "/orgs/:org/migrations/:migration_id/repos/:repo_name/lock",
},
- deleteMilestone: {
- method: "DELETE",
+ updateImport: {
+ method: "PATCH",
params: {
- milestone_number: {
- required: true,
- type: "integer",
- },
- number: {
- alias: "milestone_number",
- deprecated: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
@@ -15871,1108 +9526,1186 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/milestones/:milestone_number",
- },
- get: {
- method: "GET",
- params: {
- issue_number: {
- required: true,
- type: "integer",
- },
- number: {
- alias: "issue_number",
- deprecated: true,
- type: "integer",
- },
- owner: {
- required: true,
+ vcs_password: {
type: "string",
},
- repo: {
- required: true,
+ vcs_username: {
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number",
+ url: "/repos/:owner/:repo/import",
},
- getComment: {
+ },
+ oauthAuthorizations: {
+ checkAuthorization: {
+ deprecated:
+ "octokit.oauthAuthorizations.checkAuthorization() has been renamed to octokit.apps.checkAuthorization() (2019-11-05)",
method: "GET",
params: {
- comment_id: {
- required: true,
- type: "integer",
- },
- owner: {
+ access_token: {
required: true,
type: "string",
},
- repo: {
+ client_id: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/comments/:comment_id",
+ url: "/applications/:client_id/tokens/:access_token",
},
- getEvent: {
- method: "GET",
+ createAuthorization: {
+ deprecated:
+ "octokit.oauthAuthorizations.createAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization",
+ method: "POST",
params: {
- event_id: {
- required: true,
- type: "integer",
+ client_id: {
+ type: "string",
},
- owner: {
- required: true,
+ client_secret: {
type: "string",
},
- repo: {
- required: true,
+ fingerprint: {
type: "string",
},
- },
- url: "/repos/:owner/:repo/issues/events/:event_id",
- },
- getLabel: {
- method: "GET",
- params: {
- name: {
+ note: {
required: true,
type: "string",
},
- owner: {
- required: true,
+ note_url: {
type: "string",
},
- repo: {
- required: true,
- type: "string",
+ scopes: {
+ type: "string[]",
},
},
- url: "/repos/:owner/:repo/labels/:name",
+ url: "/authorizations",
},
- getMilestone: {
- method: "GET",
+ deleteAuthorization: {
+ deprecated:
+ "octokit.oauthAuthorizations.deleteAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization",
+ method: "DELETE",
params: {
- milestone_number: {
+ authorization_id: {
required: true,
type: "integer",
},
- number: {
- alias: "milestone_number",
- deprecated: true,
+ },
+ url: "/authorizations/:authorization_id",
+ },
+ deleteGrant: {
+ deprecated:
+ "octokit.oauthAuthorizations.deleteGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-a-grant",
+ method: "DELETE",
+ params: {
+ grant_id: {
+ required: true,
type: "integer",
},
- owner: {
+ },
+ url: "/applications/grants/:grant_id",
+ },
+ getAuthorization: {
+ deprecated:
+ "octokit.oauthAuthorizations.getAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization",
+ method: "GET",
+ params: {
+ authorization_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ },
+ url: "/authorizations/:authorization_id",
+ },
+ getGrant: {
+ deprecated:
+ "octokit.oauthAuthorizations.getGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant",
+ method: "GET",
+ params: {
+ grant_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/milestones/:milestone_number",
+ url: "/applications/grants/:grant_id",
},
- list: {
- method: "GET",
+ getOrCreateAuthorizationForApp: {
+ deprecated:
+ "octokit.oauthAuthorizations.getOrCreateAuthorizationForApp() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app",
+ method: "PUT",
params: {
- direction: {
- enum: ["asc", "desc"],
+ client_id: {
+ required: true,
type: "string",
},
- filter: {
- enum: ["assigned", "created", "mentioned", "subscribed", "all"],
+ client_secret: {
+ required: true,
type: "string",
},
- labels: {
+ fingerprint: {
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- since: {
+ note: {
type: "string",
},
- sort: {
- enum: ["created", "updated", "comments"],
+ note_url: {
type: "string",
},
- state: {
- enum: ["open", "closed", "all"],
- type: "string",
+ scopes: {
+ type: "string[]",
},
},
- url: "/issues",
+ url: "/authorizations/clients/:client_id",
},
- listAssignees: {
- method: "GET",
+ getOrCreateAuthorizationForAppAndFingerprint: {
+ deprecated:
+ "octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint",
+ method: "PUT",
params: {
- owner: {
+ client_id: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- repo: {
+ client_secret: {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/assignees",
- },
- listComments: {
- method: "GET",
- params: {
- issue_number: {
- required: true,
- type: "integer",
- },
- number: {
- alias: "issue_number",
- deprecated: true,
- type: "integer",
- },
- owner: {
+ fingerprint: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- repo: {
- required: true,
+ note: {
type: "string",
},
- since: {
+ note_url: {
type: "string",
},
+ scopes: {
+ type: "string[]",
+ },
},
- url: "/repos/:owner/:repo/issues/:issue_number/comments",
+ url: "/authorizations/clients/:client_id/:fingerprint",
},
- listCommentsForRepo: {
- method: "GET",
+ getOrCreateAuthorizationForAppFingerprint: {
+ deprecated:
+ "octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint() has been renamed to octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() (2018-12-27)",
+ method: "PUT",
params: {
- direction: {
- enum: ["asc", "desc"],
+ client_id: {
+ required: true,
type: "string",
},
- owner: {
+ client_secret: {
required: true,
type: "string",
},
- repo: {
+ fingerprint: {
required: true,
type: "string",
},
- since: {
+ note: {
type: "string",
},
- sort: {
- enum: ["created", "updated"],
+ note_url: {
type: "string",
},
+ scopes: {
+ type: "string[]",
+ },
},
- url: "/repos/:owner/:repo/issues/comments",
+ url: "/authorizations/clients/:client_id/:fingerprint",
},
- listEvents: {
+ listAuthorizations: {
+ deprecated:
+ "octokit.oauthAuthorizations.listAuthorizations() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations",
method: "GET",
params: {
- issue_number: {
- required: true,
- type: "integer",
- },
- number: {
- alias: "issue_number",
- deprecated: true,
- type: "integer",
- },
- owner: {
- required: true,
- type: "string",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- repo: {
- required: true,
- type: "string",
- },
},
- url: "/repos/:owner/:repo/issues/:issue_number/events",
+ url: "/authorizations",
},
- listEventsForRepo: {
+ listGrants: {
+ deprecated:
+ "octokit.oauthAuthorizations.listGrants() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-grants",
method: "GET",
params: {
- owner: {
- required: true,
- type: "string",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- repo: {
- required: true,
- type: "string",
- },
},
- url: "/repos/:owner/:repo/issues/events",
+ url: "/applications/grants",
},
- listEventsForTimeline: {
- headers: {
- accept: "application/vnd.github.mockingbird-preview+json",
- },
- method: "GET",
+ resetAuthorization: {
+ deprecated:
+ "octokit.oauthAuthorizations.resetAuthorization() has been renamed to octokit.apps.resetAuthorization() (2019-11-05)",
+ method: "POST",
params: {
- issue_number: {
+ access_token: {
required: true,
- type: "integer",
- },
- number: {
- alias: "issue_number",
- deprecated: true,
- type: "integer",
+ type: "string",
},
- owner: {
+ client_id: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
+ },
+ url: "/applications/:client_id/tokens/:access_token",
+ },
+ revokeAuthorizationForApplication: {
+ deprecated:
+ "octokit.oauthAuthorizations.revokeAuthorizationForApplication() has been renamed to octokit.apps.revokeAuthorizationForApplication() (2019-11-05)",
+ method: "DELETE",
+ params: {
+ access_token: {
+ required: true,
+ type: "string",
},
- repo: {
+ client_id: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number/timeline",
+ url: "/applications/:client_id/tokens/:access_token",
},
- listForAuthenticatedUser: {
- method: "GET",
+ revokeGrantForApplication: {
+ deprecated:
+ "octokit.oauthAuthorizations.revokeGrantForApplication() has been renamed to octokit.apps.revokeGrantForApplication() (2019-11-05)",
+ method: "DELETE",
params: {
- direction: {
- enum: ["asc", "desc"],
- type: "string",
- },
- filter: {
- enum: ["assigned", "created", "mentioned", "subscribed", "all"],
+ access_token: {
+ required: true,
type: "string",
},
- labels: {
+ client_id: {
+ required: true,
type: "string",
},
- page: {
- type: "integer",
+ },
+ url: "/applications/:client_id/grants/:access_token",
+ },
+ updateAuthorization: {
+ deprecated:
+ "octokit.oauthAuthorizations.updateAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization",
+ method: "PATCH",
+ params: {
+ add_scopes: {
+ type: "string[]",
},
- per_page: {
+ authorization_id: {
+ required: true,
type: "integer",
},
- since: {
+ fingerprint: {
type: "string",
},
- sort: {
- enum: ["created", "updated", "comments"],
+ note: {
type: "string",
},
- state: {
- enum: ["open", "closed", "all"],
+ note_url: {
type: "string",
},
+ remove_scopes: {
+ type: "string[]",
+ },
+ scopes: {
+ type: "string[]",
+ },
},
- url: "/user/issues",
+ url: "/authorizations/:authorization_id",
},
- listForOrg: {
- method: "GET",
+ },
+ orgs: {
+ addOrUpdateMembership: {
+ method: "PUT",
params: {
- direction: {
- enum: ["asc", "desc"],
+ org: {
+ required: true,
type: "string",
},
- filter: {
- enum: ["assigned", "created", "mentioned", "subscribed", "all"],
+ role: {
+ enum: ["admin", "member"],
type: "string",
},
- labels: {
+ username: {
+ required: true,
type: "string",
},
+ },
+ url: "/orgs/:org/memberships/:username",
+ },
+ blockUser: {
+ method: "PUT",
+ params: {
org: {
required: true,
type: "string",
},
- page: {
- type: "integer",
+ username: {
+ required: true,
+ type: "string",
},
- per_page: {
- type: "integer",
+ },
+ url: "/orgs/:org/blocks/:username",
+ },
+ checkBlockedUser: {
+ method: "GET",
+ params: {
+ org: {
+ required: true,
+ type: "string",
},
- since: {
+ username: {
+ required: true,
type: "string",
},
- sort: {
- enum: ["created", "updated", "comments"],
+ },
+ url: "/orgs/:org/blocks/:username",
+ },
+ checkMembership: {
+ method: "GET",
+ params: {
+ org: {
+ required: true,
type: "string",
},
- state: {
- enum: ["open", "closed", "all"],
+ username: {
+ required: true,
type: "string",
},
},
- url: "/orgs/:org/issues",
+ url: "/orgs/:org/members/:username",
},
- listForRepo: {
+ checkPublicMembership: {
method: "GET",
params: {
- assignee: {
+ org: {
+ required: true,
type: "string",
},
- creator: {
+ username: {
+ required: true,
type: "string",
},
- direction: {
- enum: ["asc", "desc"],
+ },
+ url: "/orgs/:org/public_members/:username",
+ },
+ concealMembership: {
+ method: "DELETE",
+ params: {
+ org: {
+ required: true,
type: "string",
},
- labels: {
+ username: {
+ required: true,
type: "string",
},
- mentioned: {
+ },
+ url: "/orgs/:org/public_members/:username",
+ },
+ convertMemberToOutsideCollaborator: {
+ method: "PUT",
+ params: {
+ org: {
+ required: true,
type: "string",
},
- milestone: {
+ username: {
+ required: true,
type: "string",
},
- owner: {
+ },
+ url: "/orgs/:org/outside_collaborators/:username",
+ },
+ createHook: {
+ method: "POST",
+ params: {
+ active: {
+ type: "boolean",
+ },
+ config: {
required: true,
+ type: "object",
+ },
+ "config.content_type": {
type: "string",
},
- page: {
- type: "integer",
+ "config.insecure_ssl": {
+ type: "string",
},
- per_page: {
- type: "integer",
+ "config.secret": {
+ type: "string",
},
- repo: {
+ "config.url": {
required: true,
type: "string",
},
- since: {
- type: "string",
+ events: {
+ type: "string[]",
},
- sort: {
- enum: ["created", "updated", "comments"],
+ name: {
+ required: true,
type: "string",
},
- state: {
- enum: ["open", "closed", "all"],
+ org: {
+ required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/issues",
+ url: "/orgs/:org/hooks",
},
- listLabelsForMilestone: {
- method: "GET",
+ createInvitation: {
+ method: "POST",
params: {
- milestone_number: {
- required: true,
- type: "integer",
+ email: {
+ type: "string",
},
- number: {
- alias: "milestone_number",
- deprecated: true,
+ invitee_id: {
type: "integer",
},
- owner: {
+ org: {
required: true,
type: "string",
},
- page: {
- type: "integer",
+ role: {
+ enum: ["admin", "direct_member", "billing_manager"],
+ type: "string",
},
- per_page: {
+ team_ids: {
+ type: "integer[]",
+ },
+ },
+ url: "/orgs/:org/invitations",
+ },
+ deleteHook: {
+ method: "DELETE",
+ params: {
+ hook_id: {
+ required: true,
type: "integer",
},
- repo: {
+ org: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/milestones/:milestone_number/labels",
+ url: "/orgs/:org/hooks/:hook_id",
},
- listLabelsForRepo: {
+ get: {
method: "GET",
params: {
- owner: {
+ org: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
+ },
+ url: "/orgs/:org",
+ },
+ getHook: {
+ method: "GET",
+ params: {
+ hook_id: {
+ required: true,
type: "integer",
},
- repo: {
+ org: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/labels",
+ url: "/orgs/:org/hooks/:hook_id",
},
- listLabelsOnIssue: {
+ getMembership: {
method: "GET",
params: {
- issue_number: {
- required: true,
- type: "integer",
- },
- number: {
- alias: "issue_number",
- deprecated: true,
- type: "integer",
- },
- owner: {
+ org: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- repo: {
+ username: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number/labels",
+ url: "/orgs/:org/memberships/:username",
},
- listMilestonesForRepo: {
+ getMembershipForAuthenticatedUser: {
method: "GET",
params: {
- direction: {
- enum: ["asc", "desc"],
- type: "string",
- },
- owner: {
- required: true,
+ org: {
+ required: true,
type: "string",
},
+ },
+ url: "/user/memberships/orgs/:org",
+ },
+ list: {
+ method: "GET",
+ params: {
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- repo: {
- required: true,
- type: "string",
- },
- sort: {
- enum: ["due_on", "completeness"],
- type: "string",
+ since: {
+ type: "integer",
},
- state: {
- enum: ["open", "closed", "all"],
+ },
+ url: "/organizations",
+ },
+ listBlockedUsers: {
+ method: "GET",
+ params: {
+ org: {
+ required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/milestones",
+ url: "/orgs/:org/blocks",
},
- lock: {
- method: "PUT",
+ listForAuthenticatedUser: {
+ method: "GET",
params: {
- issue_number: {
- required: true,
+ page: {
type: "integer",
},
- lock_reason: {
- enum: ["off-topic", "too heated", "resolved", "spam"],
- type: "string",
+ per_page: {
+ type: "integer",
},
- number: {
- alias: "issue_number",
- deprecated: true,
+ },
+ url: "/user/orgs",
+ },
+ listForUser: {
+ method: "GET",
+ params: {
+ page: {
type: "integer",
},
- owner: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
- repo: {
+ username: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number/lock",
+ url: "/users/:username/orgs",
},
- removeAssignees: {
- method: "DELETE",
+ listHooks: {
+ method: "GET",
params: {
- assignees: {
- type: "string[]",
- },
- issue_number: {
+ org: {
required: true,
+ type: "string",
+ },
+ page: {
type: "integer",
},
- number: {
- alias: "issue_number",
- deprecated: true,
+ per_page: {
type: "integer",
},
- owner: {
+ },
+ url: "/orgs/:org/hooks",
+ },
+ listInstallations: {
+ headers: {
+ accept: "application/vnd.github.machine-man-preview+json",
+ },
+ method: "GET",
+ params: {
+ org: {
required: true,
type: "string",
},
- repo: {
- required: true,
- type: "string",
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number/assignees",
+ url: "/orgs/:org/installations",
},
- removeLabel: {
- method: "DELETE",
+ listInvitationTeams: {
+ method: "GET",
params: {
- issue_number: {
+ invitation_id: {
required: true,
type: "integer",
},
- name: {
+ org: {
required: true,
type: "string",
},
- number: {
- alias: "issue_number",
- deprecated: true,
+ page: {
type: "integer",
},
- owner: {
- required: true,
+ per_page: {
+ type: "integer",
+ },
+ },
+ url: "/orgs/:org/invitations/:invitation_id/teams",
+ },
+ listMembers: {
+ method: "GET",
+ params: {
+ filter: {
+ enum: ["2fa_disabled", "all"],
type: "string",
},
- repo: {
+ org: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ role: {
+ enum: ["all", "admin", "member"],
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/issues/:issue_number/labels/:name",
+ url: "/orgs/:org/members",
},
- removeLabels: {
- method: "DELETE",
+ listMemberships: {
+ method: "GET",
params: {
- issue_number: {
- required: true,
+ page: {
type: "integer",
},
- number: {
- alias: "issue_number",
- deprecated: true,
+ per_page: {
type: "integer",
},
- owner: {
- required: true,
- type: "string",
- },
- repo: {
- required: true,
+ state: {
+ enum: ["active", "pending"],
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number/labels",
+ url: "/user/memberships/orgs",
},
- replaceLabels: {
- method: "PUT",
+ listOutsideCollaborators: {
+ method: "GET",
params: {
- issue_number: {
+ filter: {
+ enum: ["2fa_disabled", "all"],
+ type: "string",
+ },
+ org: {
required: true,
- type: "integer",
+ type: "string",
},
- labels: {
- type: "string[]",
+ page: {
+ type: "integer",
},
- number: {
- alias: "issue_number",
- deprecated: true,
+ per_page: {
type: "integer",
},
- owner: {
+ },
+ url: "/orgs/:org/outside_collaborators",
+ },
+ listPendingInvitations: {
+ method: "GET",
+ params: {
+ org: {
required: true,
type: "string",
},
- repo: {
- required: true,
- type: "string",
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number/labels",
+ url: "/orgs/:org/invitations",
},
- unlock: {
- method: "DELETE",
+ listPublicMembers: {
+ method: "GET",
params: {
- issue_number: {
+ org: {
required: true,
+ type: "string",
+ },
+ page: {
type: "integer",
},
- number: {
- alias: "issue_number",
- deprecated: true,
+ per_page: {
type: "integer",
},
- owner: {
+ },
+ url: "/orgs/:org/public_members",
+ },
+ pingHook: {
+ method: "POST",
+ params: {
+ hook_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ org: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number/lock",
+ url: "/orgs/:org/hooks/:hook_id/pings",
},
- update: {
- method: "PATCH",
+ publicizeMembership: {
+ method: "PUT",
params: {
- assignee: {
- type: "string",
- },
- assignees: {
- type: "string[]",
- },
- body: {
+ org: {
+ required: true,
type: "string",
},
- issue_number: {
+ username: {
required: true,
- type: "integer",
- },
- labels: {
- type: "string[]",
- },
- milestone: {
- allowNull: true,
- type: "integer",
- },
- number: {
- alias: "issue_number",
- deprecated: true,
- type: "integer",
+ type: "string",
},
- owner: {
+ },
+ url: "/orgs/:org/public_members/:username",
+ },
+ removeMember: {
+ method: "DELETE",
+ params: {
+ org: {
required: true,
type: "string",
},
- repo: {
+ username: {
required: true,
type: "string",
},
- state: {
- enum: ["open", "closed"],
+ },
+ url: "/orgs/:org/members/:username",
+ },
+ removeMembership: {
+ method: "DELETE",
+ params: {
+ org: {
+ required: true,
type: "string",
},
- title: {
+ username: {
+ required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number",
+ url: "/orgs/:org/memberships/:username",
},
- updateComment: {
- method: "PATCH",
+ removeOutsideCollaborator: {
+ method: "DELETE",
params: {
- body: {
+ org: {
required: true,
type: "string",
},
- comment_id: {
+ username: {
required: true,
- type: "integer",
+ type: "string",
},
- owner: {
+ },
+ url: "/orgs/:org/outside_collaborators/:username",
+ },
+ unblockUser: {
+ method: "DELETE",
+ params: {
+ org: {
required: true,
type: "string",
},
- repo: {
+ username: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/comments/:comment_id",
+ url: "/orgs/:org/blocks/:username",
},
- updateLabel: {
+ update: {
method: "PATCH",
params: {
- color: {
+ billing_email: {
type: "string",
},
- current_name: {
- required: true,
+ company: {
+ type: "string",
+ },
+ default_repository_permission: {
+ enum: ["read", "write", "admin", "none"],
type: "string",
},
description: {
type: "string",
},
- name: {
+ email: {
type: "string",
},
- owner: {
- required: true,
+ has_organization_projects: {
+ type: "boolean",
+ },
+ has_repository_projects: {
+ type: "boolean",
+ },
+ location: {
type: "string",
},
- repo: {
+ members_allowed_repository_creation_type: {
+ enum: ["all", "private", "none"],
+ type: "string",
+ },
+ members_can_create_internal_repositories: {
+ type: "boolean",
+ },
+ members_can_create_private_repositories: {
+ type: "boolean",
+ },
+ members_can_create_public_repositories: {
+ type: "boolean",
+ },
+ members_can_create_repositories: {
+ type: "boolean",
+ },
+ name: {
+ type: "string",
+ },
+ org: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/labels/:current_name",
+ url: "/orgs/:org",
},
- updateMilestone: {
+ updateHook: {
method: "PATCH",
params: {
- description: {
- type: "string",
+ active: {
+ type: "boolean",
},
- due_on: {
- type: "string",
+ config: {
+ type: "object",
},
- milestone_number: {
- required: true,
- type: "integer",
+ "config.content_type": {
+ type: "string",
},
- number: {
- alias: "milestone_number",
- deprecated: true,
- type: "integer",
+ "config.insecure_ssl": {
+ type: "string",
},
- owner: {
- required: true,
+ "config.secret": {
type: "string",
},
- repo: {
+ "config.url": {
required: true,
type: "string",
},
- state: {
- enum: ["open", "closed"],
- type: "string",
+ events: {
+ type: "string[]",
},
- title: {
- type: "string",
+ hook_id: {
+ required: true,
+ type: "integer",
},
- },
- url: "/repos/:owner/:repo/milestones/:milestone_number",
- },
- },
- licenses: {
- get: {
- method: "GET",
- params: {
- license: {
+ org: {
required: true,
type: "string",
},
},
- url: "/licenses/:license",
+ url: "/orgs/:org/hooks/:hook_id",
},
- getForRepo: {
- method: "GET",
+ updateMembership: {
+ method: "PATCH",
params: {
- owner: {
+ org: {
required: true,
type: "string",
},
- repo: {
+ state: {
+ enum: ["active"],
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/license",
- },
- list: {
- deprecated:
- "octokit.licenses.list() has been renamed to octokit.licenses.listCommonlyUsed() (2019-03-05)",
- method: "GET",
- params: {},
- url: "/licenses",
- },
- listCommonlyUsed: {
- method: "GET",
- params: {},
- url: "/licenses",
+ url: "/user/memberships/orgs/:org",
},
},
- markdown: {
- render: {
- method: "POST",
+ projects: {
+ addCollaborator: {
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
+ method: "PUT",
params: {
- context: {
+ permission: {
+ enum: ["read", "write", "admin"],
type: "string",
},
- mode: {
- enum: ["markdown", "gfm"],
- type: "string",
+ project_id: {
+ required: true,
+ type: "integer",
},
- text: {
+ username: {
required: true,
type: "string",
},
},
- url: "/markdown",
+ url: "/projects/:project_id/collaborators/:username",
},
- renderRaw: {
+ createCard: {
headers: {
- "content-type": "text/plain; charset=utf-8",
+ accept: "application/vnd.github.inertia-preview+json",
},
method: "POST",
params: {
- data: {
- mapTo: "data",
+ column_id: {
required: true,
+ type: "integer",
+ },
+ content_id: {
+ type: "integer",
+ },
+ content_type: {
+ type: "string",
+ },
+ note: {
type: "string",
},
},
- url: "/markdown/raw",
- },
- },
- meta: {
- get: {
- method: "GET",
- params: {},
- url: "/meta",
+ url: "/projects/columns/:column_id/cards",
},
- },
- migrations: {
- cancelImport: {
- method: "DELETE",
+ createColumn: {
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
+ method: "POST",
params: {
- owner: {
+ name: {
required: true,
type: "string",
},
- repo: {
+ project_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/import",
+ url: "/projects/:project_id/columns",
},
- deleteArchiveForAuthenticatedUser: {
+ createForAuthenticatedUser: {
headers: {
- accept: "application/vnd.github.wyandotte-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
- method: "DELETE",
+ method: "POST",
params: {
- migration_id: {
+ body: {
+ type: "string",
+ },
+ name: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/user/migrations/:migration_id/archive",
+ url: "/user/projects",
},
- deleteArchiveForOrg: {
+ createForOrg: {
headers: {
- accept: "application/vnd.github.wyandotte-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
- method: "DELETE",
+ method: "POST",
params: {
- migration_id: {
+ body: {
+ type: "string",
+ },
+ name: {
required: true,
- type: "integer",
+ type: "string",
},
org: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/migrations/:migration_id/archive",
+ url: "/orgs/:org/projects",
},
- downloadArchiveForOrg: {
+ createForRepo: {
headers: {
- accept: "application/vnd.github.wyandotte-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
- method: "GET",
+ method: "POST",
params: {
- migration_id: {
+ body: {
+ type: "string",
+ },
+ name: {
required: true,
- type: "integer",
+ type: "string",
},
- org: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/migrations/:migration_id/archive",
+ url: "/repos/:owner/:repo/projects",
},
- getArchiveForAuthenticatedUser: {
+ delete: {
headers: {
- accept: "application/vnd.github.wyandotte-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
- method: "GET",
+ method: "DELETE",
params: {
- migration_id: {
+ project_id: {
required: true,
type: "integer",
},
},
- url: "/user/migrations/:migration_id/archive",
+ url: "/projects/:project_id",
},
- getArchiveForOrg: {
- deprecated:
- "octokit.migrations.getArchiveForOrg() has been renamed to octokit.migrations.downloadArchiveForOrg() (2020-01-27)",
+ deleteCard: {
headers: {
- accept: "application/vnd.github.wyandotte-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
- method: "GET",
+ method: "DELETE",
params: {
- migration_id: {
+ card_id: {
required: true,
type: "integer",
},
- org: {
- required: true,
- type: "string",
- },
},
- url: "/orgs/:org/migrations/:migration_id/archive",
+ url: "/projects/columns/cards/:card_id",
},
- getCommitAuthors: {
- method: "GET",
+ deleteColumn: {
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
+ method: "DELETE",
params: {
- owner: {
- required: true,
- type: "string",
- },
- repo: {
+ column_id: {
required: true,
- type: "string",
- },
- since: {
- type: "string",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/import/authors",
+ url: "/projects/columns/:column_id",
},
- getImportProgress: {
+ get: {
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
method: "GET",
params: {
- owner: {
- required: true,
- type: "string",
- },
- repo: {
+ project_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/import",
+ url: "/projects/:project_id",
},
- getLargeFiles: {
+ getCard: {
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
method: "GET",
params: {
- owner: {
- required: true,
- type: "string",
- },
- repo: {
+ card_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/import/large_files",
+ url: "/projects/columns/cards/:card_id",
},
- getStatusForAuthenticatedUser: {
+ getColumn: {
headers: {
- accept: "application/vnd.github.wyandotte-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
method: "GET",
params: {
- migration_id: {
+ column_id: {
required: true,
type: "integer",
},
},
- url: "/user/migrations/:migration_id",
+ url: "/projects/columns/:column_id",
},
- getStatusForOrg: {
+ listCards: {
headers: {
- accept: "application/vnd.github.wyandotte-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
method: "GET",
params: {
- migration_id: {
+ archived_state: {
+ enum: ["all", "archived", "not_archived"],
+ type: "string",
+ },
+ column_id: {
required: true,
type: "integer",
},
- org: {
- required: true,
- type: "string",
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
},
},
- url: "/orgs/:org/migrations/:migration_id",
+ url: "/projects/columns/:column_id/cards",
},
- listForAuthenticatedUser: {
+ listCollaborators: {
headers: {
- accept: "application/vnd.github.wyandotte-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
method: "GET",
params: {
+ affiliation: {
+ enum: ["outside", "direct", "all"],
+ type: "string",
+ },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
+ project_id: {
+ required: true,
+ type: "integer",
+ },
},
- url: "/user/migrations",
+ url: "/projects/:project_id/collaborators",
},
- listForOrg: {
+ listColumns: {
headers: {
- accept: "application/vnd.github.wyandotte-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
method: "GET",
params: {
- org: {
- required: true,
- type: "string",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
+ project_id: {
+ required: true,
+ type: "integer",
+ },
},
- url: "/orgs/:org/migrations",
+ url: "/projects/:project_id/columns",
},
- listReposForOrg: {
+ listForOrg: {
headers: {
- accept: "application/vnd.github.wyandotte-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
method: "GET",
params: {
- migration_id: {
- required: true,
- type: "integer",
- },
org: {
required: true,
type: "string",
@@ -16983,18 +10716,22 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
+ state: {
+ enum: ["open", "closed", "all"],
+ type: "string",
+ },
},
- url: "/orgs/:org/migrations/:migration_id/repositories",
+ url: "/orgs/:org/projects",
},
- listReposForUser: {
+ listForRepo: {
headers: {
- accept: "application/vnd.github.wyandotte-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
method: "GET",
params: {
- migration_id: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
},
page: {
type: "integer",
@@ -17002,745 +10739,716 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
+ repo: {
+ required: true,
+ type: "string",
+ },
+ state: {
+ enum: ["open", "closed", "all"],
+ type: "string",
+ },
},
- url: "/user/:migration_id/repositories",
+ url: "/repos/:owner/:repo/projects",
},
- mapCommitAuthor: {
- method: "PATCH",
+ listForUser: {
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
+ method: "GET",
params: {
- author_id: {
- required: true,
+ page: {
type: "integer",
},
- email: {
- type: "string",
- },
- name: {
- type: "string",
+ per_page: {
+ type: "integer",
},
- owner: {
- required: true,
+ state: {
+ enum: ["open", "closed", "all"],
type: "string",
},
- repo: {
+ username: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/import/authors/:author_id",
+ url: "/users/:username/projects",
},
- setLfsPreference: {
- method: "PATCH",
+ moveCard: {
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
+ method: "POST",
params: {
- owner: {
+ card_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
- required: true,
- type: "string",
+ column_id: {
+ type: "integer",
},
- use_lfs: {
- enum: ["opt_in", "opt_out"],
+ position: {
required: true,
type: "string",
+ validation: "^(top|bottom|after:\\d+)$",
},
},
- url: "/repos/:owner/:repo/import/lfs",
+ url: "/projects/columns/cards/:card_id/moves",
},
- startForAuthenticatedUser: {
+ moveColumn: {
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
method: "POST",
params: {
- exclude_attachments: {
- type: "boolean",
- },
- lock_repositories: {
- type: "boolean",
+ column_id: {
+ required: true,
+ type: "integer",
},
- repositories: {
+ position: {
required: true,
- type: "string[]",
+ type: "string",
+ validation: "^(first|last|after:\\d+)$",
},
},
- url: "/user/migrations",
+ url: "/projects/columns/:column_id/moves",
},
- startForOrg: {
- method: "POST",
+ removeCollaborator: {
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
+ method: "DELETE",
params: {
- exclude_attachments: {
- type: "boolean",
- },
- lock_repositories: {
- type: "boolean",
- },
- org: {
+ project_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repositories: {
+ username: {
required: true,
- type: "string[]",
+ type: "string",
},
},
- url: "/orgs/:org/migrations",
+ url: "/projects/:project_id/collaborators/:username",
},
- startImport: {
- method: "PUT",
+ reviewUserPermissionLevel: {
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
+ method: "GET",
params: {
- owner: {
+ project_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ username: {
required: true,
type: "string",
},
- tfvc_project: {
+ },
+ url: "/projects/:project_id/collaborators/:username/permission",
+ },
+ update: {
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
+ method: "PATCH",
+ params: {
+ body: {
type: "string",
},
- vcs: {
- enum: ["subversion", "git", "mercurial", "tfvc"],
+ name: {
type: "string",
},
- vcs_password: {
+ organization_permission: {
type: "string",
},
- vcs_url: {
+ private: {
+ type: "boolean",
+ },
+ project_id: {
required: true,
- type: "string",
+ type: "integer",
},
- vcs_username: {
+ state: {
+ enum: ["open", "closed"],
type: "string",
},
},
- url: "/repos/:owner/:repo/import",
+ url: "/projects/:project_id",
},
- unlockRepoForAuthenticatedUser: {
+ updateCard: {
headers: {
- accept: "application/vnd.github.wyandotte-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
- method: "DELETE",
+ method: "PATCH",
params: {
- migration_id: {
+ archived: {
+ type: "boolean",
+ },
+ card_id: {
required: true,
type: "integer",
},
- repo_name: {
- required: true,
+ note: {
type: "string",
},
},
- url: "/user/migrations/:migration_id/repos/:repo_name/lock",
+ url: "/projects/columns/cards/:card_id",
},
- unlockRepoForOrg: {
+ updateColumn: {
headers: {
- accept: "application/vnd.github.wyandotte-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
- method: "DELETE",
+ method: "PATCH",
params: {
- migration_id: {
+ column_id: {
required: true,
type: "integer",
},
- org: {
- required: true,
- type: "string",
- },
- repo_name: {
+ name: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/migrations/:migration_id/repos/:repo_name/lock",
+ url: "/projects/columns/:column_id",
},
- updateImport: {
- method: "PATCH",
+ },
+ pulls: {
+ checkIfMerged: {
+ method: "GET",
params: {
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
+ },
owner: {
required: true,
type: "string",
},
- repo: {
+ pull_number: {
required: true,
- type: "string",
- },
- vcs_password: {
- type: "string",
+ type: "integer",
},
- vcs_username: {
+ repo: {
+ required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/import",
+ url: "/repos/:owner/:repo/pulls/:pull_number/merge",
},
- },
- oauthAuthorizations: {
- checkAuthorization: {
- deprecated:
- "octokit.oauthAuthorizations.checkAuthorization() has been renamed to octokit.apps.checkAuthorization() (2019-11-05)",
- method: "GET",
+ create: {
+ method: "POST",
params: {
- access_token: {
+ base: {
required: true,
type: "string",
},
- client_id: {
- required: true,
+ body: {
type: "string",
},
- },
- url: "/applications/:client_id/tokens/:access_token",
- },
- createAuthorization: {
- deprecated:
- "octokit.oauthAuthorizations.createAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization",
- method: "POST",
- params: {
- client_id: {
- type: "string",
+ draft: {
+ type: "boolean",
},
- client_secret: {
+ head: {
+ required: true,
type: "string",
},
- fingerprint: {
- type: "string",
+ maintainer_can_modify: {
+ type: "boolean",
},
- note: {
+ owner: {
required: true,
type: "string",
},
- note_url: {
+ repo: {
+ required: true,
type: "string",
},
- scopes: {
- type: "string[]",
+ title: {
+ required: true,
+ type: "string",
},
},
- url: "/authorizations",
+ url: "/repos/:owner/:repo/pulls",
},
- deleteAuthorization: {
- deprecated:
- "octokit.oauthAuthorizations.deleteAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization",
- method: "DELETE",
+ createComment: {
+ method: "POST",
params: {
- authorization_id: {
+ body: {
required: true,
- type: "integer",
+ type: "string",
},
- },
- url: "/authorizations/:authorization_id",
- },
- deleteGrant: {
- deprecated:
- "octokit.oauthAuthorizations.deleteGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-a-grant",
- method: "DELETE",
- params: {
- grant_id: {
+ commit_id: {
required: true,
+ type: "string",
+ },
+ in_reply_to: {
+ deprecated: true,
+ description:
+ "The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.",
type: "integer",
},
- },
- url: "/applications/grants/:grant_id",
- },
- getAuthorization: {
- deprecated:
- "octokit.oauthAuthorizations.getAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization",
- method: "GET",
- params: {
- authorization_id: {
- required: true,
+ line: {
type: "integer",
},
- },
- url: "/authorizations/:authorization_id",
- },
- getGrant: {
- deprecated:
- "octokit.oauthAuthorizations.getGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant",
- method: "GET",
- params: {
- grant_id: {
- required: true,
+ number: {
+ alias: "pull_number",
+ deprecated: true,
type: "integer",
},
- },
- url: "/applications/grants/:grant_id",
- },
- getOrCreateAuthorizationForApp: {
- deprecated:
- "octokit.oauthAuthorizations.getOrCreateAuthorizationForApp() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app",
- method: "PUT",
- params: {
- client_id: {
+ owner: {
required: true,
type: "string",
},
- client_secret: {
+ path: {
required: true,
type: "string",
},
- fingerprint: {
- type: "string",
+ position: {
+ type: "integer",
},
- note: {
+ pull_number: {
+ required: true,
+ type: "integer",
+ },
+ repo: {
+ required: true,
type: "string",
},
- note_url: {
+ side: {
+ enum: ["LEFT", "RIGHT"],
type: "string",
},
- scopes: {
- type: "string[]",
+ start_line: {
+ type: "integer",
+ },
+ start_side: {
+ enum: ["LEFT", "RIGHT", "side"],
+ type: "string",
},
},
- url: "/authorizations/clients/:client_id",
+ url: "/repos/:owner/:repo/pulls/:pull_number/comments",
},
- getOrCreateAuthorizationForAppAndFingerprint: {
+ createCommentReply: {
deprecated:
- "octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint",
- method: "PUT",
+ "octokit.pulls.createCommentReply() has been renamed to octokit.pulls.createComment() (2019-09-09)",
+ method: "POST",
params: {
- client_id: {
- required: true,
- type: "string",
- },
- client_secret: {
+ body: {
required: true,
type: "string",
},
- fingerprint: {
+ commit_id: {
required: true,
type: "string",
},
- note: {
- type: "string",
+ in_reply_to: {
+ deprecated: true,
+ description:
+ "The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.",
+ type: "integer",
},
- note_url: {
- type: "string",
+ line: {
+ type: "integer",
},
- scopes: {
- type: "string[]",
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
},
- },
- url: "/authorizations/clients/:client_id/:fingerprint",
- },
- getOrCreateAuthorizationForAppFingerprint: {
- deprecated:
- "octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint() has been renamed to octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() (2018-12-27)",
- method: "PUT",
- params: {
- client_id: {
+ owner: {
required: true,
type: "string",
},
- client_secret: {
+ path: {
required: true,
type: "string",
},
- fingerprint: {
+ position: {
+ type: "integer",
+ },
+ pull_number: {
required: true,
- type: "string",
+ type: "integer",
},
- note: {
+ repo: {
+ required: true,
type: "string",
},
- note_url: {
+ side: {
+ enum: ["LEFT", "RIGHT"],
type: "string",
},
- scopes: {
- type: "string[]",
- },
- },
- url: "/authorizations/clients/:client_id/:fingerprint",
- },
- listAuthorizations: {
- deprecated:
- "octokit.oauthAuthorizations.listAuthorizations() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations",
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- },
- url: "/authorizations",
- },
- listGrants: {
- deprecated:
- "octokit.oauthAuthorizations.listGrants() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-grants",
- method: "GET",
- params: {
- page: {
+ start_line: {
type: "integer",
},
- per_page: {
- type: "integer",
+ start_side: {
+ enum: ["LEFT", "RIGHT", "side"],
+ type: "string",
},
},
- url: "/applications/grants",
+ url: "/repos/:owner/:repo/pulls/:pull_number/comments",
},
- resetAuthorization: {
+ createFromIssue: {
deprecated:
- "octokit.oauthAuthorizations.resetAuthorization() has been renamed to octokit.apps.resetAuthorization() (2019-11-05)",
+ "octokit.pulls.createFromIssue() is deprecated, see https://developer.github.com/v3/pulls/#create-a-pull-request",
method: "POST",
params: {
- access_token: {
+ base: {
required: true,
type: "string",
},
- client_id: {
+ draft: {
+ type: "boolean",
+ },
+ head: {
required: true,
type: "string",
},
- },
- url: "/applications/:client_id/tokens/:access_token",
- },
- revokeAuthorizationForApplication: {
- deprecated:
- "octokit.oauthAuthorizations.revokeAuthorizationForApplication() has been renamed to octokit.apps.revokeAuthorizationForApplication() (2019-11-05)",
- method: "DELETE",
- params: {
- access_token: {
+ issue: {
+ required: true,
+ type: "integer",
+ },
+ maintainer_can_modify: {
+ type: "boolean",
+ },
+ owner: {
required: true,
type: "string",
},
- client_id: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/applications/:client_id/tokens/:access_token",
+ url: "/repos/:owner/:repo/pulls",
},
- revokeGrantForApplication: {
- deprecated:
- "octokit.oauthAuthorizations.revokeGrantForApplication() has been renamed to octokit.apps.revokeGrantForApplication() (2019-11-05)",
- method: "DELETE",
+ createReview: {
+ method: "POST",
params: {
- access_token: {
- required: true,
+ body: {
type: "string",
},
- client_id: {
+ comments: {
+ type: "object[]",
+ },
+ "comments[].body": {
required: true,
type: "string",
},
- },
- url: "/applications/:client_id/grants/:access_token",
- },
- updateAuthorization: {
- deprecated:
- "octokit.oauthAuthorizations.updateAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization",
- method: "PATCH",
- params: {
- add_scopes: {
- type: "string[]",
+ "comments[].path": {
+ required: true,
+ type: "string",
},
- authorization_id: {
+ "comments[].position": {
required: true,
type: "integer",
},
- fingerprint: {
- type: "string",
- },
- note: {
+ commit_id: {
type: "string",
},
- note_url: {
+ event: {
+ enum: ["APPROVE", "REQUEST_CHANGES", "COMMENT"],
type: "string",
},
- remove_scopes: {
- type: "string[]",
- },
- scopes: {
- type: "string[]",
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
},
- },
- url: "/authorizations/:authorization_id",
- },
- },
- orgs: {
- addOrUpdateMembership: {
- method: "PUT",
- params: {
- org: {
+ owner: {
required: true,
type: "string",
},
- role: {
- enum: ["admin", "member"],
- type: "string",
+ pull_number: {
+ required: true,
+ type: "integer",
},
- username: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/memberships/:username",
+ url: "/repos/:owner/:repo/pulls/:pull_number/reviews",
},
- blockUser: {
- method: "PUT",
+ createReviewCommentReply: {
+ method: "POST",
params: {
- org: {
+ body: {
required: true,
type: "string",
},
- username: {
+ comment_id: {
required: true,
- type: "string",
+ type: "integer",
},
- },
- url: "/orgs/:org/blocks/:username",
- },
- checkBlockedUser: {
- method: "GET",
- params: {
- org: {
+ owner: {
required: true,
type: "string",
},
- username: {
+ pull_number: {
+ required: true,
+ type: "integer",
+ },
+ repo: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/blocks/:username",
+ url:
+ "/repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies",
},
- checkMembership: {
- method: "GET",
+ createReviewRequest: {
+ method: "POST",
params: {
- org: {
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
+ },
+ owner: {
required: true,
type: "string",
},
- username: {
+ pull_number: {
+ required: true,
+ type: "integer",
+ },
+ repo: {
required: true,
type: "string",
},
+ reviewers: {
+ type: "string[]",
+ },
+ team_reviewers: {
+ type: "string[]",
+ },
},
- url: "/orgs/:org/members/:username",
+ url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers",
},
- checkPublicMembership: {
- method: "GET",
+ deleteComment: {
+ method: "DELETE",
params: {
- org: {
+ comment_id: {
+ required: true,
+ type: "integer",
+ },
+ owner: {
required: true,
type: "string",
},
- username: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/public_members/:username",
+ url: "/repos/:owner/:repo/pulls/comments/:comment_id",
},
- concealMembership: {
+ deletePendingReview: {
method: "DELETE",
params: {
- org: {
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
+ },
+ owner: {
required: true,
type: "string",
},
- username: {
+ pull_number: {
required: true,
- type: "string",
+ type: "integer",
},
- },
- url: "/orgs/:org/public_members/:username",
- },
- convertMemberToOutsideCollaborator: {
- method: "PUT",
- params: {
- org: {
+ repo: {
required: true,
type: "string",
},
- username: {
+ review_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url: "/orgs/:org/outside_collaborators/:username",
+ url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id",
},
- createHook: {
- method: "POST",
+ deleteReviewRequest: {
+ method: "DELETE",
params: {
- active: {
- type: "boolean",
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
},
- config: {
+ owner: {
required: true,
- type: "object",
- },
- "config.content_type": {
- type: "string",
- },
- "config.insecure_ssl": {
type: "string",
},
- "config.secret": {
- type: "string",
+ pull_number: {
+ required: true,
+ type: "integer",
},
- "config.url": {
+ repo: {
required: true,
type: "string",
},
- events: {
+ reviewers: {
type: "string[]",
},
- name: {
- required: true,
- type: "string",
- },
- org: {
- required: true,
- type: "string",
+ team_reviewers: {
+ type: "string[]",
},
},
- url: "/orgs/:org/hooks",
+ url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers",
},
- createInvitation: {
- method: "POST",
+ dismissReview: {
+ method: "PUT",
params: {
- email: {
+ message: {
+ required: true,
type: "string",
},
- invitee_id: {
+ number: {
+ alias: "pull_number",
+ deprecated: true,
type: "integer",
},
- org: {
+ owner: {
required: true,
type: "string",
},
- role: {
- enum: ["admin", "direct_member", "billing_manager"],
- type: "string",
- },
- team_ids: {
- type: "integer[]",
- },
- },
- url: "/orgs/:org/invitations",
- },
- deleteHook: {
- method: "DELETE",
- params: {
- hook_id: {
+ pull_number: {
required: true,
type: "integer",
},
- org: {
+ repo: {
required: true,
type: "string",
},
+ review_id: {
+ required: true,
+ type: "integer",
+ },
},
- url: "/orgs/:org/hooks/:hook_id",
+ url:
+ "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals",
},
get: {
method: "GET",
params: {
- org: {
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
+ },
+ owner: {
required: true,
type: "string",
},
- },
- url: "/orgs/:org",
- },
- getHook: {
- method: "GET",
- params: {
- hook_id: {
+ pull_number: {
required: true,
type: "integer",
},
- org: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/hooks/:hook_id",
+ url: "/repos/:owner/:repo/pulls/:pull_number",
},
- getMembership: {
+ getComment: {
method: "GET",
params: {
- org: {
+ comment_id: {
+ required: true,
+ type: "integer",
+ },
+ owner: {
required: true,
type: "string",
},
- username: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/memberships/:username",
+ url: "/repos/:owner/:repo/pulls/comments/:comment_id",
},
- getMembershipForAuthenticatedUser: {
+ getCommentsForReview: {
method: "GET",
params: {
- org: {
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
+ },
+ owner: {
required: true,
type: "string",
},
- },
- url: "/user/memberships/orgs/:org",
- },
- list: {
- method: "GET",
- params: {
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- since: {
+ pull_number: {
+ required: true,
type: "integer",
},
- },
- url: "/organizations",
- },
- listBlockedUsers: {
- method: "GET",
- params: {
- org: {
+ repo: {
required: true,
type: "string",
},
- },
- url: "/orgs/:org/blocks",
- },
- listForAuthenticatedUser: {
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
+ review_id: {
+ required: true,
type: "integer",
},
},
- url: "/user/orgs",
+ url:
+ "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments",
},
- listForUser: {
+ getReview: {
method: "GET",
params: {
- page: {
+ number: {
+ alias: "pull_number",
+ deprecated: true,
type: "integer",
},
- per_page: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ pull_number: {
+ required: true,
type: "integer",
},
- username: {
+ repo: {
required: true,
type: "string",
},
+ review_id: {
+ required: true,
+ type: "integer",
+ },
},
- url: "/users/:username/orgs",
+ url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id",
},
- listHooks: {
+ list: {
method: "GET",
params: {
- org: {
+ base: {
+ type: "string",
+ },
+ direction: {
+ enum: ["asc", "desc"],
+ type: "string",
+ },
+ head: {
+ type: "string",
+ },
+ owner: {
required: true,
type: "string",
},
@@ -17750,16 +11458,34 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
+ repo: {
+ required: true,
+ type: "string",
+ },
+ sort: {
+ enum: ["created", "updated", "popularity", "long-running"],
+ type: "string",
+ },
+ state: {
+ enum: ["open", "closed", "all"],
+ type: "string",
+ },
},
- url: "/orgs/:org/hooks",
+ url: "/repos/:owner/:repo/pulls",
},
- listInstallations: {
- headers: {
- accept: "application/vnd.github.machine-man-preview+json",
- },
+ listComments: {
method: "GET",
params: {
- org: {
+ direction: {
+ enum: ["asc", "desc"],
+ type: "string",
+ },
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
+ },
+ owner: {
required: true,
type: "string",
},
@@ -17769,37 +11495,32 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- },
- url: "/orgs/:org/installations",
- },
- listInvitationTeams: {
- method: "GET",
- params: {
- invitation_id: {
+ pull_number: {
required: true,
type: "integer",
},
- org: {
+ repo: {
required: true,
type: "string",
},
- page: {
- type: "integer",
+ since: {
+ type: "string",
},
- per_page: {
- type: "integer",
+ sort: {
+ enum: ["created", "updated"],
+ type: "string",
},
},
- url: "/orgs/:org/invitations/:invitation_id/teams",
+ url: "/repos/:owner/:repo/pulls/:pull_number/comments",
},
- listMembers: {
+ listCommentsForRepo: {
method: "GET",
params: {
- filter: {
- enum: ["2fa_disabled", "all"],
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
- org: {
+ owner: {
required: true,
type: "string",
},
@@ -17809,37 +11530,58 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- role: {
- enum: ["all", "admin", "member"],
+ repo: {
+ required: true,
+ type: "string",
+ },
+ since: {
+ type: "string",
+ },
+ sort: {
+ enum: ["created", "updated"],
type: "string",
},
},
- url: "/orgs/:org/members",
+ url: "/repos/:owner/:repo/pulls/comments",
},
- listMemberships: {
+ listCommits: {
method: "GET",
params: {
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
+ },
+ owner: {
+ required: true,
+ type: "string",
+ },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- state: {
- enum: ["active", "pending"],
+ pull_number: {
+ required: true,
+ type: "integer",
+ },
+ repo: {
+ required: true,
type: "string",
},
},
- url: "/user/memberships/orgs",
+ url: "/repos/:owner/:repo/pulls/:pull_number/commits",
},
- listOutsideCollaborators: {
+ listFiles: {
method: "GET",
params: {
- filter: {
- enum: ["2fa_disabled", "all"],
- type: "string",
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
},
- org: {
+ owner: {
required: true,
type: "string",
},
@@ -17849,13 +11591,26 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
+ pull_number: {
+ required: true,
+ type: "integer",
+ },
+ repo: {
+ required: true,
+ type: "string",
+ },
},
- url: "/orgs/:org/outside_collaborators",
+ url: "/repos/:owner/:repo/pulls/:pull_number/files",
},
- listPendingInvitations: {
+ listReviewRequests: {
method: "GET",
params: {
- org: {
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
+ },
+ owner: {
required: true,
type: "string",
},
@@ -17865,13 +11620,26 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
+ pull_number: {
+ required: true,
+ type: "integer",
+ },
+ repo: {
+ required: true,
+ type: "string",
+ },
},
- url: "/orgs/:org/invitations",
+ url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers",
},
- listPublicMembers: {
+ listReviews: {
method: "GET",
params: {
- org: {
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
+ },
+ owner: {
required: true,
type: "string",
},
@@ -17881,306 +11649,345 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- },
- url: "/orgs/:org/public_members",
- },
- pingHook: {
- method: "POST",
- params: {
- hook_id: {
+ pull_number: {
required: true,
type: "integer",
},
- org: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/hooks/:hook_id/pings",
+ url: "/repos/:owner/:repo/pulls/:pull_number/reviews",
},
- publicizeMembership: {
+ merge: {
method: "PUT",
params: {
- org: {
- required: true,
+ commit_message: {
type: "string",
},
- username: {
- required: true,
+ commit_title: {
type: "string",
},
- },
- url: "/orgs/:org/public_members/:username",
- },
- removeMember: {
- method: "DELETE",
- params: {
- org: {
- required: true,
+ merge_method: {
+ enum: ["merge", "squash", "rebase"],
type: "string",
},
- username: {
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
+ },
+ owner: {
required: true,
type: "string",
},
- },
- url: "/orgs/:org/members/:username",
- },
- removeMembership: {
- method: "DELETE",
- params: {
- org: {
+ pull_number: {
required: true,
- type: "string",
+ type: "integer",
},
- username: {
+ repo: {
required: true,
type: "string",
},
+ sha: {
+ type: "string",
+ },
},
- url: "/orgs/:org/memberships/:username",
+ url: "/repos/:owner/:repo/pulls/:pull_number/merge",
},
- removeOutsideCollaborator: {
- method: "DELETE",
+ submitReview: {
+ method: "POST",
params: {
- org: {
- required: true,
+ body: {
type: "string",
},
- username: {
+ event: {
+ enum: ["APPROVE", "REQUEST_CHANGES", "COMMENT"],
required: true,
type: "string",
},
- },
- url: "/orgs/:org/outside_collaborators/:username",
- },
- unblockUser: {
- method: "DELETE",
- params: {
- org: {
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
+ },
+ owner: {
required: true,
type: "string",
},
- username: {
+ pull_number: {
+ required: true,
+ type: "integer",
+ },
+ repo: {
required: true,
type: "string",
},
+ review_id: {
+ required: true,
+ type: "integer",
+ },
},
- url: "/orgs/:org/blocks/:username",
+ url:
+ "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events",
},
update: {
method: "PATCH",
params: {
- billing_email: {
- type: "string",
- },
- company: {
- type: "string",
- },
- default_repository_permission: {
- enum: ["read", "write", "admin", "none"],
- type: "string",
- },
- description: {
+ base: {
type: "string",
},
- email: {
+ body: {
type: "string",
},
- has_organization_projects: {
- type: "boolean",
- },
- has_repository_projects: {
+ maintainer_can_modify: {
type: "boolean",
},
- location: {
- type: "string",
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
},
- members_allowed_repository_creation_type: {
- enum: ["all", "private", "none"],
+ owner: {
+ required: true,
type: "string",
},
- members_can_create_internal_repositories: {
- type: "boolean",
- },
- members_can_create_private_repositories: {
- type: "boolean",
- },
- members_can_create_public_repositories: {
- type: "boolean",
+ pull_number: {
+ required: true,
+ type: "integer",
},
- members_can_create_repositories: {
- type: "boolean",
+ repo: {
+ required: true,
+ type: "string",
},
- name: {
+ state: {
+ enum: ["open", "closed"],
type: "string",
},
- org: {
- required: true,
+ title: {
type: "string",
},
},
- url: "/orgs/:org",
+ url: "/repos/:owner/:repo/pulls/:pull_number",
},
- updateHook: {
- method: "PATCH",
+ updateBranch: {
+ headers: {
+ accept: "application/vnd.github.lydian-preview+json",
+ },
+ method: "PUT",
params: {
- active: {
- type: "boolean",
- },
- config: {
- type: "object",
- },
- "config.content_type": {
- type: "string",
- },
- "config.insecure_ssl": {
- type: "string",
- },
- "config.secret": {
+ expected_head_sha: {
type: "string",
},
- "config.url": {
+ owner: {
required: true,
type: "string",
},
- events: {
- type: "string[]",
- },
- hook_id: {
+ pull_number: {
required: true,
type: "integer",
},
- org: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/hooks/:hook_id",
+ url: "/repos/:owner/:repo/pulls/:pull_number/update-branch",
},
- updateMembership: {
+ updateComment: {
method: "PATCH",
params: {
- org: {
+ body: {
required: true,
type: "string",
},
- state: {
- enum: ["active"],
+ comment_id: {
+ required: true,
+ type: "integer",
+ },
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
required: true,
type: "string",
},
},
- url: "/user/memberships/orgs/:org",
+ url: "/repos/:owner/:repo/pulls/comments/:comment_id",
},
- },
- projects: {
- addCollaborator: {
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
+ updateReview: {
method: "PUT",
params: {
- permission: {
- enum: ["read", "write", "admin"],
+ body: {
+ required: true,
type: "string",
},
- project_id: {
+ number: {
+ alias: "pull_number",
+ deprecated: true,
+ type: "integer",
+ },
+ owner: {
+ required: true,
+ type: "string",
+ },
+ pull_number: {
required: true,
type: "integer",
},
- username: {
+ repo: {
required: true,
type: "string",
},
+ review_id: {
+ required: true,
+ type: "integer",
+ },
},
- url: "/projects/:project_id/collaborators/:username",
+ url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id",
},
- createCard: {
+ },
+ rateLimit: {
+ get: {
+ method: "GET",
+ params: {},
+ url: "/rate_limit",
+ },
+ },
+ reactions: {
+ createForCommitComment: {
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
method: "POST",
params: {
- column_id: {
+ comment_id: {
required: true,
type: "integer",
},
- content_id: {
- type: "integer",
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
+ required: true,
+ type: "string",
},
- content_type: {
+ owner: {
+ required: true,
type: "string",
},
- note: {
+ repo: {
+ required: true,
type: "string",
},
},
- url: "/projects/columns/:column_id/cards",
+ url: "/repos/:owner/:repo/comments/:comment_id/reactions",
},
- createColumn: {
+ createForIssue: {
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
method: "POST",
params: {
- name: {
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
required: true,
type: "string",
},
- project_id: {
+ issue_number: {
required: true,
type: "integer",
},
- },
- url: "/projects/:project_id/columns",
- },
- createForAuthenticatedUser: {
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "POST",
- params: {
- body: {
+ number: {
+ alias: "issue_number",
+ deprecated: true,
+ type: "integer",
+ },
+ owner: {
+ required: true,
type: "string",
},
- name: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/user/projects",
+ url: "/repos/:owner/:repo/issues/:issue_number/reactions",
},
- createForOrg: {
+ createForIssueComment: {
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
method: "POST",
params: {
- body: {
+ comment_id: {
+ required: true,
+ type: "integer",
+ },
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
+ required: true,
type: "string",
},
- name: {
+ owner: {
required: true,
type: "string",
},
- org: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/projects",
+ url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions",
},
- createForRepo: {
+ createForPullRequestReviewComment: {
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
method: "POST",
params: {
- body: {
- type: "string",
+ comment_id: {
+ required: true,
+ type: "integer",
},
- name: {
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
required: true,
type: "string",
},
@@ -18193,158 +12000,263 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/projects",
+ url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions",
},
- delete: {
+ createForTeamDiscussion: {
+ deprecated:
+ "octokit.reactions.createForTeamDiscussion() has been renamed to octokit.reactions.createForTeamDiscussionLegacy() (2020-01-16)",
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
- method: "DELETE",
+ method: "POST",
params: {
- project_id: {
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
+ required: true,
+ type: "string",
+ },
+ discussion_number: {
required: true,
type: "integer",
},
- },
- url: "/projects/:project_id",
- },
- deleteCard: {
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "DELETE",
- params: {
- card_id: {
+ team_id: {
required: true,
type: "integer",
},
},
- url: "/projects/columns/cards/:card_id",
+ url: "/teams/:team_id/discussions/:discussion_number/reactions",
},
- deleteColumn: {
+ createForTeamDiscussionComment: {
+ deprecated:
+ "octokit.reactions.createForTeamDiscussionComment() has been renamed to octokit.reactions.createForTeamDiscussionCommentLegacy() (2020-01-16)",
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
- method: "DELETE",
+ method: "POST",
params: {
- column_id: {
+ comment_number: {
+ required: true,
+ type: "integer",
+ },
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
+ required: true,
+ type: "string",
+ },
+ discussion_number: {
+ required: true,
+ type: "integer",
+ },
+ team_id: {
required: true,
type: "integer",
},
},
- url: "/projects/columns/:column_id",
+ url:
+ "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions",
},
- get: {
+ createForTeamDiscussionCommentInOrg: {
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
- method: "GET",
+ method: "POST",
params: {
- project_id: {
+ comment_number: {
required: true,
type: "integer",
},
- },
- url: "/projects/:project_id",
- },
- getCard: {
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "GET",
- params: {
- card_id: {
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
+ required: true,
+ type: "string",
+ },
+ discussion_number: {
required: true,
type: "integer",
},
+ org: {
+ required: true,
+ type: "string",
+ },
+ team_slug: {
+ required: true,
+ type: "string",
+ },
},
- url: "/projects/columns/cards/:card_id",
+ url:
+ "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions",
},
- getColumn: {
+ createForTeamDiscussionCommentLegacy: {
+ deprecated:
+ "octokit.reactions.createForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy",
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
- method: "GET",
+ method: "POST",
params: {
- column_id: {
+ comment_number: {
+ required: true,
+ type: "integer",
+ },
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
+ required: true,
+ type: "string",
+ },
+ discussion_number: {
+ required: true,
+ type: "integer",
+ },
+ team_id: {
required: true,
type: "integer",
},
},
- url: "/projects/columns/:column_id",
+ url:
+ "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions",
},
- listCards: {
+ createForTeamDiscussionInOrg: {
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
- method: "GET",
+ method: "POST",
params: {
- archived_state: {
- enum: ["all", "archived", "not_archived"],
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
+ required: true,
type: "string",
},
- column_id: {
+ discussion_number: {
required: true,
type: "integer",
},
- page: {
- type: "integer",
+ org: {
+ required: true,
+ type: "string",
},
- per_page: {
- type: "integer",
+ team_slug: {
+ required: true,
+ type: "string",
},
},
- url: "/projects/columns/:column_id/cards",
+ url:
+ "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions",
},
- listCollaborators: {
+ createForTeamDiscussionLegacy: {
+ deprecated:
+ "octokit.reactions.createForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy",
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
- method: "GET",
+ method: "POST",
params: {
- affiliation: {
- enum: ["outside", "direct", "all"],
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
+ required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
+ discussion_number: {
+ required: true,
type: "integer",
},
- project_id: {
+ team_id: {
required: true,
type: "integer",
},
},
- url: "/projects/:project_id/collaborators",
+ url: "/teams/:team_id/discussions/:discussion_number/reactions",
},
- listColumns: {
+ delete: {
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
- method: "GET",
+ method: "DELETE",
params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- project_id: {
+ reaction_id: {
required: true,
type: "integer",
},
},
- url: "/projects/:project_id/columns",
+ url: "/reactions/:reaction_id",
},
- listForOrg: {
+ listForCommitComment: {
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
method: "GET",
params: {
- org: {
+ comment_id: {
+ required: true,
+ type: "integer",
+ },
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
+ type: "string",
+ },
+ owner: {
required: true,
type: "string",
},
@@ -18354,19 +12266,41 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- state: {
- enum: ["open", "closed", "all"],
+ repo: {
+ required: true,
type: "string",
},
},
- url: "/orgs/:org/projects",
+ url: "/repos/:owner/:repo/comments/:comment_id/reactions",
},
- listForRepo: {
+ listForIssue: {
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
method: "GET",
params: {
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
+ type: "string",
+ },
+ issue_number: {
+ required: true,
+ type: "integer",
+ },
+ number: {
+ alias: "issue_number",
+ deprecated: true,
+ type: "integer",
+ },
owner: {
required: true,
type: "string",
@@ -18381,375 +12315,402 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- state: {
- enum: ["open", "closed", "all"],
- type: "string",
- },
},
- url: "/repos/:owner/:repo/projects",
+ url: "/repos/:owner/:repo/issues/:issue_number/reactions",
},
- listForUser: {
+ listForIssueComment: {
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
method: "GET",
params: {
- page: {
- type: "integer",
- },
- per_page: {
+ comment_id: {
+ required: true,
type: "integer",
},
- state: {
- enum: ["open", "closed", "all"],
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
type: "string",
},
- username: {
+ owner: {
required: true,
type: "string",
},
- },
- url: "/users/:username/projects",
- },
- moveCard: {
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "POST",
- params: {
- card_id: {
- required: true,
+ page: {
type: "integer",
},
- column_id: {
+ per_page: {
type: "integer",
},
- position: {
+ repo: {
required: true,
type: "string",
- validation: "^(top|bottom|after:\\d+)$",
},
},
- url: "/projects/columns/cards/:card_id/moves",
+ url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions",
},
- moveColumn: {
+ listForPullRequestReviewComment: {
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
- method: "POST",
+ method: "GET",
params: {
- column_id: {
+ comment_id: {
required: true,
type: "integer",
},
- position: {
- required: true,
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
type: "string",
- validation: "^(first|last|after:\\d+)$",
},
- },
- url: "/projects/columns/:column_id/moves",
- },
- removeCollaborator: {
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "DELETE",
- params: {
- project_id: {
+ owner: {
required: true,
+ type: "string",
+ },
+ page: {
type: "integer",
},
- username: {
+ per_page: {
+ type: "integer",
+ },
+ repo: {
required: true,
type: "string",
},
},
- url: "/projects/:project_id/collaborators/:username",
+ url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions",
},
- reviewUserPermissionLevel: {
+ listForTeamDiscussion: {
+ deprecated:
+ "octokit.reactions.listForTeamDiscussion() has been renamed to octokit.reactions.listForTeamDiscussionLegacy() (2020-01-16)",
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
method: "GET",
params: {
- project_id: {
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
+ type: "string",
+ },
+ discussion_number: {
required: true,
type: "integer",
},
- username: {
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url: "/projects/:project_id/collaborators/:username/permission",
+ url: "/teams/:team_id/discussions/:discussion_number/reactions",
},
- update: {
+ listForTeamDiscussionComment: {
+ deprecated:
+ "octokit.reactions.listForTeamDiscussionComment() has been renamed to octokit.reactions.listForTeamDiscussionCommentLegacy() (2020-01-16)",
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
- method: "PATCH",
+ method: "GET",
params: {
- body: {
- type: "string",
+ comment_number: {
+ required: true,
+ type: "integer",
},
- name: {
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
type: "string",
},
- organization_permission: {
- type: "string",
+ discussion_number: {
+ required: true,
+ type: "integer",
},
- private: {
- type: "boolean",
+ page: {
+ type: "integer",
},
- project_id: {
- required: true,
+ per_page: {
type: "integer",
},
- state: {
- enum: ["open", "closed"],
- type: "string",
+ team_id: {
+ required: true,
+ type: "integer",
},
},
- url: "/projects/:project_id",
+ url:
+ "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions",
},
- updateCard: {
+ listForTeamDiscussionCommentInOrg: {
headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ accept: "application/vnd.github.squirrel-girl-preview+json",
},
- method: "PATCH",
+ method: "GET",
params: {
- archived: {
- type: "boolean",
- },
- card_id: {
+ comment_number: {
required: true,
type: "integer",
},
- note: {
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
type: "string",
},
- },
- url: "/projects/columns/cards/:card_id",
- },
- updateColumn: {
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "PATCH",
- params: {
- column_id: {
+ discussion_number: {
required: true,
type: "integer",
},
- name: {
+ org: {
+ required: true,
+ type: "string",
+ },
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ team_slug: {
required: true,
type: "string",
},
},
- url: "/projects/columns/:column_id",
+ url:
+ "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions",
},
- },
- pulls: {
- checkIfMerged: {
+ listForTeamDiscussionCommentLegacy: {
+ deprecated:
+ "octokit.reactions.listForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy",
+ headers: {
+ accept: "application/vnd.github.squirrel-girl-preview+json",
+ },
method: "GET",
params: {
- number: {
- alias: "pull_number",
- deprecated: true,
+ comment_number: {
+ required: true,
type: "integer",
},
- owner: {
- required: true,
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
type: "string",
},
- pull_number: {
+ discussion_number: {
required: true,
type: "integer",
},
- repo: {
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/pulls/:pull_number/merge",
+ url:
+ "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions",
},
- create: {
- method: "POST",
+ listForTeamDiscussionInOrg: {
+ headers: {
+ accept: "application/vnd.github.squirrel-girl-preview+json",
+ },
+ method: "GET",
params: {
- base: {
- required: true,
- type: "string",
- },
- body: {
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
type: "string",
},
- draft: {
- type: "boolean",
+ discussion_number: {
+ required: true,
+ type: "integer",
},
- head: {
+ org: {
required: true,
type: "string",
},
- maintainer_can_modify: {
- type: "boolean",
+ page: {
+ type: "integer",
},
- owner: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
- repo: {
- required: true,
- type: "string",
- },
- title: {
+ team_slug: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/pulls",
+ url:
+ "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions",
},
- createComment: {
- method: "POST",
+ listForTeamDiscussionLegacy: {
+ deprecated:
+ "octokit.reactions.listForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy",
+ headers: {
+ accept: "application/vnd.github.squirrel-girl-preview+json",
+ },
+ method: "GET",
params: {
- body: {
- required: true,
+ content: {
+ enum: [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes",
+ ],
type: "string",
},
- commit_id: {
+ discussion_number: {
required: true,
- type: "string",
- },
- in_reply_to: {
- deprecated: true,
- description:
- "The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.",
type: "integer",
},
- line: {
+ page: {
type: "integer",
},
- number: {
- alias: "pull_number",
- deprecated: true,
+ per_page: {
type: "integer",
},
- owner: {
- required: true,
- type: "string",
- },
- path: {
+ team_id: {
required: true,
- type: "string",
- },
- position: {
type: "integer",
},
- pull_number: {
+ },
+ url: "/teams/:team_id/discussions/:discussion_number/reactions",
+ },
+ },
+ repos: {
+ acceptInvitation: {
+ method: "PATCH",
+ params: {
+ invitation_id: {
required: true,
type: "integer",
},
- repo: {
+ },
+ url: "/user/repository_invitations/:invitation_id",
+ },
+ addCollaborator: {
+ method: "PUT",
+ params: {
+ owner: {
required: true,
type: "string",
},
- side: {
- enum: ["LEFT", "RIGHT"],
+ permission: {
+ enum: ["pull", "push", "admin"],
type: "string",
},
- start_line: {
- type: "integer",
+ repo: {
+ required: true,
+ type: "string",
},
- start_side: {
- enum: ["LEFT", "RIGHT", "side"],
+ username: {
+ required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/pulls/:pull_number/comments",
+ url: "/repos/:owner/:repo/collaborators/:username",
},
- createCommentReply: {
- deprecated:
- "octokit.pulls.createCommentReply() has been renamed to octokit.pulls.createComment() (2019-09-09)",
+ addDeployKey: {
method: "POST",
params: {
- body: {
- required: true,
- type: "string",
- },
- commit_id: {
+ key: {
required: true,
type: "string",
},
- in_reply_to: {
- deprecated: true,
- description:
- "The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.",
- type: "integer",
- },
- line: {
- type: "integer",
- },
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
},
- path: {
- required: true,
- type: "string",
- },
- position: {
- type: "integer",
- },
- pull_number: {
- required: true,
- type: "integer",
+ read_only: {
+ type: "boolean",
},
repo: {
required: true,
type: "string",
},
- side: {
- enum: ["LEFT", "RIGHT"],
- type: "string",
- },
- start_line: {
- type: "integer",
- },
- start_side: {
- enum: ["LEFT", "RIGHT", "side"],
+ title: {
type: "string",
},
},
- url: "/repos/:owner/:repo/pulls/:pull_number/comments",
+ url: "/repos/:owner/:repo/keys",
},
- createFromIssue: {
- deprecated:
- "octokit.pulls.createFromIssue() is deprecated, see https://developer.github.com/v3/pulls/#create-a-pull-request",
+ addProtectedBranchAdminEnforcement: {
method: "POST",
params: {
- base: {
- required: true,
- type: "string",
- },
- draft: {
- type: "boolean",
- },
- head: {
+ branch: {
required: true,
type: "string",
},
- issue: {
- required: true,
- type: "integer",
- },
- maintainer_can_modify: {
- type: "boolean",
- },
owner: {
required: true,
type: "string",
@@ -18759,119 +12720,67 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/pulls",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/enforce_admins",
},
- createReview: {
+ addProtectedBranchAppRestrictions: {
method: "POST",
params: {
- body: {
- type: "string",
- },
- comments: {
- type: "object[]",
- },
- "comments[].body": {
- required: true,
- type: "string",
- },
- "comments[].path": {
+ apps: {
+ mapTo: "data",
required: true,
- type: "string",
+ type: "string[]",
},
- "comments[].position": {
+ branch: {
required: true,
- type: "integer",
- },
- commit_id: {
- type: "string",
- },
- event: {
- enum: ["APPROVE", "REQUEST_CHANGES", "COMMENT"],
type: "string",
},
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
},
- pull_number: {
- required: true,
- type: "integer",
- },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/pulls/:pull_number/reviews",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps",
},
- createReviewCommentReply: {
+ addProtectedBranchRequiredSignatures: {
+ headers: {
+ accept: "application/vnd.github.zzzax-preview+json",
+ },
method: "POST",
params: {
- body: {
+ branch: {
required: true,
type: "string",
},
- comment_id: {
- required: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
},
- pull_number: {
- required: true,
- type: "integer",
- },
repo: {
required: true,
type: "string",
},
},
url:
- "/repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies",
+ "/repos/:owner/:repo/branches/:branch/protection/required_signatures",
},
- createReviewRequest: {
+ addProtectedBranchRequiredStatusChecksContexts: {
method: "POST",
params: {
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
- },
- owner: {
+ branch: {
required: true,
type: "string",
},
- pull_number: {
- required: true,
- type: "integer",
- },
- repo: {
+ contexts: {
+ mapTo: "data",
required: true,
- type: "string",
- },
- reviewers: {
- type: "string[]",
- },
- team_reviewers: {
type: "string[]",
},
- },
- url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers",
- },
- deleteComment: {
- method: "DELETE",
- params: {
- comment_id: {
- required: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
@@ -18881,125 +12790,102 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/pulls/comments/:comment_id",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts",
},
- deletePendingReview: {
- method: "DELETE",
+ addProtectedBranchTeamRestrictions: {
+ method: "POST",
params: {
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
- },
- owner: {
+ branch: {
required: true,
type: "string",
},
- pull_number: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
},
repo: {
required: true,
type: "string",
},
- review_id: {
+ teams: {
+ mapTo: "data",
required: true,
- type: "integer",
+ type: "string[]",
},
},
- url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams",
},
- deleteReviewRequest: {
- method: "DELETE",
+ addProtectedBranchUserRestrictions: {
+ method: "POST",
params: {
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
- },
- owner: {
+ branch: {
required: true,
type: "string",
},
- pull_number: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
},
repo: {
required: true,
type: "string",
},
- reviewers: {
- type: "string[]",
- },
- team_reviewers: {
+ users: {
+ mapTo: "data",
+ required: true,
type: "string[]",
},
},
- url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/users",
},
- dismissReview: {
- method: "PUT",
+ checkCollaborator: {
+ method: "GET",
params: {
- message: {
- required: true,
- type: "string",
- },
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
},
- pull_number: {
- required: true,
- type: "integer",
- },
repo: {
required: true,
type: "string",
},
- review_id: {
+ username: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url:
- "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals",
+ url: "/repos/:owner/:repo/collaborators/:username",
},
- get: {
+ checkVulnerabilityAlerts: {
+ headers: {
+ accept: "application/vnd.github.dorian-preview+json",
+ },
method: "GET",
params: {
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
},
- pull_number: {
- required: true,
- type: "integer",
- },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/pulls/:pull_number",
+ url: "/repos/:owner/:repo/vulnerability-alerts",
},
- getComment: {
+ compareCommits: {
method: "GET",
params: {
- comment_id: {
+ base: {
required: true,
- type: "integer",
+ type: "string",
+ },
+ head: {
+ required: true,
+ type: "string",
},
owner: {
required: true,
@@ -19010,513 +12896,485 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/pulls/comments/:comment_id",
+ url: "/repos/:owner/:repo/compare/:base...:head",
},
- getCommentsForReview: {
- method: "GET",
+ createCommitComment: {
+ method: "POST",
params: {
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
- },
- owner: {
+ body: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- pull_number: {
- required: true,
- type: "integer",
- },
- repo: {
+ commit_sha: {
required: true,
type: "string",
},
- review_id: {
- required: true,
- type: "integer",
- },
- },
- url:
- "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments",
- },
- getReview: {
- method: "GET",
- params: {
- number: {
- alias: "pull_number",
- deprecated: true,
+ line: {
type: "integer",
},
owner: {
required: true,
type: "string",
},
- pull_number: {
- required: true,
+ path: {
+ type: "string",
+ },
+ position: {
type: "integer",
},
repo: {
required: true,
type: "string",
},
- review_id: {
- required: true,
- type: "integer",
+ sha: {
+ alias: "commit_sha",
+ deprecated: true,
+ type: "string",
},
},
- url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id",
+ url: "/repos/:owner/:repo/commits/:commit_sha/comments",
},
- list: {
- method: "GET",
+ createDeployment: {
+ method: "POST",
params: {
- base: {
- type: "string",
+ auto_merge: {
+ type: "boolean",
},
- direction: {
- enum: ["asc", "desc"],
+ description: {
type: "string",
},
- head: {
+ environment: {
type: "string",
},
owner: {
required: true,
type: "string",
},
- page: {
- type: "integer",
+ payload: {
+ type: "string",
},
- per_page: {
- type: "integer",
+ production_environment: {
+ type: "boolean",
},
- repo: {
+ ref: {
required: true,
type: "string",
},
- sort: {
- enum: ["created", "updated", "popularity", "long-running"],
+ repo: {
+ required: true,
type: "string",
},
- state: {
- enum: ["open", "closed", "all"],
+ required_contexts: {
+ type: "string[]",
+ },
+ task: {
type: "string",
},
+ transient_environment: {
+ type: "boolean",
+ },
},
- url: "/repos/:owner/:repo/pulls",
+ url: "/repos/:owner/:repo/deployments",
},
- listComments: {
- method: "GET",
+ createDeploymentStatus: {
+ method: "POST",
params: {
- direction: {
- enum: ["asc", "desc"],
- type: "string",
+ auto_inactive: {
+ type: "boolean",
},
- number: {
- alias: "pull_number",
- deprecated: true,
+ deployment_id: {
+ required: true,
type: "integer",
},
- owner: {
- required: true,
+ description: {
type: "string",
},
- page: {
- type: "integer",
+ environment: {
+ enum: ["production", "staging", "qa"],
+ type: "string",
},
- per_page: {
- type: "integer",
+ environment_url: {
+ type: "string",
},
- pull_number: {
+ log_url: {
+ type: "string",
+ },
+ owner: {
required: true,
- type: "integer",
+ type: "string",
},
repo: {
required: true,
type: "string",
},
- since: {
+ state: {
+ enum: [
+ "error",
+ "failure",
+ "inactive",
+ "in_progress",
+ "queued",
+ "pending",
+ "success",
+ ],
+ required: true,
type: "string",
},
- sort: {
- enum: ["created", "updated"],
+ target_url: {
type: "string",
},
},
- url: "/repos/:owner/:repo/pulls/:pull_number/comments",
+ url: "/repos/:owner/:repo/deployments/:deployment_id/statuses",
},
- listCommentsForRepo: {
- method: "GET",
+ createDispatchEvent: {
+ method: "POST",
params: {
- direction: {
- enum: ["asc", "desc"],
+ client_payload: {
+ type: "object",
+ },
+ event_type: {
type: "string",
},
owner: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
repo: {
required: true,
type: "string",
},
- since: {
- type: "string",
- },
- sort: {
- enum: ["created", "updated"],
- type: "string",
- },
},
- url: "/repos/:owner/:repo/pulls/comments",
+ url: "/repos/:owner/:repo/dispatches",
},
- listCommits: {
- method: "GET",
- params: {
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
+ createFile: {
+ deprecated:
+ "octokit.repos.createFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",
+ method: "PUT",
+ params: {
+ author: {
+ type: "object",
},
- owner: {
+ "author.email": {
required: true,
type: "string",
},
- page: {
- type: "integer",
+ "author.name": {
+ required: true,
+ type: "string",
},
- per_page: {
- type: "integer",
+ branch: {
+ type: "string",
},
- pull_number: {
- required: true,
- type: "integer",
+ committer: {
+ type: "object",
},
- repo: {
+ "committer.email": {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/pulls/:pull_number/commits",
- },
- listFiles: {
- method: "GET",
- params: {
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
+ "committer.name": {
+ required: true,
+ type: "string",
},
- owner: {
+ content: {
required: true,
type: "string",
},
- page: {
- type: "integer",
+ message: {
+ required: true,
+ type: "string",
},
- per_page: {
- type: "integer",
+ owner: {
+ required: true,
+ type: "string",
},
- pull_number: {
+ path: {
required: true,
- type: "integer",
+ type: "string",
},
repo: {
required: true,
type: "string",
},
+ sha: {
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/pulls/:pull_number/files",
+ url: "/repos/:owner/:repo/contents/:path",
},
- listReviewRequests: {
- method: "GET",
+ createForAuthenticatedUser: {
+ method: "POST",
params: {
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
+ allow_merge_commit: {
+ type: "boolean",
},
- owner: {
- required: true,
- type: "string",
+ allow_rebase_merge: {
+ type: "boolean",
},
- page: {
- type: "integer",
+ allow_squash_merge: {
+ type: "boolean",
},
- per_page: {
- type: "integer",
+ auto_init: {
+ type: "boolean",
},
- pull_number: {
- required: true,
- type: "integer",
+ delete_branch_on_merge: {
+ type: "boolean",
},
- repo: {
- required: true,
+ description: {
type: "string",
},
- },
- url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers",
- },
- listReviews: {
- method: "GET",
- params: {
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
+ gitignore_template: {
+ type: "string",
},
- owner: {
- required: true,
+ has_issues: {
+ type: "boolean",
+ },
+ has_projects: {
+ type: "boolean",
+ },
+ has_wiki: {
+ type: "boolean",
+ },
+ homepage: {
type: "string",
},
- page: {
- type: "integer",
+ is_template: {
+ type: "boolean",
},
- per_page: {
- type: "integer",
+ license_template: {
+ type: "string",
},
- pull_number: {
+ name: {
required: true,
+ type: "string",
+ },
+ private: {
+ type: "boolean",
+ },
+ team_id: {
type: "integer",
},
- repo: {
- required: true,
+ visibility: {
+ enum: ["public", "private", "visibility", "internal"],
type: "string",
},
},
- url: "/repos/:owner/:repo/pulls/:pull_number/reviews",
+ url: "/user/repos",
},
- merge: {
- method: "PUT",
+ createFork: {
+ method: "POST",
params: {
- commit_message: {
- type: "string",
- },
- commit_title: {
- type: "string",
- },
- merge_method: {
- enum: ["merge", "squash", "rebase"],
+ organization: {
type: "string",
},
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
},
- pull_number: {
- required: true,
- type: "integer",
- },
repo: {
required: true,
type: "string",
},
- sha: {
- type: "string",
- },
},
- url: "/repos/:owner/:repo/pulls/:pull_number/merge",
+ url: "/repos/:owner/:repo/forks",
},
- submitReview: {
+ createHook: {
method: "POST",
params: {
- body: {
- type: "string",
+ active: {
+ type: "boolean",
},
- event: {
- enum: ["APPROVE", "REQUEST_CHANGES", "COMMENT"],
+ config: {
required: true,
+ type: "object",
+ },
+ "config.content_type": {
type: "string",
},
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
+ "config.insecure_ssl": {
+ type: "string",
},
- owner: {
- required: true,
+ "config.secret": {
type: "string",
},
- pull_number: {
+ "config.url": {
required: true,
- type: "integer",
+ type: "string",
},
- repo: {
+ events: {
+ type: "string[]",
+ },
+ name: {
+ type: "string",
+ },
+ owner: {
required: true,
type: "string",
},
- review_id: {
+ repo: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url:
- "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events",
+ url: "/repos/:owner/:repo/hooks",
},
- update: {
- method: "PATCH",
+ createInOrg: {
+ method: "POST",
params: {
- base: {
+ allow_merge_commit: {
+ type: "boolean",
+ },
+ allow_rebase_merge: {
+ type: "boolean",
+ },
+ allow_squash_merge: {
+ type: "boolean",
+ },
+ auto_init: {
+ type: "boolean",
+ },
+ delete_branch_on_merge: {
+ type: "boolean",
+ },
+ description: {
type: "string",
},
- body: {
+ gitignore_template: {
type: "string",
},
- maintainer_can_modify: {
+ has_issues: {
type: "boolean",
},
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
+ has_projects: {
+ type: "boolean",
},
- owner: {
- required: true,
+ has_wiki: {
+ type: "boolean",
+ },
+ homepage: {
type: "string",
},
- pull_number: {
- required: true,
- type: "integer",
+ is_template: {
+ type: "boolean",
},
- repo: {
+ license_template: {
+ type: "string",
+ },
+ name: {
required: true,
type: "string",
},
- state: {
- enum: ["open", "closed"],
+ org: {
+ required: true,
type: "string",
},
- title: {
+ private: {
+ type: "boolean",
+ },
+ team_id: {
+ type: "integer",
+ },
+ visibility: {
+ enum: ["public", "private", "visibility", "internal"],
type: "string",
},
},
- url: "/repos/:owner/:repo/pulls/:pull_number",
+ url: "/orgs/:org/repos",
},
- updateBranch: {
- headers: {
- accept: "application/vnd.github.lydian-preview+json",
- },
+ createOrUpdateFile: {
method: "PUT",
params: {
- expected_head_sha: {
+ author: {
+ type: "object",
+ },
+ "author.email": {
+ required: true,
type: "string",
},
- owner: {
+ "author.name": {
required: true,
type: "string",
},
- pull_number: {
+ branch: {
+ type: "string",
+ },
+ committer: {
+ type: "object",
+ },
+ "committer.email": {
required: true,
- type: "integer",
+ type: "string",
},
- repo: {
+ "committer.name": {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/pulls/:pull_number/update-branch",
- },
- updateComment: {
- method: "PATCH",
- params: {
- body: {
+ content: {
required: true,
type: "string",
},
- comment_id: {
+ message: {
required: true,
- type: "integer",
+ type: "string",
},
owner: {
required: true,
type: "string",
},
+ path: {
+ required: true,
+ type: "string",
+ },
repo: {
required: true,
type: "string",
},
+ sha: {
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/pulls/comments/:comment_id",
+ url: "/repos/:owner/:repo/contents/:path",
},
- updateReview: {
- method: "PUT",
+ createRelease: {
+ method: "POST",
params: {
body: {
- required: true,
type: "string",
},
- number: {
- alias: "pull_number",
- deprecated: true,
- type: "integer",
+ draft: {
+ type: "boolean",
+ },
+ name: {
+ type: "string",
},
owner: {
required: true,
type: "string",
},
- pull_number: {
- required: true,
- type: "integer",
+ prerelease: {
+ type: "boolean",
},
repo: {
required: true,
type: "string",
},
- review_id: {
+ tag_name: {
required: true,
- type: "integer",
+ type: "string",
+ },
+ target_commitish: {
+ type: "string",
},
},
- url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id",
- },
- },
- rateLimit: {
- get: {
- method: "GET",
- params: {},
- url: "/rate_limit",
+ url: "/repos/:owner/:repo/releases",
},
- },
- reactions: {
- createForCommitComment: {
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
+ createStatus: {
method: "POST",
params: {
- comment_id: {
- required: true,
- type: "integer",
+ context: {
+ type: "string",
},
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
- required: true,
+ description: {
type: "string",
},
owner: {
@@ -19527,73 +13385,64 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ sha: {
+ required: true,
+ type: "string",
+ },
+ state: {
+ enum: ["error", "failure", "pending", "success"],
+ required: true,
+ type: "string",
+ },
+ target_url: {
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/comments/:comment_id/reactions",
+ url: "/repos/:owner/:repo/statuses/:sha",
},
- createForIssue: {
+ createUsingTemplate: {
headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
+ accept: "application/vnd.github.baptiste-preview+json",
},
method: "POST",
params: {
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
- required: true,
+ description: {
type: "string",
},
- issue_number: {
+ name: {
required: true,
- type: "integer",
- },
- number: {
- alias: "issue_number",
- deprecated: true,
- type: "integer",
+ type: "string",
},
owner: {
+ type: "string",
+ },
+ private: {
+ type: "boolean",
+ },
+ template_owner: {
required: true,
type: "string",
},
- repo: {
+ template_repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number/reactions",
+ url: "/repos/:template_owner/:template_repo/generate",
},
- createForIssueComment: {
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
- method: "POST",
+ declineInvitation: {
+ method: "DELETE",
params: {
- comment_id: {
+ invitation_id: {
required: true,
type: "integer",
},
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
- required: true,
- type: "string",
- },
+ },
+ url: "/user/repository_invitations/:invitation_id",
+ },
+ delete: {
+ method: "DELETE",
+ params: {
owner: {
required: true,
type: "string",
@@ -19603,32 +13452,15 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions",
+ url: "/repos/:owner/:repo",
},
- createForPullRequestReviewComment: {
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
- method: "POST",
+ deleteCommitComment: {
+ method: "DELETE",
params: {
comment_id: {
required: true,
type: "integer",
},
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
- required: true,
- type: "string",
- },
owner: {
required: true,
type: "string",
@@ -19638,716 +13470,576 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions",
+ url: "/repos/:owner/:repo/comments/:comment_id",
},
- createForTeamDiscussion: {
- deprecated:
- "octokit.reactions.createForTeamDiscussion() has been renamed to octokit.reactions.createForTeamDiscussionLegacy() (2020-01-16)",
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
- method: "POST",
+ deleteDownload: {
+ method: "DELETE",
params: {
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
+ download_id: {
required: true,
- type: "string",
+ type: "integer",
},
- discussion_number: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
},
- team_id: {
+ repo: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/teams/:team_id/discussions/:discussion_number/reactions",
+ url: "/repos/:owner/:repo/downloads/:download_id",
},
- createForTeamDiscussionComment: {
- deprecated:
- "octokit.reactions.createForTeamDiscussionComment() has been renamed to octokit.reactions.createForTeamDiscussionCommentLegacy() (2020-01-16)",
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
- method: "POST",
+ deleteFile: {
+ method: "DELETE",
params: {
- comment_number: {
+ author: {
+ type: "object",
+ },
+ "author.email": {
+ type: "string",
+ },
+ "author.name": {
+ type: "string",
+ },
+ branch: {
+ type: "string",
+ },
+ committer: {
+ type: "object",
+ },
+ "committer.email": {
+ type: "string",
+ },
+ "committer.name": {
+ type: "string",
+ },
+ message: {
required: true,
- type: "integer",
+ type: "string",
},
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
+ owner: {
required: true,
type: "string",
},
- discussion_number: {
+ path: {
required: true,
- type: "integer",
+ type: "string",
},
- team_id: {
+ repo: {
required: true,
- type: "integer",
+ type: "string",
+ },
+ sha: {
+ required: true,
+ type: "string",
},
},
- url:
- "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions",
+ url: "/repos/:owner/:repo/contents/:path",
},
- createForTeamDiscussionCommentInOrg: {
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
- method: "POST",
+ deleteHook: {
+ method: "DELETE",
params: {
- comment_number: {
+ hook_id: {
required: true,
type: "integer",
},
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
+ owner: {
required: true,
type: "string",
},
- discussion_number: {
+ repo: {
+ required: true,
+ type: "string",
+ },
+ },
+ url: "/repos/:owner/:repo/hooks/:hook_id",
+ },
+ deleteInvitation: {
+ method: "DELETE",
+ params: {
+ invitation_id: {
required: true,
type: "integer",
},
- org: {
+ owner: {
required: true,
type: "string",
},
- team_slug: {
+ repo: {
required: true,
type: "string",
},
},
- url:
- "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions",
+ url: "/repos/:owner/:repo/invitations/:invitation_id",
},
- createForTeamDiscussionCommentLegacy: {
- deprecated:
- "octokit.reactions.createForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy",
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
- method: "POST",
+ deleteRelease: {
+ method: "DELETE",
params: {
- comment_number: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ release_id: {
required: true,
type: "integer",
},
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
+ repo: {
required: true,
type: "string",
},
- discussion_number: {
+ },
+ url: "/repos/:owner/:repo/releases/:release_id",
+ },
+ deleteReleaseAsset: {
+ method: "DELETE",
+ params: {
+ asset_id: {
required: true,
type: "integer",
},
- team_id: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
- url:
- "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions",
+ url: "/repos/:owner/:repo/releases/assets/:asset_id",
},
- createForTeamDiscussionInOrg: {
+ disableAutomatedSecurityFixes: {
headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
+ accept: "application/vnd.github.london-preview+json",
},
- method: "POST",
+ method: "DELETE",
params: {
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
+ owner: {
required: true,
type: "string",
},
- discussion_number: {
+ repo: {
required: true,
- type: "integer",
+ type: "string",
},
- org: {
+ },
+ url: "/repos/:owner/:repo/automated-security-fixes",
+ },
+ disablePagesSite: {
+ headers: {
+ accept: "application/vnd.github.switcheroo-preview+json",
+ },
+ method: "DELETE",
+ params: {
+ owner: {
required: true,
type: "string",
},
- team_slug: {
+ repo: {
required: true,
type: "string",
},
},
- url:
- "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions",
+ url: "/repos/:owner/:repo/pages",
},
- createForTeamDiscussionLegacy: {
- deprecated:
- "octokit.reactions.createForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy",
+ disableVulnerabilityAlerts: {
headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
+ accept: "application/vnd.github.dorian-preview+json",
},
- method: "POST",
+ method: "DELETE",
params: {
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
+ owner: {
required: true,
type: "string",
},
- discussion_number: {
- required: true,
- type: "integer",
- },
- team_id: {
+ repo: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/teams/:team_id/discussions/:discussion_number/reactions",
+ url: "/repos/:owner/:repo/vulnerability-alerts",
},
- delete: {
+ enableAutomatedSecurityFixes: {
headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
+ accept: "application/vnd.github.london-preview+json",
},
- method: "DELETE",
+ method: "PUT",
params: {
- reaction_id: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
- url: "/reactions/:reaction_id",
+ url: "/repos/:owner/:repo/automated-security-fixes",
},
- listForCommitComment: {
+ enablePagesSite: {
headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
+ accept: "application/vnd.github.switcheroo-preview+json",
},
- method: "GET",
+ method: "POST",
params: {
- comment_id: {
+ owner: {
required: true,
- type: "integer",
- },
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
type: "string",
},
- owner: {
+ repo: {
required: true,
type: "string",
},
- page: {
- type: "integer",
+ source: {
+ type: "object",
},
- per_page: {
- type: "integer",
+ "source.branch": {
+ enum: ["master", "gh-pages"],
+ type: "string",
},
- repo: {
- required: true,
+ "source.path": {
type: "string",
},
},
- url: "/repos/:owner/:repo/comments/:comment_id/reactions",
+ url: "/repos/:owner/:repo/pages",
},
- listForIssue: {
+ enableVulnerabilityAlerts: {
headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
+ accept: "application/vnd.github.dorian-preview+json",
},
- method: "GET",
+ method: "PUT",
params: {
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
+ owner: {
+ required: true,
type: "string",
},
- issue_number: {
+ repo: {
required: true,
- type: "integer",
- },
- number: {
- alias: "issue_number",
- deprecated: true,
- type: "integer",
+ type: "string",
},
+ },
+ url: "/repos/:owner/:repo/vulnerability-alerts",
+ },
+ get: {
+ method: "GET",
+ params: {
owner: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/:issue_number/reactions",
+ url: "/repos/:owner/:repo",
},
- listForIssueComment: {
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
+ getAppsWithAccessToProtectedBranch: {
method: "GET",
params: {
- comment_id: {
+ branch: {
required: true,
- type: "integer",
- },
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
type: "string",
},
owner: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps",
},
- listForPullRequestReviewComment: {
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
+ getArchiveLink: {
method: "GET",
params: {
- comment_id: {
+ archive_format: {
required: true,
- type: "integer",
- },
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
type: "string",
},
owner: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
+ ref: {
+ required: true,
+ type: "string",
},
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions",
+ url: "/repos/:owner/:repo/:archive_format/:ref",
},
- listForTeamDiscussion: {
- deprecated:
- "octokit.reactions.listForTeamDiscussion() has been renamed to octokit.reactions.listForTeamDiscussionLegacy() (2020-01-16)",
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
+ getBranch: {
method: "GET",
params: {
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
+ branch: {
+ required: true,
type: "string",
},
- discussion_number: {
+ owner: {
required: true,
- type: "integer",
- },
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
+ type: "string",
},
- team_id: {
+ repo: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/teams/:team_id/discussions/:discussion_number/reactions",
+ url: "/repos/:owner/:repo/branches/:branch",
},
- listForTeamDiscussionComment: {
- deprecated:
- "octokit.reactions.listForTeamDiscussionComment() has been renamed to octokit.reactions.listForTeamDiscussionCommentLegacy() (2020-01-16)",
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
+ getBranchProtection: {
method: "GET",
params: {
- comment_number: {
+ branch: {
required: true,
- type: "integer",
+ type: "string",
},
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
+ owner: {
+ required: true,
type: "string",
},
- discussion_number: {
+ repo: {
required: true,
- type: "integer",
+ type: "string",
},
- page: {
- type: "integer",
+ },
+ url: "/repos/:owner/:repo/branches/:branch/protection",
+ },
+ getClones: {
+ method: "GET",
+ params: {
+ owner: {
+ required: true,
+ type: "string",
},
- per_page: {
- type: "integer",
+ per: {
+ enum: ["day", "week"],
+ type: "string",
},
- team_id: {
+ repo: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url:
- "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions",
+ url: "/repos/:owner/:repo/traffic/clones",
},
- listForTeamDiscussionCommentInOrg: {
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
+ getCodeFrequencyStats: {
method: "GET",
params: {
- comment_number: {
+ owner: {
required: true,
- type: "integer",
- },
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
type: "string",
},
- discussion_number: {
+ repo: {
required: true,
- type: "integer",
+ type: "string",
},
- org: {
+ },
+ url: "/repos/:owner/:repo/stats/code_frequency",
+ },
+ getCollaboratorPermissionLevel: {
+ method: "GET",
+ params: {
+ owner: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
+ repo: {
+ required: true,
+ type: "string",
},
- team_slug: {
+ username: {
required: true,
type: "string",
},
},
- url:
- "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions",
+ url: "/repos/:owner/:repo/collaborators/:username/permission",
},
- listForTeamDiscussionCommentLegacy: {
- deprecated:
- "octokit.reactions.listForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy",
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
+ getCombinedStatusForRef: {
method: "GET",
params: {
- comment_number: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
},
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
+ ref: {
+ required: true,
type: "string",
},
- discussion_number: {
+ repo: {
required: true,
- type: "integer",
+ type: "string",
},
- page: {
- type: "integer",
+ },
+ url: "/repos/:owner/:repo/commits/:ref/status",
+ },
+ getCommit: {
+ method: "GET",
+ params: {
+ commit_sha: {
+ alias: "ref",
+ deprecated: true,
+ type: "string",
},
- per_page: {
- type: "integer",
+ owner: {
+ required: true,
+ type: "string",
},
- team_id: {
+ ref: {
required: true,
- type: "integer",
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
+ },
+ sha: {
+ alias: "ref",
+ deprecated: true,
+ type: "string",
},
},
- url:
- "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions",
+ url: "/repos/:owner/:repo/commits/:ref",
},
- listForTeamDiscussionInOrg: {
- headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
- },
+ getCommitActivityStats: {
method: "GET",
params: {
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
- type: "string",
- },
- discussion_number: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
},
- org: {
+ repo: {
required: true,
type: "string",
},
- page: {
+ },
+ url: "/repos/:owner/:repo/stats/commit_activity",
+ },
+ getCommitComment: {
+ method: "GET",
+ params: {
+ comment_id: {
+ required: true,
type: "integer",
},
- per_page: {
- type: "integer",
+ owner: {
+ required: true,
+ type: "string",
},
- team_slug: {
+ repo: {
required: true,
type: "string",
},
},
- url:
- "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions",
+ url: "/repos/:owner/:repo/comments/:comment_id",
},
- listForTeamDiscussionLegacy: {
+ getCommitRefSha: {
deprecated:
- "octokit.reactions.listForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy",
+ "octokit.repos.getCommitRefSha() is deprecated, see https://developer.github.com/v3/repos/commits/#get-a-single-commit",
headers: {
- accept: "application/vnd.github.squirrel-girl-preview+json",
+ accept: "application/vnd.github.v3.sha",
},
method: "GET",
params: {
- content: {
- enum: [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes",
- ],
+ owner: {
+ required: true,
type: "string",
},
- discussion_number: {
+ ref: {
required: true,
- type: "integer",
- },
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
+ type: "string",
},
- team_id: {
+ repo: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/teams/:team_id/discussions/:discussion_number/reactions",
+ url: "/repos/:owner/:repo/commits/:ref",
},
- },
- repos: {
- acceptInvitation: {
- method: "PATCH",
+ getContents: {
+ method: "GET",
params: {
- invitation_id: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
+ },
+ path: {
+ required: true,
+ type: "string",
+ },
+ ref: {
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
- url: "/user/repository_invitations/:invitation_id",
+ url: "/repos/:owner/:repo/contents/:path",
},
- addCollaborator: {
- method: "PUT",
+ getContributorsStats: {
+ method: "GET",
params: {
owner: {
required: true,
type: "string",
},
- permission: {
- enum: ["pull", "push", "admin"],
+ repo: {
+ required: true,
type: "string",
},
- repo: {
+ },
+ url: "/repos/:owner/:repo/stats/contributors",
+ },
+ getDeployKey: {
+ method: "GET",
+ params: {
+ key_id: {
+ required: true,
+ type: "integer",
+ },
+ owner: {
required: true,
type: "string",
},
- username: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/collaborators/:username",
+ url: "/repos/:owner/:repo/keys/:key_id",
},
- addDeployKey: {
- method: "POST",
+ getDeployment: {
+ method: "GET",
params: {
- key: {
+ deployment_id: {
required: true,
- type: "string",
+ type: "integer",
},
owner: {
required: true,
type: "string",
},
- read_only: {
- type: "boolean",
- },
repo: {
required: true,
type: "string",
},
- title: {
- type: "string",
- },
},
- url: "/repos/:owner/:repo/keys",
+ url: "/repos/:owner/:repo/deployments/:deployment_id",
},
- addProtectedBranchAdminEnforcement: {
- method: "POST",
+ getDeploymentStatus: {
+ method: "GET",
params: {
- branch: {
+ deployment_id: {
required: true,
- type: "string",
+ type: "integer",
},
owner: {
required: true,
@@ -20357,21 +14049,20 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ status_id: {
+ required: true,
+ type: "integer",
+ },
},
url:
- "/repos/:owner/:repo/branches/:branch/protection/enforce_admins",
+ "/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id",
},
- addProtectedBranchAppRestrictions: {
- method: "POST",
+ getDownload: {
+ method: "GET",
params: {
- apps: {
- mapTo: "data",
- required: true,
- type: "string[]",
- },
- branch: {
+ download_id: {
required: true,
- type: "string",
+ type: "integer",
},
owner: {
required: true,
@@ -20382,18 +14073,14 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps",
+ url: "/repos/:owner/:repo/downloads/:download_id",
},
- addProtectedBranchRequiredSignatures: {
- headers: {
- accept: "application/vnd.github.zzzax-preview+json",
- },
- method: "POST",
+ getHook: {
+ method: "GET",
params: {
- branch: {
+ hook_id: {
required: true,
- type: "string",
+ type: "integer",
},
owner: {
required: true,
@@ -20404,21 +14091,25 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/required_signatures",
+ url: "/repos/:owner/:repo/hooks/:hook_id",
},
- addProtectedBranchRequiredStatusChecksContexts: {
- method: "POST",
+ getLatestPagesBuild: {
+ method: "GET",
params: {
- branch: {
+ owner: {
required: true,
type: "string",
},
- contexts: {
- mapTo: "data",
+ repo: {
required: true,
- type: "string[]",
+ type: "string",
},
+ },
+ url: "/repos/:owner/:repo/pages/builds/latest",
+ },
+ getLatestRelease: {
+ method: "GET",
+ params: {
owner: {
required: true,
type: "string",
@@ -20428,16 +14119,29 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts",
+ url: "/repos/:owner/:repo/releases/latest",
},
- addProtectedBranchTeamRestrictions: {
- method: "POST",
+ getPages: {
+ method: "GET",
params: {
- branch: {
+ owner: {
+ required: true,
+ type: "string",
+ },
+ repo: {
required: true,
type: "string",
},
+ },
+ url: "/repos/:owner/:repo/pages",
+ },
+ getPagesBuild: {
+ method: "GET",
+ params: {
+ build_id: {
+ required: true,
+ type: "integer",
+ },
owner: {
required: true,
type: "string",
@@ -20446,17 +14150,25 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- teams: {
- mapTo: "data",
+ },
+ url: "/repos/:owner/:repo/pages/builds/:build_id",
+ },
+ getParticipationStats: {
+ method: "GET",
+ params: {
+ owner: {
required: true,
- type: "string[]",
+ type: "string",
+ },
+ repo: {
+ required: true,
+ type: "string",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams",
+ url: "/repos/:owner/:repo/stats/participation",
},
- addProtectedBranchUserRestrictions: {
- method: "POST",
+ getProtectedBranchAdminEnforcement: {
+ method: "GET",
params: {
branch: {
required: true,
@@ -20470,39 +14182,39 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- users: {
- mapTo: "data",
- required: true,
- type: "string[]",
- },
},
url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/users",
+ "/repos/:owner/:repo/branches/:branch/protection/enforce_admins",
},
- checkCollaborator: {
+ getProtectedBranchPullRequestReviewEnforcement: {
method: "GET",
params: {
- owner: {
+ branch: {
required: true,
type: "string",
},
- repo: {
+ owner: {
required: true,
type: "string",
},
- username: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/collaborators/:username",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews",
},
- checkVulnerabilityAlerts: {
+ getProtectedBranchRequiredSignatures: {
headers: {
- accept: "application/vnd.github.dorian-preview+json",
+ accept: "application/vnd.github.zzzax-preview+json",
},
method: "GET",
params: {
+ branch: {
+ required: true,
+ type: "string",
+ },
owner: {
required: true,
type: "string",
@@ -20512,16 +14224,13 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/vulnerability-alerts",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/required_signatures",
},
- compareCommits: {
+ getProtectedBranchRequiredStatusChecks: {
method: "GET",
params: {
- base: {
- required: true,
- type: "string",
- },
- head: {
+ branch: {
required: true,
type: "string",
},
@@ -20534,109 +14243,97 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/compare/:base...:head",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/required_status_checks",
},
- createCommitComment: {
- method: "POST",
+ getProtectedBranchRestrictions: {
+ method: "GET",
params: {
- body: {
- required: true,
- type: "string",
- },
- commit_sha: {
+ branch: {
required: true,
type: "string",
},
- line: {
- type: "integer",
- },
owner: {
required: true,
type: "string",
},
- path: {
- type: "string",
- },
- position: {
- type: "integer",
- },
repo: {
required: true,
type: "string",
},
- sha: {
- alias: "commit_sha",
- deprecated: true,
- type: "string",
- },
},
- url: "/repos/:owner/:repo/commits/:commit_sha/comments",
+ url: "/repos/:owner/:repo/branches/:branch/protection/restrictions",
},
- createDeployment: {
- method: "POST",
+ getPunchCardStats: {
+ method: "GET",
params: {
- auto_merge: {
- type: "boolean",
- },
- description: {
+ owner: {
+ required: true,
type: "string",
},
- environment: {
+ repo: {
+ required: true,
type: "string",
},
+ },
+ url: "/repos/:owner/:repo/stats/punch_card",
+ },
+ getReadme: {
+ method: "GET",
+ params: {
owner: {
required: true,
type: "string",
},
- payload: {
- type: "string",
- },
- production_environment: {
- type: "boolean",
- },
ref: {
- required: true,
type: "string",
},
repo: {
required: true,
type: "string",
},
- required_contexts: {
- type: "string[]",
- },
- task: {
- type: "string",
- },
- transient_environment: {
- type: "boolean",
- },
},
- url: "/repos/:owner/:repo/deployments",
+ url: "/repos/:owner/:repo/readme",
},
- createDeploymentStatus: {
- method: "POST",
+ getRelease: {
+ method: "GET",
params: {
- auto_inactive: {
- type: "boolean",
+ owner: {
+ required: true,
+ type: "string",
},
- deployment_id: {
+ release_id: {
required: true,
type: "integer",
},
- description: {
+ repo: {
+ required: true,
type: "string",
},
- environment: {
- enum: ["production", "staging", "qa"],
- type: "string",
+ },
+ url: "/repos/:owner/:repo/releases/:release_id",
+ },
+ getReleaseAsset: {
+ method: "GET",
+ params: {
+ asset_id: {
+ required: true,
+ type: "integer",
},
- environment_url: {
+ owner: {
+ required: true,
type: "string",
},
- log_url: {
+ repo: {
+ required: true,
type: "string",
},
+ },
+ url: "/repos/:owner/:repo/releases/assets/:asset_id",
+ },
+ getReleaseByTag: {
+ method: "GET",
+ params: {
owner: {
required: true,
type: "string",
@@ -20645,32 +14342,18 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- state: {
- enum: [
- "error",
- "failure",
- "inactive",
- "in_progress",
- "queued",
- "pending",
- "success",
- ],
+ tag: {
required: true,
type: "string",
},
- target_url: {
- type: "string",
- },
},
- url: "/repos/:owner/:repo/deployments/:deployment_id/statuses",
+ url: "/repos/:owner/:repo/releases/tags/:tag",
},
- createDispatchEvent: {
- method: "POST",
+ getTeamsWithAccessToProtectedBranch: {
+ method: "GET",
params: {
- client_payload: {
- type: "object",
- },
- event_type: {
+ branch: {
+ required: true,
type: "string",
},
owner: {
@@ -20682,43 +14365,41 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/dispatches",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams",
},
- createFile: {
- deprecated:
- "octokit.repos.createFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",
- method: "PUT",
+ getTopPaths: {
+ method: "GET",
params: {
- author: {
- type: "object",
- },
- "author.email": {
- required: true,
- type: "string",
- },
- "author.name": {
+ owner: {
required: true,
type: "string",
},
- branch: {
- type: "string",
- },
- committer: {
- type: "object",
- },
- "committer.email": {
+ repo: {
required: true,
type: "string",
},
- "committer.name": {
+ },
+ url: "/repos/:owner/:repo/traffic/popular/paths",
+ },
+ getTopReferrers: {
+ method: "GET",
+ params: {
+ owner: {
required: true,
type: "string",
},
- content: {
+ repo: {
required: true,
type: "string",
},
- message: {
+ },
+ url: "/repos/:owner/:repo/traffic/popular/referrers",
+ },
+ getUsersWithAccessToProtectedBranch: {
+ method: "GET",
+ params: {
+ branch: {
required: true,
type: "string",
},
@@ -20726,83 +14407,70 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- path: {
- required: true,
- type: "string",
- },
repo: {
required: true,
type: "string",
},
- sha: {
- type: "string",
- },
},
- url: "/repos/:owner/:repo/contents/:path",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/users",
},
- createForAuthenticatedUser: {
- method: "POST",
+ getViews: {
+ method: "GET",
params: {
- allow_merge_commit: {
- type: "boolean",
- },
- allow_rebase_merge: {
- type: "boolean",
- },
- allow_squash_merge: {
- type: "boolean",
- },
- auto_init: {
- type: "boolean",
- },
- delete_branch_on_merge: {
- type: "boolean",
- },
- description: {
+ owner: {
+ required: true,
type: "string",
},
- gitignore_template: {
+ per: {
+ enum: ["day", "week"],
type: "string",
},
- has_issues: {
- type: "boolean",
- },
- has_projects: {
- type: "boolean",
- },
- has_wiki: {
- type: "boolean",
- },
- homepage: {
+ repo: {
+ required: true,
type: "string",
},
- is_template: {
- type: "boolean",
- },
- license_template: {
+ },
+ url: "/repos/:owner/:repo/traffic/views",
+ },
+ list: {
+ method: "GET",
+ params: {
+ affiliation: {
type: "string",
},
- name: {
- required: true,
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
- private: {
- type: "boolean",
+ page: {
+ type: "integer",
},
- team_id: {
+ per_page: {
type: "integer",
},
+ sort: {
+ enum: ["created", "updated", "pushed", "full_name"],
+ type: "string",
+ },
+ type: {
+ enum: ["all", "owner", "public", "private", "member"],
+ type: "string",
+ },
visibility: {
- enum: ["public", "private", "visibility", "internal"],
+ enum: ["all", "public", "private"],
type: "string",
},
},
url: "/user/repos",
},
- createFork: {
- method: "POST",
+ listAppsWithAccessToProtectedBranch: {
+ deprecated:
+ "octokit.repos.listAppsWithAccessToProtectedBranch() has been renamed to octokit.repos.getAppsWithAccessToProtectedBranch() (2019-09-13)",
+ method: "GET",
params: {
- organization: {
+ branch: {
+ required: true,
type: "string",
},
owner: {
@@ -20814,444 +14482,446 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/forks",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps",
},
- createHook: {
- method: "POST",
+ listAssetsForRelease: {
+ method: "GET",
params: {
- active: {
- type: "boolean",
- },
- config: {
- required: true,
- type: "object",
- },
- "config.content_type": {
- type: "string",
- },
- "config.insecure_ssl": {
- type: "string",
- },
- "config.secret": {
- type: "string",
- },
- "config.url": {
+ owner: {
required: true,
type: "string",
},
- events: {
- type: "string[]",
+ page: {
+ type: "integer",
},
- name: {
- type: "string",
+ per_page: {
+ type: "integer",
},
- owner: {
+ release_id: {
required: true,
- type: "string",
+ type: "integer",
},
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/hooks",
+ url: "/repos/:owner/:repo/releases/:release_id/assets",
},
- createInOrg: {
- method: "POST",
+ listBranches: {
+ method: "GET",
params: {
- allow_merge_commit: {
- type: "boolean",
- },
- allow_rebase_merge: {
- type: "boolean",
- },
- allow_squash_merge: {
- type: "boolean",
- },
- auto_init: {
- type: "boolean",
- },
- delete_branch_on_merge: {
- type: "boolean",
- },
- description: {
- type: "string",
- },
- gitignore_template: {
+ owner: {
+ required: true,
type: "string",
},
- has_issues: {
- type: "boolean",
- },
- has_projects: {
- type: "boolean",
- },
- has_wiki: {
- type: "boolean",
+ page: {
+ type: "integer",
},
- homepage: {
- type: "string",
+ per_page: {
+ type: "integer",
},
- is_template: {
+ protected: {
type: "boolean",
},
- license_template: {
+ repo: {
+ required: true,
type: "string",
},
- name: {
+ },
+ url: "/repos/:owner/:repo/branches",
+ },
+ listBranchesForHeadCommit: {
+ headers: {
+ accept: "application/vnd.github.groot-preview+json",
+ },
+ method: "GET",
+ params: {
+ commit_sha: {
required: true,
type: "string",
},
- org: {
+ owner: {
required: true,
type: "string",
},
- private: {
- type: "boolean",
- },
- team_id: {
- type: "integer",
- },
- visibility: {
- enum: ["public", "private", "visibility", "internal"],
+ repo: {
+ required: true,
type: "string",
},
},
- url: "/orgs/:org/repos",
+ url: "/repos/:owner/:repo/commits/:commit_sha/branches-where-head",
},
- createOrUpdateFile: {
- method: "PUT",
+ listCollaborators: {
+ method: "GET",
params: {
- author: {
- type: "object",
- },
- "author.email": {
- required: true,
+ affiliation: {
+ enum: ["outside", "direct", "all"],
type: "string",
},
- "author.name": {
+ owner: {
required: true,
type: "string",
},
- branch: {
- type: "string",
+ page: {
+ type: "integer",
},
- committer: {
- type: "object",
+ per_page: {
+ type: "integer",
},
- "committer.email": {
+ repo: {
required: true,
type: "string",
},
- "committer.name": {
+ },
+ url: "/repos/:owner/:repo/collaborators",
+ },
+ listCommentsForCommit: {
+ method: "GET",
+ params: {
+ commit_sha: {
required: true,
type: "string",
},
- content: {
+ owner: {
required: true,
type: "string",
},
- message: {
- required: true,
- type: "string",
+ page: {
+ type: "integer",
},
- owner: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
- path: {
- required: true,
+ ref: {
+ alias: "commit_sha",
+ deprecated: true,
type: "string",
},
repo: {
required: true,
type: "string",
},
- sha: {
- type: "string",
- },
},
- url: "/repos/:owner/:repo/contents/:path",
+ url: "/repos/:owner/:repo/commits/:commit_sha/comments",
},
- createRelease: {
- method: "POST",
+ listCommitComments: {
+ method: "GET",
params: {
- body: {
- type: "string",
- },
- draft: {
- type: "boolean",
- },
- name: {
- type: "string",
- },
owner: {
required: true,
type: "string",
},
- prerelease: {
- type: "boolean",
+ page: {
+ type: "integer",
},
- repo: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
- tag_name: {
+ repo: {
required: true,
type: "string",
},
- target_commitish: {
- type: "string",
- },
},
- url: "/repos/:owner/:repo/releases",
+ url: "/repos/:owner/:repo/comments",
},
- createStatus: {
- method: "POST",
+ listCommits: {
+ method: "GET",
params: {
- context: {
- type: "string",
- },
- description: {
+ author: {
type: "string",
},
owner: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ path: {
+ type: "string",
+ },
+ per_page: {
+ type: "integer",
+ },
repo: {
required: true,
type: "string",
},
sha: {
- required: true,
type: "string",
},
- state: {
- enum: ["error", "failure", "pending", "success"],
- required: true,
+ since: {
type: "string",
},
- target_url: {
+ until: {
type: "string",
},
},
- url: "/repos/:owner/:repo/statuses/:sha",
+ url: "/repos/:owner/:repo/commits",
},
- createUsingTemplate: {
- headers: {
- accept: "application/vnd.github.baptiste-preview+json",
- },
- method: "POST",
+ listContributors: {
+ method: "GET",
params: {
- description: {
- type: "string",
- },
- name: {
- required: true,
+ anon: {
type: "string",
},
owner: {
+ required: true,
type: "string",
},
- private: {
- type: "boolean",
+ page: {
+ type: "integer",
},
- template_owner: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
- template_repo: {
+ repo: {
required: true,
type: "string",
},
},
- url: "/repos/:template_owner/:template_repo/generate",
+ url: "/repos/:owner/:repo/contributors",
},
- declineInvitation: {
- method: "DELETE",
+ listDeployKeys: {
+ method: "GET",
params: {
- invitation_id: {
+ owner: {
required: true,
+ type: "string",
+ },
+ page: {
type: "integer",
},
+ per_page: {
+ type: "integer",
+ },
+ repo: {
+ required: true,
+ type: "string",
+ },
},
- url: "/user/repository_invitations/:invitation_id",
+ url: "/repos/:owner/:repo/keys",
},
- delete: {
- method: "DELETE",
+ listDeploymentStatuses: {
+ method: "GET",
params: {
+ deployment_id: {
+ required: true,
+ type: "integer",
+ },
owner: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo",
+ url: "/repos/:owner/:repo/deployments/:deployment_id/statuses",
},
- deleteCommitComment: {
- method: "DELETE",
+ listDeployments: {
+ method: "GET",
params: {
- comment_id: {
- required: true,
- type: "integer",
+ environment: {
+ type: "string",
},
owner: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ ref: {
+ type: "string",
+ },
repo: {
required: true,
type: "string",
},
+ sha: {
+ type: "string",
+ },
+ task: {
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/comments/:comment_id",
+ url: "/repos/:owner/:repo/deployments",
},
- deleteDownload: {
- method: "DELETE",
+ listDownloads: {
+ method: "GET",
params: {
- download_id: {
- required: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/downloads/:download_id",
+ url: "/repos/:owner/:repo/downloads",
},
- deleteFile: {
- method: "DELETE",
+ listForOrg: {
+ method: "GET",
params: {
- author: {
- type: "object",
- },
- "author.email": {
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
- "author.name": {
+ org: {
+ required: true,
type: "string",
},
- branch: {
- type: "string",
+ page: {
+ type: "integer",
},
- committer: {
- type: "object",
+ per_page: {
+ type: "integer",
},
- "committer.email": {
+ sort: {
+ enum: ["created", "updated", "pushed", "full_name"],
type: "string",
},
- "committer.name": {
+ type: {
+ enum: [
+ "all",
+ "public",
+ "private",
+ "forks",
+ "sources",
+ "member",
+ "internal",
+ ],
type: "string",
},
- message: {
- required: true,
+ },
+ url: "/orgs/:org/repos",
+ },
+ listForUser: {
+ method: "GET",
+ params: {
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
- owner: {
- required: true,
- type: "string",
+ page: {
+ type: "integer",
},
- path: {
- required: true,
+ per_page: {
+ type: "integer",
+ },
+ sort: {
+ enum: ["created", "updated", "pushed", "full_name"],
type: "string",
},
- repo: {
- required: true,
+ type: {
+ enum: ["all", "owner", "member"],
type: "string",
},
- sha: {
+ username: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/contents/:path",
+ url: "/users/:username/repos",
},
- deleteHook: {
- method: "DELETE",
+ listForks: {
+ method: "GET",
params: {
- hook_id: {
- required: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
repo: {
required: true,
type: "string",
},
+ sort: {
+ enum: ["newest", "oldest", "stargazers"],
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/hooks/:hook_id",
+ url: "/repos/:owner/:repo/forks",
},
- deleteInvitation: {
- method: "DELETE",
+ listHooks: {
+ method: "GET",
params: {
- invitation_id: {
- required: true,
- type: "integer",
- },
owner: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/invitations/:invitation_id",
+ url: "/repos/:owner/:repo/hooks",
},
- deleteRelease: {
- method: "DELETE",
+ listInvitations: {
+ method: "GET",
params: {
owner: {
required: true,
type: "string",
},
- release_id: {
- required: true,
+ page: {
type: "integer",
},
- repo: {
+ per_page: {
+ type: "integer",
+ },
+ repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/releases/:release_id",
+ url: "/repos/:owner/:repo/invitations",
},
- deleteReleaseAsset: {
- method: "DELETE",
+ listInvitationsForAuthenticatedUser: {
+ method: "GET",
params: {
- asset_id: {
- required: true,
+ page: {
type: "integer",
},
- owner: {
- required: true,
- type: "string",
- },
- repo: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/releases/assets/:asset_id",
+ url: "/user/repository_invitations",
},
- disableAutomatedSecurityFixes: {
- headers: {
- accept: "application/vnd.github.london-preview+json",
- },
- method: "DELETE",
+ listLanguages: {
+ method: "GET",
params: {
owner: {
required: true,
@@ -21262,48 +14932,35 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/automated-security-fixes",
+ url: "/repos/:owner/:repo/languages",
},
- disablePagesSite: {
- headers: {
- accept: "application/vnd.github.switcheroo-preview+json",
- },
- method: "DELETE",
+ listPagesBuilds: {
+ method: "GET",
params: {
owner: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/pages",
+ url: "/repos/:owner/:repo/pages/builds",
},
- disableVulnerabilityAlerts: {
- headers: {
- accept: "application/vnd.github.dorian-preview+json",
- },
- method: "DELETE",
+ listProtectedBranchRequiredStatusChecksContexts: {
+ method: "GET",
params: {
- owner: {
- required: true,
- type: "string",
- },
- repo: {
+ branch: {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/vulnerability-alerts",
- },
- enableAutomatedSecurityFixes: {
- headers: {
- accept: "application/vnd.github.london-preview+json",
- },
- method: "PUT",
- params: {
owner: {
required: true,
type: "string",
@@ -21313,41 +14970,39 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/automated-security-fixes",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts",
},
- enablePagesSite: {
- headers: {
- accept: "application/vnd.github.switcheroo-preview+json",
- },
- method: "POST",
+ listProtectedBranchTeamRestrictions: {
+ deprecated:
+ "octokit.repos.listProtectedBranchTeamRestrictions() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-09)",
+ method: "GET",
params: {
- owner: {
+ branch: {
required: true,
type: "string",
},
- repo: {
+ owner: {
required: true,
type: "string",
},
- source: {
- type: "object",
- },
- "source.branch": {
- enum: ["master", "gh-pages"],
- type: "string",
- },
- "source.path": {
+ repo: {
+ required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/pages",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams",
},
- enableVulnerabilityAlerts: {
- headers: {
- accept: "application/vnd.github.dorian-preview+json",
- },
- method: "PUT",
+ listProtectedBranchUserRestrictions: {
+ deprecated:
+ "octokit.repos.listProtectedBranchUserRestrictions() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-09)",
+ method: "GET",
params: {
+ branch: {
+ required: true,
+ type: "string",
+ },
owner: {
required: true,
type: "string",
@@ -21357,26 +15012,31 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/vulnerability-alerts",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/users",
},
- get: {
+ listPublic: {
method: "GET",
params: {
- owner: {
- required: true,
- type: "string",
+ page: {
+ type: "integer",
},
- repo: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
+ },
+ since: {
+ type: "integer",
},
},
- url: "/repos/:owner/:repo",
+ url: "/repositories",
},
- getAppsWithAccessToProtectedBranch: {
+ listPullRequestsAssociatedWithCommit: {
+ headers: {
+ accept: "application/vnd.github.groot-preview+json",
+ },
method: "GET",
params: {
- branch: {
+ commit_sha: {
required: true,
type: "string",
},
@@ -21384,44 +15044,53 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
repo: {
required: true,
type: "string",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps",
+ url: "/repos/:owner/:repo/commits/:commit_sha/pulls",
},
- getArchiveLink: {
+ listReleases: {
method: "GET",
params: {
- archive_format: {
- required: true,
- type: "string",
- },
owner: {
required: true,
type: "string",
},
- ref: {
- required: true,
- type: "string",
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
},
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/:archive_format/:ref",
+ url: "/repos/:owner/:repo/releases",
},
- getBranch: {
+ listStatusesForRef: {
method: "GET",
params: {
- branch: {
+ owner: {
required: true,
type: "string",
},
- owner: {
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ ref: {
required: true,
type: "string",
},
@@ -21430,47 +15099,57 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/branches/:branch",
+ url: "/repos/:owner/:repo/commits/:ref/statuses",
},
- getBranchProtection: {
+ listTags: {
method: "GET",
params: {
- branch: {
- required: true,
- type: "string",
- },
owner: {
required: true,
type: "string",
},
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/branches/:branch/protection",
+ url: "/repos/:owner/:repo/tags",
},
- getClones: {
+ listTeams: {
method: "GET",
params: {
owner: {
required: true,
type: "string",
},
- per: {
- enum: ["day", "week"],
- type: "string",
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
},
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/traffic/clones",
+ url: "/repos/:owner/:repo/teams",
},
- getCodeFrequencyStats: {
+ listTeamsWithAccessToProtectedBranch: {
+ deprecated:
+ "octokit.repos.listTeamsWithAccessToProtectedBranch() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-13)",
method: "GET",
params: {
+ branch: {
+ required: true,
+ type: "string",
+ },
owner: {
required: true,
type: "string",
@@ -21480,9 +15159,13 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/stats/code_frequency",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams",
},
- getCollaboratorPermissionLevel: {
+ listTopics: {
+ headers: {
+ accept: "application/vnd.github.mercy-preview+json",
+ },
method: "GET",
params: {
owner: {
@@ -21493,21 +15176,19 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- username: {
- required: true,
- type: "string",
- },
},
- url: "/repos/:owner/:repo/collaborators/:username/permission",
+ url: "/repos/:owner/:repo/topics",
},
- getCombinedStatusForRef: {
+ listUsersWithAccessToProtectedBranch: {
+ deprecated:
+ "octokit.repos.listUsersWithAccessToProtectedBranch() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-13)",
method: "GET",
params: {
- owner: {
+ branch: {
required: true,
type: "string",
},
- ref: {
+ owner: {
required: true,
type: "string",
},
@@ -21516,39 +15197,23 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/commits/:ref/status",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/users",
},
- getCommit: {
- method: "GET",
+ merge: {
+ method: "POST",
params: {
- commit_sha: {
- alias: "ref",
- deprecated: true,
- type: "string",
- },
- owner: {
+ base: {
required: true,
type: "string",
},
- ref: {
- required: true,
+ commit_message: {
type: "string",
},
- repo: {
+ head: {
required: true,
type: "string",
},
- sha: {
- alias: "ref",
- deprecated: true,
- type: "string",
- },
- },
- url: "/repos/:owner/:repo/commits/:ref",
- },
- getCommitActivityStats: {
- method: "GET",
- params: {
owner: {
required: true,
type: "string",
@@ -21558,12 +15223,12 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/stats/commit_activity",
+ url: "/repos/:owner/:repo/merges",
},
- getCommitComment: {
- method: "GET",
+ pingHook: {
+ method: "POST",
params: {
- comment_id: {
+ hook_id: {
required: true,
type: "integer",
},
@@ -21576,21 +15241,16 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/comments/:comment_id",
+ url: "/repos/:owner/:repo/hooks/:hook_id/pings",
},
- getCommitRefSha: {
- deprecated:
- "octokit.repos.getCommitRefSha() is deprecated, see https://developer.github.com/v3/repos/commits/#get-a-single-commit",
- headers: {
- accept: "application/vnd.github.v3.sha",
- },
- method: "GET",
+ removeBranchProtection: {
+ method: "DELETE",
params: {
- owner: {
+ branch: {
required: true,
type: "string",
},
- ref: {
+ owner: {
required: true,
type: "string",
},
@@ -21599,32 +15259,33 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/commits/:ref",
+ url: "/repos/:owner/:repo/branches/:branch/protection",
},
- getContents: {
- method: "GET",
+ removeCollaborator: {
+ method: "DELETE",
params: {
owner: {
required: true,
type: "string",
},
- path: {
+ repo: {
required: true,
type: "string",
},
- ref: {
- type: "string",
- },
- repo: {
+ username: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/contents/:path",
+ url: "/repos/:owner/:repo/collaborators/:username",
},
- getContributorsStats: {
- method: "GET",
+ removeDeployKey: {
+ method: "DELETE",
params: {
+ key_id: {
+ required: true,
+ type: "integer",
+ },
owner: {
required: true,
type: "string",
@@ -21634,14 +15295,14 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/stats/contributors",
+ url: "/repos/:owner/:repo/keys/:key_id",
},
- getDeployKey: {
- method: "GET",
+ removeProtectedBranchAdminEnforcement: {
+ method: "DELETE",
params: {
- key_id: {
+ branch: {
required: true,
- type: "integer",
+ type: "string",
},
owner: {
required: true,
@@ -21652,14 +15313,20 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/keys/:key_id",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/enforce_admins",
},
- getDeployment: {
- method: "GET",
+ removeProtectedBranchAppRestrictions: {
+ method: "DELETE",
params: {
- deployment_id: {
+ apps: {
+ mapTo: "data",
required: true,
- type: "integer",
+ type: "string[]",
+ },
+ branch: {
+ required: true,
+ type: "string",
},
owner: {
required: true,
@@ -21670,14 +15337,15 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/deployments/:deployment_id",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps",
},
- getDeploymentStatus: {
- method: "GET",
+ removeProtectedBranchPullRequestReviewEnforcement: {
+ method: "DELETE",
params: {
- deployment_id: {
+ branch: {
required: true,
- type: "integer",
+ type: "string",
},
owner: {
required: true,
@@ -21687,20 +15355,19 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- status_id: {
- required: true,
- type: "integer",
- },
},
url:
- "/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id",
+ "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews",
},
- getDownload: {
- method: "GET",
+ removeProtectedBranchRequiredSignatures: {
+ headers: {
+ accept: "application/vnd.github.zzzax-preview+json",
+ },
+ method: "DELETE",
params: {
- download_id: {
+ branch: {
required: true,
- type: "integer",
+ type: "string",
},
owner: {
required: true,
@@ -21711,14 +15378,15 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/downloads/:download_id",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/required_signatures",
},
- getHook: {
- method: "GET",
+ removeProtectedBranchRequiredStatusChecks: {
+ method: "DELETE",
params: {
- hook_id: {
+ branch: {
required: true,
- type: "integer",
+ type: "string",
},
owner: {
required: true,
@@ -21729,25 +15397,21 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/hooks/:hook_id",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/required_status_checks",
},
- getLatestPagesBuild: {
- method: "GET",
+ removeProtectedBranchRequiredStatusChecksContexts: {
+ method: "DELETE",
params: {
- owner: {
+ branch: {
required: true,
type: "string",
},
- repo: {
+ contexts: {
+ mapTo: "data",
required: true,
- type: "string",
+ type: "string[]",
},
- },
- url: "/repos/:owner/:repo/pages/builds/latest",
- },
- getLatestRelease: {
- method: "GET",
- params: {
owner: {
required: true,
type: "string",
@@ -21757,11 +15421,16 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/releases/latest",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts",
},
- getPages: {
- method: "GET",
+ removeProtectedBranchRestrictions: {
+ method: "DELETE",
params: {
+ branch: {
+ required: true,
+ type: "string",
+ },
owner: {
required: true,
type: "string",
@@ -21771,14 +15440,14 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/pages",
+ url: "/repos/:owner/:repo/branches/:branch/protection/restrictions",
},
- getPagesBuild: {
- method: "GET",
+ removeProtectedBranchTeamRestrictions: {
+ method: "DELETE",
params: {
- build_id: {
+ branch: {
required: true,
- type: "integer",
+ type: "string",
},
owner: {
required: true,
@@ -21788,12 +15457,22 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ teams: {
+ mapTo: "data",
+ required: true,
+ type: "string[]",
+ },
},
- url: "/repos/:owner/:repo/pages/builds/:build_id",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams",
},
- getParticipationStats: {
- method: "GET",
+ removeProtectedBranchUserRestrictions: {
+ method: "DELETE",
params: {
+ branch: {
+ required: true,
+ type: "string",
+ },
owner: {
required: true,
type: "string",
@@ -21802,12 +15481,23 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ users: {
+ mapTo: "data",
+ required: true,
+ type: "string[]",
+ },
},
- url: "/repos/:owner/:repo/stats/participation",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/users",
},
- getProtectedBranchAdminEnforcement: {
- method: "GET",
+ replaceProtectedBranchAppRestrictions: {
+ method: "PUT",
params: {
+ apps: {
+ mapTo: "data",
+ required: true,
+ type: "string[]",
+ },
branch: {
required: true,
type: "string",
@@ -21822,15 +15512,20 @@ module.exports = /******/ (function (modules, runtime) {
},
},
url:
- "/repos/:owner/:repo/branches/:branch/protection/enforce_admins",
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps",
},
- getProtectedBranchPullRequestReviewEnforcement: {
- method: "GET",
+ replaceProtectedBranchRequiredStatusChecksContexts: {
+ method: "PUT",
params: {
branch: {
required: true,
type: "string",
},
+ contexts: {
+ mapTo: "data",
+ required: true,
+ type: "string[]",
+ },
owner: {
required: true,
type: "string",
@@ -21841,13 +15536,10 @@ module.exports = /******/ (function (modules, runtime) {
},
},
url:
- "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews",
+ "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts",
},
- getProtectedBranchRequiredSignatures: {
- headers: {
- accept: "application/vnd.github.zzzax-preview+json",
- },
- method: "GET",
+ replaceProtectedBranchTeamRestrictions: {
+ method: "PUT",
params: {
branch: {
required: true,
@@ -21861,12 +15553,17 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ teams: {
+ mapTo: "data",
+ required: true,
+ type: "string[]",
+ },
},
url:
- "/repos/:owner/:repo/branches/:branch/protection/required_signatures",
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams",
},
- getProtectedBranchRequiredStatusChecks: {
- method: "GET",
+ replaceProtectedBranchUserRestrictions: {
+ method: "PUT",
params: {
branch: {
required: true,
@@ -21880,16 +15577,24 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ users: {
+ mapTo: "data",
+ required: true,
+ type: "string[]",
+ },
},
url:
- "/repos/:owner/:repo/branches/:branch/protection/required_status_checks",
+ "/repos/:owner/:repo/branches/:branch/protection/restrictions/users",
},
- getProtectedBranchRestrictions: {
- method: "GET",
+ replaceTopics: {
+ headers: {
+ accept: "application/vnd.github.mercy-preview+json",
+ },
+ method: "PUT",
params: {
- branch: {
+ names: {
required: true,
- type: "string",
+ type: "string[]",
},
owner: {
required: true,
@@ -21900,10 +15605,10 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/branches/:branch/protection/restrictions",
+ url: "/repos/:owner/:repo/topics",
},
- getPunchCardStats: {
- method: "GET",
+ requestPageBuild: {
+ method: "POST",
params: {
owner: {
required: true,
@@ -21914,49 +15619,45 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/stats/punch_card",
+ url: "/repos/:owner/:repo/pages/builds",
},
- getReadme: {
+ retrieveCommunityProfileMetrics: {
method: "GET",
params: {
owner: {
required: true,
type: "string",
},
- ref: {
- type: "string",
- },
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/readme",
+ url: "/repos/:owner/:repo/community/profile",
},
- getRelease: {
- method: "GET",
+ testPushHook: {
+ method: "POST",
params: {
- owner: {
+ hook_id: {
required: true,
- type: "string",
+ type: "integer",
},
- release_id: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
},
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/releases/:release_id",
+ url: "/repos/:owner/:repo/hooks/:hook_id/tests",
},
- getReleaseAsset: {
- method: "GET",
+ transfer: {
+ method: "POST",
params: {
- asset_id: {
- required: true,
- type: "integer",
+ new_owner: {
+ type: "string",
},
owner: {
required: true,
@@ -21966,34 +15667,91 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ team_ids: {
+ type: "integer[]",
+ },
},
- url: "/repos/:owner/:repo/releases/assets/:asset_id",
+ url: "/repos/:owner/:repo/transfer",
},
- getReleaseByTag: {
- method: "GET",
+ update: {
+ method: "PATCH",
params: {
+ allow_merge_commit: {
+ type: "boolean",
+ },
+ allow_rebase_merge: {
+ type: "boolean",
+ },
+ allow_squash_merge: {
+ type: "boolean",
+ },
+ archived: {
+ type: "boolean",
+ },
+ default_branch: {
+ type: "string",
+ },
+ delete_branch_on_merge: {
+ type: "boolean",
+ },
+ description: {
+ type: "string",
+ },
+ has_issues: {
+ type: "boolean",
+ },
+ has_projects: {
+ type: "boolean",
+ },
+ has_wiki: {
+ type: "boolean",
+ },
+ homepage: {
+ type: "string",
+ },
+ is_template: {
+ type: "boolean",
+ },
+ name: {
+ type: "string",
+ },
owner: {
required: true,
type: "string",
},
+ private: {
+ type: "boolean",
+ },
repo: {
required: true,
type: "string",
},
- tag: {
- required: true,
+ visibility: {
+ enum: ["public", "private", "visibility", "internal"],
type: "string",
},
},
- url: "/repos/:owner/:repo/releases/tags/:tag",
+ url: "/repos/:owner/:repo",
},
- getTeamsWithAccessToProtectedBranch: {
- method: "GET",
+ updateBranchProtection: {
+ method: "PUT",
params: {
+ allow_deletions: {
+ type: "boolean",
+ },
+ allow_force_pushes: {
+ allowNull: true,
+ type: "boolean",
+ },
branch: {
required: true,
type: "string",
},
+ enforce_admins: {
+ allowNull: true,
+ required: true,
+ type: "boolean",
+ },
owner: {
required: true,
type: "string",
@@ -22002,13 +15760,75 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ required_linear_history: {
+ type: "boolean",
+ },
+ required_pull_request_reviews: {
+ allowNull: true,
+ required: true,
+ type: "object",
+ },
+ "required_pull_request_reviews.dismiss_stale_reviews": {
+ type: "boolean",
+ },
+ "required_pull_request_reviews.dismissal_restrictions": {
+ type: "object",
+ },
+ "required_pull_request_reviews.dismissal_restrictions.teams": {
+ type: "string[]",
+ },
+ "required_pull_request_reviews.dismissal_restrictions.users": {
+ type: "string[]",
+ },
+ "required_pull_request_reviews.require_code_owner_reviews": {
+ type: "boolean",
+ },
+ "required_pull_request_reviews.required_approving_review_count": {
+ type: "integer",
+ },
+ required_status_checks: {
+ allowNull: true,
+ required: true,
+ type: "object",
+ },
+ "required_status_checks.contexts": {
+ required: true,
+ type: "string[]",
+ },
+ "required_status_checks.strict": {
+ required: true,
+ type: "boolean",
+ },
+ restrictions: {
+ allowNull: true,
+ required: true,
+ type: "object",
+ },
+ "restrictions.apps": {
+ type: "string[]",
+ },
+ "restrictions.teams": {
+ required: true,
+ type: "string[]",
+ },
+ "restrictions.users": {
+ required: true,
+ type: "string[]",
+ },
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams",
+ url: "/repos/:owner/:repo/branches/:branch/protection",
},
- getTopPaths: {
- method: "GET",
+ updateCommitComment: {
+ method: "PATCH",
params: {
+ body: {
+ required: true,
+ type: "string",
+ },
+ comment_id: {
+ required: true,
+ type: "integer",
+ },
owner: {
required: true,
type: "string",
@@ -22018,168 +15838,172 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/repos/:owner/:repo/traffic/popular/paths",
+ url: "/repos/:owner/:repo/comments/:comment_id",
},
- getTopReferrers: {
- method: "GET",
+ updateFile: {
+ deprecated:
+ "octokit.repos.updateFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",
+ method: "PUT",
params: {
- owner: {
+ author: {
+ type: "object",
+ },
+ "author.email": {
required: true,
type: "string",
},
- repo: {
+ "author.name": {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/traffic/popular/referrers",
- },
- getUsersWithAccessToProtectedBranch: {
- method: "GET",
- params: {
branch: {
+ type: "string",
+ },
+ committer: {
+ type: "object",
+ },
+ "committer.email": {
required: true,
type: "string",
},
- owner: {
+ "committer.name": {
required: true,
type: "string",
},
- repo: {
+ content: {
+ required: true,
+ type: "string",
+ },
+ message: {
required: true,
type: "string",
},
- },
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/users",
- },
- getViews: {
- method: "GET",
- params: {
owner: {
required: true,
type: "string",
},
- per: {
- enum: ["day", "week"],
+ path: {
+ required: true,
type: "string",
},
repo: {
required: true,
type: "string",
},
+ sha: {
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/traffic/views",
+ url: "/repos/:owner/:repo/contents/:path",
},
- list: {
- method: "GET",
+ updateHook: {
+ method: "PATCH",
params: {
- affiliation: {
- type: "string",
- },
- direction: {
- enum: ["asc", "desc"],
- type: "string",
+ active: {
+ type: "boolean",
},
- page: {
- type: "integer",
+ add_events: {
+ type: "string[]",
},
- per_page: {
- type: "integer",
+ config: {
+ type: "object",
},
- sort: {
- enum: ["created", "updated", "pushed", "full_name"],
+ "config.content_type": {
type: "string",
},
- type: {
- enum: ["all", "owner", "public", "private", "member"],
+ "config.insecure_ssl": {
type: "string",
},
- visibility: {
- enum: ["all", "public", "private"],
+ "config.secret": {
type: "string",
},
- },
- url: "/user/repos",
- },
- listAppsWithAccessToProtectedBranch: {
- deprecated:
- "octokit.repos.listAppsWithAccessToProtectedBranch() has been renamed to octokit.repos.getAppsWithAccessToProtectedBranch() (2019-09-13)",
- method: "GET",
- params: {
- branch: {
+ "config.url": {
required: true,
type: "string",
},
+ events: {
+ type: "string[]",
+ },
+ hook_id: {
+ required: true,
+ type: "integer",
+ },
owner: {
required: true,
type: "string",
},
+ remove_events: {
+ type: "string[]",
+ },
repo: {
required: true,
type: "string",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps",
+ url: "/repos/:owner/:repo/hooks/:hook_id",
},
- listAssetsForRelease: {
- method: "GET",
+ updateInformationAboutPagesSite: {
+ method: "PUT",
params: {
- owner: {
- required: true,
+ cname: {
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- release_id: {
+ owner: {
required: true,
- type: "integer",
+ type: "string",
},
repo: {
required: true,
type: "string",
},
+ source: {
+ enum: ['"gh-pages"', '"master"', '"master /docs"'],
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/releases/:release_id/assets",
+ url: "/repos/:owner/:repo/pages",
},
- listBranches: {
- method: "GET",
+ updateInvitation: {
+ method: "PATCH",
params: {
- owner: {
+ invitation_id: {
required: true,
- type: "string",
- },
- page: {
type: "integer",
},
- per_page: {
- type: "integer",
+ owner: {
+ required: true,
+ type: "string",
},
- protected: {
- type: "boolean",
+ permissions: {
+ enum: ["read", "write", "admin"],
+ type: "string",
},
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/branches",
+ url: "/repos/:owner/:repo/invitations/:invitation_id",
},
- listBranchesForHeadCommit: {
- headers: {
- accept: "application/vnd.github.groot-preview+json",
- },
- method: "GET",
+ updateProtectedBranchPullRequestReviewEnforcement: {
+ method: "PATCH",
params: {
- commit_sha: {
+ branch: {
required: true,
type: "string",
},
+ dismiss_stale_reviews: {
+ type: "boolean",
+ },
+ dismissal_restrictions: {
+ type: "object",
+ },
+ "dismissal_restrictions.teams": {
+ type: "string[]",
+ },
+ "dismissal_restrictions.users": {
+ type: "string[]",
+ },
owner: {
required: true,
type: "string",
@@ -22188,125 +16012,147 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ require_code_owner_reviews: {
+ type: "boolean",
+ },
+ required_approving_review_count: {
+ type: "integer",
+ },
},
- url: "/repos/:owner/:repo/commits/:commit_sha/branches-where-head",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews",
},
- listCollaborators: {
- method: "GET",
+ updateProtectedBranchRequiredStatusChecks: {
+ method: "PATCH",
params: {
- affiliation: {
- enum: ["outside", "direct", "all"],
+ branch: {
+ required: true,
type: "string",
},
+ contexts: {
+ type: "string[]",
+ },
owner: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
repo: {
required: true,
type: "string",
},
+ strict: {
+ type: "boolean",
+ },
},
- url: "/repos/:owner/:repo/collaborators",
+ url:
+ "/repos/:owner/:repo/branches/:branch/protection/required_status_checks",
},
- listCommentsForCommit: {
- method: "GET",
+ updateRelease: {
+ method: "PATCH",
params: {
- commit_sha: {
- required: true,
+ body: {
+ type: "string",
+ },
+ draft: {
+ type: "boolean",
+ },
+ name: {
type: "string",
},
owner: {
required: true,
type: "string",
},
- page: {
- type: "integer",
+ prerelease: {
+ type: "boolean",
},
- per_page: {
+ release_id: {
+ required: true,
type: "integer",
},
- ref: {
- alias: "commit_sha",
- deprecated: true,
- type: "string",
- },
repo: {
required: true,
type: "string",
},
+ tag_name: {
+ type: "string",
+ },
+ target_commitish: {
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/commits/:commit_sha/comments",
+ url: "/repos/:owner/:repo/releases/:release_id",
},
- listCommitComments: {
- method: "GET",
+ updateReleaseAsset: {
+ method: "PATCH",
params: {
- owner: {
+ asset_id: {
required: true,
+ type: "integer",
+ },
+ label: {
type: "string",
},
- page: {
- type: "integer",
+ name: {
+ type: "string",
},
- per_page: {
- type: "integer",
+ owner: {
+ required: true,
+ type: "string",
},
repo: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/comments",
+ url: "/repos/:owner/:repo/releases/assets/:asset_id",
},
- listCommits: {
- method: "GET",
+ uploadReleaseAsset: {
+ method: "POST",
params: {
- author: {
- type: "string",
- },
- owner: {
+ data: {
+ mapTo: "data",
required: true,
- type: "string",
+ type: "string | object",
},
- page: {
- type: "integer",
+ file: {
+ alias: "data",
+ deprecated: true,
+ type: "string | object",
},
- path: {
- type: "string",
+ headers: {
+ required: true,
+ type: "object",
},
- per_page: {
+ "headers.content-length": {
+ required: true,
type: "integer",
},
- repo: {
+ "headers.content-type": {
required: true,
type: "string",
},
- sha: {
+ label: {
type: "string",
},
- since: {
+ name: {
+ required: true,
type: "string",
},
- until: {
+ url: {
+ required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/commits",
+ url: ":url",
},
- listContributors: {
+ },
+ search: {
+ code: {
method: "GET",
params: {
- anon: {
- type: "string",
- },
- owner: {
- required: true,
+ order: {
+ enum: ["desc", "asc"],
type: "string",
},
page: {
@@ -22315,18 +16161,25 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- repo: {
+ q: {
required: true,
type: "string",
},
+ sort: {
+ enum: ["indexed"],
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/contributors",
+ url: "/search/code",
},
- listDeployKeys: {
+ commits: {
+ headers: {
+ accept: "application/vnd.github.cloak-preview+json",
+ },
method: "GET",
params: {
- owner: {
- required: true,
+ order: {
+ enum: ["desc", "asc"],
type: "string",
},
page: {
@@ -22335,22 +16188,24 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- repo: {
+ q: {
required: true,
type: "string",
},
+ sort: {
+ enum: ["author-date", "committer-date"],
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/keys",
+ url: "/search/commits",
},
- listDeploymentStatuses: {
+ issues: {
+ deprecated:
+ "octokit.search.issues() has been renamed to octokit.search.issuesAndPullRequests() (2018-12-27)",
method: "GET",
params: {
- deployment_id: {
- required: true,
- type: "integer",
- },
- owner: {
- required: true,
+ order: {
+ enum: ["desc", "asc"],
type: "string",
},
page: {
@@ -22359,50 +16214,34 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- repo: {
+ q: {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/deployments/:deployment_id/statuses",
- },
- listDeployments: {
- method: "GET",
- params: {
- environment: {
- type: "string",
- },
- owner: {
- required: true,
- type: "string",
- },
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- ref: {
- type: "string",
- },
- repo: {
- required: true,
- type: "string",
- },
- sha: {
- type: "string",
- },
- task: {
+ sort: {
+ enum: [
+ "comments",
+ "reactions",
+ "reactions-+1",
+ "reactions--1",
+ "reactions-smile",
+ "reactions-thinking_face",
+ "reactions-heart",
+ "reactions-tada",
+ "interactions",
+ "created",
+ "updated",
+ ],
type: "string",
},
},
- url: "/repos/:owner/:repo/deployments",
+ url: "/search/issues",
},
- listDownloads: {
+ issuesAndPullRequests: {
method: "GET",
params: {
- owner: {
- required: true,
+ order: {
+ enum: ["desc", "asc"],
type: "string",
},
page: {
@@ -22411,82 +16250,56 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- repo: {
- required: true,
- type: "string",
- },
- },
- url: "/repos/:owner/:repo/downloads",
- },
- listForOrg: {
- method: "GET",
- params: {
- direction: {
- enum: ["asc", "desc"],
- type: "string",
- },
- org: {
+ q: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
sort: {
- enum: ["created", "updated", "pushed", "full_name"],
- type: "string",
- },
- type: {
enum: [
- "all",
- "public",
- "private",
- "forks",
- "sources",
- "member",
- "internal",
+ "comments",
+ "reactions",
+ "reactions-+1",
+ "reactions--1",
+ "reactions-smile",
+ "reactions-thinking_face",
+ "reactions-heart",
+ "reactions-tada",
+ "interactions",
+ "created",
+ "updated",
],
type: "string",
},
},
- url: "/orgs/:org/repos",
+ url: "/search/issues",
},
- listForUser: {
+ labels: {
method: "GET",
params: {
- direction: {
- enum: ["asc", "desc"],
+ order: {
+ enum: ["desc", "asc"],
type: "string",
},
- page: {
- type: "integer",
+ q: {
+ required: true,
+ type: "string",
},
- per_page: {
+ repository_id: {
+ required: true,
type: "integer",
},
sort: {
- enum: ["created", "updated", "pushed", "full_name"],
- type: "string",
- },
- type: {
- enum: ["all", "owner", "member"],
- type: "string",
- },
- username: {
- required: true,
+ enum: ["created", "updated"],
type: "string",
},
},
- url: "/users/:username/repos",
+ url: "/search/labels",
},
- listForks: {
+ repos: {
method: "GET",
params: {
- owner: {
- required: true,
+ order: {
+ enum: ["desc", "asc"],
type: "string",
},
page: {
@@ -22495,42 +16308,32 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- repo: {
+ q: {
required: true,
type: "string",
},
sort: {
- enum: ["newest", "oldest", "stargazers"],
+ enum: ["stars", "forks", "help-wanted-issues", "updated"],
type: "string",
},
},
- url: "/repos/:owner/:repo/forks",
+ url: "/search/repositories",
},
- listHooks: {
+ topics: {
method: "GET",
params: {
- owner: {
- required: true,
- type: "string",
- },
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- repo: {
+ q: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/hooks",
+ url: "/search/topics",
},
- listInvitations: {
+ users: {
method: "GET",
params: {
- owner: {
- required: true,
+ order: {
+ enum: ["desc", "asc"],
type: "string",
},
page: {
@@ -22539,255 +16342,263 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- repo: {
+ q: {
required: true,
type: "string",
},
- },
- url: "/repos/:owner/:repo/invitations",
- },
- listInvitationsForAuthenticatedUser: {
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
+ sort: {
+ enum: ["followers", "repositories", "joined"],
+ type: "string",
},
},
- url: "/user/repository_invitations",
+ url: "/search/users",
},
- listLanguages: {
- method: "GET",
+ },
+ teams: {
+ addMember: {
+ deprecated:
+ "octokit.teams.addMember() has been renamed to octokit.teams.addMemberLegacy() (2020-01-16)",
+ method: "PUT",
params: {
- owner: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ username: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/languages",
+ url: "/teams/:team_id/members/:username",
},
- listPagesBuilds: {
- method: "GET",
+ addMemberLegacy: {
+ deprecated:
+ "octokit.teams.addMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-team-member-legacy",
+ method: "PUT",
params: {
- owner: {
+ team_id: {
required: true,
- type: "string",
- },
- page: {
- type: "integer",
- },
- per_page: {
type: "integer",
},
- repo: {
+ username: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/pages/builds",
+ url: "/teams/:team_id/members/:username",
},
- listProtectedBranchRequiredStatusChecksContexts: {
- method: "GET",
+ addOrUpdateMembership: {
+ deprecated:
+ "octokit.teams.addOrUpdateMembership() has been renamed to octokit.teams.addOrUpdateMembershipLegacy() (2020-01-16)",
+ method: "PUT",
params: {
- branch: {
- required: true,
+ role: {
+ enum: ["member", "maintainer"],
type: "string",
},
- owner: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ username: {
required: true,
type: "string",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts",
+ url: "/teams/:team_id/memberships/:username",
},
- listProtectedBranchTeamRestrictions: {
- deprecated:
- "octokit.repos.listProtectedBranchTeamRestrictions() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-09)",
- method: "GET",
+ addOrUpdateMembershipInOrg: {
+ method: "PUT",
params: {
- branch: {
+ org: {
required: true,
type: "string",
},
- owner: {
+ role: {
+ enum: ["member", "maintainer"],
+ type: "string",
+ },
+ team_slug: {
required: true,
type: "string",
},
- repo: {
+ username: {
required: true,
type: "string",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams",
+ url: "/orgs/:org/teams/:team_slug/memberships/:username",
},
- listProtectedBranchUserRestrictions: {
+ addOrUpdateMembershipLegacy: {
deprecated:
- "octokit.repos.listProtectedBranchUserRestrictions() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-09)",
- method: "GET",
+ "octokit.teams.addOrUpdateMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-legacy",
+ method: "PUT",
params: {
- branch: {
- required: true,
+ role: {
+ enum: ["member", "maintainer"],
type: "string",
},
- owner: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ username: {
required: true,
type: "string",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/users",
+ url: "/teams/:team_id/memberships/:username",
},
- listPublic: {
- method: "GET",
+ addOrUpdateProject: {
+ deprecated:
+ "octokit.teams.addOrUpdateProject() has been renamed to octokit.teams.addOrUpdateProjectLegacy() (2020-01-16)",
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
+ method: "PUT",
params: {
- page: {
- type: "integer",
+ permission: {
+ enum: ["read", "write", "admin"],
+ type: "string",
},
- per_page: {
+ project_id: {
+ required: true,
type: "integer",
},
- since: {
+ team_id: {
+ required: true,
type: "integer",
},
},
- url: "/repositories",
+ url: "/teams/:team_id/projects/:project_id",
},
- listPullRequestsAssociatedWithCommit: {
+ addOrUpdateProjectInOrg: {
headers: {
- accept: "application/vnd.github.groot-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
- method: "GET",
+ method: "PUT",
params: {
- commit_sha: {
+ org: {
required: true,
type: "string",
},
- owner: {
- required: true,
+ permission: {
+ enum: ["read", "write", "admin"],
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
+ project_id: {
+ required: true,
type: "integer",
},
- repo: {
+ team_slug: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/commits/:commit_sha/pulls",
+ url: "/orgs/:org/teams/:team_slug/projects/:project_id",
},
- listReleases: {
- method: "GET",
+ addOrUpdateProjectLegacy: {
+ deprecated:
+ "octokit.teams.addOrUpdateProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-project-legacy",
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
+ method: "PUT",
params: {
- owner: {
- required: true,
+ permission: {
+ enum: ["read", "write", "admin"],
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
+ project_id: {
+ required: true,
type: "integer",
},
- repo: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/releases",
+ url: "/teams/:team_id/projects/:project_id",
},
- listStatusesForRef: {
- method: "GET",
+ addOrUpdateRepo: {
+ deprecated:
+ "octokit.teams.addOrUpdateRepo() has been renamed to octokit.teams.addOrUpdateRepoLegacy() (2020-01-16)",
+ method: "PUT",
params: {
owner: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- ref: {
- required: true,
+ permission: {
+ enum: ["pull", "push", "admin"],
type: "string",
},
repo: {
required: true,
type: "string",
},
+ team_id: {
+ required: true,
+ type: "integer",
+ },
},
- url: "/repos/:owner/:repo/commits/:ref/statuses",
+ url: "/teams/:team_id/repos/:owner/:repo",
},
- listTags: {
- method: "GET",
+ addOrUpdateRepoInOrg: {
+ method: "PUT",
params: {
- owner: {
+ org: {
required: true,
type: "string",
},
- page: {
- type: "integer",
+ owner: {
+ required: true,
+ type: "string",
},
- per_page: {
- type: "integer",
+ permission: {
+ enum: ["pull", "push", "admin"],
+ type: "string",
},
repo: {
required: true,
type: "string",
},
+ team_slug: {
+ required: true,
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/tags",
+ url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo",
},
- listTeams: {
- method: "GET",
+ addOrUpdateRepoLegacy: {
+ deprecated:
+ "octokit.teams.addOrUpdateRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-repository-legacy",
+ method: "PUT",
params: {
owner: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
+ permission: {
+ enum: ["pull", "push", "admin"],
+ type: "string",
},
repo: {
required: true,
type: "string",
},
+ team_id: {
+ required: true,
+ type: "integer",
+ },
},
- url: "/repos/:owner/:repo/teams",
+ url: "/teams/:team_id/repos/:owner/:repo",
},
- listTeamsWithAccessToProtectedBranch: {
+ checkManagesRepo: {
deprecated:
- "octokit.repos.listTeamsWithAccessToProtectedBranch() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-13)",
+ "octokit.teams.checkManagesRepo() has been renamed to octokit.teams.checkManagesRepoLegacy() (2020-01-16)",
method: "GET",
params: {
- branch: {
- required: true,
- type: "string",
- },
owner: {
required: true,
type: "string",
@@ -22796,16 +16607,20 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ team_id: {
+ required: true,
+ type: "integer",
+ },
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams",
+ url: "/teams/:team_id/repos/:owner/:repo",
},
- listTopics: {
- headers: {
- accept: "application/vnd.github.mercy-preview+json",
- },
+ checkManagesRepoInOrg: {
method: "GET",
params: {
+ org: {
+ required: true,
+ type: "string",
+ },
owner: {
required: true,
type: "string",
@@ -22814,18 +16629,18 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ team_slug: {
+ required: true,
+ type: "string",
+ },
},
- url: "/repos/:owner/:repo/topics",
+ url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo",
},
- listUsersWithAccessToProtectedBranch: {
+ checkManagesRepoLegacy: {
deprecated:
- "octokit.repos.listUsersWithAccessToProtectedBranch() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-13)",
+ "octokit.teams.checkManagesRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository-legacy",
method: "GET",
params: {
- branch: {
- required: true,
- type: "string",
- },
owner: {
required: true,
type: "string",
@@ -22834,1016 +16649,955 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
+ team_id: {
+ required: true,
+ type: "integer",
+ },
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/users",
+ url: "/teams/:team_id/repos/:owner/:repo",
},
- merge: {
+ create: {
method: "POST",
params: {
- base: {
- required: true,
+ description: {
type: "string",
},
- commit_message: {
- type: "string",
+ maintainers: {
+ type: "string[]",
},
- head: {
+ name: {
required: true,
type: "string",
},
- owner: {
+ org: {
required: true,
type: "string",
},
- repo: {
- required: true,
+ parent_team_id: {
+ type: "integer",
+ },
+ permission: {
+ enum: ["pull", "push", "admin"],
+ type: "string",
+ },
+ privacy: {
+ enum: ["secret", "closed"],
type: "string",
},
+ repo_names: {
+ type: "string[]",
+ },
},
- url: "/repos/:owner/:repo/merges",
+ url: "/orgs/:org/teams",
},
- pingHook: {
+ createDiscussion: {
+ deprecated:
+ "octokit.teams.createDiscussion() has been renamed to octokit.teams.createDiscussionLegacy() (2020-01-16)",
method: "POST",
params: {
- hook_id: {
+ body: {
required: true,
- type: "integer",
+ type: "string",
},
- owner: {
+ private: {
+ type: "boolean",
+ },
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ title: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/hooks/:hook_id/pings",
+ url: "/teams/:team_id/discussions",
},
- removeBranchProtection: {
- method: "DELETE",
+ createDiscussionComment: {
+ deprecated:
+ "octokit.teams.createDiscussionComment() has been renamed to octokit.teams.createDiscussionCommentLegacy() (2020-01-16)",
+ method: "POST",
params: {
- branch: {
+ body: {
required: true,
type: "string",
},
- owner: {
+ discussion_number: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/branches/:branch/protection",
+ url: "/teams/:team_id/discussions/:discussion_number/comments",
},
- removeCollaborator: {
- method: "DELETE",
+ createDiscussionCommentInOrg: {
+ method: "POST",
params: {
- owner: {
+ body: {
required: true,
type: "string",
},
- repo: {
+ discussion_number: {
+ required: true,
+ type: "integer",
+ },
+ org: {
required: true,
type: "string",
},
- username: {
+ team_slug: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/collaborators/:username",
+ url:
+ "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments",
},
- removeDeployKey: {
- method: "DELETE",
+ createDiscussionCommentLegacy: {
+ deprecated:
+ "octokit.teams.createDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#create-a-comment-legacy",
+ method: "POST",
params: {
- key_id: {
+ body: {
required: true,
- type: "integer",
+ type: "string",
},
- owner: {
+ discussion_number: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/keys/:key_id",
+ url: "/teams/:team_id/discussions/:discussion_number/comments",
},
- removeProtectedBranchAdminEnforcement: {
- method: "DELETE",
+ createDiscussionInOrg: {
+ method: "POST",
params: {
- branch: {
+ body: {
required: true,
type: "string",
},
- owner: {
+ org: {
required: true,
type: "string",
},
- repo: {
+ private: {
+ type: "boolean",
+ },
+ team_slug: {
+ required: true,
+ type: "string",
+ },
+ title: {
required: true,
type: "string",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/enforce_admins",
+ url: "/orgs/:org/teams/:team_slug/discussions",
},
- removeProtectedBranchAppRestrictions: {
- method: "DELETE",
+ createDiscussionLegacy: {
+ deprecated:
+ "octokit.teams.createDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy",
+ method: "POST",
params: {
- apps: {
- mapTo: "data",
- required: true,
- type: "string[]",
- },
- branch: {
+ body: {
required: true,
type: "string",
},
- owner: {
+ private: {
+ type: "boolean",
+ },
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ title: {
required: true,
type: "string",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps",
+ url: "/teams/:team_id/discussions",
},
- removeProtectedBranchPullRequestReviewEnforcement: {
+ delete: {
+ deprecated:
+ "octokit.teams.delete() has been renamed to octokit.teams.deleteLegacy() (2020-01-16)",
method: "DELETE",
params: {
- branch: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- owner: {
+ },
+ url: "/teams/:team_id",
+ },
+ deleteDiscussion: {
+ deprecated:
+ "octokit.teams.deleteDiscussion() has been renamed to octokit.teams.deleteDiscussionLegacy() (2020-01-16)",
+ method: "DELETE",
+ params: {
+ discussion_number: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews",
+ url: "/teams/:team_id/discussions/:discussion_number",
},
- removeProtectedBranchRequiredSignatures: {
- headers: {
- accept: "application/vnd.github.zzzax-preview+json",
- },
+ deleteDiscussionComment: {
+ deprecated:
+ "octokit.teams.deleteDiscussionComment() has been renamed to octokit.teams.deleteDiscussionCommentLegacy() (2020-01-16)",
method: "DELETE",
params: {
- branch: {
+ comment_number: {
required: true,
- type: "string",
+ type: "integer",
},
- owner: {
+ discussion_number: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
url:
- "/repos/:owner/:repo/branches/:branch/protection/required_signatures",
+ "/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
},
- removeProtectedBranchRequiredStatusChecks: {
+ deleteDiscussionCommentInOrg: {
method: "DELETE",
params: {
- branch: {
+ comment_number: {
required: true,
- type: "string",
+ type: "integer",
},
- owner: {
+ discussion_number: {
+ required: true,
+ type: "integer",
+ },
+ org: {
required: true,
type: "string",
},
- repo: {
+ team_slug: {
required: true,
type: "string",
},
},
url:
- "/repos/:owner/:repo/branches/:branch/protection/required_status_checks",
+ "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number",
},
- removeProtectedBranchRequiredStatusChecksContexts: {
+ deleteDiscussionCommentLegacy: {
+ deprecated:
+ "octokit.teams.deleteDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#delete-a-comment-legacy",
method: "DELETE",
params: {
- branch: {
- required: true,
- type: "string",
- },
- contexts: {
- mapTo: "data",
+ comment_number: {
required: true,
- type: "string[]",
+ type: "integer",
},
- owner: {
+ discussion_number: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
url:
- "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts",
+ "/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
},
- removeProtectedBranchRestrictions: {
+ deleteDiscussionInOrg: {
method: "DELETE",
params: {
- branch: {
+ discussion_number: {
required: true,
- type: "string",
+ type: "integer",
},
- owner: {
+ org: {
required: true,
type: "string",
},
- repo: {
+ team_slug: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/branches/:branch/protection/restrictions",
+ url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number",
},
- removeProtectedBranchTeamRestrictions: {
+ deleteDiscussionLegacy: {
+ deprecated:
+ "octokit.teams.deleteDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy",
method: "DELETE",
params: {
- branch: {
+ discussion_number: {
required: true,
- type: "string",
+ type: "integer",
},
- owner: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ },
+ url: "/teams/:team_id/discussions/:discussion_number",
+ },
+ deleteInOrg: {
+ method: "DELETE",
+ params: {
+ org: {
required: true,
type: "string",
},
- teams: {
- mapTo: "data",
+ team_slug: {
required: true,
- type: "string[]",
+ type: "string",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams",
+ url: "/orgs/:org/teams/:team_slug",
},
- removeProtectedBranchUserRestrictions: {
+ deleteLegacy: {
+ deprecated:
+ "octokit.teams.deleteLegacy() is deprecated, see https://developer.github.com/v3/teams/#delete-team-legacy",
method: "DELETE",
params: {
- branch: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- owner: {
+ },
+ url: "/teams/:team_id",
+ },
+ get: {
+ deprecated:
+ "octokit.teams.get() has been renamed to octokit.teams.getLegacy() (2020-01-16)",
+ method: "GET",
+ params: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ },
+ url: "/teams/:team_id",
+ },
+ getByName: {
+ method: "GET",
+ params: {
+ org: {
required: true,
type: "string",
},
- users: {
- mapTo: "data",
+ team_slug: {
required: true,
- type: "string[]",
+ type: "string",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/users",
+ url: "/orgs/:org/teams/:team_slug",
},
- replaceProtectedBranchAppRestrictions: {
- method: "PUT",
+ getDiscussion: {
+ deprecated:
+ "octokit.teams.getDiscussion() has been renamed to octokit.teams.getDiscussionLegacy() (2020-01-16)",
+ method: "GET",
params: {
- apps: {
- mapTo: "data",
+ discussion_number: {
required: true,
- type: "string[]",
+ type: "integer",
},
- branch: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- owner: {
+ },
+ url: "/teams/:team_id/discussions/:discussion_number",
+ },
+ getDiscussionComment: {
+ deprecated:
+ "octokit.teams.getDiscussionComment() has been renamed to octokit.teams.getDiscussionCommentLegacy() (2020-01-16)",
+ method: "GET",
+ params: {
+ comment_number: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ discussion_number: {
required: true,
- type: "string",
+ type: "integer",
+ },
+ team_id: {
+ required: true,
+ type: "integer",
},
},
url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps",
+ "/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
},
- replaceProtectedBranchRequiredStatusChecksContexts: {
- method: "PUT",
+ getDiscussionCommentInOrg: {
+ method: "GET",
params: {
- branch: {
+ comment_number: {
required: true,
- type: "string",
+ type: "integer",
},
- contexts: {
- mapTo: "data",
+ discussion_number: {
required: true,
- type: "string[]",
+ type: "integer",
},
- owner: {
+ org: {
required: true,
type: "string",
},
- repo: {
+ team_slug: {
required: true,
type: "string",
},
},
url:
- "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts",
+ "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number",
},
- replaceProtectedBranchTeamRestrictions: {
- method: "PUT",
+ getDiscussionCommentLegacy: {
+ deprecated:
+ "octokit.teams.getDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#get-a-single-comment-legacy",
+ method: "GET",
params: {
- branch: {
- required: true,
- type: "string",
- },
- owner: {
+ comment_number: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ discussion_number: {
required: true,
- type: "string",
+ type: "integer",
},
- teams: {
- mapTo: "data",
+ team_id: {
required: true,
- type: "string[]",
+ type: "integer",
},
},
url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams",
+ "/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
},
- replaceProtectedBranchUserRestrictions: {
- method: "PUT",
+ getDiscussionInOrg: {
+ method: "GET",
params: {
- branch: {
+ discussion_number: {
required: true,
- type: "string",
+ type: "integer",
},
- owner: {
+ org: {
required: true,
type: "string",
},
- repo: {
+ team_slug: {
required: true,
type: "string",
},
- users: {
- mapTo: "data",
- required: true,
- type: "string[]",
- },
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/restrictions/users",
+ url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number",
},
- replaceTopics: {
- headers: {
- accept: "application/vnd.github.mercy-preview+json",
- },
- method: "PUT",
+ getDiscussionLegacy: {
+ deprecated:
+ "octokit.teams.getDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#get-a-single-discussion-legacy",
+ method: "GET",
params: {
- names: {
+ discussion_number: {
required: true,
- type: "string[]",
+ type: "integer",
},
- owner: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ },
+ url: "/teams/:team_id/discussions/:discussion_number",
+ },
+ getLegacy: {
+ deprecated:
+ "octokit.teams.getLegacy() is deprecated, see https://developer.github.com/v3/teams/#get-team-legacy",
+ method: "GET",
+ params: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/topics",
+ url: "/teams/:team_id",
},
- requestPageBuild: {
- method: "POST",
+ getMember: {
+ deprecated:
+ "octokit.teams.getMember() has been renamed to octokit.teams.getMemberLegacy() (2020-01-16)",
+ method: "GET",
params: {
- owner: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ username: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/pages/builds",
+ url: "/teams/:team_id/members/:username",
},
- retrieveCommunityProfileMetrics: {
+ getMemberLegacy: {
+ deprecated:
+ "octokit.teams.getMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-member-legacy",
method: "GET",
params: {
- owner: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
+ username: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/community/profile",
+ url: "/teams/:team_id/members/:username",
},
- testPushHook: {
- method: "POST",
+ getMembership: {
+ deprecated:
+ "octokit.teams.getMembership() has been renamed to octokit.teams.getMembershipLegacy() (2020-01-16)",
+ method: "GET",
params: {
- hook_id: {
+ team_id: {
required: true,
type: "integer",
},
- owner: {
- required: true,
- type: "string",
- },
- repo: {
+ username: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/hooks/:hook_id/tests",
+ url: "/teams/:team_id/memberships/:username",
},
- transfer: {
- method: "POST",
+ getMembershipInOrg: {
+ method: "GET",
params: {
- new_owner: {
+ org: {
+ required: true,
type: "string",
},
- owner: {
+ team_slug: {
required: true,
type: "string",
},
- repo: {
+ username: {
required: true,
type: "string",
},
- team_ids: {
- type: "integer[]",
- },
},
- url: "/repos/:owner/:repo/transfer",
+ url: "/orgs/:org/teams/:team_slug/memberships/:username",
},
- update: {
- method: "PATCH",
+ getMembershipLegacy: {
+ deprecated:
+ "octokit.teams.getMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-membership-legacy",
+ method: "GET",
params: {
- allow_merge_commit: {
- type: "boolean",
- },
- allow_rebase_merge: {
- type: "boolean",
- },
- allow_squash_merge: {
- type: "boolean",
+ team_id: {
+ required: true,
+ type: "integer",
},
- archived: {
- type: "boolean",
+ username: {
+ required: true,
+ type: "string",
},
- default_branch: {
+ },
+ url: "/teams/:team_id/memberships/:username",
+ },
+ list: {
+ method: "GET",
+ params: {
+ org: {
+ required: true,
type: "string",
},
- delete_branch_on_merge: {
- type: "boolean",
+ page: {
+ type: "integer",
},
- description: {
- type: "string",
+ per_page: {
+ type: "integer",
},
- has_issues: {
- type: "boolean",
+ },
+ url: "/orgs/:org/teams",
+ },
+ listChild: {
+ deprecated:
+ "octokit.teams.listChild() has been renamed to octokit.teams.listChildLegacy() (2020-01-16)",
+ method: "GET",
+ params: {
+ page: {
+ type: "integer",
},
- has_projects: {
- type: "boolean",
+ per_page: {
+ type: "integer",
},
- has_wiki: {
- type: "boolean",
+ team_id: {
+ required: true,
+ type: "integer",
},
- homepage: {
+ },
+ url: "/teams/:team_id/teams",
+ },
+ listChildInOrg: {
+ method: "GET",
+ params: {
+ org: {
+ required: true,
type: "string",
},
- is_template: {
- type: "boolean",
+ page: {
+ type: "integer",
},
- name: {
- type: "string",
+ per_page: {
+ type: "integer",
},
- owner: {
+ team_slug: {
required: true,
type: "string",
},
- private: {
- type: "boolean",
- },
- repo: {
- required: true,
- type: "string",
- },
- visibility: {
- enum: ["public", "private", "visibility", "internal"],
- type: "string",
- },
},
- url: "/repos/:owner/:repo",
+ url: "/orgs/:org/teams/:team_slug/teams",
},
- updateBranchProtection: {
- method: "PUT",
+ listChildLegacy: {
+ deprecated:
+ "octokit.teams.listChildLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-child-teams-legacy",
+ method: "GET",
params: {
- allow_deletions: {
- type: "boolean",
- },
- allow_force_pushes: {
- allowNull: true,
- type: "boolean",
- },
- branch: {
- required: true,
- type: "string",
+ page: {
+ type: "integer",
},
- enforce_admins: {
- allowNull: true,
- required: true,
- type: "boolean",
+ per_page: {
+ type: "integer",
},
- owner: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- repo: {
- required: true,
+ },
+ url: "/teams/:team_id/teams",
+ },
+ listDiscussionComments: {
+ deprecated:
+ "octokit.teams.listDiscussionComments() has been renamed to octokit.teams.listDiscussionCommentsLegacy() (2020-01-16)",
+ method: "GET",
+ params: {
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
- required_linear_history: {
- type: "boolean",
- },
- required_pull_request_reviews: {
- allowNull: true,
+ discussion_number: {
required: true,
- type: "object",
- },
- "required_pull_request_reviews.dismiss_stale_reviews": {
- type: "boolean",
- },
- "required_pull_request_reviews.dismissal_restrictions": {
- type: "object",
- },
- "required_pull_request_reviews.dismissal_restrictions.teams": {
- type: "string[]",
- },
- "required_pull_request_reviews.dismissal_restrictions.users": {
- type: "string[]",
- },
- "required_pull_request_reviews.require_code_owner_reviews": {
- type: "boolean",
- },
- "required_pull_request_reviews.required_approving_review_count": {
type: "integer",
},
- required_status_checks: {
- allowNull: true,
- required: true,
- type: "object",
- },
- "required_status_checks.contexts": {
- required: true,
- type: "string[]",
- },
- "required_status_checks.strict": {
- required: true,
- type: "boolean",
- },
- restrictions: {
- allowNull: true,
- required: true,
- type: "object",
- },
- "restrictions.apps": {
- type: "string[]",
+ page: {
+ type: "integer",
},
- "restrictions.teams": {
- required: true,
- type: "string[]",
+ per_page: {
+ type: "integer",
},
- "restrictions.users": {
+ team_id: {
required: true,
- type: "string[]",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/branches/:branch/protection",
+ url: "/teams/:team_id/discussions/:discussion_number/comments",
},
- updateCommitComment: {
- method: "PATCH",
+ listDiscussionCommentsInOrg: {
+ method: "GET",
params: {
- body: {
- required: true,
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
- comment_id: {
+ discussion_number: {
required: true,
type: "integer",
},
- owner: {
+ org: {
required: true,
type: "string",
},
- repo: {
+ page: {
+ type: "integer",
+ },
+ per_page: {
+ type: "integer",
+ },
+ team_slug: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/comments/:comment_id",
+ url:
+ "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments",
},
- updateFile: {
+ listDiscussionCommentsLegacy: {
deprecated:
- "octokit.repos.updateFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",
- method: "PUT",
+ "octokit.teams.listDiscussionCommentsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#list-comments-legacy",
+ method: "GET",
params: {
- author: {
- type: "object",
- },
- "author.email": {
- required: true,
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
- "author.name": {
+ discussion_number: {
required: true,
- type: "string",
- },
- branch: {
- type: "string",
- },
- committer: {
- type: "object",
+ type: "integer",
},
- "committer.email": {
- required: true,
- type: "string",
+ page: {
+ type: "integer",
},
- "committer.name": {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
- content: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
- message: {
- required: true,
+ },
+ url: "/teams/:team_id/discussions/:discussion_number/comments",
+ },
+ listDiscussions: {
+ deprecated:
+ "octokit.teams.listDiscussions() has been renamed to octokit.teams.listDiscussionsLegacy() (2020-01-16)",
+ method: "GET",
+ params: {
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
- owner: {
- required: true,
- type: "string",
+ page: {
+ type: "integer",
},
- path: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
- repo: {
+ team_id: {
required: true,
- type: "string",
- },
- sha: {
- type: "string",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/contents/:path",
+ url: "/teams/:team_id/discussions",
},
- updateHook: {
- method: "PATCH",
+ listDiscussionsInOrg: {
+ method: "GET",
params: {
- active: {
- type: "boolean",
- },
- add_events: {
- type: "string[]",
- },
- config: {
- type: "object",
- },
- "config.content_type": {
- type: "string",
- },
- "config.insecure_ssl": {
- type: "string",
- },
- "config.secret": {
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
- "config.url": {
+ org: {
required: true,
type: "string",
},
- events: {
- type: "string[]",
- },
- hook_id: {
- required: true,
+ page: {
type: "integer",
},
- owner: {
- required: true,
- type: "string",
- },
- remove_events: {
- type: "string[]",
+ per_page: {
+ type: "integer",
},
- repo: {
+ team_slug: {
required: true,
type: "string",
},
},
- url: "/repos/:owner/:repo/hooks/:hook_id",
+ url: "/orgs/:org/teams/:team_slug/discussions",
},
- updateInformationAboutPagesSite: {
- method: "PUT",
+ listDiscussionsLegacy: {
+ deprecated:
+ "octokit.teams.listDiscussionsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#list-discussions-legacy",
+ method: "GET",
params: {
- cname: {
+ direction: {
+ enum: ["asc", "desc"],
type: "string",
},
- owner: {
- required: true,
- type: "string",
+ page: {
+ type: "integer",
},
- repo: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
- source: {
- enum: ['"gh-pages"', '"master"', '"master /docs"'],
- type: "string",
+ team_id: {
+ required: true,
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/pages",
+ url: "/teams/:team_id/discussions",
},
- updateInvitation: {
- method: "PATCH",
+ listForAuthenticatedUser: {
+ method: "GET",
params: {
- invitation_id: {
- required: true,
+ page: {
type: "integer",
},
- owner: {
- required: true,
- type: "string",
- },
- permissions: {
- enum: ["read", "write", "admin"],
- type: "string",
- },
- repo: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/invitations/:invitation_id",
+ url: "/user/teams",
},
- updateProtectedBranchPullRequestReviewEnforcement: {
- method: "PATCH",
+ listMembers: {
+ deprecated:
+ "octokit.teams.listMembers() has been renamed to octokit.teams.listMembersLegacy() (2020-01-16)",
+ method: "GET",
params: {
- branch: {
- required: true,
- type: "string",
- },
- dismiss_stale_reviews: {
- type: "boolean",
- },
- dismissal_restrictions: {
- type: "object",
- },
- "dismissal_restrictions.teams": {
- type: "string[]",
+ page: {
+ type: "integer",
},
- "dismissal_restrictions.users": {
- type: "string[]",
+ per_page: {
+ type: "integer",
},
- owner: {
- required: true,
+ role: {
+ enum: ["member", "maintainer", "all"],
type: "string",
},
- repo: {
+ team_id: {
required: true,
- type: "string",
- },
- require_code_owner_reviews: {
- type: "boolean",
- },
- required_approving_review_count: {
type: "integer",
},
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews",
+ url: "/teams/:team_id/members",
},
- updateProtectedBranchRequiredStatusChecks: {
- method: "PATCH",
+ listMembersInOrg: {
+ method: "GET",
params: {
- branch: {
+ org: {
required: true,
type: "string",
},
- contexts: {
- type: "string[]",
+ page: {
+ type: "integer",
},
- owner: {
- required: true,
+ per_page: {
+ type: "integer",
+ },
+ role: {
+ enum: ["member", "maintainer", "all"],
type: "string",
},
- repo: {
+ team_slug: {
required: true,
type: "string",
},
- strict: {
- type: "boolean",
- },
},
- url:
- "/repos/:owner/:repo/branches/:branch/protection/required_status_checks",
+ url: "/orgs/:org/teams/:team_slug/members",
},
- updateRelease: {
- method: "PATCH",
+ listMembersLegacy: {
+ deprecated:
+ "octokit.teams.listMembersLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-team-members-legacy",
+ method: "GET",
params: {
- body: {
- type: "string",
- },
- draft: {
- type: "boolean",
+ page: {
+ type: "integer",
},
- name: {
- type: "string",
+ per_page: {
+ type: "integer",
},
- owner: {
- required: true,
+ role: {
+ enum: ["member", "maintainer", "all"],
type: "string",
},
- prerelease: {
- type: "boolean",
- },
- release_id: {
+ team_id: {
required: true,
type: "integer",
},
- repo: {
- required: true,
- type: "string",
- },
- tag_name: {
- type: "string",
- },
- target_commitish: {
- type: "string",
- },
},
- url: "/repos/:owner/:repo/releases/:release_id",
+ url: "/teams/:team_id/members",
},
- updateReleaseAsset: {
- method: "PATCH",
+ listPendingInvitations: {
+ deprecated:
+ "octokit.teams.listPendingInvitations() has been renamed to octokit.teams.listPendingInvitationsLegacy() (2020-01-16)",
+ method: "GET",
params: {
- asset_id: {
- required: true,
+ page: {
type: "integer",
},
- label: {
- type: "string",
- },
- name: {
- type: "string",
- },
- owner: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
- repo: {
+ team_id: {
required: true,
- type: "string",
+ type: "integer",
},
},
- url: "/repos/:owner/:repo/releases/assets/:asset_id",
+ url: "/teams/:team_id/invitations",
},
- uploadReleaseAsset: {
- method: "POST",
+ listPendingInvitationsInOrg: {
+ method: "GET",
params: {
- data: {
- mapTo: "data",
- required: true,
- type: "string | object",
- },
- file: {
- alias: "data",
- deprecated: true,
- type: "string | object",
- },
- headers: {
- required: true,
- type: "object",
- },
- "headers.content-length": {
- required: true,
- type: "integer",
- },
- "headers.content-type": {
+ org: {
required: true,
type: "string",
},
- label: {
- type: "string",
+ page: {
+ type: "integer",
},
- name: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
- url: {
+ team_slug: {
required: true,
type: "string",
},
},
- url: ":url",
+ url: "/orgs/:org/teams/:team_slug/invitations",
},
- },
- search: {
- code: {
+ listPendingInvitationsLegacy: {
+ deprecated:
+ "octokit.teams.listPendingInvitationsLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy",
method: "GET",
params: {
- order: {
- enum: ["desc", "asc"],
- type: "string",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- q: {
+ team_id: {
required: true,
- type: "string",
- },
- sort: {
- enum: ["indexed"],
- type: "string",
+ type: "integer",
},
},
- url: "/search/code",
+ url: "/teams/:team_id/invitations",
},
- commits: {
+ listProjects: {
+ deprecated:
+ "octokit.teams.listProjects() has been renamed to octokit.teams.listProjectsLegacy() (2020-01-16)",
headers: {
- accept: "application/vnd.github.cloak-preview+json",
+ accept: "application/vnd.github.inertia-preview+json",
},
method: "GET",
params: {
- order: {
- enum: ["desc", "asc"],
- type: "string",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- q: {
+ team_id: {
required: true,
- type: "string",
- },
- sort: {
- enum: ["author-date", "committer-date"],
- type: "string",
+ type: "integer",
},
},
- url: "/search/commits",
+ url: "/teams/:team_id/projects",
},
- issues: {
- deprecated:
- "octokit.search.issues() has been renamed to octokit.search.issuesAndPullRequests() (2018-12-27)",
+ listProjectsInOrg: {
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
method: "GET",
params: {
- order: {
- enum: ["desc", "asc"],
+ org: {
+ required: true,
type: "string",
},
page: {
@@ -23852,92 +17606,57 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- q: {
+ team_slug: {
required: true,
type: "string",
},
- sort: {
- enum: [
- "comments",
- "reactions",
- "reactions-+1",
- "reactions--1",
- "reactions-smile",
- "reactions-thinking_face",
- "reactions-heart",
- "reactions-tada",
- "interactions",
- "created",
- "updated",
- ],
- type: "string",
- },
},
- url: "/search/issues",
+ url: "/orgs/:org/teams/:team_slug/projects",
},
- issuesAndPullRequests: {
+ listProjectsLegacy: {
+ deprecated:
+ "octokit.teams.listProjectsLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-projects-legacy",
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
method: "GET",
params: {
- order: {
- enum: ["desc", "asc"],
- type: "string",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- q: {
+ team_id: {
required: true,
- type: "string",
- },
- sort: {
- enum: [
- "comments",
- "reactions",
- "reactions-+1",
- "reactions--1",
- "reactions-smile",
- "reactions-thinking_face",
- "reactions-heart",
- "reactions-tada",
- "interactions",
- "created",
- "updated",
- ],
- type: "string",
+ type: "integer",
},
},
- url: "/search/issues",
+ url: "/teams/:team_id/projects",
},
- labels: {
+ listRepos: {
+ deprecated:
+ "octokit.teams.listRepos() has been renamed to octokit.teams.listReposLegacy() (2020-01-16)",
method: "GET",
params: {
- order: {
- enum: ["desc", "asc"],
- type: "string",
+ page: {
+ type: "integer",
},
- q: {
- required: true,
- type: "string",
+ per_page: {
+ type: "integer",
},
- repository_id: {
+ team_id: {
required: true,
type: "integer",
},
- sort: {
- enum: ["created", "updated"],
- type: "string",
- },
},
- url: "/search/labels",
+ url: "/teams/:team_id/repos",
},
- repos: {
+ listReposInOrg: {
method: "GET",
params: {
- order: {
- enum: ["desc", "asc"],
+ org: {
+ required: true,
type: "string",
},
page: {
@@ -23946,57 +17665,35 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- q: {
- required: true,
- type: "string",
- },
- sort: {
- enum: ["stars", "forks", "help-wanted-issues", "updated"],
- type: "string",
- },
- },
- url: "/search/repositories",
- },
- topics: {
- method: "GET",
- params: {
- q: {
+ team_slug: {
required: true,
type: "string",
},
},
- url: "/search/topics",
+ url: "/orgs/:org/teams/:team_slug/repos",
},
- users: {
+ listReposLegacy: {
+ deprecated:
+ "octokit.teams.listReposLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-repos-legacy",
method: "GET",
params: {
- order: {
- enum: ["desc", "asc"],
- type: "string",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- q: {
+ team_id: {
required: true,
- type: "string",
- },
- sort: {
- enum: ["followers", "repositories", "joined"],
- type: "string",
+ type: "integer",
},
},
- url: "/search/users",
+ url: "/teams/:team_id/repos",
},
- },
- teams: {
- addMember: {
+ removeMember: {
deprecated:
- "octokit.teams.addMember() has been renamed to octokit.teams.addMemberLegacy() (2020-01-16)",
- method: "PUT",
+ "octokit.teams.removeMember() has been renamed to octokit.teams.removeMemberLegacy() (2020-01-16)",
+ method: "DELETE",
params: {
team_id: {
required: true,
@@ -24009,10 +17706,10 @@ module.exports = /******/ (function (modules, runtime) {
},
url: "/teams/:team_id/members/:username",
},
- addMemberLegacy: {
+ removeMemberLegacy: {
deprecated:
- "octokit.teams.addMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-team-member-legacy",
- method: "PUT",
+ "octokit.teams.removeMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-member-legacy",
+ method: "DELETE",
params: {
team_id: {
required: true,
@@ -24025,15 +17722,11 @@ module.exports = /******/ (function (modules, runtime) {
},
url: "/teams/:team_id/members/:username",
},
- addOrUpdateMembership: {
+ removeMembership: {
deprecated:
- "octokit.teams.addOrUpdateMembership() has been renamed to octokit.teams.addOrUpdateMembershipLegacy() (2020-01-16)",
- method: "PUT",
+ "octokit.teams.removeMembership() has been renamed to octokit.teams.removeMembershipLegacy() (2020-01-16)",
+ method: "DELETE",
params: {
- role: {
- enum: ["member", "maintainer"],
- type: "string",
- },
team_id: {
required: true,
type: "integer",
@@ -24045,17 +17738,13 @@ module.exports = /******/ (function (modules, runtime) {
},
url: "/teams/:team_id/memberships/:username",
},
- addOrUpdateMembershipInOrg: {
- method: "PUT",
+ removeMembershipInOrg: {
+ method: "DELETE",
params: {
org: {
required: true,
type: "string",
},
- role: {
- enum: ["member", "maintainer"],
- type: "string",
- },
team_slug: {
required: true,
type: "string",
@@ -24067,15 +17756,11 @@ module.exports = /******/ (function (modules, runtime) {
},
url: "/orgs/:org/teams/:team_slug/memberships/:username",
},
- addOrUpdateMembershipLegacy: {
+ removeMembershipLegacy: {
deprecated:
- "octokit.teams.addOrUpdateMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-legacy",
- method: "PUT",
+ "octokit.teams.removeMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-membership-legacy",
+ method: "DELETE",
params: {
- role: {
- enum: ["member", "maintainer"],
- type: "string",
- },
team_id: {
required: true,
type: "integer",
@@ -24087,18 +17772,11 @@ module.exports = /******/ (function (modules, runtime) {
},
url: "/teams/:team_id/memberships/:username",
},
- addOrUpdateProject: {
+ removeProject: {
deprecated:
- "octokit.teams.addOrUpdateProject() has been renamed to octokit.teams.addOrUpdateProjectLegacy() (2020-01-16)",
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "PUT",
+ "octokit.teams.removeProject() has been renamed to octokit.teams.removeProjectLegacy() (2020-01-16)",
+ method: "DELETE",
params: {
- permission: {
- enum: ["read", "write", "admin"],
- type: "string",
- },
project_id: {
required: true,
type: "integer",
@@ -24110,20 +17788,13 @@ module.exports = /******/ (function (modules, runtime) {
},
url: "/teams/:team_id/projects/:project_id",
},
- addOrUpdateProjectInOrg: {
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "PUT",
+ removeProjectInOrg: {
+ method: "DELETE",
params: {
org: {
required: true,
type: "string",
},
- permission: {
- enum: ["read", "write", "admin"],
- type: "string",
- },
project_id: {
required: true,
type: "integer",
@@ -24135,18 +17806,11 @@ module.exports = /******/ (function (modules, runtime) {
},
url: "/orgs/:org/teams/:team_slug/projects/:project_id",
},
- addOrUpdateProjectLegacy: {
+ removeProjectLegacy: {
deprecated:
- "octokit.teams.addOrUpdateProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-project-legacy",
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "PUT",
+ "octokit.teams.removeProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-project-legacy",
+ method: "DELETE",
params: {
- permission: {
- enum: ["read", "write", "admin"],
- type: "string",
- },
project_id: {
required: true,
type: "integer",
@@ -24158,19 +17822,15 @@ module.exports = /******/ (function (modules, runtime) {
},
url: "/teams/:team_id/projects/:project_id",
},
- addOrUpdateRepo: {
+ removeRepo: {
deprecated:
- "octokit.teams.addOrUpdateRepo() has been renamed to octokit.teams.addOrUpdateRepoLegacy() (2020-01-16)",
- method: "PUT",
+ "octokit.teams.removeRepo() has been renamed to octokit.teams.removeRepoLegacy() (2020-01-16)",
+ method: "DELETE",
params: {
owner: {
required: true,
type: "string",
},
- permission: {
- enum: ["pull", "push", "admin"],
- type: "string",
- },
repo: {
required: true,
type: "string",
@@ -24182,8 +17842,8 @@ module.exports = /******/ (function (modules, runtime) {
},
url: "/teams/:team_id/repos/:owner/:repo",
},
- addOrUpdateRepoInOrg: {
- method: "PUT",
+ removeRepoInOrg: {
+ method: "DELETE",
params: {
org: {
required: true,
@@ -24193,10 +17853,6 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "string",
},
- permission: {
- enum: ["pull", "push", "admin"],
- type: "string",
- },
repo: {
required: true,
type: "string",
@@ -24208,19 +17864,15 @@ module.exports = /******/ (function (modules, runtime) {
},
url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo",
},
- addOrUpdateRepoLegacy: {
+ removeRepoLegacy: {
deprecated:
- "octokit.teams.addOrUpdateRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-repository-legacy",
- method: "PUT",
+ "octokit.teams.removeRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-repository-legacy",
+ method: "DELETE",
params: {
owner: {
required: true,
type: "string",
},
- permission: {
- enum: ["pull", "push", "admin"],
- type: "string",
- },
repo: {
required: true,
type: "string",
@@ -24232,85 +17884,77 @@ module.exports = /******/ (function (modules, runtime) {
},
url: "/teams/:team_id/repos/:owner/:repo",
},
- checkManagesRepo: {
+ reviewProject: {
deprecated:
- "octokit.teams.checkManagesRepo() has been renamed to octokit.teams.checkManagesRepoLegacy() (2020-01-16)",
+ "octokit.teams.reviewProject() has been renamed to octokit.teams.reviewProjectLegacy() (2020-01-16)",
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
method: "GET",
params: {
- owner: {
- required: true,
- type: "string",
- },
- repo: {
+ project_id: {
required: true,
- type: "string",
+ type: "integer",
},
team_id: {
required: true,
type: "integer",
},
},
- url: "/teams/:team_id/repos/:owner/:repo",
+ url: "/teams/:team_id/projects/:project_id",
},
- checkManagesRepoInOrg: {
+ reviewProjectInOrg: {
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
method: "GET",
params: {
org: {
required: true,
type: "string",
},
- owner: {
- required: true,
- type: "string",
- },
- repo: {
+ project_id: {
required: true,
- type: "string",
+ type: "integer",
},
team_slug: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo",
+ url: "/orgs/:org/teams/:team_slug/projects/:project_id",
},
- checkManagesRepoLegacy: {
+ reviewProjectLegacy: {
deprecated:
- "octokit.teams.checkManagesRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository-legacy",
+ "octokit.teams.reviewProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#review-a-team-project-legacy",
+ headers: {
+ accept: "application/vnd.github.inertia-preview+json",
+ },
method: "GET",
params: {
- owner: {
- required: true,
- type: "string",
- },
- repo: {
+ project_id: {
required: true,
- type: "string",
+ type: "integer",
},
team_id: {
required: true,
type: "integer",
},
},
- url: "/teams/:team_id/repos/:owner/:repo",
+ url: "/teams/:team_id/projects/:project_id",
},
- create: {
- method: "POST",
+ update: {
+ deprecated:
+ "octokit.teams.update() has been renamed to octokit.teams.updateLegacy() (2020-01-16)",
+ method: "PATCH",
params: {
description: {
type: "string",
},
- maintainers: {
- type: "string[]",
- },
name: {
required: true,
type: "string",
},
- org: {
- required: true,
- type: "string",
- },
parent_team_id: {
type: "integer",
},
@@ -24322,44 +17966,48 @@ module.exports = /******/ (function (modules, runtime) {
enum: ["secret", "closed"],
type: "string",
},
- repo_names: {
- type: "string[]",
+ team_id: {
+ required: true,
+ type: "integer",
},
},
- url: "/orgs/:org/teams",
+ url: "/teams/:team_id",
},
- createDiscussion: {
+ updateDiscussion: {
deprecated:
- "octokit.teams.createDiscussion() has been renamed to octokit.teams.createDiscussionLegacy() (2020-01-16)",
- method: "POST",
+ "octokit.teams.updateDiscussion() has been renamed to octokit.teams.updateDiscussionLegacy() (2020-01-16)",
+ method: "PATCH",
params: {
body: {
- required: true,
type: "string",
},
- private: {
- type: "boolean",
+ discussion_number: {
+ required: true,
+ type: "integer",
},
team_id: {
required: true,
type: "integer",
},
title: {
- required: true,
type: "string",
},
},
- url: "/teams/:team_id/discussions",
+ url: "/teams/:team_id/discussions/:discussion_number",
},
- createDiscussionComment: {
+ updateDiscussionComment: {
deprecated:
- "octokit.teams.createDiscussionComment() has been renamed to octokit.teams.createDiscussionCommentLegacy() (2020-01-16)",
- method: "POST",
+ "octokit.teams.updateDiscussionComment() has been renamed to octokit.teams.updateDiscussionCommentLegacy() (2020-01-16)",
+ method: "PATCH",
params: {
body: {
required: true,
type: "string",
},
+ comment_number: {
+ required: true,
+ type: "integer",
+ },
discussion_number: {
required: true,
type: "integer",
@@ -24369,15 +18017,20 @@ module.exports = /******/ (function (modules, runtime) {
type: "integer",
},
},
- url: "/teams/:team_id/discussions/:discussion_number/comments",
+ url:
+ "/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
},
- createDiscussionCommentInOrg: {
- method: "POST",
+ updateDiscussionCommentInOrg: {
+ method: "PATCH",
params: {
body: {
required: true,
type: "string",
},
+ comment_number: {
+ required: true,
+ type: "integer",
+ },
discussion_number: {
required: true,
type: "integer",
@@ -24392,17 +18045,21 @@ module.exports = /******/ (function (modules, runtime) {
},
},
url:
- "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments",
+ "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number",
},
- createDiscussionCommentLegacy: {
+ updateDiscussionCommentLegacy: {
deprecated:
- "octokit.teams.createDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#create-a-comment-legacy",
- method: "POST",
+ "octokit.teams.updateDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#edit-a-comment-legacy",
+ method: "PATCH",
params: {
body: {
required: true,
type: "string",
},
+ comment_number: {
+ required: true,
+ type: "integer",
+ },
discussion_number: {
required: true,
type: "integer",
@@ -24412,73 +18069,41 @@ module.exports = /******/ (function (modules, runtime) {
type: "integer",
},
},
- url: "/teams/:team_id/discussions/:discussion_number/comments",
+ url:
+ "/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
},
- createDiscussionInOrg: {
- method: "POST",
+ updateDiscussionInOrg: {
+ method: "PATCH",
params: {
body: {
- required: true,
type: "string",
},
+ discussion_number: {
+ required: true,
+ type: "integer",
+ },
org: {
required: true,
type: "string",
},
- private: {
- type: "boolean",
- },
team_slug: {
required: true,
type: "string",
},
title: {
- required: true,
type: "string",
},
},
- url: "/orgs/:org/teams/:team_slug/discussions",
+ url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number",
},
- createDiscussionLegacy: {
+ updateDiscussionLegacy: {
deprecated:
- "octokit.teams.createDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy",
- method: "POST",
+ "octokit.teams.updateDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#edit-a-discussion-legacy",
+ method: "PATCH",
params: {
body: {
- required: true,
- type: "string",
- },
- private: {
- type: "boolean",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- title: {
- required: true,
type: "string",
},
- },
- url: "/teams/:team_id/discussions",
- },
- delete: {
- deprecated:
- "octokit.teams.delete() has been renamed to octokit.teams.deleteLegacy() (2020-01-16)",
- method: "DELETE",
- params: {
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id",
- },
- deleteDiscussion: {
- deprecated:
- "octokit.teams.deleteDiscussion() has been renamed to octokit.teams.deleteDiscussionLegacy() (2020-01-16)",
- method: "DELETE",
- params: {
discussion_number: {
required: true,
type: "integer",
@@ -24487,43 +18112,35 @@ module.exports = /******/ (function (modules, runtime) {
required: true,
type: "integer",
},
+ title: {
+ type: "string",
+ },
},
url: "/teams/:team_id/discussions/:discussion_number",
},
- deleteDiscussionComment: {
- deprecated:
- "octokit.teams.deleteDiscussionComment() has been renamed to octokit.teams.deleteDiscussionCommentLegacy() (2020-01-16)",
- method: "DELETE",
+ updateInOrg: {
+ method: "PATCH",
params: {
- comment_number: {
- required: true,
- type: "integer",
+ description: {
+ type: "string",
},
- discussion_number: {
+ name: {
required: true,
- type: "integer",
+ type: "string",
},
- team_id: {
+ org: {
required: true,
- type: "integer",
+ type: "string",
},
- },
- url:
- "/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
- },
- deleteDiscussionCommentInOrg: {
- method: "DELETE",
- params: {
- comment_number: {
- required: true,
+ parent_team_id: {
type: "integer",
},
- discussion_number: {
- required: true,
- type: "integer",
+ permission: {
+ enum: ["pull", "push", "admin"],
+ type: "string",
},
- org: {
- required: true,
+ privacy: {
+ enum: ["secret", "closed"],
type: "string",
},
team_slug: {
@@ -24531,300 +18148,178 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url:
- "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number",
+ url: "/orgs/:org/teams/:team_slug",
},
- deleteDiscussionCommentLegacy: {
+ updateLegacy: {
deprecated:
- "octokit.teams.deleteDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#delete-a-comment-legacy",
- method: "DELETE",
+ "octokit.teams.updateLegacy() is deprecated, see https://developer.github.com/v3/teams/#edit-team-legacy",
+ method: "PATCH",
params: {
- comment_number: {
- required: true,
- type: "integer",
+ description: {
+ type: "string",
},
- discussion_number: {
+ name: {
required: true,
+ type: "string",
+ },
+ parent_team_id: {
type: "integer",
},
+ permission: {
+ enum: ["pull", "push", "admin"],
+ type: "string",
+ },
+ privacy: {
+ enum: ["secret", "closed"],
+ type: "string",
+ },
team_id: {
required: true,
type: "integer",
},
},
- url:
- "/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
+ url: "/teams/:team_id",
},
- deleteDiscussionInOrg: {
- method: "DELETE",
+ },
+ users: {
+ addEmails: {
+ method: "POST",
params: {
- discussion_number: {
+ emails: {
required: true,
- type: "integer",
+ type: "string[]",
},
- org: {
+ },
+ url: "/user/emails",
+ },
+ block: {
+ method: "PUT",
+ params: {
+ username: {
required: true,
type: "string",
},
- team_slug: {
+ },
+ url: "/user/blocks/:username",
+ },
+ checkBlocked: {
+ method: "GET",
+ params: {
+ username: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number",
+ url: "/user/blocks/:username",
},
- deleteDiscussionLegacy: {
- deprecated:
- "octokit.teams.deleteDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy",
- method: "DELETE",
+ checkFollowing: {
+ method: "GET",
params: {
- discussion_number: {
- required: true,
- type: "integer",
- },
- team_id: {
+ username: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/teams/:team_id/discussions/:discussion_number",
+ url: "/user/following/:username",
},
- deleteInOrg: {
- method: "DELETE",
+ checkFollowingForUser: {
+ method: "GET",
params: {
- org: {
+ target_user: {
required: true,
type: "string",
},
- team_slug: {
+ username: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/teams/:team_slug",
- },
- deleteLegacy: {
- deprecated:
- "octokit.teams.deleteLegacy() is deprecated, see https://developer.github.com/v3/teams/#delete-team-legacy",
- method: "DELETE",
- params: {
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id",
- },
- get: {
- deprecated:
- "octokit.teams.get() has been renamed to octokit.teams.getLegacy() (2020-01-16)",
- method: "GET",
- params: {
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id",
+ url: "/users/:username/following/:target_user",
},
- getByName: {
- method: "GET",
+ createGpgKey: {
+ method: "POST",
params: {
- org: {
- required: true,
- type: "string",
- },
- team_slug: {
- required: true,
+ armored_public_key: {
type: "string",
},
},
- url: "/orgs/:org/teams/:team_slug",
- },
- getDiscussion: {
- deprecated:
- "octokit.teams.getDiscussion() has been renamed to octokit.teams.getDiscussionLegacy() (2020-01-16)",
- method: "GET",
- params: {
- discussion_number: {
- required: true,
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id/discussions/:discussion_number",
- },
- getDiscussionComment: {
- deprecated:
- "octokit.teams.getDiscussionComment() has been renamed to octokit.teams.getDiscussionCommentLegacy() (2020-01-16)",
- method: "GET",
- params: {
- comment_number: {
- required: true,
- type: "integer",
- },
- discussion_number: {
- required: true,
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url:
- "/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
+ url: "/user/gpg_keys",
},
- getDiscussionCommentInOrg: {
- method: "GET",
+ createPublicKey: {
+ method: "POST",
params: {
- comment_number: {
- required: true,
- type: "integer",
- },
- discussion_number: {
- required: true,
- type: "integer",
- },
- org: {
- required: true,
+ key: {
type: "string",
},
- team_slug: {
- required: true,
+ title: {
type: "string",
},
},
- url:
- "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number",
- },
- getDiscussionCommentLegacy: {
- deprecated:
- "octokit.teams.getDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#get-a-single-comment-legacy",
- method: "GET",
- params: {
- comment_number: {
- required: true,
- type: "integer",
- },
- discussion_number: {
- required: true,
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url:
- "/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
+ url: "/user/keys",
},
- getDiscussionInOrg: {
- method: "GET",
+ deleteEmails: {
+ method: "DELETE",
params: {
- discussion_number: {
- required: true,
- type: "integer",
- },
- org: {
- required: true,
- type: "string",
- },
- team_slug: {
+ emails: {
required: true,
- type: "string",
+ type: "string[]",
},
},
- url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number",
+ url: "/user/emails",
},
- getDiscussionLegacy: {
- deprecated:
- "octokit.teams.getDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#get-a-single-discussion-legacy",
- method: "GET",
+ deleteGpgKey: {
+ method: "DELETE",
params: {
- discussion_number: {
- required: true,
- type: "integer",
- },
- team_id: {
+ gpg_key_id: {
required: true,
type: "integer",
},
},
- url: "/teams/:team_id/discussions/:discussion_number",
+ url: "/user/gpg_keys/:gpg_key_id",
},
- getLegacy: {
- deprecated:
- "octokit.teams.getLegacy() is deprecated, see https://developer.github.com/v3/teams/#get-team-legacy",
- method: "GET",
+ deletePublicKey: {
+ method: "DELETE",
params: {
- team_id: {
+ key_id: {
required: true,
type: "integer",
},
},
- url: "/teams/:team_id",
+ url: "/user/keys/:key_id",
},
- getMember: {
- deprecated:
- "octokit.teams.getMember() has been renamed to octokit.teams.getMemberLegacy() (2020-01-16)",
- method: "GET",
+ follow: {
+ method: "PUT",
params: {
- team_id: {
- required: true,
- type: "integer",
- },
username: {
required: true,
type: "string",
},
},
- url: "/teams/:team_id/members/:username",
+ url: "/user/following/:username",
},
- getMemberLegacy: {
- deprecated:
- "octokit.teams.getMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-member-legacy",
+ getAuthenticated: {
method: "GET",
- params: {
- team_id: {
- required: true,
- type: "integer",
- },
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/teams/:team_id/members/:username",
+ params: {},
+ url: "/user",
},
- getMembership: {
- deprecated:
- "octokit.teams.getMembership() has been renamed to octokit.teams.getMembershipLegacy() (2020-01-16)",
+ getByUsername: {
method: "GET",
params: {
- team_id: {
- required: true,
- type: "integer",
- },
username: {
required: true,
type: "string",
},
},
- url: "/teams/:team_id/memberships/:username",
+ url: "/users/:username",
},
- getMembershipInOrg: {
+ getContextForUser: {
method: "GET",
params: {
- org: {
- required: true,
+ subject_id: {
type: "string",
},
- team_slug: {
- required: true,
+ subject_type: {
+ enum: ["organization", "repository", "issue", "pull_request"],
type: "string",
},
username: {
@@ -24832,43 +18327,29 @@ module.exports = /******/ (function (modules, runtime) {
type: "string",
},
},
- url: "/orgs/:org/teams/:team_slug/memberships/:username",
+ url: "/users/:username/hovercard",
},
- getMembershipLegacy: {
- deprecated:
- "octokit.teams.getMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-membership-legacy",
+ getGpgKey: {
method: "GET",
params: {
- team_id: {
+ gpg_key_id: {
required: true,
type: "integer",
},
- username: {
- required: true,
- type: "string",
- },
},
- url: "/teams/:team_id/memberships/:username",
+ url: "/user/gpg_keys/:gpg_key_id",
},
- list: {
+ getPublicKey: {
method: "GET",
params: {
- org: {
+ key_id: {
required: true,
- type: "string",
- },
- page: {
- type: "integer",
- },
- per_page: {
type: "integer",
},
},
- url: "/orgs/:org/teams",
+ url: "/user/keys/:key_id",
},
- listChild: {
- deprecated:
- "octokit.teams.listChild() has been renamed to octokit.teams.listChildLegacy() (2020-01-16)",
+ list: {
method: "GET",
params: {
page: {
@@ -24877,36 +18358,30 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- team_id: {
- required: true,
- type: "integer",
+ since: {
+ type: "string",
},
},
- url: "/teams/:team_id/teams",
+ url: "/users",
},
- listChildInOrg: {
+ listBlocked: {
+ method: "GET",
+ params: {},
+ url: "/user/blocks",
+ },
+ listEmails: {
method: "GET",
params: {
- org: {
- required: true,
- type: "string",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- team_slug: {
- required: true,
- type: "string",
- },
},
- url: "/orgs/:org/teams/:team_slug/teams",
+ url: "/user/emails",
},
- listChildLegacy: {
- deprecated:
- "octokit.teams.listChildLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-child-teams-legacy",
+ listFollowersForAuthenticatedUser: {
method: "GET",
params: {
page: {
@@ -24915,163 +18390,94 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- team_id: {
- required: true,
- type: "integer",
- },
},
- url: "/teams/:team_id/teams",
+ url: "/user/followers",
},
- listDiscussionComments: {
- deprecated:
- "octokit.teams.listDiscussionComments() has been renamed to octokit.teams.listDiscussionCommentsLegacy() (2020-01-16)",
+ listFollowersForUser: {
method: "GET",
params: {
- direction: {
- enum: ["asc", "desc"],
- type: "string",
- },
- discussion_number: {
- required: true,
- type: "integer",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- team_id: {
+ username: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/teams/:team_id/discussions/:discussion_number/comments",
+ url: "/users/:username/followers",
},
- listDiscussionCommentsInOrg: {
+ listFollowingForAuthenticatedUser: {
method: "GET",
params: {
- direction: {
- enum: ["asc", "desc"],
- type: "string",
- },
- discussion_number: {
- required: true,
- type: "integer",
- },
- org: {
- required: true,
- type: "string",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- team_slug: {
- required: true,
- type: "string",
- },
},
- url:
- "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments",
+ url: "/user/following",
},
- listDiscussionCommentsLegacy: {
- deprecated:
- "octokit.teams.listDiscussionCommentsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#list-comments-legacy",
+ listFollowingForUser: {
method: "GET",
params: {
- direction: {
- enum: ["asc", "desc"],
- type: "string",
- },
- discussion_number: {
- required: true,
- type: "integer",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- team_id: {
+ username: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/teams/:team_id/discussions/:discussion_number/comments",
+ url: "/users/:username/following",
},
- listDiscussions: {
- deprecated:
- "octokit.teams.listDiscussions() has been renamed to octokit.teams.listDiscussionsLegacy() (2020-01-16)",
+ listGpgKeys: {
method: "GET",
params: {
- direction: {
- enum: ["asc", "desc"],
- type: "string",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- team_id: {
- required: true,
- type: "integer",
- },
},
- url: "/teams/:team_id/discussions",
+ url: "/user/gpg_keys",
},
- listDiscussionsInOrg: {
+ listGpgKeysForUser: {
method: "GET",
params: {
- direction: {
- enum: ["asc", "desc"],
- type: "string",
- },
- org: {
- required: true,
- type: "string",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- team_slug: {
+ username: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/teams/:team_slug/discussions",
+ url: "/users/:username/gpg_keys",
},
- listDiscussionsLegacy: {
- deprecated:
- "octokit.teams.listDiscussionsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#list-discussions-legacy",
+ listPublicEmails: {
method: "GET",
params: {
- direction: {
- enum: ["asc", "desc"],
- type: "string",
- },
page: {
type: "integer",
},
per_page: {
type: "integer",
},
- team_id: {
- required: true,
- type: "integer",
- },
},
- url: "/teams/:team_id/discussions",
+ url: "/user/public_emails",
},
- listForAuthenticatedUser: {
+ listPublicKeys: {
method: "GET",
params: {
page: {
@@ -25081,11 +18487,9 @@ module.exports = /******/ (function (modules, runtime) {
type: "integer",
},
},
- url: "/user/teams",
+ url: "/user/keys",
},
- listMembers: {
- deprecated:
- "octokit.teams.listMembers() has been renamed to octokit.teams.listMembersLegacy() (2020-01-16)",
+ listPublicKeysForUser: {
method: "GET",
params: {
page: {
@@ -25094,271390 +18498,55534 @@ module.exports = /******/ (function (modules, runtime) {
per_page: {
type: "integer",
},
- role: {
- enum: ["member", "maintainer", "all"],
- type: "string",
- },
- team_id: {
+ username: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/teams/:team_id/members",
+ url: "/users/:username/keys",
},
- listMembersInOrg: {
- method: "GET",
+ togglePrimaryEmailVisibility: {
+ method: "PATCH",
params: {
- org: {
+ email: {
required: true,
type: "string",
},
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- role: {
- enum: ["member", "maintainer", "all"],
- type: "string",
- },
- team_slug: {
+ visibility: {
required: true,
type: "string",
},
},
- url: "/orgs/:org/teams/:team_slug/members",
+ url: "/user/email/visibility",
},
- listMembersLegacy: {
- deprecated:
- "octokit.teams.listMembersLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-team-members-legacy",
- method: "GET",
+ unblock: {
+ method: "DELETE",
params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- role: {
- enum: ["member", "maintainer", "all"],
- type: "string",
- },
- team_id: {
+ username: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/teams/:team_id/members",
+ url: "/user/blocks/:username",
},
- listPendingInvitations: {
- deprecated:
- "octokit.teams.listPendingInvitations() has been renamed to octokit.teams.listPendingInvitationsLegacy() (2020-01-16)",
- method: "GET",
+ unfollow: {
+ method: "DELETE",
params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- team_id: {
+ username: {
required: true,
- type: "integer",
+ type: "string",
},
},
- url: "/teams/:team_id/invitations",
+ url: "/user/following/:username",
},
- listPendingInvitationsInOrg: {
- method: "GET",
+ updateAuthenticated: {
+ method: "PATCH",
params: {
- org: {
- required: true,
+ bio: {
type: "string",
},
- page: {
- type: "integer",
+ blog: {
+ type: "string",
},
- per_page: {
- type: "integer",
+ company: {
+ type: "string",
},
- team_slug: {
- required: true,
+ email: {
type: "string",
},
- },
- url: "/orgs/:org/teams/:team_slug/invitations",
- },
- listPendingInvitationsLegacy: {
- deprecated:
- "octokit.teams.listPendingInvitationsLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy",
- method: "GET",
- params: {
- page: {
- type: "integer",
+ hireable: {
+ type: "boolean",
},
- per_page: {
- type: "integer",
+ location: {
+ type: "string",
},
- team_id: {
- required: true,
- type: "integer",
+ name: {
+ type: "string",
},
},
- url: "/teams/:team_id/invitations",
+ url: "/user",
},
- listProjects: {
- deprecated:
- "octokit.teams.listProjects() has been renamed to octokit.teams.listProjectsLegacy() (2020-01-16)",
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id/projects",
- },
- listProjectsInOrg: {
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "GET",
- params: {
- org: {
- required: true,
- type: "string",
- },
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- team_slug: {
- required: true,
- type: "string",
+ },
+ };
+
+ const VERSION = "2.4.0";
+
+ function registerEndpoints(octokit, routes) {
+ Object.keys(routes).forEach((namespaceName) => {
+ if (!octokit[namespaceName]) {
+ octokit[namespaceName] = {};
+ }
+
+ Object.keys(routes[namespaceName]).forEach((apiName) => {
+ const apiOptions = routes[namespaceName][apiName];
+ const endpointDefaults = ["method", "url", "headers"].reduce(
+ (map, key) => {
+ if (typeof apiOptions[key] !== "undefined") {
+ map[key] = apiOptions[key];
+ }
+
+ return map;
},
+ {}
+ );
+ endpointDefaults.request = {
+ validate: apiOptions.params,
+ };
+ let request = octokit.request.defaults(endpointDefaults); // patch request & endpoint methods to support deprecated parameters.
+ // Not the most elegant solution, but we don’t want to move deprecation
+ // logic into octokit/endpoint.js as it’s out of scope
+
+ const hasDeprecatedParam = Object.keys(
+ apiOptions.params || {}
+ ).find((key) => apiOptions.params[key].deprecated);
+
+ if (hasDeprecatedParam) {
+ const patch = patchForDeprecation.bind(null, octokit, apiOptions);
+ request = patch(
+ octokit.request.defaults(endpointDefaults),
+ `.${namespaceName}.${apiName}()`
+ );
+ request.endpoint = patch(
+ request.endpoint,
+ `.${namespaceName}.${apiName}.endpoint()`
+ );
+ request.endpoint.merge = patch(
+ request.endpoint.merge,
+ `.${namespaceName}.${apiName}.endpoint.merge()`
+ );
+ }
+
+ if (apiOptions.deprecated) {
+ octokit[namespaceName][apiName] = Object.assign(
+ function deprecatedEndpointMethod() {
+ octokit.log.warn(
+ new deprecation.Deprecation(
+ `[@octokit/rest] ${apiOptions.deprecated}`
+ )
+ );
+ octokit[namespaceName][apiName] = request;
+ return request.apply(null, arguments);
+ },
+ request
+ );
+ return;
+ }
+
+ octokit[namespaceName][apiName] = request;
+ });
+ });
+ }
+
+ function patchForDeprecation(octokit, apiOptions, method, methodName) {
+ const patchedMethod = (options) => {
+ options = Object.assign({}, options);
+ Object.keys(options).forEach((key) => {
+ if (apiOptions.params[key] && apiOptions.params[key].deprecated) {
+ const aliasKey = apiOptions.params[key].alias;
+ octokit.log.warn(
+ new deprecation.Deprecation(
+ `[@octokit/rest] "${key}" parameter is deprecated for "${methodName}". Use "${aliasKey}" instead`
+ )
+ );
+
+ if (!(aliasKey in options)) {
+ options[aliasKey] = options[key];
+ }
+
+ delete options[key];
+ }
+ });
+ return method(options);
+ };
+
+ Object.keys(method).forEach((key) => {
+ patchedMethod[key] = method[key];
+ });
+ return patchedMethod;
+ }
+
+ /**
+ * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary
+ * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is
+ * done, we will remove the registerEndpoints methods and return the methods
+ * directly as with the other plugins. At that point we will also remove the
+ * legacy workarounds and deprecations.
+ *
+ * See the plan at
+ * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1
+ */
+
+ function restEndpointMethods(octokit) {
+ // @ts-ignore
+ octokit.registerEndpoints = registerEndpoints.bind(null, octokit);
+ registerEndpoints(octokit, endpointsByScope); // Aliasing scopes for backward compatibility
+ // See https://github.com/octokit/rest.js/pull/1134
+
+ [
+ ["gitdata", "git"],
+ ["authorization", "oauthAuthorizations"],
+ ["pullRequests", "pulls"],
+ ].forEach(([deprecatedScope, scope]) => {
+ Object.defineProperty(octokit, deprecatedScope, {
+ get() {
+ octokit.log.warn(
+ // @ts-ignore
+ new deprecation.Deprecation(
+ `[@octokit/plugin-rest-endpoint-methods] "octokit.${deprecatedScope}.*" methods are deprecated, use "octokit.${scope}.*" instead`
+ )
+ ); // @ts-ignore
+
+ return octokit[scope];
},
- url: "/orgs/:org/teams/:team_slug/projects",
- },
- listProjectsLegacy: {
- deprecated:
- "octokit.teams.listProjectsLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-projects-legacy",
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
+ });
+ });
+ return {};
+ }
+ restEndpointMethods.VERSION = VERSION;
+
+ exports.restEndpointMethods = restEndpointMethods;
+ //# sourceMappingURL=index.js.map
+
+ /***/
+ },
+
+ /***/ 10537: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", { value: true });
+
+ function _interopDefault(ex) {
+ return ex && typeof ex === "object" && "default" in ex
+ ? ex["default"]
+ : ex;
+ }
+
+ var deprecation = __nccwpck_require__(58932);
+ var once = _interopDefault(__nccwpck_require__(1223));
+
+ const logOnce = 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;
+ Object.defineProperty(this, "code", {
+ get() {
+ logOnce(
+ new deprecation.Deprecation(
+ "[@octokit/request-error] `error.code` is deprecated, use `error.status`."
+ )
+ );
+ return statusCode;
},
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
+ });
+ this.headers = options.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;
+ }
+ }
+
+ exports.RequestError = RequestError;
+ //# sourceMappingURL=index.js.map
+
+ /***/
+ },
+
+ /***/ 36234: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", { value: true });
+
+ function _interopDefault(ex) {
+ return ex && typeof ex === "object" && "default" in ex
+ ? ex["default"]
+ : ex;
+ }
+
+ var endpoint = __nccwpck_require__(59440);
+ var universalUserAgent = __nccwpck_require__(41441);
+ var isPlainObject = _interopDefault(__nccwpck_require__(48840));
+ var nodeFetch = _interopDefault(__nccwpck_require__(80467));
+ var requestError = __nccwpck_require__(10537);
+
+ const VERSION = "5.3.4";
+
+ function getBufferResponse(response) {
+ return response.arrayBuffer();
+ }
+
+ function fetchWrapper(requestOptions) {
+ if (
+ 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,
},
- url: "/teams/:team_id/projects",
+ requestOptions.request
+ )
+ )
+ .then((response) => {
+ url = response.url;
+ status = response.status;
+
+ for (const keyAndValue of response.headers) {
+ headers[keyAndValue[0]] = keyAndValue[1];
+ }
+
+ 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, {
+ headers,
+ request: requestOptions,
+ });
+ }
+
+ if (status === 304) {
+ throw new requestError.RequestError("Not modified", status, {
+ headers,
+ request: requestOptions,
+ });
+ }
+
+ if (status >= 400) {
+ return response.text().then((message) => {
+ const error = new requestError.RequestError(message, status, {
+ headers,
+ request: requestOptions,
+ });
+
+ try {
+ let responseBody = JSON.parse(error.message);
+ Object.assign(error, responseBody);
+ let errors = responseBody.errors; // Assumption `errors` would always be in Array format
+
+ error.message =
+ error.message +
+ ": " +
+ errors.map(JSON.stringify).join(", ");
+ } catch (e) {
+ // ignore, see octokit/rest.js#684
+ }
+
+ throw error;
+ });
+ }
+
+ 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);
+ })
+ .then((data) => {
+ return {
+ status,
+ url,
+ headers,
+ data,
+ };
+ })
+ .catch((error) => {
+ if (error instanceof requestError.RequestError) {
+ throw error;
+ }
+
+ throw new requestError.RequestError(error.message, 500, {
+ headers,
+ request: requestOptions,
+ });
+ });
+ }
+
+ 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
+
+ /***/
+ },
+
+ /***/ 41441: /***/ (
+ __unused_webpack_module,
+ exports,
+ __nccwpck_require__
+ ) => {
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", { value: true });
+
+ function _interopDefault(ex) {
+ return ex && typeof ex === "object" && "default" in ex
+ ? ex["default"]
+ : ex;
+ }
+
+ var osName = _interopDefault(__nccwpck_require__(54824));
+
+ function getUserAgent() {
+ try {
+ return `Node.js/${process.version.substr(1)} (${osName()}; ${
+ process.arch
+ })`;
+ } catch (error) {
+ if (/wmic os get Caption/.test(error.message)) {
+ return "Windows ";
+ }
+
+ return "";
+ }
+ }
+
+ exports.getUserAgent = getUserAgent;
+ //# sourceMappingURL=index.js.map
+
+ /***/
+ },
+
+ /***/ 29351: /***/ (
+ module,
+ __unused_webpack_exports,
+ __nccwpck_require__
+ ) => {
+ const { requestLog } = __nccwpck_require__(68883);
+ const { restEndpointMethods } = __nccwpck_require__(83044);
+
+ const Core = __nccwpck_require__(29833);
+
+ const CORE_PLUGINS = [
+ __nccwpck_require__(64555),
+ __nccwpck_require__(33691), // deprecated: remove in v17
+ requestLog,
+ __nccwpck_require__(18579),
+ restEndpointMethods,
+ __nccwpck_require__(42657),
+
+ __nccwpck_require__(82072), // deprecated: remove in v17
+ ];
+
+ const OctokitRest = Core.plugin(CORE_PLUGINS);
+
+ function DeprecatedOctokit(options) {
+ const warn =
+ options && options.log && options.log.warn
+ ? options.log.warn
+ : console.warn;
+ warn(
+ '[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead'
+ );
+ return new OctokitRest(options);
+ }
+
+ const Octokit = Object.assign(DeprecatedOctokit, {
+ Octokit: OctokitRest,
+ });
+
+ Object.keys(OctokitRest).forEach((key) => {
+ /* istanbul ignore else */
+ if (OctokitRest.hasOwnProperty(key)) {
+ Octokit[key] = OctokitRest[key];
+ }
+ });
+
+ module.exports = Octokit;
+
+ /***/
+ },
+
+ /***/ 30823: /***/ (
+ module,
+ __unused_webpack_exports,
+ __nccwpck_require__
+ ) => {
+ module.exports = Octokit;
+
+ const { request } = __nccwpck_require__(36234);
+ const Hook = __nccwpck_require__(83682);
+
+ const parseClientOptions = __nccwpck_require__(64613);
+
+ function Octokit(plugins, options) {
+ options = options || {};
+ const hook = new Hook.Collection();
+ const log = Object.assign(
+ {
+ debug: () => {},
+ info: () => {},
+ warn: console.warn,
+ error: console.error,
},
- listRepos: {
- deprecated:
- "octokit.teams.listRepos() has been renamed to octokit.teams.listReposLegacy() (2020-01-16)",
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id/repos",
- },
- listReposInOrg: {
- method: "GET",
- params: {
- org: {
- required: true,
- type: "string",
- },
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- team_slug: {
- required: true,
- type: "string",
- },
- },
- url: "/orgs/:org/teams/:team_slug/repos",
- },
- listReposLegacy: {
- deprecated:
- "octokit.teams.listReposLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-repos-legacy",
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id/repos",
- },
- removeMember: {
- deprecated:
- "octokit.teams.removeMember() has been renamed to octokit.teams.removeMemberLegacy() (2020-01-16)",
- method: "DELETE",
- params: {
- team_id: {
- required: true,
- type: "integer",
- },
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/teams/:team_id/members/:username",
- },
- removeMemberLegacy: {
- deprecated:
- "octokit.teams.removeMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-member-legacy",
- method: "DELETE",
- params: {
- team_id: {
- required: true,
- type: "integer",
- },
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/teams/:team_id/members/:username",
- },
- removeMembership: {
- deprecated:
- "octokit.teams.removeMembership() has been renamed to octokit.teams.removeMembershipLegacy() (2020-01-16)",
- method: "DELETE",
- params: {
- team_id: {
- required: true,
- type: "integer",
- },
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/teams/:team_id/memberships/:username",
- },
- removeMembershipInOrg: {
- method: "DELETE",
- params: {
- org: {
- required: true,
- type: "string",
- },
- team_slug: {
- required: true,
- type: "string",
- },
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/orgs/:org/teams/:team_slug/memberships/:username",
- },
- removeMembershipLegacy: {
- deprecated:
- "octokit.teams.removeMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-membership-legacy",
- method: "DELETE",
- params: {
- team_id: {
- required: true,
- type: "integer",
- },
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/teams/:team_id/memberships/:username",
- },
- removeProject: {
- deprecated:
- "octokit.teams.removeProject() has been renamed to octokit.teams.removeProjectLegacy() (2020-01-16)",
- method: "DELETE",
- params: {
- project_id: {
- required: true,
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id/projects/:project_id",
- },
- removeProjectInOrg: {
- method: "DELETE",
- params: {
- org: {
- required: true,
- type: "string",
- },
- project_id: {
- required: true,
- type: "integer",
- },
- team_slug: {
- required: true,
- type: "string",
- },
- },
- url: "/orgs/:org/teams/:team_slug/projects/:project_id",
- },
- removeProjectLegacy: {
- deprecated:
- "octokit.teams.removeProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-project-legacy",
- method: "DELETE",
- params: {
- project_id: {
- required: true,
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id/projects/:project_id",
- },
- removeRepo: {
- deprecated:
- "octokit.teams.removeRepo() has been renamed to octokit.teams.removeRepoLegacy() (2020-01-16)",
- method: "DELETE",
- params: {
- owner: {
- required: true,
- type: "string",
- },
- repo: {
- required: true,
- type: "string",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id/repos/:owner/:repo",
- },
- removeRepoInOrg: {
- method: "DELETE",
- params: {
- org: {
- required: true,
- type: "string",
- },
- owner: {
- required: true,
- type: "string",
- },
- repo: {
- required: true,
- type: "string",
- },
- team_slug: {
- required: true,
- type: "string",
- },
- },
- url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo",
- },
- removeRepoLegacy: {
- deprecated:
- "octokit.teams.removeRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-repository-legacy",
- method: "DELETE",
- params: {
- owner: {
- required: true,
- type: "string",
- },
- repo: {
- required: true,
- type: "string",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id/repos/:owner/:repo",
- },
- reviewProject: {
- deprecated:
- "octokit.teams.reviewProject() has been renamed to octokit.teams.reviewProjectLegacy() (2020-01-16)",
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "GET",
- params: {
- project_id: {
- required: true,
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id/projects/:project_id",
- },
- reviewProjectInOrg: {
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "GET",
- params: {
- org: {
- required: true,
- type: "string",
- },
- project_id: {
- required: true,
- type: "integer",
- },
- team_slug: {
- required: true,
- type: "string",
- },
- },
- url: "/orgs/:org/teams/:team_slug/projects/:project_id",
- },
- reviewProjectLegacy: {
- deprecated:
- "octokit.teams.reviewProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#review-a-team-project-legacy",
- headers: {
- accept: "application/vnd.github.inertia-preview+json",
- },
- method: "GET",
- params: {
- project_id: {
- required: true,
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
+ options && options.log
+ );
+ const api = {
+ hook,
+ log,
+ request: request.defaults(parseClientOptions(options, log, hook)),
+ };
+
+ plugins.forEach((pluginFunction) => pluginFunction(api, options));
+
+ return api;
+ }
+
+ /***/
+ },
+
+ /***/ 29833: /***/ (
+ module,
+ __unused_webpack_exports,
+ __nccwpck_require__
+ ) => {
+ const factory = __nccwpck_require__(35320);
+
+ module.exports = factory();
+
+ /***/
+ },
+
+ /***/ 35320: /***/ (
+ module,
+ __unused_webpack_exports,
+ __nccwpck_require__
+ ) => {
+ module.exports = factory;
+
+ const Octokit = __nccwpck_require__(30823);
+ const registerPlugin = __nccwpck_require__(77826);
+
+ function factory(plugins) {
+ const Api = Octokit.bind(null, plugins || []);
+ Api.plugin = registerPlugin.bind(null, plugins || []);
+ return Api;
+ }
+
+ /***/
+ },
+
+ /***/ 64613: /***/ (
+ module,
+ __unused_webpack_exports,
+ __nccwpck_require__
+ ) => {
+ module.exports = parseOptions;
+
+ const { Deprecation } = __nccwpck_require__(58932);
+ const { getUserAgent } = __nccwpck_require__(45030);
+ const once = __nccwpck_require__(1223);
+
+ const pkg = __nccwpck_require__(51322);
+
+ const deprecateOptionsTimeout = once((log, deprecation) =>
+ log.warn(deprecation)
+ );
+ const deprecateOptionsAgent = once((log, deprecation) =>
+ log.warn(deprecation)
+ );
+ const deprecateOptionsHeaders = once((log, deprecation) =>
+ log.warn(deprecation)
+ );
+
+ function parseOptions(options, log, hook) {
+ if (options.headers) {
+ options.headers = Object.keys(options.headers).reduce(
+ (newObj, key) => {
+ newObj[key.toLowerCase()] = options.headers[key];
+ return newObj;
},
- url: "/teams/:team_id/projects/:project_id",
+ {}
+ );
+ }
+
+ const clientDefaults = {
+ headers: options.headers || {},
+ request: options.request || {},
+ mediaType: {
+ previews: [],
+ format: "",
},
- update: {
- deprecated:
- "octokit.teams.update() has been renamed to octokit.teams.updateLegacy() (2020-01-16)",
- method: "PATCH",
- params: {
- description: {
- type: "string",
- },
- name: {
- required: true,
- type: "string",
- },
- parent_team_id: {
- type: "integer",
- },
- permission: {
- enum: ["pull", "push", "admin"],
- type: "string",
- },
- privacy: {
- enum: ["secret", "closed"],
- type: "string",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id",
- },
- updateDiscussion: {
- deprecated:
- "octokit.teams.updateDiscussion() has been renamed to octokit.teams.updateDiscussionLegacy() (2020-01-16)",
- method: "PATCH",
- params: {
- body: {
- type: "string",
- },
- discussion_number: {
- required: true,
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- title: {
- type: "string",
- },
- },
- url: "/teams/:team_id/discussions/:discussion_number",
- },
- updateDiscussionComment: {
- deprecated:
- "octokit.teams.updateDiscussionComment() has been renamed to octokit.teams.updateDiscussionCommentLegacy() (2020-01-16)",
- method: "PATCH",
- params: {
- body: {
- required: true,
- type: "string",
- },
- comment_number: {
- required: true,
- type: "integer",
- },
- discussion_number: {
- required: true,
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url:
- "/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
- },
- updateDiscussionCommentInOrg: {
- method: "PATCH",
- params: {
- body: {
- required: true,
- type: "string",
- },
- comment_number: {
- required: true,
- type: "integer",
- },
- discussion_number: {
- required: true,
- type: "integer",
- },
- org: {
- required: true,
- type: "string",
- },
- team_slug: {
- required: true,
- type: "string",
- },
- },
- url:
- "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number",
- },
- updateDiscussionCommentLegacy: {
- deprecated:
- "octokit.teams.updateDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#edit-a-comment-legacy",
- method: "PATCH",
- params: {
- body: {
- required: true,
- type: "string",
- },
- comment_number: {
- required: true,
- type: "integer",
- },
- discussion_number: {
- required: true,
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url:
- "/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
- },
- updateDiscussionInOrg: {
- method: "PATCH",
- params: {
- body: {
- type: "string",
- },
- discussion_number: {
- required: true,
- type: "integer",
- },
- org: {
- required: true,
- type: "string",
- },
- team_slug: {
- required: true,
- type: "string",
- },
- title: {
- type: "string",
- },
- },
- url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number",
- },
- updateDiscussionLegacy: {
- deprecated:
- "octokit.teams.updateDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#edit-a-discussion-legacy",
- method: "PATCH",
- params: {
- body: {
- type: "string",
- },
- discussion_number: {
- required: true,
- type: "integer",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- title: {
- type: "string",
- },
- },
- url: "/teams/:team_id/discussions/:discussion_number",
- },
- updateInOrg: {
- method: "PATCH",
- params: {
- description: {
- type: "string",
- },
- name: {
- required: true,
- type: "string",
- },
- org: {
- required: true,
- type: "string",
- },
- parent_team_id: {
- type: "integer",
- },
- permission: {
- enum: ["pull", "push", "admin"],
- type: "string",
- },
- privacy: {
- enum: ["secret", "closed"],
- type: "string",
- },
- team_slug: {
- required: true,
- type: "string",
- },
- },
- url: "/orgs/:org/teams/:team_slug",
- },
- updateLegacy: {
- deprecated:
- "octokit.teams.updateLegacy() is deprecated, see https://developer.github.com/v3/teams/#edit-team-legacy",
- method: "PATCH",
- params: {
- description: {
- type: "string",
- },
- name: {
- required: true,
- type: "string",
- },
- parent_team_id: {
- type: "integer",
- },
- permission: {
- enum: ["pull", "push", "admin"],
- type: "string",
- },
- privacy: {
- enum: ["secret", "closed"],
- type: "string",
- },
- team_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/teams/:team_id",
- },
- },
- users: {
- addEmails: {
- method: "POST",
- params: {
- emails: {
- required: true,
- type: "string[]",
- },
- },
- url: "/user/emails",
- },
- block: {
- method: "PUT",
- params: {
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/user/blocks/:username",
- },
- checkBlocked: {
- method: "GET",
- params: {
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/user/blocks/:username",
- },
- checkFollowing: {
- method: "GET",
- params: {
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/user/following/:username",
- },
- checkFollowingForUser: {
- method: "GET",
- params: {
- target_user: {
- required: true,
- type: "string",
- },
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/users/:username/following/:target_user",
- },
- createGpgKey: {
- method: "POST",
- params: {
- armored_public_key: {
- type: "string",
- },
- },
- url: "/user/gpg_keys",
- },
- createPublicKey: {
- method: "POST",
- params: {
- key: {
- type: "string",
- },
- title: {
- type: "string",
- },
- },
- url: "/user/keys",
- },
- deleteEmails: {
- method: "DELETE",
- params: {
- emails: {
- required: true,
- type: "string[]",
- },
- },
- url: "/user/emails",
- },
- deleteGpgKey: {
- method: "DELETE",
- params: {
- gpg_key_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/user/gpg_keys/:gpg_key_id",
- },
- deletePublicKey: {
- method: "DELETE",
- params: {
- key_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/user/keys/:key_id",
- },
- follow: {
- method: "PUT",
- params: {
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/user/following/:username",
- },
- getAuthenticated: {
- method: "GET",
- params: {},
- url: "/user",
- },
- getByUsername: {
- method: "GET",
- params: {
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/users/:username",
- },
- getContextForUser: {
- method: "GET",
- params: {
- subject_id: {
- type: "string",
- },
- subject_type: {
- enum: ["organization", "repository", "issue", "pull_request"],
- type: "string",
- },
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/users/:username/hovercard",
- },
- getGpgKey: {
- method: "GET",
- params: {
- gpg_key_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/user/gpg_keys/:gpg_key_id",
- },
- getPublicKey: {
- method: "GET",
- params: {
- key_id: {
- required: true,
- type: "integer",
- },
- },
- url: "/user/keys/:key_id",
- },
- list: {
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- since: {
- type: "string",
- },
- },
- url: "/users",
- },
- listBlocked: {
- method: "GET",
- params: {},
- url: "/user/blocks",
- },
- listEmails: {
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- },
- url: "/user/emails",
- },
- listFollowersForAuthenticatedUser: {
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- },
- url: "/user/followers",
- },
- listFollowersForUser: {
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/users/:username/followers",
- },
- listFollowingForAuthenticatedUser: {
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- },
- url: "/user/following",
- },
- listFollowingForUser: {
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/users/:username/following",
- },
- listGpgKeys: {
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- },
- url: "/user/gpg_keys",
- },
- listGpgKeysForUser: {
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/users/:username/gpg_keys",
- },
- listPublicEmails: {
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- },
- url: "/user/public_emails",
- },
- listPublicKeys: {
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- },
- url: "/user/keys",
- },
- listPublicKeysForUser: {
- method: "GET",
- params: {
- page: {
- type: "integer",
- },
- per_page: {
- type: "integer",
- },
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/users/:username/keys",
- },
- togglePrimaryEmailVisibility: {
- method: "PATCH",
- params: {
- email: {
- required: true,
- type: "string",
- },
- visibility: {
- required: true,
- type: "string",
- },
- },
- url: "/user/email/visibility",
- },
- unblock: {
- method: "DELETE",
- params: {
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/user/blocks/:username",
- },
- unfollow: {
- method: "DELETE",
- params: {
- username: {
- required: true,
- type: "string",
- },
- },
- url: "/user/following/:username",
- },
- updateAuthenticated: {
- method: "PATCH",
- params: {
- bio: {
- type: "string",
- },
- blog: {
- type: "string",
- },
- company: {
- type: "string",
- },
- email: {
- type: "string",
- },
- hireable: {
- type: "boolean",
- },
- location: {
- type: "string",
- },
- name: {
- type: "string",
- },
- },
- url: "/user",
- },
- },
- };
-
- const VERSION = "2.4.0";
-
- function registerEndpoints(octokit, routes) {
- Object.keys(routes).forEach((namespaceName) => {
- if (!octokit[namespaceName]) {
- octokit[namespaceName] = {};
- }
-
- Object.keys(routes[namespaceName]).forEach((apiName) => {
- const apiOptions = routes[namespaceName][apiName];
- const endpointDefaults = ["method", "url", "headers"].reduce(
- (map, key) => {
- if (typeof apiOptions[key] !== "undefined") {
- map[key] = apiOptions[key];
- }
-
- return map;
- },
- {}
- );
- endpointDefaults.request = {
- validate: apiOptions.params,
- };
- let request = octokit.request.defaults(endpointDefaults); // patch request & endpoint methods to support deprecated parameters.
- // Not the most elegant solution, but we don’t want to move deprecation
- // logic into octokit/endpoint.js as it’s out of scope
-
- const hasDeprecatedParam = Object.keys(
- apiOptions.params || {}
- ).find((key) => apiOptions.params[key].deprecated);
-
- if (hasDeprecatedParam) {
- const patch = patchForDeprecation.bind(null, octokit, apiOptions);
- request = patch(
- octokit.request.defaults(endpointDefaults),
- `.${namespaceName}.${apiName}()`
- );
- request.endpoint = patch(
- request.endpoint,
- `.${namespaceName}.${apiName}.endpoint()`
- );
- request.endpoint.merge = patch(
- request.endpoint.merge,
- `.${namespaceName}.${apiName}.endpoint.merge()`
- );
- }
-
- if (apiOptions.deprecated) {
- octokit[namespaceName][apiName] = Object.assign(
- function deprecatedEndpointMethod() {
- octokit.log.warn(
- new deprecation.Deprecation(
- `[@octokit/rest] ${apiOptions.deprecated}`
- )
- );
- octokit[namespaceName][apiName] = request;
- return request.apply(null, arguments);
- },
- request
- );
- return;
- }
-
- octokit[namespaceName][apiName] = request;
- });
- });
- }
-
- function patchForDeprecation(octokit, apiOptions, method, methodName) {
- const patchedMethod = (options) => {
- options = Object.assign({}, options);
- Object.keys(options).forEach((key) => {
- if (apiOptions.params[key] && apiOptions.params[key].deprecated) {
- const aliasKey = apiOptions.params[key].alias;
- octokit.log.warn(
- new deprecation.Deprecation(
- `[@octokit/rest] "${key}" parameter is deprecated for "${methodName}". Use "${aliasKey}" instead`
- )
- );
-
- if (!(aliasKey in options)) {
- options[aliasKey] = options[key];
- }
-
- delete options[key];
- }
- });
- return method(options);
- };
-
- Object.keys(method).forEach((key) => {
- patchedMethod[key] = method[key];
- });
- return patchedMethod;
- }
-
- /**
- * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary
- * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is
- * done, we will remove the registerEndpoints methods and return the methods
- * directly as with the other plugins. At that point we will also remove the
- * legacy workarounds and deprecations.
- *
- * See the plan at
- * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1
- */
-
- function restEndpointMethods(octokit) {
- // @ts-ignore
- octokit.registerEndpoints = registerEndpoints.bind(null, octokit);
- registerEndpoints(octokit, endpointsByScope); // Aliasing scopes for backward compatibility
- // See https://github.com/octokit/rest.js/pull/1134
-
- [
- ["gitdata", "git"],
- ["authorization", "oauthAuthorizations"],
- ["pullRequests", "pulls"],
- ].forEach(([deprecatedScope, scope]) => {
- Object.defineProperty(octokit, deprecatedScope, {
- get() {
- octokit.log.warn(
- // @ts-ignore
- new deprecation.Deprecation(
- `[@octokit/plugin-rest-endpoint-methods] "octokit.${deprecatedScope}.*" methods are deprecated, use "octokit.${scope}.*" instead`
- )
- ); // @ts-ignore
-
- return octokit[scope];
- },
- });
- });
- return {};
- }
- restEndpointMethods.VERSION = VERSION;
-
- exports.restEndpointMethods = restEndpointMethods;
- //# sourceMappingURL=index.js.map
-
- /***/
- },
-
- /***/ 850: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = paginationMethodsPlugin;
-
- function paginationMethodsPlugin(octokit) {
- octokit.getFirstPage = __webpack_require__(3777).bind(null, octokit);
- octokit.getLastPage = __webpack_require__(3649).bind(null, octokit);
- octokit.getNextPage = __webpack_require__(6550).bind(null, octokit);
- octokit.getPreviousPage = __webpack_require__(4563).bind(null, octokit);
- octokit.hasFirstPage = __webpack_require__(1536);
- octokit.hasLastPage = __webpack_require__(3336);
- octokit.hasNextPage = __webpack_require__(3929);
- octokit.hasPreviousPage = __webpack_require__(3558);
- }
-
- /***/
- },
-
- /***/ 858: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2015-07-01",
- endpointPrefix: "marketplacecommerceanalytics",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "AWS Marketplace Commerce Analytics",
- serviceId: "Marketplace Commerce Analytics",
- signatureVersion: "v4",
- signingName: "marketplacecommerceanalytics",
- targetPrefix: "MarketplaceCommerceAnalytics20150701",
- uid: "marketplacecommerceanalytics-2015-07-01",
- },
- operations: {
- GenerateDataSet: {
- input: {
- type: "structure",
- required: [
- "dataSetType",
- "dataSetPublicationDate",
- "roleNameArn",
- "destinationS3BucketName",
- "snsTopicArn",
- ],
- members: {
- dataSetType: {},
- dataSetPublicationDate: { type: "timestamp" },
- roleNameArn: {},
- destinationS3BucketName: {},
- destinationS3Prefix: {},
- snsTopicArn: {},
- customerDefinedValues: { shape: "S8" },
- },
- },
- output: { type: "structure", members: { dataSetRequestId: {} } },
- },
- StartSupportDataExport: {
- input: {
- type: "structure",
- required: [
- "dataSetType",
- "fromDate",
- "roleNameArn",
- "destinationS3BucketName",
- "snsTopicArn",
- ],
- members: {
- dataSetType: {},
- fromDate: { type: "timestamp" },
- roleNameArn: {},
- destinationS3BucketName: {},
- destinationS3Prefix: {},
- snsTopicArn: {},
- customerDefinedValues: { shape: "S8" },
- },
- },
- output: { type: "structure", members: { dataSetRequestId: {} } },
- },
- },
- shapes: { S8: { type: "map", key: {}, value: {} } },
- };
-
- /***/
- },
-
- /***/ 872: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
-
- /**
- * 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();
- },
- });
-
- /***/
- },
-
- /***/ 877: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(8656);
- model.paginators = __webpack_require__(590).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Cloud9;
-
- /***/
- },
-
- /***/ 887: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2015-10-07",
- endpointPrefix: "events",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "Amazon EventBridge",
- serviceId: "EventBridge",
- signatureVersion: "v4",
- targetPrefix: "AWSEvents",
- uid: "eventbridge-2015-10-07",
- },
- operations: {
- ActivateEventSource: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- },
- CreateEventBus: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {}, EventSourceName: {}, Tags: { shape: "S5" } },
- },
- output: { type: "structure", members: { EventBusArn: {} } },
- },
- CreatePartnerEventSource: {
- input: {
- type: "structure",
- required: ["Name", "Account"],
- members: { Name: {}, Account: {} },
- },
- output: { type: "structure", members: { EventSourceArn: {} } },
- },
- DeactivateEventSource: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- },
- DeleteEventBus: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- },
- DeletePartnerEventSource: {
- input: {
- type: "structure",
- required: ["Name", "Account"],
- members: { Name: {}, Account: {} },
- },
- },
- DeleteRule: {
- input: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {},
- EventBusName: {},
- Force: { type: "boolean" },
- },
- },
- },
- DescribeEventBus: {
- input: { type: "structure", members: { Name: {} } },
- output: {
- type: "structure",
- members: { Name: {}, Arn: {}, Policy: {} },
- },
- },
- DescribeEventSource: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreatedBy: {},
- CreationTime: { type: "timestamp" },
- ExpirationTime: { type: "timestamp" },
- Name: {},
- State: {},
- },
- },
- },
- DescribePartnerEventSource: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: { type: "structure", members: { Arn: {}, Name: {} } },
- },
- DescribeRule: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {}, EventBusName: {} },
- },
- output: {
- type: "structure",
- members: {
- Name: {},
- Arn: {},
- EventPattern: {},
- ScheduleExpression: {},
- State: {},
- Description: {},
- RoleArn: {},
- ManagedBy: {},
- EventBusName: {},
- },
- },
- },
- DisableRule: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {}, EventBusName: {} },
- },
- },
- EnableRule: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {}, EventBusName: {} },
- },
- },
- ListEventBuses: {
- input: {
- type: "structure",
- members: {
- NamePrefix: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- EventBuses: {
- type: "list",
- member: {
- type: "structure",
- members: { Name: {}, Arn: {}, Policy: {} },
- },
- },
- NextToken: {},
- },
- },
- },
- ListEventSources: {
- input: {
- type: "structure",
- members: {
- NamePrefix: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- EventSources: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- CreatedBy: {},
- CreationTime: { type: "timestamp" },
- ExpirationTime: { type: "timestamp" },
- Name: {},
- State: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListPartnerEventSourceAccounts: {
- input: {
- type: "structure",
- required: ["EventSourceName"],
- members: {
- EventSourceName: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- PartnerEventSourceAccounts: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Account: {},
- CreationTime: { type: "timestamp" },
- ExpirationTime: { type: "timestamp" },
- State: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListPartnerEventSources: {
- input: {
- type: "structure",
- required: ["NamePrefix"],
- members: {
- NamePrefix: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- PartnerEventSources: {
- type: "list",
- member: { type: "structure", members: { Arn: {}, Name: {} } },
- },
- NextToken: {},
- },
- },
- },
- ListRuleNamesByTarget: {
- input: {
- type: "structure",
- required: ["TargetArn"],
- members: {
- TargetArn: {},
- EventBusName: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- RuleNames: { type: "list", member: {} },
- NextToken: {},
- },
- },
- },
- ListRules: {
- input: {
- type: "structure",
- members: {
- NamePrefix: {},
- EventBusName: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Rules: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- Arn: {},
- EventPattern: {},
- State: {},
- Description: {},
- ScheduleExpression: {},
- RoleArn: {},
- ManagedBy: {},
- EventBusName: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceARN"],
- members: { ResourceARN: {} },
- },
- output: { type: "structure", members: { Tags: { shape: "S5" } } },
- },
- ListTargetsByRule: {
- input: {
- type: "structure",
- required: ["Rule"],
- members: {
- Rule: {},
- EventBusName: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { Targets: { shape: "S20" }, NextToken: {} },
- },
- },
- PutEvents: {
- input: {
- type: "structure",
- required: ["Entries"],
- members: {
- Entries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Time: { type: "timestamp" },
- Source: {},
- Resources: { shape: "S2y" },
- DetailType: {},
- Detail: {},
- EventBusName: {},
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- FailedEntryCount: { type: "integer" },
- Entries: {
- type: "list",
- member: {
- type: "structure",
- members: { EventId: {}, ErrorCode: {}, ErrorMessage: {} },
- },
- },
- },
- },
- },
- PutPartnerEvents: {
- input: {
- type: "structure",
- required: ["Entries"],
- members: {
- Entries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Time: { type: "timestamp" },
- Source: {},
- Resources: { shape: "S2y" },
- DetailType: {},
- Detail: {},
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- FailedEntryCount: { type: "integer" },
- Entries: {
- type: "list",
- member: {
- type: "structure",
- members: { EventId: {}, ErrorCode: {}, ErrorMessage: {} },
- },
- },
- },
- },
- },
- PutPermission: {
- input: {
- type: "structure",
- required: ["Action", "Principal", "StatementId"],
- members: {
- EventBusName: {},
- Action: {},
- Principal: {},
- StatementId: {},
- Condition: {
- type: "structure",
- required: ["Type", "Key", "Value"],
- members: { Type: {}, Key: {}, Value: {} },
- },
- },
- },
- },
- PutRule: {
- input: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {},
- ScheduleExpression: {},
- EventPattern: {},
- State: {},
- Description: {},
- RoleArn: {},
- Tags: { shape: "S5" },
- EventBusName: {},
- },
- },
- output: { type: "structure", members: { RuleArn: {} } },
- },
- PutTargets: {
- input: {
- type: "structure",
- required: ["Rule", "Targets"],
- members: {
- Rule: {},
- EventBusName: {},
- Targets: { shape: "S20" },
- },
- },
- output: {
- type: "structure",
- members: {
- FailedEntryCount: { type: "integer" },
- FailedEntries: {
- type: "list",
- member: {
- type: "structure",
- members: { TargetId: {}, ErrorCode: {}, ErrorMessage: {} },
- },
- },
- },
- },
- },
- RemovePermission: {
- input: {
- type: "structure",
- required: ["StatementId"],
- members: { StatementId: {}, EventBusName: {} },
- },
- },
- RemoveTargets: {
- input: {
- type: "structure",
- required: ["Rule", "Ids"],
- members: {
- Rule: {},
- EventBusName: {},
- Ids: { type: "list", member: {} },
- Force: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- FailedEntryCount: { type: "integer" },
- FailedEntries: {
- type: "list",
- member: {
- type: "structure",
- members: { TargetId: {}, ErrorCode: {}, ErrorMessage: {} },
- },
- },
- },
- },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "Tags"],
- members: { ResourceARN: {}, Tags: { shape: "S5" } },
- },
- output: { type: "structure", members: {} },
- },
- TestEventPattern: {
- input: {
- type: "structure",
- required: ["EventPattern", "Event"],
- members: { EventPattern: {}, Event: {} },
- },
- output: {
- type: "structure",
- members: { Result: { type: "boolean" } },
- },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "TagKeys"],
- members: {
- ResourceARN: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S5: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- S20: {
- type: "list",
- member: {
- type: "structure",
- required: ["Id", "Arn"],
- members: {
- Id: {},
- Arn: {},
- RoleArn: {},
- Input: {},
- InputPath: {},
- InputTransformer: {
- type: "structure",
- required: ["InputTemplate"],
- members: {
- InputPathsMap: { type: "map", key: {}, value: {} },
- InputTemplate: {},
- },
- },
- KinesisParameters: {
- type: "structure",
- required: ["PartitionKeyPath"],
- members: { PartitionKeyPath: {} },
- },
- RunCommandParameters: {
- type: "structure",
- required: ["RunCommandTargets"],
- members: {
- RunCommandTargets: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Values"],
- members: {
- Key: {},
- Values: { type: "list", member: {} },
- },
- },
- },
- },
- },
- EcsParameters: {
- type: "structure",
- required: ["TaskDefinitionArn"],
- members: {
- TaskDefinitionArn: {},
- TaskCount: { type: "integer" },
- LaunchType: {},
- NetworkConfiguration: {
- type: "structure",
- members: {
- awsvpcConfiguration: {
- type: "structure",
- required: ["Subnets"],
- members: {
- Subnets: { shape: "S2m" },
- SecurityGroups: { shape: "S2m" },
- AssignPublicIp: {},
- },
- },
- },
- },
- PlatformVersion: {},
- Group: {},
- },
- },
- BatchParameters: {
- type: "structure",
- required: ["JobDefinition", "JobName"],
- members: {
- JobDefinition: {},
- JobName: {},
- ArrayProperties: {
- type: "structure",
- members: { Size: { type: "integer" } },
- },
- RetryStrategy: {
- type: "structure",
- members: { Attempts: { type: "integer" } },
- },
- },
- },
- SqsParameters: {
- type: "structure",
- members: { MessageGroupId: {} },
- },
- },
- },
- },
- S2m: { type: "list", member: {} },
- S2y: { type: "list", member: {} },
- },
- };
-
- /***/
- },
-
- /***/ 889: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
-
- AWS.util.update(AWS.SQS.prototype, {
- /**
- * @api private
- */
- setupRequestListeners: function setupRequestListeners(request) {
- request.addListener("build", this.buildEndpoint);
-
- if (request.service.config.computeChecksums) {
- if (request.operation === "sendMessage") {
- request.addListener(
- "extractData",
- this.verifySendMessageChecksum
- );
- } else if (request.operation === "sendMessageBatch") {
- request.addListener(
- "extractData",
- this.verifySendMessageBatchChecksum
- );
- } else if (request.operation === "receiveMessage") {
- request.addListener(
- "extractData",
- this.verifyReceiveMessageChecksum
- );
- }
- }
- },
-
- /**
- * @api private
- */
- verifySendMessageChecksum: function verifySendMessageChecksum(
- response
- ) {
- if (!response.data) return;
-
- var md5 = response.data.MD5OfMessageBody;
- var body = this.params.MessageBody;
- var calculatedMd5 = this.service.calculateChecksum(body);
- if (calculatedMd5 !== md5) {
- var msg =
- 'Got "' +
- response.data.MD5OfMessageBody +
- '", expecting "' +
- calculatedMd5 +
- '".';
- this.service.throwInvalidChecksumError(
- response,
- [response.data.MessageId],
- msg
- );
- }
- },
-
- /**
- * @api private
- */
- verifySendMessageBatchChecksum: function verifySendMessageBatchChecksum(
- response
- ) {
- if (!response.data) return;
-
- var service = this.service;
- var entries = {};
- var errors = [];
- var messageIds = [];
- AWS.util.arrayEach(response.data.Successful, function (entry) {
- entries[entry.Id] = entry;
- });
- AWS.util.arrayEach(this.params.Entries, function (entry) {
- if (entries[entry.Id]) {
- var md5 = entries[entry.Id].MD5OfMessageBody;
- var body = entry.MessageBody;
- if (!service.isChecksumValid(md5, body)) {
- errors.push(entry.Id);
- messageIds.push(entries[entry.Id].MessageId);
- }
- }
- });
-
- if (errors.length > 0) {
- service.throwInvalidChecksumError(
- response,
- messageIds,
- "Invalid messages: " + errors.join(", ")
- );
- }
- },
-
- /**
- * @api private
- */
- verifyReceiveMessageChecksum: function verifyReceiveMessageChecksum(
- response
- ) {
- if (!response.data) return;
-
- var service = this.service;
- var messageIds = [];
- AWS.util.arrayEach(response.data.Messages, function (message) {
- var md5 = message.MD5OfBody;
- var body = message.Body;
- if (!service.isChecksumValid(md5, body)) {
- messageIds.push(message.MessageId);
- }
- });
-
- if (messageIds.length > 0) {
- service.throwInvalidChecksumError(
- response,
- messageIds,
- "Invalid messages: " + messageIds.join(", ")
- );
- }
- },
-
- /**
- * @api private
- */
- throwInvalidChecksumError: function throwInvalidChecksumError(
- response,
- ids,
- message
- ) {
- response.error = AWS.util.error(new Error(), {
- retryable: true,
- code: "InvalidChecksum",
- messageIds: ids,
- message:
- response.request.operation +
- " returned an invalid MD5 response. " +
- message,
- });
- },
-
- /**
- * @api private
- */
- isChecksumValid: function isChecksumValid(checksum, data) {
- return this.calculateChecksum(data) === checksum;
- },
-
- /**
- * @api private
- */
- calculateChecksum: function calculateChecksum(data) {
- return AWS.util.crypto.md5(data, "hex");
- },
-
- /**
- * @api private
- */
- buildEndpoint: function buildEndpoint(request) {
- var url = request.httpRequest.params.QueueUrl;
- if (url) {
- request.httpRequest.endpoint = new AWS.Endpoint(url);
-
- // signature version 4 requires the region name to be set,
- // sqs queue urls contain the region name
- var matches = request.httpRequest.endpoint.host.match(
- /^sqs\.(.+?)\./
- );
- if (matches) request.httpRequest.region = matches[1];
- }
- },
- });
-
- /***/
- },
-
- /***/ 890: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-06-26",
- endpointPrefix: "forecastquery",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "Amazon Forecast Query Service",
- serviceId: "forecastquery",
- signatureVersion: "v4",
- signingName: "forecast",
- targetPrefix: "AmazonForecastRuntime",
- uid: "forecastquery-2018-06-26",
- },
- operations: {
- QueryForecast: {
- input: {
- type: "structure",
- required: ["ForecastArn", "Filters"],
- members: {
- ForecastArn: {},
- StartDate: {},
- EndDate: {},
- Filters: { type: "map", key: {}, value: {} },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Forecast: {
- type: "structure",
- members: {
- Predictions: {
- type: "map",
- key: {},
- value: {
- type: "list",
- member: {
- type: "structure",
- members: { Timestamp: {}, Value: { type: "double" } },
- },
- },
- },
- },
- },
- },
- },
- },
- },
- shapes: {},
- };
-
- /***/
- },
-
- /***/ 904: /***/ function (module, __unusedexports, __webpack_require__) {
- var util = __webpack_require__(153);
- var AWS = __webpack_require__(395);
-
- /**
- * 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,
- };
-
- /***/
- },
-
- /***/ 910: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(4540);
- model.paginators = __webpack_require__(1009).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.StorageGateway;
-
- /***/
- },
-
- /***/ 912: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- ClusterActive: {
- delay: 30,
- operation: "DescribeCluster",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "DELETING",
- matcher: "path",
- state: "failure",
- argument: "cluster.status",
- },
- {
- expected: "FAILED",
- matcher: "path",
- state: "failure",
- argument: "cluster.status",
- },
- {
- expected: "ACTIVE",
- matcher: "path",
- state: "success",
- argument: "cluster.status",
- },
- ],
- },
- ClusterDeleted: {
- delay: 30,
- operation: "DescribeCluster",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "ACTIVE",
- matcher: "path",
- state: "failure",
- argument: "cluster.status",
- },
- {
- expected: "CREATING",
- matcher: "path",
- state: "failure",
- argument: "cluster.status",
- },
- {
- expected: "ResourceNotFoundException",
- matcher: "error",
- state: "success",
- },
- ],
- },
- NodegroupActive: {
- delay: 30,
- operation: "DescribeNodegroup",
- maxAttempts: 80,
- acceptors: [
- {
- expected: "CREATE_FAILED",
- matcher: "path",
- state: "failure",
- argument: "nodegroup.status",
- },
- {
- expected: "ACTIVE",
- matcher: "path",
- state: "success",
- argument: "nodegroup.status",
- },
- ],
- },
- NodegroupDeleted: {
- delay: 30,
- operation: "DescribeNodegroup",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "DELETE_FAILED",
- matcher: "path",
- state: "failure",
- argument: "nodegroup.status",
- },
- {
- expected: "ResourceNotFoundException",
- matcher: "error",
- state: "success",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 918: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-06-27",
- endpointPrefix: "textract",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "Amazon Textract",
- serviceId: "Textract",
- signatureVersion: "v4",
- targetPrefix: "Textract",
- uid: "textract-2018-06-27",
- },
- operations: {
- AnalyzeDocument: {
- input: {
- type: "structure",
- required: ["Document", "FeatureTypes"],
- members: {
- Document: { shape: "S2" },
- FeatureTypes: { shape: "S8" },
- HumanLoopConfig: {
- type: "structure",
- required: ["HumanLoopName", "FlowDefinitionArn"],
- members: {
- HumanLoopName: {},
- FlowDefinitionArn: {},
- DataAttributes: {
- type: "structure",
- members: {
- ContentClassifiers: { type: "list", member: {} },
- },
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- DocumentMetadata: { shape: "Sh" },
- Blocks: { shape: "Sj" },
- HumanLoopActivationOutput: {
- type: "structure",
- members: {
- HumanLoopArn: {},
- HumanLoopActivationReasons: { type: "list", member: {} },
- HumanLoopActivationConditionsEvaluationResults: {
- jsonvalue: true,
- },
- },
- },
- AnalyzeDocumentModelVersion: {},
- },
- },
- },
- DetectDocumentText: {
- input: {
- type: "structure",
- required: ["Document"],
- members: { Document: { shape: "S2" } },
- },
- output: {
- type: "structure",
- members: {
- DocumentMetadata: { shape: "Sh" },
- Blocks: { shape: "Sj" },
- DetectDocumentTextModelVersion: {},
- },
- },
- },
- GetDocumentAnalysis: {
- input: {
- type: "structure",
- required: ["JobId"],
- members: {
- JobId: {},
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- DocumentMetadata: { shape: "Sh" },
- JobStatus: {},
- NextToken: {},
- Blocks: { shape: "Sj" },
- Warnings: { shape: "S1e" },
- StatusMessage: {},
- AnalyzeDocumentModelVersion: {},
- },
- },
- },
- GetDocumentTextDetection: {
- input: {
- type: "structure",
- required: ["JobId"],
- members: {
- JobId: {},
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- DocumentMetadata: { shape: "Sh" },
- JobStatus: {},
- NextToken: {},
- Blocks: { shape: "Sj" },
- Warnings: { shape: "S1e" },
- StatusMessage: {},
- DetectDocumentTextModelVersion: {},
- },
- },
- },
- StartDocumentAnalysis: {
- input: {
- type: "structure",
- required: ["DocumentLocation", "FeatureTypes"],
- members: {
- DocumentLocation: { shape: "S1m" },
- FeatureTypes: { shape: "S8" },
- ClientRequestToken: {},
- JobTag: {},
- NotificationChannel: { shape: "S1p" },
- },
- },
- output: { type: "structure", members: { JobId: {} } },
- },
- StartDocumentTextDetection: {
- input: {
- type: "structure",
- required: ["DocumentLocation"],
- members: {
- DocumentLocation: { shape: "S1m" },
- ClientRequestToken: {},
- JobTag: {},
- NotificationChannel: { shape: "S1p" },
- },
- },
- output: { type: "structure", members: { JobId: {} } },
- },
- },
- shapes: {
- S2: {
- type: "structure",
- members: { Bytes: { type: "blob" }, S3Object: { shape: "S4" } },
- },
- S4: {
- type: "structure",
- members: { Bucket: {}, Name: {}, Version: {} },
- },
- S8: { type: "list", member: {} },
- Sh: { type: "structure", members: { Pages: { type: "integer" } } },
- Sj: {
- type: "list",
- member: {
- type: "structure",
- members: {
- BlockType: {},
- Confidence: { type: "float" },
- Text: {},
- RowIndex: { type: "integer" },
- ColumnIndex: { type: "integer" },
- RowSpan: { type: "integer" },
- ColumnSpan: { type: "integer" },
- Geometry: {
- type: "structure",
- members: {
- BoundingBox: {
- type: "structure",
- members: {
- Width: { type: "float" },
- Height: { type: "float" },
- Left: { type: "float" },
- Top: { type: "float" },
- },
- },
- Polygon: {
- type: "list",
- member: {
- type: "structure",
- members: { X: { type: "float" }, Y: { type: "float" } },
- },
- },
- },
- },
- Id: {},
- Relationships: {
- type: "list",
- member: {
- type: "structure",
- members: { Type: {}, Ids: { type: "list", member: {} } },
- },
- },
- EntityTypes: { type: "list", member: {} },
- SelectionStatus: {},
- Page: { type: "integer" },
- },
- },
- },
- S1e: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ErrorCode: {},
- Pages: { type: "list", member: { type: "integer" } },
- },
- },
- },
- S1m: { type: "structure", members: { S3Object: { shape: "S4" } } },
- S1p: {
- type: "structure",
- required: ["SNSTopicArn", "RoleArn"],
- members: { SNSTopicArn: {}, RoleArn: {} },
- },
- },
- };
-
- /***/
- },
-
- /***/ 948: /***/ function (module) {
- "use strict";
-
- /**
- * Tries to execute a function and discards any error that occurs.
- * @param {Function} fn - Function that might or might not throw an error.
- * @returns {?*} Return-value of the function when no error occurred.
- */
- module.exports = function (fn) {
- try {
- return fn();
- } catch (e) {}
- };
-
- /***/
- },
-
- /***/ 952: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-03-25",
- endpointPrefix: "cloudfront",
- globalEndpoint: "cloudfront.amazonaws.com",
- protocol: "rest-xml",
- serviceAbbreviation: "CloudFront",
- serviceFullName: "Amazon CloudFront",
- serviceId: "CloudFront",
- signatureVersion: "v4",
- uid: "cloudfront-2017-03-25",
- },
- operations: {
- CreateCloudFrontOriginAccessIdentity: {
- http: {
- requestUri: "/2017-03-25/origin-access-identity/cloudfront",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["CloudFrontOriginAccessIdentityConfig"],
- members: {
- CloudFrontOriginAccessIdentityConfig: {
- shape: "S2",
- locationName: "CloudFrontOriginAccessIdentityConfig",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/",
- },
- },
- },
- payload: "CloudFrontOriginAccessIdentityConfig",
- },
- output: {
- type: "structure",
- members: {
- CloudFrontOriginAccessIdentity: { shape: "S5" },
- Location: { location: "header", locationName: "Location" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "CloudFrontOriginAccessIdentity",
- },
- },
- CreateDistribution: {
- http: { requestUri: "/2017-03-25/distribution", responseCode: 201 },
- input: {
- type: "structure",
- required: ["DistributionConfig"],
- members: {
- DistributionConfig: {
- shape: "S7",
- locationName: "DistributionConfig",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/",
- },
- },
- },
- payload: "DistributionConfig",
- },
- output: {
- type: "structure",
- members: {
- Distribution: { shape: "S1s" },
- Location: { location: "header", locationName: "Location" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "Distribution",
- },
- },
- CreateDistributionWithTags: {
- http: {
- requestUri: "/2017-03-25/distribution?WithTags",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["DistributionConfigWithTags"],
- members: {
- DistributionConfigWithTags: {
- locationName: "DistributionConfigWithTags",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/",
- },
- type: "structure",
- required: ["DistributionConfig", "Tags"],
- members: {
- DistributionConfig: { shape: "S7" },
- Tags: { shape: "S21" },
- },
- },
- },
- payload: "DistributionConfigWithTags",
- },
- output: {
- type: "structure",
- members: {
- Distribution: { shape: "S1s" },
- Location: { location: "header", locationName: "Location" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "Distribution",
- },
- },
- CreateInvalidation: {
- http: {
- requestUri:
- "/2017-03-25/distribution/{DistributionId}/invalidation",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["DistributionId", "InvalidationBatch"],
- members: {
- DistributionId: {
- location: "uri",
- locationName: "DistributionId",
- },
- InvalidationBatch: {
- shape: "S28",
- locationName: "InvalidationBatch",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/",
- },
- },
- },
- payload: "InvalidationBatch",
- },
- output: {
- type: "structure",
- members: {
- Location: { location: "header", locationName: "Location" },
- Invalidation: { shape: "S2c" },
- },
- payload: "Invalidation",
- },
- },
- CreateStreamingDistribution: {
- http: {
- requestUri: "/2017-03-25/streaming-distribution",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["StreamingDistributionConfig"],
- members: {
- StreamingDistributionConfig: {
- shape: "S2e",
- locationName: "StreamingDistributionConfig",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/",
- },
- },
- },
- payload: "StreamingDistributionConfig",
- },
- output: {
- type: "structure",
- members: {
- StreamingDistribution: { shape: "S2i" },
- Location: { location: "header", locationName: "Location" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "StreamingDistribution",
- },
- },
- CreateStreamingDistributionWithTags: {
- http: {
- requestUri: "/2017-03-25/streaming-distribution?WithTags",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["StreamingDistributionConfigWithTags"],
- members: {
- StreamingDistributionConfigWithTags: {
- locationName: "StreamingDistributionConfigWithTags",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/",
- },
- type: "structure",
- required: ["StreamingDistributionConfig", "Tags"],
- members: {
- StreamingDistributionConfig: { shape: "S2e" },
- Tags: { shape: "S21" },
- },
- },
- },
- payload: "StreamingDistributionConfigWithTags",
- },
- output: {
- type: "structure",
- members: {
- StreamingDistribution: { shape: "S2i" },
- Location: { location: "header", locationName: "Location" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "StreamingDistribution",
- },
- },
- DeleteCloudFrontOriginAccessIdentity: {
- http: {
- method: "DELETE",
- requestUri: "/2017-03-25/origin-access-identity/cloudfront/{Id}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: {
- Id: { location: "uri", locationName: "Id" },
- IfMatch: { location: "header", locationName: "If-Match" },
- },
- },
- },
- DeleteDistribution: {
- http: {
- method: "DELETE",
- requestUri: "/2017-03-25/distribution/{Id}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: {
- Id: { location: "uri", locationName: "Id" },
- IfMatch: { location: "header", locationName: "If-Match" },
- },
- },
- },
- DeleteServiceLinkedRole: {
- http: {
- method: "DELETE",
- requestUri: "/2017-03-25/service-linked-role/{RoleName}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["RoleName"],
- members: {
- RoleName: { location: "uri", locationName: "RoleName" },
- },
- },
- },
- DeleteStreamingDistribution: {
- http: {
- method: "DELETE",
- requestUri: "/2017-03-25/streaming-distribution/{Id}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: {
- Id: { location: "uri", locationName: "Id" },
- IfMatch: { location: "header", locationName: "If-Match" },
- },
- },
- },
- GetCloudFrontOriginAccessIdentity: {
- http: {
- method: "GET",
- requestUri: "/2017-03-25/origin-access-identity/cloudfront/{Id}",
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: { location: "uri", locationName: "Id" } },
- },
- output: {
- type: "structure",
- members: {
- CloudFrontOriginAccessIdentity: { shape: "S5" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "CloudFrontOriginAccessIdentity",
- },
- },
- GetCloudFrontOriginAccessIdentityConfig: {
- http: {
- method: "GET",
- requestUri:
- "/2017-03-25/origin-access-identity/cloudfront/{Id}/config",
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: { location: "uri", locationName: "Id" } },
- },
- output: {
- type: "structure",
- members: {
- CloudFrontOriginAccessIdentityConfig: { shape: "S2" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "CloudFrontOriginAccessIdentityConfig",
- },
- },
- GetDistribution: {
- http: {
- method: "GET",
- requestUri: "/2017-03-25/distribution/{Id}",
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: { location: "uri", locationName: "Id" } },
- },
- output: {
- type: "structure",
- members: {
- Distribution: { shape: "S1s" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "Distribution",
- },
- },
- GetDistributionConfig: {
- http: {
- method: "GET",
- requestUri: "/2017-03-25/distribution/{Id}/config",
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: { location: "uri", locationName: "Id" } },
- },
- output: {
- type: "structure",
- members: {
- DistributionConfig: { shape: "S7" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "DistributionConfig",
- },
- },
- GetInvalidation: {
- http: {
- method: "GET",
- requestUri:
- "/2017-03-25/distribution/{DistributionId}/invalidation/{Id}",
- },
- input: {
- type: "structure",
- required: ["DistributionId", "Id"],
- members: {
- DistributionId: {
- location: "uri",
- locationName: "DistributionId",
- },
- Id: { location: "uri", locationName: "Id" },
- },
- },
- output: {
- type: "structure",
- members: { Invalidation: { shape: "S2c" } },
- payload: "Invalidation",
- },
- },
- GetStreamingDistribution: {
- http: {
- method: "GET",
- requestUri: "/2017-03-25/streaming-distribution/{Id}",
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: { location: "uri", locationName: "Id" } },
- },
- output: {
- type: "structure",
- members: {
- StreamingDistribution: { shape: "S2i" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "StreamingDistribution",
- },
- },
- GetStreamingDistributionConfig: {
- http: {
- method: "GET",
- requestUri: "/2017-03-25/streaming-distribution/{Id}/config",
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: { location: "uri", locationName: "Id" } },
- },
- output: {
- type: "structure",
- members: {
- StreamingDistributionConfig: { shape: "S2e" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "StreamingDistributionConfig",
- },
- },
- ListCloudFrontOriginAccessIdentities: {
- http: {
- method: "GET",
- requestUri: "/2017-03-25/origin-access-identity/cloudfront",
- },
- input: {
- type: "structure",
- members: {
- Marker: { location: "querystring", locationName: "Marker" },
- MaxItems: { location: "querystring", locationName: "MaxItems" },
- },
- },
- output: {
- type: "structure",
- members: {
- CloudFrontOriginAccessIdentityList: {
- type: "structure",
- required: ["Marker", "MaxItems", "IsTruncated", "Quantity"],
- members: {
- Marker: {},
- NextMarker: {},
- MaxItems: { type: "integer" },
- IsTruncated: { type: "boolean" },
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "CloudFrontOriginAccessIdentitySummary",
- type: "structure",
- required: ["Id", "S3CanonicalUserId", "Comment"],
- members: { Id: {}, S3CanonicalUserId: {}, Comment: {} },
- },
- },
- },
- },
- },
- payload: "CloudFrontOriginAccessIdentityList",
- },
- },
- ListDistributions: {
- http: { method: "GET", requestUri: "/2017-03-25/distribution" },
- input: {
- type: "structure",
- members: {
- Marker: { location: "querystring", locationName: "Marker" },
- MaxItems: { location: "querystring", locationName: "MaxItems" },
- },
- },
- output: {
- type: "structure",
- members: { DistributionList: { shape: "S3b" } },
- payload: "DistributionList",
- },
- },
- ListDistributionsByWebACLId: {
- http: {
- method: "GET",
- requestUri: "/2017-03-25/distributionsByWebACLId/{WebACLId}",
- },
- input: {
- type: "structure",
- required: ["WebACLId"],
- members: {
- Marker: { location: "querystring", locationName: "Marker" },
- MaxItems: { location: "querystring", locationName: "MaxItems" },
- WebACLId: { location: "uri", locationName: "WebACLId" },
- },
- },
- output: {
- type: "structure",
- members: { DistributionList: { shape: "S3b" } },
- payload: "DistributionList",
- },
- },
- ListInvalidations: {
- http: {
- method: "GET",
- requestUri:
- "/2017-03-25/distribution/{DistributionId}/invalidation",
- },
- input: {
- type: "structure",
- required: ["DistributionId"],
- members: {
- DistributionId: {
- location: "uri",
- locationName: "DistributionId",
- },
- Marker: { location: "querystring", locationName: "Marker" },
- MaxItems: { location: "querystring", locationName: "MaxItems" },
- },
- },
- output: {
- type: "structure",
- members: {
- InvalidationList: {
- type: "structure",
- required: ["Marker", "MaxItems", "IsTruncated", "Quantity"],
- members: {
- Marker: {},
- NextMarker: {},
- MaxItems: { type: "integer" },
- IsTruncated: { type: "boolean" },
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "InvalidationSummary",
- type: "structure",
- required: ["Id", "CreateTime", "Status"],
- members: {
- Id: {},
- CreateTime: { type: "timestamp" },
- Status: {},
- },
- },
- },
- },
- },
- },
- payload: "InvalidationList",
- },
- },
- ListStreamingDistributions: {
- http: {
- method: "GET",
- requestUri: "/2017-03-25/streaming-distribution",
- },
- input: {
- type: "structure",
- members: {
- Marker: { location: "querystring", locationName: "Marker" },
- MaxItems: { location: "querystring", locationName: "MaxItems" },
- },
- },
- output: {
- type: "structure",
- members: {
- StreamingDistributionList: {
- type: "structure",
- required: ["Marker", "MaxItems", "IsTruncated", "Quantity"],
- members: {
- Marker: {},
- NextMarker: {},
- MaxItems: { type: "integer" },
- IsTruncated: { type: "boolean" },
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "StreamingDistributionSummary",
- type: "structure",
- required: [
- "Id",
- "ARN",
- "Status",
- "LastModifiedTime",
- "DomainName",
- "S3Origin",
- "Aliases",
- "TrustedSigners",
- "Comment",
- "PriceClass",
- "Enabled",
- ],
- members: {
- Id: {},
- ARN: {},
- Status: {},
- LastModifiedTime: { type: "timestamp" },
- DomainName: {},
- S3Origin: { shape: "S2f" },
- Aliases: { shape: "S8" },
- TrustedSigners: { shape: "Sy" },
- Comment: {},
- PriceClass: {},
- Enabled: { type: "boolean" },
- },
- },
- },
- },
- },
- },
- payload: "StreamingDistributionList",
- },
- },
- ListTagsForResource: {
- http: { method: "GET", requestUri: "/2017-03-25/tagging" },
- input: {
- type: "structure",
- required: ["Resource"],
- members: {
- Resource: { location: "querystring", locationName: "Resource" },
- },
- },
- output: {
- type: "structure",
- required: ["Tags"],
- members: { Tags: { shape: "S21" } },
- payload: "Tags",
- },
- },
- TagResource: {
- http: {
- requestUri: "/2017-03-25/tagging?Operation=Tag",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["Resource", "Tags"],
- members: {
- Resource: { location: "querystring", locationName: "Resource" },
- Tags: {
- shape: "S21",
- locationName: "Tags",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/",
- },
- },
- },
- payload: "Tags",
- },
- },
- UntagResource: {
- http: {
- requestUri: "/2017-03-25/tagging?Operation=Untag",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["Resource", "TagKeys"],
- members: {
- Resource: { location: "querystring", locationName: "Resource" },
- TagKeys: {
- locationName: "TagKeys",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/",
- },
- type: "structure",
- members: {
- Items: { type: "list", member: { locationName: "Key" } },
- },
- },
- },
- payload: "TagKeys",
- },
- },
- UpdateCloudFrontOriginAccessIdentity: {
- http: {
- method: "PUT",
- requestUri:
- "/2017-03-25/origin-access-identity/cloudfront/{Id}/config",
- },
- input: {
- type: "structure",
- required: ["CloudFrontOriginAccessIdentityConfig", "Id"],
- members: {
- CloudFrontOriginAccessIdentityConfig: {
- shape: "S2",
- locationName: "CloudFrontOriginAccessIdentityConfig",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/",
- },
- },
- Id: { location: "uri", locationName: "Id" },
- IfMatch: { location: "header", locationName: "If-Match" },
- },
- payload: "CloudFrontOriginAccessIdentityConfig",
- },
- output: {
- type: "structure",
- members: {
- CloudFrontOriginAccessIdentity: { shape: "S5" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "CloudFrontOriginAccessIdentity",
- },
- },
- UpdateDistribution: {
- http: {
- method: "PUT",
- requestUri: "/2017-03-25/distribution/{Id}/config",
- },
- input: {
- type: "structure",
- required: ["DistributionConfig", "Id"],
- members: {
- DistributionConfig: {
- shape: "S7",
- locationName: "DistributionConfig",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/",
- },
- },
- Id: { location: "uri", locationName: "Id" },
- IfMatch: { location: "header", locationName: "If-Match" },
- },
- payload: "DistributionConfig",
- },
- output: {
- type: "structure",
- members: {
- Distribution: { shape: "S1s" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "Distribution",
- },
- },
- UpdateStreamingDistribution: {
- http: {
- method: "PUT",
- requestUri: "/2017-03-25/streaming-distribution/{Id}/config",
- },
- input: {
- type: "structure",
- required: ["StreamingDistributionConfig", "Id"],
- members: {
- StreamingDistributionConfig: {
- shape: "S2e",
- locationName: "StreamingDistributionConfig",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/",
- },
- },
- Id: { location: "uri", locationName: "Id" },
- IfMatch: { location: "header", locationName: "If-Match" },
- },
- payload: "StreamingDistributionConfig",
- },
- output: {
- type: "structure",
- members: {
- StreamingDistribution: { shape: "S2i" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "StreamingDistribution",
- },
- },
- },
- shapes: {
- S2: {
- type: "structure",
- required: ["CallerReference", "Comment"],
- members: { CallerReference: {}, Comment: {} },
- },
- S5: {
- type: "structure",
- required: ["Id", "S3CanonicalUserId"],
- members: {
- Id: {},
- S3CanonicalUserId: {},
- CloudFrontOriginAccessIdentityConfig: { shape: "S2" },
- },
- },
- S7: {
- type: "structure",
- required: [
- "CallerReference",
- "Origins",
- "DefaultCacheBehavior",
- "Comment",
- "Enabled",
- ],
- members: {
- CallerReference: {},
- Aliases: { shape: "S8" },
- DefaultRootObject: {},
- Origins: { shape: "Sb" },
- DefaultCacheBehavior: { shape: "Sn" },
- CacheBehaviors: { shape: "S1a" },
- CustomErrorResponses: { shape: "S1d" },
- Comment: {},
- Logging: {
- type: "structure",
- required: ["Enabled", "IncludeCookies", "Bucket", "Prefix"],
- members: {
- Enabled: { type: "boolean" },
- IncludeCookies: { type: "boolean" },
- Bucket: {},
- Prefix: {},
- },
- },
- PriceClass: {},
- Enabled: { type: "boolean" },
- ViewerCertificate: { shape: "S1i" },
- Restrictions: { shape: "S1m" },
- WebACLId: {},
- HttpVersion: {},
- IsIPV6Enabled: { type: "boolean" },
- },
- },
- S8: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: { type: "list", member: { locationName: "CNAME" } },
- },
- },
- Sb: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "Origin",
- type: "structure",
- required: ["Id", "DomainName"],
- members: {
- Id: {},
- DomainName: {},
- OriginPath: {},
- CustomHeaders: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "OriginCustomHeader",
- type: "structure",
- required: ["HeaderName", "HeaderValue"],
- members: { HeaderName: {}, HeaderValue: {} },
- },
- },
- },
- },
- S3OriginConfig: {
- type: "structure",
- required: ["OriginAccessIdentity"],
- members: { OriginAccessIdentity: {} },
- },
- CustomOriginConfig: {
- type: "structure",
- required: [
- "HTTPPort",
- "HTTPSPort",
- "OriginProtocolPolicy",
- ],
- members: {
- HTTPPort: { type: "integer" },
- HTTPSPort: { type: "integer" },
- OriginProtocolPolicy: {},
- OriginSslProtocols: {
- type: "structure",
- required: ["Quantity", "Items"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: { locationName: "SslProtocol" },
- },
- },
- },
- OriginReadTimeout: { type: "integer" },
- OriginKeepaliveTimeout: { type: "integer" },
- },
- },
- },
- },
- },
- },
- },
- Sn: {
- type: "structure",
- required: [
- "TargetOriginId",
- "ForwardedValues",
- "TrustedSigners",
- "ViewerProtocolPolicy",
- "MinTTL",
- ],
- members: {
- TargetOriginId: {},
- ForwardedValues: { shape: "So" },
- TrustedSigners: { shape: "Sy" },
- ViewerProtocolPolicy: {},
- MinTTL: { type: "long" },
- AllowedMethods: { shape: "S12" },
- SmoothStreaming: { type: "boolean" },
- DefaultTTL: { type: "long" },
- MaxTTL: { type: "long" },
- Compress: { type: "boolean" },
- LambdaFunctionAssociations: { shape: "S16" },
- },
- },
- So: {
- type: "structure",
- required: ["QueryString", "Cookies"],
- members: {
- QueryString: { type: "boolean" },
- Cookies: {
- type: "structure",
- required: ["Forward"],
- members: {
- Forward: {},
- WhitelistedNames: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: { type: "list", member: { locationName: "Name" } },
- },
- },
- },
- },
- Headers: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: { type: "list", member: { locationName: "Name" } },
- },
- },
- QueryStringCacheKeys: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: { type: "list", member: { locationName: "Name" } },
- },
- },
- },
- },
- Sy: {
- type: "structure",
- required: ["Enabled", "Quantity"],
- members: {
- Enabled: { type: "boolean" },
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: { locationName: "AwsAccountNumber" },
- },
- },
- },
- S12: {
- type: "structure",
- required: ["Quantity", "Items"],
- members: {
- Quantity: { type: "integer" },
- Items: { shape: "S13" },
- CachedMethods: {
- type: "structure",
- required: ["Quantity", "Items"],
- members: {
- Quantity: { type: "integer" },
- Items: { shape: "S13" },
- },
- },
- },
- },
- S13: { type: "list", member: { locationName: "Method" } },
- S16: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "LambdaFunctionAssociation",
- type: "structure",
- members: { LambdaFunctionARN: {}, EventType: {} },
- },
- },
- },
- },
- S1a: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "CacheBehavior",
- type: "structure",
- required: [
- "PathPattern",
- "TargetOriginId",
- "ForwardedValues",
- "TrustedSigners",
- "ViewerProtocolPolicy",
- "MinTTL",
- ],
- members: {
- PathPattern: {},
- TargetOriginId: {},
- ForwardedValues: { shape: "So" },
- TrustedSigners: { shape: "Sy" },
- ViewerProtocolPolicy: {},
- MinTTL: { type: "long" },
- AllowedMethods: { shape: "S12" },
- SmoothStreaming: { type: "boolean" },
- DefaultTTL: { type: "long" },
- MaxTTL: { type: "long" },
- Compress: { type: "boolean" },
- LambdaFunctionAssociations: { shape: "S16" },
- },
- },
- },
- },
- },
- S1d: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "CustomErrorResponse",
- type: "structure",
- required: ["ErrorCode"],
- members: {
- ErrorCode: { type: "integer" },
- ResponsePagePath: {},
- ResponseCode: {},
- ErrorCachingMinTTL: { type: "long" },
- },
- },
- },
- },
- },
- S1i: {
- type: "structure",
- members: {
- CloudFrontDefaultCertificate: { type: "boolean" },
- IAMCertificateId: {},
- ACMCertificateArn: {},
- SSLSupportMethod: {},
- MinimumProtocolVersion: {},
- Certificate: { deprecated: true },
- CertificateSource: { deprecated: true },
- },
- },
- S1m: {
- type: "structure",
- required: ["GeoRestriction"],
- members: {
- GeoRestriction: {
- type: "structure",
- required: ["RestrictionType", "Quantity"],
- members: {
- RestrictionType: {},
- Quantity: { type: "integer" },
- Items: { type: "list", member: { locationName: "Location" } },
- },
- },
- },
- },
- S1s: {
- type: "structure",
- required: [
- "Id",
- "ARN",
- "Status",
- "LastModifiedTime",
- "InProgressInvalidationBatches",
- "DomainName",
- "ActiveTrustedSigners",
- "DistributionConfig",
- ],
- members: {
- Id: {},
- ARN: {},
- Status: {},
- LastModifiedTime: { type: "timestamp" },
- InProgressInvalidationBatches: { type: "integer" },
- DomainName: {},
- ActiveTrustedSigners: { shape: "S1u" },
- DistributionConfig: { shape: "S7" },
- },
- },
- S1u: {
- type: "structure",
- required: ["Enabled", "Quantity"],
- members: {
- Enabled: { type: "boolean" },
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "Signer",
- type: "structure",
- members: {
- AwsAccountNumber: {},
- KeyPairIds: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: { locationName: "KeyPairId" },
- },
- },
- },
- },
- },
- },
- },
- },
- S21: {
- type: "structure",
- members: {
- Items: {
- type: "list",
- member: {
- locationName: "Tag",
- type: "structure",
- required: ["Key"],
- members: { Key: {}, Value: {} },
- },
- },
- },
- },
- S28: {
- type: "structure",
- required: ["Paths", "CallerReference"],
- members: {
- Paths: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: { type: "list", member: { locationName: "Path" } },
- },
- },
- CallerReference: {},
- },
- },
- S2c: {
- type: "structure",
- required: ["Id", "Status", "CreateTime", "InvalidationBatch"],
- members: {
- Id: {},
- Status: {},
- CreateTime: { type: "timestamp" },
- InvalidationBatch: { shape: "S28" },
- },
- },
- S2e: {
- type: "structure",
- required: [
- "CallerReference",
- "S3Origin",
- "Comment",
- "TrustedSigners",
- "Enabled",
- ],
- members: {
- CallerReference: {},
- S3Origin: { shape: "S2f" },
- Aliases: { shape: "S8" },
- Comment: {},
- Logging: {
- type: "structure",
- required: ["Enabled", "Bucket", "Prefix"],
- members: {
- Enabled: { type: "boolean" },
- Bucket: {},
- Prefix: {},
- },
- },
- TrustedSigners: { shape: "Sy" },
- PriceClass: {},
- Enabled: { type: "boolean" },
- },
- },
- S2f: {
- type: "structure",
- required: ["DomainName", "OriginAccessIdentity"],
- members: { DomainName: {}, OriginAccessIdentity: {} },
- },
- S2i: {
- type: "structure",
- required: [
- "Id",
- "ARN",
- "Status",
- "DomainName",
- "ActiveTrustedSigners",
- "StreamingDistributionConfig",
- ],
- members: {
- Id: {},
- ARN: {},
- Status: {},
- LastModifiedTime: { type: "timestamp" },
- DomainName: {},
- ActiveTrustedSigners: { shape: "S1u" },
- StreamingDistributionConfig: { shape: "S2e" },
- },
- },
- S3b: {
- type: "structure",
- required: ["Marker", "MaxItems", "IsTruncated", "Quantity"],
- members: {
- Marker: {},
- NextMarker: {},
- MaxItems: { type: "integer" },
- IsTruncated: { type: "boolean" },
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "DistributionSummary",
- type: "structure",
- required: [
- "Id",
- "ARN",
- "Status",
- "LastModifiedTime",
- "DomainName",
- "Aliases",
- "Origins",
- "DefaultCacheBehavior",
- "CacheBehaviors",
- "CustomErrorResponses",
- "Comment",
- "PriceClass",
- "Enabled",
- "ViewerCertificate",
- "Restrictions",
- "WebACLId",
- "HttpVersion",
- "IsIPV6Enabled",
- ],
- members: {
- Id: {},
- ARN: {},
- Status: {},
- LastModifiedTime: { type: "timestamp" },
- DomainName: {},
- Aliases: { shape: "S8" },
- Origins: { shape: "Sb" },
- DefaultCacheBehavior: { shape: "Sn" },
- CacheBehaviors: { shape: "S1a" },
- CustomErrorResponses: { shape: "S1d" },
- Comment: {},
- PriceClass: {},
- Enabled: { type: "boolean" },
- ViewerCertificate: { shape: "S1i" },
- Restrictions: { shape: "S1m" },
- WebACLId: {},
- HttpVersion: {},
- IsIPV6Enabled: { type: "boolean" },
- },
- },
- },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 956: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeListeners: {
- input_token: "Marker",
- output_token: "NextMarker",
- result_key: "Listeners",
- },
- DescribeLoadBalancers: {
- input_token: "Marker",
- output_token: "NextMarker",
- result_key: "LoadBalancers",
- },
- DescribeTargetGroups: {
- input_token: "Marker",
- output_token: "NextMarker",
- result_key: "TargetGroups",
- },
- },
- };
-
- /***/
- },
-
- /***/ 988: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2016-12-01",
- endpointPrefix: "appstream2",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "Amazon AppStream",
- serviceId: "AppStream",
- signatureVersion: "v4",
- signingName: "appstream",
- targetPrefix: "PhotonAdminProxyService",
- uid: "appstream-2016-12-01",
- },
- operations: {
- AssociateFleet: {
- input: {
- type: "structure",
- required: ["FleetName", "StackName"],
- members: { FleetName: {}, StackName: {} },
- },
- output: { type: "structure", members: {} },
- },
- BatchAssociateUserStack: {
- input: {
- type: "structure",
- required: ["UserStackAssociations"],
- members: { UserStackAssociations: { shape: "S5" } },
- },
- output: { type: "structure", members: { errors: { shape: "Sb" } } },
- },
- BatchDisassociateUserStack: {
- input: {
- type: "structure",
- required: ["UserStackAssociations"],
- members: { UserStackAssociations: { shape: "S5" } },
- },
- output: { type: "structure", members: { errors: { shape: "Sb" } } },
- },
- CopyImage: {
- input: {
- type: "structure",
- required: [
- "SourceImageName",
- "DestinationImageName",
- "DestinationRegion",
- ],
- members: {
- SourceImageName: {},
- DestinationImageName: {},
- DestinationRegion: {},
- DestinationImageDescription: {},
- },
- },
- output: {
- type: "structure",
- members: { DestinationImageName: {} },
- },
- },
- CreateDirectoryConfig: {
- input: {
- type: "structure",
- required: [
- "DirectoryName",
- "OrganizationalUnitDistinguishedNames",
- "ServiceAccountCredentials",
- ],
- members: {
- DirectoryName: {},
- OrganizationalUnitDistinguishedNames: { shape: "Sn" },
- ServiceAccountCredentials: { shape: "Sp" },
- },
- },
- output: {
- type: "structure",
- members: { DirectoryConfig: { shape: "St" } },
- },
- },
- CreateFleet: {
- input: {
- type: "structure",
- required: ["Name", "InstanceType", "ComputeCapacity"],
- members: {
- Name: {},
- ImageName: {},
- ImageArn: {},
- InstanceType: {},
- FleetType: {},
- ComputeCapacity: { shape: "Sy" },
- VpcConfig: { shape: "S10" },
- MaxUserDurationInSeconds: { type: "integer" },
- DisconnectTimeoutInSeconds: { type: "integer" },
- Description: {},
- DisplayName: {},
- EnableDefaultInternetAccess: { type: "boolean" },
- DomainJoinInfo: { shape: "S15" },
- Tags: { shape: "S16" },
- IdleDisconnectTimeoutInSeconds: { type: "integer" },
- IamRoleArn: {},
- },
- },
- output: { type: "structure", members: { Fleet: { shape: "S1a" } } },
- },
- CreateImageBuilder: {
- input: {
- type: "structure",
- required: ["Name", "InstanceType"],
- members: {
- Name: {},
- ImageName: {},
- ImageArn: {},
- InstanceType: {},
- Description: {},
- DisplayName: {},
- VpcConfig: { shape: "S10" },
- IamRoleArn: {},
- EnableDefaultInternetAccess: { type: "boolean" },
- DomainJoinInfo: { shape: "S15" },
- AppstreamAgentVersion: {},
- Tags: { shape: "S16" },
- AccessEndpoints: { shape: "S1i" },
- },
- },
- output: {
- type: "structure",
- members: { ImageBuilder: { shape: "S1m" } },
- },
- },
- CreateImageBuilderStreamingURL: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {}, Validity: { type: "long" } },
- },
- output: {
- type: "structure",
- members: { StreamingURL: {}, Expires: { type: "timestamp" } },
- },
- },
- CreateStack: {
- input: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {},
- Description: {},
- DisplayName: {},
- StorageConnectors: { shape: "S1y" },
- RedirectURL: {},
- FeedbackURL: {},
- UserSettings: { shape: "S26" },
- ApplicationSettings: { shape: "S2a" },
- Tags: { shape: "S16" },
- AccessEndpoints: { shape: "S1i" },
- EmbedHostDomains: { shape: "S2c" },
- },
- },
- output: { type: "structure", members: { Stack: { shape: "S2f" } } },
- },
- CreateStreamingURL: {
- input: {
- type: "structure",
- required: ["StackName", "FleetName", "UserId"],
- members: {
- StackName: {},
- FleetName: {},
- UserId: {},
- ApplicationId: {},
- Validity: { type: "long" },
- SessionContext: {},
- },
- },
- output: {
- type: "structure",
- members: { StreamingURL: {}, Expires: { type: "timestamp" } },
- },
- },
- CreateUsageReportSubscription: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: { S3BucketName: {}, Schedule: {} },
- },
- },
- CreateUser: {
- input: {
- type: "structure",
- required: ["UserName", "AuthenticationType"],
- members: {
- UserName: { shape: "S7" },
- MessageAction: {},
- FirstName: { shape: "S2s" },
- LastName: { shape: "S2s" },
- AuthenticationType: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteDirectoryConfig: {
- input: {
- type: "structure",
- required: ["DirectoryName"],
- members: { DirectoryName: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteFleet: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteImage: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: { type: "structure", members: { Image: { shape: "S30" } } },
- },
- DeleteImageBuilder: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: {
- type: "structure",
- members: { ImageBuilder: { shape: "S1m" } },
- },
- },
- DeleteImagePermissions: {
- input: {
- type: "structure",
- required: ["Name", "SharedAccountId"],
- members: { Name: {}, SharedAccountId: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteStack: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteUsageReportSubscription: {
- input: { type: "structure", members: {} },
- output: { type: "structure", members: {} },
- },
- DeleteUser: {
- input: {
- type: "structure",
- required: ["UserName", "AuthenticationType"],
- members: { UserName: { shape: "S7" }, AuthenticationType: {} },
- },
- output: { type: "structure", members: {} },
- },
- DescribeDirectoryConfigs: {
- input: {
- type: "structure",
- members: {
- DirectoryNames: { type: "list", member: {} },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- DirectoryConfigs: { type: "list", member: { shape: "St" } },
- NextToken: {},
- },
- },
- },
- DescribeFleets: {
- input: {
- type: "structure",
- members: { Names: { shape: "S3p" }, NextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- Fleets: { type: "list", member: { shape: "S1a" } },
- NextToken: {},
- },
- },
- },
- DescribeImageBuilders: {
- input: {
- type: "structure",
- members: {
- Names: { shape: "S3p" },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ImageBuilders: { type: "list", member: { shape: "S1m" } },
- NextToken: {},
- },
- },
- },
- DescribeImagePermissions: {
- input: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {},
- MaxResults: { type: "integer" },
- SharedAwsAccountIds: { type: "list", member: {} },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Name: {},
- SharedImagePermissionsList: {
- type: "list",
- member: {
- type: "structure",
- required: ["sharedAccountId", "imagePermissions"],
- members: {
- sharedAccountId: {},
- imagePermissions: { shape: "S38" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeImages: {
- input: {
- type: "structure",
- members: {
- Names: { shape: "S3p" },
- Arns: { type: "list", member: {} },
- Type: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Images: { type: "list", member: { shape: "S30" } },
- NextToken: {},
- },
- },
- },
- DescribeSessions: {
- input: {
- type: "structure",
- required: ["StackName", "FleetName"],
- members: {
- StackName: {},
- FleetName: {},
- UserId: {},
- NextToken: {},
- Limit: { type: "integer" },
- AuthenticationType: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Sessions: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "Id",
- "UserId",
- "StackName",
- "FleetName",
- "State",
- ],
- members: {
- Id: {},
- UserId: {},
- StackName: {},
- FleetName: {},
- State: {},
- ConnectionState: {},
- StartTime: { type: "timestamp" },
- MaxExpirationTime: { type: "timestamp" },
- AuthenticationType: {},
- NetworkAccessConfiguration: { shape: "S1r" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeStacks: {
- input: {
- type: "structure",
- members: { Names: { shape: "S3p" }, NextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- Stacks: { type: "list", member: { shape: "S2f" } },
- NextToken: {},
- },
- },
- },
- DescribeUsageReportSubscriptions: {
- input: {
- type: "structure",
- members: { MaxResults: { type: "integer" }, NextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- UsageReportSubscriptions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- S3BucketName: {},
- Schedule: {},
- LastGeneratedReportDate: { type: "timestamp" },
- SubscriptionErrors: {
- type: "list",
- member: {
- type: "structure",
- members: { ErrorCode: {}, ErrorMessage: {} },
- },
- },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeUserStackAssociations: {
- input: {
- type: "structure",
- members: {
- StackName: {},
- UserName: { shape: "S7" },
- AuthenticationType: {},
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- UserStackAssociations: { shape: "S5" },
- NextToken: {},
- },
- },
- },
- DescribeUsers: {
- input: {
- type: "structure",
- required: ["AuthenticationType"],
- members: {
- AuthenticationType: {},
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Users: {
- type: "list",
- member: {
- type: "structure",
- required: ["AuthenticationType"],
- members: {
- Arn: {},
- UserName: { shape: "S7" },
- Enabled: { type: "boolean" },
- Status: {},
- FirstName: { shape: "S2s" },
- LastName: { shape: "S2s" },
- CreatedTime: { type: "timestamp" },
- AuthenticationType: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DisableUser: {
- input: {
- type: "structure",
- required: ["UserName", "AuthenticationType"],
- members: { UserName: { shape: "S7" }, AuthenticationType: {} },
- },
- output: { type: "structure", members: {} },
- },
- DisassociateFleet: {
- input: {
- type: "structure",
- required: ["FleetName", "StackName"],
- members: { FleetName: {}, StackName: {} },
- },
- output: { type: "structure", members: {} },
- },
- EnableUser: {
- input: {
- type: "structure",
- required: ["UserName", "AuthenticationType"],
- members: { UserName: { shape: "S7" }, AuthenticationType: {} },
- },
- output: { type: "structure", members: {} },
- },
- ExpireSession: {
- input: {
- type: "structure",
- required: ["SessionId"],
- members: { SessionId: {} },
- },
- output: { type: "structure", members: {} },
- },
- ListAssociatedFleets: {
- input: {
- type: "structure",
- required: ["StackName"],
- members: { StackName: {}, NextToken: {} },
- },
- output: {
- type: "structure",
- members: { Names: { shape: "S3p" }, NextToken: {} },
- },
- },
- ListAssociatedStacks: {
- input: {
- type: "structure",
- required: ["FleetName"],
- members: { FleetName: {}, NextToken: {} },
- },
- output: {
- type: "structure",
- members: { Names: { shape: "S3p" }, NextToken: {} },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: { ResourceArn: {} },
- },
- output: { type: "structure", members: { Tags: { shape: "S16" } } },
- },
- StartFleet: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: { type: "structure", members: {} },
- },
- StartImageBuilder: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {}, AppstreamAgentVersion: {} },
- },
- output: {
- type: "structure",
- members: { ImageBuilder: { shape: "S1m" } },
- },
- },
- StopFleet: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: { type: "structure", members: {} },
- },
- StopImageBuilder: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: {
- type: "structure",
- members: { ImageBuilder: { shape: "S1m" } },
- },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "Tags"],
- members: { ResourceArn: {}, Tags: { shape: "S16" } },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "TagKeys"],
- members: {
- ResourceArn: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateDirectoryConfig: {
- input: {
- type: "structure",
- required: ["DirectoryName"],
- members: {
- DirectoryName: {},
- OrganizationalUnitDistinguishedNames: { shape: "Sn" },
- ServiceAccountCredentials: { shape: "Sp" },
- },
- },
- output: {
- type: "structure",
- members: { DirectoryConfig: { shape: "St" } },
- },
- },
- UpdateFleet: {
- input: {
- type: "structure",
- members: {
- ImageName: {},
- ImageArn: {},
- Name: {},
- InstanceType: {},
- ComputeCapacity: { shape: "Sy" },
- VpcConfig: { shape: "S10" },
- MaxUserDurationInSeconds: { type: "integer" },
- DisconnectTimeoutInSeconds: { type: "integer" },
- DeleteVpcConfig: { deprecated: true, type: "boolean" },
- Description: {},
- DisplayName: {},
- EnableDefaultInternetAccess: { type: "boolean" },
- DomainJoinInfo: { shape: "S15" },
- IdleDisconnectTimeoutInSeconds: { type: "integer" },
- AttributesToDelete: { type: "list", member: {} },
- IamRoleArn: {},
- },
- },
- output: { type: "structure", members: { Fleet: { shape: "S1a" } } },
- },
- UpdateImagePermissions: {
- input: {
- type: "structure",
- required: ["Name", "SharedAccountId", "ImagePermissions"],
- members: {
- Name: {},
- SharedAccountId: {},
- ImagePermissions: { shape: "S38" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateStack: {
- input: {
- type: "structure",
- required: ["Name"],
- members: {
- DisplayName: {},
- Description: {},
- Name: {},
- StorageConnectors: { shape: "S1y" },
- DeleteStorageConnectors: { deprecated: true, type: "boolean" },
- RedirectURL: {},
- FeedbackURL: {},
- AttributesToDelete: { type: "list", member: {} },
- UserSettings: { shape: "S26" },
- ApplicationSettings: { shape: "S2a" },
- AccessEndpoints: { shape: "S1i" },
- EmbedHostDomains: { shape: "S2c" },
- },
- },
- output: { type: "structure", members: { Stack: { shape: "S2f" } } },
- },
- },
- shapes: {
- S5: { type: "list", member: { shape: "S6" } },
- S6: {
- type: "structure",
- required: ["StackName", "UserName", "AuthenticationType"],
- members: {
- StackName: {},
- UserName: { shape: "S7" },
- AuthenticationType: {},
- SendEmailNotification: { type: "boolean" },
- },
- },
- S7: { type: "string", sensitive: true },
- Sb: {
- type: "list",
- member: {
- type: "structure",
- members: {
- UserStackAssociation: { shape: "S6" },
- ErrorCode: {},
- ErrorMessage: {},
- },
- },
- },
- Sn: { type: "list", member: {} },
- Sp: {
- type: "structure",
- required: ["AccountName", "AccountPassword"],
- members: {
- AccountName: { type: "string", sensitive: true },
- AccountPassword: { type: "string", sensitive: true },
- },
- },
- St: {
- type: "structure",
- required: ["DirectoryName"],
- members: {
- DirectoryName: {},
- OrganizationalUnitDistinguishedNames: { shape: "Sn" },
- ServiceAccountCredentials: { shape: "Sp" },
- CreatedTime: { type: "timestamp" },
- },
- },
- Sy: {
- type: "structure",
- required: ["DesiredInstances"],
- members: { DesiredInstances: { type: "integer" } },
- },
- S10: {
- type: "structure",
- members: {
- SubnetIds: { type: "list", member: {} },
- SecurityGroupIds: { type: "list", member: {} },
- },
- },
- S15: {
- type: "structure",
- members: {
- DirectoryName: {},
- OrganizationalUnitDistinguishedName: {},
- },
- },
- S16: { type: "map", key: {}, value: {} },
- S1a: {
- type: "structure",
- required: [
- "Arn",
- "Name",
- "InstanceType",
- "ComputeCapacityStatus",
- "State",
- ],
- members: {
- Arn: {},
- Name: {},
- DisplayName: {},
- Description: {},
- ImageName: {},
- ImageArn: {},
- InstanceType: {},
- FleetType: {},
- ComputeCapacityStatus: {
- type: "structure",
- required: ["Desired"],
- members: {
- Desired: { type: "integer" },
- Running: { type: "integer" },
- InUse: { type: "integer" },
- Available: { type: "integer" },
- },
- },
- MaxUserDurationInSeconds: { type: "integer" },
- DisconnectTimeoutInSeconds: { type: "integer" },
- State: {},
- VpcConfig: { shape: "S10" },
- CreatedTime: { type: "timestamp" },
- FleetErrors: {
- type: "list",
- member: {
- type: "structure",
- members: { ErrorCode: {}, ErrorMessage: {} },
- },
- },
- EnableDefaultInternetAccess: { type: "boolean" },
- DomainJoinInfo: { shape: "S15" },
- IdleDisconnectTimeoutInSeconds: { type: "integer" },
- IamRoleArn: {},
- },
- },
- S1i: {
- type: "list",
- member: {
- type: "structure",
- required: ["EndpointType"],
- members: { EndpointType: {}, VpceId: {} },
- },
- },
- S1m: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {},
- Arn: {},
- ImageArn: {},
- Description: {},
- DisplayName: {},
- VpcConfig: { shape: "S10" },
- InstanceType: {},
- Platform: {},
- IamRoleArn: {},
- State: {},
- StateChangeReason: {
- type: "structure",
- members: { Code: {}, Message: {} },
- },
- CreatedTime: { type: "timestamp" },
- EnableDefaultInternetAccess: { type: "boolean" },
- DomainJoinInfo: { shape: "S15" },
- NetworkAccessConfiguration: { shape: "S1r" },
- ImageBuilderErrors: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ErrorCode: {},
- ErrorMessage: {},
- ErrorTimestamp: { type: "timestamp" },
- },
- },
- },
- AppstreamAgentVersion: {},
- AccessEndpoints: { shape: "S1i" },
- },
- },
- S1r: {
- type: "structure",
- members: { EniPrivateIpAddress: {}, EniId: {} },
- },
- S1y: {
- type: "list",
- member: {
- type: "structure",
- required: ["ConnectorType"],
- members: {
- ConnectorType: {},
- ResourceIdentifier: {},
- Domains: { type: "list", member: {} },
- },
- },
- },
- S26: {
- type: "list",
- member: {
- type: "structure",
- required: ["Action", "Permission"],
- members: { Action: {}, Permission: {} },
- },
- },
- S2a: {
- type: "structure",
- required: ["Enabled"],
- members: { Enabled: { type: "boolean" }, SettingsGroup: {} },
- },
- S2c: { type: "list", member: {} },
- S2f: {
- type: "structure",
- required: ["Name"],
- members: {
- Arn: {},
- Name: {},
- Description: {},
- DisplayName: {},
- CreatedTime: { type: "timestamp" },
- StorageConnectors: { shape: "S1y" },
- RedirectURL: {},
- FeedbackURL: {},
- StackErrors: {
- type: "list",
- member: {
- type: "structure",
- members: { ErrorCode: {}, ErrorMessage: {} },
- },
- },
- UserSettings: { shape: "S26" },
- ApplicationSettings: {
- type: "structure",
- members: {
- Enabled: { type: "boolean" },
- SettingsGroup: {},
- S3BucketName: {},
- },
- },
- AccessEndpoints: { shape: "S1i" },
- EmbedHostDomains: { shape: "S2c" },
- },
- },
- S2s: { type: "string", sensitive: true },
- S30: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {},
- Arn: {},
- BaseImageArn: {},
- DisplayName: {},
- State: {},
- Visibility: {},
- ImageBuilderSupported: { type: "boolean" },
- ImageBuilderName: {},
- Platform: {},
- Description: {},
- StateChangeReason: {
- type: "structure",
- members: { Code: {}, Message: {} },
- },
- Applications: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- DisplayName: {},
- IconURL: {},
- LaunchPath: {},
- LaunchParameters: {},
- Enabled: { type: "boolean" },
- Metadata: { type: "map", key: {}, value: {} },
- },
- },
- },
- CreatedTime: { type: "timestamp" },
- PublicBaseImageReleasedDate: { type: "timestamp" },
- AppstreamAgentVersion: {},
- ImagePermissions: { shape: "S38" },
- },
- },
- S38: {
- type: "structure",
- members: {
- allowFleet: { type: "boolean" },
- allowImageBuilder: { type: "boolean" },
- },
- },
- S3p: { type: "list", member: {} },
- },
- };
-
- /***/
- },
-
- /***/ 997: /***/ function (module) {
- module.exports = {
- metadata: {
- apiVersion: "2016-12-01",
- endpointPrefix: "pinpoint",
- signingName: "mobiletargeting",
- serviceFullName: "Amazon Pinpoint",
- serviceId: "Pinpoint",
- protocol: "rest-json",
- jsonVersion: "1.1",
- uid: "pinpoint-2016-12-01",
- signatureVersion: "v4",
- },
- operations: {
- CreateApp: {
- http: { requestUri: "/v1/apps", responseCode: 201 },
- input: {
- type: "structure",
- members: {
- CreateApplicationRequest: {
- type: "structure",
- members: {
- Name: {},
- tags: { shape: "S4", locationName: "tags" },
- },
- required: ["Name"],
- },
- },
- required: ["CreateApplicationRequest"],
- payload: "CreateApplicationRequest",
- },
- output: {
- type: "structure",
- members: { ApplicationResponse: { shape: "S6" } },
- required: ["ApplicationResponse"],
- payload: "ApplicationResponse",
- },
- },
- CreateCampaign: {
- http: {
- requestUri: "/v1/apps/{application-id}/campaigns",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- WriteCampaignRequest: { shape: "S8" },
- },
- required: ["ApplicationId", "WriteCampaignRequest"],
- payload: "WriteCampaignRequest",
- },
- output: {
- type: "structure",
- members: { CampaignResponse: { shape: "S14" } },
- required: ["CampaignResponse"],
- payload: "CampaignResponse",
- },
- },
- CreateEmailTemplate: {
- http: {
- requestUri: "/v1/templates/{template-name}/email",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- EmailTemplateRequest: { shape: "S1a" },
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- },
- required: ["TemplateName", "EmailTemplateRequest"],
- payload: "EmailTemplateRequest",
- },
- output: {
- type: "structure",
- members: { CreateTemplateMessageBody: { shape: "S1c" } },
- required: ["CreateTemplateMessageBody"],
- payload: "CreateTemplateMessageBody",
- },
- },
- CreateExportJob: {
- http: {
- requestUri: "/v1/apps/{application-id}/jobs/export",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- ExportJobRequest: {
- type: "structure",
- members: {
- RoleArn: {},
- S3UrlPrefix: {},
- SegmentId: {},
- SegmentVersion: { type: "integer" },
- },
- required: ["S3UrlPrefix", "RoleArn"],
- },
- },
- required: ["ApplicationId", "ExportJobRequest"],
- payload: "ExportJobRequest",
- },
- output: {
- type: "structure",
- members: { ExportJobResponse: { shape: "S1g" } },
- required: ["ExportJobResponse"],
- payload: "ExportJobResponse",
- },
- },
- CreateImportJob: {
- http: {
- requestUri: "/v1/apps/{application-id}/jobs/import",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- ImportJobRequest: {
- type: "structure",
- members: {
- DefineSegment: { type: "boolean" },
- ExternalId: {},
- Format: {},
- RegisterEndpoints: { type: "boolean" },
- RoleArn: {},
- S3Url: {},
- SegmentId: {},
- SegmentName: {},
- },
- required: ["Format", "S3Url", "RoleArn"],
- },
- },
- required: ["ApplicationId", "ImportJobRequest"],
- payload: "ImportJobRequest",
- },
- output: {
- type: "structure",
- members: { ImportJobResponse: { shape: "S1n" } },
- required: ["ImportJobResponse"],
- payload: "ImportJobResponse",
- },
- },
- CreateJourney: {
- http: {
- requestUri: "/v1/apps/{application-id}/journeys",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- WriteJourneyRequest: { shape: "S1q" },
- },
- required: ["ApplicationId", "WriteJourneyRequest"],
- payload: "WriteJourneyRequest",
- },
- output: {
- type: "structure",
- members: { JourneyResponse: { shape: "S2q" } },
- required: ["JourneyResponse"],
- payload: "JourneyResponse",
- },
- },
- CreatePushTemplate: {
- http: {
- requestUri: "/v1/templates/{template-name}/push",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- PushNotificationTemplateRequest: { shape: "S2s" },
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- },
- required: ["TemplateName", "PushNotificationTemplateRequest"],
- payload: "PushNotificationTemplateRequest",
- },
- output: {
- type: "structure",
- members: { CreateTemplateMessageBody: { shape: "S1c" } },
- required: ["CreateTemplateMessageBody"],
- payload: "CreateTemplateMessageBody",
- },
- },
- CreateRecommenderConfiguration: {
- http: { requestUri: "/v1/recommenders", responseCode: 201 },
- input: {
- type: "structure",
- members: {
- CreateRecommenderConfiguration: {
- type: "structure",
- members: {
- Attributes: { shape: "S4" },
- Description: {},
- Name: {},
- RecommendationProviderIdType: {},
- RecommendationProviderRoleArn: {},
- RecommendationProviderUri: {},
- RecommendationTransformerUri: {},
- RecommendationsDisplayName: {},
- RecommendationsPerMessage: { type: "integer" },
- },
- required: [
- "RecommendationProviderUri",
- "RecommendationProviderRoleArn",
- ],
- },
- },
- required: ["CreateRecommenderConfiguration"],
- payload: "CreateRecommenderConfiguration",
- },
- output: {
- type: "structure",
- members: { RecommenderConfigurationResponse: { shape: "S30" } },
- required: ["RecommenderConfigurationResponse"],
- payload: "RecommenderConfigurationResponse",
- },
- },
- CreateSegment: {
- http: {
- requestUri: "/v1/apps/{application-id}/segments",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- WriteSegmentRequest: { shape: "S32" },
- },
- required: ["ApplicationId", "WriteSegmentRequest"],
- payload: "WriteSegmentRequest",
- },
- output: {
- type: "structure",
- members: { SegmentResponse: { shape: "S3d" } },
- required: ["SegmentResponse"],
- payload: "SegmentResponse",
- },
- },
- CreateSmsTemplate: {
- http: {
- requestUri: "/v1/templates/{template-name}/sms",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- SMSTemplateRequest: { shape: "S3i" },
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- },
- required: ["TemplateName", "SMSTemplateRequest"],
- payload: "SMSTemplateRequest",
- },
- output: {
- type: "structure",
- members: { CreateTemplateMessageBody: { shape: "S1c" } },
- required: ["CreateTemplateMessageBody"],
- payload: "CreateTemplateMessageBody",
- },
- },
- CreateVoiceTemplate: {
- http: {
- requestUri: "/v1/templates/{template-name}/voice",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- VoiceTemplateRequest: { shape: "S3l" },
- },
- required: ["TemplateName", "VoiceTemplateRequest"],
- payload: "VoiceTemplateRequest",
- },
- output: {
- type: "structure",
- members: { CreateTemplateMessageBody: { shape: "S1c" } },
- required: ["CreateTemplateMessageBody"],
- payload: "CreateTemplateMessageBody",
- },
- },
- DeleteAdmChannel: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/channels/adm",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { ADMChannelResponse: { shape: "S3p" } },
- required: ["ADMChannelResponse"],
- payload: "ADMChannelResponse",
- },
- },
- DeleteApnsChannel: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/channels/apns",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { APNSChannelResponse: { shape: "S3s" } },
- required: ["APNSChannelResponse"],
- payload: "APNSChannelResponse",
- },
- },
- DeleteApnsSandboxChannel: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/channels/apns_sandbox",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { APNSSandboxChannelResponse: { shape: "S3v" } },
- required: ["APNSSandboxChannelResponse"],
- payload: "APNSSandboxChannelResponse",
- },
- },
- DeleteApnsVoipChannel: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/channels/apns_voip",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { APNSVoipChannelResponse: { shape: "S3y" } },
- required: ["APNSVoipChannelResponse"],
- payload: "APNSVoipChannelResponse",
- },
- },
- DeleteApnsVoipSandboxChannel: {
- http: {
- method: "DELETE",
- requestUri:
- "/v1/apps/{application-id}/channels/apns_voip_sandbox",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { APNSVoipSandboxChannelResponse: { shape: "S41" } },
- required: ["APNSVoipSandboxChannelResponse"],
- payload: "APNSVoipSandboxChannelResponse",
- },
- },
- DeleteApp: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { ApplicationResponse: { shape: "S6" } },
- required: ["ApplicationResponse"],
- payload: "ApplicationResponse",
- },
- },
- DeleteBaiduChannel: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/channels/baidu",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { BaiduChannelResponse: { shape: "S46" } },
- required: ["BaiduChannelResponse"],
- payload: "BaiduChannelResponse",
- },
- },
- DeleteCampaign: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/campaigns/{campaign-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- CampaignId: { location: "uri", locationName: "campaign-id" },
- },
- required: ["CampaignId", "ApplicationId"],
- },
- output: {
- type: "structure",
- members: { CampaignResponse: { shape: "S14" } },
- required: ["CampaignResponse"],
- payload: "CampaignResponse",
- },
- },
- DeleteEmailChannel: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/channels/email",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { EmailChannelResponse: { shape: "S4b" } },
- required: ["EmailChannelResponse"],
- payload: "EmailChannelResponse",
- },
- },
- DeleteEmailTemplate: {
- http: {
- method: "DELETE",
- requestUri: "/v1/templates/{template-name}/email",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- Version: { location: "querystring", locationName: "version" },
- },
- required: ["TemplateName"],
- },
- output: {
- type: "structure",
- members: { MessageBody: { shape: "S4e" } },
- required: ["MessageBody"],
- payload: "MessageBody",
- },
- },
- DeleteEndpoint: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/endpoints/{endpoint-id}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- EndpointId: { location: "uri", locationName: "endpoint-id" },
- },
- required: ["ApplicationId", "EndpointId"],
- },
- output: {
- type: "structure",
- members: { EndpointResponse: { shape: "S4h" } },
- required: ["EndpointResponse"],
- payload: "EndpointResponse",
- },
- },
- DeleteEventStream: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/eventstream",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { EventStream: { shape: "S4q" } },
- required: ["EventStream"],
- payload: "EventStream",
- },
- },
- DeleteGcmChannel: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/channels/gcm",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { GCMChannelResponse: { shape: "S4t" } },
- required: ["GCMChannelResponse"],
- payload: "GCMChannelResponse",
- },
- },
- DeleteJourney: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/journeys/{journey-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- JourneyId: { location: "uri", locationName: "journey-id" },
- },
- required: ["JourneyId", "ApplicationId"],
- },
- output: {
- type: "structure",
- members: { JourneyResponse: { shape: "S2q" } },
- required: ["JourneyResponse"],
- payload: "JourneyResponse",
- },
- },
- DeletePushTemplate: {
- http: {
- method: "DELETE",
- requestUri: "/v1/templates/{template-name}/push",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- Version: { location: "querystring", locationName: "version" },
- },
- required: ["TemplateName"],
- },
- output: {
- type: "structure",
- members: { MessageBody: { shape: "S4e" } },
- required: ["MessageBody"],
- payload: "MessageBody",
- },
- },
- DeleteRecommenderConfiguration: {
- http: {
- method: "DELETE",
- requestUri: "/v1/recommenders/{recommender-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- RecommenderId: {
- location: "uri",
- locationName: "recommender-id",
- },
- },
- required: ["RecommenderId"],
- },
- output: {
- type: "structure",
- members: { RecommenderConfigurationResponse: { shape: "S30" } },
- required: ["RecommenderConfigurationResponse"],
- payload: "RecommenderConfigurationResponse",
- },
- },
- DeleteSegment: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/segments/{segment-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- SegmentId: { location: "uri", locationName: "segment-id" },
- },
- required: ["SegmentId", "ApplicationId"],
- },
- output: {
- type: "structure",
- members: { SegmentResponse: { shape: "S3d" } },
- required: ["SegmentResponse"],
- payload: "SegmentResponse",
- },
- },
- DeleteSmsChannel: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/channels/sms",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { SMSChannelResponse: { shape: "S54" } },
- required: ["SMSChannelResponse"],
- payload: "SMSChannelResponse",
- },
- },
- DeleteSmsTemplate: {
- http: {
- method: "DELETE",
- requestUri: "/v1/templates/{template-name}/sms",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- Version: { location: "querystring", locationName: "version" },
- },
- required: ["TemplateName"],
- },
- output: {
- type: "structure",
- members: { MessageBody: { shape: "S4e" } },
- required: ["MessageBody"],
- payload: "MessageBody",
- },
- },
- DeleteUserEndpoints: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/users/{user-id}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- UserId: { location: "uri", locationName: "user-id" },
- },
- required: ["ApplicationId", "UserId"],
- },
- output: {
- type: "structure",
- members: { EndpointsResponse: { shape: "S59" } },
- required: ["EndpointsResponse"],
- payload: "EndpointsResponse",
- },
- },
- DeleteVoiceChannel: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apps/{application-id}/channels/voice",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { VoiceChannelResponse: { shape: "S5d" } },
- required: ["VoiceChannelResponse"],
- payload: "VoiceChannelResponse",
- },
- },
- DeleteVoiceTemplate: {
- http: {
- method: "DELETE",
- requestUri: "/v1/templates/{template-name}/voice",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- Version: { location: "querystring", locationName: "version" },
- },
- required: ["TemplateName"],
- },
- output: {
- type: "structure",
- members: { MessageBody: { shape: "S4e" } },
- required: ["MessageBody"],
- payload: "MessageBody",
- },
- },
- GetAdmChannel: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/channels/adm",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { ADMChannelResponse: { shape: "S3p" } },
- required: ["ADMChannelResponse"],
- payload: "ADMChannelResponse",
- },
- },
- GetApnsChannel: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/channels/apns",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { APNSChannelResponse: { shape: "S3s" } },
- required: ["APNSChannelResponse"],
- payload: "APNSChannelResponse",
- },
- },
- GetApnsSandboxChannel: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/channels/apns_sandbox",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { APNSSandboxChannelResponse: { shape: "S3v" } },
- required: ["APNSSandboxChannelResponse"],
- payload: "APNSSandboxChannelResponse",
- },
- },
- GetApnsVoipChannel: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/channels/apns_voip",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { APNSVoipChannelResponse: { shape: "S3y" } },
- required: ["APNSVoipChannelResponse"],
- payload: "APNSVoipChannelResponse",
- },
- },
- GetApnsVoipSandboxChannel: {
- http: {
- method: "GET",
- requestUri:
- "/v1/apps/{application-id}/channels/apns_voip_sandbox",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { APNSVoipSandboxChannelResponse: { shape: "S41" } },
- required: ["APNSVoipSandboxChannelResponse"],
- payload: "APNSVoipSandboxChannelResponse",
- },
- },
- GetApp: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { ApplicationResponse: { shape: "S6" } },
- required: ["ApplicationResponse"],
- payload: "ApplicationResponse",
- },
- },
- GetApplicationDateRangeKpi: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/kpis/daterange/{kpi-name}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- EndTime: {
- shape: "S2m",
- location: "querystring",
- locationName: "end-time",
- },
- KpiName: { location: "uri", locationName: "kpi-name" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- StartTime: {
- shape: "S2m",
- location: "querystring",
- locationName: "start-time",
- },
- },
- required: ["ApplicationId", "KpiName"],
- },
- output: {
- type: "structure",
- members: {
- ApplicationDateRangeKpiResponse: {
- type: "structure",
- members: {
- ApplicationId: {},
- EndTime: { shape: "S2m" },
- KpiName: {},
- KpiResult: { shape: "S5v" },
- NextToken: {},
- StartTime: { shape: "S2m" },
- },
- required: [
- "KpiResult",
- "KpiName",
- "EndTime",
- "StartTime",
- "ApplicationId",
- ],
- },
- },
- required: ["ApplicationDateRangeKpiResponse"],
- payload: "ApplicationDateRangeKpiResponse",
- },
- },
- GetApplicationSettings: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/settings",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { ApplicationSettingsResource: { shape: "S62" } },
- required: ["ApplicationSettingsResource"],
- payload: "ApplicationSettingsResource",
- },
- },
- GetApps: {
- http: { method: "GET", requestUri: "/v1/apps", responseCode: 200 },
- input: {
- type: "structure",
- members: {
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- Token: { location: "querystring", locationName: "token" },
- },
- },
- output: {
- type: "structure",
- members: {
- ApplicationsResponse: {
- type: "structure",
- members: {
- Item: { type: "list", member: { shape: "S6" } },
- NextToken: {},
- },
- },
- },
- required: ["ApplicationsResponse"],
- payload: "ApplicationsResponse",
- },
- },
- GetBaiduChannel: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/channels/baidu",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { BaiduChannelResponse: { shape: "S46" } },
- required: ["BaiduChannelResponse"],
- payload: "BaiduChannelResponse",
- },
- },
- GetCampaign: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/campaigns/{campaign-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- CampaignId: { location: "uri", locationName: "campaign-id" },
- },
- required: ["CampaignId", "ApplicationId"],
- },
- output: {
- type: "structure",
- members: { CampaignResponse: { shape: "S14" } },
- required: ["CampaignResponse"],
- payload: "CampaignResponse",
- },
- },
- GetCampaignActivities: {
- http: {
- method: "GET",
- requestUri:
- "/v1/apps/{application-id}/campaigns/{campaign-id}/activities",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- CampaignId: { location: "uri", locationName: "campaign-id" },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- Token: { location: "querystring", locationName: "token" },
- },
- required: ["ApplicationId", "CampaignId"],
- },
- output: {
- type: "structure",
- members: {
- ActivitiesResponse: {
- type: "structure",
- members: {
- Item: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ApplicationId: {},
- CampaignId: {},
- End: {},
- Id: {},
- Result: {},
- ScheduledStart: {},
- Start: {},
- State: {},
- SuccessfulEndpointCount: { type: "integer" },
- TimezonesCompletedCount: { type: "integer" },
- TimezonesTotalCount: { type: "integer" },
- TotalEndpointCount: { type: "integer" },
- TreatmentId: {},
- },
- required: ["CampaignId", "Id", "ApplicationId"],
- },
- },
- NextToken: {},
- },
- required: ["Item"],
- },
- },
- required: ["ActivitiesResponse"],
- payload: "ActivitiesResponse",
- },
- },
- GetCampaignDateRangeKpi: {
- http: {
- method: "GET",
- requestUri:
- "/v1/apps/{application-id}/campaigns/{campaign-id}/kpis/daterange/{kpi-name}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- CampaignId: { location: "uri", locationName: "campaign-id" },
- EndTime: {
- shape: "S2m",
- location: "querystring",
- locationName: "end-time",
- },
- KpiName: { location: "uri", locationName: "kpi-name" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- StartTime: {
- shape: "S2m",
- location: "querystring",
- locationName: "start-time",
- },
- },
- required: ["ApplicationId", "KpiName", "CampaignId"],
- },
- output: {
- type: "structure",
- members: {
- CampaignDateRangeKpiResponse: {
- type: "structure",
- members: {
- ApplicationId: {},
- CampaignId: {},
- EndTime: { shape: "S2m" },
- KpiName: {},
- KpiResult: { shape: "S5v" },
- NextToken: {},
- StartTime: { shape: "S2m" },
- },
- required: [
- "KpiResult",
- "KpiName",
- "EndTime",
- "CampaignId",
- "StartTime",
- "ApplicationId",
- ],
- },
- },
- required: ["CampaignDateRangeKpiResponse"],
- payload: "CampaignDateRangeKpiResponse",
- },
- },
- GetCampaignVersion: {
- http: {
- method: "GET",
- requestUri:
- "/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- CampaignId: { location: "uri", locationName: "campaign-id" },
- Version: { location: "uri", locationName: "version" },
- },
- required: ["Version", "ApplicationId", "CampaignId"],
- },
- output: {
- type: "structure",
- members: { CampaignResponse: { shape: "S14" } },
- required: ["CampaignResponse"],
- payload: "CampaignResponse",
- },
- },
- GetCampaignVersions: {
- http: {
- method: "GET",
- requestUri:
- "/v1/apps/{application-id}/campaigns/{campaign-id}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- CampaignId: { location: "uri", locationName: "campaign-id" },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- Token: { location: "querystring", locationName: "token" },
- },
- required: ["ApplicationId", "CampaignId"],
- },
- output: {
- type: "structure",
- members: { CampaignsResponse: { shape: "S6n" } },
- required: ["CampaignsResponse"],
- payload: "CampaignsResponse",
- },
- },
- GetCampaigns: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/campaigns",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- Token: { location: "querystring", locationName: "token" },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { CampaignsResponse: { shape: "S6n" } },
- required: ["CampaignsResponse"],
- payload: "CampaignsResponse",
- },
- },
- GetChannels: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/channels",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: {
- ChannelsResponse: {
- type: "structure",
- members: {
- Channels: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- ApplicationId: {},
- CreationDate: {},
- Enabled: { type: "boolean" },
- HasCredential: { type: "boolean" },
- Id: {},
- IsArchived: { type: "boolean" },
- LastModifiedBy: {},
- LastModifiedDate: {},
- Version: { type: "integer" },
- },
- },
- },
- },
- required: ["Channels"],
- },
- },
- required: ["ChannelsResponse"],
- payload: "ChannelsResponse",
- },
- },
- GetEmailChannel: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/channels/email",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { EmailChannelResponse: { shape: "S4b" } },
- required: ["EmailChannelResponse"],
- payload: "EmailChannelResponse",
- },
- },
- GetEmailTemplate: {
- http: {
- method: "GET",
- requestUri: "/v1/templates/{template-name}/email",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- Version: { location: "querystring", locationName: "version" },
- },
- required: ["TemplateName"],
- },
- output: {
- type: "structure",
- members: {
- EmailTemplateResponse: {
- type: "structure",
- members: {
- Arn: {},
- CreationDate: {},
- DefaultSubstitutions: {},
- HtmlPart: {},
- LastModifiedDate: {},
- RecommenderId: {},
- Subject: {},
- tags: { shape: "S4", locationName: "tags" },
- TemplateDescription: {},
- TemplateName: {},
- TemplateType: {},
- TextPart: {},
- Version: {},
- },
- required: [
- "LastModifiedDate",
- "CreationDate",
- "TemplateName",
- "TemplateType",
- ],
- },
- },
- required: ["EmailTemplateResponse"],
- payload: "EmailTemplateResponse",
- },
- },
- GetEndpoint: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/endpoints/{endpoint-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- EndpointId: { location: "uri", locationName: "endpoint-id" },
- },
- required: ["ApplicationId", "EndpointId"],
- },
- output: {
- type: "structure",
- members: { EndpointResponse: { shape: "S4h" } },
- required: ["EndpointResponse"],
- payload: "EndpointResponse",
- },
- },
- GetEventStream: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/eventstream",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { EventStream: { shape: "S4q" } },
- required: ["EventStream"],
- payload: "EventStream",
- },
- },
- GetExportJob: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/jobs/export/{job-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- JobId: { location: "uri", locationName: "job-id" },
- },
- required: ["ApplicationId", "JobId"],
- },
- output: {
- type: "structure",
- members: { ExportJobResponse: { shape: "S1g" } },
- required: ["ExportJobResponse"],
- payload: "ExportJobResponse",
- },
- },
- GetExportJobs: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/jobs/export",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- Token: { location: "querystring", locationName: "token" },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { ExportJobsResponse: { shape: "S7a" } },
- required: ["ExportJobsResponse"],
- payload: "ExportJobsResponse",
- },
- },
- GetGcmChannel: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/channels/gcm",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { GCMChannelResponse: { shape: "S4t" } },
- required: ["GCMChannelResponse"],
- payload: "GCMChannelResponse",
- },
- },
- GetImportJob: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/jobs/import/{job-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- JobId: { location: "uri", locationName: "job-id" },
- },
- required: ["ApplicationId", "JobId"],
- },
- output: {
- type: "structure",
- members: { ImportJobResponse: { shape: "S1n" } },
- required: ["ImportJobResponse"],
- payload: "ImportJobResponse",
- },
- },
- GetImportJobs: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/jobs/import",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- Token: { location: "querystring", locationName: "token" },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { ImportJobsResponse: { shape: "S7i" } },
- required: ["ImportJobsResponse"],
- payload: "ImportJobsResponse",
- },
- },
- GetJourney: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/journeys/{journey-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- JourneyId: { location: "uri", locationName: "journey-id" },
- },
- required: ["JourneyId", "ApplicationId"],
- },
- output: {
- type: "structure",
- members: { JourneyResponse: { shape: "S2q" } },
- required: ["JourneyResponse"],
- payload: "JourneyResponse",
- },
- },
- GetJourneyDateRangeKpi: {
- http: {
- method: "GET",
- requestUri:
- "/v1/apps/{application-id}/journeys/{journey-id}/kpis/daterange/{kpi-name}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- EndTime: {
- shape: "S2m",
- location: "querystring",
- locationName: "end-time",
- },
- JourneyId: { location: "uri", locationName: "journey-id" },
- KpiName: { location: "uri", locationName: "kpi-name" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- StartTime: {
- shape: "S2m",
- location: "querystring",
- locationName: "start-time",
- },
- },
- required: ["JourneyId", "ApplicationId", "KpiName"],
- },
- output: {
- type: "structure",
- members: {
- JourneyDateRangeKpiResponse: {
- type: "structure",
- members: {
- ApplicationId: {},
- EndTime: { shape: "S2m" },
- JourneyId: {},
- KpiName: {},
- KpiResult: { shape: "S5v" },
- NextToken: {},
- StartTime: { shape: "S2m" },
- },
- required: [
- "KpiResult",
- "KpiName",
- "JourneyId",
- "EndTime",
- "StartTime",
- "ApplicationId",
- ],
- },
- },
- required: ["JourneyDateRangeKpiResponse"],
- payload: "JourneyDateRangeKpiResponse",
- },
- },
- GetJourneyExecutionActivityMetrics: {
- http: {
- method: "GET",
- requestUri:
- "/v1/apps/{application-id}/journeys/{journey-id}/activities/{journey-activity-id}/execution-metrics",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- JourneyActivityId: {
- location: "uri",
- locationName: "journey-activity-id",
- },
- JourneyId: { location: "uri", locationName: "journey-id" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- },
- required: ["JourneyActivityId", "ApplicationId", "JourneyId"],
- },
- output: {
- type: "structure",
- members: {
- JourneyExecutionActivityMetricsResponse: {
- type: "structure",
- members: {
- ActivityType: {},
- ApplicationId: {},
- JourneyActivityId: {},
- JourneyId: {},
- LastEvaluatedTime: {},
- Metrics: { shape: "S4" },
- },
- required: [
- "Metrics",
- "JourneyId",
- "LastEvaluatedTime",
- "JourneyActivityId",
- "ActivityType",
- "ApplicationId",
- ],
- },
- },
- required: ["JourneyExecutionActivityMetricsResponse"],
- payload: "JourneyExecutionActivityMetricsResponse",
- },
- },
- GetJourneyExecutionMetrics: {
- http: {
- method: "GET",
- requestUri:
- "/v1/apps/{application-id}/journeys/{journey-id}/execution-metrics",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- JourneyId: { location: "uri", locationName: "journey-id" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- },
- required: ["ApplicationId", "JourneyId"],
- },
- output: {
- type: "structure",
- members: {
- JourneyExecutionMetricsResponse: {
- type: "structure",
- members: {
- ApplicationId: {},
- JourneyId: {},
- LastEvaluatedTime: {},
- Metrics: { shape: "S4" },
- },
- required: [
- "Metrics",
- "JourneyId",
- "LastEvaluatedTime",
- "ApplicationId",
- ],
- },
- },
- required: ["JourneyExecutionMetricsResponse"],
- payload: "JourneyExecutionMetricsResponse",
- },
- },
- GetPushTemplate: {
- http: {
- method: "GET",
- requestUri: "/v1/templates/{template-name}/push",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- Version: { location: "querystring", locationName: "version" },
- },
- required: ["TemplateName"],
- },
- output: {
- type: "structure",
- members: {
- PushNotificationTemplateResponse: {
- type: "structure",
- members: {
- ADM: { shape: "S2t" },
- APNS: { shape: "S2u" },
- Arn: {},
- Baidu: { shape: "S2t" },
- CreationDate: {},
- Default: { shape: "S2v" },
- DefaultSubstitutions: {},
- GCM: { shape: "S2t" },
- LastModifiedDate: {},
- RecommenderId: {},
- tags: { shape: "S4", locationName: "tags" },
- TemplateDescription: {},
- TemplateName: {},
- TemplateType: {},
- Version: {},
- },
- required: [
- "LastModifiedDate",
- "CreationDate",
- "TemplateType",
- "TemplateName",
- ],
- },
- },
- required: ["PushNotificationTemplateResponse"],
- payload: "PushNotificationTemplateResponse",
- },
- },
- GetRecommenderConfiguration: {
- http: {
- method: "GET",
- requestUri: "/v1/recommenders/{recommender-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- RecommenderId: {
- location: "uri",
- locationName: "recommender-id",
- },
- },
- required: ["RecommenderId"],
- },
- output: {
- type: "structure",
- members: { RecommenderConfigurationResponse: { shape: "S30" } },
- required: ["RecommenderConfigurationResponse"],
- payload: "RecommenderConfigurationResponse",
- },
- },
- GetRecommenderConfigurations: {
- http: {
- method: "GET",
- requestUri: "/v1/recommenders",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- Token: { location: "querystring", locationName: "token" },
- },
- },
- output: {
- type: "structure",
- members: {
- ListRecommenderConfigurationsResponse: {
- type: "structure",
- members: {
- Item: { type: "list", member: { shape: "S30" } },
- NextToken: {},
- },
- required: ["Item"],
- },
- },
- required: ["ListRecommenderConfigurationsResponse"],
- payload: "ListRecommenderConfigurationsResponse",
- },
- },
- GetSegment: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/segments/{segment-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- SegmentId: { location: "uri", locationName: "segment-id" },
- },
- required: ["SegmentId", "ApplicationId"],
- },
- output: {
- type: "structure",
- members: { SegmentResponse: { shape: "S3d" } },
- required: ["SegmentResponse"],
- payload: "SegmentResponse",
- },
- },
- GetSegmentExportJobs: {
- http: {
- method: "GET",
- requestUri:
- "/v1/apps/{application-id}/segments/{segment-id}/jobs/export",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- SegmentId: { location: "uri", locationName: "segment-id" },
- Token: { location: "querystring", locationName: "token" },
- },
- required: ["SegmentId", "ApplicationId"],
- },
- output: {
- type: "structure",
- members: { ExportJobsResponse: { shape: "S7a" } },
- required: ["ExportJobsResponse"],
- payload: "ExportJobsResponse",
- },
- },
- GetSegmentImportJobs: {
- http: {
- method: "GET",
- requestUri:
- "/v1/apps/{application-id}/segments/{segment-id}/jobs/import",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- SegmentId: { location: "uri", locationName: "segment-id" },
- Token: { location: "querystring", locationName: "token" },
- },
- required: ["SegmentId", "ApplicationId"],
- },
- output: {
- type: "structure",
- members: { ImportJobsResponse: { shape: "S7i" } },
- required: ["ImportJobsResponse"],
- payload: "ImportJobsResponse",
- },
- },
- GetSegmentVersion: {
- http: {
- method: "GET",
- requestUri:
- "/v1/apps/{application-id}/segments/{segment-id}/versions/{version}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- SegmentId: { location: "uri", locationName: "segment-id" },
- Version: { location: "uri", locationName: "version" },
- },
- required: ["SegmentId", "Version", "ApplicationId"],
- },
- output: {
- type: "structure",
- members: { SegmentResponse: { shape: "S3d" } },
- required: ["SegmentResponse"],
- payload: "SegmentResponse",
- },
- },
- GetSegmentVersions: {
- http: {
- method: "GET",
- requestUri:
- "/v1/apps/{application-id}/segments/{segment-id}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- SegmentId: { location: "uri", locationName: "segment-id" },
- Token: { location: "querystring", locationName: "token" },
- },
- required: ["SegmentId", "ApplicationId"],
- },
- output: {
- type: "structure",
- members: { SegmentsResponse: { shape: "S8e" } },
- required: ["SegmentsResponse"],
- payload: "SegmentsResponse",
- },
- },
- GetSegments: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/segments",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- Token: { location: "querystring", locationName: "token" },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { SegmentsResponse: { shape: "S8e" } },
- required: ["SegmentsResponse"],
- payload: "SegmentsResponse",
- },
- },
- GetSmsChannel: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/channels/sms",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { SMSChannelResponse: { shape: "S54" } },
- required: ["SMSChannelResponse"],
- payload: "SMSChannelResponse",
- },
- },
- GetSmsTemplate: {
- http: {
- method: "GET",
- requestUri: "/v1/templates/{template-name}/sms",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- Version: { location: "querystring", locationName: "version" },
- },
- required: ["TemplateName"],
- },
- output: {
- type: "structure",
- members: {
- SMSTemplateResponse: {
- type: "structure",
- members: {
- Arn: {},
- Body: {},
- CreationDate: {},
- DefaultSubstitutions: {},
- LastModifiedDate: {},
- RecommenderId: {},
- tags: { shape: "S4", locationName: "tags" },
- TemplateDescription: {},
- TemplateName: {},
- TemplateType: {},
- Version: {},
- },
- required: [
- "LastModifiedDate",
- "CreationDate",
- "TemplateName",
- "TemplateType",
- ],
- },
- },
- required: ["SMSTemplateResponse"],
- payload: "SMSTemplateResponse",
- },
- },
- GetUserEndpoints: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/users/{user-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- UserId: { location: "uri", locationName: "user-id" },
- },
- required: ["ApplicationId", "UserId"],
- },
- output: {
- type: "structure",
- members: { EndpointsResponse: { shape: "S59" } },
- required: ["EndpointsResponse"],
- payload: "EndpointsResponse",
- },
- },
- GetVoiceChannel: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/channels/voice",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: { VoiceChannelResponse: { shape: "S5d" } },
- required: ["VoiceChannelResponse"],
- payload: "VoiceChannelResponse",
- },
- },
- GetVoiceTemplate: {
- http: {
- method: "GET",
- requestUri: "/v1/templates/{template-name}/voice",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- Version: { location: "querystring", locationName: "version" },
- },
- required: ["TemplateName"],
- },
- output: {
- type: "structure",
- members: {
- VoiceTemplateResponse: {
- type: "structure",
- members: {
- Arn: {},
- Body: {},
- CreationDate: {},
- DefaultSubstitutions: {},
- LanguageCode: {},
- LastModifiedDate: {},
- tags: { shape: "S4", locationName: "tags" },
- TemplateDescription: {},
- TemplateName: {},
- TemplateType: {},
- Version: {},
- VoiceId: {},
- },
- required: [
- "LastModifiedDate",
- "CreationDate",
- "TemplateName",
- "TemplateType",
- ],
- },
- },
- required: ["VoiceTemplateResponse"],
- payload: "VoiceTemplateResponse",
- },
- },
- ListJourneys: {
- http: {
- method: "GET",
- requestUri: "/v1/apps/{application-id}/journeys",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- Token: { location: "querystring", locationName: "token" },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: {
- JourneysResponse: {
- type: "structure",
- members: {
- Item: { type: "list", member: { shape: "S2q" } },
- NextToken: {},
- },
- required: ["Item"],
- },
- },
- required: ["JourneysResponse"],
- payload: "JourneysResponse",
- },
- },
- ListTagsForResource: {
- http: {
- method: "GET",
- requestUri: "/v1/tags/{resource-arn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- },
- required: ["ResourceArn"],
- },
- output: {
- type: "structure",
- members: { TagsModel: { shape: "S90" } },
- required: ["TagsModel"],
- payload: "TagsModel",
- },
- },
- ListTemplateVersions: {
- http: {
- method: "GET",
- requestUri:
- "/v1/templates/{template-name}/{template-type}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- TemplateType: {
- location: "uri",
- locationName: "template-type",
- },
- },
- required: ["TemplateName", "TemplateType"],
- },
- output: {
- type: "structure",
- members: {
- TemplateVersionsResponse: {
- type: "structure",
- members: {
- Item: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CreationDate: {},
- DefaultSubstitutions: {},
- LastModifiedDate: {},
- TemplateDescription: {},
- TemplateName: {},
- TemplateType: {},
- Version: {},
- },
- required: [
- "LastModifiedDate",
- "CreationDate",
- "TemplateName",
- "TemplateType",
- ],
- },
- },
- Message: {},
- NextToken: {},
- RequestID: {},
- },
- required: ["Item"],
- },
- },
- required: ["TemplateVersionsResponse"],
- payload: "TemplateVersionsResponse",
- },
- },
- ListTemplates: {
- http: {
- method: "GET",
- requestUri: "/v1/templates",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- PageSize: {
- location: "querystring",
- locationName: "page-size",
- },
- Prefix: { location: "querystring", locationName: "prefix" },
- TemplateType: {
- location: "querystring",
- locationName: "template-type",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- TemplatesResponse: {
- type: "structure",
- members: {
- Item: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- CreationDate: {},
- DefaultSubstitutions: {},
- LastModifiedDate: {},
- tags: { shape: "S4", locationName: "tags" },
- TemplateDescription: {},
- TemplateName: {},
- TemplateType: {},
- Version: {},
- },
- required: [
- "LastModifiedDate",
- "CreationDate",
- "TemplateName",
- "TemplateType",
- ],
- },
- },
- NextToken: {},
- },
- required: ["Item"],
- },
- },
- required: ["TemplatesResponse"],
- payload: "TemplatesResponse",
- },
- },
- PhoneNumberValidate: {
- http: {
- requestUri: "/v1/phone/number/validate",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- NumberValidateRequest: {
- type: "structure",
- members: { IsoCountryCode: {}, PhoneNumber: {} },
- },
- },
- required: ["NumberValidateRequest"],
- payload: "NumberValidateRequest",
- },
- output: {
- type: "structure",
- members: {
- NumberValidateResponse: {
- type: "structure",
- members: {
- Carrier: {},
- City: {},
- CleansedPhoneNumberE164: {},
- CleansedPhoneNumberNational: {},
- Country: {},
- CountryCodeIso2: {},
- CountryCodeNumeric: {},
- County: {},
- OriginalCountryCodeIso2: {},
- OriginalPhoneNumber: {},
- PhoneType: {},
- PhoneTypeCode: { type: "integer" },
- Timezone: {},
- ZipCode: {},
- },
- },
- },
- required: ["NumberValidateResponse"],
- payload: "NumberValidateResponse",
- },
- },
- PutEventStream: {
- http: {
- requestUri: "/v1/apps/{application-id}/eventstream",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- WriteEventStream: {
- type: "structure",
- members: { DestinationStreamArn: {}, RoleArn: {} },
- required: ["RoleArn", "DestinationStreamArn"],
- },
- },
- required: ["ApplicationId", "WriteEventStream"],
- payload: "WriteEventStream",
- },
- output: {
- type: "structure",
- members: { EventStream: { shape: "S4q" } },
- required: ["EventStream"],
- payload: "EventStream",
- },
- },
- PutEvents: {
- http: {
- requestUri: "/v1/apps/{application-id}/events",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- EventsRequest: {
- type: "structure",
- members: {
- BatchItem: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- Endpoint: {
- type: "structure",
- members: {
- Address: {},
- Attributes: { shape: "S4i" },
- ChannelType: {},
- Demographic: { shape: "S4k" },
- EffectiveDate: {},
- EndpointStatus: {},
- Location: { shape: "S4l" },
- Metrics: { shape: "S4m" },
- OptOut: {},
- RequestId: {},
- User: { shape: "S4n" },
- },
- },
- Events: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- AppPackageName: {},
- AppTitle: {},
- AppVersionCode: {},
- Attributes: { shape: "S4" },
- ClientSdkVersion: {},
- EventType: {},
- Metrics: { shape: "S4m" },
- SdkName: {},
- Session: {
- type: "structure",
- members: {
- Duration: { type: "integer" },
- Id: {},
- StartTimestamp: {},
- StopTimestamp: {},
- },
- required: ["StartTimestamp", "Id"],
- },
- Timestamp: {},
- },
- required: ["EventType", "Timestamp"],
- },
- },
- },
- required: ["Endpoint", "Events"],
- },
- },
- },
- required: ["BatchItem"],
- },
- },
- required: ["ApplicationId", "EventsRequest"],
- payload: "EventsRequest",
- },
- output: {
- type: "structure",
- members: {
- EventsResponse: {
- type: "structure",
- members: {
- Results: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- EndpointItemResponse: {
- type: "structure",
- members: {
- Message: {},
- StatusCode: { type: "integer" },
- },
- },
- EventsItemResponse: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- Message: {},
- StatusCode: { type: "integer" },
- },
- },
- },
- },
- },
- },
- },
- },
- },
- required: ["EventsResponse"],
- payload: "EventsResponse",
- },
- },
- RemoveAttributes: {
- http: {
- method: "PUT",
- requestUri:
- "/v1/apps/{application-id}/attributes/{attribute-type}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- AttributeType: {
- location: "uri",
- locationName: "attribute-type",
- },
- UpdateAttributesRequest: {
- type: "structure",
- members: { Blacklist: { shape: "Sp" } },
- },
- },
- required: [
- "AttributeType",
- "ApplicationId",
- "UpdateAttributesRequest",
- ],
- payload: "UpdateAttributesRequest",
- },
- output: {
- type: "structure",
- members: {
- AttributesResource: {
- type: "structure",
- members: {
- ApplicationId: {},
- AttributeType: {},
- Attributes: { shape: "Sp" },
- },
- required: ["AttributeType", "ApplicationId"],
- },
- },
- required: ["AttributesResource"],
- payload: "AttributesResource",
- },
- },
- SendMessages: {
- http: {
- requestUri: "/v1/apps/{application-id}/messages",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- MessageRequest: {
- type: "structure",
- members: {
- Addresses: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- BodyOverride: {},
- ChannelType: {},
- Context: { shape: "S4" },
- RawContent: {},
- Substitutions: { shape: "S4i" },
- TitleOverride: {},
- },
- },
- },
- Context: { shape: "S4" },
- Endpoints: { shape: "Sa5" },
- MessageConfiguration: { shape: "Sa7" },
- TemplateConfiguration: { shape: "Sy" },
- TraceId: {},
- },
- required: ["MessageConfiguration"],
- },
- },
- required: ["ApplicationId", "MessageRequest"],
- payload: "MessageRequest",
- },
- output: {
- type: "structure",
- members: {
- MessageResponse: {
- type: "structure",
- members: {
- ApplicationId: {},
- EndpointResult: { shape: "San" },
- RequestId: {},
- Result: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- DeliveryStatus: {},
- MessageId: {},
- StatusCode: { type: "integer" },
- StatusMessage: {},
- UpdatedToken: {},
- },
- required: ["DeliveryStatus", "StatusCode"],
- },
- },
- },
- required: ["ApplicationId"],
- },
- },
- required: ["MessageResponse"],
- payload: "MessageResponse",
- },
- },
- SendUsersMessages: {
- http: {
- requestUri: "/v1/apps/{application-id}/users-messages",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- SendUsersMessageRequest: {
- type: "structure",
- members: {
- Context: { shape: "S4" },
- MessageConfiguration: { shape: "Sa7" },
- TemplateConfiguration: { shape: "Sy" },
- TraceId: {},
- Users: { shape: "Sa5" },
- },
- required: ["MessageConfiguration", "Users"],
- },
- },
- required: ["ApplicationId", "SendUsersMessageRequest"],
- payload: "SendUsersMessageRequest",
- },
- output: {
- type: "structure",
- members: {
- SendUsersMessageResponse: {
- type: "structure",
- members: {
- ApplicationId: {},
- RequestId: {},
- Result: { type: "map", key: {}, value: { shape: "San" } },
- },
- required: ["ApplicationId"],
- },
- },
- required: ["SendUsersMessageResponse"],
- payload: "SendUsersMessageResponse",
- },
- },
- TagResource: {
- http: { requestUri: "/v1/tags/{resource-arn}", responseCode: 204 },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- TagsModel: { shape: "S90" },
- },
- required: ["ResourceArn", "TagsModel"],
- payload: "TagsModel",
- },
- },
- UntagResource: {
- http: {
- method: "DELETE",
- requestUri: "/v1/tags/{resource-arn}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- TagKeys: {
- shape: "Sp",
- location: "querystring",
- locationName: "tagKeys",
- },
- },
- required: ["TagKeys", "ResourceArn"],
- },
- },
- UpdateAdmChannel: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/channels/adm",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ADMChannelRequest: {
- type: "structure",
- members: {
- ClientId: {},
- ClientSecret: {},
- Enabled: { type: "boolean" },
- },
- required: ["ClientSecret", "ClientId"],
- },
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId", "ADMChannelRequest"],
- payload: "ADMChannelRequest",
- },
- output: {
- type: "structure",
- members: { ADMChannelResponse: { shape: "S3p" } },
- required: ["ADMChannelResponse"],
- payload: "ADMChannelResponse",
- },
- },
- UpdateApnsChannel: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/channels/apns",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- APNSChannelRequest: {
- type: "structure",
- members: {
- BundleId: {},
- Certificate: {},
- DefaultAuthenticationMethod: {},
- Enabled: { type: "boolean" },
- PrivateKey: {},
- TeamId: {},
- TokenKey: {},
- TokenKeyId: {},
- },
- },
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId", "APNSChannelRequest"],
- payload: "APNSChannelRequest",
- },
- output: {
- type: "structure",
- members: { APNSChannelResponse: { shape: "S3s" } },
- required: ["APNSChannelResponse"],
- payload: "APNSChannelResponse",
- },
- },
- UpdateApnsSandboxChannel: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/channels/apns_sandbox",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- APNSSandboxChannelRequest: {
- type: "structure",
- members: {
- BundleId: {},
- Certificate: {},
- DefaultAuthenticationMethod: {},
- Enabled: { type: "boolean" },
- PrivateKey: {},
- TeamId: {},
- TokenKey: {},
- TokenKeyId: {},
- },
- },
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId", "APNSSandboxChannelRequest"],
- payload: "APNSSandboxChannelRequest",
- },
- output: {
- type: "structure",
- members: { APNSSandboxChannelResponse: { shape: "S3v" } },
- required: ["APNSSandboxChannelResponse"],
- payload: "APNSSandboxChannelResponse",
- },
- },
- UpdateApnsVoipChannel: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/channels/apns_voip",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- APNSVoipChannelRequest: {
- type: "structure",
- members: {
- BundleId: {},
- Certificate: {},
- DefaultAuthenticationMethod: {},
- Enabled: { type: "boolean" },
- PrivateKey: {},
- TeamId: {},
- TokenKey: {},
- TokenKeyId: {},
- },
- },
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId", "APNSVoipChannelRequest"],
- payload: "APNSVoipChannelRequest",
- },
- output: {
- type: "structure",
- members: { APNSVoipChannelResponse: { shape: "S3y" } },
- required: ["APNSVoipChannelResponse"],
- payload: "APNSVoipChannelResponse",
- },
- },
- UpdateApnsVoipSandboxChannel: {
- http: {
- method: "PUT",
- requestUri:
- "/v1/apps/{application-id}/channels/apns_voip_sandbox",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- APNSVoipSandboxChannelRequest: {
- type: "structure",
- members: {
- BundleId: {},
- Certificate: {},
- DefaultAuthenticationMethod: {},
- Enabled: { type: "boolean" },
- PrivateKey: {},
- TeamId: {},
- TokenKey: {},
- TokenKeyId: {},
- },
- },
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- },
- required: ["ApplicationId", "APNSVoipSandboxChannelRequest"],
- payload: "APNSVoipSandboxChannelRequest",
- },
- output: {
- type: "structure",
- members: { APNSVoipSandboxChannelResponse: { shape: "S41" } },
- required: ["APNSVoipSandboxChannelResponse"],
- payload: "APNSVoipSandboxChannelResponse",
- },
- },
- UpdateApplicationSettings: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/settings",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- WriteApplicationSettingsRequest: {
- type: "structure",
- members: {
- CampaignHook: { shape: "S10" },
- CloudWatchMetricsEnabled: { type: "boolean" },
- Limits: { shape: "S12" },
- QuietTime: { shape: "Sx" },
- },
- },
- },
- required: ["ApplicationId", "WriteApplicationSettingsRequest"],
- payload: "WriteApplicationSettingsRequest",
- },
- output: {
- type: "structure",
- members: { ApplicationSettingsResource: { shape: "S62" } },
- required: ["ApplicationSettingsResource"],
- payload: "ApplicationSettingsResource",
- },
- },
- UpdateBaiduChannel: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/channels/baidu",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- BaiduChannelRequest: {
- type: "structure",
- members: {
- ApiKey: {},
- Enabled: { type: "boolean" },
- SecretKey: {},
- },
- required: ["SecretKey", "ApiKey"],
- },
- },
- required: ["ApplicationId", "BaiduChannelRequest"],
- payload: "BaiduChannelRequest",
- },
- output: {
- type: "structure",
- members: { BaiduChannelResponse: { shape: "S46" } },
- required: ["BaiduChannelResponse"],
- payload: "BaiduChannelResponse",
- },
- },
- UpdateCampaign: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/campaigns/{campaign-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- CampaignId: { location: "uri", locationName: "campaign-id" },
- WriteCampaignRequest: { shape: "S8" },
- },
- required: ["CampaignId", "ApplicationId", "WriteCampaignRequest"],
- payload: "WriteCampaignRequest",
- },
- output: {
- type: "structure",
- members: { CampaignResponse: { shape: "S14" } },
- required: ["CampaignResponse"],
- payload: "CampaignResponse",
- },
- },
- UpdateEmailChannel: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/channels/email",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- EmailChannelRequest: {
- type: "structure",
- members: {
- ConfigurationSet: {},
- Enabled: { type: "boolean" },
- FromAddress: {},
- Identity: {},
- RoleArn: {},
- },
- required: ["FromAddress", "Identity"],
- },
- },
- required: ["ApplicationId", "EmailChannelRequest"],
- payload: "EmailChannelRequest",
- },
- output: {
- type: "structure",
- members: { EmailChannelResponse: { shape: "S4b" } },
- required: ["EmailChannelResponse"],
- payload: "EmailChannelResponse",
- },
- },
- UpdateEmailTemplate: {
- http: {
- method: "PUT",
- requestUri: "/v1/templates/{template-name}/email",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- CreateNewVersion: {
- location: "querystring",
- locationName: "create-new-version",
- type: "boolean",
- },
- EmailTemplateRequest: { shape: "S1a" },
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- Version: { location: "querystring", locationName: "version" },
- },
- required: ["TemplateName", "EmailTemplateRequest"],
- payload: "EmailTemplateRequest",
- },
- output: {
- type: "structure",
- members: { MessageBody: { shape: "S4e" } },
- required: ["MessageBody"],
- payload: "MessageBody",
- },
- },
- UpdateEndpoint: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/endpoints/{endpoint-id}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- EndpointId: { location: "uri", locationName: "endpoint-id" },
- EndpointRequest: {
- type: "structure",
- members: {
- Address: {},
- Attributes: { shape: "S4i" },
- ChannelType: {},
- Demographic: { shape: "S4k" },
- EffectiveDate: {},
- EndpointStatus: {},
- Location: { shape: "S4l" },
- Metrics: { shape: "S4m" },
- OptOut: {},
- RequestId: {},
- User: { shape: "S4n" },
- },
- },
- },
- required: ["ApplicationId", "EndpointId", "EndpointRequest"],
- payload: "EndpointRequest",
- },
- output: {
- type: "structure",
- members: { MessageBody: { shape: "S4e" } },
- required: ["MessageBody"],
- payload: "MessageBody",
- },
- },
- UpdateEndpointsBatch: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/endpoints",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- EndpointBatchRequest: {
- type: "structure",
- members: {
- Item: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Address: {},
- Attributes: { shape: "S4i" },
- ChannelType: {},
- Demographic: { shape: "S4k" },
- EffectiveDate: {},
- EndpointStatus: {},
- Id: {},
- Location: { shape: "S4l" },
- Metrics: { shape: "S4m" },
- OptOut: {},
- RequestId: {},
- User: { shape: "S4n" },
- },
- },
- },
- },
- required: ["Item"],
- },
- },
- required: ["ApplicationId", "EndpointBatchRequest"],
- payload: "EndpointBatchRequest",
- },
- output: {
- type: "structure",
- members: { MessageBody: { shape: "S4e" } },
- required: ["MessageBody"],
- payload: "MessageBody",
- },
- },
- UpdateGcmChannel: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/channels/gcm",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- GCMChannelRequest: {
- type: "structure",
- members: { ApiKey: {}, Enabled: { type: "boolean" } },
- required: ["ApiKey"],
- },
- },
- required: ["ApplicationId", "GCMChannelRequest"],
- payload: "GCMChannelRequest",
- },
- output: {
- type: "structure",
- members: { GCMChannelResponse: { shape: "S4t" } },
- required: ["GCMChannelResponse"],
- payload: "GCMChannelResponse",
- },
- },
- UpdateJourney: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/journeys/{journey-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- JourneyId: { location: "uri", locationName: "journey-id" },
- WriteJourneyRequest: { shape: "S1q" },
- },
- required: ["JourneyId", "ApplicationId", "WriteJourneyRequest"],
- payload: "WriteJourneyRequest",
- },
- output: {
- type: "structure",
- members: { JourneyResponse: { shape: "S2q" } },
- required: ["JourneyResponse"],
- payload: "JourneyResponse",
- },
- },
- UpdateJourneyState: {
- http: {
- method: "PUT",
- requestUri:
- "/v1/apps/{application-id}/journeys/{journey-id}/state",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- JourneyId: { location: "uri", locationName: "journey-id" },
- JourneyStateRequest: {
- type: "structure",
- members: { State: {} },
- },
- },
- required: ["JourneyId", "ApplicationId", "JourneyStateRequest"],
- payload: "JourneyStateRequest",
- },
- output: {
- type: "structure",
- members: { JourneyResponse: { shape: "S2q" } },
- required: ["JourneyResponse"],
- payload: "JourneyResponse",
- },
- },
- UpdatePushTemplate: {
- http: {
- method: "PUT",
- requestUri: "/v1/templates/{template-name}/push",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- CreateNewVersion: {
- location: "querystring",
- locationName: "create-new-version",
- type: "boolean",
- },
- PushNotificationTemplateRequest: { shape: "S2s" },
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- Version: { location: "querystring", locationName: "version" },
- },
- required: ["TemplateName", "PushNotificationTemplateRequest"],
- payload: "PushNotificationTemplateRequest",
- },
- output: {
- type: "structure",
- members: { MessageBody: { shape: "S4e" } },
- required: ["MessageBody"],
- payload: "MessageBody",
- },
- },
- UpdateRecommenderConfiguration: {
- http: {
- method: "PUT",
- requestUri: "/v1/recommenders/{recommender-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- RecommenderId: {
- location: "uri",
- locationName: "recommender-id",
- },
- UpdateRecommenderConfiguration: {
- type: "structure",
- members: {
- Attributes: { shape: "S4" },
- Description: {},
- Name: {},
- RecommendationProviderIdType: {},
- RecommendationProviderRoleArn: {},
- RecommendationProviderUri: {},
- RecommendationTransformerUri: {},
- RecommendationsDisplayName: {},
- RecommendationsPerMessage: { type: "integer" },
- },
- required: [
- "RecommendationProviderUri",
- "RecommendationProviderRoleArn",
- ],
- },
- },
- required: ["RecommenderId", "UpdateRecommenderConfiguration"],
- payload: "UpdateRecommenderConfiguration",
- },
- output: {
- type: "structure",
- members: { RecommenderConfigurationResponse: { shape: "S30" } },
- required: ["RecommenderConfigurationResponse"],
- payload: "RecommenderConfigurationResponse",
- },
- },
- UpdateSegment: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/segments/{segment-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- SegmentId: { location: "uri", locationName: "segment-id" },
- WriteSegmentRequest: { shape: "S32" },
- },
- required: ["SegmentId", "ApplicationId", "WriteSegmentRequest"],
- payload: "WriteSegmentRequest",
- },
- output: {
- type: "structure",
- members: { SegmentResponse: { shape: "S3d" } },
- required: ["SegmentResponse"],
- payload: "SegmentResponse",
- },
- },
- UpdateSmsChannel: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/channels/sms",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- SMSChannelRequest: {
- type: "structure",
- members: {
- Enabled: { type: "boolean" },
- SenderId: {},
- ShortCode: {},
- },
- },
- },
- required: ["ApplicationId", "SMSChannelRequest"],
- payload: "SMSChannelRequest",
- },
- output: {
- type: "structure",
- members: { SMSChannelResponse: { shape: "S54" } },
- required: ["SMSChannelResponse"],
- payload: "SMSChannelResponse",
- },
- },
- UpdateSmsTemplate: {
- http: {
- method: "PUT",
- requestUri: "/v1/templates/{template-name}/sms",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- CreateNewVersion: {
- location: "querystring",
- locationName: "create-new-version",
- type: "boolean",
- },
- SMSTemplateRequest: { shape: "S3i" },
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- Version: { location: "querystring", locationName: "version" },
- },
- required: ["TemplateName", "SMSTemplateRequest"],
- payload: "SMSTemplateRequest",
- },
- output: {
- type: "structure",
- members: { MessageBody: { shape: "S4e" } },
- required: ["MessageBody"],
- payload: "MessageBody",
- },
- },
- UpdateTemplateActiveVersion: {
- http: {
- method: "PUT",
- requestUri:
- "/v1/templates/{template-name}/{template-type}/active-version",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- TemplateActiveVersionRequest: {
- type: "structure",
- members: { Version: {} },
- },
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- TemplateType: {
- location: "uri",
- locationName: "template-type",
- },
- },
- required: [
- "TemplateName",
- "TemplateType",
- "TemplateActiveVersionRequest",
- ],
- payload: "TemplateActiveVersionRequest",
- },
- output: {
- type: "structure",
- members: { MessageBody: { shape: "S4e" } },
- required: ["MessageBody"],
- payload: "MessageBody",
- },
- },
- UpdateVoiceChannel: {
- http: {
- method: "PUT",
- requestUri: "/v1/apps/{application-id}/channels/voice",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "application-id",
- },
- VoiceChannelRequest: {
- type: "structure",
- members: { Enabled: { type: "boolean" } },
- },
- },
- required: ["ApplicationId", "VoiceChannelRequest"],
- payload: "VoiceChannelRequest",
- },
- output: {
- type: "structure",
- members: { VoiceChannelResponse: { shape: "S5d" } },
- required: ["VoiceChannelResponse"],
- payload: "VoiceChannelResponse",
- },
- },
- UpdateVoiceTemplate: {
- http: {
- method: "PUT",
- requestUri: "/v1/templates/{template-name}/voice",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- CreateNewVersion: {
- location: "querystring",
- locationName: "create-new-version",
- type: "boolean",
- },
- TemplateName: {
- location: "uri",
- locationName: "template-name",
- },
- Version: { location: "querystring", locationName: "version" },
- VoiceTemplateRequest: { shape: "S3l" },
- },
- required: ["TemplateName", "VoiceTemplateRequest"],
- payload: "VoiceTemplateRequest",
- },
- output: {
- type: "structure",
- members: { MessageBody: { shape: "S4e" } },
- required: ["MessageBody"],
- payload: "MessageBody",
- },
- },
- },
- shapes: {
- S4: { type: "map", key: {}, value: {} },
- S6: {
- type: "structure",
- members: {
- Arn: {},
- Id: {},
- Name: {},
- tags: { shape: "S4", locationName: "tags" },
- },
- required: ["Id", "Arn", "Name"],
- },
- S8: {
- type: "structure",
- members: {
- AdditionalTreatments: {
- type: "list",
- member: {
- type: "structure",
- members: {
- MessageConfiguration: { shape: "Sb" },
- Schedule: { shape: "Sj" },
- SizePercent: { type: "integer" },
- TemplateConfiguration: { shape: "Sy" },
- TreatmentDescription: {},
- TreatmentName: {},
- },
- required: ["SizePercent"],
- },
- },
- Description: {},
- HoldoutPercent: { type: "integer" },
- Hook: { shape: "S10" },
- IsPaused: { type: "boolean" },
- Limits: { shape: "S12" },
- MessageConfiguration: { shape: "Sb" },
- Name: {},
- Schedule: { shape: "Sj" },
- SegmentId: {},
- SegmentVersion: { type: "integer" },
- tags: { shape: "S4", locationName: "tags" },
- TemplateConfiguration: { shape: "Sy" },
- TreatmentDescription: {},
- TreatmentName: {},
- },
- },
- Sb: {
- type: "structure",
- members: {
- ADMMessage: { shape: "Sc" },
- APNSMessage: { shape: "Sc" },
- BaiduMessage: { shape: "Sc" },
- DefaultMessage: { shape: "Sc" },
- EmailMessage: {
- type: "structure",
- members: { Body: {}, FromAddress: {}, HtmlBody: {}, Title: {} },
- },
- GCMMessage: { shape: "Sc" },
- SMSMessage: {
- type: "structure",
- members: { Body: {}, MessageType: {}, SenderId: {} },
- },
- },
- },
- Sc: {
- type: "structure",
- members: {
- Action: {},
- Body: {},
- ImageIconUrl: {},
- ImageSmallIconUrl: {},
- ImageUrl: {},
- JsonBody: {},
- MediaUrl: {},
- RawContent: {},
- SilentPush: { type: "boolean" },
- TimeToLive: { type: "integer" },
- Title: {},
- Url: {},
- },
- },
- Sj: {
- type: "structure",
- members: {
- EndTime: {},
- EventFilter: {
- type: "structure",
- members: { Dimensions: { shape: "Sl" }, FilterType: {} },
- required: ["FilterType", "Dimensions"],
- },
- Frequency: {},
- IsLocalTime: { type: "boolean" },
- QuietTime: { shape: "Sx" },
- StartTime: {},
- Timezone: {},
- },
- required: ["StartTime"],
- },
- Sl: {
- type: "structure",
- members: {
- Attributes: { shape: "Sm" },
- EventType: { shape: "Sq" },
- Metrics: { shape: "Ss" },
- },
- },
- Sm: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: { AttributeType: {}, Values: { shape: "Sp" } },
- required: ["Values"],
- },
- },
- Sp: { type: "list", member: {} },
- Sq: {
- type: "structure",
- members: { DimensionType: {}, Values: { shape: "Sp" } },
- required: ["Values"],
- },
- Ss: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: { ComparisonOperator: {}, Value: { type: "double" } },
- required: ["ComparisonOperator", "Value"],
- },
- },
- Sx: { type: "structure", members: { End: {}, Start: {} } },
- Sy: {
- type: "structure",
- members: {
- EmailTemplate: { shape: "Sz" },
- PushTemplate: { shape: "Sz" },
- SMSTemplate: { shape: "Sz" },
- VoiceTemplate: { shape: "Sz" },
- },
- },
- Sz: { type: "structure", members: { Name: {}, Version: {} } },
- S10: {
- type: "structure",
- members: { LambdaFunctionName: {}, Mode: {}, WebUrl: {} },
- },
- S12: {
- type: "structure",
- members: {
- Daily: { type: "integer" },
- MaximumDuration: { type: "integer" },
- MessagesPerSecond: { type: "integer" },
- Total: { type: "integer" },
- },
- },
- S14: {
- type: "structure",
- members: {
- AdditionalTreatments: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- MessageConfiguration: { shape: "Sb" },
- Schedule: { shape: "Sj" },
- SizePercent: { type: "integer" },
- State: { shape: "S17" },
- TemplateConfiguration: { shape: "Sy" },
- TreatmentDescription: {},
- TreatmentName: {},
- },
- required: ["Id", "SizePercent"],
- },
- },
- ApplicationId: {},
- Arn: {},
- CreationDate: {},
- DefaultState: { shape: "S17" },
- Description: {},
- HoldoutPercent: { type: "integer" },
- Hook: { shape: "S10" },
- Id: {},
- IsPaused: { type: "boolean" },
- LastModifiedDate: {},
- Limits: { shape: "S12" },
- MessageConfiguration: { shape: "Sb" },
- Name: {},
- Schedule: { shape: "Sj" },
- SegmentId: {},
- SegmentVersion: { type: "integer" },
- State: { shape: "S17" },
- tags: { shape: "S4", locationName: "tags" },
- TemplateConfiguration: { shape: "Sy" },
- TreatmentDescription: {},
- TreatmentName: {},
- Version: { type: "integer" },
- },
- required: [
- "LastModifiedDate",
- "CreationDate",
- "SegmentId",
- "SegmentVersion",
- "Id",
- "Arn",
- "ApplicationId",
- ],
- },
- S17: { type: "structure", members: { CampaignStatus: {} } },
- S1a: {
- type: "structure",
- members: {
- DefaultSubstitutions: {},
- HtmlPart: {},
- RecommenderId: {},
- Subject: {},
- tags: { shape: "S4", locationName: "tags" },
- TemplateDescription: {},
- TextPart: {},
- },
- },
- S1c: {
- type: "structure",
- members: { Arn: {}, Message: {}, RequestID: {} },
- },
- S1g: {
- type: "structure",
- members: {
- ApplicationId: {},
- CompletedPieces: { type: "integer" },
- CompletionDate: {},
- CreationDate: {},
- Definition: {
- type: "structure",
- members: {
- RoleArn: {},
- S3UrlPrefix: {},
- SegmentId: {},
- SegmentVersion: { type: "integer" },
- },
- required: ["S3UrlPrefix", "RoleArn"],
- },
- FailedPieces: { type: "integer" },
- Failures: { shape: "Sp" },
- Id: {},
- JobStatus: {},
- TotalFailures: { type: "integer" },
- TotalPieces: { type: "integer" },
- TotalProcessed: { type: "integer" },
- Type: {},
- },
- required: [
- "JobStatus",
- "CreationDate",
- "Type",
- "Definition",
- "Id",
- "ApplicationId",
- ],
- },
- S1n: {
- type: "structure",
- members: {
- ApplicationId: {},
- CompletedPieces: { type: "integer" },
- CompletionDate: {},
- CreationDate: {},
- Definition: {
- type: "structure",
- members: {
- DefineSegment: { type: "boolean" },
- ExternalId: {},
- Format: {},
- RegisterEndpoints: { type: "boolean" },
- RoleArn: {},
- S3Url: {},
- SegmentId: {},
- SegmentName: {},
- },
- required: ["Format", "S3Url", "RoleArn"],
- },
- FailedPieces: { type: "integer" },
- Failures: { shape: "Sp" },
- Id: {},
- JobStatus: {},
- TotalFailures: { type: "integer" },
- TotalPieces: { type: "integer" },
- TotalProcessed: { type: "integer" },
- Type: {},
- },
- required: [
- "JobStatus",
- "CreationDate",
- "Type",
- "Definition",
- "Id",
- "ApplicationId",
- ],
- },
- S1q: {
- type: "structure",
- members: {
- Activities: { shape: "S1r" },
- CreationDate: {},
- LastModifiedDate: {},
- Limits: { shape: "S2k" },
- LocalTime: { type: "boolean" },
- Name: {},
- QuietTime: { shape: "Sx" },
- RefreshFrequency: {},
- Schedule: { shape: "S2l" },
- StartActivity: {},
- StartCondition: { shape: "S2n" },
- State: {},
- },
- required: ["Name"],
- },
- S1r: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- ConditionalSplit: {
- type: "structure",
- members: {
- Condition: {
- type: "structure",
- members: {
- Conditions: { type: "list", member: { shape: "S1w" } },
- Operator: {},
- },
- },
- EvaluationWaitTime: { shape: "S29" },
- FalseActivity: {},
- TrueActivity: {},
- },
- },
- Description: {},
- EMAIL: {
- type: "structure",
- members: {
- MessageConfig: {
- type: "structure",
- members: { FromAddress: {} },
- },
- NextActivity: {},
- TemplateName: {},
- TemplateVersion: {},
- },
- },
- Holdout: {
- type: "structure",
- members: {
- NextActivity: {},
- Percentage: { type: "integer" },
- },
- required: ["Percentage"],
- },
- MultiCondition: {
- type: "structure",
- members: {
- Branches: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Condition: { shape: "S1w" },
- NextActivity: {},
- },
- },
- },
- DefaultActivity: {},
- EvaluationWaitTime: { shape: "S29" },
- },
- },
- RandomSplit: {
- type: "structure",
- members: {
- Branches: {
- type: "list",
- member: {
- type: "structure",
- members: {
- NextActivity: {},
- Percentage: { type: "integer" },
- },
- },
- },
- },
- },
- Wait: {
- type: "structure",
- members: { NextActivity: {}, WaitTime: { shape: "S29" } },
- },
- },
- },
- },
- S1w: {
- type: "structure",
- members: {
- EventCondition: {
- type: "structure",
- members: { Dimensions: { shape: "Sl" }, MessageActivity: {} },
- required: ["Dimensions"],
- },
- SegmentCondition: { shape: "S1y" },
- SegmentDimensions: {
- shape: "S1z",
- locationName: "segmentDimensions",
- },
- },
- },
- S1y: {
- type: "structure",
- members: { SegmentId: {} },
- required: ["SegmentId"],
- },
- S1z: {
- type: "structure",
- members: {
- Attributes: { shape: "Sm" },
- Behavior: {
- type: "structure",
- members: {
- Recency: {
- type: "structure",
- members: { Duration: {}, RecencyType: {} },
- required: ["Duration", "RecencyType"],
- },
- },
- },
- Demographic: {
- type: "structure",
- members: {
- AppVersion: { shape: "Sq" },
- Channel: { shape: "Sq" },
- DeviceType: { shape: "Sq" },
- Make: { shape: "Sq" },
- Model: { shape: "Sq" },
- Platform: { shape: "Sq" },
- },
- },
- Location: {
- type: "structure",
- members: {
- Country: { shape: "Sq" },
- GPSPoint: {
- type: "structure",
- members: {
- Coordinates: {
- type: "structure",
- members: {
- Latitude: { type: "double" },
- Longitude: { type: "double" },
- },
- required: ["Latitude", "Longitude"],
- },
- RangeInKilometers: { type: "double" },
- },
- required: ["Coordinates"],
- },
- },
- },
- Metrics: { shape: "Ss" },
- UserAttributes: { shape: "Sm" },
- },
- },
- S29: { type: "structure", members: { WaitFor: {}, WaitUntil: {} } },
- S2k: {
- type: "structure",
- members: {
- DailyCap: { type: "integer" },
- EndpointReentryCap: { type: "integer" },
- MessagesPerSecond: { type: "integer" },
- },
- },
- S2l: {
- type: "structure",
- members: {
- EndTime: { shape: "S2m" },
- StartTime: { shape: "S2m" },
- Timezone: {},
- },
- },
- S2m: { type: "timestamp", timestampFormat: "iso8601" },
- S2n: {
- type: "structure",
- members: {
- Description: {},
- SegmentStartCondition: { shape: "S1y" },
- },
- },
- S2q: {
- type: "structure",
- members: {
- Activities: { shape: "S1r" },
- ApplicationId: {},
- CreationDate: {},
- Id: {},
- LastModifiedDate: {},
- Limits: { shape: "S2k" },
- LocalTime: { type: "boolean" },
- Name: {},
- QuietTime: { shape: "Sx" },
- RefreshFrequency: {},
- Schedule: { shape: "S2l" },
- StartActivity: {},
- StartCondition: { shape: "S2n" },
- State: {},
- tags: { shape: "S4", locationName: "tags" },
- },
- required: ["Name", "Id", "ApplicationId"],
- },
- S2s: {
- type: "structure",
- members: {
- ADM: { shape: "S2t" },
- APNS: { shape: "S2u" },
- Baidu: { shape: "S2t" },
- Default: { shape: "S2v" },
- DefaultSubstitutions: {},
- GCM: { shape: "S2t" },
- RecommenderId: {},
- tags: { shape: "S4", locationName: "tags" },
- TemplateDescription: {},
- },
- },
- S2t: {
- type: "structure",
- members: {
- Action: {},
- Body: {},
- ImageIconUrl: {},
- ImageUrl: {},
- RawContent: {},
- SmallImageIconUrl: {},
- Sound: {},
- Title: {},
- Url: {},
- },
- },
- S2u: {
- type: "structure",
- members: {
- Action: {},
- Body: {},
- MediaUrl: {},
- RawContent: {},
- Sound: {},
- Title: {},
- Url: {},
- },
- },
- S2v: {
- type: "structure",
- members: { Action: {}, Body: {}, Sound: {}, Title: {}, Url: {} },
- },
- S30: {
- type: "structure",
- members: {
- Attributes: { shape: "S4" },
- CreationDate: {},
- Description: {},
- Id: {},
- LastModifiedDate: {},
- Name: {},
- RecommendationProviderIdType: {},
- RecommendationProviderRoleArn: {},
- RecommendationProviderUri: {},
- RecommendationTransformerUri: {},
- RecommendationsDisplayName: {},
- RecommendationsPerMessage: { type: "integer" },
- },
- required: [
- "RecommendationProviderUri",
- "LastModifiedDate",
- "CreationDate",
- "RecommendationProviderRoleArn",
- "Id",
- ],
- },
- S32: {
- type: "structure",
- members: {
- Dimensions: { shape: "S1z" },
- Name: {},
- SegmentGroups: { shape: "S33" },
- tags: { shape: "S4", locationName: "tags" },
- },
- },
- S33: {
- type: "structure",
- members: {
- Groups: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Dimensions: { type: "list", member: { shape: "S1z" } },
- SourceSegments: {
- type: "list",
- member: {
- type: "structure",
- members: { Id: {}, Version: { type: "integer" } },
- required: ["Id"],
- },
- },
- SourceType: {},
- Type: {},
- },
- },
- },
- Include: {},
- },
- },
- S3d: {
- type: "structure",
- members: {
- ApplicationId: {},
- Arn: {},
- CreationDate: {},
- Dimensions: { shape: "S1z" },
- Id: {},
- ImportDefinition: {
- type: "structure",
- members: {
- ChannelCounts: {
- type: "map",
- key: {},
- value: { type: "integer" },
- },
- ExternalId: {},
- Format: {},
- RoleArn: {},
- S3Url: {},
- Size: { type: "integer" },
- },
- required: ["Format", "S3Url", "Size", "ExternalId", "RoleArn"],
- },
- LastModifiedDate: {},
- Name: {},
- SegmentGroups: { shape: "S33" },
- SegmentType: {},
- tags: { shape: "S4", locationName: "tags" },
- Version: { type: "integer" },
- },
- required: [
- "SegmentType",
- "CreationDate",
- "Id",
- "Arn",
- "ApplicationId",
- ],
- },
- S3i: {
- type: "structure",
- members: {
- Body: {},
- DefaultSubstitutions: {},
- RecommenderId: {},
- tags: { shape: "S4", locationName: "tags" },
- TemplateDescription: {},
- },
- },
- S3l: {
- type: "structure",
- members: {
- Body: {},
- DefaultSubstitutions: {},
- LanguageCode: {},
- tags: { shape: "S4", locationName: "tags" },
- TemplateDescription: {},
- VoiceId: {},
- },
- },
- S3p: {
- type: "structure",
- members: {
- ApplicationId: {},
- CreationDate: {},
- Enabled: { type: "boolean" },
- HasCredential: { type: "boolean" },
- Id: {},
- IsArchived: { type: "boolean" },
- LastModifiedBy: {},
- LastModifiedDate: {},
- Platform: {},
- Version: { type: "integer" },
- },
- required: ["Platform"],
- },
- S3s: {
- type: "structure",
- members: {
- ApplicationId: {},
- CreationDate: {},
- DefaultAuthenticationMethod: {},
- Enabled: { type: "boolean" },
- HasCredential: { type: "boolean" },
- HasTokenKey: { type: "boolean" },
- Id: {},
- IsArchived: { type: "boolean" },
- LastModifiedBy: {},
- LastModifiedDate: {},
- Platform: {},
- Version: { type: "integer" },
- },
- required: ["Platform"],
- },
- S3v: {
- type: "structure",
- members: {
- ApplicationId: {},
- CreationDate: {},
- DefaultAuthenticationMethod: {},
- Enabled: { type: "boolean" },
- HasCredential: { type: "boolean" },
- HasTokenKey: { type: "boolean" },
- Id: {},
- IsArchived: { type: "boolean" },
- LastModifiedBy: {},
- LastModifiedDate: {},
- Platform: {},
- Version: { type: "integer" },
- },
- required: ["Platform"],
- },
- S3y: {
- type: "structure",
- members: {
- ApplicationId: {},
- CreationDate: {},
- DefaultAuthenticationMethod: {},
- Enabled: { type: "boolean" },
- HasCredential: { type: "boolean" },
- HasTokenKey: { type: "boolean" },
- Id: {},
- IsArchived: { type: "boolean" },
- LastModifiedBy: {},
- LastModifiedDate: {},
- Platform: {},
- Version: { type: "integer" },
- },
- required: ["Platform"],
- },
- S41: {
- type: "structure",
- members: {
- ApplicationId: {},
- CreationDate: {},
- DefaultAuthenticationMethod: {},
- Enabled: { type: "boolean" },
- HasCredential: { type: "boolean" },
- HasTokenKey: { type: "boolean" },
- Id: {},
- IsArchived: { type: "boolean" },
- LastModifiedBy: {},
- LastModifiedDate: {},
- Platform: {},
- Version: { type: "integer" },
- },
- required: ["Platform"],
- },
- S46: {
- type: "structure",
- members: {
- ApplicationId: {},
- CreationDate: {},
- Credential: {},
- Enabled: { type: "boolean" },
- HasCredential: { type: "boolean" },
- Id: {},
- IsArchived: { type: "boolean" },
- LastModifiedBy: {},
- LastModifiedDate: {},
- Platform: {},
- Version: { type: "integer" },
- },
- required: ["Credential", "Platform"],
- },
- S4b: {
- type: "structure",
- members: {
- ApplicationId: {},
- ConfigurationSet: {},
- CreationDate: {},
- Enabled: { type: "boolean" },
- FromAddress: {},
- HasCredential: { type: "boolean" },
- Id: {},
- Identity: {},
- IsArchived: { type: "boolean" },
- LastModifiedBy: {},
- LastModifiedDate: {},
- MessagesPerSecond: { type: "integer" },
- Platform: {},
- RoleArn: {},
- Version: { type: "integer" },
- },
- required: ["Platform"],
- },
- S4e: { type: "structure", members: { Message: {}, RequestID: {} } },
- S4h: {
- type: "structure",
- members: {
- Address: {},
- ApplicationId: {},
- Attributes: { shape: "S4i" },
- ChannelType: {},
- CohortId: {},
- CreationDate: {},
- Demographic: { shape: "S4k" },
- EffectiveDate: {},
- EndpointStatus: {},
- Id: {},
- Location: { shape: "S4l" },
- Metrics: { shape: "S4m" },
- OptOut: {},
- RequestId: {},
- User: { shape: "S4n" },
- },
- },
- S4i: { type: "map", key: {}, value: { shape: "Sp" } },
- S4k: {
- type: "structure",
- members: {
- AppVersion: {},
- Locale: {},
- Make: {},
- Model: {},
- ModelVersion: {},
- Platform: {},
- PlatformVersion: {},
- Timezone: {},
- },
- },
- S4l: {
- type: "structure",
- members: {
- City: {},
- Country: {},
- Latitude: { type: "double" },
- Longitude: { type: "double" },
- PostalCode: {},
- Region: {},
- },
- },
- S4m: { type: "map", key: {}, value: { type: "double" } },
- S4n: {
- type: "structure",
- members: { UserAttributes: { shape: "S4i" }, UserId: {} },
- },
- S4q: {
- type: "structure",
- members: {
- ApplicationId: {},
- DestinationStreamArn: {},
- ExternalId: {},
- LastModifiedDate: {},
- LastUpdatedBy: {},
- RoleArn: {},
- },
- required: ["ApplicationId", "RoleArn", "DestinationStreamArn"],
- },
- S4t: {
- type: "structure",
- members: {
- ApplicationId: {},
- CreationDate: {},
- Credential: {},
- Enabled: { type: "boolean" },
- HasCredential: { type: "boolean" },
- Id: {},
- IsArchived: { type: "boolean" },
- LastModifiedBy: {},
- LastModifiedDate: {},
- Platform: {},
- Version: { type: "integer" },
- },
- required: ["Credential", "Platform"],
- },
- S54: {
- type: "structure",
- members: {
- ApplicationId: {},
- CreationDate: {},
- Enabled: { type: "boolean" },
- HasCredential: { type: "boolean" },
- Id: {},
- IsArchived: { type: "boolean" },
- LastModifiedBy: {},
- LastModifiedDate: {},
- Platform: {},
- PromotionalMessagesPerSecond: { type: "integer" },
- SenderId: {},
- ShortCode: {},
- TransactionalMessagesPerSecond: { type: "integer" },
- Version: { type: "integer" },
- },
- required: ["Platform"],
- },
- S59: {
- type: "structure",
- members: { Item: { type: "list", member: { shape: "S4h" } } },
- required: ["Item"],
- },
- S5d: {
- type: "structure",
- members: {
- ApplicationId: {},
- CreationDate: {},
- Enabled: { type: "boolean" },
- HasCredential: { type: "boolean" },
- Id: {},
- IsArchived: { type: "boolean" },
- LastModifiedBy: {},
- LastModifiedDate: {},
- Platform: {},
- Version: { type: "integer" },
- },
- required: ["Platform"],
- },
- S5v: {
- type: "structure",
- members: {
- Rows: {
- type: "list",
- member: {
- type: "structure",
- members: {
- GroupedBys: { shape: "S5y" },
- Values: { shape: "S5y" },
- },
- required: ["GroupedBys", "Values"],
- },
- },
- },
- required: ["Rows"],
- },
- S5y: {
- type: "list",
- member: {
- type: "structure",
- members: { Key: {}, Type: {}, Value: {} },
- required: ["Type", "Value", "Key"],
- },
- },
- S62: {
- type: "structure",
- members: {
- ApplicationId: {},
- CampaignHook: { shape: "S10" },
- LastModifiedDate: {},
- Limits: { shape: "S12" },
- QuietTime: { shape: "Sx" },
- },
- required: ["ApplicationId"],
- },
- S6n: {
- type: "structure",
- members: {
- Item: { type: "list", member: { shape: "S14" } },
- NextToken: {},
- },
- required: ["Item"],
- },
- S7a: {
- type: "structure",
- members: {
- Item: { type: "list", member: { shape: "S1g" } },
- NextToken: {},
- },
- required: ["Item"],
- },
- S7i: {
- type: "structure",
- members: {
- Item: { type: "list", member: { shape: "S1n" } },
- NextToken: {},
- },
- required: ["Item"],
- },
- S8e: {
- type: "structure",
- members: {
- Item: { type: "list", member: { shape: "S3d" } },
- NextToken: {},
- },
- required: ["Item"],
- },
- S90: {
- type: "structure",
- members: { tags: { shape: "S4", locationName: "tags" } },
- required: ["tags"],
- },
- Sa5: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- BodyOverride: {},
- Context: { shape: "S4" },
- RawContent: {},
- Substitutions: { shape: "S4i" },
- TitleOverride: {},
- },
- },
- },
- Sa7: {
- type: "structure",
- members: {
- ADMMessage: {
- type: "structure",
- members: {
- Action: {},
- Body: {},
- ConsolidationKey: {},
- Data: { shape: "S4" },
- ExpiresAfter: {},
- IconReference: {},
- ImageIconUrl: {},
- ImageUrl: {},
- MD5: {},
- RawContent: {},
- SilentPush: { type: "boolean" },
- SmallImageIconUrl: {},
- Sound: {},
- Substitutions: { shape: "S4i" },
- Title: {},
- Url: {},
- },
- },
- APNSMessage: {
- type: "structure",
- members: {
- APNSPushType: {},
- Action: {},
- Badge: { type: "integer" },
- Body: {},
- Category: {},
- CollapseId: {},
- Data: { shape: "S4" },
- MediaUrl: {},
- PreferredAuthenticationMethod: {},
- Priority: {},
- RawContent: {},
- SilentPush: { type: "boolean" },
- Sound: {},
- Substitutions: { shape: "S4i" },
- ThreadId: {},
- TimeToLive: { type: "integer" },
- Title: {},
- Url: {},
- },
- },
- BaiduMessage: {
- type: "structure",
- members: {
- Action: {},
- Body: {},
- Data: { shape: "S4" },
- IconReference: {},
- ImageIconUrl: {},
- ImageUrl: {},
- RawContent: {},
- SilentPush: { type: "boolean" },
- SmallImageIconUrl: {},
- Sound: {},
- Substitutions: { shape: "S4i" },
- TimeToLive: { type: "integer" },
- Title: {},
- Url: {},
- },
- },
- DefaultMessage: {
- type: "structure",
- members: { Body: {}, Substitutions: { shape: "S4i" } },
- },
- DefaultPushNotificationMessage: {
- type: "structure",
- members: {
- Action: {},
- Body: {},
- Data: { shape: "S4" },
- SilentPush: { type: "boolean" },
- Substitutions: { shape: "S4i" },
- Title: {},
- Url: {},
- },
- },
- EmailMessage: {
- type: "structure",
- members: {
- Body: {},
- FeedbackForwardingAddress: {},
- FromAddress: {},
- RawEmail: {
- type: "structure",
- members: { Data: { type: "blob" } },
- },
- ReplyToAddresses: { shape: "Sp" },
- SimpleEmail: {
- type: "structure",
- members: {
- HtmlPart: { shape: "Sah" },
- Subject: { shape: "Sah" },
- TextPart: { shape: "Sah" },
- },
- },
- Substitutions: { shape: "S4i" },
- },
- },
- GCMMessage: {
- type: "structure",
- members: {
- Action: {},
- Body: {},
- CollapseKey: {},
- Data: { shape: "S4" },
- IconReference: {},
- ImageIconUrl: {},
- ImageUrl: {},
- Priority: {},
- RawContent: {},
- RestrictedPackageName: {},
- SilentPush: { type: "boolean" },
- SmallImageIconUrl: {},
- Sound: {},
- Substitutions: { shape: "S4i" },
- TimeToLive: { type: "integer" },
- Title: {},
- Url: {},
- },
- },
- SMSMessage: {
- type: "structure",
- members: {
- Body: {},
- Keyword: {},
- MediaUrl: {},
- MessageType: {},
- OriginationNumber: {},
- SenderId: {},
- Substitutions: { shape: "S4i" },
- },
- },
- VoiceMessage: {
- type: "structure",
- members: {
- Body: {},
- LanguageCode: {},
- OriginationNumber: {},
- Substitutions: { shape: "S4i" },
- VoiceId: {},
- },
- },
- },
- },
- Sah: { type: "structure", members: { Charset: {}, Data: {} } },
- San: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- Address: {},
- DeliveryStatus: {},
- MessageId: {},
- StatusCode: { type: "integer" },
- StatusMessage: {},
- UpdatedToken: {},
- },
- required: ["DeliveryStatus", "StatusCode"],
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1009: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeCachediSCSIVolumes: { result_key: "CachediSCSIVolumes" },
- DescribeStorediSCSIVolumes: { result_key: "StorediSCSIVolumes" },
- DescribeTapeArchives: {
- input_token: "Marker",
- limit_key: "Limit",
- output_token: "Marker",
- result_key: "TapeArchives",
- },
- DescribeTapeRecoveryPoints: {
- input_token: "Marker",
- limit_key: "Limit",
- output_token: "Marker",
- result_key: "TapeRecoveryPointInfos",
- },
- DescribeTapes: {
- input_token: "Marker",
- limit_key: "Limit",
- output_token: "Marker",
- result_key: "Tapes",
- },
- DescribeVTLDevices: {
- input_token: "Marker",
- limit_key: "Limit",
- output_token: "Marker",
- result_key: "VTLDevices",
- },
- ListFileShares: {
- input_token: "Marker",
- limit_key: "Limit",
- non_aggregate_keys: ["Marker"],
- output_token: "NextMarker",
- result_key: "FileShareInfoList",
- },
- ListGateways: {
- input_token: "Marker",
- limit_key: "Limit",
- output_token: "Marker",
- result_key: "Gateways",
- },
- ListLocalDisks: { result_key: "Disks" },
- ListTagsForResource: {
- input_token: "Marker",
- limit_key: "Limit",
- non_aggregate_keys: ["ResourceARN"],
- output_token: "Marker",
- result_key: "Tags",
- },
- ListTapes: {
- input_token: "Marker",
- limit_key: "Limit",
- output_token: "Marker",
- result_key: "TapeInfos",
- },
- ListVolumeRecoveryPoints: { result_key: "VolumeRecoveryPointInfos" },
- ListVolumes: {
- input_token: "Marker",
- limit_key: "Limit",
- output_token: "Marker",
- result_key: "VolumeInfos",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1010: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2013-04-15",
- endpointPrefix: "support",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "AWS Support",
- serviceId: "Support",
- signatureVersion: "v4",
- targetPrefix: "AWSSupport_20130415",
- uid: "support-2013-04-15",
- },
- operations: {
- AddAttachmentsToSet: {
- input: {
- type: "structure",
- required: ["attachments"],
- members: {
- attachmentSetId: {},
- attachments: { type: "list", member: { shape: "S4" } },
- },
- },
- output: {
- type: "structure",
- members: { attachmentSetId: {}, expiryTime: {} },
- },
- },
- AddCommunicationToCase: {
- input: {
- type: "structure",
- required: ["communicationBody"],
- members: {
- caseId: {},
- communicationBody: {},
- ccEmailAddresses: { shape: "Sc" },
- attachmentSetId: {},
- },
- },
- output: {
- type: "structure",
- members: { result: { type: "boolean" } },
- },
- },
- CreateCase: {
- input: {
- type: "structure",
- required: ["subject", "communicationBody"],
- members: {
- subject: {},
- serviceCode: {},
- severityCode: {},
- categoryCode: {},
- communicationBody: {},
- ccEmailAddresses: { shape: "Sc" },
- language: {},
- issueType: {},
- attachmentSetId: {},
- },
- },
- output: { type: "structure", members: { caseId: {} } },
- },
- DescribeAttachment: {
- input: {
- type: "structure",
- required: ["attachmentId"],
- members: { attachmentId: {} },
- },
- output: {
- type: "structure",
- members: { attachment: { shape: "S4" } },
- },
- },
- DescribeCases: {
- input: {
- type: "structure",
- members: {
- caseIdList: { type: "list", member: {} },
- displayId: {},
- afterTime: {},
- beforeTime: {},
- includeResolvedCases: { type: "boolean" },
- nextToken: {},
- maxResults: { type: "integer" },
- language: {},
- includeCommunications: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- cases: {
- type: "list",
- member: {
- type: "structure",
- members: {
- caseId: {},
- displayId: {},
- subject: {},
- status: {},
- serviceCode: {},
- categoryCode: {},
- severityCode: {},
- submittedBy: {},
- timeCreated: {},
- recentCommunications: {
- type: "structure",
- members: {
- communications: { shape: "S17" },
- nextToken: {},
- },
- },
- ccEmailAddresses: { shape: "Sc" },
- language: {},
- },
- },
- },
- nextToken: {},
- },
- },
- },
- DescribeCommunications: {
- input: {
- type: "structure",
- required: ["caseId"],
- members: {
- caseId: {},
- beforeTime: {},
- afterTime: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { communications: { shape: "S17" }, nextToken: {} },
- },
- },
- DescribeServices: {
- input: {
- type: "structure",
- members: {
- serviceCodeList: { type: "list", member: {} },
- language: {},
- },
- },
- output: {
- type: "structure",
- members: {
- services: {
- type: "list",
- member: {
- type: "structure",
- members: {
- code: {},
- name: {},
- categories: {
- type: "list",
- member: {
- type: "structure",
- members: { code: {}, name: {} },
- },
- },
- },
- },
- },
- },
- },
- },
- DescribeSeverityLevels: {
- input: { type: "structure", members: { language: {} } },
- output: {
- type: "structure",
- members: {
- severityLevels: {
- type: "list",
- member: {
- type: "structure",
- members: { code: {}, name: {} },
- },
- },
- },
- },
- },
- DescribeTrustedAdvisorCheckRefreshStatuses: {
- input: {
- type: "structure",
- required: ["checkIds"],
- members: { checkIds: { shape: "S1t" } },
- },
- output: {
- type: "structure",
- required: ["statuses"],
- members: { statuses: { type: "list", member: { shape: "S1x" } } },
- },
- },
- DescribeTrustedAdvisorCheckResult: {
- input: {
- type: "structure",
- required: ["checkId"],
- members: { checkId: {}, language: {} },
- },
- output: {
- type: "structure",
- members: {
- result: {
- type: "structure",
- required: [
- "checkId",
- "timestamp",
- "status",
- "resourcesSummary",
- "categorySpecificSummary",
- "flaggedResources",
- ],
- members: {
- checkId: {},
- timestamp: {},
- status: {},
- resourcesSummary: { shape: "S22" },
- categorySpecificSummary: { shape: "S23" },
- flaggedResources: {
- type: "list",
- member: {
- type: "structure",
- required: ["status", "resourceId", "metadata"],
- members: {
- status: {},
- region: {},
- resourceId: {},
- isSuppressed: { type: "boolean" },
- metadata: { shape: "S1t" },
- },
- },
- },
- },
- },
- },
- },
- },
- DescribeTrustedAdvisorCheckSummaries: {
- input: {
- type: "structure",
- required: ["checkIds"],
- members: { checkIds: { shape: "S1t" } },
- },
- output: {
- type: "structure",
- required: ["summaries"],
- members: {
- summaries: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "checkId",
- "timestamp",
- "status",
- "resourcesSummary",
- "categorySpecificSummary",
- ],
- members: {
- checkId: {},
- timestamp: {},
- status: {},
- hasFlaggedResources: { type: "boolean" },
- resourcesSummary: { shape: "S22" },
- categorySpecificSummary: { shape: "S23" },
- },
- },
- },
- },
- },
- },
- DescribeTrustedAdvisorChecks: {
- input: {
- type: "structure",
- required: ["language"],
- members: { language: {} },
- },
- output: {
- type: "structure",
- required: ["checks"],
- members: {
- checks: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "id",
- "name",
- "description",
- "category",
- "metadata",
- ],
- members: {
- id: {},
- name: {},
- description: {},
- category: {},
- metadata: { shape: "S1t" },
- },
- },
- },
- },
- },
- },
- RefreshTrustedAdvisorCheck: {
- input: {
- type: "structure",
- required: ["checkId"],
- members: { checkId: {} },
- },
- output: {
- type: "structure",
- required: ["status"],
- members: { status: { shape: "S1x" } },
- },
- },
- ResolveCase: {
- input: { type: "structure", members: { caseId: {} } },
- output: {
- type: "structure",
- members: { initialCaseStatus: {}, finalCaseStatus: {} },
- },
- },
- },
- shapes: {
- S4: {
- type: "structure",
- members: { fileName: {}, data: { type: "blob" } },
- },
- Sc: { type: "list", member: {} },
- S17: {
- type: "list",
- member: {
- type: "structure",
- members: {
- caseId: {},
- body: {},
- submittedBy: {},
- timeCreated: {},
- attachmentSet: {
- type: "list",
- member: {
- type: "structure",
- members: { attachmentId: {}, fileName: {} },
- },
- },
- },
- },
- },
- S1t: { type: "list", member: {} },
- S1x: {
- type: "structure",
- required: ["checkId", "status", "millisUntilNextRefreshable"],
- members: {
- checkId: {},
- status: {},
- millisUntilNextRefreshable: { type: "long" },
- },
- },
- S22: {
- type: "structure",
- required: [
- "resourcesProcessed",
- "resourcesFlagged",
- "resourcesIgnored",
- "resourcesSuppressed",
- ],
- members: {
- resourcesProcessed: { type: "long" },
- resourcesFlagged: { type: "long" },
- resourcesIgnored: { type: "long" },
- resourcesSuppressed: { type: "long" },
- },
- },
- S23: {
- type: "structure",
- members: {
- costOptimizing: {
- type: "structure",
- required: [
- "estimatedMonthlySavings",
- "estimatedPercentMonthlySavings",
- ],
- members: {
- estimatedMonthlySavings: { type: "double" },
- estimatedPercentMonthlySavings: { type: "double" },
- },
- },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1015: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5840);
- model.paginators = __webpack_require__(5093).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.XRay;
-
- /***/
- },
-
- /***/ 1018: /***/ function () {
- eval("require")("encoding");
-
- /***/
- },
-
- /***/ 1032: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(2490);
- model.paginators = __webpack_require__(6202).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.PI;
-
- /***/
- },
-
- /***/ 1033: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2016-01-01",
- endpointPrefix: "dms",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "AWS Database Migration Service",
- serviceId: "Database Migration Service",
- signatureVersion: "v4",
- targetPrefix: "AmazonDMSv20160101",
- uid: "dms-2016-01-01",
- },
- operations: {
- AddTagsToResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "Tags"],
- members: { ResourceArn: {}, Tags: { shape: "S3" } },
- },
- output: { type: "structure", members: {} },
- },
- ApplyPendingMaintenanceAction: {
- input: {
- type: "structure",
- required: ["ReplicationInstanceArn", "ApplyAction", "OptInType"],
- members: {
- ReplicationInstanceArn: {},
- ApplyAction: {},
- OptInType: {},
- },
- },
- output: {
- type: "structure",
- members: { ResourcePendingMaintenanceActions: { shape: "S8" } },
- },
- },
- CreateEndpoint: {
- input: {
- type: "structure",
- required: ["EndpointIdentifier", "EndpointType", "EngineName"],
- members: {
- EndpointIdentifier: {},
- EndpointType: {},
- EngineName: {},
- Username: {},
- Password: { shape: "Se" },
- ServerName: {},
- Port: { type: "integer" },
- DatabaseName: {},
- ExtraConnectionAttributes: {},
- KmsKeyId: {},
- Tags: { shape: "S3" },
- CertificateArn: {},
- SslMode: {},
- ServiceAccessRoleArn: {},
- ExternalTableDefinition: {},
- DynamoDbSettings: { shape: "Sh" },
- S3Settings: { shape: "Si" },
- DmsTransferSettings: { shape: "Sp" },
- MongoDbSettings: { shape: "Sq" },
- KinesisSettings: { shape: "Su" },
- KafkaSettings: { shape: "Sw" },
- ElasticsearchSettings: { shape: "Sx" },
- RedshiftSettings: { shape: "Sy" },
- },
- },
- output: {
- type: "structure",
- members: { Endpoint: { shape: "S10" } },
- },
- },
- CreateEventSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName", "SnsTopicArn"],
- members: {
- SubscriptionName: {},
- SnsTopicArn: {},
- SourceType: {},
- EventCategories: { shape: "S12" },
- SourceIds: { shape: "S13" },
- Enabled: { type: "boolean" },
- Tags: { shape: "S3" },
- },
- },
- output: {
- type: "structure",
- members: { EventSubscription: { shape: "S15" } },
- },
- },
- CreateReplicationInstance: {
- input: {
- type: "structure",
- required: [
- "ReplicationInstanceIdentifier",
- "ReplicationInstanceClass",
- ],
- members: {
- ReplicationInstanceIdentifier: {},
- AllocatedStorage: { type: "integer" },
- ReplicationInstanceClass: {},
- VpcSecurityGroupIds: { shape: "S18" },
- AvailabilityZone: {},
- ReplicationSubnetGroupIdentifier: {},
- PreferredMaintenanceWindow: {},
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- Tags: { shape: "S3" },
- KmsKeyId: {},
- PubliclyAccessible: { type: "boolean" },
- DnsNameServers: {},
- },
- },
- output: {
- type: "structure",
- members: { ReplicationInstance: { shape: "S1a" } },
- },
- },
- CreateReplicationSubnetGroup: {
- input: {
- type: "structure",
- required: [
- "ReplicationSubnetGroupIdentifier",
- "ReplicationSubnetGroupDescription",
- "SubnetIds",
- ],
- members: {
- ReplicationSubnetGroupIdentifier: {},
- ReplicationSubnetGroupDescription: {},
- SubnetIds: { shape: "S1m" },
- Tags: { shape: "S3" },
- },
- },
- output: {
- type: "structure",
- members: { ReplicationSubnetGroup: { shape: "S1e" } },
- },
- },
- CreateReplicationTask: {
- input: {
- type: "structure",
- required: [
- "ReplicationTaskIdentifier",
- "SourceEndpointArn",
- "TargetEndpointArn",
- "ReplicationInstanceArn",
- "MigrationType",
- "TableMappings",
- ],
- members: {
- ReplicationTaskIdentifier: {},
- SourceEndpointArn: {},
- TargetEndpointArn: {},
- ReplicationInstanceArn: {},
- MigrationType: {},
- TableMappings: {},
- ReplicationTaskSettings: {},
- CdcStartTime: { type: "timestamp" },
- CdcStartPosition: {},
- CdcStopPosition: {},
- Tags: { shape: "S3" },
- },
- },
- output: {
- type: "structure",
- members: { ReplicationTask: { shape: "S1r" } },
- },
- },
- DeleteCertificate: {
- input: {
- type: "structure",
- required: ["CertificateArn"],
- members: { CertificateArn: {} },
- },
- output: {
- type: "structure",
- members: { Certificate: { shape: "S1w" } },
- },
- },
- DeleteConnection: {
- input: {
- type: "structure",
- required: ["EndpointArn", "ReplicationInstanceArn"],
- members: { EndpointArn: {}, ReplicationInstanceArn: {} },
- },
- output: {
- type: "structure",
- members: { Connection: { shape: "S20" } },
- },
- },
- DeleteEndpoint: {
- input: {
- type: "structure",
- required: ["EndpointArn"],
- members: { EndpointArn: {} },
- },
- output: {
- type: "structure",
- members: { Endpoint: { shape: "S10" } },
- },
- },
- DeleteEventSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName"],
- members: { SubscriptionName: {} },
- },
- output: {
- type: "structure",
- members: { EventSubscription: { shape: "S15" } },
- },
- },
- DeleteReplicationInstance: {
- input: {
- type: "structure",
- required: ["ReplicationInstanceArn"],
- members: { ReplicationInstanceArn: {} },
- },
- output: {
- type: "structure",
- members: { ReplicationInstance: { shape: "S1a" } },
- },
- },
- DeleteReplicationSubnetGroup: {
- input: {
- type: "structure",
- required: ["ReplicationSubnetGroupIdentifier"],
- members: { ReplicationSubnetGroupIdentifier: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteReplicationTask: {
- input: {
- type: "structure",
- required: ["ReplicationTaskArn"],
- members: { ReplicationTaskArn: {} },
- },
- output: {
- type: "structure",
- members: { ReplicationTask: { shape: "S1r" } },
- },
- },
- DescribeAccountAttributes: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: {
- AccountQuotas: {
- type: "list",
- member: {
- type: "structure",
- members: {
- AccountQuotaName: {},
- Used: { type: "long" },
- Max: { type: "long" },
- },
- },
- },
- UniqueAccountIdentifier: {},
- },
- },
- },
- DescribeCertificates: {
- input: {
- type: "structure",
- members: {
- Filters: { shape: "S2g" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Marker: {},
- Certificates: { type: "list", member: { shape: "S1w" } },
- },
- },
- },
- DescribeConnections: {
- input: {
- type: "structure",
- members: {
- Filters: { shape: "S2g" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Marker: {},
- Connections: { type: "list", member: { shape: "S20" } },
- },
- },
- },
- DescribeEndpointTypes: {
- input: {
- type: "structure",
- members: {
- Filters: { shape: "S2g" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Marker: {},
- SupportedEndpointTypes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- EngineName: {},
- SupportsCDC: { type: "boolean" },
- EndpointType: {},
- EngineDisplayName: {},
- },
- },
- },
- },
- },
- },
- DescribeEndpoints: {
- input: {
- type: "structure",
- members: {
- Filters: { shape: "S2g" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Marker: {},
- Endpoints: { type: "list", member: { shape: "S10" } },
- },
- },
- },
- DescribeEventCategories: {
- input: {
- type: "structure",
- members: { SourceType: {}, Filters: { shape: "S2g" } },
- },
- output: {
- type: "structure",
- members: {
- EventCategoryGroupList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- SourceType: {},
- EventCategories: { shape: "S12" },
- },
- },
- },
- },
- },
- },
- DescribeEventSubscriptions: {
- input: {
- type: "structure",
- members: {
- SubscriptionName: {},
- Filters: { shape: "S2g" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Marker: {},
- EventSubscriptionsList: {
- type: "list",
- member: { shape: "S15" },
- },
- },
- },
- },
- DescribeEvents: {
- input: {
- type: "structure",
- members: {
- SourceIdentifier: {},
- SourceType: {},
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Duration: { type: "integer" },
- EventCategories: { shape: "S12" },
- Filters: { shape: "S2g" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Marker: {},
- Events: {
- type: "list",
- member: {
- type: "structure",
- members: {
- SourceIdentifier: {},
- SourceType: {},
- Message: {},
- EventCategories: { shape: "S12" },
- Date: { type: "timestamp" },
- },
- },
- },
- },
- },
- },
- DescribeOrderableReplicationInstances: {
- input: {
- type: "structure",
- members: { MaxRecords: { type: "integer" }, Marker: {} },
- },
- output: {
- type: "structure",
- members: {
- OrderableReplicationInstances: {
- type: "list",
- member: {
- type: "structure",
- members: {
- EngineVersion: {},
- ReplicationInstanceClass: {},
- StorageType: {},
- MinAllocatedStorage: { type: "integer" },
- MaxAllocatedStorage: { type: "integer" },
- DefaultAllocatedStorage: { type: "integer" },
- IncludedAllocatedStorage: { type: "integer" },
- AvailabilityZones: { type: "list", member: {} },
- ReleaseStatus: {},
- },
- },
- },
- Marker: {},
- },
- },
- },
- DescribePendingMaintenanceActions: {
- input: {
- type: "structure",
- members: {
- ReplicationInstanceArn: {},
- Filters: { shape: "S2g" },
- Marker: {},
- MaxRecords: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- PendingMaintenanceActions: {
- type: "list",
- member: { shape: "S8" },
- },
- Marker: {},
- },
- },
- },
- DescribeRefreshSchemasStatus: {
- input: {
- type: "structure",
- required: ["EndpointArn"],
- members: { EndpointArn: {} },
- },
- output: {
- type: "structure",
- members: { RefreshSchemasStatus: { shape: "S3i" } },
- },
- },
- DescribeReplicationInstanceTaskLogs: {
- input: {
- type: "structure",
- required: ["ReplicationInstanceArn"],
- members: {
- ReplicationInstanceArn: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ReplicationInstanceArn: {},
- ReplicationInstanceTaskLogs: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ReplicationTaskName: {},
- ReplicationTaskArn: {},
- ReplicationInstanceTaskLogSize: { type: "long" },
- },
- },
- },
- Marker: {},
- },
- },
- },
- DescribeReplicationInstances: {
- input: {
- type: "structure",
- members: {
- Filters: { shape: "S2g" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Marker: {},
- ReplicationInstances: {
- type: "list",
- member: { shape: "S1a" },
- },
- },
- },
- },
- DescribeReplicationSubnetGroups: {
- input: {
- type: "structure",
- members: {
- Filters: { shape: "S2g" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Marker: {},
- ReplicationSubnetGroups: {
- type: "list",
- member: { shape: "S1e" },
- },
- },
- },
- },
- DescribeReplicationTaskAssessmentResults: {
- input: {
- type: "structure",
- members: {
- ReplicationTaskArn: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Marker: {},
- BucketName: {},
- ReplicationTaskAssessmentResults: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ReplicationTaskIdentifier: {},
- ReplicationTaskArn: {},
- ReplicationTaskLastAssessmentDate: { type: "timestamp" },
- AssessmentStatus: {},
- AssessmentResultsFile: {},
- AssessmentResults: {},
- S3ObjectUrl: {},
- },
- },
- },
- },
- },
- },
- DescribeReplicationTasks: {
- input: {
- type: "structure",
- members: {
- Filters: { shape: "S2g" },
- MaxRecords: { type: "integer" },
- Marker: {},
- WithoutSettings: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- Marker: {},
- ReplicationTasks: { type: "list", member: { shape: "S1r" } },
- },
- },
- },
- DescribeSchemas: {
- input: {
- type: "structure",
- required: ["EndpointArn"],
- members: {
- EndpointArn: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- type: "structure",
- members: { Marker: {}, Schemas: { type: "list", member: {} } },
- },
- },
- DescribeTableStatistics: {
- input: {
- type: "structure",
- required: ["ReplicationTaskArn"],
- members: {
- ReplicationTaskArn: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- Filters: { shape: "S2g" },
- },
- },
- output: {
- type: "structure",
- members: {
- ReplicationTaskArn: {},
- TableStatistics: {
- type: "list",
- member: {
- type: "structure",
- members: {
- SchemaName: {},
- TableName: {},
- Inserts: { type: "long" },
- Deletes: { type: "long" },
- Updates: { type: "long" },
- Ddls: { type: "long" },
- FullLoadRows: { type: "long" },
- FullLoadCondtnlChkFailedRows: { type: "long" },
- FullLoadErrorRows: { type: "long" },
- FullLoadStartTime: { type: "timestamp" },
- FullLoadEndTime: { type: "timestamp" },
- FullLoadReloaded: { type: "boolean" },
- LastUpdateTime: { type: "timestamp" },
- TableState: {},
- ValidationPendingRecords: { type: "long" },
- ValidationFailedRecords: { type: "long" },
- ValidationSuspendedRecords: { type: "long" },
- ValidationState: {},
- ValidationStateDetails: {},
- },
- },
- },
- Marker: {},
- },
- },
- },
- ImportCertificate: {
- input: {
- type: "structure",
- required: ["CertificateIdentifier"],
- members: {
- CertificateIdentifier: {},
- CertificatePem: {},
- CertificateWallet: { type: "blob" },
- Tags: { shape: "S3" },
- },
- },
- output: {
- type: "structure",
- members: { Certificate: { shape: "S1w" } },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: { ResourceArn: {} },
- },
- output: {
- type: "structure",
- members: { TagList: { shape: "S3" } },
- },
- },
- ModifyEndpoint: {
- input: {
- type: "structure",
- required: ["EndpointArn"],
- members: {
- EndpointArn: {},
- EndpointIdentifier: {},
- EndpointType: {},
- EngineName: {},
- Username: {},
- Password: { shape: "Se" },
- ServerName: {},
- Port: { type: "integer" },
- DatabaseName: {},
- ExtraConnectionAttributes: {},
- CertificateArn: {},
- SslMode: {},
- ServiceAccessRoleArn: {},
- ExternalTableDefinition: {},
- DynamoDbSettings: { shape: "Sh" },
- S3Settings: { shape: "Si" },
- DmsTransferSettings: { shape: "Sp" },
- MongoDbSettings: { shape: "Sq" },
- KinesisSettings: { shape: "Su" },
- KafkaSettings: { shape: "Sw" },
- ElasticsearchSettings: { shape: "Sx" },
- RedshiftSettings: { shape: "Sy" },
- },
- },
- output: {
- type: "structure",
- members: { Endpoint: { shape: "S10" } },
- },
- },
- ModifyEventSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName"],
- members: {
- SubscriptionName: {},
- SnsTopicArn: {},
- SourceType: {},
- EventCategories: { shape: "S12" },
- Enabled: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { EventSubscription: { shape: "S15" } },
- },
- },
- ModifyReplicationInstance: {
- input: {
- type: "structure",
- required: ["ReplicationInstanceArn"],
- members: {
- ReplicationInstanceArn: {},
- AllocatedStorage: { type: "integer" },
- ApplyImmediately: { type: "boolean" },
- ReplicationInstanceClass: {},
- VpcSecurityGroupIds: { shape: "S18" },
- PreferredMaintenanceWindow: {},
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- AllowMajorVersionUpgrade: { type: "boolean" },
- AutoMinorVersionUpgrade: { type: "boolean" },
- ReplicationInstanceIdentifier: {},
- },
- },
- output: {
- type: "structure",
- members: { ReplicationInstance: { shape: "S1a" } },
- },
- },
- ModifyReplicationSubnetGroup: {
- input: {
- type: "structure",
- required: ["ReplicationSubnetGroupIdentifier", "SubnetIds"],
- members: {
- ReplicationSubnetGroupIdentifier: {},
- ReplicationSubnetGroupDescription: {},
- SubnetIds: { shape: "S1m" },
- },
- },
- output: {
- type: "structure",
- members: { ReplicationSubnetGroup: { shape: "S1e" } },
- },
- },
- ModifyReplicationTask: {
- input: {
- type: "structure",
- required: ["ReplicationTaskArn"],
- members: {
- ReplicationTaskArn: {},
- ReplicationTaskIdentifier: {},
- MigrationType: {},
- TableMappings: {},
- ReplicationTaskSettings: {},
- CdcStartTime: { type: "timestamp" },
- CdcStartPosition: {},
- CdcStopPosition: {},
- },
- },
- output: {
- type: "structure",
- members: { ReplicationTask: { shape: "S1r" } },
- },
- },
- RebootReplicationInstance: {
- input: {
- type: "structure",
- required: ["ReplicationInstanceArn"],
- members: {
- ReplicationInstanceArn: {},
- ForceFailover: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { ReplicationInstance: { shape: "S1a" } },
- },
- },
- RefreshSchemas: {
- input: {
- type: "structure",
- required: ["EndpointArn", "ReplicationInstanceArn"],
- members: { EndpointArn: {}, ReplicationInstanceArn: {} },
- },
- output: {
- type: "structure",
- members: { RefreshSchemasStatus: { shape: "S3i" } },
- },
- },
- ReloadTables: {
- input: {
- type: "structure",
- required: ["ReplicationTaskArn", "TablesToReload"],
- members: {
- ReplicationTaskArn: {},
- TablesToReload: {
- type: "list",
- member: {
- type: "structure",
- members: { SchemaName: {}, TableName: {} },
- },
- },
- ReloadOption: {},
- },
- },
- output: { type: "structure", members: { ReplicationTaskArn: {} } },
- },
- RemoveTagsFromResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "TagKeys"],
- members: {
- ResourceArn: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- StartReplicationTask: {
- input: {
- type: "structure",
- required: ["ReplicationTaskArn", "StartReplicationTaskType"],
- members: {
- ReplicationTaskArn: {},
- StartReplicationTaskType: {},
- CdcStartTime: { type: "timestamp" },
- CdcStartPosition: {},
- CdcStopPosition: {},
- },
- },
- output: {
- type: "structure",
- members: { ReplicationTask: { shape: "S1r" } },
- },
- },
- StartReplicationTaskAssessment: {
- input: {
- type: "structure",
- required: ["ReplicationTaskArn"],
- members: { ReplicationTaskArn: {} },
- },
- output: {
- type: "structure",
- members: { ReplicationTask: { shape: "S1r" } },
- },
- },
- StopReplicationTask: {
- input: {
- type: "structure",
- required: ["ReplicationTaskArn"],
- members: { ReplicationTaskArn: {} },
- },
- output: {
- type: "structure",
- members: { ReplicationTask: { shape: "S1r" } },
- },
- },
- TestConnection: {
- input: {
- type: "structure",
- required: ["ReplicationInstanceArn", "EndpointArn"],
- members: { ReplicationInstanceArn: {}, EndpointArn: {} },
- },
- output: {
- type: "structure",
- members: { Connection: { shape: "S20" } },
- },
- },
- },
- shapes: {
- S3: {
- type: "list",
- member: { type: "structure", members: { Key: {}, Value: {} } },
- },
- S8: {
- type: "structure",
- members: {
- ResourceIdentifier: {},
- PendingMaintenanceActionDetails: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Action: {},
- AutoAppliedAfterDate: { type: "timestamp" },
- ForcedApplyDate: { type: "timestamp" },
- OptInStatus: {},
- CurrentApplyDate: { type: "timestamp" },
- Description: {},
- },
- },
- },
- },
- },
- Se: { type: "string", sensitive: true },
- Sh: {
- type: "structure",
- required: ["ServiceAccessRoleArn"],
- members: { ServiceAccessRoleArn: {} },
- },
- Si: {
- type: "structure",
- members: {
- ServiceAccessRoleArn: {},
- ExternalTableDefinition: {},
- CsvRowDelimiter: {},
- CsvDelimiter: {},
- BucketFolder: {},
- BucketName: {},
- CompressionType: {},
- EncryptionMode: {},
- ServerSideEncryptionKmsKeyId: {},
- DataFormat: {},
- EncodingType: {},
- DictPageSizeLimit: { type: "integer" },
- RowGroupLength: { type: "integer" },
- DataPageSize: { type: "integer" },
- ParquetVersion: {},
- EnableStatistics: { type: "boolean" },
- IncludeOpForFullLoad: { type: "boolean" },
- CdcInsertsOnly: { type: "boolean" },
- TimestampColumnName: {},
- ParquetTimestampInMillisecond: { type: "boolean" },
- CdcInsertsAndUpdates: { type: "boolean" },
- },
- },
- Sp: {
- type: "structure",
- members: { ServiceAccessRoleArn: {}, BucketName: {} },
- },
- Sq: {
- type: "structure",
- members: {
- Username: {},
- Password: { shape: "Se" },
- ServerName: {},
- Port: { type: "integer" },
- DatabaseName: {},
- AuthType: {},
- AuthMechanism: {},
- NestingLevel: {},
- ExtractDocId: {},
- DocsToInvestigate: {},
- AuthSource: {},
- KmsKeyId: {},
- },
- },
- Su: {
- type: "structure",
- members: {
- StreamArn: {},
- MessageFormat: {},
- ServiceAccessRoleArn: {},
- IncludeTransactionDetails: { type: "boolean" },
- IncludePartitionValue: { type: "boolean" },
- PartitionIncludeSchemaTable: { type: "boolean" },
- IncludeTableAlterOperations: { type: "boolean" },
- IncludeControlDetails: { type: "boolean" },
- },
- },
- Sw: { type: "structure", members: { Broker: {}, Topic: {} } },
- Sx: {
- type: "structure",
- required: ["ServiceAccessRoleArn", "EndpointUri"],
- members: {
- ServiceAccessRoleArn: {},
- EndpointUri: {},
- FullLoadErrorPercentage: { type: "integer" },
- ErrorRetryDuration: { type: "integer" },
- },
- },
- Sy: {
- type: "structure",
- members: {
- AcceptAnyDate: { type: "boolean" },
- AfterConnectScript: {},
- BucketFolder: {},
- BucketName: {},
- ConnectionTimeout: { type: "integer" },
- DatabaseName: {},
- DateFormat: {},
- EmptyAsNull: { type: "boolean" },
- EncryptionMode: {},
- FileTransferUploadStreams: { type: "integer" },
- LoadTimeout: { type: "integer" },
- MaxFileSize: { type: "integer" },
- Password: { shape: "Se" },
- Port: { type: "integer" },
- RemoveQuotes: { type: "boolean" },
- ReplaceInvalidChars: {},
- ReplaceChars: {},
- ServerName: {},
- ServiceAccessRoleArn: {},
- ServerSideEncryptionKmsKeyId: {},
- TimeFormat: {},
- TrimBlanks: { type: "boolean" },
- TruncateColumns: { type: "boolean" },
- Username: {},
- WriteBufferSize: { type: "integer" },
- },
- },
- S10: {
- type: "structure",
- members: {
- EndpointIdentifier: {},
- EndpointType: {},
- EngineName: {},
- EngineDisplayName: {},
- Username: {},
- ServerName: {},
- Port: { type: "integer" },
- DatabaseName: {},
- ExtraConnectionAttributes: {},
- Status: {},
- KmsKeyId: {},
- EndpointArn: {},
- CertificateArn: {},
- SslMode: {},
- ServiceAccessRoleArn: {},
- ExternalTableDefinition: {},
- ExternalId: {},
- DynamoDbSettings: { shape: "Sh" },
- S3Settings: { shape: "Si" },
- DmsTransferSettings: { shape: "Sp" },
- MongoDbSettings: { shape: "Sq" },
- KinesisSettings: { shape: "Su" },
- KafkaSettings: { shape: "Sw" },
- ElasticsearchSettings: { shape: "Sx" },
- RedshiftSettings: { shape: "Sy" },
- },
- },
- S12: { type: "list", member: {} },
- S13: { type: "list", member: {} },
- S15: {
- type: "structure",
- members: {
- CustomerAwsId: {},
- CustSubscriptionId: {},
- SnsTopicArn: {},
- Status: {},
- SubscriptionCreationTime: {},
- SourceType: {},
- SourceIdsList: { shape: "S13" },
- EventCategoriesList: { shape: "S12" },
- Enabled: { type: "boolean" },
- },
- },
- S18: { type: "list", member: {} },
- S1a: {
- type: "structure",
- members: {
- ReplicationInstanceIdentifier: {},
- ReplicationInstanceClass: {},
- ReplicationInstanceStatus: {},
- AllocatedStorage: { type: "integer" },
- InstanceCreateTime: { type: "timestamp" },
- VpcSecurityGroups: {
- type: "list",
- member: {
- type: "structure",
- members: { VpcSecurityGroupId: {}, Status: {} },
- },
- },
- AvailabilityZone: {},
- ReplicationSubnetGroup: { shape: "S1e" },
- PreferredMaintenanceWindow: {},
- PendingModifiedValues: {
- type: "structure",
- members: {
- ReplicationInstanceClass: {},
- AllocatedStorage: { type: "integer" },
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- },
- },
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- KmsKeyId: {},
- ReplicationInstanceArn: {},
- ReplicationInstancePublicIpAddress: { deprecated: true },
- ReplicationInstancePrivateIpAddress: { deprecated: true },
- ReplicationInstancePublicIpAddresses: {
- type: "list",
- member: {},
- },
- ReplicationInstancePrivateIpAddresses: {
- type: "list",
- member: {},
- },
- PubliclyAccessible: { type: "boolean" },
- SecondaryAvailabilityZone: {},
- FreeUntil: { type: "timestamp" },
- DnsNameServers: {},
- },
- },
- S1e: {
- type: "structure",
- members: {
- ReplicationSubnetGroupIdentifier: {},
- ReplicationSubnetGroupDescription: {},
- VpcId: {},
- SubnetGroupStatus: {},
- Subnets: {
- type: "list",
- member: {
- type: "structure",
- members: {
- SubnetIdentifier: {},
- SubnetAvailabilityZone: {
- type: "structure",
- members: { Name: {} },
- },
- SubnetStatus: {},
- },
- },
- },
- },
- },
- S1m: { type: "list", member: {} },
- S1r: {
- type: "structure",
- members: {
- ReplicationTaskIdentifier: {},
- SourceEndpointArn: {},
- TargetEndpointArn: {},
- ReplicationInstanceArn: {},
- MigrationType: {},
- TableMappings: {},
- ReplicationTaskSettings: {},
- Status: {},
- LastFailureMessage: {},
- StopReason: {},
- ReplicationTaskCreationDate: { type: "timestamp" },
- ReplicationTaskStartDate: { type: "timestamp" },
- CdcStartPosition: {},
- CdcStopPosition: {},
- RecoveryCheckpoint: {},
- ReplicationTaskArn: {},
- ReplicationTaskStats: {
- type: "structure",
- members: {
- FullLoadProgressPercent: { type: "integer" },
- ElapsedTimeMillis: { type: "long" },
- TablesLoaded: { type: "integer" },
- TablesLoading: { type: "integer" },
- TablesQueued: { type: "integer" },
- TablesErrored: { type: "integer" },
- FreshStartDate: { type: "timestamp" },
- StartDate: { type: "timestamp" },
- StopDate: { type: "timestamp" },
- FullLoadStartDate: { type: "timestamp" },
- FullLoadFinishDate: { type: "timestamp" },
- },
- },
- },
- },
- S1w: {
- type: "structure",
- members: {
- CertificateIdentifier: {},
- CertificateCreationDate: { type: "timestamp" },
- CertificatePem: {},
- CertificateWallet: { type: "blob" },
- CertificateArn: {},
- CertificateOwner: {},
- ValidFromDate: { type: "timestamp" },
- ValidToDate: { type: "timestamp" },
- SigningAlgorithm: {},
- KeyLength: { type: "integer" },
- },
- },
- S20: {
- type: "structure",
- members: {
- ReplicationInstanceArn: {},
- EndpointArn: {},
- Status: {},
- LastFailureMessage: {},
- EndpointIdentifier: {},
- ReplicationInstanceIdentifier: {},
- },
- },
- S2g: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Values"],
- members: { Name: {}, Values: { type: "list", member: {} } },
- },
- },
- S3i: {
- type: "structure",
- members: {
- EndpointArn: {},
- ReplicationInstanceArn: {},
- Status: {},
- LastRefreshDate: { type: "timestamp" },
- LastFailureMessage: {},
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1037: /***/ function (module) {
- module.exports = {
- pagination: {
- ListAWSServiceAccessForOrganization: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListAccounts: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListAccountsForParent: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListChildren: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListCreateAccountStatus: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListDelegatedAdministrators: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "DelegatedAdministrators",
- },
- ListDelegatedServicesForAccount: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "DelegatedServices",
- },
- ListHandshakesForAccount: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListHandshakesForOrganization: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListOrganizationalUnitsForParent: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListParents: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListPolicies: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListPoliciesForTarget: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListRoots: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListTagsForResource: {
- input_token: "NextToken",
- output_token: "NextToken",
- result_key: "Tags",
- },
- ListTargetsForPolicy: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1039: /***/ function (module) {
- "use strict";
-
- module.exports = (opts) => {
- opts = opts || {};
-
- const env = opts.env || process.env;
- const platform = opts.platform || process.platform;
-
- if (platform !== "win32") {
- return "PATH";
- }
-
- return (
- Object.keys(env).find((x) => x.toUpperCase() === "PATH") || "Path"
- );
- };
-
- /***/
- },
-
- /***/ 1056: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeCertificates: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribeConnections: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribeEndpointTypes: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribeEndpoints: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribeEventSubscriptions: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribeEvents: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribeOrderableReplicationInstances: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribePendingMaintenanceActions: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribeReplicationInstanceTaskLogs: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribeReplicationInstances: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribeReplicationSubnetGroups: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribeReplicationTaskAssessmentResults: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribeReplicationTasks: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribeSchemas: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- DescribeTableStatistics: {
- input_token: "Marker",
- output_token: "Marker",
- limit_key: "MaxRecords",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1065: /***/ function (module) {
- module.exports = {
- pagination: {
- ListHumanLoops: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "HumanLoopSummaries",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1068: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(9130);
- model.paginators = __webpack_require__(1527).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Detective;
-
- /***/
- },
-
- /***/ 1071: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(7978);
- Object.defineProperty(apiLoader.services["rds"], "2013-01-10", {
- get: function get() {
- var model = __webpack_require__(5017);
- model.paginators = __webpack_require__(2904).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
- Object.defineProperty(apiLoader.services["rds"], "2013-02-12", {
- get: function get() {
- var model = __webpack_require__(4237);
- model.paginators = __webpack_require__(3756).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
- Object.defineProperty(apiLoader.services["rds"], "2013-09-09", {
- get: function get() {
- var model = __webpack_require__(6928);
- model.paginators = __webpack_require__(1318).pagination;
- model.waiters = __webpack_require__(5945).waiters;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
- Object.defineProperty(apiLoader.services["rds"], "2014-09-01", {
- get: function get() {
- var model = __webpack_require__(1413);
- model.paginators = __webpack_require__(2323).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
- Object.defineProperty(apiLoader.services["rds"], "2014-10-31", {
- get: function get() {
- var model = __webpack_require__(8713);
- model.paginators = __webpack_require__(4798).pagination;
- model.waiters = __webpack_require__(4525).waiters;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.RDS;
-
- /***/
- },
-
- /***/ 1073: /***/ function (module) {
- module.exports = {
- pagination: {
- ListChangedBlocks: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListSnapshotBlocks: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1079: /***/ function (module) {
- module.exports = {
- pagination: {
- ListCloudFrontOriginAccessIdentities: {
- input_token: "Marker",
- limit_key: "MaxItems",
- more_results: "CloudFrontOriginAccessIdentityList.IsTruncated",
- output_token: "CloudFrontOriginAccessIdentityList.NextMarker",
- result_key: "CloudFrontOriginAccessIdentityList.Items",
- },
- ListDistributions: {
- input_token: "Marker",
- limit_key: "MaxItems",
- more_results: "DistributionList.IsTruncated",
- output_token: "DistributionList.NextMarker",
- result_key: "DistributionList.Items",
- },
- ListInvalidations: {
- input_token: "Marker",
- limit_key: "MaxItems",
- more_results: "InvalidationList.IsTruncated",
- output_token: "InvalidationList.NextMarker",
- result_key: "InvalidationList.Items",
- },
- ListStreamingDistributions: {
- input_token: "Marker",
- limit_key: "MaxItems",
- more_results: "StreamingDistributionList.IsTruncated",
- output_token: "StreamingDistributionList.NextMarker",
- result_key: "StreamingDistributionList.Items",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1096: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(4664);
- model.paginators = __webpack_require__(7572).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.CodeStarconnections;
-
- /***/
- },
-
- /***/ 1098: /***/ function (module) {
- module.exports = {
- pagination: {
- ListJobs: {
- input_token: "marker",
- limit_key: "limit",
- output_token: "Marker",
- result_key: "JobList",
- },
- ListMultipartUploads: {
- input_token: "marker",
- limit_key: "limit",
- output_token: "Marker",
- result_key: "UploadsList",
- },
- ListParts: {
- input_token: "marker",
- limit_key: "limit",
- output_token: "Marker",
- result_key: "Parts",
- },
- ListVaults: {
- input_token: "marker",
- limit_key: "limit",
- output_token: "Marker",
- result_key: "VaultList",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1115: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- uid: "machinelearning-2014-12-12",
- apiVersion: "2014-12-12",
- endpointPrefix: "machinelearning",
- jsonVersion: "1.1",
- serviceFullName: "Amazon Machine Learning",
- serviceId: "Machine Learning",
- signatureVersion: "v4",
- targetPrefix: "AmazonML_20141212",
- protocol: "json",
- },
- operations: {
- AddTags: {
- input: {
- type: "structure",
- required: ["Tags", "ResourceId", "ResourceType"],
- members: {
- Tags: { shape: "S2" },
- ResourceId: {},
- ResourceType: {},
- },
- },
- output: {
- type: "structure",
- members: { ResourceId: {}, ResourceType: {} },
- },
- },
- CreateBatchPrediction: {
- input: {
- type: "structure",
- required: [
- "BatchPredictionId",
- "MLModelId",
- "BatchPredictionDataSourceId",
- "OutputUri",
- ],
- members: {
- BatchPredictionId: {},
- BatchPredictionName: {},
- MLModelId: {},
- BatchPredictionDataSourceId: {},
- OutputUri: {},
- },
- },
- output: { type: "structure", members: { BatchPredictionId: {} } },
- },
- CreateDataSourceFromRDS: {
- input: {
- type: "structure",
- required: ["DataSourceId", "RDSData", "RoleARN"],
- members: {
- DataSourceId: {},
- DataSourceName: {},
- RDSData: {
- type: "structure",
- required: [
- "DatabaseInformation",
- "SelectSqlQuery",
- "DatabaseCredentials",
- "S3StagingLocation",
- "ResourceRole",
- "ServiceRole",
- "SubnetId",
- "SecurityGroupIds",
- ],
- members: {
- DatabaseInformation: { shape: "Sf" },
- SelectSqlQuery: {},
- DatabaseCredentials: {
- type: "structure",
- required: ["Username", "Password"],
- members: { Username: {}, Password: {} },
- },
- S3StagingLocation: {},
- DataRearrangement: {},
- DataSchema: {},
- DataSchemaUri: {},
- ResourceRole: {},
- ServiceRole: {},
- SubnetId: {},
- SecurityGroupIds: { type: "list", member: {} },
- },
- },
- RoleARN: {},
- ComputeStatistics: { type: "boolean" },
- },
- },
- output: { type: "structure", members: { DataSourceId: {} } },
- },
- CreateDataSourceFromRedshift: {
- input: {
- type: "structure",
- required: ["DataSourceId", "DataSpec", "RoleARN"],
- members: {
- DataSourceId: {},
- DataSourceName: {},
- DataSpec: {
- type: "structure",
- required: [
- "DatabaseInformation",
- "SelectSqlQuery",
- "DatabaseCredentials",
- "S3StagingLocation",
- ],
- members: {
- DatabaseInformation: { shape: "Sy" },
- SelectSqlQuery: {},
- DatabaseCredentials: {
- type: "structure",
- required: ["Username", "Password"],
- members: { Username: {}, Password: {} },
- },
- S3StagingLocation: {},
- DataRearrangement: {},
- DataSchema: {},
- DataSchemaUri: {},
- },
- },
- RoleARN: {},
- ComputeStatistics: { type: "boolean" },
- },
- },
- output: { type: "structure", members: { DataSourceId: {} } },
- },
- CreateDataSourceFromS3: {
- input: {
- type: "structure",
- required: ["DataSourceId", "DataSpec"],
- members: {
- DataSourceId: {},
- DataSourceName: {},
- DataSpec: {
- type: "structure",
- required: ["DataLocationS3"],
- members: {
- DataLocationS3: {},
- DataRearrangement: {},
- DataSchema: {},
- DataSchemaLocationS3: {},
- },
- },
- ComputeStatistics: { type: "boolean" },
- },
- },
- output: { type: "structure", members: { DataSourceId: {} } },
- },
- CreateEvaluation: {
- input: {
- type: "structure",
- required: ["EvaluationId", "MLModelId", "EvaluationDataSourceId"],
- members: {
- EvaluationId: {},
- EvaluationName: {},
- MLModelId: {},
- EvaluationDataSourceId: {},
- },
- },
- output: { type: "structure", members: { EvaluationId: {} } },
- },
- CreateMLModel: {
- input: {
- type: "structure",
- required: ["MLModelId", "MLModelType", "TrainingDataSourceId"],
- members: {
- MLModelId: {},
- MLModelName: {},
- MLModelType: {},
- Parameters: { shape: "S1d" },
- TrainingDataSourceId: {},
- Recipe: {},
- RecipeUri: {},
- },
- },
- output: { type: "structure", members: { MLModelId: {} } },
- },
- CreateRealtimeEndpoint: {
- input: {
- type: "structure",
- required: ["MLModelId"],
- members: { MLModelId: {} },
- },
- output: {
- type: "structure",
- members: {
- MLModelId: {},
- RealtimeEndpointInfo: { shape: "S1j" },
- },
- },
- },
- DeleteBatchPrediction: {
- input: {
- type: "structure",
- required: ["BatchPredictionId"],
- members: { BatchPredictionId: {} },
- },
- output: { type: "structure", members: { BatchPredictionId: {} } },
- },
- DeleteDataSource: {
- input: {
- type: "structure",
- required: ["DataSourceId"],
- members: { DataSourceId: {} },
- },
- output: { type: "structure", members: { DataSourceId: {} } },
- },
- DeleteEvaluation: {
- input: {
- type: "structure",
- required: ["EvaluationId"],
- members: { EvaluationId: {} },
- },
- output: { type: "structure", members: { EvaluationId: {} } },
- },
- DeleteMLModel: {
- input: {
- type: "structure",
- required: ["MLModelId"],
- members: { MLModelId: {} },
- },
- output: { type: "structure", members: { MLModelId: {} } },
- },
- DeleteRealtimeEndpoint: {
- input: {
- type: "structure",
- required: ["MLModelId"],
- members: { MLModelId: {} },
- },
- output: {
- type: "structure",
- members: {
- MLModelId: {},
- RealtimeEndpointInfo: { shape: "S1j" },
- },
- },
- },
- DeleteTags: {
- input: {
- type: "structure",
- required: ["TagKeys", "ResourceId", "ResourceType"],
- members: {
- TagKeys: { type: "list", member: {} },
- ResourceId: {},
- ResourceType: {},
- },
- },
- output: {
- type: "structure",
- members: { ResourceId: {}, ResourceType: {} },
- },
- },
- DescribeBatchPredictions: {
- input: {
- type: "structure",
- members: {
- FilterVariable: {},
- EQ: {},
- GT: {},
- LT: {},
- GE: {},
- LE: {},
- NE: {},
- Prefix: {},
- SortOrder: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Results: {
- type: "list",
- member: {
- type: "structure",
- members: {
- BatchPredictionId: {},
- MLModelId: {},
- BatchPredictionDataSourceId: {},
- InputDataLocationS3: {},
- CreatedByIamUser: {},
- CreatedAt: { type: "timestamp" },
- LastUpdatedAt: { type: "timestamp" },
- Name: {},
- Status: {},
- OutputUri: {},
- Message: {},
- ComputeTime: { type: "long" },
- FinishedAt: { type: "timestamp" },
- StartedAt: { type: "timestamp" },
- TotalRecordCount: { type: "long" },
- InvalidRecordCount: { type: "long" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeDataSources: {
- input: {
- type: "structure",
- members: {
- FilterVariable: {},
- EQ: {},
- GT: {},
- LT: {},
- GE: {},
- LE: {},
- NE: {},
- Prefix: {},
- SortOrder: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Results: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DataSourceId: {},
- DataLocationS3: {},
- DataRearrangement: {},
- CreatedByIamUser: {},
- CreatedAt: { type: "timestamp" },
- LastUpdatedAt: { type: "timestamp" },
- DataSizeInBytes: { type: "long" },
- NumberOfFiles: { type: "long" },
- Name: {},
- Status: {},
- Message: {},
- RedshiftMetadata: { shape: "S2i" },
- RDSMetadata: { shape: "S2j" },
- RoleARN: {},
- ComputeStatistics: { type: "boolean" },
- ComputeTime: { type: "long" },
- FinishedAt: { type: "timestamp" },
- StartedAt: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeEvaluations: {
- input: {
- type: "structure",
- members: {
- FilterVariable: {},
- EQ: {},
- GT: {},
- LT: {},
- GE: {},
- LE: {},
- NE: {},
- Prefix: {},
- SortOrder: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Results: {
- type: "list",
- member: {
- type: "structure",
- members: {
- EvaluationId: {},
- MLModelId: {},
- EvaluationDataSourceId: {},
- InputDataLocationS3: {},
- CreatedByIamUser: {},
- CreatedAt: { type: "timestamp" },
- LastUpdatedAt: { type: "timestamp" },
- Name: {},
- Status: {},
- PerformanceMetrics: { shape: "S2q" },
- Message: {},
- ComputeTime: { type: "long" },
- FinishedAt: { type: "timestamp" },
- StartedAt: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeMLModels: {
- input: {
- type: "structure",
- members: {
- FilterVariable: {},
- EQ: {},
- GT: {},
- LT: {},
- GE: {},
- LE: {},
- NE: {},
- Prefix: {},
- SortOrder: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Results: {
- type: "list",
- member: {
- type: "structure",
- members: {
- MLModelId: {},
- TrainingDataSourceId: {},
- CreatedByIamUser: {},
- CreatedAt: { type: "timestamp" },
- LastUpdatedAt: { type: "timestamp" },
- Name: {},
- Status: {},
- SizeInBytes: { type: "long" },
- EndpointInfo: { shape: "S1j" },
- TrainingParameters: { shape: "S1d" },
- InputDataLocationS3: {},
- Algorithm: {},
- MLModelType: {},
- ScoreThreshold: { type: "float" },
- ScoreThresholdLastUpdatedAt: { type: "timestamp" },
- Message: {},
- ComputeTime: { type: "long" },
- FinishedAt: { type: "timestamp" },
- StartedAt: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeTags: {
- input: {
- type: "structure",
- required: ["ResourceId", "ResourceType"],
- members: { ResourceId: {}, ResourceType: {} },
- },
- output: {
- type: "structure",
- members: {
- ResourceId: {},
- ResourceType: {},
- Tags: { shape: "S2" },
- },
- },
- },
- GetBatchPrediction: {
- input: {
- type: "structure",
- required: ["BatchPredictionId"],
- members: { BatchPredictionId: {} },
- },
- output: {
- type: "structure",
- members: {
- BatchPredictionId: {},
- MLModelId: {},
- BatchPredictionDataSourceId: {},
- InputDataLocationS3: {},
- CreatedByIamUser: {},
- CreatedAt: { type: "timestamp" },
- LastUpdatedAt: { type: "timestamp" },
- Name: {},
- Status: {},
- OutputUri: {},
- LogUri: {},
- Message: {},
- ComputeTime: { type: "long" },
- FinishedAt: { type: "timestamp" },
- StartedAt: { type: "timestamp" },
- TotalRecordCount: { type: "long" },
- InvalidRecordCount: { type: "long" },
- },
- },
- },
- GetDataSource: {
- input: {
- type: "structure",
- required: ["DataSourceId"],
- members: { DataSourceId: {}, Verbose: { type: "boolean" } },
- },
- output: {
- type: "structure",
- members: {
- DataSourceId: {},
- DataLocationS3: {},
- DataRearrangement: {},
- CreatedByIamUser: {},
- CreatedAt: { type: "timestamp" },
- LastUpdatedAt: { type: "timestamp" },
- DataSizeInBytes: { type: "long" },
- NumberOfFiles: { type: "long" },
- Name: {},
- Status: {},
- LogUri: {},
- Message: {},
- RedshiftMetadata: { shape: "S2i" },
- RDSMetadata: { shape: "S2j" },
- RoleARN: {},
- ComputeStatistics: { type: "boolean" },
- ComputeTime: { type: "long" },
- FinishedAt: { type: "timestamp" },
- StartedAt: { type: "timestamp" },
- DataSourceSchema: {},
- },
- },
- },
- GetEvaluation: {
- input: {
- type: "structure",
- required: ["EvaluationId"],
- members: { EvaluationId: {} },
- },
- output: {
- type: "structure",
- members: {
- EvaluationId: {},
- MLModelId: {},
- EvaluationDataSourceId: {},
- InputDataLocationS3: {},
- CreatedByIamUser: {},
- CreatedAt: { type: "timestamp" },
- LastUpdatedAt: { type: "timestamp" },
- Name: {},
- Status: {},
- PerformanceMetrics: { shape: "S2q" },
- LogUri: {},
- Message: {},
- ComputeTime: { type: "long" },
- FinishedAt: { type: "timestamp" },
- StartedAt: { type: "timestamp" },
- },
- },
- },
- GetMLModel: {
- input: {
- type: "structure",
- required: ["MLModelId"],
- members: { MLModelId: {}, Verbose: { type: "boolean" } },
- },
- output: {
- type: "structure",
- members: {
- MLModelId: {},
- TrainingDataSourceId: {},
- CreatedByIamUser: {},
- CreatedAt: { type: "timestamp" },
- LastUpdatedAt: { type: "timestamp" },
- Name: {},
- Status: {},
- SizeInBytes: { type: "long" },
- EndpointInfo: { shape: "S1j" },
- TrainingParameters: { shape: "S1d" },
- InputDataLocationS3: {},
- MLModelType: {},
- ScoreThreshold: { type: "float" },
- ScoreThresholdLastUpdatedAt: { type: "timestamp" },
- LogUri: {},
- Message: {},
- ComputeTime: { type: "long" },
- FinishedAt: { type: "timestamp" },
- StartedAt: { type: "timestamp" },
- Recipe: {},
- Schema: {},
- },
- },
- },
- Predict: {
- input: {
- type: "structure",
- required: ["MLModelId", "Record", "PredictEndpoint"],
- members: {
- MLModelId: {},
- Record: { type: "map", key: {}, value: {} },
- PredictEndpoint: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Prediction: {
- type: "structure",
- members: {
- predictedLabel: {},
- predictedValue: { type: "float" },
- predictedScores: {
- type: "map",
- key: {},
- value: { type: "float" },
- },
- details: { type: "map", key: {}, value: {} },
- },
- },
- },
- },
- },
- UpdateBatchPrediction: {
- input: {
- type: "structure",
- required: ["BatchPredictionId", "BatchPredictionName"],
- members: { BatchPredictionId: {}, BatchPredictionName: {} },
- },
- output: { type: "structure", members: { BatchPredictionId: {} } },
- },
- UpdateDataSource: {
- input: {
- type: "structure",
- required: ["DataSourceId", "DataSourceName"],
- members: { DataSourceId: {}, DataSourceName: {} },
- },
- output: { type: "structure", members: { DataSourceId: {} } },
- },
- UpdateEvaluation: {
- input: {
- type: "structure",
- required: ["EvaluationId", "EvaluationName"],
- members: { EvaluationId: {}, EvaluationName: {} },
- },
- output: { type: "structure", members: { EvaluationId: {} } },
- },
- UpdateMLModel: {
- input: {
- type: "structure",
- required: ["MLModelId"],
- members: {
- MLModelId: {},
- MLModelName: {},
- ScoreThreshold: { type: "float" },
- },
- },
- output: { type: "structure", members: { MLModelId: {} } },
- },
- },
- shapes: {
- S2: {
- type: "list",
- member: { type: "structure", members: { Key: {}, Value: {} } },
- },
- Sf: {
- type: "structure",
- required: ["InstanceIdentifier", "DatabaseName"],
- members: { InstanceIdentifier: {}, DatabaseName: {} },
- },
- Sy: {
- type: "structure",
- required: ["DatabaseName", "ClusterIdentifier"],
- members: { DatabaseName: {}, ClusterIdentifier: {} },
- },
- S1d: { type: "map", key: {}, value: {} },
- S1j: {
- type: "structure",
- members: {
- PeakRequestsPerSecond: { type: "integer" },
- CreatedAt: { type: "timestamp" },
- EndpointUrl: {},
- EndpointStatus: {},
- },
- },
- S2i: {
- type: "structure",
- members: {
- RedshiftDatabase: { shape: "Sy" },
- DatabaseUserName: {},
- SelectSqlQuery: {},
- },
- },
- S2j: {
- type: "structure",
- members: {
- Database: { shape: "Sf" },
- DatabaseUserName: {},
- SelectSqlQuery: {},
- ResourceRole: {},
- ServiceRole: {},
- DataPipelineId: {},
- },
- },
- S2q: {
- type: "structure",
- members: { Properties: { type: "map", key: {}, value: {} } },
- },
- },
- examples: {},
- };
-
- /***/
- },
-
- /***/ 1116: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-12-19",
- endpointPrefix: "macie",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "Amazon Macie",
- serviceId: "Macie",
- signatureVersion: "v4",
- targetPrefix: "MacieService",
- uid: "macie-2017-12-19",
- },
- operations: {
- AssociateMemberAccount: {
- input: {
- type: "structure",
- required: ["memberAccountId"],
- members: { memberAccountId: {} },
- },
- },
- AssociateS3Resources: {
- input: {
- type: "structure",
- required: ["s3Resources"],
- members: { memberAccountId: {}, s3Resources: { shape: "S4" } },
- },
- output: {
- type: "structure",
- members: { failedS3Resources: { shape: "Sc" } },
- },
- },
- DisassociateMemberAccount: {
- input: {
- type: "structure",
- required: ["memberAccountId"],
- members: { memberAccountId: {} },
- },
- },
- DisassociateS3Resources: {
- input: {
- type: "structure",
- required: ["associatedS3Resources"],
- members: {
- memberAccountId: {},
- associatedS3Resources: {
- type: "list",
- member: { shape: "Se" },
- },
- },
- },
- output: {
- type: "structure",
- members: { failedS3Resources: { shape: "Sc" } },
- },
- },
- ListMemberAccounts: {
- input: {
- type: "structure",
- members: { nextToken: {}, maxResults: { type: "integer" } },
- },
- output: {
- type: "structure",
- members: {
- memberAccounts: {
- type: "list",
- member: { type: "structure", members: { accountId: {} } },
- },
- nextToken: {},
- },
- },
- },
- ListS3Resources: {
- input: {
- type: "structure",
- members: {
- memberAccountId: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { s3Resources: { shape: "S4" }, nextToken: {} },
- },
- },
- UpdateS3Resources: {
- input: {
- type: "structure",
- required: ["s3ResourcesUpdate"],
- members: {
- memberAccountId: {},
- s3ResourcesUpdate: {
- type: "list",
- member: {
- type: "structure",
- required: ["bucketName", "classificationTypeUpdate"],
- members: {
- bucketName: {},
- prefix: {},
- classificationTypeUpdate: {
- type: "structure",
- members: { oneTime: {}, continuous: {} },
- },
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: { failedS3Resources: { shape: "Sc" } },
- },
- },
- },
- shapes: {
- S4: {
- type: "list",
- member: {
- type: "structure",
- required: ["bucketName", "classificationType"],
- members: {
- bucketName: {},
- prefix: {},
- classificationType: {
- type: "structure",
- required: ["oneTime", "continuous"],
- members: { oneTime: {}, continuous: {} },
- },
- },
- },
- },
- Sc: {
- type: "list",
- member: {
- type: "structure",
- members: {
- failedItem: { shape: "Se" },
- errorCode: {},
- errorMessage: {},
- },
- },
- },
- Se: {
- type: "structure",
- required: ["bucketName"],
- members: { bucketName: {}, prefix: {} },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1130: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2016-11-23",
- endpointPrefix: "states",
- jsonVersion: "1.0",
- protocol: "json",
- serviceAbbreviation: "AWS SFN",
- serviceFullName: "AWS Step Functions",
- serviceId: "SFN",
- signatureVersion: "v4",
- targetPrefix: "AWSStepFunctions",
- uid: "states-2016-11-23",
- },
- operations: {
- CreateActivity: {
- input: {
- type: "structure",
- required: ["name"],
- members: { name: {}, tags: { shape: "S3" } },
- },
- output: {
- type: "structure",
- required: ["activityArn", "creationDate"],
- members: { activityArn: {}, creationDate: { type: "timestamp" } },
- },
- idempotent: true,
- },
- CreateStateMachine: {
- input: {
- type: "structure",
- required: ["name", "definition", "roleArn"],
- members: {
- name: {},
- definition: { shape: "Sb" },
- roleArn: {},
- type: {},
- loggingConfiguration: { shape: "Sd" },
- tags: { shape: "S3" },
- },
- },
- output: {
- type: "structure",
- required: ["stateMachineArn", "creationDate"],
- members: {
- stateMachineArn: {},
- creationDate: { type: "timestamp" },
- },
- },
- idempotent: true,
- },
- DeleteActivity: {
- input: {
- type: "structure",
- required: ["activityArn"],
- members: { activityArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteStateMachine: {
- input: {
- type: "structure",
- required: ["stateMachineArn"],
- members: { stateMachineArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DescribeActivity: {
- input: {
- type: "structure",
- required: ["activityArn"],
- members: { activityArn: {} },
- },
- output: {
- type: "structure",
- required: ["activityArn", "name", "creationDate"],
- members: {
- activityArn: {},
- name: {},
- creationDate: { type: "timestamp" },
- },
- },
- },
- DescribeExecution: {
- input: {
- type: "structure",
- required: ["executionArn"],
- members: { executionArn: {} },
- },
- output: {
- type: "structure",
- required: [
- "executionArn",
- "stateMachineArn",
- "status",
- "startDate",
- "input",
- ],
- members: {
- executionArn: {},
- stateMachineArn: {},
- name: {},
- status: {},
- startDate: { type: "timestamp" },
- stopDate: { type: "timestamp" },
- input: { shape: "St" },
- output: { shape: "St" },
- },
- },
- },
- DescribeStateMachine: {
- input: {
- type: "structure",
- required: ["stateMachineArn"],
- members: { stateMachineArn: {} },
- },
- output: {
- type: "structure",
- required: [
- "stateMachineArn",
- "name",
- "definition",
- "roleArn",
- "type",
- "creationDate",
- ],
- members: {
- stateMachineArn: {},
- name: {},
- status: {},
- definition: { shape: "Sb" },
- roleArn: {},
- type: {},
- creationDate: { type: "timestamp" },
- loggingConfiguration: { shape: "Sd" },
- },
- },
- },
- DescribeStateMachineForExecution: {
- input: {
- type: "structure",
- required: ["executionArn"],
- members: { executionArn: {} },
- },
- output: {
- type: "structure",
- required: [
- "stateMachineArn",
- "name",
- "definition",
- "roleArn",
- "updateDate",
- ],
- members: {
- stateMachineArn: {},
- name: {},
- definition: { shape: "Sb" },
- roleArn: {},
- updateDate: { type: "timestamp" },
- loggingConfiguration: { shape: "Sd" },
- },
- },
- },
- GetActivityTask: {
- input: {
- type: "structure",
- required: ["activityArn"],
- members: { activityArn: {}, workerName: {} },
- },
- output: {
- type: "structure",
- members: {
- taskToken: {},
- input: { type: "string", sensitive: true },
- },
- },
- },
- GetExecutionHistory: {
- input: {
- type: "structure",
- required: ["executionArn"],
- members: {
- executionArn: {},
- maxResults: { type: "integer" },
- reverseOrder: { type: "boolean" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- required: ["events"],
- members: {
- events: {
- type: "list",
- member: {
- type: "structure",
- required: ["timestamp", "type", "id"],
- members: {
- timestamp: { type: "timestamp" },
- type: {},
- id: { type: "long" },
- previousEventId: { type: "long" },
- activityFailedEventDetails: {
- type: "structure",
- members: {
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- activityScheduleFailedEventDetails: {
- type: "structure",
- members: {
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- activityScheduledEventDetails: {
- type: "structure",
- required: ["resource"],
- members: {
- resource: {},
- input: { shape: "St" },
- timeoutInSeconds: { type: "long" },
- heartbeatInSeconds: { type: "long" },
- },
- },
- activityStartedEventDetails: {
- type: "structure",
- members: { workerName: {} },
- },
- activitySucceededEventDetails: {
- type: "structure",
- members: { output: { shape: "St" } },
- },
- activityTimedOutEventDetails: {
- type: "structure",
- members: {
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- taskFailedEventDetails: {
- type: "structure",
- required: ["resourceType", "resource"],
- members: {
- resourceType: {},
- resource: {},
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- taskScheduledEventDetails: {
- type: "structure",
- required: [
- "resourceType",
- "resource",
- "region",
- "parameters",
- ],
- members: {
- resourceType: {},
- resource: {},
- region: {},
- parameters: { type: "string", sensitive: true },
- timeoutInSeconds: { type: "long" },
- },
- },
- taskStartFailedEventDetails: {
- type: "structure",
- required: ["resourceType", "resource"],
- members: {
- resourceType: {},
- resource: {},
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- taskStartedEventDetails: {
- type: "structure",
- required: ["resourceType", "resource"],
- members: { resourceType: {}, resource: {} },
- },
- taskSubmitFailedEventDetails: {
- type: "structure",
- required: ["resourceType", "resource"],
- members: {
- resourceType: {},
- resource: {},
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- taskSubmittedEventDetails: {
- type: "structure",
- required: ["resourceType", "resource"],
- members: {
- resourceType: {},
- resource: {},
- output: { shape: "St" },
- },
- },
- taskSucceededEventDetails: {
- type: "structure",
- required: ["resourceType", "resource"],
- members: {
- resourceType: {},
- resource: {},
- output: { shape: "St" },
- },
- },
- taskTimedOutEventDetails: {
- type: "structure",
- required: ["resourceType", "resource"],
- members: {
- resourceType: {},
- resource: {},
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- executionFailedEventDetails: {
- type: "structure",
- members: {
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- executionStartedEventDetails: {
- type: "structure",
- members: { input: { shape: "St" }, roleArn: {} },
- },
- executionSucceededEventDetails: {
- type: "structure",
- members: { output: { shape: "St" } },
- },
- executionAbortedEventDetails: {
- type: "structure",
- members: {
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- executionTimedOutEventDetails: {
- type: "structure",
- members: {
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- mapStateStartedEventDetails: {
- type: "structure",
- members: { length: { type: "integer" } },
- },
- mapIterationStartedEventDetails: { shape: "S22" },
- mapIterationSucceededEventDetails: { shape: "S22" },
- mapIterationFailedEventDetails: { shape: "S22" },
- mapIterationAbortedEventDetails: { shape: "S22" },
- lambdaFunctionFailedEventDetails: {
- type: "structure",
- members: {
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- lambdaFunctionScheduleFailedEventDetails: {
- type: "structure",
- members: {
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- lambdaFunctionScheduledEventDetails: {
- type: "structure",
- required: ["resource"],
- members: {
- resource: {},
- input: { shape: "St" },
- timeoutInSeconds: { type: "long" },
- },
- },
- lambdaFunctionStartFailedEventDetails: {
- type: "structure",
- members: {
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- lambdaFunctionSucceededEventDetails: {
- type: "structure",
- members: { output: { shape: "St" } },
- },
- lambdaFunctionTimedOutEventDetails: {
- type: "structure",
- members: {
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- stateEnteredEventDetails: {
- type: "structure",
- required: ["name"],
- members: { name: {}, input: { shape: "St" } },
- },
- stateExitedEventDetails: {
- type: "structure",
- required: ["name"],
- members: { name: {}, output: { shape: "St" } },
- },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListActivities: {
- input: {
- type: "structure",
- members: { maxResults: { type: "integer" }, nextToken: {} },
- },
- output: {
- type: "structure",
- required: ["activities"],
- members: {
- activities: {
- type: "list",
- member: {
- type: "structure",
- required: ["activityArn", "name", "creationDate"],
- members: {
- activityArn: {},
- name: {},
- creationDate: { type: "timestamp" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListExecutions: {
- input: {
- type: "structure",
- required: ["stateMachineArn"],
- members: {
- stateMachineArn: {},
- statusFilter: {},
- maxResults: { type: "integer" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- required: ["executions"],
- members: {
- executions: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "executionArn",
- "stateMachineArn",
- "name",
- "status",
- "startDate",
- ],
- members: {
- executionArn: {},
- stateMachineArn: {},
- name: {},
- status: {},
- startDate: { type: "timestamp" },
- stopDate: { type: "timestamp" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListStateMachines: {
- input: {
- type: "structure",
- members: { maxResults: { type: "integer" }, nextToken: {} },
- },
- output: {
- type: "structure",
- required: ["stateMachines"],
- members: {
- stateMachines: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "stateMachineArn",
- "name",
- "type",
- "creationDate",
- ],
- members: {
- stateMachineArn: {},
- name: {},
- type: {},
- creationDate: { type: "timestamp" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["resourceArn"],
- members: { resourceArn: {} },
- },
- output: { type: "structure", members: { tags: { shape: "S3" } } },
- },
- SendTaskFailure: {
- input: {
- type: "structure",
- required: ["taskToken"],
- members: {
- taskToken: {},
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- output: { type: "structure", members: {} },
- },
- SendTaskHeartbeat: {
- input: {
- type: "structure",
- required: ["taskToken"],
- members: { taskToken: {} },
- },
- output: { type: "structure", members: {} },
- },
- SendTaskSuccess: {
- input: {
- type: "structure",
- required: ["taskToken", "output"],
- members: { taskToken: {}, output: { shape: "St" } },
- },
- output: { type: "structure", members: {} },
- },
- StartExecution: {
- input: {
- type: "structure",
- required: ["stateMachineArn"],
- members: {
- stateMachineArn: {},
- name: {},
- input: { shape: "St" },
- },
- },
- output: {
- type: "structure",
- required: ["executionArn", "startDate"],
- members: { executionArn: {}, startDate: { type: "timestamp" } },
- },
- idempotent: true,
- },
- StopExecution: {
- input: {
- type: "structure",
- required: ["executionArn"],
- members: {
- executionArn: {},
- error: { shape: "S1d" },
- cause: { shape: "S1e" },
- },
- },
- output: {
- type: "structure",
- required: ["stopDate"],
- members: { stopDate: { type: "timestamp" } },
- },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["resourceArn", "tags"],
- members: { resourceArn: {}, tags: { shape: "S3" } },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["resourceArn", "tagKeys"],
- members: {
- resourceArn: {},
- tagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateStateMachine: {
- input: {
- type: "structure",
- required: ["stateMachineArn"],
- members: {
- stateMachineArn: {},
- definition: { shape: "Sb" },
- roleArn: {},
- loggingConfiguration: { shape: "Sd" },
- },
- },
- output: {
- type: "structure",
- required: ["updateDate"],
- members: { updateDate: { type: "timestamp" } },
- },
- idempotent: true,
- },
- },
- shapes: {
- S3: {
- type: "list",
- member: { type: "structure", members: { key: {}, value: {} } },
- },
- Sb: { type: "string", sensitive: true },
- Sd: {
- type: "structure",
- members: {
- level: {},
- includeExecutionData: { type: "boolean" },
- destinations: {
- type: "list",
- member: {
- type: "structure",
- members: {
- cloudWatchLogsLogGroup: {
- type: "structure",
- members: { logGroupArn: {} },
- },
- },
- },
- },
- },
- },
- St: { type: "string", sensitive: true },
- S1d: { type: "string", sensitive: true },
- S1e: { type: "string", sensitive: true },
- S22: {
- type: "structure",
- members: { name: {}, index: { type: "integer" } },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1152: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-08-08",
- endpointPrefix: "globalaccelerator",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "AWS Global Accelerator",
- serviceId: "Global Accelerator",
- signatureVersion: "v4",
- signingName: "globalaccelerator",
- targetPrefix: "GlobalAccelerator_V20180706",
- uid: "globalaccelerator-2018-08-08",
- },
- operations: {
- AdvertiseByoipCidr: {
- input: {
- type: "structure",
- required: ["Cidr"],
- members: { Cidr: {} },
- },
- output: {
- type: "structure",
- members: { ByoipCidr: { shape: "S4" } },
- },
- },
- CreateAccelerator: {
- input: {
- type: "structure",
- required: ["Name", "IdempotencyToken"],
- members: {
- Name: {},
- IpAddressType: {},
- IpAddresses: { shape: "Sb" },
- Enabled: { type: "boolean" },
- IdempotencyToken: { idempotencyToken: true },
- Tags: { shape: "Sf" },
- },
- },
- output: {
- type: "structure",
- members: { Accelerator: { shape: "Sk" } },
- },
- },
- CreateEndpointGroup: {
- input: {
- type: "structure",
- required: [
- "ListenerArn",
- "EndpointGroupRegion",
- "IdempotencyToken",
- ],
- members: {
- ListenerArn: {},
- EndpointGroupRegion: {},
- EndpointConfigurations: { shape: "Sp" },
- TrafficDialPercentage: { type: "float" },
- HealthCheckPort: { type: "integer" },
- HealthCheckProtocol: {},
- HealthCheckPath: {},
- HealthCheckIntervalSeconds: { type: "integer" },
- ThresholdCount: { type: "integer" },
- IdempotencyToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { EndpointGroup: { shape: "Sy" } },
- },
- },
- CreateListener: {
- input: {
- type: "structure",
- required: [
- "AcceleratorArn",
- "PortRanges",
- "Protocol",
- "IdempotencyToken",
- ],
- members: {
- AcceleratorArn: {},
- PortRanges: { shape: "S13" },
- Protocol: {},
- ClientAffinity: {},
- IdempotencyToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { Listener: { shape: "S19" } },
- },
- },
- DeleteAccelerator: {
- input: {
- type: "structure",
- required: ["AcceleratorArn"],
- members: { AcceleratorArn: {} },
- },
- },
- DeleteEndpointGroup: {
- input: {
- type: "structure",
- required: ["EndpointGroupArn"],
- members: { EndpointGroupArn: {} },
- },
- },
- DeleteListener: {
- input: {
- type: "structure",
- required: ["ListenerArn"],
- members: { ListenerArn: {} },
- },
- },
- DeprovisionByoipCidr: {
- input: {
- type: "structure",
- required: ["Cidr"],
- members: { Cidr: {} },
- },
- output: {
- type: "structure",
- members: { ByoipCidr: { shape: "S4" } },
- },
- },
- DescribeAccelerator: {
- input: {
- type: "structure",
- required: ["AcceleratorArn"],
- members: { AcceleratorArn: {} },
- },
- output: {
- type: "structure",
- members: { Accelerator: { shape: "Sk" } },
- },
- },
- DescribeAcceleratorAttributes: {
- input: {
- type: "structure",
- required: ["AcceleratorArn"],
- members: { AcceleratorArn: {} },
- },
- output: {
- type: "structure",
- members: { AcceleratorAttributes: { shape: "S1j" } },
- },
- },
- DescribeEndpointGroup: {
- input: {
- type: "structure",
- required: ["EndpointGroupArn"],
- members: { EndpointGroupArn: {} },
- },
- output: {
- type: "structure",
- members: { EndpointGroup: { shape: "Sy" } },
- },
- },
- DescribeListener: {
- input: {
- type: "structure",
- required: ["ListenerArn"],
- members: { ListenerArn: {} },
- },
- output: {
- type: "structure",
- members: { Listener: { shape: "S19" } },
- },
- },
- ListAccelerators: {
- input: {
- type: "structure",
- members: { MaxResults: { type: "integer" }, NextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- Accelerators: { type: "list", member: { shape: "Sk" } },
- NextToken: {},
- },
- },
- },
- ListByoipCidrs: {
- input: {
- type: "structure",
- members: { MaxResults: { type: "integer" }, NextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- ByoipCidrs: { type: "list", member: { shape: "S4" } },
- NextToken: {},
- },
- },
- },
- ListEndpointGroups: {
- input: {
- type: "structure",
- required: ["ListenerArn"],
- members: {
- ListenerArn: {},
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- EndpointGroups: { type: "list", member: { shape: "Sy" } },
- NextToken: {},
- },
- },
- },
- ListListeners: {
- input: {
- type: "structure",
- required: ["AcceleratorArn"],
- members: {
- AcceleratorArn: {},
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Listeners: { type: "list", member: { shape: "S19" } },
- NextToken: {},
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: { ResourceArn: {} },
- },
- output: { type: "structure", members: { Tags: { shape: "Sf" } } },
- },
- ProvisionByoipCidr: {
- input: {
- type: "structure",
- required: ["Cidr", "CidrAuthorizationContext"],
- members: {
- Cidr: {},
- CidrAuthorizationContext: {
- type: "structure",
- required: ["Message", "Signature"],
- members: { Message: {}, Signature: {} },
- },
- },
- },
- output: {
- type: "structure",
- members: { ByoipCidr: { shape: "S4" } },
- },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "Tags"],
- members: { ResourceArn: {}, Tags: { shape: "Sf" } },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "TagKeys"],
- members: {
- ResourceArn: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateAccelerator: {
- input: {
- type: "structure",
- required: ["AcceleratorArn"],
- members: {
- AcceleratorArn: {},
- Name: {},
- IpAddressType: {},
- Enabled: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { Accelerator: { shape: "Sk" } },
- },
- },
- UpdateAcceleratorAttributes: {
- input: {
- type: "structure",
- required: ["AcceleratorArn"],
- members: {
- AcceleratorArn: {},
- FlowLogsEnabled: { type: "boolean" },
- FlowLogsS3Bucket: {},
- FlowLogsS3Prefix: {},
- },
- },
- output: {
- type: "structure",
- members: { AcceleratorAttributes: { shape: "S1j" } },
- },
- },
- UpdateEndpointGroup: {
- input: {
- type: "structure",
- required: ["EndpointGroupArn"],
- members: {
- EndpointGroupArn: {},
- EndpointConfigurations: { shape: "Sp" },
- TrafficDialPercentage: { type: "float" },
- HealthCheckPort: { type: "integer" },
- HealthCheckProtocol: {},
- HealthCheckPath: {},
- HealthCheckIntervalSeconds: { type: "integer" },
- ThresholdCount: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { EndpointGroup: { shape: "Sy" } },
- },
- },
- UpdateListener: {
- input: {
- type: "structure",
- required: ["ListenerArn"],
- members: {
- ListenerArn: {},
- PortRanges: { shape: "S13" },
- Protocol: {},
- ClientAffinity: {},
- },
- },
- output: {
- type: "structure",
- members: { Listener: { shape: "S19" } },
- },
- },
- WithdrawByoipCidr: {
- input: {
- type: "structure",
- required: ["Cidr"],
- members: { Cidr: {} },
- },
- output: {
- type: "structure",
- members: { ByoipCidr: { shape: "S4" } },
- },
- },
- },
- shapes: {
- S4: {
- type: "structure",
- members: {
- Cidr: {},
- State: {},
- Events: {
- type: "list",
- member: {
- type: "structure",
- members: { Message: {}, Timestamp: { type: "timestamp" } },
- },
- },
- },
- },
- Sb: { type: "list", member: {} },
- Sf: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- Sk: {
- type: "structure",
- members: {
- AcceleratorArn: {},
- Name: {},
- IpAddressType: {},
- Enabled: { type: "boolean" },
- IpSets: {
- type: "list",
- member: {
- type: "structure",
- members: { IpFamily: {}, IpAddresses: { shape: "Sb" } },
- },
- },
- DnsName: {},
- Status: {},
- CreatedTime: { type: "timestamp" },
- LastModifiedTime: { type: "timestamp" },
- },
- },
- Sp: {
- type: "list",
- member: {
- type: "structure",
- members: {
- EndpointId: {},
- Weight: { type: "integer" },
- ClientIPPreservationEnabled: { type: "boolean" },
- },
- },
- },
- Sy: {
- type: "structure",
- members: {
- EndpointGroupArn: {},
- EndpointGroupRegion: {},
- EndpointDescriptions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- EndpointId: {},
- Weight: { type: "integer" },
- HealthState: {},
- HealthReason: {},
- ClientIPPreservationEnabled: { type: "boolean" },
- },
- },
- },
- TrafficDialPercentage: { type: "float" },
- HealthCheckPort: { type: "integer" },
- HealthCheckProtocol: {},
- HealthCheckPath: {},
- HealthCheckIntervalSeconds: { type: "integer" },
- ThresholdCount: { type: "integer" },
- },
- },
- S13: {
- type: "list",
- member: {
- type: "structure",
- members: {
- FromPort: { type: "integer" },
- ToPort: { type: "integer" },
- },
- },
- },
- S19: {
- type: "structure",
- members: {
- ListenerArn: {},
- PortRanges: { shape: "S13" },
- Protocol: {},
- ClientAffinity: {},
- },
- },
- S1j: {
- type: "structure",
- members: {
- FlowLogsEnabled: { type: "boolean" },
- FlowLogsS3Bucket: {},
- FlowLogsS3Prefix: {},
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1154: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- DeploymentSuccessful: {
- delay: 15,
- operation: "GetDeployment",
- maxAttempts: 120,
- acceptors: [
- {
- expected: "Succeeded",
- matcher: "path",
- state: "success",
- argument: "deploymentInfo.status",
- },
- {
- expected: "Failed",
- matcher: "path",
- state: "failure",
- argument: "deploymentInfo.status",
- },
- {
- expected: "Stopped",
- matcher: "path",
- state: "failure",
- argument: "deploymentInfo.status",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 1163: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2011-12-05",
- endpointPrefix: "dynamodb",
- jsonVersion: "1.0",
- protocol: "json",
- serviceAbbreviation: "DynamoDB",
- serviceFullName: "Amazon DynamoDB",
- serviceId: "DynamoDB",
- signatureVersion: "v4",
- targetPrefix: "DynamoDB_20111205",
- uid: "dynamodb-2011-12-05",
- },
- operations: {
- BatchGetItem: {
- input: {
- type: "structure",
- required: ["RequestItems"],
- members: { RequestItems: { shape: "S2" } },
- },
- output: {
- type: "structure",
- members: {
- Responses: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- Items: { shape: "Sk" },
- ConsumedCapacityUnits: { type: "double" },
- },
- },
- },
- UnprocessedKeys: { shape: "S2" },
- },
- },
- },
- BatchWriteItem: {
- input: {
- type: "structure",
- required: ["RequestItems"],
- members: { RequestItems: { shape: "So" } },
- },
- output: {
- type: "structure",
- members: {
- Responses: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: { ConsumedCapacityUnits: { type: "double" } },
- },
- },
- UnprocessedItems: { shape: "So" },
- },
- },
- },
- CreateTable: {
- input: {
- type: "structure",
- required: ["TableName", "KeySchema", "ProvisionedThroughput"],
- members: {
- TableName: {},
- KeySchema: { shape: "Sy" },
- ProvisionedThroughput: { shape: "S12" },
- },
- },
- output: {
- type: "structure",
- members: { TableDescription: { shape: "S15" } },
- },
- },
- DeleteItem: {
- input: {
- type: "structure",
- required: ["TableName", "Key"],
- members: {
- TableName: {},
- Key: { shape: "S6" },
- Expected: { shape: "S1b" },
- ReturnValues: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Attributes: { shape: "Sl" },
- ConsumedCapacityUnits: { type: "double" },
- },
- },
- },
- DeleteTable: {
- input: {
- type: "structure",
- required: ["TableName"],
- members: { TableName: {} },
- },
- output: {
- type: "structure",
- members: { TableDescription: { shape: "S15" } },
- },
- },
- DescribeTable: {
- input: {
- type: "structure",
- required: ["TableName"],
- members: { TableName: {} },
- },
- output: { type: "structure", members: { Table: { shape: "S15" } } },
- },
- GetItem: {
- input: {
- type: "structure",
- required: ["TableName", "Key"],
- members: {
- TableName: {},
- Key: { shape: "S6" },
- AttributesToGet: { shape: "Se" },
- ConsistentRead: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- Item: { shape: "Sl" },
- ConsumedCapacityUnits: { type: "double" },
- },
- },
- },
- ListTables: {
- input: {
- type: "structure",
- members: {
- ExclusiveStartTableName: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- TableNames: { type: "list", member: {} },
- LastEvaluatedTableName: {},
- },
- },
- },
- PutItem: {
- input: {
- type: "structure",
- required: ["TableName", "Item"],
- members: {
- TableName: {},
- Item: { shape: "Ss" },
- Expected: { shape: "S1b" },
- ReturnValues: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Attributes: { shape: "Sl" },
- ConsumedCapacityUnits: { type: "double" },
- },
- },
- },
- Query: {
- input: {
- type: "structure",
- required: ["TableName", "HashKeyValue"],
- members: {
- TableName: {},
- AttributesToGet: { shape: "Se" },
- Limit: { type: "integer" },
- ConsistentRead: { type: "boolean" },
- Count: { type: "boolean" },
- HashKeyValue: { shape: "S7" },
- RangeKeyCondition: { shape: "S1u" },
- ScanIndexForward: { type: "boolean" },
- ExclusiveStartKey: { shape: "S6" },
- },
- },
- output: {
- type: "structure",
- members: {
- Items: { shape: "Sk" },
- Count: { type: "integer" },
- LastEvaluatedKey: { shape: "S6" },
- ConsumedCapacityUnits: { type: "double" },
- },
- },
- },
- Scan: {
- input: {
- type: "structure",
- required: ["TableName"],
- members: {
- TableName: {},
- AttributesToGet: { shape: "Se" },
- Limit: { type: "integer" },
- Count: { type: "boolean" },
- ScanFilter: { type: "map", key: {}, value: { shape: "S1u" } },
- ExclusiveStartKey: { shape: "S6" },
- },
- },
- output: {
- type: "structure",
- members: {
- Items: { shape: "Sk" },
- Count: { type: "integer" },
- ScannedCount: { type: "integer" },
- LastEvaluatedKey: { shape: "S6" },
- ConsumedCapacityUnits: { type: "double" },
- },
- },
- },
- UpdateItem: {
- input: {
- type: "structure",
- required: ["TableName", "Key", "AttributeUpdates"],
- members: {
- TableName: {},
- Key: { shape: "S6" },
- AttributeUpdates: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: { Value: { shape: "S7" }, Action: {} },
- },
- },
- Expected: { shape: "S1b" },
- ReturnValues: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Attributes: { shape: "Sl" },
- ConsumedCapacityUnits: { type: "double" },
- },
- },
- },
- UpdateTable: {
- input: {
- type: "structure",
- required: ["TableName", "ProvisionedThroughput"],
- members: {
- TableName: {},
- ProvisionedThroughput: { shape: "S12" },
- },
- },
- output: {
- type: "structure",
- members: { TableDescription: { shape: "S15" } },
- },
- },
- },
- shapes: {
- S2: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- required: ["Keys"],
- members: {
- Keys: { type: "list", member: { shape: "S6" } },
- AttributesToGet: { shape: "Se" },
- ConsistentRead: { type: "boolean" },
- },
- },
- },
- S6: {
- type: "structure",
- required: ["HashKeyElement"],
- members: {
- HashKeyElement: { shape: "S7" },
- RangeKeyElement: { shape: "S7" },
- },
- },
- S7: {
- type: "structure",
- members: {
- S: {},
- N: {},
- B: { type: "blob" },
- SS: { type: "list", member: {} },
- NS: { type: "list", member: {} },
- BS: { type: "list", member: { type: "blob" } },
- },
- },
- Se: { type: "list", member: {} },
- Sk: { type: "list", member: { shape: "Sl" } },
- Sl: { type: "map", key: {}, value: { shape: "S7" } },
- So: {
- type: "map",
- key: {},
- value: {
- type: "list",
- member: {
- type: "structure",
- members: {
- PutRequest: {
- type: "structure",
- required: ["Item"],
- members: { Item: { shape: "Ss" } },
- },
- DeleteRequest: {
- type: "structure",
- required: ["Key"],
- members: { Key: { shape: "S6" } },
- },
- },
- },
- },
- },
- Ss: { type: "map", key: {}, value: { shape: "S7" } },
- Sy: {
- type: "structure",
- required: ["HashKeyElement"],
- members: {
- HashKeyElement: { shape: "Sz" },
- RangeKeyElement: { shape: "Sz" },
- },
- },
- Sz: {
- type: "structure",
- required: ["AttributeName", "AttributeType"],
- members: { AttributeName: {}, AttributeType: {} },
- },
- S12: {
- type: "structure",
- required: ["ReadCapacityUnits", "WriteCapacityUnits"],
- members: {
- ReadCapacityUnits: { type: "long" },
- WriteCapacityUnits: { type: "long" },
- },
- },
- S15: {
- type: "structure",
- members: {
- TableName: {},
- KeySchema: { shape: "Sy" },
- TableStatus: {},
- CreationDateTime: { type: "timestamp" },
- ProvisionedThroughput: {
- type: "structure",
- members: {
- LastIncreaseDateTime: { type: "timestamp" },
- LastDecreaseDateTime: { type: "timestamp" },
- NumberOfDecreasesToday: { type: "long" },
- ReadCapacityUnits: { type: "long" },
- WriteCapacityUnits: { type: "long" },
- },
- },
- TableSizeBytes: { type: "long" },
- ItemCount: { type: "long" },
- },
- },
- S1b: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: { Value: { shape: "S7" }, Exists: { type: "boolean" } },
- },
- },
- S1u: {
- type: "structure",
- required: ["ComparisonOperator"],
- members: {
- AttributeValueList: { type: "list", member: { shape: "S7" } },
- ComparisonOperator: {},
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1168: /***/ function (module) {
- "use strict";
-
- const alias = ["stdin", "stdout", "stderr"];
-
- const hasAlias = (opts) => alias.some((x) => Boolean(opts[x]));
-
- module.exports = (opts) => {
- if (!opts) {
- return null;
- }
-
- if (opts.stdio && hasAlias(opts)) {
- throw new Error(
- `It's not possible to provide \`stdio\` in combination with one of ${alias
- .map((x) => `\`${x}\``)
- .join(", ")}`
- );
- }
-
- if (typeof opts.stdio === "string") {
- return opts.stdio;
- }
-
- const stdio = opts.stdio || [];
-
- if (!Array.isArray(stdio)) {
- throw new TypeError(
- `Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof stdio}\``
- );
- }
-
- const result = [];
- const len = Math.max(stdio.length, alias.length);
-
- for (let i = 0; i < len; i++) {
- let value = null;
-
- if (stdio[i] !== undefined) {
- value = stdio[i];
- } else if (opts[alias[i]] !== undefined) {
- value = opts[alias[i]];
- }
-
- result[i] = value;
- }
-
- return result;
- };
-
- /***/
- },
-
- /***/ 1175: /***/ function (module, __unusedexports, __webpack_require__) {
- var util = __webpack_require__(395).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,
- };
-
- /***/
- },
-
- /***/ 1176: /***/ function (module) {
- module.exports = {
- metadata: {
- apiVersion: "2019-12-02",
- endpointPrefix: "schemas",
- signingName: "schemas",
- serviceFullName: "Schemas",
- serviceId: "schemas",
- protocol: "rest-json",
- jsonVersion: "1.1",
- uid: "schemas-2019-12-02",
- signatureVersion: "v4",
- },
- operations: {
- CreateDiscoverer: {
- http: { requestUri: "/v1/discoverers", responseCode: 201 },
- input: {
- type: "structure",
- members: {
- Description: {},
- SourceArn: {},
- Tags: { shape: "S4", locationName: "tags" },
- },
- required: ["SourceArn"],
- },
- output: {
- type: "structure",
- members: {
- Description: {},
- DiscovererArn: {},
- DiscovererId: {},
- SourceArn: {},
- State: {},
- Tags: { shape: "S4", locationName: "tags" },
- },
- },
- },
- CreateRegistry: {
- http: {
- requestUri: "/v1/registries/name/{registryName}",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- Description: {},
- RegistryName: { location: "uri", locationName: "registryName" },
- Tags: { shape: "S4", locationName: "tags" },
- },
- required: ["RegistryName"],
- },
- output: {
- type: "structure",
- members: {
- Description: {},
- RegistryArn: {},
- RegistryName: {},
- Tags: { shape: "S4", locationName: "tags" },
- },
- },
- },
- CreateSchema: {
- http: {
- requestUri:
- "/v1/registries/name/{registryName}/schemas/name/{schemaName}",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- Content: {},
- Description: {},
- RegistryName: { location: "uri", locationName: "registryName" },
- SchemaName: { location: "uri", locationName: "schemaName" },
- Tags: { shape: "S4", locationName: "tags" },
- Type: {},
- },
- required: ["RegistryName", "SchemaName", "Type", "Content"],
- },
- output: {
- type: "structure",
- members: {
- Description: {},
- LastModified: { shape: "Se" },
- SchemaArn: {},
- SchemaName: {},
- SchemaVersion: {},
- Tags: { shape: "S4", locationName: "tags" },
- Type: {},
- VersionCreatedDate: { shape: "Se" },
- },
- },
- },
- DeleteDiscoverer: {
- http: {
- method: "DELETE",
- requestUri: "/v1/discoverers/id/{discovererId}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- DiscovererId: { location: "uri", locationName: "discovererId" },
- },
- required: ["DiscovererId"],
- },
- },
- DeleteRegistry: {
- http: {
- method: "DELETE",
- requestUri: "/v1/registries/name/{registryName}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- RegistryName: { location: "uri", locationName: "registryName" },
- },
- required: ["RegistryName"],
- },
- },
- DeleteSchema: {
- http: {
- method: "DELETE",
- requestUri:
- "/v1/registries/name/{registryName}/schemas/name/{schemaName}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- RegistryName: { location: "uri", locationName: "registryName" },
- SchemaName: { location: "uri", locationName: "schemaName" },
- },
- required: ["RegistryName", "SchemaName"],
- },
- },
- DeleteSchemaVersion: {
- http: {
- method: "DELETE",
- requestUri:
- "/v1/registries/name/{registryName}/schemas/name/{schemaName}/version/{schemaVersion}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- RegistryName: { location: "uri", locationName: "registryName" },
- SchemaName: { location: "uri", locationName: "schemaName" },
- SchemaVersion: {
- location: "uri",
- locationName: "schemaVersion",
- },
- },
- required: ["SchemaVersion", "RegistryName", "SchemaName"],
- },
- },
- DescribeCodeBinding: {
- http: {
- method: "GET",
- requestUri:
- "/v1/registries/name/{registryName}/schemas/name/{schemaName}/language/{language}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Language: { location: "uri", locationName: "language" },
- RegistryName: { location: "uri", locationName: "registryName" },
- SchemaName: { location: "uri", locationName: "schemaName" },
- SchemaVersion: {
- location: "querystring",
- locationName: "schemaVersion",
- },
- },
- required: ["RegistryName", "SchemaName", "Language"],
- },
- output: {
- type: "structure",
- members: {
- CreationDate: { shape: "Se" },
- LastModified: { shape: "Se" },
- SchemaVersion: {},
- Status: {},
- },
- },
- },
- DescribeDiscoverer: {
- http: {
- method: "GET",
- requestUri: "/v1/discoverers/id/{discovererId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DiscovererId: { location: "uri", locationName: "discovererId" },
- },
- required: ["DiscovererId"],
- },
- output: {
- type: "structure",
- members: {
- Description: {},
- DiscovererArn: {},
- DiscovererId: {},
- SourceArn: {},
- State: {},
- Tags: { shape: "S4", locationName: "tags" },
- },
- },
- },
- DescribeRegistry: {
- http: {
- method: "GET",
- requestUri: "/v1/registries/name/{registryName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- RegistryName: { location: "uri", locationName: "registryName" },
- },
- required: ["RegistryName"],
- },
- output: {
- type: "structure",
- members: {
- Description: {},
- RegistryArn: {},
- RegistryName: {},
- Tags: { shape: "S4", locationName: "tags" },
- },
- },
- },
- DescribeSchema: {
- http: {
- method: "GET",
- requestUri:
- "/v1/registries/name/{registryName}/schemas/name/{schemaName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- RegistryName: { location: "uri", locationName: "registryName" },
- SchemaName: { location: "uri", locationName: "schemaName" },
- SchemaVersion: {
- location: "querystring",
- locationName: "schemaVersion",
- },
- },
- required: ["RegistryName", "SchemaName"],
- },
- output: {
- type: "structure",
- members: {
- Content: {},
- Description: {},
- LastModified: { shape: "Se" },
- SchemaArn: {},
- SchemaName: {},
- SchemaVersion: {},
- Tags: { shape: "S4", locationName: "tags" },
- Type: {},
- VersionCreatedDate: { shape: "Se" },
- },
- },
- },
- GetCodeBindingSource: {
- http: {
- method: "GET",
- requestUri:
- "/v1/registries/name/{registryName}/schemas/name/{schemaName}/language/{language}/source",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Language: { location: "uri", locationName: "language" },
- RegistryName: { location: "uri", locationName: "registryName" },
- SchemaName: { location: "uri", locationName: "schemaName" },
- SchemaVersion: {
- location: "querystring",
- locationName: "schemaVersion",
- },
- },
- required: ["RegistryName", "SchemaName", "Language"],
- },
- output: {
- type: "structure",
- members: { Body: { type: "blob" } },
- payload: "Body",
- },
- },
- GetDiscoveredSchema: {
- http: { requestUri: "/v1/discover", responseCode: 200 },
- input: {
- type: "structure",
- members: { Events: { type: "list", member: {} }, Type: {} },
- required: ["Type", "Events"],
- },
- output: { type: "structure", members: { Content: {} } },
- },
- ListDiscoverers: {
- http: {
- method: "GET",
- requestUri: "/v1/discoverers",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DiscovererIdPrefix: {
- location: "querystring",
- locationName: "discovererIdPrefix",
- },
- Limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- SourceArnPrefix: {
- location: "querystring",
- locationName: "sourceArnPrefix",
- },
- },
- },
- output: {
- type: "structure",
- members: { Discoverers: { shape: "S12" }, NextToken: {} },
- },
- },
- ListRegistries: {
- http: {
- method: "GET",
- requestUri: "/v1/registries",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- RegistryNamePrefix: {
- location: "querystring",
- locationName: "registryNamePrefix",
- },
- Scope: { location: "querystring", locationName: "scope" },
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- Registries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- RegistryArn: {},
- RegistryName: {},
- Tags: { shape: "S4", locationName: "tags" },
- },
- },
- },
- },
- },
- },
- ListSchemaVersions: {
- http: {
- method: "GET",
- requestUri:
- "/v1/registries/name/{registryName}/schemas/name/{schemaName}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- RegistryName: { location: "uri", locationName: "registryName" },
- SchemaName: { location: "uri", locationName: "schemaName" },
- },
- required: ["RegistryName", "SchemaName"],
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- SchemaVersions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- SchemaArn: {},
- SchemaName: {},
- SchemaVersion: {},
- },
- },
- },
- },
- },
- },
- ListSchemas: {
- http: {
- method: "GET",
- requestUri: "/v1/registries/name/{registryName}/schemas",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- RegistryName: { location: "uri", locationName: "registryName" },
- SchemaNamePrefix: {
- location: "querystring",
- locationName: "schemaNamePrefix",
- },
- },
- required: ["RegistryName"],
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- Schemas: {
- type: "list",
- member: {
- type: "structure",
- members: {
- LastModified: { shape: "Se" },
- SchemaArn: {},
- SchemaName: {},
- Tags: { shape: "S4", locationName: "tags" },
- VersionCount: { type: "long" },
- },
- },
- },
- },
- },
- },
- ListTagsForResource: {
- http: {
- method: "GET",
- requestUri: "/tags/{resource-arn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- },
- required: ["ResourceArn"],
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "S4" } },
- required: ["Tags"],
- },
- },
- LockServiceLinkedRole: {
- http: { requestUri: "/slr-deletion/lock", responseCode: 200 },
- input: {
- type: "structure",
- members: { RoleArn: {}, Timeout: { type: "integer" } },
- required: ["Timeout", "RoleArn"],
- },
- output: {
- type: "structure",
- members: {
- CanBeDeleted: { type: "boolean" },
- ReasonOfFailure: {},
- RelatedResources: { shape: "S12" },
- },
- },
- internal: true,
- },
- PutCodeBinding: {
- http: {
- requestUri:
- "/v1/registries/name/{registryName}/schemas/name/{schemaName}/language/{language}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- Language: { location: "uri", locationName: "language" },
- RegistryName: { location: "uri", locationName: "registryName" },
- SchemaName: { location: "uri", locationName: "schemaName" },
- SchemaVersion: {
- location: "querystring",
- locationName: "schemaVersion",
- },
- },
- required: ["RegistryName", "SchemaName", "Language"],
- },
- output: {
- type: "structure",
- members: {
- CreationDate: { shape: "Se" },
- LastModified: { shape: "Se" },
- SchemaVersion: {},
- Status: {},
- },
- },
- },
- SearchSchemas: {
- http: {
- method: "GET",
- requestUri: "/v1/registries/name/{registryName}/schemas/search",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Keywords: { location: "querystring", locationName: "keywords" },
- Limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- RegistryName: { location: "uri", locationName: "registryName" },
- },
- required: ["RegistryName", "Keywords"],
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- Schemas: {
- type: "list",
- member: {
- type: "structure",
- members: {
- RegistryName: {},
- SchemaArn: {},
- SchemaName: {},
- SchemaVersions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CreatedDate: { shape: "Se" },
- SchemaVersion: {},
- },
- },
- },
- },
- },
- },
- },
- },
- },
- StartDiscoverer: {
- http: {
- requestUri: "/v1/discoverers/id/{discovererId}/start",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DiscovererId: { location: "uri", locationName: "discovererId" },
- },
- required: ["DiscovererId"],
- },
- output: {
- type: "structure",
- members: { DiscovererId: {}, State: {} },
- },
- },
- StopDiscoverer: {
- http: {
- requestUri: "/v1/discoverers/id/{discovererId}/stop",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DiscovererId: { location: "uri", locationName: "discovererId" },
- },
- required: ["DiscovererId"],
- },
- output: {
- type: "structure",
- members: { DiscovererId: {}, State: {} },
- },
- },
- TagResource: {
- http: { requestUri: "/tags/{resource-arn}", responseCode: 204 },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- Tags: { shape: "S4", locationName: "tags" },
- },
- required: ["ResourceArn", "Tags"],
- },
- },
- UnlockServiceLinkedRole: {
- http: { requestUri: "/slr-deletion/unlock", responseCode: 200 },
- input: {
- type: "structure",
- members: { RoleArn: {} },
- required: ["RoleArn"],
- },
- output: { type: "structure", members: {} },
- internal: true,
- },
- UntagResource: {
- http: {
- method: "DELETE",
- requestUri: "/tags/{resource-arn}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- TagKeys: {
- location: "querystring",
- locationName: "tagKeys",
- type: "list",
- member: {},
- },
- },
- required: ["TagKeys", "ResourceArn"],
- },
- },
- UpdateDiscoverer: {
- http: {
- method: "PUT",
- requestUri: "/v1/discoverers/id/{discovererId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Description: {},
- DiscovererId: { location: "uri", locationName: "discovererId" },
- },
- required: ["DiscovererId"],
- },
- output: {
- type: "structure",
- members: {
- Description: {},
- DiscovererArn: {},
- DiscovererId: {},
- SourceArn: {},
- State: {},
- Tags: { shape: "S4", locationName: "tags" },
- },
- },
- },
- UpdateRegistry: {
- http: {
- method: "PUT",
- requestUri: "/v1/registries/name/{registryName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Description: {},
- RegistryName: { location: "uri", locationName: "registryName" },
- },
- required: ["RegistryName"],
- },
- output: {
- type: "structure",
- members: {
- Description: {},
- RegistryArn: {},
- RegistryName: {},
- Tags: { shape: "S4", locationName: "tags" },
- },
- },
- },
- UpdateSchema: {
- http: {
- method: "PUT",
- requestUri:
- "/v1/registries/name/{registryName}/schemas/name/{schemaName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ClientTokenId: { idempotencyToken: true },
- Content: {},
- Description: {},
- RegistryName: { location: "uri", locationName: "registryName" },
- SchemaName: { location: "uri", locationName: "schemaName" },
- Type: {},
- },
- required: ["RegistryName", "SchemaName"],
- },
- output: {
- type: "structure",
- members: {
- Description: {},
- LastModified: { shape: "Se" },
- SchemaArn: {},
- SchemaName: {},
- SchemaVersion: {},
- Tags: { shape: "S4", locationName: "tags" },
- Type: {},
- VersionCreatedDate: { shape: "Se" },
- },
- },
- },
- },
- shapes: {
- S4: { type: "map", key: {}, value: {} },
- Se: { type: "timestamp", timestampFormat: "iso8601" },
- S12: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DiscovererArn: {},
- DiscovererId: {},
- SourceArn: {},
- State: {},
- Tags: { shape: "S4", locationName: "tags" },
- },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1186: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(7422);
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.CognitoSync;
-
- /***/
- },
-
- /***/ 1187: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(2241);
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.PinpointSMSVoice;
-
- /***/
- },
-
- /***/ 1191: /***/ function (module) {
- module.exports = require("querystring");
-
- /***/
- },
-
- /***/ 1200: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- uid: "iot-data-2015-05-28",
- apiVersion: "2015-05-28",
- endpointPrefix: "data.iot",
- protocol: "rest-json",
- serviceFullName: "AWS IoT Data Plane",
- serviceId: "IoT Data Plane",
- signatureVersion: "v4",
- signingName: "iotdata",
- },
- operations: {
- DeleteThingShadow: {
- http: {
- method: "DELETE",
- requestUri: "/things/{thingName}/shadow",
- },
- input: {
- type: "structure",
- required: ["thingName"],
- members: {
- thingName: { location: "uri", locationName: "thingName" },
- },
- },
- output: {
- type: "structure",
- required: ["payload"],
- members: { payload: { type: "blob" } },
- payload: "payload",
- },
- },
- GetThingShadow: {
- http: { method: "GET", requestUri: "/things/{thingName}/shadow" },
- input: {
- type: "structure",
- required: ["thingName"],
- members: {
- thingName: { location: "uri", locationName: "thingName" },
- },
- },
- output: {
- type: "structure",
- members: { payload: { type: "blob" } },
- payload: "payload",
- },
- },
- Publish: {
- http: { requestUri: "/topics/{topic}" },
- input: {
- type: "structure",
- required: ["topic"],
- members: {
- topic: { location: "uri", locationName: "topic" },
- qos: {
- location: "querystring",
- locationName: "qos",
- type: "integer",
- },
- payload: { type: "blob" },
- },
- payload: "payload",
- },
- },
- UpdateThingShadow: {
- http: { requestUri: "/things/{thingName}/shadow" },
- input: {
- type: "structure",
- required: ["thingName", "payload"],
- members: {
- thingName: { location: "uri", locationName: "thingName" },
- payload: { type: "blob" },
- },
- payload: "payload",
- },
- output: {
- type: "structure",
- members: { payload: { type: "blob" } },
- payload: "payload",
- },
- },
- },
- shapes: {},
- };
-
- /***/
- },
-
- /***/ 1201: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2016-11-28",
- endpointPrefix: "lightsail",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "Amazon Lightsail",
- serviceId: "Lightsail",
- signatureVersion: "v4",
- targetPrefix: "Lightsail_20161128",
- uid: "lightsail-2016-11-28",
- },
- operations: {
- AllocateStaticIp: {
- input: {
- type: "structure",
- required: ["staticIpName"],
- members: { staticIpName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- AttachDisk: {
- input: {
- type: "structure",
- required: ["diskName", "instanceName", "diskPath"],
- members: { diskName: {}, instanceName: {}, diskPath: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- AttachInstancesToLoadBalancer: {
- input: {
- type: "structure",
- required: ["loadBalancerName", "instanceNames"],
- members: { loadBalancerName: {}, instanceNames: { shape: "Si" } },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- AttachLoadBalancerTlsCertificate: {
- input: {
- type: "structure",
- required: ["loadBalancerName", "certificateName"],
- members: { loadBalancerName: {}, certificateName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- AttachStaticIp: {
- input: {
- type: "structure",
- required: ["staticIpName", "instanceName"],
- members: { staticIpName: {}, instanceName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CloseInstancePublicPorts: {
- input: {
- type: "structure",
- required: ["portInfo", "instanceName"],
- members: { portInfo: { shape: "Sp" }, instanceName: {} },
- },
- output: {
- type: "structure",
- members: { operation: { shape: "S5" } },
- },
- },
- CopySnapshot: {
- input: {
- type: "structure",
- required: ["targetSnapshotName", "sourceRegion"],
- members: {
- sourceSnapshotName: {},
- sourceResourceName: {},
- restoreDate: {},
- useLatestRestorableAutoSnapshot: { type: "boolean" },
- targetSnapshotName: {},
- sourceRegion: {},
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CreateCloudFormationStack: {
- input: {
- type: "structure",
- required: ["instances"],
- members: {
- instances: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "sourceName",
- "instanceType",
- "portInfoSource",
- "availabilityZone",
- ],
- members: {
- sourceName: {},
- instanceType: {},
- portInfoSource: {},
- userData: {},
- availabilityZone: {},
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CreateContactMethod: {
- input: {
- type: "structure",
- required: ["protocol", "contactEndpoint"],
- members: { protocol: {}, contactEndpoint: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CreateDisk: {
- input: {
- type: "structure",
- required: ["diskName", "availabilityZone", "sizeInGb"],
- members: {
- diskName: {},
- availabilityZone: {},
- sizeInGb: { type: "integer" },
- tags: { shape: "S16" },
- addOns: { shape: "S1a" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CreateDiskFromSnapshot: {
- input: {
- type: "structure",
- required: ["diskName", "availabilityZone", "sizeInGb"],
- members: {
- diskName: {},
- diskSnapshotName: {},
- availabilityZone: {},
- sizeInGb: { type: "integer" },
- tags: { shape: "S16" },
- addOns: { shape: "S1a" },
- sourceDiskName: {},
- restoreDate: {},
- useLatestRestorableAutoSnapshot: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CreateDiskSnapshot: {
- input: {
- type: "structure",
- required: ["diskSnapshotName"],
- members: {
- diskName: {},
- diskSnapshotName: {},
- instanceName: {},
- tags: { shape: "S16" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CreateDomain: {
- input: {
- type: "structure",
- required: ["domainName"],
- members: { domainName: {}, tags: { shape: "S16" } },
- },
- output: {
- type: "structure",
- members: { operation: { shape: "S5" } },
- },
- },
- CreateDomainEntry: {
- input: {
- type: "structure",
- required: ["domainName", "domainEntry"],
- members: { domainName: {}, domainEntry: { shape: "S1o" } },
- },
- output: {
- type: "structure",
- members: { operation: { shape: "S5" } },
- },
- },
- CreateInstanceSnapshot: {
- input: {
- type: "structure",
- required: ["instanceSnapshotName", "instanceName"],
- members: {
- instanceSnapshotName: {},
- instanceName: {},
- tags: { shape: "S16" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CreateInstances: {
- input: {
- type: "structure",
- required: [
- "instanceNames",
- "availabilityZone",
- "blueprintId",
- "bundleId",
- ],
- members: {
- instanceNames: { shape: "S1w" },
- availabilityZone: {},
- customImageName: { deprecated: true },
- blueprintId: {},
- bundleId: {},
- userData: {},
- keyPairName: {},
- tags: { shape: "S16" },
- addOns: { shape: "S1a" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CreateInstancesFromSnapshot: {
- input: {
- type: "structure",
- required: ["instanceNames", "availabilityZone", "bundleId"],
- members: {
- instanceNames: { shape: "S1w" },
- attachedDiskMapping: {
- type: "map",
- key: {},
- value: {
- type: "list",
- member: {
- type: "structure",
- members: { originalDiskPath: {}, newDiskName: {} },
- },
- },
- },
- availabilityZone: {},
- instanceSnapshotName: {},
- bundleId: {},
- userData: {},
- keyPairName: {},
- tags: { shape: "S16" },
- addOns: { shape: "S1a" },
- sourceInstanceName: {},
- restoreDate: {},
- useLatestRestorableAutoSnapshot: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CreateKeyPair: {
- input: {
- type: "structure",
- required: ["keyPairName"],
- members: { keyPairName: {}, tags: { shape: "S16" } },
- },
- output: {
- type: "structure",
- members: {
- keyPair: { shape: "S25" },
- publicKeyBase64: {},
- privateKeyBase64: {},
- operation: { shape: "S5" },
- },
- },
- },
- CreateLoadBalancer: {
- input: {
- type: "structure",
- required: ["loadBalancerName", "instancePort"],
- members: {
- loadBalancerName: {},
- instancePort: { type: "integer" },
- healthCheckPath: {},
- certificateName: {},
- certificateDomainName: {},
- certificateAlternativeNames: { shape: "S28" },
- tags: { shape: "S16" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CreateLoadBalancerTlsCertificate: {
- input: {
- type: "structure",
- required: [
- "loadBalancerName",
- "certificateName",
- "certificateDomainName",
- ],
- members: {
- loadBalancerName: {},
- certificateName: {},
- certificateDomainName: {},
- certificateAlternativeNames: { shape: "S28" },
- tags: { shape: "S16" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CreateRelationalDatabase: {
- input: {
- type: "structure",
- required: [
- "relationalDatabaseName",
- "relationalDatabaseBlueprintId",
- "relationalDatabaseBundleId",
- "masterDatabaseName",
- "masterUsername",
- ],
- members: {
- relationalDatabaseName: {},
- availabilityZone: {},
- relationalDatabaseBlueprintId: {},
- relationalDatabaseBundleId: {},
- masterDatabaseName: {},
- masterUsername: {},
- masterUserPassword: { shape: "S2d" },
- preferredBackupWindow: {},
- preferredMaintenanceWindow: {},
- publiclyAccessible: { type: "boolean" },
- tags: { shape: "S16" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CreateRelationalDatabaseFromSnapshot: {
- input: {
- type: "structure",
- required: ["relationalDatabaseName"],
- members: {
- relationalDatabaseName: {},
- availabilityZone: {},
- publiclyAccessible: { type: "boolean" },
- relationalDatabaseSnapshotName: {},
- relationalDatabaseBundleId: {},
- sourceRelationalDatabaseName: {},
- restoreTime: { type: "timestamp" },
- useLatestRestorableTime: { type: "boolean" },
- tags: { shape: "S16" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- CreateRelationalDatabaseSnapshot: {
- input: {
- type: "structure",
- required: [
- "relationalDatabaseName",
- "relationalDatabaseSnapshotName",
- ],
- members: {
- relationalDatabaseName: {},
- relationalDatabaseSnapshotName: {},
- tags: { shape: "S16" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DeleteAlarm: {
- input: {
- type: "structure",
- required: ["alarmName"],
- members: { alarmName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DeleteAutoSnapshot: {
- input: {
- type: "structure",
- required: ["resourceName", "date"],
- members: { resourceName: {}, date: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DeleteContactMethod: {
- input: {
- type: "structure",
- required: ["protocol"],
- members: { protocol: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DeleteDisk: {
- input: {
- type: "structure",
- required: ["diskName"],
- members: { diskName: {}, forceDeleteAddOns: { type: "boolean" } },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DeleteDiskSnapshot: {
- input: {
- type: "structure",
- required: ["diskSnapshotName"],
- members: { diskSnapshotName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DeleteDomain: {
- input: {
- type: "structure",
- required: ["domainName"],
- members: { domainName: {} },
- },
- output: {
- type: "structure",
- members: { operation: { shape: "S5" } },
- },
- },
- DeleteDomainEntry: {
- input: {
- type: "structure",
- required: ["domainName", "domainEntry"],
- members: { domainName: {}, domainEntry: { shape: "S1o" } },
- },
- output: {
- type: "structure",
- members: { operation: { shape: "S5" } },
- },
- },
- DeleteInstance: {
- input: {
- type: "structure",
- required: ["instanceName"],
- members: {
- instanceName: {},
- forceDeleteAddOns: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DeleteInstanceSnapshot: {
- input: {
- type: "structure",
- required: ["instanceSnapshotName"],
- members: { instanceSnapshotName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DeleteKeyPair: {
- input: {
- type: "structure",
- required: ["keyPairName"],
- members: { keyPairName: {} },
- },
- output: {
- type: "structure",
- members: { operation: { shape: "S5" } },
- },
- },
- DeleteKnownHostKeys: {
- input: {
- type: "structure",
- required: ["instanceName"],
- members: { instanceName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DeleteLoadBalancer: {
- input: {
- type: "structure",
- required: ["loadBalancerName"],
- members: { loadBalancerName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DeleteLoadBalancerTlsCertificate: {
- input: {
- type: "structure",
- required: ["loadBalancerName", "certificateName"],
- members: {
- loadBalancerName: {},
- certificateName: {},
- force: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DeleteRelationalDatabase: {
- input: {
- type: "structure",
- required: ["relationalDatabaseName"],
- members: {
- relationalDatabaseName: {},
- skipFinalSnapshot: { type: "boolean" },
- finalRelationalDatabaseSnapshotName: {},
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DeleteRelationalDatabaseSnapshot: {
- input: {
- type: "structure",
- required: ["relationalDatabaseSnapshotName"],
- members: { relationalDatabaseSnapshotName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DetachDisk: {
- input: {
- type: "structure",
- required: ["diskName"],
- members: { diskName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DetachInstancesFromLoadBalancer: {
- input: {
- type: "structure",
- required: ["loadBalancerName", "instanceNames"],
- members: { loadBalancerName: {}, instanceNames: { shape: "Si" } },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DetachStaticIp: {
- input: {
- type: "structure",
- required: ["staticIpName"],
- members: { staticIpName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DisableAddOn: {
- input: {
- type: "structure",
- required: ["addOnType", "resourceName"],
- members: { addOnType: {}, resourceName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- DownloadDefaultKeyPair: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: { publicKeyBase64: {}, privateKeyBase64: {} },
- },
- },
- EnableAddOn: {
- input: {
- type: "structure",
- required: ["resourceName", "addOnRequest"],
- members: { resourceName: {}, addOnRequest: { shape: "S1b" } },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- ExportSnapshot: {
- input: {
- type: "structure",
- required: ["sourceSnapshotName"],
- members: { sourceSnapshotName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- GetActiveNames: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: { activeNames: { shape: "S1w" }, nextPageToken: {} },
- },
- },
- GetAlarms: {
- input: {
- type: "structure",
- members: {
- alarmName: {},
- pageToken: {},
- monitoredResourceName: {},
- },
- },
- output: {
- type: "structure",
- members: {
- alarms: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- supportCode: {},
- monitoredResourceInfo: {
- type: "structure",
- members: { arn: {}, name: {}, resourceType: {} },
- },
- comparisonOperator: {},
- evaluationPeriods: { type: "integer" },
- period: { type: "integer" },
- threshold: { type: "double" },
- datapointsToAlarm: { type: "integer" },
- treatMissingData: {},
- statistic: {},
- metricName: {},
- state: {},
- unit: {},
- contactProtocols: { shape: "S48" },
- notificationTriggers: { shape: "S49" },
- notificationEnabled: { type: "boolean" },
- },
- },
- },
- nextPageToken: {},
- },
- },
- },
- GetAutoSnapshots: {
- input: {
- type: "structure",
- required: ["resourceName"],
- members: { resourceName: {} },
- },
- output: {
- type: "structure",
- members: {
- resourceName: {},
- resourceType: {},
- autoSnapshots: {
- type: "list",
- member: {
- type: "structure",
- members: {
- date: {},
- createdAt: { type: "timestamp" },
- status: {},
- fromAttachedDisks: {
- type: "list",
- member: {
- type: "structure",
- members: { path: {}, sizeInGb: { type: "integer" } },
- },
- },
- },
- },
- },
- },
- },
- },
- GetBlueprints: {
- input: {
- type: "structure",
- members: { includeInactive: { type: "boolean" }, pageToken: {} },
- },
- output: {
- type: "structure",
- members: {
- blueprints: {
- type: "list",
- member: {
- type: "structure",
- members: {
- blueprintId: {},
- name: {},
- group: {},
- type: {},
- description: {},
- isActive: { type: "boolean" },
- minPower: { type: "integer" },
- version: {},
- versionCode: {},
- productUrl: {},
- licenseUrl: {},
- platform: {},
- },
- },
- },
- nextPageToken: {},
- },
- },
- },
- GetBundles: {
- input: {
- type: "structure",
- members: { includeInactive: { type: "boolean" }, pageToken: {} },
- },
- output: {
- type: "structure",
- members: {
- bundles: {
- type: "list",
- member: {
- type: "structure",
- members: {
- price: { type: "float" },
- cpuCount: { type: "integer" },
- diskSizeInGb: { type: "integer" },
- bundleId: {},
- instanceType: {},
- isActive: { type: "boolean" },
- name: {},
- power: { type: "integer" },
- ramSizeInGb: { type: "float" },
- transferPerMonthInGb: { type: "integer" },
- supportedPlatforms: { type: "list", member: {} },
- },
- },
- },
- nextPageToken: {},
- },
- },
- },
- GetCloudFormationStackRecords: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: {
- cloudFormationStackRecords: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- state: {},
- sourceInfo: {
- type: "list",
- member: {
- type: "structure",
- members: { resourceType: {}, name: {}, arn: {} },
- },
- },
- destinationInfo: { shape: "S51" },
- },
- },
- },
- nextPageToken: {},
- },
- },
- },
- GetContactMethods: {
- input: {
- type: "structure",
- members: { protocols: { shape: "S48" } },
- },
- output: {
- type: "structure",
- members: {
- contactMethods: {
- type: "list",
- member: {
- type: "structure",
- members: {
- contactEndpoint: {},
- status: {},
- protocol: {},
- name: {},
- arn: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- supportCode: {},
- },
- },
- },
- },
- },
- },
- GetDisk: {
- input: {
- type: "structure",
- required: ["diskName"],
- members: { diskName: {} },
- },
- output: { type: "structure", members: { disk: { shape: "S59" } } },
- },
- GetDiskSnapshot: {
- input: {
- type: "structure",
- required: ["diskSnapshotName"],
- members: { diskSnapshotName: {} },
- },
- output: {
- type: "structure",
- members: { diskSnapshot: { shape: "S5f" } },
- },
- },
- GetDiskSnapshots: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: {
- diskSnapshots: { type: "list", member: { shape: "S5f" } },
- nextPageToken: {},
- },
- },
- },
- GetDisks: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: { disks: { shape: "S5m" }, nextPageToken: {} },
- },
- },
- GetDomain: {
- input: {
- type: "structure",
- required: ["domainName"],
- members: { domainName: {} },
- },
- output: {
- type: "structure",
- members: { domain: { shape: "S5p" } },
- },
- },
- GetDomains: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: {
- domains: { type: "list", member: { shape: "S5p" } },
- nextPageToken: {},
- },
- },
- },
- GetExportSnapshotRecords: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: {
- exportSnapshotRecords: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- state: {},
- sourceInfo: {
- type: "structure",
- members: {
- resourceType: {},
- createdAt: { type: "timestamp" },
- name: {},
- arn: {},
- fromResourceName: {},
- fromResourceArn: {},
- instanceSnapshotInfo: {
- type: "structure",
- members: {
- fromBundleId: {},
- fromBlueprintId: {},
- fromDiskInfo: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- path: {},
- sizeInGb: { type: "integer" },
- isSystemDisk: { type: "boolean" },
- },
- },
- },
- },
- },
- diskSnapshotInfo: {
- type: "structure",
- members: { sizeInGb: { type: "integer" } },
- },
- },
- },
- destinationInfo: { shape: "S51" },
- },
- },
- },
- nextPageToken: {},
- },
- },
- },
- GetInstance: {
- input: {
- type: "structure",
- required: ["instanceName"],
- members: { instanceName: {} },
- },
- output: {
- type: "structure",
- members: { instance: { shape: "S66" } },
- },
- },
- GetInstanceAccessDetails: {
- input: {
- type: "structure",
- required: ["instanceName"],
- members: { instanceName: {}, protocol: {} },
- },
- output: {
- type: "structure",
- members: {
- accessDetails: {
- type: "structure",
- members: {
- certKey: {},
- expiresAt: { type: "timestamp" },
- ipAddress: {},
- password: {},
- passwordData: {
- type: "structure",
- members: { ciphertext: {}, keyPairName: {} },
- },
- privateKey: {},
- protocol: {},
- instanceName: {},
- username: {},
- hostKeys: {
- type: "list",
- member: {
- type: "structure",
- members: {
- algorithm: {},
- publicKey: {},
- witnessedAt: { type: "timestamp" },
- fingerprintSHA1: {},
- fingerprintSHA256: {},
- notValidBefore: { type: "timestamp" },
- notValidAfter: { type: "timestamp" },
- },
- },
- },
- },
- },
- },
- },
- },
- GetInstanceMetricData: {
- input: {
- type: "structure",
- required: [
- "instanceName",
- "metricName",
- "period",
- "startTime",
- "endTime",
- "unit",
- "statistics",
- ],
- members: {
- instanceName: {},
- metricName: {},
- period: { type: "integer" },
- startTime: { type: "timestamp" },
- endTime: { type: "timestamp" },
- unit: {},
- statistics: { shape: "S6r" },
- },
- },
- output: {
- type: "structure",
- members: { metricName: {}, metricData: { shape: "S6t" } },
- },
- },
- GetInstancePortStates: {
- input: {
- type: "structure",
- required: ["instanceName"],
- members: { instanceName: {} },
- },
- output: {
- type: "structure",
- members: {
- portStates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- fromPort: { type: "integer" },
- toPort: { type: "integer" },
- protocol: {},
- state: {},
- },
- },
- },
- },
- },
- },
- GetInstanceSnapshot: {
- input: {
- type: "structure",
- required: ["instanceSnapshotName"],
- members: { instanceSnapshotName: {} },
- },
- output: {
- type: "structure",
- members: { instanceSnapshot: { shape: "S72" } },
- },
- },
- GetInstanceSnapshots: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: {
- instanceSnapshots: { type: "list", member: { shape: "S72" } },
- nextPageToken: {},
- },
- },
- },
- GetInstanceState: {
- input: {
- type: "structure",
- required: ["instanceName"],
- members: { instanceName: {} },
- },
- output: { type: "structure", members: { state: { shape: "S6g" } } },
- },
- GetInstances: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: {
- instances: { type: "list", member: { shape: "S66" } },
- nextPageToken: {},
- },
- },
- },
- GetKeyPair: {
- input: {
- type: "structure",
- required: ["keyPairName"],
- members: { keyPairName: {} },
- },
- output: {
- type: "structure",
- members: { keyPair: { shape: "S25" } },
- },
- },
- GetKeyPairs: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: {
- keyPairs: { type: "list", member: { shape: "S25" } },
- nextPageToken: {},
- },
- },
- },
- GetLoadBalancer: {
- input: {
- type: "structure",
- required: ["loadBalancerName"],
- members: { loadBalancerName: {} },
- },
- output: {
- type: "structure",
- members: { loadBalancer: { shape: "S7j" } },
- },
- },
- GetLoadBalancerMetricData: {
- input: {
- type: "structure",
- required: [
- "loadBalancerName",
- "metricName",
- "period",
- "startTime",
- "endTime",
- "unit",
- "statistics",
- ],
- members: {
- loadBalancerName: {},
- metricName: {},
- period: { type: "integer" },
- startTime: { type: "timestamp" },
- endTime: { type: "timestamp" },
- unit: {},
- statistics: { shape: "S6r" },
- },
- },
- output: {
- type: "structure",
- members: { metricName: {}, metricData: { shape: "S6t" } },
- },
- },
- GetLoadBalancerTlsCertificates: {
- input: {
- type: "structure",
- required: ["loadBalancerName"],
- members: { loadBalancerName: {} },
- },
- output: {
- type: "structure",
- members: {
- tlsCertificates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- supportCode: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- tags: { shape: "S16" },
- loadBalancerName: {},
- isAttached: { type: "boolean" },
- status: {},
- domainName: {},
- domainValidationRecords: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- type: {},
- value: {},
- validationStatus: {},
- domainName: {},
- },
- },
- },
- failureReason: {},
- issuedAt: { type: "timestamp" },
- issuer: {},
- keyAlgorithm: {},
- notAfter: { type: "timestamp" },
- notBefore: { type: "timestamp" },
- renewalSummary: {
- type: "structure",
- members: {
- renewalStatus: {},
- domainValidationOptions: {
- type: "list",
- member: {
- type: "structure",
- members: { domainName: {}, validationStatus: {} },
- },
- },
- },
- },
- revocationReason: {},
- revokedAt: { type: "timestamp" },
- serial: {},
- signatureAlgorithm: {},
- subject: {},
- subjectAlternativeNames: { shape: "S1w" },
- },
- },
- },
- },
- },
- },
- GetLoadBalancers: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: {
- loadBalancers: { type: "list", member: { shape: "S7j" } },
- nextPageToken: {},
- },
- },
- },
- GetOperation: {
- input: {
- type: "structure",
- required: ["operationId"],
- members: { operationId: {} },
- },
- output: {
- type: "structure",
- members: { operation: { shape: "S5" } },
- },
- },
- GetOperations: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" }, nextPageToken: {} },
- },
- },
- GetOperationsForResource: {
- input: {
- type: "structure",
- required: ["resourceName"],
- members: { resourceName: {}, pageToken: {} },
- },
- output: {
- type: "structure",
- members: {
- operations: { shape: "S4" },
- nextPageCount: { deprecated: true },
- nextPageToken: {},
- },
- },
- },
- GetRegions: {
- input: {
- type: "structure",
- members: {
- includeAvailabilityZones: { type: "boolean" },
- includeRelationalDatabaseAvailabilityZones: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- regions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- continentCode: {},
- description: {},
- displayName: {},
- name: {},
- availabilityZones: { shape: "S8p" },
- relationalDatabaseAvailabilityZones: { shape: "S8p" },
- },
- },
- },
- },
- },
- },
- GetRelationalDatabase: {
- input: {
- type: "structure",
- required: ["relationalDatabaseName"],
- members: { relationalDatabaseName: {} },
- },
- output: {
- type: "structure",
- members: { relationalDatabase: { shape: "S8t" } },
- },
- },
- GetRelationalDatabaseBlueprints: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: {
- blueprints: {
- type: "list",
- member: {
- type: "structure",
- members: {
- blueprintId: {},
- engine: {},
- engineVersion: {},
- engineDescription: {},
- engineVersionDescription: {},
- isEngineDefault: { type: "boolean" },
- },
- },
- },
- nextPageToken: {},
- },
- },
- },
- GetRelationalDatabaseBundles: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: {
- bundles: {
- type: "list",
- member: {
- type: "structure",
- members: {
- bundleId: {},
- name: {},
- price: { type: "float" },
- ramSizeInGb: { type: "float" },
- diskSizeInGb: { type: "integer" },
- transferPerMonthInGb: { type: "integer" },
- cpuCount: { type: "integer" },
- isEncrypted: { type: "boolean" },
- isActive: { type: "boolean" },
- },
- },
- },
- nextPageToken: {},
- },
- },
- },
- GetRelationalDatabaseEvents: {
- input: {
- type: "structure",
- required: ["relationalDatabaseName"],
- members: {
- relationalDatabaseName: {},
- durationInMinutes: { type: "integer" },
- pageToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- relationalDatabaseEvents: {
- type: "list",
- member: {
- type: "structure",
- members: {
- resource: {},
- createdAt: { type: "timestamp" },
- message: {},
- eventCategories: { shape: "S1w" },
- },
- },
- },
- nextPageToken: {},
- },
- },
- },
- GetRelationalDatabaseLogEvents: {
- input: {
- type: "structure",
- required: ["relationalDatabaseName", "logStreamName"],
- members: {
- relationalDatabaseName: {},
- logStreamName: {},
- startTime: { type: "timestamp" },
- endTime: { type: "timestamp" },
- startFromHead: { type: "boolean" },
- pageToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- resourceLogEvents: {
- type: "list",
- member: {
- type: "structure",
- members: { createdAt: { type: "timestamp" }, message: {} },
- },
- },
- nextBackwardToken: {},
- nextForwardToken: {},
- },
- },
- },
- GetRelationalDatabaseLogStreams: {
- input: {
- type: "structure",
- required: ["relationalDatabaseName"],
- members: { relationalDatabaseName: {} },
- },
- output: {
- type: "structure",
- members: { logStreams: { shape: "S1w" } },
- },
- },
- GetRelationalDatabaseMasterUserPassword: {
- input: {
- type: "structure",
- required: ["relationalDatabaseName"],
- members: { relationalDatabaseName: {}, passwordVersion: {} },
- },
- output: {
- type: "structure",
- members: {
- masterUserPassword: { shape: "S2d" },
- createdAt: { type: "timestamp" },
- },
- },
- },
- GetRelationalDatabaseMetricData: {
- input: {
- type: "structure",
- required: [
- "relationalDatabaseName",
- "metricName",
- "period",
- "startTime",
- "endTime",
- "unit",
- "statistics",
- ],
- members: {
- relationalDatabaseName: {},
- metricName: {},
- period: { type: "integer" },
- startTime: { type: "timestamp" },
- endTime: { type: "timestamp" },
- unit: {},
- statistics: { shape: "S6r" },
- },
- },
- output: {
- type: "structure",
- members: { metricName: {}, metricData: { shape: "S6t" } },
- },
- },
- GetRelationalDatabaseParameters: {
- input: {
- type: "structure",
- required: ["relationalDatabaseName"],
- members: { relationalDatabaseName: {}, pageToken: {} },
- },
- output: {
- type: "structure",
- members: { parameters: { shape: "S9q" }, nextPageToken: {} },
- },
- },
- GetRelationalDatabaseSnapshot: {
- input: {
- type: "structure",
- required: ["relationalDatabaseSnapshotName"],
- members: { relationalDatabaseSnapshotName: {} },
- },
- output: {
- type: "structure",
- members: { relationalDatabaseSnapshot: { shape: "S9u" } },
- },
- },
- GetRelationalDatabaseSnapshots: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: {
- relationalDatabaseSnapshots: {
- type: "list",
- member: { shape: "S9u" },
- },
- nextPageToken: {},
- },
- },
- },
- GetRelationalDatabases: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: {
- relationalDatabases: { type: "list", member: { shape: "S8t" } },
- nextPageToken: {},
- },
- },
- },
- GetStaticIp: {
- input: {
- type: "structure",
- required: ["staticIpName"],
- members: { staticIpName: {} },
- },
- output: {
- type: "structure",
- members: { staticIp: { shape: "Sa3" } },
- },
- },
- GetStaticIps: {
- input: { type: "structure", members: { pageToken: {} } },
- output: {
- type: "structure",
- members: {
- staticIps: { type: "list", member: { shape: "Sa3" } },
- nextPageToken: {},
- },
- },
- },
- ImportKeyPair: {
- input: {
- type: "structure",
- required: ["keyPairName", "publicKeyBase64"],
- members: { keyPairName: {}, publicKeyBase64: {} },
- },
- output: {
- type: "structure",
- members: { operation: { shape: "S5" } },
- },
- },
- IsVpcPeered: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: { isPeered: { type: "boolean" } },
- },
- },
- OpenInstancePublicPorts: {
- input: {
- type: "structure",
- required: ["portInfo", "instanceName"],
- members: { portInfo: { shape: "Sp" }, instanceName: {} },
- },
- output: {
- type: "structure",
- members: { operation: { shape: "S5" } },
- },
- },
- PeerVpc: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: { operation: { shape: "S5" } },
- },
- },
- PutAlarm: {
- input: {
- type: "structure",
- required: [
- "alarmName",
- "metricName",
- "monitoredResourceName",
- "comparisonOperator",
- "threshold",
- "evaluationPeriods",
- ],
- members: {
- alarmName: {},
- metricName: {},
- monitoredResourceName: {},
- comparisonOperator: {},
- threshold: { type: "double" },
- evaluationPeriods: { type: "integer" },
- datapointsToAlarm: { type: "integer" },
- treatMissingData: {},
- contactProtocols: { shape: "S48" },
- notificationTriggers: { shape: "S49" },
- notificationEnabled: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- PutInstancePublicPorts: {
- input: {
- type: "structure",
- required: ["portInfos", "instanceName"],
- members: {
- portInfos: { type: "list", member: { shape: "Sp" } },
- instanceName: {},
- },
- },
- output: {
- type: "structure",
- members: { operation: { shape: "S5" } },
- },
- },
- RebootInstance: {
- input: {
- type: "structure",
- required: ["instanceName"],
- members: { instanceName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- RebootRelationalDatabase: {
- input: {
- type: "structure",
- required: ["relationalDatabaseName"],
- members: { relationalDatabaseName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- ReleaseStaticIp: {
- input: {
- type: "structure",
- required: ["staticIpName"],
- members: { staticIpName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- SendContactMethodVerification: {
- input: {
- type: "structure",
- required: ["protocol"],
- members: { protocol: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- StartInstance: {
- input: {
- type: "structure",
- required: ["instanceName"],
- members: { instanceName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- StartRelationalDatabase: {
- input: {
- type: "structure",
- required: ["relationalDatabaseName"],
- members: { relationalDatabaseName: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- StopInstance: {
- input: {
- type: "structure",
- required: ["instanceName"],
- members: { instanceName: {}, force: { type: "boolean" } },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- StopRelationalDatabase: {
- input: {
- type: "structure",
- required: ["relationalDatabaseName"],
- members: {
- relationalDatabaseName: {},
- relationalDatabaseSnapshotName: {},
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["resourceName", "tags"],
- members: {
- resourceName: {},
- resourceArn: {},
- tags: { shape: "S16" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- TestAlarm: {
- input: {
- type: "structure",
- required: ["alarmName", "state"],
- members: { alarmName: {}, state: {} },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- UnpeerVpc: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: { operation: { shape: "S5" } },
- },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["resourceName", "tagKeys"],
- members: {
- resourceName: {},
- resourceArn: {},
- tagKeys: { type: "list", member: {} },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- UpdateDomainEntry: {
- input: {
- type: "structure",
- required: ["domainName", "domainEntry"],
- members: { domainName: {}, domainEntry: { shape: "S1o" } },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- UpdateLoadBalancerAttribute: {
- input: {
- type: "structure",
- required: ["loadBalancerName", "attributeName", "attributeValue"],
- members: {
- loadBalancerName: {},
- attributeName: {},
- attributeValue: {},
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- UpdateRelationalDatabase: {
- input: {
- type: "structure",
- required: ["relationalDatabaseName"],
- members: {
- relationalDatabaseName: {},
- masterUserPassword: { shape: "S2d" },
- rotateMasterUserPassword: { type: "boolean" },
- preferredBackupWindow: {},
- preferredMaintenanceWindow: {},
- enableBackupRetention: { type: "boolean" },
- disableBackupRetention: { type: "boolean" },
- publiclyAccessible: { type: "boolean" },
- applyImmediately: { type: "boolean" },
- caCertificateIdentifier: {},
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- UpdateRelationalDatabaseParameters: {
- input: {
- type: "structure",
- required: ["relationalDatabaseName", "parameters"],
- members: {
- relationalDatabaseName: {},
- parameters: { shape: "S9q" },
- },
- },
- output: {
- type: "structure",
- members: { operations: { shape: "S4" } },
- },
- },
- },
- shapes: {
- S4: { type: "list", member: { shape: "S5" } },
- S5: {
- type: "structure",
- members: {
- id: {},
- resourceName: {},
- resourceType: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- isTerminal: { type: "boolean" },
- operationDetails: {},
- operationType: {},
- status: {},
- statusChangedAt: { type: "timestamp" },
- errorCode: {},
- errorDetails: {},
- },
- },
- S9: {
- type: "structure",
- members: { availabilityZone: {}, regionName: {} },
- },
- Si: { type: "list", member: {} },
- Sp: {
- type: "structure",
- members: {
- fromPort: { type: "integer" },
- toPort: { type: "integer" },
- protocol: {},
- },
- },
- S16: {
- type: "list",
- member: { type: "structure", members: { key: {}, value: {} } },
- },
- S1a: { type: "list", member: { shape: "S1b" } },
- S1b: {
- type: "structure",
- required: ["addOnType"],
- members: {
- addOnType: {},
- autoSnapshotAddOnRequest: {
- type: "structure",
- members: { snapshotTimeOfDay: {} },
- },
- },
- },
- S1o: {
- type: "structure",
- members: {
- id: {},
- name: {},
- target: {},
- isAlias: { type: "boolean" },
- type: {},
- options: { deprecated: true, type: "map", key: {}, value: {} },
- },
- },
- S1w: { type: "list", member: {} },
- S25: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- supportCode: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- tags: { shape: "S16" },
- fingerprint: {},
- },
- },
- S28: { type: "list", member: {} },
- S2d: { type: "string", sensitive: true },
- S48: { type: "list", member: {} },
- S49: { type: "list", member: {} },
- S51: { type: "structure", members: { id: {}, service: {} } },
- S59: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- supportCode: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- tags: { shape: "S16" },
- addOns: { shape: "S5a" },
- sizeInGb: { type: "integer" },
- isSystemDisk: { type: "boolean" },
- iops: { type: "integer" },
- path: {},
- state: {},
- attachedTo: {},
- isAttached: { type: "boolean" },
- attachmentState: { deprecated: true },
- gbInUse: { deprecated: true, type: "integer" },
- },
- },
- S5a: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- status: {},
- snapshotTimeOfDay: {},
- nextSnapshotTimeOfDay: {},
- },
- },
- },
- S5f: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- supportCode: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- tags: { shape: "S16" },
- sizeInGb: { type: "integer" },
- state: {},
- progress: {},
- fromDiskName: {},
- fromDiskArn: {},
- fromInstanceName: {},
- fromInstanceArn: {},
- isFromAutoSnapshot: { type: "boolean" },
- },
- },
- S5m: { type: "list", member: { shape: "S59" } },
- S5p: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- supportCode: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- tags: { shape: "S16" },
- domainEntries: { type: "list", member: { shape: "S1o" } },
- },
- },
- S66: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- supportCode: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- tags: { shape: "S16" },
- blueprintId: {},
- blueprintName: {},
- bundleId: {},
- addOns: { shape: "S5a" },
- isStaticIp: { type: "boolean" },
- privateIpAddress: {},
- publicIpAddress: {},
- ipv6Address: {},
- hardware: {
- type: "structure",
- members: {
- cpuCount: { type: "integer" },
- disks: { shape: "S5m" },
- ramSizeInGb: { type: "float" },
- },
- },
- networking: {
- type: "structure",
- members: {
- monthlyTransfer: {
- type: "structure",
- members: { gbPerMonthAllocated: { type: "integer" } },
- },
- ports: {
- type: "list",
- member: {
- type: "structure",
- members: {
- fromPort: { type: "integer" },
- toPort: { type: "integer" },
- protocol: {},
- accessFrom: {},
- accessType: {},
- commonName: {},
- accessDirection: {},
- },
- },
- },
- },
- },
- state: { shape: "S6g" },
- username: {},
- sshKeyName: {},
- },
- },
- S6g: {
- type: "structure",
- members: { code: { type: "integer" }, name: {} },
- },
- S6r: { type: "list", member: {} },
- S6t: {
- type: "list",
- member: {
- type: "structure",
- members: {
- average: { type: "double" },
- maximum: { type: "double" },
- minimum: { type: "double" },
- sampleCount: { type: "double" },
- sum: { type: "double" },
- timestamp: { type: "timestamp" },
- unit: {},
- },
- },
- },
- S72: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- supportCode: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- tags: { shape: "S16" },
- state: {},
- progress: {},
- fromAttachedDisks: { shape: "S5m" },
- fromInstanceName: {},
- fromInstanceArn: {},
- fromBlueprintId: {},
- fromBundleId: {},
- isFromAutoSnapshot: { type: "boolean" },
- sizeInGb: { type: "integer" },
- },
- },
- S7j: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- supportCode: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- tags: { shape: "S16" },
- dnsName: {},
- state: {},
- protocol: {},
- publicPorts: { type: "list", member: { type: "integer" } },
- healthCheckPath: {},
- instancePort: { type: "integer" },
- instanceHealthSummary: {
- type: "list",
- member: {
- type: "structure",
- members: {
- instanceName: {},
- instanceHealth: {},
- instanceHealthReason: {},
- },
- },
- },
- tlsCertificateSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: { name: {}, isAttached: { type: "boolean" } },
- },
- },
- configurationOptions: { type: "map", key: {}, value: {} },
- },
- },
- S8p: {
- type: "list",
- member: { type: "structure", members: { zoneName: {}, state: {} } },
- },
- S8t: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- supportCode: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- tags: { shape: "S16" },
- relationalDatabaseBlueprintId: {},
- relationalDatabaseBundleId: {},
- masterDatabaseName: {},
- hardware: {
- type: "structure",
- members: {
- cpuCount: { type: "integer" },
- diskSizeInGb: { type: "integer" },
- ramSizeInGb: { type: "float" },
- },
- },
- state: {},
- secondaryAvailabilityZone: {},
- backupRetentionEnabled: { type: "boolean" },
- pendingModifiedValues: {
- type: "structure",
- members: {
- masterUserPassword: {},
- engineVersion: {},
- backupRetentionEnabled: { type: "boolean" },
- },
- },
- engine: {},
- engineVersion: {},
- latestRestorableTime: { type: "timestamp" },
- masterUsername: {},
- parameterApplyStatus: {},
- preferredBackupWindow: {},
- preferredMaintenanceWindow: {},
- publiclyAccessible: { type: "boolean" },
- masterEndpoint: {
- type: "structure",
- members: { port: { type: "integer" }, address: {} },
- },
- pendingMaintenanceActions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- action: {},
- description: {},
- currentApplyDate: { type: "timestamp" },
- },
- },
- },
- caCertificateIdentifier: {},
- },
- },
- S9q: {
- type: "list",
- member: {
- type: "structure",
- members: {
- allowedValues: {},
- applyMethod: {},
- applyType: {},
- dataType: {},
- description: {},
- isModifiable: { type: "boolean" },
- parameterName: {},
- parameterValue: {},
- },
- },
- },
- S9u: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- supportCode: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- tags: { shape: "S16" },
- engine: {},
- engineVersion: {},
- sizeInGb: { type: "integer" },
- state: {},
- fromRelationalDatabaseName: {},
- fromRelationalDatabaseArn: {},
- fromRelationalDatabaseBundleId: {},
- fromRelationalDatabaseBlueprintId: {},
- },
- },
- Sa3: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- supportCode: {},
- createdAt: { type: "timestamp" },
- location: { shape: "S9" },
- resourceType: {},
- ipAddress: {},
- attachedTo: {},
- isAttached: { type: "boolean" },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1209: /***/ function (module) {
- module.exports = {
- metadata: {
- apiVersion: "2017-07-25",
- endpointPrefix: "dataexchange",
- signingName: "dataexchange",
- serviceFullName: "AWS Data Exchange",
- serviceId: "DataExchange",
- protocol: "rest-json",
- jsonVersion: "1.1",
- uid: "dataexchange-2017-07-25",
- signatureVersion: "v4",
- },
- operations: {
- CancelJob: {
- http: {
- method: "DELETE",
- requestUri: "/v1/jobs/{JobId}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: { JobId: { location: "uri", locationName: "JobId" } },
- required: ["JobId"],
- },
- },
- CreateDataSet: {
- http: { requestUri: "/v1/data-sets", responseCode: 201 },
- input: {
- type: "structure",
- members: {
- AssetType: {},
- Description: {},
- Name: {},
- Tags: { shape: "S7" },
- },
- required: ["AssetType", "Description", "Name"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- AssetType: {},
- CreatedAt: { shape: "Sa" },
- Description: {},
- Id: {},
- Name: {},
- Origin: {},
- OriginDetails: { shape: "Sd" },
- SourceId: {},
- Tags: { shape: "S7" },
- UpdatedAt: { shape: "Sa" },
- },
- },
- },
- CreateJob: {
- http: { requestUri: "/v1/jobs", responseCode: 201 },
- input: {
- type: "structure",
- members: {
- Details: {
- type: "structure",
- members: {
- ExportAssetToSignedUrl: {
- type: "structure",
- members: { AssetId: {}, DataSetId: {}, RevisionId: {} },
- required: ["DataSetId", "AssetId", "RevisionId"],
- },
- ExportAssetsToS3: {
- type: "structure",
- members: {
- AssetDestinations: { shape: "Si" },
- DataSetId: {},
- RevisionId: {},
- },
- required: [
- "AssetDestinations",
- "DataSetId",
- "RevisionId",
- ],
- },
- ImportAssetFromSignedUrl: {
- type: "structure",
- members: {
- AssetName: {},
- DataSetId: {},
- Md5Hash: {},
- RevisionId: {},
- },
- required: [
- "DataSetId",
- "Md5Hash",
- "RevisionId",
- "AssetName",
- ],
- },
- ImportAssetsFromS3: {
- type: "structure",
- members: {
- AssetSources: { shape: "So" },
- DataSetId: {},
- RevisionId: {},
- },
- required: ["DataSetId", "AssetSources", "RevisionId"],
- },
- },
- },
- Type: {},
- },
- required: ["Type", "Details"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreatedAt: { shape: "Sa" },
- Details: { shape: "Ss" },
- Errors: { shape: "Sx" },
- Id: {},
- State: {},
- Type: {},
- UpdatedAt: { shape: "Sa" },
- },
- },
- },
- CreateRevision: {
- http: {
- requestUri: "/v1/data-sets/{DataSetId}/revisions",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- Comment: {},
- DataSetId: { location: "uri", locationName: "DataSetId" },
- Tags: { shape: "S7" },
- },
- required: ["DataSetId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- Comment: {},
- CreatedAt: { shape: "Sa" },
- DataSetId: {},
- Finalized: { type: "boolean" },
- Id: {},
- SourceId: {},
- Tags: { shape: "S7" },
- UpdatedAt: { shape: "Sa" },
- },
- },
- },
- DeleteAsset: {
- http: {
- method: "DELETE",
- requestUri:
- "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- AssetId: { location: "uri", locationName: "AssetId" },
- DataSetId: { location: "uri", locationName: "DataSetId" },
- RevisionId: { location: "uri", locationName: "RevisionId" },
- },
- required: ["RevisionId", "AssetId", "DataSetId"],
- },
- },
- DeleteDataSet: {
- http: {
- method: "DELETE",
- requestUri: "/v1/data-sets/{DataSetId}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- DataSetId: { location: "uri", locationName: "DataSetId" },
- },
- required: ["DataSetId"],
- },
- },
- DeleteRevision: {
- http: {
- method: "DELETE",
- requestUri: "/v1/data-sets/{DataSetId}/revisions/{RevisionId}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- DataSetId: { location: "uri", locationName: "DataSetId" },
- RevisionId: { location: "uri", locationName: "RevisionId" },
- },
- required: ["RevisionId", "DataSetId"],
- },
- },
- GetAsset: {
- http: {
- method: "GET",
- requestUri:
- "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AssetId: { location: "uri", locationName: "AssetId" },
- DataSetId: { location: "uri", locationName: "DataSetId" },
- RevisionId: { location: "uri", locationName: "RevisionId" },
- },
- required: ["RevisionId", "AssetId", "DataSetId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- AssetDetails: { shape: "S1f" },
- AssetType: {},
- CreatedAt: { shape: "Sa" },
- DataSetId: {},
- Id: {},
- Name: {},
- RevisionId: {},
- SourceId: {},
- UpdatedAt: { shape: "Sa" },
- },
- },
- },
- GetDataSet: {
- http: {
- method: "GET",
- requestUri: "/v1/data-sets/{DataSetId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DataSetId: { location: "uri", locationName: "DataSetId" },
- },
- required: ["DataSetId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- AssetType: {},
- CreatedAt: { shape: "Sa" },
- Description: {},
- Id: {},
- Name: {},
- Origin: {},
- OriginDetails: { shape: "Sd" },
- SourceId: {},
- Tags: { shape: "S7" },
- UpdatedAt: { shape: "Sa" },
- },
- },
- },
- GetJob: {
- http: {
- method: "GET",
- requestUri: "/v1/jobs/{JobId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: { JobId: { location: "uri", locationName: "JobId" } },
- required: ["JobId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreatedAt: { shape: "Sa" },
- Details: { shape: "Ss" },
- Errors: { shape: "Sx" },
- Id: {},
- State: {},
- Type: {},
- UpdatedAt: { shape: "Sa" },
- },
- },
- },
- GetRevision: {
- http: {
- method: "GET",
- requestUri: "/v1/data-sets/{DataSetId}/revisions/{RevisionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DataSetId: { location: "uri", locationName: "DataSetId" },
- RevisionId: { location: "uri", locationName: "RevisionId" },
- },
- required: ["RevisionId", "DataSetId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- Comment: {},
- CreatedAt: { shape: "Sa" },
- DataSetId: {},
- Finalized: { type: "boolean" },
- Id: {},
- SourceId: {},
- Tags: { shape: "S7" },
- UpdatedAt: { shape: "Sa" },
- },
- },
- },
- ListDataSetRevisions: {
- http: {
- method: "GET",
- requestUri: "/v1/data-sets/{DataSetId}/revisions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DataSetId: { location: "uri", locationName: "DataSetId" },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- required: ["DataSetId"],
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- Revisions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- Comment: {},
- CreatedAt: { shape: "Sa" },
- DataSetId: {},
- Finalized: { type: "boolean" },
- Id: {},
- SourceId: {},
- UpdatedAt: { shape: "Sa" },
- },
- required: [
- "CreatedAt",
- "DataSetId",
- "Id",
- "Arn",
- "UpdatedAt",
- ],
- },
- },
- },
- },
- },
- ListDataSets: {
- http: {
- method: "GET",
- requestUri: "/v1/data-sets",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- Origin: { location: "querystring", locationName: "origin" },
- },
- },
- output: {
- type: "structure",
- members: {
- DataSets: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- AssetType: {},
- CreatedAt: { shape: "Sa" },
- Description: {},
- Id: {},
- Name: {},
- Origin: {},
- OriginDetails: { shape: "Sd" },
- SourceId: {},
- UpdatedAt: { shape: "Sa" },
- },
- required: [
- "Origin",
- "AssetType",
- "Description",
- "CreatedAt",
- "Id",
- "Arn",
- "UpdatedAt",
- "Name",
- ],
- },
- },
- NextToken: {},
- },
- },
- },
- ListJobs: {
- http: { method: "GET", requestUri: "/v1/jobs", responseCode: 200 },
- input: {
- type: "structure",
- members: {
- DataSetId: {
- location: "querystring",
- locationName: "dataSetId",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- RevisionId: {
- location: "querystring",
- locationName: "revisionId",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Jobs: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- CreatedAt: { shape: "Sa" },
- Details: { shape: "Ss" },
- Errors: { shape: "Sx" },
- Id: {},
- State: {},
- Type: {},
- UpdatedAt: { shape: "Sa" },
- },
- required: [
- "Type",
- "Details",
- "State",
- "CreatedAt",
- "Id",
- "Arn",
- "UpdatedAt",
- ],
- },
- },
- NextToken: {},
- },
- },
- },
- ListRevisionAssets: {
- http: {
- method: "GET",
- requestUri:
- "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DataSetId: { location: "uri", locationName: "DataSetId" },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- RevisionId: { location: "uri", locationName: "RevisionId" },
- },
- required: ["RevisionId", "DataSetId"],
- },
- output: {
- type: "structure",
- members: {
- Assets: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- AssetDetails: { shape: "S1f" },
- AssetType: {},
- CreatedAt: { shape: "Sa" },
- DataSetId: {},
- Id: {},
- Name: {},
- RevisionId: {},
- SourceId: {},
- UpdatedAt: { shape: "Sa" },
- },
- required: [
- "AssetType",
- "CreatedAt",
- "DataSetId",
- "Id",
- "Arn",
- "AssetDetails",
- "UpdatedAt",
- "RevisionId",
- "Name",
- ],
- },
- },
- NextToken: {},
- },
- },
- },
- ListTagsForResource: {
- http: {
- method: "GET",
- requestUri: "/tags/{resource-arn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- },
- required: ["ResourceArn"],
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "S7", locationName: "tags" } },
- },
- },
- StartJob: {
- http: {
- method: "PATCH",
- requestUri: "/v1/jobs/{JobId}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: { JobId: { location: "uri", locationName: "JobId" } },
- required: ["JobId"],
- },
- output: { type: "structure", members: {} },
- },
- TagResource: {
- http: { requestUri: "/tags/{resource-arn}", responseCode: 204 },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- Tags: { shape: "S7", locationName: "tags" },
- },
- required: ["ResourceArn", "Tags"],
- },
- },
- UntagResource: {
- http: {
- method: "DELETE",
- requestUri: "/tags/{resource-arn}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- TagKeys: {
- location: "querystring",
- locationName: "tagKeys",
- type: "list",
- member: {},
- },
- },
- required: ["TagKeys", "ResourceArn"],
- },
- },
- UpdateAsset: {
- http: {
- method: "PATCH",
- requestUri:
- "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AssetId: { location: "uri", locationName: "AssetId" },
- DataSetId: { location: "uri", locationName: "DataSetId" },
- Name: {},
- RevisionId: { location: "uri", locationName: "RevisionId" },
- },
- required: ["RevisionId", "AssetId", "DataSetId", "Name"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- AssetDetails: { shape: "S1f" },
- AssetType: {},
- CreatedAt: { shape: "Sa" },
- DataSetId: {},
- Id: {},
- Name: {},
- RevisionId: {},
- SourceId: {},
- UpdatedAt: { shape: "Sa" },
- },
- },
- },
- UpdateDataSet: {
- http: {
- method: "PATCH",
- requestUri: "/v1/data-sets/{DataSetId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DataSetId: { location: "uri", locationName: "DataSetId" },
- Description: {},
- Name: {},
- },
- required: ["DataSetId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- AssetType: {},
- CreatedAt: { shape: "Sa" },
- Description: {},
- Id: {},
- Name: {},
- Origin: {},
- OriginDetails: { shape: "Sd" },
- SourceId: {},
- UpdatedAt: { shape: "Sa" },
- },
- },
- },
- UpdateRevision: {
- http: {
- method: "PATCH",
- requestUri: "/v1/data-sets/{DataSetId}/revisions/{RevisionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Comment: {},
- DataSetId: { location: "uri", locationName: "DataSetId" },
- Finalized: { type: "boolean" },
- RevisionId: { location: "uri", locationName: "RevisionId" },
- },
- required: ["RevisionId", "DataSetId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- Comment: {},
- CreatedAt: { shape: "Sa" },
- DataSetId: {},
- Finalized: { type: "boolean" },
- Id: {},
- SourceId: {},
- UpdatedAt: { shape: "Sa" },
- },
- },
- },
- },
- shapes: {
- S7: { type: "map", key: {}, value: {} },
- Sa: { type: "timestamp", timestampFormat: "iso8601" },
- Sd: {
- type: "structure",
- members: { ProductId: {} },
- required: ["ProductId"],
- },
- Si: {
- type: "list",
- member: {
- type: "structure",
- members: { AssetId: {}, Bucket: {}, Key: {} },
- required: ["Bucket", "AssetId"],
- },
- },
- So: {
- type: "list",
- member: {
- type: "structure",
- members: { Bucket: {}, Key: {} },
- required: ["Bucket", "Key"],
- },
- },
- Ss: {
- type: "structure",
- members: {
- ExportAssetToSignedUrl: {
- type: "structure",
- members: {
- AssetId: {},
- DataSetId: {},
- RevisionId: {},
- SignedUrl: {},
- SignedUrlExpiresAt: { shape: "Sa" },
- },
- required: ["DataSetId", "AssetId", "RevisionId"],
- },
- ExportAssetsToS3: {
- type: "structure",
- members: {
- AssetDestinations: { shape: "Si" },
- DataSetId: {},
- RevisionId: {},
- },
- required: ["AssetDestinations", "DataSetId", "RevisionId"],
- },
- ImportAssetFromSignedUrl: {
- type: "structure",
- members: {
- AssetName: {},
- DataSetId: {},
- Md5Hash: {},
- RevisionId: {},
- SignedUrl: {},
- SignedUrlExpiresAt: { shape: "Sa" },
- },
- required: ["DataSetId", "AssetName", "RevisionId"],
- },
- ImportAssetsFromS3: {
- type: "structure",
- members: {
- AssetSources: { shape: "So" },
- DataSetId: {},
- RevisionId: {},
- },
- required: ["DataSetId", "AssetSources", "RevisionId"],
- },
- },
- },
- Sx: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Code: {},
- Details: {
- type: "structure",
- members: {
- ImportAssetFromSignedUrlJobErrorDetails: {
- type: "structure",
- members: { AssetName: {} },
- required: ["AssetName"],
- },
- ImportAssetsFromS3JobErrorDetails: { shape: "So" },
- },
- },
- LimitName: {},
- LimitValue: { type: "double" },
- Message: {},
- ResourceId: {},
- ResourceType: {},
- },
- required: ["Message", "Code"],
- },
- },
- S1f: {
- type: "structure",
- members: {
- S3SnapshotAsset: {
- type: "structure",
- members: { Size: { type: "double" } },
- required: ["Size"],
- },
- },
- },
- },
- authorizers: {
- create_job_authorizer: {
- name: "create_job_authorizer",
- type: "provided",
- placement: { location: "header", name: "Authorization" },
- },
- start_cancel_get_job_authorizer: {
- name: "start_cancel_get_job_authorizer",
- type: "provided",
- placement: { location: "header", name: "Authorization" },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1220: /***/ function (module) {
- module.exports = {
- pagination: {
- GetEffectivePermissionsForPath: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListPermissions: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListResources: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1250: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(7040);
- model.paginators = __webpack_require__(3413).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.WorkLink;
-
- /***/
- },
-
- /***/ 1256: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-07-26",
- endpointPrefix: "email",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "Pinpoint Email",
- serviceFullName: "Amazon Pinpoint Email Service",
- serviceId: "Pinpoint Email",
- signatureVersion: "v4",
- signingName: "ses",
- uid: "pinpoint-email-2018-07-26",
- },
- operations: {
- CreateConfigurationSet: {
- http: { requestUri: "/v1/email/configuration-sets" },
- input: {
- type: "structure",
- required: ["ConfigurationSetName"],
- members: {
- ConfigurationSetName: {},
- TrackingOptions: { shape: "S3" },
- DeliveryOptions: { shape: "S5" },
- ReputationOptions: { shape: "S8" },
- SendingOptions: { shape: "Sb" },
- Tags: { shape: "Sc" },
- },
- },
- output: { type: "structure", members: {} },
- },
- CreateConfigurationSetEventDestination: {
- http: {
- requestUri:
- "/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations",
- },
- input: {
- type: "structure",
- required: [
- "ConfigurationSetName",
- "EventDestinationName",
- "EventDestination",
- ],
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- EventDestinationName: {},
- EventDestination: { shape: "Sj" },
- },
- },
- output: { type: "structure", members: {} },
- },
- CreateDedicatedIpPool: {
- http: { requestUri: "/v1/email/dedicated-ip-pools" },
- input: {
- type: "structure",
- required: ["PoolName"],
- members: { PoolName: {}, Tags: { shape: "Sc" } },
- },
- output: { type: "structure", members: {} },
- },
- CreateDeliverabilityTestReport: {
- http: { requestUri: "/v1/email/deliverability-dashboard/test" },
- input: {
- type: "structure",
- required: ["FromEmailAddress", "Content"],
- members: {
- ReportName: {},
- FromEmailAddress: {},
- Content: { shape: "S12" },
- Tags: { shape: "Sc" },
- },
- },
- output: {
- type: "structure",
- required: ["ReportId", "DeliverabilityTestStatus"],
- members: { ReportId: {}, DeliverabilityTestStatus: {} },
- },
- },
- CreateEmailIdentity: {
- http: { requestUri: "/v1/email/identities" },
- input: {
- type: "structure",
- required: ["EmailIdentity"],
- members: { EmailIdentity: {}, Tags: { shape: "Sc" } },
- },
- output: {
- type: "structure",
- members: {
- IdentityType: {},
- VerifiedForSendingStatus: { type: "boolean" },
- DkimAttributes: { shape: "S1k" },
- },
- },
- },
- DeleteConfigurationSet: {
- http: {
- method: "DELETE",
- requestUri: "/v1/email/configuration-sets/{ConfigurationSetName}",
- },
- input: {
- type: "structure",
- required: ["ConfigurationSetName"],
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteConfigurationSetEventDestination: {
- http: {
- method: "DELETE",
- requestUri:
- "/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
- },
- input: {
- type: "structure",
- required: ["ConfigurationSetName", "EventDestinationName"],
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- EventDestinationName: {
- location: "uri",
- locationName: "EventDestinationName",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteDedicatedIpPool: {
- http: {
- method: "DELETE",
- requestUri: "/v1/email/dedicated-ip-pools/{PoolName}",
- },
- input: {
- type: "structure",
- required: ["PoolName"],
- members: {
- PoolName: { location: "uri", locationName: "PoolName" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteEmailIdentity: {
- http: {
- method: "DELETE",
- requestUri: "/v1/email/identities/{EmailIdentity}",
- },
- input: {
- type: "structure",
- required: ["EmailIdentity"],
- members: {
- EmailIdentity: {
- location: "uri",
- locationName: "EmailIdentity",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- GetAccount: {
- http: { method: "GET", requestUri: "/v1/email/account" },
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: {
- SendQuota: {
- type: "structure",
- members: {
- Max24HourSend: { type: "double" },
- MaxSendRate: { type: "double" },
- SentLast24Hours: { type: "double" },
- },
- },
- SendingEnabled: { type: "boolean" },
- DedicatedIpAutoWarmupEnabled: { type: "boolean" },
- EnforcementStatus: {},
- ProductionAccessEnabled: { type: "boolean" },
- },
- },
- },
- GetBlacklistReports: {
- http: {
- method: "GET",
- requestUri: "/v1/email/deliverability-dashboard/blacklist-report",
- },
- input: {
- type: "structure",
- required: ["BlacklistItemNames"],
- members: {
- BlacklistItemNames: {
- location: "querystring",
- locationName: "BlacklistItemNames",
- type: "list",
- member: {},
- },
- },
- },
- output: {
- type: "structure",
- required: ["BlacklistReport"],
- members: {
- BlacklistReport: {
- type: "map",
- key: {},
- value: {
- type: "list",
- member: {
- type: "structure",
- members: {
- RblName: {},
- ListingTime: { type: "timestamp" },
- Description: {},
- },
- },
- },
- },
- },
- },
- },
- GetConfigurationSet: {
- http: {
- method: "GET",
- requestUri: "/v1/email/configuration-sets/{ConfigurationSetName}",
- },
- input: {
- type: "structure",
- required: ["ConfigurationSetName"],
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- ConfigurationSetName: {},
- TrackingOptions: { shape: "S3" },
- DeliveryOptions: { shape: "S5" },
- ReputationOptions: { shape: "S8" },
- SendingOptions: { shape: "Sb" },
- Tags: { shape: "Sc" },
- },
- },
- },
- GetConfigurationSetEventDestinations: {
- http: {
- method: "GET",
- requestUri:
- "/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations",
- },
- input: {
- type: "structure",
- required: ["ConfigurationSetName"],
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- EventDestinations: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "MatchingEventTypes"],
- members: {
- Name: {},
- Enabled: { type: "boolean" },
- MatchingEventTypes: { shape: "Sk" },
- KinesisFirehoseDestination: { shape: "Sm" },
- CloudWatchDestination: { shape: "So" },
- SnsDestination: { shape: "Su" },
- PinpointDestination: { shape: "Sv" },
- },
- },
- },
- },
- },
- },
- GetDedicatedIp: {
- http: { method: "GET", requestUri: "/v1/email/dedicated-ips/{IP}" },
- input: {
- type: "structure",
- required: ["Ip"],
- members: { Ip: { location: "uri", locationName: "IP" } },
- },
- output: {
- type: "structure",
- members: { DedicatedIp: { shape: "S2m" } },
- },
- },
- GetDedicatedIps: {
- http: { method: "GET", requestUri: "/v1/email/dedicated-ips" },
- input: {
- type: "structure",
- members: {
- PoolName: { location: "querystring", locationName: "PoolName" },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- PageSize: {
- location: "querystring",
- locationName: "PageSize",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- DedicatedIps: { type: "list", member: { shape: "S2m" } },
- NextToken: {},
- },
- },
- },
- GetDeliverabilityDashboardOptions: {
- http: {
- method: "GET",
- requestUri: "/v1/email/deliverability-dashboard",
- },
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- required: ["DashboardEnabled"],
- members: {
- DashboardEnabled: { type: "boolean" },
- SubscriptionExpiryDate: { type: "timestamp" },
- AccountStatus: {},
- ActiveSubscribedDomains: { shape: "S2x" },
- PendingExpirationSubscribedDomains: { shape: "S2x" },
- },
- },
- },
- GetDeliverabilityTestReport: {
- http: {
- method: "GET",
- requestUri:
- "/v1/email/deliverability-dashboard/test-reports/{ReportId}",
- },
- input: {
- type: "structure",
- required: ["ReportId"],
- members: {
- ReportId: { location: "uri", locationName: "ReportId" },
- },
- },
- output: {
- type: "structure",
- required: [
- "DeliverabilityTestReport",
- "OverallPlacement",
- "IspPlacements",
- ],
- members: {
- DeliverabilityTestReport: { shape: "S35" },
- OverallPlacement: { shape: "S37" },
- IspPlacements: {
- type: "list",
- member: {
- type: "structure",
- members: {
- IspName: {},
- PlacementStatistics: { shape: "S37" },
- },
- },
- },
- Message: {},
- Tags: { shape: "Sc" },
- },
- },
- },
- GetDomainDeliverabilityCampaign: {
- http: {
- method: "GET",
- requestUri:
- "/v1/email/deliverability-dashboard/campaigns/{CampaignId}",
- },
- input: {
- type: "structure",
- required: ["CampaignId"],
- members: {
- CampaignId: { location: "uri", locationName: "CampaignId" },
- },
- },
- output: {
- type: "structure",
- required: ["DomainDeliverabilityCampaign"],
- members: { DomainDeliverabilityCampaign: { shape: "S3f" } },
- },
- },
- GetDomainStatisticsReport: {
- http: {
- method: "GET",
- requestUri:
- "/v1/email/deliverability-dashboard/statistics-report/{Domain}",
- },
- input: {
- type: "structure",
- required: ["Domain", "StartDate", "EndDate"],
- members: {
- Domain: { location: "uri", locationName: "Domain" },
- StartDate: {
- location: "querystring",
- locationName: "StartDate",
- type: "timestamp",
- },
- EndDate: {
- location: "querystring",
- locationName: "EndDate",
- type: "timestamp",
- },
- },
- },
- output: {
- type: "structure",
- required: ["OverallVolume", "DailyVolumes"],
- members: {
- OverallVolume: {
- type: "structure",
- members: {
- VolumeStatistics: { shape: "S3p" },
- ReadRatePercent: { type: "double" },
- DomainIspPlacements: { shape: "S3q" },
- },
- },
- DailyVolumes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- StartDate: { type: "timestamp" },
- VolumeStatistics: { shape: "S3p" },
- DomainIspPlacements: { shape: "S3q" },
- },
- },
- },
- },
- },
- },
- GetEmailIdentity: {
- http: {
- method: "GET",
- requestUri: "/v1/email/identities/{EmailIdentity}",
- },
- input: {
- type: "structure",
- required: ["EmailIdentity"],
- members: {
- EmailIdentity: {
- location: "uri",
- locationName: "EmailIdentity",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- IdentityType: {},
- FeedbackForwardingStatus: { type: "boolean" },
- VerifiedForSendingStatus: { type: "boolean" },
- DkimAttributes: { shape: "S1k" },
- MailFromAttributes: {
- type: "structure",
- required: [
- "MailFromDomain",
- "MailFromDomainStatus",
- "BehaviorOnMxFailure",
- ],
- members: {
- MailFromDomain: {},
- MailFromDomainStatus: {},
- BehaviorOnMxFailure: {},
- },
- },
- Tags: { shape: "Sc" },
- },
- },
- },
- ListConfigurationSets: {
- http: { method: "GET", requestUri: "/v1/email/configuration-sets" },
- input: {
- type: "structure",
- members: {
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- PageSize: {
- location: "querystring",
- locationName: "PageSize",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- ConfigurationSets: { type: "list", member: {} },
- NextToken: {},
- },
- },
- },
- ListDedicatedIpPools: {
- http: { method: "GET", requestUri: "/v1/email/dedicated-ip-pools" },
- input: {
- type: "structure",
- members: {
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- PageSize: {
- location: "querystring",
- locationName: "PageSize",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- DedicatedIpPools: { type: "list", member: {} },
- NextToken: {},
- },
- },
- },
- ListDeliverabilityTestReports: {
- http: {
- method: "GET",
- requestUri: "/v1/email/deliverability-dashboard/test-reports",
- },
- input: {
- type: "structure",
- members: {
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- PageSize: {
- location: "querystring",
- locationName: "PageSize",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- required: ["DeliverabilityTestReports"],
- members: {
- DeliverabilityTestReports: {
- type: "list",
- member: { shape: "S35" },
- },
- NextToken: {},
- },
- },
- },
- ListDomainDeliverabilityCampaigns: {
- http: {
- method: "GET",
- requestUri:
- "/v1/email/deliverability-dashboard/domains/{SubscribedDomain}/campaigns",
- },
- input: {
- type: "structure",
- required: ["StartDate", "EndDate", "SubscribedDomain"],
- members: {
- StartDate: {
- location: "querystring",
- locationName: "StartDate",
- type: "timestamp",
- },
- EndDate: {
- location: "querystring",
- locationName: "EndDate",
- type: "timestamp",
- },
- SubscribedDomain: {
- location: "uri",
- locationName: "SubscribedDomain",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- PageSize: {
- location: "querystring",
- locationName: "PageSize",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- required: ["DomainDeliverabilityCampaigns"],
- members: {
- DomainDeliverabilityCampaigns: {
- type: "list",
- member: { shape: "S3f" },
- },
- NextToken: {},
- },
- },
- },
- ListEmailIdentities: {
- http: { method: "GET", requestUri: "/v1/email/identities" },
- input: {
- type: "structure",
- members: {
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- PageSize: {
- location: "querystring",
- locationName: "PageSize",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- EmailIdentities: {
- type: "list",
- member: {
- type: "structure",
- members: {
- IdentityType: {},
- IdentityName: {},
- SendingEnabled: { type: "boolean" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListTagsForResource: {
- http: { method: "GET", requestUri: "/v1/email/tags" },
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: {
- ResourceArn: {
- location: "querystring",
- locationName: "ResourceArn",
- },
- },
- },
- output: {
- type: "structure",
- required: ["Tags"],
- members: { Tags: { shape: "Sc" } },
- },
- },
- PutAccountDedicatedIpWarmupAttributes: {
- http: {
- method: "PUT",
- requestUri: "/v1/email/account/dedicated-ips/warmup",
- },
- input: {
- type: "structure",
- members: { AutoWarmupEnabled: { type: "boolean" } },
- },
- output: { type: "structure", members: {} },
- },
- PutAccountSendingAttributes: {
- http: { method: "PUT", requestUri: "/v1/email/account/sending" },
- input: {
- type: "structure",
- members: { SendingEnabled: { type: "boolean" } },
- },
- output: { type: "structure", members: {} },
- },
- PutConfigurationSetDeliveryOptions: {
- http: {
- method: "PUT",
- requestUri:
- "/v1/email/configuration-sets/{ConfigurationSetName}/delivery-options",
- },
- input: {
- type: "structure",
- required: ["ConfigurationSetName"],
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- TlsPolicy: {},
- SendingPoolName: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- PutConfigurationSetReputationOptions: {
- http: {
- method: "PUT",
- requestUri:
- "/v1/email/configuration-sets/{ConfigurationSetName}/reputation-options",
- },
- input: {
- type: "structure",
- required: ["ConfigurationSetName"],
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- ReputationMetricsEnabled: { type: "boolean" },
- },
- },
- output: { type: "structure", members: {} },
- },
- PutConfigurationSetSendingOptions: {
- http: {
- method: "PUT",
- requestUri:
- "/v1/email/configuration-sets/{ConfigurationSetName}/sending",
- },
- input: {
- type: "structure",
- required: ["ConfigurationSetName"],
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- SendingEnabled: { type: "boolean" },
- },
- },
- output: { type: "structure", members: {} },
- },
- PutConfigurationSetTrackingOptions: {
- http: {
- method: "PUT",
- requestUri:
- "/v1/email/configuration-sets/{ConfigurationSetName}/tracking-options",
- },
- input: {
- type: "structure",
- required: ["ConfigurationSetName"],
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- CustomRedirectDomain: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- PutDedicatedIpInPool: {
- http: {
- method: "PUT",
- requestUri: "/v1/email/dedicated-ips/{IP}/pool",
- },
- input: {
- type: "structure",
- required: ["Ip", "DestinationPoolName"],
- members: {
- Ip: { location: "uri", locationName: "IP" },
- DestinationPoolName: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- PutDedicatedIpWarmupAttributes: {
- http: {
- method: "PUT",
- requestUri: "/v1/email/dedicated-ips/{IP}/warmup",
- },
- input: {
- type: "structure",
- required: ["Ip", "WarmupPercentage"],
- members: {
- Ip: { location: "uri", locationName: "IP" },
- WarmupPercentage: { type: "integer" },
- },
- },
- output: { type: "structure", members: {} },
- },
- PutDeliverabilityDashboardOption: {
- http: {
- method: "PUT",
- requestUri: "/v1/email/deliverability-dashboard",
- },
- input: {
- type: "structure",
- required: ["DashboardEnabled"],
- members: {
- DashboardEnabled: { type: "boolean" },
- SubscribedDomains: { shape: "S2x" },
- },
- },
- output: { type: "structure", members: {} },
- },
- PutEmailIdentityDkimAttributes: {
- http: {
- method: "PUT",
- requestUri: "/v1/email/identities/{EmailIdentity}/dkim",
- },
- input: {
- type: "structure",
- required: ["EmailIdentity"],
- members: {
- EmailIdentity: {
- location: "uri",
- locationName: "EmailIdentity",
- },
- SigningEnabled: { type: "boolean" },
- },
- },
- output: { type: "structure", members: {} },
- },
- PutEmailIdentityFeedbackAttributes: {
- http: {
- method: "PUT",
- requestUri: "/v1/email/identities/{EmailIdentity}/feedback",
- },
- input: {
- type: "structure",
- required: ["EmailIdentity"],
- members: {
- EmailIdentity: {
- location: "uri",
- locationName: "EmailIdentity",
- },
- EmailForwardingEnabled: { type: "boolean" },
- },
- },
- output: { type: "structure", members: {} },
- },
- PutEmailIdentityMailFromAttributes: {
- http: {
- method: "PUT",
- requestUri: "/v1/email/identities/{EmailIdentity}/mail-from",
- },
- input: {
- type: "structure",
- required: ["EmailIdentity"],
- members: {
- EmailIdentity: {
- location: "uri",
- locationName: "EmailIdentity",
- },
- MailFromDomain: {},
- BehaviorOnMxFailure: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- SendEmail: {
- http: { requestUri: "/v1/email/outbound-emails" },
- input: {
- type: "structure",
- required: ["Destination", "Content"],
- members: {
- FromEmailAddress: {},
- Destination: {
- type: "structure",
- members: {
- ToAddresses: { shape: "S59" },
- CcAddresses: { shape: "S59" },
- BccAddresses: { shape: "S59" },
- },
- },
- ReplyToAddresses: { shape: "S59" },
- FeedbackForwardingEmailAddress: {},
- Content: { shape: "S12" },
- EmailTags: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Value"],
- members: { Name: {}, Value: {} },
- },
- },
- ConfigurationSetName: {},
- },
- },
- output: { type: "structure", members: { MessageId: {} } },
- },
- TagResource: {
- http: { requestUri: "/v1/email/tags" },
- input: {
- type: "structure",
- required: ["ResourceArn", "Tags"],
- members: { ResourceArn: {}, Tags: { shape: "Sc" } },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- http: { method: "DELETE", requestUri: "/v1/email/tags" },
- input: {
- type: "structure",
- required: ["ResourceArn", "TagKeys"],
- members: {
- ResourceArn: {
- location: "querystring",
- locationName: "ResourceArn",
- },
- TagKeys: {
- location: "querystring",
- locationName: "TagKeys",
- type: "list",
- member: {},
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateConfigurationSetEventDestination: {
- http: {
- method: "PUT",
- requestUri:
- "/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
- },
- input: {
- type: "structure",
- required: [
- "ConfigurationSetName",
- "EventDestinationName",
- "EventDestination",
- ],
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- EventDestinationName: {
- location: "uri",
- locationName: "EventDestinationName",
- },
- EventDestination: { shape: "Sj" },
- },
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S3: {
- type: "structure",
- required: ["CustomRedirectDomain"],
- members: { CustomRedirectDomain: {} },
- },
- S5: {
- type: "structure",
- members: { TlsPolicy: {}, SendingPoolName: {} },
- },
- S8: {
- type: "structure",
- members: {
- ReputationMetricsEnabled: { type: "boolean" },
- LastFreshStart: { type: "timestamp" },
- },
- },
- Sb: {
- type: "structure",
- members: { SendingEnabled: { type: "boolean" } },
- },
- Sc: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- Sj: {
- type: "structure",
- members: {
- Enabled: { type: "boolean" },
- MatchingEventTypes: { shape: "Sk" },
- KinesisFirehoseDestination: { shape: "Sm" },
- CloudWatchDestination: { shape: "So" },
- SnsDestination: { shape: "Su" },
- PinpointDestination: { shape: "Sv" },
- },
- },
- Sk: { type: "list", member: {} },
- Sm: {
- type: "structure",
- required: ["IamRoleArn", "DeliveryStreamArn"],
- members: { IamRoleArn: {}, DeliveryStreamArn: {} },
- },
- So: {
- type: "structure",
- required: ["DimensionConfigurations"],
- members: {
- DimensionConfigurations: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "DimensionName",
- "DimensionValueSource",
- "DefaultDimensionValue",
- ],
- members: {
- DimensionName: {},
- DimensionValueSource: {},
- DefaultDimensionValue: {},
- },
- },
- },
- },
- },
- Su: {
- type: "structure",
- required: ["TopicArn"],
- members: { TopicArn: {} },
- },
- Sv: { type: "structure", members: { ApplicationArn: {} } },
- S12: {
- type: "structure",
- members: {
- Simple: {
- type: "structure",
- required: ["Subject", "Body"],
- members: {
- Subject: { shape: "S14" },
- Body: {
- type: "structure",
- members: { Text: { shape: "S14" }, Html: { shape: "S14" } },
- },
- },
- },
- Raw: {
- type: "structure",
- required: ["Data"],
- members: { Data: { type: "blob" } },
- },
- Template: {
- type: "structure",
- members: { TemplateArn: {}, TemplateData: {} },
- },
- },
- },
- S14: {
- type: "structure",
- required: ["Data"],
- members: { Data: {}, Charset: {} },
- },
- S1k: {
- type: "structure",
- members: {
- SigningEnabled: { type: "boolean" },
- Status: {},
- Tokens: { type: "list", member: {} },
- },
- },
- S2m: {
- type: "structure",
- required: ["Ip", "WarmupStatus", "WarmupPercentage"],
- members: {
- Ip: {},
- WarmupStatus: {},
- WarmupPercentage: { type: "integer" },
- PoolName: {},
- },
- },
- S2x: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Domain: {},
- SubscriptionStartDate: { type: "timestamp" },
- InboxPlacementTrackingOption: {
- type: "structure",
- members: {
- Global: { type: "boolean" },
- TrackedIsps: { type: "list", member: {} },
- },
- },
- },
- },
- },
- S35: {
- type: "structure",
- members: {
- ReportId: {},
- ReportName: {},
- Subject: {},
- FromEmailAddress: {},
- CreateDate: { type: "timestamp" },
- DeliverabilityTestStatus: {},
- },
- },
- S37: {
- type: "structure",
- members: {
- InboxPercentage: { type: "double" },
- SpamPercentage: { type: "double" },
- MissingPercentage: { type: "double" },
- SpfPercentage: { type: "double" },
- DkimPercentage: { type: "double" },
- },
- },
- S3f: {
- type: "structure",
- members: {
- CampaignId: {},
- ImageUrl: {},
- Subject: {},
- FromAddress: {},
- SendingIps: { type: "list", member: {} },
- FirstSeenDateTime: { type: "timestamp" },
- LastSeenDateTime: { type: "timestamp" },
- InboxCount: { type: "long" },
- SpamCount: { type: "long" },
- ReadRate: { type: "double" },
- DeleteRate: { type: "double" },
- ReadDeleteRate: { type: "double" },
- ProjectedVolume: { type: "long" },
- Esps: { type: "list", member: {} },
- },
- },
- S3p: {
- type: "structure",
- members: {
- InboxRawCount: { type: "long" },
- SpamRawCount: { type: "long" },
- ProjectedInbox: { type: "long" },
- ProjectedSpam: { type: "long" },
- },
- },
- S3q: {
- type: "list",
- member: {
- type: "structure",
- members: {
- IspName: {},
- InboxRawCount: { type: "long" },
- SpamRawCount: { type: "long" },
- InboxPercentage: { type: "double" },
- SpamPercentage: { type: "double" },
- },
- },
- },
- S59: { type: "list", member: {} },
- },
- };
-
- /***/
- },
-
- /***/ 1273: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- CertificateAuthorityCSRCreated: {
- description: "Wait until a Certificate Authority CSR is created",
- operation: "GetCertificateAuthorityCsr",
- delay: 3,
- maxAttempts: 60,
- acceptors: [
- { state: "success", matcher: "status", expected: 200 },
- {
- state: "retry",
- matcher: "error",
- expected: "RequestInProgressException",
- },
- ],
- },
- CertificateIssued: {
- description: "Wait until a certificate is issued",
- operation: "GetCertificate",
- delay: 3,
- maxAttempts: 60,
- acceptors: [
- { state: "success", matcher: "status", expected: 200 },
- {
- state: "retry",
- matcher: "error",
- expected: "RequestInProgressException",
- },
- ],
- },
- AuditReportCreated: {
- description: "Wait until a Audit Report is created",
- operation: "DescribeCertificateAuthorityAuditReport",
- delay: 3,
- maxAttempts: 60,
- acceptors: [
- {
- state: "success",
- matcher: "path",
- argument: "AuditReportStatus",
- expected: "SUCCESS",
- },
- {
- state: "failure",
- matcher: "path",
- argument: "AuditReportStatus",
- expected: "FAILED",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 1275: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(2304);
- model.paginators = __webpack_require__(1957).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Kafka;
-
- /***/
- },
-
- /***/ 1283: /***/ function (module) {
- module.exports = {
- pagination: {
- GetExclusionsPreview: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListAssessmentRunAgents: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListAssessmentRuns: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListAssessmentTargets: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListAssessmentTemplates: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListEventSubscriptions: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListExclusions: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListFindings: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListRulesPackages: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- PreviewAgents: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1287: /***/ function (module) {
- module.exports = {
- pagination: {
- ListAppliedSchemaArns: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListAttachedIndices: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListDevelopmentSchemaArns: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListDirectories: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListFacetAttributes: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListFacetNames: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListIndex: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListObjectAttributes: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListObjectChildren: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListObjectParentPaths: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListObjectParents: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListObjectPolicies: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListPolicyAttachments: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListPublishedSchemaArns: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListTagsForResource: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListTypedLinkFacetAttributes: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListTypedLinkFacetNames: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- LookupPolicy: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1291: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
-
- apiLoader.services["iotdata"] = {};
- AWS.IotData = Service.defineService("iotdata", ["2015-05-28"]);
- __webpack_require__(2873);
- Object.defineProperty(apiLoader.services["iotdata"], "2015-05-28", {
- get: function get() {
- var model = __webpack_require__(1200);
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.IotData;
-
- /***/
- },
-
- /***/ 1306: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- BucketExists: {
- delay: 5,
- operation: "HeadBucket",
- maxAttempts: 20,
- acceptors: [
- { expected: 200, matcher: "status", state: "success" },
- { expected: 301, matcher: "status", state: "success" },
- { expected: 403, matcher: "status", state: "success" },
- { expected: 404, matcher: "status", state: "retry" },
- ],
- },
- BucketNotExists: {
- delay: 5,
- operation: "HeadBucket",
- maxAttempts: 20,
- acceptors: [{ expected: 404, matcher: "status", state: "success" }],
- },
- ObjectExists: {
- delay: 5,
- operation: "HeadObject",
- maxAttempts: 20,
- acceptors: [
- { expected: 200, matcher: "status", state: "success" },
- { expected: 404, matcher: "status", state: "retry" },
- ],
- },
- ObjectNotExists: {
- delay: 5,
- operation: "HeadObject",
- maxAttempts: 20,
- acceptors: [{ expected: 404, matcher: "status", state: "success" }],
- },
- },
- };
-
- /***/
- },
-
- /***/ 1318: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeDBEngineVersions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBEngineVersions",
- },
- DescribeDBInstances: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBInstances",
- },
- DescribeDBLogFiles: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DescribeDBLogFiles",
- },
- DescribeDBParameterGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBParameterGroups",
- },
- DescribeDBParameters: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "Parameters",
- },
- DescribeDBSecurityGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBSecurityGroups",
- },
- DescribeDBSnapshots: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBSnapshots",
- },
- DescribeDBSubnetGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBSubnetGroups",
- },
- DescribeEngineDefaultParameters: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "EngineDefaults.Marker",
- result_key: "EngineDefaults.Parameters",
- },
- DescribeEventSubscriptions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "EventSubscriptionsList",
- },
- DescribeEvents: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "Events",
- },
- DescribeOptionGroupOptions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "OptionGroupOptions",
- },
- DescribeOptionGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "OptionGroupsList",
- },
- DescribeOrderableDBInstanceOptions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "OrderableDBInstanceOptions",
- },
- DescribeReservedDBInstances: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "ReservedDBInstances",
- },
- DescribeReservedDBInstancesOfferings: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "ReservedDBInstancesOfferings",
- },
- DownloadDBLogFilePortion: {
- input_token: "Marker",
- limit_key: "NumberOfLines",
- more_results: "AdditionalDataPending",
- output_token: "Marker",
- result_key: "LogFileData",
- },
- ListTagsForResource: { result_key: "TagList" },
- },
- };
-
- /***/
- },
-
- /***/ 1327: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeMergeConflicts: {
- input_token: "nextToken",
- limit_key: "maxMergeHunks",
- output_token: "nextToken",
- },
- DescribePullRequestEvents: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- },
- GetCommentsForComparedCommit: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- },
- GetCommentsForPullRequest: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- },
- GetDifferences: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetMergeConflicts: {
- input_token: "nextToken",
- limit_key: "maxConflictFiles",
- output_token: "nextToken",
- },
- ListApprovalRuleTemplates: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- },
- ListAssociatedApprovalRuleTemplatesForRepository: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- },
- ListBranches: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "branches",
- },
- ListPullRequests: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- },
- ListRepositories: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "repositories",
- },
- ListRepositoriesForApprovalRuleTemplate: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1328: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- TableExists: {
- delay: 20,
- operation: "DescribeTable",
- maxAttempts: 25,
- acceptors: [
- {
- expected: "ACTIVE",
- matcher: "path",
- state: "success",
- argument: "Table.TableStatus",
- },
- {
- expected: "ResourceNotFoundException",
- matcher: "error",
- state: "retry",
- },
- ],
- },
- TableNotExists: {
- delay: 20,
- operation: "DescribeTable",
- maxAttempts: 25,
- acceptors: [
- {
- expected: "ResourceNotFoundException",
- matcher: "error",
- state: "success",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 1344: /***/ function (module) {
- module.exports = {
- pagination: {
- ListCloudFrontOriginAccessIdentities: {
- input_token: "Marker",
- limit_key: "MaxItems",
- more_results: "CloudFrontOriginAccessIdentityList.IsTruncated",
- output_token: "CloudFrontOriginAccessIdentityList.NextMarker",
- result_key: "CloudFrontOriginAccessIdentityList.Items",
- },
- ListDistributions: {
- input_token: "Marker",
- limit_key: "MaxItems",
- more_results: "DistributionList.IsTruncated",
- output_token: "DistributionList.NextMarker",
- result_key: "DistributionList.Items",
- },
- ListInvalidations: {
- input_token: "Marker",
- limit_key: "MaxItems",
- more_results: "InvalidationList.IsTruncated",
- output_token: "InvalidationList.NextMarker",
- result_key: "InvalidationList.Items",
- },
- ListStreamingDistributions: {
- input_token: "Marker",
- limit_key: "MaxItems",
- more_results: "StreamingDistributionList.IsTruncated",
- output_token: "StreamingDistributionList.NextMarker",
- result_key: "StreamingDistributionList.Items",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1348: /***/ function (module, __unusedexports, __webpack_require__) {
- "use strict";
-
- module.exports = validate;
-
- const { RequestError } = __webpack_require__(3497);
- const get = __webpack_require__(9854);
- const set = __webpack_require__(7883);
-
- function validate(octokit, options) {
- if (!options.request.validate) {
- return;
- }
- const { validate: params } = options.request;
-
- Object.keys(params).forEach((parameterName) => {
- const parameter = get(params, parameterName);
-
- const expectedType = parameter.type;
- let parentParameterName;
- let parentValue;
- let parentParamIsPresent = true;
- let parentParameterIsArray = false;
-
- if (/\./.test(parameterName)) {
- parentParameterName = parameterName.replace(/\.[^.]+$/, "");
- parentParameterIsArray = parentParameterName.slice(-2) === "[]";
- if (parentParameterIsArray) {
- parentParameterName = parentParameterName.slice(0, -2);
- }
- parentValue = get(options, parentParameterName);
- parentParamIsPresent =
- parentParameterName === "headers" ||
- (typeof parentValue === "object" && parentValue !== null);
- }
-
- const values = parentParameterIsArray
- ? (get(options, parentParameterName) || []).map(
- (value) => value[parameterName.split(/\./).pop()]
- )
- : [get(options, parameterName)];
-
- values.forEach((value, i) => {
- const valueIsPresent = typeof value !== "undefined";
- const valueIsNull = value === null;
- const currentParameterName = parentParameterIsArray
- ? parameterName.replace(/\[\]/, `[${i}]`)
- : parameterName;
-
- if (!parameter.required && !valueIsPresent) {
- return;
- }
-
- // if the parent parameter is of type object but allows null
- // then the child parameters can be ignored
- if (!parentParamIsPresent) {
- return;
- }
-
- if (parameter.allowNull && valueIsNull) {
- return;
- }
-
- if (!parameter.allowNull && valueIsNull) {
- throw new RequestError(
- `'${currentParameterName}' cannot be null`,
- 400,
- {
- request: options,
- }
- );
- }
-
- if (parameter.required && !valueIsPresent) {
- throw new RequestError(
- `Empty value for parameter '${currentParameterName}': ${JSON.stringify(
- value
- )}`,
- 400,
- {
- request: options,
- }
- );
- }
-
- // parse to integer before checking for enum
- // so that string "1" will match enum with number 1
- if (expectedType === "integer") {
- const unparsedValue = value;
- value = parseInt(value, 10);
- if (isNaN(value)) {
- throw new RequestError(
- `Invalid value for parameter '${currentParameterName}': ${JSON.stringify(
- unparsedValue
- )} is NaN`,
- 400,
- {
- request: options,
- }
- );
- }
- }
-
- if (
- parameter.enum &&
- parameter.enum.indexOf(String(value)) === -1
- ) {
- throw new RequestError(
- `Invalid value for parameter '${currentParameterName}': ${JSON.stringify(
- value
- )}`,
- 400,
- {
- request: options,
- }
- );
- }
-
- if (parameter.validation) {
- const regex = new RegExp(parameter.validation);
- if (!regex.test(value)) {
- throw new RequestError(
- `Invalid value for parameter '${currentParameterName}': ${JSON.stringify(
- value
- )}`,
- 400,
- {
- request: options,
- }
- );
- }
- }
-
- if (expectedType === "object" && typeof value === "string") {
- try {
- value = JSON.parse(value);
- } catch (exception) {
- throw new RequestError(
- `JSON parse error of value for parameter '${currentParameterName}': ${JSON.stringify(
- value
- )}`,
- 400,
- {
- request: options,
- }
- );
- }
- }
-
- set(options, parameter.mapTo || currentParameterName, value);
- });
- });
-
- return options;
- }
-
- /***/
- },
-
- /***/ 1349: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(9370);
- model.paginators = __webpack_require__(8367).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.PersonalizeRuntime;
-
- /***/
- },
-
- /***/ 1352: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2016-11-28",
- endpointPrefix: "runtime.lex",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceFullName: "Amazon Lex Runtime Service",
- serviceId: "Lex Runtime Service",
- signatureVersion: "v4",
- signingName: "lex",
- uid: "runtime.lex-2016-11-28",
- },
- operations: {
- DeleteSession: {
- http: {
- method: "DELETE",
- requestUri:
- "/bot/{botName}/alias/{botAlias}/user/{userId}/session",
- },
- input: {
- type: "structure",
- required: ["botName", "botAlias", "userId"],
- members: {
- botName: { location: "uri", locationName: "botName" },
- botAlias: { location: "uri", locationName: "botAlias" },
- userId: { location: "uri", locationName: "userId" },
- },
- },
- output: {
- type: "structure",
- members: { botName: {}, botAlias: {}, userId: {}, sessionId: {} },
- },
- },
- GetSession: {
- http: {
- method: "GET",
- requestUri:
- "/bot/{botName}/alias/{botAlias}/user/{userId}/session/",
- },
- input: {
- type: "structure",
- required: ["botName", "botAlias", "userId"],
- members: {
- botName: { location: "uri", locationName: "botName" },
- botAlias: { location: "uri", locationName: "botAlias" },
- userId: { location: "uri", locationName: "userId" },
- checkpointLabelFilter: {
- location: "querystring",
- locationName: "checkpointLabelFilter",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- recentIntentSummaryView: { shape: "Sa" },
- sessionAttributes: { shape: "Sd" },
- sessionId: {},
- dialogAction: { shape: "Sh" },
- },
- },
- },
- PostContent: {
- http: {
- requestUri:
- "/bot/{botName}/alias/{botAlias}/user/{userId}/content",
- },
- input: {
- type: "structure",
- required: [
- "botName",
- "botAlias",
- "userId",
- "contentType",
- "inputStream",
- ],
- members: {
- botName: { location: "uri", locationName: "botName" },
- botAlias: { location: "uri", locationName: "botAlias" },
- userId: { location: "uri", locationName: "userId" },
- sessionAttributes: {
- shape: "Sl",
- jsonvalue: true,
- location: "header",
- locationName: "x-amz-lex-session-attributes",
- },
- requestAttributes: {
- shape: "Sl",
- jsonvalue: true,
- location: "header",
- locationName: "x-amz-lex-request-attributes",
- },
- contentType: {
- location: "header",
- locationName: "Content-Type",
- },
- accept: { location: "header", locationName: "Accept" },
- inputStream: { shape: "So" },
- },
- payload: "inputStream",
- },
- output: {
- type: "structure",
- members: {
- contentType: {
- location: "header",
- locationName: "Content-Type",
- },
- intentName: {
- location: "header",
- locationName: "x-amz-lex-intent-name",
- },
- slots: {
- jsonvalue: true,
- location: "header",
- locationName: "x-amz-lex-slots",
- },
- sessionAttributes: {
- jsonvalue: true,
- location: "header",
- locationName: "x-amz-lex-session-attributes",
- },
- sentimentResponse: {
- location: "header",
- locationName: "x-amz-lex-sentiment",
- },
- message: {
- shape: "Si",
- location: "header",
- locationName: "x-amz-lex-message",
- },
- messageFormat: {
- location: "header",
- locationName: "x-amz-lex-message-format",
- },
- dialogState: {
- location: "header",
- locationName: "x-amz-lex-dialog-state",
- },
- slotToElicit: {
- location: "header",
- locationName: "x-amz-lex-slot-to-elicit",
- },
- inputTranscript: {
- location: "header",
- locationName: "x-amz-lex-input-transcript",
- },
- audioStream: { shape: "So" },
- sessionId: {
- location: "header",
- locationName: "x-amz-lex-session-id",
- },
- },
- payload: "audioStream",
- },
- authtype: "v4-unsigned-body",
- },
- PostText: {
- http: {
- requestUri: "/bot/{botName}/alias/{botAlias}/user/{userId}/text",
- },
- input: {
- type: "structure",
- required: ["botName", "botAlias", "userId", "inputText"],
- members: {
- botName: { location: "uri", locationName: "botName" },
- botAlias: { location: "uri", locationName: "botAlias" },
- userId: { location: "uri", locationName: "userId" },
- sessionAttributes: { shape: "Sd" },
- requestAttributes: { shape: "Sd" },
- inputText: { shape: "Si" },
- },
- },
- output: {
- type: "structure",
- members: {
- intentName: {},
- slots: { shape: "Sd" },
- sessionAttributes: { shape: "Sd" },
- message: { shape: "Si" },
- sentimentResponse: {
- type: "structure",
- members: { sentimentLabel: {}, sentimentScore: {} },
- },
- messageFormat: {},
- dialogState: {},
- slotToElicit: {},
- responseCard: {
- type: "structure",
- members: {
- version: {},
- contentType: {},
- genericAttachments: {
- type: "list",
- member: {
- type: "structure",
- members: {
- title: {},
- subTitle: {},
- attachmentLinkUrl: {},
- imageUrl: {},
- buttons: {
- type: "list",
- member: {
- type: "structure",
- required: ["text", "value"],
- members: { text: {}, value: {} },
- },
- },
- },
- },
- },
- },
- },
- sessionId: {},
- },
- },
- },
- PutSession: {
- http: {
- requestUri:
- "/bot/{botName}/alias/{botAlias}/user/{userId}/session",
- },
- input: {
- type: "structure",
- required: ["botName", "botAlias", "userId"],
- members: {
- botName: { location: "uri", locationName: "botName" },
- botAlias: { location: "uri", locationName: "botAlias" },
- userId: { location: "uri", locationName: "userId" },
- sessionAttributes: { shape: "Sd" },
- dialogAction: { shape: "Sh" },
- recentIntentSummaryView: { shape: "Sa" },
- accept: { location: "header", locationName: "Accept" },
- },
- },
- output: {
- type: "structure",
- members: {
- contentType: {
- location: "header",
- locationName: "Content-Type",
- },
- intentName: {
- location: "header",
- locationName: "x-amz-lex-intent-name",
- },
- slots: {
- jsonvalue: true,
- location: "header",
- locationName: "x-amz-lex-slots",
- },
- sessionAttributes: {
- jsonvalue: true,
- location: "header",
- locationName: "x-amz-lex-session-attributes",
- },
- message: {
- shape: "Si",
- location: "header",
- locationName: "x-amz-lex-message",
- },
- messageFormat: {
- location: "header",
- locationName: "x-amz-lex-message-format",
- },
- dialogState: {
- location: "header",
- locationName: "x-amz-lex-dialog-state",
- },
- slotToElicit: {
- location: "header",
- locationName: "x-amz-lex-slot-to-elicit",
- },
- audioStream: { shape: "So" },
- sessionId: {
- location: "header",
- locationName: "x-amz-lex-session-id",
- },
- },
- payload: "audioStream",
- },
- },
- },
- shapes: {
- Sa: {
- type: "list",
- member: {
- type: "structure",
- required: ["dialogActionType"],
- members: {
- intentName: {},
- checkpointLabel: {},
- slots: { shape: "Sd" },
- confirmationStatus: {},
- dialogActionType: {},
- fulfillmentState: {},
- slotToElicit: {},
- },
- },
- },
- Sd: { type: "map", key: {}, value: {}, sensitive: true },
- Sh: {
- type: "structure",
- required: ["type"],
- members: {
- type: {},
- intentName: {},
- slots: { shape: "Sd" },
- slotToElicit: {},
- fulfillmentState: {},
- message: { shape: "Si" },
- messageFormat: {},
- },
- },
- Si: { type: "string", sensitive: true },
- Sl: { type: "string", sensitive: true },
- So: { type: "blob", streaming: true },
- },
- };
-
- /***/
- },
-
- /***/ 1353: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5642);
- model.paginators = __webpack_require__(3998).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.SecurityHub;
-
- /***/
- },
-
- /***/ 1368: /***/ function (module) {
- module.exports = function atob(str) {
- return Buffer.from(str, "base64").toString("binary");
- };
-
- /***/
- },
-
- /***/ 1371: /***/ function (module, __unusedexports, __webpack_require__) {
- var AWS = __webpack_require__(395);
- var Translator = __webpack_require__(109);
- var DynamoDBSet = __webpack_require__(3815);
-
- /**
- * 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 to use for requests. The object may
- * bound parameters used by the document client.
- * @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.
- * @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 10 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;
-
- /***/
- },
-
- /***/ 1372: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(4622);
- model.paginators = __webpack_require__(2522).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.DeviceFarm;
-
- /***/
- },
-
- /***/ 1395: /***/ function (module) {
- module.exports = {
- pagination: {
- ListBusinessReportSchedules: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListConferenceProviders: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListDeviceEvents: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListGatewayGroups: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListGateways: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListSkills: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListSkillsStoreCategories: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListSkillsStoreSkillsByCategory: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListSmartHomeAppliances: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListTags: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- SearchAddressBooks: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- SearchContacts: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- SearchDevices: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- SearchNetworkProfiles: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- SearchProfiles: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- SearchRooms: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- SearchSkillGroups: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- SearchUsers: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1401: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5296);
- model.paginators = __webpack_require__(6423).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.MediaStore;
-
- /***/
- },
-
- /***/ 1406: /***/ function (module) {
- module.exports = {
- pagination: {
- ListBatchInferenceJobs: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "batchInferenceJobs",
- },
- ListCampaigns: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "campaigns",
- },
- ListDatasetGroups: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "datasetGroups",
- },
- ListDatasetImportJobs: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "datasetImportJobs",
- },
- ListDatasets: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "datasets",
- },
- ListEventTrackers: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "eventTrackers",
- },
- ListRecipes: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "recipes",
- },
- ListSchemas: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "schemas",
- },
- ListSolutionVersions: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "solutionVersions",
- },
- ListSolutions: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "solutions",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1407: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-07-25",
- endpointPrefix: "appsync",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "AWSAppSync",
- serviceFullName: "AWS AppSync",
- serviceId: "AppSync",
- signatureVersion: "v4",
- signingName: "appsync",
- uid: "appsync-2017-07-25",
- },
- operations: {
- CreateApiCache: {
- http: { requestUri: "/v1/apis/{apiId}/ApiCaches" },
- input: {
- type: "structure",
- required: ["apiId", "ttl", "apiCachingBehavior", "type"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- ttl: { type: "long" },
- transitEncryptionEnabled: { type: "boolean" },
- atRestEncryptionEnabled: { type: "boolean" },
- apiCachingBehavior: {},
- type: {},
- },
- },
- output: {
- type: "structure",
- members: { apiCache: { shape: "S8" } },
- },
- },
- CreateApiKey: {
- http: { requestUri: "/v1/apis/{apiId}/apikeys" },
- input: {
- type: "structure",
- required: ["apiId"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- description: {},
- expires: { type: "long" },
- },
- },
- output: { type: "structure", members: { apiKey: { shape: "Sc" } } },
- },
- CreateDataSource: {
- http: { requestUri: "/v1/apis/{apiId}/datasources" },
- input: {
- type: "structure",
- required: ["apiId", "name", "type"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- name: {},
- description: {},
- type: {},
- serviceRoleArn: {},
- dynamodbConfig: { shape: "Sg" },
- lambdaConfig: { shape: "Si" },
- elasticsearchConfig: { shape: "Sj" },
- httpConfig: { shape: "Sk" },
- relationalDatabaseConfig: { shape: "So" },
- },
- },
- output: {
- type: "structure",
- members: { dataSource: { shape: "Ss" } },
- },
- },
- CreateFunction: {
- http: { requestUri: "/v1/apis/{apiId}/functions" },
- input: {
- type: "structure",
- required: [
- "apiId",
- "name",
- "dataSourceName",
- "requestMappingTemplate",
- "functionVersion",
- ],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- name: {},
- description: {},
- dataSourceName: {},
- requestMappingTemplate: {},
- responseMappingTemplate: {},
- functionVersion: {},
- },
- },
- output: {
- type: "structure",
- members: { functionConfiguration: { shape: "Sw" } },
- },
- },
- CreateGraphqlApi: {
- http: { requestUri: "/v1/apis" },
- input: {
- type: "structure",
- required: ["name", "authenticationType"],
- members: {
- name: {},
- logConfig: { shape: "Sy" },
- authenticationType: {},
- userPoolConfig: { shape: "S11" },
- openIDConnectConfig: { shape: "S13" },
- tags: { shape: "S14" },
- additionalAuthenticationProviders: { shape: "S17" },
- xrayEnabled: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { graphqlApi: { shape: "S1b" } },
- },
- },
- CreateResolver: {
- http: { requestUri: "/v1/apis/{apiId}/types/{typeName}/resolvers" },
- input: {
- type: "structure",
- required: [
- "apiId",
- "typeName",
- "fieldName",
- "requestMappingTemplate",
- ],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- typeName: { location: "uri", locationName: "typeName" },
- fieldName: {},
- dataSourceName: {},
- requestMappingTemplate: {},
- responseMappingTemplate: {},
- kind: {},
- pipelineConfig: { shape: "S1f" },
- syncConfig: { shape: "S1h" },
- cachingConfig: { shape: "S1l" },
- },
- },
- output: {
- type: "structure",
- members: { resolver: { shape: "S1o" } },
- },
- },
- CreateType: {
- http: { requestUri: "/v1/apis/{apiId}/types" },
- input: {
- type: "structure",
- required: ["apiId", "definition", "format"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- definition: {},
- format: {},
- },
- },
- output: { type: "structure", members: { type: { shape: "S1s" } } },
- },
- DeleteApiCache: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apis/{apiId}/ApiCaches",
- },
- input: {
- type: "structure",
- required: ["apiId"],
- members: { apiId: { location: "uri", locationName: "apiId" } },
- },
- output: { type: "structure", members: {} },
- },
- DeleteApiKey: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apis/{apiId}/apikeys/{id}",
- },
- input: {
- type: "structure",
- required: ["apiId", "id"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- id: { location: "uri", locationName: "id" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteDataSource: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apis/{apiId}/datasources/{name}",
- },
- input: {
- type: "structure",
- required: ["apiId", "name"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- name: { location: "uri", locationName: "name" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteFunction: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apis/{apiId}/functions/{functionId}",
- },
- input: {
- type: "structure",
- required: ["apiId", "functionId"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- functionId: { location: "uri", locationName: "functionId" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteGraphqlApi: {
- http: { method: "DELETE", requestUri: "/v1/apis/{apiId}" },
- input: {
- type: "structure",
- required: ["apiId"],
- members: { apiId: { location: "uri", locationName: "apiId" } },
- },
- output: { type: "structure", members: {} },
- },
- DeleteResolver: {
- http: {
- method: "DELETE",
- requestUri:
- "/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}",
- },
- input: {
- type: "structure",
- required: ["apiId", "typeName", "fieldName"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- typeName: { location: "uri", locationName: "typeName" },
- fieldName: { location: "uri", locationName: "fieldName" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteType: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apis/{apiId}/types/{typeName}",
- },
- input: {
- type: "structure",
- required: ["apiId", "typeName"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- typeName: { location: "uri", locationName: "typeName" },
- },
- },
- output: { type: "structure", members: {} },
- },
- FlushApiCache: {
- http: {
- method: "DELETE",
- requestUri: "/v1/apis/{apiId}/FlushCache",
- },
- input: {
- type: "structure",
- required: ["apiId"],
- members: { apiId: { location: "uri", locationName: "apiId" } },
- },
- output: { type: "structure", members: {} },
- },
- GetApiCache: {
- http: { method: "GET", requestUri: "/v1/apis/{apiId}/ApiCaches" },
- input: {
- type: "structure",
- required: ["apiId"],
- members: { apiId: { location: "uri", locationName: "apiId" } },
- },
- output: {
- type: "structure",
- members: { apiCache: { shape: "S8" } },
- },
- },
- GetDataSource: {
- http: {
- method: "GET",
- requestUri: "/v1/apis/{apiId}/datasources/{name}",
- },
- input: {
- type: "structure",
- required: ["apiId", "name"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- name: { location: "uri", locationName: "name" },
- },
- },
- output: {
- type: "structure",
- members: { dataSource: { shape: "Ss" } },
- },
- },
- GetFunction: {
- http: {
- method: "GET",
- requestUri: "/v1/apis/{apiId}/functions/{functionId}",
- },
- input: {
- type: "structure",
- required: ["apiId", "functionId"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- functionId: { location: "uri", locationName: "functionId" },
- },
- },
- output: {
- type: "structure",
- members: { functionConfiguration: { shape: "Sw" } },
- },
- },
- GetGraphqlApi: {
- http: { method: "GET", requestUri: "/v1/apis/{apiId}" },
- input: {
- type: "structure",
- required: ["apiId"],
- members: { apiId: { location: "uri", locationName: "apiId" } },
- },
- output: {
- type: "structure",
- members: { graphqlApi: { shape: "S1b" } },
- },
- },
- GetIntrospectionSchema: {
- http: { method: "GET", requestUri: "/v1/apis/{apiId}/schema" },
- input: {
- type: "structure",
- required: ["apiId", "format"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- format: { location: "querystring", locationName: "format" },
- includeDirectives: {
- location: "querystring",
- locationName: "includeDirectives",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: { schema: { type: "blob" } },
- payload: "schema",
- },
- },
- GetResolver: {
- http: {
- method: "GET",
- requestUri:
- "/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}",
- },
- input: {
- type: "structure",
- required: ["apiId", "typeName", "fieldName"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- typeName: { location: "uri", locationName: "typeName" },
- fieldName: { location: "uri", locationName: "fieldName" },
- },
- },
- output: {
- type: "structure",
- members: { resolver: { shape: "S1o" } },
- },
- },
- GetSchemaCreationStatus: {
- http: {
- method: "GET",
- requestUri: "/v1/apis/{apiId}/schemacreation",
- },
- input: {
- type: "structure",
- required: ["apiId"],
- members: { apiId: { location: "uri", locationName: "apiId" } },
- },
- output: { type: "structure", members: { status: {}, details: {} } },
- },
- GetType: {
- http: {
- method: "GET",
- requestUri: "/v1/apis/{apiId}/types/{typeName}",
- },
- input: {
- type: "structure",
- required: ["apiId", "typeName", "format"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- typeName: { location: "uri", locationName: "typeName" },
- format: { location: "querystring", locationName: "format" },
- },
- },
- output: { type: "structure", members: { type: { shape: "S1s" } } },
- },
- ListApiKeys: {
- http: { method: "GET", requestUri: "/v1/apis/{apiId}/apikeys" },
- input: {
- type: "structure",
- required: ["apiId"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- apiKeys: { type: "list", member: { shape: "Sc" } },
- nextToken: {},
- },
- },
- },
- ListDataSources: {
- http: { method: "GET", requestUri: "/v1/apis/{apiId}/datasources" },
- input: {
- type: "structure",
- required: ["apiId"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- dataSources: { type: "list", member: { shape: "Ss" } },
- nextToken: {},
- },
- },
- },
- ListFunctions: {
- http: { method: "GET", requestUri: "/v1/apis/{apiId}/functions" },
- input: {
- type: "structure",
- required: ["apiId"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- functions: { type: "list", member: { shape: "Sw" } },
- nextToken: {},
- },
- },
- },
- ListGraphqlApis: {
- http: { method: "GET", requestUri: "/v1/apis" },
- input: {
- type: "structure",
- members: {
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- graphqlApis: { type: "list", member: { shape: "S1b" } },
- nextToken: {},
- },
- },
- },
- ListResolvers: {
- http: {
- method: "GET",
- requestUri: "/v1/apis/{apiId}/types/{typeName}/resolvers",
- },
- input: {
- type: "structure",
- required: ["apiId", "typeName"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- typeName: { location: "uri", locationName: "typeName" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: { resolvers: { shape: "S39" }, nextToken: {} },
- },
- },
- ListResolversByFunction: {
- http: {
- method: "GET",
- requestUri: "/v1/apis/{apiId}/functions/{functionId}/resolvers",
- },
- input: {
- type: "structure",
- required: ["apiId", "functionId"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- functionId: { location: "uri", locationName: "functionId" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: { resolvers: { shape: "S39" }, nextToken: {} },
- },
- },
- ListTagsForResource: {
- http: { method: "GET", requestUri: "/v1/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- },
- },
- output: { type: "structure", members: { tags: { shape: "S14" } } },
- },
- ListTypes: {
- http: { method: "GET", requestUri: "/v1/apis/{apiId}/types" },
- input: {
- type: "structure",
- required: ["apiId", "format"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- format: { location: "querystring", locationName: "format" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- types: { type: "list", member: { shape: "S1s" } },
- nextToken: {},
- },
- },
- },
- StartSchemaCreation: {
- http: { requestUri: "/v1/apis/{apiId}/schemacreation" },
- input: {
- type: "structure",
- required: ["apiId", "definition"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- definition: { type: "blob" },
- },
- },
- output: { type: "structure", members: { status: {} } },
- },
- TagResource: {
- http: { requestUri: "/v1/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn", "tags"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tags: { shape: "S14" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- http: { method: "DELETE", requestUri: "/v1/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn", "tagKeys"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tagKeys: {
- location: "querystring",
- locationName: "tagKeys",
- type: "list",
- member: {},
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateApiCache: {
- http: { requestUri: "/v1/apis/{apiId}/ApiCaches/update" },
- input: {
- type: "structure",
- required: ["apiId", "ttl", "apiCachingBehavior", "type"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- ttl: { type: "long" },
- apiCachingBehavior: {},
- type: {},
- },
- },
- output: {
- type: "structure",
- members: { apiCache: { shape: "S8" } },
- },
- },
- UpdateApiKey: {
- http: { requestUri: "/v1/apis/{apiId}/apikeys/{id}" },
- input: {
- type: "structure",
- required: ["apiId", "id"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- id: { location: "uri", locationName: "id" },
- description: {},
- expires: { type: "long" },
- },
- },
- output: { type: "structure", members: { apiKey: { shape: "Sc" } } },
- },
- UpdateDataSource: {
- http: { requestUri: "/v1/apis/{apiId}/datasources/{name}" },
- input: {
- type: "structure",
- required: ["apiId", "name", "type"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- name: { location: "uri", locationName: "name" },
- description: {},
- type: {},
- serviceRoleArn: {},
- dynamodbConfig: { shape: "Sg" },
- lambdaConfig: { shape: "Si" },
- elasticsearchConfig: { shape: "Sj" },
- httpConfig: { shape: "Sk" },
- relationalDatabaseConfig: { shape: "So" },
- },
- },
- output: {
- type: "structure",
- members: { dataSource: { shape: "Ss" } },
- },
- },
- UpdateFunction: {
- http: { requestUri: "/v1/apis/{apiId}/functions/{functionId}" },
- input: {
- type: "structure",
- required: [
- "apiId",
- "name",
- "functionId",
- "dataSourceName",
- "requestMappingTemplate",
- "functionVersion",
- ],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- name: {},
- description: {},
- functionId: { location: "uri", locationName: "functionId" },
- dataSourceName: {},
- requestMappingTemplate: {},
- responseMappingTemplate: {},
- functionVersion: {},
- },
- },
- output: {
- type: "structure",
- members: { functionConfiguration: { shape: "Sw" } },
- },
- },
- UpdateGraphqlApi: {
- http: { requestUri: "/v1/apis/{apiId}" },
- input: {
- type: "structure",
- required: ["apiId", "name"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- name: {},
- logConfig: { shape: "Sy" },
- authenticationType: {},
- userPoolConfig: { shape: "S11" },
- openIDConnectConfig: { shape: "S13" },
- additionalAuthenticationProviders: { shape: "S17" },
- xrayEnabled: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { graphqlApi: { shape: "S1b" } },
- },
- },
- UpdateResolver: {
- http: {
- requestUri:
- "/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}",
- },
- input: {
- type: "structure",
- required: [
- "apiId",
- "typeName",
- "fieldName",
- "requestMappingTemplate",
- ],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- typeName: { location: "uri", locationName: "typeName" },
- fieldName: { location: "uri", locationName: "fieldName" },
- dataSourceName: {},
- requestMappingTemplate: {},
- responseMappingTemplate: {},
- kind: {},
- pipelineConfig: { shape: "S1f" },
- syncConfig: { shape: "S1h" },
- cachingConfig: { shape: "S1l" },
- },
- },
- output: {
- type: "structure",
- members: { resolver: { shape: "S1o" } },
- },
- },
- UpdateType: {
- http: { requestUri: "/v1/apis/{apiId}/types/{typeName}" },
- input: {
- type: "structure",
- required: ["apiId", "typeName", "format"],
- members: {
- apiId: { location: "uri", locationName: "apiId" },
- typeName: { location: "uri", locationName: "typeName" },
- definition: {},
- format: {},
- },
- },
- output: { type: "structure", members: { type: { shape: "S1s" } } },
- },
- },
- shapes: {
- S8: {
- type: "structure",
- members: {
- ttl: { type: "long" },
- apiCachingBehavior: {},
- transitEncryptionEnabled: { type: "boolean" },
- atRestEncryptionEnabled: { type: "boolean" },
- type: {},
- status: {},
- },
- },
- Sc: {
- type: "structure",
- members: { id: {}, description: {}, expires: { type: "long" } },
- },
- Sg: {
- type: "structure",
- required: ["tableName", "awsRegion"],
- members: {
- tableName: {},
- awsRegion: {},
- useCallerCredentials: { type: "boolean" },
- deltaSyncConfig: {
- type: "structure",
- members: {
- baseTableTTL: { type: "long" },
- deltaSyncTableName: {},
- deltaSyncTableTTL: { type: "long" },
- },
- },
- versioned: { type: "boolean" },
- },
- },
- Si: {
- type: "structure",
- required: ["lambdaFunctionArn"],
- members: { lambdaFunctionArn: {} },
- },
- Sj: {
- type: "structure",
- required: ["endpoint", "awsRegion"],
- members: { endpoint: {}, awsRegion: {} },
- },
- Sk: {
- type: "structure",
- members: {
- endpoint: {},
- authorizationConfig: {
- type: "structure",
- required: ["authorizationType"],
- members: {
- authorizationType: {},
- awsIamConfig: {
- type: "structure",
- members: { signingRegion: {}, signingServiceName: {} },
- },
- },
- },
- },
- },
- So: {
- type: "structure",
- members: {
- relationalDatabaseSourceType: {},
- rdsHttpEndpointConfig: {
- type: "structure",
- members: {
- awsRegion: {},
- dbClusterIdentifier: {},
- databaseName: {},
- schema: {},
- awsSecretStoreArn: {},
- },
- },
- },
- },
- Ss: {
- type: "structure",
- members: {
- dataSourceArn: {},
- name: {},
- description: {},
- type: {},
- serviceRoleArn: {},
- dynamodbConfig: { shape: "Sg" },
- lambdaConfig: { shape: "Si" },
- elasticsearchConfig: { shape: "Sj" },
- httpConfig: { shape: "Sk" },
- relationalDatabaseConfig: { shape: "So" },
- },
- },
- Sw: {
- type: "structure",
- members: {
- functionId: {},
- functionArn: {},
- name: {},
- description: {},
- dataSourceName: {},
- requestMappingTemplate: {},
- responseMappingTemplate: {},
- functionVersion: {},
- },
- },
- Sy: {
- type: "structure",
- required: ["fieldLogLevel", "cloudWatchLogsRoleArn"],
- members: {
- fieldLogLevel: {},
- cloudWatchLogsRoleArn: {},
- excludeVerboseContent: { type: "boolean" },
- },
- },
- S11: {
- type: "structure",
- required: ["userPoolId", "awsRegion", "defaultAction"],
- members: {
- userPoolId: {},
- awsRegion: {},
- defaultAction: {},
- appIdClientRegex: {},
- },
- },
- S13: {
- type: "structure",
- required: ["issuer"],
- members: {
- issuer: {},
- clientId: {},
- iatTTL: { type: "long" },
- authTTL: { type: "long" },
- },
- },
- S14: { type: "map", key: {}, value: {} },
- S17: {
- type: "list",
- member: {
- type: "structure",
- members: {
- authenticationType: {},
- openIDConnectConfig: { shape: "S13" },
- userPoolConfig: {
- type: "structure",
- required: ["userPoolId", "awsRegion"],
- members: {
- userPoolId: {},
- awsRegion: {},
- appIdClientRegex: {},
- },
- },
- },
- },
- },
- S1b: {
- type: "structure",
- members: {
- name: {},
- apiId: {},
- authenticationType: {},
- logConfig: { shape: "Sy" },
- userPoolConfig: { shape: "S11" },
- openIDConnectConfig: { shape: "S13" },
- arn: {},
- uris: { type: "map", key: {}, value: {} },
- tags: { shape: "S14" },
- additionalAuthenticationProviders: { shape: "S17" },
- xrayEnabled: { type: "boolean" },
- },
- },
- S1f: {
- type: "structure",
- members: { functions: { type: "list", member: {} } },
- },
- S1h: {
- type: "structure",
- members: {
- conflictHandler: {},
- conflictDetection: {},
- lambdaConflictHandlerConfig: {
- type: "structure",
- members: { lambdaConflictHandlerArn: {} },
- },
- },
- },
- S1l: {
- type: "structure",
- members: {
- ttl: { type: "long" },
- cachingKeys: { type: "list", member: {} },
- },
- },
- S1o: {
- type: "structure",
- members: {
- typeName: {},
- fieldName: {},
- dataSourceName: {},
- resolverArn: {},
- requestMappingTemplate: {},
- responseMappingTemplate: {},
- kind: {},
- pipelineConfig: { shape: "S1f" },
- syncConfig: { shape: "S1h" },
- cachingConfig: { shape: "S1l" },
- },
- },
- S1s: {
- type: "structure",
- members: {
- name: {},
- description: {},
- arn: {},
- definition: {},
- format: {},
- },
- },
- S39: { type: "list", member: { shape: "S1o" } },
- },
- };
-
- /***/
- },
-
- /***/ 1411: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2014-10-31",
- endpointPrefix: "rds",
- protocol: "query",
- serviceAbbreviation: "Amazon Neptune",
- serviceFullName: "Amazon Neptune",
- serviceId: "Neptune",
- signatureVersion: "v4",
- signingName: "rds",
- uid: "neptune-2014-10-31",
- xmlNamespace: "http://rds.amazonaws.com/doc/2014-10-31/",
- },
- operations: {
- AddRoleToDBCluster: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier", "RoleArn"],
- members: { DBClusterIdentifier: {}, RoleArn: {} },
- },
- },
- AddSourceIdentifierToSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName", "SourceIdentifier"],
- members: { SubscriptionName: {}, SourceIdentifier: {} },
- },
- output: {
- resultWrapper: "AddSourceIdentifierToSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S5" } },
- },
- },
- AddTagsToResource: {
- input: {
- type: "structure",
- required: ["ResourceName", "Tags"],
- members: { ResourceName: {}, Tags: { shape: "Sa" } },
- },
- },
- ApplyPendingMaintenanceAction: {
- input: {
- type: "structure",
- required: ["ResourceIdentifier", "ApplyAction", "OptInType"],
- members: {
- ResourceIdentifier: {},
- ApplyAction: {},
- OptInType: {},
- },
- },
- output: {
- resultWrapper: "ApplyPendingMaintenanceActionResult",
- type: "structure",
- members: { ResourcePendingMaintenanceActions: { shape: "Se" } },
- },
- },
- CopyDBClusterParameterGroup: {
- input: {
- type: "structure",
- required: [
- "SourceDBClusterParameterGroupIdentifier",
- "TargetDBClusterParameterGroupIdentifier",
- "TargetDBClusterParameterGroupDescription",
- ],
- members: {
- SourceDBClusterParameterGroupIdentifier: {},
- TargetDBClusterParameterGroupIdentifier: {},
- TargetDBClusterParameterGroupDescription: {},
- Tags: { shape: "Sa" },
- },
- },
- output: {
- resultWrapper: "CopyDBClusterParameterGroupResult",
- type: "structure",
- members: { DBClusterParameterGroup: { shape: "Sk" } },
- },
- },
- CopyDBClusterSnapshot: {
- input: {
- type: "structure",
- required: [
- "SourceDBClusterSnapshotIdentifier",
- "TargetDBClusterSnapshotIdentifier",
- ],
- members: {
- SourceDBClusterSnapshotIdentifier: {},
- TargetDBClusterSnapshotIdentifier: {},
- KmsKeyId: {},
- PreSignedUrl: {},
- CopyTags: { type: "boolean" },
- Tags: { shape: "Sa" },
- },
- },
- output: {
- resultWrapper: "CopyDBClusterSnapshotResult",
- type: "structure",
- members: { DBClusterSnapshot: { shape: "So" } },
- },
- },
- CopyDBParameterGroup: {
- input: {
- type: "structure",
- required: [
- "SourceDBParameterGroupIdentifier",
- "TargetDBParameterGroupIdentifier",
- "TargetDBParameterGroupDescription",
- ],
- members: {
- SourceDBParameterGroupIdentifier: {},
- TargetDBParameterGroupIdentifier: {},
- TargetDBParameterGroupDescription: {},
- Tags: { shape: "Sa" },
- },
- },
- output: {
- resultWrapper: "CopyDBParameterGroupResult",
- type: "structure",
- members: { DBParameterGroup: { shape: "St" } },
- },
- },
- CreateDBCluster: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier", "Engine"],
- members: {
- AvailabilityZones: { shape: "Sp" },
- BackupRetentionPeriod: { type: "integer" },
- CharacterSetName: {},
- DatabaseName: {},
- DBClusterIdentifier: {},
- DBClusterParameterGroupName: {},
- VpcSecurityGroupIds: { shape: "Sw" },
- DBSubnetGroupName: {},
- Engine: {},
- EngineVersion: {},
- Port: { type: "integer" },
- MasterUsername: {},
- MasterUserPassword: {},
- OptionGroupName: {},
- PreferredBackupWindow: {},
- PreferredMaintenanceWindow: {},
- ReplicationSourceIdentifier: {},
- Tags: { shape: "Sa" },
- StorageEncrypted: { type: "boolean" },
- KmsKeyId: {},
- PreSignedUrl: {},
- EnableIAMDatabaseAuthentication: { type: "boolean" },
- EnableCloudwatchLogsExports: { shape: "Sx" },
- DeletionProtection: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "CreateDBClusterResult",
- type: "structure",
- members: { DBCluster: { shape: "Sz" } },
- },
- },
- CreateDBClusterParameterGroup: {
- input: {
- type: "structure",
- required: [
- "DBClusterParameterGroupName",
- "DBParameterGroupFamily",
- "Description",
- ],
- members: {
- DBClusterParameterGroupName: {},
- DBParameterGroupFamily: {},
- Description: {},
- Tags: { shape: "Sa" },
- },
- },
- output: {
- resultWrapper: "CreateDBClusterParameterGroupResult",
- type: "structure",
- members: { DBClusterParameterGroup: { shape: "Sk" } },
- },
- },
- CreateDBClusterSnapshot: {
- input: {
- type: "structure",
- required: ["DBClusterSnapshotIdentifier", "DBClusterIdentifier"],
- members: {
- DBClusterSnapshotIdentifier: {},
- DBClusterIdentifier: {},
- Tags: { shape: "Sa" },
- },
- },
- output: {
- resultWrapper: "CreateDBClusterSnapshotResult",
- type: "structure",
- members: { DBClusterSnapshot: { shape: "So" } },
- },
- },
- CreateDBInstance: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier", "DBInstanceClass", "Engine"],
- members: {
- DBName: {},
- DBInstanceIdentifier: {},
- AllocatedStorage: { type: "integer" },
- DBInstanceClass: {},
- Engine: {},
- MasterUsername: {},
- MasterUserPassword: {},
- DBSecurityGroups: { shape: "S1e" },
- VpcSecurityGroupIds: { shape: "Sw" },
- AvailabilityZone: {},
- DBSubnetGroupName: {},
- PreferredMaintenanceWindow: {},
- DBParameterGroupName: {},
- BackupRetentionPeriod: { type: "integer" },
- PreferredBackupWindow: {},
- Port: { type: "integer" },
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- LicenseModel: {},
- Iops: { type: "integer" },
- OptionGroupName: {},
- CharacterSetName: {},
- PubliclyAccessible: { deprecated: true, type: "boolean" },
- Tags: { shape: "Sa" },
- DBClusterIdentifier: {},
- StorageType: {},
- TdeCredentialArn: {},
- TdeCredentialPassword: {},
- StorageEncrypted: { type: "boolean" },
- KmsKeyId: {},
- Domain: {},
- CopyTagsToSnapshot: { type: "boolean" },
- MonitoringInterval: { type: "integer" },
- MonitoringRoleArn: {},
- DomainIAMRoleName: {},
- PromotionTier: { type: "integer" },
- Timezone: {},
- EnableIAMDatabaseAuthentication: { type: "boolean" },
- EnablePerformanceInsights: { type: "boolean" },
- PerformanceInsightsKMSKeyId: {},
- EnableCloudwatchLogsExports: { shape: "Sx" },
- DeletionProtection: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "CreateDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "S1g" } },
- },
- },
- CreateDBParameterGroup: {
- input: {
- type: "structure",
- required: [
- "DBParameterGroupName",
- "DBParameterGroupFamily",
- "Description",
- ],
- members: {
- DBParameterGroupName: {},
- DBParameterGroupFamily: {},
- Description: {},
- Tags: { shape: "Sa" },
- },
- },
- output: {
- resultWrapper: "CreateDBParameterGroupResult",
- type: "structure",
- members: { DBParameterGroup: { shape: "St" } },
- },
- },
- CreateDBSubnetGroup: {
- input: {
- type: "structure",
- required: [
- "DBSubnetGroupName",
- "DBSubnetGroupDescription",
- "SubnetIds",
- ],
- members: {
- DBSubnetGroupName: {},
- DBSubnetGroupDescription: {},
- SubnetIds: { shape: "S23" },
- Tags: { shape: "Sa" },
- },
- },
- output: {
- resultWrapper: "CreateDBSubnetGroupResult",
- type: "structure",
- members: { DBSubnetGroup: { shape: "S1m" } },
- },
- },
- CreateEventSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName", "SnsTopicArn"],
- members: {
- SubscriptionName: {},
- SnsTopicArn: {},
- SourceType: {},
- EventCategories: { shape: "S7" },
- SourceIds: { shape: "S6" },
- Enabled: { type: "boolean" },
- Tags: { shape: "Sa" },
- },
- },
- output: {
- resultWrapper: "CreateEventSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S5" } },
- },
- },
- DeleteDBCluster: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier"],
- members: {
- DBClusterIdentifier: {},
- SkipFinalSnapshot: { type: "boolean" },
- FinalDBSnapshotIdentifier: {},
- },
- },
- output: {
- resultWrapper: "DeleteDBClusterResult",
- type: "structure",
- members: { DBCluster: { shape: "Sz" } },
- },
- },
- DeleteDBClusterParameterGroup: {
- input: {
- type: "structure",
- required: ["DBClusterParameterGroupName"],
- members: { DBClusterParameterGroupName: {} },
- },
- },
- DeleteDBClusterSnapshot: {
- input: {
- type: "structure",
- required: ["DBClusterSnapshotIdentifier"],
- members: { DBClusterSnapshotIdentifier: {} },
- },
- output: {
- resultWrapper: "DeleteDBClusterSnapshotResult",
- type: "structure",
- members: { DBClusterSnapshot: { shape: "So" } },
- },
- },
- DeleteDBInstance: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- SkipFinalSnapshot: { type: "boolean" },
- FinalDBSnapshotIdentifier: {},
- },
- },
- output: {
- resultWrapper: "DeleteDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "S1g" } },
- },
- },
- DeleteDBParameterGroup: {
- input: {
- type: "structure",
- required: ["DBParameterGroupName"],
- members: { DBParameterGroupName: {} },
- },
- },
- DeleteDBSubnetGroup: {
- input: {
- type: "structure",
- required: ["DBSubnetGroupName"],
- members: { DBSubnetGroupName: {} },
- },
- },
- DeleteEventSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName"],
- members: { SubscriptionName: {} },
- },
- output: {
- resultWrapper: "DeleteEventSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S5" } },
- },
- },
- DescribeDBClusterParameterGroups: {
- input: {
- type: "structure",
- members: {
- DBClusterParameterGroupName: {},
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBClusterParameterGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- DBClusterParameterGroups: {
- type: "list",
- member: {
- shape: "Sk",
- locationName: "DBClusterParameterGroup",
- },
- },
- },
- },
- },
- DescribeDBClusterParameters: {
- input: {
- type: "structure",
- required: ["DBClusterParameterGroupName"],
- members: {
- DBClusterParameterGroupName: {},
- Source: {},
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBClusterParametersResult",
- type: "structure",
- members: { Parameters: { shape: "S2q" }, Marker: {} },
- },
- },
- DescribeDBClusterSnapshotAttributes: {
- input: {
- type: "structure",
- required: ["DBClusterSnapshotIdentifier"],
- members: { DBClusterSnapshotIdentifier: {} },
- },
- output: {
- resultWrapper: "DescribeDBClusterSnapshotAttributesResult",
- type: "structure",
- members: { DBClusterSnapshotAttributesResult: { shape: "S2v" } },
- },
- },
- DescribeDBClusterSnapshots: {
- input: {
- type: "structure",
- members: {
- DBClusterIdentifier: {},
- DBClusterSnapshotIdentifier: {},
- SnapshotType: {},
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- IncludeShared: { type: "boolean" },
- IncludePublic: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeDBClusterSnapshotsResult",
- type: "structure",
- members: {
- Marker: {},
- DBClusterSnapshots: {
- type: "list",
- member: { shape: "So", locationName: "DBClusterSnapshot" },
- },
- },
- },
- },
- DescribeDBClusters: {
- input: {
- type: "structure",
- members: {
- DBClusterIdentifier: {},
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBClustersResult",
- type: "structure",
- members: {
- Marker: {},
- DBClusters: {
- type: "list",
- member: { shape: "Sz", locationName: "DBCluster" },
- },
- },
- },
- },
- DescribeDBEngineVersions: {
- input: {
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- DBParameterGroupFamily: {},
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- DefaultOnly: { type: "boolean" },
- ListSupportedCharacterSets: { type: "boolean" },
- ListSupportedTimezones: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeDBEngineVersionsResult",
- type: "structure",
- members: {
- Marker: {},
- DBEngineVersions: {
- type: "list",
- member: {
- locationName: "DBEngineVersion",
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- DBParameterGroupFamily: {},
- DBEngineDescription: {},
- DBEngineVersionDescription: {},
- DefaultCharacterSet: { shape: "S39" },
- SupportedCharacterSets: {
- type: "list",
- member: { shape: "S39", locationName: "CharacterSet" },
- },
- ValidUpgradeTarget: {
- type: "list",
- member: {
- locationName: "UpgradeTarget",
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- Description: {},
- AutoUpgrade: { type: "boolean" },
- IsMajorVersionUpgrade: { type: "boolean" },
- },
- },
- },
- SupportedTimezones: {
- type: "list",
- member: {
- locationName: "Timezone",
- type: "structure",
- members: { TimezoneName: {} },
- },
- },
- ExportableLogTypes: { shape: "Sx" },
- SupportsLogExportsToCloudwatchLogs: { type: "boolean" },
- SupportsReadReplica: { type: "boolean" },
- },
- },
- },
- },
- },
- },
- DescribeDBInstances: {
- input: {
- type: "structure",
- members: {
- DBInstanceIdentifier: {},
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBInstancesResult",
- type: "structure",
- members: {
- Marker: {},
- DBInstances: {
- type: "list",
- member: { shape: "S1g", locationName: "DBInstance" },
- },
- },
- },
- },
- DescribeDBParameterGroups: {
- input: {
- type: "structure",
- members: {
- DBParameterGroupName: {},
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBParameterGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- DBParameterGroups: {
- type: "list",
- member: { shape: "St", locationName: "DBParameterGroup" },
- },
- },
- },
- },
- DescribeDBParameters: {
- input: {
- type: "structure",
- required: ["DBParameterGroupName"],
- members: {
- DBParameterGroupName: {},
- Source: {},
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBParametersResult",
- type: "structure",
- members: { Parameters: { shape: "S2q" }, Marker: {} },
- },
- },
- DescribeDBSubnetGroups: {
- input: {
- type: "structure",
- members: {
- DBSubnetGroupName: {},
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBSubnetGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- DBSubnetGroups: {
- type: "list",
- member: { shape: "S1m", locationName: "DBSubnetGroup" },
- },
- },
- },
- },
- DescribeEngineDefaultClusterParameters: {
- input: {
- type: "structure",
- required: ["DBParameterGroupFamily"],
- members: {
- DBParameterGroupFamily: {},
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEngineDefaultClusterParametersResult",
- type: "structure",
- members: { EngineDefaults: { shape: "S3s" } },
- },
- },
- DescribeEngineDefaultParameters: {
- input: {
- type: "structure",
- required: ["DBParameterGroupFamily"],
- members: {
- DBParameterGroupFamily: {},
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEngineDefaultParametersResult",
- type: "structure",
- members: { EngineDefaults: { shape: "S3s" } },
- },
- },
- DescribeEventCategories: {
- input: {
- type: "structure",
- members: { SourceType: {}, Filters: { shape: "S2j" } },
- },
- output: {
- resultWrapper: "DescribeEventCategoriesResult",
- type: "structure",
- members: {
- EventCategoriesMapList: {
- type: "list",
- member: {
- locationName: "EventCategoriesMap",
- type: "structure",
- members: {
- SourceType: {},
- EventCategories: { shape: "S7" },
- },
- wrapper: true,
- },
- },
- },
- },
- },
- DescribeEventSubscriptions: {
- input: {
- type: "structure",
- members: {
- SubscriptionName: {},
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEventSubscriptionsResult",
- type: "structure",
- members: {
- Marker: {},
- EventSubscriptionsList: {
- type: "list",
- member: { shape: "S5", locationName: "EventSubscription" },
- },
- },
- },
- },
- DescribeEvents: {
- input: {
- type: "structure",
- members: {
- SourceIdentifier: {},
- SourceType: {},
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Duration: { type: "integer" },
- EventCategories: { shape: "S7" },
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEventsResult",
- type: "structure",
- members: {
- Marker: {},
- Events: {
- type: "list",
- member: {
- locationName: "Event",
- type: "structure",
- members: {
- SourceIdentifier: {},
- SourceType: {},
- Message: {},
- EventCategories: { shape: "S7" },
- Date: { type: "timestamp" },
- SourceArn: {},
- },
- },
- },
- },
- },
- },
- DescribeOrderableDBInstanceOptions: {
- input: {
- type: "structure",
- required: ["Engine"],
- members: {
- Engine: {},
- EngineVersion: {},
- DBInstanceClass: {},
- LicenseModel: {},
- Vpc: { type: "boolean" },
- Filters: { shape: "S2j" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeOrderableDBInstanceOptionsResult",
- type: "structure",
- members: {
- OrderableDBInstanceOptions: {
- type: "list",
- member: {
- locationName: "OrderableDBInstanceOption",
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- DBInstanceClass: {},
- LicenseModel: {},
- AvailabilityZones: {
- type: "list",
- member: {
- shape: "S1p",
- locationName: "AvailabilityZone",
- },
- },
- MultiAZCapable: { type: "boolean" },
- ReadReplicaCapable: { type: "boolean" },
- Vpc: { type: "boolean" },
- SupportsStorageEncryption: { type: "boolean" },
- StorageType: {},
- SupportsIops: { type: "boolean" },
- SupportsEnhancedMonitoring: { type: "boolean" },
- SupportsIAMDatabaseAuthentication: { type: "boolean" },
- SupportsPerformanceInsights: { type: "boolean" },
- MinStorageSize: { type: "integer" },
- MaxStorageSize: { type: "integer" },
- MinIopsPerDbInstance: { type: "integer" },
- MaxIopsPerDbInstance: { type: "integer" },
- MinIopsPerGib: { type: "double" },
- MaxIopsPerGib: { type: "double" },
- },
- wrapper: true,
- },
- },
- Marker: {},
- },
- },
- },
- DescribePendingMaintenanceActions: {
- input: {
- type: "structure",
- members: {
- ResourceIdentifier: {},
- Filters: { shape: "S2j" },
- Marker: {},
- MaxRecords: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "DescribePendingMaintenanceActionsResult",
- type: "structure",
- members: {
- PendingMaintenanceActions: {
- type: "list",
- member: {
- shape: "Se",
- locationName: "ResourcePendingMaintenanceActions",
- },
- },
- Marker: {},
- },
- },
- },
- DescribeValidDBInstanceModifications: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: { DBInstanceIdentifier: {} },
- },
- output: {
- resultWrapper: "DescribeValidDBInstanceModificationsResult",
- type: "structure",
- members: {
- ValidDBInstanceModificationsMessage: {
- type: "structure",
- members: {
- Storage: {
- type: "list",
- member: {
- locationName: "ValidStorageOptions",
- type: "structure",
- members: {
- StorageType: {},
- StorageSize: { shape: "S4l" },
- ProvisionedIops: { shape: "S4l" },
- IopsToStorageRatio: {
- type: "list",
- member: {
- locationName: "DoubleRange",
- type: "structure",
- members: {
- From: { type: "double" },
- To: { type: "double" },
- },
- },
- },
- },
- },
- },
- },
- wrapper: true,
- },
- },
- },
- },
- FailoverDBCluster: {
- input: {
- type: "structure",
- members: {
- DBClusterIdentifier: {},
- TargetDBInstanceIdentifier: {},
- },
- },
- output: {
- resultWrapper: "FailoverDBClusterResult",
- type: "structure",
- members: { DBCluster: { shape: "Sz" } },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceName"],
- members: { ResourceName: {}, Filters: { shape: "S2j" } },
- },
- output: {
- resultWrapper: "ListTagsForResourceResult",
- type: "structure",
- members: { TagList: { shape: "Sa" } },
- },
- },
- ModifyDBCluster: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier"],
- members: {
- DBClusterIdentifier: {},
- NewDBClusterIdentifier: {},
- ApplyImmediately: { type: "boolean" },
- BackupRetentionPeriod: { type: "integer" },
- DBClusterParameterGroupName: {},
- VpcSecurityGroupIds: { shape: "Sw" },
- Port: { type: "integer" },
- MasterUserPassword: {},
- OptionGroupName: {},
- PreferredBackupWindow: {},
- PreferredMaintenanceWindow: {},
- EnableIAMDatabaseAuthentication: { type: "boolean" },
- CloudwatchLogsExportConfiguration: { shape: "S4v" },
- EngineVersion: {},
- DeletionProtection: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "ModifyDBClusterResult",
- type: "structure",
- members: { DBCluster: { shape: "Sz" } },
- },
- },
- ModifyDBClusterParameterGroup: {
- input: {
- type: "structure",
- required: ["DBClusterParameterGroupName", "Parameters"],
- members: {
- DBClusterParameterGroupName: {},
- Parameters: { shape: "S2q" },
- },
- },
- output: {
- shape: "S4y",
- resultWrapper: "ModifyDBClusterParameterGroupResult",
- },
- },
- ModifyDBClusterSnapshotAttribute: {
- input: {
- type: "structure",
- required: ["DBClusterSnapshotIdentifier", "AttributeName"],
- members: {
- DBClusterSnapshotIdentifier: {},
- AttributeName: {},
- ValuesToAdd: { shape: "S2y" },
- ValuesToRemove: { shape: "S2y" },
- },
- },
- output: {
- resultWrapper: "ModifyDBClusterSnapshotAttributeResult",
- type: "structure",
- members: { DBClusterSnapshotAttributesResult: { shape: "S2v" } },
- },
- },
- ModifyDBInstance: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- AllocatedStorage: { type: "integer" },
- DBInstanceClass: {},
- DBSubnetGroupName: {},
- DBSecurityGroups: { shape: "S1e" },
- VpcSecurityGroupIds: { shape: "Sw" },
- ApplyImmediately: { type: "boolean" },
- MasterUserPassword: {},
- DBParameterGroupName: {},
- BackupRetentionPeriod: { type: "integer" },
- PreferredBackupWindow: {},
- PreferredMaintenanceWindow: {},
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- AllowMajorVersionUpgrade: { type: "boolean" },
- AutoMinorVersionUpgrade: { type: "boolean" },
- LicenseModel: {},
- Iops: { type: "integer" },
- OptionGroupName: {},
- NewDBInstanceIdentifier: {},
- StorageType: {},
- TdeCredentialArn: {},
- TdeCredentialPassword: {},
- CACertificateIdentifier: {},
- Domain: {},
- CopyTagsToSnapshot: { type: "boolean" },
- MonitoringInterval: { type: "integer" },
- DBPortNumber: { type: "integer" },
- PubliclyAccessible: { deprecated: true, type: "boolean" },
- MonitoringRoleArn: {},
- DomainIAMRoleName: {},
- PromotionTier: { type: "integer" },
- EnableIAMDatabaseAuthentication: { type: "boolean" },
- EnablePerformanceInsights: { type: "boolean" },
- PerformanceInsightsKMSKeyId: {},
- CloudwatchLogsExportConfiguration: { shape: "S4v" },
- DeletionProtection: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "ModifyDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "S1g" } },
- },
- },
- ModifyDBParameterGroup: {
- input: {
- type: "structure",
- required: ["DBParameterGroupName", "Parameters"],
- members: {
- DBParameterGroupName: {},
- Parameters: { shape: "S2q" },
- },
- },
- output: {
- shape: "S54",
- resultWrapper: "ModifyDBParameterGroupResult",
- },
- },
- ModifyDBSubnetGroup: {
- input: {
- type: "structure",
- required: ["DBSubnetGroupName", "SubnetIds"],
- members: {
- DBSubnetGroupName: {},
- DBSubnetGroupDescription: {},
- SubnetIds: { shape: "S23" },
- },
- },
- output: {
- resultWrapper: "ModifyDBSubnetGroupResult",
- type: "structure",
- members: { DBSubnetGroup: { shape: "S1m" } },
- },
- },
- ModifyEventSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName"],
- members: {
- SubscriptionName: {},
- SnsTopicArn: {},
- SourceType: {},
- EventCategories: { shape: "S7" },
- Enabled: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "ModifyEventSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S5" } },
- },
- },
- PromoteReadReplicaDBCluster: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier"],
- members: { DBClusterIdentifier: {} },
- },
- output: {
- resultWrapper: "PromoteReadReplicaDBClusterResult",
- type: "structure",
- members: { DBCluster: { shape: "Sz" } },
- },
- },
- RebootDBInstance: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- ForceFailover: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "RebootDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "S1g" } },
- },
- },
- RemoveRoleFromDBCluster: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier", "RoleArn"],
- members: { DBClusterIdentifier: {}, RoleArn: {} },
- },
- },
- RemoveSourceIdentifierFromSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName", "SourceIdentifier"],
- members: { SubscriptionName: {}, SourceIdentifier: {} },
- },
- output: {
- resultWrapper: "RemoveSourceIdentifierFromSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S5" } },
- },
- },
- RemoveTagsFromResource: {
- input: {
- type: "structure",
- required: ["ResourceName", "TagKeys"],
- members: {
- ResourceName: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- },
- ResetDBClusterParameterGroup: {
- input: {
- type: "structure",
- required: ["DBClusterParameterGroupName"],
- members: {
- DBClusterParameterGroupName: {},
- ResetAllParameters: { type: "boolean" },
- Parameters: { shape: "S2q" },
- },
- },
- output: {
- shape: "S4y",
- resultWrapper: "ResetDBClusterParameterGroupResult",
- },
- },
- ResetDBParameterGroup: {
- input: {
- type: "structure",
- required: ["DBParameterGroupName"],
- members: {
- DBParameterGroupName: {},
- ResetAllParameters: { type: "boolean" },
- Parameters: { shape: "S2q" },
- },
- },
- output: {
- shape: "S54",
- resultWrapper: "ResetDBParameterGroupResult",
- },
- },
- RestoreDBClusterFromSnapshot: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier", "SnapshotIdentifier", "Engine"],
- members: {
- AvailabilityZones: { shape: "Sp" },
- DBClusterIdentifier: {},
- SnapshotIdentifier: {},
- Engine: {},
- EngineVersion: {},
- Port: { type: "integer" },
- DBSubnetGroupName: {},
- DatabaseName: {},
- OptionGroupName: {},
- VpcSecurityGroupIds: { shape: "Sw" },
- Tags: { shape: "Sa" },
- KmsKeyId: {},
- EnableIAMDatabaseAuthentication: { type: "boolean" },
- EnableCloudwatchLogsExports: { shape: "Sx" },
- DBClusterParameterGroupName: {},
- DeletionProtection: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "RestoreDBClusterFromSnapshotResult",
- type: "structure",
- members: { DBCluster: { shape: "Sz" } },
- },
- },
- RestoreDBClusterToPointInTime: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier", "SourceDBClusterIdentifier"],
- members: {
- DBClusterIdentifier: {},
- RestoreType: {},
- SourceDBClusterIdentifier: {},
- RestoreToTime: { type: "timestamp" },
- UseLatestRestorableTime: { type: "boolean" },
- Port: { type: "integer" },
- DBSubnetGroupName: {},
- OptionGroupName: {},
- VpcSecurityGroupIds: { shape: "Sw" },
- Tags: { shape: "Sa" },
- KmsKeyId: {},
- EnableIAMDatabaseAuthentication: { type: "boolean" },
- EnableCloudwatchLogsExports: { shape: "Sx" },
- DBClusterParameterGroupName: {},
- DeletionProtection: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "RestoreDBClusterToPointInTimeResult",
- type: "structure",
- members: { DBCluster: { shape: "Sz" } },
- },
- },
- StartDBCluster: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier"],
- members: { DBClusterIdentifier: {} },
- },
- output: {
- resultWrapper: "StartDBClusterResult",
- type: "structure",
- members: { DBCluster: { shape: "Sz" } },
- },
- },
- StopDBCluster: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier"],
- members: { DBClusterIdentifier: {} },
- },
- output: {
- resultWrapper: "StopDBClusterResult",
- type: "structure",
- members: { DBCluster: { shape: "Sz" } },
- },
- },
- },
- shapes: {
- S5: {
- type: "structure",
- members: {
- CustomerAwsId: {},
- CustSubscriptionId: {},
- SnsTopicArn: {},
- Status: {},
- SubscriptionCreationTime: {},
- SourceType: {},
- SourceIdsList: { shape: "S6" },
- EventCategoriesList: { shape: "S7" },
- Enabled: { type: "boolean" },
- EventSubscriptionArn: {},
- },
- wrapper: true,
- },
- S6: { type: "list", member: { locationName: "SourceId" } },
- S7: { type: "list", member: { locationName: "EventCategory" } },
- Sa: {
- type: "list",
- member: {
- locationName: "Tag",
- type: "structure",
- members: { Key: {}, Value: {} },
- },
- },
- Se: {
- type: "structure",
- members: {
- ResourceIdentifier: {},
- PendingMaintenanceActionDetails: {
- type: "list",
- member: {
- locationName: "PendingMaintenanceAction",
- type: "structure",
- members: {
- Action: {},
- AutoAppliedAfterDate: { type: "timestamp" },
- ForcedApplyDate: { type: "timestamp" },
- OptInStatus: {},
- CurrentApplyDate: { type: "timestamp" },
- Description: {},
- },
- },
- },
- },
- wrapper: true,
- },
- Sk: {
- type: "structure",
- members: {
- DBClusterParameterGroupName: {},
- DBParameterGroupFamily: {},
- Description: {},
- DBClusterParameterGroupArn: {},
- },
- wrapper: true,
- },
- So: {
- type: "structure",
- members: {
- AvailabilityZones: { shape: "Sp" },
- DBClusterSnapshotIdentifier: {},
- DBClusterIdentifier: {},
- SnapshotCreateTime: { type: "timestamp" },
- Engine: {},
- AllocatedStorage: { type: "integer" },
- Status: {},
- Port: { type: "integer" },
- VpcId: {},
- ClusterCreateTime: { type: "timestamp" },
- MasterUsername: {},
- EngineVersion: {},
- LicenseModel: {},
- SnapshotType: {},
- PercentProgress: { type: "integer" },
- StorageEncrypted: { type: "boolean" },
- KmsKeyId: {},
- DBClusterSnapshotArn: {},
- SourceDBClusterSnapshotArn: {},
- IAMDatabaseAuthenticationEnabled: { type: "boolean" },
- },
- wrapper: true,
- },
- Sp: { type: "list", member: { locationName: "AvailabilityZone" } },
- St: {
- type: "structure",
- members: {
- DBParameterGroupName: {},
- DBParameterGroupFamily: {},
- Description: {},
- DBParameterGroupArn: {},
- },
- wrapper: true,
- },
- Sw: { type: "list", member: { locationName: "VpcSecurityGroupId" } },
- Sx: { type: "list", member: {} },
- Sz: {
- type: "structure",
- members: {
- AllocatedStorage: { type: "integer" },
- AvailabilityZones: { shape: "Sp" },
- BackupRetentionPeriod: { type: "integer" },
- CharacterSetName: {},
- DatabaseName: {},
- DBClusterIdentifier: {},
- DBClusterParameterGroup: {},
- DBSubnetGroup: {},
- Status: {},
- PercentProgress: {},
- EarliestRestorableTime: { type: "timestamp" },
- Endpoint: {},
- ReaderEndpoint: {},
- MultiAZ: { type: "boolean" },
- Engine: {},
- EngineVersion: {},
- LatestRestorableTime: { type: "timestamp" },
- Port: { type: "integer" },
- MasterUsername: {},
- DBClusterOptionGroupMemberships: {
- type: "list",
- member: {
- locationName: "DBClusterOptionGroup",
- type: "structure",
- members: { DBClusterOptionGroupName: {}, Status: {} },
- },
- },
- PreferredBackupWindow: {},
- PreferredMaintenanceWindow: {},
- ReplicationSourceIdentifier: {},
- ReadReplicaIdentifiers: {
- type: "list",
- member: { locationName: "ReadReplicaIdentifier" },
- },
- DBClusterMembers: {
- type: "list",
- member: {
- locationName: "DBClusterMember",
- type: "structure",
- members: {
- DBInstanceIdentifier: {},
- IsClusterWriter: { type: "boolean" },
- DBClusterParameterGroupStatus: {},
- PromotionTier: { type: "integer" },
- },
- wrapper: true,
- },
- },
- VpcSecurityGroups: { shape: "S15" },
- HostedZoneId: {},
- StorageEncrypted: { type: "boolean" },
- KmsKeyId: {},
- DbClusterResourceId: {},
- DBClusterArn: {},
- AssociatedRoles: {
- type: "list",
- member: {
- locationName: "DBClusterRole",
- type: "structure",
- members: { RoleArn: {}, Status: {} },
- },
- },
- IAMDatabaseAuthenticationEnabled: { type: "boolean" },
- CloneGroupId: {},
- ClusterCreateTime: { type: "timestamp" },
- EnabledCloudwatchLogsExports: { shape: "Sx" },
- DeletionProtection: { type: "boolean" },
- },
- wrapper: true,
- },
- S15: {
- type: "list",
- member: {
- locationName: "VpcSecurityGroupMembership",
- type: "structure",
- members: { VpcSecurityGroupId: {}, Status: {} },
- },
- },
- S1e: {
- type: "list",
- member: { locationName: "DBSecurityGroupName" },
- },
- S1g: {
- type: "structure",
- members: {
- DBInstanceIdentifier: {},
- DBInstanceClass: {},
- Engine: {},
- DBInstanceStatus: {},
- MasterUsername: {},
- DBName: {},
- Endpoint: {
- type: "structure",
- members: {
- Address: {},
- Port: { type: "integer" },
- HostedZoneId: {},
- },
- },
- AllocatedStorage: { type: "integer" },
- InstanceCreateTime: { type: "timestamp" },
- PreferredBackupWindow: {},
- BackupRetentionPeriod: { type: "integer" },
- DBSecurityGroups: {
- type: "list",
- member: {
- locationName: "DBSecurityGroup",
- type: "structure",
- members: { DBSecurityGroupName: {}, Status: {} },
- },
- },
- VpcSecurityGroups: { shape: "S15" },
- DBParameterGroups: {
- type: "list",
- member: {
- locationName: "DBParameterGroup",
- type: "structure",
- members: {
- DBParameterGroupName: {},
- ParameterApplyStatus: {},
- },
- },
- },
- AvailabilityZone: {},
- DBSubnetGroup: { shape: "S1m" },
- PreferredMaintenanceWindow: {},
- PendingModifiedValues: {
- type: "structure",
- members: {
- DBInstanceClass: {},
- AllocatedStorage: { type: "integer" },
- MasterUserPassword: {},
- Port: { type: "integer" },
- BackupRetentionPeriod: { type: "integer" },
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- LicenseModel: {},
- Iops: { type: "integer" },
- DBInstanceIdentifier: {},
- StorageType: {},
- CACertificateIdentifier: {},
- DBSubnetGroupName: {},
- PendingCloudwatchLogsExports: {
- type: "structure",
- members: {
- LogTypesToEnable: { shape: "Sx" },
- LogTypesToDisable: { shape: "Sx" },
- },
- },
- },
- },
- LatestRestorableTime: { type: "timestamp" },
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- ReadReplicaSourceDBInstanceIdentifier: {},
- ReadReplicaDBInstanceIdentifiers: {
- type: "list",
- member: { locationName: "ReadReplicaDBInstanceIdentifier" },
- },
- ReadReplicaDBClusterIdentifiers: {
- type: "list",
- member: { locationName: "ReadReplicaDBClusterIdentifier" },
- },
- LicenseModel: {},
- Iops: { type: "integer" },
- OptionGroupMemberships: {
- type: "list",
- member: {
- locationName: "OptionGroupMembership",
- type: "structure",
- members: { OptionGroupName: {}, Status: {} },
- },
- },
- CharacterSetName: {},
- SecondaryAvailabilityZone: {},
- PubliclyAccessible: { deprecated: true, type: "boolean" },
- StatusInfos: {
- type: "list",
- member: {
- locationName: "DBInstanceStatusInfo",
- type: "structure",
- members: {
- StatusType: {},
- Normal: { type: "boolean" },
- Status: {},
- Message: {},
- },
- },
- },
- StorageType: {},
- TdeCredentialArn: {},
- DbInstancePort: { type: "integer" },
- DBClusterIdentifier: {},
- StorageEncrypted: { type: "boolean" },
- KmsKeyId: {},
- DbiResourceId: {},
- CACertificateIdentifier: {},
- DomainMemberships: {
- type: "list",
- member: {
- locationName: "DomainMembership",
- type: "structure",
- members: {
- Domain: {},
- Status: {},
- FQDN: {},
- IAMRoleName: {},
- },
- },
- },
- CopyTagsToSnapshot: { type: "boolean" },
- MonitoringInterval: { type: "integer" },
- EnhancedMonitoringResourceArn: {},
- MonitoringRoleArn: {},
- PromotionTier: { type: "integer" },
- DBInstanceArn: {},
- Timezone: {},
- IAMDatabaseAuthenticationEnabled: { type: "boolean" },
- PerformanceInsightsEnabled: { type: "boolean" },
- PerformanceInsightsKMSKeyId: {},
- EnabledCloudwatchLogsExports: { shape: "Sx" },
- DeletionProtection: { type: "boolean" },
- },
- wrapper: true,
- },
- S1m: {
- type: "structure",
- members: {
- DBSubnetGroupName: {},
- DBSubnetGroupDescription: {},
- VpcId: {},
- SubnetGroupStatus: {},
- Subnets: {
- type: "list",
- member: {
- locationName: "Subnet",
- type: "structure",
- members: {
- SubnetIdentifier: {},
- SubnetAvailabilityZone: { shape: "S1p" },
- SubnetStatus: {},
- },
- },
- },
- DBSubnetGroupArn: {},
- },
- wrapper: true,
- },
- S1p: { type: "structure", members: { Name: {} }, wrapper: true },
- S23: { type: "list", member: { locationName: "SubnetIdentifier" } },
- S2j: {
- type: "list",
- member: {
- locationName: "Filter",
- type: "structure",
- required: ["Name", "Values"],
- members: {
- Name: {},
- Values: { type: "list", member: { locationName: "Value" } },
- },
- },
- },
- S2q: {
- type: "list",
- member: {
- locationName: "Parameter",
- type: "structure",
- members: {
- ParameterName: {},
- ParameterValue: {},
- Description: {},
- Source: {},
- ApplyType: {},
- DataType: {},
- AllowedValues: {},
- IsModifiable: { type: "boolean" },
- MinimumEngineVersion: {},
- ApplyMethod: {},
- },
- },
- },
- S2v: {
- type: "structure",
- members: {
- DBClusterSnapshotIdentifier: {},
- DBClusterSnapshotAttributes: {
- type: "list",
- member: {
- locationName: "DBClusterSnapshotAttribute",
- type: "structure",
- members: {
- AttributeName: {},
- AttributeValues: { shape: "S2y" },
- },
- },
- },
- },
- wrapper: true,
- },
- S2y: { type: "list", member: { locationName: "AttributeValue" } },
- S39: {
- type: "structure",
- members: { CharacterSetName: {}, CharacterSetDescription: {} },
- },
- S3s: {
- type: "structure",
- members: {
- DBParameterGroupFamily: {},
- Marker: {},
- Parameters: { shape: "S2q" },
- },
- wrapper: true,
- },
- S4l: {
- type: "list",
- member: {
- locationName: "Range",
- type: "structure",
- members: {
- From: { type: "integer" },
- To: { type: "integer" },
- Step: { type: "integer" },
- },
- },
- },
- S4v: {
- type: "structure",
- members: {
- EnableLogTypes: { shape: "Sx" },
- DisableLogTypes: { shape: "Sx" },
- },
- },
- S4y: {
- type: "structure",
- members: { DBClusterParameterGroupName: {} },
- },
- S54: { type: "structure", members: { DBParameterGroupName: {} } },
- },
- };
-
- /***/
- },
-
- /***/ 1413: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2014-09-01",
- endpointPrefix: "rds",
- protocol: "query",
- serviceAbbreviation: "Amazon RDS",
- serviceFullName: "Amazon Relational Database Service",
- serviceId: "RDS",
- signatureVersion: "v4",
- uid: "rds-2014-09-01",
- xmlNamespace: "http://rds.amazonaws.com/doc/2014-09-01/",
- },
- operations: {
- AddSourceIdentifierToSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName", "SourceIdentifier"],
- members: { SubscriptionName: {}, SourceIdentifier: {} },
- },
- output: {
- resultWrapper: "AddSourceIdentifierToSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S4" } },
- },
- },
- AddTagsToResource: {
- input: {
- type: "structure",
- required: ["ResourceName", "Tags"],
- members: { ResourceName: {}, Tags: { shape: "S9" } },
- },
- },
- AuthorizeDBSecurityGroupIngress: {
- input: {
- type: "structure",
- required: ["DBSecurityGroupName"],
- members: {
- DBSecurityGroupName: {},
- CIDRIP: {},
- EC2SecurityGroupName: {},
- EC2SecurityGroupId: {},
- EC2SecurityGroupOwnerId: {},
- },
- },
- output: {
- resultWrapper: "AuthorizeDBSecurityGroupIngressResult",
- type: "structure",
- members: { DBSecurityGroup: { shape: "Sd" } },
- },
- },
- CopyDBParameterGroup: {
- input: {
- type: "structure",
- required: [
- "SourceDBParameterGroupIdentifier",
- "TargetDBParameterGroupIdentifier",
- "TargetDBParameterGroupDescription",
- ],
- members: {
- SourceDBParameterGroupIdentifier: {},
- TargetDBParameterGroupIdentifier: {},
- TargetDBParameterGroupDescription: {},
- Tags: { shape: "S9" },
- },
- },
- output: {
- resultWrapper: "CopyDBParameterGroupResult",
- type: "structure",
- members: { DBParameterGroup: { shape: "Sk" } },
- },
- },
- CopyDBSnapshot: {
- input: {
- type: "structure",
- required: [
- "SourceDBSnapshotIdentifier",
- "TargetDBSnapshotIdentifier",
- ],
- members: {
- SourceDBSnapshotIdentifier: {},
- TargetDBSnapshotIdentifier: {},
- Tags: { shape: "S9" },
- },
- },
- output: {
- resultWrapper: "CopyDBSnapshotResult",
- type: "structure",
- members: { DBSnapshot: { shape: "Sn" } },
- },
- },
- CopyOptionGroup: {
- input: {
- type: "structure",
- required: [
- "SourceOptionGroupIdentifier",
- "TargetOptionGroupIdentifier",
- "TargetOptionGroupDescription",
- ],
- members: {
- SourceOptionGroupIdentifier: {},
- TargetOptionGroupIdentifier: {},
- TargetOptionGroupDescription: {},
- Tags: { shape: "S9" },
- },
- },
- output: {
- resultWrapper: "CopyOptionGroupResult",
- type: "structure",
- members: { OptionGroup: { shape: "St" } },
- },
- },
- CreateDBInstance: {
- input: {
- type: "structure",
- required: [
- "DBInstanceIdentifier",
- "AllocatedStorage",
- "DBInstanceClass",
- "Engine",
- "MasterUsername",
- "MasterUserPassword",
- ],
- members: {
- DBName: {},
- DBInstanceIdentifier: {},
- AllocatedStorage: { type: "integer" },
- DBInstanceClass: {},
- Engine: {},
- MasterUsername: {},
- MasterUserPassword: {},
- DBSecurityGroups: { shape: "S13" },
- VpcSecurityGroupIds: { shape: "S14" },
- AvailabilityZone: {},
- DBSubnetGroupName: {},
- PreferredMaintenanceWindow: {},
- DBParameterGroupName: {},
- BackupRetentionPeriod: { type: "integer" },
- PreferredBackupWindow: {},
- Port: { type: "integer" },
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- LicenseModel: {},
- Iops: { type: "integer" },
- OptionGroupName: {},
- CharacterSetName: {},
- PubliclyAccessible: { type: "boolean" },
- Tags: { shape: "S9" },
- StorageType: {},
- TdeCredentialArn: {},
- TdeCredentialPassword: {},
- },
- },
- output: {
- resultWrapper: "CreateDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "S17" } },
- },
- },
- CreateDBInstanceReadReplica: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier", "SourceDBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- SourceDBInstanceIdentifier: {},
- DBInstanceClass: {},
- AvailabilityZone: {},
- Port: { type: "integer" },
- AutoMinorVersionUpgrade: { type: "boolean" },
- Iops: { type: "integer" },
- OptionGroupName: {},
- PubliclyAccessible: { type: "boolean" },
- Tags: { shape: "S9" },
- DBSubnetGroupName: {},
- StorageType: {},
- },
- },
- output: {
- resultWrapper: "CreateDBInstanceReadReplicaResult",
- type: "structure",
- members: { DBInstance: { shape: "S17" } },
- },
- },
- CreateDBParameterGroup: {
- input: {
- type: "structure",
- required: [
- "DBParameterGroupName",
- "DBParameterGroupFamily",
- "Description",
- ],
- members: {
- DBParameterGroupName: {},
- DBParameterGroupFamily: {},
- Description: {},
- Tags: { shape: "S9" },
- },
- },
- output: {
- resultWrapper: "CreateDBParameterGroupResult",
- type: "structure",
- members: { DBParameterGroup: { shape: "Sk" } },
- },
- },
- CreateDBSecurityGroup: {
- input: {
- type: "structure",
- required: ["DBSecurityGroupName", "DBSecurityGroupDescription"],
- members: {
- DBSecurityGroupName: {},
- DBSecurityGroupDescription: {},
- Tags: { shape: "S9" },
- },
- },
- output: {
- resultWrapper: "CreateDBSecurityGroupResult",
- type: "structure",
- members: { DBSecurityGroup: { shape: "Sd" } },
- },
- },
- CreateDBSnapshot: {
- input: {
- type: "structure",
- required: ["DBSnapshotIdentifier", "DBInstanceIdentifier"],
- members: {
- DBSnapshotIdentifier: {},
- DBInstanceIdentifier: {},
- Tags: { shape: "S9" },
- },
- },
- output: {
- resultWrapper: "CreateDBSnapshotResult",
- type: "structure",
- members: { DBSnapshot: { shape: "Sn" } },
- },
- },
- CreateDBSubnetGroup: {
- input: {
- type: "structure",
- required: [
- "DBSubnetGroupName",
- "DBSubnetGroupDescription",
- "SubnetIds",
- ],
- members: {
- DBSubnetGroupName: {},
- DBSubnetGroupDescription: {},
- SubnetIds: { shape: "S1u" },
- Tags: { shape: "S9" },
- },
- },
- output: {
- resultWrapper: "CreateDBSubnetGroupResult",
- type: "structure",
- members: { DBSubnetGroup: { shape: "S1b" } },
- },
- },
- CreateEventSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName", "SnsTopicArn"],
- members: {
- SubscriptionName: {},
- SnsTopicArn: {},
- SourceType: {},
- EventCategories: { shape: "S6" },
- SourceIds: { shape: "S5" },
- Enabled: { type: "boolean" },
- Tags: { shape: "S9" },
- },
- },
- output: {
- resultWrapper: "CreateEventSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S4" } },
- },
- },
- CreateOptionGroup: {
- input: {
- type: "structure",
- required: [
- "OptionGroupName",
- "EngineName",
- "MajorEngineVersion",
- "OptionGroupDescription",
- ],
- members: {
- OptionGroupName: {},
- EngineName: {},
- MajorEngineVersion: {},
- OptionGroupDescription: {},
- Tags: { shape: "S9" },
- },
- },
- output: {
- resultWrapper: "CreateOptionGroupResult",
- type: "structure",
- members: { OptionGroup: { shape: "St" } },
- },
- },
- DeleteDBInstance: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- SkipFinalSnapshot: { type: "boolean" },
- FinalDBSnapshotIdentifier: {},
- },
- },
- output: {
- resultWrapper: "DeleteDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "S17" } },
- },
- },
- DeleteDBParameterGroup: {
- input: {
- type: "structure",
- required: ["DBParameterGroupName"],
- members: { DBParameterGroupName: {} },
- },
- },
- DeleteDBSecurityGroup: {
- input: {
- type: "structure",
- required: ["DBSecurityGroupName"],
- members: { DBSecurityGroupName: {} },
- },
- },
- DeleteDBSnapshot: {
- input: {
- type: "structure",
- required: ["DBSnapshotIdentifier"],
- members: { DBSnapshotIdentifier: {} },
- },
- output: {
- resultWrapper: "DeleteDBSnapshotResult",
- type: "structure",
- members: { DBSnapshot: { shape: "Sn" } },
- },
- },
- DeleteDBSubnetGroup: {
- input: {
- type: "structure",
- required: ["DBSubnetGroupName"],
- members: { DBSubnetGroupName: {} },
- },
- },
- DeleteEventSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName"],
- members: { SubscriptionName: {} },
- },
- output: {
- resultWrapper: "DeleteEventSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S4" } },
- },
- },
- DeleteOptionGroup: {
- input: {
- type: "structure",
- required: ["OptionGroupName"],
- members: { OptionGroupName: {} },
- },
- },
- DescribeDBEngineVersions: {
- input: {
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- DBParameterGroupFamily: {},
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- DefaultOnly: { type: "boolean" },
- ListSupportedCharacterSets: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeDBEngineVersionsResult",
- type: "structure",
- members: {
- Marker: {},
- DBEngineVersions: {
- type: "list",
- member: {
- locationName: "DBEngineVersion",
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- DBParameterGroupFamily: {},
- DBEngineDescription: {},
- DBEngineVersionDescription: {},
- DefaultCharacterSet: { shape: "S2h" },
- SupportedCharacterSets: {
- type: "list",
- member: { shape: "S2h", locationName: "CharacterSet" },
- },
- },
- },
- },
- },
- },
- },
- DescribeDBInstances: {
- input: {
- type: "structure",
- members: {
- DBInstanceIdentifier: {},
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBInstancesResult",
- type: "structure",
- members: {
- Marker: {},
- DBInstances: {
- type: "list",
- member: { shape: "S17", locationName: "DBInstance" },
- },
- },
- },
- },
- DescribeDBLogFiles: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- FilenameContains: {},
- FileLastWritten: { type: "long" },
- FileSize: { type: "long" },
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBLogFilesResult",
- type: "structure",
- members: {
- DescribeDBLogFiles: {
- type: "list",
- member: {
- locationName: "DescribeDBLogFilesDetails",
- type: "structure",
- members: {
- LogFileName: {},
- LastWritten: { type: "long" },
- Size: { type: "long" },
- },
- },
- },
- Marker: {},
- },
- },
- },
- DescribeDBParameterGroups: {
- input: {
- type: "structure",
- members: {
- DBParameterGroupName: {},
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBParameterGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- DBParameterGroups: {
- type: "list",
- member: { shape: "Sk", locationName: "DBParameterGroup" },
- },
- },
- },
- },
- DescribeDBParameters: {
- input: {
- type: "structure",
- required: ["DBParameterGroupName"],
- members: {
- DBParameterGroupName: {},
- Source: {},
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBParametersResult",
- type: "structure",
- members: { Parameters: { shape: "S2w" }, Marker: {} },
- },
- },
- DescribeDBSecurityGroups: {
- input: {
- type: "structure",
- members: {
- DBSecurityGroupName: {},
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBSecurityGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- DBSecurityGroups: {
- type: "list",
- member: { shape: "Sd", locationName: "DBSecurityGroup" },
- },
- },
- },
- },
- DescribeDBSnapshots: {
- input: {
- type: "structure",
- members: {
- DBInstanceIdentifier: {},
- DBSnapshotIdentifier: {},
- SnapshotType: {},
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBSnapshotsResult",
- type: "structure",
- members: {
- Marker: {},
- DBSnapshots: {
- type: "list",
- member: { shape: "Sn", locationName: "DBSnapshot" },
- },
- },
- },
- },
- DescribeDBSubnetGroups: {
- input: {
- type: "structure",
- members: {
- DBSubnetGroupName: {},
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBSubnetGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- DBSubnetGroups: {
- type: "list",
- member: { shape: "S1b", locationName: "DBSubnetGroup" },
- },
- },
- },
- },
- DescribeEngineDefaultParameters: {
- input: {
- type: "structure",
- required: ["DBParameterGroupFamily"],
- members: {
- DBParameterGroupFamily: {},
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEngineDefaultParametersResult",
- type: "structure",
- members: {
- EngineDefaults: {
- type: "structure",
- members: {
- DBParameterGroupFamily: {},
- Marker: {},
- Parameters: { shape: "S2w" },
- },
- wrapper: true,
- },
- },
- },
- },
- DescribeEventCategories: {
- input: {
- type: "structure",
- members: { SourceType: {}, Filters: { shape: "S2b" } },
- },
- output: {
- resultWrapper: "DescribeEventCategoriesResult",
- type: "structure",
- members: {
- EventCategoriesMapList: {
- type: "list",
- member: {
- locationName: "EventCategoriesMap",
- type: "structure",
- members: {
- SourceType: {},
- EventCategories: { shape: "S6" },
- },
- wrapper: true,
- },
- },
- },
- },
- },
- DescribeEventSubscriptions: {
- input: {
- type: "structure",
- members: {
- SubscriptionName: {},
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEventSubscriptionsResult",
- type: "structure",
- members: {
- Marker: {},
- EventSubscriptionsList: {
- type: "list",
- member: { shape: "S4", locationName: "EventSubscription" },
- },
- },
- },
- },
- DescribeEvents: {
- input: {
- type: "structure",
- members: {
- SourceIdentifier: {},
- SourceType: {},
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Duration: { type: "integer" },
- EventCategories: { shape: "S6" },
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEventsResult",
- type: "structure",
- members: {
- Marker: {},
- Events: {
- type: "list",
- member: {
- locationName: "Event",
- type: "structure",
- members: {
- SourceIdentifier: {},
- SourceType: {},
- Message: {},
- EventCategories: { shape: "S6" },
- Date: { type: "timestamp" },
- },
- },
- },
- },
- },
- },
- DescribeOptionGroupOptions: {
- input: {
- type: "structure",
- required: ["EngineName"],
- members: {
- EngineName: {},
- MajorEngineVersion: {},
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeOptionGroupOptionsResult",
- type: "structure",
- members: {
- OptionGroupOptions: {
- type: "list",
- member: {
- locationName: "OptionGroupOption",
- type: "structure",
- members: {
- Name: {},
- Description: {},
- EngineName: {},
- MajorEngineVersion: {},
- MinimumRequiredMinorEngineVersion: {},
- PortRequired: { type: "boolean" },
- DefaultPort: { type: "integer" },
- OptionsDependedOn: {
- type: "list",
- member: { locationName: "OptionName" },
- },
- Persistent: { type: "boolean" },
- Permanent: { type: "boolean" },
- OptionGroupOptionSettings: {
- type: "list",
- member: {
- locationName: "OptionGroupOptionSetting",
- type: "structure",
- members: {
- SettingName: {},
- SettingDescription: {},
- DefaultValue: {},
- ApplyType: {},
- AllowedValues: {},
- IsModifiable: { type: "boolean" },
- },
- },
- },
- },
- },
- },
- Marker: {},
- },
- },
- },
- DescribeOptionGroups: {
- input: {
- type: "structure",
- members: {
- OptionGroupName: {},
- Filters: { shape: "S2b" },
- Marker: {},
- MaxRecords: { type: "integer" },
- EngineName: {},
- MajorEngineVersion: {},
- },
- },
- output: {
- resultWrapper: "DescribeOptionGroupsResult",
- type: "structure",
- members: {
- OptionGroupsList: {
- type: "list",
- member: { shape: "St", locationName: "OptionGroup" },
- },
- Marker: {},
- },
- },
- },
- DescribeOrderableDBInstanceOptions: {
- input: {
- type: "structure",
- required: ["Engine"],
- members: {
- Engine: {},
- EngineVersion: {},
- DBInstanceClass: {},
- LicenseModel: {},
- Vpc: { type: "boolean" },
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeOrderableDBInstanceOptionsResult",
- type: "structure",
- members: {
- OrderableDBInstanceOptions: {
- type: "list",
- member: {
- locationName: "OrderableDBInstanceOption",
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- DBInstanceClass: {},
- LicenseModel: {},
- AvailabilityZones: {
- type: "list",
- member: {
- shape: "S1e",
- locationName: "AvailabilityZone",
- },
- },
- MultiAZCapable: { type: "boolean" },
- ReadReplicaCapable: { type: "boolean" },
- Vpc: { type: "boolean" },
- StorageType: {},
- SupportsIops: { type: "boolean" },
- },
- wrapper: true,
- },
- },
- Marker: {},
- },
- },
- },
- DescribeReservedDBInstances: {
- input: {
- type: "structure",
- members: {
- ReservedDBInstanceId: {},
- ReservedDBInstancesOfferingId: {},
- DBInstanceClass: {},
- Duration: {},
- ProductDescription: {},
- OfferingType: {},
- MultiAZ: { type: "boolean" },
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeReservedDBInstancesResult",
- type: "structure",
- members: {
- Marker: {},
- ReservedDBInstances: {
- type: "list",
- member: { shape: "S45", locationName: "ReservedDBInstance" },
- },
- },
- },
- },
- DescribeReservedDBInstancesOfferings: {
- input: {
- type: "structure",
- members: {
- ReservedDBInstancesOfferingId: {},
- DBInstanceClass: {},
- Duration: {},
- ProductDescription: {},
- OfferingType: {},
- MultiAZ: { type: "boolean" },
- Filters: { shape: "S2b" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeReservedDBInstancesOfferingsResult",
- type: "structure",
- members: {
- Marker: {},
- ReservedDBInstancesOfferings: {
- type: "list",
- member: {
- locationName: "ReservedDBInstancesOffering",
- type: "structure",
- members: {
- ReservedDBInstancesOfferingId: {},
- DBInstanceClass: {},
- Duration: { type: "integer" },
- FixedPrice: { type: "double" },
- UsagePrice: { type: "double" },
- CurrencyCode: {},
- ProductDescription: {},
- OfferingType: {},
- MultiAZ: { type: "boolean" },
- RecurringCharges: { shape: "S47" },
- },
- wrapper: true,
- },
- },
- },
- },
- },
- DownloadDBLogFilePortion: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier", "LogFileName"],
- members: {
- DBInstanceIdentifier: {},
- LogFileName: {},
- Marker: {},
- NumberOfLines: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "DownloadDBLogFilePortionResult",
- type: "structure",
- members: {
- LogFileData: {},
- Marker: {},
- AdditionalDataPending: { type: "boolean" },
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceName"],
- members: { ResourceName: {}, Filters: { shape: "S2b" } },
- },
- output: {
- resultWrapper: "ListTagsForResourceResult",
- type: "structure",
- members: { TagList: { shape: "S9" } },
- },
- },
- ModifyDBInstance: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- AllocatedStorage: { type: "integer" },
- DBInstanceClass: {},
- DBSecurityGroups: { shape: "S13" },
- VpcSecurityGroupIds: { shape: "S14" },
- ApplyImmediately: { type: "boolean" },
- MasterUserPassword: {},
- DBParameterGroupName: {},
- BackupRetentionPeriod: { type: "integer" },
- PreferredBackupWindow: {},
- PreferredMaintenanceWindow: {},
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- AllowMajorVersionUpgrade: { type: "boolean" },
- AutoMinorVersionUpgrade: { type: "boolean" },
- Iops: { type: "integer" },
- OptionGroupName: {},
- NewDBInstanceIdentifier: {},
- StorageType: {},
- TdeCredentialArn: {},
- TdeCredentialPassword: {},
- },
- },
- output: {
- resultWrapper: "ModifyDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "S17" } },
- },
- },
- ModifyDBParameterGroup: {
- input: {
- type: "structure",
- required: ["DBParameterGroupName", "Parameters"],
- members: {
- DBParameterGroupName: {},
- Parameters: { shape: "S2w" },
- },
- },
- output: {
- shape: "S4k",
- resultWrapper: "ModifyDBParameterGroupResult",
- },
- },
- ModifyDBSubnetGroup: {
- input: {
- type: "structure",
- required: ["DBSubnetGroupName", "SubnetIds"],
- members: {
- DBSubnetGroupName: {},
- DBSubnetGroupDescription: {},
- SubnetIds: { shape: "S1u" },
- },
- },
- output: {
- resultWrapper: "ModifyDBSubnetGroupResult",
- type: "structure",
- members: { DBSubnetGroup: { shape: "S1b" } },
- },
- },
- ModifyEventSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName"],
- members: {
- SubscriptionName: {},
- SnsTopicArn: {},
- SourceType: {},
- EventCategories: { shape: "S6" },
- Enabled: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "ModifyEventSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S4" } },
- },
- },
- ModifyOptionGroup: {
- input: {
- type: "structure",
- required: ["OptionGroupName"],
- members: {
- OptionGroupName: {},
- OptionsToInclude: {
- type: "list",
- member: {
- locationName: "OptionConfiguration",
- type: "structure",
- required: ["OptionName"],
- members: {
- OptionName: {},
- Port: { type: "integer" },
- DBSecurityGroupMemberships: { shape: "S13" },
- VpcSecurityGroupMemberships: { shape: "S14" },
- OptionSettings: {
- type: "list",
- member: { shape: "Sx", locationName: "OptionSetting" },
- },
- },
- },
- },
- OptionsToRemove: { type: "list", member: {} },
- ApplyImmediately: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "ModifyOptionGroupResult",
- type: "structure",
- members: { OptionGroup: { shape: "St" } },
- },
- },
- PromoteReadReplica: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- BackupRetentionPeriod: { type: "integer" },
- PreferredBackupWindow: {},
- },
- },
- output: {
- resultWrapper: "PromoteReadReplicaResult",
- type: "structure",
- members: { DBInstance: { shape: "S17" } },
- },
- },
- PurchaseReservedDBInstancesOffering: {
- input: {
- type: "structure",
- required: ["ReservedDBInstancesOfferingId"],
- members: {
- ReservedDBInstancesOfferingId: {},
- ReservedDBInstanceId: {},
- DBInstanceCount: { type: "integer" },
- Tags: { shape: "S9" },
- },
- },
- output: {
- resultWrapper: "PurchaseReservedDBInstancesOfferingResult",
- type: "structure",
- members: { ReservedDBInstance: { shape: "S45" } },
- },
- },
- RebootDBInstance: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- ForceFailover: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "RebootDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "S17" } },
- },
- },
- RemoveSourceIdentifierFromSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName", "SourceIdentifier"],
- members: { SubscriptionName: {}, SourceIdentifier: {} },
- },
- output: {
- resultWrapper: "RemoveSourceIdentifierFromSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S4" } },
- },
- },
- RemoveTagsFromResource: {
- input: {
- type: "structure",
- required: ["ResourceName", "TagKeys"],
- members: {
- ResourceName: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- },
- ResetDBParameterGroup: {
- input: {
- type: "structure",
- required: ["DBParameterGroupName"],
- members: {
- DBParameterGroupName: {},
- ResetAllParameters: { type: "boolean" },
- Parameters: { shape: "S2w" },
- },
- },
- output: {
- shape: "S4k",
- resultWrapper: "ResetDBParameterGroupResult",
- },
- },
- RestoreDBInstanceFromDBSnapshot: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier", "DBSnapshotIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- DBSnapshotIdentifier: {},
- DBInstanceClass: {},
- Port: { type: "integer" },
- AvailabilityZone: {},
- DBSubnetGroupName: {},
- MultiAZ: { type: "boolean" },
- PubliclyAccessible: { type: "boolean" },
- AutoMinorVersionUpgrade: { type: "boolean" },
- LicenseModel: {},
- DBName: {},
- Engine: {},
- Iops: { type: "integer" },
- OptionGroupName: {},
- Tags: { shape: "S9" },
- StorageType: {},
- TdeCredentialArn: {},
- TdeCredentialPassword: {},
- },
- },
- output: {
- resultWrapper: "RestoreDBInstanceFromDBSnapshotResult",
- type: "structure",
- members: { DBInstance: { shape: "S17" } },
- },
- },
- RestoreDBInstanceToPointInTime: {
- input: {
- type: "structure",
- required: [
- "SourceDBInstanceIdentifier",
- "TargetDBInstanceIdentifier",
- ],
- members: {
- SourceDBInstanceIdentifier: {},
- TargetDBInstanceIdentifier: {},
- RestoreTime: { type: "timestamp" },
- UseLatestRestorableTime: { type: "boolean" },
- DBInstanceClass: {},
- Port: { type: "integer" },
- AvailabilityZone: {},
- DBSubnetGroupName: {},
- MultiAZ: { type: "boolean" },
- PubliclyAccessible: { type: "boolean" },
- AutoMinorVersionUpgrade: { type: "boolean" },
- LicenseModel: {},
- DBName: {},
- Engine: {},
- Iops: { type: "integer" },
- OptionGroupName: {},
- Tags: { shape: "S9" },
- StorageType: {},
- TdeCredentialArn: {},
- TdeCredentialPassword: {},
- },
- },
- output: {
- resultWrapper: "RestoreDBInstanceToPointInTimeResult",
- type: "structure",
- members: { DBInstance: { shape: "S17" } },
- },
- },
- RevokeDBSecurityGroupIngress: {
- input: {
- type: "structure",
- required: ["DBSecurityGroupName"],
- members: {
- DBSecurityGroupName: {},
- CIDRIP: {},
- EC2SecurityGroupName: {},
- EC2SecurityGroupId: {},
- EC2SecurityGroupOwnerId: {},
- },
- },
- output: {
- resultWrapper: "RevokeDBSecurityGroupIngressResult",
- type: "structure",
- members: { DBSecurityGroup: { shape: "Sd" } },
- },
- },
- },
- shapes: {
- S4: {
- type: "structure",
- members: {
- CustomerAwsId: {},
- CustSubscriptionId: {},
- SnsTopicArn: {},
- Status: {},
- SubscriptionCreationTime: {},
- SourceType: {},
- SourceIdsList: { shape: "S5" },
- EventCategoriesList: { shape: "S6" },
- Enabled: { type: "boolean" },
- },
- wrapper: true,
- },
- S5: { type: "list", member: { locationName: "SourceId" } },
- S6: { type: "list", member: { locationName: "EventCategory" } },
- S9: {
- type: "list",
- member: {
- locationName: "Tag",
- type: "structure",
- members: { Key: {}, Value: {} },
- },
- },
- Sd: {
- type: "structure",
- members: {
- OwnerId: {},
- DBSecurityGroupName: {},
- DBSecurityGroupDescription: {},
- VpcId: {},
- EC2SecurityGroups: {
- type: "list",
- member: {
- locationName: "EC2SecurityGroup",
- type: "structure",
- members: {
- Status: {},
- EC2SecurityGroupName: {},
- EC2SecurityGroupId: {},
- EC2SecurityGroupOwnerId: {},
- },
- },
- },
- IPRanges: {
- type: "list",
- member: {
- locationName: "IPRange",
- type: "structure",
- members: { Status: {}, CIDRIP: {} },
- },
- },
- },
- wrapper: true,
- },
- Sk: {
- type: "structure",
- members: {
- DBParameterGroupName: {},
- DBParameterGroupFamily: {},
- Description: {},
- },
- wrapper: true,
- },
- Sn: {
- type: "structure",
- members: {
- DBSnapshotIdentifier: {},
- DBInstanceIdentifier: {},
- SnapshotCreateTime: { type: "timestamp" },
- Engine: {},
- AllocatedStorage: { type: "integer" },
- Status: {},
- Port: { type: "integer" },
- AvailabilityZone: {},
- VpcId: {},
- InstanceCreateTime: { type: "timestamp" },
- MasterUsername: {},
- EngineVersion: {},
- LicenseModel: {},
- SnapshotType: {},
- Iops: { type: "integer" },
- OptionGroupName: {},
- PercentProgress: { type: "integer" },
- SourceRegion: {},
- StorageType: {},
- TdeCredentialArn: {},
- },
- wrapper: true,
- },
- St: {
- type: "structure",
- members: {
- OptionGroupName: {},
- OptionGroupDescription: {},
- EngineName: {},
- MajorEngineVersion: {},
- Options: {
- type: "list",
- member: {
- locationName: "Option",
- type: "structure",
- members: {
- OptionName: {},
- OptionDescription: {},
- Persistent: { type: "boolean" },
- Permanent: { type: "boolean" },
- Port: { type: "integer" },
- OptionSettings: {
- type: "list",
- member: { shape: "Sx", locationName: "OptionSetting" },
- },
- DBSecurityGroupMemberships: { shape: "Sy" },
- VpcSecurityGroupMemberships: { shape: "S10" },
- },
- },
- },
- AllowsVpcAndNonVpcInstanceMemberships: { type: "boolean" },
- VpcId: {},
- },
- wrapper: true,
- },
- Sx: {
- type: "structure",
- members: {
- Name: {},
- Value: {},
- DefaultValue: {},
- Description: {},
- ApplyType: {},
- DataType: {},
- AllowedValues: {},
- IsModifiable: { type: "boolean" },
- IsCollection: { type: "boolean" },
- },
- },
- Sy: {
- type: "list",
- member: {
- locationName: "DBSecurityGroup",
- type: "structure",
- members: { DBSecurityGroupName: {}, Status: {} },
- },
- },
- S10: {
- type: "list",
- member: {
- locationName: "VpcSecurityGroupMembership",
- type: "structure",
- members: { VpcSecurityGroupId: {}, Status: {} },
- },
- },
- S13: {
- type: "list",
- member: { locationName: "DBSecurityGroupName" },
- },
- S14: { type: "list", member: { locationName: "VpcSecurityGroupId" } },
- S17: {
- type: "structure",
- members: {
- DBInstanceIdentifier: {},
- DBInstanceClass: {},
- Engine: {},
- DBInstanceStatus: {},
- MasterUsername: {},
- DBName: {},
- Endpoint: {
- type: "structure",
- members: { Address: {}, Port: { type: "integer" } },
- },
- AllocatedStorage: { type: "integer" },
- InstanceCreateTime: { type: "timestamp" },
- PreferredBackupWindow: {},
- BackupRetentionPeriod: { type: "integer" },
- DBSecurityGroups: { shape: "Sy" },
- VpcSecurityGroups: { shape: "S10" },
- DBParameterGroups: {
- type: "list",
- member: {
- locationName: "DBParameterGroup",
- type: "structure",
- members: {
- DBParameterGroupName: {},
- ParameterApplyStatus: {},
- },
- },
- },
- AvailabilityZone: {},
- DBSubnetGroup: { shape: "S1b" },
- PreferredMaintenanceWindow: {},
- PendingModifiedValues: {
- type: "structure",
- members: {
- DBInstanceClass: {},
- AllocatedStorage: { type: "integer" },
- MasterUserPassword: {},
- Port: { type: "integer" },
- BackupRetentionPeriod: { type: "integer" },
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- Iops: { type: "integer" },
- DBInstanceIdentifier: {},
- StorageType: {},
- },
- },
- LatestRestorableTime: { type: "timestamp" },
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- ReadReplicaSourceDBInstanceIdentifier: {},
- ReadReplicaDBInstanceIdentifiers: {
- type: "list",
- member: { locationName: "ReadReplicaDBInstanceIdentifier" },
- },
- LicenseModel: {},
- Iops: { type: "integer" },
- OptionGroupMemberships: {
- type: "list",
- member: {
- locationName: "OptionGroupMembership",
- type: "structure",
- members: { OptionGroupName: {}, Status: {} },
- },
- },
- CharacterSetName: {},
- SecondaryAvailabilityZone: {},
- PubliclyAccessible: { type: "boolean" },
- StatusInfos: {
- type: "list",
- member: {
- locationName: "DBInstanceStatusInfo",
- type: "structure",
- members: {
- StatusType: {},
- Normal: { type: "boolean" },
- Status: {},
- Message: {},
- },
- },
- },
- StorageType: {},
- TdeCredentialArn: {},
- },
- wrapper: true,
- },
- S1b: {
- type: "structure",
- members: {
- DBSubnetGroupName: {},
- DBSubnetGroupDescription: {},
- VpcId: {},
- SubnetGroupStatus: {},
- Subnets: {
- type: "list",
- member: {
- locationName: "Subnet",
- type: "structure",
- members: {
- SubnetIdentifier: {},
- SubnetAvailabilityZone: { shape: "S1e" },
- SubnetStatus: {},
- },
- },
- },
- },
- wrapper: true,
- },
- S1e: { type: "structure", members: { Name: {} }, wrapper: true },
- S1u: { type: "list", member: { locationName: "SubnetIdentifier" } },
- S2b: {
- type: "list",
- member: {
- locationName: "Filter",
- type: "structure",
- required: ["Name", "Values"],
- members: {
- Name: {},
- Values: { type: "list", member: { locationName: "Value" } },
- },
- },
- },
- S2h: {
- type: "structure",
- members: { CharacterSetName: {}, CharacterSetDescription: {} },
- },
- S2w: {
- type: "list",
- member: {
- locationName: "Parameter",
- type: "structure",
- members: {
- ParameterName: {},
- ParameterValue: {},
- Description: {},
- Source: {},
- ApplyType: {},
- DataType: {},
- AllowedValues: {},
- IsModifiable: { type: "boolean" },
- MinimumEngineVersion: {},
- ApplyMethod: {},
- },
- },
- },
- S45: {
- type: "structure",
- members: {
- ReservedDBInstanceId: {},
- ReservedDBInstancesOfferingId: {},
- DBInstanceClass: {},
- StartTime: { type: "timestamp" },
- Duration: { type: "integer" },
- FixedPrice: { type: "double" },
- UsagePrice: { type: "double" },
- CurrencyCode: {},
- DBInstanceCount: { type: "integer" },
- ProductDescription: {},
- OfferingType: {},
- MultiAZ: { type: "boolean" },
- State: {},
- RecurringCharges: { shape: "S47" },
- },
- wrapper: true,
- },
- S47: {
- type: "list",
- member: {
- locationName: "RecurringCharge",
- type: "structure",
- members: {
- RecurringChargeAmount: { type: "double" },
- RecurringChargeFrequency: {},
- },
- wrapper: true,
- },
- },
- S4k: { type: "structure", members: { DBParameterGroupName: {} } },
- },
- };
-
- /***/
- },
-
- /***/ 1420: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(9843);
- model.paginators = __webpack_require__(956).pagination;
- model.waiters = __webpack_require__(4303).waiters;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.ELBv2;
-
- /***/
- },
-
- /***/ 1426: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2019-12-03",
- endpointPrefix: "outposts",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "Outposts",
- serviceFullName: "AWS Outposts",
- serviceId: "Outposts",
- signatureVersion: "v4",
- signingName: "outposts",
- uid: "outposts-2019-12-03",
- },
- operations: {
- CreateOutpost: {
- http: { requestUri: "/outposts" },
- input: {
- type: "structure",
- required: ["SiteId"],
- members: {
- Name: {},
- Description: {},
- SiteId: {},
- AvailabilityZone: {},
- AvailabilityZoneId: {},
- },
- },
- output: {
- type: "structure",
- members: { Outpost: { shape: "S8" } },
- },
- },
- DeleteOutpost: {
- http: { method: "DELETE", requestUri: "/outposts/{OutpostId}" },
- input: {
- type: "structure",
- required: ["OutpostId"],
- members: {
- OutpostId: { location: "uri", locationName: "OutpostId" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteSite: {
- http: { method: "DELETE", requestUri: "/sites/{SiteId}" },
- input: {
- type: "structure",
- required: ["SiteId"],
- members: { SiteId: { location: "uri", locationName: "SiteId" } },
- },
- output: { type: "structure", members: {} },
- },
- GetOutpost: {
- http: { method: "GET", requestUri: "/outposts/{OutpostId}" },
- input: {
- type: "structure",
- required: ["OutpostId"],
- members: {
- OutpostId: { location: "uri", locationName: "OutpostId" },
- },
- },
- output: {
- type: "structure",
- members: { Outpost: { shape: "S8" } },
- },
- },
- GetOutpostInstanceTypes: {
- http: {
- method: "GET",
- requestUri: "/outposts/{OutpostId}/instanceTypes",
- },
- input: {
- type: "structure",
- required: ["OutpostId"],
- members: {
- OutpostId: { location: "uri", locationName: "OutpostId" },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- InstanceTypes: {
- type: "list",
- member: { type: "structure", members: { InstanceType: {} } },
- },
- NextToken: {},
- OutpostId: {},
- OutpostArn: {},
- },
- },
- },
- ListOutposts: {
- http: { method: "GET", requestUri: "/outposts" },
- input: {
- type: "structure",
- members: {
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Outposts: { type: "list", member: { shape: "S8" } },
- NextToken: {},
- },
- },
- },
- ListSites: {
- http: { method: "GET", requestUri: "/sites" },
- input: {
- type: "structure",
- members: {
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Sites: {
- type: "list",
- member: {
- type: "structure",
- members: {
- SiteId: {},
- AccountId: {},
- Name: {},
- Description: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- },
- shapes: {
- S8: {
- type: "structure",
- members: {
- OutpostId: {},
- OwnerId: {},
- OutpostArn: {},
- SiteId: {},
- Name: {},
- Description: {},
- LifeCycleStatus: {},
- AvailabilityZone: {},
- AvailabilityZoneId: {},
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1429: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(3370);
- model.paginators = __webpack_require__(6823).pagination;
- model.waiters = __webpack_require__(912).waiters;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.EKS;
-
- /***/
- },
-
- /***/ 1437: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- ClusterAvailable: {
- delay: 60,
- operation: "DescribeClusters",
- maxAttempts: 30,
- acceptors: [
- {
- expected: "available",
- matcher: "pathAll",
- state: "success",
- argument: "Clusters[].ClusterStatus",
- },
- {
- expected: "deleting",
- matcher: "pathAny",
- state: "failure",
- argument: "Clusters[].ClusterStatus",
- },
- { expected: "ClusterNotFound", matcher: "error", state: "retry" },
- ],
- },
- ClusterDeleted: {
- delay: 60,
- operation: "DescribeClusters",
- maxAttempts: 30,
- acceptors: [
- {
- expected: "ClusterNotFound",
- matcher: "error",
- state: "success",
- },
- {
- expected: "creating",
- matcher: "pathAny",
- state: "failure",
- argument: "Clusters[].ClusterStatus",
- },
- {
- expected: "modifying",
- matcher: "pathAny",
- state: "failure",
- argument: "Clusters[].ClusterStatus",
- },
- ],
- },
- ClusterRestored: {
- operation: "DescribeClusters",
- maxAttempts: 30,
- delay: 60,
- acceptors: [
- {
- state: "success",
- matcher: "pathAll",
- argument: "Clusters[].RestoreStatus.Status",
- expected: "completed",
- },
- {
- state: "failure",
- matcher: "pathAny",
- argument: "Clusters[].ClusterStatus",
- expected: "deleting",
- },
- ],
- },
- SnapshotAvailable: {
- delay: 15,
- operation: "DescribeClusterSnapshots",
- maxAttempts: 20,
- acceptors: [
- {
- expected: "available",
- matcher: "pathAll",
- state: "success",
- argument: "Snapshots[].Status",
- },
- {
- expected: "failed",
- matcher: "pathAny",
- state: "failure",
- argument: "Snapshots[].Status",
- },
- {
- expected: "deleted",
- matcher: "pathAny",
- state: "failure",
- argument: "Snapshots[].Status",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 1455: /***/ function (module) {
- module.exports = {
- pagination: {
- ListCertificateAuthorities: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "CertificateAuthorities",
- },
- ListPermissions: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Permissions",
- },
- ListTags: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Tags",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1459: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2013-11-01",
- endpointPrefix: "cloudtrail",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "CloudTrail",
- serviceFullName: "AWS CloudTrail",
- serviceId: "CloudTrail",
- signatureVersion: "v4",
- targetPrefix:
- "com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101",
- uid: "cloudtrail-2013-11-01",
- },
- operations: {
- AddTags: {
- input: {
- type: "structure",
- required: ["ResourceId"],
- members: { ResourceId: {}, TagsList: { shape: "S3" } },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- CreateTrail: {
- input: {
- type: "structure",
- required: ["Name", "S3BucketName"],
- members: {
- Name: {},
- S3BucketName: {},
- S3KeyPrefix: {},
- SnsTopicName: {},
- IncludeGlobalServiceEvents: { type: "boolean" },
- IsMultiRegionTrail: { type: "boolean" },
- EnableLogFileValidation: { type: "boolean" },
- CloudWatchLogsLogGroupArn: {},
- CloudWatchLogsRoleArn: {},
- KmsKeyId: {},
- IsOrganizationTrail: { type: "boolean" },
- TagsList: { shape: "S3" },
- },
- },
- output: {
- type: "structure",
- members: {
- Name: {},
- S3BucketName: {},
- S3KeyPrefix: {},
- SnsTopicName: { deprecated: true },
- SnsTopicARN: {},
- IncludeGlobalServiceEvents: { type: "boolean" },
- IsMultiRegionTrail: { type: "boolean" },
- TrailARN: {},
- LogFileValidationEnabled: { type: "boolean" },
- CloudWatchLogsLogGroupArn: {},
- CloudWatchLogsRoleArn: {},
- KmsKeyId: {},
- IsOrganizationTrail: { type: "boolean" },
- },
- },
- idempotent: true,
- },
- DeleteTrail: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- DescribeTrails: {
- input: {
- type: "structure",
- members: {
- trailNameList: { type: "list", member: {} },
- includeShadowTrails: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { trailList: { type: "list", member: { shape: "Sf" } } },
- },
- idempotent: true,
- },
- GetEventSelectors: {
- input: {
- type: "structure",
- required: ["TrailName"],
- members: { TrailName: {} },
- },
- output: {
- type: "structure",
- members: { TrailARN: {}, EventSelectors: { shape: "Si" } },
- },
- idempotent: true,
- },
- GetInsightSelectors: {
- input: {
- type: "structure",
- required: ["TrailName"],
- members: { TrailName: {} },
- },
- output: {
- type: "structure",
- members: { TrailARN: {}, InsightSelectors: { shape: "Sr" } },
- },
- idempotent: true,
- },
- GetTrail: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: { type: "structure", members: { Trail: { shape: "Sf" } } },
- idempotent: true,
- },
- GetTrailStatus: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: {
- type: "structure",
- members: {
- IsLogging: { type: "boolean" },
- LatestDeliveryError: {},
- LatestNotificationError: {},
- LatestDeliveryTime: { type: "timestamp" },
- LatestNotificationTime: { type: "timestamp" },
- StartLoggingTime: { type: "timestamp" },
- StopLoggingTime: { type: "timestamp" },
- LatestCloudWatchLogsDeliveryError: {},
- LatestCloudWatchLogsDeliveryTime: { type: "timestamp" },
- LatestDigestDeliveryTime: { type: "timestamp" },
- LatestDigestDeliveryError: {},
- LatestDeliveryAttemptTime: {},
- LatestNotificationAttemptTime: {},
- LatestNotificationAttemptSucceeded: {},
- LatestDeliveryAttemptSucceeded: {},
- TimeLoggingStarted: {},
- TimeLoggingStopped: {},
- },
- },
- idempotent: true,
- },
- ListPublicKeys: {
- input: {
- type: "structure",
- members: {
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- PublicKeyList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Value: { type: "blob" },
- ValidityStartTime: { type: "timestamp" },
- ValidityEndTime: { type: "timestamp" },
- Fingerprint: {},
- },
- },
- },
- NextToken: {},
- },
- },
- idempotent: true,
- },
- ListTags: {
- input: {
- type: "structure",
- required: ["ResourceIdList"],
- members: {
- ResourceIdList: { type: "list", member: {} },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ResourceTagList: {
- type: "list",
- member: {
- type: "structure",
- members: { ResourceId: {}, TagsList: { shape: "S3" } },
- },
- },
- NextToken: {},
- },
- },
- idempotent: true,
- },
- ListTrails: {
- input: { type: "structure", members: { NextToken: {} } },
- output: {
- type: "structure",
- members: {
- Trails: {
- type: "list",
- member: {
- type: "structure",
- members: { TrailARN: {}, Name: {}, HomeRegion: {} },
- },
- },
- NextToken: {},
- },
- },
- idempotent: true,
- },
- LookupEvents: {
- input: {
- type: "structure",
- members: {
- LookupAttributes: {
- type: "list",
- member: {
- type: "structure",
- required: ["AttributeKey", "AttributeValue"],
- members: { AttributeKey: {}, AttributeValue: {} },
- },
- },
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- EventCategory: {},
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Events: {
- type: "list",
- member: {
- type: "structure",
- members: {
- EventId: {},
- EventName: {},
- ReadOnly: {},
- AccessKeyId: {},
- EventTime: { type: "timestamp" },
- EventSource: {},
- Username: {},
- Resources: {
- type: "list",
- member: {
- type: "structure",
- members: { ResourceType: {}, ResourceName: {} },
- },
- },
- CloudTrailEvent: {},
- },
- },
- },
- NextToken: {},
- },
- },
- idempotent: true,
- },
- PutEventSelectors: {
- input: {
- type: "structure",
- required: ["TrailName", "EventSelectors"],
- members: { TrailName: {}, EventSelectors: { shape: "Si" } },
- },
- output: {
- type: "structure",
- members: { TrailARN: {}, EventSelectors: { shape: "Si" } },
- },
- idempotent: true,
- },
- PutInsightSelectors: {
- input: {
- type: "structure",
- required: ["TrailName", "InsightSelectors"],
- members: { TrailName: {}, InsightSelectors: { shape: "Sr" } },
- },
- output: {
- type: "structure",
- members: { TrailARN: {}, InsightSelectors: { shape: "Sr" } },
- },
- idempotent: true,
- },
- RemoveTags: {
- input: {
- type: "structure",
- required: ["ResourceId"],
- members: { ResourceId: {}, TagsList: { shape: "S3" } },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- StartLogging: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- StopLogging: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- UpdateTrail: {
- input: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {},
- S3BucketName: {},
- S3KeyPrefix: {},
- SnsTopicName: {},
- IncludeGlobalServiceEvents: { type: "boolean" },
- IsMultiRegionTrail: { type: "boolean" },
- EnableLogFileValidation: { type: "boolean" },
- CloudWatchLogsLogGroupArn: {},
- CloudWatchLogsRoleArn: {},
- KmsKeyId: {},
- IsOrganizationTrail: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- Name: {},
- S3BucketName: {},
- S3KeyPrefix: {},
- SnsTopicName: { deprecated: true },
- SnsTopicARN: {},
- IncludeGlobalServiceEvents: { type: "boolean" },
- IsMultiRegionTrail: { type: "boolean" },
- TrailARN: {},
- LogFileValidationEnabled: { type: "boolean" },
- CloudWatchLogsLogGroupArn: {},
- CloudWatchLogsRoleArn: {},
- KmsKeyId: {},
- IsOrganizationTrail: { type: "boolean" },
- },
- },
- idempotent: true,
- },
- },
- shapes: {
- S3: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key"],
- members: { Key: {}, Value: {} },
- },
- },
- Sf: {
- type: "structure",
- members: {
- Name: {},
- S3BucketName: {},
- S3KeyPrefix: {},
- SnsTopicName: { deprecated: true },
- SnsTopicARN: {},
- IncludeGlobalServiceEvents: { type: "boolean" },
- IsMultiRegionTrail: { type: "boolean" },
- HomeRegion: {},
- TrailARN: {},
- LogFileValidationEnabled: { type: "boolean" },
- CloudWatchLogsLogGroupArn: {},
- CloudWatchLogsRoleArn: {},
- KmsKeyId: {},
- HasCustomEventSelectors: { type: "boolean" },
- HasInsightSelectors: { type: "boolean" },
- IsOrganizationTrail: { type: "boolean" },
- },
- },
- Si: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ReadWriteType: {},
- IncludeManagementEvents: { type: "boolean" },
- DataResources: {
- type: "list",
- member: {
- type: "structure",
- members: { Type: {}, Values: { type: "list", member: {} } },
- },
- },
- ExcludeManagementEventSources: { type: "list", member: {} },
- },
- },
- },
- Sr: {
- type: "list",
- member: { type: "structure", members: { InsightType: {} } },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1469: /***/ function (__unusedmodule, exports, __webpack_require__) {
- "use strict";
-
- var __importStar =
- (this && this.__importStar) ||
- function (mod) {
- if (mod && mod.__esModule) return mod;
- var result = {};
- if (mod != null)
- for (var k in mod)
- if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
- result["default"] = mod;
- return result;
- };
- Object.defineProperty(exports, "__esModule", { value: true });
- // Originally pulled from https://github.com/JasonEtco/actions-toolkit/blob/master/src/github.ts
- const graphql_1 = __webpack_require__(4898);
- const rest_1 = __webpack_require__(0);
- const Context = __importStar(__webpack_require__(7262));
- const httpClient = __importStar(__webpack_require__(6539));
- // We need this in order to extend Octokit
- rest_1.Octokit.prototype = new rest_1.Octokit();
- exports.context = new Context.Context();
- class GitHub extends rest_1.Octokit {
- constructor(token, opts) {
- super(GitHub.getOctokitOptions(GitHub.disambiguate(token, opts)));
- this.graphql = GitHub.getGraphQL(GitHub.disambiguate(token, opts));
- }
- /**
- * Disambiguates the constructor overload parameters
- */
- static disambiguate(token, opts) {
- return [
- typeof token === "string" ? token : "",
- typeof token === "object" ? token : opts || {},
- ];
- }
- static getOctokitOptions(args) {
- const token = args[0];
- const options = Object.assign({}, args[1]); // Shallow clone - don't mutate the object provided by the caller
- // Auth
- const auth = GitHub.getAuthString(token, options);
- if (auth) {
- options.auth = auth;
- }
- // Proxy
- const agent = GitHub.getProxyAgent(options);
- if (agent) {
- // Shallow clone - don't mutate the object provided by the caller
- options.request = options.request
- ? Object.assign({}, options.request)
- : {};
- // Set the agent
- options.request.agent = agent;
- }
- return options;
- }
- static getGraphQL(args) {
- const defaults = {};
- const token = args[0];
- const options = args[1];
- // Authorization
- const auth = this.getAuthString(token, options);
- if (auth) {
- defaults.headers = {
- authorization: auth,
- };
- }
- // Proxy
- const agent = GitHub.getProxyAgent(options);
- if (agent) {
- defaults.request = { agent };
- }
- return graphql_1.graphql.defaults(defaults);
- }
- static getAuthString(token, options) {
- // Validate args
- if (!token && !options.auth) {
- throw new Error("Parameter token or opts.auth is required");
- } else if (token && options.auth) {
- throw new Error(
- "Parameters token and opts.auth may not both be specified"
- );
- }
- return typeof options.auth === "string"
- ? options.auth
- : `token ${token}`;
- }
- static getProxyAgent(options) {
- var _a;
- if (
- !((_a = options.request) === null || _a === void 0
- ? void 0
- : _a.agent)
- ) {
- const serverUrl = "https://api.github.com";
- if (httpClient.getProxyUrl(serverUrl)) {
- const hc = new httpClient.HttpClient();
- return hc.getAgent(serverUrl);
- }
- }
- return undefined;
- }
- }
- exports.GitHub = GitHub;
- //# sourceMappingURL=github.js.map
-
- /***/
- },
-
- /***/ 1471: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = authenticationBeforeRequest;
-
- const btoa = __webpack_require__(4675);
- const uniq = __webpack_require__(126);
-
- function authenticationBeforeRequest(state, options) {
- if (!state.auth.type) {
- return;
- }
-
- if (state.auth.type === "basic") {
- const hash = btoa(`${state.auth.username}:${state.auth.password}`);
- options.headers.authorization = `Basic ${hash}`;
- return;
- }
-
- if (state.auth.type === "token") {
- options.headers.authorization = `token ${state.auth.token}`;
- return;
- }
-
- if (state.auth.type === "app") {
- options.headers.authorization = `Bearer ${state.auth.token}`;
- const acceptHeaders = options.headers.accept
- .split(",")
- .concat("application/vnd.github.machine-man-preview+json");
- options.headers.accept = uniq(acceptHeaders)
- .filter(Boolean)
- .join(",");
- return;
- }
-
- options.url += options.url.indexOf("?") === -1 ? "?" : "&";
-
- if (state.auth.token) {
- options.url += `access_token=${encodeURIComponent(state.auth.token)}`;
- return;
- }
-
- const key = encodeURIComponent(state.auth.key);
- const secret = encodeURIComponent(state.auth.secret);
- options.url += `client_id=${key}&client_secret=${secret}`;
- }
-
- /***/
- },
-
- /***/ 1479: /***/ function (module) {
- module.exports = {
- pagination: {
- GetCurrentMetricData: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetMetricData: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListContactFlows: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "ContactFlowSummaryList",
- },
- ListHoursOfOperations: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "HoursOfOperationSummaryList",
- },
- ListPhoneNumbers: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "PhoneNumberSummaryList",
- },
- ListQueues: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "QueueSummaryList",
- },
- ListRoutingProfiles: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "RoutingProfileSummaryList",
- },
- ListSecurityProfiles: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "SecurityProfileSummaryList",
- },
- ListUserHierarchyGroups: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "UserHierarchyGroupSummaryList",
- },
- ListUsers: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "UserSummaryList",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1489: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
-
- AWS.util.update(AWS.S3Control.prototype, {
- /**
- * @api private
- */
- setupRequestListeners: function setupRequestListeners(request) {
- request.addListener("afterBuild", this.prependAccountId);
- request.addListener("extractError", this.extractHostId);
- request.addListener("extractData", this.extractHostId);
- request.addListener("validate", this.validateAccountId);
- },
-
- /**
- * @api private
- */
- prependAccountId: function (request) {
- var api = request.service.api;
- var operationModel = api.operations[request.operation];
- var inputModel = operationModel.input;
- var params = request.params;
- if (inputModel.members.AccountId && params.AccountId) {
- //customization needed
- var accountId = params.AccountId;
- var endpoint = request.httpRequest.endpoint;
- var newHostname = String(accountId) + "." + endpoint.hostname;
- endpoint.hostname = newHostname;
- request.httpRequest.headers.Host = newHostname;
- delete request.httpRequest.headers["x-amz-account-id"];
- }
- },
-
- /**
- * @api private
- */
- extractHostId: function (response) {
- var hostId = response.httpResponse.headers
- ? response.httpResponse.headers["x-amz-id-2"]
- : null;
- response.extendedRequestId = hostId;
- if (response.error) {
- response.error.extendedRequestId = hostId;
- }
- },
-
- /**
- * @api private
- */
- validateAccountId: function (request) {
- var params = request.params;
- if (!Object.prototype.hasOwnProperty.call(params, "AccountId"))
- return;
- var accountId = params.AccountId;
- //validate type
- if (typeof accountId !== "string") {
- throw AWS.util.error(new Error(), {
- code: "ValidationError",
- message: "AccountId must be a string.",
- });
- }
- //validate length
- if (accountId.length < 1 || accountId.length > 63) {
- throw AWS.util.error(new Error(), {
- code: "ValidationError",
- message:
- "AccountId length should be between 1 to 63 characters, inclusive.",
- });
- }
- //validate pattern
- var hostPattern = /^[a-zA-Z0-9]{1}$|^[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]$/;
- if (!hostPattern.test(accountId)) {
- throw AWS.util.error(new Error(), {
- code: "ValidationError",
- message:
- "AccountId should be hostname compatible. AccountId: " +
- accountId,
- });
- }
- },
- });
-
- /***/
- },
-
- /***/ 1511: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- InstanceExists: {
- delay: 5,
- maxAttempts: 40,
- operation: "DescribeInstances",
- acceptors: [
- {
- matcher: "path",
- expected: true,
- argument: "length(Reservations[]) > `0`",
- state: "success",
- },
- {
- matcher: "error",
- expected: "InvalidInstanceID.NotFound",
- state: "retry",
- },
- ],
- },
- BundleTaskComplete: {
- delay: 15,
- operation: "DescribeBundleTasks",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "complete",
- matcher: "pathAll",
- state: "success",
- argument: "BundleTasks[].State",
- },
- {
- expected: "failed",
- matcher: "pathAny",
- state: "failure",
- argument: "BundleTasks[].State",
- },
- ],
- },
- ConversionTaskCancelled: {
- delay: 15,
- operation: "DescribeConversionTasks",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "cancelled",
- matcher: "pathAll",
- state: "success",
- argument: "ConversionTasks[].State",
- },
- ],
- },
- ConversionTaskCompleted: {
- delay: 15,
- operation: "DescribeConversionTasks",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "completed",
- matcher: "pathAll",
- state: "success",
- argument: "ConversionTasks[].State",
- },
- {
- expected: "cancelled",
- matcher: "pathAny",
- state: "failure",
- argument: "ConversionTasks[].State",
- },
- {
- expected: "cancelling",
- matcher: "pathAny",
- state: "failure",
- argument: "ConversionTasks[].State",
- },
- ],
- },
- ConversionTaskDeleted: {
- delay: 15,
- operation: "DescribeConversionTasks",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "deleted",
- matcher: "pathAll",
- state: "success",
- argument: "ConversionTasks[].State",
- },
- ],
- },
- CustomerGatewayAvailable: {
- delay: 15,
- operation: "DescribeCustomerGateways",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "available",
- matcher: "pathAll",
- state: "success",
- argument: "CustomerGateways[].State",
- },
- {
- expected: "deleted",
- matcher: "pathAny",
- state: "failure",
- argument: "CustomerGateways[].State",
- },
- {
- expected: "deleting",
- matcher: "pathAny",
- state: "failure",
- argument: "CustomerGateways[].State",
- },
- ],
- },
- ExportTaskCancelled: {
- delay: 15,
- operation: "DescribeExportTasks",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "cancelled",
- matcher: "pathAll",
- state: "success",
- argument: "ExportTasks[].State",
- },
- ],
- },
- ExportTaskCompleted: {
- delay: 15,
- operation: "DescribeExportTasks",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "completed",
- matcher: "pathAll",
- state: "success",
- argument: "ExportTasks[].State",
- },
- ],
- },
- ImageExists: {
- operation: "DescribeImages",
- maxAttempts: 40,
- delay: 15,
- acceptors: [
- {
- matcher: "path",
- expected: true,
- argument: "length(Images[]) > `0`",
- state: "success",
- },
- {
- matcher: "error",
- expected: "InvalidAMIID.NotFound",
- state: "retry",
- },
- ],
- },
- ImageAvailable: {
- operation: "DescribeImages",
- maxAttempts: 40,
- delay: 15,
- acceptors: [
- {
- state: "success",
- matcher: "pathAll",
- argument: "Images[].State",
- expected: "available",
- },
- {
- state: "failure",
- matcher: "pathAny",
- argument: "Images[].State",
- expected: "failed",
- },
- ],
- },
- InstanceRunning: {
- delay: 15,
- operation: "DescribeInstances",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "running",
- matcher: "pathAll",
- state: "success",
- argument: "Reservations[].Instances[].State.Name",
- },
- {
- expected: "shutting-down",
- matcher: "pathAny",
- state: "failure",
- argument: "Reservations[].Instances[].State.Name",
- },
- {
- expected: "terminated",
- matcher: "pathAny",
- state: "failure",
- argument: "Reservations[].Instances[].State.Name",
- },
- {
- expected: "stopping",
- matcher: "pathAny",
- state: "failure",
- argument: "Reservations[].Instances[].State.Name",
- },
- {
- matcher: "error",
- expected: "InvalidInstanceID.NotFound",
- state: "retry",
- },
- ],
- },
- InstanceStatusOk: {
- operation: "DescribeInstanceStatus",
- maxAttempts: 40,
- delay: 15,
- acceptors: [
- {
- state: "success",
- matcher: "pathAll",
- argument: "InstanceStatuses[].InstanceStatus.Status",
- expected: "ok",
- },
- {
- matcher: "error",
- expected: "InvalidInstanceID.NotFound",
- state: "retry",
- },
- ],
- },
- InstanceStopped: {
- delay: 15,
- operation: "DescribeInstances",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "stopped",
- matcher: "pathAll",
- state: "success",
- argument: "Reservations[].Instances[].State.Name",
- },
- {
- expected: "pending",
- matcher: "pathAny",
- state: "failure",
- argument: "Reservations[].Instances[].State.Name",
- },
- {
- expected: "terminated",
- matcher: "pathAny",
- state: "failure",
- argument: "Reservations[].Instances[].State.Name",
- },
- ],
- },
- InstanceTerminated: {
- delay: 15,
- operation: "DescribeInstances",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "terminated",
- matcher: "pathAll",
- state: "success",
- argument: "Reservations[].Instances[].State.Name",
- },
- {
- expected: "pending",
- matcher: "pathAny",
- state: "failure",
- argument: "Reservations[].Instances[].State.Name",
- },
- {
- expected: "stopping",
- matcher: "pathAny",
- state: "failure",
- argument: "Reservations[].Instances[].State.Name",
- },
- ],
- },
- KeyPairExists: {
- operation: "DescribeKeyPairs",
- delay: 5,
- maxAttempts: 6,
- acceptors: [
- {
- expected: true,
- matcher: "path",
- state: "success",
- argument: "length(KeyPairs[].KeyName) > `0`",
- },
- {
- expected: "InvalidKeyPair.NotFound",
- matcher: "error",
- state: "retry",
- },
- ],
- },
- NatGatewayAvailable: {
- operation: "DescribeNatGateways",
- delay: 15,
- maxAttempts: 40,
- acceptors: [
- {
- state: "success",
- matcher: "pathAll",
- argument: "NatGateways[].State",
- expected: "available",
- },
- {
- state: "failure",
- matcher: "pathAny",
- argument: "NatGateways[].State",
- expected: "failed",
- },
- {
- state: "failure",
- matcher: "pathAny",
- argument: "NatGateways[].State",
- expected: "deleting",
- },
- {
- state: "failure",
- matcher: "pathAny",
- argument: "NatGateways[].State",
- expected: "deleted",
- },
- {
- state: "retry",
- matcher: "error",
- expected: "NatGatewayNotFound",
- },
- ],
- },
- NetworkInterfaceAvailable: {
- operation: "DescribeNetworkInterfaces",
- delay: 20,
- maxAttempts: 10,
- acceptors: [
- {
- expected: "available",
- matcher: "pathAll",
- state: "success",
- argument: "NetworkInterfaces[].Status",
- },
- {
- expected: "InvalidNetworkInterfaceID.NotFound",
- matcher: "error",
- state: "failure",
- },
- ],
- },
- PasswordDataAvailable: {
- operation: "GetPasswordData",
- maxAttempts: 40,
- delay: 15,
- acceptors: [
- {
- state: "success",
- matcher: "path",
- argument: "length(PasswordData) > `0`",
- expected: true,
- },
- ],
- },
- SnapshotCompleted: {
- delay: 15,
- operation: "DescribeSnapshots",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "completed",
- matcher: "pathAll",
- state: "success",
- argument: "Snapshots[].State",
- },
- ],
- },
- SecurityGroupExists: {
- operation: "DescribeSecurityGroups",
- delay: 5,
- maxAttempts: 6,
- acceptors: [
- {
- expected: true,
- matcher: "path",
- state: "success",
- argument: "length(SecurityGroups[].GroupId) > `0`",
- },
- {
- expected: "InvalidGroupNotFound",
- matcher: "error",
- state: "retry",
- },
- ],
- },
- SpotInstanceRequestFulfilled: {
- operation: "DescribeSpotInstanceRequests",
- maxAttempts: 40,
- delay: 15,
- acceptors: [
- {
- state: "success",
- matcher: "pathAll",
- argument: "SpotInstanceRequests[].Status.Code",
- expected: "fulfilled",
- },
- {
- state: "success",
- matcher: "pathAll",
- argument: "SpotInstanceRequests[].Status.Code",
- expected: "request-canceled-and-instance-running",
- },
- {
- state: "failure",
- matcher: "pathAny",
- argument: "SpotInstanceRequests[].Status.Code",
- expected: "schedule-expired",
- },
- {
- state: "failure",
- matcher: "pathAny",
- argument: "SpotInstanceRequests[].Status.Code",
- expected: "canceled-before-fulfillment",
- },
- {
- state: "failure",
- matcher: "pathAny",
- argument: "SpotInstanceRequests[].Status.Code",
- expected: "bad-parameters",
- },
- {
- state: "failure",
- matcher: "pathAny",
- argument: "SpotInstanceRequests[].Status.Code",
- expected: "system-error",
- },
- {
- state: "retry",
- matcher: "error",
- expected: "InvalidSpotInstanceRequestID.NotFound",
- },
- ],
- },
- SubnetAvailable: {
- delay: 15,
- operation: "DescribeSubnets",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "available",
- matcher: "pathAll",
- state: "success",
- argument: "Subnets[].State",
- },
- ],
- },
- SystemStatusOk: {
- operation: "DescribeInstanceStatus",
- maxAttempts: 40,
- delay: 15,
- acceptors: [
- {
- state: "success",
- matcher: "pathAll",
- argument: "InstanceStatuses[].SystemStatus.Status",
- expected: "ok",
- },
- ],
- },
- VolumeAvailable: {
- delay: 15,
- operation: "DescribeVolumes",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "available",
- matcher: "pathAll",
- state: "success",
- argument: "Volumes[].State",
- },
- {
- expected: "deleted",
- matcher: "pathAny",
- state: "failure",
- argument: "Volumes[].State",
- },
- ],
- },
- VolumeDeleted: {
- delay: 15,
- operation: "DescribeVolumes",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "deleted",
- matcher: "pathAll",
- state: "success",
- argument: "Volumes[].State",
- },
- {
- matcher: "error",
- expected: "InvalidVolume.NotFound",
- state: "success",
- },
- ],
- },
- VolumeInUse: {
- delay: 15,
- operation: "DescribeVolumes",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "in-use",
- matcher: "pathAll",
- state: "success",
- argument: "Volumes[].State",
- },
- {
- expected: "deleted",
- matcher: "pathAny",
- state: "failure",
- argument: "Volumes[].State",
- },
- ],
- },
- VpcAvailable: {
- delay: 15,
- operation: "DescribeVpcs",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "available",
- matcher: "pathAll",
- state: "success",
- argument: "Vpcs[].State",
- },
- ],
- },
- VpcExists: {
- operation: "DescribeVpcs",
- delay: 1,
- maxAttempts: 5,
- acceptors: [
- { matcher: "status", expected: 200, state: "success" },
- {
- matcher: "error",
- expected: "InvalidVpcID.NotFound",
- state: "retry",
- },
- ],
- },
- VpnConnectionAvailable: {
- delay: 15,
- operation: "DescribeVpnConnections",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "available",
- matcher: "pathAll",
- state: "success",
- argument: "VpnConnections[].State",
- },
- {
- expected: "deleting",
- matcher: "pathAny",
- state: "failure",
- argument: "VpnConnections[].State",
- },
- {
- expected: "deleted",
- matcher: "pathAny",
- state: "failure",
- argument: "VpnConnections[].State",
- },
- ],
- },
- VpnConnectionDeleted: {
- delay: 15,
- operation: "DescribeVpnConnections",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "deleted",
- matcher: "pathAll",
- state: "success",
- argument: "VpnConnections[].State",
- },
- {
- expected: "pending",
- matcher: "pathAny",
- state: "failure",
- argument: "VpnConnections[].State",
- },
- ],
- },
- VpcPeeringConnectionExists: {
- delay: 15,
- operation: "DescribeVpcPeeringConnections",
- maxAttempts: 40,
- acceptors: [
- { matcher: "status", expected: 200, state: "success" },
- {
- matcher: "error",
- expected: "InvalidVpcPeeringConnectionID.NotFound",
- state: "retry",
- },
- ],
- },
- VpcPeeringConnectionDeleted: {
- delay: 15,
- operation: "DescribeVpcPeeringConnections",
- maxAttempts: 40,
- acceptors: [
- {
- expected: "deleted",
- matcher: "pathAll",
- state: "success",
- argument: "VpcPeeringConnections[].Status.Code",
- },
- {
- matcher: "error",
- expected: "InvalidVpcPeeringConnectionID.NotFound",
- state: "success",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 1514: /***/ function (__unusedmodule, exports) {
- // Generated by CoffeeScript 1.12.7
- (function () {
- exports.defaults = {
- "0.1": {
- explicitCharkey: false,
- trim: true,
- normalize: true,
- normalizeTags: false,
- attrkey: "@",
- charkey: "#",
- explicitArray: false,
- ignoreAttrs: false,
- mergeAttrs: false,
- explicitRoot: false,
- validator: null,
- xmlns: false,
- explicitChildren: false,
- childkey: "@@",
- charsAsChildren: false,
- includeWhiteChars: false,
- async: false,
- strict: true,
- attrNameProcessors: null,
- attrValueProcessors: null,
- tagNameProcessors: null,
- valueProcessors: null,
- emptyTag: "",
- },
- "0.2": {
- explicitCharkey: false,
- trim: false,
- normalize: false,
- normalizeTags: false,
- attrkey: "$",
- charkey: "_",
- explicitArray: true,
- ignoreAttrs: false,
- mergeAttrs: false,
- explicitRoot: true,
- validator: null,
- xmlns: false,
- explicitChildren: false,
- preserveChildrenOrder: false,
- childkey: "$$",
- charsAsChildren: false,
- includeWhiteChars: false,
- async: false,
- strict: true,
- attrNameProcessors: null,
- attrValueProcessors: null,
- tagNameProcessors: null,
- valueProcessors: null,
- rootName: "root",
- xmldec: {
- version: "1.0",
- encoding: "UTF-8",
- standalone: true,
- },
- doctype: null,
- renderOpts: {
- pretty: true,
- indent: " ",
- newline: "\n",
- },
- headless: false,
- chunkSize: 10000,
- emptyTag: "",
- cdata: false,
- },
- };
- }.call(this));
-
- /***/
- },
-
- /***/ 1520: /***/ function (module) {
- module.exports = {
- pagination: {
- ListCloudFrontOriginAccessIdentities: {
- input_token: "Marker",
- output_token: "CloudFrontOriginAccessIdentityList.NextMarker",
- limit_key: "MaxItems",
- more_results: "CloudFrontOriginAccessIdentityList.IsTruncated",
- result_key: "CloudFrontOriginAccessIdentityList.Items",
- },
- ListDistributions: {
- input_token: "Marker",
- output_token: "DistributionList.NextMarker",
- limit_key: "MaxItems",
- more_results: "DistributionList.IsTruncated",
- result_key: "DistributionList.Items",
- },
- ListInvalidations: {
- input_token: "Marker",
- output_token: "InvalidationList.NextMarker",
- limit_key: "MaxItems",
- more_results: "InvalidationList.IsTruncated",
- result_key: "InvalidationList.Items",
- },
- ListStreamingDistributions: {
- input_token: "Marker",
- output_token: "StreamingDistributionList.NextMarker",
- limit_key: "MaxItems",
- more_results: "StreamingDistributionList.IsTruncated",
- result_key: "StreamingDistributionList.Items",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1527: /***/ function (module) {
- module.exports = {
- pagination: {
- ListGraphs: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListInvitations: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListMembers: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1529: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 1530: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(3165);
- model.paginators = __webpack_require__(9693).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.ComputeOptimizer;
-
- /***/
- },
-
- /***/ 1531: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- __webpack_require__(4281);
-
- /***/
- },
-
- /***/ 1536: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = hasFirstPage;
-
- const deprecate = __webpack_require__(6370);
- const getPageLinks = __webpack_require__(4577);
-
- function hasFirstPage(link) {
- deprecate(
- `octokit.hasFirstPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`
- );
- return getPageLinks(link).first;
- }
-
- /***/
- },
-
- /***/ 1561: /***/ function (module) {
- module.exports = {
- pagination: {
- GetExecutionHistory: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "events",
- },
- ListActivities: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "activities",
- },
- ListExecutions: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "executions",
- },
- ListStateMachines: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "stateMachines",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1583: /***/ function (module, __unusedexports, __webpack_require__) {
- var memoizedProperty = __webpack_require__(153).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;
-
- /***/
- },
-
- /***/ 1592: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(3252);
- model.paginators = __webpack_require__(3080).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.ServerlessApplicationRepository;
-
- /***/
- },
-
- /***/ 1595: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-07-25",
- endpointPrefix: "elastic-inference",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "Amazon Elastic Inference",
- serviceFullName: "Amazon Elastic Inference",
- serviceId: "Elastic Inference",
- signatureVersion: "v4",
- signingName: "elastic-inference",
- uid: "elastic-inference-2017-07-25",
- },
- operations: {
- ListTagsForResource: {
- http: { method: "GET", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- },
- },
- output: { type: "structure", members: { tags: { shape: "S4" } } },
- },
- TagResource: {
- http: { requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn", "tags"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tags: { shape: "S4" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- http: { method: "DELETE", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn", "tagKeys"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tagKeys: {
- location: "querystring",
- locationName: "tagKeys",
- type: "list",
- member: {},
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: { S4: { type: "map", key: {}, value: {} } },
- };
-
- /***/
- },
-
- /***/ 1599: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
-
- AWS.util.update(AWS.MachineLearning.prototype, {
- /**
- * @api private
- */
- setupRequestListeners: function setupRequestListeners(request) {
- if (request.operation === "predict") {
- request.addListener("build", this.buildEndpoint);
- }
- },
-
- /**
- * Updates request endpoint from PredictEndpoint
- * @api private
- */
- buildEndpoint: function buildEndpoint(request) {
- var url = request.params.PredictEndpoint;
- if (url) {
- request.httpRequest.endpoint = new AWS.Endpoint(url);
- }
- },
- });
-
- /***/
- },
-
- /***/ 1602: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5452);
- model.paginators = __webpack_require__(324).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Translate;
-
- /***/
- },
-
- /***/ 1626: /***/ function (module) {
- module.exports = {
- pagination: {
- GetQueryResults: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListNamedQueries: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListQueryExecutions: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListWorkGroups: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1627: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- CacheClusterAvailable: {
- acceptors: [
- {
- argument: "CacheClusters[].CacheClusterStatus",
- expected: "available",
- matcher: "pathAll",
- state: "success",
- },
- {
- argument: "CacheClusters[].CacheClusterStatus",
- expected: "deleted",
- matcher: "pathAny",
- state: "failure",
- },
- {
- argument: "CacheClusters[].CacheClusterStatus",
- expected: "deleting",
- matcher: "pathAny",
- state: "failure",
- },
- {
- argument: "CacheClusters[].CacheClusterStatus",
- expected: "incompatible-network",
- matcher: "pathAny",
- state: "failure",
- },
- {
- argument: "CacheClusters[].CacheClusterStatus",
- expected: "restore-failed",
- matcher: "pathAny",
- state: "failure",
- },
- ],
- delay: 15,
- description: "Wait until ElastiCache cluster is available.",
- maxAttempts: 40,
- operation: "DescribeCacheClusters",
- },
- CacheClusterDeleted: {
- acceptors: [
- {
- argument: "CacheClusters[].CacheClusterStatus",
- expected: "deleted",
- matcher: "pathAll",
- state: "success",
- },
- {
- expected: "CacheClusterNotFound",
- matcher: "error",
- state: "success",
- },
- {
- argument: "CacheClusters[].CacheClusterStatus",
- expected: "available",
- matcher: "pathAny",
- state: "failure",
- },
- {
- argument: "CacheClusters[].CacheClusterStatus",
- expected: "creating",
- matcher: "pathAny",
- state: "failure",
- },
- {
- argument: "CacheClusters[].CacheClusterStatus",
- expected: "incompatible-network",
- matcher: "pathAny",
- state: "failure",
- },
- {
- argument: "CacheClusters[].CacheClusterStatus",
- expected: "modifying",
- matcher: "pathAny",
- state: "failure",
- },
- {
- argument: "CacheClusters[].CacheClusterStatus",
- expected: "restore-failed",
- matcher: "pathAny",
- state: "failure",
- },
- {
- argument: "CacheClusters[].CacheClusterStatus",
- expected: "snapshotting",
- matcher: "pathAny",
- state: "failure",
- },
- ],
- delay: 15,
- description: "Wait until ElastiCache cluster is deleted.",
- maxAttempts: 40,
- operation: "DescribeCacheClusters",
- },
- ReplicationGroupAvailable: {
- acceptors: [
- {
- argument: "ReplicationGroups[].Status",
- expected: "available",
- matcher: "pathAll",
- state: "success",
- },
- {
- argument: "ReplicationGroups[].Status",
- expected: "deleted",
- matcher: "pathAny",
- state: "failure",
- },
- ],
- delay: 15,
- description:
- "Wait until ElastiCache replication group is available.",
- maxAttempts: 40,
- operation: "DescribeReplicationGroups",
- },
- ReplicationGroupDeleted: {
- acceptors: [
- {
- argument: "ReplicationGroups[].Status",
- expected: "deleted",
- matcher: "pathAll",
- state: "success",
- },
- {
- argument: "ReplicationGroups[].Status",
- expected: "available",
- matcher: "pathAny",
- state: "failure",
- },
- {
- expected: "ReplicationGroupNotFoundFault",
- matcher: "error",
- state: "success",
- },
- ],
- delay: 15,
- description: "Wait until ElastiCache replication group is deleted.",
- maxAttempts: 40,
- operation: "DescribeReplicationGroups",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1631: /***/ function (module) {
- module.exports = require("net");
-
- /***/
- },
-
- /***/ 1632: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
-
- /**
- * @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;
- },
- });
-
- /***/
- },
-
- /***/ 1636: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2019-01-02",
- endpointPrefix: "qldb",
- jsonVersion: "1.0",
- protocol: "rest-json",
- serviceAbbreviation: "QLDB",
- serviceFullName: "Amazon QLDB",
- serviceId: "QLDB",
- signatureVersion: "v4",
- signingName: "qldb",
- uid: "qldb-2019-01-02",
- },
- operations: {
- CreateLedger: {
- http: { requestUri: "/ledgers" },
- input: {
- type: "structure",
- required: ["Name", "PermissionsMode"],
- members: {
- Name: {},
- Tags: { shape: "S3" },
- PermissionsMode: {},
- DeletionProtection: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- Name: {},
- Arn: {},
- State: {},
- CreationDateTime: { type: "timestamp" },
- DeletionProtection: { type: "boolean" },
- },
- },
- },
- DeleteLedger: {
- http: { method: "DELETE", requestUri: "/ledgers/{name}" },
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: { location: "uri", locationName: "name" } },
- },
- },
- DescribeJournalS3Export: {
- http: {
- method: "GET",
- requestUri: "/ledgers/{name}/journal-s3-exports/{exportId}",
- },
- input: {
- type: "structure",
- required: ["Name", "ExportId"],
- members: {
- Name: { location: "uri", locationName: "name" },
- ExportId: { location: "uri", locationName: "exportId" },
- },
- },
- output: {
- type: "structure",
- required: ["ExportDescription"],
- members: { ExportDescription: { shape: "Sg" } },
- },
- },
- DescribeLedger: {
- http: { method: "GET", requestUri: "/ledgers/{name}" },
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: { location: "uri", locationName: "name" } },
- },
- output: {
- type: "structure",
- members: {
- Name: {},
- Arn: {},
- State: {},
- CreationDateTime: { type: "timestamp" },
- DeletionProtection: { type: "boolean" },
- },
- },
- },
- ExportJournalToS3: {
- http: { requestUri: "/ledgers/{name}/journal-s3-exports" },
- input: {
- type: "structure",
- required: [
- "Name",
- "InclusiveStartTime",
- "ExclusiveEndTime",
- "S3ExportConfiguration",
- "RoleArn",
- ],
- members: {
- Name: { location: "uri", locationName: "name" },
- InclusiveStartTime: { type: "timestamp" },
- ExclusiveEndTime: { type: "timestamp" },
- S3ExportConfiguration: { shape: "Si" },
- RoleArn: {},
- },
- },
- output: {
- type: "structure",
- required: ["ExportId"],
- members: { ExportId: {} },
- },
- },
- GetBlock: {
- http: { requestUri: "/ledgers/{name}/block" },
- input: {
- type: "structure",
- required: ["Name", "BlockAddress"],
- members: {
- Name: { location: "uri", locationName: "name" },
- BlockAddress: { shape: "Ss" },
- DigestTipAddress: { shape: "Ss" },
- },
- },
- output: {
- type: "structure",
- required: ["Block"],
- members: { Block: { shape: "Ss" }, Proof: { shape: "Ss" } },
- },
- },
- GetDigest: {
- http: { requestUri: "/ledgers/{name}/digest" },
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: { location: "uri", locationName: "name" } },
- },
- output: {
- type: "structure",
- required: ["Digest", "DigestTipAddress"],
- members: {
- Digest: { type: "blob" },
- DigestTipAddress: { shape: "Ss" },
- },
- },
- },
- GetRevision: {
- http: { requestUri: "/ledgers/{name}/revision" },
- input: {
- type: "structure",
- required: ["Name", "BlockAddress", "DocumentId"],
- members: {
- Name: { location: "uri", locationName: "name" },
- BlockAddress: { shape: "Ss" },
- DocumentId: {},
- DigestTipAddress: { shape: "Ss" },
- },
- },
- output: {
- type: "structure",
- required: ["Revision"],
- members: { Proof: { shape: "Ss" }, Revision: { shape: "Ss" } },
- },
- },
- ListJournalS3Exports: {
- http: { method: "GET", requestUri: "/journal-s3-exports" },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "max_results",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "next_token",
- },
- },
- },
- output: {
- type: "structure",
- members: { JournalS3Exports: { shape: "S14" }, NextToken: {} },
- },
- },
- ListJournalS3ExportsForLedger: {
- http: {
- method: "GET",
- requestUri: "/ledgers/{name}/journal-s3-exports",
- },
- input: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: { location: "uri", locationName: "name" },
- MaxResults: {
- location: "querystring",
- locationName: "max_results",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "next_token",
- },
- },
- },
- output: {
- type: "structure",
- members: { JournalS3Exports: { shape: "S14" }, NextToken: {} },
- },
- },
- ListLedgers: {
- http: { method: "GET", requestUri: "/ledgers" },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "max_results",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "next_token",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Ledgers: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- State: {},
- CreationDateTime: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListTagsForResource: {
- http: { method: "GET", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: {
- ResourceArn: { location: "uri", locationName: "resourceArn" },
- },
- },
- output: { type: "structure", members: { Tags: { shape: "S3" } } },
- },
- TagResource: {
- http: { requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["ResourceArn", "Tags"],
- members: {
- ResourceArn: { location: "uri", locationName: "resourceArn" },
- Tags: { shape: "S3" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- http: { method: "DELETE", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["ResourceArn", "TagKeys"],
- members: {
- ResourceArn: { location: "uri", locationName: "resourceArn" },
- TagKeys: {
- location: "querystring",
- locationName: "tagKeys",
- type: "list",
- member: {},
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateLedger: {
- http: { method: "PATCH", requestUri: "/ledgers/{name}" },
- input: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: { location: "uri", locationName: "name" },
- DeletionProtection: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- Name: {},
- Arn: {},
- State: {},
- CreationDateTime: { type: "timestamp" },
- DeletionProtection: { type: "boolean" },
- },
- },
- },
- },
- shapes: {
- S3: { type: "map", key: {}, value: {} },
- Sg: {
- type: "structure",
- required: [
- "LedgerName",
- "ExportId",
- "ExportCreationTime",
- "Status",
- "InclusiveStartTime",
- "ExclusiveEndTime",
- "S3ExportConfiguration",
- "RoleArn",
- ],
- members: {
- LedgerName: {},
- ExportId: {},
- ExportCreationTime: { type: "timestamp" },
- Status: {},
- InclusiveStartTime: { type: "timestamp" },
- ExclusiveEndTime: { type: "timestamp" },
- S3ExportConfiguration: { shape: "Si" },
- RoleArn: {},
- },
- },
- Si: {
- type: "structure",
- required: ["Bucket", "Prefix", "EncryptionConfiguration"],
- members: {
- Bucket: {},
- Prefix: {},
- EncryptionConfiguration: {
- type: "structure",
- required: ["ObjectEncryptionType"],
- members: { ObjectEncryptionType: {}, KmsKeyArn: {} },
- },
- },
- },
- Ss: {
- type: "structure",
- members: { IonText: { type: "string", sensitive: true } },
- sensitive: true,
- },
- S14: { type: "list", member: { shape: "Sg" } },
- },
- };
-
- /***/
- },
-
- /***/ 1647: /***/ function (module, __unusedexports, __webpack_require__) {
- var AWS = __webpack_require__(395),
- 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/gm, "");
-
- 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;
-
- /***/
- },
-
- /***/ 1656: /***/ function (module) {
- module.exports = {
- pagination: {
- ListAcceptedPortfolioShares: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- ListBudgetsForResource: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- ListConstraintsForPortfolio: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- ListLaunchPaths: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- ListOrganizationPortfolioAccess: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- ListPortfolioAccess: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- ListPortfolios: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- ListPortfoliosForProduct: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- ListPrincipalsForPortfolio: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- ListProvisioningArtifactsForServiceAction: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- ListResourcesForTagOption: {
- input_token: "PageToken",
- output_token: "PageToken",
- limit_key: "PageSize",
- },
- ListServiceActions: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- ListServiceActionsForProvisioningArtifact: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- ListTagOptions: {
- input_token: "PageToken",
- output_token: "PageToken",
- limit_key: "PageSize",
- },
- SearchProducts: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- SearchProductsAsAdmin: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- SearchProvisionedProducts: {
- input_token: "PageToken",
- output_token: "NextPageToken",
- limit_key: "PageSize",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1657: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 1659: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2016-11-25",
- endpointPrefix: "cloudfront",
- globalEndpoint: "cloudfront.amazonaws.com",
- protocol: "rest-xml",
- serviceAbbreviation: "CloudFront",
- serviceFullName: "Amazon CloudFront",
- serviceId: "CloudFront",
- signatureVersion: "v4",
- uid: "cloudfront-2016-11-25",
- },
- operations: {
- CreateCloudFrontOriginAccessIdentity: {
- http: {
- requestUri: "/2016-11-25/origin-access-identity/cloudfront",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["CloudFrontOriginAccessIdentityConfig"],
- members: {
- CloudFrontOriginAccessIdentityConfig: {
- shape: "S2",
- locationName: "CloudFrontOriginAccessIdentityConfig",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/",
- },
- },
- },
- payload: "CloudFrontOriginAccessIdentityConfig",
- },
- output: {
- type: "structure",
- members: {
- CloudFrontOriginAccessIdentity: { shape: "S5" },
- Location: { location: "header", locationName: "Location" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "CloudFrontOriginAccessIdentity",
- },
- },
- CreateDistribution: {
- http: { requestUri: "/2016-11-25/distribution", responseCode: 201 },
- input: {
- type: "structure",
- required: ["DistributionConfig"],
- members: {
- DistributionConfig: {
- shape: "S7",
- locationName: "DistributionConfig",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/",
- },
- },
- },
- payload: "DistributionConfig",
- },
- output: {
- type: "structure",
- members: {
- Distribution: { shape: "S1s" },
- Location: { location: "header", locationName: "Location" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "Distribution",
- },
- },
- CreateDistributionWithTags: {
- http: {
- requestUri: "/2016-11-25/distribution?WithTags",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["DistributionConfigWithTags"],
- members: {
- DistributionConfigWithTags: {
- locationName: "DistributionConfigWithTags",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/",
- },
- type: "structure",
- required: ["DistributionConfig", "Tags"],
- members: {
- DistributionConfig: { shape: "S7" },
- Tags: { shape: "S21" },
- },
- },
- },
- payload: "DistributionConfigWithTags",
- },
- output: {
- type: "structure",
- members: {
- Distribution: { shape: "S1s" },
- Location: { location: "header", locationName: "Location" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "Distribution",
- },
- },
- CreateInvalidation: {
- http: {
- requestUri:
- "/2016-11-25/distribution/{DistributionId}/invalidation",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["DistributionId", "InvalidationBatch"],
- members: {
- DistributionId: {
- location: "uri",
- locationName: "DistributionId",
- },
- InvalidationBatch: {
- shape: "S28",
- locationName: "InvalidationBatch",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/",
- },
- },
- },
- payload: "InvalidationBatch",
- },
- output: {
- type: "structure",
- members: {
- Location: { location: "header", locationName: "Location" },
- Invalidation: { shape: "S2c" },
- },
- payload: "Invalidation",
- },
- },
- CreateStreamingDistribution: {
- http: {
- requestUri: "/2016-11-25/streaming-distribution",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["StreamingDistributionConfig"],
- members: {
- StreamingDistributionConfig: {
- shape: "S2e",
- locationName: "StreamingDistributionConfig",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/",
- },
- },
- },
- payload: "StreamingDistributionConfig",
- },
- output: {
- type: "structure",
- members: {
- StreamingDistribution: { shape: "S2i" },
- Location: { location: "header", locationName: "Location" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "StreamingDistribution",
- },
- },
- CreateStreamingDistributionWithTags: {
- http: {
- requestUri: "/2016-11-25/streaming-distribution?WithTags",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["StreamingDistributionConfigWithTags"],
- members: {
- StreamingDistributionConfigWithTags: {
- locationName: "StreamingDistributionConfigWithTags",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/",
- },
- type: "structure",
- required: ["StreamingDistributionConfig", "Tags"],
- members: {
- StreamingDistributionConfig: { shape: "S2e" },
- Tags: { shape: "S21" },
- },
- },
- },
- payload: "StreamingDistributionConfigWithTags",
- },
- output: {
- type: "structure",
- members: {
- StreamingDistribution: { shape: "S2i" },
- Location: { location: "header", locationName: "Location" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "StreamingDistribution",
- },
- },
- DeleteCloudFrontOriginAccessIdentity: {
- http: {
- method: "DELETE",
- requestUri: "/2016-11-25/origin-access-identity/cloudfront/{Id}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: {
- Id: { location: "uri", locationName: "Id" },
- IfMatch: { location: "header", locationName: "If-Match" },
- },
- },
- },
- DeleteDistribution: {
- http: {
- method: "DELETE",
- requestUri: "/2016-11-25/distribution/{Id}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: {
- Id: { location: "uri", locationName: "Id" },
- IfMatch: { location: "header", locationName: "If-Match" },
- },
- },
- },
- DeleteStreamingDistribution: {
- http: {
- method: "DELETE",
- requestUri: "/2016-11-25/streaming-distribution/{Id}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: {
- Id: { location: "uri", locationName: "Id" },
- IfMatch: { location: "header", locationName: "If-Match" },
- },
- },
- },
- GetCloudFrontOriginAccessIdentity: {
- http: {
- method: "GET",
- requestUri: "/2016-11-25/origin-access-identity/cloudfront/{Id}",
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: { location: "uri", locationName: "Id" } },
- },
- output: {
- type: "structure",
- members: {
- CloudFrontOriginAccessIdentity: { shape: "S5" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "CloudFrontOriginAccessIdentity",
- },
- },
- GetCloudFrontOriginAccessIdentityConfig: {
- http: {
- method: "GET",
- requestUri:
- "/2016-11-25/origin-access-identity/cloudfront/{Id}/config",
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: { location: "uri", locationName: "Id" } },
- },
- output: {
- type: "structure",
- members: {
- CloudFrontOriginAccessIdentityConfig: { shape: "S2" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "CloudFrontOriginAccessIdentityConfig",
- },
- },
- GetDistribution: {
- http: {
- method: "GET",
- requestUri: "/2016-11-25/distribution/{Id}",
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: { location: "uri", locationName: "Id" } },
- },
- output: {
- type: "structure",
- members: {
- Distribution: { shape: "S1s" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "Distribution",
- },
- },
- GetDistributionConfig: {
- http: {
- method: "GET",
- requestUri: "/2016-11-25/distribution/{Id}/config",
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: { location: "uri", locationName: "Id" } },
- },
- output: {
- type: "structure",
- members: {
- DistributionConfig: { shape: "S7" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "DistributionConfig",
- },
- },
- GetInvalidation: {
- http: {
- method: "GET",
- requestUri:
- "/2016-11-25/distribution/{DistributionId}/invalidation/{Id}",
- },
- input: {
- type: "structure",
- required: ["DistributionId", "Id"],
- members: {
- DistributionId: {
- location: "uri",
- locationName: "DistributionId",
- },
- Id: { location: "uri", locationName: "Id" },
- },
- },
- output: {
- type: "structure",
- members: { Invalidation: { shape: "S2c" } },
- payload: "Invalidation",
- },
- },
- GetStreamingDistribution: {
- http: {
- method: "GET",
- requestUri: "/2016-11-25/streaming-distribution/{Id}",
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: { location: "uri", locationName: "Id" } },
- },
- output: {
- type: "structure",
- members: {
- StreamingDistribution: { shape: "S2i" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "StreamingDistribution",
- },
- },
- GetStreamingDistributionConfig: {
- http: {
- method: "GET",
- requestUri: "/2016-11-25/streaming-distribution/{Id}/config",
- },
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: { location: "uri", locationName: "Id" } },
- },
- output: {
- type: "structure",
- members: {
- StreamingDistributionConfig: { shape: "S2e" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "StreamingDistributionConfig",
- },
- },
- ListCloudFrontOriginAccessIdentities: {
- http: {
- method: "GET",
- requestUri: "/2016-11-25/origin-access-identity/cloudfront",
- },
- input: {
- type: "structure",
- members: {
- Marker: { location: "querystring", locationName: "Marker" },
- MaxItems: { location: "querystring", locationName: "MaxItems" },
- },
- },
- output: {
- type: "structure",
- members: {
- CloudFrontOriginAccessIdentityList: {
- type: "structure",
- required: ["Marker", "MaxItems", "IsTruncated", "Quantity"],
- members: {
- Marker: {},
- NextMarker: {},
- MaxItems: { type: "integer" },
- IsTruncated: { type: "boolean" },
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "CloudFrontOriginAccessIdentitySummary",
- type: "structure",
- required: ["Id", "S3CanonicalUserId", "Comment"],
- members: { Id: {}, S3CanonicalUserId: {}, Comment: {} },
- },
- },
- },
- },
- },
- payload: "CloudFrontOriginAccessIdentityList",
- },
- },
- ListDistributions: {
- http: { method: "GET", requestUri: "/2016-11-25/distribution" },
- input: {
- type: "structure",
- members: {
- Marker: { location: "querystring", locationName: "Marker" },
- MaxItems: { location: "querystring", locationName: "MaxItems" },
- },
- },
- output: {
- type: "structure",
- members: { DistributionList: { shape: "S3a" } },
- payload: "DistributionList",
- },
- },
- ListDistributionsByWebACLId: {
- http: {
- method: "GET",
- requestUri: "/2016-11-25/distributionsByWebACLId/{WebACLId}",
- },
- input: {
- type: "structure",
- required: ["WebACLId"],
- members: {
- Marker: { location: "querystring", locationName: "Marker" },
- MaxItems: { location: "querystring", locationName: "MaxItems" },
- WebACLId: { location: "uri", locationName: "WebACLId" },
- },
- },
- output: {
- type: "structure",
- members: { DistributionList: { shape: "S3a" } },
- payload: "DistributionList",
- },
- },
- ListInvalidations: {
- http: {
- method: "GET",
- requestUri:
- "/2016-11-25/distribution/{DistributionId}/invalidation",
- },
- input: {
- type: "structure",
- required: ["DistributionId"],
- members: {
- DistributionId: {
- location: "uri",
- locationName: "DistributionId",
- },
- Marker: { location: "querystring", locationName: "Marker" },
- MaxItems: { location: "querystring", locationName: "MaxItems" },
- },
- },
- output: {
- type: "structure",
- members: {
- InvalidationList: {
- type: "structure",
- required: ["Marker", "MaxItems", "IsTruncated", "Quantity"],
- members: {
- Marker: {},
- NextMarker: {},
- MaxItems: { type: "integer" },
- IsTruncated: { type: "boolean" },
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "InvalidationSummary",
- type: "structure",
- required: ["Id", "CreateTime", "Status"],
- members: {
- Id: {},
- CreateTime: { type: "timestamp" },
- Status: {},
- },
- },
- },
- },
- },
- },
- payload: "InvalidationList",
- },
- },
- ListStreamingDistributions: {
- http: {
- method: "GET",
- requestUri: "/2016-11-25/streaming-distribution",
- },
- input: {
- type: "structure",
- members: {
- Marker: { location: "querystring", locationName: "Marker" },
- MaxItems: { location: "querystring", locationName: "MaxItems" },
- },
- },
- output: {
- type: "structure",
- members: {
- StreamingDistributionList: {
- type: "structure",
- required: ["Marker", "MaxItems", "IsTruncated", "Quantity"],
- members: {
- Marker: {},
- NextMarker: {},
- MaxItems: { type: "integer" },
- IsTruncated: { type: "boolean" },
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "StreamingDistributionSummary",
- type: "structure",
- required: [
- "Id",
- "ARN",
- "Status",
- "LastModifiedTime",
- "DomainName",
- "S3Origin",
- "Aliases",
- "TrustedSigners",
- "Comment",
- "PriceClass",
- "Enabled",
- ],
- members: {
- Id: {},
- ARN: {},
- Status: {},
- LastModifiedTime: { type: "timestamp" },
- DomainName: {},
- S3Origin: { shape: "S2f" },
- Aliases: { shape: "S8" },
- TrustedSigners: { shape: "Sy" },
- Comment: {},
- PriceClass: {},
- Enabled: { type: "boolean" },
- },
- },
- },
- },
- },
- },
- payload: "StreamingDistributionList",
- },
- },
- ListTagsForResource: {
- http: { method: "GET", requestUri: "/2016-11-25/tagging" },
- input: {
- type: "structure",
- required: ["Resource"],
- members: {
- Resource: { location: "querystring", locationName: "Resource" },
- },
- },
- output: {
- type: "structure",
- required: ["Tags"],
- members: { Tags: { shape: "S21" } },
- payload: "Tags",
- },
- },
- TagResource: {
- http: {
- requestUri: "/2016-11-25/tagging?Operation=Tag",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["Resource", "Tags"],
- members: {
- Resource: { location: "querystring", locationName: "Resource" },
- Tags: {
- shape: "S21",
- locationName: "Tags",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/",
- },
- },
- },
- payload: "Tags",
- },
- },
- UntagResource: {
- http: {
- requestUri: "/2016-11-25/tagging?Operation=Untag",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["Resource", "TagKeys"],
- members: {
- Resource: { location: "querystring", locationName: "Resource" },
- TagKeys: {
- locationName: "TagKeys",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/",
- },
- type: "structure",
- members: {
- Items: { type: "list", member: { locationName: "Key" } },
- },
- },
- },
- payload: "TagKeys",
- },
- },
- UpdateCloudFrontOriginAccessIdentity: {
- http: {
- method: "PUT",
- requestUri:
- "/2016-11-25/origin-access-identity/cloudfront/{Id}/config",
- },
- input: {
- type: "structure",
- required: ["CloudFrontOriginAccessIdentityConfig", "Id"],
- members: {
- CloudFrontOriginAccessIdentityConfig: {
- shape: "S2",
- locationName: "CloudFrontOriginAccessIdentityConfig",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/",
- },
- },
- Id: { location: "uri", locationName: "Id" },
- IfMatch: { location: "header", locationName: "If-Match" },
- },
- payload: "CloudFrontOriginAccessIdentityConfig",
- },
- output: {
- type: "structure",
- members: {
- CloudFrontOriginAccessIdentity: { shape: "S5" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "CloudFrontOriginAccessIdentity",
- },
- },
- UpdateDistribution: {
- http: {
- method: "PUT",
- requestUri: "/2016-11-25/distribution/{Id}/config",
- },
- input: {
- type: "structure",
- required: ["DistributionConfig", "Id"],
- members: {
- DistributionConfig: {
- shape: "S7",
- locationName: "DistributionConfig",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/",
- },
- },
- Id: { location: "uri", locationName: "Id" },
- IfMatch: { location: "header", locationName: "If-Match" },
- },
- payload: "DistributionConfig",
- },
- output: {
- type: "structure",
- members: {
- Distribution: { shape: "S1s" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "Distribution",
- },
- },
- UpdateStreamingDistribution: {
- http: {
- method: "PUT",
- requestUri: "/2016-11-25/streaming-distribution/{Id}/config",
- },
- input: {
- type: "structure",
- required: ["StreamingDistributionConfig", "Id"],
- members: {
- StreamingDistributionConfig: {
- shape: "S2e",
- locationName: "StreamingDistributionConfig",
- xmlNamespace: {
- uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/",
- },
- },
- Id: { location: "uri", locationName: "Id" },
- IfMatch: { location: "header", locationName: "If-Match" },
- },
- payload: "StreamingDistributionConfig",
- },
- output: {
- type: "structure",
- members: {
- StreamingDistribution: { shape: "S2i" },
- ETag: { location: "header", locationName: "ETag" },
- },
- payload: "StreamingDistribution",
- },
- },
- },
- shapes: {
- S2: {
- type: "structure",
- required: ["CallerReference", "Comment"],
- members: { CallerReference: {}, Comment: {} },
- },
- S5: {
- type: "structure",
- required: ["Id", "S3CanonicalUserId"],
- members: {
- Id: {},
- S3CanonicalUserId: {},
- CloudFrontOriginAccessIdentityConfig: { shape: "S2" },
- },
- },
- S7: {
- type: "structure",
- required: [
- "CallerReference",
- "Origins",
- "DefaultCacheBehavior",
- "Comment",
- "Enabled",
- ],
- members: {
- CallerReference: {},
- Aliases: { shape: "S8" },
- DefaultRootObject: {},
- Origins: { shape: "Sb" },
- DefaultCacheBehavior: { shape: "Sn" },
- CacheBehaviors: { shape: "S1a" },
- CustomErrorResponses: { shape: "S1d" },
- Comment: {},
- Logging: {
- type: "structure",
- required: ["Enabled", "IncludeCookies", "Bucket", "Prefix"],
- members: {
- Enabled: { type: "boolean" },
- IncludeCookies: { type: "boolean" },
- Bucket: {},
- Prefix: {},
- },
- },
- PriceClass: {},
- Enabled: { type: "boolean" },
- ViewerCertificate: { shape: "S1i" },
- Restrictions: { shape: "S1m" },
- WebACLId: {},
- HttpVersion: {},
- IsIPV6Enabled: { type: "boolean" },
- },
- },
- S8: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: { type: "list", member: { locationName: "CNAME" } },
- },
- },
- Sb: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "Origin",
- type: "structure",
- required: ["Id", "DomainName"],
- members: {
- Id: {},
- DomainName: {},
- OriginPath: {},
- CustomHeaders: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "OriginCustomHeader",
- type: "structure",
- required: ["HeaderName", "HeaderValue"],
- members: { HeaderName: {}, HeaderValue: {} },
- },
- },
- },
- },
- S3OriginConfig: {
- type: "structure",
- required: ["OriginAccessIdentity"],
- members: { OriginAccessIdentity: {} },
- },
- CustomOriginConfig: {
- type: "structure",
- required: [
- "HTTPPort",
- "HTTPSPort",
- "OriginProtocolPolicy",
- ],
- members: {
- HTTPPort: { type: "integer" },
- HTTPSPort: { type: "integer" },
- OriginProtocolPolicy: {},
- OriginSslProtocols: {
- type: "structure",
- required: ["Quantity", "Items"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: { locationName: "SslProtocol" },
- },
- },
- },
- },
- },
- },
- },
- },
- },
- },
- Sn: {
- type: "structure",
- required: [
- "TargetOriginId",
- "ForwardedValues",
- "TrustedSigners",
- "ViewerProtocolPolicy",
- "MinTTL",
- ],
- members: {
- TargetOriginId: {},
- ForwardedValues: { shape: "So" },
- TrustedSigners: { shape: "Sy" },
- ViewerProtocolPolicy: {},
- MinTTL: { type: "long" },
- AllowedMethods: { shape: "S12" },
- SmoothStreaming: { type: "boolean" },
- DefaultTTL: { type: "long" },
- MaxTTL: { type: "long" },
- Compress: { type: "boolean" },
- LambdaFunctionAssociations: { shape: "S16" },
- },
- },
- So: {
- type: "structure",
- required: ["QueryString", "Cookies"],
- members: {
- QueryString: { type: "boolean" },
- Cookies: {
- type: "structure",
- required: ["Forward"],
- members: {
- Forward: {},
- WhitelistedNames: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: { type: "list", member: { locationName: "Name" } },
- },
- },
- },
- },
- Headers: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: { type: "list", member: { locationName: "Name" } },
- },
- },
- QueryStringCacheKeys: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: { type: "list", member: { locationName: "Name" } },
- },
- },
- },
- },
- Sy: {
- type: "structure",
- required: ["Enabled", "Quantity"],
- members: {
- Enabled: { type: "boolean" },
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: { locationName: "AwsAccountNumber" },
- },
- },
- },
- S12: {
- type: "structure",
- required: ["Quantity", "Items"],
- members: {
- Quantity: { type: "integer" },
- Items: { shape: "S13" },
- CachedMethods: {
- type: "structure",
- required: ["Quantity", "Items"],
- members: {
- Quantity: { type: "integer" },
- Items: { shape: "S13" },
- },
- },
- },
- },
- S13: { type: "list", member: { locationName: "Method" } },
- S16: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "LambdaFunctionAssociation",
- type: "structure",
- members: { LambdaFunctionARN: {}, EventType: {} },
- },
- },
- },
- },
- S1a: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "CacheBehavior",
- type: "structure",
- required: [
- "PathPattern",
- "TargetOriginId",
- "ForwardedValues",
- "TrustedSigners",
- "ViewerProtocolPolicy",
- "MinTTL",
- ],
- members: {
- PathPattern: {},
- TargetOriginId: {},
- ForwardedValues: { shape: "So" },
- TrustedSigners: { shape: "Sy" },
- ViewerProtocolPolicy: {},
- MinTTL: { type: "long" },
- AllowedMethods: { shape: "S12" },
- SmoothStreaming: { type: "boolean" },
- DefaultTTL: { type: "long" },
- MaxTTL: { type: "long" },
- Compress: { type: "boolean" },
- LambdaFunctionAssociations: { shape: "S16" },
- },
- },
- },
- },
- },
- S1d: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "CustomErrorResponse",
- type: "structure",
- required: ["ErrorCode"],
- members: {
- ErrorCode: { type: "integer" },
- ResponsePagePath: {},
- ResponseCode: {},
- ErrorCachingMinTTL: { type: "long" },
- },
- },
- },
- },
- },
- S1i: {
- type: "structure",
- members: {
- CloudFrontDefaultCertificate: { type: "boolean" },
- IAMCertificateId: {},
- ACMCertificateArn: {},
- SSLSupportMethod: {},
- MinimumProtocolVersion: {},
- Certificate: { deprecated: true },
- CertificateSource: { deprecated: true },
- },
- },
- S1m: {
- type: "structure",
- required: ["GeoRestriction"],
- members: {
- GeoRestriction: {
- type: "structure",
- required: ["RestrictionType", "Quantity"],
- members: {
- RestrictionType: {},
- Quantity: { type: "integer" },
- Items: { type: "list", member: { locationName: "Location" } },
- },
- },
- },
- },
- S1s: {
- type: "structure",
- required: [
- "Id",
- "ARN",
- "Status",
- "LastModifiedTime",
- "InProgressInvalidationBatches",
- "DomainName",
- "ActiveTrustedSigners",
- "DistributionConfig",
- ],
- members: {
- Id: {},
- ARN: {},
- Status: {},
- LastModifiedTime: { type: "timestamp" },
- InProgressInvalidationBatches: { type: "integer" },
- DomainName: {},
- ActiveTrustedSigners: { shape: "S1u" },
- DistributionConfig: { shape: "S7" },
- },
- },
- S1u: {
- type: "structure",
- required: ["Enabled", "Quantity"],
- members: {
- Enabled: { type: "boolean" },
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "Signer",
- type: "structure",
- members: {
- AwsAccountNumber: {},
- KeyPairIds: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: { locationName: "KeyPairId" },
- },
- },
- },
- },
- },
- },
- },
- },
- S21: {
- type: "structure",
- members: {
- Items: {
- type: "list",
- member: {
- locationName: "Tag",
- type: "structure",
- required: ["Key"],
- members: { Key: {}, Value: {} },
- },
- },
- },
- },
- S28: {
- type: "structure",
- required: ["Paths", "CallerReference"],
- members: {
- Paths: {
- type: "structure",
- required: ["Quantity"],
- members: {
- Quantity: { type: "integer" },
- Items: { type: "list", member: { locationName: "Path" } },
- },
- },
- CallerReference: {},
- },
- },
- S2c: {
- type: "structure",
- required: ["Id", "Status", "CreateTime", "InvalidationBatch"],
- members: {
- Id: {},
- Status: {},
- CreateTime: { type: "timestamp" },
- InvalidationBatch: { shape: "S28" },
- },
- },
- S2e: {
- type: "structure",
- required: [
- "CallerReference",
- "S3Origin",
- "Comment",
- "TrustedSigners",
- "Enabled",
- ],
- members: {
- CallerReference: {},
- S3Origin: { shape: "S2f" },
- Aliases: { shape: "S8" },
- Comment: {},
- Logging: {
- type: "structure",
- required: ["Enabled", "Bucket", "Prefix"],
- members: {
- Enabled: { type: "boolean" },
- Bucket: {},
- Prefix: {},
- },
- },
- TrustedSigners: { shape: "Sy" },
- PriceClass: {},
- Enabled: { type: "boolean" },
- },
- },
- S2f: {
- type: "structure",
- required: ["DomainName", "OriginAccessIdentity"],
- members: { DomainName: {}, OriginAccessIdentity: {} },
- },
- S2i: {
- type: "structure",
- required: [
- "Id",
- "ARN",
- "Status",
- "DomainName",
- "ActiveTrustedSigners",
- "StreamingDistributionConfig",
- ],
- members: {
- Id: {},
- ARN: {},
- Status: {},
- LastModifiedTime: { type: "timestamp" },
- DomainName: {},
- ActiveTrustedSigners: { shape: "S1u" },
- StreamingDistributionConfig: { shape: "S2e" },
- },
- },
- S3a: {
- type: "structure",
- required: ["Marker", "MaxItems", "IsTruncated", "Quantity"],
- members: {
- Marker: {},
- NextMarker: {},
- MaxItems: { type: "integer" },
- IsTruncated: { type: "boolean" },
- Quantity: { type: "integer" },
- Items: {
- type: "list",
- member: {
- locationName: "DistributionSummary",
- type: "structure",
- required: [
- "Id",
- "ARN",
- "Status",
- "LastModifiedTime",
- "DomainName",
- "Aliases",
- "Origins",
- "DefaultCacheBehavior",
- "CacheBehaviors",
- "CustomErrorResponses",
- "Comment",
- "PriceClass",
- "Enabled",
- "ViewerCertificate",
- "Restrictions",
- "WebACLId",
- "HttpVersion",
- "IsIPV6Enabled",
- ],
- members: {
- Id: {},
- ARN: {},
- Status: {},
- LastModifiedTime: { type: "timestamp" },
- DomainName: {},
- Aliases: { shape: "S8" },
- Origins: { shape: "Sb" },
- DefaultCacheBehavior: { shape: "Sn" },
- CacheBehaviors: { shape: "S1a" },
- CustomErrorResponses: { shape: "S1d" },
- Comment: {},
- PriceClass: {},
- Enabled: { type: "boolean" },
- ViewerCertificate: { shape: "S1i" },
- Restrictions: { shape: "S1m" },
- WebACLId: {},
- HttpVersion: {},
- IsIPV6Enabled: { type: "boolean" },
- },
- },
- },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1661: /***/ function (module, __unusedexports, __webpack_require__) {
- var eventMessageChunker = __webpack_require__(625).eventMessageChunker;
- var parseEvent = __webpack_require__(4657).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,
- };
-
- /***/
- },
-
- /***/ 1669: /***/ function (module) {
- module.exports = require("util");
-
- /***/
- },
-
- /***/ 1677: /***/ function (module) {
- module.exports = {
- pagination: {
- ListHealthChecks: {
- input_token: "Marker",
- limit_key: "MaxItems",
- more_results: "IsTruncated",
- output_token: "NextMarker",
- result_key: "HealthChecks",
- },
- ListHostedZones: {
- input_token: "Marker",
- limit_key: "MaxItems",
- more_results: "IsTruncated",
- output_token: "NextMarker",
- result_key: "HostedZones",
- },
- ListResourceRecordSets: {
- input_token: [
- "StartRecordName",
- "StartRecordType",
- "StartRecordIdentifier",
- ],
- limit_key: "MaxItems",
- more_results: "IsTruncated",
- output_token: [
- "NextRecordName",
- "NextRecordType",
- "NextRecordIdentifier",
- ],
- result_key: "ResourceRecordSets",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1694: /***/ function (module) {
- module.exports = {
- acm: { name: "ACM", cors: true },
- apigateway: { name: "APIGateway", cors: true },
- applicationautoscaling: {
- prefix: "application-autoscaling",
- name: "ApplicationAutoScaling",
- cors: true,
- },
- appstream: { name: "AppStream" },
- autoscaling: { name: "AutoScaling", cors: true },
- batch: { name: "Batch" },
- budgets: { name: "Budgets" },
- clouddirectory: { name: "CloudDirectory", versions: ["2016-05-10*"] },
- cloudformation: { name: "CloudFormation", cors: true },
- cloudfront: {
- name: "CloudFront",
- versions: [
- "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*",
- "2017-03-25*",
- "2017-10-30*",
- "2018-06-18*",
- "2018-11-05*",
- ],
- cors: true,
- },
- cloudhsm: { name: "CloudHSM", cors: true },
- cloudsearch: { name: "CloudSearch" },
- cloudsearchdomain: { name: "CloudSearchDomain" },
- cloudtrail: { name: "CloudTrail", cors: true },
- cloudwatch: { prefix: "monitoring", name: "CloudWatch", cors: true },
- cloudwatchevents: {
- prefix: "events",
- name: "CloudWatchEvents",
- versions: ["2014-02-03*"],
- cors: true,
- },
- cloudwatchlogs: { prefix: "logs", name: "CloudWatchLogs", cors: true },
- codebuild: { name: "CodeBuild", cors: true },
- codecommit: { name: "CodeCommit", cors: true },
- codedeploy: { name: "CodeDeploy", cors: true },
- codepipeline: { name: "CodePipeline", cors: true },
- cognitoidentity: {
- prefix: "cognito-identity",
- name: "CognitoIdentity",
- cors: true,
- },
- cognitoidentityserviceprovider: {
- prefix: "cognito-idp",
- name: "CognitoIdentityServiceProvider",
- cors: true,
- },
- cognitosync: {
- prefix: "cognito-sync",
- name: "CognitoSync",
- cors: true,
- },
- configservice: { prefix: "config", name: "ConfigService", cors: true },
- cur: { name: "CUR", cors: true },
- datapipeline: { name: "DataPipeline" },
- devicefarm: { name: "DeviceFarm", cors: true },
- directconnect: { name: "DirectConnect", cors: true },
- directoryservice: { prefix: "ds", name: "DirectoryService" },
- discovery: { name: "Discovery" },
- dms: { name: "DMS" },
- dynamodb: { name: "DynamoDB", cors: true },
- dynamodbstreams: {
- prefix: "streams.dynamodb",
- name: "DynamoDBStreams",
- cors: true,
- },
- ec2: {
- name: "EC2",
- versions: [
- "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*",
- ],
- cors: true,
- },
- ecr: { name: "ECR", cors: true },
- ecs: { name: "ECS", cors: true },
- efs: { prefix: "elasticfilesystem", name: "EFS", cors: true },
- elasticache: {
- name: "ElastiCache",
- versions: [
- "2012-11-15*",
- "2014-03-24*",
- "2014-07-15*",
- "2014-09-30*",
- ],
- cors: true,
- },
- elasticbeanstalk: { name: "ElasticBeanstalk", cors: true },
- elb: { prefix: "elasticloadbalancing", name: "ELB", cors: true },
- elbv2: { prefix: "elasticloadbalancingv2", name: "ELBv2", cors: true },
- emr: { prefix: "elasticmapreduce", name: "EMR", cors: true },
- es: { name: "ES" },
- elastictranscoder: { name: "ElasticTranscoder", cors: true },
- firehose: { name: "Firehose", cors: true },
- gamelift: { name: "GameLift", cors: true },
- glacier: { name: "Glacier" },
- health: { name: "Health" },
- iam: { name: "IAM", cors: true },
- importexport: { name: "ImportExport" },
- inspector: { name: "Inspector", versions: ["2015-08-18*"], cors: true },
- iot: { name: "Iot", cors: true },
- iotdata: { prefix: "iot-data", name: "IotData", cors: true },
- kinesis: { name: "Kinesis", cors: true },
- kinesisanalytics: { name: "KinesisAnalytics" },
- kms: { name: "KMS", cors: true },
- lambda: { name: "Lambda", cors: true },
- lexruntime: { prefix: "runtime.lex", name: "LexRuntime", cors: true },
- lightsail: { name: "Lightsail" },
- machinelearning: { name: "MachineLearning", cors: true },
- marketplacecommerceanalytics: {
- name: "MarketplaceCommerceAnalytics",
- cors: true,
- },
- marketplacemetering: {
- prefix: "meteringmarketplace",
- name: "MarketplaceMetering",
- },
- mturk: { prefix: "mturk-requester", name: "MTurk", cors: true },
- mobileanalytics: { name: "MobileAnalytics", cors: true },
- opsworks: { name: "OpsWorks", cors: true },
- opsworkscm: { name: "OpsWorksCM" },
- organizations: { name: "Organizations" },
- pinpoint: { name: "Pinpoint" },
- polly: { name: "Polly", cors: true },
- rds: { name: "RDS", versions: ["2014-09-01*"], cors: true },
- redshift: { name: "Redshift", cors: true },
- rekognition: { name: "Rekognition", cors: true },
- resourcegroupstaggingapi: { name: "ResourceGroupsTaggingAPI" },
- route53: { name: "Route53", cors: true },
- route53domains: { name: "Route53Domains", cors: true },
- s3: { name: "S3", dualstackAvailable: true, cors: true },
- s3control: {
- name: "S3Control",
- dualstackAvailable: true,
- xmlNoDefaultLists: true,
- },
- servicecatalog: { name: "ServiceCatalog", cors: true },
- ses: { prefix: "email", name: "SES", cors: true },
- shield: { name: "Shield" },
- simpledb: { prefix: "sdb", name: "SimpleDB" },
- sms: { name: "SMS" },
- snowball: { name: "Snowball" },
- sns: { name: "SNS", cors: true },
- sqs: { name: "SQS", cors: true },
- ssm: { name: "SSM", cors: true },
- storagegateway: { name: "StorageGateway", cors: true },
- stepfunctions: { prefix: "states", name: "StepFunctions" },
- sts: { name: "STS", cors: true },
- support: { name: "Support" },
- swf: { name: "SWF" },
- xray: { name: "XRay", cors: true },
- waf: { name: "WAF", cors: true },
- wafregional: { prefix: "waf-regional", name: "WAFRegional" },
- workdocs: { name: "WorkDocs", cors: true },
- workspaces: { name: "WorkSpaces" },
- codestar: { name: "CodeStar" },
- lexmodelbuildingservice: {
- prefix: "lex-models",
- name: "LexModelBuildingService",
- cors: true,
- },
- marketplaceentitlementservice: {
- prefix: "entitlement.marketplace",
- name: "MarketplaceEntitlementService",
- },
- athena: { name: "Athena" },
- greengrass: { name: "Greengrass" },
- dax: { name: "DAX" },
- migrationhub: { prefix: "AWSMigrationHub", name: "MigrationHub" },
- cloudhsmv2: { name: "CloudHSMV2" },
- glue: { name: "Glue" },
- mobile: { name: "Mobile" },
- pricing: { name: "Pricing", cors: true },
- costexplorer: { prefix: "ce", name: "CostExplorer", cors: true },
- mediaconvert: { name: "MediaConvert" },
- medialive: { name: "MediaLive" },
- mediapackage: { name: "MediaPackage" },
- mediastore: { name: "MediaStore" },
- mediastoredata: {
- prefix: "mediastore-data",
- name: "MediaStoreData",
- cors: true,
- },
- appsync: { name: "AppSync" },
- guardduty: { name: "GuardDuty" },
- mq: { name: "MQ" },
- comprehend: { name: "Comprehend", cors: true },
- iotjobsdataplane: { prefix: "iot-jobs-data", name: "IoTJobsDataPlane" },
- kinesisvideoarchivedmedia: {
- prefix: "kinesis-video-archived-media",
- name: "KinesisVideoArchivedMedia",
- cors: true,
- },
- kinesisvideomedia: {
- prefix: "kinesis-video-media",
- name: "KinesisVideoMedia",
- cors: true,
- },
- kinesisvideo: { name: "KinesisVideo", cors: true },
- sagemakerruntime: {
- prefix: "runtime.sagemaker",
- name: "SageMakerRuntime",
- },
- sagemaker: { name: "SageMaker" },
- translate: { name: "Translate", cors: true },
- resourcegroups: {
- prefix: "resource-groups",
- name: "ResourceGroups",
- cors: true,
- },
- alexaforbusiness: { name: "AlexaForBusiness" },
- cloud9: { name: "Cloud9" },
- serverlessapplicationrepository: {
- prefix: "serverlessrepo",
- name: "ServerlessApplicationRepository",
- },
- servicediscovery: { name: "ServiceDiscovery" },
- workmail: { name: "WorkMail" },
- autoscalingplans: {
- prefix: "autoscaling-plans",
- name: "AutoScalingPlans",
- },
- transcribeservice: { prefix: "transcribe", name: "TranscribeService" },
- connect: { name: "Connect", cors: true },
- acmpca: { prefix: "acm-pca", name: "ACMPCA" },
- fms: { name: "FMS" },
- secretsmanager: { name: "SecretsManager", cors: true },
- iotanalytics: { name: "IoTAnalytics", cors: true },
- iot1clickdevicesservice: {
- prefix: "iot1click-devices",
- name: "IoT1ClickDevicesService",
- },
- iot1clickprojects: {
- prefix: "iot1click-projects",
- name: "IoT1ClickProjects",
- },
- pi: { name: "PI" },
- neptune: { name: "Neptune" },
- mediatailor: { name: "MediaTailor" },
- eks: { name: "EKS" },
- macie: { name: "Macie" },
- dlm: { name: "DLM" },
- signer: { name: "Signer" },
- chime: { name: "Chime" },
- pinpointemail: { prefix: "pinpoint-email", name: "PinpointEmail" },
- ram: { name: "RAM" },
- route53resolver: { name: "Route53Resolver" },
- pinpointsmsvoice: { prefix: "sms-voice", name: "PinpointSMSVoice" },
- quicksight: { name: "QuickSight" },
- rdsdataservice: { prefix: "rds-data", name: "RDSDataService" },
- amplify: { name: "Amplify" },
- datasync: { name: "DataSync" },
- robomaker: { name: "RoboMaker" },
- transfer: { name: "Transfer" },
- globalaccelerator: { name: "GlobalAccelerator" },
- comprehendmedical: { name: "ComprehendMedical", cors: true },
- kinesisanalyticsv2: { name: "KinesisAnalyticsV2" },
- mediaconnect: { name: "MediaConnect" },
- fsx: { name: "FSx" },
- securityhub: { name: "SecurityHub" },
- appmesh: { name: "AppMesh", versions: ["2018-10-01*"] },
- licensemanager: { prefix: "license-manager", name: "LicenseManager" },
- kafka: { name: "Kafka" },
- apigatewaymanagementapi: { name: "ApiGatewayManagementApi" },
- apigatewayv2: { name: "ApiGatewayV2" },
- docdb: { name: "DocDB" },
- backup: { name: "Backup" },
- worklink: { name: "WorkLink" },
- textract: { name: "Textract" },
- managedblockchain: { name: "ManagedBlockchain" },
- mediapackagevod: {
- prefix: "mediapackage-vod",
- name: "MediaPackageVod",
- },
- groundstation: { name: "GroundStation" },
- iotthingsgraph: { name: "IoTThingsGraph" },
- iotevents: { name: "IoTEvents" },
- ioteventsdata: { prefix: "iotevents-data", name: "IoTEventsData" },
- personalize: { name: "Personalize", cors: true },
- personalizeevents: {
- prefix: "personalize-events",
- name: "PersonalizeEvents",
- cors: true,
- },
- personalizeruntime: {
- prefix: "personalize-runtime",
- name: "PersonalizeRuntime",
- cors: true,
- },
- applicationinsights: {
- prefix: "application-insights",
- name: "ApplicationInsights",
- },
- servicequotas: { prefix: "service-quotas", name: "ServiceQuotas" },
- ec2instanceconnect: {
- prefix: "ec2-instance-connect",
- name: "EC2InstanceConnect",
- },
- eventbridge: { name: "EventBridge" },
- lakeformation: { name: "LakeFormation" },
- forecastservice: {
- prefix: "forecast",
- name: "ForecastService",
- cors: true,
- },
- forecastqueryservice: {
- prefix: "forecastquery",
- name: "ForecastQueryService",
- cors: true,
- },
- qldb: { name: "QLDB" },
- qldbsession: { prefix: "qldb-session", name: "QLDBSession" },
- workmailmessageflow: { name: "WorkMailMessageFlow" },
- codestarnotifications: {
- prefix: "codestar-notifications",
- name: "CodeStarNotifications",
- },
- savingsplans: { name: "SavingsPlans" },
- sso: { name: "SSO" },
- ssooidc: { prefix: "sso-oidc", name: "SSOOIDC" },
- marketplacecatalog: {
- prefix: "marketplace-catalog",
- name: "MarketplaceCatalog",
- },
- dataexchange: { name: "DataExchange" },
- sesv2: { name: "SESV2" },
- migrationhubconfig: {
- prefix: "migrationhub-config",
- name: "MigrationHubConfig",
- },
- connectparticipant: { name: "ConnectParticipant" },
- appconfig: { name: "AppConfig" },
- iotsecuretunneling: { name: "IoTSecureTunneling" },
- wafv2: { name: "WAFV2" },
- elasticinference: {
- prefix: "elastic-inference",
- name: "ElasticInference",
- },
- imagebuilder: { name: "Imagebuilder" },
- schemas: { name: "Schemas" },
- accessanalyzer: { name: "AccessAnalyzer" },
- codegurureviewer: {
- prefix: "codeguru-reviewer",
- name: "CodeGuruReviewer",
- },
- codeguruprofiler: { name: "CodeGuruProfiler" },
- computeoptimizer: {
- prefix: "compute-optimizer",
- name: "ComputeOptimizer",
- },
- frauddetector: { name: "FraudDetector" },
- kendra: { name: "Kendra" },
- networkmanager: { name: "NetworkManager" },
- outposts: { name: "Outposts" },
- augmentedairuntime: {
- prefix: "sagemaker-a2i-runtime",
- name: "AugmentedAIRuntime",
- },
- ebs: { name: "EBS" },
- kinesisvideosignalingchannels: {
- prefix: "kinesis-video-signaling",
- name: "KinesisVideoSignalingChannels",
- cors: true,
- },
- detective: { name: "Detective" },
- codestarconnections: {
- prefix: "codestar-connections",
- name: "CodeStarconnections",
- },
- };
-
- /***/
- },
-
- /***/ 1701: /***/ function (module, __unusedexports, __webpack_require__) {
- var util = __webpack_require__(395).util;
- var dgram = __webpack_require__(6200);
- 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,
- };
-
- /***/
- },
-
- /***/ 1711: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(6063);
- model.paginators = __webpack_require__(2911).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Glue;
-
- /***/
- },
-
- /***/ 1713: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2019-12-04",
- endpointPrefix: "kinesisvideo",
- protocol: "rest-json",
- serviceAbbreviation: "Amazon Kinesis Video Signaling Channels",
- serviceFullName: "Amazon Kinesis Video Signaling Channels",
- serviceId: "Kinesis Video Signaling",
- signatureVersion: "v4",
- uid: "kinesis-video-signaling-2019-12-04",
- },
- operations: {
- GetIceServerConfig: {
- http: { requestUri: "/v1/get-ice-server-config" },
- input: {
- type: "structure",
- required: ["ChannelARN"],
- members: {
- ChannelARN: {},
- ClientId: {},
- Service: {},
- Username: {},
- },
- },
- output: {
- type: "structure",
- members: {
- IceServerList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Uris: { type: "list", member: {} },
- Username: {},
- Password: {},
- Ttl: { type: "integer" },
- },
- },
- },
- },
- },
- },
- SendAlexaOfferToMaster: {
- http: { requestUri: "/v1/send-alexa-offer-to-master" },
- input: {
- type: "structure",
- required: ["ChannelARN", "SenderClientId", "MessagePayload"],
- members: {
- ChannelARN: {},
- SenderClientId: {},
- MessagePayload: {},
- },
- },
- output: { type: "structure", members: { Answer: {} } },
- },
- },
- shapes: {},
- };
-
- /***/
- },
-
- /***/ 1724: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-04-19",
- endpointPrefix: "codestar",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "CodeStar",
- serviceFullName: "AWS CodeStar",
- serviceId: "CodeStar",
- signatureVersion: "v4",
- targetPrefix: "CodeStar_20170419",
- uid: "codestar-2017-04-19",
- },
- operations: {
- AssociateTeamMember: {
- input: {
- type: "structure",
- required: ["projectId", "userArn", "projectRole"],
- members: {
- projectId: {},
- clientRequestToken: {},
- userArn: {},
- projectRole: {},
- remoteAccessAllowed: { type: "boolean" },
- },
- },
- output: { type: "structure", members: { clientRequestToken: {} } },
- },
- CreateProject: {
- input: {
- type: "structure",
- required: ["name", "id"],
- members: {
- name: { shape: "S9" },
- id: {},
- description: { shape: "Sa" },
- clientRequestToken: {},
- sourceCode: {
- type: "list",
- member: {
- type: "structure",
- required: ["source", "destination"],
- members: {
- source: {
- type: "structure",
- required: ["s3"],
- members: { s3: { shape: "Se" } },
- },
- destination: {
- type: "structure",
- members: {
- codeCommit: {
- type: "structure",
- required: ["name"],
- members: { name: {} },
- },
- gitHub: {
- type: "structure",
- required: [
- "name",
- "type",
- "owner",
- "privateRepository",
- "issuesEnabled",
- "token",
- ],
- members: {
- name: {},
- description: {},
- type: {},
- owner: {},
- privateRepository: { type: "boolean" },
- issuesEnabled: { type: "boolean" },
- token: { type: "string", sensitive: true },
- },
- },
- },
- },
- },
- },
- },
- toolchain: {
- type: "structure",
- required: ["source"],
- members: {
- source: {
- type: "structure",
- required: ["s3"],
- members: { s3: { shape: "Se" } },
- },
- roleArn: {},
- stackParameters: {
- type: "map",
- key: {},
- value: { type: "string", sensitive: true },
- },
- },
- },
- tags: { shape: "Sx" },
- },
- },
- output: {
- type: "structure",
- required: ["id", "arn"],
- members: {
- id: {},
- arn: {},
- clientRequestToken: {},
- projectTemplateId: {},
- },
- },
- },
- CreateUserProfile: {
- input: {
- type: "structure",
- required: ["userArn", "displayName", "emailAddress"],
- members: {
- userArn: {},
- displayName: { shape: "S14" },
- emailAddress: { shape: "S15" },
- sshPublicKey: {},
- },
- },
- output: {
- type: "structure",
- required: ["userArn"],
- members: {
- userArn: {},
- displayName: { shape: "S14" },
- emailAddress: { shape: "S15" },
- sshPublicKey: {},
- createdTimestamp: { type: "timestamp" },
- lastModifiedTimestamp: { type: "timestamp" },
- },
- },
- },
- DeleteProject: {
- input: {
- type: "structure",
- required: ["id"],
- members: {
- id: {},
- clientRequestToken: {},
- deleteStack: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { stackId: {}, projectArn: {} },
- },
- },
- DeleteUserProfile: {
- input: {
- type: "structure",
- required: ["userArn"],
- members: { userArn: {} },
- },
- output: {
- type: "structure",
- required: ["userArn"],
- members: { userArn: {} },
- },
- },
- DescribeProject: {
- input: { type: "structure", required: ["id"], members: { id: {} } },
- output: {
- type: "structure",
- members: {
- name: { shape: "S9" },
- id: {},
- arn: {},
- description: { shape: "Sa" },
- clientRequestToken: {},
- createdTimeStamp: { type: "timestamp" },
- stackId: {},
- projectTemplateId: {},
- status: {
- type: "structure",
- required: ["state"],
- members: { state: {}, reason: {} },
- },
- },
- },
- },
- DescribeUserProfile: {
- input: {
- type: "structure",
- required: ["userArn"],
- members: { userArn: {} },
- },
- output: {
- type: "structure",
- required: [
- "userArn",
- "createdTimestamp",
- "lastModifiedTimestamp",
- ],
- members: {
- userArn: {},
- displayName: { shape: "S14" },
- emailAddress: { shape: "S15" },
- sshPublicKey: {},
- createdTimestamp: { type: "timestamp" },
- lastModifiedTimestamp: { type: "timestamp" },
- },
- },
- },
- DisassociateTeamMember: {
- input: {
- type: "structure",
- required: ["projectId", "userArn"],
- members: { projectId: {}, userArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- ListProjects: {
- input: {
- type: "structure",
- members: { nextToken: {}, maxResults: { type: "integer" } },
- },
- output: {
- type: "structure",
- required: ["projects"],
- members: {
- projects: {
- type: "list",
- member: {
- type: "structure",
- members: { projectId: {}, projectArn: {} },
- },
- },
- nextToken: {},
- },
- },
- },
- ListResources: {
- input: {
- type: "structure",
- required: ["projectId"],
- members: {
- projectId: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- resources: {
- type: "list",
- member: {
- type: "structure",
- required: ["id"],
- members: { id: {} },
- },
- },
- nextToken: {},
- },
- },
- },
- ListTagsForProject: {
- input: {
- type: "structure",
- required: ["id"],
- members: {
- id: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { tags: { shape: "Sx" }, nextToken: {} },
- },
- },
- ListTeamMembers: {
- input: {
- type: "structure",
- required: ["projectId"],
- members: {
- projectId: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- required: ["teamMembers"],
- members: {
- teamMembers: {
- type: "list",
- member: {
- type: "structure",
- required: ["userArn", "projectRole"],
- members: {
- userArn: {},
- projectRole: {},
- remoteAccessAllowed: { type: "boolean" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListUserProfiles: {
- input: {
- type: "structure",
- members: { nextToken: {}, maxResults: { type: "integer" } },
- },
- output: {
- type: "structure",
- required: ["userProfiles"],
- members: {
- userProfiles: {
- type: "list",
- member: {
- type: "structure",
- members: {
- userArn: {},
- displayName: { shape: "S14" },
- emailAddress: { shape: "S15" },
- sshPublicKey: {},
- },
- },
- },
- nextToken: {},
- },
- },
- },
- TagProject: {
- input: {
- type: "structure",
- required: ["id", "tags"],
- members: { id: {}, tags: { shape: "Sx" } },
- },
- output: { type: "structure", members: { tags: { shape: "Sx" } } },
- },
- UntagProject: {
- input: {
- type: "structure",
- required: ["id", "tags"],
- members: { id: {}, tags: { type: "list", member: {} } },
- },
- output: { type: "structure", members: {} },
- },
- UpdateProject: {
- input: {
- type: "structure",
- required: ["id"],
- members: {
- id: {},
- name: { shape: "S9" },
- description: { shape: "Sa" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateTeamMember: {
- input: {
- type: "structure",
- required: ["projectId", "userArn"],
- members: {
- projectId: {},
- userArn: {},
- projectRole: {},
- remoteAccessAllowed: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- userArn: {},
- projectRole: {},
- remoteAccessAllowed: { type: "boolean" },
- },
- },
- },
- UpdateUserProfile: {
- input: {
- type: "structure",
- required: ["userArn"],
- members: {
- userArn: {},
- displayName: { shape: "S14" },
- emailAddress: { shape: "S15" },
- sshPublicKey: {},
- },
- },
- output: {
- type: "structure",
- required: ["userArn"],
- members: {
- userArn: {},
- displayName: { shape: "S14" },
- emailAddress: { shape: "S15" },
- sshPublicKey: {},
- createdTimestamp: { type: "timestamp" },
- lastModifiedTimestamp: { type: "timestamp" },
- },
- },
- },
- },
- shapes: {
- S9: { type: "string", sensitive: true },
- Sa: { type: "string", sensitive: true },
- Se: { type: "structure", members: { bucketName: {}, bucketKey: {} } },
- Sx: { type: "map", key: {}, value: {} },
- S14: { type: "string", sensitive: true },
- S15: { type: "string", sensitive: true },
- },
- };
-
- /***/
- },
-
- /***/ 1729: /***/ function (module) {
- module.exports = {
- pagination: {
- GetDedicatedIps: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "PageSize",
- },
- ListConfigurationSets: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "PageSize",
- },
- ListDedicatedIpPools: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "PageSize",
- },
- ListDeliverabilityTestReports: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "PageSize",
- },
- ListDomainDeliverabilityCampaigns: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "PageSize",
- },
- ListEmailIdentities: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "PageSize",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1733: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
-
- apiLoader.services["sts"] = {};
- AWS.STS = Service.defineService("sts", ["2011-06-15"]);
- __webpack_require__(3861);
- Object.defineProperty(apiLoader.services["sts"], "2011-06-15", {
- get: function get() {
- var model = __webpack_require__(9715);
- model.paginators = __webpack_require__(7270).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.STS;
-
- /***/
- },
-
- /***/ 1740: /***/ function (module, __unusedexports, __webpack_require__) {
- var rng = __webpack_require__(1881);
- var bytesToUuid = __webpack_require__(2390);
-
- function v4(options, buf, offset) {
- var i = (buf && offset) || 0;
-
- if (typeof options == "string") {
- buf = options === "binary" ? new Array(16) : null;
- options = null;
- }
- options = options || {};
-
- var rnds = options.random || (options.rng || rng)();
-
- // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
- rnds[6] = (rnds[6] & 0x0f) | 0x40;
- rnds[8] = (rnds[8] & 0x3f) | 0x80;
-
- // Copy bytes to buffer, if provided
- if (buf) {
- for (var ii = 0; ii < 16; ++ii) {
- buf[i + ii] = rnds[ii];
- }
- }
-
- return buf || bytesToUuid(rnds);
- }
-
- module.exports = v4;
-
- /***/
- },
-
- /***/ 1753: /***/ function (__unusedmodule, 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__(9385);
- var universalUserAgent = __webpack_require__(5211);
- var isPlainObject = _interopDefault(__webpack_require__(2696));
- var nodeFetch = _interopDefault(__webpack_require__(4454));
- var requestError = __webpack_require__(7463);
-
- const VERSION = "5.3.4";
-
- function getBufferResponse(response) {
- return response.arrayBuffer();
- }
-
- function fetchWrapper(requestOptions) {
- if (
- 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
- )
- )
- .then((response) => {
- url = response.url;
- status = response.status;
-
- for (const keyAndValue of response.headers) {
- headers[keyAndValue[0]] = keyAndValue[1];
- }
-
- 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, {
- headers,
- request: requestOptions,
- });
- }
-
- if (status === 304) {
- throw new requestError.RequestError("Not modified", status, {
- headers,
- request: requestOptions,
- });
- }
-
- if (status >= 400) {
- return response.text().then((message) => {
- const error = new requestError.RequestError(message, status, {
- headers,
- request: requestOptions,
- });
-
- try {
- let responseBody = JSON.parse(error.message);
- Object.assign(error, responseBody);
- let errors = responseBody.errors; // Assumption `errors` would always be in Array format
-
- error.message =
- error.message +
- ": " +
- errors.map(JSON.stringify).join(", ");
- } catch (e) {
- // ignore, see octokit/rest.js#684
- }
-
- throw error;
- });
- }
-
- 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);
- })
- .then((data) => {
- return {
- status,
- url,
- headers,
- data,
- };
- })
- .catch((error) => {
- if (error instanceof requestError.RequestError) {
- throw error;
- }
-
- throw new requestError.RequestError(error.message, 500, {
- headers,
- request: requestOptions,
- });
- });
- }
-
- 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
-
- /***/
- },
-
- /***/ 1762: /***/ function (module, __unusedexports, __webpack_require__) {
- var AWS = __webpack_require__(395);
-
- /**
- * 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;
-
- /***/
- },
-
- /***/ 1764: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2010-08-01",
- endpointPrefix: "monitoring",
- protocol: "query",
- serviceAbbreviation: "CloudWatch",
- serviceFullName: "Amazon CloudWatch",
- serviceId: "CloudWatch",
- signatureVersion: "v4",
- uid: "monitoring-2010-08-01",
- xmlNamespace: "http://monitoring.amazonaws.com/doc/2010-08-01/",
- },
- operations: {
- DeleteAlarms: {
- input: {
- type: "structure",
- required: ["AlarmNames"],
- members: { AlarmNames: { shape: "S2" } },
- },
- },
- DeleteAnomalyDetector: {
- input: {
- type: "structure",
- required: ["Namespace", "MetricName", "Stat"],
- members: {
- Namespace: {},
- MetricName: {},
- Dimensions: { shape: "S7" },
- Stat: {},
- },
- },
- output: {
- resultWrapper: "DeleteAnomalyDetectorResult",
- type: "structure",
- members: {},
- },
- },
- DeleteDashboards: {
- input: {
- type: "structure",
- required: ["DashboardNames"],
- members: { DashboardNames: { type: "list", member: {} } },
- },
- output: {
- resultWrapper: "DeleteDashboardsResult",
- type: "structure",
- members: {},
- },
- },
- DeleteInsightRules: {
- input: {
- type: "structure",
- required: ["RuleNames"],
- members: { RuleNames: { shape: "Si" } },
- },
- output: {
- resultWrapper: "DeleteInsightRulesResult",
- type: "structure",
- members: { Failures: { shape: "Sl" } },
- },
- },
- DescribeAlarmHistory: {
- input: {
- type: "structure",
- members: {
- AlarmName: {},
- AlarmTypes: { shape: "Ss" },
- HistoryItemType: {},
- StartDate: { type: "timestamp" },
- EndDate: { type: "timestamp" },
- MaxRecords: { type: "integer" },
- NextToken: {},
- ScanBy: {},
- },
- },
- output: {
- resultWrapper: "DescribeAlarmHistoryResult",
- type: "structure",
- members: {
- AlarmHistoryItems: {
- type: "list",
- member: {
- type: "structure",
- members: {
- AlarmName: {},
- AlarmType: {},
- Timestamp: { type: "timestamp" },
- HistoryItemType: {},
- HistorySummary: {},
- HistoryData: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeAlarms: {
- input: {
- type: "structure",
- members: {
- AlarmNames: { shape: "S2" },
- AlarmNamePrefix: {},
- AlarmTypes: { shape: "Ss" },
- ChildrenOfAlarmName: {},
- ParentsOfAlarmName: {},
- StateValue: {},
- ActionPrefix: {},
- MaxRecords: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- resultWrapper: "DescribeAlarmsResult",
- type: "structure",
- members: {
- CompositeAlarms: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ActionsEnabled: { type: "boolean" },
- AlarmActions: { shape: "S1c" },
- AlarmArn: {},
- AlarmConfigurationUpdatedTimestamp: { type: "timestamp" },
- AlarmDescription: {},
- AlarmName: {},
- AlarmRule: {},
- InsufficientDataActions: { shape: "S1c" },
- OKActions: { shape: "S1c" },
- StateReason: {},
- StateReasonData: {},
- StateUpdatedTimestamp: { type: "timestamp" },
- StateValue: {},
- },
- xmlOrder: [
- "ActionsEnabled",
- "AlarmActions",
- "AlarmArn",
- "AlarmConfigurationUpdatedTimestamp",
- "AlarmDescription",
- "AlarmName",
- "AlarmRule",
- "InsufficientDataActions",
- "OKActions",
- "StateReason",
- "StateReasonData",
- "StateUpdatedTimestamp",
- "StateValue",
- ],
- },
- },
- MetricAlarms: { shape: "S1j" },
- NextToken: {},
- },
- },
- },
- DescribeAlarmsForMetric: {
- input: {
- type: "structure",
- required: ["MetricName", "Namespace"],
- members: {
- MetricName: {},
- Namespace: {},
- Statistic: {},
- ExtendedStatistic: {},
- Dimensions: { shape: "S7" },
- Period: { type: "integer" },
- Unit: {},
- },
- },
- output: {
- resultWrapper: "DescribeAlarmsForMetricResult",
- type: "structure",
- members: { MetricAlarms: { shape: "S1j" } },
- },
- },
- DescribeAnomalyDetectors: {
- input: {
- type: "structure",
- members: {
- NextToken: {},
- MaxResults: { type: "integer" },
- Namespace: {},
- MetricName: {},
- Dimensions: { shape: "S7" },
- },
- },
- output: {
- resultWrapper: "DescribeAnomalyDetectorsResult",
- type: "structure",
- members: {
- AnomalyDetectors: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Namespace: {},
- MetricName: {},
- Dimensions: { shape: "S7" },
- Stat: {},
- Configuration: { shape: "S2b" },
- StateValue: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeInsightRules: {
- input: {
- type: "structure",
- members: { NextToken: {}, MaxResults: { type: "integer" } },
- },
- output: {
- resultWrapper: "DescribeInsightRulesResult",
- type: "structure",
- members: {
- NextToken: {},
- InsightRules: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "State", "Schema", "Definition"],
- members: {
- Name: {},
- State: {},
- Schema: {},
- Definition: {},
- },
- },
- },
- },
- },
- },
- DisableAlarmActions: {
- input: {
- type: "structure",
- required: ["AlarmNames"],
- members: { AlarmNames: { shape: "S2" } },
- },
- },
- DisableInsightRules: {
- input: {
- type: "structure",
- required: ["RuleNames"],
- members: { RuleNames: { shape: "Si" } },
- },
- output: {
- resultWrapper: "DisableInsightRulesResult",
- type: "structure",
- members: { Failures: { shape: "Sl" } },
- },
- },
- EnableAlarmActions: {
- input: {
- type: "structure",
- required: ["AlarmNames"],
- members: { AlarmNames: { shape: "S2" } },
- },
- },
- EnableInsightRules: {
- input: {
- type: "structure",
- required: ["RuleNames"],
- members: { RuleNames: { shape: "Si" } },
- },
- output: {
- resultWrapper: "EnableInsightRulesResult",
- type: "structure",
- members: { Failures: { shape: "Sl" } },
- },
- },
- GetDashboard: {
- input: {
- type: "structure",
- required: ["DashboardName"],
- members: { DashboardName: {} },
- },
- output: {
- resultWrapper: "GetDashboardResult",
- type: "structure",
- members: {
- DashboardArn: {},
- DashboardBody: {},
- DashboardName: {},
- },
- },
- },
- GetInsightRuleReport: {
- input: {
- type: "structure",
- required: ["RuleName", "StartTime", "EndTime", "Period"],
- members: {
- RuleName: {},
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Period: { type: "integer" },
- MaxContributorCount: { type: "integer" },
- Metrics: { type: "list", member: {} },
- OrderBy: {},
- },
- },
- output: {
- resultWrapper: "GetInsightRuleReportResult",
- type: "structure",
- members: {
- KeyLabels: { type: "list", member: {} },
- AggregationStatistic: {},
- AggregateValue: { type: "double" },
- ApproximateUniqueCount: { type: "long" },
- Contributors: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "Keys",
- "ApproximateAggregateValue",
- "Datapoints",
- ],
- members: {
- Keys: { type: "list", member: {} },
- ApproximateAggregateValue: { type: "double" },
- Datapoints: {
- type: "list",
- member: {
- type: "structure",
- required: ["Timestamp", "ApproximateValue"],
- members: {
- Timestamp: { type: "timestamp" },
- ApproximateValue: { type: "double" },
- },
- },
- },
- },
- },
- },
- MetricDatapoints: {
- type: "list",
- member: {
- type: "structure",
- required: ["Timestamp"],
- members: {
- Timestamp: { type: "timestamp" },
- UniqueContributors: { type: "double" },
- MaxContributorValue: { type: "double" },
- SampleCount: { type: "double" },
- Average: { type: "double" },
- Sum: { type: "double" },
- Minimum: { type: "double" },
- Maximum: { type: "double" },
- },
- },
- },
- },
- },
- },
- GetMetricData: {
- input: {
- type: "structure",
- required: ["MetricDataQueries", "StartTime", "EndTime"],
- members: {
- MetricDataQueries: { shape: "S1v" },
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- NextToken: {},
- ScanBy: {},
- MaxDatapoints: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "GetMetricDataResult",
- type: "structure",
- members: {
- MetricDataResults: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Label: {},
- Timestamps: {
- type: "list",
- member: { type: "timestamp" },
- },
- Values: { type: "list", member: { type: "double" } },
- StatusCode: {},
- Messages: { shape: "S3q" },
- },
- },
- },
- NextToken: {},
- Messages: { shape: "S3q" },
- },
- },
- },
- GetMetricStatistics: {
- input: {
- type: "structure",
- required: [
- "Namespace",
- "MetricName",
- "StartTime",
- "EndTime",
- "Period",
- ],
- members: {
- Namespace: {},
- MetricName: {},
- Dimensions: { shape: "S7" },
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Period: { type: "integer" },
- Statistics: { type: "list", member: {} },
- ExtendedStatistics: { type: "list", member: {} },
- Unit: {},
- },
- },
- output: {
- resultWrapper: "GetMetricStatisticsResult",
- type: "structure",
- members: {
- Label: {},
- Datapoints: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Timestamp: { type: "timestamp" },
- SampleCount: { type: "double" },
- Average: { type: "double" },
- Sum: { type: "double" },
- Minimum: { type: "double" },
- Maximum: { type: "double" },
- Unit: {},
- ExtendedStatistics: {
- type: "map",
- key: {},
- value: { type: "double" },
- },
- },
- xmlOrder: [
- "Timestamp",
- "SampleCount",
- "Average",
- "Sum",
- "Minimum",
- "Maximum",
- "Unit",
- "ExtendedStatistics",
- ],
- },
- },
- },
- },
- },
- GetMetricWidgetImage: {
- input: {
- type: "structure",
- required: ["MetricWidget"],
- members: { MetricWidget: {}, OutputFormat: {} },
- },
- output: {
- resultWrapper: "GetMetricWidgetImageResult",
- type: "structure",
- members: { MetricWidgetImage: { type: "blob" } },
- },
- },
- ListDashboards: {
- input: {
- type: "structure",
- members: { DashboardNamePrefix: {}, NextToken: {} },
- },
- output: {
- resultWrapper: "ListDashboardsResult",
- type: "structure",
- members: {
- DashboardEntries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DashboardName: {},
- DashboardArn: {},
- LastModified: { type: "timestamp" },
- Size: { type: "long" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListMetrics: {
- input: {
- type: "structure",
- members: {
- Namespace: {},
- MetricName: {},
- Dimensions: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name"],
- members: { Name: {}, Value: {} },
- },
- },
- NextToken: {},
- },
- },
- output: {
- resultWrapper: "ListMetricsResult",
- type: "structure",
- members: {
- Metrics: { type: "list", member: { shape: "S1z" } },
- NextToken: {},
- },
- xmlOrder: ["Metrics", "NextToken"],
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceARN"],
- members: { ResourceARN: {} },
- },
- output: {
- resultWrapper: "ListTagsForResourceResult",
- type: "structure",
- members: { Tags: { shape: "S4l" } },
- },
- },
- PutAnomalyDetector: {
- input: {
- type: "structure",
- required: ["Namespace", "MetricName", "Stat"],
- members: {
- Namespace: {},
- MetricName: {},
- Dimensions: { shape: "S7" },
- Stat: {},
- Configuration: { shape: "S2b" },
- },
- },
- output: {
- resultWrapper: "PutAnomalyDetectorResult",
- type: "structure",
- members: {},
- },
- },
- PutCompositeAlarm: {
- input: {
- type: "structure",
- required: ["AlarmName", "AlarmRule"],
- members: {
- ActionsEnabled: { type: "boolean" },
- AlarmActions: { shape: "S1c" },
- AlarmDescription: {},
- AlarmName: {},
- AlarmRule: {},
- InsufficientDataActions: { shape: "S1c" },
- OKActions: { shape: "S1c" },
- Tags: { shape: "S4l" },
- },
- },
- },
- PutDashboard: {
- input: {
- type: "structure",
- required: ["DashboardName", "DashboardBody"],
- members: { DashboardName: {}, DashboardBody: {} },
- },
- output: {
- resultWrapper: "PutDashboardResult",
- type: "structure",
- members: {
- DashboardValidationMessages: {
- type: "list",
- member: {
- type: "structure",
- members: { DataPath: {}, Message: {} },
- },
- },
- },
- },
- },
- PutInsightRule: {
- input: {
- type: "structure",
- required: ["RuleName", "RuleDefinition"],
- members: {
- RuleName: {},
- RuleState: {},
- RuleDefinition: {},
- Tags: { shape: "S4l" },
- },
- },
- output: {
- resultWrapper: "PutInsightRuleResult",
- type: "structure",
- members: {},
- },
- },
- PutMetricAlarm: {
- input: {
- type: "structure",
- required: [
- "AlarmName",
- "EvaluationPeriods",
- "ComparisonOperator",
- ],
- members: {
- AlarmName: {},
- AlarmDescription: {},
- ActionsEnabled: { type: "boolean" },
- OKActions: { shape: "S1c" },
- AlarmActions: { shape: "S1c" },
- InsufficientDataActions: { shape: "S1c" },
- MetricName: {},
- Namespace: {},
- Statistic: {},
- ExtendedStatistic: {},
- Dimensions: { shape: "S7" },
- Period: { type: "integer" },
- Unit: {},
- EvaluationPeriods: { type: "integer" },
- DatapointsToAlarm: { type: "integer" },
- Threshold: { type: "double" },
- ComparisonOperator: {},
- TreatMissingData: {},
- EvaluateLowSampleCountPercentile: {},
- Metrics: { shape: "S1v" },
- Tags: { shape: "S4l" },
- ThresholdMetricId: {},
- },
- },
- },
- PutMetricData: {
- input: {
- type: "structure",
- required: ["Namespace", "MetricData"],
- members: {
- Namespace: {},
- MetricData: {
- type: "list",
- member: {
- type: "structure",
- required: ["MetricName"],
- members: {
- MetricName: {},
- Dimensions: { shape: "S7" },
- Timestamp: { type: "timestamp" },
- Value: { type: "double" },
- StatisticValues: {
- type: "structure",
- required: ["SampleCount", "Sum", "Minimum", "Maximum"],
- members: {
- SampleCount: { type: "double" },
- Sum: { type: "double" },
- Minimum: { type: "double" },
- Maximum: { type: "double" },
- },
- },
- Values: { type: "list", member: { type: "double" } },
- Counts: { type: "list", member: { type: "double" } },
- Unit: {},
- StorageResolution: { type: "integer" },
- },
- },
- },
- },
- },
- },
- SetAlarmState: {
- input: {
- type: "structure",
- required: ["AlarmName", "StateValue", "StateReason"],
- members: {
- AlarmName: {},
- StateValue: {},
- StateReason: {},
- StateReasonData: {},
- },
- },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "Tags"],
- members: { ResourceARN: {}, Tags: { shape: "S4l" } },
- },
- output: {
- resultWrapper: "TagResourceResult",
- type: "structure",
- members: {},
- },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "TagKeys"],
- members: {
- ResourceARN: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: {
- resultWrapper: "UntagResourceResult",
- type: "structure",
- members: {},
- },
- },
- },
- shapes: {
- S2: { type: "list", member: {} },
- S7: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Value"],
- members: { Name: {}, Value: {} },
- xmlOrder: ["Name", "Value"],
- },
- },
- Si: { type: "list", member: {} },
- Sl: {
- type: "list",
- member: {
- type: "structure",
- members: {
- FailureResource: {},
- ExceptionType: {},
- FailureCode: {},
- FailureDescription: {},
- },
- },
- },
- Ss: { type: "list", member: {} },
- S1c: { type: "list", member: {} },
- S1j: {
- type: "list",
- member: {
- type: "structure",
- members: {
- AlarmName: {},
- AlarmArn: {},
- AlarmDescription: {},
- AlarmConfigurationUpdatedTimestamp: { type: "timestamp" },
- ActionsEnabled: { type: "boolean" },
- OKActions: { shape: "S1c" },
- AlarmActions: { shape: "S1c" },
- InsufficientDataActions: { shape: "S1c" },
- StateValue: {},
- StateReason: {},
- StateReasonData: {},
- StateUpdatedTimestamp: { type: "timestamp" },
- MetricName: {},
- Namespace: {},
- Statistic: {},
- ExtendedStatistic: {},
- Dimensions: { shape: "S7" },
- Period: { type: "integer" },
- Unit: {},
- EvaluationPeriods: { type: "integer" },
- DatapointsToAlarm: { type: "integer" },
- Threshold: { type: "double" },
- ComparisonOperator: {},
- TreatMissingData: {},
- EvaluateLowSampleCountPercentile: {},
- Metrics: { shape: "S1v" },
- ThresholdMetricId: {},
- },
- xmlOrder: [
- "AlarmName",
- "AlarmArn",
- "AlarmDescription",
- "AlarmConfigurationUpdatedTimestamp",
- "ActionsEnabled",
- "OKActions",
- "AlarmActions",
- "InsufficientDataActions",
- "StateValue",
- "StateReason",
- "StateReasonData",
- "StateUpdatedTimestamp",
- "MetricName",
- "Namespace",
- "Statistic",
- "Dimensions",
- "Period",
- "Unit",
- "EvaluationPeriods",
- "Threshold",
- "ComparisonOperator",
- "ExtendedStatistic",
- "TreatMissingData",
- "EvaluateLowSampleCountPercentile",
- "DatapointsToAlarm",
- "Metrics",
- "ThresholdMetricId",
- ],
- },
- },
- S1v: {
- type: "list",
- member: {
- type: "structure",
- required: ["Id"],
- members: {
- Id: {},
- MetricStat: {
- type: "structure",
- required: ["Metric", "Period", "Stat"],
- members: {
- Metric: { shape: "S1z" },
- Period: { type: "integer" },
- Stat: {},
- Unit: {},
- },
- },
- Expression: {},
- Label: {},
- ReturnData: { type: "boolean" },
- Period: { type: "integer" },
- },
- },
- },
- S1z: {
- type: "structure",
- members: {
- Namespace: {},
- MetricName: {},
- Dimensions: { shape: "S7" },
- },
- xmlOrder: ["Namespace", "MetricName", "Dimensions"],
- },
- S2b: {
- type: "structure",
- members: {
- ExcludedTimeRanges: {
- type: "list",
- member: {
- type: "structure",
- required: ["StartTime", "EndTime"],
- members: {
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- },
- xmlOrder: ["StartTime", "EndTime"],
- },
- },
- MetricTimezone: {},
- },
- },
- S3q: {
- type: "list",
- member: { type: "structure", members: { Code: {}, Value: {} } },
- },
- S4l: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1777: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
-
- apiLoader.services["s3"] = {};
- AWS.S3 = Service.defineService("s3", ["2006-03-01"]);
- __webpack_require__(6016);
- Object.defineProperty(apiLoader.services["s3"], "2006-03-01", {
- get: function get() {
- var model = __webpack_require__(7696);
- model.paginators = __webpack_require__(707).pagination;
- model.waiters = __webpack_require__(1306).waiters;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.S3;
-
- /***/
- },
-
- /***/ 1786: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(1802);
- model.paginators = __webpack_require__(9468).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.SSOOIDC;
-
- /***/
- },
-
- /***/ 1791: /***/ function (module, __unusedexports, __webpack_require__) {
- var AWS = __webpack_require__(395);
- var inherit = AWS.util.inherit;
-
- /**
- * @api private
- */
- AWS.Signers.V3 = inherit(AWS.Signers.RequestSigner, {
- addAuthorization: function addAuthorization(credentials, date) {
- var datetime = AWS.util.date.rfc822(date);
-
- this.request.headers["X-Amz-Date"] = datetime;
-
- if (credentials.sessionToken) {
- this.request.headers["x-amz-security-token"] =
- credentials.sessionToken;
- }
-
- this.request.headers["X-Amzn-Authorization"] = this.authorization(
- credentials,
- datetime
- );
- },
-
- authorization: function authorization(credentials) {
- return (
- "AWS3 " +
- "AWSAccessKeyId=" +
- credentials.accessKeyId +
- "," +
- "Algorithm=HmacSHA256," +
- "SignedHeaders=" +
- this.signedHeaders() +
- "," +
- "Signature=" +
- this.signature(credentials)
- );
- },
-
- signedHeaders: function signedHeaders() {
- var headers = [];
- AWS.util.arrayEach(this.headersToSign(), function iterator(h) {
- headers.push(h.toLowerCase());
- });
- return headers.sort().join(";");
- },
-
- canonicalHeaders: function canonicalHeaders() {
- var headers = this.request.headers;
- var parts = [];
- AWS.util.arrayEach(this.headersToSign(), function iterator(h) {
- parts.push(
- h.toLowerCase().trim() + ":" + String(headers[h]).trim()
- );
- });
- return parts.sort().join("\n") + "\n";
- },
-
- headersToSign: function headersToSign() {
- var headers = [];
- AWS.util.each(this.request.headers, function iterator(k) {
- if (
- k === "Host" ||
- k === "Content-Encoding" ||
- k.match(/^X-Amz/i)
- ) {
- headers.push(k);
- }
- });
- return headers;
- },
-
- signature: function signature(credentials) {
- return AWS.util.crypto.hmac(
- credentials.secretAccessKey,
- this.stringToSign(),
- "base64"
- );
- },
-
- stringToSign: function stringToSign() {
- var parts = [];
- parts.push(this.request.method);
- parts.push("/");
- parts.push("");
- parts.push(this.canonicalHeaders());
- parts.push(this.request.body);
- return AWS.util.crypto.sha256(parts.join("\n"));
- },
- });
-
- /**
- * @api private
- */
- module.exports = AWS.Signers.V3;
-
- /***/
- },
-
- /***/ 1797: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-03-31",
- endpointPrefix: "lakeformation",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "AWS Lake Formation",
- serviceId: "LakeFormation",
- signatureVersion: "v4",
- signingName: "lakeformation",
- targetPrefix: "AWSLakeFormation",
- uid: "lakeformation-2017-03-31",
- },
- operations: {
- BatchGrantPermissions: {
- input: {
- type: "structure",
- required: ["Entries"],
- members: { CatalogId: {}, Entries: { shape: "S3" } },
- },
- output: {
- type: "structure",
- members: { Failures: { shape: "Sl" } },
- },
- },
- BatchRevokePermissions: {
- input: {
- type: "structure",
- required: ["Entries"],
- members: { CatalogId: {}, Entries: { shape: "S3" } },
- },
- output: {
- type: "structure",
- members: { Failures: { shape: "Sl" } },
- },
- },
- DeregisterResource: {
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: { ResourceArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DescribeResource: {
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: { ResourceArn: {} },
- },
- output: {
- type: "structure",
- members: { ResourceInfo: { shape: "Sv" } },
- },
- },
- GetDataLakeSettings: {
- input: { type: "structure", members: { CatalogId: {} } },
- output: {
- type: "structure",
- members: { DataLakeSettings: { shape: "S10" } },
- },
- },
- GetEffectivePermissionsForPath: {
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: {
- CatalogId: {},
- ResourceArn: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { Permissions: { shape: "S18" }, NextToken: {} },
- },
- },
- GrantPermissions: {
- input: {
- type: "structure",
- required: ["Principal", "Resource", "Permissions"],
- members: {
- CatalogId: {},
- Principal: { shape: "S6" },
- Resource: { shape: "S8" },
- Permissions: { shape: "Si" },
- PermissionsWithGrantOption: { shape: "Si" },
- },
- },
- output: { type: "structure", members: {} },
- },
- ListPermissions: {
- input: {
- type: "structure",
- members: {
- CatalogId: {},
- Principal: { shape: "S6" },
- ResourceType: {},
- Resource: { shape: "S8" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- PrincipalResourcePermissions: { shape: "S18" },
- NextToken: {},
- },
- },
- },
- ListResources: {
- input: {
- type: "structure",
- members: {
- FilterConditionList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Field: {},
- ComparisonOperator: {},
- StringValueList: { type: "list", member: {} },
- },
- },
- },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ResourceInfoList: { type: "list", member: { shape: "Sv" } },
- NextToken: {},
- },
- },
- },
- PutDataLakeSettings: {
- input: {
- type: "structure",
- required: ["DataLakeSettings"],
- members: { CatalogId: {}, DataLakeSettings: { shape: "S10" } },
- },
- output: { type: "structure", members: {} },
- },
- RegisterResource: {
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: {
- ResourceArn: {},
- UseServiceLinkedRole: { type: "boolean" },
- RoleArn: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- RevokePermissions: {
- input: {
- type: "structure",
- required: ["Principal", "Resource", "Permissions"],
- members: {
- CatalogId: {},
- Principal: { shape: "S6" },
- Resource: { shape: "S8" },
- Permissions: { shape: "Si" },
- PermissionsWithGrantOption: { shape: "Si" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateResource: {
- input: {
- type: "structure",
- required: ["RoleArn", "ResourceArn"],
- members: { RoleArn: {}, ResourceArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S3: { type: "list", member: { shape: "S4" } },
- S4: {
- type: "structure",
- required: ["Id"],
- members: {
- Id: {},
- Principal: { shape: "S6" },
- Resource: { shape: "S8" },
- Permissions: { shape: "Si" },
- PermissionsWithGrantOption: { shape: "Si" },
- },
- },
- S6: {
- type: "structure",
- members: { DataLakePrincipalIdentifier: {} },
- },
- S8: {
- type: "structure",
- members: {
- Catalog: { type: "structure", members: {} },
- Database: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- Table: {
- type: "structure",
- required: ["DatabaseName", "Name"],
- members: { DatabaseName: {}, Name: {} },
- },
- TableWithColumns: {
- type: "structure",
- members: {
- DatabaseName: {},
- Name: {},
- ColumnNames: { shape: "Se" },
- ColumnWildcard: {
- type: "structure",
- members: { ExcludedColumnNames: { shape: "Se" } },
- },
- },
- },
- DataLocation: {
- type: "structure",
- required: ["ResourceArn"],
- members: { ResourceArn: {} },
- },
- },
- },
- Se: { type: "list", member: {} },
- Si: { type: "list", member: {} },
- Sl: {
- type: "list",
- member: {
- type: "structure",
- members: {
- RequestEntry: { shape: "S4" },
- Error: {
- type: "structure",
- members: { ErrorCode: {}, ErrorMessage: {} },
- },
- },
- },
- },
- Sv: {
- type: "structure",
- members: {
- ResourceArn: {},
- RoleArn: {},
- LastModified: { type: "timestamp" },
- },
- },
- S10: {
- type: "structure",
- members: {
- DataLakeAdmins: { type: "list", member: { shape: "S6" } },
- CreateDatabaseDefaultPermissions: { shape: "S12" },
- CreateTableDefaultPermissions: { shape: "S12" },
- },
- },
- S12: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Principal: { shape: "S6" },
- Permissions: { shape: "Si" },
- },
- },
- },
- S18: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Principal: { shape: "S6" },
- Resource: { shape: "S8" },
- Permissions: { shape: "Si" },
- PermissionsWithGrantOption: { shape: "Si" },
- },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1798: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5723);
- model.paginators = __webpack_require__(5532).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.ForecastService;
-
- /***/
- },
-
- /***/ 1802: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2019-06-10",
- endpointPrefix: "oidc",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "SSO OIDC",
- serviceFullName: "AWS SSO OIDC",
- serviceId: "SSO OIDC",
- signatureVersion: "v4",
- signingName: "awsssooidc",
- uid: "sso-oidc-2019-06-10",
- },
- operations: {
- CreateToken: {
- http: { requestUri: "/token" },
- input: {
- type: "structure",
- required: ["clientId", "clientSecret", "grantType", "deviceCode"],
- members: {
- clientId: {},
- clientSecret: {},
- grantType: {},
- deviceCode: {},
- code: {},
- refreshToken: {},
- scope: { shape: "S8" },
- redirectUri: {},
- },
- },
- output: {
- type: "structure",
- members: {
- accessToken: {},
- tokenType: {},
- expiresIn: { type: "integer" },
- refreshToken: {},
- idToken: {},
- },
- },
- authtype: "none",
- },
- RegisterClient: {
- http: { requestUri: "/client/register" },
- input: {
- type: "structure",
- required: ["clientName", "clientType"],
- members: {
- clientName: {},
- clientType: {},
- scopes: { shape: "S8" },
- },
- },
- output: {
- type: "structure",
- members: {
- clientId: {},
- clientSecret: {},
- clientIdIssuedAt: { type: "long" },
- clientSecretExpiresAt: { type: "long" },
- authorizationEndpoint: {},
- tokenEndpoint: {},
- },
- },
- authtype: "none",
- },
- StartDeviceAuthorization: {
- http: { requestUri: "/device_authorization" },
- input: {
- type: "structure",
- required: ["clientId", "clientSecret", "startUrl"],
- members: { clientId: {}, clientSecret: {}, startUrl: {} },
- },
- output: {
- type: "structure",
- members: {
- deviceCode: {},
- userCode: {},
- verificationUri: {},
- verificationUriComplete: {},
- expiresIn: { type: "integer" },
- interval: { type: "integer" },
- },
- },
- authtype: "none",
- },
- },
- shapes: { S8: { type: "list", member: {} } },
- };
-
- /***/
- },
-
- /***/ 1818: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = isexe;
- isexe.sync = sync;
-
- var fs = __webpack_require__(5747);
-
- function checkPathExt(path, options) {
- var pathext =
- options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;
-
- if (!pathext) {
- return true;
- }
-
- pathext = pathext.split(";");
- if (pathext.indexOf("") !== -1) {
- return true;
- }
- for (var i = 0; i < pathext.length; i++) {
- var p = pathext[i].toLowerCase();
- if (p && path.substr(-p.length).toLowerCase() === p) {
- return true;
- }
- }
- return false;
- }
-
- function checkStat(stat, path, options) {
- if (!stat.isSymbolicLink() && !stat.isFile()) {
- return false;
- }
- return checkPathExt(path, options);
- }
-
- function isexe(path, options, cb) {
- fs.stat(path, function (er, stat) {
- cb(er, er ? false : checkStat(stat, path, options));
- });
- }
-
- function sync(path, options) {
- return checkStat(fs.statSync(path), path, options);
- }
-
- /***/
- },
-
- /***/ 1836: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(2261);
- model.paginators = __webpack_require__(422).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Budgets;
-
- /***/
- },
-
- /***/ 1841: /***/ function (module) {
- module.exports = {
- pagination: {
- GetApiKeys: {
- input_token: "position",
- limit_key: "limit",
- output_token: "position",
- result_key: "items",
- },
- GetBasePathMappings: {
- input_token: "position",
- limit_key: "limit",
- output_token: "position",
- result_key: "items",
- },
- GetClientCertificates: {
- input_token: "position",
- limit_key: "limit",
- output_token: "position",
- result_key: "items",
- },
- GetDeployments: {
- input_token: "position",
- limit_key: "limit",
- output_token: "position",
- result_key: "items",
- },
- GetDomainNames: {
- input_token: "position",
- limit_key: "limit",
- output_token: "position",
- result_key: "items",
- },
- GetModels: {
- input_token: "position",
- limit_key: "limit",
- output_token: "position",
- result_key: "items",
- },
- GetResources: {
- input_token: "position",
- limit_key: "limit",
- output_token: "position",
- result_key: "items",
- },
- GetRestApis: {
- input_token: "position",
- limit_key: "limit",
- output_token: "position",
- result_key: "items",
- },
- GetUsage: {
- input_token: "position",
- limit_key: "limit",
- output_token: "position",
- result_key: "items",
- },
- GetUsagePlanKeys: {
- input_token: "position",
- limit_key: "limit",
- output_token: "position",
- result_key: "items",
- },
- GetUsagePlans: {
- input_token: "position",
- limit_key: "limit",
- output_token: "position",
- result_key: "items",
- },
- GetVpcLinks: {
- input_token: "position",
- limit_key: "limit",
- output_token: "position",
- result_key: "items",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1854: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2019-12-02",
- endpointPrefix: "imagebuilder",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "imagebuilder",
- serviceFullName: "EC2 Image Builder",
- serviceId: "imagebuilder",
- signatureVersion: "v4",
- signingName: "imagebuilder",
- uid: "imagebuilder-2019-12-02",
- },
- operations: {
- CancelImageCreation: {
- http: { method: "PUT", requestUri: "/CancelImageCreation" },
- input: {
- type: "structure",
- required: ["imageBuildVersionArn", "clientToken"],
- members: {
- imageBuildVersionArn: {},
- clientToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- clientToken: {},
- imageBuildVersionArn: {},
- },
- },
- },
- CreateComponent: {
- http: { method: "PUT", requestUri: "/CreateComponent" },
- input: {
- type: "structure",
- required: ["name", "semanticVersion", "platform", "clientToken"],
- members: {
- name: {},
- semanticVersion: {},
- description: {},
- changeDescription: {},
- platform: {},
- data: {},
- uri: {},
- kmsKeyId: {},
- tags: { shape: "Sc" },
- clientToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- clientToken: {},
- componentBuildVersionArn: {},
- },
- },
- },
- CreateDistributionConfiguration: {
- http: {
- method: "PUT",
- requestUri: "/CreateDistributionConfiguration",
- },
- input: {
- type: "structure",
- required: ["name", "distributions", "clientToken"],
- members: {
- name: {},
- description: {},
- distributions: { shape: "Si" },
- tags: { shape: "Sc" },
- clientToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- clientToken: {},
- distributionConfigurationArn: {},
- },
- },
- },
- CreateImage: {
- http: { method: "PUT", requestUri: "/CreateImage" },
- input: {
- type: "structure",
- required: [
- "imageRecipeArn",
- "infrastructureConfigurationArn",
- "clientToken",
- ],
- members: {
- imageRecipeArn: {},
- distributionConfigurationArn: {},
- infrastructureConfigurationArn: {},
- imageTestsConfiguration: { shape: "Sw" },
- tags: { shape: "Sc" },
- clientToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- clientToken: {},
- imageBuildVersionArn: {},
- },
- },
- },
- CreateImagePipeline: {
- http: { method: "PUT", requestUri: "/CreateImagePipeline" },
- input: {
- type: "structure",
- required: [
- "name",
- "imageRecipeArn",
- "infrastructureConfigurationArn",
- "clientToken",
- ],
- members: {
- name: {},
- description: {},
- imageRecipeArn: {},
- infrastructureConfigurationArn: {},
- distributionConfigurationArn: {},
- imageTestsConfiguration: { shape: "Sw" },
- schedule: { shape: "S11" },
- status: {},
- tags: { shape: "Sc" },
- clientToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, clientToken: {}, imagePipelineArn: {} },
- },
- },
- CreateImageRecipe: {
- http: { method: "PUT", requestUri: "/CreateImageRecipe" },
- input: {
- type: "structure",
- required: [
- "name",
- "semanticVersion",
- "components",
- "parentImage",
- "clientToken",
- ],
- members: {
- name: {},
- description: {},
- semanticVersion: {},
- components: { shape: "S17" },
- parentImage: {},
- blockDeviceMappings: { shape: "S1a" },
- tags: { shape: "Sc" },
- clientToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, clientToken: {}, imageRecipeArn: {} },
- },
- },
- CreateInfrastructureConfiguration: {
- http: {
- method: "PUT",
- requestUri: "/CreateInfrastructureConfiguration",
- },
- input: {
- type: "structure",
- required: ["name", "instanceProfileName", "clientToken"],
- members: {
- name: {},
- description: {},
- instanceTypes: { shape: "S1j" },
- instanceProfileName: {},
- securityGroupIds: { shape: "S1l" },
- subnetId: {},
- logging: { shape: "S1m" },
- keyPair: {},
- terminateInstanceOnFailure: { type: "boolean" },
- snsTopicArn: {},
- tags: { shape: "Sc" },
- clientToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- clientToken: {},
- infrastructureConfigurationArn: {},
- },
- },
- },
- DeleteComponent: {
- http: { method: "DELETE", requestUri: "/DeleteComponent" },
- input: {
- type: "structure",
- required: ["componentBuildVersionArn"],
- members: {
- componentBuildVersionArn: {
- location: "querystring",
- locationName: "componentBuildVersionArn",
- },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, componentBuildVersionArn: {} },
- },
- },
- DeleteDistributionConfiguration: {
- http: {
- method: "DELETE",
- requestUri: "/DeleteDistributionConfiguration",
- },
- input: {
- type: "structure",
- required: ["distributionConfigurationArn"],
- members: {
- distributionConfigurationArn: {
- location: "querystring",
- locationName: "distributionConfigurationArn",
- },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, distributionConfigurationArn: {} },
- },
- },
- DeleteImage: {
- http: { method: "DELETE", requestUri: "/DeleteImage" },
- input: {
- type: "structure",
- required: ["imageBuildVersionArn"],
- members: {
- imageBuildVersionArn: {
- location: "querystring",
- locationName: "imageBuildVersionArn",
- },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, imageBuildVersionArn: {} },
- },
- },
- DeleteImagePipeline: {
- http: { method: "DELETE", requestUri: "/DeleteImagePipeline" },
- input: {
- type: "structure",
- required: ["imagePipelineArn"],
- members: {
- imagePipelineArn: {
- location: "querystring",
- locationName: "imagePipelineArn",
- },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, imagePipelineArn: {} },
- },
- },
- DeleteImageRecipe: {
- http: { method: "DELETE", requestUri: "/DeleteImageRecipe" },
- input: {
- type: "structure",
- required: ["imageRecipeArn"],
- members: {
- imageRecipeArn: {
- location: "querystring",
- locationName: "imageRecipeArn",
- },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, imageRecipeArn: {} },
- },
- },
- DeleteInfrastructureConfiguration: {
- http: {
- method: "DELETE",
- requestUri: "/DeleteInfrastructureConfiguration",
- },
- input: {
- type: "structure",
- required: ["infrastructureConfigurationArn"],
- members: {
- infrastructureConfigurationArn: {
- location: "querystring",
- locationName: "infrastructureConfigurationArn",
- },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, infrastructureConfigurationArn: {} },
- },
- },
- GetComponent: {
- http: { method: "GET", requestUri: "/GetComponent" },
- input: {
- type: "structure",
- required: ["componentBuildVersionArn"],
- members: {
- componentBuildVersionArn: {
- location: "querystring",
- locationName: "componentBuildVersionArn",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- component: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- version: {},
- description: {},
- changeDescription: {},
- type: {},
- platform: {},
- owner: {},
- data: {},
- kmsKeyId: {},
- encrypted: { type: "boolean" },
- dateCreated: {},
- tags: { shape: "Sc" },
- },
- },
- },
- },
- },
- GetComponentPolicy: {
- http: { method: "GET", requestUri: "/GetComponentPolicy" },
- input: {
- type: "structure",
- required: ["componentArn"],
- members: {
- componentArn: {
- location: "querystring",
- locationName: "componentArn",
- },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, policy: {} },
- },
- },
- GetDistributionConfiguration: {
- http: {
- method: "GET",
- requestUri: "/GetDistributionConfiguration",
- },
- input: {
- type: "structure",
- required: ["distributionConfigurationArn"],
- members: {
- distributionConfigurationArn: {
- location: "querystring",
- locationName: "distributionConfigurationArn",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- distributionConfiguration: { shape: "S2e" },
- },
- },
- },
- GetImage: {
- http: { method: "GET", requestUri: "/GetImage" },
- input: {
- type: "structure",
- required: ["imageBuildVersionArn"],
- members: {
- imageBuildVersionArn: {
- location: "querystring",
- locationName: "imageBuildVersionArn",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- image: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- version: {},
- platform: {},
- state: { shape: "S2j" },
- imageRecipe: { shape: "S2l" },
- sourcePipelineName: {},
- sourcePipelineArn: {},
- infrastructureConfiguration: { shape: "S2m" },
- distributionConfiguration: { shape: "S2e" },
- imageTestsConfiguration: { shape: "Sw" },
- dateCreated: {},
- outputResources: { shape: "S2n" },
- tags: { shape: "Sc" },
- },
- },
- },
- },
- },
- GetImagePipeline: {
- http: { method: "GET", requestUri: "/GetImagePipeline" },
- input: {
- type: "structure",
- required: ["imagePipelineArn"],
- members: {
- imagePipelineArn: {
- location: "querystring",
- locationName: "imagePipelineArn",
- },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, imagePipeline: { shape: "S2s" } },
- },
- },
- GetImagePolicy: {
- http: { method: "GET", requestUri: "/GetImagePolicy" },
- input: {
- type: "structure",
- required: ["imageArn"],
- members: {
- imageArn: { location: "querystring", locationName: "imageArn" },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, policy: {} },
- },
- },
- GetImageRecipe: {
- http: { method: "GET", requestUri: "/GetImageRecipe" },
- input: {
- type: "structure",
- required: ["imageRecipeArn"],
- members: {
- imageRecipeArn: {
- location: "querystring",
- locationName: "imageRecipeArn",
- },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, imageRecipe: { shape: "S2l" } },
- },
- },
- GetImageRecipePolicy: {
- http: { method: "GET", requestUri: "/GetImageRecipePolicy" },
- input: {
- type: "structure",
- required: ["imageRecipeArn"],
- members: {
- imageRecipeArn: {
- location: "querystring",
- locationName: "imageRecipeArn",
- },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, policy: {} },
- },
- },
- GetInfrastructureConfiguration: {
- http: {
- method: "GET",
- requestUri: "/GetInfrastructureConfiguration",
- },
- input: {
- type: "structure",
- required: ["infrastructureConfigurationArn"],
- members: {
- infrastructureConfigurationArn: {
- location: "querystring",
- locationName: "infrastructureConfigurationArn",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- infrastructureConfiguration: { shape: "S2m" },
- },
- },
- },
- ImportComponent: {
- http: { method: "PUT", requestUri: "/ImportComponent" },
- input: {
- type: "structure",
- required: [
- "name",
- "semanticVersion",
- "type",
- "format",
- "platform",
- "clientToken",
- ],
- members: {
- name: {},
- semanticVersion: {},
- description: {},
- changeDescription: {},
- type: {},
- format: {},
- platform: {},
- data: {},
- uri: {},
- kmsKeyId: {},
- tags: { shape: "Sc" },
- clientToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- clientToken: {},
- componentBuildVersionArn: {},
- },
- },
- },
- ListComponentBuildVersions: {
- http: { requestUri: "/ListComponentBuildVersions" },
- input: {
- type: "structure",
- required: ["componentVersionArn"],
- members: {
- componentVersionArn: {},
- maxResults: { type: "integer" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- componentSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- version: {},
- platform: {},
- type: {},
- owner: {},
- description: {},
- changeDescription: {},
- dateCreated: {},
- tags: { shape: "Sc" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListComponents: {
- http: { requestUri: "/ListComponents" },
- input: {
- type: "structure",
- members: {
- owner: {},
- filters: { shape: "S3c" },
- maxResults: { type: "integer" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- componentVersionList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- version: {},
- description: {},
- platform: {},
- type: {},
- owner: {},
- dateCreated: {},
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListDistributionConfigurations: {
- http: { requestUri: "/ListDistributionConfigurations" },
- input: {
- type: "structure",
- members: {
- filters: { shape: "S3c" },
- maxResults: { type: "integer" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- distributionConfigurationSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- description: {},
- dateCreated: {},
- dateUpdated: {},
- tags: { shape: "Sc" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListImageBuildVersions: {
- http: { requestUri: "/ListImageBuildVersions" },
- input: {
- type: "structure",
- required: ["imageVersionArn"],
- members: {
- imageVersionArn: {},
- filters: { shape: "S3c" },
- maxResults: { type: "integer" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- imageSummaryList: { shape: "S3r" },
- nextToken: {},
- },
- },
- },
- ListImagePipelineImages: {
- http: { requestUri: "/ListImagePipelineImages" },
- input: {
- type: "structure",
- required: ["imagePipelineArn"],
- members: {
- imagePipelineArn: {},
- filters: { shape: "S3c" },
- maxResults: { type: "integer" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- imageSummaryList: { shape: "S3r" },
- nextToken: {},
- },
- },
- },
- ListImagePipelines: {
- http: { requestUri: "/ListImagePipelines" },
- input: {
- type: "structure",
- members: {
- filters: { shape: "S3c" },
- maxResults: { type: "integer" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- imagePipelineList: { type: "list", member: { shape: "S2s" } },
- nextToken: {},
- },
- },
- },
- ListImageRecipes: {
- http: { requestUri: "/ListImageRecipes" },
- input: {
- type: "structure",
- members: {
- owner: {},
- filters: { shape: "S3c" },
- maxResults: { type: "integer" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- imageRecipeSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- platform: {},
- owner: {},
- parentImage: {},
- dateCreated: {},
- tags: { shape: "Sc" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListImages: {
- http: { requestUri: "/ListImages" },
- input: {
- type: "structure",
- members: {
- owner: {},
- filters: { shape: "S3c" },
- maxResults: { type: "integer" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- imageVersionList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- version: {},
- platform: {},
- owner: {},
- dateCreated: {},
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListInfrastructureConfigurations: {
- http: { requestUri: "/ListInfrastructureConfigurations" },
- input: {
- type: "structure",
- members: {
- filters: { shape: "S3c" },
- maxResults: { type: "integer" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- infrastructureConfigurationSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- description: {},
- dateCreated: {},
- dateUpdated: {},
- tags: { shape: "Sc" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListTagsForResource: {
- http: { method: "GET", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- },
- },
- output: { type: "structure", members: { tags: { shape: "Sc" } } },
- },
- PutComponentPolicy: {
- http: { method: "PUT", requestUri: "/PutComponentPolicy" },
- input: {
- type: "structure",
- required: ["componentArn", "policy"],
- members: { componentArn: {}, policy: {} },
- },
- output: {
- type: "structure",
- members: { requestId: {}, componentArn: {} },
- },
- },
- PutImagePolicy: {
- http: { method: "PUT", requestUri: "/PutImagePolicy" },
- input: {
- type: "structure",
- required: ["imageArn", "policy"],
- members: { imageArn: {}, policy: {} },
- },
- output: {
- type: "structure",
- members: { requestId: {}, imageArn: {} },
- },
- },
- PutImageRecipePolicy: {
- http: { method: "PUT", requestUri: "/PutImageRecipePolicy" },
- input: {
- type: "structure",
- required: ["imageRecipeArn", "policy"],
- members: { imageRecipeArn: {}, policy: {} },
- },
- output: {
- type: "structure",
- members: { requestId: {}, imageRecipeArn: {} },
- },
- },
- StartImagePipelineExecution: {
- http: { method: "PUT", requestUri: "/StartImagePipelineExecution" },
- input: {
- type: "structure",
- required: ["imagePipelineArn", "clientToken"],
- members: {
- imagePipelineArn: {},
- clientToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- clientToken: {},
- imageBuildVersionArn: {},
- },
- },
- },
- TagResource: {
- http: { requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn", "tags"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tags: { shape: "Sc" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- http: { method: "DELETE", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn", "tagKeys"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tagKeys: {
- location: "querystring",
- locationName: "tagKeys",
- type: "list",
- member: {},
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateDistributionConfiguration: {
- http: {
- method: "PUT",
- requestUri: "/UpdateDistributionConfiguration",
- },
- input: {
- type: "structure",
- required: [
- "distributionConfigurationArn",
- "distributions",
- "clientToken",
- ],
- members: {
- distributionConfigurationArn: {},
- description: {},
- distributions: { shape: "Si" },
- clientToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- clientToken: {},
- distributionConfigurationArn: {},
- },
- },
- },
- UpdateImagePipeline: {
- http: { method: "PUT", requestUri: "/UpdateImagePipeline" },
- input: {
- type: "structure",
- required: [
- "imagePipelineArn",
- "imageRecipeArn",
- "infrastructureConfigurationArn",
- "clientToken",
- ],
- members: {
- imagePipelineArn: {},
- description: {},
- imageRecipeArn: {},
- infrastructureConfigurationArn: {},
- distributionConfigurationArn: {},
- imageTestsConfiguration: { shape: "Sw" },
- schedule: { shape: "S11" },
- status: {},
- clientToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { requestId: {}, clientToken: {}, imagePipelineArn: {} },
- },
- },
- UpdateInfrastructureConfiguration: {
- http: {
- method: "PUT",
- requestUri: "/UpdateInfrastructureConfiguration",
- },
- input: {
- type: "structure",
- required: [
- "infrastructureConfigurationArn",
- "instanceProfileName",
- "clientToken",
- ],
- members: {
- infrastructureConfigurationArn: {},
- description: {},
- instanceTypes: { shape: "S1j" },
- instanceProfileName: {},
- securityGroupIds: { shape: "S1l" },
- subnetId: {},
- logging: { shape: "S1m" },
- keyPair: {},
- terminateInstanceOnFailure: { type: "boolean" },
- snsTopicArn: {},
- clientToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- requestId: {},
- clientToken: {},
- infrastructureConfigurationArn: {},
- },
- },
- },
- },
- shapes: {
- Sc: { type: "map", key: {}, value: {} },
- Si: {
- type: "list",
- member: {
- type: "structure",
- required: ["region"],
- members: {
- region: {},
- amiDistributionConfiguration: {
- type: "structure",
- members: {
- name: {},
- description: {},
- amiTags: { shape: "Sc" },
- launchPermission: {
- type: "structure",
- members: {
- userIds: { type: "list", member: {} },
- userGroups: { type: "list", member: {} },
- },
- },
- },
- },
- licenseConfigurationArns: { type: "list", member: {} },
- },
- },
- },
- Sw: {
- type: "structure",
- members: {
- imageTestsEnabled: { type: "boolean" },
- timeoutMinutes: { type: "integer" },
- },
- },
- S11: {
- type: "structure",
- members: {
- scheduleExpression: {},
- pipelineExecutionStartCondition: {},
- },
- },
- S17: {
- type: "list",
- member: {
- type: "structure",
- required: ["componentArn"],
- members: { componentArn: {} },
- },
- },
- S1a: {
- type: "list",
- member: {
- type: "structure",
- members: {
- deviceName: {},
- ebs: {
- type: "structure",
- members: {
- encrypted: { type: "boolean" },
- deleteOnTermination: { type: "boolean" },
- iops: { type: "integer" },
- kmsKeyId: {},
- snapshotId: {},
- volumeSize: { type: "integer" },
- volumeType: {},
- },
- },
- virtualName: {},
- noDevice: {},
- },
- },
- },
- S1j: { type: "list", member: {} },
- S1l: { type: "list", member: {} },
- S1m: {
- type: "structure",
- members: {
- s3Logs: {
- type: "structure",
- members: { s3BucketName: {}, s3KeyPrefix: {} },
- },
- },
- },
- S2e: {
- type: "structure",
- required: ["timeoutMinutes"],
- members: {
- arn: {},
- name: {},
- description: {},
- distributions: { shape: "Si" },
- timeoutMinutes: { type: "integer" },
- dateCreated: {},
- dateUpdated: {},
- tags: { shape: "Sc" },
- },
- },
- S2j: { type: "structure", members: { status: {}, reason: {} } },
- S2l: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- description: {},
- platform: {},
- owner: {},
- version: {},
- components: { shape: "S17" },
- parentImage: {},
- blockDeviceMappings: { shape: "S1a" },
- dateCreated: {},
- tags: { shape: "Sc" },
- },
- },
- S2m: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- description: {},
- instanceTypes: { shape: "S1j" },
- instanceProfileName: {},
- securityGroupIds: { shape: "S1l" },
- subnetId: {},
- logging: { shape: "S1m" },
- keyPair: {},
- terminateInstanceOnFailure: { type: "boolean" },
- snsTopicArn: {},
- dateCreated: {},
- dateUpdated: {},
- tags: { shape: "Sc" },
- },
- },
- S2n: {
- type: "structure",
- members: {
- amis: {
- type: "list",
- member: {
- type: "structure",
- members: {
- region: {},
- image: {},
- name: {},
- description: {},
- state: { shape: "S2j" },
- },
- },
- },
- },
- },
- S2s: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- description: {},
- platform: {},
- imageRecipeArn: {},
- infrastructureConfigurationArn: {},
- distributionConfigurationArn: {},
- imageTestsConfiguration: { shape: "Sw" },
- schedule: { shape: "S11" },
- status: {},
- dateCreated: {},
- dateUpdated: {},
- dateLastRun: {},
- dateNextRun: {},
- tags: { shape: "Sc" },
- },
- },
- S3c: {
- type: "list",
- member: {
- type: "structure",
- members: { name: {}, values: { type: "list", member: {} } },
- },
- },
- S3r: {
- type: "list",
- member: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- version: {},
- platform: {},
- state: { shape: "S2j" },
- owner: {},
- dateCreated: {},
- outputResources: { shape: "S2n" },
- tags: { shape: "Sc" },
- },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1855: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = registerPlugin;
-
- const factory = __webpack_require__(9047);
-
- function registerPlugin(plugins, pluginFunction) {
- return factory(
- plugins.includes(pluginFunction)
- ? plugins
- : plugins.concat(pluginFunction)
- );
- }
-
- /***/
- },
-
- /***/ 1879: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(1352);
- model.paginators = __webpack_require__(2681).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.LexRuntime;
-
- /***/
- },
-
- /***/ 1881: /***/ function (module, __unusedexports, __webpack_require__) {
- // Unique ID creation requires a high quality random # generator. In node.js
- // this is pretty straight-forward - we use the crypto API.
-
- var crypto = __webpack_require__(6417);
-
- module.exports = function nodeRNG() {
- return crypto.randomBytes(16);
- };
-
- /***/
- },
-
- /***/ 1885: /***/ function (__unusedmodule, exports, __webpack_require__) {
- // Generated by CoffeeScript 1.12.7
- (function () {
- "use strict";
- var bom,
- defaults,
- events,
- isEmpty,
- processItem,
- processors,
- sax,
- setImmediate,
- bind = function (fn, me) {
- return function () {
- return fn.apply(me, arguments);
- };
- },
- extend = function (child, parent) {
- for (var key in parent) {
- if (hasProp.call(parent, key)) child[key] = parent[key];
- }
- function ctor() {
- this.constructor = child;
- }
- ctor.prototype = parent.prototype;
- child.prototype = new ctor();
- child.__super__ = parent.prototype;
- return child;
- },
- hasProp = {}.hasOwnProperty;
-
- sax = __webpack_require__(4645);
-
- events = __webpack_require__(8614);
-
- bom = __webpack_require__(6210);
-
- processors = __webpack_require__(5350);
-
- setImmediate = __webpack_require__(8213).setImmediate;
-
- defaults = __webpack_require__(1514).defaults;
-
- isEmpty = function (thing) {
- return (
- typeof thing === "object" &&
- thing != null &&
- Object.keys(thing).length === 0
- );
- };
-
- processItem = function (processors, item, key) {
- var i, len, process;
- for (i = 0, len = processors.length; i < len; i++) {
- process = processors[i];
- item = process(item, key);
- }
- return item;
- };
-
- exports.Parser = (function (superClass) {
- extend(Parser, superClass);
-
- function Parser(opts) {
- this.parseString = bind(this.parseString, this);
- this.reset = bind(this.reset, this);
- this.assignOrPush = bind(this.assignOrPush, this);
- this.processAsync = bind(this.processAsync, this);
- var key, ref, value;
- if (!(this instanceof exports.Parser)) {
- return new exports.Parser(opts);
- }
- this.options = {};
- ref = defaults["0.2"];
- for (key in ref) {
- if (!hasProp.call(ref, key)) continue;
- value = ref[key];
- this.options[key] = value;
- }
- for (key in opts) {
- if (!hasProp.call(opts, key)) continue;
- value = opts[key];
- this.options[key] = value;
- }
- if (this.options.xmlns) {
- this.options.xmlnskey = this.options.attrkey + "ns";
- }
- if (this.options.normalizeTags) {
- if (!this.options.tagNameProcessors) {
- this.options.tagNameProcessors = [];
- }
- this.options.tagNameProcessors.unshift(processors.normalize);
- }
- this.reset();
- }
-
- Parser.prototype.processAsync = function () {
- var chunk, err;
- try {
- if (this.remaining.length <= this.options.chunkSize) {
- chunk = this.remaining;
- this.remaining = "";
- this.saxParser = this.saxParser.write(chunk);
- return this.saxParser.close();
- } else {
- chunk = this.remaining.substr(0, this.options.chunkSize);
- this.remaining = this.remaining.substr(
- this.options.chunkSize,
- this.remaining.length
- );
- this.saxParser = this.saxParser.write(chunk);
- return setImmediate(this.processAsync);
- }
- } catch (error1) {
- err = error1;
- if (!this.saxParser.errThrown) {
- this.saxParser.errThrown = true;
- return this.emit(err);
- }
- }
- };
-
- Parser.prototype.assignOrPush = function (obj, key, newValue) {
- if (!(key in obj)) {
- if (!this.options.explicitArray) {
- return (obj[key] = newValue);
- } else {
- return (obj[key] = [newValue]);
- }
- } else {
- if (!(obj[key] instanceof Array)) {
- obj[key] = [obj[key]];
- }
- return obj[key].push(newValue);
- }
- };
-
- Parser.prototype.reset = function () {
- var attrkey, charkey, ontext, stack;
- this.removeAllListeners();
- this.saxParser = sax.parser(this.options.strict, {
- trim: false,
- normalize: false,
- xmlns: this.options.xmlns,
- });
- this.saxParser.errThrown = false;
- this.saxParser.onerror = (function (_this) {
- return function (error) {
- _this.saxParser.resume();
- if (!_this.saxParser.errThrown) {
- _this.saxParser.errThrown = true;
- return _this.emit("error", error);
- }
- };
- })(this);
- this.saxParser.onend = (function (_this) {
- return function () {
- if (!_this.saxParser.ended) {
- _this.saxParser.ended = true;
- return _this.emit("end", _this.resultObject);
- }
- };
- })(this);
- this.saxParser.ended = false;
- this.EXPLICIT_CHARKEY = this.options.explicitCharkey;
- this.resultObject = null;
- stack = [];
- attrkey = this.options.attrkey;
- charkey = this.options.charkey;
- this.saxParser.onopentag = (function (_this) {
- return function (node) {
- var key, newValue, obj, processedKey, ref;
- obj = {};
- obj[charkey] = "";
- if (!_this.options.ignoreAttrs) {
- ref = node.attributes;
- for (key in ref) {
- if (!hasProp.call(ref, key)) continue;
- if (!(attrkey in obj) && !_this.options.mergeAttrs) {
- obj[attrkey] = {};
- }
- newValue = _this.options.attrValueProcessors
- ? processItem(
- _this.options.attrValueProcessors,
- node.attributes[key],
- key
- )
- : node.attributes[key];
- processedKey = _this.options.attrNameProcessors
- ? processItem(_this.options.attrNameProcessors, key)
- : key;
- if (_this.options.mergeAttrs) {
- _this.assignOrPush(obj, processedKey, newValue);
- } else {
- obj[attrkey][processedKey] = newValue;
- }
- }
- }
- obj["#name"] = _this.options.tagNameProcessors
- ? processItem(_this.options.tagNameProcessors, node.name)
- : node.name;
- if (_this.options.xmlns) {
- obj[_this.options.xmlnskey] = {
- uri: node.uri,
- local: node.local,
- };
- }
- return stack.push(obj);
- };
- })(this);
- this.saxParser.onclosetag = (function (_this) {
- return function () {
- var cdata,
- emptyStr,
- key,
- node,
- nodeName,
- obj,
- objClone,
- old,
- s,
- xpath;
- obj = stack.pop();
- nodeName = obj["#name"];
- if (
- !_this.options.explicitChildren ||
- !_this.options.preserveChildrenOrder
- ) {
- delete obj["#name"];
- }
- if (obj.cdata === true) {
- cdata = obj.cdata;
- delete obj.cdata;
- }
- s = stack[stack.length - 1];
- if (obj[charkey].match(/^\s*$/) && !cdata) {
- emptyStr = obj[charkey];
- delete obj[charkey];
- } else {
- if (_this.options.trim) {
- obj[charkey] = obj[charkey].trim();
- }
- if (_this.options.normalize) {
- obj[charkey] = obj[charkey].replace(/\s{2,}/g, " ").trim();
- }
- obj[charkey] = _this.options.valueProcessors
- ? processItem(
- _this.options.valueProcessors,
- obj[charkey],
- nodeName
- )
- : obj[charkey];
- if (
- Object.keys(obj).length === 1 &&
- charkey in obj &&
- !_this.EXPLICIT_CHARKEY
- ) {
- obj = obj[charkey];
- }
- }
- if (isEmpty(obj)) {
- obj =
- _this.options.emptyTag !== ""
- ? _this.options.emptyTag
- : emptyStr;
- }
- if (_this.options.validator != null) {
- xpath =
- "/" +
- (function () {
- var i, len, results;
- results = [];
- for (i = 0, len = stack.length; i < len; i++) {
- node = stack[i];
- results.push(node["#name"]);
- }
- return results;
- })()
- .concat(nodeName)
- .join("/");
- (function () {
- var err;
- try {
- return (obj = _this.options.validator(
- xpath,
- s && s[nodeName],
- obj
- ));
- } catch (error1) {
- err = error1;
- return _this.emit("error", err);
- }
- })();
- }
- if (
- _this.options.explicitChildren &&
- !_this.options.mergeAttrs &&
- typeof obj === "object"
- ) {
- if (!_this.options.preserveChildrenOrder) {
- node = {};
- if (_this.options.attrkey in obj) {
- node[_this.options.attrkey] = obj[_this.options.attrkey];
- delete obj[_this.options.attrkey];
- }
- if (
- !_this.options.charsAsChildren &&
- _this.options.charkey in obj
- ) {
- node[_this.options.charkey] = obj[_this.options.charkey];
- delete obj[_this.options.charkey];
- }
- if (Object.getOwnPropertyNames(obj).length > 0) {
- node[_this.options.childkey] = obj;
- }
- obj = node;
- } else if (s) {
- s[_this.options.childkey] = s[_this.options.childkey] || [];
- objClone = {};
- for (key in obj) {
- if (!hasProp.call(obj, key)) continue;
- objClone[key] = obj[key];
- }
- s[_this.options.childkey].push(objClone);
- delete obj["#name"];
- if (
- Object.keys(obj).length === 1 &&
- charkey in obj &&
- !_this.EXPLICIT_CHARKEY
- ) {
- obj = obj[charkey];
- }
- }
- }
- if (stack.length > 0) {
- return _this.assignOrPush(s, nodeName, obj);
- } else {
- if (_this.options.explicitRoot) {
- old = obj;
- obj = {};
- obj[nodeName] = old;
- }
- _this.resultObject = obj;
- _this.saxParser.ended = true;
- return _this.emit("end", _this.resultObject);
- }
- };
- })(this);
- ontext = (function (_this) {
- return function (text) {
- var charChild, s;
- s = stack[stack.length - 1];
- if (s) {
- s[charkey] += text;
- if (
- _this.options.explicitChildren &&
- _this.options.preserveChildrenOrder &&
- _this.options.charsAsChildren &&
- (_this.options.includeWhiteChars ||
- text.replace(/\\n/g, "").trim() !== "")
- ) {
- s[_this.options.childkey] = s[_this.options.childkey] || [];
- charChild = {
- "#name": "__text__",
- };
- charChild[charkey] = text;
- if (_this.options.normalize) {
- charChild[charkey] = charChild[charkey]
- .replace(/\s{2,}/g, " ")
- .trim();
- }
- s[_this.options.childkey].push(charChild);
- }
- return s;
- }
- };
- })(this);
- this.saxParser.ontext = ontext;
- return (this.saxParser.oncdata = (function (_this) {
- return function (text) {
- var s;
- s = ontext(text);
- if (s) {
- return (s.cdata = true);
- }
- };
- })(this));
- };
-
- Parser.prototype.parseString = function (str, cb) {
- var err;
- if (cb != null && typeof cb === "function") {
- this.on("end", function (result) {
- this.reset();
- return cb(null, result);
- });
- this.on("error", function (err) {
- this.reset();
- return cb(err);
- });
- }
- try {
- str = str.toString();
- if (str.trim() === "") {
- this.emit("end", null);
- return true;
- }
- str = bom.stripBOM(str);
- if (this.options.async) {
- this.remaining = str;
- setImmediate(this.processAsync);
- return this.saxParser;
- }
- return this.saxParser.write(str).close();
- } catch (error1) {
- err = error1;
- if (!(this.saxParser.errThrown || this.saxParser.ended)) {
- this.emit("error", err);
- return (this.saxParser.errThrown = true);
- } else if (this.saxParser.ended) {
- throw err;
- }
- }
- };
-
- return Parser;
- })(events.EventEmitter);
-
- exports.parseString = function (str, a, b) {
- var cb, options, parser;
- if (b != null) {
- if (typeof b === "function") {
- cb = b;
- }
- if (typeof a === "object") {
- options = a;
- }
- } else {
- if (typeof a === "function") {
- cb = a;
- }
- options = {};
- }
- parser = new exports.Parser(options);
- return parser.parseString(str, cb);
- };
- }.call(this));
-
- /***/
- },
-
- /***/ 1890: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-01-12",
- endpointPrefix: "dlm",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "Amazon DLM",
- serviceFullName: "Amazon Data Lifecycle Manager",
- serviceId: "DLM",
- signatureVersion: "v4",
- signingName: "dlm",
- uid: "dlm-2018-01-12",
- },
- operations: {
- CreateLifecyclePolicy: {
- http: { requestUri: "/policies" },
- input: {
- type: "structure",
- required: [
- "ExecutionRoleArn",
- "Description",
- "State",
- "PolicyDetails",
- ],
- members: {
- ExecutionRoleArn: {},
- Description: {},
- State: {},
- PolicyDetails: { shape: "S5" },
- Tags: { shape: "S12" },
- },
- },
- output: { type: "structure", members: { PolicyId: {} } },
- },
- DeleteLifecyclePolicy: {
- http: { method: "DELETE", requestUri: "/policies/{policyId}/" },
- input: {
- type: "structure",
- required: ["PolicyId"],
- members: {
- PolicyId: { location: "uri", locationName: "policyId" },
- },
- },
- output: { type: "structure", members: {} },
- },
- GetLifecyclePolicies: {
- http: { method: "GET", requestUri: "/policies" },
- input: {
- type: "structure",
- members: {
- PolicyIds: {
- location: "querystring",
- locationName: "policyIds",
- type: "list",
- member: {},
- },
- State: { location: "querystring", locationName: "state" },
- ResourceTypes: {
- shape: "S7",
- location: "querystring",
- locationName: "resourceTypes",
- },
- TargetTags: {
- location: "querystring",
- locationName: "targetTags",
- type: "list",
- member: {},
- },
- TagsToAdd: {
- location: "querystring",
- locationName: "tagsToAdd",
- type: "list",
- member: {},
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Policies: {
- type: "list",
- member: {
- type: "structure",
- members: {
- PolicyId: {},
- Description: {},
- State: {},
- Tags: { shape: "S12" },
- },
- },
- },
- },
- },
- },
- GetLifecyclePolicy: {
- http: { method: "GET", requestUri: "/policies/{policyId}/" },
- input: {
- type: "structure",
- required: ["PolicyId"],
- members: {
- PolicyId: { location: "uri", locationName: "policyId" },
- },
- },
- output: {
- type: "structure",
- members: {
- Policy: {
- type: "structure",
- members: {
- PolicyId: {},
- Description: {},
- State: {},
- StatusMessage: {},
- ExecutionRoleArn: {},
- DateCreated: { shape: "S1m" },
- DateModified: { shape: "S1m" },
- PolicyDetails: { shape: "S5" },
- Tags: { shape: "S12" },
- PolicyArn: {},
- },
- },
- },
- },
- },
- ListTagsForResource: {
- http: { method: "GET", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: {
- ResourceArn: { location: "uri", locationName: "resourceArn" },
- },
- },
- output: { type: "structure", members: { Tags: { shape: "S12" } } },
- },
- TagResource: {
- http: { requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["ResourceArn", "Tags"],
- members: {
- ResourceArn: { location: "uri", locationName: "resourceArn" },
- Tags: { shape: "S12" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- http: { method: "DELETE", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["ResourceArn", "TagKeys"],
- members: {
- ResourceArn: { location: "uri", locationName: "resourceArn" },
- TagKeys: {
- location: "querystring",
- locationName: "tagKeys",
- type: "list",
- member: {},
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateLifecyclePolicy: {
- http: { method: "PATCH", requestUri: "/policies/{policyId}" },
- input: {
- type: "structure",
- required: ["PolicyId"],
- members: {
- PolicyId: { location: "uri", locationName: "policyId" },
- ExecutionRoleArn: {},
- State: {},
- Description: {},
- PolicyDetails: { shape: "S5" },
- },
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S5: {
- type: "structure",
- members: {
- PolicyType: {},
- ResourceTypes: { shape: "S7" },
- TargetTags: { type: "list", member: { shape: "Sa" } },
- Schedules: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- CopyTags: { type: "boolean" },
- TagsToAdd: { type: "list", member: { shape: "Sa" } },
- VariableTags: { type: "list", member: { shape: "Sa" } },
- CreateRule: {
- type: "structure",
- required: ["Interval", "IntervalUnit"],
- members: {
- Interval: { type: "integer" },
- IntervalUnit: {},
- Times: { type: "list", member: {} },
- },
- },
- RetainRule: {
- type: "structure",
- members: {
- Count: { type: "integer" },
- Interval: { type: "integer" },
- IntervalUnit: {},
- },
- },
- FastRestoreRule: {
- type: "structure",
- required: ["AvailabilityZones"],
- members: {
- Count: { type: "integer" },
- Interval: { type: "integer" },
- IntervalUnit: {},
- AvailabilityZones: { type: "list", member: {} },
- },
- },
- CrossRegionCopyRules: {
- type: "list",
- member: {
- type: "structure",
- required: ["TargetRegion", "Encrypted"],
- members: {
- TargetRegion: {},
- Encrypted: { type: "boolean" },
- CmkArn: {},
- CopyTags: { type: "boolean" },
- RetainRule: {
- type: "structure",
- members: {
- Interval: { type: "integer" },
- IntervalUnit: {},
- },
- },
- },
- },
- },
- },
- },
- },
- Parameters: {
- type: "structure",
- members: { ExcludeBootVolume: { type: "boolean" } },
- },
- },
- },
- S7: { type: "list", member: {} },
- Sa: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- S12: { type: "map", key: {}, value: {} },
- S1m: { type: "timestamp", timestampFormat: "iso8601" },
- },
- };
-
- /***/
- },
-
- /***/ 1894: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-03-01",
- endpointPrefix: "fsx",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "Amazon FSx",
- serviceId: "FSx",
- signatureVersion: "v4",
- signingName: "fsx",
- targetPrefix: "AWSSimbaAPIService_v20180301",
- uid: "fsx-2018-03-01",
- },
- operations: {
- CancelDataRepositoryTask: {
- input: {
- type: "structure",
- required: ["TaskId"],
- members: { TaskId: {} },
- },
- output: {
- type: "structure",
- members: { Lifecycle: {}, TaskId: {} },
- },
- idempotent: true,
- },
- CreateBackup: {
- input: {
- type: "structure",
- required: ["FileSystemId"],
- members: {
- FileSystemId: {},
- ClientRequestToken: { idempotencyToken: true },
- Tags: { shape: "S8" },
- },
- },
- output: { type: "structure", members: { Backup: { shape: "Sd" } } },
- idempotent: true,
- },
- CreateDataRepositoryTask: {
- input: {
- type: "structure",
- required: ["Type", "FileSystemId", "Report"],
- members: {
- Type: {},
- Paths: { shape: "S1r" },
- FileSystemId: {},
- Report: { shape: "S1t" },
- ClientRequestToken: { idempotencyToken: true },
- Tags: { shape: "S8" },
- },
- },
- output: {
- type: "structure",
- members: { DataRepositoryTask: { shape: "S1x" } },
- },
- idempotent: true,
- },
- CreateFileSystem: {
- input: {
- type: "structure",
- required: ["FileSystemType", "StorageCapacity", "SubnetIds"],
- members: {
- ClientRequestToken: { idempotencyToken: true },
- FileSystemType: {},
- StorageCapacity: { type: "integer" },
- StorageType: {},
- SubnetIds: { shape: "Sv" },
- SecurityGroupIds: { shape: "S27" },
- Tags: { shape: "S8" },
- KmsKeyId: {},
- WindowsConfiguration: { shape: "S29" },
- LustreConfiguration: {
- type: "structure",
- members: {
- WeeklyMaintenanceStartTime: {},
- ImportPath: {},
- ExportPath: {},
- ImportedFileChunkSize: { type: "integer" },
- DeploymentType: {},
- PerUnitStorageThroughput: { type: "integer" },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: { FileSystem: { shape: "Sn" } },
- },
- },
- CreateFileSystemFromBackup: {
- input: {
- type: "structure",
- required: ["BackupId", "SubnetIds"],
- members: {
- BackupId: {},
- ClientRequestToken: { idempotencyToken: true },
- SubnetIds: { shape: "Sv" },
- SecurityGroupIds: { shape: "S27" },
- Tags: { shape: "S8" },
- WindowsConfiguration: { shape: "S29" },
- StorageType: {},
- },
- },
- output: {
- type: "structure",
- members: { FileSystem: { shape: "Sn" } },
- },
- },
- DeleteBackup: {
- input: {
- type: "structure",
- required: ["BackupId"],
- members: {
- BackupId: {},
- ClientRequestToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { BackupId: {}, Lifecycle: {} },
- },
- idempotent: true,
- },
- DeleteFileSystem: {
- input: {
- type: "structure",
- required: ["FileSystemId"],
- members: {
- FileSystemId: {},
- ClientRequestToken: { idempotencyToken: true },
- WindowsConfiguration: {
- type: "structure",
- members: {
- SkipFinalBackup: { type: "boolean" },
- FinalBackupTags: { shape: "S8" },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- FileSystemId: {},
- Lifecycle: {},
- WindowsResponse: {
- type: "structure",
- members: {
- FinalBackupId: {},
- FinalBackupTags: { shape: "S8" },
- },
- },
- },
- },
- idempotent: true,
- },
- DescribeBackups: {
- input: {
- type: "structure",
- members: {
- BackupIds: { type: "list", member: {} },
- Filters: {
- type: "list",
- member: {
- type: "structure",
- members: { Name: {}, Values: { type: "list", member: {} } },
- },
- },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Backups: { type: "list", member: { shape: "Sd" } },
- NextToken: {},
- },
- },
- },
- DescribeDataRepositoryTasks: {
- input: {
- type: "structure",
- members: {
- TaskIds: { type: "list", member: {} },
- Filters: {
- type: "list",
- member: {
- type: "structure",
- members: { Name: {}, Values: { type: "list", member: {} } },
- },
- },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- DataRepositoryTasks: { type: "list", member: { shape: "S1x" } },
- NextToken: {},
- },
- },
- },
- DescribeFileSystems: {
- input: {
- type: "structure",
- members: {
- FileSystemIds: { type: "list", member: {} },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- FileSystems: { type: "list", member: { shape: "Sn" } },
- NextToken: {},
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceARN"],
- members: {
- ResourceARN: {},
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "S8" }, NextToken: {} },
- },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "Tags"],
- members: { ResourceARN: {}, Tags: { shape: "S8" } },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "TagKeys"],
- members: {
- ResourceARN: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- UpdateFileSystem: {
- input: {
- type: "structure",
- required: ["FileSystemId"],
- members: {
- FileSystemId: {},
- ClientRequestToken: { idempotencyToken: true },
- WindowsConfiguration: {
- type: "structure",
- members: {
- WeeklyMaintenanceStartTime: {},
- DailyAutomaticBackupStartTime: {},
- AutomaticBackupRetentionDays: { type: "integer" },
- SelfManagedActiveDirectoryConfiguration: {
- type: "structure",
- members: {
- UserName: {},
- Password: { shape: "S2b" },
- DnsIps: { shape: "S17" },
- },
- },
- },
- },
- LustreConfiguration: {
- type: "structure",
- members: { WeeklyMaintenanceStartTime: {} },
- },
- },
- },
- output: {
- type: "structure",
- members: { FileSystem: { shape: "Sn" } },
- },
- },
- },
- shapes: {
- S8: {
- type: "list",
- member: { type: "structure", members: { Key: {}, Value: {} } },
- },
- Sd: {
- type: "structure",
- required: [
- "BackupId",
- "Lifecycle",
- "Type",
- "CreationTime",
- "FileSystem",
- ],
- members: {
- BackupId: {},
- Lifecycle: {},
- FailureDetails: { type: "structure", members: { Message: {} } },
- Type: {},
- ProgressPercent: { type: "integer" },
- CreationTime: { type: "timestamp" },
- KmsKeyId: {},
- ResourceARN: {},
- Tags: { shape: "S8" },
- FileSystem: { shape: "Sn" },
- DirectoryInformation: {
- type: "structure",
- members: { DomainName: {}, ActiveDirectoryId: {} },
- },
- },
- },
- Sn: {
- type: "structure",
- members: {
- OwnerId: {},
- CreationTime: { type: "timestamp" },
- FileSystemId: {},
- FileSystemType: {},
- Lifecycle: {},
- FailureDetails: { type: "structure", members: { Message: {} } },
- StorageCapacity: { type: "integer" },
- StorageType: {},
- VpcId: {},
- SubnetIds: { shape: "Sv" },
- NetworkInterfaceIds: { type: "list", member: {} },
- DNSName: {},
- KmsKeyId: {},
- ResourceARN: {},
- Tags: { shape: "S8" },
- WindowsConfiguration: {
- type: "structure",
- members: {
- ActiveDirectoryId: {},
- SelfManagedActiveDirectoryConfiguration: {
- type: "structure",
- members: {
- DomainName: {},
- OrganizationalUnitDistinguishedName: {},
- FileSystemAdministratorsGroup: {},
- UserName: {},
- DnsIps: { shape: "S17" },
- },
- },
- DeploymentType: {},
- RemoteAdministrationEndpoint: {},
- PreferredSubnetId: {},
- PreferredFileServerIp: {},
- ThroughputCapacity: { type: "integer" },
- MaintenanceOperationsInProgress: { type: "list", member: {} },
- WeeklyMaintenanceStartTime: {},
- DailyAutomaticBackupStartTime: {},
- AutomaticBackupRetentionDays: { type: "integer" },
- CopyTagsToBackups: { type: "boolean" },
- },
- },
- LustreConfiguration: {
- type: "structure",
- members: {
- WeeklyMaintenanceStartTime: {},
- DataRepositoryConfiguration: {
- type: "structure",
- members: {
- ImportPath: {},
- ExportPath: {},
- ImportedFileChunkSize: { type: "integer" },
- },
- },
- DeploymentType: {},
- PerUnitStorageThroughput: { type: "integer" },
- MountName: {},
- },
- },
- },
- },
- Sv: { type: "list", member: {} },
- S17: { type: "list", member: {} },
- S1r: { type: "list", member: {} },
- S1t: {
- type: "structure",
- required: ["Enabled"],
- members: {
- Enabled: { type: "boolean" },
- Path: {},
- Format: {},
- Scope: {},
- },
- },
- S1x: {
- type: "structure",
- required: [
- "TaskId",
- "Lifecycle",
- "Type",
- "CreationTime",
- "FileSystemId",
- ],
- members: {
- TaskId: {},
- Lifecycle: {},
- Type: {},
- CreationTime: { type: "timestamp" },
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- ResourceARN: {},
- Tags: { shape: "S8" },
- FileSystemId: {},
- Paths: { shape: "S1r" },
- FailureDetails: { type: "structure", members: { Message: {} } },
- Status: {
- type: "structure",
- members: {
- TotalCount: { type: "long" },
- SucceededCount: { type: "long" },
- FailedCount: { type: "long" },
- LastUpdatedTime: { type: "timestamp" },
- },
- },
- Report: { shape: "S1t" },
- },
- },
- S27: { type: "list", member: {} },
- S29: {
- type: "structure",
- required: ["ThroughputCapacity"],
- members: {
- ActiveDirectoryId: {},
- SelfManagedActiveDirectoryConfiguration: {
- type: "structure",
- required: ["DomainName", "UserName", "Password", "DnsIps"],
- members: {
- DomainName: {},
- OrganizationalUnitDistinguishedName: {},
- FileSystemAdministratorsGroup: {},
- UserName: {},
- Password: { shape: "S2b" },
- DnsIps: { shape: "S17" },
- },
- },
- DeploymentType: {},
- PreferredSubnetId: {},
- ThroughputCapacity: { type: "integer" },
- WeeklyMaintenanceStartTime: {},
- DailyAutomaticBackupStartTime: {},
- AutomaticBackupRetentionDays: { type: "integer" },
- CopyTagsToBackups: { type: "boolean" },
- },
- },
- S2b: { type: "string", sensitive: true },
- },
- };
-
- /***/
- },
-
- /***/ 1904: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2012-08-10",
- endpointPrefix: "dynamodb",
- jsonVersion: "1.0",
- protocol: "json",
- serviceAbbreviation: "DynamoDB",
- serviceFullName: "Amazon DynamoDB",
- serviceId: "DynamoDB",
- signatureVersion: "v4",
- targetPrefix: "DynamoDB_20120810",
- uid: "dynamodb-2012-08-10",
- },
- operations: {
- BatchGetItem: {
- input: {
- type: "structure",
- required: ["RequestItems"],
- members: {
- RequestItems: { shape: "S2" },
- ReturnConsumedCapacity: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Responses: { type: "map", key: {}, value: { shape: "Sr" } },
- UnprocessedKeys: { shape: "S2" },
- ConsumedCapacity: { shape: "St" },
- },
- },
- endpointdiscovery: {},
- },
- BatchWriteItem: {
- input: {
- type: "structure",
- required: ["RequestItems"],
- members: {
- RequestItems: { shape: "S10" },
- ReturnConsumedCapacity: {},
- ReturnItemCollectionMetrics: {},
- },
- },
- output: {
- type: "structure",
- members: {
- UnprocessedItems: { shape: "S10" },
- ItemCollectionMetrics: { shape: "S18" },
- ConsumedCapacity: { shape: "St" },
- },
- },
- endpointdiscovery: {},
- },
- CreateBackup: {
- input: {
- type: "structure",
- required: ["TableName", "BackupName"],
- members: { TableName: {}, BackupName: {} },
- },
- output: {
- type: "structure",
- members: { BackupDetails: { shape: "S1h" } },
- },
- endpointdiscovery: {},
- },
- CreateGlobalTable: {
- input: {
- type: "structure",
- required: ["GlobalTableName", "ReplicationGroup"],
- members: {
- GlobalTableName: {},
- ReplicationGroup: { shape: "S1p" },
- },
- },
- output: {
- type: "structure",
- members: { GlobalTableDescription: { shape: "S1t" } },
- },
- endpointdiscovery: {},
- },
- CreateTable: {
- input: {
- type: "structure",
- required: ["AttributeDefinitions", "TableName", "KeySchema"],
- members: {
- AttributeDefinitions: { shape: "S27" },
- TableName: {},
- KeySchema: { shape: "S2b" },
- LocalSecondaryIndexes: { shape: "S2e" },
- GlobalSecondaryIndexes: { shape: "S2k" },
- BillingMode: {},
- ProvisionedThroughput: { shape: "S2m" },
- StreamSpecification: { shape: "S2o" },
- SSESpecification: { shape: "S2r" },
- Tags: { shape: "S2u" },
- },
- },
- output: {
- type: "structure",
- members: { TableDescription: { shape: "S2z" } },
- },
- endpointdiscovery: {},
- },
- DeleteBackup: {
- input: {
- type: "structure",
- required: ["BackupArn"],
- members: { BackupArn: {} },
- },
- output: {
- type: "structure",
- members: { BackupDescription: { shape: "S3o" } },
- },
- endpointdiscovery: {},
- },
- DeleteItem: {
- input: {
- type: "structure",
- required: ["TableName", "Key"],
- members: {
- TableName: {},
- Key: { shape: "S6" },
- Expected: { shape: "S41" },
- ConditionalOperator: {},
- ReturnValues: {},
- ReturnConsumedCapacity: {},
- ReturnItemCollectionMetrics: {},
- ConditionExpression: {},
- ExpressionAttributeNames: { shape: "Sm" },
- ExpressionAttributeValues: { shape: "S49" },
- },
- },
- output: {
- type: "structure",
- members: {
- Attributes: { shape: "Ss" },
- ConsumedCapacity: { shape: "Su" },
- ItemCollectionMetrics: { shape: "S1a" },
- },
- },
- endpointdiscovery: {},
- },
- DeleteTable: {
- input: {
- type: "structure",
- required: ["TableName"],
- members: { TableName: {} },
- },
- output: {
- type: "structure",
- members: { TableDescription: { shape: "S2z" } },
- },
- endpointdiscovery: {},
- },
- DescribeBackup: {
- input: {
- type: "structure",
- required: ["BackupArn"],
- members: { BackupArn: {} },
- },
- output: {
- type: "structure",
- members: { BackupDescription: { shape: "S3o" } },
- },
- endpointdiscovery: {},
- },
- DescribeContinuousBackups: {
- input: {
- type: "structure",
- required: ["TableName"],
- members: { TableName: {} },
- },
- output: {
- type: "structure",
- members: { ContinuousBackupsDescription: { shape: "S4i" } },
- },
- endpointdiscovery: {},
- },
- DescribeContributorInsights: {
- input: {
- type: "structure",
- required: ["TableName"],
- members: { TableName: {}, IndexName: {} },
- },
- output: {
- type: "structure",
- members: {
- TableName: {},
- IndexName: {},
- ContributorInsightsRuleList: { type: "list", member: {} },
- ContributorInsightsStatus: {},
- LastUpdateDateTime: { type: "timestamp" },
- FailureException: {
- type: "structure",
- members: { ExceptionName: {}, ExceptionDescription: {} },
- },
- },
- },
- },
- DescribeEndpoints: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- required: ["Endpoints"],
- members: {
- Endpoints: {
- type: "list",
- member: {
- type: "structure",
- required: ["Address", "CachePeriodInMinutes"],
- members: {
- Address: {},
- CachePeriodInMinutes: { type: "long" },
- },
- },
- },
- },
- },
- endpointoperation: true,
- },
- DescribeGlobalTable: {
- input: {
- type: "structure",
- required: ["GlobalTableName"],
- members: { GlobalTableName: {} },
- },
- output: {
- type: "structure",
- members: { GlobalTableDescription: { shape: "S1t" } },
- },
- endpointdiscovery: {},
- },
- DescribeGlobalTableSettings: {
- input: {
- type: "structure",
- required: ["GlobalTableName"],
- members: { GlobalTableName: {} },
- },
- output: {
- type: "structure",
- members: {
- GlobalTableName: {},
- ReplicaSettings: { shape: "S53" },
- },
- },
- endpointdiscovery: {},
- },
- DescribeLimits: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: {
- AccountMaxReadCapacityUnits: { type: "long" },
- AccountMaxWriteCapacityUnits: { type: "long" },
- TableMaxReadCapacityUnits: { type: "long" },
- TableMaxWriteCapacityUnits: { type: "long" },
- },
- },
- endpointdiscovery: {},
- },
- DescribeTable: {
- input: {
- type: "structure",
- required: ["TableName"],
- members: { TableName: {} },
- },
- output: { type: "structure", members: { Table: { shape: "S2z" } } },
- endpointdiscovery: {},
- },
- DescribeTableReplicaAutoScaling: {
- input: {
- type: "structure",
- required: ["TableName"],
- members: { TableName: {} },
- },
- output: {
- type: "structure",
- members: { TableAutoScalingDescription: { shape: "S5k" } },
- },
- },
- DescribeTimeToLive: {
- input: {
- type: "structure",
- required: ["TableName"],
- members: { TableName: {} },
- },
- output: {
- type: "structure",
- members: { TimeToLiveDescription: { shape: "S3x" } },
- },
- endpointdiscovery: {},
- },
- GetItem: {
- input: {
- type: "structure",
- required: ["TableName", "Key"],
- members: {
- TableName: {},
- Key: { shape: "S6" },
- AttributesToGet: { shape: "Sj" },
- ConsistentRead: { type: "boolean" },
- ReturnConsumedCapacity: {},
- ProjectionExpression: {},
- ExpressionAttributeNames: { shape: "Sm" },
- },
- },
- output: {
- type: "structure",
- members: {
- Item: { shape: "Ss" },
- ConsumedCapacity: { shape: "Su" },
- },
- },
- endpointdiscovery: {},
- },
- ListBackups: {
- input: {
- type: "structure",
- members: {
- TableName: {},
- Limit: { type: "integer" },
- TimeRangeLowerBound: { type: "timestamp" },
- TimeRangeUpperBound: { type: "timestamp" },
- ExclusiveStartBackupArn: {},
- BackupType: {},
- },
- },
- output: {
- type: "structure",
- members: {
- BackupSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- TableName: {},
- TableId: {},
- TableArn: {},
- BackupArn: {},
- BackupName: {},
- BackupCreationDateTime: { type: "timestamp" },
- BackupExpiryDateTime: { type: "timestamp" },
- BackupStatus: {},
- BackupType: {},
- BackupSizeBytes: { type: "long" },
- },
- },
- },
- LastEvaluatedBackupArn: {},
- },
- },
- endpointdiscovery: {},
- },
- ListContributorInsights: {
- input: {
- type: "structure",
- members: {
- TableName: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- ContributorInsightsSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- TableName: {},
- IndexName: {},
- ContributorInsightsStatus: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListGlobalTables: {
- input: {
- type: "structure",
- members: {
- ExclusiveStartGlobalTableName: {},
- Limit: { type: "integer" },
- RegionName: {},
- },
- },
- output: {
- type: "structure",
- members: {
- GlobalTables: {
- type: "list",
- member: {
- type: "structure",
- members: {
- GlobalTableName: {},
- ReplicationGroup: { shape: "S1p" },
- },
- },
- },
- LastEvaluatedGlobalTableName: {},
- },
- },
- endpointdiscovery: {},
- },
- ListTables: {
- input: {
- type: "structure",
- members: {
- ExclusiveStartTableName: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- TableNames: { type: "list", member: {} },
- LastEvaluatedTableName: {},
- },
- },
- endpointdiscovery: {},
- },
- ListTagsOfResource: {
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: { ResourceArn: {}, NextToken: {} },
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "S2u" }, NextToken: {} },
- },
- endpointdiscovery: {},
- },
- PutItem: {
- input: {
- type: "structure",
- required: ["TableName", "Item"],
- members: {
- TableName: {},
- Item: { shape: "S14" },
- Expected: { shape: "S41" },
- ReturnValues: {},
- ReturnConsumedCapacity: {},
- ReturnItemCollectionMetrics: {},
- ConditionalOperator: {},
- ConditionExpression: {},
- ExpressionAttributeNames: { shape: "Sm" },
- ExpressionAttributeValues: { shape: "S49" },
- },
- },
- output: {
- type: "structure",
- members: {
- Attributes: { shape: "Ss" },
- ConsumedCapacity: { shape: "Su" },
- ItemCollectionMetrics: { shape: "S1a" },
- },
- },
- endpointdiscovery: {},
- },
- Query: {
- input: {
- type: "structure",
- required: ["TableName"],
- members: {
- TableName: {},
- IndexName: {},
- Select: {},
- AttributesToGet: { shape: "Sj" },
- Limit: { type: "integer" },
- ConsistentRead: { type: "boolean" },
- KeyConditions: {
- type: "map",
- key: {},
- value: { shape: "S6o" },
- },
- QueryFilter: { shape: "S6p" },
- ConditionalOperator: {},
- ScanIndexForward: { type: "boolean" },
- ExclusiveStartKey: { shape: "S6" },
- ReturnConsumedCapacity: {},
- ProjectionExpression: {},
- FilterExpression: {},
- KeyConditionExpression: {},
- ExpressionAttributeNames: { shape: "Sm" },
- ExpressionAttributeValues: { shape: "S49" },
- },
- },
- output: {
- type: "structure",
- members: {
- Items: { shape: "Sr" },
- Count: { type: "integer" },
- ScannedCount: { type: "integer" },
- LastEvaluatedKey: { shape: "S6" },
- ConsumedCapacity: { shape: "Su" },
- },
- },
- endpointdiscovery: {},
- },
- RestoreTableFromBackup: {
- input: {
- type: "structure",
- required: ["TargetTableName", "BackupArn"],
- members: {
- TargetTableName: {},
- BackupArn: {},
- BillingModeOverride: {},
- GlobalSecondaryIndexOverride: { shape: "S2k" },
- LocalSecondaryIndexOverride: { shape: "S2e" },
- ProvisionedThroughputOverride: { shape: "S2m" },
- SSESpecificationOverride: { shape: "S2r" },
- },
- },
- output: {
- type: "structure",
- members: { TableDescription: { shape: "S2z" } },
- },
- endpointdiscovery: {},
- },
- RestoreTableToPointInTime: {
- input: {
- type: "structure",
- required: ["TargetTableName"],
- members: {
- SourceTableArn: {},
- SourceTableName: {},
- TargetTableName: {},
- UseLatestRestorableTime: { type: "boolean" },
- RestoreDateTime: { type: "timestamp" },
- BillingModeOverride: {},
- GlobalSecondaryIndexOverride: { shape: "S2k" },
- LocalSecondaryIndexOverride: { shape: "S2e" },
- ProvisionedThroughputOverride: { shape: "S2m" },
- SSESpecificationOverride: { shape: "S2r" },
- },
- },
- output: {
- type: "structure",
- members: { TableDescription: { shape: "S2z" } },
- },
- endpointdiscovery: {},
- },
- Scan: {
- input: {
- type: "structure",
- required: ["TableName"],
- members: {
- TableName: {},
- IndexName: {},
- AttributesToGet: { shape: "Sj" },
- Limit: { type: "integer" },
- Select: {},
- ScanFilter: { shape: "S6p" },
- ConditionalOperator: {},
- ExclusiveStartKey: { shape: "S6" },
- ReturnConsumedCapacity: {},
- TotalSegments: { type: "integer" },
- Segment: { type: "integer" },
- ProjectionExpression: {},
- FilterExpression: {},
- ExpressionAttributeNames: { shape: "Sm" },
- ExpressionAttributeValues: { shape: "S49" },
- ConsistentRead: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- Items: { shape: "Sr" },
- Count: { type: "integer" },
- ScannedCount: { type: "integer" },
- LastEvaluatedKey: { shape: "S6" },
- ConsumedCapacity: { shape: "Su" },
- },
- },
- endpointdiscovery: {},
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "Tags"],
- members: { ResourceArn: {}, Tags: { shape: "S2u" } },
- },
- endpointdiscovery: {},
- },
- TransactGetItems: {
- input: {
- type: "structure",
- required: ["TransactItems"],
- members: {
- TransactItems: {
- type: "list",
- member: {
- type: "structure",
- required: ["Get"],
- members: {
- Get: {
- type: "structure",
- required: ["Key", "TableName"],
- members: {
- Key: { shape: "S6" },
- TableName: {},
- ProjectionExpression: {},
- ExpressionAttributeNames: { shape: "Sm" },
- },
- },
- },
- },
- },
- ReturnConsumedCapacity: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ConsumedCapacity: { shape: "St" },
- Responses: {
- type: "list",
- member: {
- type: "structure",
- members: { Item: { shape: "Ss" } },
- },
- },
- },
- },
- endpointdiscovery: {},
- },
- TransactWriteItems: {
- input: {
- type: "structure",
- required: ["TransactItems"],
- members: {
- TransactItems: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ConditionCheck: {
- type: "structure",
- required: ["Key", "TableName", "ConditionExpression"],
- members: {
- Key: { shape: "S6" },
- TableName: {},
- ConditionExpression: {},
- ExpressionAttributeNames: { shape: "Sm" },
- ExpressionAttributeValues: { shape: "S49" },
- ReturnValuesOnConditionCheckFailure: {},
- },
- },
- Put: {
- type: "structure",
- required: ["Item", "TableName"],
- members: {
- Item: { shape: "S14" },
- TableName: {},
- ConditionExpression: {},
- ExpressionAttributeNames: { shape: "Sm" },
- ExpressionAttributeValues: { shape: "S49" },
- ReturnValuesOnConditionCheckFailure: {},
- },
- },
- Delete: {
- type: "structure",
- required: ["Key", "TableName"],
- members: {
- Key: { shape: "S6" },
- TableName: {},
- ConditionExpression: {},
- ExpressionAttributeNames: { shape: "Sm" },
- ExpressionAttributeValues: { shape: "S49" },
- ReturnValuesOnConditionCheckFailure: {},
- },
- },
- Update: {
- type: "structure",
- required: ["Key", "UpdateExpression", "TableName"],
- members: {
- Key: { shape: "S6" },
- UpdateExpression: {},
- TableName: {},
- ConditionExpression: {},
- ExpressionAttributeNames: { shape: "Sm" },
- ExpressionAttributeValues: { shape: "S49" },
- ReturnValuesOnConditionCheckFailure: {},
- },
- },
- },
- },
- },
- ReturnConsumedCapacity: {},
- ReturnItemCollectionMetrics: {},
- ClientRequestToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- ConsumedCapacity: { shape: "St" },
- ItemCollectionMetrics: { shape: "S18" },
- },
- },
- endpointdiscovery: {},
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "TagKeys"],
- members: {
- ResourceArn: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- endpointdiscovery: {},
- },
- UpdateContinuousBackups: {
- input: {
- type: "structure",
- required: ["TableName", "PointInTimeRecoverySpecification"],
- members: {
- TableName: {},
- PointInTimeRecoverySpecification: {
- type: "structure",
- required: ["PointInTimeRecoveryEnabled"],
- members: { PointInTimeRecoveryEnabled: { type: "boolean" } },
- },
- },
- },
- output: {
- type: "structure",
- members: { ContinuousBackupsDescription: { shape: "S4i" } },
- },
- endpointdiscovery: {},
- },
- UpdateContributorInsights: {
- input: {
- type: "structure",
- required: ["TableName", "ContributorInsightsAction"],
- members: {
- TableName: {},
- IndexName: {},
- ContributorInsightsAction: {},
- },
- },
- output: {
- type: "structure",
- members: {
- TableName: {},
- IndexName: {},
- ContributorInsightsStatus: {},
- },
- },
- },
- UpdateGlobalTable: {
- input: {
- type: "structure",
- required: ["GlobalTableName", "ReplicaUpdates"],
- members: {
- GlobalTableName: {},
- ReplicaUpdates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Create: {
- type: "structure",
- required: ["RegionName"],
- members: { RegionName: {} },
- },
- Delete: {
- type: "structure",
- required: ["RegionName"],
- members: { RegionName: {} },
- },
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: { GlobalTableDescription: { shape: "S1t" } },
- },
- endpointdiscovery: {},
- },
- UpdateGlobalTableSettings: {
- input: {
- type: "structure",
- required: ["GlobalTableName"],
- members: {
- GlobalTableName: {},
- GlobalTableBillingMode: {},
- GlobalTableProvisionedWriteCapacityUnits: { type: "long" },
- GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: {
- shape: "S7z",
- },
- GlobalTableGlobalSecondaryIndexSettingsUpdate: {
- type: "list",
- member: {
- type: "structure",
- required: ["IndexName"],
- members: {
- IndexName: {},
- ProvisionedWriteCapacityUnits: { type: "long" },
- ProvisionedWriteCapacityAutoScalingSettingsUpdate: {
- shape: "S7z",
- },
- },
- },
- },
- ReplicaSettingsUpdate: {
- type: "list",
- member: {
- type: "structure",
- required: ["RegionName"],
- members: {
- RegionName: {},
- ReplicaProvisionedReadCapacityUnits: { type: "long" },
- ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate: {
- shape: "S7z",
- },
- ReplicaGlobalSecondaryIndexSettingsUpdate: {
- type: "list",
- member: {
- type: "structure",
- required: ["IndexName"],
- members: {
- IndexName: {},
- ProvisionedReadCapacityUnits: { type: "long" },
- ProvisionedReadCapacityAutoScalingSettingsUpdate: {
- shape: "S7z",
- },
- },
- },
- },
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- GlobalTableName: {},
- ReplicaSettings: { shape: "S53" },
- },
- },
- endpointdiscovery: {},
- },
- UpdateItem: {
- input: {
- type: "structure",
- required: ["TableName", "Key"],
- members: {
- TableName: {},
- Key: { shape: "S6" },
- AttributeUpdates: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: { Value: { shape: "S8" }, Action: {} },
- },
- },
- Expected: { shape: "S41" },
- ConditionalOperator: {},
- ReturnValues: {},
- ReturnConsumedCapacity: {},
- ReturnItemCollectionMetrics: {},
- UpdateExpression: {},
- ConditionExpression: {},
- ExpressionAttributeNames: { shape: "Sm" },
- ExpressionAttributeValues: { shape: "S49" },
- },
- },
- output: {
- type: "structure",
- members: {
- Attributes: { shape: "Ss" },
- ConsumedCapacity: { shape: "Su" },
- ItemCollectionMetrics: { shape: "S1a" },
- },
- },
- endpointdiscovery: {},
- },
- UpdateTable: {
- input: {
- type: "structure",
- required: ["TableName"],
- members: {
- AttributeDefinitions: { shape: "S27" },
- TableName: {},
- BillingMode: {},
- ProvisionedThroughput: { shape: "S2m" },
- GlobalSecondaryIndexUpdates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Update: {
- type: "structure",
- required: ["IndexName", "ProvisionedThroughput"],
- members: {
- IndexName: {},
- ProvisionedThroughput: { shape: "S2m" },
- },
- },
- Create: {
- type: "structure",
- required: ["IndexName", "KeySchema", "Projection"],
- members: {
- IndexName: {},
- KeySchema: { shape: "S2b" },
- Projection: { shape: "S2g" },
- ProvisionedThroughput: { shape: "S2m" },
- },
- },
- Delete: {
- type: "structure",
- required: ["IndexName"],
- members: { IndexName: {} },
- },
- },
- },
- },
- StreamSpecification: { shape: "S2o" },
- SSESpecification: { shape: "S2r" },
- ReplicaUpdates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Create: {
- type: "structure",
- required: ["RegionName"],
- members: {
- RegionName: {},
- KMSMasterKeyId: {},
- ProvisionedThroughputOverride: { shape: "S20" },
- GlobalSecondaryIndexes: { shape: "S8o" },
- },
- },
- Update: {
- type: "structure",
- required: ["RegionName"],
- members: {
- RegionName: {},
- KMSMasterKeyId: {},
- ProvisionedThroughputOverride: { shape: "S20" },
- GlobalSecondaryIndexes: { shape: "S8o" },
- },
- },
- Delete: {
- type: "structure",
- required: ["RegionName"],
- members: { RegionName: {} },
- },
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: { TableDescription: { shape: "S2z" } },
- },
- endpointdiscovery: {},
- },
- UpdateTableReplicaAutoScaling: {
- input: {
- type: "structure",
- required: ["TableName"],
- members: {
- GlobalSecondaryIndexUpdates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- IndexName: {},
- ProvisionedWriteCapacityAutoScalingUpdate: {
- shape: "S7z",
- },
- },
- },
- },
- TableName: {},
- ProvisionedWriteCapacityAutoScalingUpdate: { shape: "S7z" },
- ReplicaUpdates: {
- type: "list",
- member: {
- type: "structure",
- required: ["RegionName"],
- members: {
- RegionName: {},
- ReplicaGlobalSecondaryIndexUpdates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- IndexName: {},
- ProvisionedReadCapacityAutoScalingUpdate: {
- shape: "S7z",
- },
- },
- },
- },
- ReplicaProvisionedReadCapacityAutoScalingUpdate: {
- shape: "S7z",
- },
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: { TableAutoScalingDescription: { shape: "S5k" } },
- },
- },
- UpdateTimeToLive: {
- input: {
- type: "structure",
- required: ["TableName", "TimeToLiveSpecification"],
- members: {
- TableName: {},
- TimeToLiveSpecification: { shape: "S92" },
- },
- },
- output: {
- type: "structure",
- members: { TimeToLiveSpecification: { shape: "S92" } },
- },
- endpointdiscovery: {},
- },
- },
- shapes: {
- S2: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- required: ["Keys"],
- members: {
- Keys: { type: "list", member: { shape: "S6" } },
- AttributesToGet: { shape: "Sj" },
- ConsistentRead: { type: "boolean" },
- ProjectionExpression: {},
- ExpressionAttributeNames: { shape: "Sm" },
- },
- },
- },
- S6: { type: "map", key: {}, value: { shape: "S8" } },
- S8: {
- type: "structure",
- members: {
- S: {},
- N: {},
- B: { type: "blob" },
- SS: { type: "list", member: {} },
- NS: { type: "list", member: {} },
- BS: { type: "list", member: { type: "blob" } },
- M: { type: "map", key: {}, value: { shape: "S8" } },
- L: { type: "list", member: { shape: "S8" } },
- NULL: { type: "boolean" },
- BOOL: { type: "boolean" },
- },
- },
- Sj: { type: "list", member: {} },
- Sm: { type: "map", key: {}, value: {} },
- Sr: { type: "list", member: { shape: "Ss" } },
- Ss: { type: "map", key: {}, value: { shape: "S8" } },
- St: { type: "list", member: { shape: "Su" } },
- Su: {
- type: "structure",
- members: {
- TableName: {},
- CapacityUnits: { type: "double" },
- ReadCapacityUnits: { type: "double" },
- WriteCapacityUnits: { type: "double" },
- Table: { shape: "Sw" },
- LocalSecondaryIndexes: { shape: "Sx" },
- GlobalSecondaryIndexes: { shape: "Sx" },
- },
- },
- Sw: {
- type: "structure",
- members: {
- ReadCapacityUnits: { type: "double" },
- WriteCapacityUnits: { type: "double" },
- CapacityUnits: { type: "double" },
- },
- },
- Sx: { type: "map", key: {}, value: { shape: "Sw" } },
- S10: {
- type: "map",
- key: {},
- value: {
- type: "list",
- member: {
- type: "structure",
- members: {
- PutRequest: {
- type: "structure",
- required: ["Item"],
- members: { Item: { shape: "S14" } },
- },
- DeleteRequest: {
- type: "structure",
- required: ["Key"],
- members: { Key: { shape: "S6" } },
- },
- },
- },
- },
- },
- S14: { type: "map", key: {}, value: { shape: "S8" } },
- S18: {
- type: "map",
- key: {},
- value: { type: "list", member: { shape: "S1a" } },
- },
- S1a: {
- type: "structure",
- members: {
- ItemCollectionKey: {
- type: "map",
- key: {},
- value: { shape: "S8" },
- },
- SizeEstimateRangeGB: { type: "list", member: { type: "double" } },
- },
- },
- S1h: {
- type: "structure",
- required: [
- "BackupArn",
- "BackupName",
- "BackupStatus",
- "BackupType",
- "BackupCreationDateTime",
- ],
- members: {
- BackupArn: {},
- BackupName: {},
- BackupSizeBytes: { type: "long" },
- BackupStatus: {},
- BackupType: {},
- BackupCreationDateTime: { type: "timestamp" },
- BackupExpiryDateTime: { type: "timestamp" },
- },
- },
- S1p: {
- type: "list",
- member: { type: "structure", members: { RegionName: {} } },
- },
- S1t: {
- type: "structure",
- members: {
- ReplicationGroup: { shape: "S1u" },
- GlobalTableArn: {},
- CreationDateTime: { type: "timestamp" },
- GlobalTableStatus: {},
- GlobalTableName: {},
- },
- },
- S1u: {
- type: "list",
- member: {
- type: "structure",
- members: {
- RegionName: {},
- ReplicaStatus: {},
- ReplicaStatusDescription: {},
- ReplicaStatusPercentProgress: {},
- KMSMasterKeyId: {},
- ProvisionedThroughputOverride: { shape: "S20" },
- GlobalSecondaryIndexes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- IndexName: {},
- ProvisionedThroughputOverride: { shape: "S20" },
- },
- },
- },
- },
- },
- },
- S20: {
- type: "structure",
- members: { ReadCapacityUnits: { type: "long" } },
- },
- S27: {
- type: "list",
- member: {
- type: "structure",
- required: ["AttributeName", "AttributeType"],
- members: { AttributeName: {}, AttributeType: {} },
- },
- },
- S2b: {
- type: "list",
- member: {
- type: "structure",
- required: ["AttributeName", "KeyType"],
- members: { AttributeName: {}, KeyType: {} },
- },
- },
- S2e: {
- type: "list",
- member: {
- type: "structure",
- required: ["IndexName", "KeySchema", "Projection"],
- members: {
- IndexName: {},
- KeySchema: { shape: "S2b" },
- Projection: { shape: "S2g" },
- },
- },
- },
- S2g: {
- type: "structure",
- members: {
- ProjectionType: {},
- NonKeyAttributes: { type: "list", member: {} },
- },
- },
- S2k: {
- type: "list",
- member: {
- type: "structure",
- required: ["IndexName", "KeySchema", "Projection"],
- members: {
- IndexName: {},
- KeySchema: { shape: "S2b" },
- Projection: { shape: "S2g" },
- ProvisionedThroughput: { shape: "S2m" },
- },
- },
- },
- S2m: {
- type: "structure",
- required: ["ReadCapacityUnits", "WriteCapacityUnits"],
- members: {
- ReadCapacityUnits: { type: "long" },
- WriteCapacityUnits: { type: "long" },
- },
- },
- S2o: {
- type: "structure",
- required: ["StreamEnabled"],
- members: { StreamEnabled: { type: "boolean" }, StreamViewType: {} },
- },
- S2r: {
- type: "structure",
- members: {
- Enabled: { type: "boolean" },
- SSEType: {},
- KMSMasterKeyId: {},
- },
- },
- S2u: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- S2z: {
- type: "structure",
- members: {
- AttributeDefinitions: { shape: "S27" },
- TableName: {},
- KeySchema: { shape: "S2b" },
- TableStatus: {},
- CreationDateTime: { type: "timestamp" },
- ProvisionedThroughput: { shape: "S31" },
- TableSizeBytes: { type: "long" },
- ItemCount: { type: "long" },
- TableArn: {},
- TableId: {},
- BillingModeSummary: { shape: "S36" },
- LocalSecondaryIndexes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- IndexName: {},
- KeySchema: { shape: "S2b" },
- Projection: { shape: "S2g" },
- IndexSizeBytes: { type: "long" },
- ItemCount: { type: "long" },
- IndexArn: {},
- },
- },
- },
- GlobalSecondaryIndexes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- IndexName: {},
- KeySchema: { shape: "S2b" },
- Projection: { shape: "S2g" },
- IndexStatus: {},
- Backfilling: { type: "boolean" },
- ProvisionedThroughput: { shape: "S31" },
- IndexSizeBytes: { type: "long" },
- ItemCount: { type: "long" },
- IndexArn: {},
- },
- },
- },
- StreamSpecification: { shape: "S2o" },
- LatestStreamLabel: {},
- LatestStreamArn: {},
- GlobalTableVersion: {},
- Replicas: { shape: "S1u" },
- RestoreSummary: {
- type: "structure",
- required: ["RestoreDateTime", "RestoreInProgress"],
- members: {
- SourceBackupArn: {},
- SourceTableArn: {},
- RestoreDateTime: { type: "timestamp" },
- RestoreInProgress: { type: "boolean" },
- },
- },
- SSEDescription: { shape: "S3h" },
- ArchivalSummary: {
- type: "structure",
- members: {
- ArchivalDateTime: { type: "timestamp" },
- ArchivalReason: {},
- ArchivalBackupArn: {},
- },
- },
- },
- },
- S31: {
- type: "structure",
- members: {
- LastIncreaseDateTime: { type: "timestamp" },
- LastDecreaseDateTime: { type: "timestamp" },
- NumberOfDecreasesToday: { type: "long" },
- ReadCapacityUnits: { type: "long" },
- WriteCapacityUnits: { type: "long" },
- },
- },
- S36: {
- type: "structure",
- members: {
- BillingMode: {},
- LastUpdateToPayPerRequestDateTime: { type: "timestamp" },
- },
- },
- S3h: {
- type: "structure",
- members: {
- Status: {},
- SSEType: {},
- KMSMasterKeyArn: {},
- InaccessibleEncryptionDateTime: { type: "timestamp" },
- },
- },
- S3o: {
- type: "structure",
- members: {
- BackupDetails: { shape: "S1h" },
- SourceTableDetails: {
- type: "structure",
- required: [
- "TableName",
- "TableId",
- "KeySchema",
- "TableCreationDateTime",
- "ProvisionedThroughput",
- ],
- members: {
- TableName: {},
- TableId: {},
- TableArn: {},
- TableSizeBytes: { type: "long" },
- KeySchema: { shape: "S2b" },
- TableCreationDateTime: { type: "timestamp" },
- ProvisionedThroughput: { shape: "S2m" },
- ItemCount: { type: "long" },
- BillingMode: {},
- },
- },
- SourceTableFeatureDetails: {
- type: "structure",
- members: {
- LocalSecondaryIndexes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- IndexName: {},
- KeySchema: { shape: "S2b" },
- Projection: { shape: "S2g" },
- },
- },
- },
- GlobalSecondaryIndexes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- IndexName: {},
- KeySchema: { shape: "S2b" },
- Projection: { shape: "S2g" },
- ProvisionedThroughput: { shape: "S2m" },
- },
- },
- },
- StreamDescription: { shape: "S2o" },
- TimeToLiveDescription: { shape: "S3x" },
- SSEDescription: { shape: "S3h" },
- },
- },
- },
- },
- S3x: {
- type: "structure",
- members: { TimeToLiveStatus: {}, AttributeName: {} },
- },
- S41: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- Value: { shape: "S8" },
- Exists: { type: "boolean" },
- ComparisonOperator: {},
- AttributeValueList: { shape: "S45" },
- },
- },
- },
- S45: { type: "list", member: { shape: "S8" } },
- S49: { type: "map", key: {}, value: { shape: "S8" } },
- S4i: {
- type: "structure",
- required: ["ContinuousBackupsStatus"],
- members: {
- ContinuousBackupsStatus: {},
- PointInTimeRecoveryDescription: {
- type: "structure",
- members: {
- PointInTimeRecoveryStatus: {},
- EarliestRestorableDateTime: { type: "timestamp" },
- LatestRestorableDateTime: { type: "timestamp" },
- },
- },
- },
- },
- S53: {
- type: "list",
- member: {
- type: "structure",
- required: ["RegionName"],
- members: {
- RegionName: {},
- ReplicaStatus: {},
- ReplicaBillingModeSummary: { shape: "S36" },
- ReplicaProvisionedReadCapacityUnits: { type: "long" },
- ReplicaProvisionedReadCapacityAutoScalingSettings: {
- shape: "S55",
- },
- ReplicaProvisionedWriteCapacityUnits: { type: "long" },
- ReplicaProvisionedWriteCapacityAutoScalingSettings: {
- shape: "S55",
- },
- ReplicaGlobalSecondaryIndexSettings: {
- type: "list",
- member: {
- type: "structure",
- required: ["IndexName"],
- members: {
- IndexName: {},
- IndexStatus: {},
- ProvisionedReadCapacityUnits: { type: "long" },
- ProvisionedReadCapacityAutoScalingSettings: {
- shape: "S55",
- },
- ProvisionedWriteCapacityUnits: { type: "long" },
- ProvisionedWriteCapacityAutoScalingSettings: {
- shape: "S55",
- },
- },
- },
- },
- },
- },
- },
- S55: {
- type: "structure",
- members: {
- MinimumUnits: { type: "long" },
- MaximumUnits: { type: "long" },
- AutoScalingDisabled: { type: "boolean" },
- AutoScalingRoleArn: {},
- ScalingPolicies: {
- type: "list",
- member: {
- type: "structure",
- members: {
- PolicyName: {},
- TargetTrackingScalingPolicyConfiguration: {
- type: "structure",
- required: ["TargetValue"],
- members: {
- DisableScaleIn: { type: "boolean" },
- ScaleInCooldown: { type: "integer" },
- ScaleOutCooldown: { type: "integer" },
- TargetValue: { type: "double" },
- },
- },
- },
- },
- },
- },
- },
- S5k: {
- type: "structure",
- members: {
- TableName: {},
- TableStatus: {},
- Replicas: {
- type: "list",
- member: {
- type: "structure",
- members: {
- RegionName: {},
- GlobalSecondaryIndexes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- IndexName: {},
- IndexStatus: {},
- ProvisionedReadCapacityAutoScalingSettings: {
- shape: "S55",
- },
- ProvisionedWriteCapacityAutoScalingSettings: {
- shape: "S55",
- },
- },
- },
- },
- ReplicaProvisionedReadCapacityAutoScalingSettings: {
- shape: "S55",
- },
- ReplicaProvisionedWriteCapacityAutoScalingSettings: {
- shape: "S55",
- },
- ReplicaStatus: {},
- },
- },
- },
- },
- },
- S6o: {
- type: "structure",
- required: ["ComparisonOperator"],
- members: {
- AttributeValueList: { shape: "S45" },
- ComparisonOperator: {},
- },
- },
- S6p: { type: "map", key: {}, value: { shape: "S6o" } },
- S7z: {
- type: "structure",
- members: {
- MinimumUnits: { type: "long" },
- MaximumUnits: { type: "long" },
- AutoScalingDisabled: { type: "boolean" },
- AutoScalingRoleArn: {},
- ScalingPolicyUpdate: {
- type: "structure",
- required: ["TargetTrackingScalingPolicyConfiguration"],
- members: {
- PolicyName: {},
- TargetTrackingScalingPolicyConfiguration: {
- type: "structure",
- required: ["TargetValue"],
- members: {
- DisableScaleIn: { type: "boolean" },
- ScaleInCooldown: { type: "integer" },
- ScaleOutCooldown: { type: "integer" },
- TargetValue: { type: "double" },
- },
- },
- },
- },
- },
- },
- S8o: {
- type: "list",
- member: {
- type: "structure",
- required: ["IndexName"],
- members: {
- IndexName: {},
- ProvisionedThroughputOverride: { shape: "S20" },
- },
- },
- },
- S92: {
- type: "structure",
- required: ["Enabled", "AttributeName"],
- members: { Enabled: { type: "boolean" }, AttributeName: {} },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1917: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(4912);
- model.paginators = __webpack_require__(5388).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.CodeGuruReviewer;
-
- /***/
- },
-
- /***/ 1920: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(9307);
- model.paginators = __webpack_require__(9743).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.ES;
-
- /***/
- },
-
- /***/ 1928: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(437);
- model.paginators = __webpack_require__(240).pagination;
- model.waiters = __webpack_require__(6023).waiters;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.EMR;
-
- /***/
- },
-
- /***/ 1944: /***/ function (module) {
- module.exports = {
- pagination: {
- ListConfigs: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- result_key: "configList",
- },
- ListContacts: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- result_key: "contactList",
- },
- ListDataflowEndpointGroups: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- result_key: "dataflowEndpointGroupList",
- },
- ListGroundStations: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- result_key: "groundStationList",
- },
- ListMissionProfiles: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- result_key: "missionProfileList",
- },
- ListSatellites: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- result_key: "satellites",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1955: /***/ function (module, __unusedexports, __webpack_require__) {
- "use strict";
-
- const path = __webpack_require__(5622);
- const childProcess = __webpack_require__(3129);
- const crossSpawn = __webpack_require__(20);
- const stripEof = __webpack_require__(3768);
- const npmRunPath = __webpack_require__(4621);
- const isStream = __webpack_require__(323);
- const _getStream = __webpack_require__(145);
- const pFinally = __webpack_require__(8697);
- const onExit = __webpack_require__(5260);
- const errname = __webpack_require__(4427);
- const stdio = __webpack_require__(1168);
-
- const TEN_MEGABYTES = 1000 * 1000 * 10;
-
- function handleArgs(cmd, args, opts) {
- let parsed;
-
- opts = Object.assign(
- {
- extendEnv: true,
- env: {},
- },
- opts
- );
-
- if (opts.extendEnv) {
- opts.env = Object.assign({}, process.env, opts.env);
- }
-
- if (opts.__winShell === true) {
- delete opts.__winShell;
- parsed = {
- command: cmd,
- args,
- options: opts,
- file: cmd,
- original: {
- cmd,
- args,
- },
- };
- } else {
- parsed = crossSpawn._parse(cmd, args, opts);
- }
-
- opts = Object.assign(
- {
- maxBuffer: TEN_MEGABYTES,
- buffer: true,
- stripEof: true,
- preferLocal: true,
- localDir: parsed.options.cwd || process.cwd(),
- encoding: "utf8",
- reject: true,
- cleanup: true,
- },
- parsed.options
- );
-
- opts.stdio = stdio(opts);
-
- if (opts.preferLocal) {
- opts.env = npmRunPath.env(
- Object.assign({}, opts, { cwd: opts.localDir })
- );
- }
-
- if (opts.detached) {
- // #115
- opts.cleanup = false;
- }
-
- if (
- process.platform === "win32" &&
- path.basename(parsed.command) === "cmd.exe"
- ) {
- // #116
- parsed.args.unshift("/q");
- }
-
- return {
- cmd: parsed.command,
- args: parsed.args,
- opts,
- parsed,
- };
- }
-
- function handleInput(spawned, input) {
- if (input === null || input === undefined) {
- return;
- }
-
- if (isStream(input)) {
- input.pipe(spawned.stdin);
- } else {
- spawned.stdin.end(input);
- }
- }
-
- function handleOutput(opts, val) {
- if (val && opts.stripEof) {
- val = stripEof(val);
- }
-
- return val;
- }
-
- function handleShell(fn, cmd, opts) {
- let file = "/bin/sh";
- let args = ["-c", cmd];
-
- opts = Object.assign({}, opts);
-
- if (process.platform === "win32") {
- opts.__winShell = true;
- file = process.env.comspec || "cmd.exe";
- args = ["/s", "/c", `"${cmd}"`];
- opts.windowsVerbatimArguments = true;
- }
-
- if (opts.shell) {
- file = opts.shell;
- delete opts.shell;
- }
-
- return fn(file, args, opts);
- }
-
- function getStream(process, stream, { encoding, buffer, maxBuffer }) {
- if (!process[stream]) {
- return null;
- }
-
- let ret;
-
- if (!buffer) {
- // TODO: Use `ret = util.promisify(stream.finished)(process[stream]);` when targeting Node.js 10
- ret = new Promise((resolve, reject) => {
- process[stream].once("end", resolve).once("error", reject);
- });
- } else if (encoding) {
- ret = _getStream(process[stream], {
- encoding,
- maxBuffer,
- });
- } else {
- ret = _getStream.buffer(process[stream], { maxBuffer });
- }
-
- return ret.catch((err) => {
- err.stream = stream;
- err.message = `${stream} ${err.message}`;
- throw err;
- });
- }
-
- function makeError(result, options) {
- const { stdout, stderr } = result;
-
- let err = result.error;
- const { code, signal } = result;
-
- const { parsed, joinedCmd } = options;
- const timedOut = options.timedOut || false;
-
- if (!err) {
- let output = "";
-
- if (Array.isArray(parsed.opts.stdio)) {
- if (parsed.opts.stdio[2] !== "inherit") {
- output += output.length > 0 ? stderr : `\n${stderr}`;
- }
-
- if (parsed.opts.stdio[1] !== "inherit") {
- output += `\n${stdout}`;
- }
- } else if (parsed.opts.stdio !== "inherit") {
- output = `\n${stderr}${stdout}`;
- }
-
- err = new Error(`Command failed: ${joinedCmd}${output}`);
- err.code = code < 0 ? errname(code) : code;
- }
-
- err.stdout = stdout;
- err.stderr = stderr;
- err.failed = true;
- err.signal = signal || null;
- err.cmd = joinedCmd;
- err.timedOut = timedOut;
-
- return err;
- }
-
- function joinCmd(cmd, args) {
- let joinedCmd = cmd;
-
- if (Array.isArray(args) && args.length > 0) {
- joinedCmd += " " + args.join(" ");
- }
-
- return joinedCmd;
- }
-
- module.exports = (cmd, args, opts) => {
- const parsed = handleArgs(cmd, args, opts);
- const { encoding, buffer, maxBuffer } = parsed.opts;
- const joinedCmd = joinCmd(cmd, args);
-
- let spawned;
- try {
- spawned = childProcess.spawn(parsed.cmd, parsed.args, parsed.opts);
- } catch (err) {
- return Promise.reject(err);
- }
-
- let removeExitHandler;
- if (parsed.opts.cleanup) {
- removeExitHandler = onExit(() => {
- spawned.kill();
- });
- }
-
- let timeoutId = null;
- let timedOut = false;
-
- const cleanup = () => {
- if (timeoutId) {
- clearTimeout(timeoutId);
- timeoutId = null;
- }
-
- if (removeExitHandler) {
- removeExitHandler();
- }
- };
-
- if (parsed.opts.timeout > 0) {
- timeoutId = setTimeout(() => {
- timeoutId = null;
- timedOut = true;
- spawned.kill(parsed.opts.killSignal);
- }, parsed.opts.timeout);
- }
-
- const processDone = new Promise((resolve) => {
- spawned.on("exit", (code, signal) => {
- cleanup();
- resolve({ code, signal });
- });
-
- spawned.on("error", (err) => {
- cleanup();
- resolve({ error: err });
- });
-
- if (spawned.stdin) {
- spawned.stdin.on("error", (err) => {
- cleanup();
- resolve({ error: err });
- });
- }
- });
-
- function destroy() {
- if (spawned.stdout) {
- spawned.stdout.destroy();
- }
-
- if (spawned.stderr) {
- spawned.stderr.destroy();
- }
- }
-
- const handlePromise = () =>
- pFinally(
- Promise.all([
- processDone,
- getStream(spawned, "stdout", { encoding, buffer, maxBuffer }),
- getStream(spawned, "stderr", { encoding, buffer, maxBuffer }),
- ]).then((arr) => {
- const result = arr[0];
- result.stdout = arr[1];
- result.stderr = arr[2];
-
- if (result.error || result.code !== 0 || result.signal !== null) {
- const err = makeError(result, {
- joinedCmd,
- parsed,
- timedOut,
- });
-
- // TODO: missing some timeout logic for killed
- // https://github.com/nodejs/node/blob/master/lib/child_process.js#L203
- // err.killed = spawned.killed || killed;
- err.killed = err.killed || spawned.killed;
-
- if (!parsed.opts.reject) {
- return err;
- }
-
- throw err;
- }
-
- return {
- stdout: handleOutput(parsed.opts, result.stdout),
- stderr: handleOutput(parsed.opts, result.stderr),
- code: 0,
- failed: false,
- killed: false,
- signal: null,
- cmd: joinedCmd,
- timedOut: false,
- };
- }),
- destroy
- );
-
- crossSpawn._enoent.hookChildProcess(spawned, parsed.parsed);
-
- handleInput(spawned, parsed.opts.input);
-
- spawned.then = (onfulfilled, onrejected) =>
- handlePromise().then(onfulfilled, onrejected);
- spawned.catch = (onrejected) => handlePromise().catch(onrejected);
-
- return spawned;
- };
-
- // TODO: set `stderr: 'ignore'` when that option is implemented
- module.exports.stdout = (...args) =>
- module.exports(...args).then((x) => x.stdout);
-
- // TODO: set `stdout: 'ignore'` when that option is implemented
- module.exports.stderr = (...args) =>
- module.exports(...args).then((x) => x.stderr);
-
- module.exports.shell = (cmd, opts) =>
- handleShell(module.exports, cmd, opts);
-
- module.exports.sync = (cmd, args, opts) => {
- const parsed = handleArgs(cmd, args, opts);
- const joinedCmd = joinCmd(cmd, args);
-
- if (isStream(parsed.opts.input)) {
- throw new TypeError(
- "The `input` option cannot be a stream in sync mode"
- );
- }
-
- const result = childProcess.spawnSync(
- parsed.cmd,
- parsed.args,
- parsed.opts
- );
- result.code = result.status;
-
- if (result.error || result.status !== 0 || result.signal !== null) {
- const err = makeError(result, {
- joinedCmd,
- parsed,
- });
-
- if (!parsed.opts.reject) {
- return err;
- }
-
- throw err;
- }
-
- return {
- stdout: handleOutput(parsed.opts, result.stdout),
- stderr: handleOutput(parsed.opts, result.stderr),
- code: 0,
- failed: false,
- signal: null,
- cmd: joinedCmd,
- timedOut: false,
- };
- };
-
- module.exports.shellSync = (cmd, opts) =>
- handleShell(module.exports.sync, cmd, opts);
-
- /***/
- },
-
- /***/ 1957: /***/ function (module) {
- module.exports = {
- pagination: {
- ListClusters: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "ClusterInfoList",
- },
- ListConfigurations: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "Configurations",
- },
- ListKafkaVersions: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "KafkaVersions",
- },
- ListNodes: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "NodeInfoList",
- },
- ListClusterOperations: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "ClusterOperationInfoList",
- },
- ListConfigurationRevisions: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "Revisions",
- },
- },
- };
-
- /***/
- },
-
- /***/ 1969: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 1971: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2016-11-01",
- endpointPrefix: "opsworks-cm",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "OpsWorksCM",
- serviceFullName: "AWS OpsWorks CM",
- serviceId: "OpsWorksCM",
- signatureVersion: "v4",
- signingName: "opsworks-cm",
- targetPrefix: "OpsWorksCM_V2016_11_01",
- uid: "opsworkscm-2016-11-01",
- },
- operations: {
- AssociateNode: {
- input: {
- type: "structure",
- required: ["ServerName", "NodeName", "EngineAttributes"],
- members: {
- ServerName: {},
- NodeName: {},
- EngineAttributes: { shape: "S4" },
- },
- },
- output: {
- type: "structure",
- members: { NodeAssociationStatusToken: {} },
- },
- },
- CreateBackup: {
- input: {
- type: "structure",
- required: ["ServerName"],
- members: {
- ServerName: {},
- Description: {},
- Tags: { shape: "Sc" },
- },
- },
- output: { type: "structure", members: { Backup: { shape: "Sh" } } },
- },
- CreateServer: {
- input: {
- type: "structure",
- required: [
- "ServerName",
- "InstanceProfileArn",
- "InstanceType",
- "ServiceRoleArn",
- ],
- members: {
- AssociatePublicIpAddress: { type: "boolean" },
- CustomDomain: {},
- CustomCertificate: {},
- CustomPrivateKey: { type: "string", sensitive: true },
- DisableAutomatedBackup: { type: "boolean" },
- Engine: {},
- EngineModel: {},
- EngineVersion: {},
- EngineAttributes: { shape: "S4" },
- BackupRetentionCount: { type: "integer" },
- ServerName: {},
- InstanceProfileArn: {},
- InstanceType: {},
- KeyPair: {},
- PreferredMaintenanceWindow: {},
- PreferredBackupWindow: {},
- SecurityGroupIds: { shape: "Sn" },
- ServiceRoleArn: {},
- SubnetIds: { shape: "Sn" },
- Tags: { shape: "Sc" },
- BackupId: {},
- },
- },
- output: { type: "structure", members: { Server: { shape: "Sz" } } },
- },
- DeleteBackup: {
- input: {
- type: "structure",
- required: ["BackupId"],
- members: { BackupId: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteServer: {
- input: {
- type: "structure",
- required: ["ServerName"],
- members: { ServerName: {} },
- },
- output: { type: "structure", members: {} },
- },
- DescribeAccountAttributes: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: {
- Attributes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- Maximum: { type: "integer" },
- Used: { type: "integer" },
- },
- },
- },
- },
- },
- },
- DescribeBackups: {
- input: {
- type: "structure",
- members: {
- BackupId: {},
- ServerName: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Backups: { type: "list", member: { shape: "Sh" } },
- NextToken: {},
- },
- },
- },
- DescribeEvents: {
- input: {
- type: "structure",
- required: ["ServerName"],
- members: {
- ServerName: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- ServerEvents: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CreatedAt: { type: "timestamp" },
- ServerName: {},
- Message: {},
- LogUrl: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeNodeAssociationStatus: {
- input: {
- type: "structure",
- required: ["NodeAssociationStatusToken", "ServerName"],
- members: { NodeAssociationStatusToken: {}, ServerName: {} },
- },
- output: {
- type: "structure",
- members: {
- NodeAssociationStatus: {},
- EngineAttributes: { shape: "S4" },
- },
- },
- },
- DescribeServers: {
- input: {
- type: "structure",
- members: {
- ServerName: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Servers: { type: "list", member: { shape: "Sz" } },
- NextToken: {},
- },
- },
- },
- DisassociateNode: {
- input: {
- type: "structure",
- required: ["ServerName", "NodeName"],
- members: {
- ServerName: {},
- NodeName: {},
- EngineAttributes: { shape: "S4" },
- },
- },
- output: {
- type: "structure",
- members: { NodeAssociationStatusToken: {} },
- },
- },
- ExportServerEngineAttribute: {
- input: {
- type: "structure",
- required: ["ExportAttributeName", "ServerName"],
- members: {
- ExportAttributeName: {},
- ServerName: {},
- InputAttributes: { shape: "S4" },
- },
- },
- output: {
- type: "structure",
- members: { EngineAttribute: { shape: "S5" }, ServerName: {} },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: {
- ResourceArn: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "Sc" }, NextToken: {} },
- },
- },
- RestoreServer: {
- input: {
- type: "structure",
- required: ["BackupId", "ServerName"],
- members: {
- BackupId: {},
- ServerName: {},
- InstanceType: {},
- KeyPair: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- StartMaintenance: {
- input: {
- type: "structure",
- required: ["ServerName"],
- members: { ServerName: {}, EngineAttributes: { shape: "S4" } },
- },
- output: { type: "structure", members: { Server: { shape: "Sz" } } },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "Tags"],
- members: { ResourceArn: {}, Tags: { shape: "Sc" } },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "TagKeys"],
- members: {
- ResourceArn: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateServer: {
- input: {
- type: "structure",
- required: ["ServerName"],
- members: {
- DisableAutomatedBackup: { type: "boolean" },
- BackupRetentionCount: { type: "integer" },
- ServerName: {},
- PreferredMaintenanceWindow: {},
- PreferredBackupWindow: {},
- },
- },
- output: { type: "structure", members: { Server: { shape: "Sz" } } },
- },
- UpdateServerEngineAttributes: {
- input: {
- type: "structure",
- required: ["ServerName", "AttributeName"],
- members: {
- ServerName: {},
- AttributeName: {},
- AttributeValue: {},
- },
- },
- output: { type: "structure", members: { Server: { shape: "Sz" } } },
- },
- },
- shapes: {
- S4: { type: "list", member: { shape: "S5" } },
- S5: {
- type: "structure",
- members: { Name: {}, Value: { type: "string", sensitive: true } },
- },
- Sc: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- Sh: {
- type: "structure",
- members: {
- BackupArn: {},
- BackupId: {},
- BackupType: {},
- CreatedAt: { type: "timestamp" },
- Description: {},
- Engine: {},
- EngineModel: {},
- EngineVersion: {},
- InstanceProfileArn: {},
- InstanceType: {},
- KeyPair: {},
- PreferredBackupWindow: {},
- PreferredMaintenanceWindow: {},
- S3DataSize: { deprecated: true, type: "integer" },
- S3DataUrl: { deprecated: true },
- S3LogUrl: {},
- SecurityGroupIds: { shape: "Sn" },
- ServerName: {},
- ServiceRoleArn: {},
- Status: {},
- StatusDescription: {},
- SubnetIds: { shape: "Sn" },
- ToolsVersion: {},
- UserArn: {},
- },
- },
- Sn: { type: "list", member: {} },
- Sz: {
- type: "structure",
- members: {
- AssociatePublicIpAddress: { type: "boolean" },
- BackupRetentionCount: { type: "integer" },
- ServerName: {},
- CreatedAt: { type: "timestamp" },
- CloudFormationStackArn: {},
- CustomDomain: {},
- DisableAutomatedBackup: { type: "boolean" },
- Endpoint: {},
- Engine: {},
- EngineModel: {},
- EngineAttributes: { shape: "S4" },
- EngineVersion: {},
- InstanceProfileArn: {},
- InstanceType: {},
- KeyPair: {},
- MaintenanceStatus: {},
- PreferredMaintenanceWindow: {},
- PreferredBackupWindow: {},
- SecurityGroupIds: { shape: "Sn" },
- ServiceRoleArn: {},
- Status: {},
- StatusReason: {},
- SubnetIds: { shape: "Sn" },
- ServerArn: {},
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 1986: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeHomeRegionControls: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 2007: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
- __webpack_require__(1371);
-
- AWS.util.update(AWS.DynamoDB.prototype, {
- /**
- * @api private
- */
- setupRequestListeners: function setupRequestListeners(request) {
- if (request.service.config.dynamoDbCrc32) {
- request.removeListener(
- "extractData",
- AWS.EventListeners.Json.EXTRACT_DATA
- );
- request.addListener("extractData", this.checkCrc32);
- request.addListener(
- "extractData",
- AWS.EventListeners.Json.EXTRACT_DATA
- );
- }
- },
-
- /**
- * @api private
- */
- checkCrc32: function checkCrc32(resp) {
- if (
- !resp.httpResponse.streaming &&
- !resp.request.service.crc32IsValid(resp)
- ) {
- resp.data = null;
- resp.error = AWS.util.error(new Error(), {
- code: "CRC32CheckFailed",
- message: "CRC32 integrity check failed",
- retryable: true,
- });
- resp.request.haltHandlersOnError();
- throw resp.error;
- }
- },
-
- /**
- * @api private
- */
- crc32IsValid: function crc32IsValid(resp) {
- var crc = resp.httpResponse.headers["x-amz-crc32"];
- if (!crc) return true; // no (valid) CRC32 header
- return (
- parseInt(crc, 10) === AWS.util.crypto.crc32(resp.httpResponse.body)
- );
- },
-
- /**
- * @api private
- */
- defaultRetryCount: 10,
-
- /**
- * @api private
- */
- retryDelays: function retryDelays(retryCount, err) {
- var retryDelayOptions = AWS.util.copy(this.config.retryDelayOptions);
-
- if (typeof retryDelayOptions.base !== "number") {
- retryDelayOptions.base = 50; // default for dynamodb
- }
- var delay = AWS.util.calculateRetryDelay(
- retryCount,
- retryDelayOptions,
- err
- );
- return delay;
- },
- });
-
- /***/
- },
-
- /***/ 2020: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5687);
- model.paginators = __webpack_require__(4725).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.ApiGatewayV2;
-
- /***/
- },
-
- /***/ 2028: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 2046: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 2053: /***/ function (module) {
- module.exports = {
- metadata: {
- apiVersion: "2017-06-07",
- endpointPrefix: "greengrass",
- signingName: "greengrass",
- serviceFullName: "AWS Greengrass",
- serviceId: "Greengrass",
- protocol: "rest-json",
- jsonVersion: "1.1",
- uid: "greengrass-2017-06-07",
- signatureVersion: "v4",
- },
- operations: {
- AssociateRoleToGroup: {
- http: {
- method: "PUT",
- requestUri: "/greengrass/groups/{GroupId}/role",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- GroupId: { location: "uri", locationName: "GroupId" },
- RoleArn: {},
- },
- required: ["GroupId", "RoleArn"],
- },
- output: { type: "structure", members: { AssociatedAt: {} } },
- },
- AssociateServiceRoleToAccount: {
- http: {
- method: "PUT",
- requestUri: "/greengrass/servicerole",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: { RoleArn: {} },
- required: ["RoleArn"],
- },
- output: { type: "structure", members: { AssociatedAt: {} } },
- },
- CreateConnectorDefinition: {
- http: {
- requestUri: "/greengrass/definition/connectors",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- InitialVersion: { shape: "S7" },
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- },
- },
- },
- CreateConnectorDefinitionVersion: {
- http: {
- requestUri:
- "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- ConnectorDefinitionId: {
- location: "uri",
- locationName: "ConnectorDefinitionId",
- },
- Connectors: { shape: "S8" },
- },
- required: ["ConnectorDefinitionId"],
- },
- output: {
- type: "structure",
- members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} },
- },
- },
- CreateCoreDefinition: {
- http: {
- requestUri: "/greengrass/definition/cores",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- InitialVersion: { shape: "Sg" },
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- },
- },
- },
- CreateCoreDefinitionVersion: {
- http: {
- requestUri:
- "/greengrass/definition/cores/{CoreDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- CoreDefinitionId: {
- location: "uri",
- locationName: "CoreDefinitionId",
- },
- Cores: { shape: "Sh" },
- },
- required: ["CoreDefinitionId"],
- },
- output: {
- type: "structure",
- members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} },
- },
- },
- CreateDeployment: {
- http: {
- requestUri: "/greengrass/groups/{GroupId}/deployments",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- DeploymentId: {},
- DeploymentType: {},
- GroupId: { location: "uri", locationName: "GroupId" },
- GroupVersionId: {},
- },
- required: ["GroupId", "DeploymentType"],
- },
- output: {
- type: "structure",
- members: { DeploymentArn: {}, DeploymentId: {} },
- },
- },
- CreateDeviceDefinition: {
- http: {
- requestUri: "/greengrass/definition/devices",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- InitialVersion: { shape: "Sr" },
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- },
- },
- },
- CreateDeviceDefinitionVersion: {
- http: {
- requestUri:
- "/greengrass/definition/devices/{DeviceDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- DeviceDefinitionId: {
- location: "uri",
- locationName: "DeviceDefinitionId",
- },
- Devices: { shape: "Ss" },
- },
- required: ["DeviceDefinitionId"],
- },
- output: {
- type: "structure",
- members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} },
- },
- },
- CreateFunctionDefinition: {
- http: {
- requestUri: "/greengrass/definition/functions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- InitialVersion: { shape: "Sy" },
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- },
- },
- },
- CreateFunctionDefinitionVersion: {
- http: {
- requestUri:
- "/greengrass/definition/functions/{FunctionDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- DefaultConfig: { shape: "Sz" },
- FunctionDefinitionId: {
- location: "uri",
- locationName: "FunctionDefinitionId",
- },
- Functions: { shape: "S14" },
- },
- required: ["FunctionDefinitionId"],
- },
- output: {
- type: "structure",
- members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} },
- },
- },
- CreateGroup: {
- http: { requestUri: "/greengrass/groups", responseCode: 200 },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- InitialVersion: { shape: "S1h" },
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- },
- },
- },
- CreateGroupCertificateAuthority: {
- http: {
- requestUri: "/greengrass/groups/{GroupId}/certificateauthorities",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- GroupId: { location: "uri", locationName: "GroupId" },
- },
- required: ["GroupId"],
- },
- output: {
- type: "structure",
- members: { GroupCertificateAuthorityArn: {} },
- },
- },
- CreateGroupVersion: {
- http: {
- requestUri: "/greengrass/groups/{GroupId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- ConnectorDefinitionVersionArn: {},
- CoreDefinitionVersionArn: {},
- DeviceDefinitionVersionArn: {},
- FunctionDefinitionVersionArn: {},
- GroupId: { location: "uri", locationName: "GroupId" },
- LoggerDefinitionVersionArn: {},
- ResourceDefinitionVersionArn: {},
- SubscriptionDefinitionVersionArn: {},
- },
- required: ["GroupId"],
- },
- output: {
- type: "structure",
- members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} },
- },
- },
- CreateLoggerDefinition: {
- http: {
- requestUri: "/greengrass/definition/loggers",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- InitialVersion: { shape: "S1o" },
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- },
- },
- },
- CreateLoggerDefinitionVersion: {
- http: {
- requestUri:
- "/greengrass/definition/loggers/{LoggerDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- LoggerDefinitionId: {
- location: "uri",
- locationName: "LoggerDefinitionId",
- },
- Loggers: { shape: "S1p" },
- },
- required: ["LoggerDefinitionId"],
- },
- output: {
- type: "structure",
- members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} },
- },
- },
- CreateResourceDefinition: {
- http: {
- requestUri: "/greengrass/definition/resources",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- InitialVersion: { shape: "S1y" },
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- },
- },
- },
- CreateResourceDefinitionVersion: {
- http: {
- requestUri:
- "/greengrass/definition/resources/{ResourceDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- ResourceDefinitionId: {
- location: "uri",
- locationName: "ResourceDefinitionId",
- },
- Resources: { shape: "S1z" },
- },
- required: ["ResourceDefinitionId"],
- },
- output: {
- type: "structure",
- members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} },
- },
- },
- CreateSoftwareUpdateJob: {
- http: { requestUri: "/greengrass/updates", responseCode: 200 },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- S3UrlSignerRole: {},
- SoftwareToUpdate: {},
- UpdateAgentLogLevel: {},
- UpdateTargets: { type: "list", member: {} },
- UpdateTargetsArchitecture: {},
- UpdateTargetsOperatingSystem: {},
- },
- required: [
- "S3UrlSignerRole",
- "UpdateTargetsArchitecture",
- "SoftwareToUpdate",
- "UpdateTargets",
- "UpdateTargetsOperatingSystem",
- ],
- },
- output: {
- type: "structure",
- members: {
- IotJobArn: {},
- IotJobId: {},
- PlatformSoftwareVersion: {},
- },
- },
- },
- CreateSubscriptionDefinition: {
- http: {
- requestUri: "/greengrass/definition/subscriptions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- InitialVersion: { shape: "S2m" },
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- },
- },
- },
- CreateSubscriptionDefinitionVersion: {
- http: {
- requestUri:
- "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- SubscriptionDefinitionId: {
- location: "uri",
- locationName: "SubscriptionDefinitionId",
- },
- Subscriptions: { shape: "S2n" },
- },
- required: ["SubscriptionDefinitionId"],
- },
- output: {
- type: "structure",
- members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} },
- },
- },
- DeleteConnectorDefinition: {
- http: {
- method: "DELETE",
- requestUri:
- "/greengrass/definition/connectors/{ConnectorDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConnectorDefinitionId: {
- location: "uri",
- locationName: "ConnectorDefinitionId",
- },
- },
- required: ["ConnectorDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- DeleteCoreDefinition: {
- http: {
- method: "DELETE",
- requestUri: "/greengrass/definition/cores/{CoreDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- CoreDefinitionId: {
- location: "uri",
- locationName: "CoreDefinitionId",
- },
- },
- required: ["CoreDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- DeleteDeviceDefinition: {
- http: {
- method: "DELETE",
- requestUri: "/greengrass/definition/devices/{DeviceDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeviceDefinitionId: {
- location: "uri",
- locationName: "DeviceDefinitionId",
- },
- },
- required: ["DeviceDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- DeleteFunctionDefinition: {
- http: {
- method: "DELETE",
- requestUri:
- "/greengrass/definition/functions/{FunctionDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- FunctionDefinitionId: {
- location: "uri",
- locationName: "FunctionDefinitionId",
- },
- },
- required: ["FunctionDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- DeleteGroup: {
- http: {
- method: "DELETE",
- requestUri: "/greengrass/groups/{GroupId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- GroupId: { location: "uri", locationName: "GroupId" },
- },
- required: ["GroupId"],
- },
- output: { type: "structure", members: {} },
- },
- DeleteLoggerDefinition: {
- http: {
- method: "DELETE",
- requestUri: "/greengrass/definition/loggers/{LoggerDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- LoggerDefinitionId: {
- location: "uri",
- locationName: "LoggerDefinitionId",
- },
- },
- required: ["LoggerDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- DeleteResourceDefinition: {
- http: {
- method: "DELETE",
- requestUri:
- "/greengrass/definition/resources/{ResourceDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ResourceDefinitionId: {
- location: "uri",
- locationName: "ResourceDefinitionId",
- },
- },
- required: ["ResourceDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- DeleteSubscriptionDefinition: {
- http: {
- method: "DELETE",
- requestUri:
- "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- SubscriptionDefinitionId: {
- location: "uri",
- locationName: "SubscriptionDefinitionId",
- },
- },
- required: ["SubscriptionDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- DisassociateRoleFromGroup: {
- http: {
- method: "DELETE",
- requestUri: "/greengrass/groups/{GroupId}/role",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- GroupId: { location: "uri", locationName: "GroupId" },
- },
- required: ["GroupId"],
- },
- output: { type: "structure", members: { DisassociatedAt: {} } },
- },
- DisassociateServiceRoleFromAccount: {
- http: {
- method: "DELETE",
- requestUri: "/greengrass/servicerole",
- responseCode: 200,
- },
- input: { type: "structure", members: {} },
- output: { type: "structure", members: { DisassociatedAt: {} } },
- },
- GetAssociatedRole: {
- http: {
- method: "GET",
- requestUri: "/greengrass/groups/{GroupId}/role",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- GroupId: { location: "uri", locationName: "GroupId" },
- },
- required: ["GroupId"],
- },
- output: {
- type: "structure",
- members: { AssociatedAt: {}, RoleArn: {} },
- },
- },
- GetBulkDeploymentStatus: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/bulk/deployments/{BulkDeploymentId}/status",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- BulkDeploymentId: {
- location: "uri",
- locationName: "BulkDeploymentId",
- },
- },
- required: ["BulkDeploymentId"],
- },
- output: {
- type: "structure",
- members: {
- BulkDeploymentMetrics: {
- type: "structure",
- members: {
- InvalidInputRecords: { type: "integer" },
- RecordsProcessed: { type: "integer" },
- RetryAttempts: { type: "integer" },
- },
- },
- BulkDeploymentStatus: {},
- CreatedAt: {},
- ErrorDetails: { shape: "S3i" },
- ErrorMessage: {},
- tags: { shape: "Sb" },
- },
- },
- },
- GetConnectivityInfo: {
- http: {
- method: "GET",
- requestUri: "/greengrass/things/{ThingName}/connectivityInfo",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ThingName: { location: "uri", locationName: "ThingName" },
- },
- required: ["ThingName"],
- },
- output: {
- type: "structure",
- members: {
- ConnectivityInfo: { shape: "S3m" },
- Message: { locationName: "message" },
- },
- },
- },
- GetConnectorDefinition: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/connectors/{ConnectorDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConnectorDefinitionId: {
- location: "uri",
- locationName: "ConnectorDefinitionId",
- },
- },
- required: ["ConnectorDefinitionId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- },
- GetConnectorDefinitionVersion: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions/{ConnectorDefinitionVersionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConnectorDefinitionId: {
- location: "uri",
- locationName: "ConnectorDefinitionId",
- },
- ConnectorDefinitionVersionId: {
- location: "uri",
- locationName: "ConnectorDefinitionVersionId",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- required: [
- "ConnectorDefinitionId",
- "ConnectorDefinitionVersionId",
- ],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Definition: { shape: "S7" },
- Id: {},
- NextToken: {},
- Version: {},
- },
- },
- },
- GetCoreDefinition: {
- http: {
- method: "GET",
- requestUri: "/greengrass/definition/cores/{CoreDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- CoreDefinitionId: {
- location: "uri",
- locationName: "CoreDefinitionId",
- },
- },
- required: ["CoreDefinitionId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- },
- GetCoreDefinitionVersion: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/cores/{CoreDefinitionId}/versions/{CoreDefinitionVersionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- CoreDefinitionId: {
- location: "uri",
- locationName: "CoreDefinitionId",
- },
- CoreDefinitionVersionId: {
- location: "uri",
- locationName: "CoreDefinitionVersionId",
- },
- },
- required: ["CoreDefinitionId", "CoreDefinitionVersionId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Definition: { shape: "Sg" },
- Id: {},
- NextToken: {},
- Version: {},
- },
- },
- },
- GetDeploymentStatus: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/groups/{GroupId}/deployments/{DeploymentId}/status",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeploymentId: { location: "uri", locationName: "DeploymentId" },
- GroupId: { location: "uri", locationName: "GroupId" },
- },
- required: ["GroupId", "DeploymentId"],
- },
- output: {
- type: "structure",
- members: {
- DeploymentStatus: {},
- DeploymentType: {},
- ErrorDetails: { shape: "S3i" },
- ErrorMessage: {},
- UpdatedAt: {},
- },
- },
- },
- GetDeviceDefinition: {
- http: {
- method: "GET",
- requestUri: "/greengrass/definition/devices/{DeviceDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeviceDefinitionId: {
- location: "uri",
- locationName: "DeviceDefinitionId",
- },
- },
- required: ["DeviceDefinitionId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- },
- GetDeviceDefinitionVersion: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/devices/{DeviceDefinitionId}/versions/{DeviceDefinitionVersionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeviceDefinitionId: {
- location: "uri",
- locationName: "DeviceDefinitionId",
- },
- DeviceDefinitionVersionId: {
- location: "uri",
- locationName: "DeviceDefinitionVersionId",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- required: ["DeviceDefinitionVersionId", "DeviceDefinitionId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Definition: { shape: "Sr" },
- Id: {},
- NextToken: {},
- Version: {},
- },
- },
- },
- GetFunctionDefinition: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/functions/{FunctionDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- FunctionDefinitionId: {
- location: "uri",
- locationName: "FunctionDefinitionId",
- },
- },
- required: ["FunctionDefinitionId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- },
- GetFunctionDefinitionVersion: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/functions/{FunctionDefinitionId}/versions/{FunctionDefinitionVersionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- FunctionDefinitionId: {
- location: "uri",
- locationName: "FunctionDefinitionId",
- },
- FunctionDefinitionVersionId: {
- location: "uri",
- locationName: "FunctionDefinitionVersionId",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- required: ["FunctionDefinitionId", "FunctionDefinitionVersionId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Definition: { shape: "Sy" },
- Id: {},
- NextToken: {},
- Version: {},
- },
- },
- },
- GetGroup: {
- http: {
- method: "GET",
- requestUri: "/greengrass/groups/{GroupId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- GroupId: { location: "uri", locationName: "GroupId" },
- },
- required: ["GroupId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- },
- GetGroupCertificateAuthority: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/groups/{GroupId}/certificateauthorities/{CertificateAuthorityId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- CertificateAuthorityId: {
- location: "uri",
- locationName: "CertificateAuthorityId",
- },
- GroupId: { location: "uri", locationName: "GroupId" },
- },
- required: ["CertificateAuthorityId", "GroupId"],
- },
- output: {
- type: "structure",
- members: {
- GroupCertificateAuthorityArn: {},
- GroupCertificateAuthorityId: {},
- PemEncodedCertificate: {},
- },
- },
- },
- GetGroupCertificateConfiguration: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- GroupId: { location: "uri", locationName: "GroupId" },
- },
- required: ["GroupId"],
- },
- output: {
- type: "structure",
- members: {
- CertificateAuthorityExpiryInMilliseconds: {},
- CertificateExpiryInMilliseconds: {},
- GroupId: {},
- },
- },
- },
- GetGroupVersion: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/groups/{GroupId}/versions/{GroupVersionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- GroupId: { location: "uri", locationName: "GroupId" },
- GroupVersionId: {
- location: "uri",
- locationName: "GroupVersionId",
- },
- },
- required: ["GroupVersionId", "GroupId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Definition: { shape: "S1h" },
- Id: {},
- Version: {},
- },
- },
- },
- GetLoggerDefinition: {
- http: {
- method: "GET",
- requestUri: "/greengrass/definition/loggers/{LoggerDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- LoggerDefinitionId: {
- location: "uri",
- locationName: "LoggerDefinitionId",
- },
- },
- required: ["LoggerDefinitionId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- },
- GetLoggerDefinitionVersion: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/loggers/{LoggerDefinitionId}/versions/{LoggerDefinitionVersionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- LoggerDefinitionId: {
- location: "uri",
- locationName: "LoggerDefinitionId",
- },
- LoggerDefinitionVersionId: {
- location: "uri",
- locationName: "LoggerDefinitionVersionId",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- required: ["LoggerDefinitionVersionId", "LoggerDefinitionId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Definition: { shape: "S1o" },
- Id: {},
- Version: {},
- },
- },
- },
- GetResourceDefinition: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/resources/{ResourceDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ResourceDefinitionId: {
- location: "uri",
- locationName: "ResourceDefinitionId",
- },
- },
- required: ["ResourceDefinitionId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- },
- GetResourceDefinitionVersion: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/resources/{ResourceDefinitionId}/versions/{ResourceDefinitionVersionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ResourceDefinitionId: {
- location: "uri",
- locationName: "ResourceDefinitionId",
- },
- ResourceDefinitionVersionId: {
- location: "uri",
- locationName: "ResourceDefinitionVersionId",
- },
- },
- required: ["ResourceDefinitionVersionId", "ResourceDefinitionId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Definition: { shape: "S1y" },
- Id: {},
- Version: {},
- },
- },
- },
- GetServiceRoleForAccount: {
- http: {
- method: "GET",
- requestUri: "/greengrass/servicerole",
- responseCode: 200,
- },
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: { AssociatedAt: {}, RoleArn: {} },
- },
- },
- GetSubscriptionDefinition: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- SubscriptionDefinitionId: {
- location: "uri",
- locationName: "SubscriptionDefinitionId",
- },
- },
- required: ["SubscriptionDefinitionId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- tags: { shape: "Sb" },
- },
- },
- },
- GetSubscriptionDefinitionVersion: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions/{SubscriptionDefinitionVersionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- SubscriptionDefinitionId: {
- location: "uri",
- locationName: "SubscriptionDefinitionId",
- },
- SubscriptionDefinitionVersionId: {
- location: "uri",
- locationName: "SubscriptionDefinitionVersionId",
- },
- },
- required: [
- "SubscriptionDefinitionId",
- "SubscriptionDefinitionVersionId",
- ],
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Definition: { shape: "S2m" },
- Id: {},
- NextToken: {},
- Version: {},
- },
- },
- },
- ListBulkDeploymentDetailedReports: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/bulk/deployments/{BulkDeploymentId}/detailed-reports",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- BulkDeploymentId: {
- location: "uri",
- locationName: "BulkDeploymentId",
- },
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- required: ["BulkDeploymentId"],
- },
- output: {
- type: "structure",
- members: {
- Deployments: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CreatedAt: {},
- DeploymentArn: {},
- DeploymentId: {},
- DeploymentStatus: {},
- DeploymentType: {},
- ErrorDetails: { shape: "S3i" },
- ErrorMessage: {},
- GroupArn: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListBulkDeployments: {
- http: {
- method: "GET",
- requestUri: "/greengrass/bulk/deployments",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- BulkDeployments: {
- type: "list",
- member: {
- type: "structure",
- members: {
- BulkDeploymentArn: {},
- BulkDeploymentId: {},
- CreatedAt: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListConnectorDefinitionVersions: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConnectorDefinitionId: {
- location: "uri",
- locationName: "ConnectorDefinitionId",
- },
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- required: ["ConnectorDefinitionId"],
- },
- output: {
- type: "structure",
- members: { NextToken: {}, Versions: { shape: "S52" } },
- },
- },
- ListConnectorDefinitions: {
- http: {
- method: "GET",
- requestUri: "/greengrass/definition/connectors",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: { Definitions: { shape: "S56" }, NextToken: {} },
- },
- },
- ListCoreDefinitionVersions: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/cores/{CoreDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- CoreDefinitionId: {
- location: "uri",
- locationName: "CoreDefinitionId",
- },
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- required: ["CoreDefinitionId"],
- },
- output: {
- type: "structure",
- members: { NextToken: {}, Versions: { shape: "S52" } },
- },
- },
- ListCoreDefinitions: {
- http: {
- method: "GET",
- requestUri: "/greengrass/definition/cores",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: { Definitions: { shape: "S56" }, NextToken: {} },
- },
- },
- ListDeployments: {
- http: {
- method: "GET",
- requestUri: "/greengrass/groups/{GroupId}/deployments",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- GroupId: { location: "uri", locationName: "GroupId" },
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- required: ["GroupId"],
- },
- output: {
- type: "structure",
- members: {
- Deployments: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CreatedAt: {},
- DeploymentArn: {},
- DeploymentId: {},
- DeploymentType: {},
- GroupArn: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListDeviceDefinitionVersions: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/devices/{DeviceDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeviceDefinitionId: {
- location: "uri",
- locationName: "DeviceDefinitionId",
- },
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- required: ["DeviceDefinitionId"],
- },
- output: {
- type: "structure",
- members: { NextToken: {}, Versions: { shape: "S52" } },
- },
- },
- ListDeviceDefinitions: {
- http: {
- method: "GET",
- requestUri: "/greengrass/definition/devices",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: { Definitions: { shape: "S56" }, NextToken: {} },
- },
- },
- ListFunctionDefinitionVersions: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/functions/{FunctionDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- FunctionDefinitionId: {
- location: "uri",
- locationName: "FunctionDefinitionId",
- },
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- required: ["FunctionDefinitionId"],
- },
- output: {
- type: "structure",
- members: { NextToken: {}, Versions: { shape: "S52" } },
- },
- },
- ListFunctionDefinitions: {
- http: {
- method: "GET",
- requestUri: "/greengrass/definition/functions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: { Definitions: { shape: "S56" }, NextToken: {} },
- },
- },
- ListGroupCertificateAuthorities: {
- http: {
- method: "GET",
- requestUri: "/greengrass/groups/{GroupId}/certificateauthorities",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- GroupId: { location: "uri", locationName: "GroupId" },
- },
- required: ["GroupId"],
- },
- output: {
- type: "structure",
- members: {
- GroupCertificateAuthorities: {
- type: "list",
- member: {
- type: "structure",
- members: {
- GroupCertificateAuthorityArn: {},
- GroupCertificateAuthorityId: {},
- },
- },
- },
- },
- },
- },
- ListGroupVersions: {
- http: {
- method: "GET",
- requestUri: "/greengrass/groups/{GroupId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- GroupId: { location: "uri", locationName: "GroupId" },
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- required: ["GroupId"],
- },
- output: {
- type: "structure",
- members: { NextToken: {}, Versions: { shape: "S52" } },
- },
- },
- ListGroups: {
- http: {
- method: "GET",
- requestUri: "/greengrass/groups",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Groups: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListLoggerDefinitionVersions: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/loggers/{LoggerDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- LoggerDefinitionId: {
- location: "uri",
- locationName: "LoggerDefinitionId",
- },
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- required: ["LoggerDefinitionId"],
- },
- output: {
- type: "structure",
- members: { NextToken: {}, Versions: { shape: "S52" } },
- },
- },
- ListLoggerDefinitions: {
- http: {
- method: "GET",
- requestUri: "/greengrass/definition/loggers",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: { Definitions: { shape: "S56" }, NextToken: {} },
- },
- },
- ListResourceDefinitionVersions: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/resources/{ResourceDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- ResourceDefinitionId: {
- location: "uri",
- locationName: "ResourceDefinitionId",
- },
- },
- required: ["ResourceDefinitionId"],
- },
- output: {
- type: "structure",
- members: { NextToken: {}, Versions: { shape: "S52" } },
- },
- },
- ListResourceDefinitions: {
- http: {
- method: "GET",
- requestUri: "/greengrass/definition/resources",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: { Definitions: { shape: "S56" }, NextToken: {} },
- },
- },
- ListSubscriptionDefinitionVersions: {
- http: {
- method: "GET",
- requestUri:
- "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- SubscriptionDefinitionId: {
- location: "uri",
- locationName: "SubscriptionDefinitionId",
- },
- },
- required: ["SubscriptionDefinitionId"],
- },
- output: {
- type: "structure",
- members: { NextToken: {}, Versions: { shape: "S52" } },
- },
- },
- ListSubscriptionDefinitions: {
- http: {
- method: "GET",
- requestUri: "/greengrass/definition/subscriptions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: { Definitions: { shape: "S56" }, NextToken: {} },
- },
- },
- ListTagsForResource: {
- http: {
- method: "GET",
- requestUri: "/tags/{resource-arn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- },
- required: ["ResourceArn"],
- },
- output: { type: "structure", members: { tags: { shape: "Sb" } } },
- },
- ResetDeployments: {
- http: {
- requestUri: "/greengrass/groups/{GroupId}/deployments/$reset",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- Force: { type: "boolean" },
- GroupId: { location: "uri", locationName: "GroupId" },
- },
- required: ["GroupId"],
- },
- output: {
- type: "structure",
- members: { DeploymentArn: {}, DeploymentId: {} },
- },
- },
- StartBulkDeployment: {
- http: {
- requestUri: "/greengrass/bulk/deployments",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AmznClientToken: {
- location: "header",
- locationName: "X-Amzn-Client-Token",
- },
- ExecutionRoleArn: {},
- InputFileUri: {},
- tags: { shape: "Sb" },
- },
- required: ["ExecutionRoleArn", "InputFileUri"],
- },
- output: {
- type: "structure",
- members: { BulkDeploymentArn: {}, BulkDeploymentId: {} },
- },
- },
- StopBulkDeployment: {
- http: {
- method: "PUT",
- requestUri:
- "/greengrass/bulk/deployments/{BulkDeploymentId}/$stop",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- BulkDeploymentId: {
- location: "uri",
- locationName: "BulkDeploymentId",
- },
- },
- required: ["BulkDeploymentId"],
- },
- output: { type: "structure", members: {} },
- },
- TagResource: {
- http: { requestUri: "/tags/{resource-arn}", responseCode: 204 },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- tags: { shape: "Sb" },
- },
- required: ["ResourceArn"],
- },
- },
- UntagResource: {
- http: {
- method: "DELETE",
- requestUri: "/tags/{resource-arn}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- TagKeys: {
- shape: "S29",
- location: "querystring",
- locationName: "tagKeys",
- },
- },
- required: ["TagKeys", "ResourceArn"],
- },
- },
- UpdateConnectivityInfo: {
- http: {
- method: "PUT",
- requestUri: "/greengrass/things/{ThingName}/connectivityInfo",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConnectivityInfo: { shape: "S3m" },
- ThingName: { location: "uri", locationName: "ThingName" },
- },
- required: ["ThingName"],
- },
- output: {
- type: "structure",
- members: { Message: { locationName: "message" }, Version: {} },
- },
- },
- UpdateConnectorDefinition: {
- http: {
- method: "PUT",
- requestUri:
- "/greengrass/definition/connectors/{ConnectorDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConnectorDefinitionId: {
- location: "uri",
- locationName: "ConnectorDefinitionId",
- },
- Name: {},
- },
- required: ["ConnectorDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- UpdateCoreDefinition: {
- http: {
- method: "PUT",
- requestUri: "/greengrass/definition/cores/{CoreDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- CoreDefinitionId: {
- location: "uri",
- locationName: "CoreDefinitionId",
- },
- Name: {},
- },
- required: ["CoreDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- UpdateDeviceDefinition: {
- http: {
- method: "PUT",
- requestUri: "/greengrass/definition/devices/{DeviceDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeviceDefinitionId: {
- location: "uri",
- locationName: "DeviceDefinitionId",
- },
- Name: {},
- },
- required: ["DeviceDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- UpdateFunctionDefinition: {
- http: {
- method: "PUT",
- requestUri:
- "/greengrass/definition/functions/{FunctionDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- FunctionDefinitionId: {
- location: "uri",
- locationName: "FunctionDefinitionId",
- },
- Name: {},
- },
- required: ["FunctionDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- UpdateGroup: {
- http: {
- method: "PUT",
- requestUri: "/greengrass/groups/{GroupId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- GroupId: { location: "uri", locationName: "GroupId" },
- Name: {},
- },
- required: ["GroupId"],
- },
- output: { type: "structure", members: {} },
- },
- UpdateGroupCertificateConfiguration: {
- http: {
- method: "PUT",
- requestUri:
- "/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- CertificateExpiryInMilliseconds: {},
- GroupId: { location: "uri", locationName: "GroupId" },
- },
- required: ["GroupId"],
- },
- output: {
- type: "structure",
- members: {
- CertificateAuthorityExpiryInMilliseconds: {},
- CertificateExpiryInMilliseconds: {},
- GroupId: {},
- },
- },
- },
- UpdateLoggerDefinition: {
- http: {
- method: "PUT",
- requestUri: "/greengrass/definition/loggers/{LoggerDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- LoggerDefinitionId: {
- location: "uri",
- locationName: "LoggerDefinitionId",
- },
- Name: {},
- },
- required: ["LoggerDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- UpdateResourceDefinition: {
- http: {
- method: "PUT",
- requestUri:
- "/greengrass/definition/resources/{ResourceDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Name: {},
- ResourceDefinitionId: {
- location: "uri",
- locationName: "ResourceDefinitionId",
- },
- },
- required: ["ResourceDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- UpdateSubscriptionDefinition: {
- http: {
- method: "PUT",
- requestUri:
- "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Name: {},
- SubscriptionDefinitionId: {
- location: "uri",
- locationName: "SubscriptionDefinitionId",
- },
- },
- required: ["SubscriptionDefinitionId"],
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S7: { type: "structure", members: { Connectors: { shape: "S8" } } },
- S8: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ConnectorArn: {},
- Id: {},
- Parameters: { shape: "Sa" },
- },
- required: ["ConnectorArn", "Id"],
- },
- },
- Sa: { type: "map", key: {}, value: {} },
- Sb: { type: "map", key: {}, value: {} },
- Sg: { type: "structure", members: { Cores: { shape: "Sh" } } },
- Sh: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CertificateArn: {},
- Id: {},
- SyncShadow: { type: "boolean" },
- ThingArn: {},
- },
- required: ["ThingArn", "Id", "CertificateArn"],
- },
- },
- Sr: { type: "structure", members: { Devices: { shape: "Ss" } } },
- Ss: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CertificateArn: {},
- Id: {},
- SyncShadow: { type: "boolean" },
- ThingArn: {},
- },
- required: ["ThingArn", "Id", "CertificateArn"],
- },
- },
- Sy: {
- type: "structure",
- members: {
- DefaultConfig: { shape: "Sz" },
- Functions: { shape: "S14" },
- },
- },
- Sz: {
- type: "structure",
- members: {
- Execution: {
- type: "structure",
- members: { IsolationMode: {}, RunAs: { shape: "S12" } },
- },
- },
- },
- S12: {
- type: "structure",
- members: { Gid: { type: "integer" }, Uid: { type: "integer" } },
- },
- S14: {
- type: "list",
- member: {
- type: "structure",
- members: {
- FunctionArn: {},
- FunctionConfiguration: {
- type: "structure",
- members: {
- EncodingType: {},
- Environment: {
- type: "structure",
- members: {
- AccessSysfs: { type: "boolean" },
- Execution: {
- type: "structure",
- members: {
- IsolationMode: {},
- RunAs: { shape: "S12" },
- },
- },
- ResourceAccessPolicies: {
- type: "list",
- member: {
- type: "structure",
- members: { Permission: {}, ResourceId: {} },
- required: ["ResourceId"],
- },
- },
- Variables: { shape: "Sa" },
- },
- },
- ExecArgs: {},
- Executable: {},
- MemorySize: { type: "integer" },
- Pinned: { type: "boolean" },
- Timeout: { type: "integer" },
- },
- },
- Id: {},
- },
- required: ["Id"],
- },
- },
- S1h: {
- type: "structure",
- members: {
- ConnectorDefinitionVersionArn: {},
- CoreDefinitionVersionArn: {},
- DeviceDefinitionVersionArn: {},
- FunctionDefinitionVersionArn: {},
- LoggerDefinitionVersionArn: {},
- ResourceDefinitionVersionArn: {},
- SubscriptionDefinitionVersionArn: {},
- },
- },
- S1o: { type: "structure", members: { Loggers: { shape: "S1p" } } },
- S1p: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Component: {},
- Id: {},
- Level: {},
- Space: { type: "integer" },
- Type: {},
- },
- required: ["Type", "Level", "Id", "Component"],
- },
- },
- S1y: { type: "structure", members: { Resources: { shape: "S1z" } } },
- S1z: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- ResourceDataContainer: {
- type: "structure",
- members: {
- LocalDeviceResourceData: {
- type: "structure",
- members: {
- GroupOwnerSetting: { shape: "S23" },
- SourcePath: {},
- },
- },
- LocalVolumeResourceData: {
- type: "structure",
- members: {
- DestinationPath: {},
- GroupOwnerSetting: { shape: "S23" },
- SourcePath: {},
- },
- },
- S3MachineLearningModelResourceData: {
- type: "structure",
- members: {
- DestinationPath: {},
- OwnerSetting: { shape: "S26" },
- S3Uri: {},
- },
- },
- SageMakerMachineLearningModelResourceData: {
- type: "structure",
- members: {
- DestinationPath: {},
- OwnerSetting: { shape: "S26" },
- SageMakerJobArn: {},
- },
- },
- SecretsManagerSecretResourceData: {
- type: "structure",
- members: {
- ARN: {},
- AdditionalStagingLabelsToDownload: { shape: "S29" },
- },
- },
- },
- },
- },
- required: ["ResourceDataContainer", "Id", "Name"],
- },
- },
- S23: {
- type: "structure",
- members: { AutoAddGroupOwner: { type: "boolean" }, GroupOwner: {} },
- },
- S26: {
- type: "structure",
- members: { GroupOwner: {}, GroupPermission: {} },
- required: ["GroupOwner", "GroupPermission"],
- },
- S29: { type: "list", member: {} },
- S2m: {
- type: "structure",
- members: { Subscriptions: { shape: "S2n" } },
- },
- S2n: {
- type: "list",
- member: {
- type: "structure",
- members: { Id: {}, Source: {}, Subject: {}, Target: {} },
- required: ["Target", "Id", "Subject", "Source"],
- },
- },
- S3i: {
- type: "list",
- member: {
- type: "structure",
- members: { DetailedErrorCode: {}, DetailedErrorMessage: {} },
- },
- },
- S3m: {
- type: "list",
- member: {
- type: "structure",
- members: {
- HostAddress: {},
- Id: {},
- Metadata: {},
- PortNumber: { type: "integer" },
- },
- },
- },
- S52: {
- type: "list",
- member: {
- type: "structure",
- members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} },
- },
- },
- S56: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- CreationTimestamp: {},
- Id: {},
- LastUpdatedTimestamp: {},
- LatestVersion: {},
- LatestVersionArn: {},
- Name: {},
- Tags: { shape: "Sb", locationName: "tags" },
- },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2077: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 2087: /***/ function (module) {
- module.exports = require("os");
-
- /***/
- },
-
- /***/ 2091: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-08-20",
- endpointPrefix: "s3-control",
- protocol: "rest-xml",
- serviceFullName: "AWS S3 Control",
- serviceId: "S3 Control",
- signatureVersion: "s3v4",
- signingName: "s3",
- uid: "s3control-2018-08-20",
- },
- operations: {
- CreateAccessPoint: {
- http: {
- method: "PUT",
- requestUri: "/v20180820/accesspoint/{name}",
- },
- input: {
- locationName: "CreateAccessPointRequest",
- xmlNamespace: {
- uri: "http://awss3control.amazonaws.com/doc/2018-08-20/",
- },
- type: "structure",
- required: ["AccountId", "Name", "Bucket"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- Name: { location: "uri", locationName: "name" },
- Bucket: {},
- VpcConfiguration: { shape: "S5" },
- PublicAccessBlockConfiguration: { shape: "S7" },
- },
- },
- },
- CreateJob: {
- http: { requestUri: "/v20180820/jobs" },
- input: {
- locationName: "CreateJobRequest",
- xmlNamespace: {
- uri: "http://awss3control.amazonaws.com/doc/2018-08-20/",
- },
- type: "structure",
- required: [
- "AccountId",
- "Operation",
- "Report",
- "ClientRequestToken",
- "Manifest",
- "Priority",
- "RoleArn",
- ],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- ConfirmationRequired: { type: "boolean" },
- Operation: { shape: "Sb" },
- Report: { shape: "S19" },
- ClientRequestToken: { idempotencyToken: true },
- Manifest: { shape: "S1e" },
- Description: {},
- Priority: { type: "integer" },
- RoleArn: {},
- Tags: { shape: "Su" },
- },
- },
- output: { type: "structure", members: { JobId: {} } },
- },
- DeleteAccessPoint: {
- http: {
- method: "DELETE",
- requestUri: "/v20180820/accesspoint/{name}",
- },
- input: {
- type: "structure",
- required: ["AccountId", "Name"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- Name: { location: "uri", locationName: "name" },
- },
- },
- },
- DeleteAccessPointPolicy: {
- http: {
- method: "DELETE",
- requestUri: "/v20180820/accesspoint/{name}/policy",
- },
- input: {
- type: "structure",
- required: ["AccountId", "Name"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- Name: { location: "uri", locationName: "name" },
- },
- },
- },
- DeleteJobTagging: {
- http: {
- method: "DELETE",
- requestUri: "/v20180820/jobs/{id}/tagging",
- },
- input: {
- type: "structure",
- required: ["AccountId", "JobId"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- JobId: { location: "uri", locationName: "id" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeletePublicAccessBlock: {
- http: {
- method: "DELETE",
- requestUri: "/v20180820/configuration/publicAccessBlock",
- },
- input: {
- type: "structure",
- required: ["AccountId"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- },
- },
- },
- DescribeJob: {
- http: { method: "GET", requestUri: "/v20180820/jobs/{id}" },
- input: {
- type: "structure",
- required: ["AccountId", "JobId"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- JobId: { location: "uri", locationName: "id" },
- },
- },
- output: {
- type: "structure",
- members: {
- Job: {
- type: "structure",
- members: {
- JobId: {},
- ConfirmationRequired: { type: "boolean" },
- Description: {},
- JobArn: {},
- Status: {},
- Manifest: { shape: "S1e" },
- Operation: { shape: "Sb" },
- Priority: { type: "integer" },
- ProgressSummary: { shape: "S21" },
- StatusUpdateReason: {},
- FailureReasons: {
- type: "list",
- member: {
- type: "structure",
- members: { FailureCode: {}, FailureReason: {} },
- },
- },
- Report: { shape: "S19" },
- CreationTime: { type: "timestamp" },
- TerminationDate: { type: "timestamp" },
- RoleArn: {},
- SuspendedDate: { type: "timestamp" },
- SuspendedCause: {},
- },
- },
- },
- },
- },
- GetAccessPoint: {
- http: {
- method: "GET",
- requestUri: "/v20180820/accesspoint/{name}",
- },
- input: {
- type: "structure",
- required: ["AccountId", "Name"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- Name: { location: "uri", locationName: "name" },
- },
- },
- output: {
- type: "structure",
- members: {
- Name: {},
- Bucket: {},
- NetworkOrigin: {},
- VpcConfiguration: { shape: "S5" },
- PublicAccessBlockConfiguration: { shape: "S7" },
- CreationDate: { type: "timestamp" },
- },
- },
- },
- GetAccessPointPolicy: {
- http: {
- method: "GET",
- requestUri: "/v20180820/accesspoint/{name}/policy",
- },
- input: {
- type: "structure",
- required: ["AccountId", "Name"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- Name: { location: "uri", locationName: "name" },
- },
- },
- output: { type: "structure", members: { Policy: {} } },
- },
- GetAccessPointPolicyStatus: {
- http: {
- method: "GET",
- requestUri: "/v20180820/accesspoint/{name}/policyStatus",
- },
- input: {
- type: "structure",
- required: ["AccountId", "Name"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- Name: { location: "uri", locationName: "name" },
- },
- },
- output: {
- type: "structure",
- members: {
- PolicyStatus: {
- type: "structure",
- members: {
- IsPublic: { locationName: "IsPublic", type: "boolean" },
- },
- },
- },
- },
- },
- GetJobTagging: {
- http: { method: "GET", requestUri: "/v20180820/jobs/{id}/tagging" },
- input: {
- type: "structure",
- required: ["AccountId", "JobId"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- JobId: { location: "uri", locationName: "id" },
- },
- },
- output: { type: "structure", members: { Tags: { shape: "Su" } } },
- },
- GetPublicAccessBlock: {
- http: {
- method: "GET",
- requestUri: "/v20180820/configuration/publicAccessBlock",
- },
- input: {
- type: "structure",
- required: ["AccountId"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- },
- },
- output: {
- type: "structure",
- members: { PublicAccessBlockConfiguration: { shape: "S7" } },
- payload: "PublicAccessBlockConfiguration",
- },
- },
- ListAccessPoints: {
- http: { method: "GET", requestUri: "/v20180820/accesspoint" },
- input: {
- type: "structure",
- required: ["AccountId"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- Bucket: { location: "querystring", locationName: "bucket" },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- AccessPointList: {
- type: "list",
- member: {
- locationName: "AccessPoint",
- type: "structure",
- required: ["Name", "NetworkOrigin", "Bucket"],
- members: {
- Name: {},
- NetworkOrigin: {},
- VpcConfiguration: { shape: "S5" },
- Bucket: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListJobs: {
- http: { method: "GET", requestUri: "/v20180820/jobs" },
- input: {
- type: "structure",
- required: ["AccountId"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- JobStatuses: {
- location: "querystring",
- locationName: "jobStatuses",
- type: "list",
- member: {},
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- Jobs: {
- type: "list",
- member: {
- type: "structure",
- members: {
- JobId: {},
- Description: {},
- Operation: {},
- Priority: { type: "integer" },
- Status: {},
- CreationTime: { type: "timestamp" },
- TerminationDate: { type: "timestamp" },
- ProgressSummary: { shape: "S21" },
- },
- },
- },
- },
- },
- },
- PutAccessPointPolicy: {
- http: {
- method: "PUT",
- requestUri: "/v20180820/accesspoint/{name}/policy",
- },
- input: {
- locationName: "PutAccessPointPolicyRequest",
- xmlNamespace: {
- uri: "http://awss3control.amazonaws.com/doc/2018-08-20/",
- },
- type: "structure",
- required: ["AccountId", "Name", "Policy"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- Name: { location: "uri", locationName: "name" },
- Policy: {},
- },
- },
- },
- PutJobTagging: {
- http: { method: "PUT", requestUri: "/v20180820/jobs/{id}/tagging" },
- input: {
- locationName: "PutJobTaggingRequest",
- xmlNamespace: {
- uri: "http://awss3control.amazonaws.com/doc/2018-08-20/",
- },
- type: "structure",
- required: ["AccountId", "JobId", "Tags"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- JobId: { location: "uri", locationName: "id" },
- Tags: { shape: "Su" },
- },
- },
- output: { type: "structure", members: {} },
- },
- PutPublicAccessBlock: {
- http: {
- method: "PUT",
- requestUri: "/v20180820/configuration/publicAccessBlock",
- },
- input: {
- type: "structure",
- required: ["PublicAccessBlockConfiguration", "AccountId"],
- members: {
- PublicAccessBlockConfiguration: {
- shape: "S7",
- locationName: "PublicAccessBlockConfiguration",
- xmlNamespace: {
- uri: "http://awss3control.amazonaws.com/doc/2018-08-20/",
- },
- },
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- },
- payload: "PublicAccessBlockConfiguration",
- },
- },
- UpdateJobPriority: {
- http: { requestUri: "/v20180820/jobs/{id}/priority" },
- input: {
- type: "structure",
- required: ["AccountId", "JobId", "Priority"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- JobId: { location: "uri", locationName: "id" },
- Priority: {
- location: "querystring",
- locationName: "priority",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- required: ["JobId", "Priority"],
- members: { JobId: {}, Priority: { type: "integer" } },
- },
- },
- UpdateJobStatus: {
- http: { requestUri: "/v20180820/jobs/{id}/status" },
- input: {
- type: "structure",
- required: ["AccountId", "JobId", "RequestedJobStatus"],
- members: {
- AccountId: {
- location: "header",
- locationName: "x-amz-account-id",
- },
- JobId: { location: "uri", locationName: "id" },
- RequestedJobStatus: {
- location: "querystring",
- locationName: "requestedJobStatus",
- },
- StatusUpdateReason: {
- location: "querystring",
- locationName: "statusUpdateReason",
- },
- },
- },
- output: {
- type: "structure",
- members: { JobId: {}, Status: {}, StatusUpdateReason: {} },
- },
- },
- },
- shapes: {
- S5: {
- type: "structure",
- required: ["VpcId"],
- members: { VpcId: {} },
- },
- S7: {
- type: "structure",
- members: {
- BlockPublicAcls: {
- locationName: "BlockPublicAcls",
- type: "boolean",
- },
- IgnorePublicAcls: {
- locationName: "IgnorePublicAcls",
- type: "boolean",
- },
- BlockPublicPolicy: {
- locationName: "BlockPublicPolicy",
- type: "boolean",
- },
- RestrictPublicBuckets: {
- locationName: "RestrictPublicBuckets",
- type: "boolean",
- },
- },
- },
- Sb: {
- type: "structure",
- members: {
- LambdaInvoke: { type: "structure", members: { FunctionArn: {} } },
- S3PutObjectCopy: {
- type: "structure",
- members: {
- TargetResource: {},
- CannedAccessControlList: {},
- AccessControlGrants: { shape: "Sh" },
- MetadataDirective: {},
- ModifiedSinceConstraint: { type: "timestamp" },
- NewObjectMetadata: {
- type: "structure",
- members: {
- CacheControl: {},
- ContentDisposition: {},
- ContentEncoding: {},
- ContentLanguage: {},
- UserMetadata: { type: "map", key: {}, value: {} },
- ContentLength: { type: "long" },
- ContentMD5: {},
- ContentType: {},
- HttpExpiresDate: { type: "timestamp" },
- RequesterCharged: { type: "boolean" },
- SSEAlgorithm: {},
- },
- },
- NewObjectTagging: { shape: "Su" },
- RedirectLocation: {},
- RequesterPays: { type: "boolean" },
- StorageClass: {},
- UnModifiedSinceConstraint: { type: "timestamp" },
- SSEAwsKmsKeyId: {},
- TargetKeyPrefix: {},
- ObjectLockLegalHoldStatus: {},
- ObjectLockMode: {},
- ObjectLockRetainUntilDate: { type: "timestamp" },
- },
- },
- S3PutObjectAcl: {
- type: "structure",
- members: {
- AccessControlPolicy: {
- type: "structure",
- members: {
- AccessControlList: {
- type: "structure",
- required: ["Owner"],
- members: {
- Owner: {
- type: "structure",
- members: { ID: {}, DisplayName: {} },
- },
- Grants: { shape: "Sh" },
- },
- },
- CannedAccessControlList: {},
- },
- },
- },
- },
- S3PutObjectTagging: {
- type: "structure",
- members: { TagSet: { shape: "Su" } },
- },
- S3InitiateRestoreObject: {
- type: "structure",
- members: {
- ExpirationInDays: { type: "integer" },
- GlacierJobTier: {},
- },
- },
- },
- },
- Sh: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Grantee: {
- type: "structure",
- members: {
- TypeIdentifier: {},
- Identifier: {},
- DisplayName: {},
- },
- },
- Permission: {},
- },
- },
- },
- Su: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- S19: {
- type: "structure",
- required: ["Enabled"],
- members: {
- Bucket: {},
- Format: {},
- Enabled: { type: "boolean" },
- Prefix: {},
- ReportScope: {},
- },
- },
- S1e: {
- type: "structure",
- required: ["Spec", "Location"],
- members: {
- Spec: {
- type: "structure",
- required: ["Format"],
- members: { Format: {}, Fields: { type: "list", member: {} } },
- },
- Location: {
- type: "structure",
- required: ["ObjectArn", "ETag"],
- members: { ObjectArn: {}, ObjectVersionId: {}, ETag: {} },
- },
- },
- },
- S21: {
- type: "structure",
- members: {
- TotalNumberOfTasks: { type: "long" },
- NumberOfTasksSucceeded: { type: "long" },
- NumberOfTasksFailed: { type: "long" },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2106: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(6686);
- model.paginators = __webpack_require__(370).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.MigrationHub;
-
- /***/
- },
-
- /***/ 2120: /***/ function (module) {
- module.exports = {
- pagination: {
- GetBotAliases: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetBotChannelAssociations: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetBotVersions: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetBots: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetBuiltinIntents: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetBuiltinSlotTypes: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetIntentVersions: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetIntents: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetSlotTypeVersions: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetSlotTypes: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 2145: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(3642);
- model.paginators = __webpack_require__(2028).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.WorkMailMessageFlow;
-
- /***/
- },
-
- /***/ 2189: /***/ function (module) {
- module.exports = {
- pagination: {
- GetDedicatedIps: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "PageSize",
- },
- ListConfigurationSets: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "PageSize",
- },
- ListDedicatedIpPools: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "PageSize",
- },
- ListDeliverabilityTestReports: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "PageSize",
- },
- ListDomainDeliverabilityCampaigns: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "PageSize",
- },
- ListEmailIdentities: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "PageSize",
- },
- ListSuppressedDestinations: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "PageSize",
- },
- },
- };
-
- /***/
- },
-
- /***/ 2214: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
-
- apiLoader.services["cognitoidentity"] = {};
- AWS.CognitoIdentity = Service.defineService("cognitoidentity", [
- "2014-06-30",
- ]);
- __webpack_require__(2382);
- Object.defineProperty(
- apiLoader.services["cognitoidentity"],
- "2014-06-30",
- {
- get: function get() {
- var model = __webpack_require__(7056);
- model.paginators = __webpack_require__(7280).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.CognitoIdentity;
-
- /***/
- },
-
- /***/ 2225: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 2230: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- ProjectVersionTrainingCompleted: {
- description: "Wait until the ProjectVersion training completes.",
- operation: "DescribeProjectVersions",
- delay: 120,
- maxAttempts: 360,
- acceptors: [
- {
- state: "success",
- matcher: "pathAll",
- argument: "ProjectVersionDescriptions[].Status",
- expected: "TRAINING_COMPLETED",
- },
- {
- state: "failure",
- matcher: "pathAny",
- argument: "ProjectVersionDescriptions[].Status",
- expected: "TRAINING_FAILED",
- },
- ],
- },
- ProjectVersionRunning: {
- description: "Wait until the ProjectVersion is running.",
- delay: 30,
- maxAttempts: 40,
- operation: "DescribeProjectVersions",
- acceptors: [
- {
- state: "success",
- matcher: "pathAll",
- argument: "ProjectVersionDescriptions[].Status",
- expected: "RUNNING",
- },
- {
- state: "failure",
- matcher: "pathAny",
- argument: "ProjectVersionDescriptions[].Status",
- expected: "FAILED",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 2241: /***/ function (module) {
- module.exports = {
- metadata: {
- apiVersion: "2018-09-05",
- endpointPrefix: "sms-voice.pinpoint",
- signingName: "sms-voice",
- serviceAbbreviation: "Pinpoint SMS Voice",
- serviceFullName: "Amazon Pinpoint SMS and Voice Service",
- serviceId: "Pinpoint SMS Voice",
- protocol: "rest-json",
- jsonVersion: "1.1",
- uid: "pinpoint-sms-voice-2018-09-05",
- signatureVersion: "v4",
- },
- operations: {
- CreateConfigurationSet: {
- http: {
- requestUri: "/v1/sms-voice/configuration-sets",
- responseCode: 200,
- },
- input: { type: "structure", members: { ConfigurationSetName: {} } },
- output: { type: "structure", members: {} },
- },
- CreateConfigurationSetEventDestination: {
- http: {
- requestUri:
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- EventDestination: { shape: "S6" },
- EventDestinationName: {},
- },
- required: ["ConfigurationSetName"],
- },
- output: { type: "structure", members: {} },
- },
- DeleteConfigurationSet: {
- http: {
- method: "DELETE",
- requestUri:
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- },
- required: ["ConfigurationSetName"],
- },
- output: { type: "structure", members: {} },
- },
- DeleteConfigurationSetEventDestination: {
- http: {
- method: "DELETE",
- requestUri:
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- EventDestinationName: {
- location: "uri",
- locationName: "EventDestinationName",
- },
- },
- required: ["EventDestinationName", "ConfigurationSetName"],
- },
- output: { type: "structure", members: {} },
- },
- GetConfigurationSetEventDestinations: {
- http: {
- method: "GET",
- requestUri:
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- },
- required: ["ConfigurationSetName"],
- },
- output: {
- type: "structure",
- members: {
- EventDestinations: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CloudWatchLogsDestination: { shape: "S7" },
- Enabled: { type: "boolean" },
- KinesisFirehoseDestination: { shape: "Sa" },
- MatchingEventTypes: { shape: "Sb" },
- Name: {},
- SnsDestination: { shape: "Sd" },
- },
- },
- },
- },
- },
- },
- ListConfigurationSets: {
- http: {
- method: "GET",
- requestUri: "/v1/sms-voice/configuration-sets",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- PageSize: { location: "querystring", locationName: "PageSize" },
- },
- },
- output: {
- type: "structure",
- members: {
- ConfigurationSets: { type: "list", member: {} },
- NextToken: {},
- },
- },
- },
- SendVoiceMessage: {
- http: {
- requestUri: "/v1/sms-voice/voice/message",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- CallerId: {},
- ConfigurationSetName: {},
- Content: {
- type: "structure",
- members: {
- CallInstructionsMessage: {
- type: "structure",
- members: { Text: {} },
- required: [],
- },
- PlainTextMessage: {
- type: "structure",
- members: { LanguageCode: {}, Text: {}, VoiceId: {} },
- required: [],
- },
- SSMLMessage: {
- type: "structure",
- members: { LanguageCode: {}, Text: {}, VoiceId: {} },
- required: [],
- },
- },
- },
- DestinationPhoneNumber: {},
- OriginationPhoneNumber: {},
- },
- },
- output: { type: "structure", members: { MessageId: {} } },
- },
- UpdateConfigurationSetEventDestination: {
- http: {
- method: "PUT",
- requestUri:
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConfigurationSetName: {
- location: "uri",
- locationName: "ConfigurationSetName",
- },
- EventDestination: { shape: "S6" },
- EventDestinationName: {
- location: "uri",
- locationName: "EventDestinationName",
- },
- },
- required: ["EventDestinationName", "ConfigurationSetName"],
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S6: {
- type: "structure",
- members: {
- CloudWatchLogsDestination: { shape: "S7" },
- Enabled: { type: "boolean" },
- KinesisFirehoseDestination: { shape: "Sa" },
- MatchingEventTypes: { shape: "Sb" },
- SnsDestination: { shape: "Sd" },
- },
- required: [],
- },
- S7: {
- type: "structure",
- members: { IamRoleArn: {}, LogGroupArn: {} },
- required: [],
- },
- Sa: {
- type: "structure",
- members: { DeliveryStreamArn: {}, IamRoleArn: {} },
- required: [],
- },
- Sb: { type: "list", member: {} },
- Sd: { type: "structure", members: { TopicArn: {} }, required: [] },
- },
- };
-
- /***/
- },
-
- /***/ 2259: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(4887);
- model.paginators = __webpack_require__(184).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Snowball;
-
- /***/
- },
-
- /***/ 2261: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2016-10-20",
- endpointPrefix: "budgets",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "AWSBudgets",
- serviceFullName: "AWS Budgets",
- serviceId: "Budgets",
- signatureVersion: "v4",
- targetPrefix: "AWSBudgetServiceGateway",
- uid: "budgets-2016-10-20",
- },
- operations: {
- CreateBudget: {
- input: {
- type: "structure",
- required: ["AccountId", "Budget"],
- members: {
- AccountId: {},
- Budget: { shape: "S3" },
- NotificationsWithSubscribers: {
- type: "list",
- member: {
- type: "structure",
- required: ["Notification", "Subscribers"],
- members: {
- Notification: { shape: "Sl" },
- Subscribers: { shape: "Sr" },
- },
- },
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- CreateNotification: {
- input: {
- type: "structure",
- required: [
- "AccountId",
- "BudgetName",
- "Notification",
- "Subscribers",
- ],
- members: {
- AccountId: {},
- BudgetName: {},
- Notification: { shape: "Sl" },
- Subscribers: { shape: "Sr" },
- },
- },
- output: { type: "structure", members: {} },
- },
- CreateSubscriber: {
- input: {
- type: "structure",
- required: [
- "AccountId",
- "BudgetName",
- "Notification",
- "Subscriber",
- ],
- members: {
- AccountId: {},
- BudgetName: {},
- Notification: { shape: "Sl" },
- Subscriber: { shape: "Ss" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteBudget: {
- input: {
- type: "structure",
- required: ["AccountId", "BudgetName"],
- members: { AccountId: {}, BudgetName: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteNotification: {
- input: {
- type: "structure",
- required: ["AccountId", "BudgetName", "Notification"],
- members: {
- AccountId: {},
- BudgetName: {},
- Notification: { shape: "Sl" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteSubscriber: {
- input: {
- type: "structure",
- required: [
- "AccountId",
- "BudgetName",
- "Notification",
- "Subscriber",
- ],
- members: {
- AccountId: {},
- BudgetName: {},
- Notification: { shape: "Sl" },
- Subscriber: { shape: "Ss" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DescribeBudget: {
- input: {
- type: "structure",
- required: ["AccountId", "BudgetName"],
- members: { AccountId: {}, BudgetName: {} },
- },
- output: { type: "structure", members: { Budget: { shape: "S3" } } },
- },
- DescribeBudgetPerformanceHistory: {
- input: {
- type: "structure",
- required: ["AccountId", "BudgetName"],
- members: {
- AccountId: {},
- BudgetName: {},
- TimePeriod: { shape: "Sf" },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- BudgetPerformanceHistory: {
- type: "structure",
- members: {
- BudgetName: {},
- BudgetType: {},
- CostFilters: { shape: "Sa" },
- CostTypes: { shape: "Sc" },
- TimeUnit: {},
- BudgetedAndActualAmountsList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- BudgetedAmount: { shape: "S5" },
- ActualAmount: { shape: "S5" },
- TimePeriod: { shape: "Sf" },
- },
- },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeBudgets: {
- input: {
- type: "structure",
- required: ["AccountId"],
- members: {
- AccountId: {},
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Budgets: { type: "list", member: { shape: "S3" } },
- NextToken: {},
- },
- },
- },
- DescribeNotificationsForBudget: {
- input: {
- type: "structure",
- required: ["AccountId", "BudgetName"],
- members: {
- AccountId: {},
- BudgetName: {},
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Notifications: { type: "list", member: { shape: "Sl" } },
- NextToken: {},
- },
- },
- },
- DescribeSubscribersForNotification: {
- input: {
- type: "structure",
- required: ["AccountId", "BudgetName", "Notification"],
- members: {
- AccountId: {},
- BudgetName: {},
- Notification: { shape: "Sl" },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: { Subscribers: { shape: "Sr" }, NextToken: {} },
- },
- },
- UpdateBudget: {
- input: {
- type: "structure",
- required: ["AccountId", "NewBudget"],
- members: { AccountId: {}, NewBudget: { shape: "S3" } },
- },
- output: { type: "structure", members: {} },
- },
- UpdateNotification: {
- input: {
- type: "structure",
- required: [
- "AccountId",
- "BudgetName",
- "OldNotification",
- "NewNotification",
- ],
- members: {
- AccountId: {},
- BudgetName: {},
- OldNotification: { shape: "Sl" },
- NewNotification: { shape: "Sl" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateSubscriber: {
- input: {
- type: "structure",
- required: [
- "AccountId",
- "BudgetName",
- "Notification",
- "OldSubscriber",
- "NewSubscriber",
- ],
- members: {
- AccountId: {},
- BudgetName: {},
- Notification: { shape: "Sl" },
- OldSubscriber: { shape: "Ss" },
- NewSubscriber: { shape: "Ss" },
- },
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S3: {
- type: "structure",
- required: ["BudgetName", "TimeUnit", "BudgetType"],
- members: {
- BudgetName: {},
- BudgetLimit: { shape: "S5" },
- PlannedBudgetLimits: {
- type: "map",
- key: {},
- value: { shape: "S5" },
- },
- CostFilters: { shape: "Sa" },
- CostTypes: { shape: "Sc" },
- TimeUnit: {},
- TimePeriod: { shape: "Sf" },
- CalculatedSpend: {
- type: "structure",
- required: ["ActualSpend"],
- members: {
- ActualSpend: { shape: "S5" },
- ForecastedSpend: { shape: "S5" },
- },
- },
- BudgetType: {},
- LastUpdatedTime: { type: "timestamp" },
- },
- },
- S5: {
- type: "structure",
- required: ["Amount", "Unit"],
- members: { Amount: {}, Unit: {} },
- },
- Sa: { type: "map", key: {}, value: { type: "list", member: {} } },
- Sc: {
- type: "structure",
- members: {
- IncludeTax: { type: "boolean" },
- IncludeSubscription: { type: "boolean" },
- UseBlended: { type: "boolean" },
- IncludeRefund: { type: "boolean" },
- IncludeCredit: { type: "boolean" },
- IncludeUpfront: { type: "boolean" },
- IncludeRecurring: { type: "boolean" },
- IncludeOtherSubscription: { type: "boolean" },
- IncludeSupport: { type: "boolean" },
- IncludeDiscount: { type: "boolean" },
- UseAmortized: { type: "boolean" },
- },
- },
- Sf: {
- type: "structure",
- members: {
- Start: { type: "timestamp" },
- End: { type: "timestamp" },
- },
- },
- Sl: {
- type: "structure",
- required: ["NotificationType", "ComparisonOperator", "Threshold"],
- members: {
- NotificationType: {},
- ComparisonOperator: {},
- Threshold: { type: "double" },
- ThresholdType: {},
- NotificationState: {},
- },
- },
- Sr: { type: "list", member: { shape: "Ss" } },
- Ss: {
- type: "structure",
- required: ["SubscriptionType", "Address"],
- members: {
- SubscriptionType: {},
- Address: { type: "string", sensitive: true },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2269: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeDBClusters: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBClusters",
- },
- DescribeDBEngineVersions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBEngineVersions",
- },
- DescribeDBInstances: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBInstances",
- },
- DescribeDBSubnetGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBSubnetGroups",
- },
- DescribeEvents: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "Events",
- },
- DescribeOrderableDBInstanceOptions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "OrderableDBInstanceOptions",
- },
- ListTagsForResource: { result_key: "TagList" },
- },
- };
-
- /***/
- },
-
- /***/ 2271: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(8825);
- model.paginators = __webpack_require__(4483).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.MediaStoreData;
-
- /***/
- },
-
- /***/ 2297: /***/ function (module) {
- module.exports = class HttpError extends Error {
- constructor(message, code, headers) {
- 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.code = code;
- this.headers = headers;
- }
- };
-
- /***/
- },
-
- /***/ 2304: /***/ function (module) {
- module.exports = {
- metadata: {
- apiVersion: "2018-11-14",
- endpointPrefix: "kafka",
- signingName: "kafka",
- serviceFullName: "Managed Streaming for Kafka",
- serviceAbbreviation: "Kafka",
- serviceId: "Kafka",
- protocol: "rest-json",
- jsonVersion: "1.1",
- uid: "kafka-2018-11-14",
- signatureVersion: "v4",
- },
- operations: {
- CreateCluster: {
- http: { requestUri: "/v1/clusters", responseCode: 200 },
- input: {
- type: "structure",
- members: {
- BrokerNodeGroupInfo: {
- shape: "S2",
- locationName: "brokerNodeGroupInfo",
- },
- ClientAuthentication: {
- shape: "Sa",
- locationName: "clientAuthentication",
- },
- ClusterName: { locationName: "clusterName" },
- ConfigurationInfo: {
- shape: "Sd",
- locationName: "configurationInfo",
- },
- EncryptionInfo: { shape: "Sf", locationName: "encryptionInfo" },
- EnhancedMonitoring: { locationName: "enhancedMonitoring" },
- OpenMonitoring: { shape: "Sl", locationName: "openMonitoring" },
- KafkaVersion: { locationName: "kafkaVersion" },
- LoggingInfo: { shape: "Sq", locationName: "loggingInfo" },
- NumberOfBrokerNodes: {
- locationName: "numberOfBrokerNodes",
- type: "integer",
- },
- Tags: { shape: "Sw", locationName: "tags" },
- },
- required: [
- "BrokerNodeGroupInfo",
- "KafkaVersion",
- "NumberOfBrokerNodes",
- "ClusterName",
- ],
- },
- output: {
- type: "structure",
- members: {
- ClusterArn: { locationName: "clusterArn" },
- ClusterName: { locationName: "clusterName" },
- State: { locationName: "state" },
- },
- },
- },
- CreateConfiguration: {
- http: { requestUri: "/v1/configurations", responseCode: 200 },
- input: {
- type: "structure",
- members: {
- Description: { locationName: "description" },
- KafkaVersions: { shape: "S4", locationName: "kafkaVersions" },
- Name: { locationName: "name" },
- ServerProperties: {
- locationName: "serverProperties",
- type: "blob",
- },
- },
- required: ["ServerProperties", "KafkaVersions", "Name"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- CreationTime: { shape: "S12", locationName: "creationTime" },
- LatestRevision: {
- shape: "S13",
- locationName: "latestRevision",
- },
- Name: { locationName: "name" },
- },
- },
- },
- DeleteCluster: {
- http: {
- method: "DELETE",
- requestUri: "/v1/clusters/{clusterArn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ClusterArn: { location: "uri", locationName: "clusterArn" },
- CurrentVersion: {
- location: "querystring",
- locationName: "currentVersion",
- },
- },
- required: ["ClusterArn"],
- },
- output: {
- type: "structure",
- members: {
- ClusterArn: { locationName: "clusterArn" },
- State: { locationName: "state" },
- },
- },
- },
- DescribeCluster: {
- http: {
- method: "GET",
- requestUri: "/v1/clusters/{clusterArn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ClusterArn: { location: "uri", locationName: "clusterArn" },
- },
- required: ["ClusterArn"],
- },
- output: {
- type: "structure",
- members: {
- ClusterInfo: { shape: "S18", locationName: "clusterInfo" },
- },
- },
- },
- DescribeClusterOperation: {
- http: {
- method: "GET",
- requestUri: "/v1/operations/{clusterOperationArn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ClusterOperationArn: {
- location: "uri",
- locationName: "clusterOperationArn",
- },
- },
- required: ["ClusterOperationArn"],
- },
- output: {
- type: "structure",
- members: {
- ClusterOperationInfo: {
- shape: "S1i",
- locationName: "clusterOperationInfo",
- },
- },
- },
- },
- DescribeConfiguration: {
- http: {
- method: "GET",
- requestUri: "/v1/configurations/{arn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: { Arn: { location: "uri", locationName: "arn" } },
- required: ["Arn"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- CreationTime: { shape: "S12", locationName: "creationTime" },
- Description: { locationName: "description" },
- KafkaVersions: { shape: "S4", locationName: "kafkaVersions" },
- LatestRevision: {
- shape: "S13",
- locationName: "latestRevision",
- },
- Name: { locationName: "name" },
- },
- },
- },
- DescribeConfigurationRevision: {
- http: {
- method: "GET",
- requestUri: "/v1/configurations/{arn}/revisions/{revision}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Arn: { location: "uri", locationName: "arn" },
- Revision: {
- location: "uri",
- locationName: "revision",
- type: "long",
- },
- },
- required: ["Revision", "Arn"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- CreationTime: { shape: "S12", locationName: "creationTime" },
- Description: { locationName: "description" },
- Revision: { locationName: "revision", type: "long" },
- ServerProperties: {
- locationName: "serverProperties",
- type: "blob",
- },
- },
- },
- },
- GetBootstrapBrokers: {
- http: {
- method: "GET",
- requestUri: "/v1/clusters/{clusterArn}/bootstrap-brokers",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ClusterArn: { location: "uri", locationName: "clusterArn" },
- },
- required: ["ClusterArn"],
- },
- output: {
- type: "structure",
- members: {
- BootstrapBrokerString: {
- locationName: "bootstrapBrokerString",
- },
- BootstrapBrokerStringTls: {
- locationName: "bootstrapBrokerStringTls",
- },
- },
- },
- },
- ListClusterOperations: {
- http: {
- method: "GET",
- requestUri: "/v1/clusters/{clusterArn}/operations",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ClusterArn: { location: "uri", locationName: "clusterArn" },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- required: ["ClusterArn"],
- },
- output: {
- type: "structure",
- members: {
- ClusterOperationInfoList: {
- locationName: "clusterOperationInfoList",
- type: "list",
- member: { shape: "S1i" },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListClusters: {
- http: {
- method: "GET",
- requestUri: "/v1/clusters",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ClusterNameFilter: {
- location: "querystring",
- locationName: "clusterNameFilter",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- ClusterInfoList: {
- locationName: "clusterInfoList",
- type: "list",
- member: { shape: "S18" },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListConfigurationRevisions: {
- http: {
- method: "GET",
- requestUri: "/v1/configurations/{arn}/revisions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Arn: { location: "uri", locationName: "arn" },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- required: ["Arn"],
- },
- output: {
- type: "structure",
- members: {
- NextToken: { locationName: "nextToken" },
- Revisions: {
- locationName: "revisions",
- type: "list",
- member: { shape: "S13" },
- },
- },
- },
- },
- ListConfigurations: {
- http: {
- method: "GET",
- requestUri: "/v1/configurations",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Configurations: {
- locationName: "configurations",
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- CreationTime: {
- shape: "S12",
- locationName: "creationTime",
- },
- Description: { locationName: "description" },
- KafkaVersions: {
- shape: "S4",
- locationName: "kafkaVersions",
- },
- LatestRevision: {
- shape: "S13",
- locationName: "latestRevision",
- },
- Name: { locationName: "name" },
- },
- required: [
- "Description",
- "LatestRevision",
- "CreationTime",
- "KafkaVersions",
- "Arn",
- "Name",
- ],
- },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListKafkaVersions: {
- http: {
- method: "GET",
- requestUri: "/v1/kafka-versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- KafkaVersions: {
- locationName: "kafkaVersions",
- type: "list",
- member: {
- type: "structure",
- members: {
- Version: { locationName: "version" },
- Status: { locationName: "status" },
- },
- },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListNodes: {
- http: {
- method: "GET",
- requestUri: "/v1/clusters/{clusterArn}/nodes",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ClusterArn: { location: "uri", locationName: "clusterArn" },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- required: ["ClusterArn"],
- },
- output: {
- type: "structure",
- members: {
- NextToken: { locationName: "nextToken" },
- NodeInfoList: {
- locationName: "nodeInfoList",
- type: "list",
- member: {
- type: "structure",
- members: {
- AddedToClusterTime: {
- locationName: "addedToClusterTime",
- },
- BrokerNodeInfo: {
- locationName: "brokerNodeInfo",
- type: "structure",
- members: {
- AttachedENIId: { locationName: "attachedENIId" },
- BrokerId: {
- locationName: "brokerId",
- type: "double",
- },
- ClientSubnet: { locationName: "clientSubnet" },
- ClientVpcIpAddress: {
- locationName: "clientVpcIpAddress",
- },
- CurrentBrokerSoftwareInfo: {
- shape: "S19",
- locationName: "currentBrokerSoftwareInfo",
- },
- Endpoints: { shape: "S4", locationName: "endpoints" },
- },
- },
- InstanceType: { locationName: "instanceType" },
- NodeARN: { locationName: "nodeARN" },
- NodeType: { locationName: "nodeType" },
- ZookeeperNodeInfo: {
- locationName: "zookeeperNodeInfo",
- type: "structure",
- members: {
- AttachedENIId: { locationName: "attachedENIId" },
- ClientVpcIpAddress: {
- locationName: "clientVpcIpAddress",
- },
- Endpoints: { shape: "S4", locationName: "endpoints" },
- ZookeeperId: {
- locationName: "zookeeperId",
- type: "double",
- },
- ZookeeperVersion: {
- locationName: "zookeeperVersion",
- },
- },
- },
- },
- },
- },
- },
- },
- },
- ListTagsForResource: {
- http: {
- method: "GET",
- requestUri: "/v1/tags/{resourceArn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resourceArn" },
- },
- required: ["ResourceArn"],
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "Sw", locationName: "tags" } },
- },
- },
- TagResource: {
- http: { requestUri: "/v1/tags/{resourceArn}", responseCode: 204 },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resourceArn" },
- Tags: { shape: "Sw", locationName: "tags" },
- },
- required: ["ResourceArn", "Tags"],
- },
- },
- UntagResource: {
- http: {
- method: "DELETE",
- requestUri: "/v1/tags/{resourceArn}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resourceArn" },
- TagKeys: {
- shape: "S4",
- location: "querystring",
- locationName: "tagKeys",
- },
- },
- required: ["TagKeys", "ResourceArn"],
- },
- },
- UpdateBrokerCount: {
- http: {
- method: "PUT",
- requestUri: "/v1/clusters/{clusterArn}/nodes/count",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ClusterArn: { location: "uri", locationName: "clusterArn" },
- CurrentVersion: { locationName: "currentVersion" },
- TargetNumberOfBrokerNodes: {
- locationName: "targetNumberOfBrokerNodes",
- type: "integer",
- },
- },
- required: [
- "ClusterArn",
- "CurrentVersion",
- "TargetNumberOfBrokerNodes",
- ],
- },
- output: {
- type: "structure",
- members: {
- ClusterArn: { locationName: "clusterArn" },
- ClusterOperationArn: { locationName: "clusterOperationArn" },
- },
- },
- },
- UpdateBrokerStorage: {
- http: {
- method: "PUT",
- requestUri: "/v1/clusters/{clusterArn}/nodes/storage",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ClusterArn: { location: "uri", locationName: "clusterArn" },
- CurrentVersion: { locationName: "currentVersion" },
- TargetBrokerEBSVolumeInfo: {
- shape: "S1l",
- locationName: "targetBrokerEBSVolumeInfo",
- },
- },
- required: [
- "ClusterArn",
- "TargetBrokerEBSVolumeInfo",
- "CurrentVersion",
- ],
- },
- output: {
- type: "structure",
- members: {
- ClusterArn: { locationName: "clusterArn" },
- ClusterOperationArn: { locationName: "clusterOperationArn" },
- },
- },
- },
- UpdateClusterConfiguration: {
- http: {
- method: "PUT",
- requestUri: "/v1/clusters/{clusterArn}/configuration",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ClusterArn: { location: "uri", locationName: "clusterArn" },
- ConfigurationInfo: {
- shape: "Sd",
- locationName: "configurationInfo",
- },
- CurrentVersion: { locationName: "currentVersion" },
- },
- required: ["ClusterArn", "CurrentVersion", "ConfigurationInfo"],
- },
- output: {
- type: "structure",
- members: {
- ClusterArn: { locationName: "clusterArn" },
- ClusterOperationArn: { locationName: "clusterOperationArn" },
- },
- },
- },
- UpdateMonitoring: {
- http: {
- method: "PUT",
- requestUri: "/v1/clusters/{clusterArn}/monitoring",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ClusterArn: { location: "uri", locationName: "clusterArn" },
- CurrentVersion: { locationName: "currentVersion" },
- EnhancedMonitoring: { locationName: "enhancedMonitoring" },
- OpenMonitoring: { shape: "Sl", locationName: "openMonitoring" },
- LoggingInfo: { shape: "Sq", locationName: "loggingInfo" },
- },
- required: ["ClusterArn", "CurrentVersion"],
- },
- output: {
- type: "structure",
- members: {
- ClusterArn: { locationName: "clusterArn" },
- ClusterOperationArn: { locationName: "clusterOperationArn" },
- },
- },
- },
- },
- shapes: {
- S2: {
- type: "structure",
- members: {
- BrokerAZDistribution: { locationName: "brokerAZDistribution" },
- ClientSubnets: { shape: "S4", locationName: "clientSubnets" },
- InstanceType: { locationName: "instanceType" },
- SecurityGroups: { shape: "S4", locationName: "securityGroups" },
- StorageInfo: {
- locationName: "storageInfo",
- type: "structure",
- members: {
- EbsStorageInfo: {
- locationName: "ebsStorageInfo",
- type: "structure",
- members: {
- VolumeSize: {
- locationName: "volumeSize",
- type: "integer",
- },
- },
- },
- },
- },
- },
- required: ["ClientSubnets", "InstanceType"],
- },
- S4: { type: "list", member: {} },
- Sa: {
- type: "structure",
- members: {
- Tls: {
- locationName: "tls",
- type: "structure",
- members: {
- CertificateAuthorityArnList: {
- shape: "S4",
- locationName: "certificateAuthorityArnList",
- },
- },
- },
- },
- },
- Sd: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- Revision: { locationName: "revision", type: "long" },
- },
- required: ["Revision", "Arn"],
- },
- Sf: {
- type: "structure",
- members: {
- EncryptionAtRest: {
- locationName: "encryptionAtRest",
- type: "structure",
- members: {
- DataVolumeKMSKeyId: { locationName: "dataVolumeKMSKeyId" },
- },
- required: ["DataVolumeKMSKeyId"],
- },
- EncryptionInTransit: {
- locationName: "encryptionInTransit",
- type: "structure",
- members: {
- ClientBroker: { locationName: "clientBroker" },
- InCluster: { locationName: "inCluster", type: "boolean" },
- },
- },
- },
- },
- Sl: {
- type: "structure",
- members: {
- Prometheus: {
- locationName: "prometheus",
- type: "structure",
- members: {
- JmxExporter: {
- locationName: "jmxExporter",
- type: "structure",
- members: {
- EnabledInBroker: {
- locationName: "enabledInBroker",
- type: "boolean",
- },
- },
- required: ["EnabledInBroker"],
- },
- NodeExporter: {
- locationName: "nodeExporter",
- type: "structure",
- members: {
- EnabledInBroker: {
- locationName: "enabledInBroker",
- type: "boolean",
- },
- },
- required: ["EnabledInBroker"],
- },
- },
- },
- },
- required: ["Prometheus"],
- },
- Sq: {
- type: "structure",
- members: {
- BrokerLogs: {
- locationName: "brokerLogs",
- type: "structure",
- members: {
- CloudWatchLogs: {
- locationName: "cloudWatchLogs",
- type: "structure",
- members: {
- Enabled: { locationName: "enabled", type: "boolean" },
- LogGroup: { locationName: "logGroup" },
- },
- required: ["Enabled"],
- },
- Firehose: {
- locationName: "firehose",
- type: "structure",
- members: {
- DeliveryStream: { locationName: "deliveryStream" },
- Enabled: { locationName: "enabled", type: "boolean" },
- },
- required: ["Enabled"],
- },
- S3: {
- locationName: "s3",
- type: "structure",
- members: {
- Bucket: { locationName: "bucket" },
- Enabled: { locationName: "enabled", type: "boolean" },
- Prefix: { locationName: "prefix" },
- },
- required: ["Enabled"],
- },
- },
- },
- },
- required: ["BrokerLogs"],
- },
- Sw: { type: "map", key: {}, value: {} },
- S12: { type: "timestamp", timestampFormat: "iso8601" },
- S13: {
- type: "structure",
- members: {
- CreationTime: { shape: "S12", locationName: "creationTime" },
- Description: { locationName: "description" },
- Revision: { locationName: "revision", type: "long" },
- },
- required: ["Revision", "CreationTime"],
- },
- S18: {
- type: "structure",
- members: {
- ActiveOperationArn: { locationName: "activeOperationArn" },
- BrokerNodeGroupInfo: {
- shape: "S2",
- locationName: "brokerNodeGroupInfo",
- },
- ClientAuthentication: {
- shape: "Sa",
- locationName: "clientAuthentication",
- },
- ClusterArn: { locationName: "clusterArn" },
- ClusterName: { locationName: "clusterName" },
- CreationTime: { shape: "S12", locationName: "creationTime" },
- CurrentBrokerSoftwareInfo: {
- shape: "S19",
- locationName: "currentBrokerSoftwareInfo",
- },
- CurrentVersion: { locationName: "currentVersion" },
- EncryptionInfo: { shape: "Sf", locationName: "encryptionInfo" },
- EnhancedMonitoring: { locationName: "enhancedMonitoring" },
- OpenMonitoring: { shape: "S1a", locationName: "openMonitoring" },
- LoggingInfo: { shape: "Sq", locationName: "loggingInfo" },
- NumberOfBrokerNodes: {
- locationName: "numberOfBrokerNodes",
- type: "integer",
- },
- State: { locationName: "state" },
- StateInfo: {
- locationName: "stateInfo",
- type: "structure",
- members: {
- Code: { locationName: "code" },
- Message: { locationName: "message" },
- },
- },
- Tags: { shape: "Sw", locationName: "tags" },
- ZookeeperConnectString: {
- locationName: "zookeeperConnectString",
- },
- },
- },
- S19: {
- type: "structure",
- members: {
- ConfigurationArn: { locationName: "configurationArn" },
- ConfigurationRevision: {
- locationName: "configurationRevision",
- type: "long",
- },
- KafkaVersion: { locationName: "kafkaVersion" },
- },
- },
- S1a: {
- type: "structure",
- members: {
- Prometheus: {
- locationName: "prometheus",
- type: "structure",
- members: {
- JmxExporter: {
- locationName: "jmxExporter",
- type: "structure",
- members: {
- EnabledInBroker: {
- locationName: "enabledInBroker",
- type: "boolean",
- },
- },
- required: ["EnabledInBroker"],
- },
- NodeExporter: {
- locationName: "nodeExporter",
- type: "structure",
- members: {
- EnabledInBroker: {
- locationName: "enabledInBroker",
- type: "boolean",
- },
- },
- required: ["EnabledInBroker"],
- },
- },
- },
- },
- required: ["Prometheus"],
- },
- S1i: {
- type: "structure",
- members: {
- ClientRequestId: { locationName: "clientRequestId" },
- ClusterArn: { locationName: "clusterArn" },
- CreationTime: { shape: "S12", locationName: "creationTime" },
- EndTime: { shape: "S12", locationName: "endTime" },
- ErrorInfo: {
- locationName: "errorInfo",
- type: "structure",
- members: {
- ErrorCode: { locationName: "errorCode" },
- ErrorString: { locationName: "errorString" },
- },
- },
- OperationArn: { locationName: "operationArn" },
- OperationState: { locationName: "operationState" },
- OperationType: { locationName: "operationType" },
- SourceClusterInfo: {
- shape: "S1k",
- locationName: "sourceClusterInfo",
- },
- TargetClusterInfo: {
- shape: "S1k",
- locationName: "targetClusterInfo",
- },
- },
- },
- S1k: {
- type: "structure",
- members: {
- BrokerEBSVolumeInfo: {
- shape: "S1l",
- locationName: "brokerEBSVolumeInfo",
- },
- ConfigurationInfo: {
- shape: "Sd",
- locationName: "configurationInfo",
- },
- NumberOfBrokerNodes: {
- locationName: "numberOfBrokerNodes",
- type: "integer",
- },
- EnhancedMonitoring: { locationName: "enhancedMonitoring" },
- OpenMonitoring: { shape: "S1a", locationName: "openMonitoring" },
- LoggingInfo: { shape: "Sq", locationName: "loggingInfo" },
- },
- },
- S1l: {
- type: "list",
- member: {
- type: "structure",
- members: {
- KafkaBrokerNodeId: { locationName: "kafkaBrokerNodeId" },
- VolumeSizeGB: { locationName: "volumeSizeGB", type: "integer" },
- },
- required: ["VolumeSizeGB", "KafkaBrokerNodeId"],
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2317: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(4721);
- model.paginators = __webpack_require__(2971).pagination;
- model.waiters = __webpack_require__(1154).waiters;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.CodeDeploy;
-
- /***/
- },
-
- /***/ 2323: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 2327: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(9187);
- model.paginators = __webpack_require__(6433).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.IoTThingsGraph;
-
- /***/
- },
-
- /***/ 2336: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- ResourceRecordSetsChanged: {
- delay: 30,
- maxAttempts: 60,
- operation: "GetChange",
- acceptors: [
- {
- matcher: "path",
- expected: "INSYNC",
- argument: "ChangeInfo.Status",
- state: "success",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 2339: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5351);
- model.paginators = __webpack_require__(5826).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.MediaPackageVod;
-
- /***/
- },
-
- /***/ 2349: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = authenticationRequestError;
-
- const { RequestError } = __webpack_require__(3497);
-
- function authenticationRequestError(state, error, options) {
- /* istanbul ignore next */
- if (!error.headers) throw error;
-
- const otpRequired = /required/.test(
- error.headers["x-github-otp"] || ""
- );
- // handle "2FA required" error only
- if (error.status !== 401 || !otpRequired) {
- throw error;
- }
-
- if (
- error.status === 401 &&
- otpRequired &&
- error.request &&
- error.request.headers["x-github-otp"]
- ) {
- throw new RequestError(
- "Invalid one-time password for two-factor authentication",
- 401,
- {
- headers: error.headers,
- request: options,
- }
- );
- }
-
- if (typeof state.auth.on2fa !== "function") {
- throw new RequestError(
- "2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication",
- 401,
- {
- headers: error.headers,
- request: options,
- }
- );
- }
-
- return Promise.resolve()
- .then(() => {
- return state.auth.on2fa();
- })
- .then((oneTimePassword) => {
- const newOptions = Object.assign(options, {
- headers: Object.assign(
- { "x-github-otp": oneTimePassword },
- options.headers
- ),
- });
- return state.octokit.request(newOptions);
- });
- }
-
- /***/
- },
-
- /***/ 2357: /***/ function (module) {
- module.exports = require("assert");
-
- /***/
- },
-
- /***/ 2382: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
-
- AWS.util.update(AWS.CognitoIdentity.prototype, {
- getOpenIdToken: function getOpenIdToken(params, callback) {
- return this.makeUnauthenticatedRequest(
- "getOpenIdToken",
- params,
- callback
- );
- },
-
- getId: function getId(params, callback) {
- return this.makeUnauthenticatedRequest("getId", params, callback);
- },
-
- getCredentialsForIdentity: function getCredentialsForIdentity(
- params,
- callback
- ) {
- return this.makeUnauthenticatedRequest(
- "getCredentialsForIdentity",
- params,
- callback
- );
- },
- });
-
- /***/
- },
-
- /***/ 2386: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(72);
- model.paginators = __webpack_require__(1455).pagination;
- model.waiters = __webpack_require__(1273).waiters;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.ACMPCA;
-
- /***/
- },
-
- /***/ 2390: /***/ function (module) {
- /**
- * Convert array of 16 byte values to UUID string format of the form:
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
- */
- var byteToHex = [];
- for (var i = 0; i < 256; ++i) {
- byteToHex[i] = (i + 0x100).toString(16).substr(1);
- }
-
- function bytesToUuid(buf, offset) {
- var i = offset || 0;
- var bth = byteToHex;
- // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
- return [
- bth[buf[i++]],
- bth[buf[i++]],
- bth[buf[i++]],
- bth[buf[i++]],
- "-",
- bth[buf[i++]],
- bth[buf[i++]],
- "-",
- bth[buf[i++]],
- bth[buf[i++]],
- "-",
- bth[buf[i++]],
- bth[buf[i++]],
- "-",
- bth[buf[i++]],
- bth[buf[i++]],
- bth[buf[i++]],
- bth[buf[i++]],
- bth[buf[i++]],
- bth[buf[i++]],
- ].join("");
- }
-
- module.exports = bytesToUuid;
-
- /***/
- },
-
- /***/ 2394: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- DistributionDeployed: {
- delay: 60,
- operation: "GetDistribution",
- maxAttempts: 25,
- description: "Wait until a distribution is deployed.",
- acceptors: [
- {
- expected: "Deployed",
- matcher: "path",
- state: "success",
- argument: "Distribution.Status",
- },
- ],
- },
- InvalidationCompleted: {
- delay: 20,
- operation: "GetInvalidation",
- maxAttempts: 30,
- description: "Wait until an invalidation has completed.",
- acceptors: [
- {
- expected: "Completed",
- matcher: "path",
- state: "success",
- argument: "Invalidation.Status",
- },
- ],
- },
- StreamingDistributionDeployed: {
- delay: 60,
- operation: "GetStreamingDistribution",
- maxAttempts: 25,
- description: "Wait until a streaming distribution is deployed.",
- acceptors: [
- {
- expected: "Deployed",
- matcher: "path",
- state: "success",
- argument: "StreamingDistribution.Status",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 2413: /***/ function (module) {
- module.exports = require("stream");
-
- /***/
- },
-
- /***/ 2421: /***/ function (module) {
- module.exports = {
- pagination: {
- ListMeshes: {
- input_token: "nextToken",
- limit_key: "limit",
- output_token: "nextToken",
- result_key: "meshes",
- },
- ListRoutes: {
- input_token: "nextToken",
- limit_key: "limit",
- output_token: "nextToken",
- result_key: "routes",
- },
- ListTagsForResource: {
- input_token: "nextToken",
- limit_key: "limit",
- output_token: "nextToken",
- result_key: "tags",
- },
- ListVirtualNodes: {
- input_token: "nextToken",
- limit_key: "limit",
- output_token: "nextToken",
- result_key: "virtualNodes",
- },
- ListVirtualRouters: {
- input_token: "nextToken",
- limit_key: "limit",
- output_token: "nextToken",
- result_key: "virtualRouters",
- },
- ListVirtualServices: {
- input_token: "nextToken",
- limit_key: "limit",
- output_token: "nextToken",
- result_key: "virtualServices",
- },
- },
- };
-
- /***/
- },
-
- /***/ 2447: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(320);
- model.paginators = __webpack_require__(8452).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.QLDBSession;
-
- /***/
- },
-
- /***/ 2449: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 2450: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
-
- AWS.util.update(AWS.RDSDataService.prototype, {
- /**
- * @return [Boolean] whether the error can be retried
- * @api private
- */
- retryableError: function retryableError(error) {
- if (
- error.code === "BadRequestException" &&
- error.message &&
- error.message.match(/^Communications link failure/) &&
- error.statusCode === 400
- ) {
- return true;
- } else {
- var _super = AWS.Service.prototype.retryableError;
- return _super.call(this, error);
- }
- },
- });
-
- /***/
- },
-
- /***/ 2453: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
- var AcceptorStateMachine = __webpack_require__(3696);
- var inherit = AWS.util.inherit;
- var domain = AWS.util.domain;
- var jmespath = __webpack_require__(2802);
-
- /**
- * @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;
-
- // global endpoints sign as us-east-1
- 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 enumberable
- // 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);
-
- /***/
- },
-
- /***/ 2459: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2014-10-31",
- endpointPrefix: "rds",
- protocol: "query",
- serviceAbbreviation: "Amazon DocDB",
- serviceFullName: "Amazon DocumentDB with MongoDB compatibility",
- serviceId: "DocDB",
- signatureVersion: "v4",
- signingName: "rds",
- uid: "docdb-2014-10-31",
- xmlNamespace: "http://rds.amazonaws.com/doc/2014-10-31/",
- },
- operations: {
- AddTagsToResource: {
- input: {
- type: "structure",
- required: ["ResourceName", "Tags"],
- members: { ResourceName: {}, Tags: { shape: "S3" } },
- },
- },
- ApplyPendingMaintenanceAction: {
- input: {
- type: "structure",
- required: ["ResourceIdentifier", "ApplyAction", "OptInType"],
- members: {
- ResourceIdentifier: {},
- ApplyAction: {},
- OptInType: {},
- },
- },
- output: {
- resultWrapper: "ApplyPendingMaintenanceActionResult",
- type: "structure",
- members: { ResourcePendingMaintenanceActions: { shape: "S7" } },
- },
- },
- CopyDBClusterParameterGroup: {
- input: {
- type: "structure",
- required: [
- "SourceDBClusterParameterGroupIdentifier",
- "TargetDBClusterParameterGroupIdentifier",
- "TargetDBClusterParameterGroupDescription",
- ],
- members: {
- SourceDBClusterParameterGroupIdentifier: {},
- TargetDBClusterParameterGroupIdentifier: {},
- TargetDBClusterParameterGroupDescription: {},
- Tags: { shape: "S3" },
- },
- },
- output: {
- resultWrapper: "CopyDBClusterParameterGroupResult",
- type: "structure",
- members: { DBClusterParameterGroup: { shape: "Sd" } },
- },
- },
- CopyDBClusterSnapshot: {
- input: {
- type: "structure",
- required: [
- "SourceDBClusterSnapshotIdentifier",
- "TargetDBClusterSnapshotIdentifier",
- ],
- members: {
- SourceDBClusterSnapshotIdentifier: {},
- TargetDBClusterSnapshotIdentifier: {},
- KmsKeyId: {},
- PreSignedUrl: {},
- CopyTags: { type: "boolean" },
- Tags: { shape: "S3" },
- },
- },
- output: {
- resultWrapper: "CopyDBClusterSnapshotResult",
- type: "structure",
- members: { DBClusterSnapshot: { shape: "Sh" } },
- },
- },
- CreateDBCluster: {
- input: {
- type: "structure",
- required: [
- "DBClusterIdentifier",
- "Engine",
- "MasterUsername",
- "MasterUserPassword",
- ],
- members: {
- AvailabilityZones: { shape: "Si" },
- BackupRetentionPeriod: { type: "integer" },
- DBClusterIdentifier: {},
- DBClusterParameterGroupName: {},
- VpcSecurityGroupIds: { shape: "Sn" },
- DBSubnetGroupName: {},
- Engine: {},
- EngineVersion: {},
- Port: { type: "integer" },
- MasterUsername: {},
- MasterUserPassword: {},
- PreferredBackupWindow: {},
- PreferredMaintenanceWindow: {},
- Tags: { shape: "S3" },
- StorageEncrypted: { type: "boolean" },
- KmsKeyId: {},
- EnableCloudwatchLogsExports: { shape: "So" },
- DeletionProtection: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "CreateDBClusterResult",
- type: "structure",
- members: { DBCluster: { shape: "Sq" } },
- },
- },
- CreateDBClusterParameterGroup: {
- input: {
- type: "structure",
- required: [
- "DBClusterParameterGroupName",
- "DBParameterGroupFamily",
- "Description",
- ],
- members: {
- DBClusterParameterGroupName: {},
- DBParameterGroupFamily: {},
- Description: {},
- Tags: { shape: "S3" },
- },
- },
- output: {
- resultWrapper: "CreateDBClusterParameterGroupResult",
- type: "structure",
- members: { DBClusterParameterGroup: { shape: "Sd" } },
- },
- },
- CreateDBClusterSnapshot: {
- input: {
- type: "structure",
- required: ["DBClusterSnapshotIdentifier", "DBClusterIdentifier"],
- members: {
- DBClusterSnapshotIdentifier: {},
- DBClusterIdentifier: {},
- Tags: { shape: "S3" },
- },
- },
- output: {
- resultWrapper: "CreateDBClusterSnapshotResult",
- type: "structure",
- members: { DBClusterSnapshot: { shape: "Sh" } },
- },
- },
- CreateDBInstance: {
- input: {
- type: "structure",
- required: [
- "DBInstanceIdentifier",
- "DBInstanceClass",
- "Engine",
- "DBClusterIdentifier",
- ],
- members: {
- DBInstanceIdentifier: {},
- DBInstanceClass: {},
- Engine: {},
- AvailabilityZone: {},
- PreferredMaintenanceWindow: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- Tags: { shape: "S3" },
- DBClusterIdentifier: {},
- PromotionTier: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "CreateDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "S13" } },
- },
- },
- CreateDBSubnetGroup: {
- input: {
- type: "structure",
- required: [
- "DBSubnetGroupName",
- "DBSubnetGroupDescription",
- "SubnetIds",
- ],
- members: {
- DBSubnetGroupName: {},
- DBSubnetGroupDescription: {},
- SubnetIds: { shape: "S1e" },
- Tags: { shape: "S3" },
- },
- },
- output: {
- resultWrapper: "CreateDBSubnetGroupResult",
- type: "structure",
- members: { DBSubnetGroup: { shape: "S15" } },
- },
- },
- DeleteDBCluster: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier"],
- members: {
- DBClusterIdentifier: {},
- SkipFinalSnapshot: { type: "boolean" },
- FinalDBSnapshotIdentifier: {},
- },
- },
- output: {
- resultWrapper: "DeleteDBClusterResult",
- type: "structure",
- members: { DBCluster: { shape: "Sq" } },
- },
- },
- DeleteDBClusterParameterGroup: {
- input: {
- type: "structure",
- required: ["DBClusterParameterGroupName"],
- members: { DBClusterParameterGroupName: {} },
- },
- },
- DeleteDBClusterSnapshot: {
- input: {
- type: "structure",
- required: ["DBClusterSnapshotIdentifier"],
- members: { DBClusterSnapshotIdentifier: {} },
- },
- output: {
- resultWrapper: "DeleteDBClusterSnapshotResult",
- type: "structure",
- members: { DBClusterSnapshot: { shape: "Sh" } },
- },
- },
- DeleteDBInstance: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: { DBInstanceIdentifier: {} },
- },
- output: {
- resultWrapper: "DeleteDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "S13" } },
- },
- },
- DeleteDBSubnetGroup: {
- input: {
- type: "structure",
- required: ["DBSubnetGroupName"],
- members: { DBSubnetGroupName: {} },
- },
- },
- DescribeCertificates: {
- input: {
- type: "structure",
- members: {
- CertificateIdentifier: {},
- Filters: { shape: "S1p" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeCertificatesResult",
- type: "structure",
- members: {
- Certificates: {
- type: "list",
- member: {
- locationName: "Certificate",
- type: "structure",
- members: {
- CertificateIdentifier: {},
- CertificateType: {},
- Thumbprint: {},
- ValidFrom: { type: "timestamp" },
- ValidTill: { type: "timestamp" },
- CertificateArn: {},
- },
- wrapper: true,
- },
- },
- Marker: {},
- },
- },
- },
- DescribeDBClusterParameterGroups: {
- input: {
- type: "structure",
- members: {
- DBClusterParameterGroupName: {},
- Filters: { shape: "S1p" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBClusterParameterGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- DBClusterParameterGroups: {
- type: "list",
- member: {
- shape: "Sd",
- locationName: "DBClusterParameterGroup",
- },
- },
- },
- },
- },
- DescribeDBClusterParameters: {
- input: {
- type: "structure",
- required: ["DBClusterParameterGroupName"],
- members: {
- DBClusterParameterGroupName: {},
- Source: {},
- Filters: { shape: "S1p" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBClusterParametersResult",
- type: "structure",
- members: { Parameters: { shape: "S20" }, Marker: {} },
- },
- },
- DescribeDBClusterSnapshotAttributes: {
- input: {
- type: "structure",
- required: ["DBClusterSnapshotIdentifier"],
- members: { DBClusterSnapshotIdentifier: {} },
- },
- output: {
- resultWrapper: "DescribeDBClusterSnapshotAttributesResult",
- type: "structure",
- members: { DBClusterSnapshotAttributesResult: { shape: "S25" } },
- },
- },
- DescribeDBClusterSnapshots: {
- input: {
- type: "structure",
- members: {
- DBClusterIdentifier: {},
- DBClusterSnapshotIdentifier: {},
- SnapshotType: {},
- Filters: { shape: "S1p" },
- MaxRecords: { type: "integer" },
- Marker: {},
- IncludeShared: { type: "boolean" },
- IncludePublic: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeDBClusterSnapshotsResult",
- type: "structure",
- members: {
- Marker: {},
- DBClusterSnapshots: {
- type: "list",
- member: { shape: "Sh", locationName: "DBClusterSnapshot" },
- },
- },
- },
- },
- DescribeDBClusters: {
- input: {
- type: "structure",
- members: {
- DBClusterIdentifier: {},
- Filters: { shape: "S1p" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBClustersResult",
- type: "structure",
- members: {
- Marker: {},
- DBClusters: {
- type: "list",
- member: { shape: "Sq", locationName: "DBCluster" },
- },
- },
- },
- },
- DescribeDBEngineVersions: {
- input: {
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- DBParameterGroupFamily: {},
- Filters: { shape: "S1p" },
- MaxRecords: { type: "integer" },
- Marker: {},
- DefaultOnly: { type: "boolean" },
- ListSupportedCharacterSets: { type: "boolean" },
- ListSupportedTimezones: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeDBEngineVersionsResult",
- type: "structure",
- members: {
- Marker: {},
- DBEngineVersions: {
- type: "list",
- member: {
- locationName: "DBEngineVersion",
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- DBParameterGroupFamily: {},
- DBEngineDescription: {},
- DBEngineVersionDescription: {},
- ValidUpgradeTarget: {
- type: "list",
- member: {
- locationName: "UpgradeTarget",
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- Description: {},
- AutoUpgrade: { type: "boolean" },
- IsMajorVersionUpgrade: { type: "boolean" },
- },
- },
- },
- ExportableLogTypes: { shape: "So" },
- SupportsLogExportsToCloudwatchLogs: { type: "boolean" },
- },
- },
- },
- },
- },
- },
- DescribeDBInstances: {
- input: {
- type: "structure",
- members: {
- DBInstanceIdentifier: {},
- Filters: { shape: "S1p" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBInstancesResult",
- type: "structure",
- members: {
- Marker: {},
- DBInstances: {
- type: "list",
- member: { shape: "S13", locationName: "DBInstance" },
- },
- },
- },
- },
- DescribeDBSubnetGroups: {
- input: {
- type: "structure",
- members: {
- DBSubnetGroupName: {},
- Filters: { shape: "S1p" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBSubnetGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- DBSubnetGroups: {
- type: "list",
- member: { shape: "S15", locationName: "DBSubnetGroup" },
- },
- },
- },
- },
- DescribeEngineDefaultClusterParameters: {
- input: {
- type: "structure",
- required: ["DBParameterGroupFamily"],
- members: {
- DBParameterGroupFamily: {},
- Filters: { shape: "S1p" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEngineDefaultClusterParametersResult",
- type: "structure",
- members: {
- EngineDefaults: {
- type: "structure",
- members: {
- DBParameterGroupFamily: {},
- Marker: {},
- Parameters: { shape: "S20" },
- },
- wrapper: true,
- },
- },
- },
- },
- DescribeEventCategories: {
- input: {
- type: "structure",
- members: { SourceType: {}, Filters: { shape: "S1p" } },
- },
- output: {
- resultWrapper: "DescribeEventCategoriesResult",
- type: "structure",
- members: {
- EventCategoriesMapList: {
- type: "list",
- member: {
- locationName: "EventCategoriesMap",
- type: "structure",
- members: {
- SourceType: {},
- EventCategories: { shape: "S2y" },
- },
- wrapper: true,
- },
- },
- },
- },
- },
- DescribeEvents: {
- input: {
- type: "structure",
- members: {
- SourceIdentifier: {},
- SourceType: {},
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Duration: { type: "integer" },
- EventCategories: { shape: "S2y" },
- Filters: { shape: "S1p" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEventsResult",
- type: "structure",
- members: {
- Marker: {},
- Events: {
- type: "list",
- member: {
- locationName: "Event",
- type: "structure",
- members: {
- SourceIdentifier: {},
- SourceType: {},
- Message: {},
- EventCategories: { shape: "S2y" },
- Date: { type: "timestamp" },
- SourceArn: {},
- },
- },
- },
- },
- },
- },
- DescribeOrderableDBInstanceOptions: {
- input: {
- type: "structure",
- required: ["Engine"],
- members: {
- Engine: {},
- EngineVersion: {},
- DBInstanceClass: {},
- LicenseModel: {},
- Vpc: { type: "boolean" },
- Filters: { shape: "S1p" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeOrderableDBInstanceOptionsResult",
- type: "structure",
- members: {
- OrderableDBInstanceOptions: {
- type: "list",
- member: {
- locationName: "OrderableDBInstanceOption",
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- DBInstanceClass: {},
- LicenseModel: {},
- AvailabilityZones: {
- type: "list",
- member: {
- shape: "S18",
- locationName: "AvailabilityZone",
- },
- },
- Vpc: { type: "boolean" },
- },
- wrapper: true,
- },
- },
- Marker: {},
- },
- },
- },
- DescribePendingMaintenanceActions: {
- input: {
- type: "structure",
- members: {
- ResourceIdentifier: {},
- Filters: { shape: "S1p" },
- Marker: {},
- MaxRecords: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "DescribePendingMaintenanceActionsResult",
- type: "structure",
- members: {
- PendingMaintenanceActions: {
- type: "list",
- member: {
- shape: "S7",
- locationName: "ResourcePendingMaintenanceActions",
- },
- },
- Marker: {},
- },
- },
- },
- FailoverDBCluster: {
- input: {
- type: "structure",
- members: {
- DBClusterIdentifier: {},
- TargetDBInstanceIdentifier: {},
- },
- },
- output: {
- resultWrapper: "FailoverDBClusterResult",
- type: "structure",
- members: { DBCluster: { shape: "Sq" } },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceName"],
- members: { ResourceName: {}, Filters: { shape: "S1p" } },
- },
- output: {
- resultWrapper: "ListTagsForResourceResult",
- type: "structure",
- members: { TagList: { shape: "S3" } },
- },
- },
- ModifyDBCluster: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier"],
- members: {
- DBClusterIdentifier: {},
- NewDBClusterIdentifier: {},
- ApplyImmediately: { type: "boolean" },
- BackupRetentionPeriod: { type: "integer" },
- DBClusterParameterGroupName: {},
- VpcSecurityGroupIds: { shape: "Sn" },
- Port: { type: "integer" },
- MasterUserPassword: {},
- PreferredBackupWindow: {},
- PreferredMaintenanceWindow: {},
- CloudwatchLogsExportConfiguration: {
- type: "structure",
- members: {
- EnableLogTypes: { shape: "So" },
- DisableLogTypes: { shape: "So" },
- },
- },
- EngineVersion: {},
- DeletionProtection: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "ModifyDBClusterResult",
- type: "structure",
- members: { DBCluster: { shape: "Sq" } },
- },
- },
- ModifyDBClusterParameterGroup: {
- input: {
- type: "structure",
- required: ["DBClusterParameterGroupName", "Parameters"],
- members: {
- DBClusterParameterGroupName: {},
- Parameters: { shape: "S20" },
- },
- },
- output: {
- shape: "S3k",
- resultWrapper: "ModifyDBClusterParameterGroupResult",
- },
- },
- ModifyDBClusterSnapshotAttribute: {
- input: {
- type: "structure",
- required: ["DBClusterSnapshotIdentifier", "AttributeName"],
- members: {
- DBClusterSnapshotIdentifier: {},
- AttributeName: {},
- ValuesToAdd: { shape: "S28" },
- ValuesToRemove: { shape: "S28" },
- },
- },
- output: {
- resultWrapper: "ModifyDBClusterSnapshotAttributeResult",
- type: "structure",
- members: { DBClusterSnapshotAttributesResult: { shape: "S25" } },
- },
- },
- ModifyDBInstance: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- DBInstanceClass: {},
- ApplyImmediately: { type: "boolean" },
- PreferredMaintenanceWindow: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- NewDBInstanceIdentifier: {},
- CACertificateIdentifier: {},
- PromotionTier: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "ModifyDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "S13" } },
- },
- },
- ModifyDBSubnetGroup: {
- input: {
- type: "structure",
- required: ["DBSubnetGroupName", "SubnetIds"],
- members: {
- DBSubnetGroupName: {},
- DBSubnetGroupDescription: {},
- SubnetIds: { shape: "S1e" },
- },
- },
- output: {
- resultWrapper: "ModifyDBSubnetGroupResult",
- type: "structure",
- members: { DBSubnetGroup: { shape: "S15" } },
- },
- },
- RebootDBInstance: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- ForceFailover: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "RebootDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "S13" } },
- },
- },
- RemoveTagsFromResource: {
- input: {
- type: "structure",
- required: ["ResourceName", "TagKeys"],
- members: {
- ResourceName: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- },
- ResetDBClusterParameterGroup: {
- input: {
- type: "structure",
- required: ["DBClusterParameterGroupName"],
- members: {
- DBClusterParameterGroupName: {},
- ResetAllParameters: { type: "boolean" },
- Parameters: { shape: "S20" },
- },
- },
- output: {
- shape: "S3k",
- resultWrapper: "ResetDBClusterParameterGroupResult",
- },
- },
- RestoreDBClusterFromSnapshot: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier", "SnapshotIdentifier", "Engine"],
- members: {
- AvailabilityZones: { shape: "Si" },
- DBClusterIdentifier: {},
- SnapshotIdentifier: {},
- Engine: {},
- EngineVersion: {},
- Port: { type: "integer" },
- DBSubnetGroupName: {},
- VpcSecurityGroupIds: { shape: "Sn" },
- Tags: { shape: "S3" },
- KmsKeyId: {},
- EnableCloudwatchLogsExports: { shape: "So" },
- DeletionProtection: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "RestoreDBClusterFromSnapshotResult",
- type: "structure",
- members: { DBCluster: { shape: "Sq" } },
- },
- },
- RestoreDBClusterToPointInTime: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier", "SourceDBClusterIdentifier"],
- members: {
- DBClusterIdentifier: {},
- SourceDBClusterIdentifier: {},
- RestoreToTime: { type: "timestamp" },
- UseLatestRestorableTime: { type: "boolean" },
- Port: { type: "integer" },
- DBSubnetGroupName: {},
- VpcSecurityGroupIds: { shape: "Sn" },
- Tags: { shape: "S3" },
- KmsKeyId: {},
- EnableCloudwatchLogsExports: { shape: "So" },
- DeletionProtection: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "RestoreDBClusterToPointInTimeResult",
- type: "structure",
- members: { DBCluster: { shape: "Sq" } },
- },
- },
- StartDBCluster: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier"],
- members: { DBClusterIdentifier: {} },
- },
- output: {
- resultWrapper: "StartDBClusterResult",
- type: "structure",
- members: { DBCluster: { shape: "Sq" } },
- },
- },
- StopDBCluster: {
- input: {
- type: "structure",
- required: ["DBClusterIdentifier"],
- members: { DBClusterIdentifier: {} },
- },
- output: {
- resultWrapper: "StopDBClusterResult",
- type: "structure",
- members: { DBCluster: { shape: "Sq" } },
- },
- },
- },
- shapes: {
- S3: {
- type: "list",
- member: {
- locationName: "Tag",
- type: "structure",
- members: { Key: {}, Value: {} },
- },
- },
- S7: {
- type: "structure",
- members: {
- ResourceIdentifier: {},
- PendingMaintenanceActionDetails: {
- type: "list",
- member: {
- locationName: "PendingMaintenanceAction",
- type: "structure",
- members: {
- Action: {},
- AutoAppliedAfterDate: { type: "timestamp" },
- ForcedApplyDate: { type: "timestamp" },
- OptInStatus: {},
- CurrentApplyDate: { type: "timestamp" },
- Description: {},
- },
- },
- },
- },
- wrapper: true,
- },
- Sd: {
- type: "structure",
- members: {
- DBClusterParameterGroupName: {},
- DBParameterGroupFamily: {},
- Description: {},
- DBClusterParameterGroupArn: {},
- },
- wrapper: true,
- },
- Sh: {
- type: "structure",
- members: {
- AvailabilityZones: { shape: "Si" },
- DBClusterSnapshotIdentifier: {},
- DBClusterIdentifier: {},
- SnapshotCreateTime: { type: "timestamp" },
- Engine: {},
- Status: {},
- Port: { type: "integer" },
- VpcId: {},
- ClusterCreateTime: { type: "timestamp" },
- MasterUsername: {},
- EngineVersion: {},
- SnapshotType: {},
- PercentProgress: { type: "integer" },
- StorageEncrypted: { type: "boolean" },
- KmsKeyId: {},
- DBClusterSnapshotArn: {},
- SourceDBClusterSnapshotArn: {},
- },
- wrapper: true,
- },
- Si: { type: "list", member: { locationName: "AvailabilityZone" } },
- Sn: { type: "list", member: { locationName: "VpcSecurityGroupId" } },
- So: { type: "list", member: {} },
- Sq: {
- type: "structure",
- members: {
- AvailabilityZones: { shape: "Si" },
- BackupRetentionPeriod: { type: "integer" },
- DBClusterIdentifier: {},
- DBClusterParameterGroup: {},
- DBSubnetGroup: {},
- Status: {},
- PercentProgress: {},
- EarliestRestorableTime: { type: "timestamp" },
- Endpoint: {},
- ReaderEndpoint: {},
- MultiAZ: { type: "boolean" },
- Engine: {},
- EngineVersion: {},
- LatestRestorableTime: { type: "timestamp" },
- Port: { type: "integer" },
- MasterUsername: {},
- PreferredBackupWindow: {},
- PreferredMaintenanceWindow: {},
- DBClusterMembers: {
- type: "list",
- member: {
- locationName: "DBClusterMember",
- type: "structure",
- members: {
- DBInstanceIdentifier: {},
- IsClusterWriter: { type: "boolean" },
- DBClusterParameterGroupStatus: {},
- PromotionTier: { type: "integer" },
- },
- wrapper: true,
- },
- },
- VpcSecurityGroups: { shape: "St" },
- HostedZoneId: {},
- StorageEncrypted: { type: "boolean" },
- KmsKeyId: {},
- DbClusterResourceId: {},
- DBClusterArn: {},
- AssociatedRoles: {
- type: "list",
- member: {
- locationName: "DBClusterRole",
- type: "structure",
- members: { RoleArn: {}, Status: {} },
- },
- },
- ClusterCreateTime: { type: "timestamp" },
- EnabledCloudwatchLogsExports: { shape: "So" },
- DeletionProtection: { type: "boolean" },
- },
- wrapper: true,
- },
- St: {
- type: "list",
- member: {
- locationName: "VpcSecurityGroupMembership",
- type: "structure",
- members: { VpcSecurityGroupId: {}, Status: {} },
- },
- },
- S13: {
- type: "structure",
- members: {
- DBInstanceIdentifier: {},
- DBInstanceClass: {},
- Engine: {},
- DBInstanceStatus: {},
- Endpoint: {
- type: "structure",
- members: {
- Address: {},
- Port: { type: "integer" },
- HostedZoneId: {},
- },
- },
- InstanceCreateTime: { type: "timestamp" },
- PreferredBackupWindow: {},
- BackupRetentionPeriod: { type: "integer" },
- VpcSecurityGroups: { shape: "St" },
- AvailabilityZone: {},
- DBSubnetGroup: { shape: "S15" },
- PreferredMaintenanceWindow: {},
- PendingModifiedValues: {
- type: "structure",
- members: {
- DBInstanceClass: {},
- AllocatedStorage: { type: "integer" },
- MasterUserPassword: {},
- Port: { type: "integer" },
- BackupRetentionPeriod: { type: "integer" },
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- LicenseModel: {},
- Iops: { type: "integer" },
- DBInstanceIdentifier: {},
- StorageType: {},
- CACertificateIdentifier: {},
- DBSubnetGroupName: {},
- PendingCloudwatchLogsExports: {
- type: "structure",
- members: {
- LogTypesToEnable: { shape: "So" },
- LogTypesToDisable: { shape: "So" },
- },
- },
- },
- },
- LatestRestorableTime: { type: "timestamp" },
- EngineVersion: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- PubliclyAccessible: { type: "boolean" },
- StatusInfos: {
- type: "list",
- member: {
- locationName: "DBInstanceStatusInfo",
- type: "structure",
- members: {
- StatusType: {},
- Normal: { type: "boolean" },
- Status: {},
- Message: {},
- },
- },
- },
- DBClusterIdentifier: {},
- StorageEncrypted: { type: "boolean" },
- KmsKeyId: {},
- DbiResourceId: {},
- CACertificateIdentifier: {},
- PromotionTier: { type: "integer" },
- DBInstanceArn: {},
- EnabledCloudwatchLogsExports: { shape: "So" },
- },
- wrapper: true,
- },
- S15: {
- type: "structure",
- members: {
- DBSubnetGroupName: {},
- DBSubnetGroupDescription: {},
- VpcId: {},
- SubnetGroupStatus: {},
- Subnets: {
- type: "list",
- member: {
- locationName: "Subnet",
- type: "structure",
- members: {
- SubnetIdentifier: {},
- SubnetAvailabilityZone: { shape: "S18" },
- SubnetStatus: {},
- },
- },
- },
- DBSubnetGroupArn: {},
- },
- wrapper: true,
- },
- S18: { type: "structure", members: { Name: {} }, wrapper: true },
- S1e: { type: "list", member: { locationName: "SubnetIdentifier" } },
- S1p: {
- type: "list",
- member: {
- locationName: "Filter",
- type: "structure",
- required: ["Name", "Values"],
- members: {
- Name: {},
- Values: { type: "list", member: { locationName: "Value" } },
- },
- },
- },
- S20: {
- type: "list",
- member: {
- locationName: "Parameter",
- type: "structure",
- members: {
- ParameterName: {},
- ParameterValue: {},
- Description: {},
- Source: {},
- ApplyType: {},
- DataType: {},
- AllowedValues: {},
- IsModifiable: { type: "boolean" },
- MinimumEngineVersion: {},
- ApplyMethod: {},
- },
- },
- },
- S25: {
- type: "structure",
- members: {
- DBClusterSnapshotIdentifier: {},
- DBClusterSnapshotAttributes: {
- type: "list",
- member: {
- locationName: "DBClusterSnapshotAttribute",
- type: "structure",
- members: {
- AttributeName: {},
- AttributeValues: { shape: "S28" },
- },
- },
- },
- },
- wrapper: true,
- },
- S28: { type: "list", member: { locationName: "AttributeValue" } },
- S2y: { type: "list", member: { locationName: "EventCategory" } },
- S3k: {
- type: "structure",
- members: { DBClusterParameterGroupName: {} },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2467: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(4575);
- model.paginators = __webpack_require__(7291).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.AccessAnalyzer;
-
- /***/
- },
-
- /***/ 2474: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 2476: /***/ function (__unusedmodule, exports, __webpack_require__) {
- // Generated by CoffeeScript 1.12.7
- (function () {
- "use strict";
- var builder,
- defaults,
- escapeCDATA,
- requiresCDATA,
- wrapCDATA,
- hasProp = {}.hasOwnProperty;
-
- builder = __webpack_require__(312);
-
- defaults = __webpack_require__(1514).defaults;
-
- requiresCDATA = function (entry) {
- return (
- typeof entry === "string" &&
- (entry.indexOf("&") >= 0 ||
- entry.indexOf(">") >= 0 ||
- entry.indexOf("<") >= 0)
- );
- };
-
- wrapCDATA = function (entry) {
- return "";
- };
-
- escapeCDATA = function (entry) {
- return entry.replace("]]>", "]]]]>");
- };
-
- exports.Builder = (function () {
- function Builder(opts) {
- var key, ref, value;
- this.options = {};
- ref = defaults["0.2"];
- for (key in ref) {
- if (!hasProp.call(ref, key)) continue;
- value = ref[key];
- this.options[key] = value;
- }
- for (key in opts) {
- if (!hasProp.call(opts, key)) continue;
- value = opts[key];
- this.options[key] = value;
- }
- }
-
- Builder.prototype.buildObject = function (rootObj) {
- var attrkey, charkey, render, rootElement, rootName;
- attrkey = this.options.attrkey;
- charkey = this.options.charkey;
- if (
- Object.keys(rootObj).length === 1 &&
- this.options.rootName === defaults["0.2"].rootName
- ) {
- rootName = Object.keys(rootObj)[0];
- rootObj = rootObj[rootName];
- } else {
- rootName = this.options.rootName;
- }
- render = (function (_this) {
- return function (element, obj) {
- var attr, child, entry, index, key, value;
- if (typeof obj !== "object") {
- if (_this.options.cdata && requiresCDATA(obj)) {
- element.raw(wrapCDATA(obj));
- } else {
- element.txt(obj);
- }
- } else if (Array.isArray(obj)) {
- for (index in obj) {
- if (!hasProp.call(obj, index)) continue;
- child = obj[index];
- for (key in child) {
- entry = child[key];
- element = render(element.ele(key), entry).up();
- }
- }
- } else {
- for (key in obj) {
- if (!hasProp.call(obj, key)) continue;
- child = obj[key];
- if (key === attrkey) {
- if (typeof child === "object") {
- for (attr in child) {
- value = child[attr];
- element = element.att(attr, value);
- }
- }
- } else if (key === charkey) {
- if (_this.options.cdata && requiresCDATA(child)) {
- element = element.raw(wrapCDATA(child));
- } else {
- element = element.txt(child);
- }
- } else if (Array.isArray(child)) {
- for (index in child) {
- if (!hasProp.call(child, index)) continue;
- entry = child[index];
- if (typeof entry === "string") {
- if (_this.options.cdata && requiresCDATA(entry)) {
- element = element
- .ele(key)
- .raw(wrapCDATA(entry))
- .up();
- } else {
- element = element.ele(key, entry).up();
- }
- } else {
- element = render(element.ele(key), entry).up();
- }
- }
- } else if (typeof child === "object") {
- element = render(element.ele(key), child).up();
- } else {
- if (
- typeof child === "string" &&
- _this.options.cdata &&
- requiresCDATA(child)
- ) {
- element = element.ele(key).raw(wrapCDATA(child)).up();
- } else {
- if (child == null) {
- child = "";
- }
- element = element.ele(key, child.toString()).up();
- }
- }
- }
- }
- return element;
- };
- })(this);
- rootElement = builder.create(
- rootName,
- this.options.xmldec,
- this.options.doctype,
- {
- headless: this.options.headless,
- allowSurrogateChars: this.options.allowSurrogateChars,
- }
- );
- return render(rootElement, rootObj).end(this.options.renderOpts);
- };
-
- return Builder;
- })();
- }.call(this));
-
- /***/
- },
-
- /***/ 2481: /***/ function (module) {
- module.exports = {
- pagination: {
- ListDetectors: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "DetectorIds",
- },
- ListFilters: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "FilterNames",
- },
- ListFindings: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "FindingIds",
- },
- ListIPSets: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "IpSetIds",
- },
- ListInvitations: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "Invitations",
- },
- ListMembers: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "Members",
- },
- ListPublishingDestinations: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListThreatIntelSets: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "ThreatIntelSetIds",
- },
- },
- };
-
- /***/
- },
-
- /***/ 2490: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-02-27",
- endpointPrefix: "pi",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "AWS PI",
- serviceFullName: "AWS Performance Insights",
- serviceId: "PI",
- signatureVersion: "v4",
- signingName: "pi",
- targetPrefix: "PerformanceInsightsv20180227",
- uid: "pi-2018-02-27",
- },
- operations: {
- DescribeDimensionKeys: {
- input: {
- type: "structure",
- required: [
- "ServiceType",
- "Identifier",
- "StartTime",
- "EndTime",
- "Metric",
- "GroupBy",
- ],
- members: {
- ServiceType: {},
- Identifier: {},
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Metric: {},
- PeriodInSeconds: { type: "integer" },
- GroupBy: { shape: "S6" },
- PartitionBy: { shape: "S6" },
- Filter: { shape: "S9" },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- AlignedStartTime: { type: "timestamp" },
- AlignedEndTime: { type: "timestamp" },
- PartitionKeys: {
- type: "list",
- member: {
- type: "structure",
- required: ["Dimensions"],
- members: { Dimensions: { shape: "Se" } },
- },
- },
- Keys: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Dimensions: { shape: "Se" },
- Total: { type: "double" },
- Partitions: { type: "list", member: { type: "double" } },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- GetResourceMetrics: {
- input: {
- type: "structure",
- required: [
- "ServiceType",
- "Identifier",
- "MetricQueries",
- "StartTime",
- "EndTime",
- ],
- members: {
- ServiceType: {},
- Identifier: {},
- MetricQueries: {
- type: "list",
- member: {
- type: "structure",
- required: ["Metric"],
- members: {
- Metric: {},
- GroupBy: { shape: "S6" },
- Filter: { shape: "S9" },
- },
- },
- },
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- PeriodInSeconds: { type: "integer" },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- AlignedStartTime: { type: "timestamp" },
- AlignedEndTime: { type: "timestamp" },
- Identifier: {},
- MetricList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Key: {
- type: "structure",
- required: ["Metric"],
- members: { Metric: {}, Dimensions: { shape: "Se" } },
- },
- DataPoints: {
- type: "list",
- member: {
- type: "structure",
- required: ["Timestamp", "Value"],
- members: {
- Timestamp: { type: "timestamp" },
- Value: { type: "double" },
- },
- },
- },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- },
- shapes: {
- S6: {
- type: "structure",
- required: ["Group"],
- members: {
- Group: {},
- Dimensions: { type: "list", member: {} },
- Limit: { type: "integer" },
- },
- },
- S9: { type: "map", key: {}, value: {} },
- Se: { type: "map", key: {}, value: {} },
- },
- };
-
- /***/
- },
-
- /***/ 2491: /***/ function (module, __unusedexports, __webpack_require__) {
- // Generated by CoffeeScript 1.12.7
- (function () {
- var XMLNode,
- XMLProcessingInstruction,
- extend = function (child, parent) {
- for (var key in parent) {
- if (hasProp.call(parent, key)) child[key] = parent[key];
- }
- function ctor() {
- this.constructor = child;
- }
- ctor.prototype = parent.prototype;
- child.prototype = new ctor();
- child.__super__ = parent.prototype;
- return child;
- },
- hasProp = {}.hasOwnProperty;
-
- XMLNode = __webpack_require__(6855);
-
- module.exports = XMLProcessingInstruction = (function (superClass) {
- extend(XMLProcessingInstruction, superClass);
-
- function XMLProcessingInstruction(parent, target, value) {
- XMLProcessingInstruction.__super__.constructor.call(this, parent);
- if (target == null) {
- throw new Error("Missing instruction target");
- }
- this.target = this.stringify.insTarget(target);
- if (value) {
- this.value = this.stringify.insValue(value);
- }
- }
-
- XMLProcessingInstruction.prototype.clone = function () {
- return Object.create(this);
- };
-
- XMLProcessingInstruction.prototype.toString = function (options) {
- return this.options.writer.set(options).processingInstruction(this);
- };
-
- return XMLProcessingInstruction;
- })(XMLNode);
- }.call(this));
-
- /***/
- },
-
- /***/ 2492: /***/ function (module, __unusedexports, __webpack_require__) {
- var util = __webpack_require__(153);
- var XmlNode = __webpack_require__(404).XmlNode;
- var XmlText = __webpack_require__(4948).XmlText;
-
- function XmlBuilder() {}
-
- XmlBuilder.prototype.toXML = function (
- params,
- shape,
- rootElement,
- noEmpty
- ) {
- var xml = new XmlNode(rootElement);
- applyNamespaces(xml, shape, true);
- serialize(xml, params, shape);
- return xml.children.length > 0 || noEmpty ? xml.toString() : "";
- };
-
- function serialize(xml, value, shape) {
- switch (shape.type) {
- case "structure":
- return serializeStructure(xml, value, shape);
- case "map":
- return serializeMap(xml, value, shape);
- case "list":
- return serializeList(xml, value, shape);
- default:
- return serializeScalar(xml, value, shape);
- }
- }
-
- function serializeStructure(xml, params, shape) {
- util.arrayEach(shape.memberNames, function (memberName) {
- var memberShape = shape.members[memberName];
- if (memberShape.location !== "body") return;
-
- var value = params[memberName];
- var name = memberShape.name;
- if (value !== undefined && value !== null) {
- if (memberShape.isXmlAttribute) {
- xml.addAttribute(name, value);
- } else if (memberShape.flattened) {
- serialize(xml, value, memberShape);
- } else {
- var element = new XmlNode(name);
- xml.addChildNode(element);
- applyNamespaces(element, memberShape);
- serialize(element, value, memberShape);
- }
- }
- });
- }
-
- function serializeMap(xml, map, shape) {
- var xmlKey = shape.key.name || "key";
- var xmlValue = shape.value.name || "value";
-
- util.each(map, function (key, value) {
- var entry = new XmlNode(shape.flattened ? shape.name : "entry");
- xml.addChildNode(entry);
-
- var entryKey = new XmlNode(xmlKey);
- var entryValue = new XmlNode(xmlValue);
- entry.addChildNode(entryKey);
- entry.addChildNode(entryValue);
-
- serialize(entryKey, key, shape.key);
- serialize(entryValue, value, shape.value);
- });
- }
-
- function serializeList(xml, list, shape) {
- if (shape.flattened) {
- util.arrayEach(list, function (value) {
- var name = shape.member.name || shape.name;
- var element = new XmlNode(name);
- xml.addChildNode(element);
- serialize(element, value, shape.member);
- });
- } else {
- util.arrayEach(list, function (value) {
- var name = shape.member.name || "member";
- var element = new XmlNode(name);
- xml.addChildNode(element);
- serialize(element, value, shape.member);
- });
- }
- }
-
- function serializeScalar(xml, value, shape) {
- xml.addChildNode(new XmlText(shape.toWireFormat(value)));
- }
-
- function applyNamespaces(xml, shape, isRoot) {
- var uri,
- prefix = "xmlns";
- if (shape.xmlNamespaceUri) {
- uri = shape.xmlNamespaceUri;
- if (shape.xmlNamespacePrefix)
- prefix += ":" + shape.xmlNamespacePrefix;
- } else if (isRoot && shape.api.xmlNamespaceUri) {
- uri = shape.api.xmlNamespaceUri;
- }
-
- if (uri) xml.addAttribute(prefix, uri);
- }
-
- /**
- * @api private
- */
- module.exports = XmlBuilder;
-
- /***/
- },
-
- /***/ 2510: /***/ function (module) {
- module.exports = addHook;
-
- function addHook(state, kind, name, hook) {
- var orig = hook;
- if (!state.registry[name]) {
- state.registry[name] = [];
- }
-
- if (kind === "before") {
- hook = function (method, options) {
- return Promise.resolve()
- .then(orig.bind(null, options))
- .then(method.bind(null, options));
- };
- }
-
- if (kind === "after") {
- hook = function (method, options) {
- var result;
- return Promise.resolve()
- .then(method.bind(null, options))
- .then(function (result_) {
- result = result_;
- return orig(result, options);
- })
- .then(function () {
- return result;
- });
- };
- }
-
- if (kind === "error") {
- hook = function (method, options) {
- return Promise.resolve()
- .then(method.bind(null, options))
- .catch(function (error) {
- return orig(error, options);
- });
- };
- }
-
- state.registry[name].push({
- hook: hook,
- orig: orig,
- });
- }
-
- /***/
- },
-
- /***/ 2522: /***/ function (module) {
- module.exports = {
- pagination: {
- GetOfferingStatus: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: ["current", "nextPeriod"],
- },
- ListArtifacts: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "artifacts",
- },
- ListDevicePools: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "devicePools",
- },
- ListDevices: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "devices",
- },
- ListJobs: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "jobs",
- },
- ListOfferingTransactions: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "offeringTransactions",
- },
- ListOfferings: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "offerings",
- },
- ListProjects: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "projects",
- },
- ListRuns: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "runs",
- },
- ListSamples: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "samples",
- },
- ListSuites: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "suites",
- },
- ListTestGridProjects: {
- input_token: "nextToken",
- limit_key: "maxResult",
- output_token: "nextToken",
- },
- ListTestGridSessionActions: {
- input_token: "nextToken",
- limit_key: "maxResult",
- output_token: "nextToken",
- },
- ListTestGridSessionArtifacts: {
- input_token: "nextToken",
- limit_key: "maxResult",
- output_token: "nextToken",
- },
- ListTestGridSessions: {
- input_token: "nextToken",
- limit_key: "maxResult",
- output_token: "nextToken",
- },
- ListTests: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "tests",
- },
- ListUniqueProblems: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "uniqueProblems",
- },
- ListUploads: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "uploads",
- },
- },
- };
-
- /***/
- },
-
- /***/ 2528: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-01-06",
- endpointPrefix: "cur",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "AWS Cost and Usage Report Service",
- serviceId: "Cost and Usage Report Service",
- signatureVersion: "v4",
- signingName: "cur",
- targetPrefix: "AWSOrigamiServiceGatewayService",
- uid: "cur-2017-01-06",
- },
- operations: {
- DeleteReportDefinition: {
- input: { type: "structure", members: { ReportName: {} } },
- output: { type: "structure", members: { ResponseMessage: {} } },
- },
- DescribeReportDefinitions: {
- input: {
- type: "structure",
- members: { MaxResults: { type: "integer" }, NextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- ReportDefinitions: { type: "list", member: { shape: "Sa" } },
- NextToken: {},
- },
- },
- },
- ModifyReportDefinition: {
- input: {
- type: "structure",
- required: ["ReportName", "ReportDefinition"],
- members: { ReportName: {}, ReportDefinition: { shape: "Sa" } },
- },
- output: { type: "structure", members: {} },
- },
- PutReportDefinition: {
- input: {
- type: "structure",
- required: ["ReportDefinition"],
- members: { ReportDefinition: { shape: "Sa" } },
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- Sa: {
- type: "structure",
- required: [
- "ReportName",
- "TimeUnit",
- "Format",
- "Compression",
- "AdditionalSchemaElements",
- "S3Bucket",
- "S3Prefix",
- "S3Region",
- ],
- members: {
- ReportName: {},
- TimeUnit: {},
- Format: {},
- Compression: {},
- AdditionalSchemaElements: { type: "list", member: {} },
- S3Bucket: {},
- S3Prefix: {},
- S3Region: {},
- AdditionalArtifacts: { type: "list", member: {} },
- RefreshClosedReports: { type: "boolean" },
- ReportVersioning: {},
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2533: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2015-07-09",
- endpointPrefix: "apigateway",
- protocol: "rest-json",
- serviceFullName: "Amazon API Gateway",
- serviceId: "API Gateway",
- signatureVersion: "v4",
- uid: "apigateway-2015-07-09",
- },
- operations: {
- CreateApiKey: {
- http: { requestUri: "/apikeys", responseCode: 201 },
- input: {
- type: "structure",
- members: {
- name: {},
- description: {},
- enabled: { type: "boolean" },
- generateDistinctId: { type: "boolean" },
- value: {},
- stageKeys: {
- type: "list",
- member: {
- type: "structure",
- members: { restApiId: {}, stageName: {} },
- },
- },
- customerId: {},
- tags: { shape: "S6" },
- },
- },
- output: { shape: "S7" },
- },
- CreateAuthorizer: {
- http: {
- requestUri: "/restapis/{restapi_id}/authorizers",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["restApiId", "name", "type"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- name: {},
- type: {},
- providerARNs: { shape: "Sc" },
- authType: {},
- authorizerUri: {},
- authorizerCredentials: {},
- identitySource: {},
- identityValidationExpression: {},
- authorizerResultTtlInSeconds: { type: "integer" },
- },
- },
- output: { shape: "Sf" },
- },
- CreateBasePathMapping: {
- http: {
- requestUri: "/domainnames/{domain_name}/basepathmappings",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["domainName", "restApiId"],
- members: {
- domainName: { location: "uri", locationName: "domain_name" },
- basePath: {},
- restApiId: {},
- stage: {},
- },
- },
- output: { shape: "Sh" },
- },
- CreateDeployment: {
- http: {
- requestUri: "/restapis/{restapi_id}/deployments",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- stageName: {},
- stageDescription: {},
- description: {},
- cacheClusterEnabled: { type: "boolean" },
- cacheClusterSize: {},
- variables: { shape: "S6" },
- canarySettings: {
- type: "structure",
- members: {
- percentTraffic: { type: "double" },
- stageVariableOverrides: { shape: "S6" },
- useStageCache: { type: "boolean" },
- },
- },
- tracingEnabled: { type: "boolean" },
- },
- },
- output: { shape: "Sn" },
- },
- CreateDocumentationPart: {
- http: {
- requestUri: "/restapis/{restapi_id}/documentation/parts",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["restApiId", "location", "properties"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- location: { shape: "Ss" },
- properties: {},
- },
- },
- output: { shape: "Sv" },
- },
- CreateDocumentationVersion: {
- http: {
- requestUri: "/restapis/{restapi_id}/documentation/versions",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["restApiId", "documentationVersion"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- documentationVersion: {},
- stageName: {},
- description: {},
- },
- },
- output: { shape: "Sx" },
- },
- CreateDomainName: {
- http: { requestUri: "/domainnames", responseCode: 201 },
- input: {
- type: "structure",
- required: ["domainName"],
- members: {
- domainName: {},
- certificateName: {},
- certificateBody: {},
- certificatePrivateKey: {},
- certificateChain: {},
- certificateArn: {},
- regionalCertificateName: {},
- regionalCertificateArn: {},
- endpointConfiguration: { shape: "Sz" },
- tags: { shape: "S6" },
- securityPolicy: {},
- },
- },
- output: { shape: "S13" },
- },
- CreateModel: {
- http: {
- requestUri: "/restapis/{restapi_id}/models",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["restApiId", "name", "contentType"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- name: {},
- description: {},
- schema: {},
- contentType: {},
- },
- },
- output: { shape: "S16" },
- },
- CreateRequestValidator: {
- http: {
- requestUri: "/restapis/{restapi_id}/requestvalidators",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- name: {},
- validateRequestBody: { type: "boolean" },
- validateRequestParameters: { type: "boolean" },
- },
- },
- output: { shape: "S18" },
- },
- CreateResource: {
- http: {
- requestUri: "/restapis/{restapi_id}/resources/{parent_id}",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["restApiId", "parentId", "pathPart"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- parentId: { location: "uri", locationName: "parent_id" },
- pathPart: {},
- },
- },
- output: { shape: "S1a" },
- },
- CreateRestApi: {
- http: { requestUri: "/restapis", responseCode: 201 },
- input: {
- type: "structure",
- required: ["name"],
- members: {
- name: {},
- description: {},
- version: {},
- cloneFrom: {},
- binaryMediaTypes: { shape: "S9" },
- minimumCompressionSize: { type: "integer" },
- apiKeySource: {},
- endpointConfiguration: { shape: "Sz" },
- policy: {},
- tags: { shape: "S6" },
- },
- },
- output: { shape: "S1q" },
- },
- CreateStage: {
- http: {
- requestUri: "/restapis/{restapi_id}/stages",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["restApiId", "stageName", "deploymentId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- stageName: {},
- deploymentId: {},
- description: {},
- cacheClusterEnabled: { type: "boolean" },
- cacheClusterSize: {},
- variables: { shape: "S6" },
- documentationVersion: {},
- canarySettings: { shape: "S1s" },
- tracingEnabled: { type: "boolean" },
- tags: { shape: "S6" },
- },
- },
- output: { shape: "S1t" },
- },
- CreateUsagePlan: {
- http: { requestUri: "/usageplans", responseCode: 201 },
- input: {
- type: "structure",
- required: ["name"],
- members: {
- name: {},
- description: {},
- apiStages: { shape: "S20" },
- throttle: { shape: "S23" },
- quota: { shape: "S24" },
- tags: { shape: "S6" },
- },
- },
- output: { shape: "S26" },
- },
- CreateUsagePlanKey: {
- http: {
- requestUri: "/usageplans/{usageplanId}/keys",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["usagePlanId", "keyId", "keyType"],
- members: {
- usagePlanId: { location: "uri", locationName: "usageplanId" },
- keyId: {},
- keyType: {},
- },
- },
- output: { shape: "S28" },
- },
- CreateVpcLink: {
- http: { requestUri: "/vpclinks", responseCode: 202 },
- input: {
- type: "structure",
- required: ["name", "targetArns"],
- members: {
- name: {},
- description: {},
- targetArns: { shape: "S9" },
- tags: { shape: "S6" },
- },
- },
- output: { shape: "S2a" },
- },
- DeleteApiKey: {
- http: {
- method: "DELETE",
- requestUri: "/apikeys/{api_Key}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["apiKey"],
- members: { apiKey: { location: "uri", locationName: "api_Key" } },
- },
- },
- DeleteAuthorizer: {
- http: {
- method: "DELETE",
- requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["restApiId", "authorizerId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- authorizerId: {
- location: "uri",
- locationName: "authorizer_id",
- },
- },
- },
- },
- DeleteBasePathMapping: {
- http: {
- method: "DELETE",
- requestUri:
- "/domainnames/{domain_name}/basepathmappings/{base_path}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["domainName", "basePath"],
- members: {
- domainName: { location: "uri", locationName: "domain_name" },
- basePath: { location: "uri", locationName: "base_path" },
- },
- },
- },
- DeleteClientCertificate: {
- http: {
- method: "DELETE",
- requestUri: "/clientcertificates/{clientcertificate_id}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["clientCertificateId"],
- members: {
- clientCertificateId: {
- location: "uri",
- locationName: "clientcertificate_id",
- },
- },
- },
- },
- DeleteDeployment: {
- http: {
- method: "DELETE",
- requestUri: "/restapis/{restapi_id}/deployments/{deployment_id}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["restApiId", "deploymentId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- deploymentId: {
- location: "uri",
- locationName: "deployment_id",
- },
- },
- },
- },
- DeleteDocumentationPart: {
- http: {
- method: "DELETE",
- requestUri:
- "/restapis/{restapi_id}/documentation/parts/{part_id}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["restApiId", "documentationPartId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- documentationPartId: {
- location: "uri",
- locationName: "part_id",
- },
- },
- },
- },
- DeleteDocumentationVersion: {
- http: {
- method: "DELETE",
- requestUri:
- "/restapis/{restapi_id}/documentation/versions/{doc_version}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["restApiId", "documentationVersion"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- documentationVersion: {
- location: "uri",
- locationName: "doc_version",
- },
- },
- },
- },
- DeleteDomainName: {
- http: {
- method: "DELETE",
- requestUri: "/domainnames/{domain_name}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["domainName"],
- members: {
- domainName: { location: "uri", locationName: "domain_name" },
- },
- },
- },
- DeleteGatewayResponse: {
- http: {
- method: "DELETE",
- requestUri:
- "/restapis/{restapi_id}/gatewayresponses/{response_type}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["restApiId", "responseType"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- responseType: {
- location: "uri",
- locationName: "response_type",
- },
- },
- },
- },
- DeleteIntegration: {
- http: {
- method: "DELETE",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- },
- },
- },
- DeleteIntegrationResponse: {
- http: {
- method: "DELETE",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod", "statusCode"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- statusCode: { location: "uri", locationName: "status_code" },
- },
- },
- },
- DeleteMethod: {
- http: {
- method: "DELETE",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- },
- },
- },
- DeleteMethodResponse: {
- http: {
- method: "DELETE",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod", "statusCode"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- statusCode: { location: "uri", locationName: "status_code" },
- },
- },
- },
- DeleteModel: {
- http: {
- method: "DELETE",
- requestUri: "/restapis/{restapi_id}/models/{model_name}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["restApiId", "modelName"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- modelName: { location: "uri", locationName: "model_name" },
- },
- },
- },
- DeleteRequestValidator: {
- http: {
- method: "DELETE",
- requestUri:
- "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["restApiId", "requestValidatorId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- requestValidatorId: {
- location: "uri",
- locationName: "requestvalidator_id",
- },
- },
- },
- },
- DeleteResource: {
- http: {
- method: "DELETE",
- requestUri: "/restapis/{restapi_id}/resources/{resource_id}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- },
- },
- },
- DeleteRestApi: {
- http: {
- method: "DELETE",
- requestUri: "/restapis/{restapi_id}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- },
- },
- },
- DeleteStage: {
- http: {
- method: "DELETE",
- requestUri: "/restapis/{restapi_id}/stages/{stage_name}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["restApiId", "stageName"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- stageName: { location: "uri", locationName: "stage_name" },
- },
- },
- },
- DeleteUsagePlan: {
- http: {
- method: "DELETE",
- requestUri: "/usageplans/{usageplanId}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["usagePlanId"],
- members: {
- usagePlanId: { location: "uri", locationName: "usageplanId" },
- },
- },
- },
- DeleteUsagePlanKey: {
- http: {
- method: "DELETE",
- requestUri: "/usageplans/{usageplanId}/keys/{keyId}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["usagePlanId", "keyId"],
- members: {
- usagePlanId: { location: "uri", locationName: "usageplanId" },
- keyId: { location: "uri", locationName: "keyId" },
- },
- },
- },
- DeleteVpcLink: {
- http: {
- method: "DELETE",
- requestUri: "/vpclinks/{vpclink_id}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["vpcLinkId"],
- members: {
- vpcLinkId: { location: "uri", locationName: "vpclink_id" },
- },
- },
- },
- FlushStageAuthorizersCache: {
- http: {
- method: "DELETE",
- requestUri:
- "/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["restApiId", "stageName"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- stageName: { location: "uri", locationName: "stage_name" },
- },
- },
- },
- FlushStageCache: {
- http: {
- method: "DELETE",
- requestUri:
- "/restapis/{restapi_id}/stages/{stage_name}/cache/data",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["restApiId", "stageName"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- stageName: { location: "uri", locationName: "stage_name" },
- },
- },
- },
- GenerateClientCertificate: {
- http: { requestUri: "/clientcertificates", responseCode: 201 },
- input: {
- type: "structure",
- members: { description: {}, tags: { shape: "S6" } },
- },
- output: { shape: "S31" },
- },
- GetAccount: {
- http: { method: "GET", requestUri: "/account" },
- input: { type: "structure", members: {} },
- output: { shape: "S33" },
- },
- GetApiKey: {
- http: { method: "GET", requestUri: "/apikeys/{api_Key}" },
- input: {
- type: "structure",
- required: ["apiKey"],
- members: {
- apiKey: { location: "uri", locationName: "api_Key" },
- includeValue: {
- location: "querystring",
- locationName: "includeValue",
- type: "boolean",
- },
- },
- },
- output: { shape: "S7" },
- },
- GetApiKeys: {
- http: { method: "GET", requestUri: "/apikeys" },
- input: {
- type: "structure",
- members: {
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- nameQuery: { location: "querystring", locationName: "name" },
- customerId: {
- location: "querystring",
- locationName: "customerId",
- },
- includeValues: {
- location: "querystring",
- locationName: "includeValues",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- warnings: { shape: "S9" },
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "S7" },
- },
- },
- },
- },
- GetAuthorizer: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "authorizerId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- authorizerId: {
- location: "uri",
- locationName: "authorizer_id",
- },
- },
- },
- output: { shape: "Sf" },
- },
- GetAuthorizers: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/authorizers",
- },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "Sf" },
- },
- },
- },
- },
- GetBasePathMapping: {
- http: {
- method: "GET",
- requestUri:
- "/domainnames/{domain_name}/basepathmappings/{base_path}",
- },
- input: {
- type: "structure",
- required: ["domainName", "basePath"],
- members: {
- domainName: { location: "uri", locationName: "domain_name" },
- basePath: { location: "uri", locationName: "base_path" },
- },
- },
- output: { shape: "Sh" },
- },
- GetBasePathMappings: {
- http: {
- method: "GET",
- requestUri: "/domainnames/{domain_name}/basepathmappings",
- },
- input: {
- type: "structure",
- required: ["domainName"],
- members: {
- domainName: { location: "uri", locationName: "domain_name" },
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "Sh" },
- },
- },
- },
- },
- GetClientCertificate: {
- http: {
- method: "GET",
- requestUri: "/clientcertificates/{clientcertificate_id}",
- },
- input: {
- type: "structure",
- required: ["clientCertificateId"],
- members: {
- clientCertificateId: {
- location: "uri",
- locationName: "clientcertificate_id",
- },
- },
- },
- output: { shape: "S31" },
- },
- GetClientCertificates: {
- http: { method: "GET", requestUri: "/clientcertificates" },
- input: {
- type: "structure",
- members: {
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "S31" },
- },
- },
- },
- },
- GetDeployment: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/deployments/{deployment_id}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "deploymentId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- deploymentId: {
- location: "uri",
- locationName: "deployment_id",
- },
- embed: {
- shape: "S9",
- location: "querystring",
- locationName: "embed",
- },
- },
- },
- output: { shape: "Sn" },
- },
- GetDeployments: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/deployments",
- },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "Sn" },
- },
- },
- },
- },
- GetDocumentationPart: {
- http: {
- method: "GET",
- requestUri:
- "/restapis/{restapi_id}/documentation/parts/{part_id}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "documentationPartId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- documentationPartId: {
- location: "uri",
- locationName: "part_id",
- },
- },
- },
- output: { shape: "Sv" },
- },
- GetDocumentationParts: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/documentation/parts",
- },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- type: { location: "querystring", locationName: "type" },
- nameQuery: { location: "querystring", locationName: "name" },
- path: { location: "querystring", locationName: "path" },
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- locationStatus: {
- location: "querystring",
- locationName: "locationStatus",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "Sv" },
- },
- },
- },
- },
- GetDocumentationVersion: {
- http: {
- method: "GET",
- requestUri:
- "/restapis/{restapi_id}/documentation/versions/{doc_version}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "documentationVersion"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- documentationVersion: {
- location: "uri",
- locationName: "doc_version",
- },
- },
- },
- output: { shape: "Sx" },
- },
- GetDocumentationVersions: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/documentation/versions",
- },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "Sx" },
- },
- },
- },
- },
- GetDomainName: {
- http: { method: "GET", requestUri: "/domainnames/{domain_name}" },
- input: {
- type: "structure",
- required: ["domainName"],
- members: {
- domainName: { location: "uri", locationName: "domain_name" },
- },
- },
- output: { shape: "S13" },
- },
- GetDomainNames: {
- http: { method: "GET", requestUri: "/domainnames" },
- input: {
- type: "structure",
- members: {
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "S13" },
- },
- },
- },
- },
- GetExport: {
- http: {
- method: "GET",
- requestUri:
- "/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["restApiId", "stageName", "exportType"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- stageName: { location: "uri", locationName: "stage_name" },
- exportType: { location: "uri", locationName: "export_type" },
- parameters: { shape: "S6", location: "querystring" },
- accepts: { location: "header", locationName: "Accept" },
- },
- },
- output: {
- type: "structure",
- members: {
- contentType: {
- location: "header",
- locationName: "Content-Type",
- },
- contentDisposition: {
- location: "header",
- locationName: "Content-Disposition",
- },
- body: { type: "blob" },
- },
- payload: "body",
- },
- },
- GetGatewayResponse: {
- http: {
- method: "GET",
- requestUri:
- "/restapis/{restapi_id}/gatewayresponses/{response_type}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "responseType"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- responseType: {
- location: "uri",
- locationName: "response_type",
- },
- },
- },
- output: { shape: "S45" },
- },
- GetGatewayResponses: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/gatewayresponses",
- },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "S45" },
- },
- },
- },
- },
- GetIntegration: {
- http: {
- method: "GET",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration",
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- },
- },
- output: { shape: "S1h" },
- },
- GetIntegrationResponse: {
- http: {
- method: "GET",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod", "statusCode"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- statusCode: { location: "uri", locationName: "status_code" },
- },
- },
- output: { shape: "S1n" },
- },
- GetMethod: {
- http: {
- method: "GET",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- },
- },
- output: { shape: "S1c" },
- },
- GetMethodResponse: {
- http: {
- method: "GET",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod", "statusCode"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- statusCode: { location: "uri", locationName: "status_code" },
- },
- },
- output: { shape: "S1f" },
- },
- GetModel: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/models/{model_name}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "modelName"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- modelName: { location: "uri", locationName: "model_name" },
- flatten: {
- location: "querystring",
- locationName: "flatten",
- type: "boolean",
- },
- },
- },
- output: { shape: "S16" },
- },
- GetModelTemplate: {
- http: {
- method: "GET",
- requestUri:
- "/restapis/{restapi_id}/models/{model_name}/default_template",
- },
- input: {
- type: "structure",
- required: ["restApiId", "modelName"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- modelName: { location: "uri", locationName: "model_name" },
- },
- },
- output: { type: "structure", members: { value: {} } },
- },
- GetModels: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/models",
- },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "S16" },
- },
- },
- },
- },
- GetRequestValidator: {
- http: {
- method: "GET",
- requestUri:
- "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "requestValidatorId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- requestValidatorId: {
- location: "uri",
- locationName: "requestvalidator_id",
- },
- },
- },
- output: { shape: "S18" },
- },
- GetRequestValidators: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/requestvalidators",
- },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "S18" },
- },
- },
- },
- },
- GetResource: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/resources/{resource_id}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- embed: {
- shape: "S9",
- location: "querystring",
- locationName: "embed",
- },
- },
- },
- output: { shape: "S1a" },
- },
- GetResources: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/resources",
- },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- embed: {
- shape: "S9",
- location: "querystring",
- locationName: "embed",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "S1a" },
- },
- },
- },
- },
- GetRestApi: {
- http: { method: "GET", requestUri: "/restapis/{restapi_id}" },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- },
- },
- output: { shape: "S1q" },
- },
- GetRestApis: {
- http: { method: "GET", requestUri: "/restapis" },
- input: {
- type: "structure",
- members: {
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "S1q" },
- },
- },
- },
- },
- GetSdk: {
- http: {
- method: "GET",
- requestUri:
- "/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["restApiId", "stageName", "sdkType"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- stageName: { location: "uri", locationName: "stage_name" },
- sdkType: { location: "uri", locationName: "sdk_type" },
- parameters: { shape: "S6", location: "querystring" },
- },
- },
- output: {
- type: "structure",
- members: {
- contentType: {
- location: "header",
- locationName: "Content-Type",
- },
- contentDisposition: {
- location: "header",
- locationName: "Content-Disposition",
- },
- body: { type: "blob" },
- },
- payload: "body",
- },
- },
- GetSdkType: {
- http: { method: "GET", requestUri: "/sdktypes/{sdktype_id}" },
- input: {
- type: "structure",
- required: ["id"],
- members: { id: { location: "uri", locationName: "sdktype_id" } },
- },
- output: { shape: "S4y" },
- },
- GetSdkTypes: {
- http: { method: "GET", requestUri: "/sdktypes" },
- input: {
- type: "structure",
- members: {
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "S4y" },
- },
- },
- },
- },
- GetStage: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/stages/{stage_name}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "stageName"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- stageName: { location: "uri", locationName: "stage_name" },
- },
- },
- output: { shape: "S1t" },
- },
- GetStages: {
- http: {
- method: "GET",
- requestUri: "/restapis/{restapi_id}/stages",
- },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- deploymentId: {
- location: "querystring",
- locationName: "deploymentId",
- },
- },
- },
- output: {
- type: "structure",
- members: { item: { type: "list", member: { shape: "S1t" } } },
- },
- },
- GetTags: {
- http: { method: "GET", requestUri: "/tags/{resource_arn}" },
- input: {
- type: "structure",
- required: ["resourceArn"],
- members: {
- resourceArn: { location: "uri", locationName: "resource_arn" },
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: { type: "structure", members: { tags: { shape: "S6" } } },
- },
- GetUsage: {
- http: {
- method: "GET",
- requestUri: "/usageplans/{usageplanId}/usage",
- },
- input: {
- type: "structure",
- required: ["usagePlanId", "startDate", "endDate"],
- members: {
- usagePlanId: { location: "uri", locationName: "usageplanId" },
- keyId: { location: "querystring", locationName: "keyId" },
- startDate: {
- location: "querystring",
- locationName: "startDate",
- },
- endDate: { location: "querystring", locationName: "endDate" },
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: { shape: "S5b" },
- },
- GetUsagePlan: {
- http: { method: "GET", requestUri: "/usageplans/{usageplanId}" },
- input: {
- type: "structure",
- required: ["usagePlanId"],
- members: {
- usagePlanId: { location: "uri", locationName: "usageplanId" },
- },
- },
- output: { shape: "S26" },
- },
- GetUsagePlanKey: {
- http: {
- method: "GET",
- requestUri: "/usageplans/{usageplanId}/keys/{keyId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["usagePlanId", "keyId"],
- members: {
- usagePlanId: { location: "uri", locationName: "usageplanId" },
- keyId: { location: "uri", locationName: "keyId" },
- },
- },
- output: { shape: "S28" },
- },
- GetUsagePlanKeys: {
- http: {
- method: "GET",
- requestUri: "/usageplans/{usageplanId}/keys",
- },
- input: {
- type: "structure",
- required: ["usagePlanId"],
- members: {
- usagePlanId: { location: "uri", locationName: "usageplanId" },
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- nameQuery: { location: "querystring", locationName: "name" },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "S28" },
- },
- },
- },
- },
- GetUsagePlans: {
- http: { method: "GET", requestUri: "/usageplans" },
- input: {
- type: "structure",
- members: {
- position: { location: "querystring", locationName: "position" },
- keyId: { location: "querystring", locationName: "keyId" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "S26" },
- },
- },
- },
- },
- GetVpcLink: {
- http: { method: "GET", requestUri: "/vpclinks/{vpclink_id}" },
- input: {
- type: "structure",
- required: ["vpcLinkId"],
- members: {
- vpcLinkId: { location: "uri", locationName: "vpclink_id" },
- },
- },
- output: { shape: "S2a" },
- },
- GetVpcLinks: {
- http: { method: "GET", requestUri: "/vpclinks" },
- input: {
- type: "structure",
- members: {
- position: { location: "querystring", locationName: "position" },
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- position: {},
- items: {
- locationName: "item",
- type: "list",
- member: { shape: "S2a" },
- },
- },
- },
- },
- ImportApiKeys: {
- http: { requestUri: "/apikeys?mode=import", responseCode: 201 },
- input: {
- type: "structure",
- required: ["body", "format"],
- members: {
- body: { type: "blob" },
- format: { location: "querystring", locationName: "format" },
- failOnWarnings: {
- location: "querystring",
- locationName: "failonwarnings",
- type: "boolean",
- },
- },
- payload: "body",
- },
- output: {
- type: "structure",
- members: { ids: { shape: "S9" }, warnings: { shape: "S9" } },
- },
- },
- ImportDocumentationParts: {
- http: {
- method: "PUT",
- requestUri: "/restapis/{restapi_id}/documentation/parts",
- },
- input: {
- type: "structure",
- required: ["restApiId", "body"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- mode: { location: "querystring", locationName: "mode" },
- failOnWarnings: {
- location: "querystring",
- locationName: "failonwarnings",
- type: "boolean",
- },
- body: { type: "blob" },
- },
- payload: "body",
- },
- output: {
- type: "structure",
- members: { ids: { shape: "S9" }, warnings: { shape: "S9" } },
- },
- },
- ImportRestApi: {
- http: { requestUri: "/restapis?mode=import", responseCode: 201 },
- input: {
- type: "structure",
- required: ["body"],
- members: {
- failOnWarnings: {
- location: "querystring",
- locationName: "failonwarnings",
- type: "boolean",
- },
- parameters: { shape: "S6", location: "querystring" },
- body: { type: "blob" },
- },
- payload: "body",
- },
- output: { shape: "S1q" },
- },
- PutGatewayResponse: {
- http: {
- method: "PUT",
- requestUri:
- "/restapis/{restapi_id}/gatewayresponses/{response_type}",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["restApiId", "responseType"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- responseType: {
- location: "uri",
- locationName: "response_type",
- },
- statusCode: {},
- responseParameters: { shape: "S6" },
- responseTemplates: { shape: "S6" },
- },
- },
- output: { shape: "S45" },
- },
- PutIntegration: {
- http: {
- method: "PUT",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod", "type"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- type: {},
- integrationHttpMethod: { locationName: "httpMethod" },
- uri: {},
- connectionType: {},
- connectionId: {},
- credentials: {},
- requestParameters: { shape: "S6" },
- requestTemplates: { shape: "S6" },
- passthroughBehavior: {},
- cacheNamespace: {},
- cacheKeyParameters: { shape: "S9" },
- contentHandling: {},
- timeoutInMillis: { type: "integer" },
- },
- },
- output: { shape: "S1h" },
- },
- PutIntegrationResponse: {
- http: {
- method: "PUT",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod", "statusCode"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- statusCode: { location: "uri", locationName: "status_code" },
- selectionPattern: {},
- responseParameters: { shape: "S6" },
- responseTemplates: { shape: "S6" },
- contentHandling: {},
- },
- },
- output: { shape: "S1n" },
- },
- PutMethod: {
- http: {
- method: "PUT",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: [
- "restApiId",
- "resourceId",
- "httpMethod",
- "authorizationType",
- ],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- authorizationType: {},
- authorizerId: {},
- apiKeyRequired: { type: "boolean" },
- operationName: {},
- requestParameters: { shape: "S1d" },
- requestModels: { shape: "S6" },
- requestValidatorId: {},
- authorizationScopes: { shape: "S9" },
- },
- },
- output: { shape: "S1c" },
- },
- PutMethodResponse: {
- http: {
- method: "PUT",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod", "statusCode"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- statusCode: { location: "uri", locationName: "status_code" },
- responseParameters: { shape: "S1d" },
- responseModels: { shape: "S6" },
- },
- },
- output: { shape: "S1f" },
- },
- PutRestApi: {
- http: { method: "PUT", requestUri: "/restapis/{restapi_id}" },
- input: {
- type: "structure",
- required: ["restApiId", "body"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- mode: { location: "querystring", locationName: "mode" },
- failOnWarnings: {
- location: "querystring",
- locationName: "failonwarnings",
- type: "boolean",
- },
- parameters: { shape: "S6", location: "querystring" },
- body: { type: "blob" },
- },
- payload: "body",
- },
- output: { shape: "S1q" },
- },
- TagResource: {
- http: {
- method: "PUT",
- requestUri: "/tags/{resource_arn}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["resourceArn", "tags"],
- members: {
- resourceArn: { location: "uri", locationName: "resource_arn" },
- tags: { shape: "S6" },
- },
- },
- },
- TestInvokeAuthorizer: {
- http: {
- requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "authorizerId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- authorizerId: {
- location: "uri",
- locationName: "authorizer_id",
- },
- headers: { shape: "S6" },
- multiValueHeaders: { shape: "S67" },
- pathWithQueryString: {},
- body: {},
- stageVariables: { shape: "S6" },
- additionalContext: { shape: "S6" },
- },
- },
- output: {
- type: "structure",
- members: {
- clientStatus: { type: "integer" },
- log: {},
- latency: { type: "long" },
- principalId: {},
- policy: {},
- authorization: { shape: "S67" },
- claims: { shape: "S6" },
- },
- },
- },
- TestInvokeMethod: {
- http: {
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- pathWithQueryString: {},
- body: {},
- headers: { shape: "S6" },
- multiValueHeaders: { shape: "S67" },
- clientCertificateId: {},
- stageVariables: { shape: "S6" },
- },
- },
- output: {
- type: "structure",
- members: {
- status: { type: "integer" },
- body: {},
- headers: { shape: "S6" },
- multiValueHeaders: { shape: "S67" },
- log: {},
- latency: { type: "long" },
- },
- },
- },
- UntagResource: {
- http: {
- method: "DELETE",
- requestUri: "/tags/{resource_arn}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["resourceArn", "tagKeys"],
- members: {
- resourceArn: { location: "uri", locationName: "resource_arn" },
- tagKeys: {
- shape: "S9",
- location: "querystring",
- locationName: "tagKeys",
- },
- },
- },
- },
- UpdateAccount: {
- http: { method: "PATCH", requestUri: "/account" },
- input: {
- type: "structure",
- members: { patchOperations: { shape: "S6d" } },
- },
- output: { shape: "S33" },
- },
- UpdateApiKey: {
- http: { method: "PATCH", requestUri: "/apikeys/{api_Key}" },
- input: {
- type: "structure",
- required: ["apiKey"],
- members: {
- apiKey: { location: "uri", locationName: "api_Key" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S7" },
- },
- UpdateAuthorizer: {
- http: {
- method: "PATCH",
- requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "authorizerId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- authorizerId: {
- location: "uri",
- locationName: "authorizer_id",
- },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "Sf" },
- },
- UpdateBasePathMapping: {
- http: {
- method: "PATCH",
- requestUri:
- "/domainnames/{domain_name}/basepathmappings/{base_path}",
- },
- input: {
- type: "structure",
- required: ["domainName", "basePath"],
- members: {
- domainName: { location: "uri", locationName: "domain_name" },
- basePath: { location: "uri", locationName: "base_path" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "Sh" },
- },
- UpdateClientCertificate: {
- http: {
- method: "PATCH",
- requestUri: "/clientcertificates/{clientcertificate_id}",
- },
- input: {
- type: "structure",
- required: ["clientCertificateId"],
- members: {
- clientCertificateId: {
- location: "uri",
- locationName: "clientcertificate_id",
- },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S31" },
- },
- UpdateDeployment: {
- http: {
- method: "PATCH",
- requestUri: "/restapis/{restapi_id}/deployments/{deployment_id}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "deploymentId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- deploymentId: {
- location: "uri",
- locationName: "deployment_id",
- },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "Sn" },
- },
- UpdateDocumentationPart: {
- http: {
- method: "PATCH",
- requestUri:
- "/restapis/{restapi_id}/documentation/parts/{part_id}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "documentationPartId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- documentationPartId: {
- location: "uri",
- locationName: "part_id",
- },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "Sv" },
- },
- UpdateDocumentationVersion: {
- http: {
- method: "PATCH",
- requestUri:
- "/restapis/{restapi_id}/documentation/versions/{doc_version}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "documentationVersion"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- documentationVersion: {
- location: "uri",
- locationName: "doc_version",
- },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "Sx" },
- },
- UpdateDomainName: {
- http: { method: "PATCH", requestUri: "/domainnames/{domain_name}" },
- input: {
- type: "structure",
- required: ["domainName"],
- members: {
- domainName: { location: "uri", locationName: "domain_name" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S13" },
- },
- UpdateGatewayResponse: {
- http: {
- method: "PATCH",
- requestUri:
- "/restapis/{restapi_id}/gatewayresponses/{response_type}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "responseType"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- responseType: {
- location: "uri",
- locationName: "response_type",
- },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S45" },
- },
- UpdateIntegration: {
- http: {
- method: "PATCH",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration",
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S1h" },
- },
- UpdateIntegrationResponse: {
- http: {
- method: "PATCH",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod", "statusCode"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- statusCode: { location: "uri", locationName: "status_code" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S1n" },
- },
- UpdateMethod: {
- http: {
- method: "PATCH",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S1c" },
- },
- UpdateMethodResponse: {
- http: {
- method: "PATCH",
- requestUri:
- "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId", "httpMethod", "statusCode"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- httpMethod: { location: "uri", locationName: "http_method" },
- statusCode: { location: "uri", locationName: "status_code" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S1f" },
- },
- UpdateModel: {
- http: {
- method: "PATCH",
- requestUri: "/restapis/{restapi_id}/models/{model_name}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "modelName"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- modelName: { location: "uri", locationName: "model_name" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S16" },
- },
- UpdateRequestValidator: {
- http: {
- method: "PATCH",
- requestUri:
- "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "requestValidatorId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- requestValidatorId: {
- location: "uri",
- locationName: "requestvalidator_id",
- },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S18" },
- },
- UpdateResource: {
- http: {
- method: "PATCH",
- requestUri: "/restapis/{restapi_id}/resources/{resource_id}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "resourceId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- resourceId: { location: "uri", locationName: "resource_id" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S1a" },
- },
- UpdateRestApi: {
- http: { method: "PATCH", requestUri: "/restapis/{restapi_id}" },
- input: {
- type: "structure",
- required: ["restApiId"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S1q" },
- },
- UpdateStage: {
- http: {
- method: "PATCH",
- requestUri: "/restapis/{restapi_id}/stages/{stage_name}",
- },
- input: {
- type: "structure",
- required: ["restApiId", "stageName"],
- members: {
- restApiId: { location: "uri", locationName: "restapi_id" },
- stageName: { location: "uri", locationName: "stage_name" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S1t" },
- },
- UpdateUsage: {
- http: {
- method: "PATCH",
- requestUri: "/usageplans/{usageplanId}/keys/{keyId}/usage",
- },
- input: {
- type: "structure",
- required: ["usagePlanId", "keyId"],
- members: {
- usagePlanId: { location: "uri", locationName: "usageplanId" },
- keyId: { location: "uri", locationName: "keyId" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S5b" },
- },
- UpdateUsagePlan: {
- http: { method: "PATCH", requestUri: "/usageplans/{usageplanId}" },
- input: {
- type: "structure",
- required: ["usagePlanId"],
- members: {
- usagePlanId: { location: "uri", locationName: "usageplanId" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S26" },
- },
- UpdateVpcLink: {
- http: { method: "PATCH", requestUri: "/vpclinks/{vpclink_id}" },
- input: {
- type: "structure",
- required: ["vpcLinkId"],
- members: {
- vpcLinkId: { location: "uri", locationName: "vpclink_id" },
- patchOperations: { shape: "S6d" },
- },
- },
- output: { shape: "S2a" },
- },
- },
- shapes: {
- S6: { type: "map", key: {}, value: {} },
- S7: {
- type: "structure",
- members: {
- id: {},
- value: {},
- name: {},
- customerId: {},
- description: {},
- enabled: { type: "boolean" },
- createdDate: { type: "timestamp" },
- lastUpdatedDate: { type: "timestamp" },
- stageKeys: { shape: "S9" },
- tags: { shape: "S6" },
- },
- },
- S9: { type: "list", member: {} },
- Sc: { type: "list", member: {} },
- Sf: {
- type: "structure",
- members: {
- id: {},
- name: {},
- type: {},
- providerARNs: { shape: "Sc" },
- authType: {},
- authorizerUri: {},
- authorizerCredentials: {},
- identitySource: {},
- identityValidationExpression: {},
- authorizerResultTtlInSeconds: { type: "integer" },
- },
- },
- Sh: {
- type: "structure",
- members: { basePath: {}, restApiId: {}, stage: {} },
- },
- Sn: {
- type: "structure",
- members: {
- id: {},
- description: {},
- createdDate: { type: "timestamp" },
- apiSummary: {
- type: "map",
- key: {},
- value: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- authorizationType: {},
- apiKeyRequired: { type: "boolean" },
- },
- },
- },
- },
- },
- },
- Ss: {
- type: "structure",
- required: ["type"],
- members: {
- type: {},
- path: {},
- method: {},
- statusCode: {},
- name: {},
- },
- },
- Sv: {
- type: "structure",
- members: { id: {}, location: { shape: "Ss" }, properties: {} },
- },
- Sx: {
- type: "structure",
- members: {
- version: {},
- createdDate: { type: "timestamp" },
- description: {},
- },
- },
- Sz: {
- type: "structure",
- members: {
- types: { type: "list", member: {} },
- vpcEndpointIds: { shape: "S9" },
- },
- },
- S13: {
- type: "structure",
- members: {
- domainName: {},
- certificateName: {},
- certificateArn: {},
- certificateUploadDate: { type: "timestamp" },
- regionalDomainName: {},
- regionalHostedZoneId: {},
- regionalCertificateName: {},
- regionalCertificateArn: {},
- distributionDomainName: {},
- distributionHostedZoneId: {},
- endpointConfiguration: { shape: "Sz" },
- domainNameStatus: {},
- domainNameStatusMessage: {},
- securityPolicy: {},
- tags: { shape: "S6" },
- },
- },
- S16: {
- type: "structure",
- members: {
- id: {},
- name: {},
- description: {},
- schema: {},
- contentType: {},
- },
- },
- S18: {
- type: "structure",
- members: {
- id: {},
- name: {},
- validateRequestBody: { type: "boolean" },
- validateRequestParameters: { type: "boolean" },
- },
- },
- S1a: {
- type: "structure",
- members: {
- id: {},
- parentId: {},
- pathPart: {},
- path: {},
- resourceMethods: {
- type: "map",
- key: {},
- value: { shape: "S1c" },
- },
- },
- },
- S1c: {
- type: "structure",
- members: {
- httpMethod: {},
- authorizationType: {},
- authorizerId: {},
- apiKeyRequired: { type: "boolean" },
- requestValidatorId: {},
- operationName: {},
- requestParameters: { shape: "S1d" },
- requestModels: { shape: "S6" },
- methodResponses: {
- type: "map",
- key: {},
- value: { shape: "S1f" },
- },
- methodIntegration: { shape: "S1h" },
- authorizationScopes: { shape: "S9" },
- },
- },
- S1d: { type: "map", key: {}, value: { type: "boolean" } },
- S1f: {
- type: "structure",
- members: {
- statusCode: {},
- responseParameters: { shape: "S1d" },
- responseModels: { shape: "S6" },
- },
- },
- S1h: {
- type: "structure",
- members: {
- type: {},
- httpMethod: {},
- uri: {},
- connectionType: {},
- connectionId: {},
- credentials: {},
- requestParameters: { shape: "S6" },
- requestTemplates: { shape: "S6" },
- passthroughBehavior: {},
- contentHandling: {},
- timeoutInMillis: { type: "integer" },
- cacheNamespace: {},
- cacheKeyParameters: { shape: "S9" },
- integrationResponses: {
- type: "map",
- key: {},
- value: { shape: "S1n" },
- },
- },
- },
- S1n: {
- type: "structure",
- members: {
- statusCode: {},
- selectionPattern: {},
- responseParameters: { shape: "S6" },
- responseTemplates: { shape: "S6" },
- contentHandling: {},
- },
- },
- S1q: {
- type: "structure",
- members: {
- id: {},
- name: {},
- description: {},
- createdDate: { type: "timestamp" },
- version: {},
- warnings: { shape: "S9" },
- binaryMediaTypes: { shape: "S9" },
- minimumCompressionSize: { type: "integer" },
- apiKeySource: {},
- endpointConfiguration: { shape: "Sz" },
- policy: {},
- tags: { shape: "S6" },
- },
- },
- S1s: {
- type: "structure",
- members: {
- percentTraffic: { type: "double" },
- deploymentId: {},
- stageVariableOverrides: { shape: "S6" },
- useStageCache: { type: "boolean" },
- },
- },
- S1t: {
- type: "structure",
- members: {
- deploymentId: {},
- clientCertificateId: {},
- stageName: {},
- description: {},
- cacheClusterEnabled: { type: "boolean" },
- cacheClusterSize: {},
- cacheClusterStatus: {},
- methodSettings: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- metricsEnabled: { type: "boolean" },
- loggingLevel: {},
- dataTraceEnabled: { type: "boolean" },
- throttlingBurstLimit: { type: "integer" },
- throttlingRateLimit: { type: "double" },
- cachingEnabled: { type: "boolean" },
- cacheTtlInSeconds: { type: "integer" },
- cacheDataEncrypted: { type: "boolean" },
- requireAuthorizationForCacheControl: { type: "boolean" },
- unauthorizedCacheControlHeaderStrategy: {},
- },
- },
- },
- variables: { shape: "S6" },
- documentationVersion: {},
- accessLogSettings: {
- type: "structure",
- members: { format: {}, destinationArn: {} },
- },
- canarySettings: { shape: "S1s" },
- tracingEnabled: { type: "boolean" },
- webAclArn: {},
- tags: { shape: "S6" },
- createdDate: { type: "timestamp" },
- lastUpdatedDate: { type: "timestamp" },
- },
- },
- S20: {
- type: "list",
- member: {
- type: "structure",
- members: {
- apiId: {},
- stage: {},
- throttle: { type: "map", key: {}, value: { shape: "S23" } },
- },
- },
- },
- S23: {
- type: "structure",
- members: {
- burstLimit: { type: "integer" },
- rateLimit: { type: "double" },
- },
- },
- S24: {
- type: "structure",
- members: {
- limit: { type: "integer" },
- offset: { type: "integer" },
- period: {},
- },
- },
- S26: {
- type: "structure",
- members: {
- id: {},
- name: {},
- description: {},
- apiStages: { shape: "S20" },
- throttle: { shape: "S23" },
- quota: { shape: "S24" },
- productCode: {},
- tags: { shape: "S6" },
- },
- },
- S28: {
- type: "structure",
- members: { id: {}, type: {}, value: {}, name: {} },
- },
- S2a: {
- type: "structure",
- members: {
- id: {},
- name: {},
- description: {},
- targetArns: { shape: "S9" },
- status: {},
- statusMessage: {},
- tags: { shape: "S6" },
- },
- },
- S31: {
- type: "structure",
- members: {
- clientCertificateId: {},
- description: {},
- pemEncodedCertificate: {},
- createdDate: { type: "timestamp" },
- expirationDate: { type: "timestamp" },
- tags: { shape: "S6" },
- },
- },
- S33: {
- type: "structure",
- members: {
- cloudwatchRoleArn: {},
- throttleSettings: { shape: "S23" },
- features: { shape: "S9" },
- apiKeyVersion: {},
- },
- },
- S45: {
- type: "structure",
- members: {
- responseType: {},
- statusCode: {},
- responseParameters: { shape: "S6" },
- responseTemplates: { shape: "S6" },
- defaultResponse: { type: "boolean" },
- },
- },
- S4y: {
- type: "structure",
- members: {
- id: {},
- friendlyName: {},
- description: {},
- configurationProperties: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- friendlyName: {},
- description: {},
- required: { type: "boolean" },
- defaultValue: {},
- },
- },
- },
- },
- },
- S5b: {
- type: "structure",
- members: {
- usagePlanId: {},
- startDate: {},
- endDate: {},
- position: {},
- items: {
- locationName: "values",
- type: "map",
- key: {},
- value: {
- type: "list",
- member: { type: "list", member: { type: "long" } },
- },
- },
- },
- },
- S67: { type: "map", key: {}, value: { shape: "S9" } },
- S6d: {
- type: "list",
- member: {
- type: "structure",
- members: { op: {}, path: {}, value: {}, from: {} },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2541: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- module.exports = {
- ACM: __webpack_require__(9427),
- APIGateway: __webpack_require__(7126),
- ApplicationAutoScaling: __webpack_require__(170),
- AppStream: __webpack_require__(7624),
- AutoScaling: __webpack_require__(9595),
- Batch: __webpack_require__(6605),
- Budgets: __webpack_require__(1836),
- CloudDirectory: __webpack_require__(469),
- CloudFormation: __webpack_require__(8021),
- CloudFront: __webpack_require__(4779),
- CloudHSM: __webpack_require__(5701),
- CloudSearch: __webpack_require__(9890),
- CloudSearchDomain: __webpack_require__(8395),
- CloudTrail: __webpack_require__(768),
- CloudWatch: __webpack_require__(5967),
- CloudWatchEvents: __webpack_require__(5114),
- CloudWatchLogs: __webpack_require__(4227),
- CodeBuild: __webpack_require__(665),
- CodeCommit: __webpack_require__(4086),
- CodeDeploy: __webpack_require__(2317),
- CodePipeline: __webpack_require__(8773),
- CognitoIdentity: __webpack_require__(2214),
- CognitoIdentityServiceProvider: __webpack_require__(9291),
- CognitoSync: __webpack_require__(1186),
- ConfigService: __webpack_require__(6458),
- CUR: __webpack_require__(4671),
- DataPipeline: __webpack_require__(5109),
- DeviceFarm: __webpack_require__(1372),
- DirectConnect: __webpack_require__(8331),
- DirectoryService: __webpack_require__(7194),
- Discovery: __webpack_require__(4341),
- DMS: __webpack_require__(6261),
- DynamoDB: __webpack_require__(7502),
- DynamoDBStreams: __webpack_require__(9822),
- EC2: __webpack_require__(3877),
- ECR: __webpack_require__(5773),
- ECS: __webpack_require__(6211),
- EFS: __webpack_require__(6887),
- ElastiCache: __webpack_require__(9236),
- ElasticBeanstalk: __webpack_require__(9452),
- ELB: __webpack_require__(600),
- ELBv2: __webpack_require__(1420),
- EMR: __webpack_require__(1928),
- ES: __webpack_require__(1920),
- ElasticTranscoder: __webpack_require__(8930),
- Firehose: __webpack_require__(9405),
- GameLift: __webpack_require__(8307),
- Glacier: __webpack_require__(9096),
- Health: __webpack_require__(7715),
- IAM: __webpack_require__(7845),
- ImportExport: __webpack_require__(6384),
- Inspector: __webpack_require__(4343),
- Iot: __webpack_require__(6255),
- IotData: __webpack_require__(1291),
- Kinesis: __webpack_require__(7221),
- KinesisAnalytics: __webpack_require__(3506),
- KMS: __webpack_require__(9374),
- Lambda: __webpack_require__(6382),
- LexRuntime: __webpack_require__(1879),
- Lightsail: __webpack_require__(7350),
- MachineLearning: __webpack_require__(5889),
- MarketplaceCommerceAnalytics: __webpack_require__(8458),
- MarketplaceMetering: __webpack_require__(9225),
- MTurk: __webpack_require__(6427),
- MobileAnalytics: __webpack_require__(6117),
- OpsWorks: __webpack_require__(5542),
- OpsWorksCM: __webpack_require__(6738),
- Organizations: __webpack_require__(7106),
- Pinpoint: __webpack_require__(5381),
- Polly: __webpack_require__(4211),
- RDS: __webpack_require__(1071),
- Redshift: __webpack_require__(5609),
- Rekognition: __webpack_require__(8991),
- ResourceGroupsTaggingAPI: __webpack_require__(6205),
- Route53: __webpack_require__(5707),
- Route53Domains: __webpack_require__(3206),
- S3: __webpack_require__(1777),
- S3Control: __webpack_require__(2617),
- ServiceCatalog: __webpack_require__(2673),
- SES: __webpack_require__(5311),
- Shield: __webpack_require__(8057),
- SimpleDB: __webpack_require__(7645),
- SMS: __webpack_require__(5103),
- Snowball: __webpack_require__(2259),
- SNS: __webpack_require__(6735),
- SQS: __webpack_require__(8779),
- SSM: __webpack_require__(2883),
- StorageGateway: __webpack_require__(910),
- StepFunctions: __webpack_require__(5835),
- STS: __webpack_require__(1733),
- Support: __webpack_require__(3042),
- SWF: __webpack_require__(8866),
- XRay: __webpack_require__(1015),
- WAF: __webpack_require__(4258),
- WAFRegional: __webpack_require__(2709),
- WorkDocs: __webpack_require__(4469),
- WorkSpaces: __webpack_require__(4400),
- CodeStar: __webpack_require__(7205),
- LexModelBuildingService: __webpack_require__(4888),
- MarketplaceEntitlementService: __webpack_require__(8265),
- Athena: __webpack_require__(7207),
- Greengrass: __webpack_require__(4290),
- DAX: __webpack_require__(7258),
- MigrationHub: __webpack_require__(2106),
- CloudHSMV2: __webpack_require__(6900),
- Glue: __webpack_require__(1711),
- Mobile: __webpack_require__(758),
- Pricing: __webpack_require__(3989),
- CostExplorer: __webpack_require__(332),
- MediaConvert: __webpack_require__(9568),
- MediaLive: __webpack_require__(99),
- MediaPackage: __webpack_require__(6515),
- MediaStore: __webpack_require__(1401),
- MediaStoreData: __webpack_require__(2271),
- AppSync: __webpack_require__(8847),
- GuardDuty: __webpack_require__(5939),
- MQ: __webpack_require__(3346),
- Comprehend: __webpack_require__(9627),
- IoTJobsDataPlane: __webpack_require__(6394),
- KinesisVideoArchivedMedia: __webpack_require__(6454),
- KinesisVideoMedia: __webpack_require__(4487),
- KinesisVideo: __webpack_require__(3707),
- SageMakerRuntime: __webpack_require__(2747),
- SageMaker: __webpack_require__(7151),
- Translate: __webpack_require__(1602),
- ResourceGroups: __webpack_require__(215),
- AlexaForBusiness: __webpack_require__(8679),
- Cloud9: __webpack_require__(877),
- ServerlessApplicationRepository: __webpack_require__(1592),
- ServiceDiscovery: __webpack_require__(6688),
- WorkMail: __webpack_require__(7404),
- AutoScalingPlans: __webpack_require__(3099),
- TranscribeService: __webpack_require__(8577),
- Connect: __webpack_require__(697),
- ACMPCA: __webpack_require__(2386),
- FMS: __webpack_require__(7923),
- SecretsManager: __webpack_require__(585),
- IoTAnalytics: __webpack_require__(7010),
- IoT1ClickDevicesService: __webpack_require__(8859),
- IoT1ClickProjects: __webpack_require__(9523),
- PI: __webpack_require__(1032),
- Neptune: __webpack_require__(8660),
- MediaTailor: __webpack_require__(466),
- EKS: __webpack_require__(1429),
- Macie: __webpack_require__(7899),
- DLM: __webpack_require__(160),
- Signer: __webpack_require__(4795),
- Chime: __webpack_require__(7409),
- PinpointEmail: __webpack_require__(8843),
- RAM: __webpack_require__(8421),
- Route53Resolver: __webpack_require__(4915),
- PinpointSMSVoice: __webpack_require__(1187),
- QuickSight: __webpack_require__(9475),
- RDSDataService: __webpack_require__(408),
- Amplify: __webpack_require__(8375),
- DataSync: __webpack_require__(9980),
- RoboMaker: __webpack_require__(4802),
- Transfer: __webpack_require__(7830),
- GlobalAccelerator: __webpack_require__(7443),
- ComprehendMedical: __webpack_require__(9457),
- KinesisAnalyticsV2: __webpack_require__(7043),
- MediaConnect: __webpack_require__(9526),
- FSx: __webpack_require__(8937),
- SecurityHub: __webpack_require__(1353),
- AppMesh: __webpack_require__(7555),
- LicenseManager: __webpack_require__(3110),
- Kafka: __webpack_require__(1275),
- ApiGatewayManagementApi: __webpack_require__(5319),
- ApiGatewayV2: __webpack_require__(2020),
- DocDB: __webpack_require__(7223),
- Backup: __webpack_require__(4604),
- WorkLink: __webpack_require__(1250),
- Textract: __webpack_require__(3223),
- ManagedBlockchain: __webpack_require__(3220),
- MediaPackageVod: __webpack_require__(2339),
- GroundStation: __webpack_require__(9976),
- IoTThingsGraph: __webpack_require__(2327),
- IoTEvents: __webpack_require__(3222),
- IoTEventsData: __webpack_require__(7581),
- Personalize: __webpack_require__(8478),
- PersonalizeEvents: __webpack_require__(8280),
- PersonalizeRuntime: __webpack_require__(1349),
- ApplicationInsights: __webpack_require__(9512),
- ServiceQuotas: __webpack_require__(6723),
- EC2InstanceConnect: __webpack_require__(5107),
- EventBridge: __webpack_require__(4105),
- LakeFormation: __webpack_require__(7026),
- ForecastService: __webpack_require__(1798),
- ForecastQueryService: __webpack_require__(4068),
- QLDB: __webpack_require__(9086),
- QLDBSession: __webpack_require__(2447),
- WorkMailMessageFlow: __webpack_require__(2145),
- CodeStarNotifications: __webpack_require__(3853),
- SavingsPlans: __webpack_require__(686),
- SSO: __webpack_require__(4612),
- SSOOIDC: __webpack_require__(1786),
- MarketplaceCatalog: __webpack_require__(6773),
- DataExchange: __webpack_require__(8433),
- SESV2: __webpack_require__(837),
- MigrationHubConfig: __webpack_require__(5924),
- ConnectParticipant: __webpack_require__(4122),
- AppConfig: __webpack_require__(5821),
- IoTSecureTunneling: __webpack_require__(6992),
- WAFV2: __webpack_require__(42),
- ElasticInference: __webpack_require__(5252),
- Imagebuilder: __webpack_require__(6244),
- Schemas: __webpack_require__(3694),
- AccessAnalyzer: __webpack_require__(2467),
- CodeGuruReviewer: __webpack_require__(1917),
- CodeGuruProfiler: __webpack_require__(623),
- ComputeOptimizer: __webpack_require__(1530),
- FraudDetector: __webpack_require__(9196),
- Kendra: __webpack_require__(6906),
- NetworkManager: __webpack_require__(4128),
- Outposts: __webpack_require__(8119),
- AugmentedAIRuntime: __webpack_require__(7508),
- EBS: __webpack_require__(7646),
- KinesisVideoSignalingChannels: __webpack_require__(2641),
- Detective: __webpack_require__(1068),
- CodeStarconnections: __webpack_require__(1096),
- };
-
- /***/
- },
-
- /***/ 2572: /***/ function (module) {
- module.exports = {
- rules: {
- "*/*": { endpoint: "{service}.{region}.amazonaws.com" },
- "cn-*/*": { endpoint: "{service}.{region}.amazonaws.com.cn" },
- "us-iso-*/*": { endpoint: "{service}.{region}.c2s.ic.gov" },
- "us-isob-*/*": { endpoint: "{service}.{region}.sc2s.sgov.gov" },
- "*/budgets": "globalSSL",
- "*/cloudfront": "globalSSL",
- "*/iam": "globalSSL",
- "*/sts": "globalSSL",
- "*/importexport": {
- endpoint: "{service}.amazonaws.com",
- signatureVersion: "v2",
- globalEndpoint: true,
- },
- "*/route53": {
- endpoint: "https://{service}.amazonaws.com",
- signatureVersion: "v3https",
- globalEndpoint: true,
- },
- "*/waf": "globalSSL",
- "us-gov-*/iam": "globalGovCloud",
- "us-gov-*/sts": { endpoint: "{service}.{region}.amazonaws.com" },
- "us-gov-west-1/s3": "s3signature",
- "us-west-1/s3": "s3signature",
- "us-west-2/s3": "s3signature",
- "eu-west-1/s3": "s3signature",
- "ap-southeast-1/s3": "s3signature",
- "ap-southeast-2/s3": "s3signature",
- "ap-northeast-1/s3": "s3signature",
- "sa-east-1/s3": "s3signature",
- "us-east-1/s3": {
- endpoint: "{service}.amazonaws.com",
- signatureVersion: "s3",
- },
- "us-east-1/sdb": {
- endpoint: "{service}.amazonaws.com",
- signatureVersion: "v2",
- },
- "*/sdb": {
- endpoint: "{service}.{region}.amazonaws.com",
- signatureVersion: "v2",
- },
- },
- patterns: {
- globalSSL: {
- endpoint: "https://{service}.amazonaws.com",
- globalEndpoint: true,
- },
- globalGovCloud: { endpoint: "{service}.us-gov.amazonaws.com" },
- s3signature: {
- endpoint: "{service}.{region}.amazonaws.com",
- signatureVersion: "s3",
- },
- },
- };
-
- /***/
- },
-
- /***/ 2592: /***/ function (module) {
- module.exports = {
- pagination: {
- ListAccessPoints: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListJobs: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 2599: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-11-05",
- endpointPrefix: "transfer",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "AWS Transfer",
- serviceFullName: "AWS Transfer for SFTP",
- serviceId: "Transfer",
- signatureVersion: "v4",
- signingName: "transfer",
- targetPrefix: "TransferService",
- uid: "transfer-2018-11-05",
- },
- operations: {
- CreateServer: {
- input: {
- type: "structure",
- members: {
- EndpointDetails: { shape: "S2" },
- EndpointType: {},
- HostKey: { shape: "Sa" },
- IdentityProviderDetails: { shape: "Sb" },
- IdentityProviderType: {},
- LoggingRole: {},
- Tags: { shape: "Sf" },
- },
- },
- output: {
- type: "structure",
- required: ["ServerId"],
- members: { ServerId: {} },
- },
- },
- CreateUser: {
- input: {
- type: "structure",
- required: ["Role", "ServerId", "UserName"],
- members: {
- HomeDirectory: {},
- HomeDirectoryType: {},
- HomeDirectoryMappings: { shape: "So" },
- Policy: {},
- Role: {},
- ServerId: {},
- SshPublicKeyBody: {},
- Tags: { shape: "Sf" },
- UserName: {},
- },
- },
- output: {
- type: "structure",
- required: ["ServerId", "UserName"],
- members: { ServerId: {}, UserName: {} },
- },
- },
- DeleteServer: {
- input: {
- type: "structure",
- required: ["ServerId"],
- members: { ServerId: {} },
- },
- },
- DeleteSshPublicKey: {
- input: {
- type: "structure",
- required: ["ServerId", "SshPublicKeyId", "UserName"],
- members: { ServerId: {}, SshPublicKeyId: {}, UserName: {} },
- },
- },
- DeleteUser: {
- input: {
- type: "structure",
- required: ["ServerId", "UserName"],
- members: { ServerId: {}, UserName: {} },
- },
- },
- DescribeServer: {
- input: {
- type: "structure",
- required: ["ServerId"],
- members: { ServerId: {} },
- },
- output: {
- type: "structure",
- required: ["Server"],
- members: {
- Server: {
- type: "structure",
- required: ["Arn"],
- members: {
- Arn: {},
- EndpointDetails: { shape: "S2" },
- EndpointType: {},
- HostKeyFingerprint: {},
- IdentityProviderDetails: { shape: "Sb" },
- IdentityProviderType: {},
- LoggingRole: {},
- ServerId: {},
- State: {},
- Tags: { shape: "Sf" },
- UserCount: { type: "integer" },
- },
- },
- },
- },
- },
- DescribeUser: {
- input: {
- type: "structure",
- required: ["ServerId", "UserName"],
- members: { ServerId: {}, UserName: {} },
- },
- output: {
- type: "structure",
- required: ["ServerId", "User"],
- members: {
- ServerId: {},
- User: {
- type: "structure",
- required: ["Arn"],
- members: {
- Arn: {},
- HomeDirectory: {},
- HomeDirectoryMappings: { shape: "So" },
- HomeDirectoryType: {},
- Policy: {},
- Role: {},
- SshPublicKeys: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "DateImported",
- "SshPublicKeyBody",
- "SshPublicKeyId",
- ],
- members: {
- DateImported: { type: "timestamp" },
- SshPublicKeyBody: {},
- SshPublicKeyId: {},
- },
- },
- },
- Tags: { shape: "Sf" },
- UserName: {},
- },
- },
- },
- },
- },
- ImportSshPublicKey: {
- input: {
- type: "structure",
- required: ["ServerId", "SshPublicKeyBody", "UserName"],
- members: { ServerId: {}, SshPublicKeyBody: {}, UserName: {} },
- },
- output: {
- type: "structure",
- required: ["ServerId", "SshPublicKeyId", "UserName"],
- members: { ServerId: {}, SshPublicKeyId: {}, UserName: {} },
- },
- },
- ListServers: {
- input: {
- type: "structure",
- members: { MaxResults: { type: "integer" }, NextToken: {} },
- },
- output: {
- type: "structure",
- required: ["Servers"],
- members: {
- NextToken: {},
- Servers: {
- type: "list",
- member: {
- type: "structure",
- required: ["Arn"],
- members: {
- Arn: {},
- IdentityProviderType: {},
- EndpointType: {},
- LoggingRole: {},
- ServerId: {},
- State: {},
- UserCount: { type: "integer" },
- },
- },
- },
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["Arn"],
- members: {
- Arn: {},
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: { Arn: {}, NextToken: {}, Tags: { shape: "Sf" } },
- },
- },
- ListUsers: {
- input: {
- type: "structure",
- required: ["ServerId"],
- members: {
- MaxResults: { type: "integer" },
- NextToken: {},
- ServerId: {},
- },
- },
- output: {
- type: "structure",
- required: ["ServerId", "Users"],
- members: {
- NextToken: {},
- ServerId: {},
- Users: {
- type: "list",
- member: {
- type: "structure",
- required: ["Arn"],
- members: {
- Arn: {},
- HomeDirectory: {},
- HomeDirectoryType: {},
- Role: {},
- SshPublicKeyCount: { type: "integer" },
- UserName: {},
- },
- },
- },
- },
- },
- },
- StartServer: {
- input: {
- type: "structure",
- required: ["ServerId"],
- members: { ServerId: {} },
- },
- },
- StopServer: {
- input: {
- type: "structure",
- required: ["ServerId"],
- members: { ServerId: {} },
- },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["Arn", "Tags"],
- members: { Arn: {}, Tags: { shape: "Sf" } },
- },
- },
- TestIdentityProvider: {
- input: {
- type: "structure",
- required: ["ServerId", "UserName"],
- members: {
- ServerId: {},
- UserName: {},
- UserPassword: { type: "string", sensitive: true },
- },
- },
- output: {
- type: "structure",
- required: ["StatusCode", "Url"],
- members: {
- Response: {},
- StatusCode: { type: "integer" },
- Message: {},
- Url: {},
- },
- },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["Arn", "TagKeys"],
- members: { Arn: {}, TagKeys: { type: "list", member: {} } },
- },
- },
- UpdateServer: {
- input: {
- type: "structure",
- required: ["ServerId"],
- members: {
- EndpointDetails: { shape: "S2" },
- EndpointType: {},
- HostKey: { shape: "Sa" },
- IdentityProviderDetails: { shape: "Sb" },
- LoggingRole: {},
- ServerId: {},
- },
- },
- output: {
- type: "structure",
- required: ["ServerId"],
- members: { ServerId: {} },
- },
- },
- UpdateUser: {
- input: {
- type: "structure",
- required: ["ServerId", "UserName"],
- members: {
- HomeDirectory: {},
- HomeDirectoryType: {},
- HomeDirectoryMappings: { shape: "So" },
- Policy: {},
- Role: {},
- ServerId: {},
- UserName: {},
- },
- },
- output: {
- type: "structure",
- required: ["ServerId", "UserName"],
- members: { ServerId: {}, UserName: {} },
- },
- },
- },
- shapes: {
- S2: {
- type: "structure",
- members: {
- AddressAllocationIds: { type: "list", member: {} },
- SubnetIds: { type: "list", member: {} },
- VpcEndpointId: {},
- VpcId: {},
- },
- },
- Sa: { type: "string", sensitive: true },
- Sb: { type: "structure", members: { Url: {}, InvocationRole: {} } },
- Sf: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- So: {
- type: "list",
- member: {
- type: "structure",
- required: ["Entry", "Target"],
- members: { Entry: {}, Target: {} },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2617: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
-
- apiLoader.services["s3control"] = {};
- AWS.S3Control = Service.defineService("s3control", ["2018-08-20"]);
- __webpack_require__(1489);
- Object.defineProperty(apiLoader.services["s3control"], "2018-08-20", {
- get: function get() {
- var model = __webpack_require__(2091);
- model.paginators = __webpack_require__(2592).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.S3Control;
-
- /***/
- },
-
- /***/ 2638: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-01-11",
- endpointPrefix: "clouddirectory",
- protocol: "rest-json",
- serviceFullName: "Amazon CloudDirectory",
- serviceId: "CloudDirectory",
- signatureVersion: "v4",
- signingName: "clouddirectory",
- uid: "clouddirectory-2017-01-11",
- },
- operations: {
- AddFacetToObject: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/object/facets",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "SchemaFacet", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- SchemaFacet: { shape: "S3" },
- ObjectAttributeList: { shape: "S5" },
- ObjectReference: { shape: "Sf" },
- },
- },
- output: { type: "structure", members: {} },
- },
- ApplySchema: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/schema/apply",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["PublishedSchemaArn", "DirectoryArn"],
- members: {
- PublishedSchemaArn: {},
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- },
- },
- output: {
- type: "structure",
- members: { AppliedSchemaArn: {}, DirectoryArn: {} },
- },
- },
- AttachObject: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/object/attach",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: [
- "DirectoryArn",
- "ParentReference",
- "ChildReference",
- "LinkName",
- ],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ParentReference: { shape: "Sf" },
- ChildReference: { shape: "Sf" },
- LinkName: {},
- },
- },
- output: {
- type: "structure",
- members: { AttachedObjectIdentifier: {} },
- },
- },
- AttachPolicy: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/policy/attach",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "PolicyReference", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- PolicyReference: { shape: "Sf" },
- ObjectReference: { shape: "Sf" },
- },
- },
- output: { type: "structure", members: {} },
- },
- AttachToIndex: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/index/attach",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "IndexReference", "TargetReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- IndexReference: { shape: "Sf" },
- TargetReference: { shape: "Sf" },
- },
- },
- output: {
- type: "structure",
- members: { AttachedObjectIdentifier: {} },
- },
- },
- AttachTypedLink: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/typedlink/attach",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: [
- "DirectoryArn",
- "SourceObjectReference",
- "TargetObjectReference",
- "TypedLinkFacet",
- "Attributes",
- ],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- SourceObjectReference: { shape: "Sf" },
- TargetObjectReference: { shape: "Sf" },
- TypedLinkFacet: { shape: "St" },
- Attributes: { shape: "Sv" },
- },
- },
- output: {
- type: "structure",
- members: { TypedLinkSpecifier: { shape: "Sy" } },
- },
- },
- BatchRead: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/batchread",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "Operations"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Operations: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ListObjectAttributes: {
- type: "structure",
- required: ["ObjectReference"],
- members: {
- ObjectReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- FacetFilter: { shape: "S3" },
- },
- },
- ListObjectChildren: {
- type: "structure",
- required: ["ObjectReference"],
- members: {
- ObjectReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- ListAttachedIndices: {
- type: "structure",
- required: ["TargetReference"],
- members: {
- TargetReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- ListObjectParentPaths: {
- type: "structure",
- required: ["ObjectReference"],
- members: {
- ObjectReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- GetObjectInformation: {
- type: "structure",
- required: ["ObjectReference"],
- members: { ObjectReference: { shape: "Sf" } },
- },
- GetObjectAttributes: {
- type: "structure",
- required: [
- "ObjectReference",
- "SchemaFacet",
- "AttributeNames",
- ],
- members: {
- ObjectReference: { shape: "Sf" },
- SchemaFacet: { shape: "S3" },
- AttributeNames: { shape: "S1a" },
- },
- },
- ListObjectParents: {
- type: "structure",
- required: ["ObjectReference"],
- members: {
- ObjectReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- ListObjectPolicies: {
- type: "structure",
- required: ["ObjectReference"],
- members: {
- ObjectReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- ListPolicyAttachments: {
- type: "structure",
- required: ["PolicyReference"],
- members: {
- PolicyReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- LookupPolicy: {
- type: "structure",
- required: ["ObjectReference"],
- members: {
- ObjectReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- ListIndex: {
- type: "structure",
- required: ["IndexReference"],
- members: {
- RangesOnIndexedValues: { shape: "S1g" },
- IndexReference: { shape: "Sf" },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- ListOutgoingTypedLinks: {
- type: "structure",
- required: ["ObjectReference"],
- members: {
- ObjectReference: { shape: "Sf" },
- FilterAttributeRanges: { shape: "S1l" },
- FilterTypedLink: { shape: "St" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- ListIncomingTypedLinks: {
- type: "structure",
- required: ["ObjectReference"],
- members: {
- ObjectReference: { shape: "Sf" },
- FilterAttributeRanges: { shape: "S1l" },
- FilterTypedLink: { shape: "St" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- GetLinkAttributes: {
- type: "structure",
- required: ["TypedLinkSpecifier", "AttributeNames"],
- members: {
- TypedLinkSpecifier: { shape: "Sy" },
- AttributeNames: { shape: "S1a" },
- },
- },
- },
- },
- },
- ConsistencyLevel: {
- location: "header",
- locationName: "x-amz-consistency-level",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Responses: {
- type: "list",
- member: {
- type: "structure",
- members: {
- SuccessfulResponse: {
- type: "structure",
- members: {
- ListObjectAttributes: {
- type: "structure",
- members: {
- Attributes: { shape: "S5" },
- NextToken: {},
- },
- },
- ListObjectChildren: {
- type: "structure",
- members: {
- Children: { shape: "S1w" },
- NextToken: {},
- },
- },
- GetObjectInformation: {
- type: "structure",
- members: {
- SchemaFacets: { shape: "S1y" },
- ObjectIdentifier: {},
- },
- },
- GetObjectAttributes: {
- type: "structure",
- members: { Attributes: { shape: "S5" } },
- },
- ListAttachedIndices: {
- type: "structure",
- members: {
- IndexAttachments: { shape: "S21" },
- NextToken: {},
- },
- },
- ListObjectParentPaths: {
- type: "structure",
- members: {
- PathToObjectIdentifiersList: { shape: "S24" },
- NextToken: {},
- },
- },
- ListObjectPolicies: {
- type: "structure",
- members: {
- AttachedPolicyIds: { shape: "S27" },
- NextToken: {},
- },
- },
- ListPolicyAttachments: {
- type: "structure",
- members: {
- ObjectIdentifiers: { shape: "S27" },
- NextToken: {},
- },
- },
- LookupPolicy: {
- type: "structure",
- members: {
- PolicyToPathList: { shape: "S2b" },
- NextToken: {},
- },
- },
- ListIndex: {
- type: "structure",
- members: {
- IndexAttachments: { shape: "S21" },
- NextToken: {},
- },
- },
- ListOutgoingTypedLinks: {
- type: "structure",
- members: {
- TypedLinkSpecifiers: { shape: "S2i" },
- NextToken: {},
- },
- },
- ListIncomingTypedLinks: {
- type: "structure",
- members: {
- LinkSpecifiers: { shape: "S2i" },
- NextToken: {},
- },
- },
- GetLinkAttributes: {
- type: "structure",
- members: { Attributes: { shape: "S5" } },
- },
- ListObjectParents: {
- type: "structure",
- members: {
- ParentLinks: { shape: "S2m" },
- NextToken: {},
- },
- },
- },
- },
- ExceptionResponse: {
- type: "structure",
- members: { Type: {}, Message: {} },
- },
- },
- },
- },
- },
- },
- },
- BatchWrite: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/batchwrite",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "Operations"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Operations: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CreateObject: {
- type: "structure",
- required: ["SchemaFacet", "ObjectAttributeList"],
- members: {
- SchemaFacet: { shape: "S1y" },
- ObjectAttributeList: { shape: "S5" },
- ParentReference: { shape: "Sf" },
- LinkName: {},
- BatchReferenceName: {},
- },
- },
- AttachObject: {
- type: "structure",
- required: [
- "ParentReference",
- "ChildReference",
- "LinkName",
- ],
- members: {
- ParentReference: { shape: "Sf" },
- ChildReference: { shape: "Sf" },
- LinkName: {},
- },
- },
- DetachObject: {
- type: "structure",
- required: ["ParentReference", "LinkName"],
- members: {
- ParentReference: { shape: "Sf" },
- LinkName: {},
- BatchReferenceName: {},
- },
- },
- UpdateObjectAttributes: {
- type: "structure",
- required: ["ObjectReference", "AttributeUpdates"],
- members: {
- ObjectReference: { shape: "Sf" },
- AttributeUpdates: { shape: "S2z" },
- },
- },
- DeleteObject: {
- type: "structure",
- required: ["ObjectReference"],
- members: { ObjectReference: { shape: "Sf" } },
- },
- AddFacetToObject: {
- type: "structure",
- required: [
- "SchemaFacet",
- "ObjectAttributeList",
- "ObjectReference",
- ],
- members: {
- SchemaFacet: { shape: "S3" },
- ObjectAttributeList: { shape: "S5" },
- ObjectReference: { shape: "Sf" },
- },
- },
- RemoveFacetFromObject: {
- type: "structure",
- required: ["SchemaFacet", "ObjectReference"],
- members: {
- SchemaFacet: { shape: "S3" },
- ObjectReference: { shape: "Sf" },
- },
- },
- AttachPolicy: {
- type: "structure",
- required: ["PolicyReference", "ObjectReference"],
- members: {
- PolicyReference: { shape: "Sf" },
- ObjectReference: { shape: "Sf" },
- },
- },
- DetachPolicy: {
- type: "structure",
- required: ["PolicyReference", "ObjectReference"],
- members: {
- PolicyReference: { shape: "Sf" },
- ObjectReference: { shape: "Sf" },
- },
- },
- CreateIndex: {
- type: "structure",
- required: ["OrderedIndexedAttributeList", "IsUnique"],
- members: {
- OrderedIndexedAttributeList: { shape: "S39" },
- IsUnique: { type: "boolean" },
- ParentReference: { shape: "Sf" },
- LinkName: {},
- BatchReferenceName: {},
- },
- },
- AttachToIndex: {
- type: "structure",
- required: ["IndexReference", "TargetReference"],
- members: {
- IndexReference: { shape: "Sf" },
- TargetReference: { shape: "Sf" },
- },
- },
- DetachFromIndex: {
- type: "structure",
- required: ["IndexReference", "TargetReference"],
- members: {
- IndexReference: { shape: "Sf" },
- TargetReference: { shape: "Sf" },
- },
- },
- AttachTypedLink: {
- type: "structure",
- required: [
- "SourceObjectReference",
- "TargetObjectReference",
- "TypedLinkFacet",
- "Attributes",
- ],
- members: {
- SourceObjectReference: { shape: "Sf" },
- TargetObjectReference: { shape: "Sf" },
- TypedLinkFacet: { shape: "St" },
- Attributes: { shape: "Sv" },
- },
- },
- DetachTypedLink: {
- type: "structure",
- required: ["TypedLinkSpecifier"],
- members: { TypedLinkSpecifier: { shape: "Sy" } },
- },
- UpdateLinkAttributes: {
- type: "structure",
- required: ["TypedLinkSpecifier", "AttributeUpdates"],
- members: {
- TypedLinkSpecifier: { shape: "Sy" },
- AttributeUpdates: { shape: "S3g" },
- },
- },
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Responses: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CreateObject: {
- type: "structure",
- members: { ObjectIdentifier: {} },
- },
- AttachObject: {
- type: "structure",
- members: { attachedObjectIdentifier: {} },
- },
- DetachObject: {
- type: "structure",
- members: { detachedObjectIdentifier: {} },
- },
- UpdateObjectAttributes: {
- type: "structure",
- members: { ObjectIdentifier: {} },
- },
- DeleteObject: { type: "structure", members: {} },
- AddFacetToObject: { type: "structure", members: {} },
- RemoveFacetFromObject: { type: "structure", members: {} },
- AttachPolicy: { type: "structure", members: {} },
- DetachPolicy: { type: "structure", members: {} },
- CreateIndex: {
- type: "structure",
- members: { ObjectIdentifier: {} },
- },
- AttachToIndex: {
- type: "structure",
- members: { AttachedObjectIdentifier: {} },
- },
- DetachFromIndex: {
- type: "structure",
- members: { DetachedObjectIdentifier: {} },
- },
- AttachTypedLink: {
- type: "structure",
- members: { TypedLinkSpecifier: { shape: "Sy" } },
- },
- DetachTypedLink: { type: "structure", members: {} },
- UpdateLinkAttributes: { type: "structure", members: {} },
- },
- },
- },
- },
- },
- },
- CreateDirectory: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/directory/create",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["Name", "SchemaArn"],
- members: {
- Name: {},
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- },
- },
- output: {
- type: "structure",
- required: [
- "DirectoryArn",
- "Name",
- "ObjectIdentifier",
- "AppliedSchemaArn",
- ],
- members: {
- DirectoryArn: {},
- Name: {},
- ObjectIdentifier: {},
- AppliedSchemaArn: {},
- },
- },
- },
- CreateFacet: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/facet/create",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn", "Name"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Name: {},
- Attributes: { shape: "S46" },
- ObjectType: {},
- FacetStyle: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- CreateIndex: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/index",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: [
- "DirectoryArn",
- "OrderedIndexedAttributeList",
- "IsUnique",
- ],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- OrderedIndexedAttributeList: { shape: "S39" },
- IsUnique: { type: "boolean" },
- ParentReference: { shape: "Sf" },
- LinkName: {},
- },
- },
- output: { type: "structure", members: { ObjectIdentifier: {} } },
- },
- CreateObject: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/object",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "SchemaFacets"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- SchemaFacets: { shape: "S1y" },
- ObjectAttributeList: { shape: "S5" },
- ParentReference: { shape: "Sf" },
- LinkName: {},
- },
- },
- output: { type: "structure", members: { ObjectIdentifier: {} } },
- },
- CreateSchema: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/schema/create",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: { type: "structure", members: { SchemaArn: {} } },
- },
- CreateTypedLinkFacet: {
- http: {
- method: "PUT",
- requestUri:
- "/amazonclouddirectory/2017-01-11/typedlink/facet/create",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn", "Facet"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Facet: {
- type: "structure",
- required: ["Name", "Attributes", "IdentityAttributeOrder"],
- members: {
- Name: {},
- Attributes: { shape: "S4v" },
- IdentityAttributeOrder: { shape: "S1a" },
- },
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteDirectory: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/directory",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- },
- },
- output: {
- type: "structure",
- required: ["DirectoryArn"],
- members: { DirectoryArn: {} },
- },
- },
- DeleteFacet: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/facet/delete",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn", "Name"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Name: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteObject: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/object/delete",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ObjectReference: { shape: "Sf" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteSchema: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/schema",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- },
- },
- output: { type: "structure", members: { SchemaArn: {} } },
- },
- DeleteTypedLinkFacet: {
- http: {
- method: "PUT",
- requestUri:
- "/amazonclouddirectory/2017-01-11/typedlink/facet/delete",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn", "Name"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Name: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- DetachFromIndex: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/index/detach",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "IndexReference", "TargetReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- IndexReference: { shape: "Sf" },
- TargetReference: { shape: "Sf" },
- },
- },
- output: {
- type: "structure",
- members: { DetachedObjectIdentifier: {} },
- },
- },
- DetachObject: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/object/detach",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "ParentReference", "LinkName"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ParentReference: { shape: "Sf" },
- LinkName: {},
- },
- },
- output: {
- type: "structure",
- members: { DetachedObjectIdentifier: {} },
- },
- },
- DetachPolicy: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/policy/detach",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "PolicyReference", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- PolicyReference: { shape: "Sf" },
- ObjectReference: { shape: "Sf" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DetachTypedLink: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/typedlink/detach",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "TypedLinkSpecifier"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- TypedLinkSpecifier: { shape: "Sy" },
- },
- },
- },
- DisableDirectory: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/directory/disable",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- },
- },
- output: {
- type: "structure",
- required: ["DirectoryArn"],
- members: { DirectoryArn: {} },
- },
- },
- EnableDirectory: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/directory/enable",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- },
- },
- output: {
- type: "structure",
- required: ["DirectoryArn"],
- members: { DirectoryArn: {} },
- },
- },
- GetAppliedSchemaVersion: {
- http: {
- requestUri:
- "/amazonclouddirectory/2017-01-11/schema/getappliedschema",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn"],
- members: { SchemaArn: {} },
- },
- output: { type: "structure", members: { AppliedSchemaArn: {} } },
- },
- GetDirectory: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/directory/get",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- },
- },
- output: {
- type: "structure",
- required: ["Directory"],
- members: { Directory: { shape: "S5n" } },
- },
- },
- GetFacet: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/facet",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn", "Name"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Name: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Facet: {
- type: "structure",
- members: { Name: {}, ObjectType: {}, FacetStyle: {} },
- },
- },
- },
- },
- GetLinkAttributes: {
- http: {
- requestUri:
- "/amazonclouddirectory/2017-01-11/typedlink/attributes/get",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: [
- "DirectoryArn",
- "TypedLinkSpecifier",
- "AttributeNames",
- ],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- TypedLinkSpecifier: { shape: "Sy" },
- AttributeNames: { shape: "S1a" },
- ConsistencyLevel: {},
- },
- },
- output: {
- type: "structure",
- members: { Attributes: { shape: "S5" } },
- },
- },
- GetObjectAttributes: {
- http: {
- requestUri:
- "/amazonclouddirectory/2017-01-11/object/attributes/get",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: [
- "DirectoryArn",
- "ObjectReference",
- "SchemaFacet",
- "AttributeNames",
- ],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ObjectReference: { shape: "Sf" },
- ConsistencyLevel: {
- location: "header",
- locationName: "x-amz-consistency-level",
- },
- SchemaFacet: { shape: "S3" },
- AttributeNames: { shape: "S1a" },
- },
- },
- output: {
- type: "structure",
- members: { Attributes: { shape: "S5" } },
- },
- },
- GetObjectInformation: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/object/information",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ObjectReference: { shape: "Sf" },
- ConsistencyLevel: {
- location: "header",
- locationName: "x-amz-consistency-level",
- },
- },
- },
- output: {
- type: "structure",
- members: { SchemaFacets: { shape: "S1y" }, ObjectIdentifier: {} },
- },
- },
- GetSchemaAsJson: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/schema/json",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- },
- },
- output: { type: "structure", members: { Name: {}, Document: {} } },
- },
- GetTypedLinkFacetInformation: {
- http: {
- requestUri:
- "/amazonclouddirectory/2017-01-11/typedlink/facet/get",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn", "Name"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Name: {},
- },
- },
- output: {
- type: "structure",
- members: { IdentityAttributeOrder: { shape: "S1a" } },
- },
- },
- ListAppliedSchemaArns: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/schema/applied",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn"],
- members: {
- DirectoryArn: {},
- SchemaArn: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { SchemaArns: { shape: "S66" }, NextToken: {} },
- },
- },
- ListAttachedIndices: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/object/indices",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "TargetReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- TargetReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- ConsistencyLevel: {
- location: "header",
- locationName: "x-amz-consistency-level",
- },
- },
- },
- output: {
- type: "structure",
- members: { IndexAttachments: { shape: "S21" }, NextToken: {} },
- },
- },
- ListDevelopmentSchemaArns: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/schema/development",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: { NextToken: {}, MaxResults: { type: "integer" } },
- },
- output: {
- type: "structure",
- members: { SchemaArns: { shape: "S66" }, NextToken: {} },
- },
- },
- ListDirectories: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/directory/list",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- NextToken: {},
- MaxResults: { type: "integer" },
- state: {},
- },
- },
- output: {
- type: "structure",
- required: ["Directories"],
- members: {
- Directories: { type: "list", member: { shape: "S5n" } },
- NextToken: {},
- },
- },
- },
- ListFacetAttributes: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/facet/attributes",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn", "Name"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Name: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { Attributes: { shape: "S46" }, NextToken: {} },
- },
- },
- ListFacetNames: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/facet/list",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- FacetNames: { type: "list", member: {} },
- NextToken: {},
- },
- },
- },
- ListIncomingTypedLinks: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/typedlink/incoming",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ObjectReference: { shape: "Sf" },
- FilterAttributeRanges: { shape: "S1l" },
- FilterTypedLink: { shape: "St" },
- NextToken: {},
- MaxResults: { type: "integer" },
- ConsistencyLevel: {},
- },
- },
- output: {
- type: "structure",
- members: { LinkSpecifiers: { shape: "S2i" }, NextToken: {} },
- },
- },
- ListIndex: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/index/targets",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "IndexReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- RangesOnIndexedValues: { shape: "S1g" },
- IndexReference: { shape: "Sf" },
- MaxResults: { type: "integer" },
- NextToken: {},
- ConsistencyLevel: {
- location: "header",
- locationName: "x-amz-consistency-level",
- },
- },
- },
- output: {
- type: "structure",
- members: { IndexAttachments: { shape: "S21" }, NextToken: {} },
- },
- },
- ListManagedSchemaArns: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/schema/managed",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- SchemaArn: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { SchemaArns: { shape: "S66" }, NextToken: {} },
- },
- },
- ListObjectAttributes: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/object/attributes",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ObjectReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- ConsistencyLevel: {
- location: "header",
- locationName: "x-amz-consistency-level",
- },
- FacetFilter: { shape: "S3" },
- },
- },
- output: {
- type: "structure",
- members: { Attributes: { shape: "S5" }, NextToken: {} },
- },
- },
- ListObjectChildren: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/object/children",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ObjectReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- ConsistencyLevel: {
- location: "header",
- locationName: "x-amz-consistency-level",
- },
- },
- },
- output: {
- type: "structure",
- members: { Children: { shape: "S1w" }, NextToken: {} },
- },
- },
- ListObjectParentPaths: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/object/parentpaths",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ObjectReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- PathToObjectIdentifiersList: { shape: "S24" },
- NextToken: {},
- },
- },
- },
- ListObjectParents: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/object/parent",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ObjectReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- ConsistencyLevel: {
- location: "header",
- locationName: "x-amz-consistency-level",
- },
- IncludeAllLinksToEachParent: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- Parents: { type: "map", key: {}, value: {} },
- NextToken: {},
- ParentLinks: { shape: "S2m" },
- },
- },
- },
- ListObjectPolicies: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/object/policy",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ObjectReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- ConsistencyLevel: {
- location: "header",
- locationName: "x-amz-consistency-level",
- },
- },
- },
- output: {
- type: "structure",
- members: { AttachedPolicyIds: { shape: "S27" }, NextToken: {} },
- },
- },
- ListOutgoingTypedLinks: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/typedlink/outgoing",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ObjectReference: { shape: "Sf" },
- FilterAttributeRanges: { shape: "S1l" },
- FilterTypedLink: { shape: "St" },
- NextToken: {},
- MaxResults: { type: "integer" },
- ConsistencyLevel: {},
- },
- },
- output: {
- type: "structure",
- members: { TypedLinkSpecifiers: { shape: "S2i" }, NextToken: {} },
- },
- },
- ListPolicyAttachments: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/policy/attachment",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "PolicyReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- PolicyReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- ConsistencyLevel: {
- location: "header",
- locationName: "x-amz-consistency-level",
- },
- },
- },
- output: {
- type: "structure",
- members: { ObjectIdentifiers: { shape: "S27" }, NextToken: {} },
- },
- },
- ListPublishedSchemaArns: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/schema/published",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- SchemaArn: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { SchemaArns: { shape: "S66" }, NextToken: {} },
- },
- },
- ListTagsForResource: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/tags",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: {
- ResourceArn: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "S79" }, NextToken: {} },
- },
- },
- ListTypedLinkFacetAttributes: {
- http: {
- requestUri:
- "/amazonclouddirectory/2017-01-11/typedlink/facet/attributes",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn", "Name"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Name: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { Attributes: { shape: "S4v" }, NextToken: {} },
- },
- },
- ListTypedLinkFacetNames: {
- http: {
- requestUri:
- "/amazonclouddirectory/2017-01-11/typedlink/facet/list",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- FacetNames: { type: "list", member: {} },
- NextToken: {},
- },
- },
- },
- LookupPolicy: {
- http: {
- requestUri: "/amazonclouddirectory/2017-01-11/policy/lookup",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ObjectReference: { shape: "Sf" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { PolicyToPathList: { shape: "S2b" }, NextToken: {} },
- },
- },
- PublishSchema: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/schema/publish",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DevelopmentSchemaArn", "Version"],
- members: {
- DevelopmentSchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Version: {},
- MinorVersion: {},
- Name: {},
- },
- },
- output: { type: "structure", members: { PublishedSchemaArn: {} } },
- },
- PutSchemaFromJson: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/schema/json",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn", "Document"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Document: {},
- },
- },
- output: { type: "structure", members: { Arn: {} } },
- },
- RemoveFacetFromObject: {
- http: {
- method: "PUT",
- requestUri:
- "/amazonclouddirectory/2017-01-11/object/facets/delete",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "SchemaFacet", "ObjectReference"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- SchemaFacet: { shape: "S3" },
- ObjectReference: { shape: "Sf" },
- },
- },
- output: { type: "structure", members: {} },
- },
- TagResource: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/tags/add",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["ResourceArn", "Tags"],
- members: { ResourceArn: {}, Tags: { shape: "S79" } },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/tags/remove",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["ResourceArn", "TagKeys"],
- members: {
- ResourceArn: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateFacet: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/facet",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn", "Name"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Name: {},
- AttributeUpdates: {
- type: "list",
- member: {
- type: "structure",
- members: { Attribute: { shape: "S47" }, Action: {} },
- },
- },
- ObjectType: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateLinkAttributes: {
- http: {
- requestUri:
- "/amazonclouddirectory/2017-01-11/typedlink/attributes/update",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: [
- "DirectoryArn",
- "TypedLinkSpecifier",
- "AttributeUpdates",
- ],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- TypedLinkSpecifier: { shape: "Sy" },
- AttributeUpdates: { shape: "S3g" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateObjectAttributes: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/object/update",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["DirectoryArn", "ObjectReference", "AttributeUpdates"],
- members: {
- DirectoryArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- ObjectReference: { shape: "Sf" },
- AttributeUpdates: { shape: "S2z" },
- },
- },
- output: { type: "structure", members: { ObjectIdentifier: {} } },
- },
- UpdateSchema: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/schema/update",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["SchemaArn", "Name"],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Name: {},
- },
- },
- output: { type: "structure", members: { SchemaArn: {} } },
- },
- UpdateTypedLinkFacet: {
- http: {
- method: "PUT",
- requestUri: "/amazonclouddirectory/2017-01-11/typedlink/facet",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: [
- "SchemaArn",
- "Name",
- "AttributeUpdates",
- "IdentityAttributeOrder",
- ],
- members: {
- SchemaArn: {
- location: "header",
- locationName: "x-amz-data-partition",
- },
- Name: {},
- AttributeUpdates: {
- type: "list",
- member: {
- type: "structure",
- required: ["Attribute", "Action"],
- members: { Attribute: { shape: "S4w" }, Action: {} },
- },
- },
- IdentityAttributeOrder: { shape: "S1a" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpgradeAppliedSchema: {
- http: {
- method: "PUT",
- requestUri:
- "/amazonclouddirectory/2017-01-11/schema/upgradeapplied",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["PublishedSchemaArn", "DirectoryArn"],
- members: {
- PublishedSchemaArn: {},
- DirectoryArn: {},
- DryRun: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { UpgradedSchemaArn: {}, DirectoryArn: {} },
- },
- },
- UpgradePublishedSchema: {
- http: {
- method: "PUT",
- requestUri:
- "/amazonclouddirectory/2017-01-11/schema/upgradepublished",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: [
- "DevelopmentSchemaArn",
- "PublishedSchemaArn",
- "MinorVersion",
- ],
- members: {
- DevelopmentSchemaArn: {},
- PublishedSchemaArn: {},
- MinorVersion: {},
- DryRun: { type: "boolean" },
- },
- },
- output: { type: "structure", members: { UpgradedSchemaArn: {} } },
- },
- },
- shapes: {
- S3: { type: "structure", members: { SchemaArn: {}, FacetName: {} } },
- S5: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: { shape: "S7" }, Value: { shape: "S9" } },
- },
- },
- S7: {
- type: "structure",
- required: ["SchemaArn", "FacetName", "Name"],
- members: { SchemaArn: {}, FacetName: {}, Name: {} },
- },
- S9: {
- type: "structure",
- members: {
- StringValue: {},
- BinaryValue: { type: "blob" },
- BooleanValue: { type: "boolean" },
- NumberValue: {},
- DatetimeValue: { type: "timestamp" },
- },
- },
- Sf: { type: "structure", members: { Selector: {} } },
- St: {
- type: "structure",
- required: ["SchemaArn", "TypedLinkName"],
- members: { SchemaArn: {}, TypedLinkName: {} },
- },
- Sv: {
- type: "list",
- member: {
- type: "structure",
- required: ["AttributeName", "Value"],
- members: { AttributeName: {}, Value: { shape: "S9" } },
- },
- },
- Sy: {
- type: "structure",
- required: [
- "TypedLinkFacet",
- "SourceObjectReference",
- "TargetObjectReference",
- "IdentityAttributeValues",
- ],
- members: {
- TypedLinkFacet: { shape: "St" },
- SourceObjectReference: { shape: "Sf" },
- TargetObjectReference: { shape: "Sf" },
- IdentityAttributeValues: { shape: "Sv" },
- },
- },
- S1a: { type: "list", member: {} },
- S1g: {
- type: "list",
- member: {
- type: "structure",
- members: {
- AttributeKey: { shape: "S7" },
- Range: { shape: "S1i" },
- },
- },
- },
- S1i: {
- type: "structure",
- required: ["StartMode", "EndMode"],
- members: {
- StartMode: {},
- StartValue: { shape: "S9" },
- EndMode: {},
- EndValue: { shape: "S9" },
- },
- },
- S1l: {
- type: "list",
- member: {
- type: "structure",
- required: ["Range"],
- members: { AttributeName: {}, Range: { shape: "S1i" } },
- },
- },
- S1w: { type: "map", key: {}, value: {} },
- S1y: { type: "list", member: { shape: "S3" } },
- S21: {
- type: "list",
- member: {
- type: "structure",
- members: {
- IndexedAttributes: { shape: "S5" },
- ObjectIdentifier: {},
- },
- },
- },
- S24: {
- type: "list",
- member: {
- type: "structure",
- members: { Path: {}, ObjectIdentifiers: { shape: "S27" } },
- },
- },
- S27: { type: "list", member: {} },
- S2b: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Path: {},
- Policies: {
- type: "list",
- member: {
- type: "structure",
- members: {
- PolicyId: {},
- ObjectIdentifier: {},
- PolicyType: {},
- },
- },
- },
- },
- },
- },
- S2i: { type: "list", member: { shape: "Sy" } },
- S2m: {
- type: "list",
- member: {
- type: "structure",
- members: { ObjectIdentifier: {}, LinkName: {} },
- },
- },
- S2z: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ObjectAttributeKey: { shape: "S7" },
- ObjectAttributeAction: {
- type: "structure",
- members: {
- ObjectAttributeActionType: {},
- ObjectAttributeUpdateValue: { shape: "S9" },
- },
- },
- },
- },
- },
- S39: { type: "list", member: { shape: "S7" } },
- S3g: {
- type: "list",
- member: {
- type: "structure",
- members: {
- AttributeKey: { shape: "S7" },
- AttributeAction: {
- type: "structure",
- members: {
- AttributeActionType: {},
- AttributeUpdateValue: { shape: "S9" },
- },
- },
- },
- },
- },
- S46: { type: "list", member: { shape: "S47" } },
- S47: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {},
- AttributeDefinition: {
- type: "structure",
- required: ["Type"],
- members: {
- Type: {},
- DefaultValue: { shape: "S9" },
- IsImmutable: { type: "boolean" },
- Rules: { shape: "S4a" },
- },
- },
- AttributeReference: {
- type: "structure",
- required: ["TargetFacetName", "TargetAttributeName"],
- members: { TargetFacetName: {}, TargetAttributeName: {} },
- },
- RequiredBehavior: {},
- },
- },
- S4a: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- Type: {},
- Parameters: { type: "map", key: {}, value: {} },
- },
- },
- },
- S4v: { type: "list", member: { shape: "S4w" } },
- S4w: {
- type: "structure",
- required: ["Name", "Type", "RequiredBehavior"],
- members: {
- Name: {},
- Type: {},
- DefaultValue: { shape: "S9" },
- IsImmutable: { type: "boolean" },
- Rules: { shape: "S4a" },
- RequiredBehavior: {},
- },
- },
- S5n: {
- type: "structure",
- members: {
- Name: {},
- DirectoryArn: {},
- State: {},
- CreationDateTime: { type: "timestamp" },
- },
- },
- S66: { type: "list", member: {} },
- S79: {
- type: "list",
- member: { type: "structure", members: { Key: {}, Value: {} } },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2641: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(1713);
- model.paginators = __webpack_require__(1529).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.KinesisVideoSignalingChannels;
-
- /***/
- },
-
- /***/ 2655: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-05-22",
- endpointPrefix: "personalize",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "Amazon Personalize",
- serviceId: "Personalize",
- signatureVersion: "v4",
- signingName: "personalize",
- targetPrefix: "AmazonPersonalize",
- uid: "personalize-2018-05-22",
- },
- operations: {
- CreateBatchInferenceJob: {
- input: {
- type: "structure",
- required: [
- "jobName",
- "solutionVersionArn",
- "jobInput",
- "jobOutput",
- "roleArn",
- ],
- members: {
- jobName: {},
- solutionVersionArn: {},
- numResults: { type: "integer" },
- jobInput: { shape: "S5" },
- jobOutput: { shape: "S9" },
- roleArn: {},
- },
- },
- output: {
- type: "structure",
- members: { batchInferenceJobArn: {} },
- },
- },
- CreateCampaign: {
- input: {
- type: "structure",
- required: ["name", "solutionVersionArn", "minProvisionedTPS"],
- members: {
- name: {},
- solutionVersionArn: {},
- minProvisionedTPS: { type: "integer" },
- },
- },
- output: { type: "structure", members: { campaignArn: {} } },
- idempotent: true,
- },
- CreateDataset: {
- input: {
- type: "structure",
- required: ["name", "schemaArn", "datasetGroupArn", "datasetType"],
- members: {
- name: {},
- schemaArn: {},
- datasetGroupArn: {},
- datasetType: {},
- },
- },
- output: { type: "structure", members: { datasetArn: {} } },
- idempotent: true,
- },
- CreateDatasetGroup: {
- input: {
- type: "structure",
- required: ["name"],
- members: { name: {}, roleArn: {}, kmsKeyArn: {} },
- },
- output: { type: "structure", members: { datasetGroupArn: {} } },
- },
- CreateDatasetImportJob: {
- input: {
- type: "structure",
- required: ["jobName", "datasetArn", "dataSource", "roleArn"],
- members: {
- jobName: {},
- datasetArn: {},
- dataSource: { shape: "Sl" },
- roleArn: {},
- },
- },
- output: { type: "structure", members: { datasetImportJobArn: {} } },
- },
- CreateEventTracker: {
- input: {
- type: "structure",
- required: ["name", "datasetGroupArn"],
- members: { name: {}, datasetGroupArn: {} },
- },
- output: {
- type: "structure",
- members: { eventTrackerArn: {}, trackingId: {} },
- },
- idempotent: true,
- },
- CreateSchema: {
- input: {
- type: "structure",
- required: ["name", "schema"],
- members: { name: {}, schema: {} },
- },
- output: { type: "structure", members: { schemaArn: {} } },
- idempotent: true,
- },
- CreateSolution: {
- input: {
- type: "structure",
- required: ["name", "datasetGroupArn"],
- members: {
- name: {},
- performHPO: { type: "boolean" },
- performAutoML: { type: "boolean" },
- recipeArn: {},
- datasetGroupArn: {},
- eventType: {},
- solutionConfig: { shape: "Sx" },
- },
- },
- output: { type: "structure", members: { solutionArn: {} } },
- },
- CreateSolutionVersion: {
- input: {
- type: "structure",
- required: ["solutionArn"],
- members: { solutionArn: {}, trainingMode: {} },
- },
- output: { type: "structure", members: { solutionVersionArn: {} } },
- },
- DeleteCampaign: {
- input: {
- type: "structure",
- required: ["campaignArn"],
- members: { campaignArn: {} },
- },
- idempotent: true,
- },
- DeleteDataset: {
- input: {
- type: "structure",
- required: ["datasetArn"],
- members: { datasetArn: {} },
- },
- idempotent: true,
- },
- DeleteDatasetGroup: {
- input: {
- type: "structure",
- required: ["datasetGroupArn"],
- members: { datasetGroupArn: {} },
- },
- idempotent: true,
- },
- DeleteEventTracker: {
- input: {
- type: "structure",
- required: ["eventTrackerArn"],
- members: { eventTrackerArn: {} },
- },
- idempotent: true,
- },
- DeleteSchema: {
- input: {
- type: "structure",
- required: ["schemaArn"],
- members: { schemaArn: {} },
- },
- idempotent: true,
- },
- DeleteSolution: {
- input: {
- type: "structure",
- required: ["solutionArn"],
- members: { solutionArn: {} },
- },
- idempotent: true,
- },
- DescribeAlgorithm: {
- input: {
- type: "structure",
- required: ["algorithmArn"],
- members: { algorithmArn: {} },
- },
- output: {
- type: "structure",
- members: {
- algorithm: {
- type: "structure",
- members: {
- name: {},
- algorithmArn: {},
- algorithmImage: {
- type: "structure",
- required: ["dockerURI"],
- members: { name: {}, dockerURI: {} },
- },
- defaultHyperParameters: { shape: "S1k" },
- defaultHyperParameterRanges: {
- type: "structure",
- members: {
- integerHyperParameterRanges: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- minValue: { type: "integer" },
- maxValue: { type: "integer" },
- isTunable: { type: "boolean" },
- },
- },
- },
- continuousHyperParameterRanges: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- minValue: { type: "double" },
- maxValue: { type: "double" },
- isTunable: { type: "boolean" },
- },
- },
- },
- categoricalHyperParameterRanges: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- values: { shape: "S1i" },
- isTunable: { type: "boolean" },
- },
- },
- },
- },
- },
- defaultResourceConfig: { type: "map", key: {}, value: {} },
- trainingInputMode: {},
- roleArn: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- },
- idempotent: true,
- },
- DescribeBatchInferenceJob: {
- input: {
- type: "structure",
- required: ["batchInferenceJobArn"],
- members: { batchInferenceJobArn: {} },
- },
- output: {
- type: "structure",
- members: {
- batchInferenceJob: {
- type: "structure",
- members: {
- jobName: {},
- batchInferenceJobArn: {},
- failureReason: {},
- solutionVersionArn: {},
- numResults: { type: "integer" },
- jobInput: { shape: "S5" },
- jobOutput: { shape: "S9" },
- roleArn: {},
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- },
- idempotent: true,
- },
- DescribeCampaign: {
- input: {
- type: "structure",
- required: ["campaignArn"],
- members: { campaignArn: {} },
- },
- output: {
- type: "structure",
- members: {
- campaign: {
- type: "structure",
- members: {
- name: {},
- campaignArn: {},
- solutionVersionArn: {},
- minProvisionedTPS: { type: "integer" },
- status: {},
- failureReason: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- latestCampaignUpdate: {
- type: "structure",
- members: {
- solutionVersionArn: {},
- minProvisionedTPS: { type: "integer" },
- status: {},
- failureReason: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- },
- },
- },
- idempotent: true,
- },
- DescribeDataset: {
- input: {
- type: "structure",
- required: ["datasetArn"],
- members: { datasetArn: {} },
- },
- output: {
- type: "structure",
- members: {
- dataset: {
- type: "structure",
- members: {
- name: {},
- datasetArn: {},
- datasetGroupArn: {},
- datasetType: {},
- schemaArn: {},
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- },
- idempotent: true,
- },
- DescribeDatasetGroup: {
- input: {
- type: "structure",
- required: ["datasetGroupArn"],
- members: { datasetGroupArn: {} },
- },
- output: {
- type: "structure",
- members: {
- datasetGroup: {
- type: "structure",
- members: {
- name: {},
- datasetGroupArn: {},
- status: {},
- roleArn: {},
- kmsKeyArn: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- failureReason: {},
- },
- },
- },
- },
- idempotent: true,
- },
- DescribeDatasetImportJob: {
- input: {
- type: "structure",
- required: ["datasetImportJobArn"],
- members: { datasetImportJobArn: {} },
- },
- output: {
- type: "structure",
- members: {
- datasetImportJob: {
- type: "structure",
- members: {
- jobName: {},
- datasetImportJobArn: {},
- datasetArn: {},
- dataSource: { shape: "Sl" },
- roleArn: {},
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- failureReason: {},
- },
- },
- },
- },
- idempotent: true,
- },
- DescribeEventTracker: {
- input: {
- type: "structure",
- required: ["eventTrackerArn"],
- members: { eventTrackerArn: {} },
- },
- output: {
- type: "structure",
- members: {
- eventTracker: {
- type: "structure",
- members: {
- name: {},
- eventTrackerArn: {},
- accountId: {},
- trackingId: {},
- datasetGroupArn: {},
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- },
- idempotent: true,
- },
- DescribeFeatureTransformation: {
- input: {
- type: "structure",
- required: ["featureTransformationArn"],
- members: { featureTransformationArn: {} },
- },
- output: {
- type: "structure",
- members: {
- featureTransformation: {
- type: "structure",
- members: {
- name: {},
- featureTransformationArn: {},
- defaultParameters: { type: "map", key: {}, value: {} },
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- status: {},
- },
- },
- },
- },
- idempotent: true,
- },
- DescribeRecipe: {
- input: {
- type: "structure",
- required: ["recipeArn"],
- members: { recipeArn: {} },
- },
- output: {
- type: "structure",
- members: {
- recipe: {
- type: "structure",
- members: {
- name: {},
- recipeArn: {},
- algorithmArn: {},
- featureTransformationArn: {},
- status: {},
- description: {},
- creationDateTime: { type: "timestamp" },
- recipeType: {},
- lastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- },
- idempotent: true,
- },
- DescribeSchema: {
- input: {
- type: "structure",
- required: ["schemaArn"],
- members: { schemaArn: {} },
- },
- output: {
- type: "structure",
- members: {
- schema: {
- type: "structure",
- members: {
- name: {},
- schemaArn: {},
- schema: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- },
- idempotent: true,
- },
- DescribeSolution: {
- input: {
- type: "structure",
- required: ["solutionArn"],
- members: { solutionArn: {} },
- },
- output: {
- type: "structure",
- members: {
- solution: {
- type: "structure",
- members: {
- name: {},
- solutionArn: {},
- performHPO: { type: "boolean" },
- performAutoML: { type: "boolean" },
- recipeArn: {},
- datasetGroupArn: {},
- eventType: {},
- solutionConfig: { shape: "Sx" },
- autoMLResult: {
- type: "structure",
- members: { bestRecipeArn: {} },
- },
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- latestSolutionVersion: { shape: "S3i" },
- },
- },
- },
- },
- idempotent: true,
- },
- DescribeSolutionVersion: {
- input: {
- type: "structure",
- required: ["solutionVersionArn"],
- members: { solutionVersionArn: {} },
- },
- output: {
- type: "structure",
- members: {
- solutionVersion: {
- type: "structure",
- members: {
- solutionVersionArn: {},
- solutionArn: {},
- performHPO: { type: "boolean" },
- performAutoML: { type: "boolean" },
- recipeArn: {},
- eventType: {},
- datasetGroupArn: {},
- solutionConfig: { shape: "Sx" },
- trainingHours: { type: "double" },
- trainingMode: {},
- tunedHPOParams: {
- type: "structure",
- members: { algorithmHyperParameters: { shape: "S1k" } },
- },
- status: {},
- failureReason: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- },
- idempotent: true,
- },
- GetSolutionMetrics: {
- input: {
- type: "structure",
- required: ["solutionVersionArn"],
- members: { solutionVersionArn: {} },
- },
- output: {
- type: "structure",
- members: {
- solutionVersionArn: {},
- metrics: { type: "map", key: {}, value: { type: "double" } },
- },
- },
- },
- ListBatchInferenceJobs: {
- input: {
- type: "structure",
- members: {
- solutionVersionArn: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- batchInferenceJobs: {
- type: "list",
- member: {
- type: "structure",
- members: {
- batchInferenceJobArn: {},
- jobName: {},
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- failureReason: {},
- solutionVersionArn: {},
- },
- },
- },
- nextToken: {},
- },
- },
- idempotent: true,
- },
- ListCampaigns: {
- input: {
- type: "structure",
- members: {
- solutionArn: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- campaigns: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- campaignArn: {},
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- failureReason: {},
- },
- },
- },
- nextToken: {},
- },
- },
- idempotent: true,
- },
- ListDatasetGroups: {
- input: {
- type: "structure",
- members: { nextToken: {}, maxResults: { type: "integer" } },
- },
- output: {
- type: "structure",
- members: {
- datasetGroups: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- datasetGroupArn: {},
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- failureReason: {},
- },
- },
- },
- nextToken: {},
- },
- },
- idempotent: true,
- },
- ListDatasetImportJobs: {
- input: {
- type: "structure",
- members: {
- datasetArn: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- datasetImportJobs: {
- type: "list",
- member: {
- type: "structure",
- members: {
- datasetImportJobArn: {},
- jobName: {},
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- failureReason: {},
- },
- },
- },
- nextToken: {},
- },
- },
- idempotent: true,
- },
- ListDatasets: {
- input: {
- type: "structure",
- members: {
- datasetGroupArn: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- datasets: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- datasetArn: {},
- datasetType: {},
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- nextToken: {},
- },
- },
- idempotent: true,
- },
- ListEventTrackers: {
- input: {
- type: "structure",
- members: {
- datasetGroupArn: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- eventTrackers: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- eventTrackerArn: {},
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- nextToken: {},
- },
- },
- idempotent: true,
- },
- ListRecipes: {
- input: {
- type: "structure",
- members: {
- recipeProvider: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- recipes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- recipeArn: {},
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- nextToken: {},
- },
- },
- idempotent: true,
- },
- ListSchemas: {
- input: {
- type: "structure",
- members: { nextToken: {}, maxResults: { type: "integer" } },
- },
- output: {
- type: "structure",
- members: {
- schemas: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- schemaArn: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- nextToken: {},
- },
- },
- idempotent: true,
- },
- ListSolutionVersions: {
- input: {
- type: "structure",
- members: {
- solutionArn: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- solutionVersions: { type: "list", member: { shape: "S3i" } },
- nextToken: {},
- },
- },
- idempotent: true,
- },
- ListSolutions: {
- input: {
- type: "structure",
- members: {
- datasetGroupArn: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- solutions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- solutionArn: {},
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- nextToken: {},
- },
- },
- idempotent: true,
- },
- UpdateCampaign: {
- input: {
- type: "structure",
- required: ["campaignArn"],
- members: {
- campaignArn: {},
- solutionVersionArn: {},
- minProvisionedTPS: { type: "integer" },
- },
- },
- output: { type: "structure", members: { campaignArn: {} } },
- idempotent: true,
- },
- },
- shapes: {
- S5: {
- type: "structure",
- required: ["s3DataSource"],
- members: { s3DataSource: { shape: "S6" } },
- },
- S6: {
- type: "structure",
- required: ["path"],
- members: { path: {}, kmsKeyArn: {} },
- },
- S9: {
- type: "structure",
- required: ["s3DataDestination"],
- members: { s3DataDestination: { shape: "S6" } },
- },
- Sl: { type: "structure", members: { dataLocation: {} } },
- Sx: {
- type: "structure",
- members: {
- eventValueThreshold: {},
- hpoConfig: {
- type: "structure",
- members: {
- hpoObjective: {
- type: "structure",
- members: { type: {}, metricName: {}, metricRegex: {} },
- },
- hpoResourceConfig: {
- type: "structure",
- members: {
- maxNumberOfTrainingJobs: {},
- maxParallelTrainingJobs: {},
- },
- },
- algorithmHyperParameterRanges: {
- type: "structure",
- members: {
- integerHyperParameterRanges: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- minValue: { type: "integer" },
- maxValue: { type: "integer" },
- },
- },
- },
- continuousHyperParameterRanges: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- minValue: { type: "double" },
- maxValue: { type: "double" },
- },
- },
- },
- categoricalHyperParameterRanges: {
- type: "list",
- member: {
- type: "structure",
- members: { name: {}, values: { shape: "S1i" } },
- },
- },
- },
- },
- },
- },
- algorithmHyperParameters: { shape: "S1k" },
- featureTransformationParameters: {
- type: "map",
- key: {},
- value: {},
- },
- autoMLConfig: {
- type: "structure",
- members: {
- metricName: {},
- recipeList: { type: "list", member: {} },
- },
- },
- },
- },
- S1i: { type: "list", member: {} },
- S1k: { type: "map", key: {}, value: {} },
- S3i: {
- type: "structure",
- members: {
- solutionVersionArn: {},
- status: {},
- creationDateTime: { type: "timestamp" },
- lastUpdatedDateTime: { type: "timestamp" },
- failureReason: {},
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2659: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-10-01",
- endpointPrefix: "appmesh",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceFullName: "AWS App Mesh",
- serviceId: "App Mesh",
- signatureVersion: "v4",
- signingName: "appmesh",
- uid: "appmesh-2018-10-01",
- },
- operations: {
- CreateMesh: {
- http: { method: "PUT", requestUri: "/meshes", responseCode: 200 },
- input: {
- type: "structure",
- required: ["meshName"],
- members: {
- clientToken: { idempotencyToken: true },
- meshName: {},
- },
- },
- output: {
- type: "structure",
- members: { mesh: { shape: "S5" } },
- payload: "mesh",
- },
- idempotent: true,
- },
- CreateRoute: {
- http: {
- method: "PUT",
- requestUri:
- "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName", "routeName", "spec", "virtualRouterName"],
- members: {
- clientToken: { idempotencyToken: true },
- meshName: { location: "uri", locationName: "meshName" },
- routeName: {},
- spec: { shape: "Sd" },
- virtualRouterName: {
- location: "uri",
- locationName: "virtualRouterName",
- },
- },
- },
- output: {
- type: "structure",
- members: { route: { shape: "Sl" } },
- payload: "route",
- },
- idempotent: true,
- },
- CreateVirtualNode: {
- http: {
- method: "PUT",
- requestUri: "/meshes/{meshName}/virtualNodes",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName", "spec", "virtualNodeName"],
- members: {
- clientToken: { idempotencyToken: true },
- meshName: { location: "uri", locationName: "meshName" },
- spec: { shape: "Sp" },
- virtualNodeName: {},
- },
- },
- output: {
- type: "structure",
- members: { virtualNode: { shape: "S14" } },
- payload: "virtualNode",
- },
- idempotent: true,
- },
- CreateVirtualRouter: {
- http: {
- method: "PUT",
- requestUri: "/meshes/{meshName}/virtualRouters",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName", "spec", "virtualRouterName"],
- members: {
- clientToken: { idempotencyToken: true },
- meshName: { location: "uri", locationName: "meshName" },
- spec: { shape: "S18" },
- virtualRouterName: {},
- },
- },
- output: {
- type: "structure",
- members: { virtualRouter: { shape: "S1b" } },
- payload: "virtualRouter",
- },
- idempotent: true,
- },
- DeleteMesh: {
- http: {
- method: "DELETE",
- requestUri: "/meshes/{meshName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName"],
- members: {
- meshName: { location: "uri", locationName: "meshName" },
- },
- },
- output: {
- type: "structure",
- members: { mesh: { shape: "S5" } },
- payload: "mesh",
- },
- idempotent: true,
- },
- DeleteRoute: {
- http: {
- method: "DELETE",
- requestUri:
- "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName", "routeName", "virtualRouterName"],
- members: {
- meshName: { location: "uri", locationName: "meshName" },
- routeName: { location: "uri", locationName: "routeName" },
- virtualRouterName: {
- location: "uri",
- locationName: "virtualRouterName",
- },
- },
- },
- output: {
- type: "structure",
- members: { route: { shape: "Sl" } },
- payload: "route",
- },
- idempotent: true,
- },
- DeleteVirtualNode: {
- http: {
- method: "DELETE",
- requestUri: "/meshes/{meshName}/virtualNodes/{virtualNodeName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName", "virtualNodeName"],
- members: {
- meshName: { location: "uri", locationName: "meshName" },
- virtualNodeName: {
- location: "uri",
- locationName: "virtualNodeName",
- },
- },
- },
- output: {
- type: "structure",
- members: { virtualNode: { shape: "S14" } },
- payload: "virtualNode",
- },
- idempotent: true,
- },
- DeleteVirtualRouter: {
- http: {
- method: "DELETE",
- requestUri:
- "/meshes/{meshName}/virtualRouters/{virtualRouterName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName", "virtualRouterName"],
- members: {
- meshName: { location: "uri", locationName: "meshName" },
- virtualRouterName: {
- location: "uri",
- locationName: "virtualRouterName",
- },
- },
- },
- output: {
- type: "structure",
- members: { virtualRouter: { shape: "S1b" } },
- payload: "virtualRouter",
- },
- idempotent: true,
- },
- DescribeMesh: {
- http: {
- method: "GET",
- requestUri: "/meshes/{meshName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName"],
- members: {
- meshName: { location: "uri", locationName: "meshName" },
- },
- },
- output: {
- type: "structure",
- members: { mesh: { shape: "S5" } },
- payload: "mesh",
- },
- },
- DescribeRoute: {
- http: {
- method: "GET",
- requestUri:
- "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName", "routeName", "virtualRouterName"],
- members: {
- meshName: { location: "uri", locationName: "meshName" },
- routeName: { location: "uri", locationName: "routeName" },
- virtualRouterName: {
- location: "uri",
- locationName: "virtualRouterName",
- },
- },
- },
- output: {
- type: "structure",
- members: { route: { shape: "Sl" } },
- payload: "route",
- },
- },
- DescribeVirtualNode: {
- http: {
- method: "GET",
- requestUri: "/meshes/{meshName}/virtualNodes/{virtualNodeName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName", "virtualNodeName"],
- members: {
- meshName: { location: "uri", locationName: "meshName" },
- virtualNodeName: {
- location: "uri",
- locationName: "virtualNodeName",
- },
- },
- },
- output: {
- type: "structure",
- members: { virtualNode: { shape: "S14" } },
- payload: "virtualNode",
- },
- },
- DescribeVirtualRouter: {
- http: {
- method: "GET",
- requestUri:
- "/meshes/{meshName}/virtualRouters/{virtualRouterName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName", "virtualRouterName"],
- members: {
- meshName: { location: "uri", locationName: "meshName" },
- virtualRouterName: {
- location: "uri",
- locationName: "virtualRouterName",
- },
- },
- },
- output: {
- type: "structure",
- members: { virtualRouter: { shape: "S1b" } },
- payload: "virtualRouter",
- },
- },
- ListMeshes: {
- http: { method: "GET", requestUri: "/meshes", responseCode: 200 },
- input: {
- type: "structure",
- members: {
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- required: ["meshes"],
- members: {
- meshes: {
- type: "list",
- member: {
- type: "structure",
- members: { arn: {}, meshName: {} },
- },
- },
- nextToken: {},
- },
- },
- },
- ListRoutes: {
- http: {
- method: "GET",
- requestUri:
- "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName", "virtualRouterName"],
- members: {
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- meshName: { location: "uri", locationName: "meshName" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- virtualRouterName: {
- location: "uri",
- locationName: "virtualRouterName",
- },
- },
- },
- output: {
- type: "structure",
- required: ["routes"],
- members: {
- nextToken: {},
- routes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- arn: {},
- meshName: {},
- routeName: {},
- virtualRouterName: {},
- },
- },
- },
- },
- },
- },
- ListVirtualNodes: {
- http: {
- method: "GET",
- requestUri: "/meshes/{meshName}/virtualNodes",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName"],
- members: {
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- meshName: { location: "uri", locationName: "meshName" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- required: ["virtualNodes"],
- members: {
- nextToken: {},
- virtualNodes: {
- type: "list",
- member: {
- type: "structure",
- members: { arn: {}, meshName: {}, virtualNodeName: {} },
- },
- },
- },
- },
- },
- ListVirtualRouters: {
- http: {
- method: "GET",
- requestUri: "/meshes/{meshName}/virtualRouters",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName"],
- members: {
- limit: {
- location: "querystring",
- locationName: "limit",
- type: "integer",
- },
- meshName: { location: "uri", locationName: "meshName" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- required: ["virtualRouters"],
- members: {
- nextToken: {},
- virtualRouters: {
- type: "list",
- member: {
- type: "structure",
- members: { arn: {}, meshName: {}, virtualRouterName: {} },
- },
- },
- },
- },
- },
- UpdateRoute: {
- http: {
- method: "PUT",
- requestUri:
- "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName", "routeName", "spec", "virtualRouterName"],
- members: {
- clientToken: { idempotencyToken: true },
- meshName: { location: "uri", locationName: "meshName" },
- routeName: { location: "uri", locationName: "routeName" },
- spec: { shape: "Sd" },
- virtualRouterName: {
- location: "uri",
- locationName: "virtualRouterName",
- },
- },
- },
- output: {
- type: "structure",
- members: { route: { shape: "Sl" } },
- payload: "route",
- },
- idempotent: true,
- },
- UpdateVirtualNode: {
- http: {
- method: "PUT",
- requestUri: "/meshes/{meshName}/virtualNodes/{virtualNodeName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName", "spec", "virtualNodeName"],
- members: {
- clientToken: { idempotencyToken: true },
- meshName: { location: "uri", locationName: "meshName" },
- spec: { shape: "Sp" },
- virtualNodeName: {
- location: "uri",
- locationName: "virtualNodeName",
- },
- },
- },
- output: {
- type: "structure",
- members: { virtualNode: { shape: "S14" } },
- payload: "virtualNode",
- },
- idempotent: true,
- },
- UpdateVirtualRouter: {
- http: {
- method: "PUT",
- requestUri:
- "/meshes/{meshName}/virtualRouters/{virtualRouterName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["meshName", "spec", "virtualRouterName"],
- members: {
- clientToken: { idempotencyToken: true },
- meshName: { location: "uri", locationName: "meshName" },
- spec: { shape: "S18" },
- virtualRouterName: {
- location: "uri",
- locationName: "virtualRouterName",
- },
- },
- },
- output: {
- type: "structure",
- members: { virtualRouter: { shape: "S1b" } },
- payload: "virtualRouter",
- },
- idempotent: true,
- },
- },
- shapes: {
- S5: {
- type: "structure",
- required: ["meshName", "metadata"],
- members: {
- meshName: {},
- metadata: { shape: "S6" },
- status: { type: "structure", members: { status: {} } },
- },
- },
- S6: {
- type: "structure",
- members: {
- arn: {},
- createdAt: { type: "timestamp" },
- lastUpdatedAt: { type: "timestamp" },
- uid: {},
- version: { type: "long" },
- },
- },
- Sd: {
- type: "structure",
- members: {
- httpRoute: {
- type: "structure",
- members: {
- action: {
- type: "structure",
- members: {
- weightedTargets: {
- type: "list",
- member: {
- type: "structure",
- members: {
- virtualNode: {},
- weight: { type: "integer" },
- },
- },
- },
- },
- },
- match: { type: "structure", members: { prefix: {} } },
- },
- },
- },
- },
- Sl: {
- type: "structure",
- required: ["meshName", "routeName", "virtualRouterName"],
- members: {
- meshName: {},
- metadata: { shape: "S6" },
- routeName: {},
- spec: { shape: "Sd" },
- status: { type: "structure", members: { status: {} } },
- virtualRouterName: {},
- },
- },
- Sp: {
- type: "structure",
- members: {
- backends: { type: "list", member: {} },
- listeners: {
- type: "list",
- member: {
- type: "structure",
- members: {
- healthCheck: {
- type: "structure",
- required: [
- "healthyThreshold",
- "intervalMillis",
- "protocol",
- "timeoutMillis",
- "unhealthyThreshold",
- ],
- members: {
- healthyThreshold: { type: "integer" },
- intervalMillis: { type: "long" },
- path: {},
- port: { type: "integer" },
- protocol: {},
- timeoutMillis: { type: "long" },
- unhealthyThreshold: { type: "integer" },
- },
- },
- portMapping: {
- type: "structure",
- members: { port: { type: "integer" }, protocol: {} },
- },
- },
- },
- },
- serviceDiscovery: {
- type: "structure",
- members: {
- dns: { type: "structure", members: { serviceName: {} } },
- },
- },
- },
- },
- S14: {
- type: "structure",
- required: ["meshName", "virtualNodeName"],
- members: {
- meshName: {},
- metadata: { shape: "S6" },
- spec: { shape: "Sp" },
- status: { type: "structure", members: { status: {} } },
- virtualNodeName: {},
- },
- },
- S18: {
- type: "structure",
- members: { serviceNames: { type: "list", member: {} } },
- },
- S1b: {
- type: "structure",
- required: ["meshName", "virtualRouterName"],
- members: {
- meshName: {},
- metadata: { shape: "S6" },
- spec: { shape: "S18" },
- status: { type: "structure", members: { status: {} } },
- virtualRouterName: {},
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2662: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-08-08",
- endpointPrefix: "connect",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "Amazon Connect",
- serviceFullName: "Amazon Connect Service",
- serviceId: "Connect",
- signatureVersion: "v4",
- signingName: "connect",
- uid: "connect-2017-08-08",
- },
- operations: {
- CreateUser: {
- http: { method: "PUT", requestUri: "/users/{InstanceId}" },
- input: {
- type: "structure",
- required: [
- "Username",
- "PhoneConfig",
- "SecurityProfileIds",
- "RoutingProfileId",
- "InstanceId",
- ],
- members: {
- Username: {},
- Password: {},
- IdentityInfo: { shape: "S4" },
- PhoneConfig: { shape: "S8" },
- DirectoryUserId: {},
- SecurityProfileIds: { shape: "Se" },
- RoutingProfileId: {},
- HierarchyGroupId: {},
- InstanceId: { location: "uri", locationName: "InstanceId" },
- Tags: { shape: "Sj" },
- },
- },
- output: { type: "structure", members: { UserId: {}, UserArn: {} } },
- },
- DeleteUser: {
- http: {
- method: "DELETE",
- requestUri: "/users/{InstanceId}/{UserId}",
- },
- input: {
- type: "structure",
- required: ["InstanceId", "UserId"],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- UserId: { location: "uri", locationName: "UserId" },
- },
- },
- },
- DescribeUser: {
- http: { method: "GET", requestUri: "/users/{InstanceId}/{UserId}" },
- input: {
- type: "structure",
- required: ["UserId", "InstanceId"],
- members: {
- UserId: { location: "uri", locationName: "UserId" },
- InstanceId: { location: "uri", locationName: "InstanceId" },
- },
- },
- output: {
- type: "structure",
- members: {
- User: {
- type: "structure",
- members: {
- Id: {},
- Arn: {},
- Username: {},
- IdentityInfo: { shape: "S4" },
- PhoneConfig: { shape: "S8" },
- DirectoryUserId: {},
- SecurityProfileIds: { shape: "Se" },
- RoutingProfileId: {},
- HierarchyGroupId: {},
- Tags: { shape: "Sj" },
- },
- },
- },
- },
- },
- DescribeUserHierarchyGroup: {
- http: {
- method: "GET",
- requestUri:
- "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}",
- },
- input: {
- type: "structure",
- required: ["HierarchyGroupId", "InstanceId"],
- members: {
- HierarchyGroupId: {
- location: "uri",
- locationName: "HierarchyGroupId",
- },
- InstanceId: { location: "uri", locationName: "InstanceId" },
- },
- },
- output: {
- type: "structure",
- members: {
- HierarchyGroup: {
- type: "structure",
- members: {
- Id: {},
- Arn: {},
- Name: {},
- LevelId: {},
- HierarchyPath: {
- type: "structure",
- members: {
- LevelOne: { shape: "Sz" },
- LevelTwo: { shape: "Sz" },
- LevelThree: { shape: "Sz" },
- LevelFour: { shape: "Sz" },
- LevelFive: { shape: "Sz" },
- },
- },
- },
- },
- },
- },
- },
- DescribeUserHierarchyStructure: {
- http: {
- method: "GET",
- requestUri: "/user-hierarchy-structure/{InstanceId}",
- },
- input: {
- type: "structure",
- required: ["InstanceId"],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- },
- },
- output: {
- type: "structure",
- members: {
- HierarchyStructure: {
- type: "structure",
- members: {
- LevelOne: { shape: "S13" },
- LevelTwo: { shape: "S13" },
- LevelThree: { shape: "S13" },
- LevelFour: { shape: "S13" },
- LevelFive: { shape: "S13" },
- },
- },
- },
- },
- },
- GetContactAttributes: {
- http: {
- method: "GET",
- requestUri: "/contact/attributes/{InstanceId}/{InitialContactId}",
- },
- input: {
- type: "structure",
- required: ["InstanceId", "InitialContactId"],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- InitialContactId: {
- location: "uri",
- locationName: "InitialContactId",
- },
- },
- },
- output: {
- type: "structure",
- members: { Attributes: { shape: "S18" } },
- },
- },
- GetCurrentMetricData: {
- http: { requestUri: "/metrics/current/{InstanceId}" },
- input: {
- type: "structure",
- required: ["InstanceId", "Filters", "CurrentMetrics"],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- Filters: { shape: "S1c" },
- Groupings: { shape: "S1h" },
- CurrentMetrics: { type: "list", member: { shape: "S1k" } },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- MetricResults: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Dimensions: { shape: "S1s" },
- Collections: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Metric: { shape: "S1k" },
- Value: { type: "double" },
- },
- },
- },
- },
- },
- },
- DataSnapshotTime: { type: "timestamp" },
- },
- },
- },
- GetFederationToken: {
- http: { method: "GET", requestUri: "/user/federate/{InstanceId}" },
- input: {
- type: "structure",
- required: ["InstanceId"],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- },
- },
- output: {
- type: "structure",
- members: {
- Credentials: {
- type: "structure",
- members: {
- AccessToken: { shape: "S21" },
- AccessTokenExpiration: { type: "timestamp" },
- RefreshToken: { shape: "S21" },
- RefreshTokenExpiration: { type: "timestamp" },
- },
- },
- },
- },
- },
- GetMetricData: {
- http: { requestUri: "/metrics/historical/{InstanceId}" },
- input: {
- type: "structure",
- required: [
- "InstanceId",
- "StartTime",
- "EndTime",
- "Filters",
- "HistoricalMetrics",
- ],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Filters: { shape: "S1c" },
- Groupings: { shape: "S1h" },
- HistoricalMetrics: { type: "list", member: { shape: "S24" } },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- MetricResults: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Dimensions: { shape: "S1s" },
- Collections: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Metric: { shape: "S24" },
- Value: { type: "double" },
- },
- },
- },
- },
- },
- },
- },
- },
- },
- ListContactFlows: {
- http: {
- method: "GET",
- requestUri: "/contact-flows-summary/{InstanceId}",
- },
- input: {
- type: "structure",
- required: ["InstanceId"],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- ContactFlowTypes: {
- location: "querystring",
- locationName: "contactFlowTypes",
- type: "list",
- member: {},
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- ContactFlowSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: { Id: {}, Arn: {}, Name: {}, ContactFlowType: {} },
- },
- },
- NextToken: {},
- },
- },
- },
- ListHoursOfOperations: {
- http: {
- method: "GET",
- requestUri: "/hours-of-operations-summary/{InstanceId}",
- },
- input: {
- type: "structure",
- required: ["InstanceId"],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- HoursOfOperationSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: { Id: {}, Arn: {}, Name: {} },
- },
- },
- NextToken: {},
- },
- },
- },
- ListPhoneNumbers: {
- http: {
- method: "GET",
- requestUri: "/phone-numbers-summary/{InstanceId}",
- },
- input: {
- type: "structure",
- required: ["InstanceId"],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- PhoneNumberTypes: {
- location: "querystring",
- locationName: "phoneNumberTypes",
- type: "list",
- member: {},
- },
- PhoneNumberCountryCodes: {
- location: "querystring",
- locationName: "phoneNumberCountryCodes",
- type: "list",
- member: {},
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- PhoneNumberSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Arn: {},
- PhoneNumber: {},
- PhoneNumberType: {},
- PhoneNumberCountryCode: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListQueues: {
- http: { method: "GET", requestUri: "/queues-summary/{InstanceId}" },
- input: {
- type: "structure",
- required: ["InstanceId"],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- QueueTypes: {
- location: "querystring",
- locationName: "queueTypes",
- type: "list",
- member: {},
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- QueueSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: { Id: {}, Arn: {}, Name: {}, QueueType: {} },
- },
- },
- NextToken: {},
- },
- },
- },
- ListRoutingProfiles: {
- http: {
- method: "GET",
- requestUri: "/routing-profiles-summary/{InstanceId}",
- },
- input: {
- type: "structure",
- required: ["InstanceId"],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- RoutingProfileSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: { Id: {}, Arn: {}, Name: {} },
- },
- },
- NextToken: {},
- },
- },
- },
- ListSecurityProfiles: {
- http: {
- method: "GET",
- requestUri: "/security-profiles-summary/{InstanceId}",
- },
- input: {
- type: "structure",
- required: ["InstanceId"],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- SecurityProfileSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: { Id: {}, Arn: {}, Name: {} },
- },
- },
- NextToken: {},
- },
- },
- },
- ListTagsForResource: {
- http: { method: "GET", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- },
- },
- output: { type: "structure", members: { tags: { shape: "Sj" } } },
- },
- ListUserHierarchyGroups: {
- http: {
- method: "GET",
- requestUri: "/user-hierarchy-groups-summary/{InstanceId}",
- },
- input: {
- type: "structure",
- required: ["InstanceId"],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- UserHierarchyGroupSummaryList: {
- type: "list",
- member: { shape: "Sz" },
- },
- NextToken: {},
- },
- },
- },
- ListUsers: {
- http: { method: "GET", requestUri: "/users-summary/{InstanceId}" },
- input: {
- type: "structure",
- required: ["InstanceId"],
- members: {
- InstanceId: { location: "uri", locationName: "InstanceId" },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- UserSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: { Id: {}, Arn: {}, Username: {} },
- },
- },
- NextToken: {},
- },
- },
- },
- StartChatContact: {
- http: { method: "PUT", requestUri: "/contact/chat" },
- input: {
- type: "structure",
- required: ["InstanceId", "ContactFlowId", "ParticipantDetails"],
- members: {
- InstanceId: {},
- ContactFlowId: {},
- Attributes: { shape: "S18" },
- ParticipantDetails: {
- type: "structure",
- required: ["DisplayName"],
- members: { DisplayName: {} },
- },
- InitialMessage: {
- type: "structure",
- required: ["ContentType", "Content"],
- members: { ContentType: {}, Content: {} },
- },
- ClientToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- ContactId: {},
- ParticipantId: {},
- ParticipantToken: {},
- },
- },
- },
- StartOutboundVoiceContact: {
- http: { method: "PUT", requestUri: "/contact/outbound-voice" },
- input: {
- type: "structure",
- required: [
- "DestinationPhoneNumber",
- "ContactFlowId",
- "InstanceId",
- ],
- members: {
- DestinationPhoneNumber: {},
- ContactFlowId: {},
- InstanceId: {},
- ClientToken: { idempotencyToken: true },
- SourcePhoneNumber: {},
- QueueId: {},
- Attributes: { shape: "S18" },
- },
- },
- output: { type: "structure", members: { ContactId: {} } },
- },
- StopContact: {
- http: { requestUri: "/contact/stop" },
- input: {
- type: "structure",
- required: ["ContactId", "InstanceId"],
- members: { ContactId: {}, InstanceId: {} },
- },
- output: { type: "structure", members: {} },
- },
- TagResource: {
- http: { requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn", "tags"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tags: { shape: "Sj" },
- },
- },
- },
- UntagResource: {
- http: { method: "DELETE", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn", "tagKeys"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tagKeys: {
- location: "querystring",
- locationName: "tagKeys",
- type: "list",
- member: {},
- },
- },
- },
- },
- UpdateContactAttributes: {
- http: { requestUri: "/contact/attributes" },
- input: {
- type: "structure",
- required: ["InitialContactId", "InstanceId", "Attributes"],
- members: {
- InitialContactId: {},
- InstanceId: {},
- Attributes: { shape: "S18" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateUserHierarchy: {
- http: { requestUri: "/users/{InstanceId}/{UserId}/hierarchy" },
- input: {
- type: "structure",
- required: ["UserId", "InstanceId"],
- members: {
- HierarchyGroupId: {},
- UserId: { location: "uri", locationName: "UserId" },
- InstanceId: { location: "uri", locationName: "InstanceId" },
- },
- },
- },
- UpdateUserIdentityInfo: {
- http: { requestUri: "/users/{InstanceId}/{UserId}/identity-info" },
- input: {
- type: "structure",
- required: ["IdentityInfo", "UserId", "InstanceId"],
- members: {
- IdentityInfo: { shape: "S4" },
- UserId: { location: "uri", locationName: "UserId" },
- InstanceId: { location: "uri", locationName: "InstanceId" },
- },
- },
- },
- UpdateUserPhoneConfig: {
- http: { requestUri: "/users/{InstanceId}/{UserId}/phone-config" },
- input: {
- type: "structure",
- required: ["PhoneConfig", "UserId", "InstanceId"],
- members: {
- PhoneConfig: { shape: "S8" },
- UserId: { location: "uri", locationName: "UserId" },
- InstanceId: { location: "uri", locationName: "InstanceId" },
- },
- },
- },
- UpdateUserRoutingProfile: {
- http: {
- requestUri: "/users/{InstanceId}/{UserId}/routing-profile",
- },
- input: {
- type: "structure",
- required: ["RoutingProfileId", "UserId", "InstanceId"],
- members: {
- RoutingProfileId: {},
- UserId: { location: "uri", locationName: "UserId" },
- InstanceId: { location: "uri", locationName: "InstanceId" },
- },
- },
- },
- UpdateUserSecurityProfiles: {
- http: {
- requestUri: "/users/{InstanceId}/{UserId}/security-profiles",
- },
- input: {
- type: "structure",
- required: ["SecurityProfileIds", "UserId", "InstanceId"],
- members: {
- SecurityProfileIds: { shape: "Se" },
- UserId: { location: "uri", locationName: "UserId" },
- InstanceId: { location: "uri", locationName: "InstanceId" },
- },
- },
- },
- },
- shapes: {
- S4: {
- type: "structure",
- members: { FirstName: {}, LastName: {}, Email: {} },
- },
- S8: {
- type: "structure",
- required: ["PhoneType"],
- members: {
- PhoneType: {},
- AutoAccept: { type: "boolean" },
- AfterContactWorkTimeLimit: { type: "integer" },
- DeskPhoneNumber: {},
- },
- },
- Se: { type: "list", member: {} },
- Sj: { type: "map", key: {}, value: {} },
- Sz: { type: "structure", members: { Id: {}, Arn: {}, Name: {} } },
- S13: { type: "structure", members: { Id: {}, Arn: {}, Name: {} } },
- S18: { type: "map", key: {}, value: {} },
- S1c: {
- type: "structure",
- members: {
- Queues: { type: "list", member: {} },
- Channels: { type: "list", member: {} },
- },
- },
- S1h: { type: "list", member: {} },
- S1k: { type: "structure", members: { Name: {}, Unit: {} } },
- S1s: {
- type: "structure",
- members: {
- Queue: { type: "structure", members: { Id: {}, Arn: {} } },
- Channel: {},
- },
- },
- S21: { type: "string", sensitive: true },
- S24: {
- type: "structure",
- members: {
- Name: {},
- Threshold: {
- type: "structure",
- members: { Comparison: {}, ThresholdValue: { type: "double" } },
- },
- Statistic: {},
- Unit: {},
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2667: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2012-06-01",
- endpointPrefix: "elasticloadbalancing",
- protocol: "query",
- serviceFullName: "Elastic Load Balancing",
- serviceId: "Elastic Load Balancing",
- signatureVersion: "v4",
- uid: "elasticloadbalancing-2012-06-01",
- xmlNamespace:
- "http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/",
- },
- operations: {
- AddTags: {
- input: {
- type: "structure",
- required: ["LoadBalancerNames", "Tags"],
- members: {
- LoadBalancerNames: { shape: "S2" },
- Tags: { shape: "S4" },
- },
- },
- output: {
- resultWrapper: "AddTagsResult",
- type: "structure",
- members: {},
- },
- },
- ApplySecurityGroupsToLoadBalancer: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "SecurityGroups"],
- members: {
- LoadBalancerName: {},
- SecurityGroups: { shape: "Sa" },
- },
- },
- output: {
- resultWrapper: "ApplySecurityGroupsToLoadBalancerResult",
- type: "structure",
- members: { SecurityGroups: { shape: "Sa" } },
- },
- },
- AttachLoadBalancerToSubnets: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "Subnets"],
- members: { LoadBalancerName: {}, Subnets: { shape: "Se" } },
- },
- output: {
- resultWrapper: "AttachLoadBalancerToSubnetsResult",
- type: "structure",
- members: { Subnets: { shape: "Se" } },
- },
- },
- ConfigureHealthCheck: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "HealthCheck"],
- members: { LoadBalancerName: {}, HealthCheck: { shape: "Si" } },
- },
- output: {
- resultWrapper: "ConfigureHealthCheckResult",
- type: "structure",
- members: { HealthCheck: { shape: "Si" } },
- },
- },
- CreateAppCookieStickinessPolicy: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "PolicyName", "CookieName"],
- members: { LoadBalancerName: {}, PolicyName: {}, CookieName: {} },
- },
- output: {
- resultWrapper: "CreateAppCookieStickinessPolicyResult",
- type: "structure",
- members: {},
- },
- },
- CreateLBCookieStickinessPolicy: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "PolicyName"],
- members: {
- LoadBalancerName: {},
- PolicyName: {},
- CookieExpirationPeriod: { type: "long" },
- },
- },
- output: {
- resultWrapper: "CreateLBCookieStickinessPolicyResult",
- type: "structure",
- members: {},
- },
- },
- CreateLoadBalancer: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "Listeners"],
- members: {
- LoadBalancerName: {},
- Listeners: { shape: "Sx" },
- AvailabilityZones: { shape: "S13" },
- Subnets: { shape: "Se" },
- SecurityGroups: { shape: "Sa" },
- Scheme: {},
- Tags: { shape: "S4" },
- },
- },
- output: {
- resultWrapper: "CreateLoadBalancerResult",
- type: "structure",
- members: { DNSName: {} },
- },
- },
- CreateLoadBalancerListeners: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "Listeners"],
- members: { LoadBalancerName: {}, Listeners: { shape: "Sx" } },
- },
- output: {
- resultWrapper: "CreateLoadBalancerListenersResult",
- type: "structure",
- members: {},
- },
- },
- CreateLoadBalancerPolicy: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "PolicyName", "PolicyTypeName"],
- members: {
- LoadBalancerName: {},
- PolicyName: {},
- PolicyTypeName: {},
- PolicyAttributes: {
- type: "list",
- member: {
- type: "structure",
- members: { AttributeName: {}, AttributeValue: {} },
- },
- },
- },
- },
- output: {
- resultWrapper: "CreateLoadBalancerPolicyResult",
- type: "structure",
- members: {},
- },
- },
- DeleteLoadBalancer: {
- input: {
- type: "structure",
- required: ["LoadBalancerName"],
- members: { LoadBalancerName: {} },
- },
- output: {
- resultWrapper: "DeleteLoadBalancerResult",
- type: "structure",
- members: {},
- },
- },
- DeleteLoadBalancerListeners: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "LoadBalancerPorts"],
- members: {
- LoadBalancerName: {},
- LoadBalancerPorts: {
- type: "list",
- member: { type: "integer" },
- },
- },
- },
- output: {
- resultWrapper: "DeleteLoadBalancerListenersResult",
- type: "structure",
- members: {},
- },
- },
- DeleteLoadBalancerPolicy: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "PolicyName"],
- members: { LoadBalancerName: {}, PolicyName: {} },
- },
- output: {
- resultWrapper: "DeleteLoadBalancerPolicyResult",
- type: "structure",
- members: {},
- },
- },
- DeregisterInstancesFromLoadBalancer: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "Instances"],
- members: { LoadBalancerName: {}, Instances: { shape: "S1p" } },
- },
- output: {
- resultWrapper: "DeregisterInstancesFromLoadBalancerResult",
- type: "structure",
- members: { Instances: { shape: "S1p" } },
- },
- },
- DescribeAccountLimits: {
- input: {
- type: "structure",
- members: { Marker: {}, PageSize: { type: "integer" } },
- },
- output: {
- resultWrapper: "DescribeAccountLimitsResult",
- type: "structure",
- members: {
- Limits: {
- type: "list",
- member: { type: "structure", members: { Name: {}, Max: {} } },
- },
- NextMarker: {},
- },
- },
- },
- DescribeInstanceHealth: {
- input: {
- type: "structure",
- required: ["LoadBalancerName"],
- members: { LoadBalancerName: {}, Instances: { shape: "S1p" } },
- },
- output: {
- resultWrapper: "DescribeInstanceHealthResult",
- type: "structure",
- members: {
- InstanceStates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- InstanceId: {},
- State: {},
- ReasonCode: {},
- Description: {},
- },
- },
- },
- },
- },
- },
- DescribeLoadBalancerAttributes: {
- input: {
- type: "structure",
- required: ["LoadBalancerName"],
- members: { LoadBalancerName: {} },
- },
- output: {
- resultWrapper: "DescribeLoadBalancerAttributesResult",
- type: "structure",
- members: { LoadBalancerAttributes: { shape: "S2a" } },
- },
- },
- DescribeLoadBalancerPolicies: {
- input: {
- type: "structure",
- members: { LoadBalancerName: {}, PolicyNames: { shape: "S2s" } },
- },
- output: {
- resultWrapper: "DescribeLoadBalancerPoliciesResult",
- type: "structure",
- members: {
- PolicyDescriptions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- PolicyName: {},
- PolicyTypeName: {},
- PolicyAttributeDescriptions: {
- type: "list",
- member: {
- type: "structure",
- members: { AttributeName: {}, AttributeValue: {} },
- },
- },
- },
- },
- },
- },
- },
- },
- DescribeLoadBalancerPolicyTypes: {
- input: {
- type: "structure",
- members: { PolicyTypeNames: { type: "list", member: {} } },
- },
- output: {
- resultWrapper: "DescribeLoadBalancerPolicyTypesResult",
- type: "structure",
- members: {
- PolicyTypeDescriptions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- PolicyTypeName: {},
- Description: {},
- PolicyAttributeTypeDescriptions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- AttributeName: {},
- AttributeType: {},
- Description: {},
- DefaultValue: {},
- Cardinality: {},
- },
- },
- },
- },
- },
- },
- },
- },
- },
- DescribeLoadBalancers: {
- input: {
- type: "structure",
- members: {
- LoadBalancerNames: { shape: "S2" },
- Marker: {},
- PageSize: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "DescribeLoadBalancersResult",
- type: "structure",
- members: {
- LoadBalancerDescriptions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- LoadBalancerName: {},
- DNSName: {},
- CanonicalHostedZoneName: {},
- CanonicalHostedZoneNameID: {},
- ListenerDescriptions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Listener: { shape: "Sy" },
- PolicyNames: { shape: "S2s" },
- },
- },
- },
- Policies: {
- type: "structure",
- members: {
- AppCookieStickinessPolicies: {
- type: "list",
- member: {
- type: "structure",
- members: { PolicyName: {}, CookieName: {} },
- },
- },
- LBCookieStickinessPolicies: {
- type: "list",
- member: {
- type: "structure",
- members: {
- PolicyName: {},
- CookieExpirationPeriod: { type: "long" },
- },
- },
- },
- OtherPolicies: { shape: "S2s" },
- },
- },
- BackendServerDescriptions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- InstancePort: { type: "integer" },
- PolicyNames: { shape: "S2s" },
- },
- },
- },
- AvailabilityZones: { shape: "S13" },
- Subnets: { shape: "Se" },
- VPCId: {},
- Instances: { shape: "S1p" },
- HealthCheck: { shape: "Si" },
- SourceSecurityGroup: {
- type: "structure",
- members: { OwnerAlias: {}, GroupName: {} },
- },
- SecurityGroups: { shape: "Sa" },
- CreatedTime: { type: "timestamp" },
- Scheme: {},
- },
- },
- },
- NextMarker: {},
- },
- },
- },
- DescribeTags: {
- input: {
- type: "structure",
- required: ["LoadBalancerNames"],
- members: { LoadBalancerNames: { type: "list", member: {} } },
- },
- output: {
- resultWrapper: "DescribeTagsResult",
- type: "structure",
- members: {
- TagDescriptions: {
- type: "list",
- member: {
- type: "structure",
- members: { LoadBalancerName: {}, Tags: { shape: "S4" } },
- },
- },
- },
- },
- },
- DetachLoadBalancerFromSubnets: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "Subnets"],
- members: { LoadBalancerName: {}, Subnets: { shape: "Se" } },
- },
- output: {
- resultWrapper: "DetachLoadBalancerFromSubnetsResult",
- type: "structure",
- members: { Subnets: { shape: "Se" } },
- },
- },
- DisableAvailabilityZonesForLoadBalancer: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "AvailabilityZones"],
- members: {
- LoadBalancerName: {},
- AvailabilityZones: { shape: "S13" },
- },
- },
- output: {
- resultWrapper: "DisableAvailabilityZonesForLoadBalancerResult",
- type: "structure",
- members: { AvailabilityZones: { shape: "S13" } },
- },
- },
- EnableAvailabilityZonesForLoadBalancer: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "AvailabilityZones"],
- members: {
- LoadBalancerName: {},
- AvailabilityZones: { shape: "S13" },
- },
- },
- output: {
- resultWrapper: "EnableAvailabilityZonesForLoadBalancerResult",
- type: "structure",
- members: { AvailabilityZones: { shape: "S13" } },
- },
- },
- ModifyLoadBalancerAttributes: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "LoadBalancerAttributes"],
- members: {
- LoadBalancerName: {},
- LoadBalancerAttributes: { shape: "S2a" },
- },
- },
- output: {
- resultWrapper: "ModifyLoadBalancerAttributesResult",
- type: "structure",
- members: {
- LoadBalancerName: {},
- LoadBalancerAttributes: { shape: "S2a" },
- },
- },
- },
- RegisterInstancesWithLoadBalancer: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "Instances"],
- members: { LoadBalancerName: {}, Instances: { shape: "S1p" } },
- },
- output: {
- resultWrapper: "RegisterInstancesWithLoadBalancerResult",
- type: "structure",
- members: { Instances: { shape: "S1p" } },
- },
- },
- RemoveTags: {
- input: {
- type: "structure",
- required: ["LoadBalancerNames", "Tags"],
- members: {
- LoadBalancerNames: { shape: "S2" },
- Tags: {
- type: "list",
- member: { type: "structure", members: { Key: {} } },
- },
- },
- },
- output: {
- resultWrapper: "RemoveTagsResult",
- type: "structure",
- members: {},
- },
- },
- SetLoadBalancerListenerSSLCertificate: {
- input: {
- type: "structure",
- required: [
- "LoadBalancerName",
- "LoadBalancerPort",
- "SSLCertificateId",
- ],
- members: {
- LoadBalancerName: {},
- LoadBalancerPort: { type: "integer" },
- SSLCertificateId: {},
- },
- },
- output: {
- resultWrapper: "SetLoadBalancerListenerSSLCertificateResult",
- type: "structure",
- members: {},
- },
- },
- SetLoadBalancerPoliciesForBackendServer: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "InstancePort", "PolicyNames"],
- members: {
- LoadBalancerName: {},
- InstancePort: { type: "integer" },
- PolicyNames: { shape: "S2s" },
- },
- },
- output: {
- resultWrapper: "SetLoadBalancerPoliciesForBackendServerResult",
- type: "structure",
- members: {},
- },
- },
- SetLoadBalancerPoliciesOfListener: {
- input: {
- type: "structure",
- required: ["LoadBalancerName", "LoadBalancerPort", "PolicyNames"],
- members: {
- LoadBalancerName: {},
- LoadBalancerPort: { type: "integer" },
- PolicyNames: { shape: "S2s" },
- },
- },
- output: {
- resultWrapper: "SetLoadBalancerPoliciesOfListenerResult",
- type: "structure",
- members: {},
- },
- },
- },
- shapes: {
- S2: { type: "list", member: {} },
- S4: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key"],
- members: { Key: {}, Value: {} },
- },
- },
- Sa: { type: "list", member: {} },
- Se: { type: "list", member: {} },
- Si: {
- type: "structure",
- required: [
- "Target",
- "Interval",
- "Timeout",
- "UnhealthyThreshold",
- "HealthyThreshold",
- ],
- members: {
- Target: {},
- Interval: { type: "integer" },
- Timeout: { type: "integer" },
- UnhealthyThreshold: { type: "integer" },
- HealthyThreshold: { type: "integer" },
- },
- },
- Sx: { type: "list", member: { shape: "Sy" } },
- Sy: {
- type: "structure",
- required: ["Protocol", "LoadBalancerPort", "InstancePort"],
- members: {
- Protocol: {},
- LoadBalancerPort: { type: "integer" },
- InstanceProtocol: {},
- InstancePort: { type: "integer" },
- SSLCertificateId: {},
- },
- },
- S13: { type: "list", member: {} },
- S1p: {
- type: "list",
- member: { type: "structure", members: { InstanceId: {} } },
- },
- S2a: {
- type: "structure",
- members: {
- CrossZoneLoadBalancing: {
- type: "structure",
- required: ["Enabled"],
- members: { Enabled: { type: "boolean" } },
- },
- AccessLog: {
- type: "structure",
- required: ["Enabled"],
- members: {
- Enabled: { type: "boolean" },
- S3BucketName: {},
- EmitInterval: { type: "integer" },
- S3BucketPrefix: {},
- },
- },
- ConnectionDraining: {
- type: "structure",
- required: ["Enabled"],
- members: {
- Enabled: { type: "boolean" },
- Timeout: { type: "integer" },
- },
- },
- ConnectionSettings: {
- type: "structure",
- required: ["IdleTimeout"],
- members: { IdleTimeout: { type: "integer" } },
- },
- AdditionalAttributes: {
- type: "list",
- member: { type: "structure", members: { Key: {}, Value: {} } },
- },
- },
- },
- S2s: { type: "list", member: {} },
- },
- };
-
- /***/
- },
-
- /***/ 2673: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(4008);
- model.paginators = __webpack_require__(1656).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.ServiceCatalog;
-
- /***/
- },
-
- /***/ 2674: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = authenticate;
-
- const { Deprecation } = __webpack_require__(7692);
- const once = __webpack_require__(6049);
-
- const deprecateAuthenticate = once((log, deprecation) =>
- log.warn(deprecation)
- );
-
- function authenticate(state, options) {
- deprecateAuthenticate(
- state.octokit.log,
- new Deprecation(
- '[@octokit/rest] octokit.authenticate() is deprecated. Use "auth" constructor option instead.'
- )
- );
-
- if (!options) {
- state.auth = false;
- return;
- }
-
- switch (options.type) {
- case "basic":
- if (!options.username || !options.password) {
- throw new Error(
- "Basic authentication requires both a username and password to be set"
- );
- }
- break;
-
- case "oauth":
- if (!options.token && !(options.key && options.secret)) {
- throw new Error(
- "OAuth2 authentication requires a token or key & secret to be set"
- );
- }
- break;
-
- case "token":
- case "app":
- if (!options.token) {
- throw new Error(
- "Token authentication requires a token to be set"
- );
- }
- break;
-
- default:
- throw new Error(
- "Invalid authentication type, must be 'basic', 'oauth', 'token' or 'app'"
- );
- }
-
- state.auth = options;
- }
-
- /***/
- },
-
- /***/ 2678: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
-
- AWS.util.hideProperties(AWS, ["SimpleWorkflow"]);
-
- /**
- * @constant
- * @readonly
- * Backwards compatibility for access to the {AWS.SWF} service class.
- */
- AWS.SimpleWorkflow = AWS.SWF;
-
- /***/
- },
-
- /***/ 2681: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 2696: /***/ function (module) {
- "use strict";
-
- /*!
- * isobject
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
-
- function isObject(val) {
- return (
- val != null && typeof val === "object" && Array.isArray(val) === false
- );
- }
-
- /*!
- * is-plain-object
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
-
- function isObjectObject(o) {
- return (
- isObject(o) === true &&
- Object.prototype.toString.call(o) === "[object Object]"
- );
- }
-
- function isPlainObject(o) {
- var ctor, prot;
-
- if (isObjectObject(o) === false) return false;
-
- // If has modified constructor
- ctor = o.constructor;
- if (typeof ctor !== "function") return false;
-
- // If has modified prototype
- prot = ctor.prototype;
- if (isObjectObject(prot) === false) return false;
-
- // If constructor does not have an Object-specific method
- if (prot.hasOwnProperty("isPrototypeOf") === false) {
- return false;
- }
-
- // Most likely a plain Object
- return true;
- }
-
- module.exports = isPlainObject;
-
- /***/
- },
-
- /***/ 2699: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2015-04-16",
- endpointPrefix: "ds",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "Directory Service",
- serviceFullName: "AWS Directory Service",
- serviceId: "Directory Service",
- signatureVersion: "v4",
- targetPrefix: "DirectoryService_20150416",
- uid: "ds-2015-04-16",
- },
- operations: {
- AcceptSharedDirectory: {
- input: {
- type: "structure",
- required: ["SharedDirectoryId"],
- members: { SharedDirectoryId: {} },
- },
- output: {
- type: "structure",
- members: { SharedDirectory: { shape: "S4" } },
- },
- },
- AddIpRoutes: {
- input: {
- type: "structure",
- required: ["DirectoryId", "IpRoutes"],
- members: {
- DirectoryId: {},
- IpRoutes: {
- type: "list",
- member: {
- type: "structure",
- members: { CidrIp: {}, Description: {} },
- },
- },
- UpdateSecurityGroupForDirectoryControllers: { type: "boolean" },
- },
- },
- output: { type: "structure", members: {} },
- },
- AddTagsToResource: {
- input: {
- type: "structure",
- required: ["ResourceId", "Tags"],
- members: { ResourceId: {}, Tags: { shape: "Sk" } },
- },
- output: { type: "structure", members: {} },
- },
- CancelSchemaExtension: {
- input: {
- type: "structure",
- required: ["DirectoryId", "SchemaExtensionId"],
- members: { DirectoryId: {}, SchemaExtensionId: {} },
- },
- output: { type: "structure", members: {} },
- },
- ConnectDirectory: {
- input: {
- type: "structure",
- required: ["Name", "Password", "Size", "ConnectSettings"],
- members: {
- Name: {},
- ShortName: {},
- Password: { shape: "Sv" },
- Description: {},
- Size: {},
- ConnectSettings: {
- type: "structure",
- required: [
- "VpcId",
- "SubnetIds",
- "CustomerDnsIps",
- "CustomerUserName",
- ],
- members: {
- VpcId: {},
- SubnetIds: { shape: "Sz" },
- CustomerDnsIps: { shape: "S11" },
- CustomerUserName: {},
- },
- },
- Tags: { shape: "Sk" },
- },
- },
- output: { type: "structure", members: { DirectoryId: {} } },
- },
- CreateAlias: {
- input: {
- type: "structure",
- required: ["DirectoryId", "Alias"],
- members: { DirectoryId: {}, Alias: {} },
- },
- output: {
- type: "structure",
- members: { DirectoryId: {}, Alias: {} },
- },
- },
- CreateComputer: {
- input: {
- type: "structure",
- required: ["DirectoryId", "ComputerName", "Password"],
- members: {
- DirectoryId: {},
- ComputerName: {},
- Password: { type: "string", sensitive: true },
- OrganizationalUnitDistinguishedName: {},
- ComputerAttributes: { shape: "S1c" },
- },
- },
- output: {
- type: "structure",
- members: {
- Computer: {
- type: "structure",
- members: {
- ComputerId: {},
- ComputerName: {},
- ComputerAttributes: { shape: "S1c" },
- },
- },
- },
- },
- },
- CreateConditionalForwarder: {
- input: {
- type: "structure",
- required: ["DirectoryId", "RemoteDomainName", "DnsIpAddrs"],
- members: {
- DirectoryId: {},
- RemoteDomainName: {},
- DnsIpAddrs: { shape: "S11" },
- },
- },
- output: { type: "structure", members: {} },
- },
- CreateDirectory: {
- input: {
- type: "structure",
- required: ["Name", "Password", "Size"],
- members: {
- Name: {},
- ShortName: {},
- Password: { shape: "S1n" },
- Description: {},
- Size: {},
- VpcSettings: { shape: "S1o" },
- Tags: { shape: "Sk" },
- },
- },
- output: { type: "structure", members: { DirectoryId: {} } },
- },
- CreateLogSubscription: {
- input: {
- type: "structure",
- required: ["DirectoryId", "LogGroupName"],
- members: { DirectoryId: {}, LogGroupName: {} },
- },
- output: { type: "structure", members: {} },
- },
- CreateMicrosoftAD: {
- input: {
- type: "structure",
- required: ["Name", "Password", "VpcSettings"],
- members: {
- Name: {},
- ShortName: {},
- Password: { shape: "S1n" },
- Description: {},
- VpcSettings: { shape: "S1o" },
- Edition: {},
- Tags: { shape: "Sk" },
- },
- },
- output: { type: "structure", members: { DirectoryId: {} } },
- },
- CreateSnapshot: {
- input: {
- type: "structure",
- required: ["DirectoryId"],
- members: { DirectoryId: {}, Name: {} },
- },
- output: { type: "structure", members: { SnapshotId: {} } },
- },
- CreateTrust: {
- input: {
- type: "structure",
- required: [
- "DirectoryId",
- "RemoteDomainName",
- "TrustPassword",
- "TrustDirection",
- ],
- members: {
- DirectoryId: {},
- RemoteDomainName: {},
- TrustPassword: { type: "string", sensitive: true },
- TrustDirection: {},
- TrustType: {},
- ConditionalForwarderIpAddrs: { shape: "S11" },
- SelectiveAuth: {},
- },
- },
- output: { type: "structure", members: { TrustId: {} } },
- },
- DeleteConditionalForwarder: {
- input: {
- type: "structure",
- required: ["DirectoryId", "RemoteDomainName"],
- members: { DirectoryId: {}, RemoteDomainName: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteDirectory: {
- input: {
- type: "structure",
- required: ["DirectoryId"],
- members: { DirectoryId: {} },
- },
- output: { type: "structure", members: { DirectoryId: {} } },
- },
- DeleteLogSubscription: {
- input: {
- type: "structure",
- required: ["DirectoryId"],
- members: { DirectoryId: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteSnapshot: {
- input: {
- type: "structure",
- required: ["SnapshotId"],
- members: { SnapshotId: {} },
- },
- output: { type: "structure", members: { SnapshotId: {} } },
- },
- DeleteTrust: {
- input: {
- type: "structure",
- required: ["TrustId"],
- members: {
- TrustId: {},
- DeleteAssociatedConditionalForwarder: { type: "boolean" },
- },
- },
- output: { type: "structure", members: { TrustId: {} } },
- },
- DeregisterCertificate: {
- input: {
- type: "structure",
- required: ["DirectoryId", "CertificateId"],
- members: { DirectoryId: {}, CertificateId: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeregisterEventTopic: {
- input: {
- type: "structure",
- required: ["DirectoryId", "TopicName"],
- members: { DirectoryId: {}, TopicName: {} },
- },
- output: { type: "structure", members: {} },
- },
- DescribeCertificate: {
- input: {
- type: "structure",
- required: ["DirectoryId", "CertificateId"],
- members: { DirectoryId: {}, CertificateId: {} },
- },
- output: {
- type: "structure",
- members: {
- Certificate: {
- type: "structure",
- members: {
- CertificateId: {},
- State: {},
- StateReason: {},
- CommonName: {},
- RegisteredDateTime: { type: "timestamp" },
- ExpiryDateTime: { type: "timestamp" },
- },
- },
- },
- },
- },
- DescribeConditionalForwarders: {
- input: {
- type: "structure",
- required: ["DirectoryId"],
- members: {
- DirectoryId: {},
- RemoteDomainNames: { type: "list", member: {} },
- },
- },
- output: {
- type: "structure",
- members: {
- ConditionalForwarders: {
- type: "list",
- member: {
- type: "structure",
- members: {
- RemoteDomainName: {},
- DnsIpAddrs: { shape: "S11" },
- ReplicationScope: {},
- },
- },
- },
- },
- },
- },
- DescribeDirectories: {
- input: {
- type: "structure",
- members: {
- DirectoryIds: { shape: "S33" },
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- DirectoryDescriptions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DirectoryId: {},
- Name: {},
- ShortName: {},
- Size: {},
- Edition: {},
- Alias: {},
- AccessUrl: {},
- Description: {},
- DnsIpAddrs: { shape: "S11" },
- Stage: {},
- ShareStatus: {},
- ShareMethod: {},
- ShareNotes: { shape: "S8" },
- LaunchTime: { type: "timestamp" },
- StageLastUpdatedDateTime: { type: "timestamp" },
- Type: {},
- VpcSettings: { shape: "S3d" },
- ConnectSettings: {
- type: "structure",
- members: {
- VpcId: {},
- SubnetIds: { shape: "Sz" },
- CustomerUserName: {},
- SecurityGroupId: {},
- AvailabilityZones: { shape: "S3f" },
- ConnectIps: { type: "list", member: {} },
- },
- },
- RadiusSettings: { shape: "S3j" },
- RadiusStatus: {},
- StageReason: {},
- SsoEnabled: { type: "boolean" },
- DesiredNumberOfDomainControllers: { type: "integer" },
- OwnerDirectoryDescription: {
- type: "structure",
- members: {
- DirectoryId: {},
- AccountId: {},
- DnsIpAddrs: { shape: "S11" },
- VpcSettings: { shape: "S3d" },
- RadiusSettings: { shape: "S3j" },
- RadiusStatus: {},
- },
- },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeDomainControllers: {
- input: {
- type: "structure",
- required: ["DirectoryId"],
- members: {
- DirectoryId: {},
- DomainControllerIds: { type: "list", member: {} },
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- DomainControllers: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DirectoryId: {},
- DomainControllerId: {},
- DnsIpAddr: {},
- VpcId: {},
- SubnetId: {},
- AvailabilityZone: {},
- Status: {},
- StatusReason: {},
- LaunchTime: { type: "timestamp" },
- StatusLastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeEventTopics: {
- input: {
- type: "structure",
- members: {
- DirectoryId: {},
- TopicNames: { type: "list", member: {} },
- },
- },
- output: {
- type: "structure",
- members: {
- EventTopics: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DirectoryId: {},
- TopicName: {},
- TopicArn: {},
- CreatedDateTime: { type: "timestamp" },
- Status: {},
- },
- },
- },
- },
- },
- },
- DescribeLDAPSSettings: {
- input: {
- type: "structure",
- required: ["DirectoryId"],
- members: {
- DirectoryId: {},
- Type: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- LDAPSSettingsInfo: {
- type: "list",
- member: {
- type: "structure",
- members: {
- LDAPSStatus: {},
- LDAPSStatusReason: {},
- LastUpdatedDateTime: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeSharedDirectories: {
- input: {
- type: "structure",
- required: ["OwnerDirectoryId"],
- members: {
- OwnerDirectoryId: {},
- SharedDirectoryIds: { shape: "S33" },
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- SharedDirectories: { type: "list", member: { shape: "S4" } },
- NextToken: {},
- },
- },
- },
- DescribeSnapshots: {
- input: {
- type: "structure",
- members: {
- DirectoryId: {},
- SnapshotIds: { type: "list", member: {} },
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Snapshots: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DirectoryId: {},
- SnapshotId: {},
- Type: {},
- Name: {},
- Status: {},
- StartTime: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeTrusts: {
- input: {
- type: "structure",
- members: {
- DirectoryId: {},
- TrustIds: { type: "list", member: {} },
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Trusts: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DirectoryId: {},
- TrustId: {},
- RemoteDomainName: {},
- TrustType: {},
- TrustDirection: {},
- TrustState: {},
- CreatedDateTime: { type: "timestamp" },
- LastUpdatedDateTime: { type: "timestamp" },
- StateLastUpdatedDateTime: { type: "timestamp" },
- TrustStateReason: {},
- SelectiveAuth: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DisableLDAPS: {
- input: {
- type: "structure",
- required: ["DirectoryId", "Type"],
- members: { DirectoryId: {}, Type: {} },
- },
- output: { type: "structure", members: {} },
- },
- DisableRadius: {
- input: {
- type: "structure",
- required: ["DirectoryId"],
- members: { DirectoryId: {} },
- },
- output: { type: "structure", members: {} },
- },
- DisableSso: {
- input: {
- type: "structure",
- required: ["DirectoryId"],
- members: {
- DirectoryId: {},
- UserName: {},
- Password: { shape: "Sv" },
- },
- },
- output: { type: "structure", members: {} },
- },
- EnableLDAPS: {
- input: {
- type: "structure",
- required: ["DirectoryId", "Type"],
- members: { DirectoryId: {}, Type: {} },
- },
- output: { type: "structure", members: {} },
- },
- EnableRadius: {
- input: {
- type: "structure",
- required: ["DirectoryId", "RadiusSettings"],
- members: { DirectoryId: {}, RadiusSettings: { shape: "S3j" } },
- },
- output: { type: "structure", members: {} },
- },
- EnableSso: {
- input: {
- type: "structure",
- required: ["DirectoryId"],
- members: {
- DirectoryId: {},
- UserName: {},
- Password: { shape: "Sv" },
- },
- },
- output: { type: "structure", members: {} },
- },
- GetDirectoryLimits: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: {
- DirectoryLimits: {
- type: "structure",
- members: {
- CloudOnlyDirectoriesLimit: { type: "integer" },
- CloudOnlyDirectoriesCurrentCount: { type: "integer" },
- CloudOnlyDirectoriesLimitReached: { type: "boolean" },
- CloudOnlyMicrosoftADLimit: { type: "integer" },
- CloudOnlyMicrosoftADCurrentCount: { type: "integer" },
- CloudOnlyMicrosoftADLimitReached: { type: "boolean" },
- ConnectedDirectoriesLimit: { type: "integer" },
- ConnectedDirectoriesCurrentCount: { type: "integer" },
- ConnectedDirectoriesLimitReached: { type: "boolean" },
- },
- },
- },
- },
- },
- GetSnapshotLimits: {
- input: {
- type: "structure",
- required: ["DirectoryId"],
- members: { DirectoryId: {} },
- },
- output: {
- type: "structure",
- members: {
- SnapshotLimits: {
- type: "structure",
- members: {
- ManualSnapshotsLimit: { type: "integer" },
- ManualSnapshotsCurrentCount: { type: "integer" },
- ManualSnapshotsLimitReached: { type: "boolean" },
- },
- },
- },
- },
- },
- ListCertificates: {
- input: {
- type: "structure",
- required: ["DirectoryId"],
- members: {
- DirectoryId: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- CertificatesInfo: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CertificateId: {},
- CommonName: {},
- State: {},
- ExpiryDateTime: { type: "timestamp" },
- },
- },
- },
- },
- },
- },
- ListIpRoutes: {
- input: {
- type: "structure",
- required: ["DirectoryId"],
- members: {
- DirectoryId: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- IpRoutesInfo: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DirectoryId: {},
- CidrIp: {},
- IpRouteStatusMsg: {},
- AddedDateTime: { type: "timestamp" },
- IpRouteStatusReason: {},
- Description: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListLogSubscriptions: {
- input: {
- type: "structure",
- members: {
- DirectoryId: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- LogSubscriptions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DirectoryId: {},
- LogGroupName: {},
- SubscriptionCreatedDateTime: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListSchemaExtensions: {
- input: {
- type: "structure",
- required: ["DirectoryId"],
- members: {
- DirectoryId: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- SchemaExtensionsInfo: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DirectoryId: {},
- SchemaExtensionId: {},
- Description: {},
- SchemaExtensionStatus: {},
- SchemaExtensionStatusReason: {},
- StartDateTime: { type: "timestamp" },
- EndDateTime: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceId"],
- members: {
- ResourceId: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "Sk" }, NextToken: {} },
- },
- },
- RegisterCertificate: {
- input: {
- type: "structure",
- required: ["DirectoryId", "CertificateData"],
- members: { DirectoryId: {}, CertificateData: {} },
- },
- output: { type: "structure", members: { CertificateId: {} } },
- },
- RegisterEventTopic: {
- input: {
- type: "structure",
- required: ["DirectoryId", "TopicName"],
- members: { DirectoryId: {}, TopicName: {} },
- },
- output: { type: "structure", members: {} },
- },
- RejectSharedDirectory: {
- input: {
- type: "structure",
- required: ["SharedDirectoryId"],
- members: { SharedDirectoryId: {} },
- },
- output: { type: "structure", members: { SharedDirectoryId: {} } },
- },
- RemoveIpRoutes: {
- input: {
- type: "structure",
- required: ["DirectoryId", "CidrIps"],
- members: {
- DirectoryId: {},
- CidrIps: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- RemoveTagsFromResource: {
- input: {
- type: "structure",
- required: ["ResourceId", "TagKeys"],
- members: {
- ResourceId: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- ResetUserPassword: {
- input: {
- type: "structure",
- required: ["DirectoryId", "UserName", "NewPassword"],
- members: {
- DirectoryId: {},
- UserName: {},
- NewPassword: { type: "string", sensitive: true },
- },
- },
- output: { type: "structure", members: {} },
- },
- RestoreFromSnapshot: {
- input: {
- type: "structure",
- required: ["SnapshotId"],
- members: { SnapshotId: {} },
- },
- output: { type: "structure", members: {} },
- },
- ShareDirectory: {
- input: {
- type: "structure",
- required: ["DirectoryId", "ShareTarget", "ShareMethod"],
- members: {
- DirectoryId: {},
- ShareNotes: { shape: "S8" },
- ShareTarget: {
- type: "structure",
- required: ["Id", "Type"],
- members: { Id: {}, Type: {} },
- },
- ShareMethod: {},
- },
- },
- output: { type: "structure", members: { SharedDirectoryId: {} } },
- },
- StartSchemaExtension: {
- input: {
- type: "structure",
- required: [
- "DirectoryId",
- "CreateSnapshotBeforeSchemaExtension",
- "LdifContent",
- "Description",
- ],
- members: {
- DirectoryId: {},
- CreateSnapshotBeforeSchemaExtension: { type: "boolean" },
- LdifContent: {},
- Description: {},
- },
- },
- output: { type: "structure", members: { SchemaExtensionId: {} } },
- },
- UnshareDirectory: {
- input: {
- type: "structure",
- required: ["DirectoryId", "UnshareTarget"],
- members: {
- DirectoryId: {},
- UnshareTarget: {
- type: "structure",
- required: ["Id", "Type"],
- members: { Id: {}, Type: {} },
- },
- },
- },
- output: { type: "structure", members: { SharedDirectoryId: {} } },
- },
- UpdateConditionalForwarder: {
- input: {
- type: "structure",
- required: ["DirectoryId", "RemoteDomainName", "DnsIpAddrs"],
- members: {
- DirectoryId: {},
- RemoteDomainName: {},
- DnsIpAddrs: { shape: "S11" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateNumberOfDomainControllers: {
- input: {
- type: "structure",
- required: ["DirectoryId", "DesiredNumber"],
- members: { DirectoryId: {}, DesiredNumber: { type: "integer" } },
- },
- output: { type: "structure", members: {} },
- },
- UpdateRadius: {
- input: {
- type: "structure",
- required: ["DirectoryId", "RadiusSettings"],
- members: { DirectoryId: {}, RadiusSettings: { shape: "S3j" } },
- },
- output: { type: "structure", members: {} },
- },
- UpdateTrust: {
- input: {
- type: "structure",
- required: ["TrustId"],
- members: { TrustId: {}, SelectiveAuth: {} },
- },
- output: {
- type: "structure",
- members: { RequestId: {}, TrustId: {} },
- },
- },
- VerifyTrust: {
- input: {
- type: "structure",
- required: ["TrustId"],
- members: { TrustId: {} },
- },
- output: { type: "structure", members: { TrustId: {} } },
- },
- },
- shapes: {
- S4: {
- type: "structure",
- members: {
- OwnerAccountId: {},
- OwnerDirectoryId: {},
- ShareMethod: {},
- SharedAccountId: {},
- SharedDirectoryId: {},
- ShareStatus: {},
- ShareNotes: { shape: "S8" },
- CreatedDateTime: { type: "timestamp" },
- LastUpdatedDateTime: { type: "timestamp" },
- },
- },
- S8: { type: "string", sensitive: true },
- Sk: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- Sv: { type: "string", sensitive: true },
- Sz: { type: "list", member: {} },
- S11: { type: "list", member: {} },
- S1c: {
- type: "list",
- member: { type: "structure", members: { Name: {}, Value: {} } },
- },
- S1n: { type: "string", sensitive: true },
- S1o: {
- type: "structure",
- required: ["VpcId", "SubnetIds"],
- members: { VpcId: {}, SubnetIds: { shape: "Sz" } },
- },
- S33: { type: "list", member: {} },
- S3d: {
- type: "structure",
- members: {
- VpcId: {},
- SubnetIds: { shape: "Sz" },
- SecurityGroupId: {},
- AvailabilityZones: { shape: "S3f" },
- },
- },
- S3f: { type: "list", member: {} },
- S3j: {
- type: "structure",
- members: {
- RadiusServers: { type: "list", member: {} },
- RadiusPort: { type: "integer" },
- RadiusTimeout: { type: "integer" },
- RadiusRetries: { type: "integer" },
- SharedSecret: { type: "string", sensitive: true },
- AuthenticationProtocol: {},
- DisplayLabel: {},
- UseSameUsername: { type: "boolean" },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2709: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(8296);
- model.paginators = __webpack_require__(3396).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.WAFRegional;
-
- /***/
- },
-
- /***/ 2719: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 2726: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2016-06-02",
- endpointPrefix: "shield",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "AWS Shield",
- serviceFullName: "AWS Shield",
- serviceId: "Shield",
- signatureVersion: "v4",
- targetPrefix: "AWSShield_20160616",
- uid: "shield-2016-06-02",
- },
- operations: {
- AssociateDRTLogBucket: {
- input: {
- type: "structure",
- required: ["LogBucket"],
- members: { LogBucket: {} },
- },
- output: { type: "structure", members: {} },
- },
- AssociateDRTRole: {
- input: {
- type: "structure",
- required: ["RoleArn"],
- members: { RoleArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- AssociateHealthCheck: {
- input: {
- type: "structure",
- required: ["ProtectionId", "HealthCheckArn"],
- members: { ProtectionId: {}, HealthCheckArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- CreateProtection: {
- input: {
- type: "structure",
- required: ["Name", "ResourceArn"],
- members: { Name: {}, ResourceArn: {} },
- },
- output: { type: "structure", members: { ProtectionId: {} } },
- },
- CreateSubscription: {
- input: { type: "structure", members: {} },
- output: { type: "structure", members: {} },
- },
- DeleteProtection: {
- input: {
- type: "structure",
- required: ["ProtectionId"],
- members: { ProtectionId: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteSubscription: {
- input: { type: "structure", members: {}, deprecated: true },
- output: { type: "structure", members: {}, deprecated: true },
- deprecated: true,
- },
- DescribeAttack: {
- input: {
- type: "structure",
- required: ["AttackId"],
- members: { AttackId: {} },
- },
- output: {
- type: "structure",
- members: {
- Attack: {
- type: "structure",
- members: {
- AttackId: {},
- ResourceArn: {},
- SubResources: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Type: {},
- Id: {},
- AttackVectors: {
- type: "list",
- member: {
- type: "structure",
- required: ["VectorType"],
- members: {
- VectorType: {},
- VectorCounters: { shape: "Sv" },
- },
- },
- },
- Counters: { shape: "Sv" },
- },
- },
- },
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- AttackCounters: { shape: "Sv" },
- AttackProperties: {
- type: "list",
- member: {
- type: "structure",
- members: {
- AttackLayer: {},
- AttackPropertyIdentifier: {},
- TopContributors: {
- type: "list",
- member: {
- type: "structure",
- members: { Name: {}, Value: { type: "long" } },
- },
- },
- Unit: {},
- Total: { type: "long" },
- },
- },
- },
- Mitigations: {
- type: "list",
- member: {
- type: "structure",
- members: { MitigationName: {} },
- },
- },
- },
- },
- },
- },
- },
- DescribeDRTAccess: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: {
- RoleArn: {},
- LogBucketList: { type: "list", member: {} },
- },
- },
- },
- DescribeEmergencyContactSettings: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: { EmergencyContactList: { shape: "S1f" } },
- },
- },
- DescribeProtection: {
- input: {
- type: "structure",
- members: { ProtectionId: {}, ResourceArn: {} },
- },
- output: {
- type: "structure",
- members: { Protection: { shape: "S1k" } },
- },
- },
- DescribeSubscription: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: {
- Subscription: {
- type: "structure",
- members: {
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- TimeCommitmentInSeconds: { type: "long" },
- AutoRenew: {},
- Limits: {
- type: "list",
- member: {
- type: "structure",
- members: { Type: {}, Max: { type: "long" } },
- },
- },
- },
- },
- },
- },
- },
- DisassociateDRTLogBucket: {
- input: {
- type: "structure",
- required: ["LogBucket"],
- members: { LogBucket: {} },
- },
- output: { type: "structure", members: {} },
- },
- DisassociateDRTRole: {
- input: { type: "structure", members: {} },
- output: { type: "structure", members: {} },
- },
- DisassociateHealthCheck: {
- input: {
- type: "structure",
- required: ["ProtectionId", "HealthCheckArn"],
- members: { ProtectionId: {}, HealthCheckArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- GetSubscriptionState: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- required: ["SubscriptionState"],
- members: { SubscriptionState: {} },
- },
- },
- ListAttacks: {
- input: {
- type: "structure",
- members: {
- ResourceArns: { type: "list", member: {} },
- StartTime: { shape: "S26" },
- EndTime: { shape: "S26" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- AttackSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- AttackId: {},
- ResourceArn: {},
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- AttackVectors: {
- type: "list",
- member: {
- type: "structure",
- required: ["VectorType"],
- members: { VectorType: {} },
- },
- },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListProtections: {
- input: {
- type: "structure",
- members: { NextToken: {}, MaxResults: { type: "integer" } },
- },
- output: {
- type: "structure",
- members: {
- Protections: { type: "list", member: { shape: "S1k" } },
- NextToken: {},
- },
- },
- },
- UpdateEmergencyContactSettings: {
- input: {
- type: "structure",
- members: { EmergencyContactList: { shape: "S1f" } },
- },
- output: { type: "structure", members: {} },
- },
- UpdateSubscription: {
- input: { type: "structure", members: { AutoRenew: {} } },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- Sv: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- Max: { type: "double" },
- Average: { type: "double" },
- Sum: { type: "double" },
- N: { type: "integer" },
- Unit: {},
- },
- },
- },
- S1f: {
- type: "list",
- member: {
- type: "structure",
- required: ["EmailAddress"],
- members: { EmailAddress: {} },
- },
- },
- S1k: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- ResourceArn: {},
- HealthCheckIds: { type: "list", member: {} },
- },
- },
- S26: {
- type: "structure",
- members: {
- FromInclusive: { type: "timestamp" },
- ToExclusive: { type: "timestamp" },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2732: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2015-10-07",
- endpointPrefix: "events",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "Amazon CloudWatch Events",
- serviceId: "CloudWatch Events",
- signatureVersion: "v4",
- targetPrefix: "AWSEvents",
- uid: "events-2015-10-07",
- },
- operations: {
- ActivateEventSource: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- },
- CreateEventBus: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {}, EventSourceName: {}, Tags: { shape: "S5" } },
- },
- output: { type: "structure", members: { EventBusArn: {} } },
- },
- CreatePartnerEventSource: {
- input: {
- type: "structure",
- required: ["Name", "Account"],
- members: { Name: {}, Account: {} },
- },
- output: { type: "structure", members: { EventSourceArn: {} } },
- },
- DeactivateEventSource: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- },
- DeleteEventBus: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- },
- DeletePartnerEventSource: {
- input: {
- type: "structure",
- required: ["Name", "Account"],
- members: { Name: {}, Account: {} },
- },
- },
- DeleteRule: {
- input: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {},
- EventBusName: {},
- Force: { type: "boolean" },
- },
- },
- },
- DescribeEventBus: {
- input: { type: "structure", members: { Name: {} } },
- output: {
- type: "structure",
- members: { Name: {}, Arn: {}, Policy: {} },
- },
- },
- DescribeEventSource: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- CreatedBy: {},
- CreationTime: { type: "timestamp" },
- ExpirationTime: { type: "timestamp" },
- Name: {},
- State: {},
- },
- },
- },
- DescribePartnerEventSource: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {} },
- },
- output: { type: "structure", members: { Arn: {}, Name: {} } },
- },
- DescribeRule: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {}, EventBusName: {} },
- },
- output: {
- type: "structure",
- members: {
- Name: {},
- Arn: {},
- EventPattern: {},
- ScheduleExpression: {},
- State: {},
- Description: {},
- RoleArn: {},
- ManagedBy: {},
- EventBusName: {},
- },
- },
- },
- DisableRule: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {}, EventBusName: {} },
- },
- },
- EnableRule: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { Name: {}, EventBusName: {} },
- },
- },
- ListEventBuses: {
- input: {
- type: "structure",
- members: {
- NamePrefix: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- EventBuses: {
- type: "list",
- member: {
- type: "structure",
- members: { Name: {}, Arn: {}, Policy: {} },
- },
- },
- NextToken: {},
- },
- },
- },
- ListEventSources: {
- input: {
- type: "structure",
- members: {
- NamePrefix: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- EventSources: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- CreatedBy: {},
- CreationTime: { type: "timestamp" },
- ExpirationTime: { type: "timestamp" },
- Name: {},
- State: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListPartnerEventSourceAccounts: {
- input: {
- type: "structure",
- required: ["EventSourceName"],
- members: {
- EventSourceName: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- PartnerEventSourceAccounts: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Account: {},
- CreationTime: { type: "timestamp" },
- ExpirationTime: { type: "timestamp" },
- State: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListPartnerEventSources: {
- input: {
- type: "structure",
- required: ["NamePrefix"],
- members: {
- NamePrefix: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- PartnerEventSources: {
- type: "list",
- member: { type: "structure", members: { Arn: {}, Name: {} } },
- },
- NextToken: {},
- },
- },
- },
- ListRuleNamesByTarget: {
- input: {
- type: "structure",
- required: ["TargetArn"],
- members: {
- TargetArn: {},
- EventBusName: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- RuleNames: { type: "list", member: {} },
- NextToken: {},
- },
- },
- },
- ListRules: {
- input: {
- type: "structure",
- members: {
- NamePrefix: {},
- EventBusName: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Rules: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- Arn: {},
- EventPattern: {},
- State: {},
- Description: {},
- ScheduleExpression: {},
- RoleArn: {},
- ManagedBy: {},
- EventBusName: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceARN"],
- members: { ResourceARN: {} },
- },
- output: { type: "structure", members: { Tags: { shape: "S5" } } },
- },
- ListTargetsByRule: {
- input: {
- type: "structure",
- required: ["Rule"],
- members: {
- Rule: {},
- EventBusName: {},
- NextToken: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { Targets: { shape: "S20" }, NextToken: {} },
- },
- },
- PutEvents: {
- input: {
- type: "structure",
- required: ["Entries"],
- members: {
- Entries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Time: { type: "timestamp" },
- Source: {},
- Resources: { shape: "S2y" },
- DetailType: {},
- Detail: {},
- EventBusName: {},
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- FailedEntryCount: { type: "integer" },
- Entries: {
- type: "list",
- member: {
- type: "structure",
- members: { EventId: {}, ErrorCode: {}, ErrorMessage: {} },
- },
- },
- },
- },
- },
- PutPartnerEvents: {
- input: {
- type: "structure",
- required: ["Entries"],
- members: {
- Entries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Time: { type: "timestamp" },
- Source: {},
- Resources: { shape: "S2y" },
- DetailType: {},
- Detail: {},
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- FailedEntryCount: { type: "integer" },
- Entries: {
- type: "list",
- member: {
- type: "structure",
- members: { EventId: {}, ErrorCode: {}, ErrorMessage: {} },
- },
- },
- },
- },
- },
- PutPermission: {
- input: {
- type: "structure",
- required: ["Action", "Principal", "StatementId"],
- members: {
- EventBusName: {},
- Action: {},
- Principal: {},
- StatementId: {},
- Condition: {
- type: "structure",
- required: ["Type", "Key", "Value"],
- members: { Type: {}, Key: {}, Value: {} },
- },
- },
- },
- },
- PutRule: {
- input: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {},
- ScheduleExpression: {},
- EventPattern: {},
- State: {},
- Description: {},
- RoleArn: {},
- Tags: { shape: "S5" },
- EventBusName: {},
- },
- },
- output: { type: "structure", members: { RuleArn: {} } },
- },
- PutTargets: {
- input: {
- type: "structure",
- required: ["Rule", "Targets"],
- members: {
- Rule: {},
- EventBusName: {},
- Targets: { shape: "S20" },
- },
- },
- output: {
- type: "structure",
- members: {
- FailedEntryCount: { type: "integer" },
- FailedEntries: {
- type: "list",
- member: {
- type: "structure",
- members: { TargetId: {}, ErrorCode: {}, ErrorMessage: {} },
- },
- },
- },
- },
- },
- RemovePermission: {
- input: {
- type: "structure",
- required: ["StatementId"],
- members: { StatementId: {}, EventBusName: {} },
- },
- },
- RemoveTargets: {
- input: {
- type: "structure",
- required: ["Rule", "Ids"],
- members: {
- Rule: {},
- EventBusName: {},
- Ids: { type: "list", member: {} },
- Force: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- FailedEntryCount: { type: "integer" },
- FailedEntries: {
- type: "list",
- member: {
- type: "structure",
- members: { TargetId: {}, ErrorCode: {}, ErrorMessage: {} },
- },
- },
- },
- },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "Tags"],
- members: { ResourceARN: {}, Tags: { shape: "S5" } },
- },
- output: { type: "structure", members: {} },
- },
- TestEventPattern: {
- input: {
- type: "structure",
- required: ["EventPattern", "Event"],
- members: { EventPattern: {}, Event: {} },
- },
- output: {
- type: "structure",
- members: { Result: { type: "boolean" } },
- },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "TagKeys"],
- members: {
- ResourceARN: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S5: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- S20: {
- type: "list",
- member: {
- type: "structure",
- required: ["Id", "Arn"],
- members: {
- Id: {},
- Arn: {},
- RoleArn: {},
- Input: {},
- InputPath: {},
- InputTransformer: {
- type: "structure",
- required: ["InputTemplate"],
- members: {
- InputPathsMap: { type: "map", key: {}, value: {} },
- InputTemplate: {},
- },
- },
- KinesisParameters: {
- type: "structure",
- required: ["PartitionKeyPath"],
- members: { PartitionKeyPath: {} },
- },
- RunCommandParameters: {
- type: "structure",
- required: ["RunCommandTargets"],
- members: {
- RunCommandTargets: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Values"],
- members: {
- Key: {},
- Values: { type: "list", member: {} },
- },
- },
- },
- },
- },
- EcsParameters: {
- type: "structure",
- required: ["TaskDefinitionArn"],
- members: {
- TaskDefinitionArn: {},
- TaskCount: { type: "integer" },
- LaunchType: {},
- NetworkConfiguration: {
- type: "structure",
- members: {
- awsvpcConfiguration: {
- type: "structure",
- required: ["Subnets"],
- members: {
- Subnets: { shape: "S2m" },
- SecurityGroups: { shape: "S2m" },
- AssignPublicIp: {},
- },
- },
- },
- },
- PlatformVersion: {},
- Group: {},
- },
- },
- BatchParameters: {
- type: "structure",
- required: ["JobDefinition", "JobName"],
- members: {
- JobDefinition: {},
- JobName: {},
- ArrayProperties: {
- type: "structure",
- members: { Size: { type: "integer" } },
- },
- RetryStrategy: {
- type: "structure",
- members: { Attempts: { type: "integer" } },
- },
- },
- },
- SqsParameters: {
- type: "structure",
- members: { MessageGroupId: {} },
- },
- },
- },
- },
- S2m: { type: "list", member: {} },
- S2y: { type: "list", member: {} },
- },
- };
-
- /***/
- },
-
- /***/ 2747: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(3387);
- model.paginators = __webpack_require__(9239).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.SageMakerRuntime;
-
- /***/
- },
-
- /***/ 2750: /***/ function (module, __unusedexports, __webpack_require__) {
- // Generated by CoffeeScript 1.12.7
- (function () {
- var XMLCData,
- XMLComment,
- XMLDTDAttList,
- XMLDTDElement,
- XMLDTDEntity,
- XMLDTDNotation,
- XMLDeclaration,
- XMLDocType,
- XMLElement,
- XMLProcessingInstruction,
- XMLRaw,
- XMLStringWriter,
- XMLText,
- XMLWriterBase,
- extend = function (child, parent) {
- for (var key in parent) {
- if (hasProp.call(parent, key)) child[key] = parent[key];
- }
- function ctor() {
- this.constructor = child;
- }
- ctor.prototype = parent.prototype;
- child.prototype = new ctor();
- child.__super__ = parent.prototype;
- return child;
- },
- hasProp = {}.hasOwnProperty;
-
- XMLDeclaration = __webpack_require__(7738);
-
- XMLDocType = __webpack_require__(5735);
-
- XMLCData = __webpack_require__(9657);
-
- XMLComment = __webpack_require__(7919);
-
- XMLElement = __webpack_require__(5796);
-
- XMLRaw = __webpack_require__(7660);
-
- XMLText = __webpack_require__(9708);
-
- XMLProcessingInstruction = __webpack_require__(2491);
-
- XMLDTDAttList = __webpack_require__(3801);
-
- XMLDTDElement = __webpack_require__(9463);
-
- XMLDTDEntity = __webpack_require__(7661);
-
- XMLDTDNotation = __webpack_require__(9019);
-
- XMLWriterBase = __webpack_require__(9423);
-
- module.exports = XMLStringWriter = (function (superClass) {
- extend(XMLStringWriter, superClass);
-
- function XMLStringWriter(options) {
- XMLStringWriter.__super__.constructor.call(this, options);
- }
-
- XMLStringWriter.prototype.document = function (doc) {
- var child, i, len, r, ref;
- this.textispresent = false;
- r = "";
- ref = doc.children;
- for (i = 0, len = ref.length; i < len; i++) {
- child = ref[i];
- r += function () {
- switch (false) {
- case !(child instanceof XMLDeclaration):
- return this.declaration(child);
- case !(child instanceof XMLDocType):
- return this.docType(child);
- case !(child instanceof XMLComment):
- return this.comment(child);
- case !(child instanceof XMLProcessingInstruction):
- return this.processingInstruction(child);
- default:
- return this.element(child, 0);
- }
- }.call(this);
- }
- if (this.pretty && r.slice(-this.newline.length) === this.newline) {
- r = r.slice(0, -this.newline.length);
- }
- return r;
- };
-
- XMLStringWriter.prototype.attribute = function (att) {
- return " " + att.name + '="' + att.value + '"';
- };
-
- XMLStringWriter.prototype.cdata = function (node, level) {
- return (
- this.space(level) + "" + this.newline
- );
- };
-
- XMLStringWriter.prototype.comment = function (node, level) {
- return (
- this.space(level) + "" + this.newline
- );
- };
-
- XMLStringWriter.prototype.declaration = function (node, level) {
- var r;
- r = this.space(level);
- r += '";
- r += this.newline;
- return r;
- };
-
- XMLStringWriter.prototype.docType = function (node, level) {
- var child, i, len, r, ref;
- level || (level = 0);
- r = this.space(level);
- r += " 0) {
- r += " [";
- r += this.newline;
- ref = node.children;
- for (i = 0, len = ref.length; i < len; i++) {
- child = ref[i];
- r += function () {
- switch (false) {
- case !(child instanceof XMLDTDAttList):
- return this.dtdAttList(child, level + 1);
- case !(child instanceof XMLDTDElement):
- return this.dtdElement(child, level + 1);
- case !(child instanceof XMLDTDEntity):
- return this.dtdEntity(child, level + 1);
- case !(child instanceof XMLDTDNotation):
- return this.dtdNotation(child, level + 1);
- case !(child instanceof XMLCData):
- return this.cdata(child, level + 1);
- case !(child instanceof XMLComment):
- return this.comment(child, level + 1);
- case !(child instanceof XMLProcessingInstruction):
- return this.processingInstruction(child, level + 1);
- default:
- throw new Error(
- "Unknown DTD node type: " + child.constructor.name
- );
- }
- }.call(this);
- }
- r += "]";
- }
- r += this.spacebeforeslash + ">";
- r += this.newline;
- return r;
- };
-
- XMLStringWriter.prototype.element = function (node, level) {
- var att,
- child,
- i,
- j,
- len,
- len1,
- name,
- r,
- ref,
- ref1,
- ref2,
- space,
- textispresentwasset;
- level || (level = 0);
- textispresentwasset = false;
- if (this.textispresent) {
- this.newline = "";
- this.pretty = false;
- } else {
- this.newline = this.newlinedefault;
- this.pretty = this.prettydefault;
- }
- space = this.space(level);
- r = "";
- r += space + "<" + node.name;
- ref = node.attributes;
- for (name in ref) {
- if (!hasProp.call(ref, name)) continue;
- att = ref[name];
- r += this.attribute(att);
- }
- if (
- node.children.length === 0 ||
- node.children.every(function (e) {
- return e.value === "";
- })
- ) {
- if (this.allowEmpty) {
- r += ">" + node.name + ">" + this.newline;
- } else {
- r += this.spacebeforeslash + "/>" + this.newline;
- }
- } else if (
- this.pretty &&
- node.children.length === 1 &&
- node.children[0].value != null
- ) {
- r += ">";
- r += node.children[0].value;
- r += "" + node.name + ">" + this.newline;
- } else {
- if (this.dontprettytextnodes) {
- ref1 = node.children;
- for (i = 0, len = ref1.length; i < len; i++) {
- child = ref1[i];
- if (child.value != null) {
- this.textispresent++;
- textispresentwasset = true;
- break;
- }
- }
- }
- if (this.textispresent) {
- this.newline = "";
- this.pretty = false;
- space = this.space(level);
- }
- r += ">" + this.newline;
- ref2 = node.children;
- for (j = 0, len1 = ref2.length; j < len1; j++) {
- child = ref2[j];
- r += function () {
- switch (false) {
- case !(child instanceof XMLCData):
- return this.cdata(child, level + 1);
- case !(child instanceof XMLComment):
- return this.comment(child, level + 1);
- case !(child instanceof XMLElement):
- return this.element(child, level + 1);
- case !(child instanceof XMLRaw):
- return this.raw(child, level + 1);
- case !(child instanceof XMLText):
- return this.text(child, level + 1);
- case !(child instanceof XMLProcessingInstruction):
- return this.processingInstruction(child, level + 1);
- default:
- throw new Error(
- "Unknown XML node type: " + child.constructor.name
- );
- }
- }.call(this);
- }
- if (textispresentwasset) {
- this.textispresent--;
- }
- if (!this.textispresent) {
- this.newline = this.newlinedefault;
- this.pretty = this.prettydefault;
- }
- r += space + "" + node.name + ">" + this.newline;
- }
- return r;
- };
-
- XMLStringWriter.prototype.processingInstruction = function (
- node,
- level
- ) {
- var r;
- r = this.space(level) + "" + node.target;
- if (node.value) {
- r += " " + node.value;
- }
- r += this.spacebeforeslash + "?>" + this.newline;
- return r;
- };
-
- XMLStringWriter.prototype.raw = function (node, level) {
- return this.space(level) + node.value + this.newline;
- };
-
- XMLStringWriter.prototype.text = function (node, level) {
- return this.space(level) + node.value + this.newline;
- };
-
- XMLStringWriter.prototype.dtdAttList = function (node, level) {
- var r;
- r =
- this.space(level) +
- "" + this.newline;
- return r;
- };
-
- XMLStringWriter.prototype.dtdElement = function (node, level) {
- return (
- this.space(level) +
- "" +
- this.newline
- );
- };
-
- XMLStringWriter.prototype.dtdEntity = function (node, level) {
- var r;
- r = this.space(level) + "" + this.newline;
- return r;
- };
-
- XMLStringWriter.prototype.dtdNotation = function (node, level) {
- var r;
- r = this.space(level) + "" + this.newline;
- return r;
- };
-
- XMLStringWriter.prototype.openNode = function (node, level) {
- var att, name, r, ref;
- level || (level = 0);
- if (node instanceof XMLElement) {
- r = this.space(level) + "<" + node.name;
- ref = node.attributes;
- for (name in ref) {
- if (!hasProp.call(ref, name)) continue;
- att = ref[name];
- r += this.attribute(att);
- }
- r += (node.children ? ">" : "/>") + this.newline;
- return r;
- } else {
- r = this.space(level) + "") + this.newline;
- return r;
- }
- };
-
- XMLStringWriter.prototype.closeNode = function (node, level) {
- level || (level = 0);
- switch (false) {
- case !(node instanceof XMLElement):
- return (
- this.space(level) + "" + node.name + ">" + this.newline
- );
- case !(node instanceof XMLDocType):
- return this.space(level) + "]>" + this.newline;
- }
- };
-
- return XMLStringWriter;
- })(XMLWriterBase);
- }.call(this));
-
- /***/
- },
-
- /***/ 2751: /***/ function (module, __unusedexports, __webpack_require__) {
- var AWS = __webpack_require__(395);
- __webpack_require__(3711);
- var inherit = AWS.util.inherit;
-
- /**
- * 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 hostname of the instance metadata service
- */
- host: "169.254.169.254",
-
- /**
- * @!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) {
- 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 || "/";
- var httpRequest = new AWS.HttpRequest("http://" + this.host + 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;
-
- /***/
- },
-
- /***/ 2760: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-10-15",
- endpointPrefix: "api.pricing",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "AWS Pricing",
- serviceFullName: "AWS Price List Service",
- serviceId: "Pricing",
- signatureVersion: "v4",
- signingName: "pricing",
- targetPrefix: "AWSPriceListService",
- uid: "pricing-2017-10-15",
- },
- operations: {
- DescribeServices: {
- input: {
- type: "structure",
- members: {
- ServiceCode: {},
- FormatVersion: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Services: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ServiceCode: {},
- AttributeNames: { type: "list", member: {} },
- },
- },
- },
- FormatVersion: {},
- NextToken: {},
- },
- },
- },
- GetAttributeValues: {
- input: {
- type: "structure",
- required: ["ServiceCode", "AttributeName"],
- members: {
- ServiceCode: {},
- AttributeName: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- AttributeValues: {
- type: "list",
- member: { type: "structure", members: { Value: {} } },
- },
- NextToken: {},
- },
- },
- },
- GetProducts: {
- input: {
- type: "structure",
- members: {
- ServiceCode: {},
- Filters: {
- type: "list",
- member: {
- type: "structure",
- required: ["Type", "Field", "Value"],
- members: { Type: {}, Field: {}, Value: {} },
- },
- },
- FormatVersion: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- FormatVersion: {},
- PriceList: { type: "list", member: { jsonvalue: true } },
- NextToken: {},
- },
- },
- },
- },
- shapes: {},
- };
-
- /***/
- },
-
- /***/ 2766: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-09-30",
- endpointPrefix: "kinesisvideo",
- protocol: "rest-json",
- serviceAbbreviation: "Kinesis Video",
- serviceFullName: "Amazon Kinesis Video Streams",
- serviceId: "Kinesis Video",
- signatureVersion: "v4",
- uid: "kinesisvideo-2017-09-30",
- },
- operations: {
- CreateSignalingChannel: {
- http: { requestUri: "/createSignalingChannel" },
- input: {
- type: "structure",
- required: ["ChannelName"],
- members: {
- ChannelName: {},
- ChannelType: {},
- SingleMasterConfiguration: { shape: "S4" },
- Tags: { type: "list", member: { shape: "S7" } },
- },
- },
- output: { type: "structure", members: { ChannelARN: {} } },
- },
- CreateStream: {
- http: { requestUri: "/createStream" },
- input: {
- type: "structure",
- required: ["StreamName"],
- members: {
- DeviceName: {},
- StreamName: {},
- MediaType: {},
- KmsKeyId: {},
- DataRetentionInHours: { type: "integer" },
- Tags: { shape: "Si" },
- },
- },
- output: { type: "structure", members: { StreamARN: {} } },
- },
- DeleteSignalingChannel: {
- http: { requestUri: "/deleteSignalingChannel" },
- input: {
- type: "structure",
- required: ["ChannelARN"],
- members: { ChannelARN: {}, CurrentVersion: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteStream: {
- http: { requestUri: "/deleteStream" },
- input: {
- type: "structure",
- required: ["StreamARN"],
- members: { StreamARN: {}, CurrentVersion: {} },
- },
- output: { type: "structure", members: {} },
- },
- DescribeSignalingChannel: {
- http: { requestUri: "/describeSignalingChannel" },
- input: {
- type: "structure",
- members: { ChannelName: {}, ChannelARN: {} },
- },
- output: {
- type: "structure",
- members: { ChannelInfo: { shape: "Sr" } },
- },
- },
- DescribeStream: {
- http: { requestUri: "/describeStream" },
- input: {
- type: "structure",
- members: { StreamName: {}, StreamARN: {} },
- },
- output: {
- type: "structure",
- members: { StreamInfo: { shape: "Sw" } },
- },
- },
- GetDataEndpoint: {
- http: { requestUri: "/getDataEndpoint" },
- input: {
- type: "structure",
- required: ["APIName"],
- members: { StreamName: {}, StreamARN: {}, APIName: {} },
- },
- output: { type: "structure", members: { DataEndpoint: {} } },
- },
- GetSignalingChannelEndpoint: {
- http: { requestUri: "/getSignalingChannelEndpoint" },
- input: {
- type: "structure",
- required: ["ChannelARN"],
- members: {
- ChannelARN: {},
- SingleMasterChannelEndpointConfiguration: {
- type: "structure",
- members: {
- Protocols: { type: "list", member: {} },
- Role: {},
- },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- ResourceEndpointList: {
- type: "list",
- member: {
- type: "structure",
- members: { Protocol: {}, ResourceEndpoint: {} },
- },
- },
- },
- },
- },
- ListSignalingChannels: {
- http: { requestUri: "/listSignalingChannels" },
- input: {
- type: "structure",
- members: {
- MaxResults: { type: "integer" },
- NextToken: {},
- ChannelNameCondition: {
- type: "structure",
- members: { ComparisonOperator: {}, ComparisonValue: {} },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- ChannelInfoList: { type: "list", member: { shape: "Sr" } },
- NextToken: {},
- },
- },
- },
- ListStreams: {
- http: { requestUri: "/listStreams" },
- input: {
- type: "structure",
- members: {
- MaxResults: { type: "integer" },
- NextToken: {},
- StreamNameCondition: {
- type: "structure",
- members: { ComparisonOperator: {}, ComparisonValue: {} },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- StreamInfoList: { type: "list", member: { shape: "Sw" } },
- NextToken: {},
- },
- },
- },
- ListTagsForResource: {
- http: { requestUri: "/ListTagsForResource" },
- input: {
- type: "structure",
- required: ["ResourceARN"],
- members: { NextToken: {}, ResourceARN: {} },
- },
- output: {
- type: "structure",
- members: { NextToken: {}, Tags: { shape: "Si" } },
- },
- },
- ListTagsForStream: {
- http: { requestUri: "/listTagsForStream" },
- input: {
- type: "structure",
- members: { NextToken: {}, StreamARN: {}, StreamName: {} },
- },
- output: {
- type: "structure",
- members: { NextToken: {}, Tags: { shape: "Si" } },
- },
- },
- TagResource: {
- http: { requestUri: "/TagResource" },
- input: {
- type: "structure",
- required: ["ResourceARN", "Tags"],
- members: {
- ResourceARN: {},
- Tags: { type: "list", member: { shape: "S7" } },
- },
- },
- output: { type: "structure", members: {} },
- },
- TagStream: {
- http: { requestUri: "/tagStream" },
- input: {
- type: "structure",
- required: ["Tags"],
- members: { StreamARN: {}, StreamName: {}, Tags: { shape: "Si" } },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- http: { requestUri: "/UntagResource" },
- input: {
- type: "structure",
- required: ["ResourceARN", "TagKeyList"],
- members: { ResourceARN: {}, TagKeyList: { shape: "S1v" } },
- },
- output: { type: "structure", members: {} },
- },
- UntagStream: {
- http: { requestUri: "/untagStream" },
- input: {
- type: "structure",
- required: ["TagKeyList"],
- members: {
- StreamARN: {},
- StreamName: {},
- TagKeyList: { shape: "S1v" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateDataRetention: {
- http: { requestUri: "/updateDataRetention" },
- input: {
- type: "structure",
- required: [
- "CurrentVersion",
- "Operation",
- "DataRetentionChangeInHours",
- ],
- members: {
- StreamName: {},
- StreamARN: {},
- CurrentVersion: {},
- Operation: {},
- DataRetentionChangeInHours: { type: "integer" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateSignalingChannel: {
- http: { requestUri: "/updateSignalingChannel" },
- input: {
- type: "structure",
- required: ["ChannelARN", "CurrentVersion"],
- members: {
- ChannelARN: {},
- CurrentVersion: {},
- SingleMasterConfiguration: { shape: "S4" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateStream: {
- http: { requestUri: "/updateStream" },
- input: {
- type: "structure",
- required: ["CurrentVersion"],
- members: {
- StreamName: {},
- StreamARN: {},
- CurrentVersion: {},
- DeviceName: {},
- MediaType: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S4: {
- type: "structure",
- members: { MessageTtlSeconds: { type: "integer" } },
- },
- S7: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- Si: { type: "map", key: {}, value: {} },
- Sr: {
- type: "structure",
- members: {
- ChannelName: {},
- ChannelARN: {},
- ChannelType: {},
- ChannelStatus: {},
- CreationTime: { type: "timestamp" },
- SingleMasterConfiguration: { shape: "S4" },
- Version: {},
- },
- },
- Sw: {
- type: "structure",
- members: {
- DeviceName: {},
- StreamName: {},
- StreamARN: {},
- MediaType: {},
- KmsKeyId: {},
- Version: {},
- Status: {},
- CreationTime: { type: "timestamp" },
- DataRetentionInHours: { type: "integer" },
- },
- },
- S1v: { type: "list", member: {} },
- },
- };
-
- /***/
- },
-
- /***/ 2802: /***/ function (__unusedmodule, exports) {
- (function (exports) {
- "use strict";
-
- function isArray(obj) {
- if (obj !== null) {
- return Object.prototype.toString.call(obj) === "[object Array]";
- } else {
- return false;
- }
- }
-
- function isObject(obj) {
- if (obj !== null) {
- return Object.prototype.toString.call(obj) === "[object Object]";
- } else {
- return false;
- }
- }
-
- function strictDeepEqual(first, second) {
- // Check the scalar case first.
- if (first === second) {
- return true;
- }
-
- // Check if they are the same type.
- var firstType = Object.prototype.toString.call(first);
- if (firstType !== Object.prototype.toString.call(second)) {
- return false;
- }
- // We know that first and second have the same type so we can just check the
- // first type from now on.
- if (isArray(first) === true) {
- // Short circuit if they're not the same length;
- if (first.length !== second.length) {
- return false;
- }
- for (var i = 0; i < first.length; i++) {
- if (strictDeepEqual(first[i], second[i]) === false) {
- return false;
- }
- }
- return true;
- }
- if (isObject(first) === true) {
- // An object is equal if it has the same key/value pairs.
- var keysSeen = {};
- for (var key in first) {
- if (hasOwnProperty.call(first, key)) {
- if (strictDeepEqual(first[key], second[key]) === false) {
- return false;
- }
- keysSeen[key] = true;
- }
- }
- // Now check that there aren't any keys in second that weren't
- // in first.
- for (var key2 in second) {
- if (hasOwnProperty.call(second, key2)) {
- if (keysSeen[key2] !== true) {
- return false;
- }
- }
- }
- return true;
- }
- return false;
- }
-
- function isFalse(obj) {
- // From the spec:
- // A false value corresponds to the following values:
- // Empty list
- // Empty object
- // Empty string
- // False boolean
- // null value
-
- // First check the scalar values.
- if (obj === "" || obj === false || obj === null) {
- return true;
- } else if (isArray(obj) && obj.length === 0) {
- // Check for an empty array.
- return true;
- } else if (isObject(obj)) {
- // Check for an empty object.
- for (var key in obj) {
- // If there are any keys, then
- // the object is not empty so the object
- // is not false.
- if (obj.hasOwnProperty(key)) {
- return false;
- }
- }
- return true;
- } else {
- return false;
- }
- }
-
- function objValues(obj) {
- var keys = Object.keys(obj);
- var values = [];
- for (var i = 0; i < keys.length; i++) {
- values.push(obj[keys[i]]);
- }
- return values;
- }
-
- function merge(a, b) {
- var merged = {};
- for (var key in a) {
- merged[key] = a[key];
- }
- for (var key2 in b) {
- merged[key2] = b[key2];
- }
- return merged;
- }
-
- var trimLeft;
- if (typeof String.prototype.trimLeft === "function") {
- trimLeft = function (str) {
- return str.trimLeft();
- };
- } else {
- trimLeft = function (str) {
- return str.match(/^\s*(.*)/)[1];
- };
- }
-
- // Type constants used to define functions.
- var TYPE_NUMBER = 0;
- var TYPE_ANY = 1;
- var TYPE_STRING = 2;
- var TYPE_ARRAY = 3;
- var TYPE_OBJECT = 4;
- var TYPE_BOOLEAN = 5;
- var TYPE_EXPREF = 6;
- var TYPE_NULL = 7;
- var TYPE_ARRAY_NUMBER = 8;
- var TYPE_ARRAY_STRING = 9;
-
- var TOK_EOF = "EOF";
- var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier";
- var TOK_QUOTEDIDENTIFIER = "QuotedIdentifier";
- var TOK_RBRACKET = "Rbracket";
- var TOK_RPAREN = "Rparen";
- var TOK_COMMA = "Comma";
- var TOK_COLON = "Colon";
- var TOK_RBRACE = "Rbrace";
- var TOK_NUMBER = "Number";
- var TOK_CURRENT = "Current";
- var TOK_EXPREF = "Expref";
- var TOK_PIPE = "Pipe";
- var TOK_OR = "Or";
- var TOK_AND = "And";
- var TOK_EQ = "EQ";
- var TOK_GT = "GT";
- var TOK_LT = "LT";
- var TOK_GTE = "GTE";
- var TOK_LTE = "LTE";
- var TOK_NE = "NE";
- var TOK_FLATTEN = "Flatten";
- var TOK_STAR = "Star";
- var TOK_FILTER = "Filter";
- var TOK_DOT = "Dot";
- var TOK_NOT = "Not";
- var TOK_LBRACE = "Lbrace";
- var TOK_LBRACKET = "Lbracket";
- var TOK_LPAREN = "Lparen";
- var TOK_LITERAL = "Literal";
-
- // The "&", "[", "<", ">" tokens
- // are not in basicToken because
- // there are two token variants
- // ("&&", "[?", "<=", ">="). This is specially handled
- // below.
-
- var basicTokens = {
- ".": TOK_DOT,
- "*": TOK_STAR,
- ",": TOK_COMMA,
- ":": TOK_COLON,
- "{": TOK_LBRACE,
- "}": TOK_RBRACE,
- "]": TOK_RBRACKET,
- "(": TOK_LPAREN,
- ")": TOK_RPAREN,
- "@": TOK_CURRENT,
- };
-
- var operatorStartToken = {
- "<": true,
- ">": true,
- "=": true,
- "!": true,
- };
-
- var skipChars = {
- " ": true,
- "\t": true,
- "\n": true,
- };
-
- function isAlpha(ch) {
- return (
- (ch >= "a" && ch <= "z") || (ch >= "A" && ch <= "Z") || ch === "_"
- );
- }
-
- function isNum(ch) {
- return (ch >= "0" && ch <= "9") || ch === "-";
- }
- function isAlphaNum(ch) {
- return (
- (ch >= "a" && ch <= "z") ||
- (ch >= "A" && ch <= "Z") ||
- (ch >= "0" && ch <= "9") ||
- ch === "_"
- );
- }
-
- function Lexer() {}
- Lexer.prototype = {
- tokenize: function (stream) {
- var tokens = [];
- this._current = 0;
- var start;
- var identifier;
- var token;
- while (this._current < stream.length) {
- if (isAlpha(stream[this._current])) {
- start = this._current;
- identifier = this._consumeUnquotedIdentifier(stream);
- tokens.push({
- type: TOK_UNQUOTEDIDENTIFIER,
- value: identifier,
- start: start,
- });
- } else if (basicTokens[stream[this._current]] !== undefined) {
- tokens.push({
- type: basicTokens[stream[this._current]],
- value: stream[this._current],
- start: this._current,
- });
- this._current++;
- } else if (isNum(stream[this._current])) {
- token = this._consumeNumber(stream);
- tokens.push(token);
- } else if (stream[this._current] === "[") {
- // No need to increment this._current. This happens
- // in _consumeLBracket
- token = this._consumeLBracket(stream);
- tokens.push(token);
- } else if (stream[this._current] === '"') {
- start = this._current;
- identifier = this._consumeQuotedIdentifier(stream);
- tokens.push({
- type: TOK_QUOTEDIDENTIFIER,
- value: identifier,
- start: start,
- });
- } else if (stream[this._current] === "'") {
- start = this._current;
- identifier = this._consumeRawStringLiteral(stream);
- tokens.push({
- type: TOK_LITERAL,
- value: identifier,
- start: start,
- });
- } else if (stream[this._current] === "`") {
- start = this._current;
- var literal = this._consumeLiteral(stream);
- tokens.push({
- type: TOK_LITERAL,
- value: literal,
- start: start,
- });
- } else if (
- operatorStartToken[stream[this._current]] !== undefined
- ) {
- tokens.push(this._consumeOperator(stream));
- } else if (skipChars[stream[this._current]] !== undefined) {
- // Ignore whitespace.
- this._current++;
- } else if (stream[this._current] === "&") {
- start = this._current;
- this._current++;
- if (stream[this._current] === "&") {
- this._current++;
- tokens.push({ type: TOK_AND, value: "&&", start: start });
- } else {
- tokens.push({ type: TOK_EXPREF, value: "&", start: start });
- }
- } else if (stream[this._current] === "|") {
- start = this._current;
- this._current++;
- if (stream[this._current] === "|") {
- this._current++;
- tokens.push({ type: TOK_OR, value: "||", start: start });
- } else {
- tokens.push({ type: TOK_PIPE, value: "|", start: start });
- }
- } else {
- var error = new Error(
- "Unknown character:" + stream[this._current]
- );
- error.name = "LexerError";
- throw error;
- }
- }
- return tokens;
- },
-
- _consumeUnquotedIdentifier: function (stream) {
- var start = this._current;
- this._current++;
- while (
- this._current < stream.length &&
- isAlphaNum(stream[this._current])
- ) {
- this._current++;
- }
- return stream.slice(start, this._current);
- },
-
- _consumeQuotedIdentifier: function (stream) {
- var start = this._current;
- this._current++;
- var maxLength = stream.length;
- while (stream[this._current] !== '"' && this._current < maxLength) {
- // You can escape a double quote and you can escape an escape.
- var current = this._current;
- if (
- stream[current] === "\\" &&
- (stream[current + 1] === "\\" || stream[current + 1] === '"')
- ) {
- current += 2;
- } else {
- current++;
- }
- this._current = current;
- }
- this._current++;
- return JSON.parse(stream.slice(start, this._current));
- },
-
- _consumeRawStringLiteral: function (stream) {
- var start = this._current;
- this._current++;
- var maxLength = stream.length;
- while (stream[this._current] !== "'" && this._current < maxLength) {
- // You can escape a single quote and you can escape an escape.
- var current = this._current;
- if (
- stream[current] === "\\" &&
- (stream[current + 1] === "\\" || stream[current + 1] === "'")
- ) {
- current += 2;
- } else {
- current++;
- }
- this._current = current;
- }
- this._current++;
- var literal = stream.slice(start + 1, this._current - 1);
- return literal.replace("\\'", "'");
- },
-
- _consumeNumber: function (stream) {
- var start = this._current;
- this._current++;
- var maxLength = stream.length;
- while (isNum(stream[this._current]) && this._current < maxLength) {
- this._current++;
- }
- var value = parseInt(stream.slice(start, this._current));
- return { type: TOK_NUMBER, value: value, start: start };
- },
-
- _consumeLBracket: function (stream) {
- var start = this._current;
- this._current++;
- if (stream[this._current] === "?") {
- this._current++;
- return { type: TOK_FILTER, value: "[?", start: start };
- } else if (stream[this._current] === "]") {
- this._current++;
- return { type: TOK_FLATTEN, value: "[]", start: start };
- } else {
- return { type: TOK_LBRACKET, value: "[", start: start };
- }
- },
-
- _consumeOperator: function (stream) {
- var start = this._current;
- var startingChar = stream[start];
- this._current++;
- if (startingChar === "!") {
- if (stream[this._current] === "=") {
- this._current++;
- return { type: TOK_NE, value: "!=", start: start };
- } else {
- return { type: TOK_NOT, value: "!", start: start };
- }
- } else if (startingChar === "<") {
- if (stream[this._current] === "=") {
- this._current++;
- return { type: TOK_LTE, value: "<=", start: start };
- } else {
- return { type: TOK_LT, value: "<", start: start };
- }
- } else if (startingChar === ">") {
- if (stream[this._current] === "=") {
- this._current++;
- return { type: TOK_GTE, value: ">=", start: start };
- } else {
- return { type: TOK_GT, value: ">", start: start };
- }
- } else if (startingChar === "=") {
- if (stream[this._current] === "=") {
- this._current++;
- return { type: TOK_EQ, value: "==", start: start };
- }
- }
- },
-
- _consumeLiteral: function (stream) {
- this._current++;
- var start = this._current;
- var maxLength = stream.length;
- var literal;
- while (stream[this._current] !== "`" && this._current < maxLength) {
- // You can escape a literal char or you can escape the escape.
- var current = this._current;
- if (
- stream[current] === "\\" &&
- (stream[current + 1] === "\\" || stream[current + 1] === "`")
- ) {
- current += 2;
- } else {
- current++;
- }
- this._current = current;
- }
- var literalString = trimLeft(stream.slice(start, this._current));
- literalString = literalString.replace("\\`", "`");
- if (this._looksLikeJSON(literalString)) {
- literal = JSON.parse(literalString);
- } else {
- // Try to JSON parse it as ""
- literal = JSON.parse('"' + literalString + '"');
- }
- // +1 gets us to the ending "`", +1 to move on to the next char.
- this._current++;
- return literal;
- },
-
- _looksLikeJSON: function (literalString) {
- var startingChars = '[{"';
- var jsonLiterals = ["true", "false", "null"];
- var numberLooking = "-0123456789";
-
- if (literalString === "") {
- return false;
- } else if (startingChars.indexOf(literalString[0]) >= 0) {
- return true;
- } else if (jsonLiterals.indexOf(literalString) >= 0) {
- return true;
- } else if (numberLooking.indexOf(literalString[0]) >= 0) {
- try {
- JSON.parse(literalString);
- return true;
- } catch (ex) {
- return false;
- }
- } else {
- return false;
- }
- },
- };
-
- var bindingPower = {};
- bindingPower[TOK_EOF] = 0;
- bindingPower[TOK_UNQUOTEDIDENTIFIER] = 0;
- bindingPower[TOK_QUOTEDIDENTIFIER] = 0;
- bindingPower[TOK_RBRACKET] = 0;
- bindingPower[TOK_RPAREN] = 0;
- bindingPower[TOK_COMMA] = 0;
- bindingPower[TOK_RBRACE] = 0;
- bindingPower[TOK_NUMBER] = 0;
- bindingPower[TOK_CURRENT] = 0;
- bindingPower[TOK_EXPREF] = 0;
- bindingPower[TOK_PIPE] = 1;
- bindingPower[TOK_OR] = 2;
- bindingPower[TOK_AND] = 3;
- bindingPower[TOK_EQ] = 5;
- bindingPower[TOK_GT] = 5;
- bindingPower[TOK_LT] = 5;
- bindingPower[TOK_GTE] = 5;
- bindingPower[TOK_LTE] = 5;
- bindingPower[TOK_NE] = 5;
- bindingPower[TOK_FLATTEN] = 9;
- bindingPower[TOK_STAR] = 20;
- bindingPower[TOK_FILTER] = 21;
- bindingPower[TOK_DOT] = 40;
- bindingPower[TOK_NOT] = 45;
- bindingPower[TOK_LBRACE] = 50;
- bindingPower[TOK_LBRACKET] = 55;
- bindingPower[TOK_LPAREN] = 60;
-
- function Parser() {}
-
- Parser.prototype = {
- parse: function (expression) {
- this._loadTokens(expression);
- this.index = 0;
- var ast = this.expression(0);
- if (this._lookahead(0) !== TOK_EOF) {
- var t = this._lookaheadToken(0);
- var error = new Error(
- "Unexpected token type: " + t.type + ", value: " + t.value
- );
- error.name = "ParserError";
- throw error;
- }
- return ast;
- },
-
- _loadTokens: function (expression) {
- var lexer = new Lexer();
- var tokens = lexer.tokenize(expression);
- tokens.push({ type: TOK_EOF, value: "", start: expression.length });
- this.tokens = tokens;
- },
-
- expression: function (rbp) {
- var leftToken = this._lookaheadToken(0);
- this._advance();
- var left = this.nud(leftToken);
- var currentToken = this._lookahead(0);
- while (rbp < bindingPower[currentToken]) {
- this._advance();
- left = this.led(currentToken, left);
- currentToken = this._lookahead(0);
- }
- return left;
- },
-
- _lookahead: function (number) {
- return this.tokens[this.index + number].type;
- },
-
- _lookaheadToken: function (number) {
- return this.tokens[this.index + number];
- },
-
- _advance: function () {
- this.index++;
- },
-
- nud: function (token) {
- var left;
- var right;
- var expression;
- switch (token.type) {
- case TOK_LITERAL:
- return { type: "Literal", value: token.value };
- case TOK_UNQUOTEDIDENTIFIER:
- return { type: "Field", name: token.value };
- case TOK_QUOTEDIDENTIFIER:
- var node = { type: "Field", name: token.value };
- if (this._lookahead(0) === TOK_LPAREN) {
- throw new Error(
- "Quoted identifier not allowed for function names."
- );
- } else {
- return node;
- }
- break;
- case TOK_NOT:
- right = this.expression(bindingPower.Not);
- return { type: "NotExpression", children: [right] };
- case TOK_STAR:
- left = { type: "Identity" };
- right = null;
- if (this._lookahead(0) === TOK_RBRACKET) {
- // This can happen in a multiselect,
- // [a, b, *]
- right = { type: "Identity" };
- } else {
- right = this._parseProjectionRHS(bindingPower.Star);
- }
- return { type: "ValueProjection", children: [left, right] };
- case TOK_FILTER:
- return this.led(token.type, { type: "Identity" });
- case TOK_LBRACE:
- return this._parseMultiselectHash();
- case TOK_FLATTEN:
- left = { type: TOK_FLATTEN, children: [{ type: "Identity" }] };
- right = this._parseProjectionRHS(bindingPower.Flatten);
- return { type: "Projection", children: [left, right] };
- case TOK_LBRACKET:
- if (
- this._lookahead(0) === TOK_NUMBER ||
- this._lookahead(0) === TOK_COLON
- ) {
- right = this._parseIndexExpression();
- return this._projectIfSlice({ type: "Identity" }, right);
- } else if (
- this._lookahead(0) === TOK_STAR &&
- this._lookahead(1) === TOK_RBRACKET
- ) {
- this._advance();
- this._advance();
- right = this._parseProjectionRHS(bindingPower.Star);
- return {
- type: "Projection",
- children: [{ type: "Identity" }, right],
- };
- } else {
- return this._parseMultiselectList();
- }
- break;
- case TOK_CURRENT:
- return { type: TOK_CURRENT };
- case TOK_EXPREF:
- expression = this.expression(bindingPower.Expref);
- return { type: "ExpressionReference", children: [expression] };
- case TOK_LPAREN:
- var args = [];
- while (this._lookahead(0) !== TOK_RPAREN) {
- if (this._lookahead(0) === TOK_CURRENT) {
- expression = { type: TOK_CURRENT };
- this._advance();
- } else {
- expression = this.expression(0);
- }
- args.push(expression);
- }
- this._match(TOK_RPAREN);
- return args[0];
- default:
- this._errorToken(token);
- }
- },
-
- led: function (tokenName, left) {
- var right;
- switch (tokenName) {
- case TOK_DOT:
- var rbp = bindingPower.Dot;
- if (this._lookahead(0) !== TOK_STAR) {
- right = this._parseDotRHS(rbp);
- return { type: "Subexpression", children: [left, right] };
- } else {
- // Creating a projection.
- this._advance();
- right = this._parseProjectionRHS(rbp);
- return { type: "ValueProjection", children: [left, right] };
- }
- break;
- case TOK_PIPE:
- right = this.expression(bindingPower.Pipe);
- return { type: TOK_PIPE, children: [left, right] };
- case TOK_OR:
- right = this.expression(bindingPower.Or);
- return { type: "OrExpression", children: [left, right] };
- case TOK_AND:
- right = this.expression(bindingPower.And);
- return { type: "AndExpression", children: [left, right] };
- case TOK_LPAREN:
- var name = left.name;
- var args = [];
- var expression, node;
- while (this._lookahead(0) !== TOK_RPAREN) {
- if (this._lookahead(0) === TOK_CURRENT) {
- expression = { type: TOK_CURRENT };
- this._advance();
- } else {
- expression = this.expression(0);
- }
- if (this._lookahead(0) === TOK_COMMA) {
- this._match(TOK_COMMA);
- }
- args.push(expression);
- }
- this._match(TOK_RPAREN);
- node = { type: "Function", name: name, children: args };
- return node;
- case TOK_FILTER:
- var condition = this.expression(0);
- this._match(TOK_RBRACKET);
- if (this._lookahead(0) === TOK_FLATTEN) {
- right = { type: "Identity" };
- } else {
- right = this._parseProjectionRHS(bindingPower.Filter);
- }
- return {
- type: "FilterProjection",
- children: [left, right, condition],
- };
- case TOK_FLATTEN:
- var leftNode = { type: TOK_FLATTEN, children: [left] };
- var rightNode = this._parseProjectionRHS(bindingPower.Flatten);
- return { type: "Projection", children: [leftNode, rightNode] };
- case TOK_EQ:
- case TOK_NE:
- case TOK_GT:
- case TOK_GTE:
- case TOK_LT:
- case TOK_LTE:
- return this._parseComparator(left, tokenName);
- case TOK_LBRACKET:
- var token = this._lookaheadToken(0);
- if (token.type === TOK_NUMBER || token.type === TOK_COLON) {
- right = this._parseIndexExpression();
- return this._projectIfSlice(left, right);
- } else {
- this._match(TOK_STAR);
- this._match(TOK_RBRACKET);
- right = this._parseProjectionRHS(bindingPower.Star);
- return { type: "Projection", children: [left, right] };
- }
- break;
- default:
- this._errorToken(this._lookaheadToken(0));
- }
- },
-
- _match: function (tokenType) {
- if (this._lookahead(0) === tokenType) {
- this._advance();
- } else {
- var t = this._lookaheadToken(0);
- var error = new Error(
- "Expected " + tokenType + ", got: " + t.type
- );
- error.name = "ParserError";
- throw error;
- }
- },
-
- _errorToken: function (token) {
- var error = new Error(
- "Invalid token (" + token.type + '): "' + token.value + '"'
- );
- error.name = "ParserError";
- throw error;
- },
-
- _parseIndexExpression: function () {
- if (
- this._lookahead(0) === TOK_COLON ||
- this._lookahead(1) === TOK_COLON
- ) {
- return this._parseSliceExpression();
- } else {
- var node = {
- type: "Index",
- value: this._lookaheadToken(0).value,
- };
- this._advance();
- this._match(TOK_RBRACKET);
- return node;
- }
- },
-
- _projectIfSlice: function (left, right) {
- var indexExpr = {
- type: "IndexExpression",
- children: [left, right],
- };
- if (right.type === "Slice") {
- return {
- type: "Projection",
- children: [
- indexExpr,
- this._parseProjectionRHS(bindingPower.Star),
- ],
- };
- } else {
- return indexExpr;
- }
- },
-
- _parseSliceExpression: function () {
- // [start:end:step] where each part is optional, as well as the last
- // colon.
- var parts = [null, null, null];
- var index = 0;
- var currentToken = this._lookahead(0);
- while (currentToken !== TOK_RBRACKET && index < 3) {
- if (currentToken === TOK_COLON) {
- index++;
- this._advance();
- } else if (currentToken === TOK_NUMBER) {
- parts[index] = this._lookaheadToken(0).value;
- this._advance();
- } else {
- var t = this._lookahead(0);
- var error = new Error(
- "Syntax error, unexpected token: " +
- t.value +
- "(" +
- t.type +
- ")"
- );
- error.name = "Parsererror";
- throw error;
- }
- currentToken = this._lookahead(0);
- }
- this._match(TOK_RBRACKET);
- return {
- type: "Slice",
- children: parts,
- };
- },
-
- _parseComparator: function (left, comparator) {
- var right = this.expression(bindingPower[comparator]);
- return {
- type: "Comparator",
- name: comparator,
- children: [left, right],
- };
- },
-
- _parseDotRHS: function (rbp) {
- var lookahead = this._lookahead(0);
- var exprTokens = [
- TOK_UNQUOTEDIDENTIFIER,
- TOK_QUOTEDIDENTIFIER,
- TOK_STAR,
- ];
- if (exprTokens.indexOf(lookahead) >= 0) {
- return this.expression(rbp);
- } else if (lookahead === TOK_LBRACKET) {
- this._match(TOK_LBRACKET);
- return this._parseMultiselectList();
- } else if (lookahead === TOK_LBRACE) {
- this._match(TOK_LBRACE);
- return this._parseMultiselectHash();
- }
- },
-
- _parseProjectionRHS: function (rbp) {
- var right;
- if (bindingPower[this._lookahead(0)] < 10) {
- right = { type: "Identity" };
- } else if (this._lookahead(0) === TOK_LBRACKET) {
- right = this.expression(rbp);
- } else if (this._lookahead(0) === TOK_FILTER) {
- right = this.expression(rbp);
- } else if (this._lookahead(0) === TOK_DOT) {
- this._match(TOK_DOT);
- right = this._parseDotRHS(rbp);
- } else {
- var t = this._lookaheadToken(0);
- var error = new Error(
- "Sytanx error, unexpected token: " +
- t.value +
- "(" +
- t.type +
- ")"
- );
- error.name = "ParserError";
- throw error;
- }
- return right;
- },
-
- _parseMultiselectList: function () {
- var expressions = [];
- while (this._lookahead(0) !== TOK_RBRACKET) {
- var expression = this.expression(0);
- expressions.push(expression);
- if (this._lookahead(0) === TOK_COMMA) {
- this._match(TOK_COMMA);
- if (this._lookahead(0) === TOK_RBRACKET) {
- throw new Error("Unexpected token Rbracket");
- }
- }
- }
- this._match(TOK_RBRACKET);
- return { type: "MultiSelectList", children: expressions };
- },
-
- _parseMultiselectHash: function () {
- var pairs = [];
- var identifierTypes = [
- TOK_UNQUOTEDIDENTIFIER,
- TOK_QUOTEDIDENTIFIER,
- ];
- var keyToken, keyName, value, node;
- for (;;) {
- keyToken = this._lookaheadToken(0);
- if (identifierTypes.indexOf(keyToken.type) < 0) {
- throw new Error(
- "Expecting an identifier token, got: " + keyToken.type
- );
- }
- keyName = keyToken.value;
- this._advance();
- this._match(TOK_COLON);
- value = this.expression(0);
- node = { type: "KeyValuePair", name: keyName, value: value };
- pairs.push(node);
- if (this._lookahead(0) === TOK_COMMA) {
- this._match(TOK_COMMA);
- } else if (this._lookahead(0) === TOK_RBRACE) {
- this._match(TOK_RBRACE);
- break;
- }
- }
- return { type: "MultiSelectHash", children: pairs };
- },
- };
-
- function TreeInterpreter(runtime) {
- this.runtime = runtime;
- }
-
- TreeInterpreter.prototype = {
- search: function (node, value) {
- return this.visit(node, value);
- },
-
- visit: function (node, value) {
- var matched,
- current,
- result,
- first,
- second,
- field,
- left,
- right,
- collected,
- i;
- switch (node.type) {
- case "Field":
- if (value === null) {
- return null;
- } else if (isObject(value)) {
- field = value[node.name];
- if (field === undefined) {
- return null;
- } else {
- return field;
- }
- } else {
- return null;
- }
- break;
- case "Subexpression":
- result = this.visit(node.children[0], value);
- for (i = 1; i < node.children.length; i++) {
- result = this.visit(node.children[1], result);
- if (result === null) {
- return null;
- }
- }
- return result;
- case "IndexExpression":
- left = this.visit(node.children[0], value);
- right = this.visit(node.children[1], left);
- return right;
- case "Index":
- if (!isArray(value)) {
- return null;
- }
- var index = node.value;
- if (index < 0) {
- index = value.length + index;
- }
- result = value[index];
- if (result === undefined) {
- result = null;
- }
- return result;
- case "Slice":
- if (!isArray(value)) {
- return null;
- }
- var sliceParams = node.children.slice(0);
- var computed = this.computeSliceParams(
- value.length,
- sliceParams
- );
- var start = computed[0];
- var stop = computed[1];
- var step = computed[2];
- result = [];
- if (step > 0) {
- for (i = start; i < stop; i += step) {
- result.push(value[i]);
- }
- } else {
- for (i = start; i > stop; i += step) {
- result.push(value[i]);
- }
- }
- return result;
- case "Projection":
- // Evaluate left child.
- var base = this.visit(node.children[0], value);
- if (!isArray(base)) {
- return null;
- }
- collected = [];
- for (i = 0; i < base.length; i++) {
- current = this.visit(node.children[1], base[i]);
- if (current !== null) {
- collected.push(current);
- }
- }
- return collected;
- case "ValueProjection":
- // Evaluate left child.
- base = this.visit(node.children[0], value);
- if (!isObject(base)) {
- return null;
- }
- collected = [];
- var values = objValues(base);
- for (i = 0; i < values.length; i++) {
- current = this.visit(node.children[1], values[i]);
- if (current !== null) {
- collected.push(current);
- }
- }
- return collected;
- case "FilterProjection":
- base = this.visit(node.children[0], value);
- if (!isArray(base)) {
- return null;
- }
- var filtered = [];
- var finalResults = [];
- for (i = 0; i < base.length; i++) {
- matched = this.visit(node.children[2], base[i]);
- if (!isFalse(matched)) {
- filtered.push(base[i]);
- }
- }
- for (var j = 0; j < filtered.length; j++) {
- current = this.visit(node.children[1], filtered[j]);
- if (current !== null) {
- finalResults.push(current);
- }
- }
- return finalResults;
- case "Comparator":
- first = this.visit(node.children[0], value);
- second = this.visit(node.children[1], value);
- switch (node.name) {
- case TOK_EQ:
- result = strictDeepEqual(first, second);
- break;
- case TOK_NE:
- result = !strictDeepEqual(first, second);
- break;
- case TOK_GT:
- result = first > second;
- break;
- case TOK_GTE:
- result = first >= second;
- break;
- case TOK_LT:
- result = first < second;
- break;
- case TOK_LTE:
- result = first <= second;
- break;
- default:
- throw new Error("Unknown comparator: " + node.name);
- }
- return result;
- case TOK_FLATTEN:
- var original = this.visit(node.children[0], value);
- if (!isArray(original)) {
- return null;
- }
- var merged = [];
- for (i = 0; i < original.length; i++) {
- current = original[i];
- if (isArray(current)) {
- merged.push.apply(merged, current);
- } else {
- merged.push(current);
- }
- }
- return merged;
- case "Identity":
- return value;
- case "MultiSelectList":
- if (value === null) {
- return null;
- }
- collected = [];
- for (i = 0; i < node.children.length; i++) {
- collected.push(this.visit(node.children[i], value));
- }
- return collected;
- case "MultiSelectHash":
- if (value === null) {
- return null;
- }
- collected = {};
- var child;
- for (i = 0; i < node.children.length; i++) {
- child = node.children[i];
- collected[child.name] = this.visit(child.value, value);
- }
- return collected;
- case "OrExpression":
- matched = this.visit(node.children[0], value);
- if (isFalse(matched)) {
- matched = this.visit(node.children[1], value);
- }
- return matched;
- case "AndExpression":
- first = this.visit(node.children[0], value);
-
- if (isFalse(first) === true) {
- return first;
- }
- return this.visit(node.children[1], value);
- case "NotExpression":
- first = this.visit(node.children[0], value);
- return isFalse(first);
- case "Literal":
- return node.value;
- case TOK_PIPE:
- left = this.visit(node.children[0], value);
- return this.visit(node.children[1], left);
- case TOK_CURRENT:
- return value;
- case "Function":
- var resolvedArgs = [];
- for (i = 0; i < node.children.length; i++) {
- resolvedArgs.push(this.visit(node.children[i], value));
- }
- return this.runtime.callFunction(node.name, resolvedArgs);
- case "ExpressionReference":
- var refNode = node.children[0];
- // Tag the node with a specific attribute so the type
- // checker verify the type.
- refNode.jmespathType = TOK_EXPREF;
- return refNode;
- default:
- throw new Error("Unknown node type: " + node.type);
- }
- },
-
- computeSliceParams: function (arrayLength, sliceParams) {
- var start = sliceParams[0];
- var stop = sliceParams[1];
- var step = sliceParams[2];
- var computed = [null, null, null];
- if (step === null) {
- step = 1;
- } else if (step === 0) {
- var error = new Error("Invalid slice, step cannot be 0");
- error.name = "RuntimeError";
- throw error;
- }
- var stepValueNegative = step < 0 ? true : false;
-
- if (start === null) {
- start = stepValueNegative ? arrayLength - 1 : 0;
- } else {
- start = this.capSliceRange(arrayLength, start, step);
- }
-
- if (stop === null) {
- stop = stepValueNegative ? -1 : arrayLength;
- } else {
- stop = this.capSliceRange(arrayLength, stop, step);
- }
- computed[0] = start;
- computed[1] = stop;
- computed[2] = step;
- return computed;
- },
-
- capSliceRange: function (arrayLength, actualValue, step) {
- if (actualValue < 0) {
- actualValue += arrayLength;
- if (actualValue < 0) {
- actualValue = step < 0 ? -1 : 0;
- }
- } else if (actualValue >= arrayLength) {
- actualValue = step < 0 ? arrayLength - 1 : arrayLength;
- }
- return actualValue;
- },
- };
-
- function Runtime(interpreter) {
- this._interpreter = interpreter;
- this.functionTable = {
- // name: [function, ]
- // The can be:
- //
- // {
- // args: [[type1, type2], [type1, type2]],
- // variadic: true|false
- // }
- //
- // Each arg in the arg list is a list of valid types
- // (if the function is overloaded and supports multiple
- // types. If the type is "any" then no type checking
- // occurs on the argument. Variadic is optional
- // and if not provided is assumed to be false.
- abs: {
- _func: this._functionAbs,
- _signature: [{ types: [TYPE_NUMBER] }],
- },
- avg: {
- _func: this._functionAvg,
- _signature: [{ types: [TYPE_ARRAY_NUMBER] }],
- },
- ceil: {
- _func: this._functionCeil,
- _signature: [{ types: [TYPE_NUMBER] }],
- },
- contains: {
- _func: this._functionContains,
- _signature: [
- { types: [TYPE_STRING, TYPE_ARRAY] },
- { types: [TYPE_ANY] },
- ],
- },
- ends_with: {
- _func: this._functionEndsWith,
- _signature: [{ types: [TYPE_STRING] }, { types: [TYPE_STRING] }],
- },
- floor: {
- _func: this._functionFloor,
- _signature: [{ types: [TYPE_NUMBER] }],
- },
- length: {
- _func: this._functionLength,
- _signature: [{ types: [TYPE_STRING, TYPE_ARRAY, TYPE_OBJECT] }],
- },
- map: {
- _func: this._functionMap,
- _signature: [{ types: [TYPE_EXPREF] }, { types: [TYPE_ARRAY] }],
- },
- max: {
- _func: this._functionMax,
- _signature: [{ types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING] }],
- },
- merge: {
- _func: this._functionMerge,
- _signature: [{ types: [TYPE_OBJECT], variadic: true }],
- },
- max_by: {
- _func: this._functionMaxBy,
- _signature: [{ types: [TYPE_ARRAY] }, { types: [TYPE_EXPREF] }],
- },
- sum: {
- _func: this._functionSum,
- _signature: [{ types: [TYPE_ARRAY_NUMBER] }],
- },
- starts_with: {
- _func: this._functionStartsWith,
- _signature: [{ types: [TYPE_STRING] }, { types: [TYPE_STRING] }],
- },
- min: {
- _func: this._functionMin,
- _signature: [{ types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING] }],
- },
- min_by: {
- _func: this._functionMinBy,
- _signature: [{ types: [TYPE_ARRAY] }, { types: [TYPE_EXPREF] }],
- },
- type: {
- _func: this._functionType,
- _signature: [{ types: [TYPE_ANY] }],
- },
- keys: {
- _func: this._functionKeys,
- _signature: [{ types: [TYPE_OBJECT] }],
- },
- values: {
- _func: this._functionValues,
- _signature: [{ types: [TYPE_OBJECT] }],
- },
- sort: {
- _func: this._functionSort,
- _signature: [{ types: [TYPE_ARRAY_STRING, TYPE_ARRAY_NUMBER] }],
- },
- sort_by: {
- _func: this._functionSortBy,
- _signature: [{ types: [TYPE_ARRAY] }, { types: [TYPE_EXPREF] }],
- },
- join: {
- _func: this._functionJoin,
- _signature: [
- { types: [TYPE_STRING] },
- { types: [TYPE_ARRAY_STRING] },
- ],
- },
- reverse: {
- _func: this._functionReverse,
- _signature: [{ types: [TYPE_STRING, TYPE_ARRAY] }],
- },
- to_array: {
- _func: this._functionToArray,
- _signature: [{ types: [TYPE_ANY] }],
- },
- to_string: {
- _func: this._functionToString,
- _signature: [{ types: [TYPE_ANY] }],
- },
- to_number: {
- _func: this._functionToNumber,
- _signature: [{ types: [TYPE_ANY] }],
- },
- not_null: {
- _func: this._functionNotNull,
- _signature: [{ types: [TYPE_ANY], variadic: true }],
- },
- };
- }
-
- Runtime.prototype = {
- callFunction: function (name, resolvedArgs) {
- var functionEntry = this.functionTable[name];
- if (functionEntry === undefined) {
- throw new Error("Unknown function: " + name + "()");
- }
- this._validateArgs(name, resolvedArgs, functionEntry._signature);
- return functionEntry._func.call(this, resolvedArgs);
- },
-
- _validateArgs: function (name, args, signature) {
- // Validating the args requires validating
- // the correct arity and the correct type of each arg.
- // If the last argument is declared as variadic, then we need
- // a minimum number of args to be required. Otherwise it has to
- // be an exact amount.
- var pluralized;
- if (signature[signature.length - 1].variadic) {
- if (args.length < signature.length) {
- pluralized =
- signature.length === 1 ? " argument" : " arguments";
- throw new Error(
- "ArgumentError: " +
- name +
- "() " +
- "takes at least" +
- signature.length +
- pluralized +
- " but received " +
- args.length
- );
- }
- } else if (args.length !== signature.length) {
- pluralized = signature.length === 1 ? " argument" : " arguments";
- throw new Error(
- "ArgumentError: " +
- name +
- "() " +
- "takes " +
- signature.length +
- pluralized +
- " but received " +
- args.length
- );
- }
- var currentSpec;
- var actualType;
- var typeMatched;
- for (var i = 0; i < signature.length; i++) {
- typeMatched = false;
- currentSpec = signature[i].types;
- actualType = this._getTypeName(args[i]);
- for (var j = 0; j < currentSpec.length; j++) {
- if (this._typeMatches(actualType, currentSpec[j], args[i])) {
- typeMatched = true;
- break;
- }
- }
- if (!typeMatched) {
- throw new Error(
- "TypeError: " +
- name +
- "() " +
- "expected argument " +
- (i + 1) +
- " to be type " +
- currentSpec +
- " but received type " +
- actualType +
- " instead."
- );
- }
- }
- },
-
- _typeMatches: function (actual, expected, argValue) {
- if (expected === TYPE_ANY) {
- return true;
- }
- if (
- expected === TYPE_ARRAY_STRING ||
- expected === TYPE_ARRAY_NUMBER ||
- expected === TYPE_ARRAY
- ) {
- // The expected type can either just be array,
- // or it can require a specific subtype (array of numbers).
- //
- // The simplest case is if "array" with no subtype is specified.
- if (expected === TYPE_ARRAY) {
- return actual === TYPE_ARRAY;
- } else if (actual === TYPE_ARRAY) {
- // Otherwise we need to check subtypes.
- // I think this has potential to be improved.
- var subtype;
- if (expected === TYPE_ARRAY_NUMBER) {
- subtype = TYPE_NUMBER;
- } else if (expected === TYPE_ARRAY_STRING) {
- subtype = TYPE_STRING;
- }
- for (var i = 0; i < argValue.length; i++) {
- if (
- !this._typeMatches(
- this._getTypeName(argValue[i]),
- subtype,
- argValue[i]
- )
- ) {
- return false;
- }
- }
- return true;
- }
- } else {
- return actual === expected;
- }
- },
- _getTypeName: function (obj) {
- switch (Object.prototype.toString.call(obj)) {
- case "[object String]":
- return TYPE_STRING;
- case "[object Number]":
- return TYPE_NUMBER;
- case "[object Array]":
- return TYPE_ARRAY;
- case "[object Boolean]":
- return TYPE_BOOLEAN;
- case "[object Null]":
- return TYPE_NULL;
- case "[object Object]":
- // Check if it's an expref. If it has, it's been
- // tagged with a jmespathType attr of 'Expref';
- if (obj.jmespathType === TOK_EXPREF) {
- return TYPE_EXPREF;
- } else {
- return TYPE_OBJECT;
- }
- }
- },
-
- _functionStartsWith: function (resolvedArgs) {
- return resolvedArgs[0].lastIndexOf(resolvedArgs[1]) === 0;
- },
-
- _functionEndsWith: function (resolvedArgs) {
- var searchStr = resolvedArgs[0];
- var suffix = resolvedArgs[1];
- return (
- searchStr.indexOf(suffix, searchStr.length - suffix.length) !== -1
- );
- },
-
- _functionReverse: function (resolvedArgs) {
- var typeName = this._getTypeName(resolvedArgs[0]);
- if (typeName === TYPE_STRING) {
- var originalStr = resolvedArgs[0];
- var reversedStr = "";
- for (var i = originalStr.length - 1; i >= 0; i--) {
- reversedStr += originalStr[i];
- }
- return reversedStr;
- } else {
- var reversedArray = resolvedArgs[0].slice(0);
- reversedArray.reverse();
- return reversedArray;
- }
- },
-
- _functionAbs: function (resolvedArgs) {
- return Math.abs(resolvedArgs[0]);
- },
-
- _functionCeil: function (resolvedArgs) {
- return Math.ceil(resolvedArgs[0]);
- },
-
- _functionAvg: function (resolvedArgs) {
- var sum = 0;
- var inputArray = resolvedArgs[0];
- for (var i = 0; i < inputArray.length; i++) {
- sum += inputArray[i];
- }
- return sum / inputArray.length;
- },
-
- _functionContains: function (resolvedArgs) {
- return resolvedArgs[0].indexOf(resolvedArgs[1]) >= 0;
- },
-
- _functionFloor: function (resolvedArgs) {
- return Math.floor(resolvedArgs[0]);
- },
-
- _functionLength: function (resolvedArgs) {
- if (!isObject(resolvedArgs[0])) {
- return resolvedArgs[0].length;
- } else {
- // As far as I can tell, there's no way to get the length
- // of an object without O(n) iteration through the object.
- return Object.keys(resolvedArgs[0]).length;
- }
- },
-
- _functionMap: function (resolvedArgs) {
- var mapped = [];
- var interpreter = this._interpreter;
- var exprefNode = resolvedArgs[0];
- var elements = resolvedArgs[1];
- for (var i = 0; i < elements.length; i++) {
- mapped.push(interpreter.visit(exprefNode, elements[i]));
- }
- return mapped;
- },
-
- _functionMerge: function (resolvedArgs) {
- var merged = {};
- for (var i = 0; i < resolvedArgs.length; i++) {
- var current = resolvedArgs[i];
- for (var key in current) {
- merged[key] = current[key];
- }
- }
- return merged;
- },
-
- _functionMax: function (resolvedArgs) {
- if (resolvedArgs[0].length > 0) {
- var typeName = this._getTypeName(resolvedArgs[0][0]);
- if (typeName === TYPE_NUMBER) {
- return Math.max.apply(Math, resolvedArgs[0]);
- } else {
- var elements = resolvedArgs[0];
- var maxElement = elements[0];
- for (var i = 1; i < elements.length; i++) {
- if (maxElement.localeCompare(elements[i]) < 0) {
- maxElement = elements[i];
- }
- }
- return maxElement;
- }
- } else {
- return null;
- }
- },
-
- _functionMin: function (resolvedArgs) {
- if (resolvedArgs[0].length > 0) {
- var typeName = this._getTypeName(resolvedArgs[0][0]);
- if (typeName === TYPE_NUMBER) {
- return Math.min.apply(Math, resolvedArgs[0]);
- } else {
- var elements = resolvedArgs[0];
- var minElement = elements[0];
- for (var i = 1; i < elements.length; i++) {
- if (elements[i].localeCompare(minElement) < 0) {
- minElement = elements[i];
- }
- }
- return minElement;
- }
- } else {
- return null;
- }
- },
-
- _functionSum: function (resolvedArgs) {
- var sum = 0;
- var listToSum = resolvedArgs[0];
- for (var i = 0; i < listToSum.length; i++) {
- sum += listToSum[i];
- }
- return sum;
- },
-
- _functionType: function (resolvedArgs) {
- switch (this._getTypeName(resolvedArgs[0])) {
- case TYPE_NUMBER:
- return "number";
- case TYPE_STRING:
- return "string";
- case TYPE_ARRAY:
- return "array";
- case TYPE_OBJECT:
- return "object";
- case TYPE_BOOLEAN:
- return "boolean";
- case TYPE_EXPREF:
- return "expref";
- case TYPE_NULL:
- return "null";
- }
- },
-
- _functionKeys: function (resolvedArgs) {
- return Object.keys(resolvedArgs[0]);
- },
-
- _functionValues: function (resolvedArgs) {
- var obj = resolvedArgs[0];
- var keys = Object.keys(obj);
- var values = [];
- for (var i = 0; i < keys.length; i++) {
- values.push(obj[keys[i]]);
- }
- return values;
- },
-
- _functionJoin: function (resolvedArgs) {
- var joinChar = resolvedArgs[0];
- var listJoin = resolvedArgs[1];
- return listJoin.join(joinChar);
- },
-
- _functionToArray: function (resolvedArgs) {
- if (this._getTypeName(resolvedArgs[0]) === TYPE_ARRAY) {
- return resolvedArgs[0];
- } else {
- return [resolvedArgs[0]];
- }
- },
-
- _functionToString: function (resolvedArgs) {
- if (this._getTypeName(resolvedArgs[0]) === TYPE_STRING) {
- return resolvedArgs[0];
- } else {
- return JSON.stringify(resolvedArgs[0]);
- }
- },
-
- _functionToNumber: function (resolvedArgs) {
- var typeName = this._getTypeName(resolvedArgs[0]);
- var convertedValue;
- if (typeName === TYPE_NUMBER) {
- return resolvedArgs[0];
- } else if (typeName === TYPE_STRING) {
- convertedValue = +resolvedArgs[0];
- if (!isNaN(convertedValue)) {
- return convertedValue;
- }
- }
- return null;
- },
-
- _functionNotNull: function (resolvedArgs) {
- for (var i = 0; i < resolvedArgs.length; i++) {
- if (this._getTypeName(resolvedArgs[i]) !== TYPE_NULL) {
- return resolvedArgs[i];
- }
- }
- return null;
- },
-
- _functionSort: function (resolvedArgs) {
- var sortedArray = resolvedArgs[0].slice(0);
- sortedArray.sort();
- return sortedArray;
- },
-
- _functionSortBy: function (resolvedArgs) {
- var sortedArray = resolvedArgs[0].slice(0);
- if (sortedArray.length === 0) {
- return sortedArray;
- }
- var interpreter = this._interpreter;
- var exprefNode = resolvedArgs[1];
- var requiredType = this._getTypeName(
- interpreter.visit(exprefNode, sortedArray[0])
- );
- if ([TYPE_NUMBER, TYPE_STRING].indexOf(requiredType) < 0) {
- throw new Error("TypeError");
- }
- var that = this;
- // In order to get a stable sort out of an unstable
- // sort algorithm, we decorate/sort/undecorate (DSU)
- // by creating a new list of [index, element] pairs.
- // In the cmp function, if the evaluated elements are
- // equal, then the index will be used as the tiebreaker.
- // After the decorated list has been sorted, it will be
- // undecorated to extract the original elements.
- var decorated = [];
- for (var i = 0; i < sortedArray.length; i++) {
- decorated.push([i, sortedArray[i]]);
- }
- decorated.sort(function (a, b) {
- var exprA = interpreter.visit(exprefNode, a[1]);
- var exprB = interpreter.visit(exprefNode, b[1]);
- if (that._getTypeName(exprA) !== requiredType) {
- throw new Error(
- "TypeError: expected " +
- requiredType +
- ", received " +
- that._getTypeName(exprA)
- );
- } else if (that._getTypeName(exprB) !== requiredType) {
- throw new Error(
- "TypeError: expected " +
- requiredType +
- ", received " +
- that._getTypeName(exprB)
- );
- }
- if (exprA > exprB) {
- return 1;
- } else if (exprA < exprB) {
- return -1;
- } else {
- // If they're equal compare the items by their
- // order to maintain relative order of equal keys
- // (i.e. to get a stable sort).
- return a[0] - b[0];
- }
- });
- // Undecorate: extract out the original list elements.
- for (var j = 0; j < decorated.length; j++) {
- sortedArray[j] = decorated[j][1];
- }
- return sortedArray;
- },
-
- _functionMaxBy: function (resolvedArgs) {
- var exprefNode = resolvedArgs[1];
- var resolvedArray = resolvedArgs[0];
- var keyFunction = this.createKeyFunction(exprefNode, [
- TYPE_NUMBER,
- TYPE_STRING,
- ]);
- var maxNumber = -Infinity;
- var maxRecord;
- var current;
- for (var i = 0; i < resolvedArray.length; i++) {
- current = keyFunction(resolvedArray[i]);
- if (current > maxNumber) {
- maxNumber = current;
- maxRecord = resolvedArray[i];
- }
- }
- return maxRecord;
- },
-
- _functionMinBy: function (resolvedArgs) {
- var exprefNode = resolvedArgs[1];
- var resolvedArray = resolvedArgs[0];
- var keyFunction = this.createKeyFunction(exprefNode, [
- TYPE_NUMBER,
- TYPE_STRING,
- ]);
- var minNumber = Infinity;
- var minRecord;
- var current;
- for (var i = 0; i < resolvedArray.length; i++) {
- current = keyFunction(resolvedArray[i]);
- if (current < minNumber) {
- minNumber = current;
- minRecord = resolvedArray[i];
- }
- }
- return minRecord;
- },
-
- createKeyFunction: function (exprefNode, allowedTypes) {
- var that = this;
- var interpreter = this._interpreter;
- var keyFunc = function (x) {
- var current = interpreter.visit(exprefNode, x);
- if (allowedTypes.indexOf(that._getTypeName(current)) < 0) {
- var msg =
- "TypeError: expected one of " +
- allowedTypes +
- ", received " +
- that._getTypeName(current);
- throw new Error(msg);
- }
- return current;
- };
- return keyFunc;
- },
- };
-
- function compile(stream) {
- var parser = new Parser();
- var ast = parser.parse(stream);
- return ast;
- }
-
- function tokenize(stream) {
- var lexer = new Lexer();
- return lexer.tokenize(stream);
- }
-
- function search(data, expression) {
- var parser = new Parser();
- // This needs to be improved. Both the interpreter and runtime depend on
- // each other. The runtime needs the interpreter to support exprefs.
- // There's likely a clean way to avoid the cyclic dependency.
- var runtime = new Runtime();
- var interpreter = new TreeInterpreter(runtime);
- runtime._interpreter = interpreter;
- var node = parser.parse(expression);
- return interpreter.search(node, data);
- }
-
- exports.tokenize = tokenize;
- exports.compile = compile;
- exports.search = search;
- exports.strictDeepEqual = strictDeepEqual;
- })(false ? undefined : exports);
-
- /***/
- },
-
- /***/ 2816: /***/ function (module) {
- module.exports = {
- pagination: {
- ListInvitations: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListMembers: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListNetworks: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListNodes: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListProposalVotes: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListProposals: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 2857: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2012-06-01",
- checksumFormat: "sha256",
- endpointPrefix: "glacier",
- protocol: "rest-json",
- serviceFullName: "Amazon Glacier",
- serviceId: "Glacier",
- signatureVersion: "v4",
- uid: "glacier-2012-06-01",
- },
- operations: {
- AbortMultipartUpload: {
- http: {
- method: "DELETE",
- requestUri:
- "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName", "uploadId"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- uploadId: { location: "uri", locationName: "uploadId" },
- },
- },
- },
- AbortVaultLock: {
- http: {
- method: "DELETE",
- requestUri: "/{accountId}/vaults/{vaultName}/lock-policy",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- },
- },
- },
- AddTagsToVault: {
- http: {
- requestUri: "/{accountId}/vaults/{vaultName}/tags?operation=add",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- Tags: { shape: "S5" },
- },
- },
- },
- CompleteMultipartUpload: {
- http: {
- requestUri:
- "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName", "uploadId"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- uploadId: { location: "uri", locationName: "uploadId" },
- archiveSize: {
- location: "header",
- locationName: "x-amz-archive-size",
- },
- checksum: {
- location: "header",
- locationName: "x-amz-sha256-tree-hash",
- },
- },
- },
- output: { shape: "S9" },
- },
- CompleteVaultLock: {
- http: {
- requestUri:
- "/{accountId}/vaults/{vaultName}/lock-policy/{lockId}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName", "lockId"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- lockId: { location: "uri", locationName: "lockId" },
- },
- },
- },
- CreateVault: {
- http: {
- method: "PUT",
- requestUri: "/{accountId}/vaults/{vaultName}",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- },
- },
- output: {
- type: "structure",
- members: {
- location: { location: "header", locationName: "Location" },
- },
- },
- },
- DeleteArchive: {
- http: {
- method: "DELETE",
- requestUri:
- "/{accountId}/vaults/{vaultName}/archives/{archiveId}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName", "archiveId"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- archiveId: { location: "uri", locationName: "archiveId" },
- },
- },
- },
- DeleteVault: {
- http: {
- method: "DELETE",
- requestUri: "/{accountId}/vaults/{vaultName}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- },
- },
- },
- DeleteVaultAccessPolicy: {
- http: {
- method: "DELETE",
- requestUri: "/{accountId}/vaults/{vaultName}/access-policy",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- },
- },
- },
- DeleteVaultNotifications: {
- http: {
- method: "DELETE",
- requestUri:
- "/{accountId}/vaults/{vaultName}/notification-configuration",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- },
- },
- },
- DescribeJob: {
- http: {
- method: "GET",
- requestUri: "/{accountId}/vaults/{vaultName}/jobs/{jobId}",
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName", "jobId"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- jobId: { location: "uri", locationName: "jobId" },
- },
- },
- output: { shape: "Si" },
- },
- DescribeVault: {
- http: {
- method: "GET",
- requestUri: "/{accountId}/vaults/{vaultName}",
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- },
- },
- output: { shape: "S1a" },
- },
- GetDataRetrievalPolicy: {
- http: {
- method: "GET",
- requestUri: "/{accountId}/policies/data-retrieval",
- },
- input: {
- type: "structure",
- required: ["accountId"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- },
- },
- output: {
- type: "structure",
- members: { Policy: { shape: "S1e" } },
- },
- },
- GetJobOutput: {
- http: {
- method: "GET",
- requestUri: "/{accountId}/vaults/{vaultName}/jobs/{jobId}/output",
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName", "jobId"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- jobId: { location: "uri", locationName: "jobId" },
- range: { location: "header", locationName: "Range" },
- },
- },
- output: {
- type: "structure",
- members: {
- body: { shape: "S1k" },
- checksum: {
- location: "header",
- locationName: "x-amz-sha256-tree-hash",
- },
- status: { location: "statusCode", type: "integer" },
- contentRange: {
- location: "header",
- locationName: "Content-Range",
- },
- acceptRanges: {
- location: "header",
- locationName: "Accept-Ranges",
- },
- contentType: {
- location: "header",
- locationName: "Content-Type",
- },
- archiveDescription: {
- location: "header",
- locationName: "x-amz-archive-description",
- },
- },
- payload: "body",
- },
- },
- GetVaultAccessPolicy: {
- http: {
- method: "GET",
- requestUri: "/{accountId}/vaults/{vaultName}/access-policy",
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- },
- },
- output: {
- type: "structure",
- members: { policy: { shape: "S1o" } },
- payload: "policy",
- },
- },
- GetVaultLock: {
- http: {
- method: "GET",
- requestUri: "/{accountId}/vaults/{vaultName}/lock-policy",
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- },
- },
- output: {
- type: "structure",
- members: {
- Policy: {},
- State: {},
- ExpirationDate: {},
- CreationDate: {},
- },
- },
- },
- GetVaultNotifications: {
- http: {
- method: "GET",
- requestUri:
- "/{accountId}/vaults/{vaultName}/notification-configuration",
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- },
- },
- output: {
- type: "structure",
- members: { vaultNotificationConfig: { shape: "S1t" } },
- payload: "vaultNotificationConfig",
- },
- },
- InitiateJob: {
- http: {
- requestUri: "/{accountId}/vaults/{vaultName}/jobs",
- responseCode: 202,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- jobParameters: {
- type: "structure",
- members: {
- Format: {},
- Type: {},
- ArchiveId: {},
- Description: {},
- SNSTopic: {},
- RetrievalByteRange: {},
- Tier: {},
- InventoryRetrievalParameters: {
- type: "structure",
- members: {
- StartDate: {},
- EndDate: {},
- Limit: {},
- Marker: {},
- },
- },
- SelectParameters: { shape: "Sp" },
- OutputLocation: { shape: "Sx" },
- },
- },
- },
- payload: "jobParameters",
- },
- output: {
- type: "structure",
- members: {
- location: { location: "header", locationName: "Location" },
- jobId: { location: "header", locationName: "x-amz-job-id" },
- jobOutputPath: {
- location: "header",
- locationName: "x-amz-job-output-path",
- },
- },
- },
- },
- InitiateMultipartUpload: {
- http: {
- requestUri: "/{accountId}/vaults/{vaultName}/multipart-uploads",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- archiveDescription: {
- location: "header",
- locationName: "x-amz-archive-description",
- },
- partSize: {
- location: "header",
- locationName: "x-amz-part-size",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- location: { location: "header", locationName: "Location" },
- uploadId: {
- location: "header",
- locationName: "x-amz-multipart-upload-id",
- },
- },
- },
- },
- InitiateVaultLock: {
- http: {
- requestUri: "/{accountId}/vaults/{vaultName}/lock-policy",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- policy: { type: "structure", members: { Policy: {} } },
- },
- payload: "policy",
- },
- output: {
- type: "structure",
- members: {
- lockId: { location: "header", locationName: "x-amz-lock-id" },
- },
- },
- },
- ListJobs: {
- http: {
- method: "GET",
- requestUri: "/{accountId}/vaults/{vaultName}/jobs",
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- limit: { location: "querystring", locationName: "limit" },
- marker: { location: "querystring", locationName: "marker" },
- statuscode: {
- location: "querystring",
- locationName: "statuscode",
- },
- completed: {
- location: "querystring",
- locationName: "completed",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- JobList: { type: "list", member: { shape: "Si" } },
- Marker: {},
- },
- },
- },
- ListMultipartUploads: {
- http: {
- method: "GET",
- requestUri: "/{accountId}/vaults/{vaultName}/multipart-uploads",
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- marker: { location: "querystring", locationName: "marker" },
- limit: { location: "querystring", locationName: "limit" },
- },
- },
- output: {
- type: "structure",
- members: {
- UploadsList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- MultipartUploadId: {},
- VaultARN: {},
- ArchiveDescription: {},
- PartSizeInBytes: { type: "long" },
- CreationDate: {},
- },
- },
- },
- Marker: {},
- },
- },
- },
- ListParts: {
- http: {
- method: "GET",
- requestUri:
- "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}",
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName", "uploadId"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- uploadId: { location: "uri", locationName: "uploadId" },
- marker: { location: "querystring", locationName: "marker" },
- limit: { location: "querystring", locationName: "limit" },
- },
- },
- output: {
- type: "structure",
- members: {
- MultipartUploadId: {},
- VaultARN: {},
- ArchiveDescription: {},
- PartSizeInBytes: { type: "long" },
- CreationDate: {},
- Parts: {
- type: "list",
- member: {
- type: "structure",
- members: { RangeInBytes: {}, SHA256TreeHash: {} },
- },
- },
- Marker: {},
- },
- },
- },
- ListProvisionedCapacity: {
- http: {
- method: "GET",
- requestUri: "/{accountId}/provisioned-capacity",
- },
- input: {
- type: "structure",
- required: ["accountId"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- },
- },
- output: {
- type: "structure",
- members: {
- ProvisionedCapacityList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CapacityId: {},
- StartDate: {},
- ExpirationDate: {},
- },
- },
- },
- },
- },
- },
- ListTagsForVault: {
- http: {
- method: "GET",
- requestUri: "/{accountId}/vaults/{vaultName}/tags",
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- },
- },
- output: { type: "structure", members: { Tags: { shape: "S5" } } },
- },
- ListVaults: {
- http: { method: "GET", requestUri: "/{accountId}/vaults" },
- input: {
- type: "structure",
- required: ["accountId"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- marker: { location: "querystring", locationName: "marker" },
- limit: { location: "querystring", locationName: "limit" },
- },
- },
- output: {
- type: "structure",
- members: {
- VaultList: { type: "list", member: { shape: "S1a" } },
- Marker: {},
- },
- },
- },
- PurchaseProvisionedCapacity: {
- http: {
- requestUri: "/{accountId}/provisioned-capacity",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["accountId"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- },
- },
- output: {
- type: "structure",
- members: {
- capacityId: {
- location: "header",
- locationName: "x-amz-capacity-id",
- },
- },
- },
- },
- RemoveTagsFromVault: {
- http: {
- requestUri:
- "/{accountId}/vaults/{vaultName}/tags?operation=remove",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- TagKeys: { type: "list", member: {} },
- },
- },
- },
- SetDataRetrievalPolicy: {
- http: {
- method: "PUT",
- requestUri: "/{accountId}/policies/data-retrieval",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["accountId"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- Policy: { shape: "S1e" },
- },
- },
- },
- SetVaultAccessPolicy: {
- http: {
- method: "PUT",
- requestUri: "/{accountId}/vaults/{vaultName}/access-policy",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- policy: { shape: "S1o" },
- },
- payload: "policy",
- },
- },
- SetVaultNotifications: {
- http: {
- method: "PUT",
- requestUri:
- "/{accountId}/vaults/{vaultName}/notification-configuration",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- vaultNotificationConfig: { shape: "S1t" },
- },
- payload: "vaultNotificationConfig",
- },
- },
- UploadArchive: {
- http: {
- requestUri: "/{accountId}/vaults/{vaultName}/archives",
- responseCode: 201,
- },
- input: {
- type: "structure",
- required: ["vaultName", "accountId"],
- members: {
- vaultName: { location: "uri", locationName: "vaultName" },
- accountId: { location: "uri", locationName: "accountId" },
- archiveDescription: {
- location: "header",
- locationName: "x-amz-archive-description",
- },
- checksum: {
- location: "header",
- locationName: "x-amz-sha256-tree-hash",
- },
- body: { shape: "S1k" },
- },
- payload: "body",
- },
- output: { shape: "S9" },
- },
- UploadMultipartPart: {
- http: {
- method: "PUT",
- requestUri:
- "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- required: ["accountId", "vaultName", "uploadId"],
- members: {
- accountId: { location: "uri", locationName: "accountId" },
- vaultName: { location: "uri", locationName: "vaultName" },
- uploadId: { location: "uri", locationName: "uploadId" },
- checksum: {
- location: "header",
- locationName: "x-amz-sha256-tree-hash",
- },
- range: { location: "header", locationName: "Content-Range" },
- body: { shape: "S1k" },
- },
- payload: "body",
- },
- output: {
- type: "structure",
- members: {
- checksum: {
- location: "header",
- locationName: "x-amz-sha256-tree-hash",
- },
- },
- },
- },
- },
- shapes: {
- S5: { type: "map", key: {}, value: {} },
- S9: {
- type: "structure",
- members: {
- location: { location: "header", locationName: "Location" },
- checksum: {
- location: "header",
- locationName: "x-amz-sha256-tree-hash",
- },
- archiveId: {
- location: "header",
- locationName: "x-amz-archive-id",
- },
- },
- },
- Si: {
- type: "structure",
- members: {
- JobId: {},
- JobDescription: {},
- Action: {},
- ArchiveId: {},
- VaultARN: {},
- CreationDate: {},
- Completed: { type: "boolean" },
- StatusCode: {},
- StatusMessage: {},
- ArchiveSizeInBytes: { type: "long" },
- InventorySizeInBytes: { type: "long" },
- SNSTopic: {},
- CompletionDate: {},
- SHA256TreeHash: {},
- ArchiveSHA256TreeHash: {},
- RetrievalByteRange: {},
- Tier: {},
- InventoryRetrievalParameters: {
- type: "structure",
- members: {
- Format: {},
- StartDate: {},
- EndDate: {},
- Limit: {},
- Marker: {},
- },
- },
- JobOutputPath: {},
- SelectParameters: { shape: "Sp" },
- OutputLocation: { shape: "Sx" },
- },
- },
- Sp: {
- type: "structure",
- members: {
- InputSerialization: {
- type: "structure",
- members: {
- csv: {
- type: "structure",
- members: {
- FileHeaderInfo: {},
- Comments: {},
- QuoteEscapeCharacter: {},
- RecordDelimiter: {},
- FieldDelimiter: {},
- QuoteCharacter: {},
- },
- },
- },
- },
- ExpressionType: {},
- Expression: {},
- OutputSerialization: {
- type: "structure",
- members: {
- csv: {
- type: "structure",
- members: {
- QuoteFields: {},
- QuoteEscapeCharacter: {},
- RecordDelimiter: {},
- FieldDelimiter: {},
- QuoteCharacter: {},
- },
- },
- },
- },
- },
- },
- Sx: {
- type: "structure",
- members: {
- S3: {
- type: "structure",
- members: {
- BucketName: {},
- Prefix: {},
- Encryption: {
- type: "structure",
- members: {
- EncryptionType: {},
- KMSKeyId: {},
- KMSContext: {},
- },
- },
- CannedACL: {},
- AccessControlList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Grantee: {
- type: "structure",
- required: ["Type"],
- members: {
- Type: {},
- DisplayName: {},
- URI: {},
- ID: {},
- EmailAddress: {},
- },
- },
- Permission: {},
- },
- },
- },
- Tagging: { shape: "S17" },
- UserMetadata: { shape: "S17" },
- StorageClass: {},
- },
- },
- },
- },
- S17: { type: "map", key: {}, value: {} },
- S1a: {
- type: "structure",
- members: {
- VaultARN: {},
- VaultName: {},
- CreationDate: {},
- LastInventoryDate: {},
- NumberOfArchives: { type: "long" },
- SizeInBytes: { type: "long" },
- },
- },
- S1e: {
- type: "structure",
- members: {
- Rules: {
- type: "list",
- member: {
- type: "structure",
- members: { Strategy: {}, BytesPerHour: { type: "long" } },
- },
- },
- },
- },
- S1k: { type: "blob", streaming: true },
- S1o: { type: "structure", members: { Policy: {} } },
- S1t: {
- type: "structure",
- members: { SNSTopic: {}, Events: { type: "list", member: {} } },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2862: /***/ function (module) {
- module.exports = {
- pagination: {
- ListEventSources: {
- input_token: "Marker",
- output_token: "NextMarker",
- limit_key: "MaxItems",
- result_key: "EventSources",
- },
- ListFunctions: {
- input_token: "Marker",
- output_token: "NextMarker",
- limit_key: "MaxItems",
- result_key: "Functions",
- },
- },
- };
-
- /***/
- },
-
- /***/ 2866: /***/ function (module, __unusedexports, __webpack_require__) {
- "use strict";
-
- var shebangRegex = __webpack_require__(4816);
-
- module.exports = function (str) {
- var match = str.match(shebangRegex);
-
- if (!match) {
- return null;
- }
-
- var arr = match[0].replace(/#! ?/, "").split(" ");
- var bin = arr[0].split("/").pop();
- var arg = arr[1];
-
- return bin === "env" ? arg : bin + (arg ? " " + arg : "");
- };
-
- /***/
- },
-
- /***/ 2873: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
-
- /**
- * @api private
- */
- var blobPayloadOutputOps = [
- "deleteThingShadow",
- "getThingShadow",
- "updateThingShadow",
- ];
-
- /**
- * Constructs a service interface object. Each API operation is exposed as a
- * function on service.
- *
- * ### Sending a Request Using IotData
- *
- * ```javascript
- * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'});
- * iotdata.getThingShadow(params, function (err, data) {
- * if (err) console.log(err, err.stack); // an error occurred
- * else console.log(data); // successful response
- * });
- * ```
- *
- * ### Locking the API Version
- *
- * In order to ensure that the IotData object uses this specific API,
- * you can construct the object by passing the `apiVersion` option to the
- * constructor:
- *
- * ```javascript
- * var iotdata = new AWS.IotData({
- * endpoint: 'my.host.tld',
- * apiVersion: '2015-05-28'
- * });
- * ```
- *
- * You can also set the API version globally in `AWS.config.apiVersions` using
- * the **iotdata** service identifier:
- *
- * ```javascript
- * AWS.config.apiVersions = {
- * iotdata: '2015-05-28',
- * // other service API versions
- * };
- *
- * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'});
- * ```
- *
- * @note You *must* provide an `endpoint` configuration parameter when
- * constructing this service. See {constructor} for more information.
- *
- * @!method constructor(options = {})
- * Constructs a service object. This object has one method for each
- * API operation.
- *
- * @example Constructing a IotData object
- * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'});
- * @note You *must* provide an `endpoint` when constructing this service.
- * @option (see AWS.Config.constructor)
- *
- * @service iotdata
- * @version 2015-05-28
- */
- AWS.util.update(AWS.IotData.prototype, {
- /**
- * @api private
- */
- validateService: function validateService() {
- if (!this.config.endpoint || this.config.endpoint.indexOf("{") >= 0) {
- var msg =
- "AWS.IotData requires an explicit " +
- "`endpoint' configuration option.";
- throw AWS.util.error(new Error(), {
- name: "InvalidEndpoint",
- message: msg,
- });
- }
- },
-
- /**
- * @api private
- */
- setupRequestListeners: function setupRequestListeners(request) {
- request.addListener("validateResponse", this.validateResponseBody);
- if (blobPayloadOutputOps.indexOf(request.operation) > -1) {
- request.addListener("extractData", AWS.util.convertPayloadToString);
- }
- },
-
- /**
- * @api private
- */
- validateResponseBody: function validateResponseBody(resp) {
- var body = resp.httpResponse.body.toString() || "{}";
- var bodyCheck = body.trim();
- if (!bodyCheck || bodyCheck.charAt(0) !== "{") {
- resp.httpResponse.body = "";
- }
- },
- });
-
- /***/
- },
-
- /***/ 2881: /***/ function (module) {
- "use strict";
-
- const isWin = process.platform === "win32";
-
- function notFoundError(original, syscall) {
- return Object.assign(
- new Error(`${syscall} ${original.command} ENOENT`),
- {
- code: "ENOENT",
- errno: "ENOENT",
- syscall: `${syscall} ${original.command}`,
- path: original.command,
- spawnargs: original.args,
- }
- );
- }
-
- function hookChildProcess(cp, parsed) {
- if (!isWin) {
- return;
- }
-
- const originalEmit = cp.emit;
-
- cp.emit = function (name, arg1) {
- // If emitting "exit" event and exit code is 1, we need to check if
- // the command exists and emit an "error" instead
- // See https://github.com/IndigoUnited/node-cross-spawn/issues/16
- if (name === "exit") {
- const err = verifyENOENT(arg1, parsed, "spawn");
-
- if (err) {
- return originalEmit.call(cp, "error", err);
- }
- }
-
- return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params
- };
- }
-
- function verifyENOENT(status, parsed) {
- if (isWin && status === 1 && !parsed.file) {
- return notFoundError(parsed.original, "spawn");
- }
-
- return null;
- }
-
- function verifyENOENTSync(status, parsed) {
- if (isWin && status === 1 && !parsed.file) {
- return notFoundError(parsed.original, "spawnSync");
- }
-
- return null;
- }
-
- module.exports = {
- hookChildProcess,
- verifyENOENT,
- verifyENOENTSync,
- notFoundError,
- };
-
- /***/
- },
-
- /***/ 2883: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5948);
- model.paginators = __webpack_require__(9836).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.SSM;
-
- /***/
- },
-
- /***/ 2884: /***/ function (module) {
- // Generated by CoffeeScript 1.12.7
- (function () {
- var XMLAttribute;
-
- module.exports = XMLAttribute = (function () {
- function XMLAttribute(parent, name, value) {
- this.options = parent.options;
- this.stringify = parent.stringify;
- if (name == null) {
- throw new Error(
- "Missing attribute name of element " + parent.name
- );
- }
- if (value == null) {
- throw new Error(
- "Missing attribute value for attribute " +
- name +
- " of element " +
- parent.name
- );
- }
- this.name = this.stringify.attName(name);
- this.value = this.stringify.attValue(value);
- }
-
- XMLAttribute.prototype.clone = function () {
- return Object.create(this);
- };
-
- XMLAttribute.prototype.toString = function (options) {
- return this.options.writer.set(options).attribute(this);
- };
-
- return XMLAttribute;
- })();
- }.call(this));
-
- /***/
- },
-
- /***/ 2904: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeDBEngineVersions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBEngineVersions",
- },
- DescribeDBInstances: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBInstances",
- },
- DescribeDBParameterGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBParameterGroups",
- },
- DescribeDBParameters: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "Parameters",
- },
- DescribeDBSecurityGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBSecurityGroups",
- },
- DescribeDBSnapshots: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBSnapshots",
- },
- DescribeDBSubnetGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBSubnetGroups",
- },
- DescribeEngineDefaultParameters: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "EngineDefaults.Marker",
- result_key: "EngineDefaults.Parameters",
- },
- DescribeEventSubscriptions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "EventSubscriptionsList",
- },
- DescribeEvents: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "Events",
- },
- DescribeOptionGroupOptions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "OptionGroupOptions",
- },
- DescribeOptionGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "OptionGroupsList",
- },
- DescribeOrderableDBInstanceOptions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "OrderableDBInstanceOptions",
- },
- DescribeReservedDBInstances: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "ReservedDBInstances",
- },
- DescribeReservedDBInstancesOfferings: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "ReservedDBInstancesOfferings",
- },
- ListTagsForResource: { result_key: "TagList" },
- },
- };
-
- /***/
- },
-
- /***/ 2906: /***/ function (module, __unusedexports, __webpack_require__) {
- var AWS = __webpack_require__(395);
- var inherit = AWS.util.inherit;
-
- /**
- * @api private
- */
- AWS.Signers.V2 = inherit(AWS.Signers.RequestSigner, {
- addAuthorization: function addAuthorization(credentials, date) {
- if (!date) date = AWS.util.date.getDate();
-
- var r = this.request;
-
- r.params.Timestamp = AWS.util.date.iso8601(date);
- r.params.SignatureVersion = "2";
- r.params.SignatureMethod = "HmacSHA256";
- r.params.AWSAccessKeyId = credentials.accessKeyId;
-
- if (credentials.sessionToken) {
- r.params.SecurityToken = credentials.sessionToken;
- }
-
- delete r.params.Signature; // delete old Signature for re-signing
- r.params.Signature = this.signature(credentials);
-
- r.body = AWS.util.queryParamsToString(r.params);
- r.headers["Content-Length"] = r.body.length;
- },
-
- signature: function signature(credentials) {
- return AWS.util.crypto.hmac(
- credentials.secretAccessKey,
- this.stringToSign(),
- "base64"
- );
- },
-
- stringToSign: function stringToSign() {
- var parts = [];
- parts.push(this.request.method);
- parts.push(this.request.endpoint.host.toLowerCase());
- parts.push(this.request.pathname());
- parts.push(AWS.util.queryParamsToString(this.request.params));
- return parts.join("\n");
- },
- });
-
- /**
- * @api private
- */
- module.exports = AWS.Signers.V2;
-
- /***/
- },
-
- /***/ 2907: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-07-25",
- endpointPrefix: "amplify",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "Amplify",
- serviceFullName: "AWS Amplify",
- serviceId: "Amplify",
- signatureVersion: "v4",
- signingName: "amplify",
- uid: "amplify-2017-07-25",
- },
- operations: {
- CreateApp: {
- http: { requestUri: "/apps" },
- input: {
- type: "structure",
- required: ["name"],
- members: {
- name: {},
- description: {},
- repository: {},
- platform: {},
- iamServiceRoleArn: {},
- oauthToken: {},
- accessToken: {},
- environmentVariables: { shape: "S9" },
- enableBranchAutoBuild: { type: "boolean" },
- enableBasicAuth: { type: "boolean" },
- basicAuthCredentials: {},
- customRules: { shape: "Sf" },
- tags: { shape: "Sl" },
- buildSpec: {},
- enableAutoBranchCreation: { type: "boolean" },
- autoBranchCreationPatterns: { shape: "Sq" },
- autoBranchCreationConfig: { shape: "Ss" },
- },
- },
- output: {
- type: "structure",
- required: ["app"],
- members: { app: { shape: "Sz" } },
- },
- },
- CreateBackendEnvironment: {
- http: { requestUri: "/apps/{appId}/backendenvironments" },
- input: {
- type: "structure",
- required: ["appId", "environmentName"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- environmentName: {},
- stackName: {},
- deploymentArtifacts: {},
- },
- },
- output: {
- type: "structure",
- required: ["backendEnvironment"],
- members: { backendEnvironment: { shape: "S1e" } },
- },
- },
- CreateBranch: {
- http: { requestUri: "/apps/{appId}/branches" },
- input: {
- type: "structure",
- required: ["appId", "branchName"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- branchName: {},
- description: {},
- stage: {},
- framework: {},
- enableNotification: { type: "boolean" },
- enableAutoBuild: { type: "boolean" },
- environmentVariables: { shape: "S9" },
- basicAuthCredentials: {},
- enableBasicAuth: { type: "boolean" },
- tags: { shape: "Sl" },
- buildSpec: {},
- ttl: {},
- displayName: {},
- enablePullRequestPreview: { type: "boolean" },
- pullRequestEnvironmentName: {},
- backendEnvironmentArn: {},
- },
- },
- output: {
- type: "structure",
- required: ["branch"],
- members: { branch: { shape: "S1l" } },
- },
- },
- CreateDeployment: {
- http: {
- requestUri: "/apps/{appId}/branches/{branchName}/deployments",
- },
- input: {
- type: "structure",
- required: ["appId", "branchName"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- branchName: { location: "uri", locationName: "branchName" },
- fileMap: { type: "map", key: {}, value: {} },
- },
- },
- output: {
- type: "structure",
- required: ["fileUploadUrls", "zipUploadUrl"],
- members: {
- jobId: {},
- fileUploadUrls: { type: "map", key: {}, value: {} },
- zipUploadUrl: {},
- },
- },
- },
- CreateDomainAssociation: {
- http: { requestUri: "/apps/{appId}/domains" },
- input: {
- type: "structure",
- required: ["appId", "domainName", "subDomainSettings"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- domainName: {},
- enableAutoSubDomain: { type: "boolean" },
- subDomainSettings: { shape: "S24" },
- },
- },
- output: {
- type: "structure",
- required: ["domainAssociation"],
- members: { domainAssociation: { shape: "S28" } },
- },
- },
- CreateWebhook: {
- http: { requestUri: "/apps/{appId}/webhooks" },
- input: {
- type: "structure",
- required: ["appId", "branchName"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- branchName: {},
- description: {},
- },
- },
- output: {
- type: "structure",
- required: ["webhook"],
- members: { webhook: { shape: "S2j" } },
- },
- },
- DeleteApp: {
- http: { method: "DELETE", requestUri: "/apps/{appId}" },
- input: {
- type: "structure",
- required: ["appId"],
- members: { appId: { location: "uri", locationName: "appId" } },
- },
- output: {
- type: "structure",
- required: ["app"],
- members: { app: { shape: "Sz" } },
- },
- },
- DeleteBackendEnvironment: {
- http: {
- method: "DELETE",
- requestUri: "/apps/{appId}/backendenvironments/{environmentName}",
- },
- input: {
- type: "structure",
- required: ["appId", "environmentName"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- environmentName: {
- location: "uri",
- locationName: "environmentName",
- },
- },
- },
- output: {
- type: "structure",
- required: ["backendEnvironment"],
- members: { backendEnvironment: { shape: "S1e" } },
- },
- },
- DeleteBranch: {
- http: {
- method: "DELETE",
- requestUri: "/apps/{appId}/branches/{branchName}",
- },
- input: {
- type: "structure",
- required: ["appId", "branchName"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- branchName: { location: "uri", locationName: "branchName" },
- },
- },
- output: {
- type: "structure",
- required: ["branch"],
- members: { branch: { shape: "S1l" } },
- },
- },
- DeleteDomainAssociation: {
- http: {
- method: "DELETE",
- requestUri: "/apps/{appId}/domains/{domainName}",
- },
- input: {
- type: "structure",
- required: ["appId", "domainName"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- domainName: { location: "uri", locationName: "domainName" },
- },
- },
- output: {
- type: "structure",
- required: ["domainAssociation"],
- members: { domainAssociation: { shape: "S28" } },
- },
- },
- DeleteJob: {
- http: {
- method: "DELETE",
- requestUri: "/apps/{appId}/branches/{branchName}/jobs/{jobId}",
- },
- input: {
- type: "structure",
- required: ["appId", "branchName", "jobId"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- branchName: { location: "uri", locationName: "branchName" },
- jobId: { location: "uri", locationName: "jobId" },
- },
- },
- output: {
- type: "structure",
- required: ["jobSummary"],
- members: { jobSummary: { shape: "S2x" } },
- },
- },
- DeleteWebhook: {
- http: { method: "DELETE", requestUri: "/webhooks/{webhookId}" },
- input: {
- type: "structure",
- required: ["webhookId"],
- members: {
- webhookId: { location: "uri", locationName: "webhookId" },
- },
- },
- output: {
- type: "structure",
- required: ["webhook"],
- members: { webhook: { shape: "S2j" } },
- },
- },
- GenerateAccessLogs: {
- http: { requestUri: "/apps/{appId}/accesslogs" },
- input: {
- type: "structure",
- required: ["domainName", "appId"],
- members: {
- startTime: { type: "timestamp" },
- endTime: { type: "timestamp" },
- domainName: {},
- appId: { location: "uri", locationName: "appId" },
- },
- },
- output: { type: "structure", members: { logUrl: {} } },
- },
- GetApp: {
- http: { method: "GET", requestUri: "/apps/{appId}" },
- input: {
- type: "structure",
- required: ["appId"],
- members: { appId: { location: "uri", locationName: "appId" } },
- },
- output: {
- type: "structure",
- required: ["app"],
- members: { app: { shape: "Sz" } },
- },
- },
- GetArtifactUrl: {
- http: { method: "GET", requestUri: "/artifacts/{artifactId}" },
- input: {
- type: "structure",
- required: ["artifactId"],
- members: {
- artifactId: { location: "uri", locationName: "artifactId" },
- },
- },
- output: {
- type: "structure",
- required: ["artifactId", "artifactUrl"],
- members: { artifactId: {}, artifactUrl: {} },
- },
- },
- GetBackendEnvironment: {
- http: {
- method: "GET",
- requestUri: "/apps/{appId}/backendenvironments/{environmentName}",
- },
- input: {
- type: "structure",
- required: ["appId", "environmentName"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- environmentName: {
- location: "uri",
- locationName: "environmentName",
- },
- },
- },
- output: {
- type: "structure",
- required: ["backendEnvironment"],
- members: { backendEnvironment: { shape: "S1e" } },
- },
- },
- GetBranch: {
- http: {
- method: "GET",
- requestUri: "/apps/{appId}/branches/{branchName}",
- },
- input: {
- type: "structure",
- required: ["appId", "branchName"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- branchName: { location: "uri", locationName: "branchName" },
- },
- },
- output: {
- type: "structure",
- required: ["branch"],
- members: { branch: { shape: "S1l" } },
- },
- },
- GetDomainAssociation: {
- http: {
- method: "GET",
- requestUri: "/apps/{appId}/domains/{domainName}",
- },
- input: {
- type: "structure",
- required: ["appId", "domainName"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- domainName: { location: "uri", locationName: "domainName" },
- },
- },
- output: {
- type: "structure",
- required: ["domainAssociation"],
- members: { domainAssociation: { shape: "S28" } },
- },
- },
- GetJob: {
- http: {
- method: "GET",
- requestUri: "/apps/{appId}/branches/{branchName}/jobs/{jobId}",
- },
- input: {
- type: "structure",
- required: ["appId", "branchName", "jobId"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- branchName: { location: "uri", locationName: "branchName" },
- jobId: { location: "uri", locationName: "jobId" },
- },
- },
- output: {
- type: "structure",
- required: ["job"],
- members: {
- job: {
- type: "structure",
- required: ["summary", "steps"],
- members: {
- summary: { shape: "S2x" },
- steps: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "stepName",
- "startTime",
- "status",
- "endTime",
- ],
- members: {
- stepName: {},
- startTime: { type: "timestamp" },
- status: {},
- endTime: { type: "timestamp" },
- logUrl: {},
- artifactsUrl: {},
- testArtifactsUrl: {},
- testConfigUrl: {},
- screenshots: { type: "map", key: {}, value: {} },
- statusReason: {},
- context: {},
- },
- },
- },
- },
- },
- },
- },
- },
- GetWebhook: {
- http: { method: "GET", requestUri: "/webhooks/{webhookId}" },
- input: {
- type: "structure",
- required: ["webhookId"],
- members: {
- webhookId: { location: "uri", locationName: "webhookId" },
- },
- },
- output: {
- type: "structure",
- required: ["webhook"],
- members: { webhook: { shape: "S2j" } },
- },
- },
- ListApps: {
- http: { method: "GET", requestUri: "/apps" },
- input: {
- type: "structure",
- members: {
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- required: ["apps"],
- members: {
- apps: { type: "list", member: { shape: "Sz" } },
- nextToken: {},
- },
- },
- },
- ListArtifacts: {
- http: {
- method: "GET",
- requestUri:
- "/apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts",
- },
- input: {
- type: "structure",
- required: ["appId", "branchName", "jobId"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- branchName: { location: "uri", locationName: "branchName" },
- jobId: { location: "uri", locationName: "jobId" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- required: ["artifacts"],
- members: {
- artifacts: {
- type: "list",
- member: {
- type: "structure",
- required: ["artifactFileName", "artifactId"],
- members: { artifactFileName: {}, artifactId: {} },
- },
- },
- nextToken: {},
- },
- },
- },
- ListBackendEnvironments: {
- http: {
- method: "GET",
- requestUri: "/apps/{appId}/backendenvironments",
- },
- input: {
- type: "structure",
- required: ["appId"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- environmentName: {},
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- required: ["backendEnvironments"],
- members: {
- backendEnvironments: { type: "list", member: { shape: "S1e" } },
- nextToken: {},
- },
- },
- },
- ListBranches: {
- http: { method: "GET", requestUri: "/apps/{appId}/branches" },
- input: {
- type: "structure",
- required: ["appId"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- required: ["branches"],
- members: {
- branches: { type: "list", member: { shape: "S1l" } },
- nextToken: {},
- },
- },
- },
- ListDomainAssociations: {
- http: { method: "GET", requestUri: "/apps/{appId}/domains" },
- input: {
- type: "structure",
- required: ["appId"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- required: ["domainAssociations"],
- members: {
- domainAssociations: { type: "list", member: { shape: "S28" } },
- nextToken: {},
- },
- },
- },
- ListJobs: {
- http: {
- method: "GET",
- requestUri: "/apps/{appId}/branches/{branchName}/jobs",
- },
- input: {
- type: "structure",
- required: ["appId", "branchName"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- branchName: { location: "uri", locationName: "branchName" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- required: ["jobSummaries"],
- members: {
- jobSummaries: { type: "list", member: { shape: "S2x" } },
- nextToken: {},
- },
- },
- },
- ListTagsForResource: {
- http: { method: "GET", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- },
- },
- output: { type: "structure", members: { tags: { shape: "Sl" } } },
- },
- ListWebhooks: {
- http: { method: "GET", requestUri: "/apps/{appId}/webhooks" },
- input: {
- type: "structure",
- required: ["appId"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- required: ["webhooks"],
- members: {
- webhooks: { type: "list", member: { shape: "S2j" } },
- nextToken: {},
- },
- },
- },
- StartDeployment: {
- http: {
- requestUri:
- "/apps/{appId}/branches/{branchName}/deployments/start",
- },
- input: {
- type: "structure",
- required: ["appId", "branchName"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- branchName: { location: "uri", locationName: "branchName" },
- jobId: {},
- sourceUrl: {},
- },
- },
- output: {
- type: "structure",
- required: ["jobSummary"],
- members: { jobSummary: { shape: "S2x" } },
- },
- },
- StartJob: {
- http: { requestUri: "/apps/{appId}/branches/{branchName}/jobs" },
- input: {
- type: "structure",
- required: ["appId", "branchName", "jobType"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- branchName: { location: "uri", locationName: "branchName" },
- jobId: {},
- jobType: {},
- jobReason: {},
- commitId: {},
- commitMessage: {},
- commitTime: { type: "timestamp" },
- },
- },
- output: {
- type: "structure",
- required: ["jobSummary"],
- members: { jobSummary: { shape: "S2x" } },
- },
- },
- StopJob: {
- http: {
- method: "DELETE",
- requestUri:
- "/apps/{appId}/branches/{branchName}/jobs/{jobId}/stop",
- },
- input: {
- type: "structure",
- required: ["appId", "branchName", "jobId"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- branchName: { location: "uri", locationName: "branchName" },
- jobId: { location: "uri", locationName: "jobId" },
- },
- },
- output: {
- type: "structure",
- required: ["jobSummary"],
- members: { jobSummary: { shape: "S2x" } },
- },
- },
- TagResource: {
- http: { requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn", "tags"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tags: { shape: "Sl" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- http: { method: "DELETE", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn", "tagKeys"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tagKeys: {
- location: "querystring",
- locationName: "tagKeys",
- type: "list",
- member: {},
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateApp: {
- http: { requestUri: "/apps/{appId}" },
- input: {
- type: "structure",
- required: ["appId"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- name: {},
- description: {},
- platform: {},
- iamServiceRoleArn: {},
- environmentVariables: { shape: "S9" },
- enableBranchAutoBuild: { type: "boolean" },
- enableBasicAuth: { type: "boolean" },
- basicAuthCredentials: {},
- customRules: { shape: "Sf" },
- buildSpec: {},
- enableAutoBranchCreation: { type: "boolean" },
- autoBranchCreationPatterns: { shape: "Sq" },
- autoBranchCreationConfig: { shape: "Ss" },
- repository: {},
- oauthToken: {},
- accessToken: {},
- },
- },
- output: {
- type: "structure",
- required: ["app"],
- members: { app: { shape: "Sz" } },
- },
- },
- UpdateBranch: {
- http: { requestUri: "/apps/{appId}/branches/{branchName}" },
- input: {
- type: "structure",
- required: ["appId", "branchName"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- branchName: { location: "uri", locationName: "branchName" },
- description: {},
- framework: {},
- stage: {},
- enableNotification: { type: "boolean" },
- enableAutoBuild: { type: "boolean" },
- environmentVariables: { shape: "S9" },
- basicAuthCredentials: {},
- enableBasicAuth: { type: "boolean" },
- buildSpec: {},
- ttl: {},
- displayName: {},
- enablePullRequestPreview: { type: "boolean" },
- pullRequestEnvironmentName: {},
- backendEnvironmentArn: {},
- },
- },
- output: {
- type: "structure",
- required: ["branch"],
- members: { branch: { shape: "S1l" } },
- },
- },
- UpdateDomainAssociation: {
- http: { requestUri: "/apps/{appId}/domains/{domainName}" },
- input: {
- type: "structure",
- required: ["appId", "domainName", "subDomainSettings"],
- members: {
- appId: { location: "uri", locationName: "appId" },
- domainName: { location: "uri", locationName: "domainName" },
- enableAutoSubDomain: { type: "boolean" },
- subDomainSettings: { shape: "S24" },
- },
- },
- output: {
- type: "structure",
- required: ["domainAssociation"],
- members: { domainAssociation: { shape: "S28" } },
- },
- },
- UpdateWebhook: {
- http: { requestUri: "/webhooks/{webhookId}" },
- input: {
- type: "structure",
- required: ["webhookId"],
- members: {
- webhookId: { location: "uri", locationName: "webhookId" },
- branchName: {},
- description: {},
- },
- },
- output: {
- type: "structure",
- required: ["webhook"],
- members: { webhook: { shape: "S2j" } },
- },
- },
- },
- shapes: {
- S9: { type: "map", key: {}, value: {} },
- Sf: {
- type: "list",
- member: {
- type: "structure",
- required: ["source", "target"],
- members: { source: {}, target: {}, status: {}, condition: {} },
- },
- },
- Sl: { type: "map", key: {}, value: {} },
- Sq: { type: "list", member: {} },
- Ss: {
- type: "structure",
- members: {
- stage: {},
- framework: {},
- enableAutoBuild: { type: "boolean" },
- environmentVariables: { shape: "S9" },
- basicAuthCredentials: {},
- enableBasicAuth: { type: "boolean" },
- buildSpec: {},
- enablePullRequestPreview: { type: "boolean" },
- pullRequestEnvironmentName: {},
- },
- },
- Sz: {
- type: "structure",
- required: [
- "appId",
- "appArn",
- "name",
- "description",
- "repository",
- "platform",
- "createTime",
- "updateTime",
- "environmentVariables",
- "defaultDomain",
- "enableBranchAutoBuild",
- "enableBasicAuth",
- ],
- members: {
- appId: {},
- appArn: {},
- name: {},
- tags: { shape: "Sl" },
- description: {},
- repository: {},
- platform: {},
- createTime: { type: "timestamp" },
- updateTime: { type: "timestamp" },
- iamServiceRoleArn: {},
- environmentVariables: { shape: "S9" },
- defaultDomain: {},
- enableBranchAutoBuild: { type: "boolean" },
- enableBasicAuth: { type: "boolean" },
- basicAuthCredentials: {},
- customRules: { shape: "Sf" },
- productionBranch: {
- type: "structure",
- members: {
- lastDeployTime: { type: "timestamp" },
- status: {},
- thumbnailUrl: {},
- branchName: {},
- },
- },
- buildSpec: {},
- enableAutoBranchCreation: { type: "boolean" },
- autoBranchCreationPatterns: { shape: "Sq" },
- autoBranchCreationConfig: { shape: "Ss" },
- },
- },
- S1e: {
- type: "structure",
- required: [
- "backendEnvironmentArn",
- "environmentName",
- "createTime",
- "updateTime",
- ],
- members: {
- backendEnvironmentArn: {},
- environmentName: {},
- stackName: {},
- deploymentArtifacts: {},
- createTime: { type: "timestamp" },
- updateTime: { type: "timestamp" },
- },
- },
- S1l: {
- type: "structure",
- required: [
- "branchArn",
- "branchName",
- "description",
- "stage",
- "displayName",
- "enableNotification",
- "createTime",
- "updateTime",
- "environmentVariables",
- "enableAutoBuild",
- "customDomains",
- "framework",
- "activeJobId",
- "totalNumberOfJobs",
- "enableBasicAuth",
- "ttl",
- "enablePullRequestPreview",
- ],
- members: {
- branchArn: {},
- branchName: {},
- description: {},
- tags: { shape: "Sl" },
- stage: {},
- displayName: {},
- enableNotification: { type: "boolean" },
- createTime: { type: "timestamp" },
- updateTime: { type: "timestamp" },
- environmentVariables: { shape: "S9" },
- enableAutoBuild: { type: "boolean" },
- customDomains: { type: "list", member: {} },
- framework: {},
- activeJobId: {},
- totalNumberOfJobs: {},
- enableBasicAuth: { type: "boolean" },
- thumbnailUrl: {},
- basicAuthCredentials: {},
- buildSpec: {},
- ttl: {},
- associatedResources: { type: "list", member: {} },
- enablePullRequestPreview: { type: "boolean" },
- pullRequestEnvironmentName: {},
- destinationBranch: {},
- sourceBranch: {},
- backendEnvironmentArn: {},
- },
- },
- S24: { type: "list", member: { shape: "S25" } },
- S25: {
- type: "structure",
- required: ["prefix", "branchName"],
- members: { prefix: {}, branchName: {} },
- },
- S28: {
- type: "structure",
- required: [
- "domainAssociationArn",
- "domainName",
- "enableAutoSubDomain",
- "domainStatus",
- "statusReason",
- "subDomains",
- ],
- members: {
- domainAssociationArn: {},
- domainName: {},
- enableAutoSubDomain: { type: "boolean" },
- domainStatus: {},
- statusReason: {},
- certificateVerificationDNSRecord: {},
- subDomains: {
- type: "list",
- member: {
- type: "structure",
- required: ["subDomainSetting", "verified", "dnsRecord"],
- members: {
- subDomainSetting: { shape: "S25" },
- verified: { type: "boolean" },
- dnsRecord: {},
- },
- },
- },
- },
- },
- S2j: {
- type: "structure",
- required: [
- "webhookArn",
- "webhookId",
- "webhookUrl",
- "branchName",
- "description",
- "createTime",
- "updateTime",
- ],
- members: {
- webhookArn: {},
- webhookId: {},
- webhookUrl: {},
- branchName: {},
- description: {},
- createTime: { type: "timestamp" },
- updateTime: { type: "timestamp" },
- },
- },
- S2x: {
- type: "structure",
- required: [
- "jobArn",
- "jobId",
- "commitId",
- "commitMessage",
- "commitTime",
- "startTime",
- "status",
- "jobType",
- ],
- members: {
- jobArn: {},
- jobId: {},
- commitId: {},
- commitMessage: {},
- commitTime: { type: "timestamp" },
- startTime: { type: "timestamp" },
- status: {},
- endTime: { type: "timestamp" },
- jobType: {},
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 2911: /***/ function (module) {
- module.exports = {
- pagination: {
- GetClassifiers: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetConnections: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetCrawlerMetrics: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetCrawlers: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetDatabases: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetDevEndpoints: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetJobRuns: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetJobs: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetMLTaskRuns: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetMLTransforms: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetPartitions: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetSecurityConfigurations: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "SecurityConfigurations",
- },
- GetTableVersions: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetTables: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetTriggers: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetUserDefinedFunctions: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- GetWorkflowRuns: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListCrawlers: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListDevEndpoints: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListJobs: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListMLTransforms: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListTriggers: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- ListWorkflows: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- SearchTables: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- },
- };
-
- /***/
- },
-
- /***/ 2922: /***/ function (module) {
- module.exports = {
- metadata: {
- apiVersion: "2018-05-14",
- endpointPrefix: "devices.iot1click",
- signingName: "iot1click",
- serviceFullName: "AWS IoT 1-Click Devices Service",
- serviceId: "IoT 1Click Devices Service",
- protocol: "rest-json",
- jsonVersion: "1.1",
- uid: "devices-2018-05-14",
- signatureVersion: "v4",
- },
- operations: {
- ClaimDevicesByClaimCode: {
- http: {
- method: "PUT",
- requestUri: "/claims/{claimCode}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ClaimCode: { location: "uri", locationName: "claimCode" },
- },
- required: ["ClaimCode"],
- },
- output: {
- type: "structure",
- members: {
- ClaimCode: { locationName: "claimCode" },
- Total: { locationName: "total", type: "integer" },
- },
- },
- },
- DescribeDevice: {
- http: {
- method: "GET",
- requestUri: "/devices/{deviceId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeviceId: { location: "uri", locationName: "deviceId" },
- },
- required: ["DeviceId"],
- },
- output: {
- type: "structure",
- members: {
- DeviceDescription: {
- shape: "S8",
- locationName: "deviceDescription",
- },
- },
- },
- },
- FinalizeDeviceClaim: {
- http: {
- method: "PUT",
- requestUri: "/devices/{deviceId}/finalize-claim",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeviceId: { location: "uri", locationName: "deviceId" },
- Tags: { shape: "Sc", locationName: "tags" },
- },
- required: ["DeviceId"],
- },
- output: {
- type: "structure",
- members: { State: { locationName: "state" } },
- },
- },
- GetDeviceMethods: {
- http: {
- method: "GET",
- requestUri: "/devices/{deviceId}/methods",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeviceId: { location: "uri", locationName: "deviceId" },
- },
- required: ["DeviceId"],
- },
- output: {
- type: "structure",
- members: {
- DeviceMethods: {
- locationName: "deviceMethods",
- type: "list",
- member: { shape: "Si" },
- },
- },
- },
- },
- InitiateDeviceClaim: {
- http: {
- method: "PUT",
- requestUri: "/devices/{deviceId}/initiate-claim",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeviceId: { location: "uri", locationName: "deviceId" },
- },
- required: ["DeviceId"],
- },
- output: {
- type: "structure",
- members: { State: { locationName: "state" } },
- },
- },
- InvokeDeviceMethod: {
- http: {
- requestUri: "/devices/{deviceId}/methods",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeviceId: { location: "uri", locationName: "deviceId" },
- DeviceMethod: { shape: "Si", locationName: "deviceMethod" },
- DeviceMethodParameters: {
- locationName: "deviceMethodParameters",
- },
- },
- required: ["DeviceId"],
- },
- output: {
- type: "structure",
- members: {
- DeviceMethodResponse: { locationName: "deviceMethodResponse" },
- },
- },
- },
- ListDeviceEvents: {
- http: {
- method: "GET",
- requestUri: "/devices/{deviceId}/events",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeviceId: { location: "uri", locationName: "deviceId" },
- FromTimeStamp: {
- shape: "So",
- location: "querystring",
- locationName: "fromTimeStamp",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- ToTimeStamp: {
- shape: "So",
- location: "querystring",
- locationName: "toTimeStamp",
- },
- },
- required: ["DeviceId", "FromTimeStamp", "ToTimeStamp"],
- },
- output: {
- type: "structure",
- members: {
- Events: {
- locationName: "events",
- type: "list",
- member: {
- type: "structure",
- members: {
- Device: {
- locationName: "device",
- type: "structure",
- members: {
- Attributes: {
- locationName: "attributes",
- type: "structure",
- members: {},
- },
- DeviceId: { locationName: "deviceId" },
- Type: { locationName: "type" },
- },
- },
- StdEvent: { locationName: "stdEvent" },
- },
- },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListDevices: {
- http: { method: "GET", requestUri: "/devices", responseCode: 200 },
- input: {
- type: "structure",
- members: {
- DeviceType: {
- location: "querystring",
- locationName: "deviceType",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Devices: {
- locationName: "devices",
- type: "list",
- member: { shape: "S8" },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListTagsForResource: {
- http: {
- method: "GET",
- requestUri: "/tags/{resource-arn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- },
- required: ["ResourceArn"],
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "Sc", locationName: "tags" } },
- },
- },
- TagResource: {
- http: { requestUri: "/tags/{resource-arn}", responseCode: 204 },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- Tags: { shape: "Sc", locationName: "tags" },
- },
- required: ["ResourceArn", "Tags"],
- },
- },
- UnclaimDevice: {
- http: {
- method: "PUT",
- requestUri: "/devices/{deviceId}/unclaim",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeviceId: { location: "uri", locationName: "deviceId" },
- },
- required: ["DeviceId"],
- },
- output: {
- type: "structure",
- members: { State: { locationName: "state" } },
- },
- },
- UntagResource: {
- http: {
- method: "DELETE",
- requestUri: "/tags/{resource-arn}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- TagKeys: {
- location: "querystring",
- locationName: "tagKeys",
- type: "list",
- member: {},
- },
- },
- required: ["TagKeys", "ResourceArn"],
- },
- },
- UpdateDeviceState: {
- http: {
- method: "PUT",
- requestUri: "/devices/{deviceId}/state",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- DeviceId: { location: "uri", locationName: "deviceId" },
- Enabled: { locationName: "enabled", type: "boolean" },
- },
- required: ["DeviceId"],
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S8: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- Attributes: {
- locationName: "attributes",
- type: "map",
- key: {},
- value: {},
- },
- DeviceId: { locationName: "deviceId" },
- Enabled: { locationName: "enabled", type: "boolean" },
- RemainingLife: { locationName: "remainingLife", type: "double" },
- Type: { locationName: "type" },
- Tags: { shape: "Sc", locationName: "tags" },
- },
- },
- Sc: { type: "map", key: {}, value: {} },
- Si: {
- type: "structure",
- members: {
- DeviceType: { locationName: "deviceType" },
- MethodName: { locationName: "methodName" },
- },
- },
- So: { type: "timestamp", timestampFormat: "iso8601" },
- },
- };
-
- /***/
- },
-
- /***/ 2950: /***/ function (__unusedmodule, exports, __webpack_require__) {
- "use strict";
-
- Object.defineProperty(exports, "__esModule", { value: true });
- const url = __webpack_require__(8835);
- function getProxyUrl(reqUrl) {
- let usingSsl = reqUrl.protocol === "https:";
- let proxyUrl;
- if (checkBypass(reqUrl)) {
- return proxyUrl;
- }
- let proxyVar;
- if (usingSsl) {
- proxyVar = process.env["https_proxy"] || process.env["HTTPS_PROXY"];
- } else {
- proxyVar = process.env["http_proxy"] || process.env["HTTP_PROXY"];
- }
- if (proxyVar) {
- proxyUrl = url.parse(proxyVar);
- }
- return proxyUrl;
- }
- exports.getProxyUrl = getProxyUrl;
- function checkBypass(reqUrl) {
- if (!reqUrl.hostname) {
- return false;
- }
- let noProxy = process.env["no_proxy"] || process.env["NO_PROXY"] || "";
- if (!noProxy) {
- return false;
- }
- // Determine the request port
- let reqPort;
- if (reqUrl.port) {
- reqPort = Number(reqUrl.port);
- } else if (reqUrl.protocol === "http:") {
- reqPort = 80;
- } else if (reqUrl.protocol === "https:") {
- reqPort = 443;
- }
- // Format the request hostname and hostname with port
- let upperReqHosts = [reqUrl.hostname.toUpperCase()];
- if (typeof reqPort === "number") {
- upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);
- }
- // Compare request host against noproxy
- for (let upperNoProxyItem of noProxy
- .split(",")
- .map((x) => x.trim().toUpperCase())
- .filter((x) => x)) {
- if (upperReqHosts.some((x) => x === upperNoProxyItem)) {
- return true;
- }
- }
- return false;
- }
- exports.checkBypass = checkBypass;
-
- /***/
- },
-
- /***/ 2966: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
- var STS = __webpack_require__(1733);
-
- /**
- * 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 });
- },
- });
-
- /***/
- },
-
- /***/ 2971: /***/ function (module) {
- module.exports = {
- pagination: {
- ListApplicationRevisions: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "revisions",
- },
- ListApplications: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "applications",
- },
- ListDeploymentConfigs: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "deploymentConfigsList",
- },
- ListDeploymentGroups: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "deploymentGroups",
- },
- ListDeploymentInstances: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "instancesList",
- },
- ListDeployments: {
- input_token: "nextToken",
- output_token: "nextToken",
- result_key: "deployments",
- },
- },
- };
-
- /***/
- },
-
- /***/ 2982: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
- var proc = __webpack_require__(3129);
- 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"], 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);
- },
- });
-
- /***/
- },
-
- /***/ 3009: /***/ function (module, __unusedexports, __webpack_require__) {
- var once = __webpack_require__(6049);
-
- var noop = function () {};
-
- var isRequest = function (stream) {
- return stream.setHeader && typeof stream.abort === "function";
- };
-
- var isChildProcess = function (stream) {
- return (
- stream.stdio &&
- Array.isArray(stream.stdio) &&
- stream.stdio.length === 3
- );
- };
-
- var eos = function (stream, opts, callback) {
- if (typeof opts === "function") return eos(stream, null, opts);
- if (!opts) opts = {};
-
- callback = once(callback || noop);
-
- var ws = stream._writableState;
- var rs = stream._readableState;
- var readable =
- opts.readable || (opts.readable !== false && stream.readable);
- var writable =
- opts.writable || (opts.writable !== false && stream.writable);
- var cancelled = false;
-
- var onlegacyfinish = function () {
- if (!stream.writable) onfinish();
- };
-
- var onfinish = function () {
- writable = false;
- if (!readable) callback.call(stream);
- };
-
- var onend = function () {
- readable = false;
- if (!writable) callback.call(stream);
- };
-
- var onexit = function (exitCode) {
- callback.call(
- stream,
- exitCode ? new Error("exited with error code: " + exitCode) : null
- );
- };
-
- var onerror = function (err) {
- callback.call(stream, err);
- };
-
- var onclose = function () {
- process.nextTick(onclosenexttick);
- };
-
- var onclosenexttick = function () {
- if (cancelled) return;
- if (readable && !(rs && rs.ended && !rs.destroyed))
- return callback.call(stream, new Error("premature close"));
- if (writable && !(ws && ws.ended && !ws.destroyed))
- return callback.call(stream, new Error("premature close"));
- };
-
- var onrequest = function () {
- stream.req.on("finish", onfinish);
- };
-
- if (isRequest(stream)) {
- stream.on("complete", onfinish);
- stream.on("abort", onclose);
- if (stream.req) onrequest();
- else stream.on("request", onrequest);
- } else if (writable && !ws) {
- // legacy streams
- stream.on("end", onlegacyfinish);
- stream.on("close", onlegacyfinish);
- }
-
- if (isChildProcess(stream)) stream.on("exit", onexit);
-
- stream.on("end", onend);
- stream.on("finish", onfinish);
- if (opts.error !== false) stream.on("error", onerror);
- stream.on("close", onclose);
-
- return function () {
- cancelled = true;
- stream.removeListener("complete", onfinish);
- stream.removeListener("abort", onclose);
- stream.removeListener("request", onrequest);
- if (stream.req) stream.req.removeListener("finish", onfinish);
- stream.removeListener("end", onlegacyfinish);
- stream.removeListener("close", onlegacyfinish);
- stream.removeListener("finish", onfinish);
- stream.removeListener("exit", onexit);
- stream.removeListener("end", onend);
- stream.removeListener("error", onerror);
- stream.removeListener("close", onclose);
- };
- };
-
- module.exports = eos;
-
- /***/
- },
-
- /***/ 3034: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-04-28",
- endpointPrefix: "cloudhsmv2",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "CloudHSM V2",
- serviceFullName: "AWS CloudHSM V2",
- serviceId: "CloudHSM V2",
- signatureVersion: "v4",
- signingName: "cloudhsm",
- targetPrefix: "BaldrApiService",
- uid: "cloudhsmv2-2017-04-28",
- },
- operations: {
- CopyBackupToRegion: {
- input: {
- type: "structure",
- required: ["DestinationRegion", "BackupId"],
- members: {
- DestinationRegion: {},
- BackupId: {},
- TagList: { shape: "S4" },
- },
- },
- output: {
- type: "structure",
- members: {
- DestinationBackup: {
- type: "structure",
- members: {
- CreateTimestamp: { type: "timestamp" },
- SourceRegion: {},
- SourceBackup: {},
- SourceCluster: {},
- },
- },
- },
- },
- },
- CreateCluster: {
- input: {
- type: "structure",
- required: ["SubnetIds", "HsmType"],
- members: {
- SubnetIds: { type: "list", member: {} },
- HsmType: {},
- SourceBackupId: {},
- TagList: { shape: "S4" },
- },
- },
- output: {
- type: "structure",
- members: { Cluster: { shape: "Sh" } },
- },
- },
- CreateHsm: {
- input: {
- type: "structure",
- required: ["ClusterId", "AvailabilityZone"],
- members: { ClusterId: {}, AvailabilityZone: {}, IpAddress: {} },
- },
- output: { type: "structure", members: { Hsm: { shape: "Sk" } } },
- },
- DeleteBackup: {
- input: {
- type: "structure",
- required: ["BackupId"],
- members: { BackupId: {} },
- },
- output: {
- type: "structure",
- members: { Backup: { shape: "S13" } },
- },
- },
- DeleteCluster: {
- input: {
- type: "structure",
- required: ["ClusterId"],
- members: { ClusterId: {} },
- },
- output: {
- type: "structure",
- members: { Cluster: { shape: "Sh" } },
- },
- },
- DeleteHsm: {
- input: {
- type: "structure",
- required: ["ClusterId"],
- members: { ClusterId: {}, HsmId: {}, EniId: {}, EniIp: {} },
- },
- output: { type: "structure", members: { HsmId: {} } },
- },
- DescribeBackups: {
- input: {
- type: "structure",
- members: {
- NextToken: {},
- MaxResults: { type: "integer" },
- Filters: { shape: "S1c" },
- SortAscending: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- Backups: { type: "list", member: { shape: "S13" } },
- NextToken: {},
- },
- },
- },
- DescribeClusters: {
- input: {
- type: "structure",
- members: {
- Filters: { shape: "S1c" },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Clusters: { type: "list", member: { shape: "Sh" } },
- NextToken: {},
- },
- },
- },
- InitializeCluster: {
- input: {
- type: "structure",
- required: ["ClusterId", "SignedCert", "TrustAnchor"],
- members: { ClusterId: {}, SignedCert: {}, TrustAnchor: {} },
- },
- output: {
- type: "structure",
- members: { State: {}, StateMessage: {} },
- },
- },
- ListTags: {
- input: {
- type: "structure",
- required: ["ResourceId"],
- members: {
- ResourceId: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- required: ["TagList"],
- members: { TagList: { shape: "S4" }, NextToken: {} },
- },
- },
- RestoreBackup: {
- input: {
- type: "structure",
- required: ["BackupId"],
- members: { BackupId: {} },
- },
- output: {
- type: "structure",
- members: { Backup: { shape: "S13" } },
- },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceId", "TagList"],
- members: { ResourceId: {}, TagList: { shape: "S4" } },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceId", "TagKeyList"],
- members: {
- ResourceId: {},
- TagKeyList: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S4: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- Sh: {
- type: "structure",
- members: {
- BackupPolicy: {},
- ClusterId: {},
- CreateTimestamp: { type: "timestamp" },
- Hsms: { type: "list", member: { shape: "Sk" } },
- HsmType: {},
- PreCoPassword: {},
- SecurityGroup: {},
- SourceBackupId: {},
- State: {},
- StateMessage: {},
- SubnetMapping: { type: "map", key: {}, value: {} },
- VpcId: {},
- Certificates: {
- type: "structure",
- members: {
- ClusterCsr: {},
- HsmCertificate: {},
- AwsHardwareCertificate: {},
- ManufacturerHardwareCertificate: {},
- ClusterCertificate: {},
- },
- },
- TagList: { shape: "S4" },
- },
- },
- Sk: {
- type: "structure",
- required: ["HsmId"],
- members: {
- AvailabilityZone: {},
- ClusterId: {},
- SubnetId: {},
- EniId: {},
- EniIp: {},
- HsmId: {},
- State: {},
- StateMessage: {},
- },
- },
- S13: {
- type: "structure",
- required: ["BackupId"],
- members: {
- BackupId: {},
- BackupState: {},
- ClusterId: {},
- CreateTimestamp: { type: "timestamp" },
- CopyTimestamp: { type: "timestamp" },
- SourceRegion: {},
- SourceBackup: {},
- SourceCluster: {},
- DeleteTimestamp: { type: "timestamp" },
- TagList: { shape: "S4" },
- },
- },
- S1c: { type: "map", key: {}, value: { type: "list", member: {} } },
- },
- };
-
- /***/
- },
-
- /***/ 3042: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(1010);
- model.paginators = __webpack_require__(32).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Support;
-
- /***/
- },
-
- /***/ 3043: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
- var STS = __webpack_require__(1733);
-
- /**
- * 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 });
- },
- });
-
- /***/
- },
-
- /***/ 3080: /***/ function (module) {
- module.exports = {
- pagination: {
- ListApplicationVersions: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxItems",
- },
- ListApplications: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxItems",
- },
- ListApplicationDependencies: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxItems",
- },
- },
- };
-
- /***/
- },
-
- /***/ 3091: /***/ function (module) {
- module.exports = {
- pagination: {
- ListComplianceStatus: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "PolicyComplianceStatusList",
- },
- ListMemberAccounts: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "MemberAccounts",
- },
- ListPolicies: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "PolicyList",
- },
- },
- };
-
- /***/
- },
-
- /***/ 3099: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(6631);
- model.paginators = __webpack_require__(4344).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.AutoScalingPlans;
-
- /***/
- },
-
- /***/ 3110: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(3605);
- model.paginators = __webpack_require__(3209).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.LicenseManager;
-
- /***/
- },
-
- /***/ 3129: /***/ function (module) {
- module.exports = require("child_process");
-
- /***/
- },
-
- /***/ 3132: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2016-06-10",
- endpointPrefix: "polly",
- protocol: "rest-json",
- serviceFullName: "Amazon Polly",
- serviceId: "Polly",
- signatureVersion: "v4",
- uid: "polly-2016-06-10",
- },
- operations: {
- DeleteLexicon: {
- http: {
- method: "DELETE",
- requestUri: "/v1/lexicons/{LexiconName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {
- shape: "S2",
- location: "uri",
- locationName: "LexiconName",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DescribeVoices: {
- http: {
- method: "GET",
- requestUri: "/v1/voices",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Engine: { location: "querystring", locationName: "Engine" },
- LanguageCode: {
- location: "querystring",
- locationName: "LanguageCode",
- },
- IncludeAdditionalLanguageCodes: {
- location: "querystring",
- locationName: "IncludeAdditionalLanguageCodes",
- type: "boolean",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Voices: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Gender: {},
- Id: {},
- LanguageCode: {},
- LanguageName: {},
- Name: {},
- AdditionalLanguageCodes: { type: "list", member: {} },
- SupportedEngines: { type: "list", member: {} },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- GetLexicon: {
- http: {
- method: "GET",
- requestUri: "/v1/lexicons/{LexiconName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {
- shape: "S2",
- location: "uri",
- locationName: "LexiconName",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Lexicon: {
- type: "structure",
- members: { Content: {}, Name: { shape: "S2" } },
- },
- LexiconAttributes: { shape: "Sm" },
- },
- },
- },
- GetSpeechSynthesisTask: {
- http: {
- method: "GET",
- requestUri: "/v1/synthesisTasks/{TaskId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["TaskId"],
- members: { TaskId: { location: "uri", locationName: "TaskId" } },
- },
- output: {
- type: "structure",
- members: { SynthesisTask: { shape: "Sv" } },
- },
- },
- ListLexicons: {
- http: {
- method: "GET",
- requestUri: "/v1/lexicons",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Lexicons: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: { shape: "S2" },
- Attributes: { shape: "Sm" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListSpeechSynthesisTasks: {
- http: {
- method: "GET",
- requestUri: "/v1/synthesisTasks",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "MaxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "NextToken",
- },
- Status: { location: "querystring", locationName: "Status" },
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- SynthesisTasks: { type: "list", member: { shape: "Sv" } },
- },
- },
- },
- PutLexicon: {
- http: {
- method: "PUT",
- requestUri: "/v1/lexicons/{LexiconName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["Name", "Content"],
- members: {
- Name: {
- shape: "S2",
- location: "uri",
- locationName: "LexiconName",
- },
- Content: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- StartSpeechSynthesisTask: {
- http: { requestUri: "/v1/synthesisTasks", responseCode: 200 },
- input: {
- type: "structure",
- required: [
- "OutputFormat",
- "OutputS3BucketName",
- "Text",
- "VoiceId",
- ],
- members: {
- Engine: {},
- LanguageCode: {},
- LexiconNames: { shape: "S12" },
- OutputFormat: {},
- OutputS3BucketName: {},
- OutputS3KeyPrefix: {},
- SampleRate: {},
- SnsTopicArn: {},
- SpeechMarkTypes: { shape: "S15" },
- Text: {},
- TextType: {},
- VoiceId: {},
- },
- },
- output: {
- type: "structure",
- members: { SynthesisTask: { shape: "Sv" } },
- },
- },
- SynthesizeSpeech: {
- http: { requestUri: "/v1/speech", responseCode: 200 },
- input: {
- type: "structure",
- required: ["OutputFormat", "Text", "VoiceId"],
- members: {
- Engine: {},
- LanguageCode: {},
- LexiconNames: { shape: "S12" },
- OutputFormat: {},
- SampleRate: {},
- SpeechMarkTypes: { shape: "S15" },
- Text: {},
- TextType: {},
- VoiceId: {},
- },
- },
- output: {
- type: "structure",
- members: {
- AudioStream: { type: "blob", streaming: true },
- ContentType: {
- location: "header",
- locationName: "Content-Type",
- },
- RequestCharacters: {
- location: "header",
- locationName: "x-amzn-RequestCharacters",
- type: "integer",
- },
- },
- payload: "AudioStream",
- },
- },
- },
- shapes: {
- S2: { type: "string", sensitive: true },
- Sm: {
- type: "structure",
- members: {
- Alphabet: {},
- LanguageCode: {},
- LastModified: { type: "timestamp" },
- LexiconArn: {},
- LexemesCount: { type: "integer" },
- Size: { type: "integer" },
- },
- },
- Sv: {
- type: "structure",
- members: {
- Engine: {},
- TaskId: {},
- TaskStatus: {},
- TaskStatusReason: {},
- OutputUri: {},
- CreationTime: { type: "timestamp" },
- RequestCharacters: { type: "integer" },
- SnsTopicArn: {},
- LexiconNames: { shape: "S12" },
- OutputFormat: {},
- SampleRate: {},
- SpeechMarkTypes: { shape: "S15" },
- TextType: {},
- VoiceId: {},
- LanguageCode: {},
- },
- },
- S12: { type: "list", member: { shape: "S2" } },
- S15: { type: "list", member: {} },
- },
- };
-
- /***/
- },
-
- /***/ 3137: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeModelVersions: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetDetectors: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetExternalModels: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetModels: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetOutcomes: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetRules: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- GetVariables: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 3143: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = withAuthorizationPrefix;
-
- const atob = __webpack_require__(1368);
-
- const REGEX_IS_BASIC_AUTH = /^[\w-]+:/;
-
- function withAuthorizationPrefix(authorization) {
- if (/^(basic|bearer|token) /i.test(authorization)) {
- return authorization;
- }
-
- try {
- if (REGEX_IS_BASIC_AUTH.test(atob(authorization))) {
- return `basic ${authorization}`;
- }
- } catch (error) {}
-
- if (authorization.split(/\./).length === 3) {
- return `bearer ${authorization}`;
- }
-
- return `token ${authorization}`;
- }
-
- /***/
- },
-
- /***/ 3158: /***/ function (module, __unusedexports, __webpack_require__) {
- var v1 = __webpack_require__(3773);
- var v4 = __webpack_require__(1740);
-
- var uuid = v4;
- uuid.v1 = v1;
- uuid.v4 = v4;
-
- module.exports = uuid;
-
- /***/
- },
-
- /***/ 3165: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2019-11-01",
- endpointPrefix: "compute-optimizer",
- jsonVersion: "1.0",
- protocol: "json",
- serviceFullName: "AWS Compute Optimizer",
- serviceId: "Compute Optimizer",
- signatureVersion: "v4",
- signingName: "compute-optimizer",
- targetPrefix: "ComputeOptimizerService",
- uid: "compute-optimizer-2019-11-01",
- },
- operations: {
- GetAutoScalingGroupRecommendations: {
- input: {
- type: "structure",
- members: {
- accountIds: { shape: "S2" },
- autoScalingGroupArns: { type: "list", member: {} },
- nextToken: {},
- maxResults: { type: "integer" },
- filters: { shape: "S8" },
- },
- },
- output: {
- type: "structure",
- members: {
- nextToken: {},
- autoScalingGroupRecommendations: {
- type: "list",
- member: {
- type: "structure",
- members: {
- accountId: {},
- autoScalingGroupArn: {},
- autoScalingGroupName: {},
- finding: {},
- utilizationMetrics: { shape: "Si" },
- lookBackPeriodInDays: { type: "double" },
- currentConfiguration: { shape: "So" },
- recommendationOptions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- configuration: { shape: "So" },
- projectedUtilizationMetrics: { shape: "Sv" },
- performanceRisk: { type: "double" },
- rank: { type: "integer" },
- },
- },
- },
- lastRefreshTimestamp: { type: "timestamp" },
- },
- },
- },
- errors: { shape: "Sz" },
- },
- },
- },
- GetEC2InstanceRecommendations: {
- input: {
- type: "structure",
- members: {
- instanceArns: { type: "list", member: {} },
- nextToken: {},
- maxResults: { type: "integer" },
- filters: { shape: "S8" },
- accountIds: { shape: "S2" },
- },
- },
- output: {
- type: "structure",
- members: {
- nextToken: {},
- instanceRecommendations: {
- type: "list",
- member: {
- type: "structure",
- members: {
- instanceArn: {},
- accountId: {},
- instanceName: {},
- currentInstanceType: {},
- finding: {},
- utilizationMetrics: { shape: "Si" },
- lookBackPeriodInDays: { type: "double" },
- recommendationOptions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- instanceType: {},
- projectedUtilizationMetrics: { shape: "Sv" },
- performanceRisk: { type: "double" },
- rank: { type: "integer" },
- },
- },
- },
- recommendationSources: {
- type: "list",
- member: {
- type: "structure",
- members: {
- recommendationSourceArn: {},
- recommendationSourceType: {},
- },
- },
- },
- lastRefreshTimestamp: { type: "timestamp" },
- },
- },
- },
- errors: { shape: "Sz" },
- },
- },
- },
- GetEC2RecommendationProjectedMetrics: {
- input: {
- type: "structure",
- required: [
- "instanceArn",
- "stat",
- "period",
- "startTime",
- "endTime",
- ],
- members: {
- instanceArn: {},
- stat: {},
- period: { type: "integer" },
- startTime: { type: "timestamp" },
- endTime: { type: "timestamp" },
- },
- },
- output: {
- type: "structure",
- members: {
- recommendedOptionProjectedMetrics: {
- type: "list",
- member: {
- type: "structure",
- members: {
- recommendedInstanceType: {},
- rank: { type: "integer" },
- projectedMetrics: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- timestamps: {
- type: "list",
- member: { type: "timestamp" },
- },
- values: {
- type: "list",
- member: { type: "double" },
- },
- },
- },
- },
- },
- },
- },
- },
- },
- },
- GetEnrollmentStatus: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: {
- status: {},
- statusReason: {},
- memberAccountsEnrolled: { type: "boolean" },
- },
- },
- },
- GetRecommendationSummaries: {
- input: {
- type: "structure",
- members: {
- accountIds: { shape: "S2" },
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- nextToken: {},
- recommendationSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- summaries: {
- type: "list",
- member: {
- type: "structure",
- members: { name: {}, value: { type: "double" } },
- },
- },
- recommendationResourceType: {},
- accountId: {},
- },
- },
- },
- },
- },
- },
- UpdateEnrollmentStatus: {
- input: {
- type: "structure",
- required: ["status"],
- members: {
- status: {},
- includeMemberAccounts: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { status: {}, statusReason: {} },
- },
- },
- },
- shapes: {
- S2: { type: "list", member: {} },
- S8: {
- type: "list",
- member: {
- type: "structure",
- members: { name: {}, values: { type: "list", member: {} } },
- },
- },
- Si: { type: "list", member: { shape: "Sj" } },
- Sj: {
- type: "structure",
- members: { name: {}, statistic: {}, value: { type: "double" } },
- },
- So: {
- type: "structure",
- members: {
- desiredCapacity: { type: "integer" },
- minSize: { type: "integer" },
- maxSize: { type: "integer" },
- instanceType: {},
- },
- },
- Sv: { type: "list", member: { shape: "Sj" } },
- Sz: {
- type: "list",
- member: {
- type: "structure",
- members: { identifier: {}, code: {}, message: {} },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 3173: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-11-27",
- endpointPrefix: "comprehend",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "Amazon Comprehend",
- serviceId: "Comprehend",
- signatureVersion: "v4",
- signingName: "comprehend",
- targetPrefix: "Comprehend_20171127",
- uid: "comprehend-2017-11-27",
- },
- operations: {
- BatchDetectDominantLanguage: {
- input: {
- type: "structure",
- required: ["TextList"],
- members: { TextList: { shape: "S2" } },
- },
- output: {
- type: "structure",
- required: ["ResultList", "ErrorList"],
- members: {
- ResultList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Index: { type: "integer" },
- Languages: { shape: "S8" },
- },
- },
- },
- ErrorList: { shape: "Sb" },
- },
- },
- },
- BatchDetectEntities: {
- input: {
- type: "structure",
- required: ["TextList", "LanguageCode"],
- members: { TextList: { shape: "S2" }, LanguageCode: {} },
- },
- output: {
- type: "structure",
- required: ["ResultList", "ErrorList"],
- members: {
- ResultList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Index: { type: "integer" },
- Entities: { shape: "Si" },
- },
- },
- },
- ErrorList: { shape: "Sb" },
- },
- },
- },
- BatchDetectKeyPhrases: {
- input: {
- type: "structure",
- required: ["TextList", "LanguageCode"],
- members: { TextList: { shape: "S2" }, LanguageCode: {} },
- },
- output: {
- type: "structure",
- required: ["ResultList", "ErrorList"],
- members: {
- ResultList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Index: { type: "integer" },
- KeyPhrases: { shape: "Sp" },
- },
- },
- },
- ErrorList: { shape: "Sb" },
- },
- },
- },
- BatchDetectSentiment: {
- input: {
- type: "structure",
- required: ["TextList", "LanguageCode"],
- members: { TextList: { shape: "S2" }, LanguageCode: {} },
- },
- output: {
- type: "structure",
- required: ["ResultList", "ErrorList"],
- members: {
- ResultList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Index: { type: "integer" },
- Sentiment: {},
- SentimentScore: { shape: "Sw" },
- },
- },
- },
- ErrorList: { shape: "Sb" },
- },
- },
- },
- BatchDetectSyntax: {
- input: {
- type: "structure",
- required: ["TextList", "LanguageCode"],
- members: { TextList: { shape: "S2" }, LanguageCode: {} },
- },
- output: {
- type: "structure",
- required: ["ResultList", "ErrorList"],
- members: {
- ResultList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Index: { type: "integer" },
- SyntaxTokens: { shape: "S12" },
- },
- },
- },
- ErrorList: { shape: "Sb" },
- },
- },
- },
- ClassifyDocument: {
- input: {
- type: "structure",
- required: ["Text", "EndpointArn"],
- members: { Text: {}, EndpointArn: {} },
- },
- output: {
- type: "structure",
- members: {
- Classes: {
- type: "list",
- member: {
- type: "structure",
- members: { Name: {}, Score: { type: "float" } },
- },
- },
- Labels: {
- type: "list",
- member: {
- type: "structure",
- members: { Name: {}, Score: { type: "float" } },
- },
- },
- },
- },
- },
- CreateDocumentClassifier: {
- input: {
- type: "structure",
- required: [
- "DocumentClassifierName",
- "DataAccessRoleArn",
- "InputDataConfig",
- "LanguageCode",
- ],
- members: {
- DocumentClassifierName: {},
- DataAccessRoleArn: {},
- Tags: { shape: "S1g" },
- InputDataConfig: { shape: "S1k" },
- OutputDataConfig: { shape: "S1n" },
- ClientRequestToken: { idempotencyToken: true },
- LanguageCode: {},
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- Mode: {},
- },
- },
- output: {
- type: "structure",
- members: { DocumentClassifierArn: {} },
- },
- },
- CreateEndpoint: {
- input: {
- type: "structure",
- required: ["EndpointName", "ModelArn", "DesiredInferenceUnits"],
- members: {
- EndpointName: {},
- ModelArn: {},
- DesiredInferenceUnits: { type: "integer" },
- ClientRequestToken: { idempotencyToken: true },
- Tags: { shape: "S1g" },
- },
- },
- output: { type: "structure", members: { EndpointArn: {} } },
- },
- CreateEntityRecognizer: {
- input: {
- type: "structure",
- required: [
- "RecognizerName",
- "DataAccessRoleArn",
- "InputDataConfig",
- "LanguageCode",
- ],
- members: {
- RecognizerName: {},
- DataAccessRoleArn: {},
- Tags: { shape: "S1g" },
- InputDataConfig: { shape: "S25" },
- ClientRequestToken: { idempotencyToken: true },
- LanguageCode: {},
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- output: { type: "structure", members: { EntityRecognizerArn: {} } },
- },
- DeleteDocumentClassifier: {
- input: {
- type: "structure",
- required: ["DocumentClassifierArn"],
- members: { DocumentClassifierArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteEndpoint: {
- input: {
- type: "structure",
- required: ["EndpointArn"],
- members: { EndpointArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteEntityRecognizer: {
- input: {
- type: "structure",
- required: ["EntityRecognizerArn"],
- members: { EntityRecognizerArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DescribeDocumentClassificationJob: {
- input: {
- type: "structure",
- required: ["JobId"],
- members: { JobId: {} },
- },
- output: {
- type: "structure",
- members: {
- DocumentClassificationJobProperties: { shape: "S2n" },
- },
- },
- },
- DescribeDocumentClassifier: {
- input: {
- type: "structure",
- required: ["DocumentClassifierArn"],
- members: { DocumentClassifierArn: {} },
- },
- output: {
- type: "structure",
- members: { DocumentClassifierProperties: { shape: "S2x" } },
- },
- },
- DescribeDominantLanguageDetectionJob: {
- input: {
- type: "structure",
- required: ["JobId"],
- members: { JobId: {} },
- },
- output: {
- type: "structure",
- members: {
- DominantLanguageDetectionJobProperties: { shape: "S34" },
- },
- },
- },
- DescribeEndpoint: {
- input: {
- type: "structure",
- required: ["EndpointArn"],
- members: { EndpointArn: {} },
- },
- output: {
- type: "structure",
- members: { EndpointProperties: { shape: "S37" } },
- },
- },
- DescribeEntitiesDetectionJob: {
- input: {
- type: "structure",
- required: ["JobId"],
- members: { JobId: {} },
- },
- output: {
- type: "structure",
- members: { EntitiesDetectionJobProperties: { shape: "S3b" } },
- },
- },
- DescribeEntityRecognizer: {
- input: {
- type: "structure",
- required: ["EntityRecognizerArn"],
- members: { EntityRecognizerArn: {} },
- },
- output: {
- type: "structure",
- members: { EntityRecognizerProperties: { shape: "S3e" } },
- },
- },
- DescribeKeyPhrasesDetectionJob: {
- input: {
- type: "structure",
- required: ["JobId"],
- members: { JobId: {} },
- },
- output: {
- type: "structure",
- members: { KeyPhrasesDetectionJobProperties: { shape: "S3m" } },
- },
- },
- DescribeSentimentDetectionJob: {
- input: {
- type: "structure",
- required: ["JobId"],
- members: { JobId: {} },
- },
- output: {
- type: "structure",
- members: { SentimentDetectionJobProperties: { shape: "S3p" } },
- },
- },
- DescribeTopicsDetectionJob: {
- input: {
- type: "structure",
- required: ["JobId"],
- members: { JobId: {} },
- },
- output: {
- type: "structure",
- members: { TopicsDetectionJobProperties: { shape: "S3s" } },
- },
- },
- DetectDominantLanguage: {
- input: {
- type: "structure",
- required: ["Text"],
- members: { Text: {} },
- },
- output: {
- type: "structure",
- members: { Languages: { shape: "S8" } },
- },
- },
- DetectEntities: {
- input: {
- type: "structure",
- required: ["Text", "LanguageCode"],
- members: { Text: {}, LanguageCode: {} },
- },
- output: {
- type: "structure",
- members: { Entities: { shape: "Si" } },
- },
- },
- DetectKeyPhrases: {
- input: {
- type: "structure",
- required: ["Text", "LanguageCode"],
- members: { Text: {}, LanguageCode: {} },
- },
- output: {
- type: "structure",
- members: { KeyPhrases: { shape: "Sp" } },
- },
- },
- DetectSentiment: {
- input: {
- type: "structure",
- required: ["Text", "LanguageCode"],
- members: { Text: {}, LanguageCode: {} },
- },
- output: {
- type: "structure",
- members: { Sentiment: {}, SentimentScore: { shape: "Sw" } },
- },
- },
- DetectSyntax: {
- input: {
- type: "structure",
- required: ["Text", "LanguageCode"],
- members: { Text: {}, LanguageCode: {} },
- },
- output: {
- type: "structure",
- members: { SyntaxTokens: { shape: "S12" } },
- },
- },
- ListDocumentClassificationJobs: {
- input: {
- type: "structure",
- members: {
- Filter: {
- type: "structure",
- members: {
- JobName: {},
- JobStatus: {},
- SubmitTimeBefore: { type: "timestamp" },
- SubmitTimeAfter: { type: "timestamp" },
- },
- },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- DocumentClassificationJobPropertiesList: {
- type: "list",
- member: { shape: "S2n" },
- },
- NextToken: {},
- },
- },
- },
- ListDocumentClassifiers: {
- input: {
- type: "structure",
- members: {
- Filter: {
- type: "structure",
- members: {
- Status: {},
- SubmitTimeBefore: { type: "timestamp" },
- SubmitTimeAfter: { type: "timestamp" },
- },
- },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- DocumentClassifierPropertiesList: {
- type: "list",
- member: { shape: "S2x" },
- },
- NextToken: {},
- },
- },
- },
- ListDominantLanguageDetectionJobs: {
- input: {
- type: "structure",
- members: {
- Filter: {
- type: "structure",
- members: {
- JobName: {},
- JobStatus: {},
- SubmitTimeBefore: { type: "timestamp" },
- SubmitTimeAfter: { type: "timestamp" },
- },
- },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- DominantLanguageDetectionJobPropertiesList: {
- type: "list",
- member: { shape: "S34" },
- },
- NextToken: {},
- },
- },
- },
- ListEndpoints: {
- input: {
- type: "structure",
- members: {
- Filter: {
- type: "structure",
- members: {
- ModelArn: {},
- Status: {},
- CreationTimeBefore: { type: "timestamp" },
- CreationTimeAfter: { type: "timestamp" },
- },
- },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- EndpointPropertiesList: {
- type: "list",
- member: { shape: "S37" },
- },
- NextToken: {},
- },
- },
- },
- ListEntitiesDetectionJobs: {
- input: {
- type: "structure",
- members: {
- Filter: {
- type: "structure",
- members: {
- JobName: {},
- JobStatus: {},
- SubmitTimeBefore: { type: "timestamp" },
- SubmitTimeAfter: { type: "timestamp" },
- },
- },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- EntitiesDetectionJobPropertiesList: {
- type: "list",
- member: { shape: "S3b" },
- },
- NextToken: {},
- },
- },
- },
- ListEntityRecognizers: {
- input: {
- type: "structure",
- members: {
- Filter: {
- type: "structure",
- members: {
- Status: {},
- SubmitTimeBefore: { type: "timestamp" },
- SubmitTimeAfter: { type: "timestamp" },
- },
- },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- EntityRecognizerPropertiesList: {
- type: "list",
- member: { shape: "S3e" },
- },
- NextToken: {},
- },
- },
- },
- ListKeyPhrasesDetectionJobs: {
- input: {
- type: "structure",
- members: {
- Filter: {
- type: "structure",
- members: {
- JobName: {},
- JobStatus: {},
- SubmitTimeBefore: { type: "timestamp" },
- SubmitTimeAfter: { type: "timestamp" },
- },
- },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- KeyPhrasesDetectionJobPropertiesList: {
- type: "list",
- member: { shape: "S3m" },
- },
- NextToken: {},
- },
- },
- },
- ListSentimentDetectionJobs: {
- input: {
- type: "structure",
- members: {
- Filter: {
- type: "structure",
- members: {
- JobName: {},
- JobStatus: {},
- SubmitTimeBefore: { type: "timestamp" },
- SubmitTimeAfter: { type: "timestamp" },
- },
- },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- SentimentDetectionJobPropertiesList: {
- type: "list",
- member: { shape: "S3p" },
- },
- NextToken: {},
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: { ResourceArn: {} },
- },
- output: {
- type: "structure",
- members: { ResourceArn: {}, Tags: { shape: "S1g" } },
- },
- },
- ListTopicsDetectionJobs: {
- input: {
- type: "structure",
- members: {
- Filter: {
- type: "structure",
- members: {
- JobName: {},
- JobStatus: {},
- SubmitTimeBefore: { type: "timestamp" },
- SubmitTimeAfter: { type: "timestamp" },
- },
- },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- TopicsDetectionJobPropertiesList: {
- type: "list",
- member: { shape: "S3s" },
- },
- NextToken: {},
- },
- },
- },
- StartDocumentClassificationJob: {
- input: {
- type: "structure",
- required: [
- "DocumentClassifierArn",
- "InputDataConfig",
- "OutputDataConfig",
- "DataAccessRoleArn",
- ],
- members: {
- JobName: {},
- DocumentClassifierArn: {},
- InputDataConfig: { shape: "S2s" },
- OutputDataConfig: { shape: "S2u" },
- DataAccessRoleArn: {},
- ClientRequestToken: { idempotencyToken: true },
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- output: {
- type: "structure",
- members: { JobId: {}, JobStatus: {} },
- },
- },
- StartDominantLanguageDetectionJob: {
- input: {
- type: "structure",
- required: [
- "InputDataConfig",
- "OutputDataConfig",
- "DataAccessRoleArn",
- ],
- members: {
- InputDataConfig: { shape: "S2s" },
- OutputDataConfig: { shape: "S2u" },
- DataAccessRoleArn: {},
- JobName: {},
- ClientRequestToken: { idempotencyToken: true },
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- output: {
- type: "structure",
- members: { JobId: {}, JobStatus: {} },
- },
- },
- StartEntitiesDetectionJob: {
- input: {
- type: "structure",
- required: [
- "InputDataConfig",
- "OutputDataConfig",
- "DataAccessRoleArn",
- "LanguageCode",
- ],
- members: {
- InputDataConfig: { shape: "S2s" },
- OutputDataConfig: { shape: "S2u" },
- DataAccessRoleArn: {},
- JobName: {},
- EntityRecognizerArn: {},
- LanguageCode: {},
- ClientRequestToken: { idempotencyToken: true },
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- output: {
- type: "structure",
- members: { JobId: {}, JobStatus: {} },
- },
- },
- StartKeyPhrasesDetectionJob: {
- input: {
- type: "structure",
- required: [
- "InputDataConfig",
- "OutputDataConfig",
- "DataAccessRoleArn",
- "LanguageCode",
- ],
- members: {
- InputDataConfig: { shape: "S2s" },
- OutputDataConfig: { shape: "S2u" },
- DataAccessRoleArn: {},
- JobName: {},
- LanguageCode: {},
- ClientRequestToken: { idempotencyToken: true },
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- output: {
- type: "structure",
- members: { JobId: {}, JobStatus: {} },
- },
- },
- StartSentimentDetectionJob: {
- input: {
- type: "structure",
- required: [
- "InputDataConfig",
- "OutputDataConfig",
- "DataAccessRoleArn",
- "LanguageCode",
- ],
- members: {
- InputDataConfig: { shape: "S2s" },
- OutputDataConfig: { shape: "S2u" },
- DataAccessRoleArn: {},
- JobName: {},
- LanguageCode: {},
- ClientRequestToken: { idempotencyToken: true },
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- output: {
- type: "structure",
- members: { JobId: {}, JobStatus: {} },
- },
- },
- StartTopicsDetectionJob: {
- input: {
- type: "structure",
- required: [
- "InputDataConfig",
- "OutputDataConfig",
- "DataAccessRoleArn",
- ],
- members: {
- InputDataConfig: { shape: "S2s" },
- OutputDataConfig: { shape: "S2u" },
- DataAccessRoleArn: {},
- JobName: {},
- NumberOfTopics: { type: "integer" },
- ClientRequestToken: { idempotencyToken: true },
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- output: {
- type: "structure",
- members: { JobId: {}, JobStatus: {} },
- },
- },
- StopDominantLanguageDetectionJob: {
- input: {
- type: "structure",
- required: ["JobId"],
- members: { JobId: {} },
- },
- output: {
- type: "structure",
- members: { JobId: {}, JobStatus: {} },
- },
- },
- StopEntitiesDetectionJob: {
- input: {
- type: "structure",
- required: ["JobId"],
- members: { JobId: {} },
- },
- output: {
- type: "structure",
- members: { JobId: {}, JobStatus: {} },
- },
- },
- StopKeyPhrasesDetectionJob: {
- input: {
- type: "structure",
- required: ["JobId"],
- members: { JobId: {} },
- },
- output: {
- type: "structure",
- members: { JobId: {}, JobStatus: {} },
- },
- },
- StopSentimentDetectionJob: {
- input: {
- type: "structure",
- required: ["JobId"],
- members: { JobId: {} },
- },
- output: {
- type: "structure",
- members: { JobId: {}, JobStatus: {} },
- },
- },
- StopTrainingDocumentClassifier: {
- input: {
- type: "structure",
- required: ["DocumentClassifierArn"],
- members: { DocumentClassifierArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- StopTrainingEntityRecognizer: {
- input: {
- type: "structure",
- required: ["EntityRecognizerArn"],
- members: { EntityRecognizerArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "Tags"],
- members: { ResourceArn: {}, Tags: { shape: "S1g" } },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "TagKeys"],
- members: {
- ResourceArn: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateEndpoint: {
- input: {
- type: "structure",
- required: ["EndpointArn", "DesiredInferenceUnits"],
- members: {
- EndpointArn: {},
- DesiredInferenceUnits: { type: "integer" },
- },
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S2: { type: "list", member: {} },
- S8: {
- type: "list",
- member: {
- type: "structure",
- members: { LanguageCode: {}, Score: { type: "float" } },
- },
- },
- Sb: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Index: { type: "integer" },
- ErrorCode: {},
- ErrorMessage: {},
- },
- },
- },
- Si: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Score: { type: "float" },
- Type: {},
- Text: {},
- BeginOffset: { type: "integer" },
- EndOffset: { type: "integer" },
- },
- },
- },
- Sp: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Score: { type: "float" },
- Text: {},
- BeginOffset: { type: "integer" },
- EndOffset: { type: "integer" },
- },
- },
- },
- Sw: {
- type: "structure",
- members: {
- Positive: { type: "float" },
- Negative: { type: "float" },
- Neutral: { type: "float" },
- Mixed: { type: "float" },
- },
- },
- S12: {
- type: "list",
- member: {
- type: "structure",
- members: {
- TokenId: { type: "integer" },
- Text: {},
- BeginOffset: { type: "integer" },
- EndOffset: { type: "integer" },
- PartOfSpeech: {
- type: "structure",
- members: { Tag: {}, Score: { type: "float" } },
- },
- },
- },
- },
- S1g: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key"],
- members: { Key: {}, Value: {} },
- },
- },
- S1k: {
- type: "structure",
- required: ["S3Uri"],
- members: { S3Uri: {}, LabelDelimiter: {} },
- },
- S1n: { type: "structure", members: { S3Uri: {}, KmsKeyId: {} } },
- S1q: {
- type: "structure",
- required: ["SecurityGroupIds", "Subnets"],
- members: {
- SecurityGroupIds: { type: "list", member: {} },
- Subnets: { type: "list", member: {} },
- },
- },
- S25: {
- type: "structure",
- required: ["EntityTypes", "Documents"],
- members: {
- EntityTypes: {
- type: "list",
- member: {
- type: "structure",
- required: ["Type"],
- members: { Type: {} },
- },
- },
- Documents: {
- type: "structure",
- required: ["S3Uri"],
- members: { S3Uri: {} },
- },
- Annotations: {
- type: "structure",
- required: ["S3Uri"],
- members: { S3Uri: {} },
- },
- EntityList: {
- type: "structure",
- required: ["S3Uri"],
- members: { S3Uri: {} },
- },
- },
- },
- S2n: {
- type: "structure",
- members: {
- JobId: {},
- JobName: {},
- JobStatus: {},
- Message: {},
- SubmitTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- DocumentClassifierArn: {},
- InputDataConfig: { shape: "S2s" },
- OutputDataConfig: { shape: "S2u" },
- DataAccessRoleArn: {},
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- S2s: {
- type: "structure",
- required: ["S3Uri"],
- members: { S3Uri: {}, InputFormat: {} },
- },
- S2u: {
- type: "structure",
- required: ["S3Uri"],
- members: { S3Uri: {}, KmsKeyId: {} },
- },
- S2x: {
- type: "structure",
- members: {
- DocumentClassifierArn: {},
- LanguageCode: {},
- Status: {},
- Message: {},
- SubmitTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- TrainingStartTime: { type: "timestamp" },
- TrainingEndTime: { type: "timestamp" },
- InputDataConfig: { shape: "S1k" },
- OutputDataConfig: { shape: "S1n" },
- ClassifierMetadata: {
- type: "structure",
- members: {
- NumberOfLabels: { type: "integer" },
- NumberOfTrainedDocuments: { type: "integer" },
- NumberOfTestDocuments: { type: "integer" },
- EvaluationMetrics: {
- type: "structure",
- members: {
- Accuracy: { type: "double" },
- Precision: { type: "double" },
- Recall: { type: "double" },
- F1Score: { type: "double" },
- MicroPrecision: { type: "double" },
- MicroRecall: { type: "double" },
- MicroF1Score: { type: "double" },
- HammingLoss: { type: "double" },
- },
- },
- },
- },
- DataAccessRoleArn: {},
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- Mode: {},
- },
- },
- S34: {
- type: "structure",
- members: {
- JobId: {},
- JobName: {},
- JobStatus: {},
- Message: {},
- SubmitTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- InputDataConfig: { shape: "S2s" },
- OutputDataConfig: { shape: "S2u" },
- DataAccessRoleArn: {},
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- S37: {
- type: "structure",
- members: {
- EndpointArn: {},
- Status: {},
- Message: {},
- ModelArn: {},
- DesiredInferenceUnits: { type: "integer" },
- CurrentInferenceUnits: { type: "integer" },
- CreationTime: { type: "timestamp" },
- LastModifiedTime: { type: "timestamp" },
- },
- },
- S3b: {
- type: "structure",
- members: {
- JobId: {},
- JobName: {},
- JobStatus: {},
- Message: {},
- SubmitTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- EntityRecognizerArn: {},
- InputDataConfig: { shape: "S2s" },
- OutputDataConfig: { shape: "S2u" },
- LanguageCode: {},
- DataAccessRoleArn: {},
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- S3e: {
- type: "structure",
- members: {
- EntityRecognizerArn: {},
- LanguageCode: {},
- Status: {},
- Message: {},
- SubmitTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- TrainingStartTime: { type: "timestamp" },
- TrainingEndTime: { type: "timestamp" },
- InputDataConfig: { shape: "S25" },
- RecognizerMetadata: {
- type: "structure",
- members: {
- NumberOfTrainedDocuments: { type: "integer" },
- NumberOfTestDocuments: { type: "integer" },
- EvaluationMetrics: {
- type: "structure",
- members: {
- Precision: { type: "double" },
- Recall: { type: "double" },
- F1Score: { type: "double" },
- },
- },
- EntityTypes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Type: {},
- EvaluationMetrics: {
- type: "structure",
- members: {
- Precision: { type: "double" },
- Recall: { type: "double" },
- F1Score: { type: "double" },
- },
- },
- NumberOfTrainMentions: { type: "integer" },
- },
- },
- },
- },
- },
- DataAccessRoleArn: {},
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- S3m: {
- type: "structure",
- members: {
- JobId: {},
- JobName: {},
- JobStatus: {},
- Message: {},
- SubmitTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- InputDataConfig: { shape: "S2s" },
- OutputDataConfig: { shape: "S2u" },
- LanguageCode: {},
- DataAccessRoleArn: {},
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- S3p: {
- type: "structure",
- members: {
- JobId: {},
- JobName: {},
- JobStatus: {},
- Message: {},
- SubmitTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- InputDataConfig: { shape: "S2s" },
- OutputDataConfig: { shape: "S2u" },
- LanguageCode: {},
- DataAccessRoleArn: {},
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- S3s: {
- type: "structure",
- members: {
- JobId: {},
- JobName: {},
- JobStatus: {},
- Message: {},
- SubmitTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- InputDataConfig: { shape: "S2s" },
- OutputDataConfig: { shape: "S2u" },
- NumberOfTopics: { type: "integer" },
- DataAccessRoleArn: {},
- VolumeKmsKeyId: {},
- VpcConfig: { shape: "S1q" },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 3187: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
- __webpack_require__(4923);
- __webpack_require__(4906);
- 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 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.
- *
- * @!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] — 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.
- * @!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] whether to enable endpoint discovery for operations that
- * allow optionally using an endpoint returned by the service.
- * Defaults to 'false'
- *
- * @!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'
- */
- 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.
- * @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] whether to enable endpoint
- * discovery for operations that allow optionally using an endpoint returned by
- * the service.
- * Defaults to 'false'
- * @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'.
- */
- 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"));
- }
- },
-
- /**
- * @!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: false,
- endpointCacheSize: 1000,
- hostPrefixEnabled: true,
- stsRegionalEndpoints: "legacy",
- },
-
- /**
- * 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();
-
- /***/
- },
-
- /***/ 3206: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(7591);
- model.paginators = __webpack_require__(9983).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.Route53Domains;
-
- /***/
- },
-
- /***/ 3209: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 3220: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(3762);
- model.paginators = __webpack_require__(2816).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.ManagedBlockchain;
-
- /***/
- },
-
- /***/ 3222: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(7430);
- model.paginators = __webpack_require__(3658).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.IoTEvents;
-
- /***/
- },
-
- /***/ 3223: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(918);
- model.paginators = __webpack_require__(2449).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Textract;
-
- /***/
- },
-
- /***/ 3224: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2014-11-01",
- endpointPrefix: "kms",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "KMS",
- serviceFullName: "AWS Key Management Service",
- serviceId: "KMS",
- signatureVersion: "v4",
- targetPrefix: "TrentService",
- uid: "kms-2014-11-01",
- },
- operations: {
- CancelKeyDeletion: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: { KeyId: {} },
- },
- output: { type: "structure", members: { KeyId: {} } },
- },
- ConnectCustomKeyStore: {
- input: {
- type: "structure",
- required: ["CustomKeyStoreId"],
- members: { CustomKeyStoreId: {} },
- },
- output: { type: "structure", members: {} },
- },
- CreateAlias: {
- input: {
- type: "structure",
- required: ["AliasName", "TargetKeyId"],
- members: { AliasName: {}, TargetKeyId: {} },
- },
- },
- CreateCustomKeyStore: {
- input: {
- type: "structure",
- required: [
- "CustomKeyStoreName",
- "CloudHsmClusterId",
- "TrustAnchorCertificate",
- "KeyStorePassword",
- ],
- members: {
- CustomKeyStoreName: {},
- CloudHsmClusterId: {},
- TrustAnchorCertificate: {},
- KeyStorePassword: { shape: "Sd" },
- },
- },
- output: { type: "structure", members: { CustomKeyStoreId: {} } },
- },
- CreateGrant: {
- input: {
- type: "structure",
- required: ["KeyId", "GranteePrincipal", "Operations"],
- members: {
- KeyId: {},
- GranteePrincipal: {},
- RetiringPrincipal: {},
- Operations: { shape: "Sh" },
- Constraints: { shape: "Sj" },
- GrantTokens: { shape: "Sn" },
- Name: {},
- },
- },
- output: {
- type: "structure",
- members: { GrantToken: {}, GrantId: {} },
- },
- },
- CreateKey: {
- input: {
- type: "structure",
- members: {
- Policy: {},
- Description: {},
- KeyUsage: {},
- CustomerMasterKeySpec: {},
- Origin: {},
- CustomKeyStoreId: {},
- BypassPolicyLockoutSafetyCheck: { type: "boolean" },
- Tags: { shape: "Sz" },
- },
- },
- output: {
- type: "structure",
- members: { KeyMetadata: { shape: "S14" } },
- },
- },
- Decrypt: {
- input: {
- type: "structure",
- required: ["CiphertextBlob"],
- members: {
- CiphertextBlob: { type: "blob" },
- EncryptionContext: { shape: "Sk" },
- GrantTokens: { shape: "Sn" },
- KeyId: {},
- EncryptionAlgorithm: {},
- },
- },
- output: {
- type: "structure",
- members: {
- KeyId: {},
- Plaintext: { shape: "S1i" },
- EncryptionAlgorithm: {},
- },
- },
- },
- DeleteAlias: {
- input: {
- type: "structure",
- required: ["AliasName"],
- members: { AliasName: {} },
- },
- },
- DeleteCustomKeyStore: {
- input: {
- type: "structure",
- required: ["CustomKeyStoreId"],
- members: { CustomKeyStoreId: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteImportedKeyMaterial: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: { KeyId: {} },
- },
- },
- DescribeCustomKeyStores: {
- input: {
- type: "structure",
- members: {
- CustomKeyStoreId: {},
- CustomKeyStoreName: {},
- Limit: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- type: "structure",
- members: {
- CustomKeyStores: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CustomKeyStoreId: {},
- CustomKeyStoreName: {},
- CloudHsmClusterId: {},
- TrustAnchorCertificate: {},
- ConnectionState: {},
- ConnectionErrorCode: {},
- CreationDate: { type: "timestamp" },
- },
- },
- },
- NextMarker: {},
- Truncated: { type: "boolean" },
- },
- },
- },
- DescribeKey: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: { KeyId: {}, GrantTokens: { shape: "Sn" } },
- },
- output: {
- type: "structure",
- members: { KeyMetadata: { shape: "S14" } },
- },
- },
- DisableKey: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: { KeyId: {} },
- },
- },
- DisableKeyRotation: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: { KeyId: {} },
- },
- },
- DisconnectCustomKeyStore: {
- input: {
- type: "structure",
- required: ["CustomKeyStoreId"],
- members: { CustomKeyStoreId: {} },
- },
- output: { type: "structure", members: {} },
- },
- EnableKey: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: { KeyId: {} },
- },
- },
- EnableKeyRotation: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: { KeyId: {} },
- },
- },
- Encrypt: {
- input: {
- type: "structure",
- required: ["KeyId", "Plaintext"],
- members: {
- KeyId: {},
- Plaintext: { shape: "S1i" },
- EncryptionContext: { shape: "Sk" },
- GrantTokens: { shape: "Sn" },
- EncryptionAlgorithm: {},
- },
- },
- output: {
- type: "structure",
- members: {
- CiphertextBlob: { type: "blob" },
- KeyId: {},
- EncryptionAlgorithm: {},
- },
- },
- },
- GenerateDataKey: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: {
- KeyId: {},
- EncryptionContext: { shape: "Sk" },
- NumberOfBytes: { type: "integer" },
- KeySpec: {},
- GrantTokens: { shape: "Sn" },
- },
- },
- output: {
- type: "structure",
- members: {
- CiphertextBlob: { type: "blob" },
- Plaintext: { shape: "S1i" },
- KeyId: {},
- },
- },
- },
- GenerateDataKeyPair: {
- input: {
- type: "structure",
- required: ["KeyId", "KeyPairSpec"],
- members: {
- EncryptionContext: { shape: "Sk" },
- KeyId: {},
- KeyPairSpec: {},
- GrantTokens: { shape: "Sn" },
- },
- },
- output: {
- type: "structure",
- members: {
- PrivateKeyCiphertextBlob: { type: "blob" },
- PrivateKeyPlaintext: { shape: "S1i" },
- PublicKey: { type: "blob" },
- KeyId: {},
- KeyPairSpec: {},
- },
- },
- },
- GenerateDataKeyPairWithoutPlaintext: {
- input: {
- type: "structure",
- required: ["KeyId", "KeyPairSpec"],
- members: {
- EncryptionContext: { shape: "Sk" },
- KeyId: {},
- KeyPairSpec: {},
- GrantTokens: { shape: "Sn" },
- },
- },
- output: {
- type: "structure",
- members: {
- PrivateKeyCiphertextBlob: { type: "blob" },
- PublicKey: { type: "blob" },
- KeyId: {},
- KeyPairSpec: {},
- },
- },
- },
- GenerateDataKeyWithoutPlaintext: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: {
- KeyId: {},
- EncryptionContext: { shape: "Sk" },
- KeySpec: {},
- NumberOfBytes: { type: "integer" },
- GrantTokens: { shape: "Sn" },
- },
- },
- output: {
- type: "structure",
- members: { CiphertextBlob: { type: "blob" }, KeyId: {} },
- },
- },
- GenerateRandom: {
- input: {
- type: "structure",
- members: {
- NumberOfBytes: { type: "integer" },
- CustomKeyStoreId: {},
- },
- },
- output: {
- type: "structure",
- members: { Plaintext: { shape: "S1i" } },
- },
- },
- GetKeyPolicy: {
- input: {
- type: "structure",
- required: ["KeyId", "PolicyName"],
- members: { KeyId: {}, PolicyName: {} },
- },
- output: { type: "structure", members: { Policy: {} } },
- },
- GetKeyRotationStatus: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: { KeyId: {} },
- },
- output: {
- type: "structure",
- members: { KeyRotationEnabled: { type: "boolean" } },
- },
- },
- GetParametersForImport: {
- input: {
- type: "structure",
- required: ["KeyId", "WrappingAlgorithm", "WrappingKeySpec"],
- members: {
- KeyId: {},
- WrappingAlgorithm: {},
- WrappingKeySpec: {},
- },
- },
- output: {
- type: "structure",
- members: {
- KeyId: {},
- ImportToken: { type: "blob" },
- PublicKey: { shape: "S1i" },
- ParametersValidTo: { type: "timestamp" },
- },
- },
- },
- GetPublicKey: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: { KeyId: {}, GrantTokens: { shape: "Sn" } },
- },
- output: {
- type: "structure",
- members: {
- KeyId: {},
- PublicKey: { type: "blob" },
- CustomerMasterKeySpec: {},
- KeyUsage: {},
- EncryptionAlgorithms: { shape: "S1b" },
- SigningAlgorithms: { shape: "S1d" },
- },
- },
- },
- ImportKeyMaterial: {
- input: {
- type: "structure",
- required: ["KeyId", "ImportToken", "EncryptedKeyMaterial"],
- members: {
- KeyId: {},
- ImportToken: { type: "blob" },
- EncryptedKeyMaterial: { type: "blob" },
- ValidTo: { type: "timestamp" },
- ExpirationModel: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- ListAliases: {
- input: {
- type: "structure",
- members: { KeyId: {}, Limit: { type: "integer" }, Marker: {} },
- },
- output: {
- type: "structure",
- members: {
- Aliases: {
- type: "list",
- member: {
- type: "structure",
- members: { AliasName: {}, AliasArn: {}, TargetKeyId: {} },
- },
- },
- NextMarker: {},
- Truncated: { type: "boolean" },
- },
- },
- },
- ListGrants: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: { Limit: { type: "integer" }, Marker: {}, KeyId: {} },
- },
- output: { shape: "S31" },
- },
- ListKeyPolicies: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: { KeyId: {}, Limit: { type: "integer" }, Marker: {} },
- },
- output: {
- type: "structure",
- members: {
- PolicyNames: { type: "list", member: {} },
- NextMarker: {},
- Truncated: { type: "boolean" },
- },
- },
- },
- ListKeys: {
- input: {
- type: "structure",
- members: { Limit: { type: "integer" }, Marker: {} },
- },
- output: {
- type: "structure",
- members: {
- Keys: {
- type: "list",
- member: {
- type: "structure",
- members: { KeyId: {}, KeyArn: {} },
- },
- },
- NextMarker: {},
- Truncated: { type: "boolean" },
- },
- },
- },
- ListResourceTags: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: { KeyId: {}, Limit: { type: "integer" }, Marker: {} },
- },
- output: {
- type: "structure",
- members: {
- Tags: { shape: "Sz" },
- NextMarker: {},
- Truncated: { type: "boolean" },
- },
- },
- },
- ListRetirableGrants: {
- input: {
- type: "structure",
- required: ["RetiringPrincipal"],
- members: {
- Limit: { type: "integer" },
- Marker: {},
- RetiringPrincipal: {},
- },
- },
- output: { shape: "S31" },
- },
- PutKeyPolicy: {
- input: {
- type: "structure",
- required: ["KeyId", "PolicyName", "Policy"],
- members: {
- KeyId: {},
- PolicyName: {},
- Policy: {},
- BypassPolicyLockoutSafetyCheck: { type: "boolean" },
- },
- },
- },
- ReEncrypt: {
- input: {
- type: "structure",
- required: ["CiphertextBlob", "DestinationKeyId"],
- members: {
- CiphertextBlob: { type: "blob" },
- SourceEncryptionContext: { shape: "Sk" },
- SourceKeyId: {},
- DestinationKeyId: {},
- DestinationEncryptionContext: { shape: "Sk" },
- SourceEncryptionAlgorithm: {},
- DestinationEncryptionAlgorithm: {},
- GrantTokens: { shape: "Sn" },
- },
- },
- output: {
- type: "structure",
- members: {
- CiphertextBlob: { type: "blob" },
- SourceKeyId: {},
- KeyId: {},
- SourceEncryptionAlgorithm: {},
- DestinationEncryptionAlgorithm: {},
- },
- },
- },
- RetireGrant: {
- input: {
- type: "structure",
- members: { GrantToken: {}, KeyId: {}, GrantId: {} },
- },
- },
- RevokeGrant: {
- input: {
- type: "structure",
- required: ["KeyId", "GrantId"],
- members: { KeyId: {}, GrantId: {} },
- },
- },
- ScheduleKeyDeletion: {
- input: {
- type: "structure",
- required: ["KeyId"],
- members: { KeyId: {}, PendingWindowInDays: { type: "integer" } },
- },
- output: {
- type: "structure",
- members: { KeyId: {}, DeletionDate: { type: "timestamp" } },
- },
- },
- Sign: {
- input: {
- type: "structure",
- required: ["KeyId", "Message", "SigningAlgorithm"],
- members: {
- KeyId: {},
- Message: { shape: "S1i" },
- MessageType: {},
- GrantTokens: { shape: "Sn" },
- SigningAlgorithm: {},
- },
- },
- output: {
- type: "structure",
- members: {
- KeyId: {},
- Signature: { type: "blob" },
- SigningAlgorithm: {},
- },
- },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["KeyId", "Tags"],
- members: { KeyId: {}, Tags: { shape: "Sz" } },
- },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["KeyId", "TagKeys"],
- members: { KeyId: {}, TagKeys: { type: "list", member: {} } },
- },
- },
- UpdateAlias: {
- input: {
- type: "structure",
- required: ["AliasName", "TargetKeyId"],
- members: { AliasName: {}, TargetKeyId: {} },
- },
- },
- UpdateCustomKeyStore: {
- input: {
- type: "structure",
- required: ["CustomKeyStoreId"],
- members: {
- CustomKeyStoreId: {},
- NewCustomKeyStoreName: {},
- KeyStorePassword: { shape: "Sd" },
- CloudHsmClusterId: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateKeyDescription: {
- input: {
- type: "structure",
- required: ["KeyId", "Description"],
- members: { KeyId: {}, Description: {} },
- },
- },
- Verify: {
- input: {
- type: "structure",
- required: ["KeyId", "Message", "Signature", "SigningAlgorithm"],
- members: {
- KeyId: {},
- Message: { shape: "S1i" },
- MessageType: {},
- Signature: { type: "blob" },
- SigningAlgorithm: {},
- GrantTokens: { shape: "Sn" },
- },
- },
- output: {
- type: "structure",
- members: {
- KeyId: {},
- SignatureValid: { type: "boolean" },
- SigningAlgorithm: {},
- },
- },
- },
- },
- shapes: {
- Sd: { type: "string", sensitive: true },
- Sh: { type: "list", member: {} },
- Sj: {
- type: "structure",
- members: {
- EncryptionContextSubset: { shape: "Sk" },
- EncryptionContextEquals: { shape: "Sk" },
- },
- },
- Sk: { type: "map", key: {}, value: {} },
- Sn: { type: "list", member: {} },
- Sz: {
- type: "list",
- member: {
- type: "structure",
- required: ["TagKey", "TagValue"],
- members: { TagKey: {}, TagValue: {} },
- },
- },
- S14: {
- type: "structure",
- required: ["KeyId"],
- members: {
- AWSAccountId: {},
- KeyId: {},
- Arn: {},
- CreationDate: { type: "timestamp" },
- Enabled: { type: "boolean" },
- Description: {},
- KeyUsage: {},
- KeyState: {},
- DeletionDate: { type: "timestamp" },
- ValidTo: { type: "timestamp" },
- Origin: {},
- CustomKeyStoreId: {},
- CloudHsmClusterId: {},
- ExpirationModel: {},
- KeyManager: {},
- CustomerMasterKeySpec: {},
- EncryptionAlgorithms: { shape: "S1b" },
- SigningAlgorithms: { shape: "S1d" },
- },
- },
- S1b: { type: "list", member: {} },
- S1d: { type: "list", member: {} },
- S1i: { type: "blob", sensitive: true },
- S31: {
- type: "structure",
- members: {
- Grants: {
- type: "list",
- member: {
- type: "structure",
- members: {
- KeyId: {},
- GrantId: {},
- Name: {},
- CreationDate: { type: "timestamp" },
- GranteePrincipal: {},
- RetiringPrincipal: {},
- IssuingAccount: {},
- Operations: { shape: "Sh" },
- Constraints: { shape: "Sj" },
- },
- },
- },
- NextMarker: {},
- Truncated: { type: "boolean" },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 3229: /***/ function (module) {
- module.exports = {
- pagination: {
- ListChannels: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListDatasetContents: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListDatasets: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListDatastores: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListPipelines: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 3234: /***/ function (module, __unusedexports, __webpack_require__) {
- var util = __webpack_require__(153);
-
- util.isBrowser = function () {
- return false;
- };
- util.isNode = function () {
- return true;
- };
-
- // node.js specific modules
- util.crypto.lib = __webpack_require__(6417);
- util.Buffer = __webpack_require__(4293).Buffer;
- util.domain = __webpack_require__(5229);
- util.stream = __webpack_require__(2413);
- util.url = __webpack_require__(8835);
- util.querystring = __webpack_require__(1191);
- util.environment = "nodejs";
- util.createEventStream = util.stream.Readable
- ? __webpack_require__(445).createEventStream
- : __webpack_require__(1661).createEventStream;
- util.realClock = __webpack_require__(6693);
- util.clientSideMonitoring = {
- Publisher: __webpack_require__(1701).Publisher,
- configProvider: __webpack_require__(1762),
- };
- util.iniLoader = __webpack_require__(5892).iniLoader;
-
- var AWS;
-
- /**
- * @api private
- */
- module.exports = AWS = __webpack_require__(395);
-
- __webpack_require__(4923);
- __webpack_require__(4906);
- __webpack_require__(3043);
- __webpack_require__(9543);
- __webpack_require__(747);
- __webpack_require__(7170);
- __webpack_require__(2966);
- __webpack_require__(2982);
-
- // Load the xml2js XML parser
- AWS.XML.Parser = __webpack_require__(9810);
-
- // Load Node HTTP client
- __webpack_require__(6888);
-
- __webpack_require__(7960);
-
- // Load custom credential providers
- __webpack_require__(8868);
- __webpack_require__(6103);
- __webpack_require__(7426);
- __webpack_require__(9316);
- __webpack_require__(872);
- __webpack_require__(634);
- __webpack_require__(6431);
- __webpack_require__(2982);
-
- // Setup default chain providers
- // 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.SharedIniFileCredentials();
- },
- function () {
- return new AWS.ECSCredentials();
- },
- function () {
- return new AWS.ProcessCredentials();
- },
- function () {
- return new AWS.TokenFileWebIdentityCredentials();
- },
- function () {
- return new AWS.EC2MetadataCredentials();
- },
- ];
-
- // 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 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 = iniLoader.loadFrom(toCheck.shift());
- var profile =
- configFile[env.AWS_PROFILE || AWS.util.defaultProfile];
- region = profile && profile.region;
- }
- }
- return region;
- },
- });
-
- // Reset configuration
- AWS.config = new AWS.Config();
-
- /***/
- },
-
- /***/ 3252: /***/ function (module) {
- module.exports = {
- metadata: {
- apiVersion: "2017-09-08",
- endpointPrefix: "serverlessrepo",
- signingName: "serverlessrepo",
- serviceFullName: "AWSServerlessApplicationRepository",
- serviceId: "ServerlessApplicationRepository",
- protocol: "rest-json",
- jsonVersion: "1.1",
- uid: "serverlessrepo-2017-09-08",
- signatureVersion: "v4",
- },
- operations: {
- CreateApplication: {
- http: { requestUri: "/applications", responseCode: 201 },
- input: {
- type: "structure",
- members: {
- Author: { locationName: "author" },
- Description: { locationName: "description" },
- HomePageUrl: { locationName: "homePageUrl" },
- Labels: { shape: "S3", locationName: "labels" },
- LicenseBody: { locationName: "licenseBody" },
- LicenseUrl: { locationName: "licenseUrl" },
- Name: { locationName: "name" },
- ReadmeBody: { locationName: "readmeBody" },
- ReadmeUrl: { locationName: "readmeUrl" },
- SemanticVersion: { locationName: "semanticVersion" },
- SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" },
- SourceCodeUrl: { locationName: "sourceCodeUrl" },
- SpdxLicenseId: { locationName: "spdxLicenseId" },
- TemplateBody: { locationName: "templateBody" },
- TemplateUrl: { locationName: "templateUrl" },
- },
- required: ["Description", "Name", "Author"],
- },
- output: {
- type: "structure",
- members: {
- ApplicationId: { locationName: "applicationId" },
- Author: { locationName: "author" },
- CreationTime: { locationName: "creationTime" },
- Description: { locationName: "description" },
- HomePageUrl: { locationName: "homePageUrl" },
- IsVerifiedAuthor: {
- locationName: "isVerifiedAuthor",
- type: "boolean",
- },
- Labels: { shape: "S3", locationName: "labels" },
- LicenseUrl: { locationName: "licenseUrl" },
- Name: { locationName: "name" },
- ReadmeUrl: { locationName: "readmeUrl" },
- SpdxLicenseId: { locationName: "spdxLicenseId" },
- VerifiedAuthorUrl: { locationName: "verifiedAuthorUrl" },
- Version: { shape: "S6", locationName: "version" },
- },
- },
- },
- CreateApplicationVersion: {
- http: {
- method: "PUT",
- requestUri:
- "/applications/{applicationId}/versions/{semanticVersion}",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "applicationId",
- },
- SemanticVersion: {
- location: "uri",
- locationName: "semanticVersion",
- },
- SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" },
- SourceCodeUrl: { locationName: "sourceCodeUrl" },
- TemplateBody: { locationName: "templateBody" },
- TemplateUrl: { locationName: "templateUrl" },
- },
- required: ["ApplicationId", "SemanticVersion"],
- },
- output: {
- type: "structure",
- members: {
- ApplicationId: { locationName: "applicationId" },
- CreationTime: { locationName: "creationTime" },
- ParameterDefinitions: {
- shape: "S7",
- locationName: "parameterDefinitions",
- },
- RequiredCapabilities: {
- shape: "Sa",
- locationName: "requiredCapabilities",
- },
- ResourcesSupported: {
- locationName: "resourcesSupported",
- type: "boolean",
- },
- SemanticVersion: { locationName: "semanticVersion" },
- SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" },
- SourceCodeUrl: { locationName: "sourceCodeUrl" },
- TemplateUrl: { locationName: "templateUrl" },
- },
- },
- },
- CreateCloudFormationChangeSet: {
- http: {
- requestUri: "/applications/{applicationId}/changesets",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "applicationId",
- },
- Capabilities: { shape: "S3", locationName: "capabilities" },
- ChangeSetName: { locationName: "changeSetName" },
- ClientToken: { locationName: "clientToken" },
- Description: { locationName: "description" },
- NotificationArns: {
- shape: "S3",
- locationName: "notificationArns",
- },
- ParameterOverrides: {
- locationName: "parameterOverrides",
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: { locationName: "name" },
- Value: { locationName: "value" },
- },
- required: ["Value", "Name"],
- },
- },
- ResourceTypes: { shape: "S3", locationName: "resourceTypes" },
- RollbackConfiguration: {
- locationName: "rollbackConfiguration",
- type: "structure",
- members: {
- MonitoringTimeInMinutes: {
- locationName: "monitoringTimeInMinutes",
- type: "integer",
- },
- RollbackTriggers: {
- locationName: "rollbackTriggers",
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- Type: { locationName: "type" },
- },
- required: ["Type", "Arn"],
- },
- },
- },
- },
- SemanticVersion: { locationName: "semanticVersion" },
- StackName: { locationName: "stackName" },
- Tags: {
- locationName: "tags",
- type: "list",
- member: {
- type: "structure",
- members: {
- Key: { locationName: "key" },
- Value: { locationName: "value" },
- },
- required: ["Value", "Key"],
- },
- },
- TemplateId: { locationName: "templateId" },
- },
- required: ["ApplicationId", "StackName"],
- },
- output: {
- type: "structure",
- members: {
- ApplicationId: { locationName: "applicationId" },
- ChangeSetId: { locationName: "changeSetId" },
- SemanticVersion: { locationName: "semanticVersion" },
- StackId: { locationName: "stackId" },
- },
- },
- },
- CreateCloudFormationTemplate: {
- http: {
- requestUri: "/applications/{applicationId}/templates",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "applicationId",
- },
- SemanticVersion: { locationName: "semanticVersion" },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: {
- ApplicationId: { locationName: "applicationId" },
- CreationTime: { locationName: "creationTime" },
- ExpirationTime: { locationName: "expirationTime" },
- SemanticVersion: { locationName: "semanticVersion" },
- Status: { locationName: "status" },
- TemplateId: { locationName: "templateId" },
- TemplateUrl: { locationName: "templateUrl" },
- },
- },
- },
- DeleteApplication: {
- http: {
- method: "DELETE",
- requestUri: "/applications/{applicationId}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "applicationId",
- },
- },
- required: ["ApplicationId"],
- },
- },
- GetApplication: {
- http: {
- method: "GET",
- requestUri: "/applications/{applicationId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "applicationId",
- },
- SemanticVersion: {
- location: "querystring",
- locationName: "semanticVersion",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: {
- ApplicationId: { locationName: "applicationId" },
- Author: { locationName: "author" },
- CreationTime: { locationName: "creationTime" },
- Description: { locationName: "description" },
- HomePageUrl: { locationName: "homePageUrl" },
- IsVerifiedAuthor: {
- locationName: "isVerifiedAuthor",
- type: "boolean",
- },
- Labels: { shape: "S3", locationName: "labels" },
- LicenseUrl: { locationName: "licenseUrl" },
- Name: { locationName: "name" },
- ReadmeUrl: { locationName: "readmeUrl" },
- SpdxLicenseId: { locationName: "spdxLicenseId" },
- VerifiedAuthorUrl: { locationName: "verifiedAuthorUrl" },
- Version: { shape: "S6", locationName: "version" },
- },
- },
- },
- GetApplicationPolicy: {
- http: {
- method: "GET",
- requestUri: "/applications/{applicationId}/policy",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "applicationId",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: {
- Statements: { shape: "Sv", locationName: "statements" },
- },
- },
- },
- GetCloudFormationTemplate: {
- http: {
- method: "GET",
- requestUri:
- "/applications/{applicationId}/templates/{templateId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "applicationId",
- },
- TemplateId: { location: "uri", locationName: "templateId" },
- },
- required: ["ApplicationId", "TemplateId"],
- },
- output: {
- type: "structure",
- members: {
- ApplicationId: { locationName: "applicationId" },
- CreationTime: { locationName: "creationTime" },
- ExpirationTime: { locationName: "expirationTime" },
- SemanticVersion: { locationName: "semanticVersion" },
- Status: { locationName: "status" },
- TemplateId: { locationName: "templateId" },
- TemplateUrl: { locationName: "templateUrl" },
- },
- },
- },
- ListApplicationDependencies: {
- http: {
- method: "GET",
- requestUri: "/applications/{applicationId}/dependencies",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "applicationId",
- },
- MaxItems: {
- location: "querystring",
- locationName: "maxItems",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- SemanticVersion: {
- location: "querystring",
- locationName: "semanticVersion",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: {
- Dependencies: {
- locationName: "dependencies",
- type: "list",
- member: {
- type: "structure",
- members: {
- ApplicationId: { locationName: "applicationId" },
- SemanticVersion: { locationName: "semanticVersion" },
- },
- required: ["ApplicationId", "SemanticVersion"],
- },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListApplicationVersions: {
- http: {
- method: "GET",
- requestUri: "/applications/{applicationId}/versions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "applicationId",
- },
- MaxItems: {
- location: "querystring",
- locationName: "maxItems",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: {
- NextToken: { locationName: "nextToken" },
- Versions: {
- locationName: "versions",
- type: "list",
- member: {
- type: "structure",
- members: {
- ApplicationId: { locationName: "applicationId" },
- CreationTime: { locationName: "creationTime" },
- SemanticVersion: { locationName: "semanticVersion" },
- SourceCodeUrl: { locationName: "sourceCodeUrl" },
- },
- required: [
- "CreationTime",
- "ApplicationId",
- "SemanticVersion",
- ],
- },
- },
- },
- },
- },
- ListApplications: {
- http: {
- method: "GET",
- requestUri: "/applications",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxItems: {
- location: "querystring",
- locationName: "maxItems",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Applications: {
- locationName: "applications",
- type: "list",
- member: {
- type: "structure",
- members: {
- ApplicationId: { locationName: "applicationId" },
- Author: { locationName: "author" },
- CreationTime: { locationName: "creationTime" },
- Description: { locationName: "description" },
- HomePageUrl: { locationName: "homePageUrl" },
- Labels: { shape: "S3", locationName: "labels" },
- Name: { locationName: "name" },
- SpdxLicenseId: { locationName: "spdxLicenseId" },
- },
- required: [
- "Description",
- "Author",
- "ApplicationId",
- "Name",
- ],
- },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- PutApplicationPolicy: {
- http: {
- method: "PUT",
- requestUri: "/applications/{applicationId}/policy",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "applicationId",
- },
- Statements: { shape: "Sv", locationName: "statements" },
- },
- required: ["ApplicationId", "Statements"],
- },
- output: {
- type: "structure",
- members: {
- Statements: { shape: "Sv", locationName: "statements" },
- },
- },
- },
- UnshareApplication: {
- http: {
- requestUri: "/applications/{applicationId}/unshare",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "applicationId",
- },
- OrganizationId: { locationName: "organizationId" },
- },
- required: ["ApplicationId", "OrganizationId"],
- },
- },
- UpdateApplication: {
- http: {
- method: "PATCH",
- requestUri: "/applications/{applicationId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ApplicationId: {
- location: "uri",
- locationName: "applicationId",
- },
- Author: { locationName: "author" },
- Description: { locationName: "description" },
- HomePageUrl: { locationName: "homePageUrl" },
- Labels: { shape: "S3", locationName: "labels" },
- ReadmeBody: { locationName: "readmeBody" },
- ReadmeUrl: { locationName: "readmeUrl" },
- },
- required: ["ApplicationId"],
- },
- output: {
- type: "structure",
- members: {
- ApplicationId: { locationName: "applicationId" },
- Author: { locationName: "author" },
- CreationTime: { locationName: "creationTime" },
- Description: { locationName: "description" },
- HomePageUrl: { locationName: "homePageUrl" },
- IsVerifiedAuthor: {
- locationName: "isVerifiedAuthor",
- type: "boolean",
- },
- Labels: { shape: "S3", locationName: "labels" },
- LicenseUrl: { locationName: "licenseUrl" },
- Name: { locationName: "name" },
- ReadmeUrl: { locationName: "readmeUrl" },
- SpdxLicenseId: { locationName: "spdxLicenseId" },
- VerifiedAuthorUrl: { locationName: "verifiedAuthorUrl" },
- Version: { shape: "S6", locationName: "version" },
- },
- },
- },
- },
- shapes: {
- S3: { type: "list", member: {} },
- S6: {
- type: "structure",
- members: {
- ApplicationId: { locationName: "applicationId" },
- CreationTime: { locationName: "creationTime" },
- ParameterDefinitions: {
- shape: "S7",
- locationName: "parameterDefinitions",
- },
- RequiredCapabilities: {
- shape: "Sa",
- locationName: "requiredCapabilities",
- },
- ResourcesSupported: {
- locationName: "resourcesSupported",
- type: "boolean",
- },
- SemanticVersion: { locationName: "semanticVersion" },
- SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" },
- SourceCodeUrl: { locationName: "sourceCodeUrl" },
- TemplateUrl: { locationName: "templateUrl" },
- },
- required: [
- "TemplateUrl",
- "ParameterDefinitions",
- "ResourcesSupported",
- "CreationTime",
- "RequiredCapabilities",
- "ApplicationId",
- "SemanticVersion",
- ],
- },
- S7: {
- type: "list",
- member: {
- type: "structure",
- members: {
- AllowedPattern: { locationName: "allowedPattern" },
- AllowedValues: { shape: "S3", locationName: "allowedValues" },
- ConstraintDescription: {
- locationName: "constraintDescription",
- },
- DefaultValue: { locationName: "defaultValue" },
- Description: { locationName: "description" },
- MaxLength: { locationName: "maxLength", type: "integer" },
- MaxValue: { locationName: "maxValue", type: "integer" },
- MinLength: { locationName: "minLength", type: "integer" },
- MinValue: { locationName: "minValue", type: "integer" },
- Name: { locationName: "name" },
- NoEcho: { locationName: "noEcho", type: "boolean" },
- ReferencedByResources: {
- shape: "S3",
- locationName: "referencedByResources",
- },
- Type: { locationName: "type" },
- },
- required: ["ReferencedByResources", "Name"],
- },
- },
- Sa: { type: "list", member: {} },
- Sv: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Actions: { shape: "S3", locationName: "actions" },
- PrincipalOrgIDs: {
- shape: "S3",
- locationName: "principalOrgIDs",
- },
- Principals: { shape: "S3", locationName: "principals" },
- StatementId: { locationName: "statementId" },
- },
- required: ["Principals", "Actions"],
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 3253: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- DistributionDeployed: {
- delay: 60,
- operation: "GetDistribution",
- maxAttempts: 25,
- description: "Wait until a distribution is deployed.",
- acceptors: [
- {
- expected: "Deployed",
- matcher: "path",
- state: "success",
- argument: "Distribution.Status",
- },
- ],
- },
- InvalidationCompleted: {
- delay: 20,
- operation: "GetInvalidation",
- maxAttempts: 30,
- description: "Wait until an invalidation has completed.",
- acceptors: [
- {
- expected: "Completed",
- matcher: "path",
- state: "success",
- argument: "Invalidation.Status",
- },
- ],
- },
- StreamingDistributionDeployed: {
- delay: 60,
- operation: "GetStreamingDistribution",
- maxAttempts: 25,
- description: "Wait until a streaming distribution is deployed.",
- acceptors: [
- {
- expected: "Deployed",
- matcher: "path",
- state: "success",
- argument: "StreamingDistribution.Status",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 3260: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-04-01",
- endpointPrefix: "quicksight",
- jsonVersion: "1.0",
- protocol: "rest-json",
- serviceFullName: "Amazon QuickSight",
- serviceId: "QuickSight",
- signatureVersion: "v4",
- uid: "quicksight-2018-04-01",
- },
- operations: {
- CancelIngestion: {
- http: {
- method: "DELETE",
- requestUri:
- "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DataSetId", "IngestionId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSetId: { location: "uri", locationName: "DataSetId" },
- IngestionId: { location: "uri", locationName: "IngestionId" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- IngestionId: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- CreateDashboard: {
- http: {
- requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DashboardId", "Name", "SourceEntity"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DashboardId: { location: "uri", locationName: "DashboardId" },
- Name: {},
- Parameters: { shape: "Sb" },
- Permissions: { shape: "St" },
- SourceEntity: { shape: "Sx" },
- Tags: { shape: "S11" },
- VersionDescription: {},
- DashboardPublishOptions: { shape: "S16" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- VersionArn: {},
- DashboardId: {},
- CreationStatus: {},
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- CreateDataSet: {
- http: { requestUri: "/accounts/{AwsAccountId}/data-sets" },
- input: {
- type: "structure",
- required: [
- "AwsAccountId",
- "DataSetId",
- "Name",
- "PhysicalTableMap",
- "ImportMode",
- ],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSetId: {},
- Name: {},
- PhysicalTableMap: { shape: "S1h" },
- LogicalTableMap: { shape: "S21" },
- ImportMode: {},
- ColumnGroups: { shape: "S2s" },
- Permissions: { shape: "St" },
- RowLevelPermissionDataSet: { shape: "S2y" },
- Tags: { shape: "S11" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- DataSetId: {},
- IngestionArn: {},
- IngestionId: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- CreateDataSource: {
- http: { requestUri: "/accounts/{AwsAccountId}/data-sources" },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DataSourceId", "Name", "Type"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSourceId: {},
- Name: {},
- Type: {},
- DataSourceParameters: { shape: "S33" },
- Credentials: { shape: "S43" },
- Permissions: { shape: "St" },
- VpcConnectionProperties: { shape: "S47" },
- SslProperties: { shape: "S48" },
- Tags: { shape: "S11" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- DataSourceId: {},
- CreationStatus: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- CreateGroup: {
- http: {
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups",
- },
- input: {
- type: "structure",
- required: ["GroupName", "AwsAccountId", "Namespace"],
- members: {
- GroupName: {},
- Description: {},
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- Group: { shape: "S4f" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- CreateGroupMembership: {
- http: {
- method: "PUT",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}",
- },
- input: {
- type: "structure",
- required: [
- "MemberName",
- "GroupName",
- "AwsAccountId",
- "Namespace",
- ],
- members: {
- MemberName: { location: "uri", locationName: "MemberName" },
- GroupName: { location: "uri", locationName: "GroupName" },
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- GroupMember: { shape: "S4j" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- CreateIAMPolicyAssignment: {
- http: {
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/",
- },
- input: {
- type: "structure",
- required: [
- "AwsAccountId",
- "AssignmentName",
- "AssignmentStatus",
- "Namespace",
- ],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- AssignmentName: {},
- AssignmentStatus: {},
- PolicyArn: {},
- Identities: { shape: "S4n" },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- AssignmentName: {},
- AssignmentId: {},
- AssignmentStatus: {},
- PolicyArn: {},
- Identities: { shape: "S4n" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- CreateIngestion: {
- http: {
- method: "PUT",
- requestUri:
- "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}",
- },
- input: {
- type: "structure",
- required: ["DataSetId", "IngestionId", "AwsAccountId"],
- members: {
- DataSetId: { location: "uri", locationName: "DataSetId" },
- IngestionId: { location: "uri", locationName: "IngestionId" },
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- IngestionId: {},
- IngestionStatus: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- CreateTemplate: {
- http: {
- requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "TemplateId", "SourceEntity"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- TemplateId: { location: "uri", locationName: "TemplateId" },
- Name: {},
- Permissions: { shape: "St" },
- SourceEntity: { shape: "S4w" },
- Tags: { shape: "S11" },
- VersionDescription: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- VersionArn: {},
- TemplateId: {},
- CreationStatus: {},
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- CreateTemplateAlias: {
- http: {
- requestUri:
- "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
- },
- input: {
- type: "structure",
- required: [
- "AwsAccountId",
- "TemplateId",
- "AliasName",
- "TemplateVersionNumber",
- ],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- TemplateId: { location: "uri", locationName: "TemplateId" },
- AliasName: { location: "uri", locationName: "AliasName" },
- TemplateVersionNumber: { type: "long" },
- },
- },
- output: {
- type: "structure",
- members: {
- TemplateAlias: { shape: "S54" },
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- DeleteDashboard: {
- http: {
- method: "DELETE",
- requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DashboardId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DashboardId: { location: "uri", locationName: "DashboardId" },
- VersionNumber: {
- location: "querystring",
- locationName: "version-number",
- type: "long",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Status: { location: "statusCode", type: "integer" },
- Arn: {},
- DashboardId: {},
- RequestId: {},
- },
- },
- },
- DeleteDataSet: {
- http: {
- method: "DELETE",
- requestUri: "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DataSetId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSetId: { location: "uri", locationName: "DataSetId" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- DataSetId: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DeleteDataSource: {
- http: {
- method: "DELETE",
- requestUri:
- "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DataSourceId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSourceId: { location: "uri", locationName: "DataSourceId" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- DataSourceId: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DeleteGroup: {
- http: {
- method: "DELETE",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
- },
- input: {
- type: "structure",
- required: ["GroupName", "AwsAccountId", "Namespace"],
- members: {
- GroupName: { location: "uri", locationName: "GroupName" },
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DeleteGroupMembership: {
- http: {
- method: "DELETE",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}",
- },
- input: {
- type: "structure",
- required: [
- "MemberName",
- "GroupName",
- "AwsAccountId",
- "Namespace",
- ],
- members: {
- MemberName: { location: "uri", locationName: "MemberName" },
- GroupName: { location: "uri", locationName: "GroupName" },
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DeleteIAMPolicyAssignment: {
- http: {
- method: "DELETE",
- requestUri:
- "/accounts/{AwsAccountId}/namespace/{Namespace}/iam-policy-assignments/{AssignmentName}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "AssignmentName", "Namespace"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- AssignmentName: {
- location: "uri",
- locationName: "AssignmentName",
- },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- AssignmentName: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DeleteTemplate: {
- http: {
- method: "DELETE",
- requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "TemplateId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- TemplateId: { location: "uri", locationName: "TemplateId" },
- VersionNumber: {
- location: "querystring",
- locationName: "version-number",
- type: "long",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- RequestId: {},
- Arn: {},
- TemplateId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DeleteTemplateAlias: {
- http: {
- method: "DELETE",
- requestUri:
- "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "TemplateId", "AliasName"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- TemplateId: { location: "uri", locationName: "TemplateId" },
- AliasName: { location: "uri", locationName: "AliasName" },
- },
- },
- output: {
- type: "structure",
- members: {
- Status: { location: "statusCode", type: "integer" },
- TemplateId: {},
- AliasName: {},
- Arn: {},
- RequestId: {},
- },
- },
- },
- DeleteUser: {
- http: {
- method: "DELETE",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
- },
- input: {
- type: "structure",
- required: ["UserName", "AwsAccountId", "Namespace"],
- members: {
- UserName: { location: "uri", locationName: "UserName" },
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DeleteUserByPrincipalId: {
- http: {
- method: "DELETE",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}",
- },
- input: {
- type: "structure",
- required: ["PrincipalId", "AwsAccountId", "Namespace"],
- members: {
- PrincipalId: { location: "uri", locationName: "PrincipalId" },
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DescribeDashboard: {
- http: {
- method: "GET",
- requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DashboardId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DashboardId: { location: "uri", locationName: "DashboardId" },
- VersionNumber: {
- location: "querystring",
- locationName: "version-number",
- type: "long",
- },
- AliasName: {
- location: "querystring",
- locationName: "alias-name",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Dashboard: {
- type: "structure",
- members: {
- DashboardId: {},
- Arn: {},
- Name: {},
- Version: {
- type: "structure",
- members: {
- CreatedTime: { type: "timestamp" },
- Errors: {
- type: "list",
- member: {
- type: "structure",
- members: { Type: {}, Message: {} },
- },
- },
- VersionNumber: { type: "long" },
- Status: {},
- Arn: {},
- SourceEntityArn: {},
- Description: {},
- },
- },
- CreatedTime: { type: "timestamp" },
- LastPublishedTime: { type: "timestamp" },
- LastUpdatedTime: { type: "timestamp" },
- },
- },
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- DescribeDashboardPermissions: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DashboardId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DashboardId: { location: "uri", locationName: "DashboardId" },
- },
- },
- output: {
- type: "structure",
- members: {
- DashboardId: {},
- DashboardArn: {},
- Permissions: { shape: "St" },
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- DescribeDataSet: {
- http: {
- method: "GET",
- requestUri: "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DataSetId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSetId: { location: "uri", locationName: "DataSetId" },
- },
- },
- output: {
- type: "structure",
- members: {
- DataSet: {
- type: "structure",
- members: {
- Arn: {},
- DataSetId: {},
- Name: {},
- CreatedTime: { type: "timestamp" },
- LastUpdatedTime: { type: "timestamp" },
- PhysicalTableMap: { shape: "S1h" },
- LogicalTableMap: { shape: "S21" },
- OutputColumns: {
- type: "list",
- member: {
- type: "structure",
- members: { Name: {}, Type: {} },
- },
- },
- ImportMode: {},
- ConsumedSpiceCapacityInBytes: { type: "long" },
- ColumnGroups: { shape: "S2s" },
- RowLevelPermissionDataSet: { shape: "S2y" },
- },
- },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DescribeDataSetPermissions: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DataSetId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSetId: { location: "uri", locationName: "DataSetId" },
- },
- },
- output: {
- type: "structure",
- members: {
- DataSetArn: {},
- DataSetId: {},
- Permissions: { shape: "St" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DescribeDataSource: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DataSourceId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSourceId: { location: "uri", locationName: "DataSourceId" },
- },
- },
- output: {
- type: "structure",
- members: {
- DataSource: { shape: "S68" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DescribeDataSourcePermissions: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DataSourceId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSourceId: { location: "uri", locationName: "DataSourceId" },
- },
- },
- output: {
- type: "structure",
- members: {
- DataSourceArn: {},
- DataSourceId: {},
- Permissions: { shape: "St" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DescribeGroup: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
- },
- input: {
- type: "structure",
- required: ["GroupName", "AwsAccountId", "Namespace"],
- members: {
- GroupName: { location: "uri", locationName: "GroupName" },
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- Group: { shape: "S4f" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DescribeIAMPolicyAssignment: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "AssignmentName", "Namespace"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- AssignmentName: {
- location: "uri",
- locationName: "AssignmentName",
- },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- IAMPolicyAssignment: {
- type: "structure",
- members: {
- AwsAccountId: {},
- AssignmentId: {},
- AssignmentName: {},
- PolicyArn: {},
- Identities: { shape: "S4n" },
- AssignmentStatus: {},
- },
- },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DescribeIngestion: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DataSetId", "IngestionId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSetId: { location: "uri", locationName: "DataSetId" },
- IngestionId: { location: "uri", locationName: "IngestionId" },
- },
- },
- output: {
- type: "structure",
- members: {
- Ingestion: { shape: "S6k" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DescribeTemplate: {
- http: {
- method: "GET",
- requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "TemplateId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- TemplateId: { location: "uri", locationName: "TemplateId" },
- VersionNumber: {
- location: "querystring",
- locationName: "version-number",
- type: "long",
- },
- AliasName: {
- location: "querystring",
- locationName: "alias-name",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Template: {
- type: "structure",
- members: {
- Arn: {},
- Name: {},
- Version: {
- type: "structure",
- members: {
- CreatedTime: { type: "timestamp" },
- Errors: {
- type: "list",
- member: {
- type: "structure",
- members: { Type: {}, Message: {} },
- },
- },
- VersionNumber: { type: "long" },
- Status: {},
- DataSetConfigurations: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Placeholder: {},
- DataSetSchema: {
- type: "structure",
- members: {
- ColumnSchemaList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- DataType: {},
- GeographicRole: {},
- },
- },
- },
- },
- },
- ColumnGroupSchemaList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- ColumnGroupColumnSchemaList: {
- type: "list",
- member: {
- type: "structure",
- members: { Name: {} },
- },
- },
- },
- },
- },
- },
- },
- },
- Description: {},
- SourceEntityArn: {},
- },
- },
- TemplateId: {},
- LastUpdatedTime: { type: "timestamp" },
- CreatedTime: { type: "timestamp" },
- },
- },
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DescribeTemplateAlias: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "TemplateId", "AliasName"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- TemplateId: { location: "uri", locationName: "TemplateId" },
- AliasName: { location: "uri", locationName: "AliasName" },
- },
- },
- output: {
- type: "structure",
- members: {
- TemplateAlias: { shape: "S54" },
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- DescribeTemplatePermissions: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "TemplateId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- TemplateId: { location: "uri", locationName: "TemplateId" },
- },
- },
- output: {
- type: "structure",
- members: {
- TemplateId: {},
- TemplateArn: {},
- Permissions: { shape: "St" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- DescribeUser: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
- },
- input: {
- type: "structure",
- required: ["UserName", "AwsAccountId", "Namespace"],
- members: {
- UserName: { location: "uri", locationName: "UserName" },
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- User: { shape: "S7f" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- GetDashboardEmbedUrl: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/dashboards/{DashboardId}/embed-url",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DashboardId", "IdentityType"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DashboardId: { location: "uri", locationName: "DashboardId" },
- IdentityType: {
- location: "querystring",
- locationName: "creds-type",
- },
- SessionLifetimeInMinutes: {
- location: "querystring",
- locationName: "session-lifetime",
- type: "long",
- },
- UndoRedoDisabled: {
- location: "querystring",
- locationName: "undo-redo-disabled",
- type: "boolean",
- },
- ResetDisabled: {
- location: "querystring",
- locationName: "reset-disabled",
- type: "boolean",
- },
- UserArn: { location: "querystring", locationName: "user-arn" },
- },
- },
- output: {
- type: "structure",
- members: {
- EmbedUrl: { type: "string", sensitive: true },
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- ListDashboardVersions: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DashboardId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DashboardId: { location: "uri", locationName: "DashboardId" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- MaxResults: {
- location: "querystring",
- locationName: "max-results",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- DashboardVersionSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- CreatedTime: { type: "timestamp" },
- VersionNumber: { type: "long" },
- Status: {},
- SourceEntityArn: {},
- Description: {},
- },
- },
- },
- NextToken: {},
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- ListDashboards: {
- http: {
- method: "GET",
- requestUri: "/accounts/{AwsAccountId}/dashboards",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- MaxResults: {
- location: "querystring",
- locationName: "max-results",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- DashboardSummaryList: { shape: "S7u" },
- NextToken: {},
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- ListDataSets: {
- http: {
- method: "GET",
- requestUri: "/accounts/{AwsAccountId}/data-sets",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- MaxResults: {
- location: "querystring",
- locationName: "max-results",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- DataSetSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- DataSetId: {},
- Name: {},
- CreatedTime: { type: "timestamp" },
- LastUpdatedTime: { type: "timestamp" },
- ImportMode: {},
- RowLevelPermissionDataSet: { shape: "S2y" },
- },
- },
- },
- NextToken: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- ListDataSources: {
- http: {
- method: "GET",
- requestUri: "/accounts/{AwsAccountId}/data-sources",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- MaxResults: {
- location: "querystring",
- locationName: "max-results",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- DataSources: { type: "list", member: { shape: "S68" } },
- NextToken: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- ListGroupMemberships: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members",
- },
- input: {
- type: "structure",
- required: ["GroupName", "AwsAccountId", "Namespace"],
- members: {
- GroupName: { location: "uri", locationName: "GroupName" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- MaxResults: {
- location: "querystring",
- locationName: "max-results",
- type: "integer",
- },
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- GroupMemberList: { type: "list", member: { shape: "S4j" } },
- NextToken: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- ListGroups: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "Namespace"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- MaxResults: {
- location: "querystring",
- locationName: "max-results",
- type: "integer",
- },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- GroupList: { shape: "S88" },
- NextToken: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- ListIAMPolicyAssignments: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "Namespace"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- AssignmentStatus: {},
- Namespace: { location: "uri", locationName: "Namespace" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- MaxResults: {
- location: "querystring",
- locationName: "max-results",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- IAMPolicyAssignments: {
- type: "list",
- member: {
- type: "structure",
- members: { AssignmentName: {}, AssignmentStatus: {} },
- },
- },
- NextToken: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- ListIAMPolicyAssignmentsForUser: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/iam-policy-assignments",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "UserName", "Namespace"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- UserName: { location: "uri", locationName: "UserName" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- MaxResults: {
- location: "querystring",
- locationName: "max-results",
- type: "integer",
- },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- ActiveAssignments: {
- type: "list",
- member: {
- type: "structure",
- members: { AssignmentName: {}, PolicyArn: {} },
- },
- },
- RequestId: {},
- NextToken: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- ListIngestions: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions",
- },
- input: {
- type: "structure",
- required: ["DataSetId", "AwsAccountId"],
- members: {
- DataSetId: { location: "uri", locationName: "DataSetId" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- MaxResults: {
- location: "querystring",
- locationName: "max-results",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Ingestions: { type: "list", member: { shape: "S6k" } },
- NextToken: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- ListTagsForResource: {
- http: {
- method: "GET",
- requestUri: "/resources/{ResourceArn}/tags",
- },
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: {
- ResourceArn: { location: "uri", locationName: "ResourceArn" },
- },
- },
- output: {
- type: "structure",
- members: {
- Tags: { shape: "S11" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- ListTemplateAliases: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "TemplateId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- TemplateId: { location: "uri", locationName: "TemplateId" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- MaxResults: {
- location: "querystring",
- locationName: "max-result",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- TemplateAliasList: { type: "list", member: { shape: "S54" } },
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- NextToken: {},
- },
- },
- },
- ListTemplateVersions: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/templates/{TemplateId}/versions",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "TemplateId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- TemplateId: { location: "uri", locationName: "TemplateId" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- MaxResults: {
- location: "querystring",
- locationName: "max-results",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- TemplateVersionSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- VersionNumber: { type: "long" },
- CreatedTime: { type: "timestamp" },
- Status: {},
- Description: {},
- },
- },
- },
- NextToken: {},
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- ListTemplates: {
- http: {
- method: "GET",
- requestUri: "/accounts/{AwsAccountId}/templates",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- MaxResults: {
- location: "querystring",
- locationName: "max-result",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- TemplateSummaryList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- TemplateId: {},
- Name: {},
- LatestVersionNumber: { type: "long" },
- CreatedTime: { type: "timestamp" },
- LastUpdatedTime: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- ListUserGroups: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/groups",
- },
- input: {
- type: "structure",
- required: ["UserName", "AwsAccountId", "Namespace"],
- members: {
- UserName: { location: "uri", locationName: "UserName" },
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Namespace: { location: "uri", locationName: "Namespace" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- MaxResults: {
- location: "querystring",
- locationName: "max-results",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- GroupList: { shape: "S88" },
- NextToken: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- ListUsers: {
- http: {
- method: "GET",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/users",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "Namespace"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- NextToken: {
- location: "querystring",
- locationName: "next-token",
- },
- MaxResults: {
- location: "querystring",
- locationName: "max-results",
- type: "integer",
- },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- UserList: { type: "list", member: { shape: "S7f" } },
- NextToken: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- RegisterUser: {
- http: {
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/users",
- },
- input: {
- type: "structure",
- required: [
- "IdentityType",
- "Email",
- "UserRole",
- "AwsAccountId",
- "Namespace",
- ],
- members: {
- IdentityType: {},
- Email: {},
- UserRole: {},
- IamArn: {},
- SessionName: {},
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Namespace: { location: "uri", locationName: "Namespace" },
- UserName: {},
- },
- },
- output: {
- type: "structure",
- members: {
- User: { shape: "S7f" },
- UserInvitationUrl: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- SearchDashboards: {
- http: { requestUri: "/accounts/{AwsAccountId}/search/dashboards" },
- input: {
- type: "structure",
- required: ["AwsAccountId", "Filters"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Filters: {
- type: "list",
- member: {
- type: "structure",
- required: ["Operator"],
- members: { Operator: {}, Name: {}, Value: {} },
- },
- },
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- DashboardSummaryList: { shape: "S7u" },
- NextToken: {},
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- TagResource: {
- http: { requestUri: "/resources/{ResourceArn}/tags" },
- input: {
- type: "structure",
- required: ["ResourceArn", "Tags"],
- members: {
- ResourceArn: { location: "uri", locationName: "ResourceArn" },
- Tags: { shape: "S11" },
- },
- },
- output: {
- type: "structure",
- members: {
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- UntagResource: {
- http: {
- method: "DELETE",
- requestUri: "/resources/{ResourceArn}/tags",
- },
- input: {
- type: "structure",
- required: ["ResourceArn", "TagKeys"],
- members: {
- ResourceArn: { location: "uri", locationName: "ResourceArn" },
- TagKeys: {
- location: "querystring",
- locationName: "keys",
- type: "list",
- member: {},
- },
- },
- },
- output: {
- type: "structure",
- members: {
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- UpdateDashboard: {
- http: {
- method: "PUT",
- requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DashboardId", "Name", "SourceEntity"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DashboardId: { location: "uri", locationName: "DashboardId" },
- Name: {},
- SourceEntity: { shape: "Sx" },
- Parameters: { shape: "Sb" },
- VersionDescription: {},
- DashboardPublishOptions: { shape: "S16" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- VersionArn: {},
- DashboardId: {},
- CreationStatus: {},
- Status: { type: "integer" },
- RequestId: {},
- },
- },
- },
- UpdateDashboardPermissions: {
- http: {
- method: "PUT",
- requestUri:
- "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DashboardId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DashboardId: { location: "uri", locationName: "DashboardId" },
- GrantPermissions: { shape: "S9k" },
- RevokePermissions: { shape: "S9k" },
- },
- },
- output: {
- type: "structure",
- members: {
- DashboardArn: {},
- DashboardId: {},
- Permissions: { shape: "St" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- UpdateDashboardPublishedVersion: {
- http: {
- method: "PUT",
- requestUri:
- "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions/{VersionNumber}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DashboardId", "VersionNumber"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DashboardId: { location: "uri", locationName: "DashboardId" },
- VersionNumber: {
- location: "uri",
- locationName: "VersionNumber",
- type: "long",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- DashboardId: {},
- DashboardArn: {},
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- UpdateDataSet: {
- http: {
- method: "PUT",
- requestUri: "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
- },
- input: {
- type: "structure",
- required: [
- "AwsAccountId",
- "DataSetId",
- "Name",
- "PhysicalTableMap",
- "ImportMode",
- ],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSetId: { location: "uri", locationName: "DataSetId" },
- Name: {},
- PhysicalTableMap: { shape: "S1h" },
- LogicalTableMap: { shape: "S21" },
- ImportMode: {},
- ColumnGroups: { shape: "S2s" },
- RowLevelPermissionDataSet: { shape: "S2y" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- DataSetId: {},
- IngestionArn: {},
- IngestionId: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- UpdateDataSetPermissions: {
- http: {
- requestUri:
- "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DataSetId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSetId: { location: "uri", locationName: "DataSetId" },
- GrantPermissions: { shape: "St" },
- RevokePermissions: { shape: "St" },
- },
- },
- output: {
- type: "structure",
- members: {
- DataSetArn: {},
- DataSetId: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- UpdateDataSource: {
- http: {
- method: "PUT",
- requestUri:
- "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DataSourceId", "Name"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSourceId: { location: "uri", locationName: "DataSourceId" },
- Name: {},
- DataSourceParameters: { shape: "S33" },
- Credentials: { shape: "S43" },
- VpcConnectionProperties: { shape: "S47" },
- SslProperties: { shape: "S48" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: {},
- DataSourceId: {},
- UpdateStatus: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- UpdateDataSourcePermissions: {
- http: {
- requestUri:
- "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "DataSourceId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- DataSourceId: { location: "uri", locationName: "DataSourceId" },
- GrantPermissions: { shape: "St" },
- RevokePermissions: { shape: "St" },
- },
- },
- output: {
- type: "structure",
- members: {
- DataSourceArn: {},
- DataSourceId: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- UpdateGroup: {
- http: {
- method: "PUT",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
- },
- input: {
- type: "structure",
- required: ["GroupName", "AwsAccountId", "Namespace"],
- members: {
- GroupName: { location: "uri", locationName: "GroupName" },
- Description: {},
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Namespace: { location: "uri", locationName: "Namespace" },
- },
- },
- output: {
- type: "structure",
- members: {
- Group: { shape: "S4f" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- UpdateIAMPolicyAssignment: {
- http: {
- method: "PUT",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "AssignmentName", "Namespace"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- AssignmentName: {
- location: "uri",
- locationName: "AssignmentName",
- },
- Namespace: { location: "uri", locationName: "Namespace" },
- AssignmentStatus: {},
- PolicyArn: {},
- Identities: { shape: "S4n" },
- },
- },
- output: {
- type: "structure",
- members: {
- AssignmentName: {},
- AssignmentId: {},
- PolicyArn: {},
- Identities: { shape: "S4n" },
- AssignmentStatus: {},
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- UpdateTemplate: {
- http: {
- method: "PUT",
- requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "TemplateId", "SourceEntity"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- TemplateId: { location: "uri", locationName: "TemplateId" },
- SourceEntity: { shape: "S4w" },
- VersionDescription: {},
- Name: {},
- },
- },
- output: {
- type: "structure",
- members: {
- TemplateId: {},
- Arn: {},
- VersionArn: {},
- CreationStatus: {},
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- UpdateTemplateAlias: {
- http: {
- method: "PUT",
- requestUri:
- "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
- },
- input: {
- type: "structure",
- required: [
- "AwsAccountId",
- "TemplateId",
- "AliasName",
- "TemplateVersionNumber",
- ],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- TemplateId: { location: "uri", locationName: "TemplateId" },
- AliasName: { location: "uri", locationName: "AliasName" },
- TemplateVersionNumber: { type: "long" },
- },
- },
- output: {
- type: "structure",
- members: {
- TemplateAlias: { shape: "S54" },
- Status: { location: "statusCode", type: "integer" },
- RequestId: {},
- },
- },
- },
- UpdateTemplatePermissions: {
- http: {
- method: "PUT",
- requestUri:
- "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions",
- },
- input: {
- type: "structure",
- required: ["AwsAccountId", "TemplateId"],
- members: {
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- TemplateId: { location: "uri", locationName: "TemplateId" },
- GrantPermissions: { shape: "S9k" },
- RevokePermissions: { shape: "S9k" },
- },
- },
- output: {
- type: "structure",
- members: {
- TemplateId: {},
- TemplateArn: {},
- Permissions: { shape: "St" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- UpdateUser: {
- http: {
- method: "PUT",
- requestUri:
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
- },
- input: {
- type: "structure",
- required: [
- "UserName",
- "AwsAccountId",
- "Namespace",
- "Email",
- "Role",
- ],
- members: {
- UserName: { location: "uri", locationName: "UserName" },
- AwsAccountId: { location: "uri", locationName: "AwsAccountId" },
- Namespace: { location: "uri", locationName: "Namespace" },
- Email: {},
- Role: {},
- },
- },
- output: {
- type: "structure",
- members: {
- User: { shape: "S7f" },
- RequestId: {},
- Status: { location: "statusCode", type: "integer" },
- },
- },
- },
- },
- shapes: {
- Sb: {
- type: "structure",
- members: {
- StringParameters: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Values"],
- members: { Name: {}, Values: { type: "list", member: {} } },
- },
- },
- IntegerParameters: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Values"],
- members: {
- Name: {},
- Values: { type: "list", member: { type: "long" } },
- },
- },
- },
- DecimalParameters: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Values"],
- members: {
- Name: {},
- Values: { type: "list", member: { type: "double" } },
- },
- },
- },
- DateTimeParameters: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Values"],
- members: {
- Name: {},
- Values: { type: "list", member: { type: "timestamp" } },
- },
- },
- },
- },
- },
- St: { type: "list", member: { shape: "Su" } },
- Su: {
- type: "structure",
- required: ["Principal", "Actions"],
- members: { Principal: {}, Actions: { type: "list", member: {} } },
- },
- Sx: {
- type: "structure",
- members: {
- SourceTemplate: {
- type: "structure",
- required: ["DataSetReferences", "Arn"],
- members: { DataSetReferences: { shape: "Sz" }, Arn: {} },
- },
- },
- },
- Sz: {
- type: "list",
- member: {
- type: "structure",
- required: ["DataSetPlaceholder", "DataSetArn"],
- members: { DataSetPlaceholder: {}, DataSetArn: {} },
- },
- },
- S11: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- S16: {
- type: "structure",
- members: {
- AdHocFilteringOption: {
- type: "structure",
- members: { AvailabilityStatus: {} },
- },
- ExportToCSVOption: {
- type: "structure",
- members: { AvailabilityStatus: {} },
- },
- SheetControlsOption: {
- type: "structure",
- members: { VisibilityState: {} },
- },
- },
- },
- S1h: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- RelationalTable: {
- type: "structure",
- required: ["DataSourceArn", "Name", "InputColumns"],
- members: {
- DataSourceArn: {},
- Schema: {},
- Name: {},
- InputColumns: { shape: "S1n" },
- },
- },
- CustomSql: {
- type: "structure",
- required: ["DataSourceArn", "Name", "SqlQuery"],
- members: {
- DataSourceArn: {},
- Name: {},
- SqlQuery: {},
- Columns: { shape: "S1n" },
- },
- },
- S3Source: {
- type: "structure",
- required: ["DataSourceArn", "InputColumns"],
- members: {
- DataSourceArn: {},
- UploadSettings: {
- type: "structure",
- members: {
- Format: {},
- StartFromRow: { type: "integer" },
- ContainsHeader: { type: "boolean" },
- TextQualifier: {},
- Delimiter: {},
- },
- },
- InputColumns: { shape: "S1n" },
- },
- },
- },
- },
- },
- S1n: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Type"],
- members: { Name: {}, Type: {} },
- },
- },
- S21: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- required: ["Alias", "Source"],
- members: {
- Alias: {},
- DataTransforms: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ProjectOperation: {
- type: "structure",
- required: ["ProjectedColumns"],
- members: {
- ProjectedColumns: { type: "list", member: {} },
- },
- },
- FilterOperation: {
- type: "structure",
- required: ["ConditionExpression"],
- members: { ConditionExpression: {} },
- },
- CreateColumnsOperation: {
- type: "structure",
- required: ["Columns"],
- members: {
- Columns: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "ColumnName",
- "ColumnId",
- "Expression",
- ],
- members: {
- ColumnName: {},
- ColumnId: {},
- Expression: {},
- },
- },
- },
- },
- },
- RenameColumnOperation: {
- type: "structure",
- required: ["ColumnName", "NewColumnName"],
- members: { ColumnName: {}, NewColumnName: {} },
- },
- CastColumnTypeOperation: {
- type: "structure",
- required: ["ColumnName", "NewColumnType"],
- members: {
- ColumnName: {},
- NewColumnType: {},
- Format: {},
- },
- },
- TagColumnOperation: {
- type: "structure",
- required: ["ColumnName", "Tags"],
- members: {
- ColumnName: {},
- Tags: {
- type: "list",
- member: {
- type: "structure",
- members: { ColumnGeographicRole: {} },
- },
- },
- },
- },
- },
- },
- },
- Source: {
- type: "structure",
- members: {
- JoinInstruction: {
- type: "structure",
- required: [
- "LeftOperand",
- "RightOperand",
- "Type",
- "OnClause",
- ],
- members: {
- LeftOperand: {},
- RightOperand: {},
- Type: {},
- OnClause: {},
- },
- },
- PhysicalTableId: {},
- },
- },
- },
- },
- },
- S2s: {
- type: "list",
- member: {
- type: "structure",
- members: {
- GeoSpatialColumnGroup: {
- type: "structure",
- required: ["Name", "CountryCode", "Columns"],
- members: {
- Name: {},
- CountryCode: {},
- Columns: { type: "list", member: {} },
- },
- },
- },
- },
- },
- S2y: {
- type: "structure",
- required: ["Arn", "PermissionPolicy"],
- members: { Arn: {}, PermissionPolicy: {} },
- },
- S33: {
- type: "structure",
- members: {
- AmazonElasticsearchParameters: {
- type: "structure",
- required: ["Domain"],
- members: { Domain: {} },
- },
- AthenaParameters: {
- type: "structure",
- members: { WorkGroup: {} },
- },
- AuroraParameters: {
- type: "structure",
- required: ["Host", "Port", "Database"],
- members: { Host: {}, Port: { type: "integer" }, Database: {} },
- },
- AuroraPostgreSqlParameters: {
- type: "structure",
- required: ["Host", "Port", "Database"],
- members: { Host: {}, Port: { type: "integer" }, Database: {} },
- },
- AwsIotAnalyticsParameters: {
- type: "structure",
- required: ["DataSetName"],
- members: { DataSetName: {} },
- },
- JiraParameters: {
- type: "structure",
- required: ["SiteBaseUrl"],
- members: { SiteBaseUrl: {} },
- },
- MariaDbParameters: {
- type: "structure",
- required: ["Host", "Port", "Database"],
- members: { Host: {}, Port: { type: "integer" }, Database: {} },
- },
- MySqlParameters: {
- type: "structure",
- required: ["Host", "Port", "Database"],
- members: { Host: {}, Port: { type: "integer" }, Database: {} },
- },
- PostgreSqlParameters: {
- type: "structure",
- required: ["Host", "Port", "Database"],
- members: { Host: {}, Port: { type: "integer" }, Database: {} },
- },
- PrestoParameters: {
- type: "structure",
- required: ["Host", "Port", "Catalog"],
- members: { Host: {}, Port: { type: "integer" }, Catalog: {} },
- },
- RdsParameters: {
- type: "structure",
- required: ["InstanceId", "Database"],
- members: { InstanceId: {}, Database: {} },
- },
- RedshiftParameters: {
- type: "structure",
- required: ["Database"],
- members: {
- Host: {},
- Port: { type: "integer" },
- Database: {},
- ClusterId: {},
- },
- },
- S3Parameters: {
- type: "structure",
- required: ["ManifestFileLocation"],
- members: {
- ManifestFileLocation: {
- type: "structure",
- required: ["Bucket", "Key"],
- members: { Bucket: {}, Key: {} },
- },
- },
- },
- ServiceNowParameters: {
- type: "structure",
- required: ["SiteBaseUrl"],
- members: { SiteBaseUrl: {} },
- },
- SnowflakeParameters: {
- type: "structure",
- required: ["Host", "Database", "Warehouse"],
- members: { Host: {}, Database: {}, Warehouse: {} },
- },
- SparkParameters: {
- type: "structure",
- required: ["Host", "Port"],
- members: { Host: {}, Port: { type: "integer" } },
- },
- SqlServerParameters: {
- type: "structure",
- required: ["Host", "Port", "Database"],
- members: { Host: {}, Port: { type: "integer" }, Database: {} },
- },
- TeradataParameters: {
- type: "structure",
- required: ["Host", "Port", "Database"],
- members: { Host: {}, Port: { type: "integer" }, Database: {} },
- },
- TwitterParameters: {
- type: "structure",
- required: ["Query", "MaxRows"],
- members: { Query: {}, MaxRows: { type: "integer" } },
- },
- },
- },
- S43: {
- type: "structure",
- members: {
- CredentialPair: {
- type: "structure",
- required: ["Username", "Password"],
- members: { Username: {}, Password: {} },
- },
- },
- sensitive: true,
- },
- S47: {
- type: "structure",
- required: ["VpcConnectionArn"],
- members: { VpcConnectionArn: {} },
- },
- S48: {
- type: "structure",
- members: { DisableSsl: { type: "boolean" } },
- },
- S4f: {
- type: "structure",
- members: {
- Arn: {},
- GroupName: {},
- Description: {},
- PrincipalId: {},
- },
- },
- S4j: { type: "structure", members: { Arn: {}, MemberName: {} } },
- S4n: { type: "map", key: {}, value: { type: "list", member: {} } },
- S4w: {
- type: "structure",
- members: {
- SourceAnalysis: {
- type: "structure",
- required: ["Arn", "DataSetReferences"],
- members: { Arn: {}, DataSetReferences: { shape: "Sz" } },
- },
- SourceTemplate: {
- type: "structure",
- required: ["Arn"],
- members: { Arn: {} },
- },
- },
- },
- S54: {
- type: "structure",
- members: {
- AliasName: {},
- Arn: {},
- TemplateVersionNumber: { type: "long" },
- },
- },
- S68: {
- type: "structure",
- members: {
- Arn: {},
- DataSourceId: {},
- Name: {},
- Type: {},
- Status: {},
- CreatedTime: { type: "timestamp" },
- LastUpdatedTime: { type: "timestamp" },
- DataSourceParameters: { shape: "S33" },
- VpcConnectionProperties: { shape: "S47" },
- SslProperties: { shape: "S48" },
- ErrorInfo: {
- type: "structure",
- members: { Type: {}, Message: {} },
- },
- },
- },
- S6k: {
- type: "structure",
- required: ["Arn", "IngestionStatus", "CreatedTime"],
- members: {
- Arn: {},
- IngestionId: {},
- IngestionStatus: {},
- ErrorInfo: {
- type: "structure",
- members: { Type: {}, Message: {} },
- },
- RowInfo: {
- type: "structure",
- members: {
- RowsIngested: { type: "long" },
- RowsDropped: { type: "long" },
- },
- },
- QueueInfo: {
- type: "structure",
- required: ["WaitingOnIngestion", "QueuedIngestion"],
- members: { WaitingOnIngestion: {}, QueuedIngestion: {} },
- },
- CreatedTime: { type: "timestamp" },
- IngestionTimeInSeconds: { type: "long" },
- IngestionSizeInBytes: { type: "long" },
- RequestSource: {},
- RequestType: {},
- },
- },
- S7f: {
- type: "structure",
- members: {
- Arn: {},
- UserName: {},
- Email: {},
- Role: {},
- IdentityType: {},
- Active: { type: "boolean" },
- PrincipalId: {},
- },
- },
- S7u: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: {},
- DashboardId: {},
- Name: {},
- CreatedTime: { type: "timestamp" },
- LastUpdatedTime: { type: "timestamp" },
- PublishedVersionNumber: { type: "long" },
- LastPublishedTime: { type: "timestamp" },
- },
- },
- },
- S88: { type: "list", member: { shape: "S4f" } },
- S9k: { type: "list", member: { shape: "Su" } },
- },
- };
-
- /***/
- },
-
- /***/ 3265: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = getPage;
-
- const deprecate = __webpack_require__(6370);
- const getPageLinks = __webpack_require__(4577);
- const HttpError = __webpack_require__(2297);
-
- function getPage(octokit, link, which, headers) {
- deprecate(
- `octokit.get${
- which.charAt(0).toUpperCase() + which.slice(1)
- }Page() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`
- );
- const url = getPageLinks(link)[which];
-
- if (!url) {
- const urlError = new HttpError(`No ${which} page found`, 404);
- return Promise.reject(urlError);
- }
-
- const requestOptions = {
- url,
- headers: applyAcceptHeader(link, headers),
- };
-
- const promise = octokit.request(requestOptions);
-
- return promise;
- }
-
- function applyAcceptHeader(res, headers) {
- const previous = res.headers && res.headers["x-github-media-type"];
-
- if (!previous || (headers && headers.accept)) {
- return headers;
- }
- headers = headers || {};
- headers.accept =
- "application/vnd." +
- previous.replace("; param=", ".").replace("; format=", "+");
-
- return headers;
- }
-
- /***/
- },
-
- /***/ 3315: /***/ function (module, __unusedexports, __webpack_require__) {
- var util = __webpack_require__(153);
- var Rest = __webpack_require__(4618);
- var Json = __webpack_require__(9912);
- var JsonBuilder = __webpack_require__(337);
- var JsonParser = __webpack_require__(9806);
-
- 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 (params === undefined) return;
-
- if (payloadShape.type === "structure") {
- req.httpRequest.body = builder.build(params, payloadShape);
- applyContentTypeHeader(req);
- } else {
- // non-JSON payload
- req.httpRequest.body = params;
- if (payloadShape.type === "binary" || payloadShape.isStreaming) {
- applyContentTypeHeader(req, true);
- }
- }
- } else {
- var body = builder.build(req.params, input);
- if (body !== "{}" || req.httpRequest.method !== "GET") {
- //don't send empty body for GET method
- req.httpRequest.body = body;
- }
- applyContentTypeHeader(req);
- }
- }
-
- function applyContentTypeHeader(req, isBinary) {
- var operation = req.service.api.operations[req.operation];
- var input = operation.input;
-
- 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 HEAD/DELETE
- if (["HEAD", "DELETE"].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,
- };
-
- /***/
- },
-
- /***/ 3336: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = hasLastPage;
-
- const deprecate = __webpack_require__(6370);
- const getPageLinks = __webpack_require__(4577);
-
- function hasLastPage(link) {
- deprecate(
- `octokit.hasLastPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`
- );
- return getPageLinks(link).last;
- }
-
- /***/
- },
-
- /***/ 3346: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(4074);
- model.paginators = __webpack_require__(7571).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.MQ;
-
- /***/
- },
-
- /***/ 3370: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-11-01",
- endpointPrefix: "eks",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "Amazon EKS",
- serviceFullName: "Amazon Elastic Kubernetes Service",
- serviceId: "EKS",
- signatureVersion: "v4",
- signingName: "eks",
- uid: "eks-2017-11-01",
- },
- operations: {
- CreateCluster: {
- http: { requestUri: "/clusters" },
- input: {
- type: "structure",
- required: ["name", "roleArn", "resourcesVpcConfig"],
- members: {
- name: {},
- version: {},
- roleArn: {},
- resourcesVpcConfig: { shape: "S4" },
- logging: { shape: "S7" },
- clientRequestToken: { idempotencyToken: true },
- tags: { shape: "Sc" },
- encryptionConfig: { shape: "Sf" },
- },
- },
- output: {
- type: "structure",
- members: { cluster: { shape: "Sj" } },
- },
- },
- CreateFargateProfile: {
- http: { requestUri: "/clusters/{name}/fargate-profiles" },
- input: {
- type: "structure",
- required: [
- "fargateProfileName",
- "clusterName",
- "podExecutionRoleArn",
- ],
- members: {
- fargateProfileName: {},
- clusterName: { location: "uri", locationName: "name" },
- podExecutionRoleArn: {},
- subnets: { shape: "S5" },
- selectors: { shape: "Ss" },
- clientRequestToken: { idempotencyToken: true },
- tags: { shape: "Sc" },
- },
- },
- output: {
- type: "structure",
- members: { fargateProfile: { shape: "Sw" } },
- },
- },
- CreateNodegroup: {
- http: { requestUri: "/clusters/{name}/node-groups" },
- input: {
- type: "structure",
- required: ["clusterName", "nodegroupName", "subnets", "nodeRole"],
- members: {
- clusterName: { location: "uri", locationName: "name" },
- nodegroupName: {},
- scalingConfig: { shape: "Sz" },
- diskSize: { type: "integer" },
- subnets: { shape: "S5" },
- instanceTypes: { shape: "S5" },
- amiType: {},
- remoteAccess: { shape: "S13" },
- nodeRole: {},
- labels: { shape: "S14" },
- tags: { shape: "Sc" },
- clientRequestToken: { idempotencyToken: true },
- version: {},
- releaseVersion: {},
- },
- },
- output: {
- type: "structure",
- members: { nodegroup: { shape: "S18" } },
- },
- },
- DeleteCluster: {
- http: { method: "DELETE", requestUri: "/clusters/{name}" },
- input: {
- type: "structure",
- required: ["name"],
- members: { name: { location: "uri", locationName: "name" } },
- },
- output: {
- type: "structure",
- members: { cluster: { shape: "Sj" } },
- },
- },
- DeleteFargateProfile: {
- http: {
- method: "DELETE",
- requestUri:
- "/clusters/{name}/fargate-profiles/{fargateProfileName}",
- },
- input: {
- type: "structure",
- required: ["clusterName", "fargateProfileName"],
- members: {
- clusterName: { location: "uri", locationName: "name" },
- fargateProfileName: {
- location: "uri",
- locationName: "fargateProfileName",
- },
- },
- },
- output: {
- type: "structure",
- members: { fargateProfile: { shape: "Sw" } },
- },
- },
- DeleteNodegroup: {
- http: {
- method: "DELETE",
- requestUri: "/clusters/{name}/node-groups/{nodegroupName}",
- },
- input: {
- type: "structure",
- required: ["clusterName", "nodegroupName"],
- members: {
- clusterName: { location: "uri", locationName: "name" },
- nodegroupName: {
- location: "uri",
- locationName: "nodegroupName",
- },
- },
- },
- output: {
- type: "structure",
- members: { nodegroup: { shape: "S18" } },
- },
- },
- DescribeCluster: {
- http: { method: "GET", requestUri: "/clusters/{name}" },
- input: {
- type: "structure",
- required: ["name"],
- members: { name: { location: "uri", locationName: "name" } },
- },
- output: {
- type: "structure",
- members: { cluster: { shape: "Sj" } },
- },
- },
- DescribeFargateProfile: {
- http: {
- method: "GET",
- requestUri:
- "/clusters/{name}/fargate-profiles/{fargateProfileName}",
- },
- input: {
- type: "structure",
- required: ["clusterName", "fargateProfileName"],
- members: {
- clusterName: { location: "uri", locationName: "name" },
- fargateProfileName: {
- location: "uri",
- locationName: "fargateProfileName",
- },
- },
- },
- output: {
- type: "structure",
- members: { fargateProfile: { shape: "Sw" } },
- },
- },
- DescribeNodegroup: {
- http: {
- method: "GET",
- requestUri: "/clusters/{name}/node-groups/{nodegroupName}",
- },
- input: {
- type: "structure",
- required: ["clusterName", "nodegroupName"],
- members: {
- clusterName: { location: "uri", locationName: "name" },
- nodegroupName: {
- location: "uri",
- locationName: "nodegroupName",
- },
- },
- },
- output: {
- type: "structure",
- members: { nodegroup: { shape: "S18" } },
- },
- },
- DescribeUpdate: {
- http: {
- method: "GET",
- requestUri: "/clusters/{name}/updates/{updateId}",
- },
- input: {
- type: "structure",
- required: ["name", "updateId"],
- members: {
- name: { location: "uri", locationName: "name" },
- updateId: { location: "uri", locationName: "updateId" },
- nodegroupName: {
- location: "querystring",
- locationName: "nodegroupName",
- },
- },
- },
- output: {
- type: "structure",
- members: { update: { shape: "S1v" } },
- },
- },
- ListClusters: {
- http: { method: "GET", requestUri: "/clusters" },
- input: {
- type: "structure",
- members: {
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: { clusters: { shape: "S5" }, nextToken: {} },
- },
- },
- ListFargateProfiles: {
- http: {
- method: "GET",
- requestUri: "/clusters/{name}/fargate-profiles",
- },
- input: {
- type: "structure",
- required: ["clusterName"],
- members: {
- clusterName: { location: "uri", locationName: "name" },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: { fargateProfileNames: { shape: "S5" }, nextToken: {} },
- },
- },
- ListNodegroups: {
- http: { method: "GET", requestUri: "/clusters/{name}/node-groups" },
- input: {
- type: "structure",
- required: ["clusterName"],
- members: {
- clusterName: { location: "uri", locationName: "name" },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: { nodegroups: { shape: "S5" }, nextToken: {} },
- },
- },
- ListTagsForResource: {
- http: { method: "GET", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- },
- },
- output: { type: "structure", members: { tags: { shape: "Sc" } } },
- },
- ListUpdates: {
- http: { method: "GET", requestUri: "/clusters/{name}/updates" },
- input: {
- type: "structure",
- required: ["name"],
- members: {
- name: { location: "uri", locationName: "name" },
- nodegroupName: {
- location: "querystring",
- locationName: "nodegroupName",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: { updateIds: { shape: "S5" }, nextToken: {} },
- },
- },
- TagResource: {
- http: { requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn", "tags"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tags: { shape: "Sc" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- http: { method: "DELETE", requestUri: "/tags/{resourceArn}" },
- input: {
- type: "structure",
- required: ["resourceArn", "tagKeys"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tagKeys: {
- location: "querystring",
- locationName: "tagKeys",
- type: "list",
- member: {},
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateClusterConfig: {
- http: { requestUri: "/clusters/{name}/update-config" },
- input: {
- type: "structure",
- required: ["name"],
- members: {
- name: { location: "uri", locationName: "name" },
- resourcesVpcConfig: { shape: "S4" },
- logging: { shape: "S7" },
- clientRequestToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { update: { shape: "S1v" } },
- },
- },
- UpdateClusterVersion: {
- http: { requestUri: "/clusters/{name}/updates" },
- input: {
- type: "structure",
- required: ["name", "version"],
- members: {
- name: { location: "uri", locationName: "name" },
- version: {},
- clientRequestToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { update: { shape: "S1v" } },
- },
- },
- UpdateNodegroupConfig: {
- http: {
- requestUri:
- "/clusters/{name}/node-groups/{nodegroupName}/update-config",
- },
- input: {
- type: "structure",
- required: ["clusterName", "nodegroupName"],
- members: {
- clusterName: { location: "uri", locationName: "name" },
- nodegroupName: {
- location: "uri",
- locationName: "nodegroupName",
- },
- labels: {
- type: "structure",
- members: {
- addOrUpdateLabels: { shape: "S14" },
- removeLabels: { type: "list", member: {} },
- },
- },
- scalingConfig: { shape: "Sz" },
- clientRequestToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { update: { shape: "S1v" } },
- },
- },
- UpdateNodegroupVersion: {
- http: {
- requestUri:
- "/clusters/{name}/node-groups/{nodegroupName}/update-version",
- },
- input: {
- type: "structure",
- required: ["clusterName", "nodegroupName"],
- members: {
- clusterName: { location: "uri", locationName: "name" },
- nodegroupName: {
- location: "uri",
- locationName: "nodegroupName",
- },
- version: {},
- releaseVersion: {},
- force: { type: "boolean" },
- clientRequestToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { update: { shape: "S1v" } },
- },
- },
- },
- shapes: {
- S4: {
- type: "structure",
- members: {
- subnetIds: { shape: "S5" },
- securityGroupIds: { shape: "S5" },
- endpointPublicAccess: { type: "boolean" },
- endpointPrivateAccess: { type: "boolean" },
- publicAccessCidrs: { shape: "S5" },
- },
- },
- S5: { type: "list", member: {} },
- S7: {
- type: "structure",
- members: {
- clusterLogging: {
- type: "list",
- member: {
- type: "structure",
- members: {
- types: { type: "list", member: {} },
- enabled: { type: "boolean" },
- },
- },
- },
- },
- },
- Sc: { type: "map", key: {}, value: {} },
- Sf: {
- type: "list",
- member: {
- type: "structure",
- members: {
- resources: { shape: "S5" },
- provider: { type: "structure", members: { keyArn: {} } },
- },
- },
- },
- Sj: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- createdAt: { type: "timestamp" },
- version: {},
- endpoint: {},
- roleArn: {},
- resourcesVpcConfig: {
- type: "structure",
- members: {
- subnetIds: { shape: "S5" },
- securityGroupIds: { shape: "S5" },
- clusterSecurityGroupId: {},
- vpcId: {},
- endpointPublicAccess: { type: "boolean" },
- endpointPrivateAccess: { type: "boolean" },
- publicAccessCidrs: { shape: "S5" },
- },
- },
- logging: { shape: "S7" },
- identity: {
- type: "structure",
- members: {
- oidc: { type: "structure", members: { issuer: {} } },
- },
- },
- status: {},
- certificateAuthority: {
- type: "structure",
- members: { data: {} },
- },
- clientRequestToken: {},
- platformVersion: {},
- tags: { shape: "Sc" },
- encryptionConfig: { shape: "Sf" },
- },
- },
- Ss: {
- type: "list",
- member: {
- type: "structure",
- members: {
- namespace: {},
- labels: { type: "map", key: {}, value: {} },
- },
- },
- },
- Sw: {
- type: "structure",
- members: {
- fargateProfileName: {},
- fargateProfileArn: {},
- clusterName: {},
- createdAt: { type: "timestamp" },
- podExecutionRoleArn: {},
- subnets: { shape: "S5" },
- selectors: { shape: "Ss" },
- status: {},
- tags: { shape: "Sc" },
- },
- },
- Sz: {
- type: "structure",
- members: {
- minSize: { type: "integer" },
- maxSize: { type: "integer" },
- desiredSize: { type: "integer" },
- },
- },
- S13: {
- type: "structure",
- members: { ec2SshKey: {}, sourceSecurityGroups: { shape: "S5" } },
- },
- S14: { type: "map", key: {}, value: {} },
- S18: {
- type: "structure",
- members: {
- nodegroupName: {},
- nodegroupArn: {},
- clusterName: {},
- version: {},
- releaseVersion: {},
- createdAt: { type: "timestamp" },
- modifiedAt: { type: "timestamp" },
- status: {},
- scalingConfig: { shape: "Sz" },
- instanceTypes: { shape: "S5" },
- subnets: { shape: "S5" },
- remoteAccess: { shape: "S13" },
- amiType: {},
- nodeRole: {},
- labels: { shape: "S14" },
- resources: {
- type: "structure",
- members: {
- autoScalingGroups: {
- type: "list",
- member: { type: "structure", members: { name: {} } },
- },
- remoteAccessSecurityGroup: {},
- },
- },
- diskSize: { type: "integer" },
- health: {
- type: "structure",
- members: {
- issues: {
- type: "list",
- member: {
- type: "structure",
- members: {
- code: {},
- message: {},
- resourceIds: { shape: "S5" },
- },
- },
- },
- },
- },
- tags: { shape: "Sc" },
- },
- },
- S1v: {
- type: "structure",
- members: {
- id: {},
- status: {},
- type: {},
- params: {
- type: "list",
- member: { type: "structure", members: { type: {}, value: {} } },
- },
- createdAt: { type: "timestamp" },
- errors: {
- type: "list",
- member: {
- type: "structure",
- members: {
- errorCode: {},
- errorMessage: {},
- resourceIds: { shape: "S5" },
- },
- },
- },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 3387: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-05-13",
- endpointPrefix: "runtime.sagemaker",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceFullName: "Amazon SageMaker Runtime",
- serviceId: "SageMaker Runtime",
- signatureVersion: "v4",
- signingName: "sagemaker",
- uid: "runtime.sagemaker-2017-05-13",
- },
- operations: {
- InvokeEndpoint: {
- http: { requestUri: "/endpoints/{EndpointName}/invocations" },
- input: {
- type: "structure",
- required: ["EndpointName", "Body"],
- members: {
- EndpointName: { location: "uri", locationName: "EndpointName" },
- Body: { shape: "S3" },
- ContentType: {
- location: "header",
- locationName: "Content-Type",
- },
- Accept: { location: "header", locationName: "Accept" },
- CustomAttributes: {
- shape: "S5",
- location: "header",
- locationName: "X-Amzn-SageMaker-Custom-Attributes",
- },
- TargetModel: {
- location: "header",
- locationName: "X-Amzn-SageMaker-Target-Model",
- },
- },
- payload: "Body",
- },
- output: {
- type: "structure",
- required: ["Body"],
- members: {
- Body: { shape: "S3" },
- ContentType: {
- location: "header",
- locationName: "Content-Type",
- },
- InvokedProductionVariant: {
- location: "header",
- locationName: "x-Amzn-Invoked-Production-Variant",
- },
- CustomAttributes: {
- shape: "S5",
- location: "header",
- locationName: "X-Amzn-SageMaker-Custom-Attributes",
- },
- },
- payload: "Body",
- },
- },
- },
- shapes: {
- S3: { type: "blob", sensitive: true },
- S5: { type: "string", sensitive: true },
- },
- };
-
- /***/
- },
-
- /***/ 3393: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2013-01-01",
- endpointPrefix: "cloudsearch",
- protocol: "query",
- serviceFullName: "Amazon CloudSearch",
- serviceId: "CloudSearch",
- signatureVersion: "v4",
- uid: "cloudsearch-2013-01-01",
- xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
- },
- operations: {
- BuildSuggesters: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: { DomainName: {} },
- },
- output: {
- resultWrapper: "BuildSuggestersResult",
- type: "structure",
- members: { FieldNames: { shape: "S4" } },
- },
- },
- CreateDomain: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: { DomainName: {} },
- },
- output: {
- resultWrapper: "CreateDomainResult",
- type: "structure",
- members: { DomainStatus: { shape: "S8" } },
- },
- },
- DefineAnalysisScheme: {
- input: {
- type: "structure",
- required: ["DomainName", "AnalysisScheme"],
- members: { DomainName: {}, AnalysisScheme: { shape: "Sl" } },
- },
- output: {
- resultWrapper: "DefineAnalysisSchemeResult",
- type: "structure",
- required: ["AnalysisScheme"],
- members: { AnalysisScheme: { shape: "Ss" } },
- },
- },
- DefineExpression: {
- input: {
- type: "structure",
- required: ["DomainName", "Expression"],
- members: { DomainName: {}, Expression: { shape: "Sy" } },
- },
- output: {
- resultWrapper: "DefineExpressionResult",
- type: "structure",
- required: ["Expression"],
- members: { Expression: { shape: "S11" } },
- },
- },
- DefineIndexField: {
- input: {
- type: "structure",
- required: ["DomainName", "IndexField"],
- members: { DomainName: {}, IndexField: { shape: "S13" } },
- },
- output: {
- resultWrapper: "DefineIndexFieldResult",
- type: "structure",
- required: ["IndexField"],
- members: { IndexField: { shape: "S1n" } },
- },
- },
- DefineSuggester: {
- input: {
- type: "structure",
- required: ["DomainName", "Suggester"],
- members: { DomainName: {}, Suggester: { shape: "S1p" } },
- },
- output: {
- resultWrapper: "DefineSuggesterResult",
- type: "structure",
- required: ["Suggester"],
- members: { Suggester: { shape: "S1t" } },
- },
- },
- DeleteAnalysisScheme: {
- input: {
- type: "structure",
- required: ["DomainName", "AnalysisSchemeName"],
- members: { DomainName: {}, AnalysisSchemeName: {} },
- },
- output: {
- resultWrapper: "DeleteAnalysisSchemeResult",
- type: "structure",
- required: ["AnalysisScheme"],
- members: { AnalysisScheme: { shape: "Ss" } },
- },
- },
- DeleteDomain: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: { DomainName: {} },
- },
- output: {
- resultWrapper: "DeleteDomainResult",
- type: "structure",
- members: { DomainStatus: { shape: "S8" } },
- },
- },
- DeleteExpression: {
- input: {
- type: "structure",
- required: ["DomainName", "ExpressionName"],
- members: { DomainName: {}, ExpressionName: {} },
- },
- output: {
- resultWrapper: "DeleteExpressionResult",
- type: "structure",
- required: ["Expression"],
- members: { Expression: { shape: "S11" } },
- },
- },
- DeleteIndexField: {
- input: {
- type: "structure",
- required: ["DomainName", "IndexFieldName"],
- members: { DomainName: {}, IndexFieldName: {} },
- },
- output: {
- resultWrapper: "DeleteIndexFieldResult",
- type: "structure",
- required: ["IndexField"],
- members: { IndexField: { shape: "S1n" } },
- },
- },
- DeleteSuggester: {
- input: {
- type: "structure",
- required: ["DomainName", "SuggesterName"],
- members: { DomainName: {}, SuggesterName: {} },
- },
- output: {
- resultWrapper: "DeleteSuggesterResult",
- type: "structure",
- required: ["Suggester"],
- members: { Suggester: { shape: "S1t" } },
- },
- },
- DescribeAnalysisSchemes: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: {
- DomainName: {},
- AnalysisSchemeNames: { shape: "S25" },
- Deployed: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeAnalysisSchemesResult",
- type: "structure",
- required: ["AnalysisSchemes"],
- members: {
- AnalysisSchemes: { type: "list", member: { shape: "Ss" } },
- },
- },
- },
- DescribeAvailabilityOptions: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: { DomainName: {}, Deployed: { type: "boolean" } },
- },
- output: {
- resultWrapper: "DescribeAvailabilityOptionsResult",
- type: "structure",
- members: { AvailabilityOptions: { shape: "S2a" } },
- },
- },
- DescribeDomainEndpointOptions: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: { DomainName: {}, Deployed: { type: "boolean" } },
- },
- output: {
- resultWrapper: "DescribeDomainEndpointOptionsResult",
- type: "structure",
- members: { DomainEndpointOptions: { shape: "S2e" } },
- },
- },
- DescribeDomains: {
- input: {
- type: "structure",
- members: { DomainNames: { type: "list", member: {} } },
- },
- output: {
- resultWrapper: "DescribeDomainsResult",
- type: "structure",
- required: ["DomainStatusList"],
- members: {
- DomainStatusList: { type: "list", member: { shape: "S8" } },
- },
- },
- },
- DescribeExpressions: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: {
- DomainName: {},
- ExpressionNames: { shape: "S25" },
- Deployed: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeExpressionsResult",
- type: "structure",
- required: ["Expressions"],
- members: {
- Expressions: { type: "list", member: { shape: "S11" } },
- },
- },
- },
- DescribeIndexFields: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: {
- DomainName: {},
- FieldNames: { type: "list", member: {} },
- Deployed: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeIndexFieldsResult",
- type: "structure",
- required: ["IndexFields"],
- members: {
- IndexFields: { type: "list", member: { shape: "S1n" } },
- },
- },
- },
- DescribeScalingParameters: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: { DomainName: {} },
- },
- output: {
- resultWrapper: "DescribeScalingParametersResult",
- type: "structure",
- required: ["ScalingParameters"],
- members: { ScalingParameters: { shape: "S2u" } },
- },
- },
- DescribeServiceAccessPolicies: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: { DomainName: {}, Deployed: { type: "boolean" } },
- },
- output: {
- resultWrapper: "DescribeServiceAccessPoliciesResult",
- type: "structure",
- required: ["AccessPolicies"],
- members: { AccessPolicies: { shape: "S2z" } },
- },
- },
- DescribeSuggesters: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: {
- DomainName: {},
- SuggesterNames: { shape: "S25" },
- Deployed: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeSuggestersResult",
- type: "structure",
- required: ["Suggesters"],
- members: {
- Suggesters: { type: "list", member: { shape: "S1t" } },
- },
- },
- },
- IndexDocuments: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: { DomainName: {} },
- },
- output: {
- resultWrapper: "IndexDocumentsResult",
- type: "structure",
- members: { FieldNames: { shape: "S4" } },
- },
- },
- ListDomainNames: {
- output: {
- resultWrapper: "ListDomainNamesResult",
- type: "structure",
- members: { DomainNames: { type: "map", key: {}, value: {} } },
- },
- },
- UpdateAvailabilityOptions: {
- input: {
- type: "structure",
- required: ["DomainName", "MultiAZ"],
- members: { DomainName: {}, MultiAZ: { type: "boolean" } },
- },
- output: {
- resultWrapper: "UpdateAvailabilityOptionsResult",
- type: "structure",
- members: { AvailabilityOptions: { shape: "S2a" } },
- },
- },
- UpdateDomainEndpointOptions: {
- input: {
- type: "structure",
- required: ["DomainName", "DomainEndpointOptions"],
- members: {
- DomainName: {},
- DomainEndpointOptions: { shape: "S2f" },
- },
- },
- output: {
- resultWrapper: "UpdateDomainEndpointOptionsResult",
- type: "structure",
- members: { DomainEndpointOptions: { shape: "S2e" } },
- },
- },
- UpdateScalingParameters: {
- input: {
- type: "structure",
- required: ["DomainName", "ScalingParameters"],
- members: { DomainName: {}, ScalingParameters: { shape: "S2v" } },
- },
- output: {
- resultWrapper: "UpdateScalingParametersResult",
- type: "structure",
- required: ["ScalingParameters"],
- members: { ScalingParameters: { shape: "S2u" } },
- },
- },
- UpdateServiceAccessPolicies: {
- input: {
- type: "structure",
- required: ["DomainName", "AccessPolicies"],
- members: { DomainName: {}, AccessPolicies: {} },
- },
- output: {
- resultWrapper: "UpdateServiceAccessPoliciesResult",
- type: "structure",
- required: ["AccessPolicies"],
- members: { AccessPolicies: { shape: "S2z" } },
- },
- },
- },
- shapes: {
- S4: { type: "list", member: {} },
- S8: {
- type: "structure",
- required: ["DomainId", "DomainName", "RequiresIndexDocuments"],
- members: {
- DomainId: {},
- DomainName: {},
- ARN: {},
- Created: { type: "boolean" },
- Deleted: { type: "boolean" },
- DocService: { shape: "Sc" },
- SearchService: { shape: "Sc" },
- RequiresIndexDocuments: { type: "boolean" },
- Processing: { type: "boolean" },
- SearchInstanceType: {},
- SearchPartitionCount: { type: "integer" },
- SearchInstanceCount: { type: "integer" },
- Limits: {
- type: "structure",
- required: ["MaximumReplicationCount", "MaximumPartitionCount"],
- members: {
- MaximumReplicationCount: { type: "integer" },
- MaximumPartitionCount: { type: "integer" },
- },
- },
- },
- },
- Sc: { type: "structure", members: { Endpoint: {} } },
- Sl: {
- type: "structure",
- required: ["AnalysisSchemeName", "AnalysisSchemeLanguage"],
- members: {
- AnalysisSchemeName: {},
- AnalysisSchemeLanguage: {},
- AnalysisOptions: {
- type: "structure",
- members: {
- Synonyms: {},
- Stopwords: {},
- StemmingDictionary: {},
- JapaneseTokenizationDictionary: {},
- AlgorithmicStemming: {},
- },
- },
- },
- },
- Ss: {
- type: "structure",
- required: ["Options", "Status"],
- members: { Options: { shape: "Sl" }, Status: { shape: "St" } },
- },
- St: {
- type: "structure",
- required: ["CreationDate", "UpdateDate", "State"],
- members: {
- CreationDate: { type: "timestamp" },
- UpdateDate: { type: "timestamp" },
- UpdateVersion: { type: "integer" },
- State: {},
- PendingDeletion: { type: "boolean" },
- },
- },
- Sy: {
- type: "structure",
- required: ["ExpressionName", "ExpressionValue"],
- members: { ExpressionName: {}, ExpressionValue: {} },
- },
- S11: {
- type: "structure",
- required: ["Options", "Status"],
- members: { Options: { shape: "Sy" }, Status: { shape: "St" } },
- },
- S13: {
- type: "structure",
- required: ["IndexFieldName", "IndexFieldType"],
- members: {
- IndexFieldName: {},
- IndexFieldType: {},
- IntOptions: {
- type: "structure",
- members: {
- DefaultValue: { type: "long" },
- SourceField: {},
- FacetEnabled: { type: "boolean" },
- SearchEnabled: { type: "boolean" },
- ReturnEnabled: { type: "boolean" },
- SortEnabled: { type: "boolean" },
- },
- },
- DoubleOptions: {
- type: "structure",
- members: {
- DefaultValue: { type: "double" },
- SourceField: {},
- FacetEnabled: { type: "boolean" },
- SearchEnabled: { type: "boolean" },
- ReturnEnabled: { type: "boolean" },
- SortEnabled: { type: "boolean" },
- },
- },
- LiteralOptions: {
- type: "structure",
- members: {
- DefaultValue: {},
- SourceField: {},
- FacetEnabled: { type: "boolean" },
- SearchEnabled: { type: "boolean" },
- ReturnEnabled: { type: "boolean" },
- SortEnabled: { type: "boolean" },
- },
- },
- TextOptions: {
- type: "structure",
- members: {
- DefaultValue: {},
- SourceField: {},
- ReturnEnabled: { type: "boolean" },
- SortEnabled: { type: "boolean" },
- HighlightEnabled: { type: "boolean" },
- AnalysisScheme: {},
- },
- },
- DateOptions: {
- type: "structure",
- members: {
- DefaultValue: {},
- SourceField: {},
- FacetEnabled: { type: "boolean" },
- SearchEnabled: { type: "boolean" },
- ReturnEnabled: { type: "boolean" },
- SortEnabled: { type: "boolean" },
- },
- },
- LatLonOptions: {
- type: "structure",
- members: {
- DefaultValue: {},
- SourceField: {},
- FacetEnabled: { type: "boolean" },
- SearchEnabled: { type: "boolean" },
- ReturnEnabled: { type: "boolean" },
- SortEnabled: { type: "boolean" },
- },
- },
- IntArrayOptions: {
- type: "structure",
- members: {
- DefaultValue: { type: "long" },
- SourceFields: {},
- FacetEnabled: { type: "boolean" },
- SearchEnabled: { type: "boolean" },
- ReturnEnabled: { type: "boolean" },
- },
- },
- DoubleArrayOptions: {
- type: "structure",
- members: {
- DefaultValue: { type: "double" },
- SourceFields: {},
- FacetEnabled: { type: "boolean" },
- SearchEnabled: { type: "boolean" },
- ReturnEnabled: { type: "boolean" },
- },
- },
- LiteralArrayOptions: {
- type: "structure",
- members: {
- DefaultValue: {},
- SourceFields: {},
- FacetEnabled: { type: "boolean" },
- SearchEnabled: { type: "boolean" },
- ReturnEnabled: { type: "boolean" },
- },
- },
- TextArrayOptions: {
- type: "structure",
- members: {
- DefaultValue: {},
- SourceFields: {},
- ReturnEnabled: { type: "boolean" },
- HighlightEnabled: { type: "boolean" },
- AnalysisScheme: {},
- },
- },
- DateArrayOptions: {
- type: "structure",
- members: {
- DefaultValue: {},
- SourceFields: {},
- FacetEnabled: { type: "boolean" },
- SearchEnabled: { type: "boolean" },
- ReturnEnabled: { type: "boolean" },
- },
- },
- },
- },
- S1n: {
- type: "structure",
- required: ["Options", "Status"],
- members: { Options: { shape: "S13" }, Status: { shape: "St" } },
- },
- S1p: {
- type: "structure",
- required: ["SuggesterName", "DocumentSuggesterOptions"],
- members: {
- SuggesterName: {},
- DocumentSuggesterOptions: {
- type: "structure",
- required: ["SourceField"],
- members: {
- SourceField: {},
- FuzzyMatching: {},
- SortExpression: {},
- },
- },
- },
- },
- S1t: {
- type: "structure",
- required: ["Options", "Status"],
- members: { Options: { shape: "S1p" }, Status: { shape: "St" } },
- },
- S25: { type: "list", member: {} },
- S2a: {
- type: "structure",
- required: ["Options", "Status"],
- members: { Options: { type: "boolean" }, Status: { shape: "St" } },
- },
- S2e: {
- type: "structure",
- required: ["Options", "Status"],
- members: { Options: { shape: "S2f" }, Status: { shape: "St" } },
- },
- S2f: {
- type: "structure",
- members: {
- EnforceHTTPS: { type: "boolean" },
- TLSSecurityPolicy: {},
- },
- },
- S2u: {
- type: "structure",
- required: ["Options", "Status"],
- members: { Options: { shape: "S2v" }, Status: { shape: "St" } },
- },
- S2v: {
- type: "structure",
- members: {
- DesiredInstanceType: {},
- DesiredReplicationCount: { type: "integer" },
- DesiredPartitionCount: { type: "integer" },
- },
- },
- S2z: {
- type: "structure",
- required: ["Options", "Status"],
- members: { Options: {}, Status: { shape: "St" } },
- },
- },
- };
-
- /***/
- },
-
- /***/ 3396: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 3405: /***/ function (module) {
- module.exports = {
- pagination: {
- ListAliases: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListGroupMembers: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListGroups: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListMailboxPermissions: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListOrganizations: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListResourceDelegates: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListResources: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListUsers: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 3410: /***/ function (module) {
- module.exports = {
- pagination: {
- ListBundles: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListProjects: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 3413: /***/ function (module) {
- module.exports = {
- pagination: {
- ListDevices: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListDomains: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListFleets: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListWebsiteAuthorizationProviders: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListWebsiteCertificateAuthorities: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 3421: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 3458: /***/ function (module, __unusedexports, __webpack_require__) {
- // Generated by CoffeeScript 1.12.7
- (function () {
- var XMLCData,
- XMLComment,
- XMLDTDAttList,
- XMLDTDElement,
- XMLDTDEntity,
- XMLDTDNotation,
- XMLDeclaration,
- XMLDocType,
- XMLElement,
- XMLProcessingInstruction,
- XMLRaw,
- XMLStreamWriter,
- XMLText,
- XMLWriterBase,
- extend = function (child, parent) {
- for (var key in parent) {
- if (hasProp.call(parent, key)) child[key] = parent[key];
- }
- function ctor() {
- this.constructor = child;
- }
- ctor.prototype = parent.prototype;
- child.prototype = new ctor();
- child.__super__ = parent.prototype;
- return child;
- },
- hasProp = {}.hasOwnProperty;
-
- XMLDeclaration = __webpack_require__(7738);
-
- XMLDocType = __webpack_require__(5735);
-
- XMLCData = __webpack_require__(9657);
-
- XMLComment = __webpack_require__(7919);
-
- XMLElement = __webpack_require__(5796);
-
- XMLRaw = __webpack_require__(7660);
-
- XMLText = __webpack_require__(9708);
-
- XMLProcessingInstruction = __webpack_require__(2491);
-
- XMLDTDAttList = __webpack_require__(3801);
-
- XMLDTDElement = __webpack_require__(9463);
-
- XMLDTDEntity = __webpack_require__(7661);
-
- XMLDTDNotation = __webpack_require__(9019);
-
- XMLWriterBase = __webpack_require__(9423);
-
- module.exports = XMLStreamWriter = (function (superClass) {
- extend(XMLStreamWriter, superClass);
-
- function XMLStreamWriter(stream, options) {
- XMLStreamWriter.__super__.constructor.call(this, options);
- this.stream = stream;
- }
-
- XMLStreamWriter.prototype.document = function (doc) {
- var child, i, j, len, len1, ref, ref1, results;
- ref = doc.children;
- for (i = 0, len = ref.length; i < len; i++) {
- child = ref[i];
- child.isLastRootNode = false;
- }
- doc.children[doc.children.length - 1].isLastRootNode = true;
- ref1 = doc.children;
- results = [];
- for (j = 0, len1 = ref1.length; j < len1; j++) {
- child = ref1[j];
- switch (false) {
- case !(child instanceof XMLDeclaration):
- results.push(this.declaration(child));
- break;
- case !(child instanceof XMLDocType):
- results.push(this.docType(child));
- break;
- case !(child instanceof XMLComment):
- results.push(this.comment(child));
- break;
- case !(child instanceof XMLProcessingInstruction):
- results.push(this.processingInstruction(child));
- break;
- default:
- results.push(this.element(child));
- }
- }
- return results;
- };
-
- XMLStreamWriter.prototype.attribute = function (att) {
- return this.stream.write(" " + att.name + '="' + att.value + '"');
- };
-
- XMLStreamWriter.prototype.cdata = function (node, level) {
- return this.stream.write(
- this.space(level) +
- "" +
- this.endline(node)
- );
- };
-
- XMLStreamWriter.prototype.comment = function (node, level) {
- return this.stream.write(
- this.space(level) +
- "" +
- this.endline(node)
- );
- };
-
- XMLStreamWriter.prototype.declaration = function (node, level) {
- this.stream.write(this.space(level));
- this.stream.write('");
- return this.stream.write(this.endline(node));
- };
-
- XMLStreamWriter.prototype.docType = function (node, level) {
- var child, i, len, ref;
- level || (level = 0);
- this.stream.write(this.space(level));
- this.stream.write(" 0) {
- this.stream.write(" [");
- this.stream.write(this.endline(node));
- ref = node.children;
- for (i = 0, len = ref.length; i < len; i++) {
- child = ref[i];
- switch (false) {
- case !(child instanceof XMLDTDAttList):
- this.dtdAttList(child, level + 1);
- break;
- case !(child instanceof XMLDTDElement):
- this.dtdElement(child, level + 1);
- break;
- case !(child instanceof XMLDTDEntity):
- this.dtdEntity(child, level + 1);
- break;
- case !(child instanceof XMLDTDNotation):
- this.dtdNotation(child, level + 1);
- break;
- case !(child instanceof XMLCData):
- this.cdata(child, level + 1);
- break;
- case !(child instanceof XMLComment):
- this.comment(child, level + 1);
- break;
- case !(child instanceof XMLProcessingInstruction):
- this.processingInstruction(child, level + 1);
- break;
- default:
- throw new Error(
- "Unknown DTD node type: " + child.constructor.name
- );
- }
- }
- this.stream.write("]");
- }
- this.stream.write(this.spacebeforeslash + ">");
- return this.stream.write(this.endline(node));
- };
-
- XMLStreamWriter.prototype.element = function (node, level) {
- var att, child, i, len, name, ref, ref1, space;
- level || (level = 0);
- space = this.space(level);
- this.stream.write(space + "<" + node.name);
- ref = node.attributes;
- for (name in ref) {
- if (!hasProp.call(ref, name)) continue;
- att = ref[name];
- this.attribute(att);
- }
- if (
- node.children.length === 0 ||
- node.children.every(function (e) {
- return e.value === "";
- })
- ) {
- if (this.allowEmpty) {
- this.stream.write(">" + node.name + ">");
- } else {
- this.stream.write(this.spacebeforeslash + "/>");
- }
- } else if (
- this.pretty &&
- node.children.length === 1 &&
- node.children[0].value != null
- ) {
- this.stream.write(">");
- this.stream.write(node.children[0].value);
- this.stream.write("" + node.name + ">");
- } else {
- this.stream.write(">" + this.newline);
- ref1 = node.children;
- for (i = 0, len = ref1.length; i < len; i++) {
- child = ref1[i];
- switch (false) {
- case !(child instanceof XMLCData):
- this.cdata(child, level + 1);
- break;
- case !(child instanceof XMLComment):
- this.comment(child, level + 1);
- break;
- case !(child instanceof XMLElement):
- this.element(child, level + 1);
- break;
- case !(child instanceof XMLRaw):
- this.raw(child, level + 1);
- break;
- case !(child instanceof XMLText):
- this.text(child, level + 1);
- break;
- case !(child instanceof XMLProcessingInstruction):
- this.processingInstruction(child, level + 1);
- break;
- default:
- throw new Error(
- "Unknown XML node type: " + child.constructor.name
- );
- }
- }
- this.stream.write(space + "" + node.name + ">");
- }
- return this.stream.write(this.endline(node));
- };
-
- XMLStreamWriter.prototype.processingInstruction = function (
- node,
- level
- ) {
- this.stream.write(this.space(level) + "" + node.target);
- if (node.value) {
- this.stream.write(" " + node.value);
- }
- return this.stream.write(
- this.spacebeforeslash + "?>" + this.endline(node)
- );
- };
-
- XMLStreamWriter.prototype.raw = function (node, level) {
- return this.stream.write(
- this.space(level) + node.value + this.endline(node)
- );
- };
-
- XMLStreamWriter.prototype.text = function (node, level) {
- return this.stream.write(
- this.space(level) + node.value + this.endline(node)
- );
- };
-
- XMLStreamWriter.prototype.dtdAttList = function (node, level) {
- this.stream.write(
- this.space(level) +
- "" + this.endline(node)
- );
- };
-
- XMLStreamWriter.prototype.dtdElement = function (node, level) {
- this.stream.write(
- this.space(level) + "" + this.endline(node)
- );
- };
-
- XMLStreamWriter.prototype.dtdEntity = function (node, level) {
- this.stream.write(this.space(level) + "" + this.endline(node)
- );
- };
-
- XMLStreamWriter.prototype.dtdNotation = function (node, level) {
- this.stream.write(this.space(level) + "" + this.endline(node)
- );
- };
-
- XMLStreamWriter.prototype.endline = function (node) {
- if (!node.isLastRootNode) {
- return this.newline;
- } else {
- return "";
- }
- };
-
- return XMLStreamWriter;
- })(XMLWriterBase);
- }.call(this));
-
- /***/
- },
-
- /***/ 3494: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeEndpoints: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "Endpoints",
- },
- ListJobs: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "Jobs",
- },
- ListPresets: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "Presets",
- },
- ListJobTemplates: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "JobTemplates",
- },
- ListQueues: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- result_key: "Queues",
- },
- },
- };
-
- /***/
- },
-
- /***/ 3497: /***/ function (__unusedmodule, 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__(7692);
- var once = _interopDefault(__webpack_require__(6049));
-
- const logOnce = 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;
- Object.defineProperty(this, "code", {
- get() {
- logOnce(
- new deprecation.Deprecation(
- "[@octokit/request-error] `error.code` is deprecated, use `error.status`."
- )
- );
- return statusCode;
- },
- });
- this.headers = options.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;
- }
- }
-
- exports.RequestError = RequestError;
- //# sourceMappingURL=index.js.map
-
- /***/
- },
-
- /***/ 3501: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- TableExists: {
- delay: 20,
- operation: "DescribeTable",
- maxAttempts: 25,
- acceptors: [
- {
- expected: "ACTIVE",
- matcher: "path",
- state: "success",
- argument: "Table.TableStatus",
- },
- {
- expected: "ResourceNotFoundException",
- matcher: "error",
- state: "retry",
- },
- ],
- },
- TableNotExists: {
- delay: 20,
- operation: "DescribeTable",
- maxAttempts: 25,
- acceptors: [
- {
- expected: "ResourceNotFoundException",
- matcher: "error",
- state: "success",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 3503: /***/ function (module, __unusedexports, __webpack_require__) {
- var AWS = __webpack_require__(395);
- var Api = __webpack_require__(7788);
- var regionConfig = __webpack_require__(3546);
-
- var inherit = AWS.util.inherit;
- var clientCount = 0;
-
- /**
- * The service class representing an AWS service.
- *
- * @class_abstract This class is an abstract class.
- *
- * @!attribute apiVersions
- * @return [Array] the list of API versions supported by this service.
- * @readonly
- */
- AWS.Service = inherit({
- /**
- * Create a new service object with a configuration object
- *
- * @param config [map] a map of configuration options
- */
- constructor: function Service(config) {
- if (!this.loadServiceClass) {
- throw AWS.util.error(
- new Error(),
- "Service must be constructed with `new' operator"
- );
- }
- var ServiceClass = this.loadServiceClass(config || {});
- if (ServiceClass) {
- var originalConfig = AWS.util.copy(config);
- var svc = new ServiceClass(config);
- Object.defineProperty(svc, "_originalConfig", {
- get: function () {
- return originalConfig;
- },
- enumerable: false,
- configurable: true,
- });
- svc._clientId = ++clientCount;
- return svc;
- }
- this.initialize(config);
- },
-
- /**
- * @api private
- */
- initialize: function initialize(config) {
- var svcConfig = AWS.config[this.serviceIdentifier];
- this.config = new AWS.Config(AWS.config);
- if (svcConfig) this.config.update(svcConfig, true);
- if (config) this.config.update(config, true);
-
- this.validateService();
- if (!this.config.endpoint) regionConfig.configureEndpoint(this);
-
- this.config.endpoint = this.endpointFromTemplate(
- this.config.endpoint
- );
- this.setEndpoint(this.config.endpoint);
- //enable attaching listeners to service client
- AWS.SequentialExecutor.call(this);
- AWS.Service.addDefaultMonitoringListeners(this);
- if (
- (this.config.clientSideMonitoring ||
- AWS.Service._clientSideMonitoring) &&
- this.publisher
- ) {
- var publisher = this.publisher;
- this.addNamedListener(
- "PUBLISH_API_CALL",
- "apiCall",
- function PUBLISH_API_CALL(event) {
- process.nextTick(function () {
- publisher.eventHandler(event);
- });
- }
- );
- this.addNamedListener(
- "PUBLISH_API_ATTEMPT",
- "apiCallAttempt",
- function PUBLISH_API_ATTEMPT(event) {
- process.nextTick(function () {
- publisher.eventHandler(event);
- });
- }
- );
- }
- },
-
- /**
- * @api private
- */
- validateService: function validateService() {},
-
- /**
- * @api private
- */
- loadServiceClass: function loadServiceClass(serviceConfig) {
- var config = serviceConfig;
- if (!AWS.util.isEmpty(this.api)) {
- return null;
- } else if (config.apiConfig) {
- return AWS.Service.defineServiceApi(
- this.constructor,
- config.apiConfig
- );
- } else if (!this.constructor.services) {
- return null;
- } else {
- config = new AWS.Config(AWS.config);
- config.update(serviceConfig, true);
- var version =
- config.apiVersions[this.constructor.serviceIdentifier];
- version = version || config.apiVersion;
- return this.getLatestServiceClass(version);
- }
- },
-
- /**
- * @api private
- */
- getLatestServiceClass: function getLatestServiceClass(version) {
- version = this.getLatestServiceVersion(version);
- if (this.constructor.services[version] === null) {
- AWS.Service.defineServiceApi(this.constructor, version);
- }
-
- return this.constructor.services[version];
- },
-
- /**
- * @api private
- */
- getLatestServiceVersion: function getLatestServiceVersion(version) {
- if (
- !this.constructor.services ||
- this.constructor.services.length === 0
- ) {
- throw new Error(
- "No services defined on " + this.constructor.serviceIdentifier
- );
- }
-
- if (!version) {
- version = "latest";
- } else if (AWS.util.isType(version, Date)) {
- version = AWS.util.date.iso8601(version).split("T")[0];
- }
-
- if (Object.hasOwnProperty(this.constructor.services, version)) {
- return version;
- }
-
- var keys = Object.keys(this.constructor.services).sort();
- var selectedVersion = null;
- for (var i = keys.length - 1; i >= 0; i--) {
- // versions that end in "*" are not available on disk and can be
- // skipped, so do not choose these as selectedVersions
- if (keys[i][keys[i].length - 1] !== "*") {
- selectedVersion = keys[i];
- }
- if (keys[i].substr(0, 10) <= version) {
- return selectedVersion;
- }
- }
-
- throw new Error(
- "Could not find " +
- this.constructor.serviceIdentifier +
- " API to satisfy version constraint `" +
- version +
- "'"
- );
- },
-
- /**
- * @api private
- */
- api: {},
-
- /**
- * @api private
- */
- defaultRetryCount: 3,
-
- /**
- * @api private
- */
- customizeRequests: function customizeRequests(callback) {
- if (!callback) {
- this.customRequestHandler = null;
- } else if (typeof callback === "function") {
- this.customRequestHandler = callback;
- } else {
- throw new Error(
- "Invalid callback type '" +
- typeof callback +
- "' provided in customizeRequests"
- );
- }
- },
-
- /**
- * Calls an operation on a service with the given input parameters.
- *
- * @param operation [String] the name of the operation to call on the service.
- * @param params [map] a map of input options for the operation
- * @callback callback function(err, data)
- * If a callback is supplied, it is called when a response is returned
- * from the service.
- * @param err [Error] the error object returned from the request.
- * Set to `null` if the request is successful.
- * @param data [Object] the de-serialized data returned from
- * the request. Set to `null` if a request error occurs.
- */
- makeRequest: function makeRequest(operation, params, callback) {
- if (typeof params === "function") {
- callback = params;
- params = null;
- }
-
- params = params || {};
- if (this.config.params) {
- // copy only toplevel bound params
- var rules = this.api.operations[operation];
- if (rules) {
- params = AWS.util.copy(params);
- AWS.util.each(this.config.params, function (key, value) {
- if (rules.input.members[key]) {
- if (params[key] === undefined || params[key] === null) {
- params[key] = value;
- }
- }
- });
- }
- }
-
- var request = new AWS.Request(this, operation, params);
- this.addAllRequestListeners(request);
- this.attachMonitoringEmitter(request);
- if (callback) request.send(callback);
- return request;
- },
-
- /**
- * Calls an operation on a service with the given input parameters, without
- * any authentication data. This method is useful for "public" API operations.
- *
- * @param operation [String] the name of the operation to call on the service.
- * @param params [map] a map of input options for the operation
- * @callback callback function(err, data)
- * If a callback is supplied, it is called when a response is returned
- * from the service.
- * @param err [Error] the error object returned from the request.
- * Set to `null` if the request is successful.
- * @param data [Object] the de-serialized data returned from
- * the request. Set to `null` if a request error occurs.
- */
- makeUnauthenticatedRequest: function makeUnauthenticatedRequest(
- operation,
- params,
- callback
- ) {
- if (typeof params === "function") {
- callback = params;
- params = {};
- }
-
- var request = this.makeRequest(operation, params).toUnauthenticated();
- return callback ? request.send(callback) : request;
- },
-
- /**
- * Waits for a given state
- *
- * @param state [String] the state on the service to wait for
- * @param params [map] a map of parameters to pass with each request
- * @option params $waiter [map] a map of configuration options for the waiter
- * @option params $waiter.delay [Number] The number of seconds to wait between
- * requests
- * @option params $waiter.maxAttempts [Number] The maximum number of requests
- * to send while waiting
- * @callback callback function(err, data)
- * If a callback is supplied, it is called when a response is returned
- * from the service.
- * @param err [Error] the error object returned from the request.
- * Set to `null` if the request is successful.
- * @param data [Object] the de-serialized data returned from
- * the request. Set to `null` if a request error occurs.
- */
- waitFor: function waitFor(state, params, callback) {
- var waiter = new AWS.ResourceWaiter(this, state);
- return waiter.wait(params, callback);
- },
-
- /**
- * @api private
- */
- addAllRequestListeners: function addAllRequestListeners(request) {
- var list = [
- AWS.events,
- AWS.EventListeners.Core,
- this.serviceInterface(),
- AWS.EventListeners.CorePost,
- ];
- for (var i = 0; i < list.length; i++) {
- if (list[i]) request.addListeners(list[i]);
- }
-
- // disable parameter validation
- if (!this.config.paramValidation) {
- request.removeListener(
- "validate",
- AWS.EventListeners.Core.VALIDATE_PARAMETERS
- );
- }
-
- if (this.config.logger) {
- // add logging events
- request.addListeners(AWS.EventListeners.Logger);
- }
-
- this.setupRequestListeners(request);
- // call prototype's customRequestHandler
- if (
- typeof this.constructor.prototype.customRequestHandler ===
- "function"
- ) {
- this.constructor.prototype.customRequestHandler(request);
- }
- // call instance's customRequestHandler
- if (
- Object.prototype.hasOwnProperty.call(
- this,
- "customRequestHandler"
- ) &&
- typeof this.customRequestHandler === "function"
- ) {
- this.customRequestHandler(request);
- }
- },
-
- /**
- * Event recording metrics for a whole API call.
- * @returns {object} a subset of api call metrics
- * @api private
- */
- apiCallEvent: function apiCallEvent(request) {
- var api = request.service.api.operations[request.operation];
- var monitoringEvent = {
- Type: "ApiCall",
- Api: api ? api.name : request.operation,
- Version: 1,
- Service:
- request.service.api.serviceId ||
- request.service.api.endpointPrefix,
- Region: request.httpRequest.region,
- MaxRetriesExceeded: 0,
- UserAgent: request.httpRequest.getUserAgent(),
- };
- var response = request.response;
- if (response.httpResponse.statusCode) {
- monitoringEvent.FinalHttpStatusCode =
- response.httpResponse.statusCode;
- }
- if (response.error) {
- var error = response.error;
- var statusCode = response.httpResponse.statusCode;
- if (statusCode > 299) {
- if (error.code) monitoringEvent.FinalAwsException = error.code;
- if (error.message)
- monitoringEvent.FinalAwsExceptionMessage = error.message;
- } else {
- if (error.code || error.name)
- monitoringEvent.FinalSdkException = error.code || error.name;
- if (error.message)
- monitoringEvent.FinalSdkExceptionMessage = error.message;
- }
- }
- return monitoringEvent;
- },
-
- /**
- * Event recording metrics for an API call attempt.
- * @returns {object} a subset of api call attempt metrics
- * @api private
- */
- apiAttemptEvent: function apiAttemptEvent(request) {
- var api = request.service.api.operations[request.operation];
- var monitoringEvent = {
- Type: "ApiCallAttempt",
- Api: api ? api.name : request.operation,
- Version: 1,
- Service:
- request.service.api.serviceId ||
- request.service.api.endpointPrefix,
- Fqdn: request.httpRequest.endpoint.hostname,
- UserAgent: request.httpRequest.getUserAgent(),
- };
- var response = request.response;
- if (response.httpResponse.statusCode) {
- monitoringEvent.HttpStatusCode = response.httpResponse.statusCode;
- }
- if (
- !request._unAuthenticated &&
- request.service.config.credentials &&
- request.service.config.credentials.accessKeyId
- ) {
- monitoringEvent.AccessKey =
- request.service.config.credentials.accessKeyId;
- }
- if (!response.httpResponse.headers) return monitoringEvent;
- if (request.httpRequest.headers["x-amz-security-token"]) {
- monitoringEvent.SessionToken =
- request.httpRequest.headers["x-amz-security-token"];
- }
- if (response.httpResponse.headers["x-amzn-requestid"]) {
- monitoringEvent.XAmznRequestId =
- response.httpResponse.headers["x-amzn-requestid"];
- }
- if (response.httpResponse.headers["x-amz-request-id"]) {
- monitoringEvent.XAmzRequestId =
- response.httpResponse.headers["x-amz-request-id"];
- }
- if (response.httpResponse.headers["x-amz-id-2"]) {
- monitoringEvent.XAmzId2 =
- response.httpResponse.headers["x-amz-id-2"];
- }
- return monitoringEvent;
- },
-
- /**
- * Add metrics of failed request.
- * @api private
- */
- attemptFailEvent: function attemptFailEvent(request) {
- var monitoringEvent = this.apiAttemptEvent(request);
- var response = request.response;
- var error = response.error;
- if (response.httpResponse.statusCode > 299) {
- if (error.code) monitoringEvent.AwsException = error.code;
- if (error.message)
- monitoringEvent.AwsExceptionMessage = error.message;
- } else {
- if (error.code || error.name)
- monitoringEvent.SdkException = error.code || error.name;
- if (error.message)
- monitoringEvent.SdkExceptionMessage = error.message;
- }
- return monitoringEvent;
- },
-
- /**
- * Attach listeners to request object to fetch metrics of each request
- * and emit data object through \'ApiCall\' and \'ApiCallAttempt\' events.
- * @api private
- */
- attachMonitoringEmitter: function attachMonitoringEmitter(request) {
- var attemptTimestamp; //timestamp marking the beginning of a request attempt
- var attemptStartRealTime; //Start time of request attempt. Used to calculating attemptLatency
- var attemptLatency; //latency from request sent out to http response reaching SDK
- var callStartRealTime; //Start time of API call. Used to calculating API call latency
- var attemptCount = 0; //request.retryCount is not reliable here
- var region; //region cache region for each attempt since it can be updated in plase (e.g. s3)
- var callTimestamp; //timestamp when the request is created
- var self = this;
- var addToHead = true;
-
- request.on(
- "validate",
- function () {
- callStartRealTime = AWS.util.realClock.now();
- callTimestamp = Date.now();
- },
- addToHead
- );
- request.on(
- "sign",
- function () {
- attemptStartRealTime = AWS.util.realClock.now();
- attemptTimestamp = Date.now();
- region = request.httpRequest.region;
- attemptCount++;
- },
- addToHead
- );
- request.on("validateResponse", function () {
- attemptLatency = Math.round(
- AWS.util.realClock.now() - attemptStartRealTime
- );
- });
- request.addNamedListener(
- "API_CALL_ATTEMPT",
- "success",
- function API_CALL_ATTEMPT() {
- var apiAttemptEvent = self.apiAttemptEvent(request);
- apiAttemptEvent.Timestamp = attemptTimestamp;
- apiAttemptEvent.AttemptLatency =
- attemptLatency >= 0 ? attemptLatency : 0;
- apiAttemptEvent.Region = region;
- self.emit("apiCallAttempt", [apiAttemptEvent]);
- }
- );
- request.addNamedListener(
- "API_CALL_ATTEMPT_RETRY",
- "retry",
- function API_CALL_ATTEMPT_RETRY() {
- var apiAttemptEvent = self.attemptFailEvent(request);
- apiAttemptEvent.Timestamp = attemptTimestamp;
- //attemptLatency may not be available if fail before response
- attemptLatency =
- attemptLatency ||
- Math.round(AWS.util.realClock.now() - attemptStartRealTime);
- apiAttemptEvent.AttemptLatency =
- attemptLatency >= 0 ? attemptLatency : 0;
- apiAttemptEvent.Region = region;
- self.emit("apiCallAttempt", [apiAttemptEvent]);
- }
- );
- request.addNamedListener("API_CALL", "complete", function API_CALL() {
- var apiCallEvent = self.apiCallEvent(request);
- apiCallEvent.AttemptCount = attemptCount;
- if (apiCallEvent.AttemptCount <= 0) return;
- apiCallEvent.Timestamp = callTimestamp;
- var latency = Math.round(
- AWS.util.realClock.now() - callStartRealTime
- );
- apiCallEvent.Latency = latency >= 0 ? latency : 0;
- var response = request.response;
- if (
- typeof response.retryCount === "number" &&
- typeof response.maxRetries === "number" &&
- response.retryCount >= response.maxRetries
- ) {
- apiCallEvent.MaxRetriesExceeded = 1;
- }
- self.emit("apiCall", [apiCallEvent]);
- });
- },
-
- /**
- * Override this method to setup any custom request listeners for each
- * new request to the service.
- *
- * @method_abstract This is an abstract method.
- */
- setupRequestListeners: function setupRequestListeners(request) {},
-
- /**
- * Gets the signer class for a given request
- * @api private
- */
- getSignerClass: function getSignerClass(request) {
- var version;
- // get operation authtype if present
- var operation = null;
- var authtype = "";
- if (request) {
- var operations = request.service.api.operations || {};
- operation = operations[request.operation] || null;
- authtype = operation ? operation.authtype : "";
- }
- if (this.config.signatureVersion) {
- version = this.config.signatureVersion;
- } else if (authtype === "v4" || authtype === "v4-unsigned-body") {
- version = "v4";
- } else {
- version = this.api.signatureVersion;
- }
- return AWS.Signers.RequestSigner.getVersion(version);
- },
-
- /**
- * @api private
- */
- serviceInterface: function serviceInterface() {
- switch (this.api.protocol) {
- case "ec2":
- return AWS.EventListeners.Query;
- case "query":
- return AWS.EventListeners.Query;
- case "json":
- return AWS.EventListeners.Json;
- case "rest-json":
- return AWS.EventListeners.RestJson;
- case "rest-xml":
- return AWS.EventListeners.RestXml;
- }
- if (this.api.protocol) {
- throw new Error(
- "Invalid service `protocol' " +
- this.api.protocol +
- " in API config"
- );
- }
- },
-
- /**
- * @api private
- */
- successfulResponse: function successfulResponse(resp) {
- return resp.httpResponse.statusCode < 300;
- },
-
- /**
- * How many times a failed request should be retried before giving up.
- * the defaultRetryCount can be overriden by service classes.
- *
- * @api private
- */
- numRetries: function numRetries() {
- if (this.config.maxRetries !== undefined) {
- return this.config.maxRetries;
- } else {
- return this.defaultRetryCount;
- }
- },
-
- /**
- * @api private
- */
- retryDelays: function retryDelays(retryCount, err) {
- return AWS.util.calculateRetryDelay(
- retryCount,
- this.config.retryDelayOptions,
- err
- );
- },
-
- /**
- * @api private
- */
- retryableError: function retryableError(error) {
- if (this.timeoutError(error)) return true;
- if (this.networkingError(error)) return true;
- if (this.expiredCredentialsError(error)) return true;
- if (this.throttledError(error)) return true;
- if (error.statusCode >= 500) return true;
- return false;
- },
-
- /**
- * @api private
- */
- networkingError: function networkingError(error) {
- return error.code === "NetworkingError";
- },
-
- /**
- * @api private
- */
- timeoutError: function timeoutError(error) {
- return error.code === "TimeoutError";
- },
-
- /**
- * @api private
- */
- expiredCredentialsError: function expiredCredentialsError(error) {
- // TODO : this only handles *one* of the expired credential codes
- return error.code === "ExpiredTokenException";
- },
-
- /**
- * @api private
- */
- clockSkewError: function clockSkewError(error) {
- switch (error.code) {
- case "RequestTimeTooSkewed":
- case "RequestExpired":
- case "InvalidSignatureException":
- case "SignatureDoesNotMatch":
- case "AuthFailure":
- case "RequestInTheFuture":
- return true;
- default:
- return false;
- }
- },
-
- /**
- * @api private
- */
- getSkewCorrectedDate: function getSkewCorrectedDate() {
- return new Date(Date.now() + this.config.systemClockOffset);
- },
-
- /**
- * @api private
- */
- applyClockOffset: function applyClockOffset(newServerTime) {
- if (newServerTime) {
- this.config.systemClockOffset = newServerTime - Date.now();
- }
- },
-
- /**
- * @api private
- */
- isClockSkewed: function isClockSkewed(newServerTime) {
- if (newServerTime) {
- return (
- Math.abs(this.getSkewCorrectedDate().getTime() - newServerTime) >=
- 300000
- );
- }
- },
-
- /**
- * @api private
- */
- throttledError: function throttledError(error) {
- // this logic varies between services
- if (error.statusCode === 429) return true;
- switch (error.code) {
- case "ProvisionedThroughputExceededException":
- case "Throttling":
- case "ThrottlingException":
- case "RequestLimitExceeded":
- case "RequestThrottled":
- case "RequestThrottledException":
- case "TooManyRequestsException":
- case "TransactionInProgressException": //dynamodb
- case "EC2ThrottledException":
- return true;
- default:
- return false;
- }
- },
-
- /**
- * @api private
- */
- endpointFromTemplate: function endpointFromTemplate(endpoint) {
- if (typeof endpoint !== "string") return endpoint;
-
- var e = endpoint;
- e = e.replace(/\{service\}/g, this.api.endpointPrefix);
- e = e.replace(/\{region\}/g, this.config.region);
- e = e.replace(
- /\{scheme\}/g,
- this.config.sslEnabled ? "https" : "http"
- );
- return e;
- },
-
- /**
- * @api private
- */
- setEndpoint: function setEndpoint(endpoint) {
- this.endpoint = new AWS.Endpoint(endpoint, this.config);
- },
-
- /**
- * @api private
- */
- paginationConfig: function paginationConfig(operation, throwException) {
- var paginator = this.api.operations[operation].paginator;
- if (!paginator) {
- if (throwException) {
- var e = new Error();
- throw AWS.util.error(
- e,
- "No pagination configuration for " + operation
- );
- }
- return null;
- }
-
- return paginator;
- },
- });
-
- AWS.util.update(AWS.Service, {
- /**
- * Adds one method for each operation described in the api configuration
- *
- * @api private
- */
- defineMethods: function defineMethods(svc) {
- AWS.util.each(svc.prototype.api.operations, function iterator(
- method
- ) {
- if (svc.prototype[method]) return;
- var operation = svc.prototype.api.operations[method];
- if (operation.authtype === "none") {
- svc.prototype[method] = function (params, callback) {
- return this.makeUnauthenticatedRequest(
- method,
- params,
- callback
- );
- };
- } else {
- svc.prototype[method] = function (params, callback) {
- return this.makeRequest(method, params, callback);
- };
- }
- });
- },
-
- /**
- * Defines a new Service class using a service identifier and list of versions
- * including an optional set of features (functions) to apply to the class
- * prototype.
- *
- * @param serviceIdentifier [String] the identifier for the service
- * @param versions [Array] a list of versions that work with this
- * service
- * @param features [Object] an object to attach to the prototype
- * @return [Class] the service class defined by this function.
- */
- defineService: function defineService(
- serviceIdentifier,
- versions,
- features
- ) {
- AWS.Service._serviceMap[serviceIdentifier] = true;
- if (!Array.isArray(versions)) {
- features = versions;
- versions = [];
- }
-
- var svc = inherit(AWS.Service, features || {});
-
- if (typeof serviceIdentifier === "string") {
- AWS.Service.addVersions(svc, versions);
-
- var identifier = svc.serviceIdentifier || serviceIdentifier;
- svc.serviceIdentifier = identifier;
- } else {
- // defineService called with an API
- svc.prototype.api = serviceIdentifier;
- AWS.Service.defineMethods(svc);
- }
- AWS.SequentialExecutor.call(this.prototype);
- //util.clientSideMonitoring is only available in node
- if (!this.prototype.publisher && AWS.util.clientSideMonitoring) {
- var Publisher = AWS.util.clientSideMonitoring.Publisher;
- var configProvider = AWS.util.clientSideMonitoring.configProvider;
- var publisherConfig = configProvider();
- this.prototype.publisher = new Publisher(publisherConfig);
- if (publisherConfig.enabled) {
- //if csm is enabled in environment, SDK should send all metrics
- AWS.Service._clientSideMonitoring = true;
- }
- }
- AWS.SequentialExecutor.call(svc.prototype);
- AWS.Service.addDefaultMonitoringListeners(svc.prototype);
- return svc;
- },
-
- /**
- * @api private
- */
- addVersions: function addVersions(svc, versions) {
- if (!Array.isArray(versions)) versions = [versions];
-
- svc.services = svc.services || {};
- for (var i = 0; i < versions.length; i++) {
- if (svc.services[versions[i]] === undefined) {
- svc.services[versions[i]] = null;
- }
- }
-
- svc.apiVersions = Object.keys(svc.services).sort();
- },
-
- /**
- * @api private
- */
- defineServiceApi: function defineServiceApi(
- superclass,
- version,
- apiConfig
- ) {
- var svc = inherit(superclass, {
- serviceIdentifier: superclass.serviceIdentifier,
- });
-
- function setApi(api) {
- if (api.isApi) {
- svc.prototype.api = api;
- } else {
- svc.prototype.api = new Api(api, {
- serviceIdentifier: superclass.serviceIdentifier,
- });
- }
- }
-
- if (typeof version === "string") {
- if (apiConfig) {
- setApi(apiConfig);
- } else {
- try {
- setApi(AWS.apiLoader(superclass.serviceIdentifier, version));
- } catch (err) {
- throw AWS.util.error(err, {
- message:
- "Could not find API configuration " +
- superclass.serviceIdentifier +
- "-" +
- version,
- });
- }
- }
- if (
- !Object.prototype.hasOwnProperty.call(
- superclass.services,
- version
- )
- ) {
- superclass.apiVersions = superclass.apiVersions
- .concat(version)
- .sort();
- }
- superclass.services[version] = svc;
- } else {
- setApi(version);
- }
-
- AWS.Service.defineMethods(svc);
- return svc;
- },
-
- /**
- * @api private
- */
- hasService: function (identifier) {
- return Object.prototype.hasOwnProperty.call(
- AWS.Service._serviceMap,
- identifier
- );
- },
-
- /**
- * @param attachOn attach default monitoring listeners to object
- *
- * Each monitoring event should be emitted from service client to service constructor prototype and then
- * to global service prototype like bubbling up. These default monitoring events listener will transfer
- * the monitoring events to the upper layer.
- * @api private
- */
- addDefaultMonitoringListeners: function addDefaultMonitoringListeners(
- attachOn
- ) {
- attachOn.addNamedListener(
- "MONITOR_EVENTS_BUBBLE",
- "apiCallAttempt",
- function EVENTS_BUBBLE(event) {
- var baseClass = Object.getPrototypeOf(attachOn);
- if (baseClass._events) baseClass.emit("apiCallAttempt", [event]);
- }
- );
- attachOn.addNamedListener(
- "CALL_EVENTS_BUBBLE",
- "apiCall",
- function CALL_EVENTS_BUBBLE(event) {
- var baseClass = Object.getPrototypeOf(attachOn);
- if (baseClass._events) baseClass.emit("apiCall", [event]);
- }
- );
- },
-
- /**
- * @api private
- */
- _serviceMap: {},
- });
-
- AWS.util.mixin(AWS.Service, AWS.SequentialExecutor);
-
- /**
- * @api private
- */
- module.exports = AWS.Service;
-
- /***/
- },
-
- /***/ 3506: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5616);
- model.paginators = __webpack_require__(5873).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.KinesisAnalytics;
-
- /***/
- },
-
- /***/ 3520: /***/ function (module) {
- module.exports = {
- pagination: {
- ListMemberAccounts: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListS3Resources: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 3523: /***/ function (module, __unusedexports, __webpack_require__) {
- var register = __webpack_require__(363);
- var addHook = __webpack_require__(2510);
- var removeHook = __webpack_require__(5866);
-
- // bind with array of arguments: https://stackoverflow.com/a/21792913
- var bind = Function.bind;
- var bindable = bind.bind(bind);
-
- function bindApi(hook, state, name) {
- var removeHookRef = bindable(removeHook, null).apply(
- null,
- name ? [state, name] : [state]
- );
- hook.api = { remove: removeHookRef };
- hook.remove = removeHookRef;
- ["before", "error", "after", "wrap"].forEach(function (kind) {
- var args = name ? [state, kind, name] : [state, kind];
- hook[kind] = hook.api[kind] = bindable(addHook, null).apply(
- null,
- args
- );
- });
- }
-
- function HookSingular() {
- var singularHookName = "h";
- var singularHookState = {
- registry: {},
- };
- var singularHook = register.bind(
- null,
- singularHookState,
- singularHookName
- );
- bindApi(singularHook, singularHookState, singularHookName);
- return singularHook;
- }
-
- function HookCollection() {
- var state = {
- registry: {},
- };
-
- var hook = register.bind(null, state);
- bindApi(hook, state);
-
- return hook;
- }
-
- var collectionHookDeprecationMessageDisplayed = false;
- function Hook() {
- if (!collectionHookDeprecationMessageDisplayed) {
- console.warn(
- '[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4'
- );
- collectionHookDeprecationMessageDisplayed = true;
- }
- return HookCollection();
- }
-
- Hook.Singular = HookSingular.bind();
- Hook.Collection = HookCollection.bind();
-
- module.exports = Hook;
- // expose constructors as a named property for TypeScript
- module.exports.Hook = Hook;
- module.exports.Singular = Hook.Singular;
- module.exports.Collection = Hook.Collection;
-
- /***/
- },
-
- /***/ 3530: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- SuccessfulSigningJob: {
- delay: 20,
- operation: "DescribeSigningJob",
- maxAttempts: 25,
- acceptors: [
- {
- expected: "Succeeded",
- matcher: "path",
- state: "success",
- argument: "status",
- },
- {
- expected: "Failed",
- matcher: "path",
- state: "failure",
- argument: "status",
- },
- {
- expected: "ResourceNotFoundException",
- matcher: "error",
- state: "failure",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 3546: /***/ function (module, __unusedexports, __webpack_require__) {
- var util = __webpack_require__(153);
- var regionConfig = __webpack_require__(2572);
-
- 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);
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i];
- if (!key) continue;
-
- if (Object.prototype.hasOwnProperty.call(regionConfig.rules, key)) {
- var config = regionConfig.rules[key];
- if (typeof config === "string") {
- config = regionConfig.patterns[config];
- }
-
- // set dualstack endpoint
- if (
- service.config.useDualstack &&
- util.isDualstackAvailable(service)
- ) {
- config = util.copy(config);
- config.endpoint = "{service}.dualstack.{region}.amazonaws.com";
- }
-
- // set global endpoint
- service.isGlobalEndpoint = !!config.globalEndpoint;
-
- // signature version
- if (!config.signatureVersion) config.signatureVersion = "v4";
-
- // merge config
- applyConfig(service, config);
- 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,
- };
-
- /***/
- },
-
- /***/ 3558: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = hasPreviousPage;
-
- const deprecate = __webpack_require__(6370);
- const getPageLinks = __webpack_require__(4577);
-
- function hasPreviousPage(link) {
- deprecate(
- `octokit.hasPreviousPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`
- );
- return getPageLinks(link).prev;
- }
-
- /***/
- },
-
- /***/ 3562: /***/ function (__unusedmodule, 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 osName = _interopDefault(__webpack_require__(8002));
-
- function getUserAgent() {
- try {
- return `Node.js/${process.version.substr(1)} (${osName()}; ${
- process.arch
- })`;
- } catch (error) {
- if (/wmic os get Caption/.test(error.message)) {
- return "Windows ";
- }
-
- return "";
- }
- }
-
- exports.getUserAgent = getUserAgent;
- //# sourceMappingURL=index.js.map
-
- /***/
- },
-
- /***/ 3602: /***/ function (module) {
- // Generated by CoffeeScript 1.12.7
- (function () {
- var XMLStringifier,
- bind = function (fn, me) {
- return function () {
- return fn.apply(me, arguments);
- };
- },
- hasProp = {}.hasOwnProperty;
-
- module.exports = XMLStringifier = (function () {
- function XMLStringifier(options) {
- this.assertLegalChar = bind(this.assertLegalChar, this);
- var key, ref, value;
- options || (options = {});
- this.noDoubleEncoding = options.noDoubleEncoding;
- ref = options.stringify || {};
- for (key in ref) {
- if (!hasProp.call(ref, key)) continue;
- value = ref[key];
- this[key] = value;
- }
- }
-
- XMLStringifier.prototype.eleName = function (val) {
- val = "" + val || "";
- return this.assertLegalChar(val);
- };
-
- XMLStringifier.prototype.eleText = function (val) {
- val = "" + val || "";
- return this.assertLegalChar(this.elEscape(val));
- };
-
- XMLStringifier.prototype.cdata = function (val) {
- val = "" + val || "";
- val = val.replace("]]>", "]]]]>");
- return this.assertLegalChar(val);
- };
-
- XMLStringifier.prototype.comment = function (val) {
- val = "" + val || "";
- if (val.match(/--/)) {
- throw new Error(
- "Comment text cannot contain double-hypen: " + val
- );
- }
- return this.assertLegalChar(val);
- };
-
- XMLStringifier.prototype.raw = function (val) {
- return "" + val || "";
- };
-
- XMLStringifier.prototype.attName = function (val) {
- return (val = "" + val || "");
- };
-
- XMLStringifier.prototype.attValue = function (val) {
- val = "" + val || "";
- return this.attEscape(val);
- };
-
- XMLStringifier.prototype.insTarget = function (val) {
- return "" + val || "";
- };
-
- XMLStringifier.prototype.insValue = function (val) {
- val = "" + val || "";
- if (val.match(/\?>/)) {
- throw new Error("Invalid processing instruction value: " + val);
- }
- return val;
- };
-
- XMLStringifier.prototype.xmlVersion = function (val) {
- val = "" + val || "";
- if (!val.match(/1\.[0-9]+/)) {
- throw new Error("Invalid version number: " + val);
- }
- return val;
- };
-
- XMLStringifier.prototype.xmlEncoding = function (val) {
- val = "" + val || "";
- if (!val.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/)) {
- throw new Error("Invalid encoding: " + val);
- }
- return val;
- };
-
- XMLStringifier.prototype.xmlStandalone = function (val) {
- if (val) {
- return "yes";
- } else {
- return "no";
- }
- };
-
- XMLStringifier.prototype.dtdPubID = function (val) {
- return "" + val || "";
- };
-
- XMLStringifier.prototype.dtdSysID = function (val) {
- return "" + val || "";
- };
-
- XMLStringifier.prototype.dtdElementValue = function (val) {
- return "" + val || "";
- };
-
- XMLStringifier.prototype.dtdAttType = function (val) {
- return "" + val || "";
- };
-
- XMLStringifier.prototype.dtdAttDefault = function (val) {
- if (val != null) {
- return "" + val || "";
- } else {
- return val;
- }
- };
-
- XMLStringifier.prototype.dtdEntityValue = function (val) {
- return "" + val || "";
- };
-
- XMLStringifier.prototype.dtdNData = function (val) {
- return "" + val || "";
- };
-
- XMLStringifier.prototype.convertAttKey = "@";
-
- XMLStringifier.prototype.convertPIKey = "?";
-
- XMLStringifier.prototype.convertTextKey = "#text";
-
- XMLStringifier.prototype.convertCDataKey = "#cdata";
-
- XMLStringifier.prototype.convertCommentKey = "#comment";
-
- XMLStringifier.prototype.convertRawKey = "#raw";
-
- XMLStringifier.prototype.assertLegalChar = function (str) {
- var res;
- res = str.match(
- /[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/
- );
- if (res) {
- throw new Error(
- "Invalid character in string: " + str + " at index " + res.index
- );
- }
- return str;
- };
-
- XMLStringifier.prototype.elEscape = function (str) {
- var ampregex;
- ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g;
- return str
- .replace(ampregex, "&")
- .replace(//g, ">")
- .replace(/\r/g, "
");
- };
-
- XMLStringifier.prototype.attEscape = function (str) {
- var ampregex;
- ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g;
- return str
- .replace(ampregex, "&")
- .replace(/ -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;
-
- /***/
- },
-
- /***/ 3691: /***/ function (module) {
- module.exports = {
- metadata: {
- apiVersion: "2009-04-15",
- endpointPrefix: "sdb",
- serviceFullName: "Amazon SimpleDB",
- serviceId: "SimpleDB",
- signatureVersion: "v2",
- xmlNamespace: "http://sdb.amazonaws.com/doc/2009-04-15/",
- protocol: "query",
- },
- operations: {
- BatchDeleteAttributes: {
- input: {
- type: "structure",
- required: ["DomainName", "Items"],
- members: {
- DomainName: {},
- Items: {
- type: "list",
- member: {
- locationName: "Item",
- type: "structure",
- required: ["Name"],
- members: {
- Name: { locationName: "ItemName" },
- Attributes: { shape: "S5" },
- },
- },
- flattened: true,
- },
- },
- },
- },
- BatchPutAttributes: {
- input: {
- type: "structure",
- required: ["DomainName", "Items"],
- members: {
- DomainName: {},
- Items: {
- type: "list",
- member: {
- locationName: "Item",
- type: "structure",
- required: ["Name", "Attributes"],
- members: {
- Name: { locationName: "ItemName" },
- Attributes: { shape: "Sa" },
- },
- },
- flattened: true,
- },
- },
- },
- },
- CreateDomain: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: { DomainName: {} },
- },
- },
- DeleteAttributes: {
- input: {
- type: "structure",
- required: ["DomainName", "ItemName"],
- members: {
- DomainName: {},
- ItemName: {},
- Attributes: { shape: "S5" },
- Expected: { shape: "Sf" },
- },
- },
- },
- DeleteDomain: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: { DomainName: {} },
- },
- },
- DomainMetadata: {
- input: {
- type: "structure",
- required: ["DomainName"],
- members: { DomainName: {} },
- },
- output: {
- resultWrapper: "DomainMetadataResult",
- type: "structure",
- members: {
- ItemCount: { type: "integer" },
- ItemNamesSizeBytes: { type: "long" },
- AttributeNameCount: { type: "integer" },
- AttributeNamesSizeBytes: { type: "long" },
- AttributeValueCount: { type: "integer" },
- AttributeValuesSizeBytes: { type: "long" },
- Timestamp: { type: "integer" },
- },
- },
- },
- GetAttributes: {
- input: {
- type: "structure",
- required: ["DomainName", "ItemName"],
- members: {
- DomainName: {},
- ItemName: {},
- AttributeNames: {
- type: "list",
- member: { locationName: "AttributeName" },
- flattened: true,
- },
- ConsistentRead: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "GetAttributesResult",
- type: "structure",
- members: { Attributes: { shape: "So" } },
- },
- },
- ListDomains: {
- input: {
- type: "structure",
- members: {
- MaxNumberOfDomains: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- resultWrapper: "ListDomainsResult",
- type: "structure",
- members: {
- DomainNames: {
- type: "list",
- member: { locationName: "DomainName" },
- flattened: true,
- },
- NextToken: {},
- },
- },
- },
- PutAttributes: {
- input: {
- type: "structure",
- required: ["DomainName", "ItemName", "Attributes"],
- members: {
- DomainName: {},
- ItemName: {},
- Attributes: { shape: "Sa" },
- Expected: { shape: "Sf" },
- },
- },
- },
- Select: {
- input: {
- type: "structure",
- required: ["SelectExpression"],
- members: {
- SelectExpression: {},
- NextToken: {},
- ConsistentRead: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "SelectResult",
- type: "structure",
- members: {
- Items: {
- type: "list",
- member: {
- locationName: "Item",
- type: "structure",
- required: ["Name", "Attributes"],
- members: {
- Name: {},
- AlternateNameEncoding: {},
- Attributes: { shape: "So" },
- },
- },
- flattened: true,
- },
- NextToken: {},
- },
- },
- },
- },
- shapes: {
- S5: {
- type: "list",
- member: {
- locationName: "Attribute",
- type: "structure",
- required: ["Name"],
- members: { Name: {}, Value: {} },
- },
- flattened: true,
- },
- Sa: {
- type: "list",
- member: {
- locationName: "Attribute",
- type: "structure",
- required: ["Name", "Value"],
- members: { Name: {}, Value: {}, Replace: { type: "boolean" } },
- },
- flattened: true,
- },
- Sf: {
- type: "structure",
- members: { Name: {}, Value: {}, Exists: { type: "boolean" } },
- },
- So: {
- type: "list",
- member: {
- locationName: "Attribute",
- type: "structure",
- required: ["Name", "Value"],
- members: {
- Name: {},
- AlternateNameEncoding: {},
- Value: {},
- AlternateValueEncoding: {},
- },
- },
- flattened: true,
- },
- },
- };
-
- /***/
- },
-
- /***/ 3693: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2011-01-01",
- endpointPrefix: "autoscaling",
- protocol: "query",
- serviceFullName: "Auto Scaling",
- serviceId: "Auto Scaling",
- signatureVersion: "v4",
- uid: "autoscaling-2011-01-01",
- xmlNamespace: "http://autoscaling.amazonaws.com/doc/2011-01-01/",
- },
- operations: {
- AttachInstances: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName"],
- members: {
- InstanceIds: { shape: "S2" },
- AutoScalingGroupName: {},
- },
- },
- },
- AttachLoadBalancerTargetGroups: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName", "TargetGroupARNs"],
- members: {
- AutoScalingGroupName: {},
- TargetGroupARNs: { shape: "S6" },
- },
- },
- output: {
- resultWrapper: "AttachLoadBalancerTargetGroupsResult",
- type: "structure",
- members: {},
- },
- },
- AttachLoadBalancers: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName", "LoadBalancerNames"],
- members: {
- AutoScalingGroupName: {},
- LoadBalancerNames: { shape: "Sa" },
- },
- },
- output: {
- resultWrapper: "AttachLoadBalancersResult",
- type: "structure",
- members: {},
- },
- },
- BatchDeleteScheduledAction: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName", "ScheduledActionNames"],
- members: {
- AutoScalingGroupName: {},
- ScheduledActionNames: { shape: "Se" },
- },
- },
- output: {
- resultWrapper: "BatchDeleteScheduledActionResult",
- type: "structure",
- members: { FailedScheduledActions: { shape: "Sg" } },
- },
- },
- BatchPutScheduledUpdateGroupAction: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName", "ScheduledUpdateGroupActions"],
- members: {
- AutoScalingGroupName: {},
- ScheduledUpdateGroupActions: {
- type: "list",
- member: {
- type: "structure",
- required: ["ScheduledActionName"],
- members: {
- ScheduledActionName: {},
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Recurrence: {},
- MinSize: { type: "integer" },
- MaxSize: { type: "integer" },
- DesiredCapacity: { type: "integer" },
- },
- },
- },
- },
- },
- output: {
- resultWrapper: "BatchPutScheduledUpdateGroupActionResult",
- type: "structure",
- members: { FailedScheduledUpdateGroupActions: { shape: "Sg" } },
- },
- },
- CompleteLifecycleAction: {
- input: {
- type: "structure",
- required: [
- "LifecycleHookName",
- "AutoScalingGroupName",
- "LifecycleActionResult",
- ],
- members: {
- LifecycleHookName: {},
- AutoScalingGroupName: {},
- LifecycleActionToken: {},
- LifecycleActionResult: {},
- InstanceId: {},
- },
- },
- output: {
- resultWrapper: "CompleteLifecycleActionResult",
- type: "structure",
- members: {},
- },
- },
- CreateAutoScalingGroup: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName", "MinSize", "MaxSize"],
- members: {
- AutoScalingGroupName: {},
- LaunchConfigurationName: {},
- LaunchTemplate: { shape: "Sy" },
- MixedInstancesPolicy: { shape: "S10" },
- InstanceId: {},
- MinSize: { type: "integer" },
- MaxSize: { type: "integer" },
- DesiredCapacity: { type: "integer" },
- DefaultCooldown: { type: "integer" },
- AvailabilityZones: { shape: "S1b" },
- LoadBalancerNames: { shape: "Sa" },
- TargetGroupARNs: { shape: "S6" },
- HealthCheckType: {},
- HealthCheckGracePeriod: { type: "integer" },
- PlacementGroup: {},
- VPCZoneIdentifier: {},
- TerminationPolicies: { shape: "S1e" },
- NewInstancesProtectedFromScaleIn: { type: "boolean" },
- LifecycleHookSpecificationList: {
- type: "list",
- member: {
- type: "structure",
- required: ["LifecycleHookName", "LifecycleTransition"],
- members: {
- LifecycleHookName: {},
- LifecycleTransition: {},
- NotificationMetadata: {},
- HeartbeatTimeout: { type: "integer" },
- DefaultResult: {},
- NotificationTargetARN: {},
- RoleARN: {},
- },
- },
- },
- Tags: { shape: "S1n" },
- ServiceLinkedRoleARN: {},
- MaxInstanceLifetime: { type: "integer" },
- },
- },
- },
- CreateLaunchConfiguration: {
- input: {
- type: "structure",
- required: ["LaunchConfigurationName"],
- members: {
- LaunchConfigurationName: {},
- ImageId: {},
- KeyName: {},
- SecurityGroups: { shape: "S1u" },
- ClassicLinkVPCId: {},
- ClassicLinkVPCSecurityGroups: { shape: "S1v" },
- UserData: {},
- InstanceId: {},
- InstanceType: {},
- KernelId: {},
- RamdiskId: {},
- BlockDeviceMappings: { shape: "S1x" },
- InstanceMonitoring: { shape: "S26" },
- SpotPrice: {},
- IamInstanceProfile: {},
- EbsOptimized: { type: "boolean" },
- AssociatePublicIpAddress: { type: "boolean" },
- PlacementTenancy: {},
- },
- },
- },
- CreateOrUpdateTags: {
- input: {
- type: "structure",
- required: ["Tags"],
- members: { Tags: { shape: "S1n" } },
- },
- },
- DeleteAutoScalingGroup: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName"],
- members: {
- AutoScalingGroupName: {},
- ForceDelete: { type: "boolean" },
- },
- },
- },
- DeleteLaunchConfiguration: {
- input: {
- type: "structure",
- required: ["LaunchConfigurationName"],
- members: { LaunchConfigurationName: {} },
- },
- },
- DeleteLifecycleHook: {
- input: {
- type: "structure",
- required: ["LifecycleHookName", "AutoScalingGroupName"],
- members: { LifecycleHookName: {}, AutoScalingGroupName: {} },
- },
- output: {
- resultWrapper: "DeleteLifecycleHookResult",
- type: "structure",
- members: {},
- },
- },
- DeleteNotificationConfiguration: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName", "TopicARN"],
- members: { AutoScalingGroupName: {}, TopicARN: {} },
- },
- },
- DeletePolicy: {
- input: {
- type: "structure",
- required: ["PolicyName"],
- members: { AutoScalingGroupName: {}, PolicyName: {} },
- },
- },
- DeleteScheduledAction: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName", "ScheduledActionName"],
- members: { AutoScalingGroupName: {}, ScheduledActionName: {} },
- },
- },
- DeleteTags: {
- input: {
- type: "structure",
- required: ["Tags"],
- members: { Tags: { shape: "S1n" } },
- },
- },
- DescribeAccountLimits: {
- output: {
- resultWrapper: "DescribeAccountLimitsResult",
- type: "structure",
- members: {
- MaxNumberOfAutoScalingGroups: { type: "integer" },
- MaxNumberOfLaunchConfigurations: { type: "integer" },
- NumberOfAutoScalingGroups: { type: "integer" },
- NumberOfLaunchConfigurations: { type: "integer" },
- },
- },
- },
- DescribeAdjustmentTypes: {
- output: {
- resultWrapper: "DescribeAdjustmentTypesResult",
- type: "structure",
- members: {
- AdjustmentTypes: {
- type: "list",
- member: {
- type: "structure",
- members: { AdjustmentType: {} },
- },
- },
- },
- },
- },
- DescribeAutoScalingGroups: {
- input: {
- type: "structure",
- members: {
- AutoScalingGroupNames: { shape: "S2u" },
- NextToken: {},
- MaxRecords: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "DescribeAutoScalingGroupsResult",
- type: "structure",
- required: ["AutoScalingGroups"],
- members: {
- AutoScalingGroups: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "AutoScalingGroupName",
- "MinSize",
- "MaxSize",
- "DesiredCapacity",
- "DefaultCooldown",
- "AvailabilityZones",
- "HealthCheckType",
- "CreatedTime",
- ],
- members: {
- AutoScalingGroupName: {},
- AutoScalingGroupARN: {},
- LaunchConfigurationName: {},
- LaunchTemplate: { shape: "Sy" },
- MixedInstancesPolicy: { shape: "S10" },
- MinSize: { type: "integer" },
- MaxSize: { type: "integer" },
- DesiredCapacity: { type: "integer" },
- DefaultCooldown: { type: "integer" },
- AvailabilityZones: { shape: "S1b" },
- LoadBalancerNames: { shape: "Sa" },
- TargetGroupARNs: { shape: "S6" },
- HealthCheckType: {},
- HealthCheckGracePeriod: { type: "integer" },
- Instances: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "InstanceId",
- "AvailabilityZone",
- "LifecycleState",
- "HealthStatus",
- "ProtectedFromScaleIn",
- ],
- members: {
- InstanceId: {},
- InstanceType: {},
- AvailabilityZone: {},
- LifecycleState: {},
- HealthStatus: {},
- LaunchConfigurationName: {},
- LaunchTemplate: { shape: "Sy" },
- ProtectedFromScaleIn: { type: "boolean" },
- WeightedCapacity: {},
- },
- },
- },
- CreatedTime: { type: "timestamp" },
- SuspendedProcesses: {
- type: "list",
- member: {
- type: "structure",
- members: { ProcessName: {}, SuspensionReason: {} },
- },
- },
- PlacementGroup: {},
- VPCZoneIdentifier: {},
- EnabledMetrics: {
- type: "list",
- member: {
- type: "structure",
- members: { Metric: {}, Granularity: {} },
- },
- },
- Status: {},
- Tags: { shape: "S36" },
- TerminationPolicies: { shape: "S1e" },
- NewInstancesProtectedFromScaleIn: { type: "boolean" },
- ServiceLinkedRoleARN: {},
- MaxInstanceLifetime: { type: "integer" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeAutoScalingInstances: {
- input: {
- type: "structure",
- members: {
- InstanceIds: { shape: "S2" },
- MaxRecords: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- resultWrapper: "DescribeAutoScalingInstancesResult",
- type: "structure",
- members: {
- AutoScalingInstances: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "InstanceId",
- "AutoScalingGroupName",
- "AvailabilityZone",
- "LifecycleState",
- "HealthStatus",
- "ProtectedFromScaleIn",
- ],
- members: {
- InstanceId: {},
- InstanceType: {},
- AutoScalingGroupName: {},
- AvailabilityZone: {},
- LifecycleState: {},
- HealthStatus: {},
- LaunchConfigurationName: {},
- LaunchTemplate: { shape: "Sy" },
- ProtectedFromScaleIn: { type: "boolean" },
- WeightedCapacity: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeAutoScalingNotificationTypes: {
- output: {
- resultWrapper: "DescribeAutoScalingNotificationTypesResult",
- type: "structure",
- members: { AutoScalingNotificationTypes: { shape: "S3d" } },
- },
- },
- DescribeLaunchConfigurations: {
- input: {
- type: "structure",
- members: {
- LaunchConfigurationNames: { type: "list", member: {} },
- NextToken: {},
- MaxRecords: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "DescribeLaunchConfigurationsResult",
- type: "structure",
- required: ["LaunchConfigurations"],
- members: {
- LaunchConfigurations: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "LaunchConfigurationName",
- "ImageId",
- "InstanceType",
- "CreatedTime",
- ],
- members: {
- LaunchConfigurationName: {},
- LaunchConfigurationARN: {},
- ImageId: {},
- KeyName: {},
- SecurityGroups: { shape: "S1u" },
- ClassicLinkVPCId: {},
- ClassicLinkVPCSecurityGroups: { shape: "S1v" },
- UserData: {},
- InstanceType: {},
- KernelId: {},
- RamdiskId: {},
- BlockDeviceMappings: { shape: "S1x" },
- InstanceMonitoring: { shape: "S26" },
- SpotPrice: {},
- IamInstanceProfile: {},
- CreatedTime: { type: "timestamp" },
- EbsOptimized: { type: "boolean" },
- AssociatePublicIpAddress: { type: "boolean" },
- PlacementTenancy: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeLifecycleHookTypes: {
- output: {
- resultWrapper: "DescribeLifecycleHookTypesResult",
- type: "structure",
- members: { LifecycleHookTypes: { shape: "S3d" } },
- },
- },
- DescribeLifecycleHooks: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName"],
- members: {
- AutoScalingGroupName: {},
- LifecycleHookNames: { type: "list", member: {} },
- },
- },
- output: {
- resultWrapper: "DescribeLifecycleHooksResult",
- type: "structure",
- members: {
- LifecycleHooks: {
- type: "list",
- member: {
- type: "structure",
- members: {
- LifecycleHookName: {},
- AutoScalingGroupName: {},
- LifecycleTransition: {},
- NotificationTargetARN: {},
- RoleARN: {},
- NotificationMetadata: {},
- HeartbeatTimeout: { type: "integer" },
- GlobalTimeout: { type: "integer" },
- DefaultResult: {},
- },
- },
- },
- },
- },
- },
- DescribeLoadBalancerTargetGroups: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName"],
- members: {
- AutoScalingGroupName: {},
- NextToken: {},
- MaxRecords: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "DescribeLoadBalancerTargetGroupsResult",
- type: "structure",
- members: {
- LoadBalancerTargetGroups: {
- type: "list",
- member: {
- type: "structure",
- members: { LoadBalancerTargetGroupARN: {}, State: {} },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeLoadBalancers: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName"],
- members: {
- AutoScalingGroupName: {},
- NextToken: {},
- MaxRecords: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "DescribeLoadBalancersResult",
- type: "structure",
- members: {
- LoadBalancers: {
- type: "list",
- member: {
- type: "structure",
- members: { LoadBalancerName: {}, State: {} },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeMetricCollectionTypes: {
- output: {
- resultWrapper: "DescribeMetricCollectionTypesResult",
- type: "structure",
- members: {
- Metrics: {
- type: "list",
- member: { type: "structure", members: { Metric: {} } },
- },
- Granularities: {
- type: "list",
- member: { type: "structure", members: { Granularity: {} } },
- },
- },
- },
- },
- DescribeNotificationConfigurations: {
- input: {
- type: "structure",
- members: {
- AutoScalingGroupNames: { shape: "S2u" },
- NextToken: {},
- MaxRecords: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "DescribeNotificationConfigurationsResult",
- type: "structure",
- required: ["NotificationConfigurations"],
- members: {
- NotificationConfigurations: {
- type: "list",
- member: {
- type: "structure",
- members: {
- AutoScalingGroupName: {},
- TopicARN: {},
- NotificationType: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribePolicies: {
- input: {
- type: "structure",
- members: {
- AutoScalingGroupName: {},
- PolicyNames: { type: "list", member: {} },
- PolicyTypes: { type: "list", member: {} },
- NextToken: {},
- MaxRecords: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "DescribePoliciesResult",
- type: "structure",
- members: {
- ScalingPolicies: {
- type: "list",
- member: {
- type: "structure",
- members: {
- AutoScalingGroupName: {},
- PolicyName: {},
- PolicyARN: {},
- PolicyType: {},
- AdjustmentType: {},
- MinAdjustmentStep: { shape: "S4d" },
- MinAdjustmentMagnitude: { type: "integer" },
- ScalingAdjustment: { type: "integer" },
- Cooldown: { type: "integer" },
- StepAdjustments: { shape: "S4g" },
- MetricAggregationType: {},
- EstimatedInstanceWarmup: { type: "integer" },
- Alarms: { shape: "S4k" },
- TargetTrackingConfiguration: { shape: "S4m" },
- Enabled: { type: "boolean" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeScalingActivities: {
- input: {
- type: "structure",
- members: {
- ActivityIds: { type: "list", member: {} },
- AutoScalingGroupName: {},
- MaxRecords: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- resultWrapper: "DescribeScalingActivitiesResult",
- type: "structure",
- required: ["Activities"],
- members: { Activities: { shape: "S53" }, NextToken: {} },
- },
- },
- DescribeScalingProcessTypes: {
- output: {
- resultWrapper: "DescribeScalingProcessTypesResult",
- type: "structure",
- members: {
- Processes: {
- type: "list",
- member: {
- type: "structure",
- required: ["ProcessName"],
- members: { ProcessName: {} },
- },
- },
- },
- },
- },
- DescribeScheduledActions: {
- input: {
- type: "structure",
- members: {
- AutoScalingGroupName: {},
- ScheduledActionNames: { shape: "Se" },
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- NextToken: {},
- MaxRecords: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "DescribeScheduledActionsResult",
- type: "structure",
- members: {
- ScheduledUpdateGroupActions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- AutoScalingGroupName: {},
- ScheduledActionName: {},
- ScheduledActionARN: {},
- Time: { type: "timestamp" },
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Recurrence: {},
- MinSize: { type: "integer" },
- MaxSize: { type: "integer" },
- DesiredCapacity: { type: "integer" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- DescribeTags: {
- input: {
- type: "structure",
- members: {
- Filters: {
- type: "list",
- member: {
- type: "structure",
- members: { Name: {}, Values: { type: "list", member: {} } },
- },
- },
- NextToken: {},
- MaxRecords: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "DescribeTagsResult",
- type: "structure",
- members: { Tags: { shape: "S36" }, NextToken: {} },
- },
- },
- DescribeTerminationPolicyTypes: {
- output: {
- resultWrapper: "DescribeTerminationPolicyTypesResult",
- type: "structure",
- members: { TerminationPolicyTypes: { shape: "S1e" } },
- },
- },
- DetachInstances: {
- input: {
- type: "structure",
- required: [
- "AutoScalingGroupName",
- "ShouldDecrementDesiredCapacity",
- ],
- members: {
- InstanceIds: { shape: "S2" },
- AutoScalingGroupName: {},
- ShouldDecrementDesiredCapacity: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DetachInstancesResult",
- type: "structure",
- members: { Activities: { shape: "S53" } },
- },
- },
- DetachLoadBalancerTargetGroups: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName", "TargetGroupARNs"],
- members: {
- AutoScalingGroupName: {},
- TargetGroupARNs: { shape: "S6" },
- },
- },
- output: {
- resultWrapper: "DetachLoadBalancerTargetGroupsResult",
- type: "structure",
- members: {},
- },
- },
- DetachLoadBalancers: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName", "LoadBalancerNames"],
- members: {
- AutoScalingGroupName: {},
- LoadBalancerNames: { shape: "Sa" },
- },
- },
- output: {
- resultWrapper: "DetachLoadBalancersResult",
- type: "structure",
- members: {},
- },
- },
- DisableMetricsCollection: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName"],
- members: { AutoScalingGroupName: {}, Metrics: { shape: "S5s" } },
- },
- },
- EnableMetricsCollection: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName", "Granularity"],
- members: {
- AutoScalingGroupName: {},
- Metrics: { shape: "S5s" },
- Granularity: {},
- },
- },
- },
- EnterStandby: {
- input: {
- type: "structure",
- required: [
- "AutoScalingGroupName",
- "ShouldDecrementDesiredCapacity",
- ],
- members: {
- InstanceIds: { shape: "S2" },
- AutoScalingGroupName: {},
- ShouldDecrementDesiredCapacity: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "EnterStandbyResult",
- type: "structure",
- members: { Activities: { shape: "S53" } },
- },
- },
- ExecutePolicy: {
- input: {
- type: "structure",
- required: ["PolicyName"],
- members: {
- AutoScalingGroupName: {},
- PolicyName: {},
- HonorCooldown: { type: "boolean" },
- MetricValue: { type: "double" },
- BreachThreshold: { type: "double" },
- },
- },
- },
- ExitStandby: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName"],
- members: {
- InstanceIds: { shape: "S2" },
- AutoScalingGroupName: {},
- },
- },
- output: {
- resultWrapper: "ExitStandbyResult",
- type: "structure",
- members: { Activities: { shape: "S53" } },
- },
- },
- PutLifecycleHook: {
- input: {
- type: "structure",
- required: ["LifecycleHookName", "AutoScalingGroupName"],
- members: {
- LifecycleHookName: {},
- AutoScalingGroupName: {},
- LifecycleTransition: {},
- RoleARN: {},
- NotificationTargetARN: {},
- NotificationMetadata: {},
- HeartbeatTimeout: { type: "integer" },
- DefaultResult: {},
- },
- },
- output: {
- resultWrapper: "PutLifecycleHookResult",
- type: "structure",
- members: {},
- },
- },
- PutNotificationConfiguration: {
- input: {
- type: "structure",
- required: [
- "AutoScalingGroupName",
- "TopicARN",
- "NotificationTypes",
- ],
- members: {
- AutoScalingGroupName: {},
- TopicARN: {},
- NotificationTypes: { shape: "S3d" },
- },
- },
- },
- PutScalingPolicy: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName", "PolicyName"],
- members: {
- AutoScalingGroupName: {},
- PolicyName: {},
- PolicyType: {},
- AdjustmentType: {},
- MinAdjustmentStep: { shape: "S4d" },
- MinAdjustmentMagnitude: { type: "integer" },
- ScalingAdjustment: { type: "integer" },
- Cooldown: { type: "integer" },
- MetricAggregationType: {},
- StepAdjustments: { shape: "S4g" },
- EstimatedInstanceWarmup: { type: "integer" },
- TargetTrackingConfiguration: { shape: "S4m" },
- Enabled: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "PutScalingPolicyResult",
- type: "structure",
- members: { PolicyARN: {}, Alarms: { shape: "S4k" } },
- },
- },
- PutScheduledUpdateGroupAction: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName", "ScheduledActionName"],
- members: {
- AutoScalingGroupName: {},
- ScheduledActionName: {},
- Time: { type: "timestamp" },
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Recurrence: {},
- MinSize: { type: "integer" },
- MaxSize: { type: "integer" },
- DesiredCapacity: { type: "integer" },
- },
- },
- },
- RecordLifecycleActionHeartbeat: {
- input: {
- type: "structure",
- required: ["LifecycleHookName", "AutoScalingGroupName"],
- members: {
- LifecycleHookName: {},
- AutoScalingGroupName: {},
- LifecycleActionToken: {},
- InstanceId: {},
- },
- },
- output: {
- resultWrapper: "RecordLifecycleActionHeartbeatResult",
- type: "structure",
- members: {},
- },
- },
- ResumeProcesses: { input: { shape: "S68" } },
- SetDesiredCapacity: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName", "DesiredCapacity"],
- members: {
- AutoScalingGroupName: {},
- DesiredCapacity: { type: "integer" },
- HonorCooldown: { type: "boolean" },
- },
- },
- },
- SetInstanceHealth: {
- input: {
- type: "structure",
- required: ["InstanceId", "HealthStatus"],
- members: {
- InstanceId: {},
- HealthStatus: {},
- ShouldRespectGracePeriod: { type: "boolean" },
- },
- },
- },
- SetInstanceProtection: {
- input: {
- type: "structure",
- required: [
- "InstanceIds",
- "AutoScalingGroupName",
- "ProtectedFromScaleIn",
- ],
- members: {
- InstanceIds: { shape: "S2" },
- AutoScalingGroupName: {},
- ProtectedFromScaleIn: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "SetInstanceProtectionResult",
- type: "structure",
- members: {},
- },
- },
- SuspendProcesses: { input: { shape: "S68" } },
- TerminateInstanceInAutoScalingGroup: {
- input: {
- type: "structure",
- required: ["InstanceId", "ShouldDecrementDesiredCapacity"],
- members: {
- InstanceId: {},
- ShouldDecrementDesiredCapacity: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "TerminateInstanceInAutoScalingGroupResult",
- type: "structure",
- members: { Activity: { shape: "S54" } },
- },
- },
- UpdateAutoScalingGroup: {
- input: {
- type: "structure",
- required: ["AutoScalingGroupName"],
- members: {
- AutoScalingGroupName: {},
- LaunchConfigurationName: {},
- LaunchTemplate: { shape: "Sy" },
- MixedInstancesPolicy: { shape: "S10" },
- MinSize: { type: "integer" },
- MaxSize: { type: "integer" },
- DesiredCapacity: { type: "integer" },
- DefaultCooldown: { type: "integer" },
- AvailabilityZones: { shape: "S1b" },
- HealthCheckType: {},
- HealthCheckGracePeriod: { type: "integer" },
- PlacementGroup: {},
- VPCZoneIdentifier: {},
- TerminationPolicies: { shape: "S1e" },
- NewInstancesProtectedFromScaleIn: { type: "boolean" },
- ServiceLinkedRoleARN: {},
- MaxInstanceLifetime: { type: "integer" },
- },
- },
- },
- },
- shapes: {
- S2: { type: "list", member: {} },
- S6: { type: "list", member: {} },
- Sa: { type: "list", member: {} },
- Se: { type: "list", member: {} },
- Sg: {
- type: "list",
- member: {
- type: "structure",
- required: ["ScheduledActionName"],
- members: {
- ScheduledActionName: {},
- ErrorCode: {},
- ErrorMessage: {},
- },
- },
- },
- Sy: {
- type: "structure",
- members: {
- LaunchTemplateId: {},
- LaunchTemplateName: {},
- Version: {},
- },
- },
- S10: {
- type: "structure",
- members: {
- LaunchTemplate: {
- type: "structure",
- members: {
- LaunchTemplateSpecification: { shape: "Sy" },
- Overrides: {
- type: "list",
- member: {
- type: "structure",
- members: { InstanceType: {}, WeightedCapacity: {} },
- },
- },
- },
- },
- InstancesDistribution: {
- type: "structure",
- members: {
- OnDemandAllocationStrategy: {},
- OnDemandBaseCapacity: { type: "integer" },
- OnDemandPercentageAboveBaseCapacity: { type: "integer" },
- SpotAllocationStrategy: {},
- SpotInstancePools: { type: "integer" },
- SpotMaxPrice: {},
- },
- },
- },
- },
- S1b: { type: "list", member: {} },
- S1e: { type: "list", member: {} },
- S1n: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key"],
- members: {
- ResourceId: {},
- ResourceType: {},
- Key: {},
- Value: {},
- PropagateAtLaunch: { type: "boolean" },
- },
- },
- },
- S1u: { type: "list", member: {} },
- S1v: { type: "list", member: {} },
- S1x: {
- type: "list",
- member: {
- type: "structure",
- required: ["DeviceName"],
- members: {
- VirtualName: {},
- DeviceName: {},
- Ebs: {
- type: "structure",
- members: {
- SnapshotId: {},
- VolumeSize: { type: "integer" },
- VolumeType: {},
- DeleteOnTermination: { type: "boolean" },
- Iops: { type: "integer" },
- Encrypted: { type: "boolean" },
- },
- },
- NoDevice: { type: "boolean" },
- },
- },
- },
- S26: { type: "structure", members: { Enabled: { type: "boolean" } } },
- S2u: { type: "list", member: {} },
- S36: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ResourceId: {},
- ResourceType: {},
- Key: {},
- Value: {},
- PropagateAtLaunch: { type: "boolean" },
- },
- },
- },
- S3d: { type: "list", member: {} },
- S4d: { type: "integer", deprecated: true },
- S4g: {
- type: "list",
- member: {
- type: "structure",
- required: ["ScalingAdjustment"],
- members: {
- MetricIntervalLowerBound: { type: "double" },
- MetricIntervalUpperBound: { type: "double" },
- ScalingAdjustment: { type: "integer" },
- },
- },
- },
- S4k: {
- type: "list",
- member: {
- type: "structure",
- members: { AlarmName: {}, AlarmARN: {} },
- },
- },
- S4m: {
- type: "structure",
- required: ["TargetValue"],
- members: {
- PredefinedMetricSpecification: {
- type: "structure",
- required: ["PredefinedMetricType"],
- members: { PredefinedMetricType: {}, ResourceLabel: {} },
- },
- CustomizedMetricSpecification: {
- type: "structure",
- required: ["MetricName", "Namespace", "Statistic"],
- members: {
- MetricName: {},
- Namespace: {},
- Dimensions: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Value"],
- members: { Name: {}, Value: {} },
- },
- },
- Statistic: {},
- Unit: {},
- },
- },
- TargetValue: { type: "double" },
- DisableScaleIn: { type: "boolean" },
- },
- },
- S53: { type: "list", member: { shape: "S54" } },
- S54: {
- type: "structure",
- required: [
- "ActivityId",
- "AutoScalingGroupName",
- "Cause",
- "StartTime",
- "StatusCode",
- ],
- members: {
- ActivityId: {},
- AutoScalingGroupName: {},
- Description: {},
- Cause: {},
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- StatusCode: {},
- StatusMessage: {},
- Progress: { type: "integer" },
- Details: {},
- },
- },
- S5s: { type: "list", member: {} },
- S68: {
- type: "structure",
- required: ["AutoScalingGroupName"],
- members: {
- AutoScalingGroupName: {},
- ScalingProcesses: { type: "list", member: {} },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 3694: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(1176);
- model.paginators = __webpack_require__(8116).pagination;
- model.waiters = __webpack_require__(9999).waiters;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Schemas;
-
- /***/
- },
-
- /***/ 3696: /***/ function (module) {
- function AcceptorStateMachine(states, state) {
- this.currentState = state || null;
- this.states = states || {};
- }
-
- AcceptorStateMachine.prototype.runTo = function runTo(
- finalState,
- done,
- bindObject,
- inputError
- ) {
- if (typeof finalState === "function") {
- inputError = bindObject;
- bindObject = done;
- done = finalState;
- finalState = null;
- }
-
- var self = this;
- var state = self.states[self.currentState];
- state.fn.call(bindObject || self, inputError, function (err) {
- if (err) {
- if (state.fail) self.currentState = state.fail;
- else return done ? done.call(bindObject, err) : null;
- } else {
- if (state.accept) self.currentState = state.accept;
- else return done ? done.call(bindObject) : null;
- }
- if (self.currentState === finalState) {
- return done ? done.call(bindObject, err) : null;
- }
-
- self.runTo(finalState, done, bindObject, err);
- });
- };
-
- AcceptorStateMachine.prototype.addState = function addState(
- name,
- acceptState,
- failState,
- fn
- ) {
- if (typeof acceptState === "function") {
- fn = acceptState;
- acceptState = null;
- failState = null;
- } else if (typeof failState === "function") {
- fn = failState;
- failState = null;
- }
-
- if (!this.currentState) this.currentState = name;
- this.states[name] = { accept: acceptState, fail: failState, fn: fn };
- return this;
- };
-
- /**
- * @api private
- */
- module.exports = AcceptorStateMachine;
-
- /***/
- },
-
- /***/ 3707: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(2766);
- model.paginators = __webpack_require__(6207).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.KinesisVideo;
-
- /***/
- },
-
- /***/ 3711: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
- 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;
- };
-
- /***/
- },
-
- /***/ 3725: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 3753: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeBackups: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- DescribeDataRepositoryTasks: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- DescribeFileSystems: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 3754: /***/ function (module, __unusedexports, __webpack_require__) {
- var AWS = __webpack_require__(395);
- var v4Credentials = __webpack_require__(9819);
- var inherit = AWS.util.inherit;
-
- /**
- * @api private
- */
- var expiresHeader = "presigned-expires";
-
- /**
- * @api private
- */
- AWS.Signers.V4 = inherit(AWS.Signers.RequestSigner, {
- constructor: function V4(request, serviceName, options) {
- AWS.Signers.RequestSigner.call(this, request);
- this.serviceName = serviceName;
- options = options || {};
- this.signatureCache =
- typeof options.signatureCache === "boolean"
- ? options.signatureCache
- : true;
- this.operation = options.operation;
- this.signatureVersion = options.signatureVersion;
- },
-
- algorithm: "AWS4-HMAC-SHA256",
-
- addAuthorization: function addAuthorization(credentials, date) {
- var datetime = AWS.util.date
- .iso8601(date)
- .replace(/[:\-]|\.\d{3}/g, "");
-
- if (this.isPresigned()) {
- this.updateForPresigned(credentials, datetime);
- } else {
- this.addHeaders(credentials, datetime);
- }
-
- this.request.headers["Authorization"] = this.authorization(
- credentials,
- datetime
- );
- },
-
- addHeaders: function addHeaders(credentials, datetime) {
- this.request.headers["X-Amz-Date"] = datetime;
- if (credentials.sessionToken) {
- this.request.headers["x-amz-security-token"] =
- credentials.sessionToken;
- }
- },
-
- updateForPresigned: function updateForPresigned(credentials, datetime) {
- var credString = this.credentialString(datetime);
- var qs = {
- "X-Amz-Date": datetime,
- "X-Amz-Algorithm": this.algorithm,
- "X-Amz-Credential": credentials.accessKeyId + "/" + credString,
- "X-Amz-Expires": this.request.headers[expiresHeader],
- "X-Amz-SignedHeaders": this.signedHeaders(),
- };
-
- if (credentials.sessionToken) {
- qs["X-Amz-Security-Token"] = credentials.sessionToken;
- }
-
- if (this.request.headers["Content-Type"]) {
- qs["Content-Type"] = this.request.headers["Content-Type"];
- }
- if (this.request.headers["Content-MD5"]) {
- qs["Content-MD5"] = this.request.headers["Content-MD5"];
- }
- if (this.request.headers["Cache-Control"]) {
- qs["Cache-Control"] = this.request.headers["Cache-Control"];
- }
-
- // need to pull in any other X-Amz-* headers
- AWS.util.each.call(this, this.request.headers, function (key, value) {
- if (key === expiresHeader) return;
- if (this.isSignableHeader(key)) {
- var lowerKey = key.toLowerCase();
- // Metadata should be normalized
- if (lowerKey.indexOf("x-amz-meta-") === 0) {
- qs[lowerKey] = value;
- } else if (lowerKey.indexOf("x-amz-") === 0) {
- qs[key] = value;
- }
- }
- });
-
- var sep = this.request.path.indexOf("?") >= 0 ? "&" : "?";
- this.request.path += sep + AWS.util.queryParamsToString(qs);
- },
-
- authorization: function authorization(credentials, datetime) {
- var parts = [];
- var credString = this.credentialString(datetime);
- parts.push(
- this.algorithm +
- " Credential=" +
- credentials.accessKeyId +
- "/" +
- credString
- );
- parts.push("SignedHeaders=" + this.signedHeaders());
- parts.push("Signature=" + this.signature(credentials, datetime));
- return parts.join(", ");
- },
-
- signature: function signature(credentials, datetime) {
- var signingKey = v4Credentials.getSigningKey(
- credentials,
- datetime.substr(0, 8),
- this.request.region,
- this.serviceName,
- this.signatureCache
- );
- return AWS.util.crypto.hmac(
- signingKey,
- this.stringToSign(datetime),
- "hex"
- );
- },
-
- stringToSign: function stringToSign(datetime) {
- var parts = [];
- parts.push("AWS4-HMAC-SHA256");
- parts.push(datetime);
- parts.push(this.credentialString(datetime));
- parts.push(this.hexEncodedHash(this.canonicalString()));
- return parts.join("\n");
- },
-
- canonicalString: function canonicalString() {
- var parts = [],
- pathname = this.request.pathname();
- if (this.serviceName !== "s3" && this.signatureVersion !== "s3v4")
- pathname = AWS.util.uriEscapePath(pathname);
-
- parts.push(this.request.method);
- parts.push(pathname);
- parts.push(this.request.search());
- parts.push(this.canonicalHeaders() + "\n");
- parts.push(this.signedHeaders());
- parts.push(this.hexEncodedBodyHash());
- return parts.join("\n");
- },
-
- canonicalHeaders: function canonicalHeaders() {
- var headers = [];
- AWS.util.each.call(this, this.request.headers, function (key, item) {
- headers.push([key, item]);
- });
- headers.sort(function (a, b) {
- return a[0].toLowerCase() < b[0].toLowerCase() ? -1 : 1;
- });
- var parts = [];
- AWS.util.arrayEach.call(this, headers, function (item) {
- var key = item[0].toLowerCase();
- if (this.isSignableHeader(key)) {
- var value = item[1];
- if (
- typeof value === "undefined" ||
- value === null ||
- typeof value.toString !== "function"
- ) {
- throw AWS.util.error(
- new Error("Header " + key + " contains invalid value"),
- {
- code: "InvalidHeader",
- }
- );
- }
- parts.push(
- key + ":" + this.canonicalHeaderValues(value.toString())
- );
- }
- });
- return parts.join("\n");
- },
-
- canonicalHeaderValues: function canonicalHeaderValues(values) {
- return values.replace(/\s+/g, " ").replace(/^\s+|\s+$/g, "");
- },
-
- signedHeaders: function signedHeaders() {
- var keys = [];
- AWS.util.each.call(this, this.request.headers, function (key) {
- key = key.toLowerCase();
- if (this.isSignableHeader(key)) keys.push(key);
- });
- return keys.sort().join(";");
- },
-
- credentialString: function credentialString(datetime) {
- return v4Credentials.createScope(
- datetime.substr(0, 8),
- this.request.region,
- this.serviceName
- );
- },
-
- hexEncodedHash: function hash(string) {
- return AWS.util.crypto.sha256(string, "hex");
- },
-
- hexEncodedBodyHash: function hexEncodedBodyHash() {
- var request = this.request;
- if (
- this.isPresigned() &&
- this.serviceName === "s3" &&
- !request.body
- ) {
- return "UNSIGNED-PAYLOAD";
- } else if (request.headers["X-Amz-Content-Sha256"]) {
- return request.headers["X-Amz-Content-Sha256"];
- } else {
- return this.hexEncodedHash(this.request.body || "");
- }
- },
-
- unsignableHeaders: [
- "authorization",
- "content-type",
- "content-length",
- "user-agent",
- expiresHeader,
- "expect",
- "x-amzn-trace-id",
- ],
-
- isSignableHeader: function isSignableHeader(key) {
- if (key.toLowerCase().indexOf("x-amz-") === 0) return true;
- return this.unsignableHeaders.indexOf(key) < 0;
- },
-
- isPresigned: function isPresigned() {
- return this.request.headers[expiresHeader] ? true : false;
- },
- });
-
- /**
- * @api private
- */
- module.exports = AWS.Signers.V4;
-
- /***/
- },
-
- /***/ 3756: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeDBEngineVersions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBEngineVersions",
- },
- DescribeDBInstances: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBInstances",
- },
- DescribeDBLogFiles: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DescribeDBLogFiles",
- },
- DescribeDBParameterGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBParameterGroups",
- },
- DescribeDBParameters: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "Parameters",
- },
- DescribeDBSecurityGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBSecurityGroups",
- },
- DescribeDBSnapshots: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBSnapshots",
- },
- DescribeDBSubnetGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBSubnetGroups",
- },
- DescribeEngineDefaultParameters: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "EngineDefaults.Marker",
- result_key: "EngineDefaults.Parameters",
- },
- DescribeEventSubscriptions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "EventSubscriptionsList",
- },
- DescribeEvents: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "Events",
- },
- DescribeOptionGroupOptions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "OptionGroupOptions",
- },
- DescribeOptionGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "OptionGroupsList",
- },
- DescribeOrderableDBInstanceOptions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "OrderableDBInstanceOptions",
- },
- DescribeReservedDBInstances: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "ReservedDBInstances",
- },
- DescribeReservedDBInstancesOfferings: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "ReservedDBInstancesOfferings",
- },
- DownloadDBLogFilePortion: {
- input_token: "Marker",
- limit_key: "NumberOfLines",
- more_results: "AdditionalDataPending",
- output_token: "Marker",
- result_key: "LogFileData",
- },
- ListTagsForResource: { result_key: "TagList" },
- },
- };
-
- /***/
- },
-
- /***/ 3762: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2018-09-24",
- endpointPrefix: "managedblockchain",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "ManagedBlockchain",
- serviceFullName: "Amazon Managed Blockchain",
- serviceId: "ManagedBlockchain",
- signatureVersion: "v4",
- signingName: "managedblockchain",
- uid: "managedblockchain-2018-09-24",
- },
- operations: {
- CreateMember: {
- http: { requestUri: "/networks/{networkId}/members" },
- input: {
- type: "structure",
- required: [
- "ClientRequestToken",
- "InvitationId",
- "NetworkId",
- "MemberConfiguration",
- ],
- members: {
- ClientRequestToken: { idempotencyToken: true },
- InvitationId: {},
- NetworkId: { location: "uri", locationName: "networkId" },
- MemberConfiguration: { shape: "S4" },
- },
- },
- output: { type: "structure", members: { MemberId: {} } },
- },
- CreateNetwork: {
- http: { requestUri: "/networks" },
- input: {
- type: "structure",
- required: [
- "ClientRequestToken",
- "Name",
- "Framework",
- "FrameworkVersion",
- "VotingPolicy",
- "MemberConfiguration",
- ],
- members: {
- ClientRequestToken: { idempotencyToken: true },
- Name: {},
- Description: {},
- Framework: {},
- FrameworkVersion: {},
- FrameworkConfiguration: {
- type: "structure",
- members: {
- Fabric: {
- type: "structure",
- required: ["Edition"],
- members: { Edition: {} },
- },
- },
- },
- VotingPolicy: { shape: "So" },
- MemberConfiguration: { shape: "S4" },
- },
- },
- output: {
- type: "structure",
- members: { NetworkId: {}, MemberId: {} },
- },
- },
- CreateNode: {
- http: {
- requestUri: "/networks/{networkId}/members/{memberId}/nodes",
- },
- input: {
- type: "structure",
- required: [
- "ClientRequestToken",
- "NetworkId",
- "MemberId",
- "NodeConfiguration",
- ],
- members: {
- ClientRequestToken: { idempotencyToken: true },
- NetworkId: { location: "uri", locationName: "networkId" },
- MemberId: { location: "uri", locationName: "memberId" },
- NodeConfiguration: {
- type: "structure",
- required: ["InstanceType", "AvailabilityZone"],
- members: {
- InstanceType: {},
- AvailabilityZone: {},
- LogPublishingConfiguration: { shape: "Sy" },
- },
- },
- },
- },
- output: { type: "structure", members: { NodeId: {} } },
- },
- CreateProposal: {
- http: { requestUri: "/networks/{networkId}/proposals" },
- input: {
- type: "structure",
- required: [
- "ClientRequestToken",
- "NetworkId",
- "MemberId",
- "Actions",
- ],
- members: {
- ClientRequestToken: { idempotencyToken: true },
- NetworkId: { location: "uri", locationName: "networkId" },
- MemberId: {},
- Actions: { shape: "S12" },
- Description: {},
- },
- },
- output: { type: "structure", members: { ProposalId: {} } },
- },
- DeleteMember: {
- http: {
- method: "DELETE",
- requestUri: "/networks/{networkId}/members/{memberId}",
- },
- input: {
- type: "structure",
- required: ["NetworkId", "MemberId"],
- members: {
- NetworkId: { location: "uri", locationName: "networkId" },
- MemberId: { location: "uri", locationName: "memberId" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteNode: {
- http: {
- method: "DELETE",
- requestUri:
- "/networks/{networkId}/members/{memberId}/nodes/{nodeId}",
- },
- input: {
- type: "structure",
- required: ["NetworkId", "MemberId", "NodeId"],
- members: {
- NetworkId: { location: "uri", locationName: "networkId" },
- MemberId: { location: "uri", locationName: "memberId" },
- NodeId: { location: "uri", locationName: "nodeId" },
- },
- },
- output: { type: "structure", members: {} },
- },
- GetMember: {
- http: {
- method: "GET",
- requestUri: "/networks/{networkId}/members/{memberId}",
- },
- input: {
- type: "structure",
- required: ["NetworkId", "MemberId"],
- members: {
- NetworkId: { location: "uri", locationName: "networkId" },
- MemberId: { location: "uri", locationName: "memberId" },
- },
- },
- output: {
- type: "structure",
- members: {
- Member: {
- type: "structure",
- members: {
- NetworkId: {},
- Id: {},
- Name: {},
- Description: {},
- FrameworkAttributes: {
- type: "structure",
- members: {
- Fabric: {
- type: "structure",
- members: { AdminUsername: {}, CaEndpoint: {} },
- },
- },
- },
- LogPublishingConfiguration: { shape: "Sb" },
- Status: {},
- CreationDate: { shape: "S1k" },
- },
- },
- },
- },
- },
- GetNetwork: {
- http: { method: "GET", requestUri: "/networks/{networkId}" },
- input: {
- type: "structure",
- required: ["NetworkId"],
- members: {
- NetworkId: { location: "uri", locationName: "networkId" },
- },
- },
- output: {
- type: "structure",
- members: {
- Network: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Description: {},
- Framework: {},
- FrameworkVersion: {},
- FrameworkAttributes: {
- type: "structure",
- members: {
- Fabric: {
- type: "structure",
- members: { OrderingServiceEndpoint: {}, Edition: {} },
- },
- },
- },
- VpcEndpointServiceName: {},
- VotingPolicy: { shape: "So" },
- Status: {},
- CreationDate: { shape: "S1k" },
- },
- },
- },
- },
- },
- GetNode: {
- http: {
- method: "GET",
- requestUri:
- "/networks/{networkId}/members/{memberId}/nodes/{nodeId}",
- },
- input: {
- type: "structure",
- required: ["NetworkId", "MemberId", "NodeId"],
- members: {
- NetworkId: { location: "uri", locationName: "networkId" },
- MemberId: { location: "uri", locationName: "memberId" },
- NodeId: { location: "uri", locationName: "nodeId" },
- },
- },
- output: {
- type: "structure",
- members: {
- Node: {
- type: "structure",
- members: {
- NetworkId: {},
- MemberId: {},
- Id: {},
- InstanceType: {},
- AvailabilityZone: {},
- FrameworkAttributes: {
- type: "structure",
- members: {
- Fabric: {
- type: "structure",
- members: { PeerEndpoint: {}, PeerEventEndpoint: {} },
- },
- },
- },
- LogPublishingConfiguration: { shape: "Sy" },
- Status: {},
- CreationDate: { shape: "S1k" },
- },
- },
- },
- },
- },
- GetProposal: {
- http: {
- method: "GET",
- requestUri: "/networks/{networkId}/proposals/{proposalId}",
- },
- input: {
- type: "structure",
- required: ["NetworkId", "ProposalId"],
- members: {
- NetworkId: { location: "uri", locationName: "networkId" },
- ProposalId: { location: "uri", locationName: "proposalId" },
- },
- },
- output: {
- type: "structure",
- members: {
- Proposal: {
- type: "structure",
- members: {
- ProposalId: {},
- NetworkId: {},
- Description: {},
- Actions: { shape: "S12" },
- ProposedByMemberId: {},
- ProposedByMemberName: {},
- Status: {},
- CreationDate: { shape: "S1k" },
- ExpirationDate: { shape: "S1k" },
- YesVoteCount: { type: "integer" },
- NoVoteCount: { type: "integer" },
- OutstandingVoteCount: { type: "integer" },
- },
- },
- },
- },
- },
- ListInvitations: {
- http: { method: "GET", requestUri: "/invitations" },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Invitations: {
- type: "list",
- member: {
- type: "structure",
- members: {
- InvitationId: {},
- CreationDate: { shape: "S1k" },
- ExpirationDate: { shape: "S1k" },
- Status: {},
- NetworkSummary: { shape: "S29" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListMembers: {
- http: {
- method: "GET",
- requestUri: "/networks/{networkId}/members",
- },
- input: {
- type: "structure",
- required: ["NetworkId"],
- members: {
- NetworkId: { location: "uri", locationName: "networkId" },
- Name: { location: "querystring", locationName: "name" },
- Status: { location: "querystring", locationName: "status" },
- IsOwned: {
- location: "querystring",
- locationName: "isOwned",
- type: "boolean",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Members: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Description: {},
- Status: {},
- CreationDate: { shape: "S1k" },
- IsOwned: { type: "boolean" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListNetworks: {
- http: { method: "GET", requestUri: "/networks" },
- input: {
- type: "structure",
- members: {
- Name: { location: "querystring", locationName: "name" },
- Framework: {
- location: "querystring",
- locationName: "framework",
- },
- Status: { location: "querystring", locationName: "status" },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Networks: { type: "list", member: { shape: "S29" } },
- NextToken: {},
- },
- },
- },
- ListNodes: {
- http: {
- method: "GET",
- requestUri: "/networks/{networkId}/members/{memberId}/nodes",
- },
- input: {
- type: "structure",
- required: ["NetworkId", "MemberId"],
- members: {
- NetworkId: { location: "uri", locationName: "networkId" },
- MemberId: { location: "uri", locationName: "memberId" },
- Status: { location: "querystring", locationName: "status" },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Nodes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Status: {},
- CreationDate: { shape: "S1k" },
- AvailabilityZone: {},
- InstanceType: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListProposalVotes: {
- http: {
- method: "GET",
- requestUri: "/networks/{networkId}/proposals/{proposalId}/votes",
- },
- input: {
- type: "structure",
- required: ["NetworkId", "ProposalId"],
- members: {
- NetworkId: { location: "uri", locationName: "networkId" },
- ProposalId: { location: "uri", locationName: "proposalId" },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- ProposalVotes: {
- type: "list",
- member: {
- type: "structure",
- members: { Vote: {}, MemberName: {}, MemberId: {} },
- },
- },
- NextToken: {},
- },
- },
- },
- ListProposals: {
- http: {
- method: "GET",
- requestUri: "/networks/{networkId}/proposals",
- },
- input: {
- type: "structure",
- required: ["NetworkId"],
- members: {
- NetworkId: { location: "uri", locationName: "networkId" },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Proposals: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ProposalId: {},
- Description: {},
- ProposedByMemberId: {},
- ProposedByMemberName: {},
- Status: {},
- CreationDate: { shape: "S1k" },
- ExpirationDate: { shape: "S1k" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- RejectInvitation: {
- http: {
- method: "DELETE",
- requestUri: "/invitations/{invitationId}",
- },
- input: {
- type: "structure",
- required: ["InvitationId"],
- members: {
- InvitationId: { location: "uri", locationName: "invitationId" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateMember: {
- http: {
- method: "PATCH",
- requestUri: "/networks/{networkId}/members/{memberId}",
- },
- input: {
- type: "structure",
- required: ["NetworkId", "MemberId"],
- members: {
- NetworkId: { location: "uri", locationName: "networkId" },
- MemberId: { location: "uri", locationName: "memberId" },
- LogPublishingConfiguration: { shape: "Sb" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateNode: {
- http: {
- method: "PATCH",
- requestUri:
- "/networks/{networkId}/members/{memberId}/nodes/{nodeId}",
- },
- input: {
- type: "structure",
- required: ["NetworkId", "MemberId", "NodeId"],
- members: {
- NetworkId: { location: "uri", locationName: "networkId" },
- MemberId: { location: "uri", locationName: "memberId" },
- NodeId: { location: "uri", locationName: "nodeId" },
- LogPublishingConfiguration: { shape: "Sy" },
- },
- },
- output: { type: "structure", members: {} },
- },
- VoteOnProposal: {
- http: {
- requestUri: "/networks/{networkId}/proposals/{proposalId}/votes",
- },
- input: {
- type: "structure",
- required: ["NetworkId", "ProposalId", "VoterMemberId", "Vote"],
- members: {
- NetworkId: { location: "uri", locationName: "networkId" },
- ProposalId: { location: "uri", locationName: "proposalId" },
- VoterMemberId: {},
- Vote: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S4: {
- type: "structure",
- required: ["Name", "FrameworkConfiguration"],
- members: {
- Name: {},
- Description: {},
- FrameworkConfiguration: {
- type: "structure",
- members: {
- Fabric: {
- type: "structure",
- required: ["AdminUsername", "AdminPassword"],
- members: {
- AdminUsername: {},
- AdminPassword: { type: "string", sensitive: true },
- },
- },
- },
- },
- LogPublishingConfiguration: { shape: "Sb" },
- },
- },
- Sb: {
- type: "structure",
- members: {
- Fabric: {
- type: "structure",
- members: { CaLogs: { shape: "Sd" } },
- },
- },
- },
- Sd: {
- type: "structure",
- members: {
- Cloudwatch: {
- type: "structure",
- members: { Enabled: { type: "boolean" } },
- },
- },
- },
- So: {
- type: "structure",
- members: {
- ApprovalThresholdPolicy: {
- type: "structure",
- members: {
- ThresholdPercentage: { type: "integer" },
- ProposalDurationInHours: { type: "integer" },
- ThresholdComparator: {},
- },
- },
- },
- },
- Sy: {
- type: "structure",
- members: {
- Fabric: {
- type: "structure",
- members: {
- ChaincodeLogs: { shape: "Sd" },
- PeerLogs: { shape: "Sd" },
- },
- },
- },
- },
- S12: {
- type: "structure",
- members: {
- Invitations: {
- type: "list",
- member: {
- type: "structure",
- required: ["Principal"],
- members: { Principal: {} },
- },
- },
- Removals: {
- type: "list",
- member: {
- type: "structure",
- required: ["MemberId"],
- members: { MemberId: {} },
- },
- },
- },
- },
- S1k: { type: "timestamp", timestampFormat: "iso8601" },
- S29: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Description: {},
- Framework: {},
- FrameworkVersion: {},
- Status: {},
- CreationDate: { shape: "S1k" },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 3763: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 3768: /***/ function (module) {
- "use strict";
-
- module.exports = function (x) {
- var lf = typeof x === "string" ? "\n" : "\n".charCodeAt();
- var cr = typeof x === "string" ? "\r" : "\r".charCodeAt();
-
- if (x[x.length - 1] === lf) {
- x = x.slice(0, x.length - 1);
- }
-
- if (x[x.length - 1] === cr) {
- x = x.slice(0, x.length - 1);
- }
-
- return x;
- };
-
- /***/
- },
-
- /***/ 3773: /***/ function (module, __unusedexports, __webpack_require__) {
- var rng = __webpack_require__(1881);
- var bytesToUuid = __webpack_require__(2390);
-
- // **`v1()` - Generate time-based UUID**
- //
- // Inspired by https://github.com/LiosK/UUID.js
- // and http://docs.python.org/library/uuid.html
-
- var _nodeId;
- var _clockseq;
-
- // Previous uuid creation time
- var _lastMSecs = 0;
- var _lastNSecs = 0;
-
- // See https://github.com/broofa/node-uuid for API details
- function v1(options, buf, offset) {
- var i = (buf && offset) || 0;
- var b = buf || [];
-
- options = options || {};
- var node = options.node || _nodeId;
- var clockseq =
- options.clockseq !== undefined ? options.clockseq : _clockseq;
-
- // node and clockseq need to be initialized to random values if they're not
- // specified. We do this lazily to minimize issues related to insufficient
- // system entropy. See #189
- if (node == null || clockseq == null) {
- var seedBytes = rng();
- if (node == null) {
- // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
- node = _nodeId = [
- seedBytes[0] | 0x01,
- seedBytes[1],
- seedBytes[2],
- seedBytes[3],
- seedBytes[4],
- seedBytes[5],
- ];
- }
- if (clockseq == null) {
- // Per 4.2.2, randomize (14 bit) clockseq
- clockseq = _clockseq =
- ((seedBytes[6] << 8) | seedBytes[7]) & 0x3fff;
- }
- }
-
- // UUID timestamps are 100 nano-second units since the Gregorian epoch,
- // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
- // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
- // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
- var msecs =
- options.msecs !== undefined ? options.msecs : new Date().getTime();
-
- // Per 4.2.1.2, use count of uuid's generated during the current clock
- // cycle to simulate higher resolution clock
- var nsecs =
- options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;
-
- // Time since last uuid creation (in msecs)
- var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000;
-
- // Per 4.2.1.2, Bump clockseq on clock regression
- if (dt < 0 && options.clockseq === undefined) {
- clockseq = (clockseq + 1) & 0x3fff;
- }
-
- // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
- // time interval
- if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
- nsecs = 0;
- }
-
- // Per 4.2.1.2 Throw error if too many uuids are requested
- if (nsecs >= 10000) {
- throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
- }
-
- _lastMSecs = msecs;
- _lastNSecs = nsecs;
- _clockseq = clockseq;
-
- // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
- msecs += 12219292800000;
-
- // `time_low`
- var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
- b[i++] = (tl >>> 24) & 0xff;
- b[i++] = (tl >>> 16) & 0xff;
- b[i++] = (tl >>> 8) & 0xff;
- b[i++] = tl & 0xff;
-
- // `time_mid`
- var tmh = ((msecs / 0x100000000) * 10000) & 0xfffffff;
- b[i++] = (tmh >>> 8) & 0xff;
- b[i++] = tmh & 0xff;
-
- // `time_high_and_version`
- b[i++] = ((tmh >>> 24) & 0xf) | 0x10; // include version
- b[i++] = (tmh >>> 16) & 0xff;
-
- // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
- b[i++] = (clockseq >>> 8) | 0x80;
-
- // `clock_seq_low`
- b[i++] = clockseq & 0xff;
-
- // `node`
- for (var n = 0; n < 6; ++n) {
- b[i + n] = node[n];
- }
-
- return buf ? buf : bytesToUuid(b);
- }
-
- module.exports = v1;
-
- /***/
- },
-
- /***/ 3777: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = getFirstPage;
-
- const getPage = __webpack_require__(3265);
-
- function getFirstPage(octokit, link, headers) {
- return getPage(octokit, link, "first", headers);
- }
-
- /***/
- },
-
- /***/ 3788: /***/ function (module) {
- module.exports = {
- pagination: {
- GetComplianceSummary: {
- input_token: "PaginationToken",
- limit_key: "MaxResults",
- output_token: "PaginationToken",
- result_key: "SummaryList",
- },
- GetResources: {
- input_token: "PaginationToken",
- limit_key: "ResourcesPerPage",
- output_token: "PaginationToken",
- result_key: "ResourceTagMappingList",
- },
- GetTagKeys: {
- input_token: "PaginationToken",
- output_token: "PaginationToken",
- result_key: "TagKeys",
- },
- GetTagValues: {
- input_token: "PaginationToken",
- output_token: "PaginationToken",
- result_key: "TagValues",
- },
- },
- };
-
- /***/
- },
-
- /***/ 3801: /***/ function (module, __unusedexports, __webpack_require__) {
- // Generated by CoffeeScript 1.12.7
- (function () {
- var XMLDTDAttList,
- XMLNode,
- extend = function (child, parent) {
- for (var key in parent) {
- if (hasProp.call(parent, key)) child[key] = parent[key];
- }
- function ctor() {
- this.constructor = child;
- }
- ctor.prototype = parent.prototype;
- child.prototype = new ctor();
- child.__super__ = parent.prototype;
- return child;
- },
- hasProp = {}.hasOwnProperty;
-
- XMLNode = __webpack_require__(6855);
-
- module.exports = XMLDTDAttList = (function (superClass) {
- extend(XMLDTDAttList, superClass);
-
- function XMLDTDAttList(
- parent,
- elementName,
- attributeName,
- attributeType,
- defaultValueType,
- defaultValue
- ) {
- XMLDTDAttList.__super__.constructor.call(this, parent);
- if (elementName == null) {
- throw new Error("Missing DTD element name");
- }
- if (attributeName == null) {
- throw new Error("Missing DTD attribute name");
- }
- if (!attributeType) {
- throw new Error("Missing DTD attribute type");
- }
- if (!defaultValueType) {
- throw new Error("Missing DTD attribute default");
- }
- if (defaultValueType.indexOf("#") !== 0) {
- defaultValueType = "#" + defaultValueType;
- }
- if (
- !defaultValueType.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/)
- ) {
- throw new Error(
- "Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT"
- );
- }
- if (
- defaultValue &&
- !defaultValueType.match(/^(#FIXED|#DEFAULT)$/)
- ) {
- throw new Error(
- "Default value only applies to #FIXED or #DEFAULT"
- );
- }
- this.elementName = this.stringify.eleName(elementName);
- this.attributeName = this.stringify.attName(attributeName);
- this.attributeType = this.stringify.dtdAttType(attributeType);
- this.defaultValue = this.stringify.dtdAttDefault(defaultValue);
- this.defaultValueType = defaultValueType;
- }
-
- XMLDTDAttList.prototype.toString = function (options) {
- return this.options.writer.set(options).dtdAttList(this);
- };
-
- return XMLDTDAttList;
- })(XMLNode);
- }.call(this));
-
- /***/
- },
-
- /***/ 3814: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = which;
- which.sync = whichSync;
-
- var isWindows =
- process.platform === "win32" ||
- process.env.OSTYPE === "cygwin" ||
- process.env.OSTYPE === "msys";
-
- var path = __webpack_require__(5622);
- var COLON = isWindows ? ";" : ":";
- var isexe = __webpack_require__(8742);
-
- function getNotFoundError(cmd) {
- var er = new Error("not found: " + cmd);
- er.code = "ENOENT";
-
- return er;
- }
-
- function getPathInfo(cmd, opt) {
- var colon = opt.colon || COLON;
- var pathEnv = opt.path || process.env.PATH || "";
- var pathExt = [""];
-
- pathEnv = pathEnv.split(colon);
-
- var pathExtExe = "";
- if (isWindows) {
- pathEnv.unshift(process.cwd());
- pathExtExe =
- opt.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM";
- pathExt = pathExtExe.split(colon);
-
- // Always test the cmd itself first. isexe will check to make sure
- // it's found in the pathExt set.
- if (cmd.indexOf(".") !== -1 && pathExt[0] !== "") pathExt.unshift("");
- }
-
- // If it has a slash, then we don't bother searching the pathenv.
- // just check the file itself, and that's it.
- if (cmd.match(/\//) || (isWindows && cmd.match(/\\/))) pathEnv = [""];
-
- return {
- env: pathEnv,
- ext: pathExt,
- extExe: pathExtExe,
- };
- }
-
- function which(cmd, opt, cb) {
- if (typeof opt === "function") {
- cb = opt;
- opt = {};
- }
-
- var info = getPathInfo(cmd, opt);
- var pathEnv = info.env;
- var pathExt = info.ext;
- var pathExtExe = info.extExe;
- var found = [];
-
- (function F(i, l) {
- if (i === l) {
- if (opt.all && found.length) return cb(null, found);
- else return cb(getNotFoundError(cmd));
- }
-
- var pathPart = pathEnv[i];
- if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"')
- pathPart = pathPart.slice(1, -1);
-
- var p = path.join(pathPart, cmd);
- if (!pathPart && /^\.[\\\/]/.test(cmd)) {
- p = cmd.slice(0, 2) + p;
- }
- (function E(ii, ll) {
- if (ii === ll) return F(i + 1, l);
- var ext = pathExt[ii];
- isexe(p + ext, { pathExt: pathExtExe }, function (er, is) {
- if (!er && is) {
- if (opt.all) found.push(p + ext);
- else return cb(null, p + ext);
- }
- return E(ii + 1, ll);
- });
- })(0, pathExt.length);
- })(0, pathEnv.length);
- }
-
- function whichSync(cmd, opt) {
- opt = opt || {};
-
- var info = getPathInfo(cmd, opt);
- var pathEnv = info.env;
- var pathExt = info.ext;
- var pathExtExe = info.extExe;
- var found = [];
-
- for (var i = 0, l = pathEnv.length; i < l; i++) {
- var pathPart = pathEnv[i];
- if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"')
- pathPart = pathPart.slice(1, -1);
-
- var p = path.join(pathPart, cmd);
- if (!pathPart && /^\.[\\\/]/.test(cmd)) {
- p = cmd.slice(0, 2) + p;
- }
- for (var j = 0, ll = pathExt.length; j < ll; j++) {
- var cur = p + pathExt[j];
- var is;
- try {
- is = isexe.sync(cur, { pathExt: pathExtExe });
- if (is) {
- if (opt.all) found.push(cur);
- else return cur;
- }
- } catch (ex) {}
- }
- }
-
- if (opt.all && found.length) return found;
-
- if (opt.nothrow) return null;
-
- throw getNotFoundError(cmd);
- }
-
- /***/
- },
-
- /***/ 3815: /***/ function (module, __unusedexports, __webpack_require__) {
- var util = __webpack_require__(395).util;
- var typeOf = __webpack_require__(8194).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;
-
- /***/
- },
-
- /***/ 3824: /***/ function (module) {
- module.exports = {
- pagination: {
- ListMedicalTranscriptionJobs: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListTranscriptionJobs: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListVocabularies: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListVocabularyFilters: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 3853: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(7913);
- model.paginators = __webpack_require__(4409).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.CodeStarNotifications;
-
- /***/
- },
-
- /***/ 3861: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
- var resolveRegionalEndpointsFlag = __webpack_require__(6232);
- var ENV_REGIONAL_ENDPOINT_ENABLED = "AWS_STS_REGIONAL_ENDPOINTS";
- var CONFIG_REGIONAL_ENDPOINT_ENABLED = "sts_regional_endpoints";
-
- AWS.util.update(AWS.STS.prototype, {
- /**
- * @overload credentialsFrom(data, credentials = null)
- * Creates a credentials object from STS response data containing
- * credentials information. Useful for quickly setting AWS credentials.
- *
- * @note This is a low-level utility function. If you want to load temporary
- * credentials into your process for subsequent requests to AWS resources,
- * you should use {AWS.TemporaryCredentials} instead.
- * @param data [map] data retrieved from a call to {getFederatedToken},
- * {getSessionToken}, {assumeRole}, or {assumeRoleWithWebIdentity}.
- * @param credentials [AWS.Credentials] an optional credentials object to
- * fill instead of creating a new object. Useful when modifying an
- * existing credentials object from a refresh call.
- * @return [AWS.TemporaryCredentials] the set of temporary credentials
- * loaded from a raw STS operation response.
- * @example Using credentialsFrom to load global AWS credentials
- * var sts = new AWS.STS();
- * sts.getSessionToken(function (err, data) {
- * if (err) console.log("Error getting credentials");
- * else {
- * AWS.config.credentials = sts.credentialsFrom(data);
- * }
- * });
- * @see AWS.TemporaryCredentials
- */
- credentialsFrom: function credentialsFrom(data, credentials) {
- if (!data) return null;
- if (!credentials) credentials = new AWS.TemporaryCredentials();
- credentials.expired = false;
- credentials.accessKeyId = data.Credentials.AccessKeyId;
- credentials.secretAccessKey = data.Credentials.SecretAccessKey;
- credentials.sessionToken = data.Credentials.SessionToken;
- credentials.expireTime = data.Credentials.Expiration;
- return credentials;
- },
-
- assumeRoleWithWebIdentity: function assumeRoleWithWebIdentity(
- params,
- callback
- ) {
- return this.makeUnauthenticatedRequest(
- "assumeRoleWithWebIdentity",
- params,
- callback
- );
- },
-
- assumeRoleWithSAML: function assumeRoleWithSAML(params, callback) {
- return this.makeUnauthenticatedRequest(
- "assumeRoleWithSAML",
- params,
- callback
- );
- },
-
- /**
- * @api private
- */
- setupRequestListeners: function setupRequestListeners(request) {
- request.addListener("validate", this.optInRegionalEndpoint, true);
- },
-
- /**
- * @api private
- */
- optInRegionalEndpoint: function optInRegionalEndpoint(req) {
- var service = req.service;
- var config = service.config;
- config.stsRegionalEndpoints = resolveRegionalEndpointsFlag(
- service._originalConfig,
- {
- env: ENV_REGIONAL_ENDPOINT_ENABLED,
- sharedConfig: CONFIG_REGIONAL_ENDPOINT_ENABLED,
- clientConfig: "stsRegionalEndpoints",
- }
- );
- if (
- config.stsRegionalEndpoints === "regional" &&
- service.isGlobalEndpoint
- ) {
- //client will throw if region is not supplied; request will be signed with specified region
- if (!config.region) {
- throw AWS.util.error(new Error(), {
- code: "ConfigError",
- message: "Missing region in config",
- });
- }
- var insertPoint = config.endpoint.indexOf(".amazonaws.com");
- var regionalEndpoint =
- config.endpoint.substring(0, insertPoint) +
- "." +
- config.region +
- config.endpoint.substring(insertPoint);
- req.httpRequest.updateEndpoint(regionalEndpoint);
- req.httpRequest.region = config.region;
- }
- },
- });
-
- /***/
- },
-
- /***/ 3862: /***/ function (module, __unusedexports, __webpack_require__) {
- var util = __webpack_require__(395).util;
- var Transform = __webpack_require__(2413).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,
- };
-
- /***/
- },
-
- /***/ 3877: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(6925);
- Object.defineProperty(apiLoader.services["ec2"], "2016-11-15", {
- get: function get() {
- var model = __webpack_require__(9206);
- model.paginators = __webpack_require__(47).pagination;
- model.waiters = __webpack_require__(1511).waiters;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.EC2;
-
- /***/
- },
-
- /***/ 3881: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2019-06-10",
- endpointPrefix: "portal.sso",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceAbbreviation: "SSO",
- serviceFullName: "AWS Single Sign-On",
- serviceId: "SSO",
- signatureVersion: "v4",
- signingName: "awsssoportal",
- uid: "sso-2019-06-10",
- },
- operations: {
- GetRoleCredentials: {
- http: { method: "GET", requestUri: "/federation/credentials" },
- input: {
- type: "structure",
- required: ["roleName", "accountId", "accessToken"],
- members: {
- roleName: {
- location: "querystring",
- locationName: "role_name",
- },
- accountId: {
- location: "querystring",
- locationName: "account_id",
- },
- accessToken: {
- shape: "S4",
- location: "header",
- locationName: "x-amz-sso_bearer_token",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- roleCredentials: {
- type: "structure",
- members: {
- accessKeyId: {},
- secretAccessKey: { type: "string", sensitive: true },
- sessionToken: { type: "string", sensitive: true },
- expiration: { type: "long" },
- },
- },
- },
- },
- authtype: "none",
- },
- ListAccountRoles: {
- http: { method: "GET", requestUri: "/assignment/roles" },
- input: {
- type: "structure",
- required: ["accessToken", "accountId"],
- members: {
- nextToken: {
- location: "querystring",
- locationName: "next_token",
- },
- maxResults: {
- location: "querystring",
- locationName: "max_result",
- type: "integer",
- },
- accessToken: {
- shape: "S4",
- location: "header",
- locationName: "x-amz-sso_bearer_token",
- },
- accountId: {
- location: "querystring",
- locationName: "account_id",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- nextToken: {},
- roleList: {
- type: "list",
- member: {
- type: "structure",
- members: { roleName: {}, accountId: {} },
- },
- },
- },
- },
- authtype: "none",
- },
- ListAccounts: {
- http: { method: "GET", requestUri: "/assignment/accounts" },
- input: {
- type: "structure",
- required: ["accessToken"],
- members: {
- nextToken: {
- location: "querystring",
- locationName: "next_token",
- },
- maxResults: {
- location: "querystring",
- locationName: "max_result",
- type: "integer",
- },
- accessToken: {
- shape: "S4",
- location: "header",
- locationName: "x-amz-sso_bearer_token",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- nextToken: {},
- accountList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- accountId: {},
- accountName: {},
- emailAddress: {},
- },
- },
- },
- },
- },
- authtype: "none",
- },
- Logout: {
- http: { requestUri: "/logout" },
- input: {
- type: "structure",
- required: ["accessToken"],
- members: {
- accessToken: {
- shape: "S4",
- location: "header",
- locationName: "x-amz-sso_bearer_token",
- },
- },
- },
- authtype: "none",
- },
- },
- shapes: { S4: { type: "string", sensitive: true } },
- };
-
- /***/
- },
-
- /***/ 3889: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeApplicationVersions: { result_key: "ApplicationVersions" },
- DescribeApplications: { result_key: "Applications" },
- DescribeConfigurationOptions: { result_key: "Options" },
- DescribeEnvironments: { result_key: "Environments" },
- DescribeEvents: {
- input_token: "NextToken",
- limit_key: "MaxRecords",
- output_token: "NextToken",
- result_key: "Events",
- },
- ListAvailableSolutionStacks: { result_key: "SolutionStacks" },
- ListPlatformBranches: {
- input_token: "NextToken",
- limit_key: "MaxRecords",
- output_token: "NextToken",
- },
- },
- };
-
- /***/
- },
-
- /***/ 3916: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeDBEngineVersions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBEngineVersions",
- },
- DescribeDBInstances: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBInstances",
- },
- DescribeDBParameterGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBParameterGroups",
- },
- DescribeDBParameters: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "Parameters",
- },
- DescribeDBSubnetGroups: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "DBSubnetGroups",
- },
- DescribeEngineDefaultParameters: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "EngineDefaults.Marker",
- result_key: "EngineDefaults.Parameters",
- },
- DescribeEventSubscriptions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "EventSubscriptionsList",
- },
- DescribeEvents: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "Events",
- },
- DescribeOrderableDBInstanceOptions: {
- input_token: "Marker",
- limit_key: "MaxRecords",
- output_token: "Marker",
- result_key: "OrderableDBInstanceOptions",
- },
- ListTagsForResource: { result_key: "TagList" },
- },
- };
-
- /***/
- },
-
- /***/ 3929: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = hasNextPage;
-
- const deprecate = __webpack_require__(6370);
- const getPageLinks = __webpack_require__(4577);
-
- function hasNextPage(link) {
- deprecate(
- `octokit.hasNextPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`
- );
- return getPageLinks(link).next;
- }
-
- /***/
- },
-
- /***/ 3964: /***/ function (module, __unusedexports, __webpack_require__) {
- var Shape = __webpack_require__(3682);
-
- var util = __webpack_require__(153);
- 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"
- );
-
- 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;
-
- /***/
- },
-
- /***/ 3977: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
-
- /**
- * @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) {
- 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 {
- 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"
- );
- },
- });
-
- /***/
- },
-
- /***/ 3985: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2010-03-31",
- endpointPrefix: "sns",
- protocol: "query",
- serviceAbbreviation: "Amazon SNS",
- serviceFullName: "Amazon Simple Notification Service",
- serviceId: "SNS",
- signatureVersion: "v4",
- uid: "sns-2010-03-31",
- xmlNamespace: "http://sns.amazonaws.com/doc/2010-03-31/",
- },
- operations: {
- AddPermission: {
- input: {
- type: "structure",
- required: ["TopicArn", "Label", "AWSAccountId", "ActionName"],
- members: {
- TopicArn: {},
- Label: {},
- AWSAccountId: { type: "list", member: {} },
- ActionName: { type: "list", member: {} },
- },
- },
- },
- CheckIfPhoneNumberIsOptedOut: {
- input: {
- type: "structure",
- required: ["phoneNumber"],
- members: { phoneNumber: {} },
- },
- output: {
- resultWrapper: "CheckIfPhoneNumberIsOptedOutResult",
- type: "structure",
- members: { isOptedOut: { type: "boolean" } },
- },
- },
- ConfirmSubscription: {
- input: {
- type: "structure",
- required: ["TopicArn", "Token"],
- members: {
- TopicArn: {},
- Token: {},
- AuthenticateOnUnsubscribe: {},
- },
- },
- output: {
- resultWrapper: "ConfirmSubscriptionResult",
- type: "structure",
- members: { SubscriptionArn: {} },
- },
- },
- CreatePlatformApplication: {
- input: {
- type: "structure",
- required: ["Name", "Platform", "Attributes"],
- members: { Name: {}, Platform: {}, Attributes: { shape: "Sj" } },
- },
- output: {
- resultWrapper: "CreatePlatformApplicationResult",
- type: "structure",
- members: { PlatformApplicationArn: {} },
- },
- },
- CreatePlatformEndpoint: {
- input: {
- type: "structure",
- required: ["PlatformApplicationArn", "Token"],
- members: {
- PlatformApplicationArn: {},
- Token: {},
- CustomUserData: {},
- Attributes: { shape: "Sj" },
- },
- },
- output: {
- resultWrapper: "CreatePlatformEndpointResult",
- type: "structure",
- members: { EndpointArn: {} },
- },
- },
- CreateTopic: {
- input: {
- type: "structure",
- required: ["Name"],
- members: {
- Name: {},
- Attributes: { shape: "Sp" },
- Tags: { shape: "Ss" },
- },
- },
- output: {
- resultWrapper: "CreateTopicResult",
- type: "structure",
- members: { TopicArn: {} },
- },
- },
- DeleteEndpoint: {
- input: {
- type: "structure",
- required: ["EndpointArn"],
- members: { EndpointArn: {} },
- },
- },
- DeletePlatformApplication: {
- input: {
- type: "structure",
- required: ["PlatformApplicationArn"],
- members: { PlatformApplicationArn: {} },
- },
- },
- DeleteTopic: {
- input: {
- type: "structure",
- required: ["TopicArn"],
- members: { TopicArn: {} },
- },
- },
- GetEndpointAttributes: {
- input: {
- type: "structure",
- required: ["EndpointArn"],
- members: { EndpointArn: {} },
- },
- output: {
- resultWrapper: "GetEndpointAttributesResult",
- type: "structure",
- members: { Attributes: { shape: "Sj" } },
- },
- },
- GetPlatformApplicationAttributes: {
- input: {
- type: "structure",
- required: ["PlatformApplicationArn"],
- members: { PlatformApplicationArn: {} },
- },
- output: {
- resultWrapper: "GetPlatformApplicationAttributesResult",
- type: "structure",
- members: { Attributes: { shape: "Sj" } },
- },
- },
- GetSMSAttributes: {
- input: {
- type: "structure",
- members: { attributes: { type: "list", member: {} } },
- },
- output: {
- resultWrapper: "GetSMSAttributesResult",
- type: "structure",
- members: { attributes: { shape: "Sj" } },
- },
- },
- GetSubscriptionAttributes: {
- input: {
- type: "structure",
- required: ["SubscriptionArn"],
- members: { SubscriptionArn: {} },
- },
- output: {
- resultWrapper: "GetSubscriptionAttributesResult",
- type: "structure",
- members: { Attributes: { shape: "S19" } },
- },
- },
- GetTopicAttributes: {
- input: {
- type: "structure",
- required: ["TopicArn"],
- members: { TopicArn: {} },
- },
- output: {
- resultWrapper: "GetTopicAttributesResult",
- type: "structure",
- members: { Attributes: { shape: "Sp" } },
- },
- },
- ListEndpointsByPlatformApplication: {
- input: {
- type: "structure",
- required: ["PlatformApplicationArn"],
- members: { PlatformApplicationArn: {}, NextToken: {} },
- },
- output: {
- resultWrapper: "ListEndpointsByPlatformApplicationResult",
- type: "structure",
- members: {
- Endpoints: {
- type: "list",
- member: {
- type: "structure",
- members: { EndpointArn: {}, Attributes: { shape: "Sj" } },
- },
- },
- NextToken: {},
- },
- },
- },
- ListPhoneNumbersOptedOut: {
- input: { type: "structure", members: { nextToken: {} } },
- output: {
- resultWrapper: "ListPhoneNumbersOptedOutResult",
- type: "structure",
- members: {
- phoneNumbers: { type: "list", member: {} },
- nextToken: {},
- },
- },
- },
- ListPlatformApplications: {
- input: { type: "structure", members: { NextToken: {} } },
- output: {
- resultWrapper: "ListPlatformApplicationsResult",
- type: "structure",
- members: {
- PlatformApplications: {
- type: "list",
- member: {
- type: "structure",
- members: {
- PlatformApplicationArn: {},
- Attributes: { shape: "Sj" },
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListSubscriptions: {
- input: { type: "structure", members: { NextToken: {} } },
- output: {
- resultWrapper: "ListSubscriptionsResult",
- type: "structure",
- members: { Subscriptions: { shape: "S1r" }, NextToken: {} },
- },
- },
- ListSubscriptionsByTopic: {
- input: {
- type: "structure",
- required: ["TopicArn"],
- members: { TopicArn: {}, NextToken: {} },
- },
- output: {
- resultWrapper: "ListSubscriptionsByTopicResult",
- type: "structure",
- members: { Subscriptions: { shape: "S1r" }, NextToken: {} },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: { ResourceArn: {} },
- },
- output: {
- resultWrapper: "ListTagsForResourceResult",
- type: "structure",
- members: { Tags: { shape: "Ss" } },
- },
- },
- ListTopics: {
- input: { type: "structure", members: { NextToken: {} } },
- output: {
- resultWrapper: "ListTopicsResult",
- type: "structure",
- members: {
- Topics: {
- type: "list",
- member: { type: "structure", members: { TopicArn: {} } },
- },
- NextToken: {},
- },
- },
- },
- OptInPhoneNumber: {
- input: {
- type: "structure",
- required: ["phoneNumber"],
- members: { phoneNumber: {} },
- },
- output: {
- resultWrapper: "OptInPhoneNumberResult",
- type: "structure",
- members: {},
- },
- },
- Publish: {
- input: {
- type: "structure",
- required: ["Message"],
- members: {
- TopicArn: {},
- TargetArn: {},
- PhoneNumber: {},
- Message: {},
- Subject: {},
- MessageStructure: {},
- MessageAttributes: {
- type: "map",
- key: { locationName: "Name" },
- value: {
- locationName: "Value",
- type: "structure",
- required: ["DataType"],
- members: {
- DataType: {},
- StringValue: {},
- BinaryValue: { type: "blob" },
- },
- },
- },
- },
- },
- output: {
- resultWrapper: "PublishResult",
- type: "structure",
- members: { MessageId: {} },
- },
- },
- RemovePermission: {
- input: {
- type: "structure",
- required: ["TopicArn", "Label"],
- members: { TopicArn: {}, Label: {} },
- },
- },
- SetEndpointAttributes: {
- input: {
- type: "structure",
- required: ["EndpointArn", "Attributes"],
- members: { EndpointArn: {}, Attributes: { shape: "Sj" } },
- },
- },
- SetPlatformApplicationAttributes: {
- input: {
- type: "structure",
- required: ["PlatformApplicationArn", "Attributes"],
- members: {
- PlatformApplicationArn: {},
- Attributes: { shape: "Sj" },
- },
- },
- },
- SetSMSAttributes: {
- input: {
- type: "structure",
- required: ["attributes"],
- members: { attributes: { shape: "Sj" } },
- },
- output: {
- resultWrapper: "SetSMSAttributesResult",
- type: "structure",
- members: {},
- },
- },
- SetSubscriptionAttributes: {
- input: {
- type: "structure",
- required: ["SubscriptionArn", "AttributeName"],
- members: {
- SubscriptionArn: {},
- AttributeName: {},
- AttributeValue: {},
- },
- },
- },
- SetTopicAttributes: {
- input: {
- type: "structure",
- required: ["TopicArn", "AttributeName"],
- members: { TopicArn: {}, AttributeName: {}, AttributeValue: {} },
- },
- },
- Subscribe: {
- input: {
- type: "structure",
- required: ["TopicArn", "Protocol"],
- members: {
- TopicArn: {},
- Protocol: {},
- Endpoint: {},
- Attributes: { shape: "S19" },
- ReturnSubscriptionArn: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "SubscribeResult",
- type: "structure",
- members: { SubscriptionArn: {} },
- },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "Tags"],
- members: { ResourceArn: {}, Tags: { shape: "Ss" } },
- },
- output: {
- resultWrapper: "TagResourceResult",
- type: "structure",
- members: {},
- },
- },
- Unsubscribe: {
- input: {
- type: "structure",
- required: ["SubscriptionArn"],
- members: { SubscriptionArn: {} },
- },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "TagKeys"],
- members: {
- ResourceArn: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: {
- resultWrapper: "UntagResourceResult",
- type: "structure",
- members: {},
- },
- },
- },
- shapes: {
- Sj: { type: "map", key: {}, value: {} },
- Sp: { type: "map", key: {}, value: {} },
- Ss: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- S19: { type: "map", key: {}, value: {} },
- S1r: {
- type: "list",
- member: {
- type: "structure",
- members: {
- SubscriptionArn: {},
- Owner: {},
- Protocol: {},
- Endpoint: {},
- TopicArn: {},
- },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 3989: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(2760);
- model.paginators = __webpack_require__(5437).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Pricing;
-
- /***/
- },
-
- /***/ 3992: /***/ function (__unusedmodule, exports, __webpack_require__) {
- // Generated by CoffeeScript 1.12.7
- (function () {
- "use strict";
- var builder,
- defaults,
- parser,
- processors,
- extend = function (child, parent) {
- for (var key in parent) {
- if (hasProp.call(parent, key)) child[key] = parent[key];
- }
- function ctor() {
- this.constructor = child;
- }
- ctor.prototype = parent.prototype;
- child.prototype = new ctor();
- child.__super__ = parent.prototype;
- return child;
- },
- hasProp = {}.hasOwnProperty;
-
- defaults = __webpack_require__(1514);
-
- builder = __webpack_require__(2476);
-
- parser = __webpack_require__(1885);
-
- processors = __webpack_require__(5350);
-
- exports.defaults = defaults.defaults;
-
- exports.processors = processors;
-
- exports.ValidationError = (function (superClass) {
- extend(ValidationError, superClass);
-
- function ValidationError(message) {
- this.message = message;
- }
-
- return ValidationError;
- })(Error);
-
- exports.Builder = builder.Builder;
-
- exports.Parser = parser.Parser;
-
- exports.parseString = parser.parseString;
- }.call(this));
-
- /***/
- },
-
- /***/ 3998: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeActionTargets: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- DescribeProducts: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- DescribeStandards: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- DescribeStandardsControls: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- GetEnabledStandards: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- GetFindings: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- GetInsights: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListEnabledProductsForImport: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListInvitations: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListMembers: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 4008: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2015-12-10",
- endpointPrefix: "servicecatalog",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "AWS Service Catalog",
- serviceId: "Service Catalog",
- signatureVersion: "v4",
- targetPrefix: "AWS242ServiceCatalogService",
- uid: "servicecatalog-2015-12-10",
- },
- operations: {
- AcceptPortfolioShare: {
- input: {
- type: "structure",
- required: ["PortfolioId"],
- members: {
- AcceptLanguage: {},
- PortfolioId: {},
- PortfolioShareType: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- AssociateBudgetWithResource: {
- input: {
- type: "structure",
- required: ["BudgetName", "ResourceId"],
- members: { BudgetName: {}, ResourceId: {} },
- },
- output: { type: "structure", members: {} },
- },
- AssociatePrincipalWithPortfolio: {
- input: {
- type: "structure",
- required: ["PortfolioId", "PrincipalARN", "PrincipalType"],
- members: {
- AcceptLanguage: {},
- PortfolioId: {},
- PrincipalARN: {},
- PrincipalType: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- AssociateProductWithPortfolio: {
- input: {
- type: "structure",
- required: ["ProductId", "PortfolioId"],
- members: {
- AcceptLanguage: {},
- ProductId: {},
- PortfolioId: {},
- SourcePortfolioId: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- AssociateServiceActionWithProvisioningArtifact: {
- input: {
- type: "structure",
- required: [
- "ProductId",
- "ProvisioningArtifactId",
- "ServiceActionId",
- ],
- members: {
- ProductId: {},
- ProvisioningArtifactId: {},
- ServiceActionId: {},
- AcceptLanguage: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- AssociateTagOptionWithResource: {
- input: {
- type: "structure",
- required: ["ResourceId", "TagOptionId"],
- members: { ResourceId: {}, TagOptionId: {} },
- },
- output: { type: "structure", members: {} },
- },
- BatchAssociateServiceActionWithProvisioningArtifact: {
- input: {
- type: "structure",
- required: ["ServiceActionAssociations"],
- members: {
- ServiceActionAssociations: { shape: "Sm" },
- AcceptLanguage: {},
- },
- },
- output: {
- type: "structure",
- members: { FailedServiceActionAssociations: { shape: "Sp" } },
- },
- },
- BatchDisassociateServiceActionFromProvisioningArtifact: {
- input: {
- type: "structure",
- required: ["ServiceActionAssociations"],
- members: {
- ServiceActionAssociations: { shape: "Sm" },
- AcceptLanguage: {},
- },
- },
- output: {
- type: "structure",
- members: { FailedServiceActionAssociations: { shape: "Sp" } },
- },
- },
- CopyProduct: {
- input: {
- type: "structure",
- required: ["SourceProductArn", "IdempotencyToken"],
- members: {
- AcceptLanguage: {},
- SourceProductArn: {},
- TargetProductId: {},
- TargetProductName: {},
- SourceProvisioningArtifactIdentifiers: {
- type: "list",
- member: { type: "map", key: {}, value: {} },
- },
- CopyOptions: { type: "list", member: {} },
- IdempotencyToken: { idempotencyToken: true },
- },
- },
- output: { type: "structure", members: { CopyProductToken: {} } },
- },
- CreateConstraint: {
- input: {
- type: "structure",
- required: [
- "PortfolioId",
- "ProductId",
- "Parameters",
- "Type",
- "IdempotencyToken",
- ],
- members: {
- AcceptLanguage: {},
- PortfolioId: {},
- ProductId: {},
- Parameters: {},
- Type: {},
- Description: {},
- IdempotencyToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- ConstraintDetail: { shape: "S1b" },
- ConstraintParameters: {},
- Status: {},
- },
- },
- },
- CreatePortfolio: {
- input: {
- type: "structure",
- required: ["DisplayName", "ProviderName", "IdempotencyToken"],
- members: {
- AcceptLanguage: {},
- DisplayName: {},
- Description: {},
- ProviderName: {},
- Tags: { shape: "S1i" },
- IdempotencyToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- PortfolioDetail: { shape: "S1n" },
- Tags: { shape: "S1q" },
- },
- },
- },
- CreatePortfolioShare: {
- input: {
- type: "structure",
- required: ["PortfolioId"],
- members: {
- AcceptLanguage: {},
- PortfolioId: {},
- AccountId: {},
- OrganizationNode: { shape: "S1s" },
- },
- },
- output: { type: "structure", members: { PortfolioShareToken: {} } },
- },
- CreateProduct: {
- input: {
- type: "structure",
- required: [
- "Name",
- "Owner",
- "ProductType",
- "ProvisioningArtifactParameters",
- "IdempotencyToken",
- ],
- members: {
- AcceptLanguage: {},
- Name: {},
- Owner: {},
- Description: {},
- Distributor: {},
- SupportDescription: {},
- SupportEmail: {},
- SupportUrl: {},
- ProductType: {},
- Tags: { shape: "S1i" },
- ProvisioningArtifactParameters: { shape: "S23" },
- IdempotencyToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- ProductViewDetail: { shape: "S2c" },
- ProvisioningArtifactDetail: { shape: "S2h" },
- Tags: { shape: "S1q" },
- },
- },
- },
- CreateProvisionedProductPlan: {
- input: {
- type: "structure",
- required: [
- "PlanName",
- "PlanType",
- "ProductId",
- "ProvisionedProductName",
- "ProvisioningArtifactId",
- "IdempotencyToken",
- ],
- members: {
- AcceptLanguage: {},
- PlanName: {},
- PlanType: {},
- NotificationArns: { shape: "S2n" },
- PathId: {},
- ProductId: {},
- ProvisionedProductName: {},
- ProvisioningArtifactId: {},
- ProvisioningParameters: { shape: "S2q" },
- IdempotencyToken: { idempotencyToken: true },
- Tags: { shape: "S1q" },
- },
- },
- output: {
- type: "structure",
- members: {
- PlanName: {},
- PlanId: {},
- ProvisionProductId: {},
- ProvisionedProductName: {},
- ProvisioningArtifactId: {},
- },
- },
- },
- CreateProvisioningArtifact: {
- input: {
- type: "structure",
- required: ["ProductId", "Parameters", "IdempotencyToken"],
- members: {
- AcceptLanguage: {},
- ProductId: {},
- Parameters: { shape: "S23" },
- IdempotencyToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- ProvisioningArtifactDetail: { shape: "S2h" },
- Info: { shape: "S26" },
- Status: {},
- },
- },
- },
- CreateServiceAction: {
- input: {
- type: "structure",
- required: [
- "Name",
- "DefinitionType",
- "Definition",
- "IdempotencyToken",
- ],
- members: {
- Name: {},
- DefinitionType: {},
- Definition: { shape: "S31" },
- Description: {},
- AcceptLanguage: {},
- IdempotencyToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { ServiceActionDetail: { shape: "S36" } },
- },
- },
- CreateTagOption: {
- input: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- output: {
- type: "structure",
- members: { TagOptionDetail: { shape: "S3c" } },
- },
- },
- DeleteConstraint: {
- input: {
- type: "structure",
- required: ["Id"],
- members: { AcceptLanguage: {}, Id: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeletePortfolio: {
- input: {
- type: "structure",
- required: ["Id"],
- members: { AcceptLanguage: {}, Id: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeletePortfolioShare: {
- input: {
- type: "structure",
- required: ["PortfolioId"],
- members: {
- AcceptLanguage: {},
- PortfolioId: {},
- AccountId: {},
- OrganizationNode: { shape: "S1s" },
- },
- },
- output: { type: "structure", members: { PortfolioShareToken: {} } },
- },
- DeleteProduct: {
- input: {
- type: "structure",
- required: ["Id"],
- members: { AcceptLanguage: {}, Id: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteProvisionedProductPlan: {
- input: {
- type: "structure",
- required: ["PlanId"],
- members: {
- AcceptLanguage: {},
- PlanId: {},
- IgnoreErrors: { type: "boolean" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteProvisioningArtifact: {
- input: {
- type: "structure",
- required: ["ProductId", "ProvisioningArtifactId"],
- members: {
- AcceptLanguage: {},
- ProductId: {},
- ProvisioningArtifactId: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteServiceAction: {
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: {}, AcceptLanguage: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteTagOption: {
- input: { type: "structure", required: ["Id"], members: { Id: {} } },
- output: { type: "structure", members: {} },
- },
- DescribeConstraint: {
- input: {
- type: "structure",
- required: ["Id"],
- members: { AcceptLanguage: {}, Id: {} },
- },
- output: {
- type: "structure",
- members: {
- ConstraintDetail: { shape: "S1b" },
- ConstraintParameters: {},
- Status: {},
- },
- },
- },
- DescribeCopyProductStatus: {
- input: {
- type: "structure",
- required: ["CopyProductToken"],
- members: { AcceptLanguage: {}, CopyProductToken: {} },
- },
- output: {
- type: "structure",
- members: {
- CopyProductStatus: {},
- TargetProductId: {},
- StatusDetail: {},
- },
- },
- },
- DescribePortfolio: {
- input: {
- type: "structure",
- required: ["Id"],
- members: { AcceptLanguage: {}, Id: {} },
- },
- output: {
- type: "structure",
- members: {
- PortfolioDetail: { shape: "S1n" },
- Tags: { shape: "S1q" },
- TagOptions: { shape: "S43" },
- Budgets: { shape: "S44" },
- },
- },
- },
- DescribePortfolioShareStatus: {
- input: {
- type: "structure",
- required: ["PortfolioShareToken"],
- members: { PortfolioShareToken: {} },
- },
- output: {
- type: "structure",
- members: {
- PortfolioShareToken: {},
- PortfolioId: {},
- OrganizationNodeValue: {},
- Status: {},
- ShareDetails: {
- type: "structure",
- members: {
- SuccessfulShares: { type: "list", member: {} },
- ShareErrors: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Accounts: { type: "list", member: {} },
- Message: {},
- Error: {},
- },
- },
- },
- },
- },
- },
- },
- },
- DescribeProduct: {
- input: {
- type: "structure",
- required: ["Id"],
- members: { AcceptLanguage: {}, Id: {} },
- },
- output: {
- type: "structure",
- members: {
- ProductViewSummary: { shape: "S2d" },
- ProvisioningArtifacts: { shape: "S4i" },
- Budgets: { shape: "S44" },
- },
- },
- },
- DescribeProductAsAdmin: {
- input: {
- type: "structure",
- required: ["Id"],
- members: { AcceptLanguage: {}, Id: {} },
- },
- output: {
- type: "structure",
- members: {
- ProductViewDetail: { shape: "S2c" },
- ProvisioningArtifactSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Description: {},
- CreatedTime: { type: "timestamp" },
- ProvisioningArtifactMetadata: { shape: "S26" },
- },
- },
- },
- Tags: { shape: "S1q" },
- TagOptions: { shape: "S43" },
- Budgets: { shape: "S44" },
- },
- },
- },
- DescribeProductView: {
- input: {
- type: "structure",
- required: ["Id"],
- members: { AcceptLanguage: {}, Id: {} },
- },
- output: {
- type: "structure",
- members: {
- ProductViewSummary: { shape: "S2d" },
- ProvisioningArtifacts: { shape: "S4i" },
- },
- },
- },
- DescribeProvisionedProduct: {
- input: {
- type: "structure",
- required: ["Id"],
- members: { AcceptLanguage: {}, Id: {} },
- },
- output: {
- type: "structure",
- members: {
- ProvisionedProductDetail: { shape: "S4t" },
- CloudWatchDashboards: {
- type: "list",
- member: { type: "structure", members: { Name: {} } },
- },
- },
- },
- },
- DescribeProvisionedProductPlan: {
- input: {
- type: "structure",
- required: ["PlanId"],
- members: {
- AcceptLanguage: {},
- PlanId: {},
- PageSize: { type: "integer" },
- PageToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ProvisionedProductPlanDetails: {
- type: "structure",
- members: {
- CreatedTime: { type: "timestamp" },
- PathId: {},
- ProductId: {},
- PlanName: {},
- PlanId: {},
- ProvisionProductId: {},
- ProvisionProductName: {},
- PlanType: {},
- ProvisioningArtifactId: {},
- Status: {},
- UpdatedTime: { type: "timestamp" },
- NotificationArns: { shape: "S2n" },
- ProvisioningParameters: { shape: "S2q" },
- Tags: { shape: "S1q" },
- StatusMessage: {},
- },
- },
- ResourceChanges: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Action: {},
- LogicalResourceId: {},
- PhysicalResourceId: {},
- ResourceType: {},
- Replacement: {},
- Scope: { type: "list", member: {} },
- Details: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Target: {
- type: "structure",
- members: {
- Attribute: {},
- Name: {},
- RequiresRecreation: {},
- },
- },
- Evaluation: {},
- CausingEntity: {},
- },
- },
- },
- },
- },
- },
- NextPageToken: {},
- },
- },
- },
- DescribeProvisioningArtifact: {
- input: {
- type: "structure",
- required: ["ProvisioningArtifactId", "ProductId"],
- members: {
- AcceptLanguage: {},
- ProvisioningArtifactId: {},
- ProductId: {},
- Verbose: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- ProvisioningArtifactDetail: { shape: "S2h" },
- Info: { shape: "S26" },
- Status: {},
- },
- },
- },
- DescribeProvisioningParameters: {
- input: {
- type: "structure",
- required: ["ProductId", "ProvisioningArtifactId"],
- members: {
- AcceptLanguage: {},
- ProductId: {},
- ProvisioningArtifactId: {},
- PathId: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ProvisioningArtifactParameters: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ParameterKey: {},
- DefaultValue: {},
- ParameterType: {},
- IsNoEcho: { type: "boolean" },
- Description: {},
- ParameterConstraints: {
- type: "structure",
- members: {
- AllowedValues: { type: "list", member: {} },
- },
- },
- },
- },
- },
- ConstraintSummaries: { shape: "S65" },
- UsageInstructions: {
- type: "list",
- member: {
- type: "structure",
- members: { Type: {}, Value: {} },
- },
- },
- TagOptions: {
- type: "list",
- member: {
- type: "structure",
- members: { Key: {}, Values: { type: "list", member: {} } },
- },
- },
- ProvisioningArtifactPreferences: {
- type: "structure",
- members: {
- StackSetAccounts: { shape: "S6f" },
- StackSetRegions: { shape: "S6g" },
- },
- },
- },
- },
- },
- DescribeRecord: {
- input: {
- type: "structure",
- required: ["Id"],
- members: {
- AcceptLanguage: {},
- Id: {},
- PageToken: {},
- PageSize: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- RecordDetail: { shape: "S6k" },
- RecordOutputs: {
- type: "list",
- member: {
- type: "structure",
- members: {
- OutputKey: {},
- OutputValue: {},
- Description: {},
- },
- },
- },
- NextPageToken: {},
- },
- },
- },
- DescribeServiceAction: {
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: {}, AcceptLanguage: {} },
- },
- output: {
- type: "structure",
- members: { ServiceActionDetail: { shape: "S36" } },
- },
- },
- DescribeServiceActionExecutionParameters: {
- input: {
- type: "structure",
- required: ["ProvisionedProductId", "ServiceActionId"],
- members: {
- ProvisionedProductId: {},
- ServiceActionId: {},
- AcceptLanguage: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ServiceActionParameters: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- Type: {},
- DefaultValues: { shape: "S77" },
- },
- },
- },
- },
- },
- },
- DescribeTagOption: {
- input: { type: "structure", required: ["Id"], members: { Id: {} } },
- output: {
- type: "structure",
- members: { TagOptionDetail: { shape: "S3c" } },
- },
- },
- DisableAWSOrganizationsAccess: {
- input: { type: "structure", members: {} },
- output: { type: "structure", members: {} },
- },
- DisassociateBudgetFromResource: {
- input: {
- type: "structure",
- required: ["BudgetName", "ResourceId"],
- members: { BudgetName: {}, ResourceId: {} },
- },
- output: { type: "structure", members: {} },
- },
- DisassociatePrincipalFromPortfolio: {
- input: {
- type: "structure",
- required: ["PortfolioId", "PrincipalARN"],
- members: {
- AcceptLanguage: {},
- PortfolioId: {},
- PrincipalARN: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- DisassociateProductFromPortfolio: {
- input: {
- type: "structure",
- required: ["ProductId", "PortfolioId"],
- members: { AcceptLanguage: {}, ProductId: {}, PortfolioId: {} },
- },
- output: { type: "structure", members: {} },
- },
- DisassociateServiceActionFromProvisioningArtifact: {
- input: {
- type: "structure",
- required: [
- "ProductId",
- "ProvisioningArtifactId",
- "ServiceActionId",
- ],
- members: {
- ProductId: {},
- ProvisioningArtifactId: {},
- ServiceActionId: {},
- AcceptLanguage: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- DisassociateTagOptionFromResource: {
- input: {
- type: "structure",
- required: ["ResourceId", "TagOptionId"],
- members: { ResourceId: {}, TagOptionId: {} },
- },
- output: { type: "structure", members: {} },
- },
- EnableAWSOrganizationsAccess: {
- input: { type: "structure", members: {} },
- output: { type: "structure", members: {} },
- },
- ExecuteProvisionedProductPlan: {
- input: {
- type: "structure",
- required: ["PlanId", "IdempotencyToken"],
- members: {
- AcceptLanguage: {},
- PlanId: {},
- IdempotencyToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { RecordDetail: { shape: "S6k" } },
- },
- },
- ExecuteProvisionedProductServiceAction: {
- input: {
- type: "structure",
- required: [
- "ProvisionedProductId",
- "ServiceActionId",
- "ExecuteToken",
- ],
- members: {
- ProvisionedProductId: {},
- ServiceActionId: {},
- ExecuteToken: { idempotencyToken: true },
- AcceptLanguage: {},
- Parameters: { type: "map", key: {}, value: { shape: "S77" } },
- },
- },
- output: {
- type: "structure",
- members: { RecordDetail: { shape: "S6k" } },
- },
- },
- GetAWSOrganizationsAccessStatus: {
- input: { type: "structure", members: {} },
- output: { type: "structure", members: { AccessStatus: {} } },
- },
- ListAcceptedPortfolioShares: {
- input: {
- type: "structure",
- members: {
- AcceptLanguage: {},
- PageToken: {},
- PageSize: { type: "integer" },
- PortfolioShareType: {},
- },
- },
- output: {
- type: "structure",
- members: {
- PortfolioDetails: { shape: "S7z" },
- NextPageToken: {},
- },
- },
- },
- ListBudgetsForResource: {
- input: {
- type: "structure",
- required: ["ResourceId"],
- members: {
- AcceptLanguage: {},
- ResourceId: {},
- PageSize: { type: "integer" },
- PageToken: {},
- },
- },
- output: {
- type: "structure",
- members: { Budgets: { shape: "S44" }, NextPageToken: {} },
- },
- },
- ListConstraintsForPortfolio: {
- input: {
- type: "structure",
- required: ["PortfolioId"],
- members: {
- AcceptLanguage: {},
- PortfolioId: {},
- ProductId: {},
- PageSize: { type: "integer" },
- PageToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ConstraintDetails: { type: "list", member: { shape: "S1b" } },
- NextPageToken: {},
- },
- },
- },
- ListLaunchPaths: {
- input: {
- type: "structure",
- required: ["ProductId"],
- members: {
- AcceptLanguage: {},
- ProductId: {},
- PageSize: { type: "integer" },
- PageToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- LaunchPathSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- ConstraintSummaries: { shape: "S65" },
- Tags: { shape: "S1q" },
- Name: {},
- },
- },
- },
- NextPageToken: {},
- },
- },
- },
- ListOrganizationPortfolioAccess: {
- input: {
- type: "structure",
- required: ["PortfolioId", "OrganizationNodeType"],
- members: {
- AcceptLanguage: {},
- PortfolioId: {},
- OrganizationNodeType: {},
- PageToken: {},
- PageSize: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- OrganizationNodes: { type: "list", member: { shape: "S1s" } },
- NextPageToken: {},
- },
- },
- },
- ListPortfolioAccess: {
- input: {
- type: "structure",
- required: ["PortfolioId"],
- members: {
- AcceptLanguage: {},
- PortfolioId: {},
- OrganizationParentId: {},
- PageToken: {},
- PageSize: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- AccountIds: { type: "list", member: {} },
- NextPageToken: {},
- },
- },
- },
- ListPortfolios: {
- input: {
- type: "structure",
- members: {
- AcceptLanguage: {},
- PageToken: {},
- PageSize: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- PortfolioDetails: { shape: "S7z" },
- NextPageToken: {},
- },
- },
- },
- ListPortfoliosForProduct: {
- input: {
- type: "structure",
- required: ["ProductId"],
- members: {
- AcceptLanguage: {},
- ProductId: {},
- PageToken: {},
- PageSize: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- PortfolioDetails: { shape: "S7z" },
- NextPageToken: {},
- },
- },
- },
- ListPrincipalsForPortfolio: {
- input: {
- type: "structure",
- required: ["PortfolioId"],
- members: {
- AcceptLanguage: {},
- PortfolioId: {},
- PageSize: { type: "integer" },
- PageToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Principals: {
- type: "list",
- member: {
- type: "structure",
- members: { PrincipalARN: {}, PrincipalType: {} },
- },
- },
- NextPageToken: {},
- },
- },
- },
- ListProvisionedProductPlans: {
- input: {
- type: "structure",
- members: {
- AcceptLanguage: {},
- ProvisionProductId: {},
- PageSize: { type: "integer" },
- PageToken: {},
- AccessLevelFilter: { shape: "S8p" },
- },
- },
- output: {
- type: "structure",
- members: {
- ProvisionedProductPlans: {
- type: "list",
- member: {
- type: "structure",
- members: {
- PlanName: {},
- PlanId: {},
- ProvisionProductId: {},
- ProvisionProductName: {},
- PlanType: {},
- ProvisioningArtifactId: {},
- },
- },
- },
- NextPageToken: {},
- },
- },
- },
- ListProvisioningArtifacts: {
- input: {
- type: "structure",
- required: ["ProductId"],
- members: { AcceptLanguage: {}, ProductId: {} },
- },
- output: {
- type: "structure",
- members: {
- ProvisioningArtifactDetails: {
- type: "list",
- member: { shape: "S2h" },
- },
- NextPageToken: {},
- },
- },
- },
- ListProvisioningArtifactsForServiceAction: {
- input: {
- type: "structure",
- required: ["ServiceActionId"],
- members: {
- ServiceActionId: {},
- PageSize: { type: "integer" },
- PageToken: {},
- AcceptLanguage: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ProvisioningArtifactViews: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ProductViewSummary: { shape: "S2d" },
- ProvisioningArtifact: { shape: "S4j" },
- },
- },
- },
- NextPageToken: {},
- },
- },
- },
- ListRecordHistory: {
- input: {
- type: "structure",
- members: {
- AcceptLanguage: {},
- AccessLevelFilter: { shape: "S8p" },
- SearchFilter: {
- type: "structure",
- members: { Key: {}, Value: {} },
- },
- PageSize: { type: "integer" },
- PageToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- RecordDetails: { type: "list", member: { shape: "S6k" } },
- NextPageToken: {},
- },
- },
- },
- ListResourcesForTagOption: {
- input: {
- type: "structure",
- required: ["TagOptionId"],
- members: {
- TagOptionId: {},
- ResourceType: {},
- PageSize: { type: "integer" },
- PageToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ResourceDetails: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- ARN: {},
- Name: {},
- Description: {},
- CreatedTime: { type: "timestamp" },
- },
- },
- },
- PageToken: {},
- },
- },
- },
- ListServiceActions: {
- input: {
- type: "structure",
- members: {
- AcceptLanguage: {},
- PageSize: { type: "integer" },
- PageToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ServiceActionSummaries: { shape: "S9k" },
- NextPageToken: {},
- },
- },
- },
- ListServiceActionsForProvisioningArtifact: {
- input: {
- type: "structure",
- required: ["ProductId", "ProvisioningArtifactId"],
- members: {
- ProductId: {},
- ProvisioningArtifactId: {},
- PageSize: { type: "integer" },
- PageToken: {},
- AcceptLanguage: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ServiceActionSummaries: { shape: "S9k" },
- NextPageToken: {},
- },
- },
- },
- ListStackInstancesForProvisionedProduct: {
- input: {
- type: "structure",
- required: ["ProvisionedProductId"],
- members: {
- AcceptLanguage: {},
- ProvisionedProductId: {},
- PageToken: {},
- PageSize: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- StackInstances: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Account: {},
- Region: {},
- StackInstanceStatus: {},
- },
- },
- },
- NextPageToken: {},
- },
- },
- },
- ListTagOptions: {
- input: {
- type: "structure",
- members: {
- Filters: {
- type: "structure",
- members: { Key: {}, Value: {}, Active: { type: "boolean" } },
- },
- PageSize: { type: "integer" },
- PageToken: {},
- },
- },
- output: {
- type: "structure",
- members: { TagOptionDetails: { shape: "S43" }, PageToken: {} },
- },
- },
- ProvisionProduct: {
- input: {
- type: "structure",
- required: [
- "ProductId",
- "ProvisioningArtifactId",
- "ProvisionedProductName",
- "ProvisionToken",
- ],
- members: {
- AcceptLanguage: {},
- ProductId: {},
- ProvisioningArtifactId: {},
- PathId: {},
- ProvisionedProductName: {},
- ProvisioningParameters: {
- type: "list",
- member: {
- type: "structure",
- members: { Key: {}, Value: {} },
- },
- },
- ProvisioningPreferences: {
- type: "structure",
- members: {
- StackSetAccounts: { shape: "S6f" },
- StackSetRegions: { shape: "S6g" },
- StackSetFailureToleranceCount: { type: "integer" },
- StackSetFailureTolerancePercentage: { type: "integer" },
- StackSetMaxConcurrencyCount: { type: "integer" },
- StackSetMaxConcurrencyPercentage: { type: "integer" },
- },
- },
- Tags: { shape: "S1q" },
- NotificationArns: { shape: "S2n" },
- ProvisionToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { RecordDetail: { shape: "S6k" } },
- },
- },
- RejectPortfolioShare: {
- input: {
- type: "structure",
- required: ["PortfolioId"],
- members: {
- AcceptLanguage: {},
- PortfolioId: {},
- PortfolioShareType: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- ScanProvisionedProducts: {
- input: {
- type: "structure",
- members: {
- AcceptLanguage: {},
- AccessLevelFilter: { shape: "S8p" },
- PageSize: { type: "integer" },
- PageToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ProvisionedProducts: { type: "list", member: { shape: "S4t" } },
- NextPageToken: {},
- },
- },
- },
- SearchProducts: {
- input: {
- type: "structure",
- members: {
- AcceptLanguage: {},
- Filters: { shape: "Saa" },
- PageSize: { type: "integer" },
- SortBy: {},
- SortOrder: {},
- PageToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ProductViewSummaries: {
- type: "list",
- member: { shape: "S2d" },
- },
- ProductViewAggregations: {
- type: "map",
- key: {},
- value: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Value: {},
- ApproximateCount: { type: "integer" },
- },
- },
- },
- },
- NextPageToken: {},
- },
- },
- },
- SearchProductsAsAdmin: {
- input: {
- type: "structure",
- members: {
- AcceptLanguage: {},
- PortfolioId: {},
- Filters: { shape: "Saa" },
- SortBy: {},
- SortOrder: {},
- PageToken: {},
- PageSize: { type: "integer" },
- ProductSource: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ProductViewDetails: { type: "list", member: { shape: "S2c" } },
- NextPageToken: {},
- },
- },
- },
- SearchProvisionedProducts: {
- input: {
- type: "structure",
- members: {
- AcceptLanguage: {},
- AccessLevelFilter: { shape: "S8p" },
- Filters: {
- type: "map",
- key: {},
- value: { type: "list", member: {} },
- },
- SortBy: {},
- SortOrder: {},
- PageSize: { type: "integer" },
- PageToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ProvisionedProducts: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- Arn: {},
- Type: {},
- Id: {},
- Status: {},
- StatusMessage: {},
- CreatedTime: { type: "timestamp" },
- IdempotencyToken: {},
- LastRecordId: {},
- Tags: { shape: "S1q" },
- PhysicalId: {},
- ProductId: {},
- ProvisioningArtifactId: {},
- UserArn: {},
- UserArnSession: {},
- },
- },
- },
- TotalResultsCount: { type: "integer" },
- NextPageToken: {},
- },
- },
- },
- TerminateProvisionedProduct: {
- input: {
- type: "structure",
- required: ["TerminateToken"],
- members: {
- ProvisionedProductName: {},
- ProvisionedProductId: {},
- TerminateToken: { idempotencyToken: true },
- IgnoreErrors: { type: "boolean" },
- AcceptLanguage: {},
- },
- },
- output: {
- type: "structure",
- members: { RecordDetail: { shape: "S6k" } },
- },
- },
- UpdateConstraint: {
- input: {
- type: "structure",
- required: ["Id"],
- members: {
- AcceptLanguage: {},
- Id: {},
- Description: {},
- Parameters: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ConstraintDetail: { shape: "S1b" },
- ConstraintParameters: {},
- Status: {},
- },
- },
- },
- UpdatePortfolio: {
- input: {
- type: "structure",
- required: ["Id"],
- members: {
- AcceptLanguage: {},
- Id: {},
- DisplayName: {},
- Description: {},
- ProviderName: {},
- AddTags: { shape: "S1i" },
- RemoveTags: { shape: "Sbb" },
- },
- },
- output: {
- type: "structure",
- members: {
- PortfolioDetail: { shape: "S1n" },
- Tags: { shape: "S1q" },
- },
- },
- },
- UpdateProduct: {
- input: {
- type: "structure",
- required: ["Id"],
- members: {
- AcceptLanguage: {},
- Id: {},
- Name: {},
- Owner: {},
- Description: {},
- Distributor: {},
- SupportDescription: {},
- SupportEmail: {},
- SupportUrl: {},
- AddTags: { shape: "S1i" },
- RemoveTags: { shape: "Sbb" },
- },
- },
- output: {
- type: "structure",
- members: {
- ProductViewDetail: { shape: "S2c" },
- Tags: { shape: "S1q" },
- },
- },
- },
- UpdateProvisionedProduct: {
- input: {
- type: "structure",
- required: ["UpdateToken"],
- members: {
- AcceptLanguage: {},
- ProvisionedProductName: {},
- ProvisionedProductId: {},
- ProductId: {},
- ProvisioningArtifactId: {},
- PathId: {},
- ProvisioningParameters: { shape: "S2q" },
- ProvisioningPreferences: {
- type: "structure",
- members: {
- StackSetAccounts: { shape: "S6f" },
- StackSetRegions: { shape: "S6g" },
- StackSetFailureToleranceCount: { type: "integer" },
- StackSetFailureTolerancePercentage: { type: "integer" },
- StackSetMaxConcurrencyCount: { type: "integer" },
- StackSetMaxConcurrencyPercentage: { type: "integer" },
- StackSetOperationType: {},
- },
- },
- Tags: { shape: "S1q" },
- UpdateToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: { RecordDetail: { shape: "S6k" } },
- },
- },
- UpdateProvisionedProductProperties: {
- input: {
- type: "structure",
- required: [
- "ProvisionedProductId",
- "ProvisionedProductProperties",
- "IdempotencyToken",
- ],
- members: {
- AcceptLanguage: {},
- ProvisionedProductId: {},
- ProvisionedProductProperties: { shape: "Sbk" },
- IdempotencyToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- ProvisionedProductId: {},
- ProvisionedProductProperties: { shape: "Sbk" },
- RecordId: {},
- Status: {},
- },
- },
- },
- UpdateProvisioningArtifact: {
- input: {
- type: "structure",
- required: ["ProductId", "ProvisioningArtifactId"],
- members: {
- AcceptLanguage: {},
- ProductId: {},
- ProvisioningArtifactId: {},
- Name: {},
- Description: {},
- Active: { type: "boolean" },
- Guidance: {},
- },
- },
- output: {
- type: "structure",
- members: {
- ProvisioningArtifactDetail: { shape: "S2h" },
- Info: { shape: "S26" },
- Status: {},
- },
- },
- },
- UpdateServiceAction: {
- input: {
- type: "structure",
- required: ["Id"],
- members: {
- Id: {},
- Name: {},
- Definition: { shape: "S31" },
- Description: {},
- AcceptLanguage: {},
- },
- },
- output: {
- type: "structure",
- members: { ServiceActionDetail: { shape: "S36" } },
- },
- },
- UpdateTagOption: {
- input: {
- type: "structure",
- required: ["Id"],
- members: { Id: {}, Value: {}, Active: { type: "boolean" } },
- },
- output: {
- type: "structure",
- members: { TagOptionDetail: { shape: "S3c" } },
- },
- },
- },
- shapes: {
- Sm: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "ServiceActionId",
- "ProductId",
- "ProvisioningArtifactId",
- ],
- members: {
- ServiceActionId: {},
- ProductId: {},
- ProvisioningArtifactId: {},
- },
- },
- },
- Sp: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ServiceActionId: {},
- ProductId: {},
- ProvisioningArtifactId: {},
- ErrorCode: {},
- ErrorMessage: {},
- },
- },
- },
- S1b: {
- type: "structure",
- members: {
- ConstraintId: {},
- Type: {},
- Description: {},
- Owner: {},
- ProductId: {},
- PortfolioId: {},
- },
- },
- S1i: { type: "list", member: { shape: "S1j" } },
- S1j: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- S1n: {
- type: "structure",
- members: {
- Id: {},
- ARN: {},
- DisplayName: {},
- Description: {},
- CreatedTime: { type: "timestamp" },
- ProviderName: {},
- },
- },
- S1q: { type: "list", member: { shape: "S1j" } },
- S1s: { type: "structure", members: { Type: {}, Value: {} } },
- S23: {
- type: "structure",
- required: ["Info"],
- members: {
- Name: {},
- Description: {},
- Info: { shape: "S26" },
- Type: {},
- DisableTemplateValidation: { type: "boolean" },
- },
- },
- S26: { type: "map", key: {}, value: {} },
- S2c: {
- type: "structure",
- members: {
- ProductViewSummary: { shape: "S2d" },
- Status: {},
- ProductARN: {},
- CreatedTime: { type: "timestamp" },
- },
- },
- S2d: {
- type: "structure",
- members: {
- Id: {},
- ProductId: {},
- Name: {},
- Owner: {},
- ShortDescription: {},
- Type: {},
- Distributor: {},
- HasDefaultPath: { type: "boolean" },
- SupportEmail: {},
- SupportDescription: {},
- SupportUrl: {},
- },
- },
- S2h: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Description: {},
- Type: {},
- CreatedTime: { type: "timestamp" },
- Active: { type: "boolean" },
- Guidance: {},
- },
- },
- S2n: { type: "list", member: {} },
- S2q: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Key: {},
- Value: {},
- UsePreviousValue: { type: "boolean" },
- },
- },
- },
- S31: { type: "map", key: {}, value: {} },
- S36: {
- type: "structure",
- members: {
- ServiceActionSummary: { shape: "S37" },
- Definition: { shape: "S31" },
- },
- },
- S37: {
- type: "structure",
- members: { Id: {}, Name: {}, Description: {}, DefinitionType: {} },
- },
- S3c: {
- type: "structure",
- members: {
- Key: {},
- Value: {},
- Active: { type: "boolean" },
- Id: {},
- },
- },
- S43: { type: "list", member: { shape: "S3c" } },
- S44: {
- type: "list",
- member: { type: "structure", members: { BudgetName: {} } },
- },
- S4i: { type: "list", member: { shape: "S4j" } },
- S4j: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Description: {},
- CreatedTime: { type: "timestamp" },
- Guidance: {},
- },
- },
- S4t: {
- type: "structure",
- members: {
- Name: {},
- Arn: {},
- Type: {},
- Id: {},
- Status: {},
- StatusMessage: {},
- CreatedTime: { type: "timestamp" },
- IdempotencyToken: {},
- LastRecordId: {},
- ProductId: {},
- ProvisioningArtifactId: {},
- },
- },
- S65: {
- type: "list",
- member: {
- type: "structure",
- members: { Type: {}, Description: {} },
- },
- },
- S6f: { type: "list", member: {} },
- S6g: { type: "list", member: {} },
- S6k: {
- type: "structure",
- members: {
- RecordId: {},
- ProvisionedProductName: {},
- Status: {},
- CreatedTime: { type: "timestamp" },
- UpdatedTime: { type: "timestamp" },
- ProvisionedProductType: {},
- RecordType: {},
- ProvisionedProductId: {},
- ProductId: {},
- ProvisioningArtifactId: {},
- PathId: {},
- RecordErrors: {
- type: "list",
- member: {
- type: "structure",
- members: { Code: {}, Description: {} },
- },
- },
- RecordTags: {
- type: "list",
- member: { type: "structure", members: { Key: {}, Value: {} } },
- },
- },
- },
- S77: { type: "list", member: {} },
- S7z: { type: "list", member: { shape: "S1n" } },
- S8p: { type: "structure", members: { Key: {}, Value: {} } },
- S9k: { type: "list", member: { shape: "S37" } },
- Saa: { type: "map", key: {}, value: { type: "list", member: {} } },
- Sbb: { type: "list", member: {} },
- Sbk: { type: "map", key: {}, value: {} },
- },
- };
-
- /***/
- },
-
- /***/ 4016: /***/ function (module) {
- module.exports = require("tls");
-
- /***/
- },
-
- /***/ 4068: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(890);
- model.paginators = __webpack_require__(520).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.ForecastQueryService;
-
- /***/
- },
-
- /***/ 4074: /***/ function (module) {
- module.exports = {
- metadata: {
- apiVersion: "2017-11-27",
- endpointPrefix: "mq",
- signingName: "mq",
- serviceFullName: "AmazonMQ",
- serviceId: "mq",
- protocol: "rest-json",
- jsonVersion: "1.1",
- uid: "mq-2017-11-27",
- signatureVersion: "v4",
- },
- operations: {
- CreateBroker: {
- http: { requestUri: "/v1/brokers", responseCode: 200 },
- input: {
- type: "structure",
- members: {
- AutoMinorVersionUpgrade: {
- locationName: "autoMinorVersionUpgrade",
- type: "boolean",
- },
- BrokerName: { locationName: "brokerName" },
- Configuration: { shape: "S4", locationName: "configuration" },
- CreatorRequestId: {
- locationName: "creatorRequestId",
- idempotencyToken: true,
- },
- DeploymentMode: { locationName: "deploymentMode" },
- EncryptionOptions: {
- shape: "S7",
- locationName: "encryptionOptions",
- },
- EngineType: { locationName: "engineType" },
- EngineVersion: { locationName: "engineVersion" },
- HostInstanceType: { locationName: "hostInstanceType" },
- Logs: { shape: "S9", locationName: "logs" },
- MaintenanceWindowStartTime: {
- shape: "Sa",
- locationName: "maintenanceWindowStartTime",
- },
- PubliclyAccessible: {
- locationName: "publiclyAccessible",
- type: "boolean",
- },
- SecurityGroups: { shape: "Sc", locationName: "securityGroups" },
- StorageType: { locationName: "storageType" },
- SubnetIds: { shape: "Sc", locationName: "subnetIds" },
- Tags: { shape: "Se", locationName: "tags" },
- Users: {
- locationName: "users",
- type: "list",
- member: {
- type: "structure",
- members: {
- ConsoleAccess: {
- locationName: "consoleAccess",
- type: "boolean",
- },
- Groups: { shape: "Sc", locationName: "groups" },
- Password: { locationName: "password" },
- Username: { locationName: "username" },
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- BrokerArn: { locationName: "brokerArn" },
- BrokerId: { locationName: "brokerId" },
- },
- },
- },
- CreateConfiguration: {
- http: { requestUri: "/v1/configurations", responseCode: 200 },
- input: {
- type: "structure",
- members: {
- EngineType: { locationName: "engineType" },
- EngineVersion: { locationName: "engineVersion" },
- Name: { locationName: "name" },
- Tags: { shape: "Se", locationName: "tags" },
- },
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- Created: { shape: "Sk", locationName: "created" },
- Id: { locationName: "id" },
- LatestRevision: { shape: "Sl", locationName: "latestRevision" },
- Name: { locationName: "name" },
- },
- },
- },
- CreateTags: {
- http: { requestUri: "/v1/tags/{resource-arn}", responseCode: 204 },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- Tags: { shape: "Se", locationName: "tags" },
- },
- required: ["ResourceArn"],
- },
- },
- CreateUser: {
- http: {
- requestUri: "/v1/brokers/{broker-id}/users/{username}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- BrokerId: { location: "uri", locationName: "broker-id" },
- ConsoleAccess: {
- locationName: "consoleAccess",
- type: "boolean",
- },
- Groups: { shape: "Sc", locationName: "groups" },
- Password: { locationName: "password" },
- Username: { location: "uri", locationName: "username" },
- },
- required: ["Username", "BrokerId"],
- },
- output: { type: "structure", members: {} },
- },
- DeleteBroker: {
- http: {
- method: "DELETE",
- requestUri: "/v1/brokers/{broker-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- BrokerId: { location: "uri", locationName: "broker-id" },
- },
- required: ["BrokerId"],
- },
- output: {
- type: "structure",
- members: { BrokerId: { locationName: "brokerId" } },
- },
- },
- DeleteTags: {
- http: {
- method: "DELETE",
- requestUri: "/v1/tags/{resource-arn}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- TagKeys: {
- shape: "Sc",
- location: "querystring",
- locationName: "tagKeys",
- },
- },
- required: ["TagKeys", "ResourceArn"],
- },
- },
- DeleteUser: {
- http: {
- method: "DELETE",
- requestUri: "/v1/brokers/{broker-id}/users/{username}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- BrokerId: { location: "uri", locationName: "broker-id" },
- Username: { location: "uri", locationName: "username" },
- },
- required: ["Username", "BrokerId"],
- },
- output: { type: "structure", members: {} },
- },
- DescribeBroker: {
- http: {
- method: "GET",
- requestUri: "/v1/brokers/{broker-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- BrokerId: { location: "uri", locationName: "broker-id" },
- },
- required: ["BrokerId"],
- },
- output: {
- type: "structure",
- members: {
- AutoMinorVersionUpgrade: {
- locationName: "autoMinorVersionUpgrade",
- type: "boolean",
- },
- BrokerArn: { locationName: "brokerArn" },
- BrokerId: { locationName: "brokerId" },
- BrokerInstances: {
- locationName: "brokerInstances",
- type: "list",
- member: {
- type: "structure",
- members: {
- ConsoleURL: { locationName: "consoleURL" },
- Endpoints: { shape: "Sc", locationName: "endpoints" },
- IpAddress: { locationName: "ipAddress" },
- },
- },
- },
- BrokerName: { locationName: "brokerName" },
- BrokerState: { locationName: "brokerState" },
- Configurations: {
- locationName: "configurations",
- type: "structure",
- members: {
- Current: { shape: "S4", locationName: "current" },
- History: {
- locationName: "history",
- type: "list",
- member: { shape: "S4" },
- },
- Pending: { shape: "S4", locationName: "pending" },
- },
- },
- Created: { shape: "Sk", locationName: "created" },
- DeploymentMode: { locationName: "deploymentMode" },
- EncryptionOptions: {
- shape: "S7",
- locationName: "encryptionOptions",
- },
- EngineType: { locationName: "engineType" },
- EngineVersion: { locationName: "engineVersion" },
- HostInstanceType: { locationName: "hostInstanceType" },
- Logs: {
- locationName: "logs",
- type: "structure",
- members: {
- Audit: { locationName: "audit", type: "boolean" },
- AuditLogGroup: { locationName: "auditLogGroup" },
- General: { locationName: "general", type: "boolean" },
- GeneralLogGroup: { locationName: "generalLogGroup" },
- Pending: {
- locationName: "pending",
- type: "structure",
- members: {
- Audit: { locationName: "audit", type: "boolean" },
- General: { locationName: "general", type: "boolean" },
- },
- },
- },
- },
- MaintenanceWindowStartTime: {
- shape: "Sa",
- locationName: "maintenanceWindowStartTime",
- },
- PendingEngineVersion: { locationName: "pendingEngineVersion" },
- PendingHostInstanceType: {
- locationName: "pendingHostInstanceType",
- },
- PendingSecurityGroups: {
- shape: "Sc",
- locationName: "pendingSecurityGroups",
- },
- PubliclyAccessible: {
- locationName: "publiclyAccessible",
- type: "boolean",
- },
- SecurityGroups: { shape: "Sc", locationName: "securityGroups" },
- StorageType: { locationName: "storageType" },
- SubnetIds: { shape: "Sc", locationName: "subnetIds" },
- Tags: { shape: "Se", locationName: "tags" },
- Users: { shape: "S13", locationName: "users" },
- },
- },
- },
- DescribeBrokerEngineTypes: {
- http: {
- method: "GET",
- requestUri: "/v1/broker-engine-types",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- EngineType: {
- location: "querystring",
- locationName: "engineType",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- BrokerEngineTypes: {
- locationName: "brokerEngineTypes",
- type: "list",
- member: {
- type: "structure",
- members: {
- EngineType: { locationName: "engineType" },
- EngineVersions: {
- locationName: "engineVersions",
- type: "list",
- member: {
- type: "structure",
- members: { Name: { locationName: "name" } },
- },
- },
- },
- },
- },
- MaxResults: { locationName: "maxResults", type: "integer" },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- DescribeBrokerInstanceOptions: {
- http: {
- method: "GET",
- requestUri: "/v1/broker-instance-options",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- EngineType: {
- location: "querystring",
- locationName: "engineType",
- },
- HostInstanceType: {
- location: "querystring",
- locationName: "hostInstanceType",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- StorageType: {
- location: "querystring",
- locationName: "storageType",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- BrokerInstanceOptions: {
- locationName: "brokerInstanceOptions",
- type: "list",
- member: {
- type: "structure",
- members: {
- AvailabilityZones: {
- locationName: "availabilityZones",
- type: "list",
- member: {
- type: "structure",
- members: { Name: { locationName: "name" } },
- },
- },
- EngineType: { locationName: "engineType" },
- HostInstanceType: { locationName: "hostInstanceType" },
- StorageType: { locationName: "storageType" },
- SupportedDeploymentModes: {
- locationName: "supportedDeploymentModes",
- type: "list",
- member: {},
- },
- SupportedEngineVersions: {
- shape: "Sc",
- locationName: "supportedEngineVersions",
- },
- },
- },
- },
- MaxResults: { locationName: "maxResults", type: "integer" },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- DescribeConfiguration: {
- http: {
- method: "GET",
- requestUri: "/v1/configurations/{configuration-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConfigurationId: {
- location: "uri",
- locationName: "configuration-id",
- },
- },
- required: ["ConfigurationId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- Created: { shape: "Sk", locationName: "created" },
- Description: { locationName: "description" },
- EngineType: { locationName: "engineType" },
- EngineVersion: { locationName: "engineVersion" },
- Id: { locationName: "id" },
- LatestRevision: { shape: "Sl", locationName: "latestRevision" },
- Name: { locationName: "name" },
- Tags: { shape: "Se", locationName: "tags" },
- },
- },
- },
- DescribeConfigurationRevision: {
- http: {
- method: "GET",
- requestUri:
- "/v1/configurations/{configuration-id}/revisions/{configuration-revision}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConfigurationId: {
- location: "uri",
- locationName: "configuration-id",
- },
- ConfigurationRevision: {
- location: "uri",
- locationName: "configuration-revision",
- },
- },
- required: ["ConfigurationRevision", "ConfigurationId"],
- },
- output: {
- type: "structure",
- members: {
- ConfigurationId: { locationName: "configurationId" },
- Created: { shape: "Sk", locationName: "created" },
- Data: { locationName: "data" },
- Description: { locationName: "description" },
- },
- },
- },
- DescribeUser: {
- http: {
- method: "GET",
- requestUri: "/v1/brokers/{broker-id}/users/{username}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- BrokerId: { location: "uri", locationName: "broker-id" },
- Username: { location: "uri", locationName: "username" },
- },
- required: ["Username", "BrokerId"],
- },
- output: {
- type: "structure",
- members: {
- BrokerId: { locationName: "brokerId" },
- ConsoleAccess: {
- locationName: "consoleAccess",
- type: "boolean",
- },
- Groups: { shape: "Sc", locationName: "groups" },
- Pending: {
- locationName: "pending",
- type: "structure",
- members: {
- ConsoleAccess: {
- locationName: "consoleAccess",
- type: "boolean",
- },
- Groups: { shape: "Sc", locationName: "groups" },
- PendingChange: { locationName: "pendingChange" },
- },
- },
- Username: { locationName: "username" },
- },
- },
- },
- ListBrokers: {
- http: {
- method: "GET",
- requestUri: "/v1/brokers",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- BrokerSummaries: {
- locationName: "brokerSummaries",
- type: "list",
- member: {
- type: "structure",
- members: {
- BrokerArn: { locationName: "brokerArn" },
- BrokerId: { locationName: "brokerId" },
- BrokerName: { locationName: "brokerName" },
- BrokerState: { locationName: "brokerState" },
- Created: { shape: "Sk", locationName: "created" },
- DeploymentMode: { locationName: "deploymentMode" },
- HostInstanceType: { locationName: "hostInstanceType" },
- },
- },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListConfigurationRevisions: {
- http: {
- method: "GET",
- requestUri: "/v1/configurations/{configuration-id}/revisions",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConfigurationId: {
- location: "uri",
- locationName: "configuration-id",
- },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- required: ["ConfigurationId"],
- },
- output: {
- type: "structure",
- members: {
- ConfigurationId: { locationName: "configurationId" },
- MaxResults: { locationName: "maxResults", type: "integer" },
- NextToken: { locationName: "nextToken" },
- Revisions: {
- locationName: "revisions",
- type: "list",
- member: { shape: "Sl" },
- },
- },
- },
- },
- ListConfigurations: {
- http: {
- method: "GET",
- requestUri: "/v1/configurations",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Configurations: {
- locationName: "configurations",
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- Created: { shape: "Sk", locationName: "created" },
- Description: { locationName: "description" },
- EngineType: { locationName: "engineType" },
- EngineVersion: { locationName: "engineVersion" },
- Id: { locationName: "id" },
- LatestRevision: {
- shape: "Sl",
- locationName: "latestRevision",
- },
- Name: { locationName: "name" },
- Tags: { shape: "Se", locationName: "tags" },
- },
- },
- },
- MaxResults: { locationName: "maxResults", type: "integer" },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListTags: {
- http: {
- method: "GET",
- requestUri: "/v1/tags/{resource-arn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- },
- required: ["ResourceArn"],
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "Se", locationName: "tags" } },
- },
- },
- ListUsers: {
- http: {
- method: "GET",
- requestUri: "/v1/brokers/{broker-id}/users",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- BrokerId: { location: "uri", locationName: "broker-id" },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- required: ["BrokerId"],
- },
- output: {
- type: "structure",
- members: {
- BrokerId: { locationName: "brokerId" },
- MaxResults: { locationName: "maxResults", type: "integer" },
- NextToken: { locationName: "nextToken" },
- Users: { shape: "S13", locationName: "users" },
- },
- },
- },
- RebootBroker: {
- http: {
- requestUri: "/v1/brokers/{broker-id}/reboot",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- BrokerId: { location: "uri", locationName: "broker-id" },
- },
- required: ["BrokerId"],
- },
- output: { type: "structure", members: {} },
- },
- UpdateBroker: {
- http: {
- method: "PUT",
- requestUri: "/v1/brokers/{broker-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- AutoMinorVersionUpgrade: {
- locationName: "autoMinorVersionUpgrade",
- type: "boolean",
- },
- BrokerId: { location: "uri", locationName: "broker-id" },
- Configuration: { shape: "S4", locationName: "configuration" },
- EngineVersion: { locationName: "engineVersion" },
- HostInstanceType: { locationName: "hostInstanceType" },
- Logs: { shape: "S9", locationName: "logs" },
- SecurityGroups: { shape: "Sc", locationName: "securityGroups" },
- },
- required: ["BrokerId"],
- },
- output: {
- type: "structure",
- members: {
- AutoMinorVersionUpgrade: {
- locationName: "autoMinorVersionUpgrade",
- type: "boolean",
- },
- BrokerId: { locationName: "brokerId" },
- Configuration: { shape: "S4", locationName: "configuration" },
- EngineVersion: { locationName: "engineVersion" },
- HostInstanceType: { locationName: "hostInstanceType" },
- Logs: { shape: "S9", locationName: "logs" },
- SecurityGroups: { shape: "Sc", locationName: "securityGroups" },
- },
- },
- },
- UpdateConfiguration: {
- http: {
- method: "PUT",
- requestUri: "/v1/configurations/{configuration-id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ConfigurationId: {
- location: "uri",
- locationName: "configuration-id",
- },
- Data: { locationName: "data" },
- Description: { locationName: "description" },
- },
- required: ["ConfigurationId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- Created: { shape: "Sk", locationName: "created" },
- Id: { locationName: "id" },
- LatestRevision: { shape: "Sl", locationName: "latestRevision" },
- Name: { locationName: "name" },
- Warnings: {
- locationName: "warnings",
- type: "list",
- member: {
- type: "structure",
- members: {
- AttributeName: { locationName: "attributeName" },
- ElementName: { locationName: "elementName" },
- Reason: { locationName: "reason" },
- },
- },
- },
- },
- },
- },
- UpdateUser: {
- http: {
- method: "PUT",
- requestUri: "/v1/brokers/{broker-id}/users/{username}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- BrokerId: { location: "uri", locationName: "broker-id" },
- ConsoleAccess: {
- locationName: "consoleAccess",
- type: "boolean",
- },
- Groups: { shape: "Sc", locationName: "groups" },
- Password: { locationName: "password" },
- Username: { location: "uri", locationName: "username" },
- },
- required: ["Username", "BrokerId"],
- },
- output: { type: "structure", members: {} },
- },
- },
- shapes: {
- S4: {
- type: "structure",
- members: {
- Id: { locationName: "id" },
- Revision: { locationName: "revision", type: "integer" },
- },
- },
- S7: {
- type: "structure",
- members: {
- KmsKeyId: { locationName: "kmsKeyId" },
- UseAwsOwnedKey: {
- locationName: "useAwsOwnedKey",
- type: "boolean",
- },
- },
- required: ["UseAwsOwnedKey"],
- },
- S9: {
- type: "structure",
- members: {
- Audit: { locationName: "audit", type: "boolean" },
- General: { locationName: "general", type: "boolean" },
- },
- },
- Sa: {
- type: "structure",
- members: {
- DayOfWeek: { locationName: "dayOfWeek" },
- TimeOfDay: { locationName: "timeOfDay" },
- TimeZone: { locationName: "timeZone" },
- },
- },
- Sc: { type: "list", member: {} },
- Se: { type: "map", key: {}, value: {} },
- Sk: { type: "timestamp", timestampFormat: "iso8601" },
- Sl: {
- type: "structure",
- members: {
- Created: { shape: "Sk", locationName: "created" },
- Description: { locationName: "description" },
- Revision: { locationName: "revision", type: "integer" },
- },
- },
- S13: {
- type: "list",
- member: {
- type: "structure",
- members: {
- PendingChange: { locationName: "pendingChange" },
- Username: { locationName: "username" },
- },
- },
- },
- },
- authorizers: {
- authorization_strategy: {
- name: "authorization_strategy",
- type: "provided",
- placement: { location: "header", name: "Authorization" },
- },
- },
- };
-
- /***/
- },
-
- /***/ 4080: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-04-19",
- endpointPrefix: "dax",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "Amazon DAX",
- serviceFullName: "Amazon DynamoDB Accelerator (DAX)",
- serviceId: "DAX",
- signatureVersion: "v4",
- targetPrefix: "AmazonDAXV3",
- uid: "dax-2017-04-19",
- },
- operations: {
- CreateCluster: {
- input: {
- type: "structure",
- required: [
- "ClusterName",
- "NodeType",
- "ReplicationFactor",
- "IamRoleArn",
- ],
- members: {
- ClusterName: {},
- NodeType: {},
- Description: {},
- ReplicationFactor: { type: "integer" },
- AvailabilityZones: { shape: "S4" },
- SubnetGroupName: {},
- SecurityGroupIds: { shape: "S5" },
- PreferredMaintenanceWindow: {},
- NotificationTopicArn: {},
- IamRoleArn: {},
- ParameterGroupName: {},
- Tags: { shape: "S6" },
- SSESpecification: {
- type: "structure",
- required: ["Enabled"],
- members: { Enabled: { type: "boolean" } },
- },
- },
- },
- output: {
- type: "structure",
- members: { Cluster: { shape: "Sb" } },
- },
- },
- CreateParameterGroup: {
- input: {
- type: "structure",
- required: ["ParameterGroupName"],
- members: { ParameterGroupName: {}, Description: {} },
- },
- output: {
- type: "structure",
- members: { ParameterGroup: { shape: "Sq" } },
- },
- },
- CreateSubnetGroup: {
- input: {
- type: "structure",
- required: ["SubnetGroupName", "SubnetIds"],
- members: {
- SubnetGroupName: {},
- Description: {},
- SubnetIds: { shape: "Ss" },
- },
- },
- output: {
- type: "structure",
- members: { SubnetGroup: { shape: "Su" } },
- },
- },
- DecreaseReplicationFactor: {
- input: {
- type: "structure",
- required: ["ClusterName", "NewReplicationFactor"],
- members: {
- ClusterName: {},
- NewReplicationFactor: { type: "integer" },
- AvailabilityZones: { shape: "S4" },
- NodeIdsToRemove: { shape: "Se" },
- },
- },
- output: {
- type: "structure",
- members: { Cluster: { shape: "Sb" } },
- },
- },
- DeleteCluster: {
- input: {
- type: "structure",
- required: ["ClusterName"],
- members: { ClusterName: {} },
- },
- output: {
- type: "structure",
- members: { Cluster: { shape: "Sb" } },
- },
- },
- DeleteParameterGroup: {
- input: {
- type: "structure",
- required: ["ParameterGroupName"],
- members: { ParameterGroupName: {} },
- },
- output: { type: "structure", members: { DeletionMessage: {} } },
- },
- DeleteSubnetGroup: {
- input: {
- type: "structure",
- required: ["SubnetGroupName"],
- members: { SubnetGroupName: {} },
- },
- output: { type: "structure", members: { DeletionMessage: {} } },
- },
- DescribeClusters: {
- input: {
- type: "structure",
- members: {
- ClusterNames: { type: "list", member: {} },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- Clusters: { type: "list", member: { shape: "Sb" } },
- },
- },
- },
- DescribeDefaultParameters: {
- input: {
- type: "structure",
- members: { MaxResults: { type: "integer" }, NextToken: {} },
- },
- output: {
- type: "structure",
- members: { NextToken: {}, Parameters: { shape: "S1b" } },
- },
- },
- DescribeEvents: {
- input: {
- type: "structure",
- members: {
- SourceName: {},
- SourceType: {},
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Duration: { type: "integer" },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- Events: {
- type: "list",
- member: {
- type: "structure",
- members: {
- SourceName: {},
- SourceType: {},
- Message: {},
- Date: { type: "timestamp" },
- },
- },
- },
- },
- },
- },
- DescribeParameterGroups: {
- input: {
- type: "structure",
- members: {
- ParameterGroupNames: { type: "list", member: {} },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- ParameterGroups: { type: "list", member: { shape: "Sq" } },
- },
- },
- },
- DescribeParameters: {
- input: {
- type: "structure",
- required: ["ParameterGroupName"],
- members: {
- ParameterGroupName: {},
- Source: {},
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: { NextToken: {}, Parameters: { shape: "S1b" } },
- },
- },
- DescribeSubnetGroups: {
- input: {
- type: "structure",
- members: {
- SubnetGroupNames: { type: "list", member: {} },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- SubnetGroups: { type: "list", member: { shape: "Su" } },
- },
- },
- },
- IncreaseReplicationFactor: {
- input: {
- type: "structure",
- required: ["ClusterName", "NewReplicationFactor"],
- members: {
- ClusterName: {},
- NewReplicationFactor: { type: "integer" },
- AvailabilityZones: { shape: "S4" },
- },
- },
- output: {
- type: "structure",
- members: { Cluster: { shape: "Sb" } },
- },
- },
- ListTags: {
- input: {
- type: "structure",
- required: ["ResourceName"],
- members: { ResourceName: {}, NextToken: {} },
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "S6" }, NextToken: {} },
- },
- },
- RebootNode: {
- input: {
- type: "structure",
- required: ["ClusterName", "NodeId"],
- members: { ClusterName: {}, NodeId: {} },
- },
- output: {
- type: "structure",
- members: { Cluster: { shape: "Sb" } },
- },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceName", "Tags"],
- members: { ResourceName: {}, Tags: { shape: "S6" } },
- },
- output: { type: "structure", members: { Tags: { shape: "S6" } } },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceName", "TagKeys"],
- members: {
- ResourceName: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: { Tags: { shape: "S6" } } },
- },
- UpdateCluster: {
- input: {
- type: "structure",
- required: ["ClusterName"],
- members: {
- ClusterName: {},
- Description: {},
- PreferredMaintenanceWindow: {},
- NotificationTopicArn: {},
- NotificationTopicStatus: {},
- ParameterGroupName: {},
- SecurityGroupIds: { shape: "S5" },
- },
- },
- output: {
- type: "structure",
- members: { Cluster: { shape: "Sb" } },
- },
- },
- UpdateParameterGroup: {
- input: {
- type: "structure",
- required: ["ParameterGroupName", "ParameterNameValues"],
- members: {
- ParameterGroupName: {},
- ParameterNameValues: {
- type: "list",
- member: {
- type: "structure",
- members: { ParameterName: {}, ParameterValue: {} },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: { ParameterGroup: { shape: "Sq" } },
- },
- },
- UpdateSubnetGroup: {
- input: {
- type: "structure",
- required: ["SubnetGroupName"],
- members: {
- SubnetGroupName: {},
- Description: {},
- SubnetIds: { shape: "Ss" },
- },
- },
- output: {
- type: "structure",
- members: { SubnetGroup: { shape: "Su" } },
- },
- },
- },
- shapes: {
- S4: { type: "list", member: {} },
- S5: { type: "list", member: {} },
- S6: {
- type: "list",
- member: { type: "structure", members: { Key: {}, Value: {} } },
- },
- Sb: {
- type: "structure",
- members: {
- ClusterName: {},
- Description: {},
- ClusterArn: {},
- TotalNodes: { type: "integer" },
- ActiveNodes: { type: "integer" },
- NodeType: {},
- Status: {},
- ClusterDiscoveryEndpoint: { shape: "Sd" },
- NodeIdsToRemove: { shape: "Se" },
- Nodes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- NodeId: {},
- Endpoint: { shape: "Sd" },
- NodeCreateTime: { type: "timestamp" },
- AvailabilityZone: {},
- NodeStatus: {},
- ParameterGroupStatus: {},
- },
- },
- },
- PreferredMaintenanceWindow: {},
- NotificationConfiguration: {
- type: "structure",
- members: { TopicArn: {}, TopicStatus: {} },
- },
- SubnetGroup: {},
- SecurityGroups: {
- type: "list",
- member: {
- type: "structure",
- members: { SecurityGroupIdentifier: {}, Status: {} },
- },
- },
- IamRoleArn: {},
- ParameterGroup: {
- type: "structure",
- members: {
- ParameterGroupName: {},
- ParameterApplyStatus: {},
- NodeIdsToReboot: { shape: "Se" },
- },
- },
- SSEDescription: { type: "structure", members: { Status: {} } },
- },
- },
- Sd: {
- type: "structure",
- members: { Address: {}, Port: { type: "integer" } },
- },
- Se: { type: "list", member: {} },
- Sq: {
- type: "structure",
- members: { ParameterGroupName: {}, Description: {} },
- },
- Ss: { type: "list", member: {} },
- Su: {
- type: "structure",
- members: {
- SubnetGroupName: {},
- Description: {},
- VpcId: {},
- Subnets: {
- type: "list",
- member: {
- type: "structure",
- members: { SubnetIdentifier: {}, SubnetAvailabilityZone: {} },
- },
- },
- },
- },
- S1b: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ParameterName: {},
- ParameterType: {},
- ParameterValue: {},
- NodeTypeSpecificValues: {
- type: "list",
- member: {
- type: "structure",
- members: { NodeType: {}, Value: {} },
- },
- },
- Description: {},
- Source: {},
- DataType: {},
- AllowedValues: {},
- IsModifiable: {},
- ChangeType: {},
- },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 4086: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(4208);
- model.paginators = __webpack_require__(1327).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.CodeCommit;
-
- /***/
- },
-
- /***/ 4105: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
-
- apiLoader.services["eventbridge"] = {};
- AWS.EventBridge = Service.defineService("eventbridge", ["2015-10-07"]);
- Object.defineProperty(apiLoader.services["eventbridge"], "2015-10-07", {
- get: function get() {
- var model = __webpack_require__(887);
- model.paginators = __webpack_require__(6257).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.EventBridge;
-
- /***/
- },
-
- /***/ 4112: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 4120: /***/ function (__unusedmodule, exports, __webpack_require__) {
- "use strict";
-
- Object.defineProperty(exports, "__esModule", { value: true });
- var LRU_1 = __webpack_require__(8629);
- var CACHE_SIZE = 1000;
- /**
- * Inspired node-lru-cache[https://github.com/isaacs/node-lru-cache]
- */
- var EndpointCache = /** @class */ (function () {
- function EndpointCache(maxSize) {
- if (maxSize === void 0) {
- maxSize = CACHE_SIZE;
- }
- this.maxSize = maxSize;
- this.cache = new LRU_1.LRUCache(maxSize);
- }
- Object.defineProperty(EndpointCache.prototype, "size", {
- get: function () {
- return this.cache.length;
- },
- enumerable: true,
- configurable: true,
- });
- EndpointCache.prototype.put = function (key, value) {
- var keyString =
- typeof key !== "string" ? EndpointCache.getKeyString(key) : key;
- var endpointRecord = this.populateValue(value);
- this.cache.put(keyString, endpointRecord);
- };
- EndpointCache.prototype.get = function (key) {
- var keyString =
- typeof key !== "string" ? EndpointCache.getKeyString(key) : key;
- var now = Date.now();
- var records = this.cache.get(keyString);
- if (records) {
- for (var i = 0; i < records.length; i++) {
- var record = records[i];
- if (record.Expire < now) {
- this.cache.remove(keyString);
- return undefined;
- }
- }
- }
- return records;
- };
- EndpointCache.getKeyString = function (key) {
- var identifiers = [];
- var identifierNames = Object.keys(key).sort();
- for (var i = 0; i < identifierNames.length; i++) {
- var identifierName = identifierNames[i];
- if (key[identifierName] === undefined) continue;
- identifiers.push(key[identifierName]);
- }
- return identifiers.join(" ");
- };
- EndpointCache.prototype.populateValue = function (endpoints) {
- var now = Date.now();
- return endpoints.map(function (endpoint) {
- return {
- Address: endpoint.Address || "",
- Expire: now + (endpoint.CachePeriodInMinutes || 1) * 60 * 1000,
- };
- });
- };
- EndpointCache.prototype.empty = function () {
- this.cache.empty();
- };
- EndpointCache.prototype.remove = function (key) {
- var keyString =
- typeof key !== "string" ? EndpointCache.getKeyString(key) : key;
- this.cache.remove(keyString);
- };
- return EndpointCache;
- })();
- exports.EndpointCache = EndpointCache;
-
- /***/
- },
-
- /***/ 4122: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(8301);
- model.paginators = __webpack_require__(4371).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.ConnectParticipant;
-
- /***/
- },
-
- /***/ 4126: /***/ function (module) {
- module.exports = {
- pagination: {
- ListJobs: {
- input_token: "Marker",
- output_token: "Jobs[-1].JobId",
- more_results: "IsTruncated",
- limit_key: "MaxJobs",
- result_key: "Jobs",
- },
- },
- };
-
- /***/
- },
-
- /***/ 4128: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(8424);
- model.paginators = __webpack_require__(8934).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.NetworkManager;
-
- /***/
- },
-
- /***/ 4136: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeInstanceHealth: { result_key: "InstanceStates" },
- DescribeLoadBalancerPolicies: { result_key: "PolicyDescriptions" },
- DescribeLoadBalancerPolicyTypes: {
- result_key: "PolicyTypeDescriptions",
- },
- DescribeLoadBalancers: {
- input_token: "Marker",
- output_token: "NextMarker",
- result_key: "LoadBalancerDescriptions",
- },
- },
- };
-
- /***/
- },
-
- /***/ 4155: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2014-05-30",
- endpointPrefix: "cloudhsm",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "CloudHSM",
- serviceFullName: "Amazon CloudHSM",
- serviceId: "CloudHSM",
- signatureVersion: "v4",
- targetPrefix: "CloudHsmFrontendService",
- uid: "cloudhsm-2014-05-30",
- },
- operations: {
- AddTagsToResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "TagList"],
- members: { ResourceArn: {}, TagList: { shape: "S3" } },
- },
- output: {
- type: "structure",
- required: ["Status"],
- members: { Status: {} },
- },
- },
- CreateHapg: {
- input: {
- type: "structure",
- required: ["Label"],
- members: { Label: {} },
- },
- output: { type: "structure", members: { HapgArn: {} } },
- },
- CreateHsm: {
- input: {
- type: "structure",
- required: [
- "SubnetId",
- "SshKey",
- "IamRoleArn",
- "SubscriptionType",
- ],
- members: {
- SubnetId: { locationName: "SubnetId" },
- SshKey: { locationName: "SshKey" },
- EniIp: { locationName: "EniIp" },
- IamRoleArn: { locationName: "IamRoleArn" },
- ExternalId: { locationName: "ExternalId" },
- SubscriptionType: { locationName: "SubscriptionType" },
- ClientToken: { locationName: "ClientToken" },
- SyslogIp: { locationName: "SyslogIp" },
- },
- locationName: "CreateHsmRequest",
- },
- output: { type: "structure", members: { HsmArn: {} } },
- },
- CreateLunaClient: {
- input: {
- type: "structure",
- required: ["Certificate"],
- members: { Label: {}, Certificate: {} },
- },
- output: { type: "structure", members: { ClientArn: {} } },
- },
- DeleteHapg: {
- input: {
- type: "structure",
- required: ["HapgArn"],
- members: { HapgArn: {} },
- },
- output: {
- type: "structure",
- required: ["Status"],
- members: { Status: {} },
- },
- },
- DeleteHsm: {
- input: {
- type: "structure",
- required: ["HsmArn"],
- members: { HsmArn: { locationName: "HsmArn" } },
- locationName: "DeleteHsmRequest",
- },
- output: {
- type: "structure",
- required: ["Status"],
- members: { Status: {} },
- },
- },
- DeleteLunaClient: {
- input: {
- type: "structure",
- required: ["ClientArn"],
- members: { ClientArn: {} },
- },
- output: {
- type: "structure",
- required: ["Status"],
- members: { Status: {} },
- },
- },
- DescribeHapg: {
- input: {
- type: "structure",
- required: ["HapgArn"],
- members: { HapgArn: {} },
- },
- output: {
- type: "structure",
- members: {
- HapgArn: {},
- HapgSerial: {},
- HsmsLastActionFailed: { shape: "Sz" },
- HsmsPendingDeletion: { shape: "Sz" },
- HsmsPendingRegistration: { shape: "Sz" },
- Label: {},
- LastModifiedTimestamp: {},
- PartitionSerialList: { shape: "S11" },
- State: {},
- },
- },
- },
- DescribeHsm: {
- input: {
- type: "structure",
- members: { HsmArn: {}, HsmSerialNumber: {} },
- },
- output: {
- type: "structure",
- members: {
- HsmArn: {},
- Status: {},
- StatusDetails: {},
- AvailabilityZone: {},
- EniId: {},
- EniIp: {},
- SubscriptionType: {},
- SubscriptionStartDate: {},
- SubscriptionEndDate: {},
- VpcId: {},
- SubnetId: {},
- IamRoleArn: {},
- SerialNumber: {},
- VendorName: {},
- HsmType: {},
- SoftwareVersion: {},
- SshPublicKey: {},
- SshKeyLastUpdated: {},
- ServerCertUri: {},
- ServerCertLastUpdated: {},
- Partitions: { type: "list", member: {} },
- },
- },
- },
- DescribeLunaClient: {
- input: {
- type: "structure",
- members: { ClientArn: {}, CertificateFingerprint: {} },
- },
- output: {
- type: "structure",
- members: {
- ClientArn: {},
- Certificate: {},
- CertificateFingerprint: {},
- LastModifiedTimestamp: {},
- Label: {},
- },
- },
- },
- GetConfig: {
- input: {
- type: "structure",
- required: ["ClientArn", "ClientVersion", "HapgList"],
- members: {
- ClientArn: {},
- ClientVersion: {},
- HapgList: { shape: "S1i" },
- },
- },
- output: {
- type: "structure",
- members: { ConfigType: {}, ConfigFile: {}, ConfigCred: {} },
- },
- },
- ListAvailableZones: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: { AZList: { type: "list", member: {} } },
- },
- },
- ListHapgs: {
- input: { type: "structure", members: { NextToken: {} } },
- output: {
- type: "structure",
- required: ["HapgList"],
- members: { HapgList: { shape: "S1i" }, NextToken: {} },
- },
- },
- ListHsms: {
- input: { type: "structure", members: { NextToken: {} } },
- output: {
- type: "structure",
- members: { HsmList: { shape: "Sz" }, NextToken: {} },
- },
- },
- ListLunaClients: {
- input: { type: "structure", members: { NextToken: {} } },
- output: {
- type: "structure",
- required: ["ClientList"],
- members: {
- ClientList: { type: "list", member: {} },
- NextToken: {},
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceArn"],
- members: { ResourceArn: {} },
- },
- output: {
- type: "structure",
- required: ["TagList"],
- members: { TagList: { shape: "S3" } },
- },
- },
- ModifyHapg: {
- input: {
- type: "structure",
- required: ["HapgArn"],
- members: {
- HapgArn: {},
- Label: {},
- PartitionSerialList: { shape: "S11" },
- },
- },
- output: { type: "structure", members: { HapgArn: {} } },
- },
- ModifyHsm: {
- input: {
- type: "structure",
- required: ["HsmArn"],
- members: {
- HsmArn: { locationName: "HsmArn" },
- SubnetId: { locationName: "SubnetId" },
- EniIp: { locationName: "EniIp" },
- IamRoleArn: { locationName: "IamRoleArn" },
- ExternalId: { locationName: "ExternalId" },
- SyslogIp: { locationName: "SyslogIp" },
- },
- locationName: "ModifyHsmRequest",
- },
- output: { type: "structure", members: { HsmArn: {} } },
- },
- ModifyLunaClient: {
- input: {
- type: "structure",
- required: ["ClientArn", "Certificate"],
- members: { ClientArn: {}, Certificate: {} },
- },
- output: { type: "structure", members: { ClientArn: {} } },
- },
- RemoveTagsFromResource: {
- input: {
- type: "structure",
- required: ["ResourceArn", "TagKeyList"],
- members: {
- ResourceArn: {},
- TagKeyList: { type: "list", member: {} },
- },
- },
- output: {
- type: "structure",
- required: ["Status"],
- members: { Status: {} },
- },
- },
- },
- shapes: {
- S3: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- Sz: { type: "list", member: {} },
- S11: { type: "list", member: {} },
- S1i: { type: "list", member: {} },
- },
- };
-
- /***/
- },
-
- /***/ 4190: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = authenticationPlugin;
-
- const { createTokenAuth } = __webpack_require__(9813);
- const { Deprecation } = __webpack_require__(7692);
- const once = __webpack_require__(6049);
-
- const beforeRequest = __webpack_require__(6863);
- const requestError = __webpack_require__(7293);
- const validate = __webpack_require__(6489);
- const withAuthorizationPrefix = __webpack_require__(3143);
-
- const deprecateAuthBasic = once((log, deprecation) =>
- log.warn(deprecation)
- );
- const deprecateAuthObject = once((log, deprecation) =>
- log.warn(deprecation)
- );
-
- function authenticationPlugin(octokit, options) {
- // If `options.authStrategy` is set then use it and pass in `options.auth`
- if (options.authStrategy) {
- const auth = options.authStrategy(options.auth);
- octokit.hook.wrap("request", auth.hook);
- octokit.auth = auth;
- return;
- }
-
- // If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance
- // is unauthenticated. The `octokit.auth()` method is a no-op and no request hook is registred.
- if (!options.auth) {
- octokit.auth = () =>
- Promise.resolve({
- type: "unauthenticated",
- });
- return;
- }
-
- const isBasicAuthString =
- typeof options.auth === "string" &&
- /^basic/.test(withAuthorizationPrefix(options.auth));
-
- // If only `options.auth` is set to a string, use the default token authentication strategy.
- if (typeof options.auth === "string" && !isBasicAuthString) {
- const auth = createTokenAuth(options.auth);
- octokit.hook.wrap("request", auth.hook);
- octokit.auth = auth;
- return;
- }
-
- // Otherwise log a deprecation message
- const [deprecationMethod, deprecationMessapge] = isBasicAuthString
- ? [
- deprecateAuthBasic,
- 'Setting the "new Octokit({ auth })" option to a Basic Auth string is deprecated. Use https://github.com/octokit/auth-basic.js instead. See (https://octokit.github.io/rest.js/#authentication)',
- ]
- : [
- deprecateAuthObject,
- 'Setting the "new Octokit({ auth })" option to an object without also setting the "authStrategy" option is deprecated and will be removed in v17. See (https://octokit.github.io/rest.js/#authentication)',
- ];
- deprecationMethod(
- octokit.log,
- new Deprecation("[@octokit/rest] " + deprecationMessapge)
- );
-
- octokit.auth = () =>
- Promise.resolve({
- type: "deprecated",
- message: deprecationMessapge,
- });
-
- validate(options.auth);
-
- const state = {
- octokit,
- auth: options.auth,
- };
-
- octokit.hook.before("request", beforeRequest.bind(null, state));
- octokit.hook.error("request", requestError.bind(null, state));
- }
-
- /***/
- },
-
- /***/ 4208: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2015-04-13",
- endpointPrefix: "codecommit",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "CodeCommit",
- serviceFullName: "AWS CodeCommit",
- serviceId: "CodeCommit",
- signatureVersion: "v4",
- targetPrefix: "CodeCommit_20150413",
- uid: "codecommit-2015-04-13",
- },
- operations: {
- AssociateApprovalRuleTemplateWithRepository: {
- input: {
- type: "structure",
- required: ["approvalRuleTemplateName", "repositoryName"],
- members: { approvalRuleTemplateName: {}, repositoryName: {} },
- },
- },
- BatchAssociateApprovalRuleTemplateWithRepositories: {
- input: {
- type: "structure",
- required: ["approvalRuleTemplateName", "repositoryNames"],
- members: {
- approvalRuleTemplateName: {},
- repositoryNames: { shape: "S5" },
- },
- },
- output: {
- type: "structure",
- required: ["associatedRepositoryNames", "errors"],
- members: {
- associatedRepositoryNames: { shape: "S5" },
- errors: {
- type: "list",
- member: {
- type: "structure",
- members: {
- repositoryName: {},
- errorCode: {},
- errorMessage: {},
- },
- },
- },
- },
- },
- },
- BatchDescribeMergeConflicts: {
- input: {
- type: "structure",
- required: [
- "repositoryName",
- "destinationCommitSpecifier",
- "sourceCommitSpecifier",
- "mergeOption",
- ],
- members: {
- repositoryName: {},
- destinationCommitSpecifier: {},
- sourceCommitSpecifier: {},
- mergeOption: {},
- maxMergeHunks: { type: "integer" },
- maxConflictFiles: { type: "integer" },
- filePaths: { type: "list", member: {} },
- conflictDetailLevel: {},
- conflictResolutionStrategy: {},
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- required: ["conflicts", "destinationCommitId", "sourceCommitId"],
- members: {
- conflicts: {
- type: "list",
- member: {
- type: "structure",
- members: {
- conflictMetadata: { shape: "Sn" },
- mergeHunks: { shape: "S12" },
- },
- },
- },
- nextToken: {},
- errors: {
- type: "list",
- member: {
- type: "structure",
- required: ["filePath", "exceptionName", "message"],
- members: { filePath: {}, exceptionName: {}, message: {} },
- },
- },
- destinationCommitId: {},
- sourceCommitId: {},
- baseCommitId: {},
- },
- },
- },
- BatchDisassociateApprovalRuleTemplateFromRepositories: {
- input: {
- type: "structure",
- required: ["approvalRuleTemplateName", "repositoryNames"],
- members: {
- approvalRuleTemplateName: {},
- repositoryNames: { shape: "S5" },
- },
- },
- output: {
- type: "structure",
- required: ["disassociatedRepositoryNames", "errors"],
- members: {
- disassociatedRepositoryNames: { shape: "S5" },
- errors: {
- type: "list",
- member: {
- type: "structure",
- members: {
- repositoryName: {},
- errorCode: {},
- errorMessage: {},
- },
- },
- },
- },
- },
- },
- BatchGetCommits: {
- input: {
- type: "structure",
- required: ["commitIds", "repositoryName"],
- members: {
- commitIds: { type: "list", member: {} },
- repositoryName: {},
- },
- },
- output: {
- type: "structure",
- members: {
- commits: { type: "list", member: { shape: "S1l" } },
- errors: {
- type: "list",
- member: {
- type: "structure",
- members: { commitId: {}, errorCode: {}, errorMessage: {} },
- },
- },
- },
- },
- },
- BatchGetRepositories: {
- input: {
- type: "structure",
- required: ["repositoryNames"],
- members: { repositoryNames: { shape: "S5" } },
- },
- output: {
- type: "structure",
- members: {
- repositories: { type: "list", member: { shape: "S1x" } },
- repositoriesNotFound: { type: "list", member: {} },
- },
- },
- },
- CreateApprovalRuleTemplate: {
- input: {
- type: "structure",
- required: [
- "approvalRuleTemplateName",
- "approvalRuleTemplateContent",
- ],
- members: {
- approvalRuleTemplateName: {},
- approvalRuleTemplateContent: {},
- approvalRuleTemplateDescription: {},
- },
- },
- output: {
- type: "structure",
- required: ["approvalRuleTemplate"],
- members: { approvalRuleTemplate: { shape: "S2c" } },
- },
- },
- CreateBranch: {
- input: {
- type: "structure",
- required: ["repositoryName", "branchName", "commitId"],
- members: { repositoryName: {}, branchName: {}, commitId: {} },
- },
- },
- CreateCommit: {
- input: {
- type: "structure",
- required: ["repositoryName", "branchName"],
- members: {
- repositoryName: {},
- branchName: {},
- parentCommitId: {},
- authorName: {},
- email: {},
- commitMessage: {},
- keepEmptyFolders: { type: "boolean" },
- putFiles: {
- type: "list",
- member: {
- type: "structure",
- required: ["filePath"],
- members: {
- filePath: {},
- fileMode: {},
- fileContent: { type: "blob" },
- sourceFile: {
- type: "structure",
- required: ["filePath"],
- members: { filePath: {}, isMove: { type: "boolean" } },
- },
- },
- },
- },
- deleteFiles: { shape: "S2o" },
- setFileModes: { shape: "S2q" },
- },
- },
- output: {
- type: "structure",
- members: {
- commitId: {},
- treeId: {},
- filesAdded: { shape: "S2t" },
- filesUpdated: { shape: "S2t" },
- filesDeleted: { shape: "S2t" },
- },
- },
- },
- CreatePullRequest: {
- input: {
- type: "structure",
- required: ["title", "targets"],
- members: {
- title: {},
- description: {},
- targets: {
- type: "list",
- member: {
- type: "structure",
- required: ["repositoryName", "sourceReference"],
- members: {
- repositoryName: {},
- sourceReference: {},
- destinationReference: {},
- },
- },
- },
- clientRequestToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- required: ["pullRequest"],
- members: { pullRequest: { shape: "S33" } },
- },
- },
- CreatePullRequestApprovalRule: {
- input: {
- type: "structure",
- required: [
- "pullRequestId",
- "approvalRuleName",
- "approvalRuleContent",
- ],
- members: {
- pullRequestId: {},
- approvalRuleName: {},
- approvalRuleContent: {},
- },
- },
- output: {
- type: "structure",
- required: ["approvalRule"],
- members: { approvalRule: { shape: "S3c" } },
- },
- },
- CreateRepository: {
- input: {
- type: "structure",
- required: ["repositoryName"],
- members: {
- repositoryName: {},
- repositoryDescription: {},
- tags: { shape: "S3k" },
- },
- },
- output: {
- type: "structure",
- members: { repositoryMetadata: { shape: "S1x" } },
- },
- },
- CreateUnreferencedMergeCommit: {
- input: {
- type: "structure",
- required: [
- "repositoryName",
- "sourceCommitSpecifier",
- "destinationCommitSpecifier",
- "mergeOption",
- ],
- members: {
- repositoryName: {},
- sourceCommitSpecifier: {},
- destinationCommitSpecifier: {},
- mergeOption: {},
- conflictDetailLevel: {},
- conflictResolutionStrategy: {},
- authorName: {},
- email: {},
- commitMessage: {},
- keepEmptyFolders: { type: "boolean" },
- conflictResolution: { shape: "S3p" },
- },
- },
- output: {
- type: "structure",
- members: { commitId: {}, treeId: {} },
- },
- },
- DeleteApprovalRuleTemplate: {
- input: {
- type: "structure",
- required: ["approvalRuleTemplateName"],
- members: { approvalRuleTemplateName: {} },
- },
- output: {
- type: "structure",
- required: ["approvalRuleTemplateId"],
- members: { approvalRuleTemplateId: {} },
- },
- },
- DeleteBranch: {
- input: {
- type: "structure",
- required: ["repositoryName", "branchName"],
- members: { repositoryName: {}, branchName: {} },
- },
- output: {
- type: "structure",
- members: { deletedBranch: { shape: "S3y" } },
- },
- },
- DeleteCommentContent: {
- input: {
- type: "structure",
- required: ["commentId"],
- members: { commentId: {} },
- },
- output: {
- type: "structure",
- members: { comment: { shape: "S42" } },
- },
- },
- DeleteFile: {
- input: {
- type: "structure",
- required: [
- "repositoryName",
- "branchName",
- "filePath",
- "parentCommitId",
- ],
- members: {
- repositoryName: {},
- branchName: {},
- filePath: {},
- parentCommitId: {},
- keepEmptyFolders: { type: "boolean" },
- commitMessage: {},
- name: {},
- email: {},
- },
- },
- output: {
- type: "structure",
- required: ["commitId", "blobId", "treeId", "filePath"],
- members: { commitId: {}, blobId: {}, treeId: {}, filePath: {} },
- },
- },
- DeletePullRequestApprovalRule: {
- input: {
- type: "structure",
- required: ["pullRequestId", "approvalRuleName"],
- members: { pullRequestId: {}, approvalRuleName: {} },
- },
- output: {
- type: "structure",
- required: ["approvalRuleId"],
- members: { approvalRuleId: {} },
- },
- },
- DeleteRepository: {
- input: {
- type: "structure",
- required: ["repositoryName"],
- members: { repositoryName: {} },
- },
- output: { type: "structure", members: { repositoryId: {} } },
- },
- DescribeMergeConflicts: {
- input: {
- type: "structure",
- required: [
- "repositoryName",
- "destinationCommitSpecifier",
- "sourceCommitSpecifier",
- "mergeOption",
- "filePath",
- ],
- members: {
- repositoryName: {},
- destinationCommitSpecifier: {},
- sourceCommitSpecifier: {},
- mergeOption: {},
- maxMergeHunks: { type: "integer" },
- filePath: {},
- conflictDetailLevel: {},
- conflictResolutionStrategy: {},
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- required: [
- "conflictMetadata",
- "mergeHunks",
- "destinationCommitId",
- "sourceCommitId",
- ],
- members: {
- conflictMetadata: { shape: "Sn" },
- mergeHunks: { shape: "S12" },
- nextToken: {},
- destinationCommitId: {},
- sourceCommitId: {},
- baseCommitId: {},
- },
- },
- },
- DescribePullRequestEvents: {
- input: {
- type: "structure",
- required: ["pullRequestId"],
- members: {
- pullRequestId: {},
- pullRequestEventType: {},
- actorArn: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- required: ["pullRequestEvents"],
- members: {
- pullRequestEvents: {
- type: "list",
- member: {
- type: "structure",
- members: {
- pullRequestId: {},
- eventDate: { type: "timestamp" },
- pullRequestEventType: {},
- actorArn: {},
- pullRequestCreatedEventMetadata: {
- type: "structure",
- members: {
- repositoryName: {},
- sourceCommitId: {},
- destinationCommitId: {},
- mergeBase: {},
- },
- },
- pullRequestStatusChangedEventMetadata: {
- type: "structure",
- members: { pullRequestStatus: {} },
- },
- pullRequestSourceReferenceUpdatedEventMetadata: {
- type: "structure",
- members: {
- repositoryName: {},
- beforeCommitId: {},
- afterCommitId: {},
- mergeBase: {},
- },
- },
- pullRequestMergedStateChangedEventMetadata: {
- type: "structure",
- members: {
- repositoryName: {},
- destinationReference: {},
- mergeMetadata: { shape: "S38" },
- },
- },
- approvalRuleEventMetadata: {
- type: "structure",
- members: {
- approvalRuleName: {},
- approvalRuleId: {},
- approvalRuleContent: {},
- },
- },
- approvalStateChangedEventMetadata: {
- type: "structure",
- members: { revisionId: {}, approvalStatus: {} },
- },
- approvalRuleOverriddenEventMetadata: {
- type: "structure",
- members: { revisionId: {}, overrideStatus: {} },
- },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- DisassociateApprovalRuleTemplateFromRepository: {
- input: {
- type: "structure",
- required: ["approvalRuleTemplateName", "repositoryName"],
- members: { approvalRuleTemplateName: {}, repositoryName: {} },
- },
- },
- EvaluatePullRequestApprovalRules: {
- input: {
- type: "structure",
- required: ["pullRequestId", "revisionId"],
- members: { pullRequestId: {}, revisionId: {} },
- },
- output: {
- type: "structure",
- required: ["evaluation"],
- members: {
- evaluation: {
- type: "structure",
- members: {
- approved: { type: "boolean" },
- overridden: { type: "boolean" },
- approvalRulesSatisfied: { type: "list", member: {} },
- approvalRulesNotSatisfied: { type: "list", member: {} },
- },
- },
- },
- },
- },
- GetApprovalRuleTemplate: {
- input: {
- type: "structure",
- required: ["approvalRuleTemplateName"],
- members: { approvalRuleTemplateName: {} },
- },
- output: {
- type: "structure",
- required: ["approvalRuleTemplate"],
- members: { approvalRuleTemplate: { shape: "S2c" } },
- },
- },
- GetBlob: {
- input: {
- type: "structure",
- required: ["repositoryName", "blobId"],
- members: { repositoryName: {}, blobId: {} },
- },
- output: {
- type: "structure",
- required: ["content"],
- members: { content: { type: "blob" } },
- },
- },
- GetBranch: {
- input: {
- type: "structure",
- members: { repositoryName: {}, branchName: {} },
- },
- output: {
- type: "structure",
- members: { branch: { shape: "S3y" } },
- },
- },
- GetComment: {
- input: {
- type: "structure",
- required: ["commentId"],
- members: { commentId: {} },
- },
- output: {
- type: "structure",
- members: { comment: { shape: "S42" } },
- },
- },
- GetCommentsForComparedCommit: {
- input: {
- type: "structure",
- required: ["repositoryName", "afterCommitId"],
- members: {
- repositoryName: {},
- beforeCommitId: {},
- afterCommitId: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- commentsForComparedCommitData: {
- type: "list",
- member: {
- type: "structure",
- members: {
- repositoryName: {},
- beforeCommitId: {},
- afterCommitId: {},
- beforeBlobId: {},
- afterBlobId: {},
- location: { shape: "S5d" },
- comments: { shape: "S5g" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- GetCommentsForPullRequest: {
- input: {
- type: "structure",
- required: ["pullRequestId"],
- members: {
- pullRequestId: {},
- repositoryName: {},
- beforeCommitId: {},
- afterCommitId: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- commentsForPullRequestData: {
- type: "list",
- member: {
- type: "structure",
- members: {
- pullRequestId: {},
- repositoryName: {},
- beforeCommitId: {},
- afterCommitId: {},
- beforeBlobId: {},
- afterBlobId: {},
- location: { shape: "S5d" },
- comments: { shape: "S5g" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- GetCommit: {
- input: {
- type: "structure",
- required: ["repositoryName", "commitId"],
- members: { repositoryName: {}, commitId: {} },
- },
- output: {
- type: "structure",
- required: ["commit"],
- members: { commit: { shape: "S1l" } },
- },
- },
- GetDifferences: {
- input: {
- type: "structure",
- required: ["repositoryName", "afterCommitSpecifier"],
- members: {
- repositoryName: {},
- beforeCommitSpecifier: {},
- afterCommitSpecifier: {},
- beforePath: {},
- afterPath: {},
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- differences: {
- type: "list",
- member: {
- type: "structure",
- members: {
- beforeBlob: { shape: "S5s" },
- afterBlob: { shape: "S5s" },
- changeType: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- GetFile: {
- input: {
- type: "structure",
- required: ["repositoryName", "filePath"],
- members: {
- repositoryName: {},
- commitSpecifier: {},
- filePath: {},
- },
- },
- output: {
- type: "structure",
- required: [
- "commitId",
- "blobId",
- "filePath",
- "fileMode",
- "fileSize",
- "fileContent",
- ],
- members: {
- commitId: {},
- blobId: {},
- filePath: {},
- fileMode: {},
- fileSize: { type: "long" },
- fileContent: { type: "blob" },
- },
- },
- },
- GetFolder: {
- input: {
- type: "structure",
- required: ["repositoryName", "folderPath"],
- members: {
- repositoryName: {},
- commitSpecifier: {},
- folderPath: {},
- },
- },
- output: {
- type: "structure",
- required: ["commitId", "folderPath"],
- members: {
- commitId: {},
- folderPath: {},
- treeId: {},
- subFolders: {
- type: "list",
- member: {
- type: "structure",
- members: { treeId: {}, absolutePath: {}, relativePath: {} },
- },
- },
- files: {
- type: "list",
- member: {
- type: "structure",
- members: {
- blobId: {},
- absolutePath: {},
- relativePath: {},
- fileMode: {},
- },
- },
- },
- symbolicLinks: {
- type: "list",
- member: {
- type: "structure",
- members: {
- blobId: {},
- absolutePath: {},
- relativePath: {},
- fileMode: {},
- },
- },
- },
- subModules: {
- type: "list",
- member: {
- type: "structure",
- members: {
- commitId: {},
- absolutePath: {},
- relativePath: {},
- },
- },
- },
- },
- },
- },
- GetMergeCommit: {
- input: {
- type: "structure",
- required: [
- "repositoryName",
- "sourceCommitSpecifier",
- "destinationCommitSpecifier",
- ],
- members: {
- repositoryName: {},
- sourceCommitSpecifier: {},
- destinationCommitSpecifier: {},
- conflictDetailLevel: {},
- conflictResolutionStrategy: {},
- },
- },
- output: {
- type: "structure",
- members: {
- sourceCommitId: {},
- destinationCommitId: {},
- baseCommitId: {},
- mergedCommitId: {},
- },
- },
- },
- GetMergeConflicts: {
- input: {
- type: "structure",
- required: [
- "repositoryName",
- "destinationCommitSpecifier",
- "sourceCommitSpecifier",
- "mergeOption",
- ],
- members: {
- repositoryName: {},
- destinationCommitSpecifier: {},
- sourceCommitSpecifier: {},
- mergeOption: {},
- conflictDetailLevel: {},
- maxConflictFiles: { type: "integer" },
- conflictResolutionStrategy: {},
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- required: [
- "mergeable",
- "destinationCommitId",
- "sourceCommitId",
- "conflictMetadataList",
- ],
- members: {
- mergeable: { type: "boolean" },
- destinationCommitId: {},
- sourceCommitId: {},
- baseCommitId: {},
- conflictMetadataList: { type: "list", member: { shape: "Sn" } },
- nextToken: {},
- },
- },
- },
- GetMergeOptions: {
- input: {
- type: "structure",
- required: [
- "repositoryName",
- "sourceCommitSpecifier",
- "destinationCommitSpecifier",
- ],
- members: {
- repositoryName: {},
- sourceCommitSpecifier: {},
- destinationCommitSpecifier: {},
- conflictDetailLevel: {},
- conflictResolutionStrategy: {},
- },
- },
- output: {
- type: "structure",
- required: [
- "mergeOptions",
- "sourceCommitId",
- "destinationCommitId",
- "baseCommitId",
- ],
- members: {
- mergeOptions: { type: "list", member: {} },
- sourceCommitId: {},
- destinationCommitId: {},
- baseCommitId: {},
- },
- },
- },
- GetPullRequest: {
- input: {
- type: "structure",
- required: ["pullRequestId"],
- members: { pullRequestId: {} },
- },
- output: {
- type: "structure",
- required: ["pullRequest"],
- members: { pullRequest: { shape: "S33" } },
- },
- },
- GetPullRequestApprovalStates: {
- input: {
- type: "structure",
- required: ["pullRequestId", "revisionId"],
- members: { pullRequestId: {}, revisionId: {} },
- },
- output: {
- type: "structure",
- members: {
- approvals: {
- type: "list",
- member: {
- type: "structure",
- members: { userArn: {}, approvalState: {} },
- },
- },
- },
- },
- },
- GetPullRequestOverrideState: {
- input: {
- type: "structure",
- required: ["pullRequestId", "revisionId"],
- members: { pullRequestId: {}, revisionId: {} },
- },
- output: {
- type: "structure",
- members: { overridden: { type: "boolean" }, overrider: {} },
- },
- },
- GetRepository: {
- input: {
- type: "structure",
- required: ["repositoryName"],
- members: { repositoryName: {} },
- },
- output: {
- type: "structure",
- members: { repositoryMetadata: { shape: "S1x" } },
- },
- },
- GetRepositoryTriggers: {
- input: {
- type: "structure",
- required: ["repositoryName"],
- members: { repositoryName: {} },
- },
- output: {
- type: "structure",
- members: { configurationId: {}, triggers: { shape: "S6t" } },
- },
- },
- ListApprovalRuleTemplates: {
- input: {
- type: "structure",
- members: { nextToken: {}, maxResults: { type: "integer" } },
- },
- output: {
- type: "structure",
- members: {
- approvalRuleTemplateNames: { shape: "S72" },
- nextToken: {},
- },
- },
- },
- ListAssociatedApprovalRuleTemplatesForRepository: {
- input: {
- type: "structure",
- required: ["repositoryName"],
- members: {
- repositoryName: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- approvalRuleTemplateNames: { shape: "S72" },
- nextToken: {},
- },
- },
- },
- ListBranches: {
- input: {
- type: "structure",
- required: ["repositoryName"],
- members: { repositoryName: {}, nextToken: {} },
- },
- output: {
- type: "structure",
- members: { branches: { shape: "S6x" }, nextToken: {} },
- },
- },
- ListPullRequests: {
- input: {
- type: "structure",
- required: ["repositoryName"],
- members: {
- repositoryName: {},
- authorArn: {},
- pullRequestStatus: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- required: ["pullRequestIds"],
- members: {
- pullRequestIds: { type: "list", member: {} },
- nextToken: {},
- },
- },
- },
- ListRepositories: {
- input: {
- type: "structure",
- members: { nextToken: {}, sortBy: {}, order: {} },
- },
- output: {
- type: "structure",
- members: {
- repositories: {
- type: "list",
- member: {
- type: "structure",
- members: { repositoryName: {}, repositoryId: {} },
- },
- },
- nextToken: {},
- },
- },
- },
- ListRepositoriesForApprovalRuleTemplate: {
- input: {
- type: "structure",
- required: ["approvalRuleTemplateName"],
- members: {
- approvalRuleTemplateName: {},
- nextToken: {},
- maxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { repositoryNames: { shape: "S5" }, nextToken: {} },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["resourceArn"],
- members: { resourceArn: {}, nextToken: {} },
- },
- output: {
- type: "structure",
- members: { tags: { shape: "S3k" }, nextToken: {} },
- },
- },
- MergeBranchesByFastForward: {
- input: {
- type: "structure",
- required: [
- "repositoryName",
- "sourceCommitSpecifier",
- "destinationCommitSpecifier",
- ],
- members: {
- repositoryName: {},
- sourceCommitSpecifier: {},
- destinationCommitSpecifier: {},
- targetBranch: {},
- },
- },
- output: {
- type: "structure",
- members: { commitId: {}, treeId: {} },
- },
- },
- MergeBranchesBySquash: {
- input: {
- type: "structure",
- required: [
- "repositoryName",
- "sourceCommitSpecifier",
- "destinationCommitSpecifier",
- ],
- members: {
- repositoryName: {},
- sourceCommitSpecifier: {},
- destinationCommitSpecifier: {},
- targetBranch: {},
- conflictDetailLevel: {},
- conflictResolutionStrategy: {},
- authorName: {},
- email: {},
- commitMessage: {},
- keepEmptyFolders: { type: "boolean" },
- conflictResolution: { shape: "S3p" },
- },
- },
- output: {
- type: "structure",
- members: { commitId: {}, treeId: {} },
- },
- },
- MergeBranchesByThreeWay: {
- input: {
- type: "structure",
- required: [
- "repositoryName",
- "sourceCommitSpecifier",
- "destinationCommitSpecifier",
- ],
- members: {
- repositoryName: {},
- sourceCommitSpecifier: {},
- destinationCommitSpecifier: {},
- targetBranch: {},
- conflictDetailLevel: {},
- conflictResolutionStrategy: {},
- authorName: {},
- email: {},
- commitMessage: {},
- keepEmptyFolders: { type: "boolean" },
- conflictResolution: { shape: "S3p" },
- },
- },
- output: {
- type: "structure",
- members: { commitId: {}, treeId: {} },
- },
- },
- MergePullRequestByFastForward: {
- input: {
- type: "structure",
- required: ["pullRequestId", "repositoryName"],
- members: {
- pullRequestId: {},
- repositoryName: {},
- sourceCommitId: {},
- },
- },
- output: {
- type: "structure",
- members: { pullRequest: { shape: "S33" } },
- },
- },
- MergePullRequestBySquash: {
- input: {
- type: "structure",
- required: ["pullRequestId", "repositoryName"],
- members: {
- pullRequestId: {},
- repositoryName: {},
- sourceCommitId: {},
- conflictDetailLevel: {},
- conflictResolutionStrategy: {},
- commitMessage: {},
- authorName: {},
- email: {},
- keepEmptyFolders: { type: "boolean" },
- conflictResolution: { shape: "S3p" },
- },
- },
- output: {
- type: "structure",
- members: { pullRequest: { shape: "S33" } },
- },
- },
- MergePullRequestByThreeWay: {
- input: {
- type: "structure",
- required: ["pullRequestId", "repositoryName"],
- members: {
- pullRequestId: {},
- repositoryName: {},
- sourceCommitId: {},
- conflictDetailLevel: {},
- conflictResolutionStrategy: {},
- commitMessage: {},
- authorName: {},
- email: {},
- keepEmptyFolders: { type: "boolean" },
- conflictResolution: { shape: "S3p" },
- },
- },
- output: {
- type: "structure",
- members: { pullRequest: { shape: "S33" } },
- },
- },
- OverridePullRequestApprovalRules: {
- input: {
- type: "structure",
- required: ["pullRequestId", "revisionId", "overrideStatus"],
- members: {
- pullRequestId: {},
- revisionId: {},
- overrideStatus: {},
- },
- },
- },
- PostCommentForComparedCommit: {
- input: {
- type: "structure",
- required: ["repositoryName", "afterCommitId", "content"],
- members: {
- repositoryName: {},
- beforeCommitId: {},
- afterCommitId: {},
- location: { shape: "S5d" },
- content: {},
- clientRequestToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- repositoryName: {},
- beforeCommitId: {},
- afterCommitId: {},
- beforeBlobId: {},
- afterBlobId: {},
- location: { shape: "S5d" },
- comment: { shape: "S42" },
- },
- },
- idempotent: true,
- },
- PostCommentForPullRequest: {
- input: {
- type: "structure",
- required: [
- "pullRequestId",
- "repositoryName",
- "beforeCommitId",
- "afterCommitId",
- "content",
- ],
- members: {
- pullRequestId: {},
- repositoryName: {},
- beforeCommitId: {},
- afterCommitId: {},
- location: { shape: "S5d" },
- content: {},
- clientRequestToken: { idempotencyToken: true },
- },
- },
- output: {
- type: "structure",
- members: {
- repositoryName: {},
- pullRequestId: {},
- beforeCommitId: {},
- afterCommitId: {},
- beforeBlobId: {},
- afterBlobId: {},
- location: { shape: "S5d" },
- comment: { shape: "S42" },
- },
- },
- idempotent: true,
- },
- PostCommentReply: {
- input: {
- type: "structure",
- required: ["inReplyTo", "content"],
- members: {
- inReplyTo: {},
- clientRequestToken: { idempotencyToken: true },
- content: {},
- },
- },
- output: {
- type: "structure",
- members: { comment: { shape: "S42" } },
- },
- idempotent: true,
- },
- PutFile: {
- input: {
- type: "structure",
- required: [
- "repositoryName",
- "branchName",
- "fileContent",
- "filePath",
- ],
- members: {
- repositoryName: {},
- branchName: {},
- fileContent: { type: "blob" },
- filePath: {},
- fileMode: {},
- parentCommitId: {},
- commitMessage: {},
- name: {},
- email: {},
- },
- },
- output: {
- type: "structure",
- required: ["commitId", "blobId", "treeId"],
- members: { commitId: {}, blobId: {}, treeId: {} },
- },
- },
- PutRepositoryTriggers: {
- input: {
- type: "structure",
- required: ["repositoryName", "triggers"],
- members: { repositoryName: {}, triggers: { shape: "S6t" } },
- },
- output: { type: "structure", members: { configurationId: {} } },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["resourceArn", "tags"],
- members: { resourceArn: {}, tags: { shape: "S3k" } },
- },
- },
- TestRepositoryTriggers: {
- input: {
- type: "structure",
- required: ["repositoryName", "triggers"],
- members: { repositoryName: {}, triggers: { shape: "S6t" } },
- },
- output: {
- type: "structure",
- members: {
- successfulExecutions: { type: "list", member: {} },
- failedExecutions: {
- type: "list",
- member: {
- type: "structure",
- members: { trigger: {}, failureMessage: {} },
- },
- },
- },
- },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["resourceArn", "tagKeys"],
- members: {
- resourceArn: {},
- tagKeys: { type: "list", member: {} },
- },
- },
- },
- UpdateApprovalRuleTemplateContent: {
- input: {
- type: "structure",
- required: ["approvalRuleTemplateName", "newRuleContent"],
- members: {
- approvalRuleTemplateName: {},
- newRuleContent: {},
- existingRuleContentSha256: {},
- },
- },
- output: {
- type: "structure",
- required: ["approvalRuleTemplate"],
- members: { approvalRuleTemplate: { shape: "S2c" } },
- },
- },
- UpdateApprovalRuleTemplateDescription: {
- input: {
- type: "structure",
- required: [
- "approvalRuleTemplateName",
- "approvalRuleTemplateDescription",
- ],
- members: {
- approvalRuleTemplateName: {},
- approvalRuleTemplateDescription: {},
- },
- },
- output: {
- type: "structure",
- required: ["approvalRuleTemplate"],
- members: { approvalRuleTemplate: { shape: "S2c" } },
- },
- },
- UpdateApprovalRuleTemplateName: {
- input: {
- type: "structure",
- required: [
- "oldApprovalRuleTemplateName",
- "newApprovalRuleTemplateName",
- ],
- members: {
- oldApprovalRuleTemplateName: {},
- newApprovalRuleTemplateName: {},
- },
- },
- output: {
- type: "structure",
- required: ["approvalRuleTemplate"],
- members: { approvalRuleTemplate: { shape: "S2c" } },
- },
- },
- UpdateComment: {
- input: {
- type: "structure",
- required: ["commentId", "content"],
- members: { commentId: {}, content: {} },
- },
- output: {
- type: "structure",
- members: { comment: { shape: "S42" } },
- },
- },
- UpdateDefaultBranch: {
- input: {
- type: "structure",
- required: ["repositoryName", "defaultBranchName"],
- members: { repositoryName: {}, defaultBranchName: {} },
- },
- },
- UpdatePullRequestApprovalRuleContent: {
- input: {
- type: "structure",
- required: ["pullRequestId", "approvalRuleName", "newRuleContent"],
- members: {
- pullRequestId: {},
- approvalRuleName: {},
- existingRuleContentSha256: {},
- newRuleContent: {},
- },
- },
- output: {
- type: "structure",
- required: ["approvalRule"],
- members: { approvalRule: { shape: "S3c" } },
- },
- },
- UpdatePullRequestApprovalState: {
- input: {
- type: "structure",
- required: ["pullRequestId", "revisionId", "approvalState"],
- members: { pullRequestId: {}, revisionId: {}, approvalState: {} },
- },
- },
- UpdatePullRequestDescription: {
- input: {
- type: "structure",
- required: ["pullRequestId", "description"],
- members: { pullRequestId: {}, description: {} },
- },
- output: {
- type: "structure",
- required: ["pullRequest"],
- members: { pullRequest: { shape: "S33" } },
- },
- },
- UpdatePullRequestStatus: {
- input: {
- type: "structure",
- required: ["pullRequestId", "pullRequestStatus"],
- members: { pullRequestId: {}, pullRequestStatus: {} },
- },
- output: {
- type: "structure",
- required: ["pullRequest"],
- members: { pullRequest: { shape: "S33" } },
- },
- },
- UpdatePullRequestTitle: {
- input: {
- type: "structure",
- required: ["pullRequestId", "title"],
- members: { pullRequestId: {}, title: {} },
- },
- output: {
- type: "structure",
- required: ["pullRequest"],
- members: { pullRequest: { shape: "S33" } },
- },
- },
- UpdateRepositoryDescription: {
- input: {
- type: "structure",
- required: ["repositoryName"],
- members: { repositoryName: {}, repositoryDescription: {} },
- },
- },
- UpdateRepositoryName: {
- input: {
- type: "structure",
- required: ["oldName", "newName"],
- members: { oldName: {}, newName: {} },
- },
- },
- },
- shapes: {
- S5: { type: "list", member: {} },
- Sn: {
- type: "structure",
- members: {
- filePath: {},
- fileSizes: {
- type: "structure",
- members: {
- source: { type: "long" },
- destination: { type: "long" },
- base: { type: "long" },
- },
- },
- fileModes: {
- type: "structure",
- members: { source: {}, destination: {}, base: {} },
- },
- objectTypes: {
- type: "structure",
- members: { source: {}, destination: {}, base: {} },
- },
- numberOfConflicts: { type: "integer" },
- isBinaryFile: {
- type: "structure",
- members: {
- source: { type: "boolean" },
- destination: { type: "boolean" },
- base: { type: "boolean" },
- },
- },
- contentConflict: { type: "boolean" },
- fileModeConflict: { type: "boolean" },
- objectTypeConflict: { type: "boolean" },
- mergeOperations: {
- type: "structure",
- members: { source: {}, destination: {} },
- },
- },
- },
- S12: {
- type: "list",
- member: {
- type: "structure",
- members: {
- isConflict: { type: "boolean" },
- source: { shape: "S15" },
- destination: { shape: "S15" },
- base: { shape: "S15" },
- },
- },
- },
- S15: {
- type: "structure",
- members: {
- startLine: { type: "integer" },
- endLine: { type: "integer" },
- hunkContent: {},
- },
- },
- S1l: {
- type: "structure",
- members: {
- commitId: {},
- treeId: {},
- parents: { type: "list", member: {} },
- message: {},
- author: { shape: "S1n" },
- committer: { shape: "S1n" },
- additionalData: {},
- },
- },
- S1n: {
- type: "structure",
- members: { name: {}, email: {}, date: {} },
- },
- S1x: {
- type: "structure",
- members: {
- accountId: {},
- repositoryId: {},
- repositoryName: {},
- repositoryDescription: {},
- defaultBranch: {},
- lastModifiedDate: { type: "timestamp" },
- creationDate: { type: "timestamp" },
- cloneUrlHttp: {},
- cloneUrlSsh: {},
- Arn: {},
- },
- },
- S2c: {
- type: "structure",
- members: {
- approvalRuleTemplateId: {},
- approvalRuleTemplateName: {},
- approvalRuleTemplateDescription: {},
- approvalRuleTemplateContent: {},
- ruleContentSha256: {},
- lastModifiedDate: { type: "timestamp" },
- creationDate: { type: "timestamp" },
- lastModifiedUser: {},
- },
- },
- S2o: {
- type: "list",
- member: {
- type: "structure",
- required: ["filePath"],
- members: { filePath: {} },
- },
- },
- S2q: {
- type: "list",
- member: {
- type: "structure",
- required: ["filePath", "fileMode"],
- members: { filePath: {}, fileMode: {} },
- },
- },
- S2t: {
- type: "list",
- member: {
- type: "structure",
- members: { absolutePath: {}, blobId: {}, fileMode: {} },
- },
- },
- S33: {
- type: "structure",
- members: {
- pullRequestId: {},
- title: {},
- description: {},
- lastActivityDate: { type: "timestamp" },
- creationDate: { type: "timestamp" },
- pullRequestStatus: {},
- authorArn: {},
- pullRequestTargets: {
- type: "list",
- member: {
- type: "structure",
- members: {
- repositoryName: {},
- sourceReference: {},
- destinationReference: {},
- destinationCommit: {},
- sourceCommit: {},
- mergeBase: {},
- mergeMetadata: { shape: "S38" },
- },
- },
- },
- clientRequestToken: {},
- revisionId: {},
- approvalRules: { type: "list", member: { shape: "S3c" } },
- },
- },
- S38: {
- type: "structure",
- members: {
- isMerged: { type: "boolean" },
- mergedBy: {},
- mergeCommitId: {},
- mergeOption: {},
- },
- },
- S3c: {
- type: "structure",
- members: {
- approvalRuleId: {},
- approvalRuleName: {},
- approvalRuleContent: {},
- ruleContentSha256: {},
- lastModifiedDate: { type: "timestamp" },
- creationDate: { type: "timestamp" },
- lastModifiedUser: {},
- originApprovalRuleTemplate: {
- type: "structure",
- members: {
- approvalRuleTemplateId: {},
- approvalRuleTemplateName: {},
- },
- },
- },
- },
- S3k: { type: "map", key: {}, value: {} },
- S3p: {
- type: "structure",
- members: {
- replaceContents: {
- type: "list",
- member: {
- type: "structure",
- required: ["filePath", "replacementType"],
- members: {
- filePath: {},
- replacementType: {},
- content: { type: "blob" },
- fileMode: {},
- },
- },
- },
- deleteFiles: { shape: "S2o" },
- setFileModes: { shape: "S2q" },
- },
- },
- S3y: { type: "structure", members: { branchName: {}, commitId: {} } },
- S42: {
- type: "structure",
- members: {
- commentId: {},
- content: {},
- inReplyTo: {},
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- authorArn: {},
- deleted: { type: "boolean" },
- clientRequestToken: {},
- },
- },
- S5d: {
- type: "structure",
- members: {
- filePath: {},
- filePosition: { type: "long" },
- relativeFileVersion: {},
- },
- },
- S5g: { type: "list", member: { shape: "S42" } },
- S5s: {
- type: "structure",
- members: { blobId: {}, path: {}, mode: {} },
- },
- S6t: {
- type: "list",
- member: {
- type: "structure",
- required: ["name", "destinationArn", "events"],
- members: {
- name: {},
- destinationArn: {},
- customData: {},
- branches: { shape: "S6x" },
- events: { type: "list", member: {} },
- },
- },
- },
- S6x: { type: "list", member: {} },
- S72: { type: "list", member: {} },
- },
- };
-
- /***/
- },
-
- /***/ 4211: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- var Service = AWS.Service;
- var apiLoader = AWS.apiLoader;
-
- apiLoader.services["polly"] = {};
- AWS.Polly = Service.defineService("polly", ["2016-06-10"]);
- __webpack_require__(1531);
- Object.defineProperty(apiLoader.services["polly"], "2016-06-10", {
- get: function get() {
- var model = __webpack_require__(3132);
- model.paginators = __webpack_require__(5902).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Polly;
-
- /***/
- },
-
- /***/ 4220: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2017-10-01",
- endpointPrefix: "workmail",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "Amazon WorkMail",
- serviceId: "WorkMail",
- signatureVersion: "v4",
- targetPrefix: "WorkMailService",
- uid: "workmail-2017-10-01",
- },
- operations: {
- AssociateDelegateToResource: {
- input: {
- type: "structure",
- required: ["OrganizationId", "ResourceId", "EntityId"],
- members: { OrganizationId: {}, ResourceId: {}, EntityId: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- AssociateMemberToGroup: {
- input: {
- type: "structure",
- required: ["OrganizationId", "GroupId", "MemberId"],
- members: { OrganizationId: {}, GroupId: {}, MemberId: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- CreateAlias: {
- input: {
- type: "structure",
- required: ["OrganizationId", "EntityId", "Alias"],
- members: { OrganizationId: {}, EntityId: {}, Alias: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- CreateGroup: {
- input: {
- type: "structure",
- required: ["OrganizationId", "Name"],
- members: { OrganizationId: {}, Name: {} },
- },
- output: { type: "structure", members: { GroupId: {} } },
- idempotent: true,
- },
- CreateResource: {
- input: {
- type: "structure",
- required: ["OrganizationId", "Name", "Type"],
- members: { OrganizationId: {}, Name: {}, Type: {} },
- },
- output: { type: "structure", members: { ResourceId: {} } },
- idempotent: true,
- },
- CreateUser: {
- input: {
- type: "structure",
- required: ["OrganizationId", "Name", "DisplayName", "Password"],
- members: {
- OrganizationId: {},
- Name: {},
- DisplayName: {},
- Password: { shape: "Sl" },
- },
- },
- output: { type: "structure", members: { UserId: {} } },
- idempotent: true,
- },
- DeleteAccessControlRule: {
- input: {
- type: "structure",
- required: ["Name"],
- members: { OrganizationId: {}, Name: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteAlias: {
- input: {
- type: "structure",
- required: ["OrganizationId", "EntityId", "Alias"],
- members: { OrganizationId: {}, EntityId: {}, Alias: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- DeleteGroup: {
- input: {
- type: "structure",
- required: ["OrganizationId", "GroupId"],
- members: { OrganizationId: {}, GroupId: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- DeleteMailboxPermissions: {
- input: {
- type: "structure",
- required: ["OrganizationId", "EntityId", "GranteeId"],
- members: { OrganizationId: {}, EntityId: {}, GranteeId: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- DeleteResource: {
- input: {
- type: "structure",
- required: ["OrganizationId", "ResourceId"],
- members: { OrganizationId: {}, ResourceId: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- DeleteUser: {
- input: {
- type: "structure",
- required: ["OrganizationId", "UserId"],
- members: { OrganizationId: {}, UserId: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- DeregisterFromWorkMail: {
- input: {
- type: "structure",
- required: ["OrganizationId", "EntityId"],
- members: { OrganizationId: {}, EntityId: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- DescribeGroup: {
- input: {
- type: "structure",
- required: ["OrganizationId", "GroupId"],
- members: { OrganizationId: {}, GroupId: {} },
- },
- output: {
- type: "structure",
- members: {
- GroupId: {},
- Name: {},
- Email: {},
- State: {},
- EnabledDate: { type: "timestamp" },
- DisabledDate: { type: "timestamp" },
- },
- },
- idempotent: true,
- },
- DescribeOrganization: {
- input: {
- type: "structure",
- required: ["OrganizationId"],
- members: { OrganizationId: {} },
- },
- output: {
- type: "structure",
- members: {
- OrganizationId: {},
- Alias: {},
- State: {},
- DirectoryId: {},
- DirectoryType: {},
- DefaultMailDomain: {},
- CompletedDate: { type: "timestamp" },
- ErrorMessage: {},
- ARN: {},
- },
- },
- idempotent: true,
- },
- DescribeResource: {
- input: {
- type: "structure",
- required: ["OrganizationId", "ResourceId"],
- members: { OrganizationId: {}, ResourceId: {} },
- },
- output: {
- type: "structure",
- members: {
- ResourceId: {},
- Email: {},
- Name: {},
- Type: {},
- BookingOptions: { shape: "S1c" },
- State: {},
- EnabledDate: { type: "timestamp" },
- DisabledDate: { type: "timestamp" },
- },
- },
- idempotent: true,
- },
- DescribeUser: {
- input: {
- type: "structure",
- required: ["OrganizationId", "UserId"],
- members: { OrganizationId: {}, UserId: {} },
- },
- output: {
- type: "structure",
- members: {
- UserId: {},
- Name: {},
- Email: {},
- DisplayName: {},
- State: {},
- UserRole: {},
- EnabledDate: { type: "timestamp" },
- DisabledDate: { type: "timestamp" },
- },
- },
- idempotent: true,
- },
- DisassociateDelegateFromResource: {
- input: {
- type: "structure",
- required: ["OrganizationId", "ResourceId", "EntityId"],
- members: { OrganizationId: {}, ResourceId: {}, EntityId: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- DisassociateMemberFromGroup: {
- input: {
- type: "structure",
- required: ["OrganizationId", "GroupId", "MemberId"],
- members: { OrganizationId: {}, GroupId: {}, MemberId: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- GetAccessControlEffect: {
- input: {
- type: "structure",
- required: ["OrganizationId", "IpAddress", "Action", "UserId"],
- members: {
- OrganizationId: {},
- IpAddress: {},
- Action: {},
- UserId: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Effect: {},
- MatchedRules: { type: "list", member: {} },
- },
- },
- },
- GetMailboxDetails: {
- input: {
- type: "structure",
- required: ["OrganizationId", "UserId"],
- members: { OrganizationId: {}, UserId: {} },
- },
- output: {
- type: "structure",
- members: {
- MailboxQuota: { type: "integer" },
- MailboxSize: { type: "double" },
- },
- },
- idempotent: true,
- },
- ListAccessControlRules: {
- input: {
- type: "structure",
- required: ["OrganizationId"],
- members: { OrganizationId: {} },
- },
- output: {
- type: "structure",
- members: {
- Rules: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- Effect: {},
- Description: {},
- IpRanges: { shape: "S20" },
- NotIpRanges: { shape: "S20" },
- Actions: { shape: "S22" },
- NotActions: { shape: "S22" },
- UserIds: { shape: "S23" },
- NotUserIds: { shape: "S23" },
- DateCreated: { type: "timestamp" },
- DateModified: { type: "timestamp" },
- },
- },
- },
- },
- },
- },
- ListAliases: {
- input: {
- type: "structure",
- required: ["OrganizationId", "EntityId"],
- members: {
- OrganizationId: {},
- EntityId: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { Aliases: { type: "list", member: {} }, NextToken: {} },
- },
- idempotent: true,
- },
- ListGroupMembers: {
- input: {
- type: "structure",
- required: ["OrganizationId", "GroupId"],
- members: {
- OrganizationId: {},
- GroupId: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Members: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Type: {},
- State: {},
- EnabledDate: { type: "timestamp" },
- DisabledDate: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- idempotent: true,
- },
- ListGroups: {
- input: {
- type: "structure",
- required: ["OrganizationId"],
- members: {
- OrganizationId: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Groups: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Email: {},
- Name: {},
- State: {},
- EnabledDate: { type: "timestamp" },
- DisabledDate: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- idempotent: true,
- },
- ListMailboxPermissions: {
- input: {
- type: "structure",
- required: ["OrganizationId", "EntityId"],
- members: {
- OrganizationId: {},
- EntityId: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Permissions: {
- type: "list",
- member: {
- type: "structure",
- required: ["GranteeId", "GranteeType", "PermissionValues"],
- members: {
- GranteeId: {},
- GranteeType: {},
- PermissionValues: { shape: "S2m" },
- },
- },
- },
- NextToken: {},
- },
- },
- idempotent: true,
- },
- ListOrganizations: {
- input: {
- type: "structure",
- members: { NextToken: {}, MaxResults: { type: "integer" } },
- },
- output: {
- type: "structure",
- members: {
- OrganizationSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- OrganizationId: {},
- Alias: {},
- ErrorMessage: {},
- State: {},
- },
- },
- },
- NextToken: {},
- },
- },
- idempotent: true,
- },
- ListResourceDelegates: {
- input: {
- type: "structure",
- required: ["OrganizationId", "ResourceId"],
- members: {
- OrganizationId: {},
- ResourceId: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Delegates: {
- type: "list",
- member: {
- type: "structure",
- required: ["Id", "Type"],
- members: { Id: {}, Type: {} },
- },
- },
- NextToken: {},
- },
- },
- idempotent: true,
- },
- ListResources: {
- input: {
- type: "structure",
- required: ["OrganizationId"],
- members: {
- OrganizationId: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Resources: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Email: {},
- Name: {},
- Type: {},
- State: {},
- EnabledDate: { type: "timestamp" },
- DisabledDate: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- idempotent: true,
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceARN"],
- members: { ResourceARN: {} },
- },
- output: { type: "structure", members: { Tags: { shape: "S32" } } },
- },
- ListUsers: {
- input: {
- type: "structure",
- required: ["OrganizationId"],
- members: {
- OrganizationId: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Users: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Email: {},
- Name: {},
- DisplayName: {},
- State: {},
- UserRole: {},
- EnabledDate: { type: "timestamp" },
- DisabledDate: { type: "timestamp" },
- },
- },
- },
- NextToken: {},
- },
- },
- idempotent: true,
- },
- PutAccessControlRule: {
- input: {
- type: "structure",
- required: ["Name", "Effect", "Description", "OrganizationId"],
- members: {
- Name: {},
- Effect: {},
- Description: {},
- IpRanges: { shape: "S20" },
- NotIpRanges: { shape: "S20" },
- Actions: { shape: "S22" },
- NotActions: { shape: "S22" },
- UserIds: { shape: "S23" },
- NotUserIds: { shape: "S23" },
- OrganizationId: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- PutMailboxPermissions: {
- input: {
- type: "structure",
- required: [
- "OrganizationId",
- "EntityId",
- "GranteeId",
- "PermissionValues",
- ],
- members: {
- OrganizationId: {},
- EntityId: {},
- GranteeId: {},
- PermissionValues: { shape: "S2m" },
- },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- RegisterToWorkMail: {
- input: {
- type: "structure",
- required: ["OrganizationId", "EntityId", "Email"],
- members: { OrganizationId: {}, EntityId: {}, Email: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- ResetPassword: {
- input: {
- type: "structure",
- required: ["OrganizationId", "UserId", "Password"],
- members: {
- OrganizationId: {},
- UserId: {},
- Password: { shape: "Sl" },
- },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "Tags"],
- members: { ResourceARN: {}, Tags: { shape: "S32" } },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "TagKeys"],
- members: {
- ResourceARN: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateMailboxQuota: {
- input: {
- type: "structure",
- required: ["OrganizationId", "UserId", "MailboxQuota"],
- members: {
- OrganizationId: {},
- UserId: {},
- MailboxQuota: { type: "integer" },
- },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- UpdatePrimaryEmailAddress: {
- input: {
- type: "structure",
- required: ["OrganizationId", "EntityId", "Email"],
- members: { OrganizationId: {}, EntityId: {}, Email: {} },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- UpdateResource: {
- input: {
- type: "structure",
- required: ["OrganizationId", "ResourceId"],
- members: {
- OrganizationId: {},
- ResourceId: {},
- Name: {},
- BookingOptions: { shape: "S1c" },
- },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- },
- shapes: {
- Sl: { type: "string", sensitive: true },
- S1c: {
- type: "structure",
- members: {
- AutoAcceptRequests: { type: "boolean" },
- AutoDeclineRecurringRequests: { type: "boolean" },
- AutoDeclineConflictingRequests: { type: "boolean" },
- },
- },
- S20: { type: "list", member: {} },
- S22: { type: "list", member: {} },
- S23: { type: "list", member: {} },
- S2m: { type: "list", member: {} },
- S32: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 4221: /***/ function (module) {
- module.exports = {
- pagination: {
- DescribeRemediationExceptions: {
- input_token: "NextToken",
- limit_key: "Limit",
- output_token: "NextToken",
- },
- DescribeRemediationExecutionStatus: {
- input_token: "NextToken",
- limit_key: "Limit",
- output_token: "NextToken",
- result_key: "RemediationExecutionStatuses",
- },
- GetResourceConfigHistory: {
- input_token: "nextToken",
- limit_key: "limit",
- output_token: "nextToken",
- result_key: "configurationItems",
- },
- SelectAggregateResourceConfig: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- },
- },
- };
-
- /***/
- },
-
- /***/ 4227: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(7684);
- model.paginators = __webpack_require__(6288).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.CloudWatchLogs;
-
- /***/
- },
-
- /***/ 4237: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2013-02-12",
- endpointPrefix: "rds",
- protocol: "query",
- serviceAbbreviation: "Amazon RDS",
- serviceFullName: "Amazon Relational Database Service",
- serviceId: "RDS",
- signatureVersion: "v4",
- uid: "rds-2013-02-12",
- xmlNamespace: "http://rds.amazonaws.com/doc/2013-02-12/",
- },
- operations: {
- AddSourceIdentifierToSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName", "SourceIdentifier"],
- members: { SubscriptionName: {}, SourceIdentifier: {} },
- },
- output: {
- resultWrapper: "AddSourceIdentifierToSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S4" } },
- },
- },
- AddTagsToResource: {
- input: {
- type: "structure",
- required: ["ResourceName", "Tags"],
- members: { ResourceName: {}, Tags: { shape: "S9" } },
- },
- },
- AuthorizeDBSecurityGroupIngress: {
- input: {
- type: "structure",
- required: ["DBSecurityGroupName"],
- members: {
- DBSecurityGroupName: {},
- CIDRIP: {},
- EC2SecurityGroupName: {},
- EC2SecurityGroupId: {},
- EC2SecurityGroupOwnerId: {},
- },
- },
- output: {
- resultWrapper: "AuthorizeDBSecurityGroupIngressResult",
- type: "structure",
- members: { DBSecurityGroup: { shape: "Sd" } },
- },
- },
- CopyDBSnapshot: {
- input: {
- type: "structure",
- required: [
- "SourceDBSnapshotIdentifier",
- "TargetDBSnapshotIdentifier",
- ],
- members: {
- SourceDBSnapshotIdentifier: {},
- TargetDBSnapshotIdentifier: {},
- },
- },
- output: {
- resultWrapper: "CopyDBSnapshotResult",
- type: "structure",
- members: { DBSnapshot: { shape: "Sk" } },
- },
- },
- CreateDBInstance: {
- input: {
- type: "structure",
- required: [
- "DBInstanceIdentifier",
- "AllocatedStorage",
- "DBInstanceClass",
- "Engine",
- "MasterUsername",
- "MasterUserPassword",
- ],
- members: {
- DBName: {},
- DBInstanceIdentifier: {},
- AllocatedStorage: { type: "integer" },
- DBInstanceClass: {},
- Engine: {},
- MasterUsername: {},
- MasterUserPassword: {},
- DBSecurityGroups: { shape: "Sp" },
- VpcSecurityGroupIds: { shape: "Sq" },
- AvailabilityZone: {},
- DBSubnetGroupName: {},
- PreferredMaintenanceWindow: {},
- DBParameterGroupName: {},
- BackupRetentionPeriod: { type: "integer" },
- PreferredBackupWindow: {},
- Port: { type: "integer" },
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- LicenseModel: {},
- Iops: { type: "integer" },
- OptionGroupName: {},
- CharacterSetName: {},
- PubliclyAccessible: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "CreateDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "St" } },
- },
- },
- CreateDBInstanceReadReplica: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier", "SourceDBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- SourceDBInstanceIdentifier: {},
- DBInstanceClass: {},
- AvailabilityZone: {},
- Port: { type: "integer" },
- AutoMinorVersionUpgrade: { type: "boolean" },
- Iops: { type: "integer" },
- OptionGroupName: {},
- PubliclyAccessible: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "CreateDBInstanceReadReplicaResult",
- type: "structure",
- members: { DBInstance: { shape: "St" } },
- },
- },
- CreateDBParameterGroup: {
- input: {
- type: "structure",
- required: [
- "DBParameterGroupName",
- "DBParameterGroupFamily",
- "Description",
- ],
- members: {
- DBParameterGroupName: {},
- DBParameterGroupFamily: {},
- Description: {},
- },
- },
- output: {
- resultWrapper: "CreateDBParameterGroupResult",
- type: "structure",
- members: { DBParameterGroup: { shape: "S1d" } },
- },
- },
- CreateDBSecurityGroup: {
- input: {
- type: "structure",
- required: ["DBSecurityGroupName", "DBSecurityGroupDescription"],
- members: {
- DBSecurityGroupName: {},
- DBSecurityGroupDescription: {},
- },
- },
- output: {
- resultWrapper: "CreateDBSecurityGroupResult",
- type: "structure",
- members: { DBSecurityGroup: { shape: "Sd" } },
- },
- },
- CreateDBSnapshot: {
- input: {
- type: "structure",
- required: ["DBSnapshotIdentifier", "DBInstanceIdentifier"],
- members: { DBSnapshotIdentifier: {}, DBInstanceIdentifier: {} },
- },
- output: {
- resultWrapper: "CreateDBSnapshotResult",
- type: "structure",
- members: { DBSnapshot: { shape: "Sk" } },
- },
- },
- CreateDBSubnetGroup: {
- input: {
- type: "structure",
- required: [
- "DBSubnetGroupName",
- "DBSubnetGroupDescription",
- "SubnetIds",
- ],
- members: {
- DBSubnetGroupName: {},
- DBSubnetGroupDescription: {},
- SubnetIds: { shape: "S1j" },
- },
- },
- output: {
- resultWrapper: "CreateDBSubnetGroupResult",
- type: "structure",
- members: { DBSubnetGroup: { shape: "S11" } },
- },
- },
- CreateEventSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName", "SnsTopicArn"],
- members: {
- SubscriptionName: {},
- SnsTopicArn: {},
- SourceType: {},
- EventCategories: { shape: "S6" },
- SourceIds: { shape: "S5" },
- Enabled: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "CreateEventSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S4" } },
- },
- },
- CreateOptionGroup: {
- input: {
- type: "structure",
- required: [
- "OptionGroupName",
- "EngineName",
- "MajorEngineVersion",
- "OptionGroupDescription",
- ],
- members: {
- OptionGroupName: {},
- EngineName: {},
- MajorEngineVersion: {},
- OptionGroupDescription: {},
- },
- },
- output: {
- resultWrapper: "CreateOptionGroupResult",
- type: "structure",
- members: { OptionGroup: { shape: "S1p" } },
- },
- },
- DeleteDBInstance: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- SkipFinalSnapshot: { type: "boolean" },
- FinalDBSnapshotIdentifier: {},
- },
- },
- output: {
- resultWrapper: "DeleteDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "St" } },
- },
- },
- DeleteDBParameterGroup: {
- input: {
- type: "structure",
- required: ["DBParameterGroupName"],
- members: { DBParameterGroupName: {} },
- },
- },
- DeleteDBSecurityGroup: {
- input: {
- type: "structure",
- required: ["DBSecurityGroupName"],
- members: { DBSecurityGroupName: {} },
- },
- },
- DeleteDBSnapshot: {
- input: {
- type: "structure",
- required: ["DBSnapshotIdentifier"],
- members: { DBSnapshotIdentifier: {} },
- },
- output: {
- resultWrapper: "DeleteDBSnapshotResult",
- type: "structure",
- members: { DBSnapshot: { shape: "Sk" } },
- },
- },
- DeleteDBSubnetGroup: {
- input: {
- type: "structure",
- required: ["DBSubnetGroupName"],
- members: { DBSubnetGroupName: {} },
- },
- },
- DeleteEventSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName"],
- members: { SubscriptionName: {} },
- },
- output: {
- resultWrapper: "DeleteEventSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S4" } },
- },
- },
- DeleteOptionGroup: {
- input: {
- type: "structure",
- required: ["OptionGroupName"],
- members: { OptionGroupName: {} },
- },
- },
- DescribeDBEngineVersions: {
- input: {
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- DBParameterGroupFamily: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- DefaultOnly: { type: "boolean" },
- ListSupportedCharacterSets: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeDBEngineVersionsResult",
- type: "structure",
- members: {
- Marker: {},
- DBEngineVersions: {
- type: "list",
- member: {
- locationName: "DBEngineVersion",
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- DBParameterGroupFamily: {},
- DBEngineDescription: {},
- DBEngineVersionDescription: {},
- DefaultCharacterSet: { shape: "S28" },
- SupportedCharacterSets: {
- type: "list",
- member: { shape: "S28", locationName: "CharacterSet" },
- },
- },
- },
- },
- },
- },
- },
- DescribeDBInstances: {
- input: {
- type: "structure",
- members: {
- DBInstanceIdentifier: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBInstancesResult",
- type: "structure",
- members: {
- Marker: {},
- DBInstances: {
- type: "list",
- member: { shape: "St", locationName: "DBInstance" },
- },
- },
- },
- },
- DescribeDBLogFiles: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- FilenameContains: {},
- FileLastWritten: { type: "long" },
- FileSize: { type: "long" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBLogFilesResult",
- type: "structure",
- members: {
- DescribeDBLogFiles: {
- type: "list",
- member: {
- locationName: "DescribeDBLogFilesDetails",
- type: "structure",
- members: {
- LogFileName: {},
- LastWritten: { type: "long" },
- Size: { type: "long" },
- },
- },
- },
- Marker: {},
- },
- },
- },
- DescribeDBParameterGroups: {
- input: {
- type: "structure",
- members: {
- DBParameterGroupName: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBParameterGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- DBParameterGroups: {
- type: "list",
- member: { shape: "S1d", locationName: "DBParameterGroup" },
- },
- },
- },
- },
- DescribeDBParameters: {
- input: {
- type: "structure",
- required: ["DBParameterGroupName"],
- members: {
- DBParameterGroupName: {},
- Source: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBParametersResult",
- type: "structure",
- members: { Parameters: { shape: "S2n" }, Marker: {} },
- },
- },
- DescribeDBSecurityGroups: {
- input: {
- type: "structure",
- members: {
- DBSecurityGroupName: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBSecurityGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- DBSecurityGroups: {
- type: "list",
- member: { shape: "Sd", locationName: "DBSecurityGroup" },
- },
- },
- },
- },
- DescribeDBSnapshots: {
- input: {
- type: "structure",
- members: {
- DBInstanceIdentifier: {},
- DBSnapshotIdentifier: {},
- SnapshotType: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBSnapshotsResult",
- type: "structure",
- members: {
- Marker: {},
- DBSnapshots: {
- type: "list",
- member: { shape: "Sk", locationName: "DBSnapshot" },
- },
- },
- },
- },
- DescribeDBSubnetGroups: {
- input: {
- type: "structure",
- members: {
- DBSubnetGroupName: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeDBSubnetGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- DBSubnetGroups: {
- type: "list",
- member: { shape: "S11", locationName: "DBSubnetGroup" },
- },
- },
- },
- },
- DescribeEngineDefaultParameters: {
- input: {
- type: "structure",
- required: ["DBParameterGroupFamily"],
- members: {
- DBParameterGroupFamily: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEngineDefaultParametersResult",
- type: "structure",
- members: {
- EngineDefaults: {
- type: "structure",
- members: {
- DBParameterGroupFamily: {},
- Marker: {},
- Parameters: { shape: "S2n" },
- },
- wrapper: true,
- },
- },
- },
- },
- DescribeEventCategories: {
- input: { type: "structure", members: { SourceType: {} } },
- output: {
- resultWrapper: "DescribeEventCategoriesResult",
- type: "structure",
- members: {
- EventCategoriesMapList: {
- type: "list",
- member: {
- locationName: "EventCategoriesMap",
- type: "structure",
- members: {
- SourceType: {},
- EventCategories: { shape: "S6" },
- },
- wrapper: true,
- },
- },
- },
- },
- },
- DescribeEventSubscriptions: {
- input: {
- type: "structure",
- members: {
- SubscriptionName: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEventSubscriptionsResult",
- type: "structure",
- members: {
- Marker: {},
- EventSubscriptionsList: {
- type: "list",
- member: { shape: "S4", locationName: "EventSubscription" },
- },
- },
- },
- },
- DescribeEvents: {
- input: {
- type: "structure",
- members: {
- SourceIdentifier: {},
- SourceType: {},
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Duration: { type: "integer" },
- EventCategories: { shape: "S6" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEventsResult",
- type: "structure",
- members: {
- Marker: {},
- Events: {
- type: "list",
- member: {
- locationName: "Event",
- type: "structure",
- members: {
- SourceIdentifier: {},
- SourceType: {},
- Message: {},
- EventCategories: { shape: "S6" },
- Date: { type: "timestamp" },
- },
- },
- },
- },
- },
- },
- DescribeOptionGroupOptions: {
- input: {
- type: "structure",
- required: ["EngineName"],
- members: {
- EngineName: {},
- MajorEngineVersion: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeOptionGroupOptionsResult",
- type: "structure",
- members: {
- OptionGroupOptions: {
- type: "list",
- member: {
- locationName: "OptionGroupOption",
- type: "structure",
- members: {
- Name: {},
- Description: {},
- EngineName: {},
- MajorEngineVersion: {},
- MinimumRequiredMinorEngineVersion: {},
- PortRequired: { type: "boolean" },
- DefaultPort: { type: "integer" },
- OptionsDependedOn: {
- type: "list",
- member: { locationName: "OptionName" },
- },
- Persistent: { type: "boolean" },
- OptionGroupOptionSettings: {
- type: "list",
- member: {
- locationName: "OptionGroupOptionSetting",
- type: "structure",
- members: {
- SettingName: {},
- SettingDescription: {},
- DefaultValue: {},
- ApplyType: {},
- AllowedValues: {},
- IsModifiable: { type: "boolean" },
- },
- },
- },
- },
- },
- },
- Marker: {},
- },
- },
- },
- DescribeOptionGroups: {
- input: {
- type: "structure",
- members: {
- OptionGroupName: {},
- Marker: {},
- MaxRecords: { type: "integer" },
- EngineName: {},
- MajorEngineVersion: {},
- },
- },
- output: {
- resultWrapper: "DescribeOptionGroupsResult",
- type: "structure",
- members: {
- OptionGroupsList: {
- type: "list",
- member: { shape: "S1p", locationName: "OptionGroup" },
- },
- Marker: {},
- },
- },
- },
- DescribeOrderableDBInstanceOptions: {
- input: {
- type: "structure",
- required: ["Engine"],
- members: {
- Engine: {},
- EngineVersion: {},
- DBInstanceClass: {},
- LicenseModel: {},
- Vpc: { type: "boolean" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeOrderableDBInstanceOptionsResult",
- type: "structure",
- members: {
- OrderableDBInstanceOptions: {
- type: "list",
- member: {
- locationName: "OrderableDBInstanceOption",
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- DBInstanceClass: {},
- LicenseModel: {},
- AvailabilityZones: {
- type: "list",
- member: {
- shape: "S14",
- locationName: "AvailabilityZone",
- },
- },
- MultiAZCapable: { type: "boolean" },
- ReadReplicaCapable: { type: "boolean" },
- Vpc: { type: "boolean" },
- },
- wrapper: true,
- },
- },
- Marker: {},
- },
- },
- },
- DescribeReservedDBInstances: {
- input: {
- type: "structure",
- members: {
- ReservedDBInstanceId: {},
- ReservedDBInstancesOfferingId: {},
- DBInstanceClass: {},
- Duration: {},
- ProductDescription: {},
- OfferingType: {},
- MultiAZ: { type: "boolean" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeReservedDBInstancesResult",
- type: "structure",
- members: {
- Marker: {},
- ReservedDBInstances: {
- type: "list",
- member: { shape: "S3w", locationName: "ReservedDBInstance" },
- },
- },
- },
- },
- DescribeReservedDBInstancesOfferings: {
- input: {
- type: "structure",
- members: {
- ReservedDBInstancesOfferingId: {},
- DBInstanceClass: {},
- Duration: {},
- ProductDescription: {},
- OfferingType: {},
- MultiAZ: { type: "boolean" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeReservedDBInstancesOfferingsResult",
- type: "structure",
- members: {
- Marker: {},
- ReservedDBInstancesOfferings: {
- type: "list",
- member: {
- locationName: "ReservedDBInstancesOffering",
- type: "structure",
- members: {
- ReservedDBInstancesOfferingId: {},
- DBInstanceClass: {},
- Duration: { type: "integer" },
- FixedPrice: { type: "double" },
- UsagePrice: { type: "double" },
- CurrencyCode: {},
- ProductDescription: {},
- OfferingType: {},
- MultiAZ: { type: "boolean" },
- RecurringCharges: { shape: "S3y" },
- },
- wrapper: true,
- },
- },
- },
- },
- },
- DownloadDBLogFilePortion: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier", "LogFileName"],
- members: {
- DBInstanceIdentifier: {},
- LogFileName: {},
- Marker: {},
- NumberOfLines: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "DownloadDBLogFilePortionResult",
- type: "structure",
- members: {
- LogFileData: {},
- Marker: {},
- AdditionalDataPending: { type: "boolean" },
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceName"],
- members: { ResourceName: {} },
- },
- output: {
- resultWrapper: "ListTagsForResourceResult",
- type: "structure",
- members: { TagList: { shape: "S9" } },
- },
- },
- ModifyDBInstance: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- AllocatedStorage: { type: "integer" },
- DBInstanceClass: {},
- DBSecurityGroups: { shape: "Sp" },
- VpcSecurityGroupIds: { shape: "Sq" },
- ApplyImmediately: { type: "boolean" },
- MasterUserPassword: {},
- DBParameterGroupName: {},
- BackupRetentionPeriod: { type: "integer" },
- PreferredBackupWindow: {},
- PreferredMaintenanceWindow: {},
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- AllowMajorVersionUpgrade: { type: "boolean" },
- AutoMinorVersionUpgrade: { type: "boolean" },
- Iops: { type: "integer" },
- OptionGroupName: {},
- NewDBInstanceIdentifier: {},
- },
- },
- output: {
- resultWrapper: "ModifyDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "St" } },
- },
- },
- ModifyDBParameterGroup: {
- input: {
- type: "structure",
- required: ["DBParameterGroupName", "Parameters"],
- members: {
- DBParameterGroupName: {},
- Parameters: { shape: "S2n" },
- },
- },
- output: {
- shape: "S4b",
- resultWrapper: "ModifyDBParameterGroupResult",
- },
- },
- ModifyDBSubnetGroup: {
- input: {
- type: "structure",
- required: ["DBSubnetGroupName", "SubnetIds"],
- members: {
- DBSubnetGroupName: {},
- DBSubnetGroupDescription: {},
- SubnetIds: { shape: "S1j" },
- },
- },
- output: {
- resultWrapper: "ModifyDBSubnetGroupResult",
- type: "structure",
- members: { DBSubnetGroup: { shape: "S11" } },
- },
- },
- ModifyEventSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName"],
- members: {
- SubscriptionName: {},
- SnsTopicArn: {},
- SourceType: {},
- EventCategories: { shape: "S6" },
- Enabled: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "ModifyEventSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S4" } },
- },
- },
- ModifyOptionGroup: {
- input: {
- type: "structure",
- required: ["OptionGroupName"],
- members: {
- OptionGroupName: {},
- OptionsToInclude: {
- type: "list",
- member: {
- locationName: "OptionConfiguration",
- type: "structure",
- required: ["OptionName"],
- members: {
- OptionName: {},
- Port: { type: "integer" },
- DBSecurityGroupMemberships: { shape: "Sp" },
- VpcSecurityGroupMemberships: { shape: "Sq" },
- OptionSettings: {
- type: "list",
- member: { shape: "S1t", locationName: "OptionSetting" },
- },
- },
- },
- },
- OptionsToRemove: { type: "list", member: {} },
- ApplyImmediately: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "ModifyOptionGroupResult",
- type: "structure",
- members: { OptionGroup: { shape: "S1p" } },
- },
- },
- PromoteReadReplica: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- BackupRetentionPeriod: { type: "integer" },
- PreferredBackupWindow: {},
- },
- },
- output: {
- resultWrapper: "PromoteReadReplicaResult",
- type: "structure",
- members: { DBInstance: { shape: "St" } },
- },
- },
- PurchaseReservedDBInstancesOffering: {
- input: {
- type: "structure",
- required: ["ReservedDBInstancesOfferingId"],
- members: {
- ReservedDBInstancesOfferingId: {},
- ReservedDBInstanceId: {},
- DBInstanceCount: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "PurchaseReservedDBInstancesOfferingResult",
- type: "structure",
- members: { ReservedDBInstance: { shape: "S3w" } },
- },
- },
- RebootDBInstance: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- ForceFailover: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "RebootDBInstanceResult",
- type: "structure",
- members: { DBInstance: { shape: "St" } },
- },
- },
- RemoveSourceIdentifierFromSubscription: {
- input: {
- type: "structure",
- required: ["SubscriptionName", "SourceIdentifier"],
- members: { SubscriptionName: {}, SourceIdentifier: {} },
- },
- output: {
- resultWrapper: "RemoveSourceIdentifierFromSubscriptionResult",
- type: "structure",
- members: { EventSubscription: { shape: "S4" } },
- },
- },
- RemoveTagsFromResource: {
- input: {
- type: "structure",
- required: ["ResourceName", "TagKeys"],
- members: {
- ResourceName: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- },
- ResetDBParameterGroup: {
- input: {
- type: "structure",
- required: ["DBParameterGroupName"],
- members: {
- DBParameterGroupName: {},
- ResetAllParameters: { type: "boolean" },
- Parameters: { shape: "S2n" },
- },
- },
- output: {
- shape: "S4b",
- resultWrapper: "ResetDBParameterGroupResult",
- },
- },
- RestoreDBInstanceFromDBSnapshot: {
- input: {
- type: "structure",
- required: ["DBInstanceIdentifier", "DBSnapshotIdentifier"],
- members: {
- DBInstanceIdentifier: {},
- DBSnapshotIdentifier: {},
- DBInstanceClass: {},
- Port: { type: "integer" },
- AvailabilityZone: {},
- DBSubnetGroupName: {},
- MultiAZ: { type: "boolean" },
- PubliclyAccessible: { type: "boolean" },
- AutoMinorVersionUpgrade: { type: "boolean" },
- LicenseModel: {},
- DBName: {},
- Engine: {},
- Iops: { type: "integer" },
- OptionGroupName: {},
- },
- },
- output: {
- resultWrapper: "RestoreDBInstanceFromDBSnapshotResult",
- type: "structure",
- members: { DBInstance: { shape: "St" } },
- },
- },
- RestoreDBInstanceToPointInTime: {
- input: {
- type: "structure",
- required: [
- "SourceDBInstanceIdentifier",
- "TargetDBInstanceIdentifier",
- ],
- members: {
- SourceDBInstanceIdentifier: {},
- TargetDBInstanceIdentifier: {},
- RestoreTime: { type: "timestamp" },
- UseLatestRestorableTime: { type: "boolean" },
- DBInstanceClass: {},
- Port: { type: "integer" },
- AvailabilityZone: {},
- DBSubnetGroupName: {},
- MultiAZ: { type: "boolean" },
- PubliclyAccessible: { type: "boolean" },
- AutoMinorVersionUpgrade: { type: "boolean" },
- LicenseModel: {},
- DBName: {},
- Engine: {},
- Iops: { type: "integer" },
- OptionGroupName: {},
- },
- },
- output: {
- resultWrapper: "RestoreDBInstanceToPointInTimeResult",
- type: "structure",
- members: { DBInstance: { shape: "St" } },
- },
- },
- RevokeDBSecurityGroupIngress: {
- input: {
- type: "structure",
- required: ["DBSecurityGroupName"],
- members: {
- DBSecurityGroupName: {},
- CIDRIP: {},
- EC2SecurityGroupName: {},
- EC2SecurityGroupId: {},
- EC2SecurityGroupOwnerId: {},
- },
- },
- output: {
- resultWrapper: "RevokeDBSecurityGroupIngressResult",
- type: "structure",
- members: { DBSecurityGroup: { shape: "Sd" } },
- },
- },
- },
- shapes: {
- S4: {
- type: "structure",
- members: {
- CustomerAwsId: {},
- CustSubscriptionId: {},
- SnsTopicArn: {},
- Status: {},
- SubscriptionCreationTime: {},
- SourceType: {},
- SourceIdsList: { shape: "S5" },
- EventCategoriesList: { shape: "S6" },
- Enabled: { type: "boolean" },
- },
- wrapper: true,
- },
- S5: { type: "list", member: { locationName: "SourceId" } },
- S6: { type: "list", member: { locationName: "EventCategory" } },
- S9: {
- type: "list",
- member: {
- locationName: "Tag",
- type: "structure",
- members: { Key: {}, Value: {} },
- },
- },
- Sd: {
- type: "structure",
- members: {
- OwnerId: {},
- DBSecurityGroupName: {},
- DBSecurityGroupDescription: {},
- VpcId: {},
- EC2SecurityGroups: {
- type: "list",
- member: {
- locationName: "EC2SecurityGroup",
- type: "structure",
- members: {
- Status: {},
- EC2SecurityGroupName: {},
- EC2SecurityGroupId: {},
- EC2SecurityGroupOwnerId: {},
- },
- },
- },
- IPRanges: {
- type: "list",
- member: {
- locationName: "IPRange",
- type: "structure",
- members: { Status: {}, CIDRIP: {} },
- },
- },
- },
- wrapper: true,
- },
- Sk: {
- type: "structure",
- members: {
- DBSnapshotIdentifier: {},
- DBInstanceIdentifier: {},
- SnapshotCreateTime: { type: "timestamp" },
- Engine: {},
- AllocatedStorage: { type: "integer" },
- Status: {},
- Port: { type: "integer" },
- AvailabilityZone: {},
- VpcId: {},
- InstanceCreateTime: { type: "timestamp" },
- MasterUsername: {},
- EngineVersion: {},
- LicenseModel: {},
- SnapshotType: {},
- Iops: { type: "integer" },
- OptionGroupName: {},
- },
- wrapper: true,
- },
- Sp: { type: "list", member: { locationName: "DBSecurityGroupName" } },
- Sq: { type: "list", member: { locationName: "VpcSecurityGroupId" } },
- St: {
- type: "structure",
- members: {
- DBInstanceIdentifier: {},
- DBInstanceClass: {},
- Engine: {},
- DBInstanceStatus: {},
- MasterUsername: {},
- DBName: {},
- Endpoint: {
- type: "structure",
- members: { Address: {}, Port: { type: "integer" } },
- },
- AllocatedStorage: { type: "integer" },
- InstanceCreateTime: { type: "timestamp" },
- PreferredBackupWindow: {},
- BackupRetentionPeriod: { type: "integer" },
- DBSecurityGroups: { shape: "Sv" },
- VpcSecurityGroups: { shape: "Sx" },
- DBParameterGroups: {
- type: "list",
- member: {
- locationName: "DBParameterGroup",
- type: "structure",
- members: {
- DBParameterGroupName: {},
- ParameterApplyStatus: {},
- },
- },
- },
- AvailabilityZone: {},
- DBSubnetGroup: { shape: "S11" },
- PreferredMaintenanceWindow: {},
- PendingModifiedValues: {
- type: "structure",
- members: {
- DBInstanceClass: {},
- AllocatedStorage: { type: "integer" },
- MasterUserPassword: {},
- Port: { type: "integer" },
- BackupRetentionPeriod: { type: "integer" },
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- Iops: { type: "integer" },
- DBInstanceIdentifier: {},
- },
- },
- LatestRestorableTime: { type: "timestamp" },
- MultiAZ: { type: "boolean" },
- EngineVersion: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- ReadReplicaSourceDBInstanceIdentifier: {},
- ReadReplicaDBInstanceIdentifiers: {
- type: "list",
- member: { locationName: "ReadReplicaDBInstanceIdentifier" },
- },
- LicenseModel: {},
- Iops: { type: "integer" },
- OptionGroupMemberships: {
- type: "list",
- member: {
- locationName: "OptionGroupMembership",
- type: "structure",
- members: { OptionGroupName: {}, Status: {} },
- },
- },
- CharacterSetName: {},
- SecondaryAvailabilityZone: {},
- PubliclyAccessible: { type: "boolean" },
- },
- wrapper: true,
- },
- Sv: {
- type: "list",
- member: {
- locationName: "DBSecurityGroup",
- type: "structure",
- members: { DBSecurityGroupName: {}, Status: {} },
- },
- },
- Sx: {
- type: "list",
- member: {
- locationName: "VpcSecurityGroupMembership",
- type: "structure",
- members: { VpcSecurityGroupId: {}, Status: {} },
- },
- },
- S11: {
- type: "structure",
- members: {
- DBSubnetGroupName: {},
- DBSubnetGroupDescription: {},
- VpcId: {},
- SubnetGroupStatus: {},
- Subnets: {
- type: "list",
- member: {
- locationName: "Subnet",
- type: "structure",
- members: {
- SubnetIdentifier: {},
- SubnetAvailabilityZone: { shape: "S14" },
- SubnetStatus: {},
- },
- },
- },
- },
- wrapper: true,
- },
- S14: {
- type: "structure",
- members: { Name: {}, ProvisionedIopsCapable: { type: "boolean" } },
- wrapper: true,
- },
- S1d: {
- type: "structure",
- members: {
- DBParameterGroupName: {},
- DBParameterGroupFamily: {},
- Description: {},
- },
- wrapper: true,
- },
- S1j: { type: "list", member: { locationName: "SubnetIdentifier" } },
- S1p: {
- type: "structure",
- members: {
- OptionGroupName: {},
- OptionGroupDescription: {},
- EngineName: {},
- MajorEngineVersion: {},
- Options: {
- type: "list",
- member: {
- locationName: "Option",
- type: "structure",
- members: {
- OptionName: {},
- OptionDescription: {},
- Persistent: { type: "boolean" },
- Port: { type: "integer" },
- OptionSettings: {
- type: "list",
- member: { shape: "S1t", locationName: "OptionSetting" },
- },
- DBSecurityGroupMemberships: { shape: "Sv" },
- VpcSecurityGroupMemberships: { shape: "Sx" },
- },
- },
- },
- AllowsVpcAndNonVpcInstanceMemberships: { type: "boolean" },
- VpcId: {},
- },
- wrapper: true,
- },
- S1t: {
- type: "structure",
- members: {
- Name: {},
- Value: {},
- DefaultValue: {},
- Description: {},
- ApplyType: {},
- DataType: {},
- AllowedValues: {},
- IsModifiable: { type: "boolean" },
- IsCollection: { type: "boolean" },
- },
- },
- S28: {
- type: "structure",
- members: { CharacterSetName: {}, CharacterSetDescription: {} },
- },
- S2n: {
- type: "list",
- member: {
- locationName: "Parameter",
- type: "structure",
- members: {
- ParameterName: {},
- ParameterValue: {},
- Description: {},
- Source: {},
- ApplyType: {},
- DataType: {},
- AllowedValues: {},
- IsModifiable: { type: "boolean" },
- MinimumEngineVersion: {},
- ApplyMethod: {},
- },
- },
- },
- S3w: {
- type: "structure",
- members: {
- ReservedDBInstanceId: {},
- ReservedDBInstancesOfferingId: {},
- DBInstanceClass: {},
- StartTime: { type: "timestamp" },
- Duration: { type: "integer" },
- FixedPrice: { type: "double" },
- UsagePrice: { type: "double" },
- CurrencyCode: {},
- DBInstanceCount: { type: "integer" },
- ProductDescription: {},
- OfferingType: {},
- MultiAZ: { type: "boolean" },
- State: {},
- RecurringCharges: { shape: "S3y" },
- },
- wrapper: true,
- },
- S3y: {
- type: "list",
- member: {
- locationName: "RecurringCharge",
- type: "structure",
- members: {
- RecurringChargeAmount: { type: "double" },
- RecurringChargeFrequency: {},
- },
- wrapper: true,
- },
- },
- S4b: { type: "structure", members: { DBParameterGroupName: {} } },
- },
- };
-
- /***/
- },
-
- /***/ 4238: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
-
- // pull in CloudFront signer
- __webpack_require__(1647);
-
- AWS.util.update(AWS.CloudFront.prototype, {
- setupRequestListeners: function setupRequestListeners(request) {
- request.addListener("extractData", AWS.util.hoistPayloadMember);
- },
- });
-
- /***/
- },
-
- /***/ 4252: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 4258: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5340);
- model.paginators = __webpack_require__(9732).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.WAF;
-
- /***/
- },
-
- /***/ 4281: /***/ function (
- __unusedmodule,
- __unusedexports,
- __webpack_require__
- ) {
- var AWS = __webpack_require__(395);
- 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);
- },
- });
-
- /***/
- },
-
- /***/ 4289: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2019-06-30",
- endpointPrefix: "migrationhub-config",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "AWS Migration Hub Config",
- serviceId: "MigrationHub Config",
- signatureVersion: "v4",
- signingName: "mgh",
- targetPrefix: "AWSMigrationHubMultiAccountService",
- uid: "migrationhub-config-2019-06-30",
- },
- operations: {
- CreateHomeRegionControl: {
- input: {
- type: "structure",
- required: ["HomeRegion", "Target"],
- members: {
- HomeRegion: {},
- Target: { shape: "S3" },
- DryRun: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { HomeRegionControl: { shape: "S8" } },
- },
- },
- DescribeHomeRegionControls: {
- input: {
- type: "structure",
- members: {
- ControlId: {},
- HomeRegion: {},
- Target: { shape: "S3" },
- MaxResults: { type: "integer" },
- NextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- HomeRegionControls: { type: "list", member: { shape: "S8" } },
- NextToken: {},
- },
- },
- },
- GetHomeRegion: {
- input: { type: "structure", members: {} },
- output: { type: "structure", members: { HomeRegion: {} } },
- },
- },
- shapes: {
- S3: {
- type: "structure",
- required: ["Type"],
- members: { Type: {}, Id: {} },
- },
- S8: {
- type: "structure",
- members: {
- ControlId: {},
- HomeRegion: {},
- Target: { shape: "S3" },
- RequestedTime: { type: "timestamp" },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 4290: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(2053);
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Greengrass;
-
- /***/
- },
-
- /***/ 4293: /***/ function (module) {
- module.exports = require("buffer");
-
- /***/
- },
-
- /***/ 4303: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- LoadBalancerExists: {
- delay: 15,
- operation: "DescribeLoadBalancers",
- maxAttempts: 40,
- acceptors: [
- { matcher: "status", expected: 200, state: "success" },
- {
- matcher: "error",
- expected: "LoadBalancerNotFound",
- state: "retry",
- },
- ],
- },
- LoadBalancerAvailable: {
- delay: 15,
- operation: "DescribeLoadBalancers",
- maxAttempts: 40,
- acceptors: [
- {
- state: "success",
- matcher: "pathAll",
- argument: "LoadBalancers[].State.Code",
- expected: "active",
- },
- {
- state: "retry",
- matcher: "pathAny",
- argument: "LoadBalancers[].State.Code",
- expected: "provisioning",
- },
- {
- state: "retry",
- matcher: "error",
- expected: "LoadBalancerNotFound",
- },
- ],
- },
- LoadBalancersDeleted: {
- delay: 15,
- operation: "DescribeLoadBalancers",
- maxAttempts: 40,
- acceptors: [
- {
- state: "retry",
- matcher: "pathAll",
- argument: "LoadBalancers[].State.Code",
- expected: "active",
- },
- {
- matcher: "error",
- expected: "LoadBalancerNotFound",
- state: "success",
- },
- ],
- },
- TargetInService: {
- delay: 15,
- maxAttempts: 40,
- operation: "DescribeTargetHealth",
- acceptors: [
- {
- argument: "TargetHealthDescriptions[].TargetHealth.State",
- expected: "healthy",
- matcher: "pathAll",
- state: "success",
- },
- { matcher: "error", expected: "InvalidInstance", state: "retry" },
- ],
- },
- TargetDeregistered: {
- delay: 15,
- maxAttempts: 40,
- operation: "DescribeTargetHealth",
- acceptors: [
- { matcher: "error", expected: "InvalidTarget", state: "success" },
- {
- argument: "TargetHealthDescriptions[].TargetHealth.State",
- expected: "unused",
- matcher: "pathAll",
- state: "success",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 4304: /***/ function (module) {
- module.exports = require("string_decoder");
-
- /***/
- },
-
- /***/ 4341: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(9389);
- model.paginators = __webpack_require__(5266).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Discovery;
-
- /***/
- },
-
- /***/ 4343: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(612);
- model.paginators = __webpack_require__(1283).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Inspector;
-
- /***/
- },
-
- /***/ 4344: /***/ function (module) {
- module.exports = { pagination: {} };
-
- /***/
- },
-
- /***/ 4371: /***/ function (module) {
- module.exports = {
- pagination: {
- GetTranscript: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 4373: /***/ function (module) {
- module.exports = {
- pagination: {
- ListPlacements: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "placements",
- },
- ListProjects: {
- input_token: "nextToken",
- limit_key: "maxResults",
- output_token: "nextToken",
- result_key: "projects",
- },
- },
- };
-
- /***/
- },
-
- /***/ 4389: /***/ function (module, __unusedexports, __webpack_require__) {
- "use strict";
-
- const fs = __webpack_require__(5747);
- const shebangCommand = __webpack_require__(2866);
-
- function readShebang(command) {
- // Read the first 150 bytes from the file
- const size = 150;
- let buffer;
-
- if (Buffer.alloc) {
- // Node.js v4.5+ / v5.10+
- buffer = Buffer.alloc(size);
- } else {
- // Old Node.js API
- buffer = new Buffer(size);
- buffer.fill(0); // zero-fill
- }
-
- let fd;
-
- try {
- fd = fs.openSync(command, "r");
- fs.readSync(fd, buffer, 0, size, 0);
- fs.closeSync(fd);
- } catch (e) {
- /* Empty */
- }
-
- // Attempt to extract shebang (null is returned if not a shebang)
- return shebangCommand(buffer.toString());
- }
-
- module.exports = readShebang;
-
- /***/
- },
-
- /***/ 4392: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2015-02-02",
- endpointPrefix: "elasticache",
- protocol: "query",
- serviceFullName: "Amazon ElastiCache",
- serviceId: "ElastiCache",
- signatureVersion: "v4",
- uid: "elasticache-2015-02-02",
- xmlNamespace: "http://elasticache.amazonaws.com/doc/2015-02-02/",
- },
- operations: {
- AddTagsToResource: {
- input: {
- type: "structure",
- required: ["ResourceName", "Tags"],
- members: { ResourceName: {}, Tags: { shape: "S3" } },
- },
- output: { shape: "S5", resultWrapper: "AddTagsToResourceResult" },
- },
- AuthorizeCacheSecurityGroupIngress: {
- input: {
- type: "structure",
- required: [
- "CacheSecurityGroupName",
- "EC2SecurityGroupName",
- "EC2SecurityGroupOwnerId",
- ],
- members: {
- CacheSecurityGroupName: {},
- EC2SecurityGroupName: {},
- EC2SecurityGroupOwnerId: {},
- },
- },
- output: {
- resultWrapper: "AuthorizeCacheSecurityGroupIngressResult",
- type: "structure",
- members: { CacheSecurityGroup: { shape: "S8" } },
- },
- },
- BatchApplyUpdateAction: {
- input: {
- type: "structure",
- required: ["ServiceUpdateName"],
- members: {
- ReplicationGroupIds: { shape: "Sc" },
- CacheClusterIds: { shape: "Sd" },
- ServiceUpdateName: {},
- },
- },
- output: {
- shape: "Se",
- resultWrapper: "BatchApplyUpdateActionResult",
- },
- },
- BatchStopUpdateAction: {
- input: {
- type: "structure",
- required: ["ServiceUpdateName"],
- members: {
- ReplicationGroupIds: { shape: "Sc" },
- CacheClusterIds: { shape: "Sd" },
- ServiceUpdateName: {},
- },
- },
- output: {
- shape: "Se",
- resultWrapper: "BatchStopUpdateActionResult",
- },
- },
- CompleteMigration: {
- input: {
- type: "structure",
- required: ["ReplicationGroupId"],
- members: { ReplicationGroupId: {}, Force: { type: "boolean" } },
- },
- output: {
- resultWrapper: "CompleteMigrationResult",
- type: "structure",
- members: { ReplicationGroup: { shape: "So" } },
- },
- },
- CopySnapshot: {
- input: {
- type: "structure",
- required: ["SourceSnapshotName", "TargetSnapshotName"],
- members: {
- SourceSnapshotName: {},
- TargetSnapshotName: {},
- TargetBucket: {},
- KmsKeyId: {},
- },
- },
- output: {
- resultWrapper: "CopySnapshotResult",
- type: "structure",
- members: { Snapshot: { shape: "S19" } },
- },
- },
- CreateCacheCluster: {
- input: {
- type: "structure",
- required: ["CacheClusterId"],
- members: {
- CacheClusterId: {},
- ReplicationGroupId: {},
- AZMode: {},
- PreferredAvailabilityZone: {},
- PreferredAvailabilityZones: { shape: "S1h" },
- NumCacheNodes: { type: "integer" },
- CacheNodeType: {},
- Engine: {},
- EngineVersion: {},
- CacheParameterGroupName: {},
- CacheSubnetGroupName: {},
- CacheSecurityGroupNames: { shape: "S1i" },
- SecurityGroupIds: { shape: "S1j" },
- Tags: { shape: "S3" },
- SnapshotArns: { shape: "S1k" },
- SnapshotName: {},
- PreferredMaintenanceWindow: {},
- Port: { type: "integer" },
- NotificationTopicArn: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- SnapshotRetentionLimit: { type: "integer" },
- SnapshotWindow: {},
- AuthToken: {},
- },
- },
- output: {
- resultWrapper: "CreateCacheClusterResult",
- type: "structure",
- members: { CacheCluster: { shape: "S1m" } },
- },
- },
- CreateCacheParameterGroup: {
- input: {
- type: "structure",
- required: [
- "CacheParameterGroupName",
- "CacheParameterGroupFamily",
- "Description",
- ],
- members: {
- CacheParameterGroupName: {},
- CacheParameterGroupFamily: {},
- Description: {},
- },
- },
- output: {
- resultWrapper: "CreateCacheParameterGroupResult",
- type: "structure",
- members: { CacheParameterGroup: { shape: "S1z" } },
- },
- },
- CreateCacheSecurityGroup: {
- input: {
- type: "structure",
- required: ["CacheSecurityGroupName", "Description"],
- members: { CacheSecurityGroupName: {}, Description: {} },
- },
- output: {
- resultWrapper: "CreateCacheSecurityGroupResult",
- type: "structure",
- members: { CacheSecurityGroup: { shape: "S8" } },
- },
- },
- CreateCacheSubnetGroup: {
- input: {
- type: "structure",
- required: [
- "CacheSubnetGroupName",
- "CacheSubnetGroupDescription",
- "SubnetIds",
- ],
- members: {
- CacheSubnetGroupName: {},
- CacheSubnetGroupDescription: {},
- SubnetIds: { shape: "S23" },
- },
- },
- output: {
- resultWrapper: "CreateCacheSubnetGroupResult",
- type: "structure",
- members: { CacheSubnetGroup: { shape: "S25" } },
- },
- },
- CreateGlobalReplicationGroup: {
- input: {
- type: "structure",
- required: [
- "GlobalReplicationGroupIdSuffix",
- "PrimaryReplicationGroupId",
- ],
- members: {
- GlobalReplicationGroupIdSuffix: {},
- GlobalReplicationGroupDescription: {},
- PrimaryReplicationGroupId: {},
- },
- },
- output: {
- resultWrapper: "CreateGlobalReplicationGroupResult",
- type: "structure",
- members: { GlobalReplicationGroup: { shape: "S2b" } },
- },
- },
- CreateReplicationGroup: {
- input: {
- type: "structure",
- required: ["ReplicationGroupId", "ReplicationGroupDescription"],
- members: {
- ReplicationGroupId: {},
- ReplicationGroupDescription: {},
- GlobalReplicationGroupId: {},
- PrimaryClusterId: {},
- AutomaticFailoverEnabled: { type: "boolean" },
- NumCacheClusters: { type: "integer" },
- PreferredCacheClusterAZs: { shape: "S1e" },
- NumNodeGroups: { type: "integer" },
- ReplicasPerNodeGroup: { type: "integer" },
- NodeGroupConfiguration: {
- type: "list",
- member: {
- shape: "S1c",
- locationName: "NodeGroupConfiguration",
- },
- },
- CacheNodeType: {},
- Engine: {},
- EngineVersion: {},
- CacheParameterGroupName: {},
- CacheSubnetGroupName: {},
- CacheSecurityGroupNames: { shape: "S1i" },
- SecurityGroupIds: { shape: "S1j" },
- Tags: { shape: "S3" },
- SnapshotArns: { shape: "S1k" },
- SnapshotName: {},
- PreferredMaintenanceWindow: {},
- Port: { type: "integer" },
- NotificationTopicArn: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- SnapshotRetentionLimit: { type: "integer" },
- SnapshotWindow: {},
- AuthToken: {},
- TransitEncryptionEnabled: { type: "boolean" },
- AtRestEncryptionEnabled: { type: "boolean" },
- KmsKeyId: {},
- },
- },
- output: {
- resultWrapper: "CreateReplicationGroupResult",
- type: "structure",
- members: { ReplicationGroup: { shape: "So" } },
- },
- },
- CreateSnapshot: {
- input: {
- type: "structure",
- required: ["SnapshotName"],
- members: {
- ReplicationGroupId: {},
- CacheClusterId: {},
- SnapshotName: {},
- KmsKeyId: {},
- },
- },
- output: {
- resultWrapper: "CreateSnapshotResult",
- type: "structure",
- members: { Snapshot: { shape: "S19" } },
- },
- },
- DecreaseNodeGroupsInGlobalReplicationGroup: {
- input: {
- type: "structure",
- required: [
- "GlobalReplicationGroupId",
- "NodeGroupCount",
- "ApplyImmediately",
- ],
- members: {
- GlobalReplicationGroupId: {},
- NodeGroupCount: { type: "integer" },
- GlobalNodeGroupsToRemove: { shape: "S2m" },
- GlobalNodeGroupsToRetain: { shape: "S2m" },
- ApplyImmediately: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DecreaseNodeGroupsInGlobalReplicationGroupResult",
- type: "structure",
- members: { GlobalReplicationGroup: { shape: "S2b" } },
- },
- },
- DecreaseReplicaCount: {
- input: {
- type: "structure",
- required: ["ReplicationGroupId", "ApplyImmediately"],
- members: {
- ReplicationGroupId: {},
- NewReplicaCount: { type: "integer" },
- ReplicaConfiguration: { shape: "S2p" },
- ReplicasToRemove: { type: "list", member: {} },
- ApplyImmediately: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DecreaseReplicaCountResult",
- type: "structure",
- members: { ReplicationGroup: { shape: "So" } },
- },
- },
- DeleteCacheCluster: {
- input: {
- type: "structure",
- required: ["CacheClusterId"],
- members: { CacheClusterId: {}, FinalSnapshotIdentifier: {} },
- },
- output: {
- resultWrapper: "DeleteCacheClusterResult",
- type: "structure",
- members: { CacheCluster: { shape: "S1m" } },
- },
- },
- DeleteCacheParameterGroup: {
- input: {
- type: "structure",
- required: ["CacheParameterGroupName"],
- members: { CacheParameterGroupName: {} },
- },
- },
- DeleteCacheSecurityGroup: {
- input: {
- type: "structure",
- required: ["CacheSecurityGroupName"],
- members: { CacheSecurityGroupName: {} },
- },
- },
- DeleteCacheSubnetGroup: {
- input: {
- type: "structure",
- required: ["CacheSubnetGroupName"],
- members: { CacheSubnetGroupName: {} },
- },
- },
- DeleteGlobalReplicationGroup: {
- input: {
- type: "structure",
- required: [
- "GlobalReplicationGroupId",
- "RetainPrimaryReplicationGroup",
- ],
- members: {
- GlobalReplicationGroupId: {},
- RetainPrimaryReplicationGroup: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DeleteGlobalReplicationGroupResult",
- type: "structure",
- members: { GlobalReplicationGroup: { shape: "S2b" } },
- },
- },
- DeleteReplicationGroup: {
- input: {
- type: "structure",
- required: ["ReplicationGroupId"],
- members: {
- ReplicationGroupId: {},
- RetainPrimaryCluster: { type: "boolean" },
- FinalSnapshotIdentifier: {},
- },
- },
- output: {
- resultWrapper: "DeleteReplicationGroupResult",
- type: "structure",
- members: { ReplicationGroup: { shape: "So" } },
- },
- },
- DeleteSnapshot: {
- input: {
- type: "structure",
- required: ["SnapshotName"],
- members: { SnapshotName: {} },
- },
- output: {
- resultWrapper: "DeleteSnapshotResult",
- type: "structure",
- members: { Snapshot: { shape: "S19" } },
- },
- },
- DescribeCacheClusters: {
- input: {
- type: "structure",
- members: {
- CacheClusterId: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- ShowCacheNodeInfo: { type: "boolean" },
- ShowCacheClustersNotInReplicationGroups: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeCacheClustersResult",
- type: "structure",
- members: {
- Marker: {},
- CacheClusters: {
- type: "list",
- member: { shape: "S1m", locationName: "CacheCluster" },
- },
- },
- },
- },
- DescribeCacheEngineVersions: {
- input: {
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- CacheParameterGroupFamily: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- DefaultOnly: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeCacheEngineVersionsResult",
- type: "structure",
- members: {
- Marker: {},
- CacheEngineVersions: {
- type: "list",
- member: {
- locationName: "CacheEngineVersion",
- type: "structure",
- members: {
- Engine: {},
- EngineVersion: {},
- CacheParameterGroupFamily: {},
- CacheEngineDescription: {},
- CacheEngineVersionDescription: {},
- },
- },
- },
- },
- },
- },
- DescribeCacheParameterGroups: {
- input: {
- type: "structure",
- members: {
- CacheParameterGroupName: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeCacheParameterGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- CacheParameterGroups: {
- type: "list",
- member: { shape: "S1z", locationName: "CacheParameterGroup" },
- },
- },
- },
- },
- DescribeCacheParameters: {
- input: {
- type: "structure",
- required: ["CacheParameterGroupName"],
- members: {
- CacheParameterGroupName: {},
- Source: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeCacheParametersResult",
- type: "structure",
- members: {
- Marker: {},
- Parameters: { shape: "S3g" },
- CacheNodeTypeSpecificParameters: { shape: "S3j" },
- },
- },
- },
- DescribeCacheSecurityGroups: {
- input: {
- type: "structure",
- members: {
- CacheSecurityGroupName: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeCacheSecurityGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- CacheSecurityGroups: {
- type: "list",
- member: { shape: "S8", locationName: "CacheSecurityGroup" },
- },
- },
- },
- },
- DescribeCacheSubnetGroups: {
- input: {
- type: "structure",
- members: {
- CacheSubnetGroupName: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeCacheSubnetGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- CacheSubnetGroups: {
- type: "list",
- member: { shape: "S25", locationName: "CacheSubnetGroup" },
- },
- },
- },
- },
- DescribeEngineDefaultParameters: {
- input: {
- type: "structure",
- required: ["CacheParameterGroupFamily"],
- members: {
- CacheParameterGroupFamily: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEngineDefaultParametersResult",
- type: "structure",
- members: {
- EngineDefaults: {
- type: "structure",
- members: {
- CacheParameterGroupFamily: {},
- Marker: {},
- Parameters: { shape: "S3g" },
- CacheNodeTypeSpecificParameters: { shape: "S3j" },
- },
- wrapper: true,
- },
- },
- },
- },
- DescribeEvents: {
- input: {
- type: "structure",
- members: {
- SourceIdentifier: {},
- SourceType: {},
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Duration: { type: "integer" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeEventsResult",
- type: "structure",
- members: {
- Marker: {},
- Events: {
- type: "list",
- member: {
- locationName: "Event",
- type: "structure",
- members: {
- SourceIdentifier: {},
- SourceType: {},
- Message: {},
- Date: { type: "timestamp" },
- },
- },
- },
- },
- },
- },
- DescribeGlobalReplicationGroups: {
- input: {
- type: "structure",
- members: {
- GlobalReplicationGroupId: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- ShowMemberInfo: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeGlobalReplicationGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- GlobalReplicationGroups: {
- type: "list",
- member: {
- shape: "S2b",
- locationName: "GlobalReplicationGroup",
- },
- },
- },
- },
- },
- DescribeReplicationGroups: {
- input: {
- type: "structure",
- members: {
- ReplicationGroupId: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeReplicationGroupsResult",
- type: "structure",
- members: {
- Marker: {},
- ReplicationGroups: {
- type: "list",
- member: { shape: "So", locationName: "ReplicationGroup" },
- },
- },
- },
- },
- DescribeReservedCacheNodes: {
- input: {
- type: "structure",
- members: {
- ReservedCacheNodeId: {},
- ReservedCacheNodesOfferingId: {},
- CacheNodeType: {},
- Duration: {},
- ProductDescription: {},
- OfferingType: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeReservedCacheNodesResult",
- type: "structure",
- members: {
- Marker: {},
- ReservedCacheNodes: {
- type: "list",
- member: { shape: "S4a", locationName: "ReservedCacheNode" },
- },
- },
- },
- },
- DescribeReservedCacheNodesOfferings: {
- input: {
- type: "structure",
- members: {
- ReservedCacheNodesOfferingId: {},
- CacheNodeType: {},
- Duration: {},
- ProductDescription: {},
- OfferingType: {},
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeReservedCacheNodesOfferingsResult",
- type: "structure",
- members: {
- Marker: {},
- ReservedCacheNodesOfferings: {
- type: "list",
- member: {
- locationName: "ReservedCacheNodesOffering",
- type: "structure",
- members: {
- ReservedCacheNodesOfferingId: {},
- CacheNodeType: {},
- Duration: { type: "integer" },
- FixedPrice: { type: "double" },
- UsagePrice: { type: "double" },
- ProductDescription: {},
- OfferingType: {},
- RecurringCharges: { shape: "S4b" },
- },
- wrapper: true,
- },
- },
- },
- },
- },
- DescribeServiceUpdates: {
- input: {
- type: "structure",
- members: {
- ServiceUpdateName: {},
- ServiceUpdateStatus: { shape: "S4i" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeServiceUpdatesResult",
- type: "structure",
- members: {
- Marker: {},
- ServiceUpdates: {
- type: "list",
- member: {
- locationName: "ServiceUpdate",
- type: "structure",
- members: {
- ServiceUpdateName: {},
- ServiceUpdateReleaseDate: { type: "timestamp" },
- ServiceUpdateEndDate: { type: "timestamp" },
- ServiceUpdateSeverity: {},
- ServiceUpdateRecommendedApplyByDate: {
- type: "timestamp",
- },
- ServiceUpdateStatus: {},
- ServiceUpdateDescription: {},
- ServiceUpdateType: {},
- Engine: {},
- EngineVersion: {},
- AutoUpdateAfterRecommendedApplyByDate: {
- type: "boolean",
- },
- EstimatedUpdateTime: {},
- },
- },
- },
- },
- },
- },
- DescribeSnapshots: {
- input: {
- type: "structure",
- members: {
- ReplicationGroupId: {},
- CacheClusterId: {},
- SnapshotName: {},
- SnapshotSource: {},
- Marker: {},
- MaxRecords: { type: "integer" },
- ShowNodeGroupConfig: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "DescribeSnapshotsResult",
- type: "structure",
- members: {
- Marker: {},
- Snapshots: {
- type: "list",
- member: { shape: "S19", locationName: "Snapshot" },
- },
- },
- },
- },
- DescribeUpdateActions: {
- input: {
- type: "structure",
- members: {
- ServiceUpdateName: {},
- ReplicationGroupIds: { shape: "Sc" },
- CacheClusterIds: { shape: "Sd" },
- Engine: {},
- ServiceUpdateStatus: { shape: "S4i" },
- ServiceUpdateTimeRange: {
- type: "structure",
- members: {
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- },
- },
- UpdateActionStatus: { type: "list", member: {} },
- ShowNodeLevelUpdateStatus: { type: "boolean" },
- MaxRecords: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- resultWrapper: "DescribeUpdateActionsResult",
- type: "structure",
- members: {
- Marker: {},
- UpdateActions: {
- type: "list",
- member: {
- locationName: "UpdateAction",
- type: "structure",
- members: {
- ReplicationGroupId: {},
- CacheClusterId: {},
- ServiceUpdateName: {},
- ServiceUpdateReleaseDate: { type: "timestamp" },
- ServiceUpdateSeverity: {},
- ServiceUpdateStatus: {},
- ServiceUpdateRecommendedApplyByDate: {
- type: "timestamp",
- },
- ServiceUpdateType: {},
- UpdateActionAvailableDate: { type: "timestamp" },
- UpdateActionStatus: {},
- NodesUpdated: {},
- UpdateActionStatusModifiedDate: { type: "timestamp" },
- SlaMet: {},
- NodeGroupUpdateStatus: {
- type: "list",
- member: {
- locationName: "NodeGroupUpdateStatus",
- type: "structure",
- members: {
- NodeGroupId: {},
- NodeGroupMemberUpdateStatus: {
- type: "list",
- member: {
- locationName: "NodeGroupMemberUpdateStatus",
- type: "structure",
- members: {
- CacheClusterId: {},
- CacheNodeId: {},
- NodeUpdateStatus: {},
- NodeDeletionDate: { type: "timestamp" },
- NodeUpdateStartDate: { type: "timestamp" },
- NodeUpdateEndDate: { type: "timestamp" },
- NodeUpdateInitiatedBy: {},
- NodeUpdateInitiatedDate: {
- type: "timestamp",
- },
- NodeUpdateStatusModifiedDate: {
- type: "timestamp",
- },
- },
- },
- },
- },
- },
- },
- CacheNodeUpdateStatus: {
- type: "list",
- member: {
- locationName: "CacheNodeUpdateStatus",
- type: "structure",
- members: {
- CacheNodeId: {},
- NodeUpdateStatus: {},
- NodeDeletionDate: { type: "timestamp" },
- NodeUpdateStartDate: { type: "timestamp" },
- NodeUpdateEndDate: { type: "timestamp" },
- NodeUpdateInitiatedBy: {},
- NodeUpdateInitiatedDate: { type: "timestamp" },
- NodeUpdateStatusModifiedDate: { type: "timestamp" },
- },
- },
- },
- EstimatedUpdateTime: {},
- Engine: {},
- },
- },
- },
- },
- },
- },
- DisassociateGlobalReplicationGroup: {
- input: {
- type: "structure",
- required: [
- "GlobalReplicationGroupId",
- "ReplicationGroupId",
- "ReplicationGroupRegion",
- ],
- members: {
- GlobalReplicationGroupId: {},
- ReplicationGroupId: {},
- ReplicationGroupRegion: {},
- },
- },
- output: {
- resultWrapper: "DisassociateGlobalReplicationGroupResult",
- type: "structure",
- members: { GlobalReplicationGroup: { shape: "S2b" } },
- },
- },
- FailoverGlobalReplicationGroup: {
- input: {
- type: "structure",
- required: [
- "GlobalReplicationGroupId",
- "PrimaryRegion",
- "PrimaryReplicationGroupId",
- ],
- members: {
- GlobalReplicationGroupId: {},
- PrimaryRegion: {},
- PrimaryReplicationGroupId: {},
- },
- },
- output: {
- resultWrapper: "FailoverGlobalReplicationGroupResult",
- type: "structure",
- members: { GlobalReplicationGroup: { shape: "S2b" } },
- },
- },
- IncreaseNodeGroupsInGlobalReplicationGroup: {
- input: {
- type: "structure",
- required: [
- "GlobalReplicationGroupId",
- "NodeGroupCount",
- "ApplyImmediately",
- ],
- members: {
- GlobalReplicationGroupId: {},
- NodeGroupCount: { type: "integer" },
- RegionalConfigurations: {
- type: "list",
- member: {
- locationName: "RegionalConfiguration",
- type: "structure",
- required: [
- "ReplicationGroupId",
- "ReplicationGroupRegion",
- "ReshardingConfiguration",
- ],
- members: {
- ReplicationGroupId: {},
- ReplicationGroupRegion: {},
- ReshardingConfiguration: { shape: "S5e" },
- },
- },
- },
- ApplyImmediately: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "IncreaseNodeGroupsInGlobalReplicationGroupResult",
- type: "structure",
- members: { GlobalReplicationGroup: { shape: "S2b" } },
- },
- },
- IncreaseReplicaCount: {
- input: {
- type: "structure",
- required: ["ReplicationGroupId", "ApplyImmediately"],
- members: {
- ReplicationGroupId: {},
- NewReplicaCount: { type: "integer" },
- ReplicaConfiguration: { shape: "S2p" },
- ApplyImmediately: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "IncreaseReplicaCountResult",
- type: "structure",
- members: { ReplicationGroup: { shape: "So" } },
- },
- },
- ListAllowedNodeTypeModifications: {
- input: {
- type: "structure",
- members: { CacheClusterId: {}, ReplicationGroupId: {} },
- },
- output: {
- resultWrapper: "ListAllowedNodeTypeModificationsResult",
- type: "structure",
- members: {
- ScaleUpModifications: { shape: "S5l" },
- ScaleDownModifications: { shape: "S5l" },
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceName"],
- members: { ResourceName: {} },
- },
- output: { shape: "S5", resultWrapper: "ListTagsForResourceResult" },
- },
- ModifyCacheCluster: {
- input: {
- type: "structure",
- required: ["CacheClusterId"],
- members: {
- CacheClusterId: {},
- NumCacheNodes: { type: "integer" },
- CacheNodeIdsToRemove: { shape: "S1o" },
- AZMode: {},
- NewAvailabilityZones: { shape: "S1h" },
- CacheSecurityGroupNames: { shape: "S1i" },
- SecurityGroupIds: { shape: "S1j" },
- PreferredMaintenanceWindow: {},
- NotificationTopicArn: {},
- CacheParameterGroupName: {},
- NotificationTopicStatus: {},
- ApplyImmediately: { type: "boolean" },
- EngineVersion: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- SnapshotRetentionLimit: { type: "integer" },
- SnapshotWindow: {},
- CacheNodeType: {},
- AuthToken: {},
- AuthTokenUpdateStrategy: {},
- },
- },
- output: {
- resultWrapper: "ModifyCacheClusterResult",
- type: "structure",
- members: { CacheCluster: { shape: "S1m" } },
- },
- },
- ModifyCacheParameterGroup: {
- input: {
- type: "structure",
- required: ["CacheParameterGroupName", "ParameterNameValues"],
- members: {
- CacheParameterGroupName: {},
- ParameterNameValues: { shape: "S5r" },
- },
- },
- output: {
- shape: "S5t",
- resultWrapper: "ModifyCacheParameterGroupResult",
- },
- },
- ModifyCacheSubnetGroup: {
- input: {
- type: "structure",
- required: ["CacheSubnetGroupName"],
- members: {
- CacheSubnetGroupName: {},
- CacheSubnetGroupDescription: {},
- SubnetIds: { shape: "S23" },
- },
- },
- output: {
- resultWrapper: "ModifyCacheSubnetGroupResult",
- type: "structure",
- members: { CacheSubnetGroup: { shape: "S25" } },
- },
- },
- ModifyGlobalReplicationGroup: {
- input: {
- type: "structure",
- required: ["GlobalReplicationGroupId", "ApplyImmediately"],
- members: {
- GlobalReplicationGroupId: {},
- ApplyImmediately: { type: "boolean" },
- CacheNodeType: {},
- EngineVersion: {},
- GlobalReplicationGroupDescription: {},
- AutomaticFailoverEnabled: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "ModifyGlobalReplicationGroupResult",
- type: "structure",
- members: { GlobalReplicationGroup: { shape: "S2b" } },
- },
- },
- ModifyReplicationGroup: {
- input: {
- type: "structure",
- required: ["ReplicationGroupId"],
- members: {
- ReplicationGroupId: {},
- ReplicationGroupDescription: {},
- PrimaryClusterId: {},
- SnapshottingClusterId: {},
- AutomaticFailoverEnabled: { type: "boolean" },
- NodeGroupId: { deprecated: true },
- CacheSecurityGroupNames: { shape: "S1i" },
- SecurityGroupIds: { shape: "S1j" },
- PreferredMaintenanceWindow: {},
- NotificationTopicArn: {},
- CacheParameterGroupName: {},
- NotificationTopicStatus: {},
- ApplyImmediately: { type: "boolean" },
- EngineVersion: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- SnapshotRetentionLimit: { type: "integer" },
- SnapshotWindow: {},
- CacheNodeType: {},
- AuthToken: {},
- AuthTokenUpdateStrategy: {},
- },
- },
- output: {
- resultWrapper: "ModifyReplicationGroupResult",
- type: "structure",
- members: { ReplicationGroup: { shape: "So" } },
- },
- },
- ModifyReplicationGroupShardConfiguration: {
- input: {
- type: "structure",
- required: [
- "ReplicationGroupId",
- "NodeGroupCount",
- "ApplyImmediately",
- ],
- members: {
- ReplicationGroupId: {},
- NodeGroupCount: { type: "integer" },
- ApplyImmediately: { type: "boolean" },
- ReshardingConfiguration: { shape: "S5e" },
- NodeGroupsToRemove: {
- type: "list",
- member: { locationName: "NodeGroupToRemove" },
- },
- NodeGroupsToRetain: {
- type: "list",
- member: { locationName: "NodeGroupToRetain" },
- },
- },
- },
- output: {
- resultWrapper: "ModifyReplicationGroupShardConfigurationResult",
- type: "structure",
- members: { ReplicationGroup: { shape: "So" } },
- },
- },
- PurchaseReservedCacheNodesOffering: {
- input: {
- type: "structure",
- required: ["ReservedCacheNodesOfferingId"],
- members: {
- ReservedCacheNodesOfferingId: {},
- ReservedCacheNodeId: {},
- CacheNodeCount: { type: "integer" },
- },
- },
- output: {
- resultWrapper: "PurchaseReservedCacheNodesOfferingResult",
- type: "structure",
- members: { ReservedCacheNode: { shape: "S4a" } },
- },
- },
- RebalanceSlotsInGlobalReplicationGroup: {
- input: {
- type: "structure",
- required: ["GlobalReplicationGroupId", "ApplyImmediately"],
- members: {
- GlobalReplicationGroupId: {},
- ApplyImmediately: { type: "boolean" },
- },
- },
- output: {
- resultWrapper: "RebalanceSlotsInGlobalReplicationGroupResult",
- type: "structure",
- members: { GlobalReplicationGroup: { shape: "S2b" } },
- },
- },
- RebootCacheCluster: {
- input: {
- type: "structure",
- required: ["CacheClusterId", "CacheNodeIdsToReboot"],
- members: {
- CacheClusterId: {},
- CacheNodeIdsToReboot: { shape: "S1o" },
- },
- },
- output: {
- resultWrapper: "RebootCacheClusterResult",
- type: "structure",
- members: { CacheCluster: { shape: "S1m" } },
- },
- },
- RemoveTagsFromResource: {
- input: {
- type: "structure",
- required: ["ResourceName", "TagKeys"],
- members: {
- ResourceName: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: {
- shape: "S5",
- resultWrapper: "RemoveTagsFromResourceResult",
- },
- },
- ResetCacheParameterGroup: {
- input: {
- type: "structure",
- required: ["CacheParameterGroupName"],
- members: {
- CacheParameterGroupName: {},
- ResetAllParameters: { type: "boolean" },
- ParameterNameValues: { shape: "S5r" },
- },
- },
- output: {
- shape: "S5t",
- resultWrapper: "ResetCacheParameterGroupResult",
- },
- },
- RevokeCacheSecurityGroupIngress: {
- input: {
- type: "structure",
- required: [
- "CacheSecurityGroupName",
- "EC2SecurityGroupName",
- "EC2SecurityGroupOwnerId",
- ],
- members: {
- CacheSecurityGroupName: {},
- EC2SecurityGroupName: {},
- EC2SecurityGroupOwnerId: {},
- },
- },
- output: {
- resultWrapper: "RevokeCacheSecurityGroupIngressResult",
- type: "structure",
- members: { CacheSecurityGroup: { shape: "S8" } },
- },
- },
- StartMigration: {
- input: {
- type: "structure",
- required: ["ReplicationGroupId", "CustomerNodeEndpointList"],
- members: {
- ReplicationGroupId: {},
- CustomerNodeEndpointList: {
- type: "list",
- member: {
- type: "structure",
- members: { Address: {}, Port: { type: "integer" } },
- },
- },
- },
- },
- output: {
- resultWrapper: "StartMigrationResult",
- type: "structure",
- members: { ReplicationGroup: { shape: "So" } },
- },
- },
- TestFailover: {
- input: {
- type: "structure",
- required: ["ReplicationGroupId", "NodeGroupId"],
- members: { ReplicationGroupId: {}, NodeGroupId: {} },
- },
- output: {
- resultWrapper: "TestFailoverResult",
- type: "structure",
- members: { ReplicationGroup: { shape: "So" } },
- },
- },
- },
- shapes: {
- S3: {
- type: "list",
- member: {
- locationName: "Tag",
- type: "structure",
- members: { Key: {}, Value: {} },
- },
- },
- S5: { type: "structure", members: { TagList: { shape: "S3" } } },
- S8: {
- type: "structure",
- members: {
- OwnerId: {},
- CacheSecurityGroupName: {},
- Description: {},
- EC2SecurityGroups: {
- type: "list",
- member: {
- locationName: "EC2SecurityGroup",
- type: "structure",
- members: {
- Status: {},
- EC2SecurityGroupName: {},
- EC2SecurityGroupOwnerId: {},
- },
- },
- },
- },
- wrapper: true,
- },
- Sc: { type: "list", member: {} },
- Sd: { type: "list", member: {} },
- Se: {
- type: "structure",
- members: {
- ProcessedUpdateActions: {
- type: "list",
- member: {
- locationName: "ProcessedUpdateAction",
- type: "structure",
- members: {
- ReplicationGroupId: {},
- CacheClusterId: {},
- ServiceUpdateName: {},
- UpdateActionStatus: {},
- },
- },
- },
- UnprocessedUpdateActions: {
- type: "list",
- member: {
- locationName: "UnprocessedUpdateAction",
- type: "structure",
- members: {
- ReplicationGroupId: {},
- CacheClusterId: {},
- ServiceUpdateName: {},
- ErrorType: {},
- ErrorMessage: {},
- },
- },
- },
- },
- },
- So: {
- type: "structure",
- members: {
- ReplicationGroupId: {},
- Description: {},
- GlobalReplicationGroupInfo: {
- type: "structure",
- members: {
- GlobalReplicationGroupId: {},
- GlobalReplicationGroupMemberRole: {},
- },
- },
- Status: {},
- PendingModifiedValues: {
- type: "structure",
- members: {
- PrimaryClusterId: {},
- AutomaticFailoverStatus: {},
- Resharding: {
- type: "structure",
- members: {
- SlotMigration: {
- type: "structure",
- members: { ProgressPercentage: { type: "double" } },
- },
- },
- },
- AuthTokenStatus: {},
- },
- },
- MemberClusters: {
- type: "list",
- member: { locationName: "ClusterId" },
- },
- NodeGroups: {
- type: "list",
- member: {
- locationName: "NodeGroup",
- type: "structure",
- members: {
- NodeGroupId: {},
- Status: {},
- PrimaryEndpoint: { shape: "Sz" },
- ReaderEndpoint: { shape: "Sz" },
- Slots: {},
- NodeGroupMembers: {
- type: "list",
- member: {
- locationName: "NodeGroupMember",
- type: "structure",
- members: {
- CacheClusterId: {},
- CacheNodeId: {},
- ReadEndpoint: { shape: "Sz" },
- PreferredAvailabilityZone: {},
- CurrentRole: {},
- },
- },
- },
- },
- },
- },
- SnapshottingClusterId: {},
- AutomaticFailover: {},
- ConfigurationEndpoint: { shape: "Sz" },
- SnapshotRetentionLimit: { type: "integer" },
- SnapshotWindow: {},
- ClusterEnabled: { type: "boolean" },
- CacheNodeType: {},
- AuthTokenEnabled: { type: "boolean" },
- AuthTokenLastModifiedDate: { type: "timestamp" },
- TransitEncryptionEnabled: { type: "boolean" },
- AtRestEncryptionEnabled: { type: "boolean" },
- KmsKeyId: {},
- },
- wrapper: true,
- },
- Sz: {
- type: "structure",
- members: { Address: {}, Port: { type: "integer" } },
- },
- S19: {
- type: "structure",
- members: {
- SnapshotName: {},
- ReplicationGroupId: {},
- ReplicationGroupDescription: {},
- CacheClusterId: {},
- SnapshotStatus: {},
- SnapshotSource: {},
- CacheNodeType: {},
- Engine: {},
- EngineVersion: {},
- NumCacheNodes: { type: "integer" },
- PreferredAvailabilityZone: {},
- CacheClusterCreateTime: { type: "timestamp" },
- PreferredMaintenanceWindow: {},
- TopicArn: {},
- Port: { type: "integer" },
- CacheParameterGroupName: {},
- CacheSubnetGroupName: {},
- VpcId: {},
- AutoMinorVersionUpgrade: { type: "boolean" },
- SnapshotRetentionLimit: { type: "integer" },
- SnapshotWindow: {},
- NumNodeGroups: { type: "integer" },
- AutomaticFailover: {},
- NodeSnapshots: {
- type: "list",
- member: {
- locationName: "NodeSnapshot",
- type: "structure",
- members: {
- CacheClusterId: {},
- NodeGroupId: {},
- CacheNodeId: {},
- NodeGroupConfiguration: { shape: "S1c" },
- CacheSize: {},
- CacheNodeCreateTime: { type: "timestamp" },
- SnapshotCreateTime: { type: "timestamp" },
- },
- wrapper: true,
- },
- },
- KmsKeyId: {},
- },
- wrapper: true,
- },
- S1c: {
- type: "structure",
- members: {
- NodeGroupId: {},
- Slots: {},
- ReplicaCount: { type: "integer" },
- PrimaryAvailabilityZone: {},
- ReplicaAvailabilityZones: { shape: "S1e" },
- },
- },
- S1e: { type: "list", member: { locationName: "AvailabilityZone" } },
- S1h: {
- type: "list",
- member: { locationName: "PreferredAvailabilityZone" },
- },
- S1i: {
- type: "list",
- member: { locationName: "CacheSecurityGroupName" },
- },
- S1j: { type: "list", member: { locationName: "SecurityGroupId" } },
- S1k: { type: "list", member: { locationName: "SnapshotArn" } },
- S1m: {
- type: "structure",
- members: {
- CacheClusterId: {},
- ConfigurationEndpoint: { shape: "Sz" },
- ClientDownloadLandingPage: {},
- CacheNodeType: {},
- Engine: {},
- EngineVersion: {},
- CacheClusterStatus: {},
- NumCacheNodes: { type: "integer" },
- PreferredAvailabilityZone: {},
- CacheClusterCreateTime: { type: "timestamp" },
- PreferredMaintenanceWindow: {},
- PendingModifiedValues: {
- type: "structure",
- members: {
- NumCacheNodes: { type: "integer" },
- CacheNodeIdsToRemove: { shape: "S1o" },
- EngineVersion: {},
- CacheNodeType: {},
- AuthTokenStatus: {},
- },
- },
- NotificationConfiguration: {
- type: "structure",
- members: { TopicArn: {}, TopicStatus: {} },
- },
- CacheSecurityGroups: {
- type: "list",
- member: {
- locationName: "CacheSecurityGroup",
- type: "structure",
- members: { CacheSecurityGroupName: {}, Status: {} },
- },
- },
- CacheParameterGroup: {
- type: "structure",
- members: {
- CacheParameterGroupName: {},
- ParameterApplyStatus: {},
- CacheNodeIdsToReboot: { shape: "S1o" },
- },
- },
- CacheSubnetGroupName: {},
- CacheNodes: {
- type: "list",
- member: {
- locationName: "CacheNode",
- type: "structure",
- members: {
- CacheNodeId: {},
- CacheNodeStatus: {},
- CacheNodeCreateTime: { type: "timestamp" },
- Endpoint: { shape: "Sz" },
- ParameterGroupStatus: {},
- SourceCacheNodeId: {},
- CustomerAvailabilityZone: {},
- },
- },
- },
- AutoMinorVersionUpgrade: { type: "boolean" },
- SecurityGroups: {
- type: "list",
- member: {
- type: "structure",
- members: { SecurityGroupId: {}, Status: {} },
- },
- },
- ReplicationGroupId: {},
- SnapshotRetentionLimit: { type: "integer" },
- SnapshotWindow: {},
- AuthTokenEnabled: { type: "boolean" },
- AuthTokenLastModifiedDate: { type: "timestamp" },
- TransitEncryptionEnabled: { type: "boolean" },
- AtRestEncryptionEnabled: { type: "boolean" },
- },
- wrapper: true,
- },
- S1o: { type: "list", member: { locationName: "CacheNodeId" } },
- S1z: {
- type: "structure",
- members: {
- CacheParameterGroupName: {},
- CacheParameterGroupFamily: {},
- Description: {},
- IsGlobal: { type: "boolean" },
- },
- wrapper: true,
- },
- S23: { type: "list", member: { locationName: "SubnetIdentifier" } },
- S25: {
- type: "structure",
- members: {
- CacheSubnetGroupName: {},
- CacheSubnetGroupDescription: {},
- VpcId: {},
- Subnets: {
- type: "list",
- member: {
- locationName: "Subnet",
- type: "structure",
- members: {
- SubnetIdentifier: {},
- SubnetAvailabilityZone: {
- type: "structure",
- members: { Name: {} },
- wrapper: true,
- },
- },
- },
- },
- },
- wrapper: true,
- },
- S2b: {
- type: "structure",
- members: {
- GlobalReplicationGroupId: {},
- GlobalReplicationGroupDescription: {},
- Status: {},
- CacheNodeType: {},
- Engine: {},
- EngineVersion: {},
- Members: {
- type: "list",
- member: {
- locationName: "GlobalReplicationGroupMember",
- type: "structure",
- members: {
- ReplicationGroupId: {},
- ReplicationGroupRegion: {},
- Role: {},
- AutomaticFailover: {},
- Status: {},
- },
- wrapper: true,
- },
- },
- ClusterEnabled: { type: "boolean" },
- GlobalNodeGroups: {
- type: "list",
- member: {
- locationName: "GlobalNodeGroup",
- type: "structure",
- members: { GlobalNodeGroupId: {}, Slots: {} },
- },
- },
- AuthTokenEnabled: { type: "boolean" },
- TransitEncryptionEnabled: { type: "boolean" },
- AtRestEncryptionEnabled: { type: "boolean" },
- },
- wrapper: true,
- },
- S2m: { type: "list", member: { locationName: "GlobalNodeGroupId" } },
- S2p: {
- type: "list",
- member: {
- locationName: "ConfigureShard",
- type: "structure",
- required: ["NodeGroupId", "NewReplicaCount"],
- members: {
- NodeGroupId: {},
- NewReplicaCount: { type: "integer" },
- PreferredAvailabilityZones: { shape: "S1h" },
- },
- },
- },
- S3g: {
- type: "list",
- member: {
- locationName: "Parameter",
- type: "structure",
- members: {
- ParameterName: {},
- ParameterValue: {},
- Description: {},
- Source: {},
- DataType: {},
- AllowedValues: {},
- IsModifiable: { type: "boolean" },
- MinimumEngineVersion: {},
- ChangeType: {},
- },
- },
- },
- S3j: {
- type: "list",
- member: {
- locationName: "CacheNodeTypeSpecificParameter",
- type: "structure",
- members: {
- ParameterName: {},
- Description: {},
- Source: {},
- DataType: {},
- AllowedValues: {},
- IsModifiable: { type: "boolean" },
- MinimumEngineVersion: {},
- CacheNodeTypeSpecificValues: {
- type: "list",
- member: {
- locationName: "CacheNodeTypeSpecificValue",
- type: "structure",
- members: { CacheNodeType: {}, Value: {} },
- },
- },
- ChangeType: {},
- },
- },
- },
- S4a: {
- type: "structure",
- members: {
- ReservedCacheNodeId: {},
- ReservedCacheNodesOfferingId: {},
- CacheNodeType: {},
- StartTime: { type: "timestamp" },
- Duration: { type: "integer" },
- FixedPrice: { type: "double" },
- UsagePrice: { type: "double" },
- CacheNodeCount: { type: "integer" },
- ProductDescription: {},
- OfferingType: {},
- State: {},
- RecurringCharges: { shape: "S4b" },
- ReservationARN: {},
- },
- wrapper: true,
- },
- S4b: {
- type: "list",
- member: {
- locationName: "RecurringCharge",
- type: "structure",
- members: {
- RecurringChargeAmount: { type: "double" },
- RecurringChargeFrequency: {},
- },
- wrapper: true,
- },
- },
- S4i: { type: "list", member: {} },
- S5e: {
- type: "list",
- member: {
- locationName: "ReshardingConfiguration",
- type: "structure",
- members: {
- NodeGroupId: {},
- PreferredAvailabilityZones: { shape: "S1e" },
- },
- },
- },
- S5l: { type: "list", member: {} },
- S5r: {
- type: "list",
- member: {
- locationName: "ParameterNameValue",
- type: "structure",
- members: { ParameterName: {}, ParameterValue: {} },
- },
- },
- S5t: { type: "structure", members: { CacheParameterGroupName: {} } },
- },
- };
-
- /***/
- },
-
- /***/ 4400: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(5168);
- model.paginators = __webpack_require__(7854).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.WorkSpaces;
-
- /***/
- },
-
- /***/ 4409: /***/ function (module) {
- module.exports = {
- pagination: {
- ListEventTypes: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "EventTypes",
- },
- ListNotificationRules: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "NotificationRules",
- },
- ListTargets: {
- input_token: "NextToken",
- limit_key: "MaxResults",
- output_token: "NextToken",
- result_key: "Targets",
- },
- },
- };
-
- /***/
- },
-
- /***/ 4427: /***/ function (module, __unusedexports, __webpack_require__) {
- "use strict";
-
- // Older verions of Node.js might not have `util.getSystemErrorName()`.
- // In that case, fall back to a deprecated internal.
- const util = __webpack_require__(1669);
-
- let uv;
-
- if (typeof util.getSystemErrorName === "function") {
- module.exports = util.getSystemErrorName;
- } else {
- try {
- uv = process.binding("uv");
-
- if (typeof uv.errname !== "function") {
- throw new TypeError("uv.errname is not a function");
- }
- } catch (err) {
- console.error(
- "execa/lib/errname: unable to establish process.binding('uv')",
- err
- );
- uv = null;
- }
-
- module.exports = (code) => errname(uv, code);
- }
-
- // Used for testing the fallback behavior
- module.exports.__test__ = errname;
-
- function errname(uv, code) {
- if (uv) {
- return uv.errname(code);
- }
-
- if (!(code < 0)) {
- throw new Error("err >= 0");
- }
-
- return `Unknown system error ${code}`;
- }
-
- /***/
- },
-
- /***/ 4430: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = octokitValidate;
-
- const validate = __webpack_require__(1348);
-
- function octokitValidate(octokit) {
- octokit.hook.before("request", validate.bind(null, octokit));
- }
-
- /***/
- },
-
- /***/ 4431: /***/ function (__unusedmodule, exports, __webpack_require__) {
- "use strict";
-
- var __importStar =
- (this && this.__importStar) ||
- function (mod) {
- if (mod && mod.__esModule) return mod;
- var result = {};
- if (mod != null)
- for (var k in mod)
- if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
- result["default"] = mod;
- return result;
- };
- Object.defineProperty(exports, "__esModule", { value: true });
- const os = __importStar(__webpack_require__(2087));
- /**
- * Commands
- *
- * Command Format:
- * ::name key=value,key=value::message
- *
- * Examples:
- * ::warning::This is the message
- * ::set-env name=MY_VAR::some value
- */
- function issueCommand(command, properties, message) {
- const cmd = new Command(command, properties, message);
- process.stdout.write(cmd.toString() + os.EOL);
- }
- exports.issueCommand = issueCommand;
- function issue(name, message = "") {
- issueCommand(name, {}, message);
- }
- exports.issue = issue;
- const CMD_STRING = "::";
- class Command {
- constructor(command, properties, message) {
- if (!command) {
- command = "missing.command";
- }
- this.command = command;
- this.properties = properties;
- this.message = message;
- }
- toString() {
- let cmdStr = CMD_STRING + this.command;
- if (this.properties && Object.keys(this.properties).length > 0) {
- cmdStr += " ";
- let first = true;
- for (const key in this.properties) {
- if (this.properties.hasOwnProperty(key)) {
- const val = this.properties[key];
- if (val) {
- if (first) {
- first = false;
- } else {
- cmdStr += ",";
- }
- cmdStr += `${key}=${escapeProperty(val)}`;
- }
- }
- }
- }
- cmdStr += `${CMD_STRING}${escapeData(this.message)}`;
- return cmdStr;
- }
- }
- function escapeData(s) {
- return (s || "")
- .replace(/%/g, "%25")
- .replace(/\r/g, "%0D")
- .replace(/\n/g, "%0A");
- }
- function escapeProperty(s) {
- return (s || "")
- .replace(/%/g, "%25")
- .replace(/\r/g, "%0D")
- .replace(/\n/g, "%0A")
- .replace(/:/g, "%3A")
- .replace(/,/g, "%2C");
- }
- //# sourceMappingURL=command.js.map
-
- /***/
- },
-
- /***/ 4437: /***/ function (module) {
- module.exports = {
- pagination: {
- ListMeshes: {
- input_token: "nextToken",
- limit_key: "limit",
- output_token: "nextToken",
- result_key: "meshes",
- },
- ListRoutes: {
- input_token: "nextToken",
- limit_key: "limit",
- output_token: "nextToken",
- result_key: "routes",
- },
- ListVirtualNodes: {
- input_token: "nextToken",
- limit_key: "limit",
- output_token: "nextToken",
- result_key: "virtualNodes",
- },
- ListVirtualRouters: {
- input_token: "nextToken",
- limit_key: "limit",
- output_token: "nextToken",
- result_key: "virtualRouters",
- },
- },
- };
-
- /***/
- },
-
- /***/ 4444: /***/ function (module) {
- module.exports = {
- metadata: {
- apiVersion: "2017-10-14",
- endpointPrefix: "medialive",
- signingName: "medialive",
- serviceFullName: "AWS Elemental MediaLive",
- serviceId: "MediaLive",
- protocol: "rest-json",
- uid: "medialive-2017-10-14",
- signatureVersion: "v4",
- serviceAbbreviation: "MediaLive",
- jsonVersion: "1.1",
- },
- operations: {
- BatchUpdateSchedule: {
- http: {
- method: "PUT",
- requestUri: "/prod/channels/{channelId}/schedule",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ChannelId: { location: "uri", locationName: "channelId" },
- Creates: {
- locationName: "creates",
- type: "structure",
- members: {
- ScheduleActions: {
- shape: "S4",
- locationName: "scheduleActions",
- },
- },
- required: ["ScheduleActions"],
- },
- Deletes: {
- locationName: "deletes",
- type: "structure",
- members: {
- ActionNames: { shape: "Sf", locationName: "actionNames" },
- },
- required: ["ActionNames"],
- },
- },
- required: ["ChannelId"],
- },
- output: {
- type: "structure",
- members: {
- Creates: {
- locationName: "creates",
- type: "structure",
- members: {
- ScheduleActions: {
- shape: "S4",
- locationName: "scheduleActions",
- },
- },
- required: ["ScheduleActions"],
- },
- Deletes: {
- locationName: "deletes",
- type: "structure",
- members: {
- ScheduleActions: {
- shape: "S4",
- locationName: "scheduleActions",
- },
- },
- required: ["ScheduleActions"],
- },
- },
- },
- },
- CreateChannel: {
- http: { requestUri: "/prod/channels", responseCode: 201 },
- input: {
- type: "structure",
- members: {
- ChannelClass: { locationName: "channelClass" },
- Destinations: { shape: "S1j", locationName: "destinations" },
- EncoderSettings: {
- shape: "S1r",
- locationName: "encoderSettings",
- },
- InputAttachments: {
- shape: "Saf",
- locationName: "inputAttachments",
- },
- InputSpecification: {
- shape: "Sbh",
- locationName: "inputSpecification",
- },
- LogLevel: { locationName: "logLevel" },
- Name: { locationName: "name" },
- RequestId: {
- locationName: "requestId",
- idempotencyToken: true,
- },
- Reserved: { locationName: "reserved", deprecated: true },
- RoleArn: { locationName: "roleArn" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- },
- output: {
- type: "structure",
- members: { Channel: { shape: "Sbo", locationName: "channel" } },
- },
- },
- CreateInput: {
- http: { requestUri: "/prod/inputs", responseCode: 201 },
- input: {
- type: "structure",
- members: {
- Destinations: { shape: "Sbv", locationName: "destinations" },
- InputSecurityGroups: {
- shape: "Sf",
- locationName: "inputSecurityGroups",
- },
- MediaConnectFlows: {
- shape: "Sbx",
- locationName: "mediaConnectFlows",
- },
- Name: { locationName: "name" },
- RequestId: {
- locationName: "requestId",
- idempotencyToken: true,
- },
- RoleArn: { locationName: "roleArn" },
- Sources: { shape: "Sbz", locationName: "sources" },
- Tags: { shape: "Sbm", locationName: "tags" },
- Type: { locationName: "type" },
- Vpc: {
- locationName: "vpc",
- type: "structure",
- members: {
- SecurityGroupIds: {
- shape: "Sf",
- locationName: "securityGroupIds",
- },
- SubnetIds: { shape: "Sf", locationName: "subnetIds" },
- },
- required: ["SubnetIds"],
- },
- },
- },
- output: {
- type: "structure",
- members: { Input: { shape: "Sc4", locationName: "input" } },
- },
- },
- CreateInputSecurityGroup: {
- http: {
- requestUri: "/prod/inputSecurityGroups",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Tags: { shape: "Sbm", locationName: "tags" },
- WhitelistRules: {
- shape: "Scg",
- locationName: "whitelistRules",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- SecurityGroup: { shape: "Scj", locationName: "securityGroup" },
- },
- },
- },
- CreateMultiplex: {
- http: { requestUri: "/prod/multiplexes", responseCode: 201 },
- input: {
- type: "structure",
- members: {
- AvailabilityZones: {
- shape: "Sf",
- locationName: "availabilityZones",
- },
- MultiplexSettings: {
- shape: "Sco",
- locationName: "multiplexSettings",
- },
- Name: { locationName: "name" },
- RequestId: {
- locationName: "requestId",
- idempotencyToken: true,
- },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- required: [
- "RequestId",
- "MultiplexSettings",
- "AvailabilityZones",
- "Name",
- ],
- },
- output: {
- type: "structure",
- members: {
- Multiplex: { shape: "Sct", locationName: "multiplex" },
- },
- },
- },
- CreateMultiplexProgram: {
- http: {
- requestUri: "/prod/multiplexes/{multiplexId}/programs",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- MultiplexId: { location: "uri", locationName: "multiplexId" },
- MultiplexProgramSettings: {
- shape: "Scz",
- locationName: "multiplexProgramSettings",
- },
- ProgramName: { locationName: "programName" },
- RequestId: {
- locationName: "requestId",
- idempotencyToken: true,
- },
- },
- required: [
- "MultiplexId",
- "RequestId",
- "MultiplexProgramSettings",
- "ProgramName",
- ],
- },
- output: {
- type: "structure",
- members: {
- MultiplexProgram: {
- shape: "Sd7",
- locationName: "multiplexProgram",
- },
- },
- },
- },
- CreateTags: {
- http: {
- requestUri: "/prod/tags/{resource-arn}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- required: ["ResourceArn"],
- },
- },
- DeleteChannel: {
- http: {
- method: "DELETE",
- requestUri: "/prod/channels/{channelId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ChannelId: { location: "uri", locationName: "channelId" },
- },
- required: ["ChannelId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- ChannelClass: { locationName: "channelClass" },
- Destinations: { shape: "S1j", locationName: "destinations" },
- EgressEndpoints: {
- shape: "Sbp",
- locationName: "egressEndpoints",
- },
- EncoderSettings: {
- shape: "S1r",
- locationName: "encoderSettings",
- },
- Id: { locationName: "id" },
- InputAttachments: {
- shape: "Saf",
- locationName: "inputAttachments",
- },
- InputSpecification: {
- shape: "Sbh",
- locationName: "inputSpecification",
- },
- LogLevel: { locationName: "logLevel" },
- Name: { locationName: "name" },
- PipelineDetails: {
- shape: "Sbr",
- locationName: "pipelineDetails",
- },
- PipelinesRunningCount: {
- locationName: "pipelinesRunningCount",
- type: "integer",
- },
- RoleArn: { locationName: "roleArn" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- },
- },
- DeleteInput: {
- http: {
- method: "DELETE",
- requestUri: "/prod/inputs/{inputId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- InputId: { location: "uri", locationName: "inputId" },
- },
- required: ["InputId"],
- },
- output: { type: "structure", members: {} },
- },
- DeleteInputSecurityGroup: {
- http: {
- method: "DELETE",
- requestUri: "/prod/inputSecurityGroups/{inputSecurityGroupId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- InputSecurityGroupId: {
- location: "uri",
- locationName: "inputSecurityGroupId",
- },
- },
- required: ["InputSecurityGroupId"],
- },
- output: { type: "structure", members: {} },
- },
- DeleteMultiplex: {
- http: {
- method: "DELETE",
- requestUri: "/prod/multiplexes/{multiplexId}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- MultiplexId: { location: "uri", locationName: "multiplexId" },
- },
- required: ["MultiplexId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- AvailabilityZones: {
- shape: "Sf",
- locationName: "availabilityZones",
- },
- Destinations: { shape: "Scu", locationName: "destinations" },
- Id: { locationName: "id" },
- MultiplexSettings: {
- shape: "Sco",
- locationName: "multiplexSettings",
- },
- Name: { locationName: "name" },
- PipelinesRunningCount: {
- locationName: "pipelinesRunningCount",
- type: "integer",
- },
- ProgramCount: { locationName: "programCount", type: "integer" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- },
- },
- DeleteMultiplexProgram: {
- http: {
- method: "DELETE",
- requestUri:
- "/prod/multiplexes/{multiplexId}/programs/{programName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MultiplexId: { location: "uri", locationName: "multiplexId" },
- ProgramName: { location: "uri", locationName: "programName" },
- },
- required: ["MultiplexId", "ProgramName"],
- },
- output: {
- type: "structure",
- members: {
- ChannelId: { locationName: "channelId" },
- MultiplexProgramSettings: {
- shape: "Scz",
- locationName: "multiplexProgramSettings",
- },
- PacketIdentifiersMap: {
- shape: "Sd8",
- locationName: "packetIdentifiersMap",
- },
- ProgramName: { locationName: "programName" },
- },
- },
- },
- DeleteReservation: {
- http: {
- method: "DELETE",
- requestUri: "/prod/reservations/{reservationId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ReservationId: {
- location: "uri",
- locationName: "reservationId",
- },
- },
- required: ["ReservationId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- Count: { locationName: "count", type: "integer" },
- CurrencyCode: { locationName: "currencyCode" },
- Duration: { locationName: "duration", type: "integer" },
- DurationUnits: { locationName: "durationUnits" },
- End: { locationName: "end" },
- FixedPrice: { locationName: "fixedPrice", type: "double" },
- Name: { locationName: "name" },
- OfferingDescription: { locationName: "offeringDescription" },
- OfferingId: { locationName: "offeringId" },
- OfferingType: { locationName: "offeringType" },
- Region: { locationName: "region" },
- ReservationId: { locationName: "reservationId" },
- ResourceSpecification: {
- shape: "Sdp",
- locationName: "resourceSpecification",
- },
- Start: { locationName: "start" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- UsagePrice: { locationName: "usagePrice", type: "double" },
- },
- },
- },
- DeleteSchedule: {
- http: {
- method: "DELETE",
- requestUri: "/prod/channels/{channelId}/schedule",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ChannelId: { location: "uri", locationName: "channelId" },
- },
- required: ["ChannelId"],
- },
- output: { type: "structure", members: {} },
- },
- DeleteTags: {
- http: {
- method: "DELETE",
- requestUri: "/prod/tags/{resource-arn}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- TagKeys: {
- shape: "Sf",
- location: "querystring",
- locationName: "tagKeys",
- },
- },
- required: ["TagKeys", "ResourceArn"],
- },
- },
- DescribeChannel: {
- http: {
- method: "GET",
- requestUri: "/prod/channels/{channelId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ChannelId: { location: "uri", locationName: "channelId" },
- },
- required: ["ChannelId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- ChannelClass: { locationName: "channelClass" },
- Destinations: { shape: "S1j", locationName: "destinations" },
- EgressEndpoints: {
- shape: "Sbp",
- locationName: "egressEndpoints",
- },
- EncoderSettings: {
- shape: "S1r",
- locationName: "encoderSettings",
- },
- Id: { locationName: "id" },
- InputAttachments: {
- shape: "Saf",
- locationName: "inputAttachments",
- },
- InputSpecification: {
- shape: "Sbh",
- locationName: "inputSpecification",
- },
- LogLevel: { locationName: "logLevel" },
- Name: { locationName: "name" },
- PipelineDetails: {
- shape: "Sbr",
- locationName: "pipelineDetails",
- },
- PipelinesRunningCount: {
- locationName: "pipelinesRunningCount",
- type: "integer",
- },
- RoleArn: { locationName: "roleArn" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- },
- },
- DescribeInput: {
- http: {
- method: "GET",
- requestUri: "/prod/inputs/{inputId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- InputId: { location: "uri", locationName: "inputId" },
- },
- required: ["InputId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- AttachedChannels: {
- shape: "Sf",
- locationName: "attachedChannels",
- },
- Destinations: { shape: "Sc5", locationName: "destinations" },
- Id: { locationName: "id" },
- InputClass: { locationName: "inputClass" },
- InputSourceType: { locationName: "inputSourceType" },
- MediaConnectFlows: {
- shape: "Sca",
- locationName: "mediaConnectFlows",
- },
- Name: { locationName: "name" },
- RoleArn: { locationName: "roleArn" },
- SecurityGroups: { shape: "Sf", locationName: "securityGroups" },
- Sources: { shape: "Scc", locationName: "sources" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- Type: { locationName: "type" },
- },
- },
- },
- DescribeInputSecurityGroup: {
- http: {
- method: "GET",
- requestUri: "/prod/inputSecurityGroups/{inputSecurityGroupId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- InputSecurityGroupId: {
- location: "uri",
- locationName: "inputSecurityGroupId",
- },
- },
- required: ["InputSecurityGroupId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- Id: { locationName: "id" },
- Inputs: { shape: "Sf", locationName: "inputs" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- WhitelistRules: {
- shape: "Scl",
- locationName: "whitelistRules",
- },
- },
- },
- },
- DescribeMultiplex: {
- http: {
- method: "GET",
- requestUri: "/prod/multiplexes/{multiplexId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MultiplexId: { location: "uri", locationName: "multiplexId" },
- },
- required: ["MultiplexId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- AvailabilityZones: {
- shape: "Sf",
- locationName: "availabilityZones",
- },
- Destinations: { shape: "Scu", locationName: "destinations" },
- Id: { locationName: "id" },
- MultiplexSettings: {
- shape: "Sco",
- locationName: "multiplexSettings",
- },
- Name: { locationName: "name" },
- PipelinesRunningCount: {
- locationName: "pipelinesRunningCount",
- type: "integer",
- },
- ProgramCount: { locationName: "programCount", type: "integer" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- },
- },
- DescribeMultiplexProgram: {
- http: {
- method: "GET",
- requestUri:
- "/prod/multiplexes/{multiplexId}/programs/{programName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MultiplexId: { location: "uri", locationName: "multiplexId" },
- ProgramName: { location: "uri", locationName: "programName" },
- },
- required: ["MultiplexId", "ProgramName"],
- },
- output: {
- type: "structure",
- members: {
- ChannelId: { locationName: "channelId" },
- MultiplexProgramSettings: {
- shape: "Scz",
- locationName: "multiplexProgramSettings",
- },
- PacketIdentifiersMap: {
- shape: "Sd8",
- locationName: "packetIdentifiersMap",
- },
- ProgramName: { locationName: "programName" },
- },
- },
- },
- DescribeOffering: {
- http: {
- method: "GET",
- requestUri: "/prod/offerings/{offeringId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- OfferingId: { location: "uri", locationName: "offeringId" },
- },
- required: ["OfferingId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- CurrencyCode: { locationName: "currencyCode" },
- Duration: { locationName: "duration", type: "integer" },
- DurationUnits: { locationName: "durationUnits" },
- FixedPrice: { locationName: "fixedPrice", type: "double" },
- OfferingDescription: { locationName: "offeringDescription" },
- OfferingId: { locationName: "offeringId" },
- OfferingType: { locationName: "offeringType" },
- Region: { locationName: "region" },
- ResourceSpecification: {
- shape: "Sdp",
- locationName: "resourceSpecification",
- },
- UsagePrice: { locationName: "usagePrice", type: "double" },
- },
- },
- },
- DescribeReservation: {
- http: {
- method: "GET",
- requestUri: "/prod/reservations/{reservationId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ReservationId: {
- location: "uri",
- locationName: "reservationId",
- },
- },
- required: ["ReservationId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- Count: { locationName: "count", type: "integer" },
- CurrencyCode: { locationName: "currencyCode" },
- Duration: { locationName: "duration", type: "integer" },
- DurationUnits: { locationName: "durationUnits" },
- End: { locationName: "end" },
- FixedPrice: { locationName: "fixedPrice", type: "double" },
- Name: { locationName: "name" },
- OfferingDescription: { locationName: "offeringDescription" },
- OfferingId: { locationName: "offeringId" },
- OfferingType: { locationName: "offeringType" },
- Region: { locationName: "region" },
- ReservationId: { locationName: "reservationId" },
- ResourceSpecification: {
- shape: "Sdp",
- locationName: "resourceSpecification",
- },
- Start: { locationName: "start" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- UsagePrice: { locationName: "usagePrice", type: "double" },
- },
- },
- },
- DescribeSchedule: {
- http: {
- method: "GET",
- requestUri: "/prod/channels/{channelId}/schedule",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ChannelId: { location: "uri", locationName: "channelId" },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- required: ["ChannelId"],
- },
- output: {
- type: "structure",
- members: {
- NextToken: { locationName: "nextToken" },
- ScheduleActions: {
- shape: "S4",
- locationName: "scheduleActions",
- },
- },
- },
- },
- ListChannels: {
- http: {
- method: "GET",
- requestUri: "/prod/channels",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Channels: {
- locationName: "channels",
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- ChannelClass: { locationName: "channelClass" },
- Destinations: {
- shape: "S1j",
- locationName: "destinations",
- },
- EgressEndpoints: {
- shape: "Sbp",
- locationName: "egressEndpoints",
- },
- Id: { locationName: "id" },
- InputAttachments: {
- shape: "Saf",
- locationName: "inputAttachments",
- },
- InputSpecification: {
- shape: "Sbh",
- locationName: "inputSpecification",
- },
- LogLevel: { locationName: "logLevel" },
- Name: { locationName: "name" },
- PipelinesRunningCount: {
- locationName: "pipelinesRunningCount",
- type: "integer",
- },
- RoleArn: { locationName: "roleArn" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListInputSecurityGroups: {
- http: {
- method: "GET",
- requestUri: "/prod/inputSecurityGroups",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- InputSecurityGroups: {
- locationName: "inputSecurityGroups",
- type: "list",
- member: { shape: "Scj" },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListInputs: {
- http: {
- method: "GET",
- requestUri: "/prod/inputs",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Inputs: {
- locationName: "inputs",
- type: "list",
- member: { shape: "Sc4" },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListMultiplexPrograms: {
- http: {
- method: "GET",
- requestUri: "/prod/multiplexes/{multiplexId}/programs",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- MultiplexId: { location: "uri", locationName: "multiplexId" },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- required: ["MultiplexId"],
- },
- output: {
- type: "structure",
- members: {
- MultiplexPrograms: {
- locationName: "multiplexPrograms",
- type: "list",
- member: {
- type: "structure",
- members: {
- ChannelId: { locationName: "channelId" },
- ProgramName: { locationName: "programName" },
- },
- },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListMultiplexes: {
- http: {
- method: "GET",
- requestUri: "/prod/multiplexes",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Multiplexes: {
- locationName: "multiplexes",
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- AvailabilityZones: {
- shape: "Sf",
- locationName: "availabilityZones",
- },
- Id: { locationName: "id" },
- MultiplexSettings: {
- locationName: "multiplexSettings",
- type: "structure",
- members: {
- TransportStreamBitrate: {
- locationName: "transportStreamBitrate",
- type: "integer",
- },
- },
- },
- Name: { locationName: "name" },
- PipelinesRunningCount: {
- locationName: "pipelinesRunningCount",
- type: "integer",
- },
- ProgramCount: {
- locationName: "programCount",
- type: "integer",
- },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListOfferings: {
- http: {
- method: "GET",
- requestUri: "/prod/offerings",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ChannelClass: {
- location: "querystring",
- locationName: "channelClass",
- },
- ChannelConfiguration: {
- location: "querystring",
- locationName: "channelConfiguration",
- },
- Codec: { location: "querystring", locationName: "codec" },
- Duration: { location: "querystring", locationName: "duration" },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- MaximumBitrate: {
- location: "querystring",
- locationName: "maximumBitrate",
- },
- MaximumFramerate: {
- location: "querystring",
- locationName: "maximumFramerate",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- Resolution: {
- location: "querystring",
- locationName: "resolution",
- },
- ResourceType: {
- location: "querystring",
- locationName: "resourceType",
- },
- SpecialFeature: {
- location: "querystring",
- locationName: "specialFeature",
- },
- VideoQuality: {
- location: "querystring",
- locationName: "videoQuality",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: { locationName: "nextToken" },
- Offerings: {
- locationName: "offerings",
- type: "list",
- member: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- CurrencyCode: { locationName: "currencyCode" },
- Duration: { locationName: "duration", type: "integer" },
- DurationUnits: { locationName: "durationUnits" },
- FixedPrice: {
- locationName: "fixedPrice",
- type: "double",
- },
- OfferingDescription: {
- locationName: "offeringDescription",
- },
- OfferingId: { locationName: "offeringId" },
- OfferingType: { locationName: "offeringType" },
- Region: { locationName: "region" },
- ResourceSpecification: {
- shape: "Sdp",
- locationName: "resourceSpecification",
- },
- UsagePrice: {
- locationName: "usagePrice",
- type: "double",
- },
- },
- },
- },
- },
- },
- },
- ListReservations: {
- http: {
- method: "GET",
- requestUri: "/prod/reservations",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ChannelClass: {
- location: "querystring",
- locationName: "channelClass",
- },
- Codec: { location: "querystring", locationName: "codec" },
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- MaximumBitrate: {
- location: "querystring",
- locationName: "maximumBitrate",
- },
- MaximumFramerate: {
- location: "querystring",
- locationName: "maximumFramerate",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- Resolution: {
- location: "querystring",
- locationName: "resolution",
- },
- ResourceType: {
- location: "querystring",
- locationName: "resourceType",
- },
- SpecialFeature: {
- location: "querystring",
- locationName: "specialFeature",
- },
- VideoQuality: {
- location: "querystring",
- locationName: "videoQuality",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: { locationName: "nextToken" },
- Reservations: {
- locationName: "reservations",
- type: "list",
- member: { shape: "Sf8" },
- },
- },
- },
- },
- ListTagsForResource: {
- http: {
- method: "GET",
- requestUri: "/prod/tags/{resource-arn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resource-arn" },
- },
- required: ["ResourceArn"],
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "Sbm", locationName: "tags" } },
- },
- },
- PurchaseOffering: {
- http: {
- requestUri: "/prod/offerings/{offeringId}/purchase",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- Count: { locationName: "count", type: "integer" },
- Name: { locationName: "name" },
- OfferingId: { location: "uri", locationName: "offeringId" },
- RequestId: {
- locationName: "requestId",
- idempotencyToken: true,
- },
- Start: { locationName: "start" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- required: ["OfferingId", "Count"],
- },
- output: {
- type: "structure",
- members: {
- Reservation: { shape: "Sf8", locationName: "reservation" },
- },
- },
- },
- StartChannel: {
- http: {
- requestUri: "/prod/channels/{channelId}/start",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ChannelId: { location: "uri", locationName: "channelId" },
- },
- required: ["ChannelId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- ChannelClass: { locationName: "channelClass" },
- Destinations: { shape: "S1j", locationName: "destinations" },
- EgressEndpoints: {
- shape: "Sbp",
- locationName: "egressEndpoints",
- },
- EncoderSettings: {
- shape: "S1r",
- locationName: "encoderSettings",
- },
- Id: { locationName: "id" },
- InputAttachments: {
- shape: "Saf",
- locationName: "inputAttachments",
- },
- InputSpecification: {
- shape: "Sbh",
- locationName: "inputSpecification",
- },
- LogLevel: { locationName: "logLevel" },
- Name: { locationName: "name" },
- PipelineDetails: {
- shape: "Sbr",
- locationName: "pipelineDetails",
- },
- PipelinesRunningCount: {
- locationName: "pipelinesRunningCount",
- type: "integer",
- },
- RoleArn: { locationName: "roleArn" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- },
- },
- StartMultiplex: {
- http: {
- requestUri: "/prod/multiplexes/{multiplexId}/start",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- MultiplexId: { location: "uri", locationName: "multiplexId" },
- },
- required: ["MultiplexId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- AvailabilityZones: {
- shape: "Sf",
- locationName: "availabilityZones",
- },
- Destinations: { shape: "Scu", locationName: "destinations" },
- Id: { locationName: "id" },
- MultiplexSettings: {
- shape: "Sco",
- locationName: "multiplexSettings",
- },
- Name: { locationName: "name" },
- PipelinesRunningCount: {
- locationName: "pipelinesRunningCount",
- type: "integer",
- },
- ProgramCount: { locationName: "programCount", type: "integer" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- },
- },
- StopChannel: {
- http: {
- requestUri: "/prod/channels/{channelId}/stop",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ChannelId: { location: "uri", locationName: "channelId" },
- },
- required: ["ChannelId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- ChannelClass: { locationName: "channelClass" },
- Destinations: { shape: "S1j", locationName: "destinations" },
- EgressEndpoints: {
- shape: "Sbp",
- locationName: "egressEndpoints",
- },
- EncoderSettings: {
- shape: "S1r",
- locationName: "encoderSettings",
- },
- Id: { locationName: "id" },
- InputAttachments: {
- shape: "Saf",
- locationName: "inputAttachments",
- },
- InputSpecification: {
- shape: "Sbh",
- locationName: "inputSpecification",
- },
- LogLevel: { locationName: "logLevel" },
- Name: { locationName: "name" },
- PipelineDetails: {
- shape: "Sbr",
- locationName: "pipelineDetails",
- },
- PipelinesRunningCount: {
- locationName: "pipelinesRunningCount",
- type: "integer",
- },
- RoleArn: { locationName: "roleArn" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- },
- },
- StopMultiplex: {
- http: {
- requestUri: "/prod/multiplexes/{multiplexId}/stop",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- MultiplexId: { location: "uri", locationName: "multiplexId" },
- },
- required: ["MultiplexId"],
- },
- output: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- AvailabilityZones: {
- shape: "Sf",
- locationName: "availabilityZones",
- },
- Destinations: { shape: "Scu", locationName: "destinations" },
- Id: { locationName: "id" },
- MultiplexSettings: {
- shape: "Sco",
- locationName: "multiplexSettings",
- },
- Name: { locationName: "name" },
- PipelinesRunningCount: {
- locationName: "pipelinesRunningCount",
- type: "integer",
- },
- ProgramCount: { locationName: "programCount", type: "integer" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- },
- },
- UpdateChannel: {
- http: {
- method: "PUT",
- requestUri: "/prod/channels/{channelId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ChannelId: { location: "uri", locationName: "channelId" },
- Destinations: { shape: "S1j", locationName: "destinations" },
- EncoderSettings: {
- shape: "S1r",
- locationName: "encoderSettings",
- },
- InputAttachments: {
- shape: "Saf",
- locationName: "inputAttachments",
- },
- InputSpecification: {
- shape: "Sbh",
- locationName: "inputSpecification",
- },
- LogLevel: { locationName: "logLevel" },
- Name: { locationName: "name" },
- RoleArn: { locationName: "roleArn" },
- },
- required: ["ChannelId"],
- },
- output: {
- type: "structure",
- members: { Channel: { shape: "Sbo", locationName: "channel" } },
- },
- },
- UpdateChannelClass: {
- http: {
- method: "PUT",
- requestUri: "/prod/channels/{channelId}/channelClass",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ChannelClass: { locationName: "channelClass" },
- ChannelId: { location: "uri", locationName: "channelId" },
- Destinations: { shape: "S1j", locationName: "destinations" },
- },
- required: ["ChannelId", "ChannelClass"],
- },
- output: {
- type: "structure",
- members: { Channel: { shape: "Sbo", locationName: "channel" } },
- },
- },
- UpdateInput: {
- http: {
- method: "PUT",
- requestUri: "/prod/inputs/{inputId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Destinations: { shape: "Sbv", locationName: "destinations" },
- InputId: { location: "uri", locationName: "inputId" },
- InputSecurityGroups: {
- shape: "Sf",
- locationName: "inputSecurityGroups",
- },
- MediaConnectFlows: {
- shape: "Sbx",
- locationName: "mediaConnectFlows",
- },
- Name: { locationName: "name" },
- RoleArn: { locationName: "roleArn" },
- Sources: { shape: "Sbz", locationName: "sources" },
- },
- required: ["InputId"],
- },
- output: {
- type: "structure",
- members: { Input: { shape: "Sc4", locationName: "input" } },
- },
- },
- UpdateInputSecurityGroup: {
- http: {
- method: "PUT",
- requestUri: "/prod/inputSecurityGroups/{inputSecurityGroupId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- InputSecurityGroupId: {
- location: "uri",
- locationName: "inputSecurityGroupId",
- },
- Tags: { shape: "Sbm", locationName: "tags" },
- WhitelistRules: {
- shape: "Scg",
- locationName: "whitelistRules",
- },
- },
- required: ["InputSecurityGroupId"],
- },
- output: {
- type: "structure",
- members: {
- SecurityGroup: { shape: "Scj", locationName: "securityGroup" },
- },
- },
- },
- UpdateMultiplex: {
- http: {
- method: "PUT",
- requestUri: "/prod/multiplexes/{multiplexId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MultiplexId: { location: "uri", locationName: "multiplexId" },
- MultiplexSettings: {
- shape: "Sco",
- locationName: "multiplexSettings",
- },
- Name: { locationName: "name" },
- },
- required: ["MultiplexId"],
- },
- output: {
- type: "structure",
- members: {
- Multiplex: { shape: "Sct", locationName: "multiplex" },
- },
- },
- },
- UpdateMultiplexProgram: {
- http: {
- method: "PUT",
- requestUri:
- "/prod/multiplexes/{multiplexId}/programs/{programName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MultiplexId: { location: "uri", locationName: "multiplexId" },
- MultiplexProgramSettings: {
- shape: "Scz",
- locationName: "multiplexProgramSettings",
- },
- ProgramName: { location: "uri", locationName: "programName" },
- },
- required: ["MultiplexId", "ProgramName"],
- },
- output: {
- type: "structure",
- members: {
- MultiplexProgram: {
- shape: "Sd7",
- locationName: "multiplexProgram",
- },
- },
- },
- },
- UpdateReservation: {
- http: {
- method: "PUT",
- requestUri: "/prod/reservations/{reservationId}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Name: { locationName: "name" },
- ReservationId: {
- location: "uri",
- locationName: "reservationId",
- },
- },
- required: ["ReservationId"],
- },
- output: {
- type: "structure",
- members: {
- Reservation: { shape: "Sf8", locationName: "reservation" },
- },
- },
- },
- },
- shapes: {
- S4: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ActionName: { locationName: "actionName" },
- ScheduleActionSettings: {
- locationName: "scheduleActionSettings",
- type: "structure",
- members: {
- HlsId3SegmentTaggingSettings: {
- locationName: "hlsId3SegmentTaggingSettings",
- type: "structure",
- members: { Tag: { locationName: "tag" } },
- required: ["Tag"],
- },
- HlsTimedMetadataSettings: {
- locationName: "hlsTimedMetadataSettings",
- type: "structure",
- members: { Id3: { locationName: "id3" } },
- required: ["Id3"],
- },
- InputSwitchSettings: {
- locationName: "inputSwitchSettings",
- type: "structure",
- members: {
- InputAttachmentNameReference: {
- locationName: "inputAttachmentNameReference",
- },
- InputClippingSettings: {
- locationName: "inputClippingSettings",
- type: "structure",
- members: {
- InputTimecodeSource: {
- locationName: "inputTimecodeSource",
- },
- StartTimecode: {
- locationName: "startTimecode",
- type: "structure",
- members: {
- Timecode: { locationName: "timecode" },
- },
- },
- StopTimecode: {
- locationName: "stopTimecode",
- type: "structure",
- members: {
- LastFrameClippingBehavior: {
- locationName: "lastFrameClippingBehavior",
- },
- Timecode: { locationName: "timecode" },
- },
- },
- },
- required: ["InputTimecodeSource"],
- },
- UrlPath: { shape: "Sf", locationName: "urlPath" },
- },
- required: ["InputAttachmentNameReference"],
- },
- PauseStateSettings: {
- locationName: "pauseStateSettings",
- type: "structure",
- members: {
- Pipelines: {
- locationName: "pipelines",
- type: "list",
- member: {
- type: "structure",
- members: {
- PipelineId: { locationName: "pipelineId" },
- },
- required: ["PipelineId"],
- },
- },
- },
- },
- Scte35ReturnToNetworkSettings: {
- locationName: "scte35ReturnToNetworkSettings",
- type: "structure",
- members: {
- SpliceEventId: {
- locationName: "spliceEventId",
- type: "long",
- },
- },
- required: ["SpliceEventId"],
- },
- Scte35SpliceInsertSettings: {
- locationName: "scte35SpliceInsertSettings",
- type: "structure",
- members: {
- Duration: { locationName: "duration", type: "long" },
- SpliceEventId: {
- locationName: "spliceEventId",
- type: "long",
- },
- },
- required: ["SpliceEventId"],
- },
- Scte35TimeSignalSettings: {
- locationName: "scte35TimeSignalSettings",
- type: "structure",
- members: {
- Scte35Descriptors: {
- locationName: "scte35Descriptors",
- type: "list",
- member: {
- type: "structure",
- members: {
- Scte35DescriptorSettings: {
- locationName: "scte35DescriptorSettings",
- type: "structure",
- members: {
- SegmentationDescriptorScte35DescriptorSettings: {
- locationName:
- "segmentationDescriptorScte35DescriptorSettings",
- type: "structure",
- members: {
- DeliveryRestrictions: {
- locationName: "deliveryRestrictions",
- type: "structure",
- members: {
- ArchiveAllowedFlag: {
- locationName: "archiveAllowedFlag",
- },
- DeviceRestrictions: {
- locationName: "deviceRestrictions",
- },
- NoRegionalBlackoutFlag: {
- locationName:
- "noRegionalBlackoutFlag",
- },
- WebDeliveryAllowedFlag: {
- locationName:
- "webDeliveryAllowedFlag",
- },
- },
- required: [
- "DeviceRestrictions",
- "ArchiveAllowedFlag",
- "WebDeliveryAllowedFlag",
- "NoRegionalBlackoutFlag",
- ],
- },
- SegmentNum: {
- locationName: "segmentNum",
- type: "integer",
- },
- SegmentationCancelIndicator: {
- locationName:
- "segmentationCancelIndicator",
- },
- SegmentationDuration: {
- locationName: "segmentationDuration",
- type: "long",
- },
- SegmentationEventId: {
- locationName: "segmentationEventId",
- type: "long",
- },
- SegmentationTypeId: {
- locationName: "segmentationTypeId",
- type: "integer",
- },
- SegmentationUpid: {
- locationName: "segmentationUpid",
- },
- SegmentationUpidType: {
- locationName: "segmentationUpidType",
- type: "integer",
- },
- SegmentsExpected: {
- locationName: "segmentsExpected",
- type: "integer",
- },
- SubSegmentNum: {
- locationName: "subSegmentNum",
- type: "integer",
- },
- SubSegmentsExpected: {
- locationName: "subSegmentsExpected",
- type: "integer",
- },
- },
- required: [
- "SegmentationEventId",
- "SegmentationCancelIndicator",
- ],
- },
- },
- required: [
- "SegmentationDescriptorScte35DescriptorSettings",
- ],
- },
- },
- required: ["Scte35DescriptorSettings"],
- },
- },
- },
- required: ["Scte35Descriptors"],
- },
- StaticImageActivateSettings: {
- locationName: "staticImageActivateSettings",
- type: "structure",
- members: {
- Duration: { locationName: "duration", type: "integer" },
- FadeIn: { locationName: "fadeIn", type: "integer" },
- FadeOut: { locationName: "fadeOut", type: "integer" },
- Height: { locationName: "height", type: "integer" },
- Image: { shape: "S14", locationName: "image" },
- ImageX: { locationName: "imageX", type: "integer" },
- ImageY: { locationName: "imageY", type: "integer" },
- Layer: { locationName: "layer", type: "integer" },
- Opacity: { locationName: "opacity", type: "integer" },
- Width: { locationName: "width", type: "integer" },
- },
- required: ["Image"],
- },
- StaticImageDeactivateSettings: {
- locationName: "staticImageDeactivateSettings",
- type: "structure",
- members: {
- FadeOut: { locationName: "fadeOut", type: "integer" },
- Layer: { locationName: "layer", type: "integer" },
- },
- },
- },
- },
- ScheduleActionStartSettings: {
- locationName: "scheduleActionStartSettings",
- type: "structure",
- members: {
- FixedModeScheduleActionStartSettings: {
- locationName: "fixedModeScheduleActionStartSettings",
- type: "structure",
- members: { Time: { locationName: "time" } },
- required: ["Time"],
- },
- FollowModeScheduleActionStartSettings: {
- locationName: "followModeScheduleActionStartSettings",
- type: "structure",
- members: {
- FollowPoint: { locationName: "followPoint" },
- ReferenceActionName: {
- locationName: "referenceActionName",
- },
- },
- required: ["ReferenceActionName", "FollowPoint"],
- },
- ImmediateModeScheduleActionStartSettings: {
- locationName: "immediateModeScheduleActionStartSettings",
- type: "structure",
- members: {},
- },
- },
- },
- },
- required: [
- "ActionName",
- "ScheduleActionStartSettings",
- "ScheduleActionSettings",
- ],
- },
- },
- Sf: { type: "list", member: {} },
- S14: {
- type: "structure",
- members: {
- PasswordParam: { locationName: "passwordParam" },
- Uri: { locationName: "uri" },
- Username: { locationName: "username" },
- },
- required: ["Uri"],
- },
- S1j: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: { locationName: "id" },
- MediaPackageSettings: {
- locationName: "mediaPackageSettings",
- type: "list",
- member: {
- type: "structure",
- members: { ChannelId: { locationName: "channelId" } },
- },
- },
- MultiplexSettings: {
- locationName: "multiplexSettings",
- type: "structure",
- members: {
- MultiplexId: { locationName: "multiplexId" },
- ProgramName: { locationName: "programName" },
- },
- },
- Settings: {
- locationName: "settings",
- type: "list",
- member: {
- type: "structure",
- members: {
- PasswordParam: { locationName: "passwordParam" },
- StreamName: { locationName: "streamName" },
- Url: { locationName: "url" },
- Username: { locationName: "username" },
- },
- },
- },
- },
- },
- },
- S1r: {
- type: "structure",
- members: {
- AudioDescriptions: {
- locationName: "audioDescriptions",
- type: "list",
- member: {
- type: "structure",
- members: {
- AudioNormalizationSettings: {
- locationName: "audioNormalizationSettings",
- type: "structure",
- members: {
- Algorithm: { locationName: "algorithm" },
- AlgorithmControl: { locationName: "algorithmControl" },
- TargetLkfs: {
- locationName: "targetLkfs",
- type: "double",
- },
- },
- },
- AudioSelectorName: { locationName: "audioSelectorName" },
- AudioType: { locationName: "audioType" },
- AudioTypeControl: { locationName: "audioTypeControl" },
- CodecSettings: {
- locationName: "codecSettings",
- type: "structure",
- members: {
- AacSettings: {
- locationName: "aacSettings",
- type: "structure",
- members: {
- Bitrate: {
- locationName: "bitrate",
- type: "double",
- },
- CodingMode: { locationName: "codingMode" },
- InputType: { locationName: "inputType" },
- Profile: { locationName: "profile" },
- RateControlMode: {
- locationName: "rateControlMode",
- },
- RawFormat: { locationName: "rawFormat" },
- SampleRate: {
- locationName: "sampleRate",
- type: "double",
- },
- Spec: { locationName: "spec" },
- VbrQuality: { locationName: "vbrQuality" },
- },
- },
- Ac3Settings: {
- locationName: "ac3Settings",
- type: "structure",
- members: {
- Bitrate: {
- locationName: "bitrate",
- type: "double",
- },
- BitstreamMode: { locationName: "bitstreamMode" },
- CodingMode: { locationName: "codingMode" },
- Dialnorm: {
- locationName: "dialnorm",
- type: "integer",
- },
- DrcProfile: { locationName: "drcProfile" },
- LfeFilter: { locationName: "lfeFilter" },
- MetadataControl: {
- locationName: "metadataControl",
- },
- },
- },
- Eac3Settings: {
- locationName: "eac3Settings",
- type: "structure",
- members: {
- AttenuationControl: {
- locationName: "attenuationControl",
- },
- Bitrate: {
- locationName: "bitrate",
- type: "double",
- },
- BitstreamMode: { locationName: "bitstreamMode" },
- CodingMode: { locationName: "codingMode" },
- DcFilter: { locationName: "dcFilter" },
- Dialnorm: {
- locationName: "dialnorm",
- type: "integer",
- },
- DrcLine: { locationName: "drcLine" },
- DrcRf: { locationName: "drcRf" },
- LfeControl: { locationName: "lfeControl" },
- LfeFilter: { locationName: "lfeFilter" },
- LoRoCenterMixLevel: {
- locationName: "loRoCenterMixLevel",
- type: "double",
- },
- LoRoSurroundMixLevel: {
- locationName: "loRoSurroundMixLevel",
- type: "double",
- },
- LtRtCenterMixLevel: {
- locationName: "ltRtCenterMixLevel",
- type: "double",
- },
- LtRtSurroundMixLevel: {
- locationName: "ltRtSurroundMixLevel",
- type: "double",
- },
- MetadataControl: {
- locationName: "metadataControl",
- },
- PassthroughControl: {
- locationName: "passthroughControl",
- },
- PhaseControl: { locationName: "phaseControl" },
- StereoDownmix: { locationName: "stereoDownmix" },
- SurroundExMode: { locationName: "surroundExMode" },
- SurroundMode: { locationName: "surroundMode" },
- },
- },
- Mp2Settings: {
- locationName: "mp2Settings",
- type: "structure",
- members: {
- Bitrate: {
- locationName: "bitrate",
- type: "double",
- },
- CodingMode: { locationName: "codingMode" },
- SampleRate: {
- locationName: "sampleRate",
- type: "double",
- },
- },
- },
- PassThroughSettings: {
- locationName: "passThroughSettings",
- type: "structure",
- members: {},
- },
- },
- },
- LanguageCode: { locationName: "languageCode" },
- LanguageCodeControl: {
- locationName: "languageCodeControl",
- },
- Name: { locationName: "name" },
- RemixSettings: {
- locationName: "remixSettings",
- type: "structure",
- members: {
- ChannelMappings: {
- locationName: "channelMappings",
- type: "list",
- member: {
- type: "structure",
- members: {
- InputChannelLevels: {
- locationName: "inputChannelLevels",
- type: "list",
- member: {
- type: "structure",
- members: {
- Gain: {
- locationName: "gain",
- type: "integer",
- },
- InputChannel: {
- locationName: "inputChannel",
- type: "integer",
- },
- },
- required: ["InputChannel", "Gain"],
- },
- },
- OutputChannel: {
- locationName: "outputChannel",
- type: "integer",
- },
- },
- required: ["OutputChannel", "InputChannelLevels"],
- },
- },
- ChannelsIn: {
- locationName: "channelsIn",
- type: "integer",
- },
- ChannelsOut: {
- locationName: "channelsOut",
- type: "integer",
- },
- },
- required: ["ChannelMappings"],
- },
- StreamName: { locationName: "streamName" },
- },
- required: ["AudioSelectorName", "Name"],
- },
- },
- AvailBlanking: {
- locationName: "availBlanking",
- type: "structure",
- members: {
- AvailBlankingImage: {
- shape: "S14",
- locationName: "availBlankingImage",
- },
- State: { locationName: "state" },
- },
- },
- AvailConfiguration: {
- locationName: "availConfiguration",
- type: "structure",
- members: {
- AvailSettings: {
- locationName: "availSettings",
- type: "structure",
- members: {
- Scte35SpliceInsert: {
- locationName: "scte35SpliceInsert",
- type: "structure",
- members: {
- AdAvailOffset: {
- locationName: "adAvailOffset",
- type: "integer",
- },
- NoRegionalBlackoutFlag: {
- locationName: "noRegionalBlackoutFlag",
- },
- WebDeliveryAllowedFlag: {
- locationName: "webDeliveryAllowedFlag",
- },
- },
- },
- Scte35TimeSignalApos: {
- locationName: "scte35TimeSignalApos",
- type: "structure",
- members: {
- AdAvailOffset: {
- locationName: "adAvailOffset",
- type: "integer",
- },
- NoRegionalBlackoutFlag: {
- locationName: "noRegionalBlackoutFlag",
- },
- WebDeliveryAllowedFlag: {
- locationName: "webDeliveryAllowedFlag",
- },
- },
- },
- },
- },
- },
- },
- BlackoutSlate: {
- locationName: "blackoutSlate",
- type: "structure",
- members: {
- BlackoutSlateImage: {
- shape: "S14",
- locationName: "blackoutSlateImage",
- },
- NetworkEndBlackout: { locationName: "networkEndBlackout" },
- NetworkEndBlackoutImage: {
- shape: "S14",
- locationName: "networkEndBlackoutImage",
- },
- NetworkId: { locationName: "networkId" },
- State: { locationName: "state" },
- },
- },
- CaptionDescriptions: {
- locationName: "captionDescriptions",
- type: "list",
- member: {
- type: "structure",
- members: {
- CaptionSelectorName: {
- locationName: "captionSelectorName",
- },
- DestinationSettings: {
- locationName: "destinationSettings",
- type: "structure",
- members: {
- AribDestinationSettings: {
- locationName: "aribDestinationSettings",
- type: "structure",
- members: {},
- },
- BurnInDestinationSettings: {
- locationName: "burnInDestinationSettings",
- type: "structure",
- members: {
- Alignment: { locationName: "alignment" },
- BackgroundColor: {
- locationName: "backgroundColor",
- },
- BackgroundOpacity: {
- locationName: "backgroundOpacity",
- type: "integer",
- },
- Font: { shape: "S14", locationName: "font" },
- FontColor: { locationName: "fontColor" },
- FontOpacity: {
- locationName: "fontOpacity",
- type: "integer",
- },
- FontResolution: {
- locationName: "fontResolution",
- type: "integer",
- },
- FontSize: { locationName: "fontSize" },
- OutlineColor: { locationName: "outlineColor" },
- OutlineSize: {
- locationName: "outlineSize",
- type: "integer",
- },
- ShadowColor: { locationName: "shadowColor" },
- ShadowOpacity: {
- locationName: "shadowOpacity",
- type: "integer",
- },
- ShadowXOffset: {
- locationName: "shadowXOffset",
- type: "integer",
- },
- ShadowYOffset: {
- locationName: "shadowYOffset",
- type: "integer",
- },
- TeletextGridControl: {
- locationName: "teletextGridControl",
- },
- XPosition: {
- locationName: "xPosition",
- type: "integer",
- },
- YPosition: {
- locationName: "yPosition",
- type: "integer",
- },
- },
- },
- DvbSubDestinationSettings: {
- locationName: "dvbSubDestinationSettings",
- type: "structure",
- members: {
- Alignment: { locationName: "alignment" },
- BackgroundColor: {
- locationName: "backgroundColor",
- },
- BackgroundOpacity: {
- locationName: "backgroundOpacity",
- type: "integer",
- },
- Font: { shape: "S14", locationName: "font" },
- FontColor: { locationName: "fontColor" },
- FontOpacity: {
- locationName: "fontOpacity",
- type: "integer",
- },
- FontResolution: {
- locationName: "fontResolution",
- type: "integer",
- },
- FontSize: { locationName: "fontSize" },
- OutlineColor: { locationName: "outlineColor" },
- OutlineSize: {
- locationName: "outlineSize",
- type: "integer",
- },
- ShadowColor: { locationName: "shadowColor" },
- ShadowOpacity: {
- locationName: "shadowOpacity",
- type: "integer",
- },
- ShadowXOffset: {
- locationName: "shadowXOffset",
- type: "integer",
- },
- ShadowYOffset: {
- locationName: "shadowYOffset",
- type: "integer",
- },
- TeletextGridControl: {
- locationName: "teletextGridControl",
- },
- XPosition: {
- locationName: "xPosition",
- type: "integer",
- },
- YPosition: {
- locationName: "yPosition",
- type: "integer",
- },
- },
- },
- EmbeddedDestinationSettings: {
- locationName: "embeddedDestinationSettings",
- type: "structure",
- members: {},
- },
- EmbeddedPlusScte20DestinationSettings: {
- locationName: "embeddedPlusScte20DestinationSettings",
- type: "structure",
- members: {},
- },
- RtmpCaptionInfoDestinationSettings: {
- locationName: "rtmpCaptionInfoDestinationSettings",
- type: "structure",
- members: {},
- },
- Scte20PlusEmbeddedDestinationSettings: {
- locationName: "scte20PlusEmbeddedDestinationSettings",
- type: "structure",
- members: {},
- },
- Scte27DestinationSettings: {
- locationName: "scte27DestinationSettings",
- type: "structure",
- members: {},
- },
- SmpteTtDestinationSettings: {
- locationName: "smpteTtDestinationSettings",
- type: "structure",
- members: {},
- },
- TeletextDestinationSettings: {
- locationName: "teletextDestinationSettings",
- type: "structure",
- members: {},
- },
- TtmlDestinationSettings: {
- locationName: "ttmlDestinationSettings",
- type: "structure",
- members: {
- StyleControl: { locationName: "styleControl" },
- },
- },
- WebvttDestinationSettings: {
- locationName: "webvttDestinationSettings",
- type: "structure",
- members: {},
- },
- },
- },
- LanguageCode: { locationName: "languageCode" },
- LanguageDescription: {
- locationName: "languageDescription",
- },
- Name: { locationName: "name" },
- },
- required: ["CaptionSelectorName", "Name"],
- },
- },
- GlobalConfiguration: {
- locationName: "globalConfiguration",
- type: "structure",
- members: {
- InitialAudioGain: {
- locationName: "initialAudioGain",
- type: "integer",
- },
- InputEndAction: { locationName: "inputEndAction" },
- InputLossBehavior: {
- locationName: "inputLossBehavior",
- type: "structure",
- members: {
- BlackFrameMsec: {
- locationName: "blackFrameMsec",
- type: "integer",
- },
- InputLossImageColor: {
- locationName: "inputLossImageColor",
- },
- InputLossImageSlate: {
- shape: "S14",
- locationName: "inputLossImageSlate",
- },
- InputLossImageType: {
- locationName: "inputLossImageType",
- },
- RepeatFrameMsec: {
- locationName: "repeatFrameMsec",
- type: "integer",
- },
- },
- },
- OutputLockingMode: { locationName: "outputLockingMode" },
- OutputTimingSource: { locationName: "outputTimingSource" },
- SupportLowFramerateInputs: {
- locationName: "supportLowFramerateInputs",
- },
- },
- },
- NielsenConfiguration: {
- locationName: "nielsenConfiguration",
- type: "structure",
- members: {
- DistributorId: { locationName: "distributorId" },
- NielsenPcmToId3Tagging: {
- locationName: "nielsenPcmToId3Tagging",
- },
- },
- },
- OutputGroups: {
- locationName: "outputGroups",
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: { locationName: "name" },
- OutputGroupSettings: {
- locationName: "outputGroupSettings",
- type: "structure",
- members: {
- ArchiveGroupSettings: {
- locationName: "archiveGroupSettings",
- type: "structure",
- members: {
- Destination: {
- shape: "S51",
- locationName: "destination",
- },
- RolloverInterval: {
- locationName: "rolloverInterval",
- type: "integer",
- },
- },
- required: ["Destination"],
- },
- FrameCaptureGroupSettings: {
- locationName: "frameCaptureGroupSettings",
- type: "structure",
- members: {
- Destination: {
- shape: "S51",
- locationName: "destination",
- },
- },
- required: ["Destination"],
- },
- HlsGroupSettings: {
- locationName: "hlsGroupSettings",
- type: "structure",
- members: {
- AdMarkers: {
- locationName: "adMarkers",
- type: "list",
- member: {},
- },
- BaseUrlContent: { locationName: "baseUrlContent" },
- BaseUrlContent1: {
- locationName: "baseUrlContent1",
- },
- BaseUrlManifest: {
- locationName: "baseUrlManifest",
- },
- BaseUrlManifest1: {
- locationName: "baseUrlManifest1",
- },
- CaptionLanguageMappings: {
- locationName: "captionLanguageMappings",
- type: "list",
- member: {
- type: "structure",
- members: {
- CaptionChannel: {
- locationName: "captionChannel",
- type: "integer",
- },
- LanguageCode: {
- locationName: "languageCode",
- },
- LanguageDescription: {
- locationName: "languageDescription",
- },
- },
- required: [
- "LanguageCode",
- "LanguageDescription",
- "CaptionChannel",
- ],
- },
- },
- CaptionLanguageSetting: {
- locationName: "captionLanguageSetting",
- },
- ClientCache: { locationName: "clientCache" },
- CodecSpecification: {
- locationName: "codecSpecification",
- },
- ConstantIv: { locationName: "constantIv" },
- Destination: {
- shape: "S51",
- locationName: "destination",
- },
- DirectoryStructure: {
- locationName: "directoryStructure",
- },
- EncryptionType: { locationName: "encryptionType" },
- HlsCdnSettings: {
- locationName: "hlsCdnSettings",
- type: "structure",
- members: {
- HlsAkamaiSettings: {
- locationName: "hlsAkamaiSettings",
- type: "structure",
- members: {
- ConnectionRetryInterval: {
- locationName: "connectionRetryInterval",
- type: "integer",
- },
- FilecacheDuration: {
- locationName: "filecacheDuration",
- type: "integer",
- },
- HttpTransferMode: {
- locationName: "httpTransferMode",
- },
- NumRetries: {
- locationName: "numRetries",
- type: "integer",
- },
- RestartDelay: {
- locationName: "restartDelay",
- type: "integer",
- },
- Salt: { locationName: "salt" },
- Token: { locationName: "token" },
- },
- },
- HlsBasicPutSettings: {
- locationName: "hlsBasicPutSettings",
- type: "structure",
- members: {
- ConnectionRetryInterval: {
- locationName: "connectionRetryInterval",
- type: "integer",
- },
- FilecacheDuration: {
- locationName: "filecacheDuration",
- type: "integer",
- },
- NumRetries: {
- locationName: "numRetries",
- type: "integer",
- },
- RestartDelay: {
- locationName: "restartDelay",
- type: "integer",
- },
- },
- },
- HlsMediaStoreSettings: {
- locationName: "hlsMediaStoreSettings",
- type: "structure",
- members: {
- ConnectionRetryInterval: {
- locationName: "connectionRetryInterval",
- type: "integer",
- },
- FilecacheDuration: {
- locationName: "filecacheDuration",
- type: "integer",
- },
- MediaStoreStorageClass: {
- locationName: "mediaStoreStorageClass",
- },
- NumRetries: {
- locationName: "numRetries",
- type: "integer",
- },
- RestartDelay: {
- locationName: "restartDelay",
- type: "integer",
- },
- },
- },
- HlsWebdavSettings: {
- locationName: "hlsWebdavSettings",
- type: "structure",
- members: {
- ConnectionRetryInterval: {
- locationName: "connectionRetryInterval",
- type: "integer",
- },
- FilecacheDuration: {
- locationName: "filecacheDuration",
- type: "integer",
- },
- HttpTransferMode: {
- locationName: "httpTransferMode",
- },
- NumRetries: {
- locationName: "numRetries",
- type: "integer",
- },
- RestartDelay: {
- locationName: "restartDelay",
- type: "integer",
- },
- },
- },
- },
- },
- HlsId3SegmentTagging: {
- locationName: "hlsId3SegmentTagging",
- },
- IFrameOnlyPlaylists: {
- locationName: "iFrameOnlyPlaylists",
- },
- IndexNSegments: {
- locationName: "indexNSegments",
- type: "integer",
- },
- InputLossAction: {
- locationName: "inputLossAction",
- },
- IvInManifest: { locationName: "ivInManifest" },
- IvSource: { locationName: "ivSource" },
- KeepSegments: {
- locationName: "keepSegments",
- type: "integer",
- },
- KeyFormat: { locationName: "keyFormat" },
- KeyFormatVersions: {
- locationName: "keyFormatVersions",
- },
- KeyProviderSettings: {
- locationName: "keyProviderSettings",
- type: "structure",
- members: {
- StaticKeySettings: {
- locationName: "staticKeySettings",
- type: "structure",
- members: {
- KeyProviderServer: {
- shape: "S14",
- locationName: "keyProviderServer",
- },
- StaticKeyValue: {
- locationName: "staticKeyValue",
- },
- },
- required: ["StaticKeyValue"],
- },
- },
- },
- ManifestCompression: {
- locationName: "manifestCompression",
- },
- ManifestDurationFormat: {
- locationName: "manifestDurationFormat",
- },
- MinSegmentLength: {
- locationName: "minSegmentLength",
- type: "integer",
- },
- Mode: { locationName: "mode" },
- OutputSelection: {
- locationName: "outputSelection",
- },
- ProgramDateTime: {
- locationName: "programDateTime",
- },
- ProgramDateTimePeriod: {
- locationName: "programDateTimePeriod",
- type: "integer",
- },
- RedundantManifest: {
- locationName: "redundantManifest",
- },
- SegmentLength: {
- locationName: "segmentLength",
- type: "integer",
- },
- SegmentationMode: {
- locationName: "segmentationMode",
- },
- SegmentsPerSubdirectory: {
- locationName: "segmentsPerSubdirectory",
- type: "integer",
- },
- StreamInfResolution: {
- locationName: "streamInfResolution",
- },
- TimedMetadataId3Frame: {
- locationName: "timedMetadataId3Frame",
- },
- TimedMetadataId3Period: {
- locationName: "timedMetadataId3Period",
- type: "integer",
- },
- TimestampDeltaMilliseconds: {
- locationName: "timestampDeltaMilliseconds",
- type: "integer",
- },
- TsFileMode: { locationName: "tsFileMode" },
- },
- required: ["Destination"],
- },
- MediaPackageGroupSettings: {
- locationName: "mediaPackageGroupSettings",
- type: "structure",
- members: {
- Destination: {
- shape: "S51",
- locationName: "destination",
- },
- },
- required: ["Destination"],
- },
- MsSmoothGroupSettings: {
- locationName: "msSmoothGroupSettings",
- type: "structure",
- members: {
- AcquisitionPointId: {
- locationName: "acquisitionPointId",
- },
- AudioOnlyTimecodeControl: {
- locationName: "audioOnlyTimecodeControl",
- },
- CertificateMode: {
- locationName: "certificateMode",
- },
- ConnectionRetryInterval: {
- locationName: "connectionRetryInterval",
- type: "integer",
- },
- Destination: {
- shape: "S51",
- locationName: "destination",
- },
- EventId: { locationName: "eventId" },
- EventIdMode: { locationName: "eventIdMode" },
- EventStopBehavior: {
- locationName: "eventStopBehavior",
- },
- FilecacheDuration: {
- locationName: "filecacheDuration",
- type: "integer",
- },
- FragmentLength: {
- locationName: "fragmentLength",
- type: "integer",
- },
- InputLossAction: {
- locationName: "inputLossAction",
- },
- NumRetries: {
- locationName: "numRetries",
- type: "integer",
- },
- RestartDelay: {
- locationName: "restartDelay",
- type: "integer",
- },
- SegmentationMode: {
- locationName: "segmentationMode",
- },
- SendDelayMs: {
- locationName: "sendDelayMs",
- type: "integer",
- },
- SparseTrackType: {
- locationName: "sparseTrackType",
- },
- StreamManifestBehavior: {
- locationName: "streamManifestBehavior",
- },
- TimestampOffset: {
- locationName: "timestampOffset",
- },
- TimestampOffsetMode: {
- locationName: "timestampOffsetMode",
- },
- },
- required: ["Destination"],
- },
- MultiplexGroupSettings: {
- locationName: "multiplexGroupSettings",
- type: "structure",
- members: {},
- },
- RtmpGroupSettings: {
- locationName: "rtmpGroupSettings",
- type: "structure",
- members: {
- AuthenticationScheme: {
- locationName: "authenticationScheme",
- },
- CacheFullBehavior: {
- locationName: "cacheFullBehavior",
- },
- CacheLength: {
- locationName: "cacheLength",
- type: "integer",
- },
- CaptionData: { locationName: "captionData" },
- InputLossAction: {
- locationName: "inputLossAction",
- },
- RestartDelay: {
- locationName: "restartDelay",
- type: "integer",
- },
- },
- },
- UdpGroupSettings: {
- locationName: "udpGroupSettings",
- type: "structure",
- members: {
- InputLossAction: {
- locationName: "inputLossAction",
- },
- TimedMetadataId3Frame: {
- locationName: "timedMetadataId3Frame",
- },
- TimedMetadataId3Period: {
- locationName: "timedMetadataId3Period",
- type: "integer",
- },
- },
- },
- },
- },
- Outputs: {
- locationName: "outputs",
- type: "list",
- member: {
- type: "structure",
- members: {
- AudioDescriptionNames: {
- shape: "Sf",
- locationName: "audioDescriptionNames",
- },
- CaptionDescriptionNames: {
- shape: "Sf",
- locationName: "captionDescriptionNames",
- },
- OutputName: { locationName: "outputName" },
- OutputSettings: {
- locationName: "outputSettings",
- type: "structure",
- members: {
- ArchiveOutputSettings: {
- locationName: "archiveOutputSettings",
- type: "structure",
- members: {
- ContainerSettings: {
- locationName: "containerSettings",
- type: "structure",
- members: {
- M2tsSettings: {
- shape: "S6z",
- locationName: "m2tsSettings",
- },
- },
- },
- Extension: { locationName: "extension" },
- NameModifier: {
- locationName: "nameModifier",
- },
- },
- required: ["ContainerSettings"],
- },
- FrameCaptureOutputSettings: {
- locationName: "frameCaptureOutputSettings",
- type: "structure",
- members: {
- NameModifier: {
- locationName: "nameModifier",
- },
- },
- },
- HlsOutputSettings: {
- locationName: "hlsOutputSettings",
- type: "structure",
- members: {
- H265PackagingType: {
- locationName: "h265PackagingType",
- },
- HlsSettings: {
- locationName: "hlsSettings",
- type: "structure",
- members: {
- AudioOnlyHlsSettings: {
- locationName: "audioOnlyHlsSettings",
- type: "structure",
- members: {
- AudioGroupId: {
- locationName: "audioGroupId",
- },
- AudioOnlyImage: {
- shape: "S14",
- locationName: "audioOnlyImage",
- },
- AudioTrackType: {
- locationName: "audioTrackType",
- },
- SegmentType: {
- locationName: "segmentType",
- },
- },
- },
- Fmp4HlsSettings: {
- locationName: "fmp4HlsSettings",
- type: "structure",
- members: {
- AudioRenditionSets: {
- locationName: "audioRenditionSets",
- },
- },
- },
- StandardHlsSettings: {
- locationName: "standardHlsSettings",
- type: "structure",
- members: {
- AudioRenditionSets: {
- locationName: "audioRenditionSets",
- },
- M3u8Settings: {
- locationName: "m3u8Settings",
- type: "structure",
- members: {
- AudioFramesPerPes: {
- locationName:
- "audioFramesPerPes",
- type: "integer",
- },
- AudioPids: {
- locationName: "audioPids",
- },
- EcmPid: {
- locationName: "ecmPid",
- },
- NielsenId3Behavior: {
- locationName:
- "nielsenId3Behavior",
- },
- PatInterval: {
- locationName: "patInterval",
- type: "integer",
- },
- PcrControl: {
- locationName: "pcrControl",
- },
- PcrPeriod: {
- locationName: "pcrPeriod",
- type: "integer",
- },
- PcrPid: {
- locationName: "pcrPid",
- },
- PmtInterval: {
- locationName: "pmtInterval",
- type: "integer",
- },
- PmtPid: {
- locationName: "pmtPid",
- },
- ProgramNum: {
- locationName: "programNum",
- type: "integer",
- },
- Scte35Behavior: {
- locationName: "scte35Behavior",
- },
- Scte35Pid: {
- locationName: "scte35Pid",
- },
- TimedMetadataBehavior: {
- locationName:
- "timedMetadataBehavior",
- },
- TimedMetadataPid: {
- locationName:
- "timedMetadataPid",
- },
- TransportStreamId: {
- locationName:
- "transportStreamId",
- type: "integer",
- },
- VideoPid: {
- locationName: "videoPid",
- },
- },
- },
- },
- required: ["M3u8Settings"],
- },
- },
- },
- NameModifier: {
- locationName: "nameModifier",
- },
- SegmentModifier: {
- locationName: "segmentModifier",
- },
- },
- required: ["HlsSettings"],
- },
- MediaPackageOutputSettings: {
- locationName: "mediaPackageOutputSettings",
- type: "structure",
- members: {},
- },
- MsSmoothOutputSettings: {
- locationName: "msSmoothOutputSettings",
- type: "structure",
- members: {
- H265PackagingType: {
- locationName: "h265PackagingType",
- },
- NameModifier: {
- locationName: "nameModifier",
- },
- },
- },
- MultiplexOutputSettings: {
- locationName: "multiplexOutputSettings",
- type: "structure",
- members: {
- Destination: {
- shape: "S51",
- locationName: "destination",
- },
- },
- required: ["Destination"],
- },
- RtmpOutputSettings: {
- locationName: "rtmpOutputSettings",
- type: "structure",
- members: {
- CertificateMode: {
- locationName: "certificateMode",
- },
- ConnectionRetryInterval: {
- locationName: "connectionRetryInterval",
- type: "integer",
- },
- Destination: {
- shape: "S51",
- locationName: "destination",
- },
- NumRetries: {
- locationName: "numRetries",
- type: "integer",
- },
- },
- required: ["Destination"],
- },
- UdpOutputSettings: {
- locationName: "udpOutputSettings",
- type: "structure",
- members: {
- BufferMsec: {
- locationName: "bufferMsec",
- type: "integer",
- },
- ContainerSettings: {
- locationName: "containerSettings",
- type: "structure",
- members: {
- M2tsSettings: {
- shape: "S6z",
- locationName: "m2tsSettings",
- },
- },
- },
- Destination: {
- shape: "S51",
- locationName: "destination",
- },
- FecOutputSettings: {
- locationName: "fecOutputSettings",
- type: "structure",
- members: {
- ColumnDepth: {
- locationName: "columnDepth",
- type: "integer",
- },
- IncludeFec: {
- locationName: "includeFec",
- },
- RowLength: {
- locationName: "rowLength",
- type: "integer",
- },
- },
- },
- },
- required: ["Destination", "ContainerSettings"],
- },
- },
- },
- VideoDescriptionName: {
- locationName: "videoDescriptionName",
- },
- },
- required: ["OutputSettings"],
- },
- },
- },
- required: ["Outputs", "OutputGroupSettings"],
- },
- },
- TimecodeConfig: {
- locationName: "timecodeConfig",
- type: "structure",
- members: {
- Source: { locationName: "source" },
- SyncThreshold: {
- locationName: "syncThreshold",
- type: "integer",
- },
- },
- required: ["Source"],
- },
- VideoDescriptions: {
- locationName: "videoDescriptions",
- type: "list",
- member: {
- type: "structure",
- members: {
- CodecSettings: {
- locationName: "codecSettings",
- type: "structure",
- members: {
- FrameCaptureSettings: {
- locationName: "frameCaptureSettings",
- type: "structure",
- members: {
- CaptureInterval: {
- locationName: "captureInterval",
- type: "integer",
- },
- CaptureIntervalUnits: {
- locationName: "captureIntervalUnits",
- },
- },
- required: ["CaptureInterval"],
- },
- H264Settings: {
- locationName: "h264Settings",
- type: "structure",
- members: {
- AdaptiveQuantization: {
- locationName: "adaptiveQuantization",
- },
- AfdSignaling: { locationName: "afdSignaling" },
- Bitrate: {
- locationName: "bitrate",
- type: "integer",
- },
- BufFillPct: {
- locationName: "bufFillPct",
- type: "integer",
- },
- BufSize: {
- locationName: "bufSize",
- type: "integer",
- },
- ColorMetadata: { locationName: "colorMetadata" },
- ColorSpaceSettings: {
- locationName: "colorSpaceSettings",
- type: "structure",
- members: {
- ColorSpacePassthroughSettings: {
- shape: "S92",
- locationName: "colorSpacePassthroughSettings",
- },
- Rec601Settings: {
- shape: "S93",
- locationName: "rec601Settings",
- },
- Rec709Settings: {
- shape: "S94",
- locationName: "rec709Settings",
- },
- },
- },
- EntropyEncoding: {
- locationName: "entropyEncoding",
- },
- FixedAfd: { locationName: "fixedAfd" },
- FlickerAq: { locationName: "flickerAq" },
- ForceFieldPictures: {
- locationName: "forceFieldPictures",
- },
- FramerateControl: {
- locationName: "framerateControl",
- },
- FramerateDenominator: {
- locationName: "framerateDenominator",
- type: "integer",
- },
- FramerateNumerator: {
- locationName: "framerateNumerator",
- type: "integer",
- },
- GopBReference: { locationName: "gopBReference" },
- GopClosedCadence: {
- locationName: "gopClosedCadence",
- type: "integer",
- },
- GopNumBFrames: {
- locationName: "gopNumBFrames",
- type: "integer",
- },
- GopSize: {
- locationName: "gopSize",
- type: "double",
- },
- GopSizeUnits: { locationName: "gopSizeUnits" },
- Level: { locationName: "level" },
- LookAheadRateControl: {
- locationName: "lookAheadRateControl",
- },
- MaxBitrate: {
- locationName: "maxBitrate",
- type: "integer",
- },
- MinIInterval: {
- locationName: "minIInterval",
- type: "integer",
- },
- NumRefFrames: {
- locationName: "numRefFrames",
- type: "integer",
- },
- ParControl: { locationName: "parControl" },
- ParDenominator: {
- locationName: "parDenominator",
- type: "integer",
- },
- ParNumerator: {
- locationName: "parNumerator",
- type: "integer",
- },
- Profile: { locationName: "profile" },
- QvbrQualityLevel: {
- locationName: "qvbrQualityLevel",
- type: "integer",
- },
- RateControlMode: {
- locationName: "rateControlMode",
- },
- ScanType: { locationName: "scanType" },
- SceneChangeDetect: {
- locationName: "sceneChangeDetect",
- },
- Slices: { locationName: "slices", type: "integer" },
- Softness: {
- locationName: "softness",
- type: "integer",
- },
- SpatialAq: { locationName: "spatialAq" },
- SubgopLength: { locationName: "subgopLength" },
- Syntax: { locationName: "syntax" },
- TemporalAq: { locationName: "temporalAq" },
- TimecodeInsertion: {
- locationName: "timecodeInsertion",
- },
- },
- },
- H265Settings: {
- locationName: "h265Settings",
- type: "structure",
- members: {
- AdaptiveQuantization: {
- locationName: "adaptiveQuantization",
- },
- AfdSignaling: { locationName: "afdSignaling" },
- AlternativeTransferFunction: {
- locationName: "alternativeTransferFunction",
- },
- Bitrate: {
- locationName: "bitrate",
- type: "integer",
- },
- BufSize: {
- locationName: "bufSize",
- type: "integer",
- },
- ColorMetadata: { locationName: "colorMetadata" },
- ColorSpaceSettings: {
- locationName: "colorSpaceSettings",
- type: "structure",
- members: {
- ColorSpacePassthroughSettings: {
- shape: "S92",
- locationName: "colorSpacePassthroughSettings",
- },
- Hdr10Settings: {
- locationName: "hdr10Settings",
- type: "structure",
- members: {
- MaxCll: {
- locationName: "maxCll",
- type: "integer",
- },
- MaxFall: {
- locationName: "maxFall",
- type: "integer",
- },
- },
- },
- Rec601Settings: {
- shape: "S93",
- locationName: "rec601Settings",
- },
- Rec709Settings: {
- shape: "S94",
- locationName: "rec709Settings",
- },
- },
- },
- FixedAfd: { locationName: "fixedAfd" },
- FlickerAq: { locationName: "flickerAq" },
- FramerateDenominator: {
- locationName: "framerateDenominator",
- type: "integer",
- },
- FramerateNumerator: {
- locationName: "framerateNumerator",
- type: "integer",
- },
- GopClosedCadence: {
- locationName: "gopClosedCadence",
- type: "integer",
- },
- GopSize: {
- locationName: "gopSize",
- type: "double",
- },
- GopSizeUnits: { locationName: "gopSizeUnits" },
- Level: { locationName: "level" },
- LookAheadRateControl: {
- locationName: "lookAheadRateControl",
- },
- MaxBitrate: {
- locationName: "maxBitrate",
- type: "integer",
- },
- MinIInterval: {
- locationName: "minIInterval",
- type: "integer",
- },
- ParDenominator: {
- locationName: "parDenominator",
- type: "integer",
- },
- ParNumerator: {
- locationName: "parNumerator",
- type: "integer",
- },
- Profile: { locationName: "profile" },
- QvbrQualityLevel: {
- locationName: "qvbrQualityLevel",
- type: "integer",
- },
- RateControlMode: {
- locationName: "rateControlMode",
- },
- ScanType: { locationName: "scanType" },
- SceneChangeDetect: {
- locationName: "sceneChangeDetect",
- },
- Slices: { locationName: "slices", type: "integer" },
- Tier: { locationName: "tier" },
- TimecodeInsertion: {
- locationName: "timecodeInsertion",
- },
- },
- required: [
- "FramerateNumerator",
- "FramerateDenominator",
- ],
- },
- },
- },
- Height: { locationName: "height", type: "integer" },
- Name: { locationName: "name" },
- RespondToAfd: { locationName: "respondToAfd" },
- ScalingBehavior: { locationName: "scalingBehavior" },
- Sharpness: { locationName: "sharpness", type: "integer" },
- Width: { locationName: "width", type: "integer" },
- },
- required: ["Name"],
- },
- },
- },
- required: [
- "VideoDescriptions",
- "AudioDescriptions",
- "OutputGroups",
- "TimecodeConfig",
- ],
- },
- S51: {
- type: "structure",
- members: { DestinationRefId: { locationName: "destinationRefId" } },
- },
- S6z: {
- type: "structure",
- members: {
- AbsentInputAudioBehavior: {
- locationName: "absentInputAudioBehavior",
- },
- Arib: { locationName: "arib" },
- AribCaptionsPid: { locationName: "aribCaptionsPid" },
- AribCaptionsPidControl: {
- locationName: "aribCaptionsPidControl",
- },
- AudioBufferModel: { locationName: "audioBufferModel" },
- AudioFramesPerPes: {
- locationName: "audioFramesPerPes",
- type: "integer",
- },
- AudioPids: { locationName: "audioPids" },
- AudioStreamType: { locationName: "audioStreamType" },
- Bitrate: { locationName: "bitrate", type: "integer" },
- BufferModel: { locationName: "bufferModel" },
- CcDescriptor: { locationName: "ccDescriptor" },
- DvbNitSettings: {
- locationName: "dvbNitSettings",
- type: "structure",
- members: {
- NetworkId: { locationName: "networkId", type: "integer" },
- NetworkName: { locationName: "networkName" },
- RepInterval: { locationName: "repInterval", type: "integer" },
- },
- required: ["NetworkName", "NetworkId"],
- },
- DvbSdtSettings: {
- locationName: "dvbSdtSettings",
- type: "structure",
- members: {
- OutputSdt: { locationName: "outputSdt" },
- RepInterval: { locationName: "repInterval", type: "integer" },
- ServiceName: { locationName: "serviceName" },
- ServiceProviderName: { locationName: "serviceProviderName" },
- },
- },
- DvbSubPids: { locationName: "dvbSubPids" },
- DvbTdtSettings: {
- locationName: "dvbTdtSettings",
- type: "structure",
- members: {
- RepInterval: { locationName: "repInterval", type: "integer" },
- },
- },
- DvbTeletextPid: { locationName: "dvbTeletextPid" },
- Ebif: { locationName: "ebif" },
- EbpAudioInterval: { locationName: "ebpAudioInterval" },
- EbpLookaheadMs: {
- locationName: "ebpLookaheadMs",
- type: "integer",
- },
- EbpPlacement: { locationName: "ebpPlacement" },
- EcmPid: { locationName: "ecmPid" },
- EsRateInPes: { locationName: "esRateInPes" },
- EtvPlatformPid: { locationName: "etvPlatformPid" },
- EtvSignalPid: { locationName: "etvSignalPid" },
- FragmentTime: { locationName: "fragmentTime", type: "double" },
- Klv: { locationName: "klv" },
- KlvDataPids: { locationName: "klvDataPids" },
- NielsenId3Behavior: { locationName: "nielsenId3Behavior" },
- NullPacketBitrate: {
- locationName: "nullPacketBitrate",
- type: "double",
- },
- PatInterval: { locationName: "patInterval", type: "integer" },
- PcrControl: { locationName: "pcrControl" },
- PcrPeriod: { locationName: "pcrPeriod", type: "integer" },
- PcrPid: { locationName: "pcrPid" },
- PmtInterval: { locationName: "pmtInterval", type: "integer" },
- PmtPid: { locationName: "pmtPid" },
- ProgramNum: { locationName: "programNum", type: "integer" },
- RateMode: { locationName: "rateMode" },
- Scte27Pids: { locationName: "scte27Pids" },
- Scte35Control: { locationName: "scte35Control" },
- Scte35Pid: { locationName: "scte35Pid" },
- SegmentationMarkers: { locationName: "segmentationMarkers" },
- SegmentationStyle: { locationName: "segmentationStyle" },
- SegmentationTime: {
- locationName: "segmentationTime",
- type: "double",
- },
- TimedMetadataBehavior: { locationName: "timedMetadataBehavior" },
- TimedMetadataPid: { locationName: "timedMetadataPid" },
- TransportStreamId: {
- locationName: "transportStreamId",
- type: "integer",
- },
- VideoPid: { locationName: "videoPid" },
- },
- },
- S92: { type: "structure", members: {} },
- S93: { type: "structure", members: {} },
- S94: { type: "structure", members: {} },
- Saf: {
- type: "list",
- member: {
- type: "structure",
- members: {
- AutomaticInputFailoverSettings: {
- locationName: "automaticInputFailoverSettings",
- type: "structure",
- members: {
- InputPreference: { locationName: "inputPreference" },
- SecondaryInputId: { locationName: "secondaryInputId" },
- },
- required: ["SecondaryInputId"],
- },
- InputAttachmentName: { locationName: "inputAttachmentName" },
- InputId: { locationName: "inputId" },
- InputSettings: {
- locationName: "inputSettings",
- type: "structure",
- members: {
- AudioSelectors: {
- locationName: "audioSelectors",
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: { locationName: "name" },
- SelectorSettings: {
- locationName: "selectorSettings",
- type: "structure",
- members: {
- AudioLanguageSelection: {
- locationName: "audioLanguageSelection",
- type: "structure",
- members: {
- LanguageCode: {
- locationName: "languageCode",
- },
- LanguageSelectionPolicy: {
- locationName: "languageSelectionPolicy",
- },
- },
- required: ["LanguageCode"],
- },
- AudioPidSelection: {
- locationName: "audioPidSelection",
- type: "structure",
- members: {
- Pid: { locationName: "pid", type: "integer" },
- },
- required: ["Pid"],
- },
- },
- },
- },
- required: ["Name"],
- },
- },
- CaptionSelectors: {
- locationName: "captionSelectors",
- type: "list",
- member: {
- type: "structure",
- members: {
- LanguageCode: { locationName: "languageCode" },
- Name: { locationName: "name" },
- SelectorSettings: {
- locationName: "selectorSettings",
- type: "structure",
- members: {
- AribSourceSettings: {
- locationName: "aribSourceSettings",
- type: "structure",
- members: {},
- },
- DvbSubSourceSettings: {
- locationName: "dvbSubSourceSettings",
- type: "structure",
- members: {
- Pid: { locationName: "pid", type: "integer" },
- },
- },
- EmbeddedSourceSettings: {
- locationName: "embeddedSourceSettings",
- type: "structure",
- members: {
- Convert608To708: {
- locationName: "convert608To708",
- },
- Scte20Detection: {
- locationName: "scte20Detection",
- },
- Source608ChannelNumber: {
- locationName: "source608ChannelNumber",
- type: "integer",
- },
- Source608TrackNumber: {
- locationName: "source608TrackNumber",
- type: "integer",
- },
- },
- },
- Scte20SourceSettings: {
- locationName: "scte20SourceSettings",
- type: "structure",
- members: {
- Convert608To708: {
- locationName: "convert608To708",
- },
- Source608ChannelNumber: {
- locationName: "source608ChannelNumber",
- type: "integer",
- },
- },
- },
- Scte27SourceSettings: {
- locationName: "scte27SourceSettings",
- type: "structure",
- members: {
- Pid: { locationName: "pid", type: "integer" },
- },
- },
- TeletextSourceSettings: {
- locationName: "teletextSourceSettings",
- type: "structure",
- members: {
- PageNumber: { locationName: "pageNumber" },
- },
- },
- },
- },
- },
- required: ["Name"],
- },
- },
- DeblockFilter: { locationName: "deblockFilter" },
- DenoiseFilter: { locationName: "denoiseFilter" },
- FilterStrength: {
- locationName: "filterStrength",
- type: "integer",
- },
- InputFilter: { locationName: "inputFilter" },
- NetworkInputSettings: {
- locationName: "networkInputSettings",
- type: "structure",
- members: {
- HlsInputSettings: {
- locationName: "hlsInputSettings",
- type: "structure",
- members: {
- Bandwidth: {
- locationName: "bandwidth",
- type: "integer",
- },
- BufferSegments: {
- locationName: "bufferSegments",
- type: "integer",
- },
- Retries: {
- locationName: "retries",
- type: "integer",
- },
- RetryInterval: {
- locationName: "retryInterval",
- type: "integer",
- },
- },
- },
- ServerValidation: { locationName: "serverValidation" },
- },
- },
- SourceEndBehavior: { locationName: "sourceEndBehavior" },
- VideoSelector: {
- locationName: "videoSelector",
- type: "structure",
- members: {
- ColorSpace: { locationName: "colorSpace" },
- ColorSpaceUsage: { locationName: "colorSpaceUsage" },
- SelectorSettings: {
- locationName: "selectorSettings",
- type: "structure",
- members: {
- VideoSelectorPid: {
- locationName: "videoSelectorPid",
- type: "structure",
- members: {
- Pid: { locationName: "pid", type: "integer" },
- },
- },
- VideoSelectorProgramId: {
- locationName: "videoSelectorProgramId",
- type: "structure",
- members: {
- ProgramId: {
- locationName: "programId",
- type: "integer",
- },
- },
- },
- },
- },
- },
- },
- },
- },
- },
- },
- },
- Sbh: {
- type: "structure",
- members: {
- Codec: { locationName: "codec" },
- MaximumBitrate: { locationName: "maximumBitrate" },
- Resolution: { locationName: "resolution" },
- },
- },
- Sbm: { type: "map", key: {}, value: {} },
- Sbo: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- ChannelClass: { locationName: "channelClass" },
- Destinations: { shape: "S1j", locationName: "destinations" },
- EgressEndpoints: {
- shape: "Sbp",
- locationName: "egressEndpoints",
- },
- EncoderSettings: {
- shape: "S1r",
- locationName: "encoderSettings",
- },
- Id: { locationName: "id" },
- InputAttachments: {
- shape: "Saf",
- locationName: "inputAttachments",
- },
- InputSpecification: {
- shape: "Sbh",
- locationName: "inputSpecification",
- },
- LogLevel: { locationName: "logLevel" },
- Name: { locationName: "name" },
- PipelineDetails: {
- shape: "Sbr",
- locationName: "pipelineDetails",
- },
- PipelinesRunningCount: {
- locationName: "pipelinesRunningCount",
- type: "integer",
- },
- RoleArn: { locationName: "roleArn" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- },
- Sbp: {
- type: "list",
- member: {
- type: "structure",
- members: { SourceIp: { locationName: "sourceIp" } },
- },
- },
- Sbr: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ActiveInputAttachmentName: {
- locationName: "activeInputAttachmentName",
- },
- ActiveInputSwitchActionName: {
- locationName: "activeInputSwitchActionName",
- },
- PipelineId: { locationName: "pipelineId" },
- },
- },
- },
- Sbv: {
- type: "list",
- member: {
- type: "structure",
- members: { StreamName: { locationName: "streamName" } },
- },
- },
- Sbx: {
- type: "list",
- member: {
- type: "structure",
- members: { FlowArn: { locationName: "flowArn" } },
- },
- },
- Sbz: {
- type: "list",
- member: {
- type: "structure",
- members: {
- PasswordParam: { locationName: "passwordParam" },
- Url: { locationName: "url" },
- Username: { locationName: "username" },
- },
- },
- },
- Sc4: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- AttachedChannels: {
- shape: "Sf",
- locationName: "attachedChannels",
- },
- Destinations: { shape: "Sc5", locationName: "destinations" },
- Id: { locationName: "id" },
- InputClass: { locationName: "inputClass" },
- InputSourceType: { locationName: "inputSourceType" },
- MediaConnectFlows: {
- shape: "Sca",
- locationName: "mediaConnectFlows",
- },
- Name: { locationName: "name" },
- RoleArn: { locationName: "roleArn" },
- SecurityGroups: { shape: "Sf", locationName: "securityGroups" },
- Sources: { shape: "Scc", locationName: "sources" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- Type: { locationName: "type" },
- },
- },
- Sc5: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Ip: { locationName: "ip" },
- Port: { locationName: "port" },
- Url: { locationName: "url" },
- Vpc: {
- locationName: "vpc",
- type: "structure",
- members: {
- AvailabilityZone: { locationName: "availabilityZone" },
- NetworkInterfaceId: { locationName: "networkInterfaceId" },
- },
- },
- },
- },
- },
- Sca: {
- type: "list",
- member: {
- type: "structure",
- members: { FlowArn: { locationName: "flowArn" } },
- },
- },
- Scc: {
- type: "list",
- member: {
- type: "structure",
- members: {
- PasswordParam: { locationName: "passwordParam" },
- Url: { locationName: "url" },
- Username: { locationName: "username" },
- },
- },
- },
- Scg: {
- type: "list",
- member: {
- type: "structure",
- members: { Cidr: { locationName: "cidr" } },
- },
- },
- Scj: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- Id: { locationName: "id" },
- Inputs: { shape: "Sf", locationName: "inputs" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- WhitelistRules: { shape: "Scl", locationName: "whitelistRules" },
- },
- },
- Scl: {
- type: "list",
- member: {
- type: "structure",
- members: { Cidr: { locationName: "cidr" } },
- },
- },
- Sco: {
- type: "structure",
- members: {
- MaximumVideoBufferDelayMilliseconds: {
- locationName: "maximumVideoBufferDelayMilliseconds",
- type: "integer",
- },
- TransportStreamBitrate: {
- locationName: "transportStreamBitrate",
- type: "integer",
- },
- TransportStreamId: {
- locationName: "transportStreamId",
- type: "integer",
- },
- TransportStreamReservedBitrate: {
- locationName: "transportStreamReservedBitrate",
- type: "integer",
- },
- },
- required: ["TransportStreamBitrate", "TransportStreamId"],
- },
- Sct: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- AvailabilityZones: {
- shape: "Sf",
- locationName: "availabilityZones",
- },
- Destinations: { shape: "Scu", locationName: "destinations" },
- Id: { locationName: "id" },
- MultiplexSettings: {
- shape: "Sco",
- locationName: "multiplexSettings",
- },
- Name: { locationName: "name" },
- PipelinesRunningCount: {
- locationName: "pipelinesRunningCount",
- type: "integer",
- },
- ProgramCount: { locationName: "programCount", type: "integer" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- },
- },
- Scu: {
- type: "list",
- member: {
- type: "structure",
- members: {
- MediaConnectSettings: {
- locationName: "mediaConnectSettings",
- type: "structure",
- members: {
- EntitlementArn: { locationName: "entitlementArn" },
- },
- },
- },
- },
- },
- Scz: {
- type: "structure",
- members: {
- PreferredChannelPipeline: {
- locationName: "preferredChannelPipeline",
- },
- ProgramNumber: { locationName: "programNumber", type: "integer" },
- ServiceDescriptor: {
- locationName: "serviceDescriptor",
- type: "structure",
- members: {
- ProviderName: { locationName: "providerName" },
- ServiceName: { locationName: "serviceName" },
- },
- required: ["ProviderName", "ServiceName"],
- },
- VideoSettings: {
- locationName: "videoSettings",
- type: "structure",
- members: {
- ConstantBitrate: {
- locationName: "constantBitrate",
- type: "integer",
- },
- StatmuxSettings: {
- locationName: "statmuxSettings",
- type: "structure",
- members: {
- MaximumBitrate: {
- locationName: "maximumBitrate",
- type: "integer",
- },
- MinimumBitrate: {
- locationName: "minimumBitrate",
- type: "integer",
- },
- },
- },
- },
- },
- },
- required: ["ProgramNumber"],
- },
- Sd7: {
- type: "structure",
- members: {
- ChannelId: { locationName: "channelId" },
- MultiplexProgramSettings: {
- shape: "Scz",
- locationName: "multiplexProgramSettings",
- },
- PacketIdentifiersMap: {
- shape: "Sd8",
- locationName: "packetIdentifiersMap",
- },
- ProgramName: { locationName: "programName" },
- },
- },
- Sd8: {
- type: "structure",
- members: {
- AudioPids: { shape: "Sd9", locationName: "audioPids" },
- DvbSubPids: { shape: "Sd9", locationName: "dvbSubPids" },
- DvbTeletextPid: {
- locationName: "dvbTeletextPid",
- type: "integer",
- },
- EtvPlatformPid: {
- locationName: "etvPlatformPid",
- type: "integer",
- },
- EtvSignalPid: { locationName: "etvSignalPid", type: "integer" },
- KlvDataPids: { shape: "Sd9", locationName: "klvDataPids" },
- PcrPid: { locationName: "pcrPid", type: "integer" },
- PmtPid: { locationName: "pmtPid", type: "integer" },
- PrivateMetadataPid: {
- locationName: "privateMetadataPid",
- type: "integer",
- },
- Scte27Pids: { shape: "Sd9", locationName: "scte27Pids" },
- Scte35Pid: { locationName: "scte35Pid", type: "integer" },
- TimedMetadataPid: {
- locationName: "timedMetadataPid",
- type: "integer",
- },
- VideoPid: { locationName: "videoPid", type: "integer" },
- },
- },
- Sd9: { type: "list", member: { type: "integer" } },
- Sdp: {
- type: "structure",
- members: {
- ChannelClass: { locationName: "channelClass" },
- Codec: { locationName: "codec" },
- MaximumBitrate: { locationName: "maximumBitrate" },
- MaximumFramerate: { locationName: "maximumFramerate" },
- Resolution: { locationName: "resolution" },
- ResourceType: { locationName: "resourceType" },
- SpecialFeature: { locationName: "specialFeature" },
- VideoQuality: { locationName: "videoQuality" },
- },
- },
- Sf8: {
- type: "structure",
- members: {
- Arn: { locationName: "arn" },
- Count: { locationName: "count", type: "integer" },
- CurrencyCode: { locationName: "currencyCode" },
- Duration: { locationName: "duration", type: "integer" },
- DurationUnits: { locationName: "durationUnits" },
- End: { locationName: "end" },
- FixedPrice: { locationName: "fixedPrice", type: "double" },
- Name: { locationName: "name" },
- OfferingDescription: { locationName: "offeringDescription" },
- OfferingId: { locationName: "offeringId" },
- OfferingType: { locationName: "offeringType" },
- Region: { locationName: "region" },
- ReservationId: { locationName: "reservationId" },
- ResourceSpecification: {
- shape: "Sdp",
- locationName: "resourceSpecification",
- },
- Start: { locationName: "start" },
- State: { locationName: "state" },
- Tags: { shape: "Sbm", locationName: "tags" },
- UsagePrice: { locationName: "usagePrice", type: "double" },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 4454: /***/ function (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 Stream = _interopDefault(__webpack_require__(2413));
- var http = _interopDefault(__webpack_require__(8605));
- var Url = _interopDefault(__webpack_require__(8835));
- var https = _interopDefault(__webpack_require__(7211));
- var zlib = _interopDefault(__webpack_require__(8761));
-
- // Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js
-
- // fix for "Readable" isn't a named export issue
- const Readable = Stream.Readable;
-
- const BUFFER = Symbol("buffer");
- const TYPE = Symbol("type");
-
- class Blob {
- constructor() {
- this[TYPE] = "";
-
- const blobParts = arguments[0];
- const options = arguments[1];
-
- const buffers = [];
- let size = 0;
-
- if (blobParts) {
- const a = blobParts;
- const length = Number(a.length);
- for (let i = 0; i < length; i++) {
- const element = a[i];
- let buffer;
- if (element instanceof Buffer) {
- buffer = element;
- } else if (ArrayBuffer.isView(element)) {
- buffer = Buffer.from(
- element.buffer,
- element.byteOffset,
- element.byteLength
- );
- } else if (element instanceof ArrayBuffer) {
- buffer = Buffer.from(element);
- } else if (element instanceof Blob) {
- buffer = element[BUFFER];
- } else {
- buffer = Buffer.from(
- typeof element === "string" ? element : String(element)
- );
- }
- size += buffer.length;
- buffers.push(buffer);
- }
- }
-
- this[BUFFER] = Buffer.concat(buffers);
-
- let type =
- options &&
- options.type !== undefined &&
- String(options.type).toLowerCase();
- if (type && !/[^\u0020-\u007E]/.test(type)) {
- this[TYPE] = type;
- }
- }
- get size() {
- return this[BUFFER].length;
- }
- get type() {
- return this[TYPE];
- }
- text() {
- return Promise.resolve(this[BUFFER].toString());
- }
- arrayBuffer() {
- const buf = this[BUFFER];
- const ab = buf.buffer.slice(
- buf.byteOffset,
- buf.byteOffset + buf.byteLength
- );
- return Promise.resolve(ab);
- }
- stream() {
- const readable = new Readable();
- readable._read = function () {};
- readable.push(this[BUFFER]);
- readable.push(null);
- return readable;
- }
- toString() {
- return "[object Blob]";
- }
- slice() {
- const size = this.size;
-
- const start = arguments[0];
- const end = arguments[1];
- let relativeStart, relativeEnd;
- if (start === undefined) {
- relativeStart = 0;
- } else if (start < 0) {
- relativeStart = Math.max(size + start, 0);
- } else {
- relativeStart = Math.min(start, size);
- }
- if (end === undefined) {
- relativeEnd = size;
- } else if (end < 0) {
- relativeEnd = Math.max(size + end, 0);
- } else {
- relativeEnd = Math.min(end, size);
- }
- const span = Math.max(relativeEnd - relativeStart, 0);
-
- const buffer = this[BUFFER];
- const slicedBuffer = buffer.slice(
- relativeStart,
- relativeStart + span
- );
- const blob = new Blob([], { type: arguments[2] });
- blob[BUFFER] = slicedBuffer;
- return blob;
- }
- }
-
- Object.defineProperties(Blob.prototype, {
- size: { enumerable: true },
- type: { enumerable: true },
- slice: { enumerable: true },
- });
-
- Object.defineProperty(Blob.prototype, Symbol.toStringTag, {
- value: "Blob",
- writable: false,
- enumerable: false,
- configurable: true,
- });
-
- /**
- * fetch-error.js
- *
- * FetchError interface for operational errors
- */
-
- /**
- * Create FetchError instance
- *
- * @param String message Error message for human
- * @param String type Error type for machine
- * @param String systemError For Node.js system error
- * @return FetchError
- */
- function FetchError(message, type, systemError) {
- Error.call(this, message);
-
- this.message = message;
- this.type = type;
-
- // when err.type is `system`, err.code contains system error code
- if (systemError) {
- this.code = this.errno = systemError.code;
- }
-
- // hide custom error implementation details from end-users
- Error.captureStackTrace(this, this.constructor);
- }
-
- FetchError.prototype = Object.create(Error.prototype);
- FetchError.prototype.constructor = FetchError;
- FetchError.prototype.name = "FetchError";
-
- let convert;
- try {
- convert = __webpack_require__(1018).convert;
- } catch (e) {}
-
- const INTERNALS = Symbol("Body internals");
-
- // fix an issue where "PassThrough" isn't a named export for node <10
- const PassThrough = Stream.PassThrough;
-
- /**
- * Body mixin
- *
- * Ref: https://fetch.spec.whatwg.org/#body
- *
- * @param Stream body Readable stream
- * @param Object opts Response options
- * @return Void
- */
- function Body(body) {
- var _this = this;
-
- var _ref =
- arguments.length > 1 && arguments[1] !== undefined
- ? arguments[1]
- : {},
- _ref$size = _ref.size;
-
- let size = _ref$size === undefined ? 0 : _ref$size;
- var _ref$timeout = _ref.timeout;
- let timeout = _ref$timeout === undefined ? 0 : _ref$timeout;
-
- if (body == null) {
- // body is undefined or null
- body = null;
- } else if (isURLSearchParams(body)) {
- // body is a URLSearchParams
- body = Buffer.from(body.toString());
- } else if (isBlob(body));
- else if (Buffer.isBuffer(body));
- else if (
- Object.prototype.toString.call(body) === "[object ArrayBuffer]"
- ) {
- // body is ArrayBuffer
- body = Buffer.from(body);
- } else if (ArrayBuffer.isView(body)) {
- // body is ArrayBufferView
- body = Buffer.from(body.buffer, body.byteOffset, body.byteLength);
- } else if (body instanceof Stream);
- else {
- // none of the above
- // coerce to string then buffer
- body = Buffer.from(String(body));
- }
- this[INTERNALS] = {
- body,
- disturbed: false,
- error: null,
- };
- this.size = size;
- this.timeout = timeout;
-
- if (body instanceof Stream) {
- body.on("error", function (err) {
- const error =
- err.name === "AbortError"
- ? err
- : new FetchError(
- `Invalid response body while trying to fetch ${_this.url}: ${err.message}`,
- "system",
- err
- );
- _this[INTERNALS].error = error;
- });
- }
- }
-
- Body.prototype = {
- get body() {
- return this[INTERNALS].body;
- },
-
- get bodyUsed() {
- return this[INTERNALS].disturbed;
- },
-
- /**
- * Decode response as ArrayBuffer
- *
- * @return Promise
- */
- arrayBuffer() {
- return consumeBody.call(this).then(function (buf) {
- return buf.buffer.slice(
- buf.byteOffset,
- buf.byteOffset + buf.byteLength
- );
- });
- },
-
- /**
- * Return raw response as Blob
- *
- * @return Promise
- */
- blob() {
- let ct = (this.headers && this.headers.get("content-type")) || "";
- return consumeBody.call(this).then(function (buf) {
- return Object.assign(
- // Prevent copying
- new Blob([], {
- type: ct.toLowerCase(),
- }),
- {
- [BUFFER]: buf,
- }
- );
- });
- },
-
- /**
- * Decode response as json
- *
- * @return Promise
- */
- json() {
- var _this2 = this;
-
- return consumeBody.call(this).then(function (buffer) {
- try {
- return JSON.parse(buffer.toString());
- } catch (err) {
- return Body.Promise.reject(
- new FetchError(
- `invalid json response body at ${_this2.url} reason: ${err.message}`,
- "invalid-json"
- )
- );
- }
- });
- },
-
- /**
- * Decode response as text
- *
- * @return Promise
- */
- text() {
- return consumeBody.call(this).then(function (buffer) {
- return buffer.toString();
- });
- },
-
- /**
- * Decode response as buffer (non-spec api)
- *
- * @return Promise
- */
- buffer() {
- return consumeBody.call(this);
- },
-
- /**
- * Decode response as text, while automatically detecting the encoding and
- * trying to decode to UTF-8 (non-spec api)
- *
- * @return Promise
- */
- textConverted() {
- var _this3 = this;
-
- return consumeBody.call(this).then(function (buffer) {
- return convertBody(buffer, _this3.headers);
- });
- },
- };
-
- // In browsers, all properties are enumerable.
- Object.defineProperties(Body.prototype, {
- body: { enumerable: true },
- bodyUsed: { enumerable: true },
- arrayBuffer: { enumerable: true },
- blob: { enumerable: true },
- json: { enumerable: true },
- text: { enumerable: true },
- });
-
- Body.mixIn = function (proto) {
- for (const name of Object.getOwnPropertyNames(Body.prototype)) {
- // istanbul ignore else: future proof
- if (!(name in proto)) {
- const desc = Object.getOwnPropertyDescriptor(Body.prototype, name);
- Object.defineProperty(proto, name, desc);
- }
- }
- };
-
- /**
- * Consume and convert an entire Body to a Buffer.
- *
- * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body
- *
- * @return Promise
- */
- function consumeBody() {
- var _this4 = this;
-
- if (this[INTERNALS].disturbed) {
- return Body.Promise.reject(
- new TypeError(`body used already for: ${this.url}`)
- );
- }
-
- this[INTERNALS].disturbed = true;
-
- if (this[INTERNALS].error) {
- return Body.Promise.reject(this[INTERNALS].error);
- }
-
- let body = this.body;
-
- // body is null
- if (body === null) {
- return Body.Promise.resolve(Buffer.alloc(0));
- }
-
- // body is blob
- if (isBlob(body)) {
- body = body.stream();
- }
-
- // body is buffer
- if (Buffer.isBuffer(body)) {
- return Body.Promise.resolve(body);
- }
-
- // istanbul ignore if: should never happen
- if (!(body instanceof Stream)) {
- return Body.Promise.resolve(Buffer.alloc(0));
- }
-
- // body is stream
- // get ready to actually consume the body
- let accum = [];
- let accumBytes = 0;
- let abort = false;
-
- return new Body.Promise(function (resolve, reject) {
- let resTimeout;
-
- // allow timeout on slow response body
- if (_this4.timeout) {
- resTimeout = setTimeout(function () {
- abort = true;
- reject(
- new FetchError(
- `Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`,
- "body-timeout"
- )
- );
- }, _this4.timeout);
- }
-
- // handle stream errors
- body.on("error", function (err) {
- if (err.name === "AbortError") {
- // if the request was aborted, reject with this Error
- abort = true;
- reject(err);
- } else {
- // other errors, such as incorrect content-encoding
- reject(
- new FetchError(
- `Invalid response body while trying to fetch ${_this4.url}: ${err.message}`,
- "system",
- err
- )
- );
- }
- });
-
- body.on("data", function (chunk) {
- if (abort || chunk === null) {
- return;
- }
-
- if (_this4.size && accumBytes + chunk.length > _this4.size) {
- abort = true;
- reject(
- new FetchError(
- `content size at ${_this4.url} over limit: ${_this4.size}`,
- "max-size"
- )
- );
- return;
- }
-
- accumBytes += chunk.length;
- accum.push(chunk);
- });
-
- body.on("end", function () {
- if (abort) {
- return;
- }
-
- clearTimeout(resTimeout);
-
- try {
- resolve(Buffer.concat(accum, accumBytes));
- } catch (err) {
- // handle streams that have accumulated too much data (issue #414)
- reject(
- new FetchError(
- `Could not create Buffer from response body for ${_this4.url}: ${err.message}`,
- "system",
- err
- )
- );
- }
- });
- });
- }
-
- /**
- * Detect buffer encoding and convert to target encoding
- * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding
- *
- * @param Buffer buffer Incoming buffer
- * @param String encoding Target encoding
- * @return String
- */
- function convertBody(buffer, headers) {
- if (typeof convert !== "function") {
- throw new Error(
- "The package `encoding` must be installed to use the textConverted() function"
- );
- }
-
- const ct = headers.get("content-type");
- let charset = "utf-8";
- let res, str;
-
- // header
- if (ct) {
- res = /charset=([^;]*)/i.exec(ct);
- }
-
- // no charset in content type, peek at response body for at most 1024 bytes
- str = buffer.slice(0, 1024).toString();
-
- // html5
- if (!res && str) {
- res = / 0 && arguments[0] !== undefined
- ? arguments[0]
- : undefined;
-
- this[MAP] = Object.create(null);
-
- if (init instanceof Headers) {
- const rawHeaders = init.raw();
- const headerNames = Object.keys(rawHeaders);
-
- for (const headerName of headerNames) {
- for (const value of rawHeaders[headerName]) {
- this.append(headerName, value);
- }
- }
-
- return;
- }
-
- // We don't worry about converting prop to ByteString here as append()
- // will handle it.
- if (init == null);
- else if (typeof init === "object") {
- const method = init[Symbol.iterator];
- if (method != null) {
- if (typeof method !== "function") {
- throw new TypeError("Header pairs must be iterable");
- }
-
- // sequence>
- // Note: per spec we have to first exhaust the lists then process them
- const pairs = [];
- for (const pair of init) {
- if (
- typeof pair !== "object" ||
- typeof pair[Symbol.iterator] !== "function"
- ) {
- throw new TypeError("Each header pair must be iterable");
- }
- pairs.push(Array.from(pair));
- }
-
- for (const pair of pairs) {
- if (pair.length !== 2) {
- throw new TypeError(
- "Each header pair must be a name/value tuple"
- );
- }
- this.append(pair[0], pair[1]);
- }
- } else {
- // record
- for (const key of Object.keys(init)) {
- const value = init[key];
- this.append(key, value);
- }
- }
- } else {
- throw new TypeError("Provided initializer must be an object");
- }
- }
-
- /**
- * Return combined header value given name
- *
- * @param String name Header name
- * @return Mixed
- */
- get(name) {
- name = `${name}`;
- validateName(name);
- const key = find(this[MAP], name);
- if (key === undefined) {
- return null;
- }
-
- return this[MAP][key].join(", ");
- }
-
- /**
- * Iterate over all headers
- *
- * @param Function callback Executed for each item with parameters (value, name, thisArg)
- * @param Boolean thisArg `this` context for callback function
- * @return Void
- */
- forEach(callback) {
- let thisArg =
- arguments.length > 1 && arguments[1] !== undefined
- ? arguments[1]
- : undefined;
-
- let pairs = getHeaders(this);
- let i = 0;
- while (i < pairs.length) {
- var _pairs$i = pairs[i];
- const name = _pairs$i[0],
- value = _pairs$i[1];
-
- callback.call(thisArg, value, name, this);
- pairs = getHeaders(this);
- i++;
- }
- }
-
- /**
- * Overwrite header values given name
- *
- * @param String name Header name
- * @param String value Header value
- * @return Void
- */
- set(name, value) {
- name = `${name}`;
- value = `${value}`;
- validateName(name);
- validateValue(value);
- const key = find(this[MAP], name);
- this[MAP][key !== undefined ? key : name] = [value];
- }
-
- /**
- * Append a value onto existing header
- *
- * @param String name Header name
- * @param String value Header value
- * @return Void
- */
- append(name, value) {
- name = `${name}`;
- value = `${value}`;
- validateName(name);
- validateValue(value);
- const key = find(this[MAP], name);
- if (key !== undefined) {
- this[MAP][key].push(value);
- } else {
- this[MAP][name] = [value];
- }
- }
-
- /**
- * Check for header name existence
- *
- * @param String name Header name
- * @return Boolean
- */
- has(name) {
- name = `${name}`;
- validateName(name);
- return find(this[MAP], name) !== undefined;
- }
-
- /**
- * Delete all header values given name
- *
- * @param String name Header name
- * @return Void
- */
- delete(name) {
- name = `${name}`;
- validateName(name);
- const key = find(this[MAP], name);
- if (key !== undefined) {
- delete this[MAP][key];
- }
- }
-
- /**
- * Return raw headers (non-spec api)
- *
- * @return Object
- */
- raw() {
- return this[MAP];
- }
-
- /**
- * Get an iterator on keys.
- *
- * @return Iterator
- */
- keys() {
- return createHeadersIterator(this, "key");
- }
-
- /**
- * Get an iterator on values.
- *
- * @return Iterator
- */
- values() {
- return createHeadersIterator(this, "value");
- }
-
- /**
- * Get an iterator on entries.
- *
- * This is the default iterator of the Headers object.
- *
- * @return Iterator
- */
- [Symbol.iterator]() {
- return createHeadersIterator(this, "key+value");
- }
- }
- Headers.prototype.entries = Headers.prototype[Symbol.iterator];
-
- Object.defineProperty(Headers.prototype, Symbol.toStringTag, {
- value: "Headers",
- writable: false,
- enumerable: false,
- configurable: true,
- });
-
- Object.defineProperties(Headers.prototype, {
- get: { enumerable: true },
- forEach: { enumerable: true },
- set: { enumerable: true },
- append: { enumerable: true },
- has: { enumerable: true },
- delete: { enumerable: true },
- keys: { enumerable: true },
- values: { enumerable: true },
- entries: { enumerable: true },
- });
-
- function getHeaders(headers) {
- let kind =
- arguments.length > 1 && arguments[1] !== undefined
- ? arguments[1]
- : "key+value";
-
- const keys = Object.keys(headers[MAP]).sort();
- return keys.map(
- kind === "key"
- ? function (k) {
- return k.toLowerCase();
- }
- : kind === "value"
- ? function (k) {
- return headers[MAP][k].join(", ");
- }
- : function (k) {
- return [k.toLowerCase(), headers[MAP][k].join(", ")];
- }
- );
- }
-
- const INTERNAL = Symbol("internal");
-
- function createHeadersIterator(target, kind) {
- const iterator = Object.create(HeadersIteratorPrototype);
- iterator[INTERNAL] = {
- target,
- kind,
- index: 0,
- };
- return iterator;
- }
-
- const HeadersIteratorPrototype = Object.setPrototypeOf(
- {
- next() {
- // istanbul ignore if
- if (
- !this ||
- Object.getPrototypeOf(this) !== HeadersIteratorPrototype
- ) {
- throw new TypeError("Value of `this` is not a HeadersIterator");
- }
-
- var _INTERNAL = this[INTERNAL];
- const target = _INTERNAL.target,
- kind = _INTERNAL.kind,
- index = _INTERNAL.index;
-
- const values = getHeaders(target, kind);
- const len = values.length;
- if (index >= len) {
- return {
- value: undefined,
- done: true,
- };
- }
-
- this[INTERNAL].index = index + 1;
-
- return {
- value: values[index],
- done: false,
- };
- },
- },
- Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))
- );
-
- Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, {
- value: "HeadersIterator",
- writable: false,
- enumerable: false,
- configurable: true,
- });
-
- /**
- * Export the Headers object in a form that Node.js can consume.
- *
- * @param Headers headers
- * @return Object
- */
- function exportNodeCompatibleHeaders(headers) {
- const obj = Object.assign({ __proto__: null }, headers[MAP]);
-
- // http.request() only supports string as Host header. This hack makes
- // specifying custom Host header possible.
- const hostHeaderKey = find(headers[MAP], "Host");
- if (hostHeaderKey !== undefined) {
- obj[hostHeaderKey] = obj[hostHeaderKey][0];
- }
-
- return obj;
- }
-
- /**
- * Create a Headers object from an object of headers, ignoring those that do
- * not conform to HTTP grammar productions.
- *
- * @param Object obj Object of headers
- * @return Headers
- */
- function createHeadersLenient(obj) {
- const headers = new Headers();
- for (const name of Object.keys(obj)) {
- if (invalidTokenRegex.test(name)) {
- continue;
- }
- if (Array.isArray(obj[name])) {
- for (const val of obj[name]) {
- if (invalidHeaderCharRegex.test(val)) {
- continue;
- }
- if (headers[MAP][name] === undefined) {
- headers[MAP][name] = [val];
- } else {
- headers[MAP][name].push(val);
- }
- }
- } else if (!invalidHeaderCharRegex.test(obj[name])) {
- headers[MAP][name] = [obj[name]];
- }
- }
- return headers;
- }
-
- const INTERNALS$1 = Symbol("Response internals");
-
- // fix an issue where "STATUS_CODES" aren't a named export for node <10
- const STATUS_CODES = http.STATUS_CODES;
-
- /**
- * Response class
- *
- * @param Stream body Readable stream
- * @param Object opts Response options
- * @return Void
- */
- class Response {
- constructor() {
- let body =
- arguments.length > 0 && arguments[0] !== undefined
- ? arguments[0]
- : null;
- let opts =
- arguments.length > 1 && arguments[1] !== undefined
- ? arguments[1]
- : {};
-
- Body.call(this, body, opts);
-
- const status = opts.status || 200;
- const headers = new Headers(opts.headers);
-
- if (body != null && !headers.has("Content-Type")) {
- const contentType = extractContentType(body);
- if (contentType) {
- headers.append("Content-Type", contentType);
- }
- }
-
- this[INTERNALS$1] = {
- url: opts.url,
- status,
- statusText: opts.statusText || STATUS_CODES[status],
- headers,
- counter: opts.counter,
- };
- }
-
- get url() {
- return this[INTERNALS$1].url || "";
- }
-
- get status() {
- return this[INTERNALS$1].status;
- }
-
- /**
- * Convenience property representing if the request ended normally
- */
- get ok() {
- return (
- this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300
- );
- }
-
- get redirected() {
- return this[INTERNALS$1].counter > 0;
- }
-
- get statusText() {
- return this[INTERNALS$1].statusText;
- }
-
- get headers() {
- return this[INTERNALS$1].headers;
- }
-
- /**
- * Clone this response
- *
- * @return Response
- */
- clone() {
- return new Response(clone(this), {
- url: this.url,
- status: this.status,
- statusText: this.statusText,
- headers: this.headers,
- ok: this.ok,
- redirected: this.redirected,
- });
- }
- }
-
- Body.mixIn(Response.prototype);
-
- Object.defineProperties(Response.prototype, {
- url: { enumerable: true },
- status: { enumerable: true },
- ok: { enumerable: true },
- redirected: { enumerable: true },
- statusText: { enumerable: true },
- headers: { enumerable: true },
- clone: { enumerable: true },
- });
-
- Object.defineProperty(Response.prototype, Symbol.toStringTag, {
- value: "Response",
- writable: false,
- enumerable: false,
- configurable: true,
- });
-
- const INTERNALS$2 = Symbol("Request internals");
-
- // fix an issue where "format", "parse" aren't a named export for node <10
- const parse_url = Url.parse;
- const format_url = Url.format;
-
- const streamDestructionSupported = "destroy" in Stream.Readable.prototype;
-
- /**
- * Check if a value is an instance of Request.
- *
- * @param Mixed input
- * @return Boolean
- */
- function isRequest(input) {
- return (
- typeof input === "object" && typeof input[INTERNALS$2] === "object"
- );
- }
-
- function isAbortSignal(signal) {
- const proto =
- signal && typeof signal === "object" && Object.getPrototypeOf(signal);
- return !!(proto && proto.constructor.name === "AbortSignal");
- }
-
- /**
- * Request class
- *
- * @param Mixed input Url or Request instance
- * @param Object init Custom options
- * @return Void
- */
- class Request {
- constructor(input) {
- let init =
- arguments.length > 1 && arguments[1] !== undefined
- ? arguments[1]
- : {};
-
- let parsedURL;
-
- // normalize input
- if (!isRequest(input)) {
- if (input && input.href) {
- // in order to support Node.js' Url objects; though WHATWG's URL objects
- // will fall into this branch also (since their `toString()` will return
- // `href` property anyway)
- parsedURL = parse_url(input.href);
- } else {
- // coerce input to a string before attempting to parse
- parsedURL = parse_url(`${input}`);
- }
- input = {};
- } else {
- parsedURL = parse_url(input.url);
- }
-
- let method = init.method || input.method || "GET";
- method = method.toUpperCase();
-
- if (
- (init.body != null || (isRequest(input) && input.body !== null)) &&
- (method === "GET" || method === "HEAD")
- ) {
- throw new TypeError(
- "Request with GET/HEAD method cannot have body"
- );
- }
-
- let inputBody =
- init.body != null
- ? init.body
- : isRequest(input) && input.body !== null
- ? clone(input)
- : null;
-
- Body.call(this, inputBody, {
- timeout: init.timeout || input.timeout || 0,
- size: init.size || input.size || 0,
- });
-
- const headers = new Headers(init.headers || input.headers || {});
-
- if (inputBody != null && !headers.has("Content-Type")) {
- const contentType = extractContentType(inputBody);
- if (contentType) {
- headers.append("Content-Type", contentType);
- }
- }
-
- let signal = isRequest(input) ? input.signal : null;
- if ("signal" in init) signal = init.signal;
-
- if (signal != null && !isAbortSignal(signal)) {
- throw new TypeError(
- "Expected signal to be an instanceof AbortSignal"
- );
- }
-
- this[INTERNALS$2] = {
- method,
- redirect: init.redirect || input.redirect || "follow",
- headers,
- parsedURL,
- signal,
- };
-
- // node-fetch-only options
- this.follow =
- init.follow !== undefined
- ? init.follow
- : input.follow !== undefined
- ? input.follow
- : 20;
- this.compress =
- init.compress !== undefined
- ? init.compress
- : input.compress !== undefined
- ? input.compress
- : true;
- this.counter = init.counter || input.counter || 0;
- this.agent = init.agent || input.agent;
- }
-
- get method() {
- return this[INTERNALS$2].method;
- }
-
- get url() {
- return format_url(this[INTERNALS$2].parsedURL);
- }
-
- get headers() {
- return this[INTERNALS$2].headers;
- }
-
- get redirect() {
- return this[INTERNALS$2].redirect;
- }
-
- get signal() {
- return this[INTERNALS$2].signal;
- }
-
- /**
- * Clone this request
- *
- * @return Request
- */
- clone() {
- return new Request(this);
- }
- }
-
- Body.mixIn(Request.prototype);
-
- Object.defineProperty(Request.prototype, Symbol.toStringTag, {
- value: "Request",
- writable: false,
- enumerable: false,
- configurable: true,
- });
-
- Object.defineProperties(Request.prototype, {
- method: { enumerable: true },
- url: { enumerable: true },
- headers: { enumerable: true },
- redirect: { enumerable: true },
- clone: { enumerable: true },
- signal: { enumerable: true },
- });
-
- /**
- * Convert a Request to Node.js http request options.
- *
- * @param Request A Request instance
- * @return Object The options object to be passed to http.request
- */
- function getNodeRequestOptions(request) {
- const parsedURL = request[INTERNALS$2].parsedURL;
- const headers = new Headers(request[INTERNALS$2].headers);
-
- // fetch step 1.3
- if (!headers.has("Accept")) {
- headers.set("Accept", "*/*");
- }
-
- // Basic fetch
- if (!parsedURL.protocol || !parsedURL.hostname) {
- throw new TypeError("Only absolute URLs are supported");
- }
-
- if (!/^https?:$/.test(parsedURL.protocol)) {
- throw new TypeError("Only HTTP(S) protocols are supported");
- }
-
- if (
- request.signal &&
- request.body instanceof Stream.Readable &&
- !streamDestructionSupported
- ) {
- throw new Error(
- "Cancellation of streamed requests with AbortSignal is not supported in node < 8"
- );
- }
-
- // HTTP-network-or-cache fetch steps 2.4-2.7
- let contentLengthValue = null;
- if (request.body == null && /^(POST|PUT)$/i.test(request.method)) {
- contentLengthValue = "0";
- }
- if (request.body != null) {
- const totalBytes = getTotalBytes(request);
- if (typeof totalBytes === "number") {
- contentLengthValue = String(totalBytes);
- }
- }
- if (contentLengthValue) {
- headers.set("Content-Length", contentLengthValue);
- }
-
- // HTTP-network-or-cache fetch step 2.11
- if (!headers.has("User-Agent")) {
- headers.set(
- "User-Agent",
- "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
- );
- }
-
- // HTTP-network-or-cache fetch step 2.15
- if (request.compress && !headers.has("Accept-Encoding")) {
- headers.set("Accept-Encoding", "gzip,deflate");
- }
-
- let agent = request.agent;
- if (typeof agent === "function") {
- agent = agent(parsedURL);
- }
-
- if (!headers.has("Connection") && !agent) {
- headers.set("Connection", "close");
- }
-
- // HTTP-network fetch step 4.2
- // chunked encoding is handled by Node.js
-
- return Object.assign({}, parsedURL, {
- method: request.method,
- headers: exportNodeCompatibleHeaders(headers),
- agent,
- });
- }
-
- /**
- * abort-error.js
- *
- * AbortError interface for cancelled requests
- */
-
- /**
- * Create AbortError instance
- *
- * @param String message Error message for human
- * @return AbortError
- */
- function AbortError(message) {
- Error.call(this, message);
-
- this.type = "aborted";
- this.message = message;
-
- // hide custom error implementation details from end-users
- Error.captureStackTrace(this, this.constructor);
- }
-
- AbortError.prototype = Object.create(Error.prototype);
- AbortError.prototype.constructor = AbortError;
- AbortError.prototype.name = "AbortError";
-
- // fix an issue where "PassThrough", "resolve" aren't a named export for node <10
- const PassThrough$1 = Stream.PassThrough;
- const resolve_url = Url.resolve;
-
- /**
- * Fetch function
- *
- * @param Mixed url Absolute url or Request instance
- * @param Object opts Fetch options
- * @return Promise
- */
- function fetch(url, opts) {
- // allow custom promise
- if (!fetch.Promise) {
- throw new Error(
- "native promise missing, set fetch.Promise to your favorite alternative"
- );
- }
-
- Body.Promise = fetch.Promise;
-
- // wrap http.request into fetch
- return new fetch.Promise(function (resolve, reject) {
- // build request object
- const request = new Request(url, opts);
- const options = getNodeRequestOptions(request);
-
- const send = (options.protocol === "https:" ? https : http).request;
- const signal = request.signal;
-
- let response = null;
-
- const abort = function abort() {
- let error = new AbortError("The user aborted a request.");
- reject(error);
- if (request.body && request.body instanceof Stream.Readable) {
- request.body.destroy(error);
- }
- if (!response || !response.body) return;
- response.body.emit("error", error);
- };
-
- if (signal && signal.aborted) {
- abort();
- return;
- }
-
- const abortAndFinalize = function abortAndFinalize() {
- abort();
- finalize();
- };
-
- // send request
- const req = send(options);
- let reqTimeout;
-
- if (signal) {
- signal.addEventListener("abort", abortAndFinalize);
- }
-
- function finalize() {
- req.abort();
- if (signal) signal.removeEventListener("abort", abortAndFinalize);
- clearTimeout(reqTimeout);
- }
-
- if (request.timeout) {
- req.once("socket", function (socket) {
- reqTimeout = setTimeout(function () {
- reject(
- new FetchError(
- `network timeout at: ${request.url}`,
- "request-timeout"
- )
- );
- finalize();
- }, request.timeout);
- });
- }
-
- req.on("error", function (err) {
- reject(
- new FetchError(
- `request to ${request.url} failed, reason: ${err.message}`,
- "system",
- err
- )
- );
- finalize();
- });
-
- req.on("response", function (res) {
- clearTimeout(reqTimeout);
-
- const headers = createHeadersLenient(res.headers);
-
- // HTTP fetch step 5
- if (fetch.isRedirect(res.statusCode)) {
- // HTTP fetch step 5.2
- const location = headers.get("Location");
-
- // HTTP fetch step 5.3
- const locationURL =
- location === null ? null : resolve_url(request.url, location);
-
- // HTTP fetch step 5.5
- switch (request.redirect) {
- case "error":
- reject(
- new FetchError(
- `redirect mode is set to error: ${request.url}`,
- "no-redirect"
- )
- );
- finalize();
- return;
- case "manual":
- // node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL.
- if (locationURL !== null) {
- // handle corrupted header
- try {
- headers.set("Location", locationURL);
- } catch (err) {
- // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request
- reject(err);
- }
- }
- break;
- case "follow":
- // HTTP-redirect fetch step 2
- if (locationURL === null) {
- break;
- }
-
- // HTTP-redirect fetch step 5
- if (request.counter >= request.follow) {
- reject(
- new FetchError(
- `maximum redirect reached at: ${request.url}`,
- "max-redirect"
- )
- );
- finalize();
- return;
- }
-
- // HTTP-redirect fetch step 6 (counter increment)
- // Create a new Request object.
- const requestOpts = {
- headers: new Headers(request.headers),
- follow: request.follow,
- counter: request.counter + 1,
- agent: request.agent,
- compress: request.compress,
- method: request.method,
- body: request.body,
- signal: request.signal,
- timeout: request.timeout,
- };
-
- // HTTP-redirect fetch step 9
- if (
- res.statusCode !== 303 &&
- request.body &&
- getTotalBytes(request) === null
- ) {
- reject(
- new FetchError(
- "Cannot follow redirect with body being a readable stream",
- "unsupported-redirect"
- )
- );
- finalize();
- return;
- }
-
- // HTTP-redirect fetch step 11
- if (
- res.statusCode === 303 ||
- ((res.statusCode === 301 || res.statusCode === 302) &&
- request.method === "POST")
- ) {
- requestOpts.method = "GET";
- requestOpts.body = undefined;
- requestOpts.headers.delete("content-length");
- }
-
- // HTTP-redirect fetch step 15
- resolve(fetch(new Request(locationURL, requestOpts)));
- finalize();
- return;
- }
- }
-
- // prepare response
- res.once("end", function () {
- if (signal) signal.removeEventListener("abort", abortAndFinalize);
- });
- let body = res.pipe(new PassThrough$1());
-
- const response_options = {
- url: request.url,
- status: res.statusCode,
- statusText: res.statusMessage,
- headers: headers,
- size: request.size,
- timeout: request.timeout,
- counter: request.counter,
- };
-
- // HTTP-network fetch step 12.1.1.3
- const codings = headers.get("Content-Encoding");
-
- // HTTP-network fetch step 12.1.1.4: handle content codings
-
- // in following scenarios we ignore compression support
- // 1. compression support is disabled
- // 2. HEAD request
- // 3. no Content-Encoding header
- // 4. no content response (204)
- // 5. content not modified response (304)
- if (
- !request.compress ||
- request.method === "HEAD" ||
- codings === null ||
- res.statusCode === 204 ||
- res.statusCode === 304
- ) {
- response = new Response(body, response_options);
- resolve(response);
- return;
- }
-
- // For Node v6+
- // Be less strict when decoding compressed responses, since sometimes
- // servers send slightly invalid responses that are still accepted
- // by common browsers.
- // Always using Z_SYNC_FLUSH is what cURL does.
- const zlibOptions = {
- flush: zlib.Z_SYNC_FLUSH,
- finishFlush: zlib.Z_SYNC_FLUSH,
- };
-
- // for gzip
- if (codings == "gzip" || codings == "x-gzip") {
- body = body.pipe(zlib.createGunzip(zlibOptions));
- response = new Response(body, response_options);
- resolve(response);
- return;
- }
-
- // for deflate
- if (codings == "deflate" || codings == "x-deflate") {
- // handle the infamous raw deflate response from old servers
- // a hack for old IIS and Apache servers
- const raw = res.pipe(new PassThrough$1());
- raw.once("data", function (chunk) {
- // see http://stackoverflow.com/questions/37519828
- if ((chunk[0] & 0x0f) === 0x08) {
- body = body.pipe(zlib.createInflate());
- } else {
- body = body.pipe(zlib.createInflateRaw());
- }
- response = new Response(body, response_options);
- resolve(response);
- });
- return;
- }
-
- // for br
- if (
- codings == "br" &&
- typeof zlib.createBrotliDecompress === "function"
- ) {
- body = body.pipe(zlib.createBrotliDecompress());
- response = new Response(body, response_options);
- resolve(response);
- return;
- }
-
- // otherwise, use response as-is
- response = new Response(body, response_options);
- resolve(response);
- });
-
- writeToStream(req, request);
- });
- }
- /**
- * Redirect code matching
- *
- * @param Number code Status code
- * @return Boolean
- */
- fetch.isRedirect = function (code) {
- return (
- code === 301 ||
- code === 302 ||
- code === 303 ||
- code === 307 ||
- code === 308
- );
- };
-
- // expose Promise
- fetch.Promise = global.Promise;
-
- module.exports = exports = fetch;
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.default = exports;
- exports.Headers = Headers;
- exports.Request = Request;
- exports.Response = Response;
- exports.FetchError = FetchError;
-
- /***/
- },
-
- /***/ 4469: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(6099);
- model.paginators = __webpack_require__(8317).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.WorkDocs;
-
- /***/
- },
-
- /***/ 4480: /***/ function (module) {
- module.exports = {
- pagination: {
- ListApplications: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListComponents: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListConfigurationHistory: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListLogPatternSets: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListLogPatterns: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- ListProblems: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 4483: /***/ function (module) {
- module.exports = {
- pagination: {
- ListItems: {
- input_token: "NextToken",
- output_token: "NextToken",
- limit_key: "MaxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 4487: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(8258);
- model.paginators = __webpack_require__(8784).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- }
- );
-
- module.exports = AWS.KinesisVideoMedia;
-
- /***/
- },
-
- /***/ 4525: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- DBInstanceAvailable: {
- delay: 30,
- operation: "DescribeDBInstances",
- maxAttempts: 60,
- acceptors: [
- {
- expected: "available",
- matcher: "pathAll",
- state: "success",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "deleted",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "deleting",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "failed",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "incompatible-restore",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "incompatible-parameters",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- ],
- },
- DBInstanceDeleted: {
- delay: 30,
- operation: "DescribeDBInstances",
- maxAttempts: 60,
- acceptors: [
- {
- expected: true,
- matcher: "path",
- state: "success",
- argument: "length(DBInstances) == `0`",
- },
- {
- expected: "DBInstanceNotFound",
- matcher: "error",
- state: "success",
- },
- {
- expected: "creating",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "modifying",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "rebooting",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- {
- expected: "resetting-master-credentials",
- matcher: "pathAny",
- state: "failure",
- argument: "DBInstances[].DBInstanceStatus",
- },
- ],
- },
- DBSnapshotAvailable: {
- delay: 30,
- operation: "DescribeDBSnapshots",
- maxAttempts: 60,
- acceptors: [
- {
- expected: "available",
- matcher: "pathAll",
- state: "success",
- argument: "DBSnapshots[].Status",
- },
- {
- expected: "deleted",
- matcher: "pathAny",
- state: "failure",
- argument: "DBSnapshots[].Status",
- },
- {
- expected: "deleting",
- matcher: "pathAny",
- state: "failure",
- argument: "DBSnapshots[].Status",
- },
- {
- expected: "failed",
- matcher: "pathAny",
- state: "failure",
- argument: "DBSnapshots[].Status",
- },
- {
- expected: "incompatible-restore",
- matcher: "pathAny",
- state: "failure",
- argument: "DBSnapshots[].Status",
- },
- {
- expected: "incompatible-parameters",
- matcher: "pathAny",
- state: "failure",
- argument: "DBSnapshots[].Status",
- },
- ],
- },
- DBSnapshotDeleted: {
- delay: 30,
- operation: "DescribeDBSnapshots",
- maxAttempts: 60,
- acceptors: [
- {
- expected: true,
- matcher: "path",
- state: "success",
- argument: "length(DBSnapshots) == `0`",
- },
- {
- expected: "DBSnapshotNotFound",
- matcher: "error",
- state: "success",
- },
- {
- expected: "creating",
- matcher: "pathAny",
- state: "failure",
- argument: "DBSnapshots[].Status",
- },
- {
- expected: "modifying",
- matcher: "pathAny",
- state: "failure",
- argument: "DBSnapshots[].Status",
- },
- {
- expected: "rebooting",
- matcher: "pathAny",
- state: "failure",
- argument: "DBSnapshots[].Status",
- },
- {
- expected: "resetting-master-credentials",
- matcher: "pathAny",
- state: "failure",
- argument: "DBSnapshots[].Status",
- },
- ],
- },
- DBClusterSnapshotAvailable: {
- delay: 30,
- operation: "DescribeDBClusterSnapshots",
- maxAttempts: 60,
- acceptors: [
- {
- expected: "available",
- matcher: "pathAll",
- state: "success",
- argument: "DBClusterSnapshots[].Status",
- },
- {
- expected: "deleted",
- matcher: "pathAny",
- state: "failure",
- argument: "DBClusterSnapshots[].Status",
- },
- {
- expected: "deleting",
- matcher: "pathAny",
- state: "failure",
- argument: "DBClusterSnapshots[].Status",
- },
- {
- expected: "failed",
- matcher: "pathAny",
- state: "failure",
- argument: "DBClusterSnapshots[].Status",
- },
- {
- expected: "incompatible-restore",
- matcher: "pathAny",
- state: "failure",
- argument: "DBClusterSnapshots[].Status",
- },
- {
- expected: "incompatible-parameters",
- matcher: "pathAny",
- state: "failure",
- argument: "DBClusterSnapshots[].Status",
- },
- ],
- },
- DBClusterSnapshotDeleted: {
- delay: 30,
- operation: "DescribeDBClusterSnapshots",
- maxAttempts: 60,
- acceptors: [
- {
- expected: true,
- matcher: "path",
- state: "success",
- argument: "length(DBClusterSnapshots) == `0`",
- },
- {
- expected: "DBClusterSnapshotNotFoundFault",
- matcher: "error",
- state: "success",
- },
- {
- expected: "creating",
- matcher: "pathAny",
- state: "failure",
- argument: "DBClusterSnapshots[].Status",
- },
- {
- expected: "modifying",
- matcher: "pathAny",
- state: "failure",
- argument: "DBClusterSnapshots[].Status",
- },
- {
- expected: "rebooting",
- matcher: "pathAny",
- state: "failure",
- argument: "DBClusterSnapshots[].Status",
- },
- {
- expected: "resetting-master-credentials",
- matcher: "pathAny",
- state: "failure",
- argument: "DBClusterSnapshots[].Status",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 4535: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2019-02-03",
- endpointPrefix: "kendra",
- jsonVersion: "1.1",
- protocol: "json",
- serviceAbbreviation: "kendra",
- serviceFullName: "AWSKendraFrontendService",
- serviceId: "kendra",
- signatureVersion: "v4",
- signingName: "kendra",
- targetPrefix: "AWSKendraFrontendService",
- uid: "kendra-2019-02-03",
- },
- operations: {
- BatchDeleteDocument: {
- input: {
- type: "structure",
- required: ["IndexId", "DocumentIdList"],
- members: {
- IndexId: {},
- DocumentIdList: { type: "list", member: {} },
- },
- },
- output: {
- type: "structure",
- members: {
- FailedDocuments: {
- type: "list",
- member: {
- type: "structure",
- members: { Id: {}, ErrorCode: {}, ErrorMessage: {} },
- },
- },
- },
- },
- },
- BatchPutDocument: {
- input: {
- type: "structure",
- required: ["IndexId", "Documents"],
- members: {
- IndexId: {},
- RoleArn: {},
- Documents: {
- type: "list",
- member: {
- type: "structure",
- required: ["Id"],
- members: {
- Id: {},
- Title: {},
- Blob: { type: "blob" },
- S3Path: { shape: "Sg" },
- Attributes: { shape: "Sj" },
- AccessControlList: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Type", "Access"],
- members: { Name: {}, Type: {}, Access: {} },
- },
- },
- ContentType: {},
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: {
- FailedDocuments: {
- type: "list",
- member: {
- type: "structure",
- members: { Id: {}, ErrorCode: {}, ErrorMessage: {} },
- },
- },
- },
- },
- },
- CreateDataSource: {
- input: {
- type: "structure",
- required: ["Name", "IndexId", "Type", "Configuration", "RoleArn"],
- members: {
- Name: {},
- IndexId: {},
- Type: {},
- Configuration: { shape: "S14" },
- Description: {},
- Schedule: {},
- RoleArn: {},
- },
- },
- output: {
- type: "structure",
- required: ["Id"],
- members: { Id: {} },
- },
- },
- CreateFaq: {
- input: {
- type: "structure",
- required: ["IndexId", "Name", "S3Path", "RoleArn"],
- members: {
- IndexId: {},
- Name: {},
- Description: {},
- S3Path: { shape: "Sg" },
- RoleArn: {},
- },
- },
- output: { type: "structure", members: { Id: {} } },
- },
- CreateIndex: {
- input: {
- type: "structure",
- required: ["Name", "RoleArn"],
- members: {
- Name: {},
- RoleArn: {},
- ServerSideEncryptionConfiguration: { shape: "S2b" },
- Description: {},
- ClientToken: { idempotencyToken: true },
- },
- },
- output: { type: "structure", members: { Id: {} } },
- },
- DeleteFaq: {
- input: {
- type: "structure",
- required: ["Id", "IndexId"],
- members: { Id: {}, IndexId: {} },
- },
- },
- DeleteIndex: {
- input: { type: "structure", required: ["Id"], members: { Id: {} } },
- },
- DescribeDataSource: {
- input: {
- type: "structure",
- required: ["Id", "IndexId"],
- members: { Id: {}, IndexId: {} },
- },
- output: {
- type: "structure",
- members: {
- Id: {},
- IndexId: {},
- Name: {},
- Type: {},
- Configuration: { shape: "S14" },
- CreatedAt: { type: "timestamp" },
- UpdatedAt: { type: "timestamp" },
- Description: {},
- Status: {},
- Schedule: {},
- RoleArn: {},
- ErrorMessage: {},
- },
- },
- },
- DescribeFaq: {
- input: {
- type: "structure",
- required: ["Id", "IndexId"],
- members: { Id: {}, IndexId: {} },
- },
- output: {
- type: "structure",
- members: {
- Id: {},
- IndexId: {},
- Name: {},
- Description: {},
- CreatedAt: { type: "timestamp" },
- UpdatedAt: { type: "timestamp" },
- S3Path: { shape: "Sg" },
- Status: {},
- RoleArn: {},
- ErrorMessage: {},
- },
- },
- },
- DescribeIndex: {
- input: { type: "structure", required: ["Id"], members: { Id: {} } },
- output: {
- type: "structure",
- members: {
- Name: {},
- Id: {},
- RoleArn: {},
- ServerSideEncryptionConfiguration: { shape: "S2b" },
- Status: {},
- Description: {},
- CreatedAt: { type: "timestamp" },
- UpdatedAt: { type: "timestamp" },
- DocumentMetadataConfigurations: { shape: "S2q" },
- IndexStatistics: {
- type: "structure",
- required: ["FaqStatistics", "TextDocumentStatistics"],
- members: {
- FaqStatistics: {
- type: "structure",
- required: ["IndexedQuestionAnswersCount"],
- members: {
- IndexedQuestionAnswersCount: { type: "integer" },
- },
- },
- TextDocumentStatistics: {
- type: "structure",
- required: ["IndexedTextDocumentsCount"],
- members: {
- IndexedTextDocumentsCount: { type: "integer" },
- },
- },
- },
- },
- ErrorMessage: {},
- },
- },
- },
- ListDataSourceSyncJobs: {
- input: {
- type: "structure",
- required: ["Id", "IndexId"],
- members: {
- Id: {},
- IndexId: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- StartTimeFilter: {
- type: "structure",
- members: {
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- },
- },
- StatusFilter: {},
- },
- },
- output: {
- type: "structure",
- members: {
- History: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ExecutionId: {},
- StartTime: { type: "timestamp" },
- EndTime: { type: "timestamp" },
- Status: {},
- ErrorMessage: {},
- ErrorCode: {},
- DataSourceErrorCode: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListDataSources: {
- input: {
- type: "structure",
- required: ["IndexId"],
- members: {
- IndexId: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- SummaryItems: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: {},
- Id: {},
- Type: {},
- CreatedAt: { type: "timestamp" },
- UpdatedAt: { type: "timestamp" },
- Status: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- ListFaqs: {
- input: {
- type: "structure",
- required: ["IndexId"],
- members: {
- IndexId: {},
- NextToken: {},
- MaxResults: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- NextToken: {},
- FaqSummaryItems: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Name: {},
- Status: {},
- CreatedAt: { type: "timestamp" },
- UpdatedAt: { type: "timestamp" },
- },
- },
- },
- },
- },
- },
- ListIndices: {
- input: {
- type: "structure",
- members: { NextToken: {}, MaxResults: { type: "integer" } },
- },
- output: {
- type: "structure",
- members: {
- IndexConfigurationSummaryItems: {
- type: "list",
- member: {
- type: "structure",
- required: ["CreatedAt", "UpdatedAt", "Status"],
- members: {
- Name: {},
- Id: {},
- CreatedAt: { type: "timestamp" },
- UpdatedAt: { type: "timestamp" },
- Status: {},
- },
- },
- },
- NextToken: {},
- },
- },
- },
- Query: {
- input: {
- type: "structure",
- required: ["IndexId", "QueryText"],
- members: {
- IndexId: {},
- QueryText: {},
- AttributeFilter: { shape: "S3w" },
- Facets: {
- type: "list",
- member: {
- type: "structure",
- members: { DocumentAttributeKey: {} },
- },
- },
- RequestedDocumentAttributes: { type: "list", member: {} },
- QueryResultTypeFilter: {},
- PageNumber: { type: "integer" },
- PageSize: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- QueryId: {},
- ResultItems: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Id: {},
- Type: {},
- AdditionalAttributes: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "ValueType", "Value"],
- members: {
- Key: {},
- ValueType: {},
- Value: {
- type: "structure",
- members: {
- TextWithHighlightsValue: { shape: "S4c" },
- },
- },
- },
- },
- },
- DocumentId: {},
- DocumentTitle: { shape: "S4c" },
- DocumentExcerpt: { shape: "S4c" },
- DocumentURI: {},
- DocumentAttributes: { shape: "Sj" },
- },
- },
- },
- FacetResults: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DocumentAttributeKey: {},
- DocumentAttributeValueCountPairs: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DocumentAttributeValue: { shape: "Sm" },
- Count: { type: "integer" },
- },
- },
- },
- },
- },
- },
- TotalNumberOfResults: { type: "integer" },
- },
- },
- },
- StartDataSourceSyncJob: {
- input: {
- type: "structure",
- required: ["Id", "IndexId"],
- members: { Id: {}, IndexId: {} },
- },
- output: { type: "structure", members: { ExecutionId: {} } },
- },
- StopDataSourceSyncJob: {
- input: {
- type: "structure",
- required: ["Id", "IndexId"],
- members: { Id: {}, IndexId: {} },
- },
- },
- SubmitFeedback: {
- input: {
- type: "structure",
- required: ["IndexId", "QueryId"],
- members: {
- IndexId: {},
- QueryId: {},
- ClickFeedbackItems: {
- type: "list",
- member: {
- type: "structure",
- required: ["ResultId", "ClickTime"],
- members: { ResultId: {}, ClickTime: { type: "timestamp" } },
- },
- },
- RelevanceFeedbackItems: {
- type: "list",
- member: {
- type: "structure",
- required: ["ResultId", "RelevanceValue"],
- members: { ResultId: {}, RelevanceValue: {} },
- },
- },
- },
- },
- },
- UpdateDataSource: {
- input: {
- type: "structure",
- required: ["Id", "IndexId"],
- members: {
- Id: {},
- Name: {},
- IndexId: {},
- Configuration: { shape: "S14" },
- Description: {},
- Schedule: {},
- RoleArn: {},
- },
- },
- },
- UpdateIndex: {
- input: {
- type: "structure",
- required: ["Id"],
- members: {
- Id: {},
- Name: {},
- RoleArn: {},
- Description: {},
- DocumentMetadataConfigurationUpdates: { shape: "S2q" },
- },
- },
- },
- },
- shapes: {
- Sg: {
- type: "structure",
- required: ["Bucket", "Key"],
- members: { Bucket: {}, Key: {} },
- },
- Sj: { type: "list", member: { shape: "Sk" } },
- Sk: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: { shape: "Sm" } },
- },
- Sm: {
- type: "structure",
- members: {
- StringValue: {},
- StringListValue: { type: "list", member: {} },
- LongValue: { type: "long" },
- DateValue: { type: "timestamp" },
- },
- },
- S14: {
- type: "structure",
- members: {
- S3Configuration: {
- type: "structure",
- required: ["BucketName"],
- members: {
- BucketName: {},
- InclusionPrefixes: { shape: "S16" },
- ExclusionPatterns: { shape: "S16" },
- DocumentsMetadataConfiguration: {
- type: "structure",
- members: { S3Prefix: {} },
- },
- AccessControlListConfiguration: {
- type: "structure",
- members: { KeyPath: {} },
- },
- },
- },
- SharePointConfiguration: {
- type: "structure",
- required: ["SharePointVersion", "Urls", "SecretArn"],
- members: {
- SharePointVersion: {},
- Urls: { type: "list", member: {} },
- SecretArn: {},
- CrawlAttachments: { type: "boolean" },
- UseChangeLog: { type: "boolean" },
- InclusionPatterns: { shape: "S16" },
- ExclusionPatterns: { shape: "S16" },
- VpcConfiguration: { shape: "S1g" },
- FieldMappings: { shape: "S1l" },
- DocumentTitleFieldName: {},
- },
- },
- DatabaseConfiguration: {
- type: "structure",
- required: [
- "DatabaseEngineType",
- "ConnectionConfiguration",
- "ColumnConfiguration",
- ],
- members: {
- DatabaseEngineType: {},
- ConnectionConfiguration: {
- type: "structure",
- required: [
- "DatabaseHost",
- "DatabasePort",
- "DatabaseName",
- "TableName",
- "SecretArn",
- ],
- members: {
- DatabaseHost: {},
- DatabasePort: { type: "integer" },
- DatabaseName: {},
- TableName: {},
- SecretArn: {},
- },
- },
- VpcConfiguration: { shape: "S1g" },
- ColumnConfiguration: {
- type: "structure",
- required: [
- "DocumentIdColumnName",
- "DocumentDataColumnName",
- "ChangeDetectingColumns",
- ],
- members: {
- DocumentIdColumnName: {},
- DocumentDataColumnName: {},
- DocumentTitleColumnName: {},
- FieldMappings: { shape: "S1l" },
- ChangeDetectingColumns: { type: "list", member: {} },
- },
- },
- AclConfiguration: {
- type: "structure",
- required: ["AllowedGroupsColumnName"],
- members: { AllowedGroupsColumnName: {} },
- },
- },
- },
- },
- },
- S16: { type: "list", member: {} },
- S1g: {
- type: "structure",
- required: ["SubnetIds", "SecurityGroupIds"],
- members: {
- SubnetIds: { type: "list", member: {} },
- SecurityGroupIds: { type: "list", member: {} },
- },
- },
- S1l: {
- type: "list",
- member: {
- type: "structure",
- required: ["DataSourceFieldName", "IndexFieldName"],
- members: {
- DataSourceFieldName: {},
- DateFieldFormat: {},
- IndexFieldName: {},
- },
- },
- },
- S2b: {
- type: "structure",
- members: { KmsKeyId: { type: "string", sensitive: true } },
- },
- S2q: {
- type: "list",
- member: {
- type: "structure",
- required: ["Name", "Type"],
- members: {
- Name: {},
- Type: {},
- Relevance: {
- type: "structure",
- members: {
- Freshness: { type: "boolean" },
- Importance: { type: "integer" },
- Duration: {},
- RankOrder: {},
- ValueImportanceMap: {
- type: "map",
- key: {},
- value: { type: "integer" },
- },
- },
- },
- Search: {
- type: "structure",
- members: {
- Facetable: { type: "boolean" },
- Searchable: { type: "boolean" },
- Displayable: { type: "boolean" },
- },
- },
- },
- },
- },
- S3w: {
- type: "structure",
- members: {
- AndAllFilters: { shape: "S3x" },
- OrAllFilters: { shape: "S3x" },
- NotFilter: { shape: "S3w" },
- EqualsTo: { shape: "Sk" },
- ContainsAll: { shape: "Sk" },
- ContainsAny: { shape: "Sk" },
- GreaterThan: { shape: "Sk" },
- GreaterThanOrEquals: { shape: "Sk" },
- LessThan: { shape: "Sk" },
- LessThanOrEquals: { shape: "Sk" },
- },
- },
- S3x: { type: "list", member: { shape: "S3w" } },
- S4c: {
- type: "structure",
- members: {
- Text: {},
- Highlights: {
- type: "list",
- member: {
- type: "structure",
- required: ["BeginOffset", "EndOffset"],
- members: {
- BeginOffset: { type: "integer" },
- EndOffset: { type: "integer" },
- TopAnswer: { type: "boolean" },
- },
- },
- },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 4540: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2013-06-30",
- endpointPrefix: "storagegateway",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "AWS Storage Gateway",
- serviceId: "Storage Gateway",
- signatureVersion: "v4",
- targetPrefix: "StorageGateway_20130630",
- uid: "storagegateway-2013-06-30",
- },
- operations: {
- ActivateGateway: {
- input: {
- type: "structure",
- required: [
- "ActivationKey",
- "GatewayName",
- "GatewayTimezone",
- "GatewayRegion",
- ],
- members: {
- ActivationKey: {},
- GatewayName: {},
- GatewayTimezone: {},
- GatewayRegion: {},
- GatewayType: {},
- TapeDriveType: {},
- MediumChangerType: {},
- Tags: { shape: "S9" },
- },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- AddCache: {
- input: {
- type: "structure",
- required: ["GatewayARN", "DiskIds"],
- members: { GatewayARN: {}, DiskIds: { shape: "Sg" } },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- AddTagsToResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "Tags"],
- members: { ResourceARN: {}, Tags: { shape: "S9" } },
- },
- output: { type: "structure", members: { ResourceARN: {} } },
- },
- AddUploadBuffer: {
- input: {
- type: "structure",
- required: ["GatewayARN", "DiskIds"],
- members: { GatewayARN: {}, DiskIds: { shape: "Sg" } },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- AddWorkingStorage: {
- input: {
- type: "structure",
- required: ["GatewayARN", "DiskIds"],
- members: { GatewayARN: {}, DiskIds: { shape: "Sg" } },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- AssignTapePool: {
- input: {
- type: "structure",
- required: ["TapeARN", "PoolId"],
- members: { TapeARN: {}, PoolId: {} },
- },
- output: { type: "structure", members: { TapeARN: {} } },
- },
- AttachVolume: {
- input: {
- type: "structure",
- required: ["GatewayARN", "VolumeARN", "NetworkInterfaceId"],
- members: {
- GatewayARN: {},
- TargetName: {},
- VolumeARN: {},
- NetworkInterfaceId: {},
- DiskId: {},
- },
- },
- output: {
- type: "structure",
- members: { VolumeARN: {}, TargetARN: {} },
- },
- },
- CancelArchival: {
- input: {
- type: "structure",
- required: ["GatewayARN", "TapeARN"],
- members: { GatewayARN: {}, TapeARN: {} },
- },
- output: { type: "structure", members: { TapeARN: {} } },
- },
- CancelRetrieval: {
- input: {
- type: "structure",
- required: ["GatewayARN", "TapeARN"],
- members: { GatewayARN: {}, TapeARN: {} },
- },
- output: { type: "structure", members: { TapeARN: {} } },
- },
- CreateCachediSCSIVolume: {
- input: {
- type: "structure",
- required: [
- "GatewayARN",
- "VolumeSizeInBytes",
- "TargetName",
- "NetworkInterfaceId",
- "ClientToken",
- ],
- members: {
- GatewayARN: {},
- VolumeSizeInBytes: { type: "long" },
- SnapshotId: {},
- TargetName: {},
- SourceVolumeARN: {},
- NetworkInterfaceId: {},
- ClientToken: {},
- KMSEncrypted: { type: "boolean" },
- KMSKey: {},
- Tags: { shape: "S9" },
- },
- },
- output: {
- type: "structure",
- members: { VolumeARN: {}, TargetARN: {} },
- },
- },
- CreateNFSFileShare: {
- input: {
- type: "structure",
- required: ["ClientToken", "GatewayARN", "Role", "LocationARN"],
- members: {
- ClientToken: {},
- NFSFileShareDefaults: { shape: "S1c" },
- GatewayARN: {},
- KMSEncrypted: { type: "boolean" },
- KMSKey: {},
- Role: {},
- LocationARN: {},
- DefaultStorageClass: {},
- ObjectACL: {},
- ClientList: { shape: "S1j" },
- Squash: {},
- ReadOnly: { type: "boolean" },
- GuessMIMETypeEnabled: { type: "boolean" },
- RequesterPays: { type: "boolean" },
- Tags: { shape: "S9" },
- },
- },
- output: { type: "structure", members: { FileShareARN: {} } },
- },
- CreateSMBFileShare: {
- input: {
- type: "structure",
- required: ["ClientToken", "GatewayARN", "Role", "LocationARN"],
- members: {
- ClientToken: {},
- GatewayARN: {},
- KMSEncrypted: { type: "boolean" },
- KMSKey: {},
- Role: {},
- LocationARN: {},
- DefaultStorageClass: {},
- ObjectACL: {},
- ReadOnly: { type: "boolean" },
- GuessMIMETypeEnabled: { type: "boolean" },
- RequesterPays: { type: "boolean" },
- SMBACLEnabled: { type: "boolean" },
- AdminUserList: { shape: "S1p" },
- ValidUserList: { shape: "S1p" },
- InvalidUserList: { shape: "S1p" },
- AuditDestinationARN: {},
- Authentication: {},
- Tags: { shape: "S9" },
- },
- },
- output: { type: "structure", members: { FileShareARN: {} } },
- },
- CreateSnapshot: {
- input: {
- type: "structure",
- required: ["VolumeARN", "SnapshotDescription"],
- members: {
- VolumeARN: {},
- SnapshotDescription: {},
- Tags: { shape: "S9" },
- },
- },
- output: {
- type: "structure",
- members: { VolumeARN: {}, SnapshotId: {} },
- },
- },
- CreateSnapshotFromVolumeRecoveryPoint: {
- input: {
- type: "structure",
- required: ["VolumeARN", "SnapshotDescription"],
- members: {
- VolumeARN: {},
- SnapshotDescription: {},
- Tags: { shape: "S9" },
- },
- },
- output: {
- type: "structure",
- members: {
- SnapshotId: {},
- VolumeARN: {},
- VolumeRecoveryPointTime: {},
- },
- },
- },
- CreateStorediSCSIVolume: {
- input: {
- type: "structure",
- required: [
- "GatewayARN",
- "DiskId",
- "PreserveExistingData",
- "TargetName",
- "NetworkInterfaceId",
- ],
- members: {
- GatewayARN: {},
- DiskId: {},
- SnapshotId: {},
- PreserveExistingData: { type: "boolean" },
- TargetName: {},
- NetworkInterfaceId: {},
- KMSEncrypted: { type: "boolean" },
- KMSKey: {},
- Tags: { shape: "S9" },
- },
- },
- output: {
- type: "structure",
- members: {
- VolumeARN: {},
- VolumeSizeInBytes: { type: "long" },
- TargetARN: {},
- },
- },
- },
- CreateTapeWithBarcode: {
- input: {
- type: "structure",
- required: ["GatewayARN", "TapeSizeInBytes", "TapeBarcode"],
- members: {
- GatewayARN: {},
- TapeSizeInBytes: { type: "long" },
- TapeBarcode: {},
- KMSEncrypted: { type: "boolean" },
- KMSKey: {},
- PoolId: {},
- Tags: { shape: "S9" },
- },
- },
- output: { type: "structure", members: { TapeARN: {} } },
- },
- CreateTapes: {
- input: {
- type: "structure",
- required: [
- "GatewayARN",
- "TapeSizeInBytes",
- "ClientToken",
- "NumTapesToCreate",
- "TapeBarcodePrefix",
- ],
- members: {
- GatewayARN: {},
- TapeSizeInBytes: { type: "long" },
- ClientToken: {},
- NumTapesToCreate: { type: "integer" },
- TapeBarcodePrefix: {},
- KMSEncrypted: { type: "boolean" },
- KMSKey: {},
- PoolId: {},
- Tags: { shape: "S9" },
- },
- },
- output: {
- type: "structure",
- members: { TapeARNs: { shape: "S2b" } },
- },
- },
- DeleteBandwidthRateLimit: {
- input: {
- type: "structure",
- required: ["GatewayARN", "BandwidthType"],
- members: { GatewayARN: {}, BandwidthType: {} },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- DeleteChapCredentials: {
- input: {
- type: "structure",
- required: ["TargetARN", "InitiatorName"],
- members: { TargetARN: {}, InitiatorName: {} },
- },
- output: {
- type: "structure",
- members: { TargetARN: {}, InitiatorName: {} },
- },
- },
- DeleteFileShare: {
- input: {
- type: "structure",
- required: ["FileShareARN"],
- members: { FileShareARN: {}, ForceDelete: { type: "boolean" } },
- },
- output: { type: "structure", members: { FileShareARN: {} } },
- },
- DeleteGateway: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- DeleteSnapshotSchedule: {
- input: {
- type: "structure",
- required: ["VolumeARN"],
- members: { VolumeARN: {} },
- },
- output: { type: "structure", members: { VolumeARN: {} } },
- },
- DeleteTape: {
- input: {
- type: "structure",
- required: ["GatewayARN", "TapeARN"],
- members: { GatewayARN: {}, TapeARN: {} },
- },
- output: { type: "structure", members: { TapeARN: {} } },
- },
- DeleteTapeArchive: {
- input: {
- type: "structure",
- required: ["TapeARN"],
- members: { TapeARN: {} },
- },
- output: { type: "structure", members: { TapeARN: {} } },
- },
- DeleteVolume: {
- input: {
- type: "structure",
- required: ["VolumeARN"],
- members: { VolumeARN: {} },
- },
- output: { type: "structure", members: { VolumeARN: {} } },
- },
- DescribeAvailabilityMonitorTest: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: {
- type: "structure",
- members: {
- GatewayARN: {},
- Status: {},
- StartTime: { type: "timestamp" },
- },
- },
- },
- DescribeBandwidthRateLimit: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: {
- type: "structure",
- members: {
- GatewayARN: {},
- AverageUploadRateLimitInBitsPerSec: { type: "long" },
- AverageDownloadRateLimitInBitsPerSec: { type: "long" },
- },
- },
- },
- DescribeCache: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: {
- type: "structure",
- members: {
- GatewayARN: {},
- DiskIds: { shape: "Sg" },
- CacheAllocatedInBytes: { type: "long" },
- CacheUsedPercentage: { type: "double" },
- CacheDirtyPercentage: { type: "double" },
- CacheHitPercentage: { type: "double" },
- CacheMissPercentage: { type: "double" },
- },
- },
- },
- DescribeCachediSCSIVolumes: {
- input: {
- type: "structure",
- required: ["VolumeARNs"],
- members: { VolumeARNs: { shape: "S36" } },
- },
- output: {
- type: "structure",
- members: {
- CachediSCSIVolumes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- VolumeARN: {},
- VolumeId: {},
- VolumeType: {},
- VolumeStatus: {},
- VolumeAttachmentStatus: {},
- VolumeSizeInBytes: { type: "long" },
- VolumeProgress: { type: "double" },
- SourceSnapshotId: {},
- VolumeiSCSIAttributes: { shape: "S3f" },
- CreatedDate: { type: "timestamp" },
- VolumeUsedInBytes: { type: "long" },
- KMSKey: {},
- TargetName: {},
- },
- },
- },
- },
- },
- },
- DescribeChapCredentials: {
- input: {
- type: "structure",
- required: ["TargetARN"],
- members: { TargetARN: {} },
- },
- output: {
- type: "structure",
- members: {
- ChapCredentials: {
- type: "list",
- member: {
- type: "structure",
- members: {
- TargetARN: {},
- SecretToAuthenticateInitiator: { shape: "S3o" },
- InitiatorName: {},
- SecretToAuthenticateTarget: { shape: "S3o" },
- },
- },
- },
- },
- },
- },
- DescribeGatewayInformation: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: {
- type: "structure",
- members: {
- GatewayARN: {},
- GatewayId: {},
- GatewayName: {},
- GatewayTimezone: {},
- GatewayState: {},
- GatewayNetworkInterfaces: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Ipv4Address: {},
- MacAddress: {},
- Ipv6Address: {},
- },
- },
- },
- GatewayType: {},
- NextUpdateAvailabilityDate: {},
- LastSoftwareUpdate: {},
- Ec2InstanceId: {},
- Ec2InstanceRegion: {},
- Tags: { shape: "S9" },
- VPCEndpoint: {},
- CloudWatchLogGroupARN: {},
- HostEnvironment: {},
- },
- },
- },
- DescribeMaintenanceStartTime: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: {
- type: "structure",
- members: {
- GatewayARN: {},
- HourOfDay: { type: "integer" },
- MinuteOfHour: { type: "integer" },
- DayOfWeek: { type: "integer" },
- DayOfMonth: { type: "integer" },
- Timezone: {},
- },
- },
- },
- DescribeNFSFileShares: {
- input: {
- type: "structure",
- required: ["FileShareARNList"],
- members: { FileShareARNList: { shape: "S48" } },
- },
- output: {
- type: "structure",
- members: {
- NFSFileShareInfoList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- NFSFileShareDefaults: { shape: "S1c" },
- FileShareARN: {},
- FileShareId: {},
- FileShareStatus: {},
- GatewayARN: {},
- KMSEncrypted: { type: "boolean" },
- KMSKey: {},
- Path: {},
- Role: {},
- LocationARN: {},
- DefaultStorageClass: {},
- ObjectACL: {},
- ClientList: { shape: "S1j" },
- Squash: {},
- ReadOnly: { type: "boolean" },
- GuessMIMETypeEnabled: { type: "boolean" },
- RequesterPays: { type: "boolean" },
- Tags: { shape: "S9" },
- },
- },
- },
- },
- },
- },
- DescribeSMBFileShares: {
- input: {
- type: "structure",
- required: ["FileShareARNList"],
- members: { FileShareARNList: { shape: "S48" } },
- },
- output: {
- type: "structure",
- members: {
- SMBFileShareInfoList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- FileShareARN: {},
- FileShareId: {},
- FileShareStatus: {},
- GatewayARN: {},
- KMSEncrypted: { type: "boolean" },
- KMSKey: {},
- Path: {},
- Role: {},
- LocationARN: {},
- DefaultStorageClass: {},
- ObjectACL: {},
- ReadOnly: { type: "boolean" },
- GuessMIMETypeEnabled: { type: "boolean" },
- RequesterPays: { type: "boolean" },
- SMBACLEnabled: { type: "boolean" },
- AdminUserList: { shape: "S1p" },
- ValidUserList: { shape: "S1p" },
- InvalidUserList: { shape: "S1p" },
- AuditDestinationARN: {},
- Authentication: {},
- Tags: { shape: "S9" },
- },
- },
- },
- },
- },
- },
- DescribeSMBSettings: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: {
- type: "structure",
- members: {
- GatewayARN: {},
- DomainName: {},
- ActiveDirectoryStatus: {},
- SMBGuestPasswordSet: { type: "boolean" },
- SMBSecurityStrategy: {},
- },
- },
- },
- DescribeSnapshotSchedule: {
- input: {
- type: "structure",
- required: ["VolumeARN"],
- members: { VolumeARN: {} },
- },
- output: {
- type: "structure",
- members: {
- VolumeARN: {},
- StartAt: { type: "integer" },
- RecurrenceInHours: { type: "integer" },
- Description: {},
- Timezone: {},
- Tags: { shape: "S9" },
- },
- },
- },
- DescribeStorediSCSIVolumes: {
- input: {
- type: "structure",
- required: ["VolumeARNs"],
- members: { VolumeARNs: { shape: "S36" } },
- },
- output: {
- type: "structure",
- members: {
- StorediSCSIVolumes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- VolumeARN: {},
- VolumeId: {},
- VolumeType: {},
- VolumeStatus: {},
- VolumeAttachmentStatus: {},
- VolumeSizeInBytes: { type: "long" },
- VolumeProgress: { type: "double" },
- VolumeDiskId: {},
- SourceSnapshotId: {},
- PreservedExistingData: { type: "boolean" },
- VolumeiSCSIAttributes: { shape: "S3f" },
- CreatedDate: { type: "timestamp" },
- VolumeUsedInBytes: { type: "long" },
- KMSKey: {},
- TargetName: {},
- },
- },
- },
- },
- },
- },
- DescribeTapeArchives: {
- input: {
- type: "structure",
- members: {
- TapeARNs: { shape: "S2b" },
- Marker: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- TapeArchives: {
- type: "list",
- member: {
- type: "structure",
- members: {
- TapeARN: {},
- TapeBarcode: {},
- TapeCreatedDate: { type: "timestamp" },
- TapeSizeInBytes: { type: "long" },
- CompletionTime: { type: "timestamp" },
- RetrievedTo: {},
- TapeStatus: {},
- TapeUsedInBytes: { type: "long" },
- KMSKey: {},
- PoolId: {},
- },
- },
- },
- Marker: {},
- },
- },
- },
- DescribeTapeRecoveryPoints: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: {
- GatewayARN: {},
- Marker: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- GatewayARN: {},
- TapeRecoveryPointInfos: {
- type: "list",
- member: {
- type: "structure",
- members: {
- TapeARN: {},
- TapeRecoveryPointTime: { type: "timestamp" },
- TapeSizeInBytes: { type: "long" },
- TapeStatus: {},
- },
- },
- },
- Marker: {},
- },
- },
- },
- DescribeTapes: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: {
- GatewayARN: {},
- TapeARNs: { shape: "S2b" },
- Marker: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- Tapes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- TapeARN: {},
- TapeBarcode: {},
- TapeCreatedDate: { type: "timestamp" },
- TapeSizeInBytes: { type: "long" },
- TapeStatus: {},
- VTLDevice: {},
- Progress: { type: "double" },
- TapeUsedInBytes: { type: "long" },
- KMSKey: {},
- PoolId: {},
- },
- },
- },
- Marker: {},
- },
- },
- },
- DescribeUploadBuffer: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: {
- type: "structure",
- members: {
- GatewayARN: {},
- DiskIds: { shape: "Sg" },
- UploadBufferUsedInBytes: { type: "long" },
- UploadBufferAllocatedInBytes: { type: "long" },
- },
- },
- },
- DescribeVTLDevices: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: {
- GatewayARN: {},
- VTLDeviceARNs: { type: "list", member: {} },
- Marker: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- GatewayARN: {},
- VTLDevices: {
- type: "list",
- member: {
- type: "structure",
- members: {
- VTLDeviceARN: {},
- VTLDeviceType: {},
- VTLDeviceVendor: {},
- VTLDeviceProductIdentifier: {},
- DeviceiSCSIAttributes: {
- type: "structure",
- members: {
- TargetARN: {},
- NetworkInterfaceId: {},
- NetworkInterfacePort: { type: "integer" },
- ChapEnabled: { type: "boolean" },
- },
- },
- },
- },
- },
- Marker: {},
- },
- },
- },
- DescribeWorkingStorage: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: {
- type: "structure",
- members: {
- GatewayARN: {},
- DiskIds: { shape: "Sg" },
- WorkingStorageUsedInBytes: { type: "long" },
- WorkingStorageAllocatedInBytes: { type: "long" },
- },
- },
- },
- DetachVolume: {
- input: {
- type: "structure",
- required: ["VolumeARN"],
- members: { VolumeARN: {}, ForceDetach: { type: "boolean" } },
- },
- output: { type: "structure", members: { VolumeARN: {} } },
- },
- DisableGateway: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- JoinDomain: {
- input: {
- type: "structure",
- required: ["GatewayARN", "DomainName", "UserName", "Password"],
- members: {
- GatewayARN: {},
- DomainName: {},
- OrganizationalUnit: {},
- DomainControllers: { type: "list", member: {} },
- TimeoutInSeconds: { type: "integer" },
- UserName: {},
- Password: { type: "string", sensitive: true },
- },
- },
- output: {
- type: "structure",
- members: { GatewayARN: {}, ActiveDirectoryStatus: {} },
- },
- },
- ListFileShares: {
- input: {
- type: "structure",
- members: {
- GatewayARN: {},
- Limit: { type: "integer" },
- Marker: {},
- },
- },
- output: {
- type: "structure",
- members: {
- Marker: {},
- NextMarker: {},
- FileShareInfoList: {
- type: "list",
- member: {
- type: "structure",
- members: {
- FileShareType: {},
- FileShareARN: {},
- FileShareId: {},
- FileShareStatus: {},
- GatewayARN: {},
- },
- },
- },
- },
- },
- },
- ListGateways: {
- input: {
- type: "structure",
- members: { Marker: {}, Limit: { type: "integer" } },
- },
- output: {
- type: "structure",
- members: {
- Gateways: {
- type: "list",
- member: {
- type: "structure",
- members: {
- GatewayId: {},
- GatewayARN: {},
- GatewayType: {},
- GatewayOperationalState: {},
- GatewayName: {},
- Ec2InstanceId: {},
- Ec2InstanceRegion: {},
- },
- },
- },
- Marker: {},
- },
- },
- },
- ListLocalDisks: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: {
- type: "structure",
- members: {
- GatewayARN: {},
- Disks: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DiskId: {},
- DiskPath: {},
- DiskNode: {},
- DiskStatus: {},
- DiskSizeInBytes: { type: "long" },
- DiskAllocationType: {},
- DiskAllocationResource: {},
- DiskAttributeList: { type: "list", member: {} },
- },
- },
- },
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceARN"],
- members: {
- ResourceARN: {},
- Marker: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { ResourceARN: {}, Marker: {}, Tags: { shape: "S9" } },
- },
- },
- ListTapes: {
- input: {
- type: "structure",
- members: {
- TapeARNs: { shape: "S2b" },
- Marker: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- TapeInfos: {
- type: "list",
- member: {
- type: "structure",
- members: {
- TapeARN: {},
- TapeBarcode: {},
- TapeSizeInBytes: { type: "long" },
- TapeStatus: {},
- GatewayARN: {},
- PoolId: {},
- },
- },
- },
- Marker: {},
- },
- },
- },
- ListVolumeInitiators: {
- input: {
- type: "structure",
- required: ["VolumeARN"],
- members: { VolumeARN: {} },
- },
- output: {
- type: "structure",
- members: { Initiators: { type: "list", member: {} } },
- },
- },
- ListVolumeRecoveryPoints: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: {
- type: "structure",
- members: {
- GatewayARN: {},
- VolumeRecoveryPointInfos: {
- type: "list",
- member: {
- type: "structure",
- members: {
- VolumeARN: {},
- VolumeSizeInBytes: { type: "long" },
- VolumeUsageInBytes: { type: "long" },
- VolumeRecoveryPointTime: {},
- },
- },
- },
- },
- },
- },
- ListVolumes: {
- input: {
- type: "structure",
- members: {
- GatewayARN: {},
- Marker: {},
- Limit: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: {
- GatewayARN: {},
- Marker: {},
- VolumeInfos: {
- type: "list",
- member: {
- type: "structure",
- members: {
- VolumeARN: {},
- VolumeId: {},
- GatewayARN: {},
- GatewayId: {},
- VolumeType: {},
- VolumeSizeInBytes: { type: "long" },
- VolumeAttachmentStatus: {},
- },
- },
- },
- },
- },
- },
- NotifyWhenUploaded: {
- input: {
- type: "structure",
- required: ["FileShareARN"],
- members: { FileShareARN: {} },
- },
- output: {
- type: "structure",
- members: { FileShareARN: {}, NotificationId: {} },
- },
- },
- RefreshCache: {
- input: {
- type: "structure",
- required: ["FileShareARN"],
- members: {
- FileShareARN: {},
- FolderList: { type: "list", member: {} },
- Recursive: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { FileShareARN: {}, NotificationId: {} },
- },
- },
- RemoveTagsFromResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "TagKeys"],
- members: {
- ResourceARN: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: { ResourceARN: {} } },
- },
- ResetCache: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- RetrieveTapeArchive: {
- input: {
- type: "structure",
- required: ["TapeARN", "GatewayARN"],
- members: { TapeARN: {}, GatewayARN: {} },
- },
- output: { type: "structure", members: { TapeARN: {} } },
- },
- RetrieveTapeRecoveryPoint: {
- input: {
- type: "structure",
- required: ["TapeARN", "GatewayARN"],
- members: { TapeARN: {}, GatewayARN: {} },
- },
- output: { type: "structure", members: { TapeARN: {} } },
- },
- SetLocalConsolePassword: {
- input: {
- type: "structure",
- required: ["GatewayARN", "LocalConsolePassword"],
- members: {
- GatewayARN: {},
- LocalConsolePassword: { type: "string", sensitive: true },
- },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- SetSMBGuestPassword: {
- input: {
- type: "structure",
- required: ["GatewayARN", "Password"],
- members: {
- GatewayARN: {},
- Password: { type: "string", sensitive: true },
- },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- ShutdownGateway: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- StartAvailabilityMonitorTest: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- StartGateway: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- UpdateBandwidthRateLimit: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: {
- GatewayARN: {},
- AverageUploadRateLimitInBitsPerSec: { type: "long" },
- AverageDownloadRateLimitInBitsPerSec: { type: "long" },
- },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- UpdateChapCredentials: {
- input: {
- type: "structure",
- required: [
- "TargetARN",
- "SecretToAuthenticateInitiator",
- "InitiatorName",
- ],
- members: {
- TargetARN: {},
- SecretToAuthenticateInitiator: { shape: "S3o" },
- InitiatorName: {},
- SecretToAuthenticateTarget: { shape: "S3o" },
- },
- },
- output: {
- type: "structure",
- members: { TargetARN: {}, InitiatorName: {} },
- },
- },
- UpdateGatewayInformation: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: {
- GatewayARN: {},
- GatewayName: {},
- GatewayTimezone: {},
- CloudWatchLogGroupARN: {},
- },
- },
- output: {
- type: "structure",
- members: { GatewayARN: {}, GatewayName: {} },
- },
- },
- UpdateGatewaySoftwareNow: {
- input: {
- type: "structure",
- required: ["GatewayARN"],
- members: { GatewayARN: {} },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- UpdateMaintenanceStartTime: {
- input: {
- type: "structure",
- required: ["GatewayARN", "HourOfDay", "MinuteOfHour"],
- members: {
- GatewayARN: {},
- HourOfDay: { type: "integer" },
- MinuteOfHour: { type: "integer" },
- DayOfWeek: { type: "integer" },
- DayOfMonth: { type: "integer" },
- },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- UpdateNFSFileShare: {
- input: {
- type: "structure",
- required: ["FileShareARN"],
- members: {
- FileShareARN: {},
- KMSEncrypted: { type: "boolean" },
- KMSKey: {},
- NFSFileShareDefaults: { shape: "S1c" },
- DefaultStorageClass: {},
- ObjectACL: {},
- ClientList: { shape: "S1j" },
- Squash: {},
- ReadOnly: { type: "boolean" },
- GuessMIMETypeEnabled: { type: "boolean" },
- RequesterPays: { type: "boolean" },
- },
- },
- output: { type: "structure", members: { FileShareARN: {} } },
- },
- UpdateSMBFileShare: {
- input: {
- type: "structure",
- required: ["FileShareARN"],
- members: {
- FileShareARN: {},
- KMSEncrypted: { type: "boolean" },
- KMSKey: {},
- DefaultStorageClass: {},
- ObjectACL: {},
- ReadOnly: { type: "boolean" },
- GuessMIMETypeEnabled: { type: "boolean" },
- RequesterPays: { type: "boolean" },
- SMBACLEnabled: { type: "boolean" },
- AdminUserList: { shape: "S1p" },
- ValidUserList: { shape: "S1p" },
- InvalidUserList: { shape: "S1p" },
- AuditDestinationARN: {},
- },
- },
- output: { type: "structure", members: { FileShareARN: {} } },
- },
- UpdateSMBSecurityStrategy: {
- input: {
- type: "structure",
- required: ["GatewayARN", "SMBSecurityStrategy"],
- members: { GatewayARN: {}, SMBSecurityStrategy: {} },
- },
- output: { type: "structure", members: { GatewayARN: {} } },
- },
- UpdateSnapshotSchedule: {
- input: {
- type: "structure",
- required: ["VolumeARN", "StartAt", "RecurrenceInHours"],
- members: {
- VolumeARN: {},
- StartAt: { type: "integer" },
- RecurrenceInHours: { type: "integer" },
- Description: {},
- Tags: { shape: "S9" },
- },
- },
- output: { type: "structure", members: { VolumeARN: {} } },
- },
- UpdateVTLDeviceType: {
- input: {
- type: "structure",
- required: ["VTLDeviceARN", "DeviceType"],
- members: { VTLDeviceARN: {}, DeviceType: {} },
- },
- output: { type: "structure", members: { VTLDeviceARN: {} } },
- },
- },
- shapes: {
- S9: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- Sg: { type: "list", member: {} },
- S1c: {
- type: "structure",
- members: {
- FileMode: {},
- DirectoryMode: {},
- GroupId: { type: "long" },
- OwnerId: { type: "long" },
- },
- },
- S1j: { type: "list", member: {} },
- S1p: { type: "list", member: {} },
- S2b: { type: "list", member: {} },
- S36: { type: "list", member: {} },
- S3f: {
- type: "structure",
- members: {
- TargetARN: {},
- NetworkInterfaceId: {},
- NetworkInterfacePort: { type: "integer" },
- LunNumber: { type: "integer" },
- ChapEnabled: { type: "boolean" },
- },
- },
- S3o: { type: "string", sensitive: true },
- S48: { type: "list", member: {} },
- },
- };
-
- /***/
- },
-
- /***/ 4563: /***/ function (module, __unusedexports, __webpack_require__) {
- module.exports = getPreviousPage;
-
- const getPage = __webpack_require__(3265);
-
- function getPreviousPage(octokit, link, headers) {
- return getPage(octokit, link, "prev", headers);
- }
-
- /***/
- },
-
- /***/ 4568: /***/ function (module, __unusedexports, __webpack_require__) {
- "use strict";
-
- const path = __webpack_require__(5622);
- const niceTry = __webpack_require__(948);
- const resolveCommand = __webpack_require__(489);
- const escape = __webpack_require__(462);
- const readShebang = __webpack_require__(4389);
- const semver = __webpack_require__(9280);
-
- const isWin = process.platform === "win32";
- const isExecutableRegExp = /\.(?:com|exe)$/i;
- const isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
-
- // `options.shell` is supported in Node ^4.8.0, ^5.7.0 and >= 6.0.0
- const supportsShellOption =
- niceTry(() =>
- semver.satisfies(
- process.version,
- "^4.8.0 || ^5.7.0 || >= 6.0.0",
- true
- )
- ) || false;
-
- function detectShebang(parsed) {
- parsed.file = resolveCommand(parsed);
-
- const shebang = parsed.file && readShebang(parsed.file);
-
- if (shebang) {
- parsed.args.unshift(parsed.file);
- parsed.command = shebang;
-
- return resolveCommand(parsed);
- }
-
- return parsed.file;
- }
-
- function parseNonShell(parsed) {
- if (!isWin) {
- return parsed;
- }
-
- // Detect & add support for shebangs
- const commandFile = detectShebang(parsed);
-
- // We don't need a shell if the command filename is an executable
- const needsShell = !isExecutableRegExp.test(commandFile);
-
- // If a shell is required, use cmd.exe and take care of escaping everything correctly
- // Note that `forceShell` is an hidden option used only in tests
- if (parsed.options.forceShell || needsShell) {
- // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`
- // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument
- // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,
- // we need to double escape them
- const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
-
- // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\bar)
- // This is necessary otherwise it will always fail with ENOENT in those cases
- parsed.command = path.normalize(parsed.command);
-
- // Escape command & arguments
- parsed.command = escape.command(parsed.command);
- parsed.args = parsed.args.map((arg) =>
- escape.argument(arg, needsDoubleEscapeMetaChars)
- );
-
- const shellCommand = [parsed.command].concat(parsed.args).join(" ");
-
- parsed.args = ["/d", "/s", "/c", `"${shellCommand}"`];
- parsed.command = process.env.comspec || "cmd.exe";
- parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped
- }
-
- return parsed;
- }
-
- function parseShell(parsed) {
- // If node supports the shell option, there's no need to mimic its behavior
- if (supportsShellOption) {
- return parsed;
- }
-
- // Mimic node shell option
- // See https://github.com/nodejs/node/blob/b9f6a2dc059a1062776133f3d4fd848c4da7d150/lib/child_process.js#L335
- const shellCommand = [parsed.command].concat(parsed.args).join(" ");
-
- if (isWin) {
- parsed.command =
- typeof parsed.options.shell === "string"
- ? parsed.options.shell
- : process.env.comspec || "cmd.exe";
- parsed.args = ["/d", "/s", "/c", `"${shellCommand}"`];
- parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped
- } else {
- if (typeof parsed.options.shell === "string") {
- parsed.command = parsed.options.shell;
- } else if (process.platform === "android") {
- parsed.command = "/system/bin/sh";
- } else {
- parsed.command = "/bin/sh";
- }
-
- parsed.args = ["-c", shellCommand];
- }
-
- return parsed;
- }
-
- function parse(command, args, options) {
- // Normalize arguments, similar to nodejs
- if (args && !Array.isArray(args)) {
- options = args;
- args = null;
- }
-
- args = args ? args.slice(0) : []; // Clone array to avoid changing the original
- options = Object.assign({}, options); // Clone object to avoid changing the original
-
- // Build our parsed object
- const parsed = {
- command,
- args,
- options,
- file: undefined,
- original: {
- command,
- args,
- },
- };
-
- // Delegate further parsing to shell or non-shell
- return options.shell ? parseShell(parsed) : parseNonShell(parsed);
- }
-
- module.exports = parse;
-
- /***/
- },
-
- /***/ 4571: /***/ function (module) {
- module.exports = {
- pagination: {
- ListProfileTimes: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- ListProfilingGroups: {
- input_token: "nextToken",
- output_token: "nextToken",
- limit_key: "maxResults",
- },
- },
- };
-
- /***/
- },
-
- /***/ 4572: /***/ function (module) {
- module.exports = {
- version: 2,
- waiters: {
- NotebookInstanceInService: {
- delay: 30,
- maxAttempts: 60,
- operation: "DescribeNotebookInstance",
- acceptors: [
- {
- expected: "InService",
- matcher: "path",
- state: "success",
- argument: "NotebookInstanceStatus",
- },
- {
- expected: "Failed",
- matcher: "path",
- state: "failure",
- argument: "NotebookInstanceStatus",
- },
- ],
- },
- NotebookInstanceStopped: {
- delay: 30,
- operation: "DescribeNotebookInstance",
- maxAttempts: 60,
- acceptors: [
- {
- expected: "Stopped",
- matcher: "path",
- state: "success",
- argument: "NotebookInstanceStatus",
- },
- {
- expected: "Failed",
- matcher: "path",
- state: "failure",
- argument: "NotebookInstanceStatus",
- },
- ],
- },
- NotebookInstanceDeleted: {
- delay: 30,
- maxAttempts: 60,
- operation: "DescribeNotebookInstance",
- acceptors: [
- {
- expected: "ValidationException",
- matcher: "error",
- state: "success",
- },
- {
- expected: "Failed",
- matcher: "path",
- state: "failure",
- argument: "NotebookInstanceStatus",
- },
- ],
- },
- TrainingJobCompletedOrStopped: {
- delay: 120,
- maxAttempts: 180,
- operation: "DescribeTrainingJob",
- acceptors: [
- {
- expected: "Completed",
- matcher: "path",
- state: "success",
- argument: "TrainingJobStatus",
- },
- {
- expected: "Stopped",
- matcher: "path",
- state: "success",
- argument: "TrainingJobStatus",
- },
- {
- expected: "Failed",
- matcher: "path",
- state: "failure",
- argument: "TrainingJobStatus",
- },
- {
- expected: "ValidationException",
- matcher: "error",
- state: "failure",
- },
- ],
- },
- EndpointInService: {
- delay: 30,
- maxAttempts: 120,
- operation: "DescribeEndpoint",
- acceptors: [
- {
- expected: "InService",
- matcher: "path",
- state: "success",
- argument: "EndpointStatus",
- },
- {
- expected: "Failed",
- matcher: "path",
- state: "failure",
- argument: "EndpointStatus",
- },
- {
- expected: "ValidationException",
- matcher: "error",
- state: "failure",
- },
- ],
- },
- EndpointDeleted: {
- delay: 30,
- maxAttempts: 60,
- operation: "DescribeEndpoint",
- acceptors: [
- {
- expected: "ValidationException",
- matcher: "error",
- state: "success",
- },
- {
- expected: "Failed",
- matcher: "path",
- state: "failure",
- argument: "EndpointStatus",
- },
- ],
- },
- TransformJobCompletedOrStopped: {
- delay: 60,
- maxAttempts: 60,
- operation: "DescribeTransformJob",
- acceptors: [
- {
- expected: "Completed",
- matcher: "path",
- state: "success",
- argument: "TransformJobStatus",
- },
- {
- expected: "Stopped",
- matcher: "path",
- state: "success",
- argument: "TransformJobStatus",
- },
- {
- expected: "Failed",
- matcher: "path",
- state: "failure",
- argument: "TransformJobStatus",
- },
- {
- expected: "ValidationException",
- matcher: "error",
- state: "failure",
- },
- ],
- },
- ProcessingJobCompletedOrStopped: {
- delay: 60,
- maxAttempts: 60,
- operation: "DescribeProcessingJob",
- acceptors: [
- {
- expected: "Completed",
- matcher: "path",
- state: "success",
- argument: "ProcessingJobStatus",
- },
- {
- expected: "Stopped",
- matcher: "path",
- state: "success",
- argument: "ProcessingJobStatus",
- },
- {
- expected: "Failed",
- matcher: "path",
- state: "failure",
- argument: "ProcessingJobStatus",
- },
- {
- expected: "ValidationException",
- matcher: "error",
- state: "failure",
- },
- ],
- },
- },
- };
-
- /***/
- },
-
- /***/ 4575: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2019-11-01",
- endpointPrefix: "access-analyzer",
- jsonVersion: "1.1",
- protocol: "rest-json",
- serviceFullName: "Access Analyzer",
- serviceId: "AccessAnalyzer",
- signatureVersion: "v4",
- signingName: "access-analyzer",
- uid: "accessanalyzer-2019-11-01",
- },
- operations: {
- CreateAnalyzer: {
- http: { method: "PUT", requestUri: "/analyzer", responseCode: 200 },
- input: {
- type: "structure",
- required: ["analyzerName", "type"],
- members: {
- analyzerName: {},
- archiveRules: {
- type: "list",
- member: {
- type: "structure",
- required: ["filter", "ruleName"],
- members: { filter: { shape: "S5" }, ruleName: {} },
- },
- },
- clientToken: { idempotencyToken: true },
- tags: { shape: "Sa" },
- type: {},
- },
- },
- output: { type: "structure", members: { arn: {} } },
- idempotent: true,
- },
- CreateArchiveRule: {
- http: {
- method: "PUT",
- requestUri: "/analyzer/{analyzerName}/archive-rule",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["analyzerName", "filter", "ruleName"],
- members: {
- analyzerName: { location: "uri", locationName: "analyzerName" },
- clientToken: { idempotencyToken: true },
- filter: { shape: "S5" },
- ruleName: {},
- },
- },
- idempotent: true,
- },
- DeleteAnalyzer: {
- http: {
- method: "DELETE",
- requestUri: "/analyzer/{analyzerName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["analyzerName"],
- members: {
- analyzerName: { location: "uri", locationName: "analyzerName" },
- clientToken: {
- idempotencyToken: true,
- location: "querystring",
- locationName: "clientToken",
- },
- },
- },
- idempotent: true,
- },
- DeleteArchiveRule: {
- http: {
- method: "DELETE",
- requestUri: "/analyzer/{analyzerName}/archive-rule/{ruleName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["analyzerName", "ruleName"],
- members: {
- analyzerName: { location: "uri", locationName: "analyzerName" },
- clientToken: {
- idempotencyToken: true,
- location: "querystring",
- locationName: "clientToken",
- },
- ruleName: { location: "uri", locationName: "ruleName" },
- },
- },
- idempotent: true,
- },
- GetAnalyzedResource: {
- http: {
- method: "GET",
- requestUri: "/analyzed-resource",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["analyzerArn", "resourceArn"],
- members: {
- analyzerArn: {
- location: "querystring",
- locationName: "analyzerArn",
- },
- resourceArn: {
- location: "querystring",
- locationName: "resourceArn",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- resource: {
- type: "structure",
- required: [
- "analyzedAt",
- "createdAt",
- "isPublic",
- "resourceArn",
- "resourceOwnerAccount",
- "resourceType",
- "updatedAt",
- ],
- members: {
- actions: { shape: "Sl" },
- analyzedAt: { shape: "Sm" },
- createdAt: { shape: "Sm" },
- error: {},
- isPublic: { type: "boolean" },
- resourceArn: {},
- resourceOwnerAccount: {},
- resourceType: {},
- sharedVia: { type: "list", member: {} },
- status: {},
- updatedAt: { shape: "Sm" },
- },
- },
- },
- },
- },
- GetAnalyzer: {
- http: {
- method: "GET",
- requestUri: "/analyzer/{analyzerName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["analyzerName"],
- members: {
- analyzerName: { location: "uri", locationName: "analyzerName" },
- },
- },
- output: {
- type: "structure",
- required: ["analyzer"],
- members: { analyzer: { shape: "Ss" } },
- },
- },
- GetArchiveRule: {
- http: {
- method: "GET",
- requestUri: "/analyzer/{analyzerName}/archive-rule/{ruleName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["analyzerName", "ruleName"],
- members: {
- analyzerName: { location: "uri", locationName: "analyzerName" },
- ruleName: { location: "uri", locationName: "ruleName" },
- },
- },
- output: {
- type: "structure",
- required: ["archiveRule"],
- members: { archiveRule: { shape: "Sy" } },
- },
- },
- GetFinding: {
- http: {
- method: "GET",
- requestUri: "/finding/{id}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["analyzerArn", "id"],
- members: {
- analyzerArn: {
- location: "querystring",
- locationName: "analyzerArn",
- },
- id: { location: "uri", locationName: "id" },
- },
- },
- output: {
- type: "structure",
- members: {
- finding: {
- type: "structure",
- required: [
- "analyzedAt",
- "condition",
- "createdAt",
- "id",
- "resourceOwnerAccount",
- "resourceType",
- "status",
- "updatedAt",
- ],
- members: {
- action: { shape: "Sl" },
- analyzedAt: { shape: "Sm" },
- condition: { shape: "S13" },
- createdAt: { shape: "Sm" },
- error: {},
- id: {},
- isPublic: { type: "boolean" },
- principal: { shape: "S14" },
- resource: {},
- resourceOwnerAccount: {},
- resourceType: {},
- status: {},
- updatedAt: { shape: "Sm" },
- },
- },
- },
- },
- },
- ListAnalyzedResources: {
- http: { requestUri: "/analyzed-resource", responseCode: 200 },
- input: {
- type: "structure",
- required: ["analyzerArn"],
- members: {
- analyzerArn: {},
- maxResults: { type: "integer" },
- nextToken: {},
- resourceType: {},
- },
- },
- output: {
- type: "structure",
- required: ["analyzedResources"],
- members: {
- analyzedResources: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "resourceArn",
- "resourceOwnerAccount",
- "resourceType",
- ],
- members: {
- resourceArn: {},
- resourceOwnerAccount: {},
- resourceType: {},
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListAnalyzers: {
- http: { method: "GET", requestUri: "/analyzer", responseCode: 200 },
- input: {
- type: "structure",
- members: {
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- type: { location: "querystring", locationName: "type" },
- },
- },
- output: {
- type: "structure",
- required: ["analyzers"],
- members: {
- analyzers: { type: "list", member: { shape: "Ss" } },
- nextToken: {},
- },
- },
- },
- ListArchiveRules: {
- http: {
- method: "GET",
- requestUri: "/analyzer/{analyzerName}/archive-rule",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["analyzerName"],
- members: {
- analyzerName: { location: "uri", locationName: "analyzerName" },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- required: ["archiveRules"],
- members: {
- archiveRules: { type: "list", member: { shape: "Sy" } },
- nextToken: {},
- },
- },
- },
- ListFindings: {
- http: { requestUri: "/finding", responseCode: 200 },
- input: {
- type: "structure",
- required: ["analyzerArn"],
- members: {
- analyzerArn: {},
- filter: { shape: "S5" },
- maxResults: { type: "integer" },
- nextToken: {},
- sort: {
- type: "structure",
- members: { attributeName: {}, orderBy: {} },
- },
- },
- },
- output: {
- type: "structure",
- required: ["findings"],
- members: {
- findings: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "analyzedAt",
- "condition",
- "createdAt",
- "id",
- "resourceOwnerAccount",
- "resourceType",
- "status",
- "updatedAt",
- ],
- members: {
- action: { shape: "Sl" },
- analyzedAt: { shape: "Sm" },
- condition: { shape: "S13" },
- createdAt: { shape: "Sm" },
- error: {},
- id: {},
- isPublic: { type: "boolean" },
- principal: { shape: "S14" },
- resource: {},
- resourceOwnerAccount: {},
- resourceType: {},
- status: {},
- updatedAt: { shape: "Sm" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListTagsForResource: {
- http: {
- method: "GET",
- requestUri: "/tags/{resourceArn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["resourceArn"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- },
- },
- output: { type: "structure", members: { tags: { shape: "Sa" } } },
- },
- StartResourceScan: {
- http: { requestUri: "/resource/scan", responseCode: 200 },
- input: {
- type: "structure",
- required: ["analyzerArn", "resourceArn"],
- members: { analyzerArn: {}, resourceArn: {} },
- },
- },
- TagResource: {
- http: { requestUri: "/tags/{resourceArn}", responseCode: 200 },
- input: {
- type: "structure",
- required: ["resourceArn", "tags"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tags: { shape: "Sa" },
- },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- UntagResource: {
- http: {
- method: "DELETE",
- requestUri: "/tags/{resourceArn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["resourceArn", "tagKeys"],
- members: {
- resourceArn: { location: "uri", locationName: "resourceArn" },
- tagKeys: {
- location: "querystring",
- locationName: "tagKeys",
- type: "list",
- member: {},
- },
- },
- },
- output: { type: "structure", members: {} },
- idempotent: true,
- },
- UpdateArchiveRule: {
- http: {
- method: "PUT",
- requestUri: "/analyzer/{analyzerName}/archive-rule/{ruleName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- required: ["analyzerName", "filter", "ruleName"],
- members: {
- analyzerName: { location: "uri", locationName: "analyzerName" },
- clientToken: { idempotencyToken: true },
- filter: { shape: "S5" },
- ruleName: { location: "uri", locationName: "ruleName" },
- },
- },
- idempotent: true,
- },
- UpdateFindings: {
- http: { method: "PUT", requestUri: "/finding", responseCode: 200 },
- input: {
- type: "structure",
- required: ["analyzerArn", "status"],
- members: {
- analyzerArn: {},
- clientToken: { idempotencyToken: true },
- ids: { type: "list", member: {} },
- resourceArn: {},
- status: {},
- },
- },
- idempotent: true,
- },
- },
- shapes: {
- S5: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- contains: { shape: "S8" },
- eq: { shape: "S8" },
- exists: { type: "boolean" },
- neq: { shape: "S8" },
- },
- },
- },
- S8: { type: "list", member: {} },
- Sa: { type: "map", key: {}, value: {} },
- Sl: { type: "list", member: {} },
- Sm: { type: "timestamp", timestampFormat: "iso8601" },
- Ss: {
- type: "structure",
- required: ["arn", "createdAt", "name", "status", "type"],
- members: {
- arn: {},
- createdAt: { shape: "Sm" },
- lastResourceAnalyzed: {},
- lastResourceAnalyzedAt: { shape: "Sm" },
- name: {},
- status: {},
- statusReason: {
- type: "structure",
- required: ["code"],
- members: { code: {} },
- },
- tags: { shape: "Sa" },
- type: {},
- },
- },
- Sy: {
- type: "structure",
- required: ["createdAt", "filter", "ruleName", "updatedAt"],
- members: {
- createdAt: { shape: "Sm" },
- filter: { shape: "S5" },
- ruleName: {},
- updatedAt: { shape: "Sm" },
- },
- },
- S13: { type: "map", key: {}, value: {} },
- S14: { type: "map", key: {}, value: {} },
- },
- };
-
- /***/
- },
-
- /***/ 4577: /***/ function (module) {
- module.exports = getPageLinks;
-
- function getPageLinks(link) {
- link = link.link || link.headers.link || "";
-
- const links = {};
-
- // link format:
- // '; rel="next", ; rel="last"'
- link.replace(/<([^>]*)>;\s*rel="([\w]*)"/g, (m, uri, type) => {
- links[type] = uri;
- });
-
- return links;
- }
-
- /***/
- },
-
- /***/ 4599: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2015-05-28",
- endpointPrefix: "iot",
- protocol: "rest-json",
- serviceFullName: "AWS IoT",
- serviceId: "IoT",
- signatureVersion: "v4",
- signingName: "execute-api",
- uid: "iot-2015-05-28",
- },
- operations: {
- AcceptCertificateTransfer: {
- http: {
- method: "PATCH",
- requestUri: "/accept-certificate-transfer/{certificateId}",
- },
- input: {
- type: "structure",
- required: ["certificateId"],
- members: {
- certificateId: {
- location: "uri",
- locationName: "certificateId",
- },
- setAsActive: {
- location: "querystring",
- locationName: "setAsActive",
- type: "boolean",
- },
- },
- },
- },
- AddThingToBillingGroup: {
- http: {
- method: "PUT",
- requestUri: "/billing-groups/addThingToBillingGroup",
- },
- input: {
- type: "structure",
- members: {
- billingGroupName: {},
- billingGroupArn: {},
- thingName: {},
- thingArn: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- AddThingToThingGroup: {
- http: {
- method: "PUT",
- requestUri: "/thing-groups/addThingToThingGroup",
- },
- input: {
- type: "structure",
- members: {
- thingGroupName: {},
- thingGroupArn: {},
- thingName: {},
- thingArn: {},
- overrideDynamicGroups: { type: "boolean" },
- },
- },
- output: { type: "structure", members: {} },
- },
- AssociateTargetsWithJob: {
- http: { requestUri: "/jobs/{jobId}/targets" },
- input: {
- type: "structure",
- required: ["targets", "jobId"],
- members: {
- targets: { shape: "Sg" },
- jobId: { location: "uri", locationName: "jobId" },
- comment: {},
- },
- },
- output: {
- type: "structure",
- members: { jobArn: {}, jobId: {}, description: {} },
- },
- },
- AttachPolicy: {
- http: {
- method: "PUT",
- requestUri: "/target-policies/{policyName}",
- },
- input: {
- type: "structure",
- required: ["policyName", "target"],
- members: {
- policyName: { location: "uri", locationName: "policyName" },
- target: {},
- },
- },
- },
- AttachPrincipalPolicy: {
- http: {
- method: "PUT",
- requestUri: "/principal-policies/{policyName}",
- },
- input: {
- type: "structure",
- required: ["policyName", "principal"],
- members: {
- policyName: { location: "uri", locationName: "policyName" },
- principal: {
- location: "header",
- locationName: "x-amzn-iot-principal",
- },
- },
- },
- deprecated: true,
- },
- AttachSecurityProfile: {
- http: {
- method: "PUT",
- requestUri: "/security-profiles/{securityProfileName}/targets",
- },
- input: {
- type: "structure",
- required: ["securityProfileName", "securityProfileTargetArn"],
- members: {
- securityProfileName: {
- location: "uri",
- locationName: "securityProfileName",
- },
- securityProfileTargetArn: {
- location: "querystring",
- locationName: "securityProfileTargetArn",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- AttachThingPrincipal: {
- http: {
- method: "PUT",
- requestUri: "/things/{thingName}/principals",
- },
- input: {
- type: "structure",
- required: ["thingName", "principal"],
- members: {
- thingName: { location: "uri", locationName: "thingName" },
- principal: {
- location: "header",
- locationName: "x-amzn-principal",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- CancelAuditMitigationActionsTask: {
- http: {
- method: "PUT",
- requestUri: "/audit/mitigationactions/tasks/{taskId}/cancel",
- },
- input: {
- type: "structure",
- required: ["taskId"],
- members: { taskId: { location: "uri", locationName: "taskId" } },
- },
- output: { type: "structure", members: {} },
- },
- CancelAuditTask: {
- http: { method: "PUT", requestUri: "/audit/tasks/{taskId}/cancel" },
- input: {
- type: "structure",
- required: ["taskId"],
- members: { taskId: { location: "uri", locationName: "taskId" } },
- },
- output: { type: "structure", members: {} },
- },
- CancelCertificateTransfer: {
- http: {
- method: "PATCH",
- requestUri: "/cancel-certificate-transfer/{certificateId}",
- },
- input: {
- type: "structure",
- required: ["certificateId"],
- members: {
- certificateId: {
- location: "uri",
- locationName: "certificateId",
- },
- },
- },
- },
- CancelJob: {
- http: { method: "PUT", requestUri: "/jobs/{jobId}/cancel" },
- input: {
- type: "structure",
- required: ["jobId"],
- members: {
- jobId: { location: "uri", locationName: "jobId" },
- reasonCode: {},
- comment: {},
- force: {
- location: "querystring",
- locationName: "force",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: { jobArn: {}, jobId: {}, description: {} },
- },
- },
- CancelJobExecution: {
- http: {
- method: "PUT",
- requestUri: "/things/{thingName}/jobs/{jobId}/cancel",
- },
- input: {
- type: "structure",
- required: ["jobId", "thingName"],
- members: {
- jobId: { location: "uri", locationName: "jobId" },
- thingName: { location: "uri", locationName: "thingName" },
- force: {
- location: "querystring",
- locationName: "force",
- type: "boolean",
- },
- expectedVersion: { type: "long" },
- statusDetails: { shape: "S1b" },
- },
- },
- },
- ClearDefaultAuthorizer: {
- http: { method: "DELETE", requestUri: "/default-authorizer" },
- input: { type: "structure", members: {} },
- output: { type: "structure", members: {} },
- },
- ConfirmTopicRuleDestination: {
- http: {
- method: "GET",
- requestUri: "/confirmdestination/{confirmationToken+}",
- },
- input: {
- type: "structure",
- required: ["confirmationToken"],
- members: {
- confirmationToken: {
- location: "uri",
- locationName: "confirmationToken",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- CreateAuthorizer: {
- http: { requestUri: "/authorizer/{authorizerName}" },
- input: {
- type: "structure",
- required: ["authorizerName", "authorizerFunctionArn"],
- members: {
- authorizerName: {
- location: "uri",
- locationName: "authorizerName",
- },
- authorizerFunctionArn: {},
- tokenKeyName: {},
- tokenSigningPublicKeys: { shape: "S1n" },
- status: {},
- signingDisabled: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { authorizerName: {}, authorizerArn: {} },
- },
- },
- CreateBillingGroup: {
- http: { requestUri: "/billing-groups/{billingGroupName}" },
- input: {
- type: "structure",
- required: ["billingGroupName"],
- members: {
- billingGroupName: {
- location: "uri",
- locationName: "billingGroupName",
- },
- billingGroupProperties: { shape: "S1v" },
- tags: { shape: "S1x" },
- },
- },
- output: {
- type: "structure",
- members: {
- billingGroupName: {},
- billingGroupArn: {},
- billingGroupId: {},
- },
- },
- },
- CreateCertificateFromCsr: {
- http: { requestUri: "/certificates" },
- input: {
- type: "structure",
- required: ["certificateSigningRequest"],
- members: {
- certificateSigningRequest: {},
- setAsActive: {
- location: "querystring",
- locationName: "setAsActive",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- certificateArn: {},
- certificateId: {},
- certificatePem: {},
- },
- },
- },
- CreateDimension: {
- http: { requestUri: "/dimensions/{name}" },
- input: {
- type: "structure",
- required: ["name", "type", "stringValues", "clientRequestToken"],
- members: {
- name: { location: "uri", locationName: "name" },
- type: {},
- stringValues: { shape: "S2b" },
- tags: { shape: "S1x" },
- clientRequestToken: { idempotencyToken: true },
- },
- },
- output: { type: "structure", members: { name: {}, arn: {} } },
- },
- CreateDomainConfiguration: {
- http: {
- requestUri: "/domainConfigurations/{domainConfigurationName}",
- },
- input: {
- type: "structure",
- required: ["domainConfigurationName"],
- members: {
- domainConfigurationName: {
- location: "uri",
- locationName: "domainConfigurationName",
- },
- domainName: {},
- serverCertificateArns: { type: "list", member: {} },
- validationCertificateArn: {},
- authorizerConfig: { shape: "S2l" },
- serviceType: {},
- },
- },
- output: {
- type: "structure",
- members: {
- domainConfigurationName: {},
- domainConfigurationArn: {},
- },
- },
- },
- CreateDynamicThingGroup: {
- http: { requestUri: "/dynamic-thing-groups/{thingGroupName}" },
- input: {
- type: "structure",
- required: ["thingGroupName", "queryString"],
- members: {
- thingGroupName: {
- location: "uri",
- locationName: "thingGroupName",
- },
- thingGroupProperties: { shape: "S2r" },
- indexName: {},
- queryString: {},
- queryVersion: {},
- tags: { shape: "S1x" },
- },
- },
- output: {
- type: "structure",
- members: {
- thingGroupName: {},
- thingGroupArn: {},
- thingGroupId: {},
- indexName: {},
- queryString: {},
- queryVersion: {},
- },
- },
- },
- CreateJob: {
- http: { method: "PUT", requestUri: "/jobs/{jobId}" },
- input: {
- type: "structure",
- required: ["jobId", "targets"],
- members: {
- jobId: { location: "uri", locationName: "jobId" },
- targets: { shape: "Sg" },
- documentSource: {},
- document: {},
- description: {},
- presignedUrlConfig: { shape: "S36" },
- targetSelection: {},
- jobExecutionsRolloutConfig: { shape: "S3a" },
- abortConfig: { shape: "S3h" },
- timeoutConfig: { shape: "S3o" },
- tags: { shape: "S1x" },
- },
- },
- output: {
- type: "structure",
- members: { jobArn: {}, jobId: {}, description: {} },
- },
- },
- CreateKeysAndCertificate: {
- http: { requestUri: "/keys-and-certificate" },
- input: {
- type: "structure",
- members: {
- setAsActive: {
- location: "querystring",
- locationName: "setAsActive",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- certificateArn: {},
- certificateId: {},
- certificatePem: {},
- keyPair: { shape: "S3t" },
- },
- },
- },
- CreateMitigationAction: {
- http: { requestUri: "/mitigationactions/actions/{actionName}" },
- input: {
- type: "structure",
- required: ["actionName", "roleArn", "actionParams"],
- members: {
- actionName: { location: "uri", locationName: "actionName" },
- roleArn: {},
- actionParams: { shape: "S3y" },
- tags: { shape: "S1x" },
- },
- },
- output: {
- type: "structure",
- members: { actionArn: {}, actionId: {} },
- },
- },
- CreateOTAUpdate: {
- http: { requestUri: "/otaUpdates/{otaUpdateId}" },
- input: {
- type: "structure",
- required: ["otaUpdateId", "targets", "files", "roleArn"],
- members: {
- otaUpdateId: { location: "uri", locationName: "otaUpdateId" },
- description: {},
- targets: { shape: "S4h" },
- protocols: { shape: "S4j" },
- targetSelection: {},
- awsJobExecutionsRolloutConfig: { shape: "S4l" },
- awsJobPresignedUrlConfig: { shape: "S4n" },
- files: { shape: "S4p" },
- roleArn: {},
- additionalParameters: { shape: "S5m" },
- tags: { shape: "S1x" },
- },
- },
- output: {
- type: "structure",
- members: {
- otaUpdateId: {},
- awsIotJobId: {},
- otaUpdateArn: {},
- awsIotJobArn: {},
- otaUpdateStatus: {},
- },
- },
- },
- CreatePolicy: {
- http: { requestUri: "/policies/{policyName}" },
- input: {
- type: "structure",
- required: ["policyName", "policyDocument"],
- members: {
- policyName: { location: "uri", locationName: "policyName" },
- policyDocument: {},
- },
- },
- output: {
- type: "structure",
- members: {
- policyName: {},
- policyArn: {},
- policyDocument: {},
- policyVersionId: {},
- },
- },
- },
- CreatePolicyVersion: {
- http: { requestUri: "/policies/{policyName}/version" },
- input: {
- type: "structure",
- required: ["policyName", "policyDocument"],
- members: {
- policyName: { location: "uri", locationName: "policyName" },
- policyDocument: {},
- setAsDefault: {
- location: "querystring",
- locationName: "setAsDefault",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- policyArn: {},
- policyDocument: {},
- policyVersionId: {},
- isDefaultVersion: { type: "boolean" },
- },
- },
- },
- CreateProvisioningClaim: {
- http: {
- requestUri:
- "/provisioning-templates/{templateName}/provisioning-claim",
- },
- input: {
- type: "structure",
- required: ["templateName"],
- members: {
- templateName: { location: "uri", locationName: "templateName" },
- },
- },
- output: {
- type: "structure",
- members: {
- certificateId: {},
- certificatePem: {},
- keyPair: { shape: "S3t" },
- expiration: { type: "timestamp" },
- },
- },
- },
- CreateProvisioningTemplate: {
- http: { requestUri: "/provisioning-templates" },
- input: {
- type: "structure",
- required: ["templateName", "templateBody", "provisioningRoleArn"],
- members: {
- templateName: {},
- description: {},
- templateBody: {},
- enabled: { type: "boolean" },
- provisioningRoleArn: {},
- tags: { shape: "S1x" },
- },
- },
- output: {
- type: "structure",
- members: {
- templateArn: {},
- templateName: {},
- defaultVersionId: { type: "integer" },
- },
- },
- },
- CreateProvisioningTemplateVersion: {
- http: {
- requestUri: "/provisioning-templates/{templateName}/versions",
- },
- input: {
- type: "structure",
- required: ["templateName", "templateBody"],
- members: {
- templateName: { location: "uri", locationName: "templateName" },
- templateBody: {},
- setAsDefault: {
- location: "querystring",
- locationName: "setAsDefault",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- templateArn: {},
- templateName: {},
- versionId: { type: "integer" },
- isDefaultVersion: { type: "boolean" },
- },
- },
- },
- CreateRoleAlias: {
- http: { requestUri: "/role-aliases/{roleAlias}" },
- input: {
- type: "structure",
- required: ["roleAlias", "roleArn"],
- members: {
- roleAlias: { location: "uri", locationName: "roleAlias" },
- roleArn: {},
- credentialDurationSeconds: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { roleAlias: {}, roleAliasArn: {} },
- },
- },
- CreateScheduledAudit: {
- http: { requestUri: "/audit/scheduledaudits/{scheduledAuditName}" },
- input: {
- type: "structure",
- required: ["frequency", "targetCheckNames", "scheduledAuditName"],
- members: {
- frequency: {},
- dayOfMonth: {},
- dayOfWeek: {},
- targetCheckNames: { shape: "S6n" },
- scheduledAuditName: {
- location: "uri",
- locationName: "scheduledAuditName",
- },
- tags: { shape: "S1x" },
- },
- },
- output: { type: "structure", members: { scheduledAuditArn: {} } },
- },
- CreateSecurityProfile: {
- http: { requestUri: "/security-profiles/{securityProfileName}" },
- input: {
- type: "structure",
- required: ["securityProfileName"],
- members: {
- securityProfileName: {
- location: "uri",
- locationName: "securityProfileName",
- },
- securityProfileDescription: {},
- behaviors: { shape: "S6u" },
- alertTargets: { shape: "S7d" },
- additionalMetricsToRetain: {
- shape: "S7h",
- deprecated: true,
- deprecatedMessage: "Use additionalMetricsToRetainV2.",
- },
- additionalMetricsToRetainV2: { shape: "S7i" },
- tags: { shape: "S1x" },
- },
- },
- output: {
- type: "structure",
- members: { securityProfileName: {}, securityProfileArn: {} },
- },
- },
- CreateStream: {
- http: { requestUri: "/streams/{streamId}" },
- input: {
- type: "structure",
- required: ["streamId", "files", "roleArn"],
- members: {
- streamId: { location: "uri", locationName: "streamId" },
- description: {},
- files: { shape: "S7o" },
- roleArn: {},
- tags: { shape: "S1x" },
- },
- },
- output: {
- type: "structure",
- members: {
- streamId: {},
- streamArn: {},
- description: {},
- streamVersion: { type: "integer" },
- },
- },
- },
- CreateThing: {
- http: { requestUri: "/things/{thingName}" },
- input: {
- type: "structure",
- required: ["thingName"],
- members: {
- thingName: { location: "uri", locationName: "thingName" },
- thingTypeName: {},
- attributePayload: { shape: "S2t" },
- billingGroupName: {},
- },
- },
- output: {
- type: "structure",
- members: { thingName: {}, thingArn: {}, thingId: {} },
- },
- },
- CreateThingGroup: {
- http: { requestUri: "/thing-groups/{thingGroupName}" },
- input: {
- type: "structure",
- required: ["thingGroupName"],
- members: {
- thingGroupName: {
- location: "uri",
- locationName: "thingGroupName",
- },
- parentGroupName: {},
- thingGroupProperties: { shape: "S2r" },
- tags: { shape: "S1x" },
- },
- },
- output: {
- type: "structure",
- members: {
- thingGroupName: {},
- thingGroupArn: {},
- thingGroupId: {},
- },
- },
- },
- CreateThingType: {
- http: { requestUri: "/thing-types/{thingTypeName}" },
- input: {
- type: "structure",
- required: ["thingTypeName"],
- members: {
- thingTypeName: {
- location: "uri",
- locationName: "thingTypeName",
- },
- thingTypeProperties: { shape: "S80" },
- tags: { shape: "S1x" },
- },
- },
- output: {
- type: "structure",
- members: { thingTypeName: {}, thingTypeArn: {}, thingTypeId: {} },
- },
- },
- CreateTopicRule: {
- http: { requestUri: "/rules/{ruleName}" },
- input: {
- type: "structure",
- required: ["ruleName", "topicRulePayload"],
- members: {
- ruleName: { location: "uri", locationName: "ruleName" },
- topicRulePayload: { shape: "S88" },
- tags: { location: "header", locationName: "x-amz-tagging" },
- },
- payload: "topicRulePayload",
- },
- },
- CreateTopicRuleDestination: {
- http: { requestUri: "/destinations" },
- input: {
- type: "structure",
- required: ["destinationConfiguration"],
- members: {
- destinationConfiguration: {
- type: "structure",
- members: {
- httpUrlConfiguration: {
- type: "structure",
- required: ["confirmationUrl"],
- members: { confirmationUrl: {} },
- },
- },
- },
- },
- },
- output: {
- type: "structure",
- members: { topicRuleDestination: { shape: "Sav" } },
- },
- },
- DeleteAccountAuditConfiguration: {
- http: { method: "DELETE", requestUri: "/audit/configuration" },
- input: {
- type: "structure",
- members: {
- deleteScheduledAudits: {
- location: "querystring",
- locationName: "deleteScheduledAudits",
- type: "boolean",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteAuthorizer: {
- http: {
- method: "DELETE",
- requestUri: "/authorizer/{authorizerName}",
- },
- input: {
- type: "structure",
- required: ["authorizerName"],
- members: {
- authorizerName: {
- location: "uri",
- locationName: "authorizerName",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteBillingGroup: {
- http: {
- method: "DELETE",
- requestUri: "/billing-groups/{billingGroupName}",
- },
- input: {
- type: "structure",
- required: ["billingGroupName"],
- members: {
- billingGroupName: {
- location: "uri",
- locationName: "billingGroupName",
- },
- expectedVersion: {
- location: "querystring",
- locationName: "expectedVersion",
- type: "long",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteCACertificate: {
- http: {
- method: "DELETE",
- requestUri: "/cacertificate/{caCertificateId}",
- },
- input: {
- type: "structure",
- required: ["certificateId"],
- members: {
- certificateId: {
- location: "uri",
- locationName: "caCertificateId",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteCertificate: {
- http: {
- method: "DELETE",
- requestUri: "/certificates/{certificateId}",
- },
- input: {
- type: "structure",
- required: ["certificateId"],
- members: {
- certificateId: {
- location: "uri",
- locationName: "certificateId",
- },
- forceDelete: {
- location: "querystring",
- locationName: "forceDelete",
- type: "boolean",
- },
- },
- },
- },
- DeleteDimension: {
- http: { method: "DELETE", requestUri: "/dimensions/{name}" },
- input: {
- type: "structure",
- required: ["name"],
- members: { name: { location: "uri", locationName: "name" } },
- },
- output: { type: "structure", members: {} },
- },
- DeleteDomainConfiguration: {
- http: {
- method: "DELETE",
- requestUri: "/domainConfigurations/{domainConfigurationName}",
- },
- input: {
- type: "structure",
- required: ["domainConfigurationName"],
- members: {
- domainConfigurationName: {
- location: "uri",
- locationName: "domainConfigurationName",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteDynamicThingGroup: {
- http: {
- method: "DELETE",
- requestUri: "/dynamic-thing-groups/{thingGroupName}",
- },
- input: {
- type: "structure",
- required: ["thingGroupName"],
- members: {
- thingGroupName: {
- location: "uri",
- locationName: "thingGroupName",
- },
- expectedVersion: {
- location: "querystring",
- locationName: "expectedVersion",
- type: "long",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteJob: {
- http: { method: "DELETE", requestUri: "/jobs/{jobId}" },
- input: {
- type: "structure",
- required: ["jobId"],
- members: {
- jobId: { location: "uri", locationName: "jobId" },
- force: {
- location: "querystring",
- locationName: "force",
- type: "boolean",
- },
- },
- },
- },
- DeleteJobExecution: {
- http: {
- method: "DELETE",
- requestUri:
- "/things/{thingName}/jobs/{jobId}/executionNumber/{executionNumber}",
- },
- input: {
- type: "structure",
- required: ["jobId", "thingName", "executionNumber"],
- members: {
- jobId: { location: "uri", locationName: "jobId" },
- thingName: { location: "uri", locationName: "thingName" },
- executionNumber: {
- location: "uri",
- locationName: "executionNumber",
- type: "long",
- },
- force: {
- location: "querystring",
- locationName: "force",
- type: "boolean",
- },
- },
- },
- },
- DeleteMitigationAction: {
- http: {
- method: "DELETE",
- requestUri: "/mitigationactions/actions/{actionName}",
- },
- input: {
- type: "structure",
- required: ["actionName"],
- members: {
- actionName: { location: "uri", locationName: "actionName" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteOTAUpdate: {
- http: { method: "DELETE", requestUri: "/otaUpdates/{otaUpdateId}" },
- input: {
- type: "structure",
- required: ["otaUpdateId"],
- members: {
- otaUpdateId: { location: "uri", locationName: "otaUpdateId" },
- deleteStream: {
- location: "querystring",
- locationName: "deleteStream",
- type: "boolean",
- },
- forceDeleteAWSJob: {
- location: "querystring",
- locationName: "forceDeleteAWSJob",
- type: "boolean",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeletePolicy: {
- http: { method: "DELETE", requestUri: "/policies/{policyName}" },
- input: {
- type: "structure",
- required: ["policyName"],
- members: {
- policyName: { location: "uri", locationName: "policyName" },
- },
- },
- },
- DeletePolicyVersion: {
- http: {
- method: "DELETE",
- requestUri: "/policies/{policyName}/version/{policyVersionId}",
- },
- input: {
- type: "structure",
- required: ["policyName", "policyVersionId"],
- members: {
- policyName: { location: "uri", locationName: "policyName" },
- policyVersionId: {
- location: "uri",
- locationName: "policyVersionId",
- },
- },
- },
- },
- DeleteProvisioningTemplate: {
- http: {
- method: "DELETE",
- requestUri: "/provisioning-templates/{templateName}",
- },
- input: {
- type: "structure",
- required: ["templateName"],
- members: {
- templateName: { location: "uri", locationName: "templateName" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteProvisioningTemplateVersion: {
- http: {
- method: "DELETE",
- requestUri:
- "/provisioning-templates/{templateName}/versions/{versionId}",
- },
- input: {
- type: "structure",
- required: ["templateName", "versionId"],
- members: {
- templateName: { location: "uri", locationName: "templateName" },
- versionId: {
- location: "uri",
- locationName: "versionId",
- type: "integer",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteRegistrationCode: {
- http: { method: "DELETE", requestUri: "/registrationcode" },
- input: { type: "structure", members: {} },
- output: { type: "structure", members: {} },
- },
- DeleteRoleAlias: {
- http: { method: "DELETE", requestUri: "/role-aliases/{roleAlias}" },
- input: {
- type: "structure",
- required: ["roleAlias"],
- members: {
- roleAlias: { location: "uri", locationName: "roleAlias" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteScheduledAudit: {
- http: {
- method: "DELETE",
- requestUri: "/audit/scheduledaudits/{scheduledAuditName}",
- },
- input: {
- type: "structure",
- required: ["scheduledAuditName"],
- members: {
- scheduledAuditName: {
- location: "uri",
- locationName: "scheduledAuditName",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteSecurityProfile: {
- http: {
- method: "DELETE",
- requestUri: "/security-profiles/{securityProfileName}",
- },
- input: {
- type: "structure",
- required: ["securityProfileName"],
- members: {
- securityProfileName: {
- location: "uri",
- locationName: "securityProfileName",
- },
- expectedVersion: {
- location: "querystring",
- locationName: "expectedVersion",
- type: "long",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteStream: {
- http: { method: "DELETE", requestUri: "/streams/{streamId}" },
- input: {
- type: "structure",
- required: ["streamId"],
- members: {
- streamId: { location: "uri", locationName: "streamId" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteThing: {
- http: { method: "DELETE", requestUri: "/things/{thingName}" },
- input: {
- type: "structure",
- required: ["thingName"],
- members: {
- thingName: { location: "uri", locationName: "thingName" },
- expectedVersion: {
- location: "querystring",
- locationName: "expectedVersion",
- type: "long",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteThingGroup: {
- http: {
- method: "DELETE",
- requestUri: "/thing-groups/{thingGroupName}",
- },
- input: {
- type: "structure",
- required: ["thingGroupName"],
- members: {
- thingGroupName: {
- location: "uri",
- locationName: "thingGroupName",
- },
- expectedVersion: {
- location: "querystring",
- locationName: "expectedVersion",
- type: "long",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteThingType: {
- http: {
- method: "DELETE",
- requestUri: "/thing-types/{thingTypeName}",
- },
- input: {
- type: "structure",
- required: ["thingTypeName"],
- members: {
- thingTypeName: {
- location: "uri",
- locationName: "thingTypeName",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DeleteTopicRule: {
- http: { method: "DELETE", requestUri: "/rules/{ruleName}" },
- input: {
- type: "structure",
- required: ["ruleName"],
- members: {
- ruleName: { location: "uri", locationName: "ruleName" },
- },
- },
- },
- DeleteTopicRuleDestination: {
- http: { method: "DELETE", requestUri: "/destinations/{arn+}" },
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: { location: "uri", locationName: "arn" } },
- },
- output: { type: "structure", members: {} },
- },
- DeleteV2LoggingLevel: {
- http: { method: "DELETE", requestUri: "/v2LoggingLevel" },
- input: {
- type: "structure",
- required: ["targetType", "targetName"],
- members: {
- targetType: {
- location: "querystring",
- locationName: "targetType",
- },
- targetName: {
- location: "querystring",
- locationName: "targetName",
- },
- },
- },
- },
- DeprecateThingType: {
- http: { requestUri: "/thing-types/{thingTypeName}/deprecate" },
- input: {
- type: "structure",
- required: ["thingTypeName"],
- members: {
- thingTypeName: {
- location: "uri",
- locationName: "thingTypeName",
- },
- undoDeprecate: { type: "boolean" },
- },
- },
- output: { type: "structure", members: {} },
- },
- DescribeAccountAuditConfiguration: {
- http: { method: "GET", requestUri: "/audit/configuration" },
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: {
- roleArn: {},
- auditNotificationTargetConfigurations: { shape: "Scm" },
- auditCheckConfigurations: { shape: "Scp" },
- },
- },
- },
- DescribeAuditFinding: {
- http: { method: "GET", requestUri: "/audit/findings/{findingId}" },
- input: {
- type: "structure",
- required: ["findingId"],
- members: {
- findingId: { location: "uri", locationName: "findingId" },
- },
- },
- output: {
- type: "structure",
- members: { finding: { shape: "Scu" } },
- },
- },
- DescribeAuditMitigationActionsTask: {
- http: {
- method: "GET",
- requestUri: "/audit/mitigationactions/tasks/{taskId}",
- },
- input: {
- type: "structure",
- required: ["taskId"],
- members: { taskId: { location: "uri", locationName: "taskId" } },
- },
- output: {
- type: "structure",
- members: {
- taskStatus: {},
- startTime: { type: "timestamp" },
- endTime: { type: "timestamp" },
- taskStatistics: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- totalFindingsCount: { type: "long" },
- failedFindingsCount: { type: "long" },
- succeededFindingsCount: { type: "long" },
- skippedFindingsCount: { type: "long" },
- canceledFindingsCount: { type: "long" },
- },
- },
- },
- target: { shape: "Sdj" },
- auditCheckToActionsMapping: { shape: "Sdn" },
- actionsDefinition: {
- type: "list",
- member: {
- type: "structure",
- members: {
- name: {},
- id: {},
- roleArn: {},
- actionParams: { shape: "S3y" },
- },
- },
- },
- },
- },
- },
- DescribeAuditTask: {
- http: { method: "GET", requestUri: "/audit/tasks/{taskId}" },
- input: {
- type: "structure",
- required: ["taskId"],
- members: { taskId: { location: "uri", locationName: "taskId" } },
- },
- output: {
- type: "structure",
- members: {
- taskStatus: {},
- taskType: {},
- taskStartTime: { type: "timestamp" },
- taskStatistics: {
- type: "structure",
- members: {
- totalChecks: { type: "integer" },
- inProgressChecks: { type: "integer" },
- waitingForDataCollectionChecks: { type: "integer" },
- compliantChecks: { type: "integer" },
- nonCompliantChecks: { type: "integer" },
- failedChecks: { type: "integer" },
- canceledChecks: { type: "integer" },
- },
- },
- scheduledAuditName: {},
- auditDetails: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- checkRunStatus: {},
- checkCompliant: { type: "boolean" },
- totalResourcesCount: { type: "long" },
- nonCompliantResourcesCount: { type: "long" },
- errorCode: {},
- message: {},
- },
- },
- },
- },
- },
- },
- DescribeAuthorizer: {
- http: { method: "GET", requestUri: "/authorizer/{authorizerName}" },
- input: {
- type: "structure",
- required: ["authorizerName"],
- members: {
- authorizerName: {
- location: "uri",
- locationName: "authorizerName",
- },
- },
- },
- output: {
- type: "structure",
- members: { authorizerDescription: { shape: "Sed" } },
- },
- },
- DescribeBillingGroup: {
- http: {
- method: "GET",
- requestUri: "/billing-groups/{billingGroupName}",
- },
- input: {
- type: "structure",
- required: ["billingGroupName"],
- members: {
- billingGroupName: {
- location: "uri",
- locationName: "billingGroupName",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- billingGroupName: {},
- billingGroupId: {},
- billingGroupArn: {},
- version: { type: "long" },
- billingGroupProperties: { shape: "S1v" },
- billingGroupMetadata: {
- type: "structure",
- members: { creationDate: { type: "timestamp" } },
- },
- },
- },
- },
- DescribeCACertificate: {
- http: {
- method: "GET",
- requestUri: "/cacertificate/{caCertificateId}",
- },
- input: {
- type: "structure",
- required: ["certificateId"],
- members: {
- certificateId: {
- location: "uri",
- locationName: "caCertificateId",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- certificateDescription: {
- type: "structure",
- members: {
- certificateArn: {},
- certificateId: {},
- status: {},
- certificatePem: {},
- ownedBy: {},
- creationDate: { type: "timestamp" },
- autoRegistrationStatus: {},
- lastModifiedDate: { type: "timestamp" },
- customerVersion: { type: "integer" },
- generationId: {},
- validity: { shape: "Seq" },
- },
- },
- registrationConfig: { shape: "Ser" },
- },
- },
- },
- DescribeCertificate: {
- http: {
- method: "GET",
- requestUri: "/certificates/{certificateId}",
- },
- input: {
- type: "structure",
- required: ["certificateId"],
- members: {
- certificateId: {
- location: "uri",
- locationName: "certificateId",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- certificateDescription: {
- type: "structure",
- members: {
- certificateArn: {},
- certificateId: {},
- caCertificateId: {},
- status: {},
- certificatePem: {},
- ownedBy: {},
- previousOwnedBy: {},
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- customerVersion: { type: "integer" },
- transferData: {
- type: "structure",
- members: {
- transferMessage: {},
- rejectReason: {},
- transferDate: { type: "timestamp" },
- acceptDate: { type: "timestamp" },
- rejectDate: { type: "timestamp" },
- },
- },
- generationId: {},
- validity: { shape: "Seq" },
- },
- },
- },
- },
- },
- DescribeDefaultAuthorizer: {
- http: { method: "GET", requestUri: "/default-authorizer" },
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: { authorizerDescription: { shape: "Sed" } },
- },
- },
- DescribeDimension: {
- http: { method: "GET", requestUri: "/dimensions/{name}" },
- input: {
- type: "structure",
- required: ["name"],
- members: { name: { location: "uri", locationName: "name" } },
- },
- output: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- type: {},
- stringValues: { shape: "S2b" },
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- },
- },
- },
- DescribeDomainConfiguration: {
- http: {
- method: "GET",
- requestUri: "/domainConfigurations/{domainConfigurationName}",
- },
- input: {
- type: "structure",
- required: ["domainConfigurationName"],
- members: {
- domainConfigurationName: {
- location: "uri",
- locationName: "domainConfigurationName",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- domainConfigurationName: {},
- domainConfigurationArn: {},
- domainName: {},
- serverCertificates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- serverCertificateArn: {},
- serverCertificateStatus: {},
- serverCertificateStatusDetail: {},
- },
- },
- },
- authorizerConfig: { shape: "S2l" },
- domainConfigurationStatus: {},
- serviceType: {},
- domainType: {},
- },
- },
- },
- DescribeEndpoint: {
- http: { method: "GET", requestUri: "/endpoint" },
- input: {
- type: "structure",
- members: {
- endpointType: {
- location: "querystring",
- locationName: "endpointType",
- },
- },
- },
- output: { type: "structure", members: { endpointAddress: {} } },
- },
- DescribeEventConfigurations: {
- http: { method: "GET", requestUri: "/event-configurations" },
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: {
- eventConfigurations: { shape: "Sfh" },
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- },
- },
- },
- DescribeIndex: {
- http: { method: "GET", requestUri: "/indices/{indexName}" },
- input: {
- type: "structure",
- required: ["indexName"],
- members: {
- indexName: { location: "uri", locationName: "indexName" },
- },
- },
- output: {
- type: "structure",
- members: { indexName: {}, indexStatus: {}, schema: {} },
- },
- },
- DescribeJob: {
- http: { method: "GET", requestUri: "/jobs/{jobId}" },
- input: {
- type: "structure",
- required: ["jobId"],
- members: { jobId: { location: "uri", locationName: "jobId" } },
- },
- output: {
- type: "structure",
- members: {
- documentSource: {},
- job: {
- type: "structure",
- members: {
- jobArn: {},
- jobId: {},
- targetSelection: {},
- status: {},
- forceCanceled: { type: "boolean" },
- reasonCode: {},
- comment: {},
- targets: { shape: "Sg" },
- description: {},
- presignedUrlConfig: { shape: "S36" },
- jobExecutionsRolloutConfig: { shape: "S3a" },
- abortConfig: { shape: "S3h" },
- createdAt: { type: "timestamp" },
- lastUpdatedAt: { type: "timestamp" },
- completedAt: { type: "timestamp" },
- jobProcessDetails: {
- type: "structure",
- members: {
- processingTargets: { type: "list", member: {} },
- numberOfCanceledThings: { type: "integer" },
- numberOfSucceededThings: { type: "integer" },
- numberOfFailedThings: { type: "integer" },
- numberOfRejectedThings: { type: "integer" },
- numberOfQueuedThings: { type: "integer" },
- numberOfInProgressThings: { type: "integer" },
- numberOfRemovedThings: { type: "integer" },
- numberOfTimedOutThings: { type: "integer" },
- },
- },
- timeoutConfig: { shape: "S3o" },
- },
- },
- },
- },
- },
- DescribeJobExecution: {
- http: {
- method: "GET",
- requestUri: "/things/{thingName}/jobs/{jobId}",
- },
- input: {
- type: "structure",
- required: ["jobId", "thingName"],
- members: {
- jobId: { location: "uri", locationName: "jobId" },
- thingName: { location: "uri", locationName: "thingName" },
- executionNumber: {
- location: "querystring",
- locationName: "executionNumber",
- type: "long",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- execution: {
- type: "structure",
- members: {
- jobId: {},
- status: {},
- forceCanceled: { type: "boolean" },
- statusDetails: {
- type: "structure",
- members: { detailsMap: { shape: "S1b" } },
- },
- thingArn: {},
- queuedAt: { type: "timestamp" },
- startedAt: { type: "timestamp" },
- lastUpdatedAt: { type: "timestamp" },
- executionNumber: { type: "long" },
- versionNumber: { type: "long" },
- approximateSecondsBeforeTimedOut: { type: "long" },
- },
- },
- },
- },
- },
- DescribeMitigationAction: {
- http: {
- method: "GET",
- requestUri: "/mitigationactions/actions/{actionName}",
- },
- input: {
- type: "structure",
- required: ["actionName"],
- members: {
- actionName: { location: "uri", locationName: "actionName" },
- },
- },
- output: {
- type: "structure",
- members: {
- actionName: {},
- actionType: {},
- actionArn: {},
- actionId: {},
- roleArn: {},
- actionParams: { shape: "S3y" },
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- },
- },
- },
- DescribeProvisioningTemplate: {
- http: {
- method: "GET",
- requestUri: "/provisioning-templates/{templateName}",
- },
- input: {
- type: "structure",
- required: ["templateName"],
- members: {
- templateName: { location: "uri", locationName: "templateName" },
- },
- },
- output: {
- type: "structure",
- members: {
- templateArn: {},
- templateName: {},
- description: {},
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- defaultVersionId: { type: "integer" },
- templateBody: {},
- enabled: { type: "boolean" },
- provisioningRoleArn: {},
- },
- },
- },
- DescribeProvisioningTemplateVersion: {
- http: {
- method: "GET",
- requestUri:
- "/provisioning-templates/{templateName}/versions/{versionId}",
- },
- input: {
- type: "structure",
- required: ["templateName", "versionId"],
- members: {
- templateName: { location: "uri", locationName: "templateName" },
- versionId: {
- location: "uri",
- locationName: "versionId",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- versionId: { type: "integer" },
- creationDate: { type: "timestamp" },
- templateBody: {},
- isDefaultVersion: { type: "boolean" },
- },
- },
- },
- DescribeRoleAlias: {
- http: { method: "GET", requestUri: "/role-aliases/{roleAlias}" },
- input: {
- type: "structure",
- required: ["roleAlias"],
- members: {
- roleAlias: { location: "uri", locationName: "roleAlias" },
- },
- },
- output: {
- type: "structure",
- members: {
- roleAliasDescription: {
- type: "structure",
- members: {
- roleAlias: {},
- roleAliasArn: {},
- roleArn: {},
- owner: {},
- credentialDurationSeconds: { type: "integer" },
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- },
- },
- },
- },
- },
- DescribeScheduledAudit: {
- http: {
- method: "GET",
- requestUri: "/audit/scheduledaudits/{scheduledAuditName}",
- },
- input: {
- type: "structure",
- required: ["scheduledAuditName"],
- members: {
- scheduledAuditName: {
- location: "uri",
- locationName: "scheduledAuditName",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- frequency: {},
- dayOfMonth: {},
- dayOfWeek: {},
- targetCheckNames: { shape: "S6n" },
- scheduledAuditName: {},
- scheduledAuditArn: {},
- },
- },
- },
- DescribeSecurityProfile: {
- http: {
- method: "GET",
- requestUri: "/security-profiles/{securityProfileName}",
- },
- input: {
- type: "structure",
- required: ["securityProfileName"],
- members: {
- securityProfileName: {
- location: "uri",
- locationName: "securityProfileName",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- securityProfileName: {},
- securityProfileArn: {},
- securityProfileDescription: {},
- behaviors: { shape: "S6u" },
- alertTargets: { shape: "S7d" },
- additionalMetricsToRetain: {
- shape: "S7h",
- deprecated: true,
- deprecatedMessage: "Use additionalMetricsToRetainV2.",
- },
- additionalMetricsToRetainV2: { shape: "S7i" },
- version: { type: "long" },
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- },
- },
- },
- DescribeStream: {
- http: { method: "GET", requestUri: "/streams/{streamId}" },
- input: {
- type: "structure",
- required: ["streamId"],
- members: {
- streamId: { location: "uri", locationName: "streamId" },
- },
- },
- output: {
- type: "structure",
- members: {
- streamInfo: {
- type: "structure",
- members: {
- streamId: {},
- streamArn: {},
- streamVersion: { type: "integer" },
- description: {},
- files: { shape: "S7o" },
- createdAt: { type: "timestamp" },
- lastUpdatedAt: { type: "timestamp" },
- roleArn: {},
- },
- },
- },
- },
- },
- DescribeThing: {
- http: { method: "GET", requestUri: "/things/{thingName}" },
- input: {
- type: "structure",
- required: ["thingName"],
- members: {
- thingName: { location: "uri", locationName: "thingName" },
- },
- },
- output: {
- type: "structure",
- members: {
- defaultClientId: {},
- thingName: {},
- thingId: {},
- thingArn: {},
- thingTypeName: {},
- attributes: { shape: "S2u" },
- version: { type: "long" },
- billingGroupName: {},
- },
- },
- },
- DescribeThingGroup: {
- http: {
- method: "GET",
- requestUri: "/thing-groups/{thingGroupName}",
- },
- input: {
- type: "structure",
- required: ["thingGroupName"],
- members: {
- thingGroupName: {
- location: "uri",
- locationName: "thingGroupName",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- thingGroupName: {},
- thingGroupId: {},
- thingGroupArn: {},
- version: { type: "long" },
- thingGroupProperties: { shape: "S2r" },
- thingGroupMetadata: {
- type: "structure",
- members: {
- parentGroupName: {},
- rootToParentThingGroups: { shape: "Sgy" },
- creationDate: { type: "timestamp" },
- },
- },
- indexName: {},
- queryString: {},
- queryVersion: {},
- status: {},
- },
- },
- },
- DescribeThingRegistrationTask: {
- http: {
- method: "GET",
- requestUri: "/thing-registration-tasks/{taskId}",
- },
- input: {
- type: "structure",
- required: ["taskId"],
- members: { taskId: { location: "uri", locationName: "taskId" } },
- },
- output: {
- type: "structure",
- members: {
- taskId: {},
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- templateBody: {},
- inputFileBucket: {},
- inputFileKey: {},
- roleArn: {},
- status: {},
- message: {},
- successCount: { type: "integer" },
- failureCount: { type: "integer" },
- percentageProgress: { type: "integer" },
- },
- },
- },
- DescribeThingType: {
- http: { method: "GET", requestUri: "/thing-types/{thingTypeName}" },
- input: {
- type: "structure",
- required: ["thingTypeName"],
- members: {
- thingTypeName: {
- location: "uri",
- locationName: "thingTypeName",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- thingTypeName: {},
- thingTypeId: {},
- thingTypeArn: {},
- thingTypeProperties: { shape: "S80" },
- thingTypeMetadata: { shape: "Shb" },
- },
- },
- },
- DetachPolicy: {
- http: { requestUri: "/target-policies/{policyName}" },
- input: {
- type: "structure",
- required: ["policyName", "target"],
- members: {
- policyName: { location: "uri", locationName: "policyName" },
- target: {},
- },
- },
- },
- DetachPrincipalPolicy: {
- http: {
- method: "DELETE",
- requestUri: "/principal-policies/{policyName}",
- },
- input: {
- type: "structure",
- required: ["policyName", "principal"],
- members: {
- policyName: { location: "uri", locationName: "policyName" },
- principal: {
- location: "header",
- locationName: "x-amzn-iot-principal",
- },
- },
- },
- deprecated: true,
- },
- DetachSecurityProfile: {
- http: {
- method: "DELETE",
- requestUri: "/security-profiles/{securityProfileName}/targets",
- },
- input: {
- type: "structure",
- required: ["securityProfileName", "securityProfileTargetArn"],
- members: {
- securityProfileName: {
- location: "uri",
- locationName: "securityProfileName",
- },
- securityProfileTargetArn: {
- location: "querystring",
- locationName: "securityProfileTargetArn",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DetachThingPrincipal: {
- http: {
- method: "DELETE",
- requestUri: "/things/{thingName}/principals",
- },
- input: {
- type: "structure",
- required: ["thingName", "principal"],
- members: {
- thingName: { location: "uri", locationName: "thingName" },
- principal: {
- location: "header",
- locationName: "x-amzn-principal",
- },
- },
- },
- output: { type: "structure", members: {} },
- },
- DisableTopicRule: {
- http: { requestUri: "/rules/{ruleName}/disable" },
- input: {
- type: "structure",
- required: ["ruleName"],
- members: {
- ruleName: { location: "uri", locationName: "ruleName" },
- },
- },
- },
- EnableTopicRule: {
- http: { requestUri: "/rules/{ruleName}/enable" },
- input: {
- type: "structure",
- required: ["ruleName"],
- members: {
- ruleName: { location: "uri", locationName: "ruleName" },
- },
- },
- },
- GetCardinality: {
- http: { requestUri: "/indices/cardinality" },
- input: {
- type: "structure",
- required: ["queryString"],
- members: {
- indexName: {},
- queryString: {},
- aggregationField: {},
- queryVersion: {},
- },
- },
- output: {
- type: "structure",
- members: { cardinality: { type: "integer" } },
- },
- },
- GetEffectivePolicies: {
- http: { requestUri: "/effective-policies" },
- input: {
- type: "structure",
- members: {
- principal: {},
- cognitoIdentityPoolId: {},
- thingName: {
- location: "querystring",
- locationName: "thingName",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- effectivePolicies: {
- type: "list",
- member: {
- type: "structure",
- members: {
- policyName: {},
- policyArn: {},
- policyDocument: {},
- },
- },
- },
- },
- },
- },
- GetIndexingConfiguration: {
- http: { method: "GET", requestUri: "/indexing/config" },
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: {
- thingIndexingConfiguration: { shape: "Shv" },
- thingGroupIndexingConfiguration: { shape: "Si2" },
- },
- },
- },
- GetJobDocument: {
- http: { method: "GET", requestUri: "/jobs/{jobId}/job-document" },
- input: {
- type: "structure",
- required: ["jobId"],
- members: { jobId: { location: "uri", locationName: "jobId" } },
- },
- output: { type: "structure", members: { document: {} } },
- },
- GetLoggingOptions: {
- http: { method: "GET", requestUri: "/loggingOptions" },
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: { roleArn: {}, logLevel: {} },
- },
- },
- GetOTAUpdate: {
- http: { method: "GET", requestUri: "/otaUpdates/{otaUpdateId}" },
- input: {
- type: "structure",
- required: ["otaUpdateId"],
- members: {
- otaUpdateId: { location: "uri", locationName: "otaUpdateId" },
- },
- },
- output: {
- type: "structure",
- members: {
- otaUpdateInfo: {
- type: "structure",
- members: {
- otaUpdateId: {},
- otaUpdateArn: {},
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- description: {},
- targets: { shape: "S4h" },
- protocols: { shape: "S4j" },
- awsJobExecutionsRolloutConfig: { shape: "S4l" },
- awsJobPresignedUrlConfig: { shape: "S4n" },
- targetSelection: {},
- otaUpdateFiles: { shape: "S4p" },
- otaUpdateStatus: {},
- awsIotJobId: {},
- awsIotJobArn: {},
- errorInfo: {
- type: "structure",
- members: { code: {}, message: {} },
- },
- additionalParameters: { shape: "S5m" },
- },
- },
- },
- },
- },
- GetPercentiles: {
- http: { requestUri: "/indices/percentiles" },
- input: {
- type: "structure",
- required: ["queryString"],
- members: {
- indexName: {},
- queryString: {},
- aggregationField: {},
- queryVersion: {},
- percents: { type: "list", member: { type: "double" } },
- },
- },
- output: {
- type: "structure",
- members: {
- percentiles: {
- type: "list",
- member: {
- type: "structure",
- members: {
- percent: { type: "double" },
- value: { type: "double" },
- },
- },
- },
- },
- },
- },
- GetPolicy: {
- http: { method: "GET", requestUri: "/policies/{policyName}" },
- input: {
- type: "structure",
- required: ["policyName"],
- members: {
- policyName: { location: "uri", locationName: "policyName" },
- },
- },
- output: {
- type: "structure",
- members: {
- policyName: {},
- policyArn: {},
- policyDocument: {},
- defaultVersionId: {},
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- generationId: {},
- },
- },
- },
- GetPolicyVersion: {
- http: {
- method: "GET",
- requestUri: "/policies/{policyName}/version/{policyVersionId}",
- },
- input: {
- type: "structure",
- required: ["policyName", "policyVersionId"],
- members: {
- policyName: { location: "uri", locationName: "policyName" },
- policyVersionId: {
- location: "uri",
- locationName: "policyVersionId",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- policyArn: {},
- policyName: {},
- policyDocument: {},
- policyVersionId: {},
- isDefaultVersion: { type: "boolean" },
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- generationId: {},
- },
- },
- },
- GetRegistrationCode: {
- http: { method: "GET", requestUri: "/registrationcode" },
- input: { type: "structure", members: {} },
- output: { type: "structure", members: { registrationCode: {} } },
- },
- GetStatistics: {
- http: { requestUri: "/indices/statistics" },
- input: {
- type: "structure",
- required: ["queryString"],
- members: {
- indexName: {},
- queryString: {},
- aggregationField: {},
- queryVersion: {},
- },
- },
- output: {
- type: "structure",
- members: {
- statistics: {
- type: "structure",
- members: {
- count: { type: "integer" },
- average: { type: "double" },
- sum: { type: "double" },
- minimum: { type: "double" },
- maximum: { type: "double" },
- sumOfSquares: { type: "double" },
- variance: { type: "double" },
- stdDeviation: { type: "double" },
- },
- },
- },
- },
- },
- GetTopicRule: {
- http: { method: "GET", requestUri: "/rules/{ruleName}" },
- input: {
- type: "structure",
- required: ["ruleName"],
- members: {
- ruleName: { location: "uri", locationName: "ruleName" },
- },
- },
- output: {
- type: "structure",
- members: {
- ruleArn: {},
- rule: {
- type: "structure",
- members: {
- ruleName: {},
- sql: {},
- description: {},
- createdAt: { type: "timestamp" },
- actions: { shape: "S8b" },
- ruleDisabled: { type: "boolean" },
- awsIotSqlVersion: {},
- errorAction: { shape: "S8c" },
- },
- },
- },
- },
- },
- GetTopicRuleDestination: {
- http: { method: "GET", requestUri: "/destinations/{arn+}" },
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: { location: "uri", locationName: "arn" } },
- },
- output: {
- type: "structure",
- members: { topicRuleDestination: { shape: "Sav" } },
- },
- },
- GetV2LoggingOptions: {
- http: { method: "GET", requestUri: "/v2LoggingOptions" },
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: {
- roleArn: {},
- defaultLogLevel: {},
- disableAllLogs: { type: "boolean" },
- },
- },
- },
- ListActiveViolations: {
- http: { method: "GET", requestUri: "/active-violations" },
- input: {
- type: "structure",
- members: {
- thingName: {
- location: "querystring",
- locationName: "thingName",
- },
- securityProfileName: {
- location: "querystring",
- locationName: "securityProfileName",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- activeViolations: {
- type: "list",
- member: {
- type: "structure",
- members: {
- violationId: {},
- thingName: {},
- securityProfileName: {},
- behavior: { shape: "S6v" },
- lastViolationValue: { shape: "S72" },
- lastViolationTime: { type: "timestamp" },
- violationStartTime: { type: "timestamp" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListAttachedPolicies: {
- http: { requestUri: "/attached-policies/{target}" },
- input: {
- type: "structure",
- required: ["target"],
- members: {
- target: { location: "uri", locationName: "target" },
- recursive: {
- location: "querystring",
- locationName: "recursive",
- type: "boolean",
- },
- marker: { location: "querystring", locationName: "marker" },
- pageSize: {
- location: "querystring",
- locationName: "pageSize",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: { policies: { shape: "Sjp" }, nextMarker: {} },
- },
- },
- ListAuditFindings: {
- http: { requestUri: "/audit/findings" },
- input: {
- type: "structure",
- members: {
- taskId: {},
- checkName: {},
- resourceIdentifier: { shape: "Scz" },
- maxResults: { type: "integer" },
- nextToken: {},
- startTime: { type: "timestamp" },
- endTime: { type: "timestamp" },
- },
- },
- output: {
- type: "structure",
- members: {
- findings: { type: "list", member: { shape: "Scu" } },
- nextToken: {},
- },
- },
- },
- ListAuditMitigationActionsExecutions: {
- http: {
- method: "GET",
- requestUri: "/audit/mitigationactions/executions",
- },
- input: {
- type: "structure",
- required: ["taskId", "findingId"],
- members: {
- taskId: { location: "querystring", locationName: "taskId" },
- actionStatus: {
- location: "querystring",
- locationName: "actionStatus",
- },
- findingId: {
- location: "querystring",
- locationName: "findingId",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- actionsExecutions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- taskId: {},
- findingId: {},
- actionName: {},
- actionId: {},
- status: {},
- startTime: { type: "timestamp" },
- endTime: { type: "timestamp" },
- errorCode: {},
- message: {},
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListAuditMitigationActionsTasks: {
- http: {
- method: "GET",
- requestUri: "/audit/mitigationactions/tasks",
- },
- input: {
- type: "structure",
- required: ["startTime", "endTime"],
- members: {
- auditTaskId: {
- location: "querystring",
- locationName: "auditTaskId",
- },
- findingId: {
- location: "querystring",
- locationName: "findingId",
- },
- taskStatus: {
- location: "querystring",
- locationName: "taskStatus",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- startTime: {
- location: "querystring",
- locationName: "startTime",
- type: "timestamp",
- },
- endTime: {
- location: "querystring",
- locationName: "endTime",
- type: "timestamp",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- tasks: {
- type: "list",
- member: {
- type: "structure",
- members: {
- taskId: {},
- startTime: { type: "timestamp" },
- taskStatus: {},
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListAuditTasks: {
- http: { method: "GET", requestUri: "/audit/tasks" },
- input: {
- type: "structure",
- required: ["startTime", "endTime"],
- members: {
- startTime: {
- location: "querystring",
- locationName: "startTime",
- type: "timestamp",
- },
- endTime: {
- location: "querystring",
- locationName: "endTime",
- type: "timestamp",
- },
- taskType: { location: "querystring", locationName: "taskType" },
- taskStatus: {
- location: "querystring",
- locationName: "taskStatus",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- tasks: {
- type: "list",
- member: {
- type: "structure",
- members: { taskId: {}, taskStatus: {}, taskType: {} },
- },
- },
- nextToken: {},
- },
- },
- },
- ListAuthorizers: {
- http: { method: "GET", requestUri: "/authorizers/" },
- input: {
- type: "structure",
- members: {
- pageSize: {
- location: "querystring",
- locationName: "pageSize",
- type: "integer",
- },
- marker: { location: "querystring", locationName: "marker" },
- ascendingOrder: {
- location: "querystring",
- locationName: "isAscendingOrder",
- type: "boolean",
- },
- status: { location: "querystring", locationName: "status" },
- },
- },
- output: {
- type: "structure",
- members: {
- authorizers: {
- type: "list",
- member: {
- type: "structure",
- members: { authorizerName: {}, authorizerArn: {} },
- },
- },
- nextMarker: {},
- },
- },
- },
- ListBillingGroups: {
- http: { method: "GET", requestUri: "/billing-groups" },
- input: {
- type: "structure",
- members: {
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- namePrefixFilter: {
- location: "querystring",
- locationName: "namePrefixFilter",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- billingGroups: { type: "list", member: { shape: "Sgz" } },
- nextToken: {},
- },
- },
- },
- ListCACertificates: {
- http: { method: "GET", requestUri: "/cacertificates" },
- input: {
- type: "structure",
- members: {
- pageSize: {
- location: "querystring",
- locationName: "pageSize",
- type: "integer",
- },
- marker: { location: "querystring", locationName: "marker" },
- ascendingOrder: {
- location: "querystring",
- locationName: "isAscendingOrder",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- certificates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- certificateArn: {},
- certificateId: {},
- status: {},
- creationDate: { type: "timestamp" },
- },
- },
- },
- nextMarker: {},
- },
- },
- },
- ListCertificates: {
- http: { method: "GET", requestUri: "/certificates" },
- input: {
- type: "structure",
- members: {
- pageSize: {
- location: "querystring",
- locationName: "pageSize",
- type: "integer",
- },
- marker: { location: "querystring", locationName: "marker" },
- ascendingOrder: {
- location: "querystring",
- locationName: "isAscendingOrder",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: { certificates: { shape: "Skm" }, nextMarker: {} },
- },
- },
- ListCertificatesByCA: {
- http: {
- method: "GET",
- requestUri: "/certificates-by-ca/{caCertificateId}",
- },
- input: {
- type: "structure",
- required: ["caCertificateId"],
- members: {
- caCertificateId: {
- location: "uri",
- locationName: "caCertificateId",
- },
- pageSize: {
- location: "querystring",
- locationName: "pageSize",
- type: "integer",
- },
- marker: { location: "querystring", locationName: "marker" },
- ascendingOrder: {
- location: "querystring",
- locationName: "isAscendingOrder",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: { certificates: { shape: "Skm" }, nextMarker: {} },
- },
- },
- ListDimensions: {
- http: { method: "GET", requestUri: "/dimensions" },
- input: {
- type: "structure",
- members: {
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- dimensionNames: { type: "list", member: {} },
- nextToken: {},
- },
- },
- },
- ListDomainConfigurations: {
- http: { method: "GET", requestUri: "/domainConfigurations" },
- input: {
- type: "structure",
- members: {
- marker: { location: "querystring", locationName: "marker" },
- pageSize: {
- location: "querystring",
- locationName: "pageSize",
- type: "integer",
- },
- serviceType: {
- location: "querystring",
- locationName: "serviceType",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- domainConfigurations: {
- type: "list",
- member: {
- type: "structure",
- members: {
- domainConfigurationName: {},
- domainConfigurationArn: {},
- serviceType: {},
- },
- },
- },
- nextMarker: {},
- },
- },
- },
- ListIndices: {
- http: { method: "GET", requestUri: "/indices" },
- input: {
- type: "structure",
- members: {
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- indexNames: { type: "list", member: {} },
- nextToken: {},
- },
- },
- },
- ListJobExecutionsForJob: {
- http: { method: "GET", requestUri: "/jobs/{jobId}/things" },
- input: {
- type: "structure",
- required: ["jobId"],
- members: {
- jobId: { location: "uri", locationName: "jobId" },
- status: { location: "querystring", locationName: "status" },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- executionSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- thingArn: {},
- jobExecutionSummary: { shape: "Sl6" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListJobExecutionsForThing: {
- http: { method: "GET", requestUri: "/things/{thingName}/jobs" },
- input: {
- type: "structure",
- required: ["thingName"],
- members: {
- thingName: { location: "uri", locationName: "thingName" },
- status: { location: "querystring", locationName: "status" },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- executionSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- jobId: {},
- jobExecutionSummary: { shape: "Sl6" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListJobs: {
- http: { method: "GET", requestUri: "/jobs" },
- input: {
- type: "structure",
- members: {
- status: { location: "querystring", locationName: "status" },
- targetSelection: {
- location: "querystring",
- locationName: "targetSelection",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- thingGroupName: {
- location: "querystring",
- locationName: "thingGroupName",
- },
- thingGroupId: {
- location: "querystring",
- locationName: "thingGroupId",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- jobs: {
- type: "list",
- member: {
- type: "structure",
- members: {
- jobArn: {},
- jobId: {},
- thingGroupId: {},
- targetSelection: {},
- status: {},
- createdAt: { type: "timestamp" },
- lastUpdatedAt: { type: "timestamp" },
- completedAt: { type: "timestamp" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListMitigationActions: {
- http: { method: "GET", requestUri: "/mitigationactions/actions" },
- input: {
- type: "structure",
- members: {
- actionType: {
- location: "querystring",
- locationName: "actionType",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- actionIdentifiers: {
- type: "list",
- member: {
- type: "structure",
- members: {
- actionName: {},
- actionArn: {},
- creationDate: { type: "timestamp" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListOTAUpdates: {
- http: { method: "GET", requestUri: "/otaUpdates" },
- input: {
- type: "structure",
- members: {
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- otaUpdateStatus: {
- location: "querystring",
- locationName: "otaUpdateStatus",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- otaUpdates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- otaUpdateId: {},
- otaUpdateArn: {},
- creationDate: { type: "timestamp" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListOutgoingCertificates: {
- http: { method: "GET", requestUri: "/certificates-out-going" },
- input: {
- type: "structure",
- members: {
- pageSize: {
- location: "querystring",
- locationName: "pageSize",
- type: "integer",
- },
- marker: { location: "querystring", locationName: "marker" },
- ascendingOrder: {
- location: "querystring",
- locationName: "isAscendingOrder",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- outgoingCertificates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- certificateArn: {},
- certificateId: {},
- transferredTo: {},
- transferDate: { type: "timestamp" },
- transferMessage: {},
- creationDate: { type: "timestamp" },
- },
- },
- },
- nextMarker: {},
- },
- },
- },
- ListPolicies: {
- http: { method: "GET", requestUri: "/policies" },
- input: {
- type: "structure",
- members: {
- marker: { location: "querystring", locationName: "marker" },
- pageSize: {
- location: "querystring",
- locationName: "pageSize",
- type: "integer",
- },
- ascendingOrder: {
- location: "querystring",
- locationName: "isAscendingOrder",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: { policies: { shape: "Sjp" }, nextMarker: {} },
- },
- },
- ListPolicyPrincipals: {
- http: { method: "GET", requestUri: "/policy-principals" },
- input: {
- type: "structure",
- required: ["policyName"],
- members: {
- policyName: {
- location: "header",
- locationName: "x-amzn-iot-policy",
- },
- marker: { location: "querystring", locationName: "marker" },
- pageSize: {
- location: "querystring",
- locationName: "pageSize",
- type: "integer",
- },
- ascendingOrder: {
- location: "querystring",
- locationName: "isAscendingOrder",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: { principals: { shape: "Slv" }, nextMarker: {} },
- },
- deprecated: true,
- },
- ListPolicyVersions: {
- http: {
- method: "GET",
- requestUri: "/policies/{policyName}/version",
- },
- input: {
- type: "structure",
- required: ["policyName"],
- members: {
- policyName: { location: "uri", locationName: "policyName" },
- },
- },
- output: {
- type: "structure",
- members: {
- policyVersions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- versionId: {},
- isDefaultVersion: { type: "boolean" },
- createDate: { type: "timestamp" },
- },
- },
- },
- },
- },
- },
- ListPrincipalPolicies: {
- http: { method: "GET", requestUri: "/principal-policies" },
- input: {
- type: "structure",
- required: ["principal"],
- members: {
- principal: {
- location: "header",
- locationName: "x-amzn-iot-principal",
- },
- marker: { location: "querystring", locationName: "marker" },
- pageSize: {
- location: "querystring",
- locationName: "pageSize",
- type: "integer",
- },
- ascendingOrder: {
- location: "querystring",
- locationName: "isAscendingOrder",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: { policies: { shape: "Sjp" }, nextMarker: {} },
- },
- deprecated: true,
- },
- ListPrincipalThings: {
- http: { method: "GET", requestUri: "/principals/things" },
- input: {
- type: "structure",
- required: ["principal"],
- members: {
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- principal: {
- location: "header",
- locationName: "x-amzn-principal",
- },
- },
- },
- output: {
- type: "structure",
- members: { things: { shape: "Sm5" }, nextToken: {} },
- },
- },
- ListProvisioningTemplateVersions: {
- http: {
- method: "GET",
- requestUri: "/provisioning-templates/{templateName}/versions",
- },
- input: {
- type: "structure",
- required: ["templateName"],
- members: {
- templateName: { location: "uri", locationName: "templateName" },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- versions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- versionId: { type: "integer" },
- creationDate: { type: "timestamp" },
- isDefaultVersion: { type: "boolean" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListProvisioningTemplates: {
- http: { method: "GET", requestUri: "/provisioning-templates" },
- input: {
- type: "structure",
- members: {
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- templates: {
- type: "list",
- member: {
- type: "structure",
- members: {
- templateArn: {},
- templateName: {},
- description: {},
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- enabled: { type: "boolean" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListRoleAliases: {
- http: { method: "GET", requestUri: "/role-aliases" },
- input: {
- type: "structure",
- members: {
- pageSize: {
- location: "querystring",
- locationName: "pageSize",
- type: "integer",
- },
- marker: { location: "querystring", locationName: "marker" },
- ascendingOrder: {
- location: "querystring",
- locationName: "isAscendingOrder",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- roleAliases: { type: "list", member: {} },
- nextMarker: {},
- },
- },
- },
- ListScheduledAudits: {
- http: { method: "GET", requestUri: "/audit/scheduledaudits" },
- input: {
- type: "structure",
- members: {
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- scheduledAudits: {
- type: "list",
- member: {
- type: "structure",
- members: {
- scheduledAuditName: {},
- scheduledAuditArn: {},
- frequency: {},
- dayOfMonth: {},
- dayOfWeek: {},
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListSecurityProfiles: {
- http: { method: "GET", requestUri: "/security-profiles" },
- input: {
- type: "structure",
- members: {
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- dimensionName: {
- location: "querystring",
- locationName: "dimensionName",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- securityProfileIdentifiers: {
- type: "list",
- member: { shape: "Smo" },
- },
- nextToken: {},
- },
- },
- },
- ListSecurityProfilesForTarget: {
- http: {
- method: "GET",
- requestUri: "/security-profiles-for-target",
- },
- input: {
- type: "structure",
- required: ["securityProfileTargetArn"],
- members: {
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- recursive: {
- location: "querystring",
- locationName: "recursive",
- type: "boolean",
- },
- securityProfileTargetArn: {
- location: "querystring",
- locationName: "securityProfileTargetArn",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- securityProfileTargetMappings: {
- type: "list",
- member: {
- type: "structure",
- members: {
- securityProfileIdentifier: { shape: "Smo" },
- target: { shape: "Smt" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListStreams: {
- http: { method: "GET", requestUri: "/streams" },
- input: {
- type: "structure",
- members: {
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- ascendingOrder: {
- location: "querystring",
- locationName: "isAscendingOrder",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- streams: {
- type: "list",
- member: {
- type: "structure",
- members: {
- streamId: {},
- streamArn: {},
- streamVersion: { type: "integer" },
- description: {},
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListTagsForResource: {
- http: { method: "GET", requestUri: "/tags" },
- input: {
- type: "structure",
- required: ["resourceArn"],
- members: {
- resourceArn: {
- location: "querystring",
- locationName: "resourceArn",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: { tags: { shape: "S1x" }, nextToken: {} },
- },
- },
- ListTargetsForPolicy: {
- http: { requestUri: "/policy-targets/{policyName}" },
- input: {
- type: "structure",
- required: ["policyName"],
- members: {
- policyName: { location: "uri", locationName: "policyName" },
- marker: { location: "querystring", locationName: "marker" },
- pageSize: {
- location: "querystring",
- locationName: "pageSize",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- targets: { type: "list", member: {} },
- nextMarker: {},
- },
- },
- },
- ListTargetsForSecurityProfile: {
- http: {
- method: "GET",
- requestUri: "/security-profiles/{securityProfileName}/targets",
- },
- input: {
- type: "structure",
- required: ["securityProfileName"],
- members: {
- securityProfileName: {
- location: "uri",
- locationName: "securityProfileName",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- securityProfileTargets: {
- type: "list",
- member: { shape: "Smt" },
- },
- nextToken: {},
- },
- },
- },
- ListThingGroups: {
- http: { method: "GET", requestUri: "/thing-groups" },
- input: {
- type: "structure",
- members: {
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- parentGroup: {
- location: "querystring",
- locationName: "parentGroup",
- },
- namePrefixFilter: {
- location: "querystring",
- locationName: "namePrefixFilter",
- },
- recursive: {
- location: "querystring",
- locationName: "recursive",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: { thingGroups: { shape: "Sgy" }, nextToken: {} },
- },
- },
- ListThingGroupsForThing: {
- http: {
- method: "GET",
- requestUri: "/things/{thingName}/thing-groups",
- },
- input: {
- type: "structure",
- required: ["thingName"],
- members: {
- thingName: { location: "uri", locationName: "thingName" },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: { thingGroups: { shape: "Sgy" }, nextToken: {} },
- },
- },
- ListThingPrincipals: {
- http: {
- method: "GET",
- requestUri: "/things/{thingName}/principals",
- },
- input: {
- type: "structure",
- required: ["thingName"],
- members: {
- thingName: { location: "uri", locationName: "thingName" },
- },
- },
- output: {
- type: "structure",
- members: { principals: { shape: "Slv" } },
- },
- },
- ListThingRegistrationTaskReports: {
- http: {
- method: "GET",
- requestUri: "/thing-registration-tasks/{taskId}/reports",
- },
- input: {
- type: "structure",
- required: ["taskId", "reportType"],
- members: {
- taskId: { location: "uri", locationName: "taskId" },
- reportType: {
- location: "querystring",
- locationName: "reportType",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- resourceLinks: { type: "list", member: {} },
- reportType: {},
- nextToken: {},
- },
- },
- },
- ListThingRegistrationTasks: {
- http: { method: "GET", requestUri: "/thing-registration-tasks" },
- input: {
- type: "structure",
- members: {
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- status: { location: "querystring", locationName: "status" },
- },
- },
- output: {
- type: "structure",
- members: { taskIds: { type: "list", member: {} }, nextToken: {} },
- },
- },
- ListThingTypes: {
- http: { method: "GET", requestUri: "/thing-types" },
- input: {
- type: "structure",
- members: {
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- thingTypeName: {
- location: "querystring",
- locationName: "thingTypeName",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- thingTypes: {
- type: "list",
- member: {
- type: "structure",
- members: {
- thingTypeName: {},
- thingTypeArn: {},
- thingTypeProperties: { shape: "S80" },
- thingTypeMetadata: { shape: "Shb" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListThings: {
- http: { method: "GET", requestUri: "/things" },
- input: {
- type: "structure",
- members: {
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- attributeName: {
- location: "querystring",
- locationName: "attributeName",
- },
- attributeValue: {
- location: "querystring",
- locationName: "attributeValue",
- },
- thingTypeName: {
- location: "querystring",
- locationName: "thingTypeName",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- things: {
- type: "list",
- member: {
- type: "structure",
- members: {
- thingName: {},
- thingTypeName: {},
- thingArn: {},
- attributes: { shape: "S2u" },
- version: { type: "long" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListThingsInBillingGroup: {
- http: {
- method: "GET",
- requestUri: "/billing-groups/{billingGroupName}/things",
- },
- input: {
- type: "structure",
- required: ["billingGroupName"],
- members: {
- billingGroupName: {
- location: "uri",
- locationName: "billingGroupName",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: { things: { shape: "Sm5" }, nextToken: {} },
- },
- },
- ListThingsInThingGroup: {
- http: {
- method: "GET",
- requestUri: "/thing-groups/{thingGroupName}/things",
- },
- input: {
- type: "structure",
- required: ["thingGroupName"],
- members: {
- thingGroupName: {
- location: "uri",
- locationName: "thingGroupName",
- },
- recursive: {
- location: "querystring",
- locationName: "recursive",
- type: "boolean",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: { things: { shape: "Sm5" }, nextToken: {} },
- },
- },
- ListTopicRuleDestinations: {
- http: { method: "GET", requestUri: "/destinations" },
- input: {
- type: "structure",
- members: {
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- destinationSummaries: {
- type: "list",
- member: {
- type: "structure",
- members: {
- arn: {},
- status: {},
- statusReason: {},
- httpUrlSummary: {
- type: "structure",
- members: { confirmationUrl: {} },
- },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListTopicRules: {
- http: { method: "GET", requestUri: "/rules" },
- input: {
- type: "structure",
- members: {
- topic: { location: "querystring", locationName: "topic" },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- ruleDisabled: {
- location: "querystring",
- locationName: "ruleDisabled",
- type: "boolean",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- rules: {
- type: "list",
- member: {
- type: "structure",
- members: {
- ruleArn: {},
- ruleName: {},
- topicPattern: {},
- createdAt: { type: "timestamp" },
- ruleDisabled: { type: "boolean" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListV2LoggingLevels: {
- http: { method: "GET", requestUri: "/v2LoggingLevel" },
- input: {
- type: "structure",
- members: {
- targetType: {
- location: "querystring",
- locationName: "targetType",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- logTargetConfigurations: {
- type: "list",
- member: {
- type: "structure",
- members: { logTarget: { shape: "Sof" }, logLevel: {} },
- },
- },
- nextToken: {},
- },
- },
- },
- ListViolationEvents: {
- http: { method: "GET", requestUri: "/violation-events" },
- input: {
- type: "structure",
- required: ["startTime", "endTime"],
- members: {
- startTime: {
- location: "querystring",
- locationName: "startTime",
- type: "timestamp",
- },
- endTime: {
- location: "querystring",
- locationName: "endTime",
- type: "timestamp",
- },
- thingName: {
- location: "querystring",
- locationName: "thingName",
- },
- securityProfileName: {
- location: "querystring",
- locationName: "securityProfileName",
- },
- nextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- maxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- violationEvents: {
- type: "list",
- member: {
- type: "structure",
- members: {
- violationId: {},
- thingName: {},
- securityProfileName: {},
- behavior: { shape: "S6v" },
- metricValue: { shape: "S72" },
- violationEventType: {},
- violationEventTime: { type: "timestamp" },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- RegisterCACertificate: {
- http: { requestUri: "/cacertificate" },
- input: {
- type: "structure",
- required: ["caCertificate", "verificationCertificate"],
- members: {
- caCertificate: {},
- verificationCertificate: {},
- setAsActive: {
- location: "querystring",
- locationName: "setAsActive",
- type: "boolean",
- },
- allowAutoRegistration: {
- location: "querystring",
- locationName: "allowAutoRegistration",
- type: "boolean",
- },
- registrationConfig: { shape: "Ser" },
- },
- },
- output: {
- type: "structure",
- members: { certificateArn: {}, certificateId: {} },
- },
- },
- RegisterCertificate: {
- http: { requestUri: "/certificate/register" },
- input: {
- type: "structure",
- required: ["certificatePem"],
- members: {
- certificatePem: {},
- caCertificatePem: {},
- setAsActive: {
- deprecated: true,
- location: "querystring",
- locationName: "setAsActive",
- type: "boolean",
- },
- status: {},
- },
- },
- output: {
- type: "structure",
- members: { certificateArn: {}, certificateId: {} },
- },
- },
- RegisterThing: {
- http: { requestUri: "/things" },
- input: {
- type: "structure",
- required: ["templateBody"],
- members: {
- templateBody: {},
- parameters: { type: "map", key: {}, value: {} },
- },
- },
- output: {
- type: "structure",
- members: {
- certificatePem: {},
- resourceArns: { type: "map", key: {}, value: {} },
- },
- },
- },
- RejectCertificateTransfer: {
- http: {
- method: "PATCH",
- requestUri: "/reject-certificate-transfer/{certificateId}",
- },
- input: {
- type: "structure",
- required: ["certificateId"],
- members: {
- certificateId: {
- location: "uri",
- locationName: "certificateId",
- },
- rejectReason: {},
- },
- },
- },
- RemoveThingFromBillingGroup: {
- http: {
- method: "PUT",
- requestUri: "/billing-groups/removeThingFromBillingGroup",
- },
- input: {
- type: "structure",
- members: {
- billingGroupName: {},
- billingGroupArn: {},
- thingName: {},
- thingArn: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- RemoveThingFromThingGroup: {
- http: {
- method: "PUT",
- requestUri: "/thing-groups/removeThingFromThingGroup",
- },
- input: {
- type: "structure",
- members: {
- thingGroupName: {},
- thingGroupArn: {},
- thingName: {},
- thingArn: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- ReplaceTopicRule: {
- http: { method: "PATCH", requestUri: "/rules/{ruleName}" },
- input: {
- type: "structure",
- required: ["ruleName", "topicRulePayload"],
- members: {
- ruleName: { location: "uri", locationName: "ruleName" },
- topicRulePayload: { shape: "S88" },
- },
- payload: "topicRulePayload",
- },
- },
- SearchIndex: {
- http: { requestUri: "/indices/search" },
- input: {
- type: "structure",
- required: ["queryString"],
- members: {
- indexName: {},
- queryString: {},
- nextToken: {},
- maxResults: { type: "integer" },
- queryVersion: {},
- },
- },
- output: {
- type: "structure",
- members: {
- nextToken: {},
- things: {
- type: "list",
- member: {
- type: "structure",
- members: {
- thingName: {},
- thingId: {},
- thingTypeName: {},
- thingGroupNames: { shape: "Sp7" },
- attributes: { shape: "S2u" },
- shadow: {},
- connectivity: {
- type: "structure",
- members: {
- connected: { type: "boolean" },
- timestamp: { type: "long" },
- },
- },
- },
- },
- },
- thingGroups: {
- type: "list",
- member: {
- type: "structure",
- members: {
- thingGroupName: {},
- thingGroupId: {},
- thingGroupDescription: {},
- attributes: { shape: "S2u" },
- parentGroupNames: { shape: "Sp7" },
- },
- },
- },
- },
- },
- },
- SetDefaultAuthorizer: {
- http: { requestUri: "/default-authorizer" },
- input: {
- type: "structure",
- required: ["authorizerName"],
- members: { authorizerName: {} },
- },
- output: {
- type: "structure",
- members: { authorizerName: {}, authorizerArn: {} },
- },
- },
- SetDefaultPolicyVersion: {
- http: {
- method: "PATCH",
- requestUri: "/policies/{policyName}/version/{policyVersionId}",
- },
- input: {
- type: "structure",
- required: ["policyName", "policyVersionId"],
- members: {
- policyName: { location: "uri", locationName: "policyName" },
- policyVersionId: {
- location: "uri",
- locationName: "policyVersionId",
- },
- },
- },
- },
- SetLoggingOptions: {
- http: { requestUri: "/loggingOptions" },
- input: {
- type: "structure",
- required: ["loggingOptionsPayload"],
- members: {
- loggingOptionsPayload: {
- type: "structure",
- required: ["roleArn"],
- members: { roleArn: {}, logLevel: {} },
- },
- },
- payload: "loggingOptionsPayload",
- },
- },
- SetV2LoggingLevel: {
- http: { requestUri: "/v2LoggingLevel" },
- input: {
- type: "structure",
- required: ["logTarget", "logLevel"],
- members: { logTarget: { shape: "Sof" }, logLevel: {} },
- },
- },
- SetV2LoggingOptions: {
- http: { requestUri: "/v2LoggingOptions" },
- input: {
- type: "structure",
- members: {
- roleArn: {},
- defaultLogLevel: {},
- disableAllLogs: { type: "boolean" },
- },
- },
- },
- StartAuditMitigationActionsTask: {
- http: { requestUri: "/audit/mitigationactions/tasks/{taskId}" },
- input: {
- type: "structure",
- required: [
- "taskId",
- "target",
- "auditCheckToActionsMapping",
- "clientRequestToken",
- ],
- members: {
- taskId: { location: "uri", locationName: "taskId" },
- target: { shape: "Sdj" },
- auditCheckToActionsMapping: { shape: "Sdn" },
- clientRequestToken: { idempotencyToken: true },
- },
- },
- output: { type: "structure", members: { taskId: {} } },
- },
- StartOnDemandAuditTask: {
- http: { requestUri: "/audit/tasks" },
- input: {
- type: "structure",
- required: ["targetCheckNames"],
- members: { targetCheckNames: { shape: "S6n" } },
- },
- output: { type: "structure", members: { taskId: {} } },
- },
- StartThingRegistrationTask: {
- http: { requestUri: "/thing-registration-tasks" },
- input: {
- type: "structure",
- required: [
- "templateBody",
- "inputFileBucket",
- "inputFileKey",
- "roleArn",
- ],
- members: {
- templateBody: {},
- inputFileBucket: {},
- inputFileKey: {},
- roleArn: {},
- },
- },
- output: { type: "structure", members: { taskId: {} } },
- },
- StopThingRegistrationTask: {
- http: {
- method: "PUT",
- requestUri: "/thing-registration-tasks/{taskId}/cancel",
- },
- input: {
- type: "structure",
- required: ["taskId"],
- members: { taskId: { location: "uri", locationName: "taskId" } },
- },
- output: { type: "structure", members: {} },
- },
- TagResource: {
- http: { requestUri: "/tags" },
- input: {
- type: "structure",
- required: ["resourceArn", "tags"],
- members: { resourceArn: {}, tags: { shape: "S1x" } },
- },
- output: { type: "structure", members: {} },
- },
- TestAuthorization: {
- http: { requestUri: "/test-authorization" },
- input: {
- type: "structure",
- required: ["authInfos"],
- members: {
- principal: {},
- cognitoIdentityPoolId: {},
- authInfos: { type: "list", member: { shape: "Spw" } },
- clientId: { location: "querystring", locationName: "clientId" },
- policyNamesToAdd: { shape: "Sq0" },
- policyNamesToSkip: { shape: "Sq0" },
- },
- },
- output: {
- type: "structure",
- members: {
- authResults: {
- type: "list",
- member: {
- type: "structure",
- members: {
- authInfo: { shape: "Spw" },
- allowed: {
- type: "structure",
- members: { policies: { shape: "Sjp" } },
- },
- denied: {
- type: "structure",
- members: {
- implicitDeny: {
- type: "structure",
- members: { policies: { shape: "Sjp" } },
- },
- explicitDeny: {
- type: "structure",
- members: { policies: { shape: "Sjp" } },
- },
- },
- },
- authDecision: {},
- missingContextValues: { type: "list", member: {} },
- },
- },
- },
- },
- },
- },
- TestInvokeAuthorizer: {
- http: { requestUri: "/authorizer/{authorizerName}/test" },
- input: {
- type: "structure",
- required: ["authorizerName"],
- members: {
- authorizerName: {
- location: "uri",
- locationName: "authorizerName",
- },
- token: {},
- tokenSignature: {},
- httpContext: {
- type: "structure",
- members: {
- headers: { type: "map", key: {}, value: {} },
- queryString: {},
- },
- },
- mqttContext: {
- type: "structure",
- members: {
- username: {},
- password: { type: "blob" },
- clientId: {},
- },
- },
- tlsContext: { type: "structure", members: { serverName: {} } },
- },
- },
- output: {
- type: "structure",
- members: {
- isAuthenticated: { type: "boolean" },
- principalId: {},
- policyDocuments: { type: "list", member: {} },
- refreshAfterInSeconds: { type: "integer" },
- disconnectAfterInSeconds: { type: "integer" },
- },
- },
- },
- TransferCertificate: {
- http: {
- method: "PATCH",
- requestUri: "/transfer-certificate/{certificateId}",
- },
- input: {
- type: "structure",
- required: ["certificateId", "targetAwsAccount"],
- members: {
- certificateId: {
- location: "uri",
- locationName: "certificateId",
- },
- targetAwsAccount: {
- location: "querystring",
- locationName: "targetAwsAccount",
- },
- transferMessage: {},
- },
- },
- output: {
- type: "structure",
- members: { transferredCertificateArn: {} },
- },
- },
- UntagResource: {
- http: { requestUri: "/untag" },
- input: {
- type: "structure",
- required: ["resourceArn", "tagKeys"],
- members: {
- resourceArn: {},
- tagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateAccountAuditConfiguration: {
- http: { method: "PATCH", requestUri: "/audit/configuration" },
- input: {
- type: "structure",
- members: {
- roleArn: {},
- auditNotificationTargetConfigurations: { shape: "Scm" },
- auditCheckConfigurations: { shape: "Scp" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateAuthorizer: {
- http: { method: "PUT", requestUri: "/authorizer/{authorizerName}" },
- input: {
- type: "structure",
- required: ["authorizerName"],
- members: {
- authorizerName: {
- location: "uri",
- locationName: "authorizerName",
- },
- authorizerFunctionArn: {},
- tokenKeyName: {},
- tokenSigningPublicKeys: { shape: "S1n" },
- status: {},
- },
- },
- output: {
- type: "structure",
- members: { authorizerName: {}, authorizerArn: {} },
- },
- },
- UpdateBillingGroup: {
- http: {
- method: "PATCH",
- requestUri: "/billing-groups/{billingGroupName}",
- },
- input: {
- type: "structure",
- required: ["billingGroupName", "billingGroupProperties"],
- members: {
- billingGroupName: {
- location: "uri",
- locationName: "billingGroupName",
- },
- billingGroupProperties: { shape: "S1v" },
- expectedVersion: { type: "long" },
- },
- },
- output: {
- type: "structure",
- members: { version: { type: "long" } },
- },
- },
- UpdateCACertificate: {
- http: {
- method: "PUT",
- requestUri: "/cacertificate/{caCertificateId}",
- },
- input: {
- type: "structure",
- required: ["certificateId"],
- members: {
- certificateId: {
- location: "uri",
- locationName: "caCertificateId",
- },
- newStatus: {
- location: "querystring",
- locationName: "newStatus",
- },
- newAutoRegistrationStatus: {
- location: "querystring",
- locationName: "newAutoRegistrationStatus",
- },
- registrationConfig: { shape: "Ser" },
- removeAutoRegistration: { type: "boolean" },
- },
- },
- },
- UpdateCertificate: {
- http: {
- method: "PUT",
- requestUri: "/certificates/{certificateId}",
- },
- input: {
- type: "structure",
- required: ["certificateId", "newStatus"],
- members: {
- certificateId: {
- location: "uri",
- locationName: "certificateId",
- },
- newStatus: {
- location: "querystring",
- locationName: "newStatus",
- },
- },
- },
- },
- UpdateDimension: {
- http: { method: "PATCH", requestUri: "/dimensions/{name}" },
- input: {
- type: "structure",
- required: ["name", "stringValues"],
- members: {
- name: { location: "uri", locationName: "name" },
- stringValues: { shape: "S2b" },
- },
- },
- output: {
- type: "structure",
- members: {
- name: {},
- arn: {},
- type: {},
- stringValues: { shape: "S2b" },
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- },
- },
- },
- UpdateDomainConfiguration: {
- http: {
- method: "PUT",
- requestUri: "/domainConfigurations/{domainConfigurationName}",
- },
- input: {
- type: "structure",
- required: ["domainConfigurationName"],
- members: {
- domainConfigurationName: {
- location: "uri",
- locationName: "domainConfigurationName",
- },
- authorizerConfig: { shape: "S2l" },
- domainConfigurationStatus: {},
- removeAuthorizerConfig: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: {
- domainConfigurationName: {},
- domainConfigurationArn: {},
- },
- },
- },
- UpdateDynamicThingGroup: {
- http: {
- method: "PATCH",
- requestUri: "/dynamic-thing-groups/{thingGroupName}",
- },
- input: {
- type: "structure",
- required: ["thingGroupName", "thingGroupProperties"],
- members: {
- thingGroupName: {
- location: "uri",
- locationName: "thingGroupName",
- },
- thingGroupProperties: { shape: "S2r" },
- expectedVersion: { type: "long" },
- indexName: {},
- queryString: {},
- queryVersion: {},
- },
- },
- output: {
- type: "structure",
- members: { version: { type: "long" } },
- },
- },
- UpdateEventConfigurations: {
- http: { method: "PATCH", requestUri: "/event-configurations" },
- input: {
- type: "structure",
- members: { eventConfigurations: { shape: "Sfh" } },
- },
- output: { type: "structure", members: {} },
- },
- UpdateIndexingConfiguration: {
- http: { requestUri: "/indexing/config" },
- input: {
- type: "structure",
- members: {
- thingIndexingConfiguration: { shape: "Shv" },
- thingGroupIndexingConfiguration: { shape: "Si2" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateJob: {
- http: { method: "PATCH", requestUri: "/jobs/{jobId}" },
- input: {
- type: "structure",
- required: ["jobId"],
- members: {
- jobId: { location: "uri", locationName: "jobId" },
- description: {},
- presignedUrlConfig: { shape: "S36" },
- jobExecutionsRolloutConfig: { shape: "S3a" },
- abortConfig: { shape: "S3h" },
- timeoutConfig: { shape: "S3o" },
- },
- },
- },
- UpdateMitigationAction: {
- http: {
- method: "PATCH",
- requestUri: "/mitigationactions/actions/{actionName}",
- },
- input: {
- type: "structure",
- required: ["actionName"],
- members: {
- actionName: { location: "uri", locationName: "actionName" },
- roleArn: {},
- actionParams: { shape: "S3y" },
- },
- },
- output: {
- type: "structure",
- members: { actionArn: {}, actionId: {} },
- },
- },
- UpdateProvisioningTemplate: {
- http: {
- method: "PATCH",
- requestUri: "/provisioning-templates/{templateName}",
- },
- input: {
- type: "structure",
- required: ["templateName"],
- members: {
- templateName: { location: "uri", locationName: "templateName" },
- description: {},
- enabled: { type: "boolean" },
- defaultVersionId: { type: "integer" },
- provisioningRoleArn: {},
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateRoleAlias: {
- http: { method: "PUT", requestUri: "/role-aliases/{roleAlias}" },
- input: {
- type: "structure",
- required: ["roleAlias"],
- members: {
- roleAlias: { location: "uri", locationName: "roleAlias" },
- roleArn: {},
- credentialDurationSeconds: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { roleAlias: {}, roleAliasArn: {} },
- },
- },
- UpdateScheduledAudit: {
- http: {
- method: "PATCH",
- requestUri: "/audit/scheduledaudits/{scheduledAuditName}",
- },
- input: {
- type: "structure",
- required: ["scheduledAuditName"],
- members: {
- frequency: {},
- dayOfMonth: {},
- dayOfWeek: {},
- targetCheckNames: { shape: "S6n" },
- scheduledAuditName: {
- location: "uri",
- locationName: "scheduledAuditName",
- },
- },
- },
- output: { type: "structure", members: { scheduledAuditArn: {} } },
- },
- UpdateSecurityProfile: {
- http: {
- method: "PATCH",
- requestUri: "/security-profiles/{securityProfileName}",
- },
- input: {
- type: "structure",
- required: ["securityProfileName"],
- members: {
- securityProfileName: {
- location: "uri",
- locationName: "securityProfileName",
- },
- securityProfileDescription: {},
- behaviors: { shape: "S6u" },
- alertTargets: { shape: "S7d" },
- additionalMetricsToRetain: {
- shape: "S7h",
- deprecated: true,
- deprecatedMessage: "Use additionalMetricsToRetainV2.",
- },
- additionalMetricsToRetainV2: { shape: "S7i" },
- deleteBehaviors: { type: "boolean" },
- deleteAlertTargets: { type: "boolean" },
- deleteAdditionalMetricsToRetain: { type: "boolean" },
- expectedVersion: {
- location: "querystring",
- locationName: "expectedVersion",
- type: "long",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- securityProfileName: {},
- securityProfileArn: {},
- securityProfileDescription: {},
- behaviors: { shape: "S6u" },
- alertTargets: { shape: "S7d" },
- additionalMetricsToRetain: {
- shape: "S7h",
- deprecated: true,
- deprecatedMessage: "Use additionalMetricsToRetainV2.",
- },
- additionalMetricsToRetainV2: { shape: "S7i" },
- version: { type: "long" },
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- },
- },
- },
- UpdateStream: {
- http: { method: "PUT", requestUri: "/streams/{streamId}" },
- input: {
- type: "structure",
- required: ["streamId"],
- members: {
- streamId: { location: "uri", locationName: "streamId" },
- description: {},
- files: { shape: "S7o" },
- roleArn: {},
- },
- },
- output: {
- type: "structure",
- members: {
- streamId: {},
- streamArn: {},
- description: {},
- streamVersion: { type: "integer" },
- },
- },
- },
- UpdateThing: {
- http: { method: "PATCH", requestUri: "/things/{thingName}" },
- input: {
- type: "structure",
- required: ["thingName"],
- members: {
- thingName: { location: "uri", locationName: "thingName" },
- thingTypeName: {},
- attributePayload: { shape: "S2t" },
- expectedVersion: { type: "long" },
- removeThingType: { type: "boolean" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateThingGroup: {
- http: {
- method: "PATCH",
- requestUri: "/thing-groups/{thingGroupName}",
- },
- input: {
- type: "structure",
- required: ["thingGroupName", "thingGroupProperties"],
- members: {
- thingGroupName: {
- location: "uri",
- locationName: "thingGroupName",
- },
- thingGroupProperties: { shape: "S2r" },
- expectedVersion: { type: "long" },
- },
- },
- output: {
- type: "structure",
- members: { version: { type: "long" } },
- },
- },
- UpdateThingGroupsForThing: {
- http: {
- method: "PUT",
- requestUri: "/thing-groups/updateThingGroupsForThing",
- },
- input: {
- type: "structure",
- members: {
- thingName: {},
- thingGroupsToAdd: { shape: "Ss5" },
- thingGroupsToRemove: { shape: "Ss5" },
- overrideDynamicGroups: { type: "boolean" },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateTopicRuleDestination: {
- http: { method: "PATCH", requestUri: "/destinations" },
- input: {
- type: "structure",
- required: ["arn", "status"],
- members: { arn: {}, status: {} },
- },
- output: { type: "structure", members: {} },
- },
- ValidateSecurityProfileBehaviors: {
- http: { requestUri: "/security-profile-behaviors/validate" },
- input: {
- type: "structure",
- required: ["behaviors"],
- members: { behaviors: { shape: "S6u" } },
- },
- output: {
- type: "structure",
- members: {
- valid: { type: "boolean" },
- validationErrors: {
- type: "list",
- member: { type: "structure", members: { errorMessage: {} } },
- },
- },
- },
- },
- },
- shapes: {
- Sg: { type: "list", member: {} },
- S1b: { type: "map", key: {}, value: {} },
- S1n: { type: "map", key: {}, value: {} },
- S1v: { type: "structure", members: { billingGroupDescription: {} } },
- S1x: {
- type: "list",
- member: { type: "structure", members: { Key: {}, Value: {} } },
- },
- S2b: { type: "list", member: {} },
- S2l: {
- type: "structure",
- members: {
- defaultAuthorizerName: {},
- allowAuthorizerOverride: { type: "boolean" },
- },
- },
- S2r: {
- type: "structure",
- members: {
- thingGroupDescription: {},
- attributePayload: { shape: "S2t" },
- },
- },
- S2t: {
- type: "structure",
- members: {
- attributes: { shape: "S2u" },
- merge: { type: "boolean" },
- },
- },
- S2u: { type: "map", key: {}, value: {} },
- S36: {
- type: "structure",
- members: { roleArn: {}, expiresInSec: { type: "long" } },
- },
- S3a: {
- type: "structure",
- members: {
- maximumPerMinute: { type: "integer" },
- exponentialRate: {
- type: "structure",
- required: [
- "baseRatePerMinute",
- "incrementFactor",
- "rateIncreaseCriteria",
- ],
- members: {
- baseRatePerMinute: { type: "integer" },
- incrementFactor: { type: "double" },
- rateIncreaseCriteria: {
- type: "structure",
- members: {
- numberOfNotifiedThings: { type: "integer" },
- numberOfSucceededThings: { type: "integer" },
- },
- },
- },
- },
- },
- },
- S3h: {
- type: "structure",
- required: ["criteriaList"],
- members: {
- criteriaList: {
- type: "list",
- member: {
- type: "structure",
- required: [
- "failureType",
- "action",
- "thresholdPercentage",
- "minNumberOfExecutedThings",
- ],
- members: {
- failureType: {},
- action: {},
- thresholdPercentage: { type: "double" },
- minNumberOfExecutedThings: { type: "integer" },
- },
- },
- },
- },
- },
- S3o: {
- type: "structure",
- members: { inProgressTimeoutInMinutes: { type: "long" } },
- },
- S3t: {
- type: "structure",
- members: {
- PublicKey: {},
- PrivateKey: { type: "string", sensitive: true },
- },
- },
- S3y: {
- type: "structure",
- members: {
- updateDeviceCertificateParams: {
- type: "structure",
- required: ["action"],
- members: { action: {} },
- },
- updateCACertificateParams: {
- type: "structure",
- required: ["action"],
- members: { action: {} },
- },
- addThingsToThingGroupParams: {
- type: "structure",
- required: ["thingGroupNames"],
- members: {
- thingGroupNames: { type: "list", member: {} },
- overrideDynamicGroups: { type: "boolean" },
- },
- },
- replaceDefaultPolicyVersionParams: {
- type: "structure",
- required: ["templateName"],
- members: { templateName: {} },
- },
- enableIoTLoggingParams: {
- type: "structure",
- required: ["roleArnForLogging", "logLevel"],
- members: { roleArnForLogging: {}, logLevel: {} },
- },
- publishFindingToSnsParams: {
- type: "structure",
- required: ["topicArn"],
- members: { topicArn: {} },
- },
- },
- },
- S4h: { type: "list", member: {} },
- S4j: { type: "list", member: {} },
- S4l: {
- type: "structure",
- members: { maximumPerMinute: { type: "integer" } },
- },
- S4n: {
- type: "structure",
- members: { expiresInSec: { type: "long" } },
- },
- S4p: {
- type: "list",
- member: {
- type: "structure",
- members: {
- fileName: {},
- fileVersion: {},
- fileLocation: {
- type: "structure",
- members: {
- stream: {
- type: "structure",
- members: { streamId: {}, fileId: { type: "integer" } },
- },
- s3Location: { shape: "S4x" },
- },
- },
- codeSigning: {
- type: "structure",
- members: {
- awsSignerJobId: {},
- startSigningJobParameter: {
- type: "structure",
- members: {
- signingProfileParameter: {
- type: "structure",
- members: {
- certificateArn: {},
- platform: {},
- certificatePathOnDevice: {},
- },
- },
- signingProfileName: {},
- destination: {
- type: "structure",
- members: {
- s3Destination: {
- type: "structure",
- members: { bucket: {}, prefix: {} },
- },
- },
- },
- },
- },
- customCodeSigning: {
- type: "structure",
- members: {
- signature: {
- type: "structure",
- members: { inlineDocument: { type: "blob" } },
- },
- certificateChain: {
- type: "structure",
- members: { certificateName: {}, inlineDocument: {} },
- },
- hashAlgorithm: {},
- signatureAlgorithm: {},
- },
- },
- },
- },
- attributes: { type: "map", key: {}, value: {} },
- },
- },
- },
- S4x: {
- type: "structure",
- members: { bucket: {}, key: {}, version: {} },
- },
- S5m: { type: "map", key: {}, value: {} },
- S6n: { type: "list", member: {} },
- S6u: { type: "list", member: { shape: "S6v" } },
- S6v: {
- type: "structure",
- required: ["name"],
- members: {
- name: {},
- metric: {},
- metricDimension: { shape: "S6y" },
- criteria: {
- type: "structure",
- members: {
- comparisonOperator: {},
- value: { shape: "S72" },
- durationSeconds: { type: "integer" },
- consecutiveDatapointsToAlarm: { type: "integer" },
- consecutiveDatapointsToClear: { type: "integer" },
- statisticalThreshold: {
- type: "structure",
- members: { statistic: {} },
- },
- },
- },
- },
- },
- S6y: {
- type: "structure",
- required: ["dimensionName"],
- members: { dimensionName: {}, operator: {} },
- },
- S72: {
- type: "structure",
- members: {
- count: { type: "long" },
- cidrs: { type: "list", member: {} },
- ports: { type: "list", member: { type: "integer" } },
- },
- },
- S7d: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- required: ["alertTargetArn", "roleArn"],
- members: { alertTargetArn: {}, roleArn: {} },
- },
- },
- S7h: { type: "list", member: {} },
- S7i: {
- type: "list",
- member: {
- type: "structure",
- required: ["metric"],
- members: { metric: {}, metricDimension: { shape: "S6y" } },
- },
- },
- S7o: {
- type: "list",
- member: {
- type: "structure",
- members: {
- fileId: { type: "integer" },
- s3Location: { shape: "S4x" },
- },
- },
- },
- S80: {
- type: "structure",
- members: {
- thingTypeDescription: {},
- searchableAttributes: { type: "list", member: {} },
- },
- },
- S88: {
- type: "structure",
- required: ["sql", "actions"],
- members: {
- sql: {},
- description: {},
- actions: { shape: "S8b" },
- ruleDisabled: { type: "boolean" },
- awsIotSqlVersion: {},
- errorAction: { shape: "S8c" },
- },
- },
- S8b: { type: "list", member: { shape: "S8c" } },
- S8c: {
- type: "structure",
- members: {
- dynamoDB: {
- type: "structure",
- required: [
- "tableName",
- "roleArn",
- "hashKeyField",
- "hashKeyValue",
- ],
- members: {
- tableName: {},
- roleArn: {},
- operation: {},
- hashKeyField: {},
- hashKeyValue: {},
- hashKeyType: {},
- rangeKeyField: {},
- rangeKeyValue: {},
- rangeKeyType: {},
- payloadField: {},
- },
- },
- dynamoDBv2: {
- type: "structure",
- required: ["roleArn", "putItem"],
- members: {
- roleArn: {},
- putItem: {
- type: "structure",
- required: ["tableName"],
- members: { tableName: {} },
- },
- },
- },
- lambda: {
- type: "structure",
- required: ["functionArn"],
- members: { functionArn: {} },
- },
- sns: {
- type: "structure",
- required: ["targetArn", "roleArn"],
- members: { targetArn: {}, roleArn: {}, messageFormat: {} },
- },
- sqs: {
- type: "structure",
- required: ["roleArn", "queueUrl"],
- members: {
- roleArn: {},
- queueUrl: {},
- useBase64: { type: "boolean" },
- },
- },
- kinesis: {
- type: "structure",
- required: ["roleArn", "streamName"],
- members: { roleArn: {}, streamName: {}, partitionKey: {} },
- },
- republish: {
- type: "structure",
- required: ["roleArn", "topic"],
- members: { roleArn: {}, topic: {}, qos: { type: "integer" } },
- },
- s3: {
- type: "structure",
- required: ["roleArn", "bucketName", "key"],
- members: {
- roleArn: {},
- bucketName: {},
- key: {},
- cannedAcl: {},
- },
- },
- firehose: {
- type: "structure",
- required: ["roleArn", "deliveryStreamName"],
- members: { roleArn: {}, deliveryStreamName: {}, separator: {} },
- },
- cloudwatchMetric: {
- type: "structure",
- required: [
- "roleArn",
- "metricNamespace",
- "metricName",
- "metricValue",
- "metricUnit",
- ],
- members: {
- roleArn: {},
- metricNamespace: {},
- metricName: {},
- metricValue: {},
- metricUnit: {},
- metricTimestamp: {},
- },
- },
- cloudwatchAlarm: {
- type: "structure",
- required: ["roleArn", "alarmName", "stateReason", "stateValue"],
- members: {
- roleArn: {},
- alarmName: {},
- stateReason: {},
- stateValue: {},
- },
- },
- cloudwatchLogs: {
- type: "structure",
- required: ["roleArn", "logGroupName"],
- members: { roleArn: {}, logGroupName: {} },
- },
- elasticsearch: {
- type: "structure",
- required: ["roleArn", "endpoint", "index", "type", "id"],
- members: {
- roleArn: {},
- endpoint: {},
- index: {},
- type: {},
- id: {},
- },
- },
- salesforce: {
- type: "structure",
- required: ["token", "url"],
- members: { token: {}, url: {} },
- },
- iotAnalytics: {
- type: "structure",
- members: { channelArn: {}, channelName: {}, roleArn: {} },
- },
- iotEvents: {
- type: "structure",
- required: ["inputName", "roleArn"],
- members: { inputName: {}, messageId: {}, roleArn: {} },
- },
- iotSiteWise: {
- type: "structure",
- required: ["putAssetPropertyValueEntries", "roleArn"],
- members: {
- putAssetPropertyValueEntries: {
- type: "list",
- member: {
- type: "structure",
- required: ["propertyValues"],
- members: {
- entryId: {},
- assetId: {},
- propertyId: {},
- propertyAlias: {},
- propertyValues: {
- type: "list",
- member: {
- type: "structure",
- required: ["value", "timestamp"],
- members: {
- value: {
- type: "structure",
- members: {
- stringValue: {},
- integerValue: {},
- doubleValue: {},
- booleanValue: {},
- },
- },
- timestamp: {
- type: "structure",
- required: ["timeInSeconds"],
- members: {
- timeInSeconds: {},
- offsetInNanos: {},
- },
- },
- quality: {},
- },
- },
- },
- },
- },
- },
- roleArn: {},
- },
- },
- stepFunctions: {
- type: "structure",
- required: ["stateMachineName", "roleArn"],
- members: {
- executionNamePrefix: {},
- stateMachineName: {},
- roleArn: {},
- },
- },
- http: {
- type: "structure",
- required: ["url"],
- members: {
- url: {},
- confirmationUrl: {},
- headers: {
- type: "list",
- member: {
- type: "structure",
- required: ["key", "value"],
- members: { key: {}, value: {} },
- },
- },
- auth: {
- type: "structure",
- members: {
- sigv4: {
- type: "structure",
- required: ["signingRegion", "serviceName", "roleArn"],
- members: {
- signingRegion: {},
- serviceName: {},
- roleArn: {},
- },
- },
- },
- },
- },
- },
- },
- },
- Sav: {
- type: "structure",
- members: {
- arn: {},
- status: {},
- statusReason: {},
- httpUrlProperties: {
- type: "structure",
- members: { confirmationUrl: {} },
- },
- },
- },
- Scm: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: {
- targetArn: {},
- roleArn: {},
- enabled: { type: "boolean" },
- },
- },
- },
- Scp: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: { enabled: { type: "boolean" } },
- },
- },
- Scu: {
- type: "structure",
- members: {
- findingId: {},
- taskId: {},
- checkName: {},
- taskStartTime: { type: "timestamp" },
- findingTime: { type: "timestamp" },
- severity: {},
- nonCompliantResource: {
- type: "structure",
- members: {
- resourceType: {},
- resourceIdentifier: { shape: "Scz" },
- additionalInfo: { shape: "Sd4" },
- },
- },
- relatedResources: {
- type: "list",
- member: {
- type: "structure",
- members: {
- resourceType: {},
- resourceIdentifier: { shape: "Scz" },
- additionalInfo: { shape: "Sd4" },
- },
- },
- },
- reasonForNonCompliance: {},
- reasonForNonComplianceCode: {},
- },
- },
- Scz: {
- type: "structure",
- members: {
- deviceCertificateId: {},
- caCertificateId: {},
- cognitoIdentityPoolId: {},
- clientId: {},
- policyVersionIdentifier: {
- type: "structure",
- members: { policyName: {}, policyVersionId: {} },
- },
- account: {},
- iamRoleArn: {},
- roleAliasArn: {},
- },
- },
- Sd4: { type: "map", key: {}, value: {} },
- Sdj: {
- type: "structure",
- members: {
- auditTaskId: {},
- findingIds: { type: "list", member: {} },
- auditCheckToReasonCodeFilter: {
- type: "map",
- key: {},
- value: { type: "list", member: {} },
- },
- },
- },
- Sdn: { type: "map", key: {}, value: { type: "list", member: {} } },
- Sed: {
- type: "structure",
- members: {
- authorizerName: {},
- authorizerArn: {},
- authorizerFunctionArn: {},
- tokenKeyName: {},
- tokenSigningPublicKeys: { shape: "S1n" },
- status: {},
- creationDate: { type: "timestamp" },
- lastModifiedDate: { type: "timestamp" },
- signingDisabled: { type: "boolean" },
- },
- },
- Seq: {
- type: "structure",
- members: {
- notBefore: { type: "timestamp" },
- notAfter: { type: "timestamp" },
- },
- },
- Ser: {
- type: "structure",
- members: { templateBody: {}, roleArn: {} },
- },
- Sfh: {
- type: "map",
- key: {},
- value: {
- type: "structure",
- members: { Enabled: { type: "boolean" } },
- },
- },
- Sgy: { type: "list", member: { shape: "Sgz" } },
- Sgz: { type: "structure", members: { groupName: {}, groupArn: {} } },
- Shb: {
- type: "structure",
- members: {
- deprecated: { type: "boolean" },
- deprecationDate: { type: "timestamp" },
- creationDate: { type: "timestamp" },
- },
- },
- Shv: {
- type: "structure",
- required: ["thingIndexingMode"],
- members: {
- thingIndexingMode: {},
- thingConnectivityIndexingMode: {},
- managedFields: { shape: "Shy" },
- customFields: { shape: "Shy" },
- },
- },
- Shy: {
- type: "list",
- member: { type: "structure", members: { name: {}, type: {} } },
- },
- Si2: {
- type: "structure",
- required: ["thingGroupIndexingMode"],
- members: {
- thingGroupIndexingMode: {},
- managedFields: { shape: "Shy" },
- customFields: { shape: "Shy" },
- },
- },
- Sjp: {
- type: "list",
- member: {
- type: "structure",
- members: { policyName: {}, policyArn: {} },
- },
- },
- Skm: {
- type: "list",
- member: {
- type: "structure",
- members: {
- certificateArn: {},
- certificateId: {},
- status: {},
- creationDate: { type: "timestamp" },
- },
- },
- },
- Sl6: {
- type: "structure",
- members: {
- status: {},
- queuedAt: { type: "timestamp" },
- startedAt: { type: "timestamp" },
- lastUpdatedAt: { type: "timestamp" },
- executionNumber: { type: "long" },
- },
- },
- Slv: { type: "list", member: {} },
- Sm5: { type: "list", member: {} },
- Smo: {
- type: "structure",
- required: ["name", "arn"],
- members: { name: {}, arn: {} },
- },
- Smt: { type: "structure", required: ["arn"], members: { arn: {} } },
- Sof: {
- type: "structure",
- required: ["targetType"],
- members: { targetType: {}, targetName: {} },
- },
- Sp7: { type: "list", member: {} },
- Spw: {
- type: "structure",
- members: {
- actionType: {},
- resources: { type: "list", member: {} },
- },
- },
- Sq0: { type: "list", member: {} },
- Ss5: { type: "list", member: {} },
- },
- };
-
- /***/
- },
-
- /***/ 4604: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(9601);
- model.paginators = __webpack_require__(8447).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.Backup;
-
- /***/
- },
-
- /***/ 4608: /***/ function (module) {
- module.exports = {
- metadata: {
- apiVersion: "2018-11-14",
- endpointPrefix: "mediaconnect",
- signingName: "mediaconnect",
- serviceFullName: "AWS MediaConnect",
- serviceId: "MediaConnect",
- protocol: "rest-json",
- jsonVersion: "1.1",
- uid: "mediaconnect-2018-11-14",
- signatureVersion: "v4",
- },
- operations: {
- AddFlowOutputs: {
- http: {
- requestUri: "/v1/flows/{flowArn}/outputs",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- FlowArn: { location: "uri", locationName: "flowArn" },
- Outputs: { shape: "S3", locationName: "outputs" },
- },
- required: ["FlowArn", "Outputs"],
- },
- output: {
- type: "structure",
- members: {
- FlowArn: { locationName: "flowArn" },
- Outputs: { shape: "Sc", locationName: "outputs" },
- },
- },
- },
- AddFlowSources: {
- http: {
- requestUri: "/v1/flows/{flowArn}/source",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- FlowArn: { location: "uri", locationName: "flowArn" },
- Sources: { shape: "Sg", locationName: "sources" },
- },
- required: ["FlowArn", "Sources"],
- },
- output: {
- type: "structure",
- members: {
- FlowArn: { locationName: "flowArn" },
- Sources: { shape: "Sj", locationName: "sources" },
- },
- },
- },
- AddFlowVpcInterfaces: {
- http: {
- requestUri: "/v1/flows/{flowArn}/vpcInterfaces",
- responseCode: 201,
- },
- input: {
- type: "structure",
- members: {
- FlowArn: { location: "uri", locationName: "flowArn" },
- VpcInterfaces: { shape: "Sm", locationName: "vpcInterfaces" },
- },
- required: ["FlowArn", "VpcInterfaces"],
- },
- output: {
- type: "structure",
- members: {
- FlowArn: { locationName: "flowArn" },
- VpcInterfaces: { shape: "Sp", locationName: "vpcInterfaces" },
- },
- },
- },
- CreateFlow: {
- http: { requestUri: "/v1/flows", responseCode: 201 },
- input: {
- type: "structure",
- members: {
- AvailabilityZone: { locationName: "availabilityZone" },
- Entitlements: { shape: "Ss", locationName: "entitlements" },
- Name: { locationName: "name" },
- Outputs: { shape: "S3", locationName: "outputs" },
- Source: { shape: "Sh", locationName: "source" },
- SourceFailoverConfig: {
- shape: "Su",
- locationName: "sourceFailoverConfig",
- },
- Sources: { shape: "Sg", locationName: "sources" },
- VpcInterfaces: { shape: "Sm", locationName: "vpcInterfaces" },
- },
- required: ["Name"],
- },
- output: {
- type: "structure",
- members: { Flow: { shape: "Sx", locationName: "flow" } },
- },
- },
- DeleteFlow: {
- http: {
- method: "DELETE",
- requestUri: "/v1/flows/{flowArn}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- FlowArn: { location: "uri", locationName: "flowArn" },
- },
- required: ["FlowArn"],
- },
- output: {
- type: "structure",
- members: {
- FlowArn: { locationName: "flowArn" },
- Status: { locationName: "status" },
- },
- },
- },
- DescribeFlow: {
- http: {
- method: "GET",
- requestUri: "/v1/flows/{flowArn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- FlowArn: { location: "uri", locationName: "flowArn" },
- },
- required: ["FlowArn"],
- },
- output: {
- type: "structure",
- members: {
- Flow: { shape: "Sx", locationName: "flow" },
- Messages: {
- locationName: "messages",
- type: "structure",
- members: { Errors: { shape: "S5", locationName: "errors" } },
- required: ["Errors"],
- },
- },
- },
- },
- GrantFlowEntitlements: {
- http: {
- requestUri: "/v1/flows/{flowArn}/entitlements",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- Entitlements: { shape: "Ss", locationName: "entitlements" },
- FlowArn: { location: "uri", locationName: "flowArn" },
- },
- required: ["FlowArn", "Entitlements"],
- },
- output: {
- type: "structure",
- members: {
- Entitlements: { shape: "Sy", locationName: "entitlements" },
- FlowArn: { locationName: "flowArn" },
- },
- },
- },
- ListEntitlements: {
- http: {
- method: "GET",
- requestUri: "/v1/entitlements",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Entitlements: {
- locationName: "entitlements",
- type: "list",
- member: {
- type: "structure",
- members: {
- DataTransferSubscriberFeePercent: {
- locationName: "dataTransferSubscriberFeePercent",
- type: "integer",
- },
- EntitlementArn: { locationName: "entitlementArn" },
- EntitlementName: { locationName: "entitlementName" },
- },
- required: ["EntitlementArn", "EntitlementName"],
- },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListFlows: {
- http: { method: "GET", requestUri: "/v1/flows", responseCode: 200 },
- input: {
- type: "structure",
- members: {
- MaxResults: {
- location: "querystring",
- locationName: "maxResults",
- type: "integer",
- },
- NextToken: {
- location: "querystring",
- locationName: "nextToken",
- },
- },
- },
- output: {
- type: "structure",
- members: {
- Flows: {
- locationName: "flows",
- type: "list",
- member: {
- type: "structure",
- members: {
- AvailabilityZone: { locationName: "availabilityZone" },
- Description: { locationName: "description" },
- FlowArn: { locationName: "flowArn" },
- Name: { locationName: "name" },
- SourceType: { locationName: "sourceType" },
- Status: { locationName: "status" },
- },
- required: [
- "Status",
- "Description",
- "SourceType",
- "AvailabilityZone",
- "FlowArn",
- "Name",
- ],
- },
- },
- NextToken: { locationName: "nextToken" },
- },
- },
- },
- ListTagsForResource: {
- http: {
- method: "GET",
- requestUri: "/tags/{resourceArn}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resourceArn" },
- },
- required: ["ResourceArn"],
- },
- output: {
- type: "structure",
- members: { Tags: { shape: "S1k", locationName: "tags" } },
- },
- },
- RemoveFlowOutput: {
- http: {
- method: "DELETE",
- requestUri: "/v1/flows/{flowArn}/outputs/{outputArn}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- FlowArn: { location: "uri", locationName: "flowArn" },
- OutputArn: { location: "uri", locationName: "outputArn" },
- },
- required: ["FlowArn", "OutputArn"],
- },
- output: {
- type: "structure",
- members: {
- FlowArn: { locationName: "flowArn" },
- OutputArn: { locationName: "outputArn" },
- },
- },
- },
- RemoveFlowSource: {
- http: {
- method: "DELETE",
- requestUri: "/v1/flows/{flowArn}/source/{sourceArn}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- FlowArn: { location: "uri", locationName: "flowArn" },
- SourceArn: { location: "uri", locationName: "sourceArn" },
- },
- required: ["FlowArn", "SourceArn"],
- },
- output: {
- type: "structure",
- members: {
- FlowArn: { locationName: "flowArn" },
- SourceArn: { locationName: "sourceArn" },
- },
- },
- },
- RemoveFlowVpcInterface: {
- http: {
- method: "DELETE",
- requestUri:
- "/v1/flows/{flowArn}/vpcInterfaces/{vpcInterfaceName}",
- responseCode: 200,
- },
- input: {
- type: "structure",
- members: {
- FlowArn: { location: "uri", locationName: "flowArn" },
- VpcInterfaceName: {
- location: "uri",
- locationName: "vpcInterfaceName",
- },
- },
- required: ["FlowArn", "VpcInterfaceName"],
- },
- output: {
- type: "structure",
- members: {
- FlowArn: { locationName: "flowArn" },
- NonDeletedNetworkInterfaceIds: {
- shape: "S5",
- locationName: "nonDeletedNetworkInterfaceIds",
- },
- VpcInterfaceName: { locationName: "vpcInterfaceName" },
- },
- },
- },
- RevokeFlowEntitlement: {
- http: {
- method: "DELETE",
- requestUri: "/v1/flows/{flowArn}/entitlements/{entitlementArn}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- EntitlementArn: {
- location: "uri",
- locationName: "entitlementArn",
- },
- FlowArn: { location: "uri", locationName: "flowArn" },
- },
- required: ["FlowArn", "EntitlementArn"],
- },
- output: {
- type: "structure",
- members: {
- EntitlementArn: { locationName: "entitlementArn" },
- FlowArn: { locationName: "flowArn" },
- },
- },
- },
- StartFlow: {
- http: {
- requestUri: "/v1/flows/start/{flowArn}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- FlowArn: { location: "uri", locationName: "flowArn" },
- },
- required: ["FlowArn"],
- },
- output: {
- type: "structure",
- members: {
- FlowArn: { locationName: "flowArn" },
- Status: { locationName: "status" },
- },
- },
- },
- StopFlow: {
- http: { requestUri: "/v1/flows/stop/{flowArn}", responseCode: 202 },
- input: {
- type: "structure",
- members: {
- FlowArn: { location: "uri", locationName: "flowArn" },
- },
- required: ["FlowArn"],
- },
- output: {
- type: "structure",
- members: {
- FlowArn: { locationName: "flowArn" },
- Status: { locationName: "status" },
- },
- },
- },
- TagResource: {
- http: { requestUri: "/tags/{resourceArn}", responseCode: 204 },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resourceArn" },
- Tags: { shape: "S1k", locationName: "tags" },
- },
- required: ["ResourceArn", "Tags"],
- },
- },
- UntagResource: {
- http: {
- method: "DELETE",
- requestUri: "/tags/{resourceArn}",
- responseCode: 204,
- },
- input: {
- type: "structure",
- members: {
- ResourceArn: { location: "uri", locationName: "resourceArn" },
- TagKeys: {
- shape: "S5",
- location: "querystring",
- locationName: "tagKeys",
- },
- },
- required: ["TagKeys", "ResourceArn"],
- },
- },
- UpdateFlow: {
- http: {
- method: "PUT",
- requestUri: "/v1/flows/{flowArn}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- FlowArn: { location: "uri", locationName: "flowArn" },
- SourceFailoverConfig: {
- locationName: "sourceFailoverConfig",
- type: "structure",
- members: {
- RecoveryWindow: {
- locationName: "recoveryWindow",
- type: "integer",
- },
- State: { locationName: "state" },
- },
- },
- },
- required: ["FlowArn"],
- },
- output: {
- type: "structure",
- members: { Flow: { shape: "Sx", locationName: "flow" } },
- },
- },
- UpdateFlowEntitlement: {
- http: {
- method: "PUT",
- requestUri: "/v1/flows/{flowArn}/entitlements/{entitlementArn}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- Description: { locationName: "description" },
- Encryption: { shape: "S23", locationName: "encryption" },
- EntitlementArn: {
- location: "uri",
- locationName: "entitlementArn",
- },
- FlowArn: { location: "uri", locationName: "flowArn" },
- Subscribers: { shape: "S5", locationName: "subscribers" },
- },
- required: ["FlowArn", "EntitlementArn"],
- },
- output: {
- type: "structure",
- members: {
- Entitlement: { shape: "Sz", locationName: "entitlement" },
- FlowArn: { locationName: "flowArn" },
- },
- },
- },
- UpdateFlowOutput: {
- http: {
- method: "PUT",
- requestUri: "/v1/flows/{flowArn}/outputs/{outputArn}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- CidrAllowList: { shape: "S5", locationName: "cidrAllowList" },
- Description: { locationName: "description" },
- Destination: { locationName: "destination" },
- Encryption: { shape: "S23", locationName: "encryption" },
- FlowArn: { location: "uri", locationName: "flowArn" },
- MaxLatency: { locationName: "maxLatency", type: "integer" },
- OutputArn: { location: "uri", locationName: "outputArn" },
- Port: { locationName: "port", type: "integer" },
- Protocol: { locationName: "protocol" },
- RemoteId: { locationName: "remoteId" },
- SmoothingLatency: {
- locationName: "smoothingLatency",
- type: "integer",
- },
- StreamId: { locationName: "streamId" },
- },
- required: ["FlowArn", "OutputArn"],
- },
- output: {
- type: "structure",
- members: {
- FlowArn: { locationName: "flowArn" },
- Output: { shape: "Sd", locationName: "output" },
- },
- },
- },
- UpdateFlowSource: {
- http: {
- method: "PUT",
- requestUri: "/v1/flows/{flowArn}/source/{sourceArn}",
- responseCode: 202,
- },
- input: {
- type: "structure",
- members: {
- Decryption: { shape: "S23", locationName: "decryption" },
- Description: { locationName: "description" },
- EntitlementArn: { locationName: "entitlementArn" },
- FlowArn: { location: "uri", locationName: "flowArn" },
- IngestPort: { locationName: "ingestPort", type: "integer" },
- MaxBitrate: { locationName: "maxBitrate", type: "integer" },
- MaxLatency: { locationName: "maxLatency", type: "integer" },
- Protocol: { locationName: "protocol" },
- SourceArn: { location: "uri", locationName: "sourceArn" },
- StreamId: { locationName: "streamId" },
- VpcInterfaceName: { locationName: "vpcInterfaceName" },
- WhitelistCidr: { locationName: "whitelistCidr" },
- },
- required: ["FlowArn", "SourceArn"],
- },
- output: {
- type: "structure",
- members: {
- FlowArn: { locationName: "flowArn" },
- Source: { shape: "Sk", locationName: "source" },
- },
- },
- },
- },
- shapes: {
- S3: {
- type: "list",
- member: {
- type: "structure",
- members: {
- CidrAllowList: { shape: "S5", locationName: "cidrAllowList" },
- Description: { locationName: "description" },
- Destination: { locationName: "destination" },
- Encryption: { shape: "S6", locationName: "encryption" },
- MaxLatency: { locationName: "maxLatency", type: "integer" },
- Name: { locationName: "name" },
- Port: { locationName: "port", type: "integer" },
- Protocol: { locationName: "protocol" },
- RemoteId: { locationName: "remoteId" },
- SmoothingLatency: {
- locationName: "smoothingLatency",
- type: "integer",
- },
- StreamId: { locationName: "streamId" },
- },
- required: ["Protocol"],
- },
- },
- S5: { type: "list", member: {} },
- S6: {
- type: "structure",
- members: {
- Algorithm: { locationName: "algorithm" },
- ConstantInitializationVector: {
- locationName: "constantInitializationVector",
- },
- DeviceId: { locationName: "deviceId" },
- KeyType: { locationName: "keyType" },
- Region: { locationName: "region" },
- ResourceId: { locationName: "resourceId" },
- RoleArn: { locationName: "roleArn" },
- SecretArn: { locationName: "secretArn" },
- Url: { locationName: "url" },
- },
- required: ["Algorithm", "RoleArn"],
- },
- Sc: { type: "list", member: { shape: "Sd" } },
- Sd: {
- type: "structure",
- members: {
- DataTransferSubscriberFeePercent: {
- locationName: "dataTransferSubscriberFeePercent",
- type: "integer",
- },
- Description: { locationName: "description" },
- Destination: { locationName: "destination" },
- Encryption: { shape: "S6", locationName: "encryption" },
- EntitlementArn: { locationName: "entitlementArn" },
- MediaLiveInputArn: { locationName: "mediaLiveInputArn" },
- Name: { locationName: "name" },
- OutputArn: { locationName: "outputArn" },
- Port: { locationName: "port", type: "integer" },
- Transport: { shape: "Se", locationName: "transport" },
- },
- required: ["OutputArn", "Name"],
- },
- Se: {
- type: "structure",
- members: {
- CidrAllowList: { shape: "S5", locationName: "cidrAllowList" },
- MaxBitrate: { locationName: "maxBitrate", type: "integer" },
- MaxLatency: { locationName: "maxLatency", type: "integer" },
- Protocol: { locationName: "protocol" },
- RemoteId: { locationName: "remoteId" },
- SmoothingLatency: {
- locationName: "smoothingLatency",
- type: "integer",
- },
- StreamId: { locationName: "streamId" },
- },
- required: ["Protocol"],
- },
- Sg: { type: "list", member: { shape: "Sh" } },
- Sh: {
- type: "structure",
- members: {
- Decryption: { shape: "S6", locationName: "decryption" },
- Description: { locationName: "description" },
- EntitlementArn: { locationName: "entitlementArn" },
- IngestPort: { locationName: "ingestPort", type: "integer" },
- MaxBitrate: { locationName: "maxBitrate", type: "integer" },
- MaxLatency: { locationName: "maxLatency", type: "integer" },
- Name: { locationName: "name" },
- Protocol: { locationName: "protocol" },
- StreamId: { locationName: "streamId" },
- VpcInterfaceName: { locationName: "vpcInterfaceName" },
- WhitelistCidr: { locationName: "whitelistCidr" },
- },
- },
- Sj: { type: "list", member: { shape: "Sk" } },
- Sk: {
- type: "structure",
- members: {
- DataTransferSubscriberFeePercent: {
- locationName: "dataTransferSubscriberFeePercent",
- type: "integer",
- },
- Decryption: { shape: "S6", locationName: "decryption" },
- Description: { locationName: "description" },
- EntitlementArn: { locationName: "entitlementArn" },
- IngestIp: { locationName: "ingestIp" },
- IngestPort: { locationName: "ingestPort", type: "integer" },
- Name: { locationName: "name" },
- SourceArn: { locationName: "sourceArn" },
- Transport: { shape: "Se", locationName: "transport" },
- VpcInterfaceName: { locationName: "vpcInterfaceName" },
- WhitelistCidr: { locationName: "whitelistCidr" },
- },
- required: ["SourceArn", "Name"],
- },
- Sm: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: { locationName: "name" },
- RoleArn: { locationName: "roleArn" },
- SecurityGroupIds: {
- shape: "S5",
- locationName: "securityGroupIds",
- },
- SubnetId: { locationName: "subnetId" },
- },
- required: ["SubnetId", "SecurityGroupIds", "RoleArn", "Name"],
- },
- },
- Sp: {
- type: "list",
- member: {
- type: "structure",
- members: {
- Name: { locationName: "name" },
- NetworkInterfaceIds: {
- shape: "S5",
- locationName: "networkInterfaceIds",
- },
- RoleArn: { locationName: "roleArn" },
- SecurityGroupIds: {
- shape: "S5",
- locationName: "securityGroupIds",
- },
- SubnetId: { locationName: "subnetId" },
- },
- required: [
- "NetworkInterfaceIds",
- "SubnetId",
- "SecurityGroupIds",
- "RoleArn",
- "Name",
- ],
- },
- },
- Ss: {
- type: "list",
- member: {
- type: "structure",
- members: {
- DataTransferSubscriberFeePercent: {
- locationName: "dataTransferSubscriberFeePercent",
- type: "integer",
- },
- Description: { locationName: "description" },
- Encryption: { shape: "S6", locationName: "encryption" },
- Name: { locationName: "name" },
- Subscribers: { shape: "S5", locationName: "subscribers" },
- },
- required: ["Subscribers"],
- },
- },
- Su: {
- type: "structure",
- members: {
- RecoveryWindow: {
- locationName: "recoveryWindow",
- type: "integer",
- },
- State: { locationName: "state" },
- },
- },
- Sx: {
- type: "structure",
- members: {
- AvailabilityZone: { locationName: "availabilityZone" },
- Description: { locationName: "description" },
- EgressIp: { locationName: "egressIp" },
- Entitlements: { shape: "Sy", locationName: "entitlements" },
- FlowArn: { locationName: "flowArn" },
- Name: { locationName: "name" },
- Outputs: { shape: "Sc", locationName: "outputs" },
- Source: { shape: "Sk", locationName: "source" },
- SourceFailoverConfig: {
- shape: "Su",
- locationName: "sourceFailoverConfig",
- },
- Sources: { shape: "Sj", locationName: "sources" },
- Status: { locationName: "status" },
- VpcInterfaces: { shape: "Sp", locationName: "vpcInterfaces" },
- },
- required: [
- "Status",
- "Entitlements",
- "Outputs",
- "AvailabilityZone",
- "FlowArn",
- "Source",
- "Name",
- ],
- },
- Sy: { type: "list", member: { shape: "Sz" } },
- Sz: {
- type: "structure",
- members: {
- DataTransferSubscriberFeePercent: {
- locationName: "dataTransferSubscriberFeePercent",
- type: "integer",
- },
- Description: { locationName: "description" },
- Encryption: { shape: "S6", locationName: "encryption" },
- EntitlementArn: { locationName: "entitlementArn" },
- Name: { locationName: "name" },
- Subscribers: { shape: "S5", locationName: "subscribers" },
- },
- required: ["EntitlementArn", "Subscribers", "Name"],
- },
- S1k: { type: "map", key: {}, value: {} },
- S23: {
- type: "structure",
- members: {
- Algorithm: { locationName: "algorithm" },
- ConstantInitializationVector: {
- locationName: "constantInitializationVector",
- },
- DeviceId: { locationName: "deviceId" },
- KeyType: { locationName: "keyType" },
- Region: { locationName: "region" },
- ResourceId: { locationName: "resourceId" },
- RoleArn: { locationName: "roleArn" },
- SecretArn: { locationName: "secretArn" },
- Url: { locationName: "url" },
- },
- },
- },
- };
-
- /***/
- },
-
- /***/ 4612: /***/ function (module, __unusedexports, __webpack_require__) {
- __webpack_require__(3234);
- var AWS = __webpack_require__(395);
- 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__(3881);
- model.paginators = __webpack_require__(682).pagination;
- return model;
- },
- enumerable: true,
- configurable: true,
- });
-
- module.exports = AWS.SSO;
-
- /***/
- },
-
- /***/ 4618: /***/ function (module, __unusedexports, __webpack_require__) {
- var util = __webpack_require__(153);
- var populateHostPrefix = __webpack_require__(904).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,
- };
-
- /***/
- },
-
- /***/ 4621: /***/ function (module, __unusedexports, __webpack_require__) {
- "use strict";
-
- const path = __webpack_require__(5622);
- const pathKey = __webpack_require__(1039);
-
- module.exports = (opts) => {
- opts = Object.assign(
- {
- cwd: process.cwd(),
- path: process.env[pathKey()],
- },
- opts
- );
-
- let prev;
- let pth = path.resolve(opts.cwd);
- const ret = [];
-
- while (prev !== pth) {
- ret.push(path.join(pth, "node_modules/.bin"));
- prev = pth;
- pth = path.resolve(pth, "..");
- }
-
- // ensure the running `node` binary is used
- ret.push(path.dirname(process.execPath));
-
- return ret.concat(opts.path).join(path.delimiter);
- };
-
- module.exports.env = (opts) => {
- opts = Object.assign(
- {
- env: process.env,
- },
- opts
- );
-
- const env = Object.assign({}, opts.env);
- const path = pathKey({ env });
-
- opts.path = env[path];
- env[path] = module.exports(opts);
-
- return env;
- };
-
- /***/
- },
-
- /***/ 4622: /***/ function (module) {
- module.exports = {
- version: "2.0",
- metadata: {
- apiVersion: "2015-06-23",
- endpointPrefix: "devicefarm",
- jsonVersion: "1.1",
- protocol: "json",
- serviceFullName: "AWS Device Farm",
- serviceId: "Device Farm",
- signatureVersion: "v4",
- targetPrefix: "DeviceFarm_20150623",
- uid: "devicefarm-2015-06-23",
- },
- operations: {
- CreateDevicePool: {
- input: {
- type: "structure",
- required: ["projectArn", "name", "rules"],
- members: {
- projectArn: {},
- name: {},
- description: {},
- rules: { shape: "S5" },
- maxDevices: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { devicePool: { shape: "Sc" } },
- },
- },
- CreateInstanceProfile: {
- input: {
- type: "structure",
- required: ["name"],
- members: {
- name: {},
- description: {},
- packageCleanup: { type: "boolean" },
- excludeAppPackagesFromCleanup: { shape: "Sg" },
- rebootAfterUse: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { instanceProfile: { shape: "Si" } },
- },
- },
- CreateNetworkProfile: {
- input: {
- type: "structure",
- required: ["projectArn", "name"],
- members: {
- projectArn: {},
- name: {},
- description: {},
- type: {},
- uplinkBandwidthBits: { type: "long" },
- downlinkBandwidthBits: { type: "long" },
- uplinkDelayMs: { type: "long" },
- downlinkDelayMs: { type: "long" },
- uplinkJitterMs: { type: "long" },
- downlinkJitterMs: { type: "long" },
- uplinkLossPercent: { type: "integer" },
- downlinkLossPercent: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { networkProfile: { shape: "So" } },
- },
- },
- CreateProject: {
- input: {
- type: "structure",
- required: ["name"],
- members: {
- name: {},
- defaultJobTimeoutMinutes: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { project: { shape: "Ss" } },
- },
- },
- CreateRemoteAccessSession: {
- input: {
- type: "structure",
- required: ["projectArn", "deviceArn"],
- members: {
- projectArn: {},
- deviceArn: {},
- instanceArn: {},
- sshPublicKey: {},
- remoteDebugEnabled: { type: "boolean" },
- remoteRecordEnabled: { type: "boolean" },
- remoteRecordAppArn: {},
- name: {},
- clientId: {},
- configuration: {
- type: "structure",
- members: {
- billingMethod: {},
- vpceConfigurationArns: { shape: "Sz" },
- },
- },
- interactionMode: {},
- skipAppResign: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { remoteAccessSession: { shape: "S12" } },
- },
- },
- CreateTestGridProject: {
- input: {
- type: "structure",
- required: ["name"],
- members: { name: {}, description: {} },
- },
- output: {
- type: "structure",
- members: { testGridProject: { shape: "S1n" } },
- },
- },
- CreateTestGridUrl: {
- input: {
- type: "structure",
- required: ["projectArn", "expiresInSeconds"],
- members: {
- projectArn: {},
- expiresInSeconds: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { url: {}, expires: { type: "timestamp" } },
- },
- },
- CreateUpload: {
- input: {
- type: "structure",
- required: ["projectArn", "name", "type"],
- members: { projectArn: {}, name: {}, type: {}, contentType: {} },
- },
- output: {
- type: "structure",
- members: { upload: { shape: "S1w" } },
- },
- },
- CreateVPCEConfiguration: {
- input: {
- type: "structure",
- required: [
- "vpceConfigurationName",
- "vpceServiceName",
- "serviceDnsName",
- ],
- members: {
- vpceConfigurationName: {},
- vpceServiceName: {},
- serviceDnsName: {},
- vpceConfigurationDescription: {},
- },
- },
- output: {
- type: "structure",
- members: { vpceConfiguration: { shape: "S27" } },
- },
- },
- DeleteDevicePool: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteInstanceProfile: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteNetworkProfile: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteProject: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteRemoteAccessSession: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteRun: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteTestGridProject: {
- input: {
- type: "structure",
- required: ["projectArn"],
- members: { projectArn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteUpload: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: {} },
- },
- DeleteVPCEConfiguration: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: {} },
- },
- GetAccountSettings: {
- input: { type: "structure", members: {} },
- output: {
- type: "structure",
- members: {
- accountSettings: {
- type: "structure",
- members: {
- awsAccountNumber: {},
- unmeteredDevices: { shape: "S2u" },
- unmeteredRemoteAccessDevices: { shape: "S2u" },
- maxJobTimeoutMinutes: { type: "integer" },
- trialMinutes: {
- type: "structure",
- members: {
- total: { type: "double" },
- remaining: { type: "double" },
- },
- },
- maxSlots: {
- type: "map",
- key: {},
- value: { type: "integer" },
- },
- defaultJobTimeoutMinutes: { type: "integer" },
- skipAppResign: { type: "boolean" },
- },
- },
- },
- },
- },
- GetDevice: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: {
- type: "structure",
- members: { device: { shape: "S15" } },
- },
- },
- GetDeviceInstance: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: {
- type: "structure",
- members: { deviceInstance: { shape: "S1c" } },
- },
- },
- GetDevicePool: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: {
- type: "structure",
- members: { devicePool: { shape: "Sc" } },
- },
- },
- GetDevicePoolCompatibility: {
- input: {
- type: "structure",
- required: ["devicePoolArn"],
- members: {
- devicePoolArn: {},
- appArn: {},
- testType: {},
- test: { shape: "S35" },
- configuration: { shape: "S38" },
- },
- },
- output: {
- type: "structure",
- members: {
- compatibleDevices: { shape: "S3g" },
- incompatibleDevices: { shape: "S3g" },
- },
- },
- },
- GetInstanceProfile: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: {
- type: "structure",
- members: { instanceProfile: { shape: "Si" } },
- },
- },
- GetJob: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: { job: { shape: "S3o" } } },
- },
- GetNetworkProfile: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: {
- type: "structure",
- members: { networkProfile: { shape: "So" } },
- },
- },
- GetOfferingStatus: {
- input: { type: "structure", members: { nextToken: {} } },
- output: {
- type: "structure",
- members: {
- current: { shape: "S3w" },
- nextPeriod: { shape: "S3w" },
- nextToken: {},
- },
- },
- },
- GetProject: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: {
- type: "structure",
- members: { project: { shape: "Ss" } },
- },
- },
- GetRemoteAccessSession: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: {
- type: "structure",
- members: { remoteAccessSession: { shape: "S12" } },
- },
- },
- GetRun: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: { run: { shape: "S4d" } } },
- },
- GetSuite: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: { suite: { shape: "S4m" } } },
- },
- GetTest: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: { test: { shape: "S4p" } } },
- },
- GetTestGridProject: {
- input: {
- type: "structure",
- required: ["projectArn"],
- members: { projectArn: {} },
- },
- output: {
- type: "structure",
- members: { testGridProject: { shape: "S1n" } },
- },
- },
- GetTestGridSession: {
- input: {
- type: "structure",
- members: { projectArn: {}, sessionId: {}, sessionArn: {} },
- },
- output: {
- type: "structure",
- members: { testGridSession: { shape: "S4v" } },
- },
- },
- GetUpload: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: {
- type: "structure",
- members: { upload: { shape: "S1w" } },
- },
- },
- GetVPCEConfiguration: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: {
- type: "structure",
- members: { vpceConfiguration: { shape: "S27" } },
- },
- },
- InstallToRemoteAccessSession: {
- input: {
- type: "structure",
- required: ["remoteAccessSessionArn", "appArn"],
- members: { remoteAccessSessionArn: {}, appArn: {} },
- },
- output: {
- type: "structure",
- members: { appUpload: { shape: "S1w" } },
- },
- },
- ListArtifacts: {
- input: {
- type: "structure",
- required: ["arn", "type"],
- members: { arn: {}, type: {}, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- artifacts: {
- type: "list",
- member: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- type: {},
- extension: {},
- url: {},
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListDeviceInstances: {
- input: {
- type: "structure",
- members: { maxResults: { type: "integer" }, nextToken: {} },
- },
- output: {
- type: "structure",
- members: { deviceInstances: { shape: "S1b" }, nextToken: {} },
- },
- },
- ListDevicePools: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {}, type: {}, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- devicePools: { type: "list", member: { shape: "Sc" } },
- nextToken: {},
- },
- },
- },
- ListDevices: {
- input: {
- type: "structure",
- members: { arn: {}, nextToken: {}, filters: { shape: "S4g" } },
- },
- output: {
- type: "structure",
- members: {
- devices: { type: "list", member: { shape: "S15" } },
- nextToken: {},
- },
- },
- },
- ListInstanceProfiles: {
- input: {
- type: "structure",
- members: { maxResults: { type: "integer" }, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- instanceProfiles: { type: "list", member: { shape: "Si" } },
- nextToken: {},
- },
- },
- },
- ListJobs: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {}, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- jobs: { type: "list", member: { shape: "S3o" } },
- nextToken: {},
- },
- },
- },
- ListNetworkProfiles: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {}, type: {}, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- networkProfiles: { type: "list", member: { shape: "So" } },
- nextToken: {},
- },
- },
- },
- ListOfferingPromotions: {
- input: { type: "structure", members: { nextToken: {} } },
- output: {
- type: "structure",
- members: {
- offeringPromotions: {
- type: "list",
- member: {
- type: "structure",
- members: { id: {}, description: {} },
- },
- },
- nextToken: {},
- },
- },
- },
- ListOfferingTransactions: {
- input: { type: "structure", members: { nextToken: {} } },
- output: {
- type: "structure",
- members: {
- offeringTransactions: {
- type: "list",
- member: { shape: "S5y" },
- },
- nextToken: {},
- },
- },
- },
- ListOfferings: {
- input: { type: "structure", members: { nextToken: {} } },
- output: {
- type: "structure",
- members: {
- offerings: { type: "list", member: { shape: "S40" } },
- nextToken: {},
- },
- },
- },
- ListProjects: {
- input: { type: "structure", members: { arn: {}, nextToken: {} } },
- output: {
- type: "structure",
- members: {
- projects: { type: "list", member: { shape: "Ss" } },
- nextToken: {},
- },
- },
- },
- ListRemoteAccessSessions: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {}, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- remoteAccessSessions: {
- type: "list",
- member: { shape: "S12" },
- },
- nextToken: {},
- },
- },
- },
- ListRuns: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {}, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- runs: { type: "list", member: { shape: "S4d" } },
- nextToken: {},
- },
- },
- },
- ListSamples: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {}, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- samples: {
- type: "list",
- member: {
- type: "structure",
- members: { arn: {}, type: {}, url: {} },
- },
- },
- nextToken: {},
- },
- },
- },
- ListSuites: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {}, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- suites: { type: "list", member: { shape: "S4m" } },
- nextToken: {},
- },
- },
- },
- ListTagsForResource: {
- input: {
- type: "structure",
- required: ["ResourceARN"],
- members: { ResourceARN: {} },
- },
- output: { type: "structure", members: { Tags: { shape: "S6m" } } },
- },
- ListTestGridProjects: {
- input: {
- type: "structure",
- members: { maxResult: { type: "integer" }, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- testGridProjects: { type: "list", member: { shape: "S1n" } },
- nextToken: {},
- },
- },
- },
- ListTestGridSessionActions: {
- input: {
- type: "structure",
- required: ["sessionArn"],
- members: {
- sessionArn: {},
- maxResult: { type: "integer" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- actions: {
- type: "list",
- member: {
- type: "structure",
- members: {
- action: {},
- started: { type: "timestamp" },
- duration: { type: "long" },
- statusCode: {},
- requestMethod: {},
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListTestGridSessionArtifacts: {
- input: {
- type: "structure",
- required: ["sessionArn"],
- members: {
- sessionArn: {},
- type: {},
- maxResult: { type: "integer" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- artifacts: {
- type: "list",
- member: {
- type: "structure",
- members: { filename: {}, type: {}, url: {} },
- },
- },
- nextToken: {},
- },
- },
- },
- ListTestGridSessions: {
- input: {
- type: "structure",
- required: ["projectArn"],
- members: {
- projectArn: {},
- status: {},
- creationTimeAfter: { type: "timestamp" },
- creationTimeBefore: { type: "timestamp" },
- endTimeAfter: { type: "timestamp" },
- endTimeBefore: { type: "timestamp" },
- maxResult: { type: "integer" },
- nextToken: {},
- },
- },
- output: {
- type: "structure",
- members: {
- testGridSessions: { type: "list", member: { shape: "S4v" } },
- nextToken: {},
- },
- },
- },
- ListTests: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {}, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- tests: { type: "list", member: { shape: "S4p" } },
- nextToken: {},
- },
- },
- },
- ListUniqueProblems: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {}, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- uniqueProblems: {
- type: "map",
- key: {},
- value: {
- type: "list",
- member: {
- type: "structure",
- members: {
- message: {},
- problems: {
- type: "list",
- member: {
- type: "structure",
- members: {
- run: { shape: "S7h" },
- job: { shape: "S7h" },
- suite: { shape: "S7h" },
- test: { shape: "S7h" },
- device: { shape: "S15" },
- result: {},
- message: {},
- },
- },
- },
- },
- },
- },
- },
- nextToken: {},
- },
- },
- },
- ListUploads: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {}, type: {}, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- uploads: { type: "list", member: { shape: "S1w" } },
- nextToken: {},
- },
- },
- },
- ListVPCEConfigurations: {
- input: {
- type: "structure",
- members: { maxResults: { type: "integer" }, nextToken: {} },
- },
- output: {
- type: "structure",
- members: {
- vpceConfigurations: { type: "list", member: { shape: "S27" } },
- nextToken: {},
- },
- },
- },
- PurchaseOffering: {
- input: {
- type: "structure",
- members: {
- offeringId: {},
- quantity: { type: "integer" },
- offeringPromotionId: {},
- },
- },
- output: {
- type: "structure",
- members: { offeringTransaction: { shape: "S5y" } },
- },
- },
- RenewOffering: {
- input: {
- type: "structure",
- members: { offeringId: {}, quantity: { type: "integer" } },
- },
- output: {
- type: "structure",
- members: { offeringTransaction: { shape: "S5y" } },
- },
- },
- ScheduleRun: {
- input: {
- type: "structure",
- required: ["projectArn", "test"],
- members: {
- projectArn: {},
- appArn: {},
- devicePoolArn: {},
- deviceSelectionConfiguration: {
- type: "structure",
- required: ["filters", "maxDevices"],
- members: {
- filters: { shape: "S4g" },
- maxDevices: { type: "integer" },
- },
- },
- name: {},
- test: { shape: "S35" },
- configuration: { shape: "S38" },
- executionConfiguration: {
- type: "structure",
- members: {
- jobTimeoutMinutes: { type: "integer" },
- accountsCleanup: { type: "boolean" },
- appPackagesCleanup: { type: "boolean" },
- videoCapture: { type: "boolean" },
- skipAppResign: { type: "boolean" },
- },
- },
- },
- },
- output: { type: "structure", members: { run: { shape: "S4d" } } },
- },
- StopJob: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: { job: { shape: "S3o" } } },
- },
- StopRemoteAccessSession: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: {
- type: "structure",
- members: { remoteAccessSession: { shape: "S12" } },
- },
- },
- StopRun: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {} },
- },
- output: { type: "structure", members: { run: { shape: "S4d" } } },
- },
- TagResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "Tags"],
- members: { ResourceARN: {}, Tags: { shape: "S6m" } },
- },
- output: { type: "structure", members: {} },
- },
- UntagResource: {
- input: {
- type: "structure",
- required: ["ResourceARN", "TagKeys"],
- members: {
- ResourceARN: {},
- TagKeys: { type: "list", member: {} },
- },
- },
- output: { type: "structure", members: {} },
- },
- UpdateDeviceInstance: {
- input: {
- type: "structure",
- required: ["arn"],
- members: { arn: {}, profileArn: {}, labels: { shape: "S1d" } },
- },
- output: {
- type: "structure",
- members: { deviceInstance: { shape: "S1c" } },
- },
- },
- UpdateDevicePool: {
- input: {
- type: "structure",
- required: ["arn"],
- members: {
- arn: {},
- name: {},
- description: {},
- rules: { shape: "S5" },
- maxDevices: { type: "integer" },
- clearMaxDevices: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { devicePool: { shape: "Sc" } },
- },
- },
- UpdateInstanceProfile: {
- input: {
- type: "structure",
- required: ["arn"],
- members: {
- arn: {},
- name: {},
- description: {},
- packageCleanup: { type: "boolean" },
- excludeAppPackagesFromCleanup: { shape: "Sg" },
- rebootAfterUse: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { instanceProfile: { shape: "Si" } },
- },
- },
- UpdateNetworkProfile: {
- input: {
- type: "structure",
- required: ["arn"],
- members: {
- arn: {},
- name: {},
- description: {},
- type: {},
- uplinkBandwidthBits: { type: "long" },
- downlinkBandwidthBits: { type: "long" },
- uplinkDelayMs: { type: "long" },
- downlinkDelayMs: { type: "long" },
- uplinkJitterMs: { type: "long" },
- downlinkJitterMs: { type: "long" },
- uplinkLossPercent: { type: "integer" },
- downlinkLossPercent: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { networkProfile: { shape: "So" } },
- },
- },
- UpdateProject: {
- input: {
- type: "structure",
- required: ["arn"],
- members: {
- arn: {},
- name: {},
- defaultJobTimeoutMinutes: { type: "integer" },
- },
- },
- output: {
- type: "structure",
- members: { project: { shape: "Ss" } },
- },
- },
- UpdateTestGridProject: {
- input: {
- type: "structure",
- required: ["projectArn"],
- members: { projectArn: {}, name: {}, description: {} },
- },
- output: {
- type: "structure",
- members: { testGridProject: { shape: "S1n" } },
- },
- },
- UpdateUpload: {
- input: {
- type: "structure",
- required: ["arn"],
- members: {
- arn: {},
- name: {},
- contentType: {},
- editContent: { type: "boolean" },
- },
- },
- output: {
- type: "structure",
- members: { upload: { shape: "S1w" } },
- },
- },
- UpdateVPCEConfiguration: {
- input: {
- type: "structure",
- required: ["arn"],
- members: {
- arn: {},
- vpceConfigurationName: {},
- vpceServiceName: {},
- serviceDnsName: {},
- vpceConfigurationDescription: {},
- },
- },
- output: {
- type: "structure",
- members: { vpceConfiguration: { shape: "S27" } },
- },
- },
- },
- shapes: {
- S5: {
- type: "list",
- member: {
- type: "structure",
- members: { attribute: {}, operator: {}, value: {} },
- },
- },
- Sc: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- description: {},
- type: {},
- rules: { shape: "S5" },
- maxDevices: { type: "integer" },
- },
- },
- Sg: { type: "list", member: {} },
- Si: {
- type: "structure",
- members: {
- arn: {},
- packageCleanup: { type: "boolean" },
- excludeAppPackagesFromCleanup: { shape: "Sg" },
- rebootAfterUse: { type: "boolean" },
- name: {},
- description: {},
- },
- },
- So: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- description: {},
- type: {},
- uplinkBandwidthBits: { type: "long" },
- downlinkBandwidthBits: { type: "long" },
- uplinkDelayMs: { type: "long" },
- downlinkDelayMs: { type: "long" },
- uplinkJitterMs: { type: "long" },
- downlinkJitterMs: { type: "long" },
- uplinkLossPercent: { type: "integer" },
- downlinkLossPercent: { type: "integer" },
- },
- },
- Ss: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- defaultJobTimeoutMinutes: { type: "integer" },
- created: { type: "timestamp" },
- },
- },
- Sz: { type: "list", member: {} },
- S12: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- created: { type: "timestamp" },
- status: {},
- result: {},
- message: {},
- started: { type: "timestamp" },
- stopped: { type: "timestamp" },
- device: { shape: "S15" },
- instanceArn: {},
- remoteDebugEnabled: { type: "boolean" },
- remoteRecordEnabled: { type: "boolean" },
- remoteRecordAppArn: {},
- hostAddress: {},
- clientId: {},
- billingMethod: {},
- deviceMinutes: { shape: "S1h" },
- endpoint: {},
- deviceUdid: {},
- interactionMode: {},
- skipAppResign: { type: "boolean" },
- },
- },
- S15: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- manufacturer: {},
- model: {},
- modelId: {},
- formFactor: {},
- platform: {},
- os: {},
- cpu: {
- type: "structure",
- members: {
- frequency: {},
- architecture: {},
- clock: { type: "double" },
- },
- },
- resolution: {
- type: "structure",
- members: {
- width: { type: "integer" },
- height: { type: "integer" },
- },
- },
- heapSize: { type: "long" },
- memory: { type: "long" },
- image: {},
- carrier: {},
- radio: {},
- remoteAccessEnabled: { type: "boolean" },
- remoteDebugEnabled: { type: "boolean" },
- fleetType: {},
- fleetName: {},
- instances: { shape: "S1b" },
- availability: {},
- },
- },
- S1b: { type: "list", member: { shape: "S1c" } },
- S1c: {
- type: "structure",
- members: {
- arn: {},
- deviceArn: {},
- labels: { shape: "S1d" },
- status: {},
- udid: {},
- instanceProfile: { shape: "Si" },
- },
- },
- S1d: { type: "list", member: {} },
- S1h: {
- type: "structure",
- members: {
- total: { type: "double" },
- metered: { type: "double" },
- unmetered: { type: "double" },
- },
- },
- S1n: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- description: {},
- created: { type: "timestamp" },
- },
- },
- S1w: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- created: { type: "timestamp" },
- type: {},
- status: {},
- url: {},
- metadata: {},
- contentType: {},
- message: {},
- category: {},
- },
- },
- S27: {
- type: "structure",
- members: {
- arn: {},
- vpceConfigurationName: {},
- vpceServiceName: {},
- serviceDnsName: {},
- vpceConfigurationDescription: {},
- },
- },
- S2u: { type: "map", key: {}, value: { type: "integer" } },
- S35: {
- type: "structure",
- required: ["type"],
- members: {
- type: {},
- testPackageArn: {},
- testSpecArn: {},
- filter: {},
- parameters: { type: "map", key: {}, value: {} },
- },
- },
- S38: {
- type: "structure",
- members: {
- extraDataPackageArn: {},
- networkProfileArn: {},
- locale: {},
- location: { shape: "S39" },
- vpceConfigurationArns: { shape: "Sz" },
- customerArtifactPaths: { shape: "S3a" },
- radios: { shape: "S3e" },
- auxiliaryApps: { shape: "Sz" },
- billingMethod: {},
- },
- },
- S39: {
- type: "structure",
- required: ["latitude", "longitude"],
- members: {
- latitude: { type: "double" },
- longitude: { type: "double" },
- },
- },
- S3a: {
- type: "structure",
- members: {
- iosPaths: { type: "list", member: {} },
- androidPaths: { type: "list", member: {} },
- deviceHostPaths: { type: "list", member: {} },
- },
- },
- S3e: {
- type: "structure",
- members: {
- wifi: { type: "boolean" },
- bluetooth: { type: "boolean" },
- nfc: { type: "boolean" },
- gps: { type: "boolean" },
- },
- },
- S3g: {
- type: "list",
- member: {
- type: "structure",
- members: {
- device: { shape: "S15" },
- compatible: { type: "boolean" },
- incompatibilityMessages: {
- type: "list",
- member: {
- type: "structure",
- members: { message: {}, type: {} },
- },
- },
- },
- },
- },
- S3o: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- type: {},
- created: { type: "timestamp" },
- status: {},
- result: {},
- started: { type: "timestamp" },
- stopped: { type: "timestamp" },
- counters: { shape: "S3p" },
- message: {},
- device: { shape: "S15" },
- instanceArn: {},
- deviceMinutes: { shape: "S1h" },
- videoEndpoint: {},
- videoCapture: { type: "boolean" },
- },
- },
- S3p: {
- type: "structure",
- members: {
- total: { type: "integer" },
- passed: { type: "integer" },
- failed: { type: "integer" },
- warned: { type: "integer" },
- errored: { type: "integer" },
- stopped: { type: "integer" },
- skipped: { type: "integer" },
- },
- },
- S3w: { type: "map", key: {}, value: { shape: "S3y" } },
- S3y: {
- type: "structure",
- members: {
- type: {},
- offering: { shape: "S40" },
- quantity: { type: "integer" },
- effectiveOn: { type: "timestamp" },
- },
- },
- S40: {
- type: "structure",
- members: {
- id: {},
- description: {},
- type: {},
- platform: {},
- recurringCharges: {
- type: "list",
- member: {
- type: "structure",
- members: { cost: { shape: "S44" }, frequency: {} },
- },
- },
- },
- },
- S44: {
- type: "structure",
- members: { amount: { type: "double" }, currencyCode: {} },
- },
- S4d: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- type: {},
- platform: {},
- created: { type: "timestamp" },
- status: {},
- result: {},
- started: { type: "timestamp" },
- stopped: { type: "timestamp" },
- counters: { shape: "S3p" },
- message: {},
- totalJobs: { type: "integer" },
- completedJobs: { type: "integer" },
- billingMethod: {},
- deviceMinutes: { shape: "S1h" },
- networkProfile: { shape: "So" },
- parsingResultUrl: {},
- resultCode: {},
- seed: { type: "integer" },
- appUpload: {},
- eventCount: { type: "integer" },
- jobTimeoutMinutes: { type: "integer" },
- devicePoolArn: {},
- locale: {},
- radios: { shape: "S3e" },
- location: { shape: "S39" },
- customerArtifactPaths: { shape: "S3a" },
- webUrl: {},
- skipAppResign: { type: "boolean" },
- testSpecArn: {},
- deviceSelectionResult: {
- type: "structure",
- members: {
- filters: { shape: "S4g" },
- matchedDevicesCount: { type: "integer" },
- maxDevices: { type: "integer" },
- },
- },
- },
- },
- S4g: {
- type: "list",
- member: {
- type: "structure",
- members: {
- attribute: {},
- operator: {},
- values: { type: "list", member: {} },
- },
- },
- },
- S4m: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- type: {},
- created: { type: "timestamp" },
- status: {},
- result: {},
- started: { type: "timestamp" },
- stopped: { type: "timestamp" },
- counters: { shape: "S3p" },
- message: {},
- deviceMinutes: { shape: "S1h" },
- },
- },
- S4p: {
- type: "structure",
- members: {
- arn: {},
- name: {},
- type: {},
- created: { type: "timestamp" },
- status: {},
- result: {},
- started: { type: "timestamp" },
- stopped: { type: "timestamp" },
- counters: { shape: "S3p" },
- message: {},
- deviceMinutes: { shape: "S1h" },
- },
- },
- S4v: {
- type: "structure",
- members: {
- arn: {},
- status: {},
- created: { type: "timestamp" },
- ended: { type: "timestamp" },
- billingMinutes: { type: "double" },
- seleniumProperties: {},
- },
- },
- S5y: {
- type: "structure",
- members: {
- offeringStatus: { shape: "S3y" },
- transactionId: {},
- offeringPromotionId: {},
- createdOn: { type: "timestamp" },
- cost: { shape: "S44" },
- },
- },
- S6m: {
- type: "list",
- member: {
- type: "structure",
- required: ["Key", "Value"],
- members: { Key: {}, Value: {} },
- },
- },
- S7h: { type: "structure", members: { arn: {}, name: {} } },
- },
- };
-
- /***/
- },
-
- /***/ 4645: /***/ function (__unusedmodule, exports, __webpack_require__) {
- (function (sax) {
- // wrapper for non-node envs
- sax.parser = function (strict, opt) {
- return new SAXParser(strict, opt);
- };
- sax.SAXParser = SAXParser;
- sax.SAXStream = SAXStream;
- sax.createStream = createStream;
-
- // When we pass the MAX_BUFFER_LENGTH position, start checking for buffer overruns.
- // When we check, schedule the next check for MAX_BUFFER_LENGTH - (max(buffer lengths)),
- // since that's the earliest that a buffer overrun could occur. This way, checks are
- // as rare as required, but as often as necessary to ensure never crossing this bound.
- // Furthermore, buffers are only tested at most once per write(), so passing a very
- // large string into write() might have undesirable effects, but this is manageable by
- // the caller, so it is assumed to be safe. Thus, a call to write() may, in the extreme
- // edge case, result in creating at most one complete copy of the string passed in.
- // Set to Infinity to have unlimited buffers.
- sax.MAX_BUFFER_LENGTH = 64 * 1024;
-
- var buffers = [
- "comment",
- "sgmlDecl",
- "textNode",
- "tagName",
- "doctype",
- "procInstName",
- "procInstBody",
- "entity",
- "attribName",
- "attribValue",
- "cdata",
- "script",
- ];
-
- sax.EVENTS = [
- "text",
- "processinginstruction",
- "sgmldeclaration",
- "doctype",
- "comment",
- "opentagstart",
- "attribute",
- "opentag",
- "closetag",
- "opencdata",
- "cdata",
- "closecdata",
- "error",
- "end",
- "ready",
- "script",
- "opennamespace",
- "closenamespace",
- ];
-
- function SAXParser(strict, opt) {
- if (!(this instanceof SAXParser)) {
- return new SAXParser(strict, opt);
- }
-
- var parser = this;
- clearBuffers(parser);
- parser.q = parser.c = "";
- parser.bufferCheckPosition = sax.MAX_BUFFER_LENGTH;
- parser.opt = opt || {};
- parser.opt.lowercase =
- parser.opt.lowercase || parser.opt.lowercasetags;
- parser.looseCase = parser.opt.lowercase
- ? "toLowerCase"
- : "toUpperCase";
- parser.tags = [];
- parser.closed = parser.closedRoot = parser.sawRoot = false;
- parser.tag = parser.error = null;
- parser.strict = !!strict;
- parser.noscript = !!(strict || parser.opt.noscript);
- parser.state = S.BEGIN;
- parser.strictEntities = parser.opt.strictEntities;
- parser.ENTITIES = parser.strictEntities
- ? Object.create(sax.XML_ENTITIES)
- : Object.create(sax.ENTITIES);
- parser.attribList = [];
-
- // namespaces form a prototype chain.
- // it always points at the current tag,
- // which protos to its parent tag.
- if (parser.opt.xmlns) {
- parser.ns = Object.create(rootNS);
- }
-
- // mostly just for error reporting
- parser.trackPosition = parser.opt.position !== false;
- if (parser.trackPosition) {
- parser.position = parser.line = parser.column = 0;
- }
- emit(parser, "onready");
- }
-
- if (!Object.create) {
- Object.create = function (o) {
- function F() {}
- F.prototype = o;
- var newf = new F();
- return newf;
- };
- }
-
- if (!Object.keys) {
- Object.keys = function (o) {
- var a = [];
- for (var i in o) if (o.hasOwnProperty(i)) a.push(i);
- return a;
- };
- }
-
- function checkBufferLength(parser) {
- var maxAllowed = Math.max(sax.MAX_BUFFER_LENGTH, 10);
- var maxActual = 0;
- for (var i = 0, l = buffers.length; i < l; i++) {
- var len = parser[buffers[i]].length;
- if (len > maxAllowed) {
- // Text/cdata nodes can get big, and since they're buffered,
- // we can get here under normal conditions.
- // Avoid issues by emitting the text node now,
- // so at least it won't get any bigger.
- switch (buffers[i]) {
- case "textNode":
- closeText(parser);
- break;
-
- case "cdata":
- emitNode(parser, "oncdata", parser.cdata);
- parser.cdata = "";
- break;
-
- case "script":
- emitNode(parser, "onscript", parser.script);
- parser.script = "";
- break;
-
- default:
- error(parser, "Max buffer length exceeded: " + buffers[i]);
- }
- }
- maxActual = Math.max(maxActual, len);
- }
- // schedule the next check for the earliest possible buffer overrun.
- var m = sax.MAX_BUFFER_LENGTH - maxActual;
- parser.bufferCheckPosition = m + parser.position;
- }
-
- function clearBuffers(parser) {
- for (var i = 0, l = buffers.length; i < l; i++) {
- parser[buffers[i]] = "";
- }
- }
-
- function flushBuffers(parser) {
- closeText(parser);
- if (parser.cdata !== "") {
- emitNode(parser, "oncdata", parser.cdata);
- parser.cdata = "";
- }
- if (parser.script !== "") {
- emitNode(parser, "onscript", parser.script);
- parser.script = "";
- }
- }
-
- SAXParser.prototype = {
- end: function () {
- end(this);
- },
- write: write,
- resume: function () {
- this.error = null;
- return this;
- },
- close: function () {
- return this.write(null);
- },
- flush: function () {
- flushBuffers(this);
- },
- };
-
- var Stream;
- try {
- Stream = __webpack_require__(2413).Stream;
- } catch (ex) {
- Stream = function () {};
- }
-
- var streamWraps = sax.EVENTS.filter(function (ev) {
- return ev !== "error" && ev !== "end";
- });
-
- function createStream(strict, opt) {
- return new SAXStream(strict, opt);
- }
-
- function SAXStream(strict, opt) {
- if (!(this instanceof SAXStream)) {
- return new SAXStream(strict, opt);
- }
-
- Stream.apply(this);
-
- this._parser = new SAXParser(strict, opt);
- this.writable = true;
- this.readable = true;
-
- var me = this;
-
- this._parser.onend = function () {
- me.emit("end");
- };
-
- this._parser.onerror = function (er) {
- me.emit("error", er);
-
- // if didn't throw, then means error was handled.
- // go ahead and clear error, so we can write again.
- me._parser.error = null;
- };
-
- this._decoder = null;
-
- streamWraps.forEach(function (ev) {
- Object.defineProperty(me, "on" + ev, {
- get: function () {
- return me._parser["on" + ev];
- },
- set: function (h) {
- if (!h) {
- me.removeAllListeners(ev);
- me._parser["on" + ev] = h;
- return h;
- }
- me.on(ev, h);
- },
- enumerable: true,
- configurable: false,
- });
- });
- }
-
- SAXStream.prototype = Object.create(Stream.prototype, {
- constructor: {
- value: SAXStream,
- },
- });
-
- SAXStream.prototype.write = function (data) {
- if (
- typeof Buffer === "function" &&
- typeof Buffer.isBuffer === "function" &&
- Buffer.isBuffer(data)
- ) {
- if (!this._decoder) {
- var SD = __webpack_require__(4304).StringDecoder;
- this._decoder = new SD("utf8");
- }
- data = this._decoder.write(data);
- }
-
- this._parser.write(data.toString());
- this.emit("data", data);
- return true;
- };
-
- SAXStream.prototype.end = function (chunk) {
- if (chunk && chunk.length) {
- this.write(chunk);
- }
- this._parser.end();
- return true;
- };
-
- SAXStream.prototype.on = function (ev, handler) {
- var me = this;
- if (!me._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) {
- me._parser["on" + ev] = function () {
- var args =
- arguments.length === 1
- ? [arguments[0]]
- : Array.apply(null, arguments);
- args.splice(0, 0, ev);
- me.emit.apply(me, args);
- };
- }
-
- return Stream.prototype.on.call(me, ev, handler);
- };
-
- // character classes and tokens
- var whitespace = "\r\n\t ";
-
- // this really needs to be replaced with character classes.
- // XML allows all manner of ridiculous numbers and digits.
- var number = "0124356789";
- var letter = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
-
- // (Letter | "_" | ":")
- var quote = "'\"";
- var attribEnd = whitespace + ">";
- var CDATA = "[CDATA[";
- var DOCTYPE = "DOCTYPE";
- var XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace";
- var XMLNS_NAMESPACE = "http://www.w3.org/2000/xmlns/";
- var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE };
-
- // turn all the string character sets into character class objects.
- whitespace = charClass(whitespace);
- number = charClass(number);
- letter = charClass(letter);
-
- // http://www.w3.org/TR/REC-xml/#NT-NameStartChar
- // This implementation works on strings, a single character at a time
- // as such, it cannot ever support astral-plane characters (10000-EFFFF)
- // without a significant breaking change to either this parser, or the
- // JavaScript language. Implementation of an emoji-capable xml parser
- // is left as an exercise for the reader.
- var nameStart = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;
-
- var nameBody = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/;
-
- var entityStart = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;
- var entityBody = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/;
-
- quote = charClass(quote);
- attribEnd = charClass(attribEnd);
-
- function charClass(str) {
- return str.split("").reduce(function (s, c) {
- s[c] = true;
- return s;
- }, {});
- }
-
- function isRegExp(c) {
- return Object.prototype.toString.call(c) === "[object RegExp]";
- }
-
- function is(charclass, c) {
- return isRegExp(charclass) ? !!c.match(charclass) : charclass[c];
- }
-
- function not(charclass, c) {
- return !is(charclass, c);
- }
-
- var S = 0;
- sax.STATE = {
- BEGIN: S++, // leading byte order mark or whitespace
- BEGIN_WHITESPACE: S++, // leading whitespace
- TEXT: S++, // general stuff
- TEXT_ENTITY: S++, // & and such.
- OPEN_WAKA: S++, // <
- SGML_DECL: S++, //
- SCRIPT: S++, //