@aws-sdk/client-kinesis-video-media 3.33.0 → 3.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/cjs/package.json +38 -38
- package/dist/es/KinesisVideoMedia.js +1 -4
- package/dist/es/KinesisVideoMedia.js.map +1 -1
- package/dist/es/KinesisVideoMediaClient.js +1 -9
- package/dist/es/KinesisVideoMediaClient.js.map +1 -1
- package/dist/es/commands/GetMediaCommand.js +2 -72
- package/dist/es/commands/GetMediaCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -27
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +38 -38
- package/dist/es/protocols/Aws_restJson1.js +37 -42
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/package.json +38 -38
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +4 -5
- package/tsconfig.types.json +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-kinesis-video-media
|
package/dist/cjs/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis-video-media",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Video Media Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.34.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"
|
|
7
|
-
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
8
|
-
"remove-definitions": "rimraf ./types",
|
|
9
|
-
"remove-dist": "rimraf ./dist",
|
|
10
|
-
"remove-documentation": "rimraf ./docs",
|
|
11
|
-
"test": "exit 0",
|
|
6
|
+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
12
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
+
"build:docs": "yarn clean:docs && typedoc ./",
|
|
13
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
14
|
-
"build": "
|
|
15
|
-
"
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
+
"clean:dist": "rimraf ./dist",
|
|
13
|
+
"clean:docs": "rimraf ./docs",
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
|
|
15
|
+
"test": "exit 0"
|
|
16
16
|
},
|
|
17
17
|
"main": "./dist/cjs/index.js",
|
|
18
18
|
"types": "./dist/types/index.d.ts",
|
|
@@ -27,38 +27,38 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.34.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.34.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.34.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.34.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.34.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.34.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.34.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.34.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.34.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.34.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.34.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.34.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.34.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.34.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.34.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.34.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.34.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.34.0",
|
|
48
|
+
"@aws-sdk/types": "3.34.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.34.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.34.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.34.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.34.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.34.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.34.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.34.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.34.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.34.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.34.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { KinesisVideoMediaClient } from "./KinesisVideoMediaClient";
|
|
3
3
|
import { GetMediaCommand } from "./commands/GetMediaCommand";
|
|
4
|
-
|
|
5
|
-
* <p></p>
|
|
6
|
-
*/
|
|
7
|
-
var KinesisVideoMedia = /** @class */ (function (_super) {
|
|
4
|
+
var KinesisVideoMedia = (function (_super) {
|
|
8
5
|
__extends(KinesisVideoMedia, _super);
|
|
9
6
|
function KinesisVideoMedia() {
|
|
10
7
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KinesisVideoMedia.js","sourceRoot":"","sources":["../../KinesisVideoMedia.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,eAAe,EAA+C,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"KinesisVideoMedia.js","sourceRoot":"","sources":["../../KinesisVideoMedia.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,eAAe,EAA+C,MAAM,4BAA4B,CAAC;AAM1G;IAAuC,qCAAuB;IAA9D;;IAuEA,CAAC;IAfQ,oCAAQ,GAAf,UACE,IAA0B,EAC1B,WAAuF,EACvF,EAAqD;QAErD,IAAM,OAAO,GAAG,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC;QAC1C,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACjC;aAAM,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,IAAI,OAAO,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,iCAA+B,OAAO,WAAa,CAAC,CAAC;YAC1G,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACxC;IACH,CAAC;IACH,wBAAC;AAAD,CAAC,AAvED,CAAuC,uBAAuB,GAuE7D"}
|
|
@@ -8,10 +8,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
-
|
|
12
|
-
* <p></p>
|
|
13
|
-
*/
|
|
14
|
-
var KinesisVideoMediaClient = /** @class */ (function (_super) {
|
|
11
|
+
var KinesisVideoMediaClient = (function (_super) {
|
|
15
12
|
__extends(KinesisVideoMediaClient, _super);
|
|
16
13
|
function KinesisVideoMediaClient(configuration) {
|
|
17
14
|
var _this = this;
|
|
@@ -32,11 +29,6 @@ var KinesisVideoMediaClient = /** @class */ (function (_super) {
|
|
|
32
29
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
33
30
|
return _this;
|
|
34
31
|
}
|
|
35
|
-
/**
|
|
36
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
37
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
38
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
39
|
-
*/
|
|
40
32
|
KinesisVideoMediaClient.prototype.destroy = function () {
|
|
41
33
|
_super.prototype.destroy.call(this);
|
|
42
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KinesisVideoMediaClient.js","sourceRoot":"","sources":["../../KinesisVideoMediaClient.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,IAAI,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAKL,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAGL,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAyC,cAAc,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACtH,OAAO,EAGL,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,MAAM,IAAI,QAAQ,GAGnB,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"KinesisVideoMediaClient.js","sourceRoot":"","sources":["../../KinesisVideoMediaClient.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,IAAI,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAKL,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAGL,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAyC,cAAc,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACtH,OAAO,EAGL,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,MAAM,IAAI,QAAQ,GAGn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,GAqCpD"}
|
|
@@ -3,83 +3,13 @@ import { GetMediaInput, GetMediaOutput } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1GetMediaCommand, serializeAws_restJson1GetMediaCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p> Use this API to retrieve media content from a Kinesis video stream. In the request,
|
|
8
|
-
* you identify the stream name or stream Amazon Resource Name (ARN), and the starting chunk.
|
|
9
|
-
* Kinesis Video Streams then returns a stream of chunks in order by fragment number.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>You must first call the <code>GetDataEndpoint</code> API to get an endpoint. Then
|
|
12
|
-
* send the <code>GetMedia</code> requests to this endpoint using the <a href="https://docs.aws.amazon.com/cli/latest/reference/">--endpoint-url parameter</a>.
|
|
13
|
-
* </p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>When you put media data (fragments) on a stream, Kinesis Video Streams stores each
|
|
16
|
-
* incoming fragment and related metadata in what is called a "chunk." For more information, see
|
|
17
|
-
* <a href="https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_dataplane_PutMedia.html">PutMedia</a>. The <code>GetMedia</code> API returns a stream of these chunks starting
|
|
18
|
-
* from the chunk that you specify in the request. </p>
|
|
19
|
-
* <p>The following limits apply when using the <code>GetMedia</code> API:</p>
|
|
20
|
-
* <ul>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>A client can call <code>GetMedia</code> up to five times per second per stream.
|
|
23
|
-
* </p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>Kinesis Video Streams sends media data at a rate of up to 25 megabytes per second
|
|
27
|
-
* (or 200 megabits per second) during a <code>GetMedia</code> session. </p>
|
|
28
|
-
* </li>
|
|
29
|
-
* </ul>
|
|
30
|
-
*
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>If an error is thrown after invoking a Kinesis Video Streams media API, in addition to
|
|
33
|
-
* the HTTP status code and the response body, it includes the following pieces of information: </p>
|
|
34
|
-
* <ul>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>
|
|
37
|
-
* <code>x-amz-ErrorType</code> HTTP header – contains a more specific error type in
|
|
38
|
-
* addition to what the HTTP status code provides. </p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>
|
|
42
|
-
* <code>x-amz-RequestId</code> HTTP header – if you want to report an issue to AWS,
|
|
43
|
-
* the support team can better diagnose the problem if given the Request Id.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* </ul>
|
|
46
|
-
* <p>Both the HTTP status code and the ErrorType header can be utilized to make programmatic
|
|
47
|
-
* decisions about whether errors are retry-able and under what conditions, as well as provide
|
|
48
|
-
* information on what actions the client programmer might need to take in order to
|
|
49
|
-
* successfully try again.</p>
|
|
50
|
-
* <p>For more information, see the <b>Errors</b> section at the
|
|
51
|
-
* bottom of this topic, as well as <a href="https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/CommonErrors.html">Common Errors</a>. </p>
|
|
52
|
-
* </note>
|
|
53
|
-
* @example
|
|
54
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
55
|
-
* ```javascript
|
|
56
|
-
* import { KinesisVideoMediaClient, GetMediaCommand } from "@aws-sdk/client-kinesis-video-media"; // ES Modules import
|
|
57
|
-
* // const { KinesisVideoMediaClient, GetMediaCommand } = require("@aws-sdk/client-kinesis-video-media"); // CommonJS import
|
|
58
|
-
* const client = new KinesisVideoMediaClient(config);
|
|
59
|
-
* const command = new GetMediaCommand(input);
|
|
60
|
-
* const response = await client.send(command);
|
|
61
|
-
* ```
|
|
62
|
-
*
|
|
63
|
-
* @see {@link GetMediaCommandInput} for command's `input` shape.
|
|
64
|
-
* @see {@link GetMediaCommandOutput} for command's `response` shape.
|
|
65
|
-
* @see {@link KinesisVideoMediaClientResolvedConfig | config} for command's `input` shape.
|
|
66
|
-
*
|
|
67
|
-
*/
|
|
68
|
-
var GetMediaCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetMediaCommand = (function (_super) {
|
|
69
7
|
__extends(GetMediaCommand, _super);
|
|
70
|
-
// Start section: command_properties
|
|
71
|
-
// End section: command_properties
|
|
72
8
|
function GetMediaCommand(input) {
|
|
73
|
-
var _this =
|
|
74
|
-
// Start section: command_constructor
|
|
75
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
76
10
|
_this.input = input;
|
|
77
11
|
return _this;
|
|
78
|
-
// End section: command_constructor
|
|
79
12
|
}
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
13
|
GetMediaCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
84
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
85
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetMediaCommand.js","sourceRoot":"","sources":["../../../commands/GetMediaCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetMediaCommand.js","sourceRoot":"","sources":["../../../commands/GetMediaCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OA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DD,CAAqC,QAAQ,GAsD5C"}
|
package/dist/es/endpoints.js
CHANGED
|
@@ -47,7 +47,7 @@ var partitionHash = {
|
|
|
47
47
|
};
|
|
48
48
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
49
|
return __generator(this, function (_a) {
|
|
50
|
-
return [2
|
|
50
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "kinesisvideo", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
51
51
|
});
|
|
52
52
|
}); };
|
|
53
53
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe,EAAE,CAAC;AAElC,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,qCAAqC;KAChD;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,wCAAwC;KACnD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,kCAAkC;KAC7C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,qCAAqC;KAChD;IACD,YAAY,EAAE;Q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AA,IACb,EAAA;;KAAA,CAAC"}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
export var ClientLimitExceededException;
|
|
3
3
|
(function (ClientLimitExceededException) {
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
4
|
ClientLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
8
5
|
})(ClientLimitExceededException || (ClientLimitExceededException = {}));
|
|
9
6
|
export var ConnectionLimitExceededException;
|
|
10
7
|
(function (ConnectionLimitExceededException) {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
8
|
ConnectionLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
15
9
|
})(ConnectionLimitExceededException || (ConnectionLimitExceededException = {}));
|
|
16
10
|
export var StartSelectorType;
|
|
@@ -24,51 +18,30 @@ export var StartSelectorType;
|
|
|
24
18
|
})(StartSelectorType || (StartSelectorType = {}));
|
|
25
19
|
export var StartSelector;
|
|
26
20
|
(function (StartSelector) {
|
|
27
|
-
/**
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
30
21
|
StartSelector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
31
22
|
})(StartSelector || (StartSelector = {}));
|
|
32
23
|
export var GetMediaInput;
|
|
33
24
|
(function (GetMediaInput) {
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
25
|
GetMediaInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
38
26
|
})(GetMediaInput || (GetMediaInput = {}));
|
|
39
27
|
export var GetMediaOutput;
|
|
40
28
|
(function (GetMediaOutput) {
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
29
|
GetMediaOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
30
|
})(GetMediaOutput || (GetMediaOutput = {}));
|
|
46
31
|
export var InvalidArgumentException;
|
|
47
32
|
(function (InvalidArgumentException) {
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
33
|
InvalidArgumentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
52
34
|
})(InvalidArgumentException || (InvalidArgumentException = {}));
|
|
53
35
|
export var InvalidEndpointException;
|
|
54
36
|
(function (InvalidEndpointException) {
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
37
|
InvalidEndpointException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
59
38
|
})(InvalidEndpointException || (InvalidEndpointException = {}));
|
|
60
39
|
export var NotAuthorizedException;
|
|
61
40
|
(function (NotAuthorizedException) {
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
41
|
NotAuthorizedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
66
42
|
})(NotAuthorizedException || (NotAuthorizedException = {}));
|
|
67
43
|
export var ResourceNotFoundException;
|
|
68
44
|
(function (ResourceNotFoundException) {
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
45
|
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
73
46
|
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
74
47
|
//# sourceMappingURL=models_0.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models_0.js","sourceRoot":"","sources":["../../../models/models_0.ts"],"names":[],"mappings":";AAaA,MAAM,KAAW,4BAA4B,CAO5C;AAPD,WAAiB,4BAA4B;
|
|
1
|
+
{"version":3,"file":"models_0.js","sourceRoot":"","sources":["../../../models/models_0.ts"],"names":[],"mappings":";AAaA,MAAM,KAAW,4BAA4B,CAO5C;AAPD,WAAiB,4BAA4B;IAI9B,+CAAkB,GAAG,UAAC,GAAiC,IAAU,OAAA,cACzE,GAAG,EAC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AwB,CAOxC;AAPD,WAAiB,wBAAwB;IAI1B,2CAAkB,GAAG,UAAC,GAA6B,IAAU,OAAA,cACrE,GAAG,EACN,EAFwE,CAExE,CAAC;AACL,CAAC,EAPgB,wBAAwB,KAAxB,wBAAwB,QAOxC;AAYD,MAAM,KAAW,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IAIxB,yCAAkB,GAAG,UAAC,GAA2B,IAAU,OAAA,cACnE,GAAG,EACN,EAFsE,CAEtE,CAAC;AACL,CAAC,EAPgB,sBAAsB,KAAtB,sBAAsB,QAOtC;AAWD,MAAM,KAAW,yBAAyB,CAOzC;AAPD,WAAiB,yBAAyB;IAI3B,4CAAkB,GAAG,UAAC,GAA8B,IAAU,OAAA,cACtE,GAAG,EACN,EAFyE,CAEzE,CAAC;AACL,CAAC,EAPgB,yBAAyB,KAAzB,yBAAyB,QAOzC"}
|
package/dist/es/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis-video-media",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Video Media Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.34.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"
|
|
7
|
-
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
8
|
-
"remove-definitions": "rimraf ./types",
|
|
9
|
-
"remove-dist": "rimraf ./dist",
|
|
10
|
-
"remove-documentation": "rimraf ./docs",
|
|
11
|
-
"test": "exit 0",
|
|
6
|
+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
12
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
+
"build:docs": "yarn clean:docs && typedoc ./",
|
|
13
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
14
|
-
"build": "
|
|
15
|
-
"
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
+
"clean:dist": "rimraf ./dist",
|
|
13
|
+
"clean:docs": "rimraf ./docs",
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
|
|
15
|
+
"test": "exit 0"
|
|
16
16
|
},
|
|
17
17
|
"main": "./dist/cjs/index.js",
|
|
18
18
|
"types": "./dist/types/index.d.ts",
|
|
@@ -27,38 +27,38 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.34.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.34.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.34.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.34.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.34.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.34.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.34.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.34.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.34.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.34.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.34.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.34.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.34.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.34.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.34.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.34.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.34.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.34.0",
|
|
48
|
+
"@aws-sdk/types": "3.34.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.34.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.34.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.34.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.34.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.34.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.34.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.34.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.34.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.34.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.34.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
@@ -5,7 +5,7 @@ export var serializeAws_restJson1GetMediaCommand = function (input, context) { r
|
|
|
5
5
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
6
6
|
return __generator(this, function (_c) {
|
|
7
7
|
switch (_c.label) {
|
|
8
|
-
case 0: return [4
|
|
8
|
+
case 0: return [4, context.endpoint()];
|
|
9
9
|
case 1:
|
|
10
10
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
11
11
|
headers = {
|
|
@@ -16,7 +16,7 @@ export var serializeAws_restJson1GetMediaCommand = function (input, context) { r
|
|
|
16
16
|
input.StartSelector !== null && {
|
|
17
17
|
StartSelector: serializeAws_restJson1StartSelector(input.StartSelector, context),
|
|
18
18
|
})), (input.StreamARN !== undefined && input.StreamARN !== null && { StreamARN: input.StreamARN })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName })));
|
|
19
|
-
return [2
|
|
19
|
+
return [2, new __HttpRequest({
|
|
20
20
|
protocol: protocol,
|
|
21
21
|
hostname: hostname,
|
|
22
22
|
port: port,
|
|
@@ -32,7 +32,7 @@ export var deserializeAws_restJson1GetMediaCommand = function (output, context)
|
|
|
32
32
|
var contents, data;
|
|
33
33
|
return __generator(this, function (_a) {
|
|
34
34
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
35
|
-
return [2
|
|
35
|
+
return [2, deserializeAws_restJson1GetMediaCommandError(output, context)];
|
|
36
36
|
}
|
|
37
37
|
contents = {
|
|
38
38
|
$metadata: deserializeMetadata(output),
|
|
@@ -44,7 +44,7 @@ export var deserializeAws_restJson1GetMediaCommand = function (output, context)
|
|
|
44
44
|
}
|
|
45
45
|
data = output.body;
|
|
46
46
|
contents.Payload = data;
|
|
47
|
-
return [2
|
|
47
|
+
return [2, Promise.resolve(contents)];
|
|
48
48
|
});
|
|
49
49
|
}); };
|
|
50
50
|
var deserializeAws_restJson1GetMediaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -55,63 +55,63 @@ var deserializeAws_restJson1GetMediaCommandError = function (output, context) {
|
|
|
55
55
|
case 0:
|
|
56
56
|
_a = [__assign({}, output)];
|
|
57
57
|
_j = {};
|
|
58
|
-
return [4
|
|
58
|
+
return [4, parseBody(output.body, context)];
|
|
59
59
|
case 1:
|
|
60
60
|
parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
|
|
61
61
|
errorCode = "UnknownError";
|
|
62
62
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
63
63
|
_b = errorCode;
|
|
64
64
|
switch (_b) {
|
|
65
|
-
case "ClientLimitExceededException": return [3
|
|
66
|
-
case "com.amazonaws.kinesisvideomedia#ClientLimitExceededException": return [3
|
|
67
|
-
case "ConnectionLimitExceededException": return [3
|
|
68
|
-
case "com.amazonaws.kinesisvideomedia#ConnectionLimitExceededException": return [3
|
|
69
|
-
case "InvalidArgumentException": return [3
|
|
70
|
-
case "com.amazonaws.kinesisvideomedia#InvalidArgumentException": return [3
|
|
71
|
-
case "InvalidEndpointException": return [3
|
|
72
|
-
case "com.amazonaws.kinesisvideomedia#InvalidEndpointException": return [3
|
|
73
|
-
case "NotAuthorizedException": return [3
|
|
74
|
-
case "com.amazonaws.kinesisvideomedia#NotAuthorizedException": return [3
|
|
75
|
-
case "ResourceNotFoundException": return [3
|
|
76
|
-
case "com.amazonaws.kinesisvideomedia#ResourceNotFoundException": return [3
|
|
65
|
+
case "ClientLimitExceededException": return [3, 2];
|
|
66
|
+
case "com.amazonaws.kinesisvideomedia#ClientLimitExceededException": return [3, 2];
|
|
67
|
+
case "ConnectionLimitExceededException": return [3, 4];
|
|
68
|
+
case "com.amazonaws.kinesisvideomedia#ConnectionLimitExceededException": return [3, 4];
|
|
69
|
+
case "InvalidArgumentException": return [3, 6];
|
|
70
|
+
case "com.amazonaws.kinesisvideomedia#InvalidArgumentException": return [3, 6];
|
|
71
|
+
case "InvalidEndpointException": return [3, 8];
|
|
72
|
+
case "com.amazonaws.kinesisvideomedia#InvalidEndpointException": return [3, 8];
|
|
73
|
+
case "NotAuthorizedException": return [3, 10];
|
|
74
|
+
case "com.amazonaws.kinesisvideomedia#NotAuthorizedException": return [3, 10];
|
|
75
|
+
case "ResourceNotFoundException": return [3, 12];
|
|
76
|
+
case "com.amazonaws.kinesisvideomedia#ResourceNotFoundException": return [3, 12];
|
|
77
77
|
}
|
|
78
|
-
return [3
|
|
78
|
+
return [3, 14];
|
|
79
79
|
case 2:
|
|
80
80
|
_c = [{}];
|
|
81
|
-
return [4
|
|
81
|
+
return [4, deserializeAws_restJson1ClientLimitExceededExceptionResponse(parsedOutput, context)];
|
|
82
82
|
case 3:
|
|
83
83
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
84
|
-
return [3
|
|
84
|
+
return [3, 15];
|
|
85
85
|
case 4:
|
|
86
86
|
_d = [{}];
|
|
87
|
-
return [4
|
|
87
|
+
return [4, deserializeAws_restJson1ConnectionLimitExceededExceptionResponse(parsedOutput, context)];
|
|
88
88
|
case 5:
|
|
89
89
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
90
|
-
return [3
|
|
90
|
+
return [3, 15];
|
|
91
91
|
case 6:
|
|
92
92
|
_e = [{}];
|
|
93
|
-
return [4
|
|
93
|
+
return [4, deserializeAws_restJson1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
94
94
|
case 7:
|
|
95
95
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
96
|
-
return [3
|
|
96
|
+
return [3, 15];
|
|
97
97
|
case 8:
|
|
98
98
|
_f = [{}];
|
|
99
|
-
return [4
|
|
99
|
+
return [4, deserializeAws_restJson1InvalidEndpointExceptionResponse(parsedOutput, context)];
|
|
100
100
|
case 9:
|
|
101
101
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
102
|
-
return [3
|
|
102
|
+
return [3, 15];
|
|
103
103
|
case 10:
|
|
104
104
|
_g = [{}];
|
|
105
|
-
return [4
|
|
105
|
+
return [4, deserializeAws_restJson1NotAuthorizedExceptionResponse(parsedOutput, context)];
|
|
106
106
|
case 11:
|
|
107
107
|
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
108
|
-
return [3
|
|
108
|
+
return [3, 15];
|
|
109
109
|
case 12:
|
|
110
110
|
_h = [{}];
|
|
111
|
-
return [4
|
|
111
|
+
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
112
112
|
case 13:
|
|
113
113
|
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
114
|
-
return [3
|
|
114
|
+
return [3, 15];
|
|
115
115
|
case 14:
|
|
116
116
|
parsedBody = parsedOutput.body;
|
|
117
117
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -121,7 +121,7 @@ var deserializeAws_restJson1GetMediaCommandError = function (output, context) {
|
|
|
121
121
|
message = response.message || response.Message || errorCode;
|
|
122
122
|
response.message = message;
|
|
123
123
|
delete response.Message;
|
|
124
|
-
return [2
|
|
124
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
127
|
}); };
|
|
@@ -138,7 +138,7 @@ var deserializeAws_restJson1ClientLimitExceededExceptionResponse = function (par
|
|
|
138
138
|
if (data.Message !== undefined && data.Message !== null) {
|
|
139
139
|
contents.Message = __expectString(data.Message);
|
|
140
140
|
}
|
|
141
|
-
return [2
|
|
141
|
+
return [2, contents];
|
|
142
142
|
});
|
|
143
143
|
}); };
|
|
144
144
|
var deserializeAws_restJson1ConnectionLimitExceededExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -154,7 +154,7 @@ var deserializeAws_restJson1ConnectionLimitExceededExceptionResponse = function
|
|
|
154
154
|
if (data.Message !== undefined && data.Message !== null) {
|
|
155
155
|
contents.Message = __expectString(data.Message);
|
|
156
156
|
}
|
|
157
|
-
return [2
|
|
157
|
+
return [2, contents];
|
|
158
158
|
});
|
|
159
159
|
}); };
|
|
160
160
|
var deserializeAws_restJson1InvalidArgumentExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -170,7 +170,7 @@ var deserializeAws_restJson1InvalidArgumentExceptionResponse = function (parsedO
|
|
|
170
170
|
if (data.Message !== undefined && data.Message !== null) {
|
|
171
171
|
contents.Message = __expectString(data.Message);
|
|
172
172
|
}
|
|
173
|
-
return [2
|
|
173
|
+
return [2, contents];
|
|
174
174
|
});
|
|
175
175
|
}); };
|
|
176
176
|
var deserializeAws_restJson1InvalidEndpointExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -186,7 +186,7 @@ var deserializeAws_restJson1InvalidEndpointExceptionResponse = function (parsedO
|
|
|
186
186
|
if (data.Message !== undefined && data.Message !== null) {
|
|
187
187
|
contents.Message = __expectString(data.Message);
|
|
188
188
|
}
|
|
189
|
-
return [2
|
|
189
|
+
return [2, contents];
|
|
190
190
|
});
|
|
191
191
|
}); };
|
|
192
192
|
var deserializeAws_restJson1NotAuthorizedExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -202,7 +202,7 @@ var deserializeAws_restJson1NotAuthorizedExceptionResponse = function (parsedOut
|
|
|
202
202
|
if (data.Message !== undefined && data.Message !== null) {
|
|
203
203
|
contents.Message = __expectString(data.Message);
|
|
204
204
|
}
|
|
205
|
-
return [2
|
|
205
|
+
return [2, contents];
|
|
206
206
|
});
|
|
207
207
|
}); };
|
|
208
208
|
var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -218,7 +218,7 @@ var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsed
|
|
|
218
218
|
if (data.Message !== undefined && data.Message !== null) {
|
|
219
219
|
contents.Message = __expectString(data.Message);
|
|
220
220
|
}
|
|
221
|
-
return [2
|
|
221
|
+
return [2, contents];
|
|
222
222
|
});
|
|
223
223
|
}); };
|
|
224
224
|
var serializeAws_restJson1StartSelector = function (input, context) {
|
|
@@ -237,7 +237,6 @@ var deserializeMetadata = function (output) {
|
|
|
237
237
|
cfId: output.headers["x-amz-cf-id"],
|
|
238
238
|
});
|
|
239
239
|
};
|
|
240
|
-
// Collect low-level response body stream to Uint8Array.
|
|
241
240
|
var collectBody = function (streamBody, context) {
|
|
242
241
|
if (streamBody === void 0) { streamBody = new Uint8Array(); }
|
|
243
242
|
if (streamBody instanceof Uint8Array) {
|
|
@@ -245,7 +244,6 @@ var collectBody = function (streamBody, context) {
|
|
|
245
244
|
}
|
|
246
245
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
247
246
|
};
|
|
248
|
-
// Encode Uint8Array data into string with utf-8.
|
|
249
247
|
var collectBodyString = function (streamBody, context) {
|
|
250
248
|
return collectBody(streamBody, context).then(function (body) { return context.utf8Encoder(body); });
|
|
251
249
|
};
|
|
@@ -264,9 +262,6 @@ var parseBody = function (streamBody, context) {
|
|
|
264
262
|
return {};
|
|
265
263
|
});
|
|
266
264
|
};
|
|
267
|
-
/**
|
|
268
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
269
|
-
*/
|
|
270
265
|
var loadRestJsonErrorCode = function (output, data) {
|
|
271
266
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
272
267
|
var sanitizeErrorCode = function (rawValue) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Aws_restJson1.js","sourceRoot":"","sources":["../../../protocols/Aws_restJson1.ts"],"names":[],"mappings":";AAUA,OAAO,EAAE,WAAW,IAAI,aAAa,EAAkC,MAAM,wBAAwB,CAAC;AACtG,OAAO,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AASxE,MAAM,CAAC,IAAM,qCAAqC,GAAG,UACnD,KAA2B,EAC3B,OAAuB;;;;oBAEwC,
|
|
1
|
+
{"version":3,"file":"Aws_restJson1.js","sourceRoot":"","sources":["../../../protocols/Aws_restJson1.ts"],"names":[],"mappings":";AAUA,OAAO,EAAE,WAAW,IAAI,aAAa,EAAkC,MAAM,wBAAwB,CAAC;AACtG,OAAO,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AASxE,MAAM,CAAC,IAAM,qCAAqC,GAAG,UACnD,KAA2B,EAC3B,OAAuB;;;;oBAEwC,WAAM,OAAO,CAAC,QAAQ,EAAE,EAAA;;gBAAjF,KAAyD,SAAwB,EAA/E,QAAQ,cAAA,EAAE,gBAAkB,EAAlB,QAAQ,mBAAG,OAAO,KAAA,EAAE,IAAI,UAAA,EAAQ,QAAQ,UAAA;gBACpD,OAAO,GAAQ;oBACnB,cAAc,EAAE,kBAAkB;iBACnC,CAAC;gBACE,YAAY,GAAG,MAAG,CAAA,QAAQ,aAAR,Q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,EAAE,kBAAkB,CAAC,CAAC;IAC9D,IAAI,SAAS,KAAK,SAAS,EAAE;QAC3B,OAAO,iBAAiB,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;KACrD;IAED,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE;QAC3B,OAAO,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACrC;IAED,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,SAAS,EAAE;QAChC,OAAO,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;KAC1C;IAED,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC"}
|
|
@@ -9,9 +9,6 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
9
9
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
10
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
12
|
export var getRuntimeConfig = function (config) {
|
|
16
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
14
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeConfig.browser.js","sourceRoot":"","sources":["../../runtimeConfig.browser.ts"],"names":[],"mappings":";AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACrF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5C,WAAW,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,WAAW,mCAAI,MAAM,IAC1C;AACJ,CAAC,CAAC"}
|
package/dist/es/runtimeConfig.js
CHANGED
|
@@ -13,9 +13,6 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
16
|
export var getRuntimeConfig = function (config) {
|
|
20
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeConfig.js","sourceRoot":"","sources":["../../runtimeConfig.ts"],"names":[],"mappings":";AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAE,iCAAiC,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,+BAA+B,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACvG,OAAO,EAAE,eAAe,IAAI,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AACjG,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,+BAA+B,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC5G,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCA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e,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,eAAe,mCAAI,eAAe,EAC3D,WAAW,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,WAAW,mCAAI,QAAQ,EAC5C,WAAW,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,WAAW,mCAAI,MAAM,IAC1C;AACJ,CAAC,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
3
3
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
4
|
export var getRuntimeConfig = function (config) {
|
|
8
5
|
var _a;
|
|
9
6
|
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeConfig.native.js","sourceRoot":"","sources":["../../runtimeConfig.native.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE/C,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"runtimeConfig.native.js","sourceRoot":"","sources":["../../runtimeConfig.native.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE/C,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAKtF,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,MAAqC;;IACpE,IAAM,eAAe,GAAG,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACxD,sCACK,eAAe,GACf,MAAM,KACT,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,mCAAI,MAAM,IAChC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeConfig.shared.js","sourceRoot":"","sources":["../../runtimeConfig.shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"runtimeConfig.shared.js","sourceRoot":"","sources":["../../runtimeConfig.shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAM/C,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,MAAqC;;IAAK,OAAA,CAAC;QAC1E,UAAU,EAAE,YAAY;QACxB,iBAAiB,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,iBAAiB,mCAAI,KAAK;QACrD,MAAM,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,mCAAK,EAAe;QAC1C,kBAAkB,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,kBAAkB,mCAAI,yBAAyB;QAC3E,SAAS,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,mCAAI,qBAAqB;QACrD,SAAS,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,mCAAI,QAAQ;KACzC,CAAC,CAAA;CAAA,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis-video-media",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Video Media Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.34.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"
|
|
7
|
-
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
8
|
-
"remove-definitions": "rimraf ./types",
|
|
9
|
-
"remove-dist": "rimraf ./dist",
|
|
10
|
-
"remove-documentation": "rimraf ./docs",
|
|
11
|
-
"test": "exit 0",
|
|
6
|
+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
12
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
+
"build:docs": "yarn clean:docs && typedoc ./",
|
|
13
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
14
|
-
"build": "
|
|
15
|
-
"
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
+
"clean:dist": "rimraf ./dist",
|
|
13
|
+
"clean:docs": "rimraf ./docs",
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
|
|
15
|
+
"test": "exit 0"
|
|
16
16
|
},
|
|
17
17
|
"main": "./dist/cjs/index.js",
|
|
18
18
|
"types": "./dist/types/index.d.ts",
|
|
@@ -27,38 +27,38 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.34.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.34.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.34.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.34.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.34.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.34.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.34.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.34.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.34.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.34.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.34.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.34.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.34.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.34.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.34.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.34.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.34.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.34.0",
|
|
48
|
+
"@aws-sdk/types": "3.34.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.34.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.34.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.34.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.34.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.34.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.34.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.34.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.34.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.34.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.34.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
package/tsconfig.es.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"alwaysStrict": true,
|
|
4
4
|
"target": "ES2018",
|
|
5
5
|
"module": "commonjs",
|
|
6
|
-
"declaration": true,
|
|
7
6
|
"strict": true,
|
|
8
7
|
"sourceMap": true,
|
|
9
8
|
"downlevelIteration": true,
|
|
@@ -12,8 +11,8 @@
|
|
|
12
11
|
"incremental": true,
|
|
13
12
|
"resolveJsonModule": true,
|
|
14
13
|
"esModuleInterop": true,
|
|
15
|
-
"
|
|
16
|
-
"
|
|
14
|
+
"outDir": "dist/cjs",
|
|
15
|
+
"removeComments": true
|
|
17
16
|
},
|
|
18
17
|
"typedocOptions": {
|
|
19
18
|
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
|
|
@@ -23,9 +22,9 @@
|
|
|
23
22
|
"ignoreCompilerErrors": true,
|
|
24
23
|
"includeDeclarations": true,
|
|
25
24
|
"stripInternal": true,
|
|
26
|
-
"readme": "
|
|
25
|
+
"readme": "README.md",
|
|
27
26
|
"mode": "file",
|
|
28
|
-
"out": "
|
|
27
|
+
"out": "docs",
|
|
29
28
|
"theme": "minimal",
|
|
30
29
|
"plugin": ["@aws-sdk/client-documentation-generator"]
|
|
31
30
|
}
|