@aws-sdk/client-kinesis-video-webrtc-storage 3.296.0 → 3.298.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/dist-cjs/commands/JoinStorageSessionCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -5
- package/dist-es/commands/JoinStorageSessionCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -3
- package/dist-types/KinesisVideoWebRTCStorage.d.ts +2 -0
- package/dist-types/KinesisVideoWebRTCStorageClient.d.ts +24 -4
- package/dist-types/commands/JoinStorageSessionCommand.d.ts +16 -0
- package/dist-types/models/KinesisVideoWebRTCStorageServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +7 -4
- package/dist-types/ts3.4/models/models_0.d.ts +0 -3
- package/package.json +4 -3
|
@@ -4,7 +4,6 @@ exports.JoinStorageSessionCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class JoinStorageSessionCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class JoinStorageSessionCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog: (
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
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.ResourceNotFoundException = exports.InvalidArgumentException = exports.ClientLimitExceededException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const KinesisVideoWebRTCStorageServiceException_1 = require("./KinesisVideoWebRTCStorageServiceException");
|
|
5
5
|
class AccessDeniedException extends KinesisVideoWebRTCStorageServiceException_1.KinesisVideoWebRTCStorageServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -54,7 +54,3 @@ class ResourceNotFoundException extends KinesisVideoWebRTCStorageServiceExceptio
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
57
|
-
const JoinStorageSessionInputFilterSensitiveLog = (obj) => ({
|
|
58
|
-
...obj,
|
|
59
|
-
});
|
|
60
|
-
exports.JoinStorageSessionInputFilterSensitiveLog = JoinStorageSessionInputFilterSensitiveLog;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { JoinStorageSessionInputFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1JoinStorageSessionCommand, serializeAws_restJson1JoinStorageSessionCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class JoinStorageSessionCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class JoinStorageSessionCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog: (
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,11 +2,13 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
|
2
2
|
import { JoinStorageSessionCommandInput, JoinStorageSessionCommandOutput } from "./commands/JoinStorageSessionCommand";
|
|
3
3
|
import { KinesisVideoWebRTCStorageClient } from "./KinesisVideoWebRTCStorageClient";
|
|
4
4
|
/**
|
|
5
|
+
* @public
|
|
5
6
|
* <p>
|
|
6
7
|
* </p>
|
|
7
8
|
*/
|
|
8
9
|
export declare class KinesisVideoWebRTCStorage extends KinesisVideoWebRTCStorageClient {
|
|
9
10
|
/**
|
|
11
|
+
* @public
|
|
10
12
|
* <p>
|
|
11
13
|
* Join the ongoing one way-video and/or multi-way audio WebRTC session as
|
|
12
14
|
* a video producing device for an input channel. If there’s no existing
|
|
@@ -9,15 +9,24 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
|
|
|
9
9
|
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { JoinStorageSessionCommandInput, JoinStorageSessionCommandOutput } from "./commands/JoinStorageSessionCommand";
|
|
11
11
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
12
15
|
export type ServiceInputTypes = JoinStorageSessionCommandInput;
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
13
19
|
export type ServiceOutputTypes = JoinStorageSessionCommandOutput;
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
14
23
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
15
24
|
/**
|
|
16
25
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
17
26
|
*/
|
|
18
27
|
requestHandler?: __HttpHandler;
|
|
19
28
|
/**
|
|
20
|
-
* A constructor for a class implementing the {@link
|
|
29
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
21
30
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
22
31
|
* @internal
|
|
23
32
|
*/
|
|
@@ -107,23 +116,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
107
116
|
*/
|
|
108
117
|
logger?: __Logger;
|
|
109
118
|
/**
|
|
110
|
-
* The {@link
|
|
119
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
111
120
|
*/
|
|
112
121
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
113
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
114
126
|
type KinesisVideoWebRTCStorageClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
115
127
|
/**
|
|
116
|
-
*
|
|
128
|
+
* @public
|
|
129
|
+
*
|
|
130
|
+
* The configuration interface of KinesisVideoWebRTCStorageClient class constructor that set the region, credentials and other options.
|
|
117
131
|
*/
|
|
118
132
|
export interface KinesisVideoWebRTCStorageClientConfig extends KinesisVideoWebRTCStorageClientConfigType {
|
|
119
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
120
137
|
type KinesisVideoWebRTCStorageClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
121
138
|
/**
|
|
122
|
-
*
|
|
139
|
+
* @public
|
|
140
|
+
*
|
|
141
|
+
* The resolved configuration interface of KinesisVideoWebRTCStorageClient class. This is resolved and normalized from the {@link KinesisVideoWebRTCStorageClientConfig | constructor configuration interface}.
|
|
123
142
|
*/
|
|
124
143
|
export interface KinesisVideoWebRTCStorageClientResolvedConfig extends KinesisVideoWebRTCStorageClientResolvedConfigType {
|
|
125
144
|
}
|
|
126
145
|
/**
|
|
146
|
+
* @public
|
|
127
147
|
* <p>
|
|
128
148
|
* </p>
|
|
129
149
|
*/
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KinesisVideoWebRTCStorageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisVideoWebRTCStorageClient";
|
|
5
5
|
import { JoinStorageSessionInput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link JoinStorageSessionCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface JoinStorageSessionCommandInput extends JoinStorageSessionInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link JoinStorageSessionCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface JoinStorageSessionCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>
|
|
18
23
|
* Join the ongoing one way-video and/or multi-way audio WebRTC session as
|
|
19
24
|
* a video producing device for an input channel. If there’s no existing
|
|
@@ -46,6 +51,8 @@ export interface JoinStorageSessionCommandOutput extends __MetadataBearer {
|
|
|
46
51
|
* const response = await client.send(command);
|
|
47
52
|
* ```
|
|
48
53
|
*
|
|
54
|
+
* @param JoinStorageSessionCommandInput - {@link JoinStorageSessionCommandInput}
|
|
55
|
+
* @returns {@link JoinStorageSessionCommandOutput}
|
|
49
56
|
* @see {@link JoinStorageSessionCommandInput} for command's `input` shape.
|
|
50
57
|
* @see {@link JoinStorageSessionCommandOutput} for command's `response` shape.
|
|
51
58
|
* @see {@link KinesisVideoWebRTCStorageClientResolvedConfig | config} for KinesisVideoWebRTCStorageClient's `config` shape.
|
|
@@ -69,11 +76,20 @@ export interface JoinStorageSessionCommandOutput extends __MetadataBearer {
|
|
|
69
76
|
export declare class JoinStorageSessionCommand extends $Command<JoinStorageSessionCommandInput, JoinStorageSessionCommandOutput, KinesisVideoWebRTCStorageClientResolvedConfig> {
|
|
70
77
|
readonly input: JoinStorageSessionCommandInput;
|
|
71
78
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
72
82
|
constructor(input: JoinStorageSessionCommandInput);
|
|
73
83
|
/**
|
|
74
84
|
* @internal
|
|
75
85
|
*/
|
|
76
86
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisVideoWebRTCStorageClientResolvedConfig, options?: __HttpHandlerOptions): Handler<JoinStorageSessionCommandInput, JoinStorageSessionCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
77
90
|
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
78
94
|
private deserialize;
|
|
79
95
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from KinesisVideoWebRTCStorage service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class KinesisVideoWebRTCStorageServiceException extends __ServiceException {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { KinesisVideoWebRTCStorageServiceException as __BaseException } from "./KinesisVideoWebRTCStorageServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>You do not have required permissions to perform this operation.</p>
|
|
5
6
|
*/
|
|
6
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -12,6 +13,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
16
|
+
* @public
|
|
15
17
|
* <p>
|
|
16
18
|
* Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later.
|
|
17
19
|
* </p>
|
|
@@ -25,6 +27,7 @@ export declare class ClientLimitExceededException extends __BaseException {
|
|
|
25
27
|
constructor(opts: __ExceptionOptionType<ClientLimitExceededException, __BaseException>);
|
|
26
28
|
}
|
|
27
29
|
/**
|
|
30
|
+
* @public
|
|
28
31
|
* <p>The value for this input parameter is invalid.</p>
|
|
29
32
|
*/
|
|
30
33
|
export declare class InvalidArgumentException extends __BaseException {
|
|
@@ -35,6 +38,9 @@ export declare class InvalidArgumentException extends __BaseException {
|
|
|
35
38
|
*/
|
|
36
39
|
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
37
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
38
44
|
export interface JoinStorageSessionInput {
|
|
39
45
|
/**
|
|
40
46
|
* <p>
|
|
@@ -44,6 +50,7 @@ export interface JoinStorageSessionInput {
|
|
|
44
50
|
channelArn: string | undefined;
|
|
45
51
|
}
|
|
46
52
|
/**
|
|
53
|
+
* @public
|
|
47
54
|
* <p>The specified resource is not found.</p>
|
|
48
55
|
*/
|
|
49
56
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -54,7 +61,3 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
54
61
|
*/
|
|
55
62
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
56
63
|
}
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
export declare const JoinStorageSessionInputFilterSensitiveLog: (obj: JoinStorageSessionInput) => any;
|
|
@@ -31,6 +31,3 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
31
31
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
32
32
|
);
|
|
33
33
|
}
|
|
34
|
-
export declare const JoinStorageSessionInputFilterSensitiveLog: (
|
|
35
|
-
obj: JoinStorageSessionInput
|
|
36
|
-
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis-video-webrtc-storage",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Video Webrtc Storage Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.298.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",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
14
15
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo kinesis-video-webrtc-storage"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -20,9 +21,9 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.298.0",
|
|
24
25
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.298.0",
|
|
26
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|