@aws-sdk/client-kinesis-video-media 3.128.0 → 3.137.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 +30 -0
- package/dist-cjs/commands/GetMediaCommand.js +2 -2
- package/dist-cjs/models/models_0.js +13 -19
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/commands/GetMediaCommand.js +3 -3
- package/dist-es/models/models_0.js +3 -12
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/models/models_0.d.ts +12 -18
- package/dist-types/ts3.4/models/models_0.d.ts +6 -12
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis-video-media
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-kinesis-video-media
|
|
@@ -20,8 +20,8 @@ class GetMediaCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetMediaInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetMediaOutputFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GetMediaOutputFilterSensitiveLog = exports.GetMediaInputFilterSensitiveLog = exports.StartSelectorFilterSensitiveLog = exports.ResourceNotFoundException = exports.NotAuthorizedException = exports.InvalidEndpointException = exports.InvalidArgumentException = exports.StartSelectorType = exports.ConnectionLimitExceededException = exports.ClientLimitExceededException = void 0;
|
|
4
4
|
const KinesisVideoMediaServiceException_1 = require("./KinesisVideoMediaServiceException");
|
|
5
5
|
class ClientLimitExceededException extends KinesisVideoMediaServiceException_1.KinesisVideoMediaServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -39,24 +39,6 @@ var StartSelectorType;
|
|
|
39
39
|
StartSelectorType["PRODUCER_TIMESTAMP"] = "PRODUCER_TIMESTAMP";
|
|
40
40
|
StartSelectorType["SERVER_TIMESTAMP"] = "SERVER_TIMESTAMP";
|
|
41
41
|
})(StartSelectorType = exports.StartSelectorType || (exports.StartSelectorType = {}));
|
|
42
|
-
var StartSelector;
|
|
43
|
-
(function (StartSelector) {
|
|
44
|
-
StartSelector.filterSensitiveLog = (obj) => ({
|
|
45
|
-
...obj,
|
|
46
|
-
});
|
|
47
|
-
})(StartSelector = exports.StartSelector || (exports.StartSelector = {}));
|
|
48
|
-
var GetMediaInput;
|
|
49
|
-
(function (GetMediaInput) {
|
|
50
|
-
GetMediaInput.filterSensitiveLog = (obj) => ({
|
|
51
|
-
...obj,
|
|
52
|
-
});
|
|
53
|
-
})(GetMediaInput = exports.GetMediaInput || (exports.GetMediaInput = {}));
|
|
54
|
-
var GetMediaOutput;
|
|
55
|
-
(function (GetMediaOutput) {
|
|
56
|
-
GetMediaOutput.filterSensitiveLog = (obj) => ({
|
|
57
|
-
...obj,
|
|
58
|
-
});
|
|
59
|
-
})(GetMediaOutput = exports.GetMediaOutput || (exports.GetMediaOutput = {}));
|
|
60
42
|
class InvalidArgumentException extends KinesisVideoMediaServiceException_1.KinesisVideoMediaServiceException {
|
|
61
43
|
constructor(opts) {
|
|
62
44
|
super({
|
|
@@ -113,3 +95,15 @@ class ResourceNotFoundException extends KinesisVideoMediaServiceException_1.Kine
|
|
|
113
95
|
}
|
|
114
96
|
}
|
|
115
97
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
98
|
+
const StartSelectorFilterSensitiveLog = (obj) => ({
|
|
99
|
+
...obj,
|
|
100
|
+
});
|
|
101
|
+
exports.StartSelectorFilterSensitiveLog = StartSelectorFilterSensitiveLog;
|
|
102
|
+
const GetMediaInputFilterSensitiveLog = (obj) => ({
|
|
103
|
+
...obj,
|
|
104
|
+
});
|
|
105
|
+
exports.GetMediaInputFilterSensitiveLog = GetMediaInputFilterSensitiveLog;
|
|
106
|
+
const GetMediaOutputFilterSensitiveLog = (obj) => ({
|
|
107
|
+
...obj,
|
|
108
|
+
});
|
|
109
|
+
exports.GetMediaOutputFilterSensitiveLog = GetMediaOutputFilterSensitiveLog;
|
|
@@ -196,6 +196,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
196
196
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
197
197
|
const sanitizeErrorCode = (rawValue) => {
|
|
198
198
|
let cleanValue = rawValue;
|
|
199
|
+
if (typeof cleanValue === "number") {
|
|
200
|
+
cleanValue = cleanValue.toString();
|
|
201
|
+
}
|
|
199
202
|
if (cleanValue.indexOf(":") >= 0) {
|
|
200
203
|
cleanValue = cleanValue.split(":")[0];
|
|
201
204
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetMediaInputFilterSensitiveLog, GetMediaOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1GetMediaCommand, serializeAws_restJson1GetMediaCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var GetMediaCommand = (function (_super) {
|
|
7
7
|
__extends(GetMediaCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetMediaCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetMediaInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetMediaOutputFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -35,18 +35,6 @@ export var StartSelectorType;
|
|
|
35
35
|
StartSelectorType["PRODUCER_TIMESTAMP"] = "PRODUCER_TIMESTAMP";
|
|
36
36
|
StartSelectorType["SERVER_TIMESTAMP"] = "SERVER_TIMESTAMP";
|
|
37
37
|
})(StartSelectorType || (StartSelectorType = {}));
|
|
38
|
-
export var StartSelector;
|
|
39
|
-
(function (StartSelector) {
|
|
40
|
-
StartSelector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
|
-
})(StartSelector || (StartSelector = {}));
|
|
42
|
-
export var GetMediaInput;
|
|
43
|
-
(function (GetMediaInput) {
|
|
44
|
-
GetMediaInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
|
-
})(GetMediaInput || (GetMediaInput = {}));
|
|
46
|
-
export var GetMediaOutput;
|
|
47
|
-
(function (GetMediaOutput) {
|
|
48
|
-
GetMediaOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
|
-
})(GetMediaOutput || (GetMediaOutput = {}));
|
|
50
38
|
var InvalidArgumentException = (function (_super) {
|
|
51
39
|
__extends(InvalidArgumentException, _super);
|
|
52
40
|
function InvalidArgumentException(opts) {
|
|
@@ -99,3 +87,6 @@ var ResourceNotFoundException = (function (_super) {
|
|
|
99
87
|
return ResourceNotFoundException;
|
|
100
88
|
}(__BaseException));
|
|
101
89
|
export { ResourceNotFoundException };
|
|
90
|
+
export var StartSelectorFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
91
|
+
export var GetMediaInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
92
|
+
export var GetMediaOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -214,6 +214,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
214
214
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
215
215
|
var sanitizeErrorCode = function (rawValue) {
|
|
216
216
|
var cleanValue = rawValue;
|
|
217
|
+
if (typeof cleanValue === "number") {
|
|
218
|
+
cleanValue = cleanValue.toString();
|
|
219
|
+
}
|
|
217
220
|
if (cleanValue.indexOf(":") >= 0) {
|
|
218
221
|
cleanValue = cleanValue.split(":")[0];
|
|
219
222
|
}
|
|
@@ -106,12 +106,6 @@ export interface StartSelector {
|
|
|
106
106
|
*/
|
|
107
107
|
ContinuationToken?: string;
|
|
108
108
|
}
|
|
109
|
-
export declare namespace StartSelector {
|
|
110
|
-
/**
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
|
-
const filterSensitiveLog: (obj: StartSelector) => any;
|
|
114
|
-
}
|
|
115
109
|
export interface GetMediaInput {
|
|
116
110
|
/**
|
|
117
111
|
* <p>The Kinesis video stream name from where you want to get the media content. If you
|
|
@@ -129,12 +123,6 @@ export interface GetMediaInput {
|
|
|
129
123
|
*/
|
|
130
124
|
StartSelector: StartSelector | undefined;
|
|
131
125
|
}
|
|
132
|
-
export declare namespace GetMediaInput {
|
|
133
|
-
/**
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
136
|
-
const filterSensitiveLog: (obj: GetMediaInput) => any;
|
|
137
|
-
}
|
|
138
126
|
export interface GetMediaOutput {
|
|
139
127
|
/**
|
|
140
128
|
* <p>The content type of the requested media.</p>
|
|
@@ -212,12 +200,6 @@ export interface GetMediaOutput {
|
|
|
212
200
|
*/
|
|
213
201
|
Payload?: Readable | ReadableStream | Blob;
|
|
214
202
|
}
|
|
215
|
-
export declare namespace GetMediaOutput {
|
|
216
|
-
/**
|
|
217
|
-
* @internal
|
|
218
|
-
*/
|
|
219
|
-
const filterSensitiveLog: (obj: GetMediaOutput) => any;
|
|
220
|
-
}
|
|
221
203
|
/**
|
|
222
204
|
* <p>The value for this input parameter is invalid.</p>
|
|
223
205
|
*/
|
|
@@ -270,3 +252,15 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
270
252
|
*/
|
|
271
253
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
272
254
|
}
|
|
255
|
+
/**
|
|
256
|
+
* @internal
|
|
257
|
+
*/
|
|
258
|
+
export declare const StartSelectorFilterSensitiveLog: (obj: StartSelector) => any;
|
|
259
|
+
/**
|
|
260
|
+
* @internal
|
|
261
|
+
*/
|
|
262
|
+
export declare const GetMediaInputFilterSensitiveLog: (obj: GetMediaInput) => any;
|
|
263
|
+
/**
|
|
264
|
+
* @internal
|
|
265
|
+
*/
|
|
266
|
+
export declare const GetMediaOutputFilterSensitiveLog: (obj: GetMediaOutput) => any;
|
|
@@ -37,10 +37,6 @@ export interface StartSelector {
|
|
|
37
37
|
|
|
38
38
|
ContinuationToken?: string;
|
|
39
39
|
}
|
|
40
|
-
export declare namespace StartSelector {
|
|
41
|
-
|
|
42
|
-
const filterSensitiveLog: (obj: StartSelector) => any;
|
|
43
|
-
}
|
|
44
40
|
export interface GetMediaInput {
|
|
45
41
|
|
|
46
42
|
StreamName?: string;
|
|
@@ -49,20 +45,12 @@ export interface GetMediaInput {
|
|
|
49
45
|
|
|
50
46
|
StartSelector: StartSelector | undefined;
|
|
51
47
|
}
|
|
52
|
-
export declare namespace GetMediaInput {
|
|
53
|
-
|
|
54
|
-
const filterSensitiveLog: (obj: GetMediaInput) => any;
|
|
55
|
-
}
|
|
56
48
|
export interface GetMediaOutput {
|
|
57
49
|
|
|
58
50
|
ContentType?: string;
|
|
59
51
|
|
|
60
52
|
Payload?: Readable | ReadableStream | Blob;
|
|
61
53
|
}
|
|
62
|
-
export declare namespace GetMediaOutput {
|
|
63
|
-
|
|
64
|
-
const filterSensitiveLog: (obj: GetMediaOutput) => any;
|
|
65
|
-
}
|
|
66
54
|
|
|
67
55
|
export declare class InvalidArgumentException extends __BaseException {
|
|
68
56
|
readonly name: "InvalidArgumentException";
|
|
@@ -95,3 +83,9 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
95
83
|
|
|
96
84
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
97
85
|
}
|
|
86
|
+
|
|
87
|
+
export declare const StartSelectorFilterSensitiveLog: (obj: StartSelector) => any;
|
|
88
|
+
|
|
89
|
+
export declare const GetMediaInputFilterSensitiveLog: (obj: GetMediaInput) => any;
|
|
90
|
+
|
|
91
|
+
export declare const GetMediaOutputFilterSensitiveLog: (obj: GetMediaOutput) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.137.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.137.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.137.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
@@ -30,21 +30,21 @@
|
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
31
|
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
32
|
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.130.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.137.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.137.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.137.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|