@aws-sdk/client-kinesis-video-media 3.934.0 → 3.936.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/index.js +9 -8
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +8 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +1 -93
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +16 -0
- package/dist-types/models/errors.d.ts +86 -0
- package/dist-types/models/models_0.d.ts +1 -102
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +10 -0
- package/dist-types/ts3.4/models/errors.d.ts +53 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -63
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -145,14 +145,6 @@ let ConnectionLimitExceededException$1 = class ConnectionLimitExceededException
|
|
|
145
145
|
this.Message = opts.Message;
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
|
-
const StartSelectorType = {
|
|
149
|
-
CONTINUATION_TOKEN: "CONTINUATION_TOKEN",
|
|
150
|
-
EARLIEST: "EARLIEST",
|
|
151
|
-
FRAGMENT_NUMBER: "FRAGMENT_NUMBER",
|
|
152
|
-
NOW: "NOW",
|
|
153
|
-
PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
|
|
154
|
-
SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
|
|
155
|
-
};
|
|
156
148
|
let InvalidArgumentException$1 = class InvalidArgumentException extends KinesisVideoMediaServiceException$1 {
|
|
157
149
|
name = "InvalidArgumentException";
|
|
158
150
|
$fault = "client";
|
|
@@ -376,6 +368,15 @@ class KinesisVideoMedia extends KinesisVideoMediaClient {
|
|
|
376
368
|
}
|
|
377
369
|
smithyClient.createAggregatedClient(commands, KinesisVideoMedia);
|
|
378
370
|
|
|
371
|
+
const StartSelectorType = {
|
|
372
|
+
CONTINUATION_TOKEN: "CONTINUATION_TOKEN",
|
|
373
|
+
EARLIEST: "EARLIEST",
|
|
374
|
+
FRAGMENT_NUMBER: "FRAGMENT_NUMBER",
|
|
375
|
+
NOW: "NOW",
|
|
376
|
+
PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
|
|
377
|
+
SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
|
|
378
|
+
};
|
|
379
|
+
|
|
379
380
|
Object.defineProperty(exports, "$Command", {
|
|
380
381
|
enumerable: true,
|
|
381
382
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./KinesisVideoMediaClient";
|
|
2
2
|
export * from "./KinesisVideoMedia";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
4
|
+
export * from "./models/enums";
|
|
5
|
+
export * from "./models/errors";
|
|
5
6
|
export { KinesisVideoMediaServiceException } from "./models/KinesisVideoMediaServiceException";
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { KinesisVideoMediaServiceException as __BaseException } from "./KinesisVideoMediaServiceException";
|
|
2
|
+
export class ClientLimitExceededException extends __BaseException {
|
|
3
|
+
name = "ClientLimitExceededException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "ClientLimitExceededException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, ClientLimitExceededException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ConnectionLimitExceededException extends __BaseException {
|
|
17
|
+
name = "ConnectionLimitExceededException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ConnectionLimitExceededException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ConnectionLimitExceededException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InvalidArgumentException extends __BaseException {
|
|
31
|
+
name = "InvalidArgumentException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InvalidArgumentException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class InvalidEndpointException extends __BaseException {
|
|
45
|
+
name = "InvalidEndpointException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "InvalidEndpointException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, InvalidEndpointException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class NotAuthorizedException extends __BaseException {
|
|
59
|
+
name = "NotAuthorizedException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "NotAuthorizedException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
73
|
+
name = "ResourceNotFoundException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "ResourceNotFoundException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -1,93 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class ClientLimitExceededException extends __BaseException {
|
|
3
|
-
name = "ClientLimitExceededException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "ClientLimitExceededException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, ClientLimitExceededException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export class ConnectionLimitExceededException extends __BaseException {
|
|
17
|
-
name = "ConnectionLimitExceededException";
|
|
18
|
-
$fault = "client";
|
|
19
|
-
Message;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "ConnectionLimitExceededException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, ConnectionLimitExceededException.prototype);
|
|
27
|
-
this.Message = opts.Message;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export const StartSelectorType = {
|
|
31
|
-
CONTINUATION_TOKEN: "CONTINUATION_TOKEN",
|
|
32
|
-
EARLIEST: "EARLIEST",
|
|
33
|
-
FRAGMENT_NUMBER: "FRAGMENT_NUMBER",
|
|
34
|
-
NOW: "NOW",
|
|
35
|
-
PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
|
|
36
|
-
SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
|
|
37
|
-
};
|
|
38
|
-
export class InvalidArgumentException extends __BaseException {
|
|
39
|
-
name = "InvalidArgumentException";
|
|
40
|
-
$fault = "client";
|
|
41
|
-
Message;
|
|
42
|
-
constructor(opts) {
|
|
43
|
-
super({
|
|
44
|
-
name: "InvalidArgumentException",
|
|
45
|
-
$fault: "client",
|
|
46
|
-
...opts,
|
|
47
|
-
});
|
|
48
|
-
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
49
|
-
this.Message = opts.Message;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
export class InvalidEndpointException extends __BaseException {
|
|
53
|
-
name = "InvalidEndpointException";
|
|
54
|
-
$fault = "client";
|
|
55
|
-
Message;
|
|
56
|
-
constructor(opts) {
|
|
57
|
-
super({
|
|
58
|
-
name: "InvalidEndpointException",
|
|
59
|
-
$fault: "client",
|
|
60
|
-
...opts,
|
|
61
|
-
});
|
|
62
|
-
Object.setPrototypeOf(this, InvalidEndpointException.prototype);
|
|
63
|
-
this.Message = opts.Message;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
export class NotAuthorizedException extends __BaseException {
|
|
67
|
-
name = "NotAuthorizedException";
|
|
68
|
-
$fault = "client";
|
|
69
|
-
Message;
|
|
70
|
-
constructor(opts) {
|
|
71
|
-
super({
|
|
72
|
-
name: "NotAuthorizedException",
|
|
73
|
-
$fault: "client",
|
|
74
|
-
...opts,
|
|
75
|
-
});
|
|
76
|
-
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
77
|
-
this.Message = opts.Message;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
81
|
-
name = "ResourceNotFoundException";
|
|
82
|
-
$fault = "client";
|
|
83
|
-
Message;
|
|
84
|
-
constructor(opts) {
|
|
85
|
-
super({
|
|
86
|
-
name: "ResourceNotFoundException",
|
|
87
|
-
$fault: "client",
|
|
88
|
-
...opts,
|
|
89
|
-
});
|
|
90
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
91
|
-
this.Message = opts.Message;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
1
|
+
export {};
|
|
@@ -27,7 +27,7 @@ const _s = "streaming";
|
|
|
27
27
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.kinesisvideomedia";
|
|
28
28
|
const n0 = "com.amazonaws.kinesisvideomedia";
|
|
29
29
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
30
|
-
import { ClientLimitExceededException as __ClientLimitExceededException, ConnectionLimitExceededException as __ConnectionLimitExceededException, InvalidArgumentException as __InvalidArgumentException, InvalidEndpointException as __InvalidEndpointException, NotAuthorizedException as __NotAuthorizedException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/
|
|
30
|
+
import { ClientLimitExceededException as __ClientLimitExceededException, ConnectionLimitExceededException as __ConnectionLimitExceededException, InvalidArgumentException as __InvalidArgumentException, InvalidEndpointException as __InvalidEndpointException, NotAuthorizedException as __NotAuthorizedException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/errors";
|
|
31
31
|
import { KinesisVideoMediaServiceException as __KinesisVideoMediaServiceException } from "../models/KinesisVideoMediaServiceException";
|
|
32
32
|
export var Payload = [
|
|
33
33
|
0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,5 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { KinesisVideoMediaExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
-
export * from "./models";
|
|
12
|
+
export * from "./models/enums";
|
|
13
|
+
export * from "./models/errors";
|
|
14
|
+
export type * from "./models/models_0";
|
|
13
15
|
export { KinesisVideoMediaServiceException } from "./models/KinesisVideoMediaServiceException";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const StartSelectorType: {
|
|
6
|
+
readonly CONTINUATION_TOKEN: "CONTINUATION_TOKEN";
|
|
7
|
+
readonly EARLIEST: "EARLIEST";
|
|
8
|
+
readonly FRAGMENT_NUMBER: "FRAGMENT_NUMBER";
|
|
9
|
+
readonly NOW: "NOW";
|
|
10
|
+
readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
|
|
11
|
+
readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type StartSelectorType = (typeof StartSelectorType)[keyof typeof StartSelectorType];
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { KinesisVideoMediaServiceException as __BaseException } from "./KinesisVideoMediaServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Kinesis Video Streams has throttled the request because you have exceeded the limit of
|
|
5
|
+
* allowed client calls. Try making the call later.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class ClientLimitExceededException extends __BaseException {
|
|
9
|
+
readonly name: "ClientLimitExceededException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<ClientLimitExceededException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>Kinesis Video Streams has throttled the request because you have exceeded the limit of
|
|
19
|
+
* allowed client connections.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare class ConnectionLimitExceededException extends __BaseException {
|
|
23
|
+
readonly name: "ConnectionLimitExceededException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
Message?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
constructor(opts: __ExceptionOptionType<ConnectionLimitExceededException, __BaseException>);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* <p>The value for this input parameter is invalid.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export declare class InvalidArgumentException extends __BaseException {
|
|
36
|
+
readonly name: "InvalidArgumentException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
Message?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* <p> Status Code: 400, Caller used wrong endpoint to write data to a stream. On receiving
|
|
46
|
+
* such an exception, the user must call <code>GetDataEndpoint</code> with
|
|
47
|
+
* <code>AccessMode</code> set to "READ" and use the endpoint Kinesis Video returns in the next
|
|
48
|
+
* <code>GetMedia</code> call. </p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export declare class InvalidEndpointException extends __BaseException {
|
|
52
|
+
readonly name: "InvalidEndpointException";
|
|
53
|
+
readonly $fault: "client";
|
|
54
|
+
Message?: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* <p>Status Code: 403, The caller is not authorized to perform an operation on the given
|
|
62
|
+
* stream, or the token has expired.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class NotAuthorizedException extends __BaseException {
|
|
66
|
+
readonly name: "NotAuthorizedException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
Message?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* <p>Status Code: 404, The stream with the given name does not exist.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
79
|
+
readonly name: "ResourceNotFoundException";
|
|
80
|
+
readonly $fault: "client";
|
|
81
|
+
Message?: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
86
|
+
}
|
|
@@ -1,50 +1,5 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
/**
|
|
5
|
-
* <p>Kinesis Video Streams has throttled the request because you have exceeded the limit of
|
|
6
|
-
* allowed client calls. Try making the call later.</p>
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export declare class ClientLimitExceededException extends __BaseException {
|
|
10
|
-
readonly name: "ClientLimitExceededException";
|
|
11
|
-
readonly $fault: "client";
|
|
12
|
-
Message?: string | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
constructor(opts: __ExceptionOptionType<ClientLimitExceededException, __BaseException>);
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* <p>Kinesis Video Streams has throttled the request because you have exceeded the limit of
|
|
20
|
-
* allowed client connections.</p>
|
|
21
|
-
* @public
|
|
22
|
-
*/
|
|
23
|
-
export declare class ConnectionLimitExceededException extends __BaseException {
|
|
24
|
-
readonly name: "ConnectionLimitExceededException";
|
|
25
|
-
readonly $fault: "client";
|
|
26
|
-
Message?: string | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
30
|
-
constructor(opts: __ExceptionOptionType<ConnectionLimitExceededException, __BaseException>);
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* @public
|
|
34
|
-
* @enum
|
|
35
|
-
*/
|
|
36
|
-
export declare const StartSelectorType: {
|
|
37
|
-
readonly CONTINUATION_TOKEN: "CONTINUATION_TOKEN";
|
|
38
|
-
readonly EARLIEST: "EARLIEST";
|
|
39
|
-
readonly FRAGMENT_NUMBER: "FRAGMENT_NUMBER";
|
|
40
|
-
readonly NOW: "NOW";
|
|
41
|
-
readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
|
|
42
|
-
readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* @public
|
|
46
|
-
*/
|
|
47
|
-
export type StartSelectorType = (typeof StartSelectorType)[keyof typeof StartSelectorType];
|
|
2
|
+
import { StartSelectorType } from "./enums";
|
|
48
3
|
/**
|
|
49
4
|
* <p>Identifies the chunk on the Kinesis video stream where you want the
|
|
50
5
|
* <code>GetMedia</code> API to start returning media data. You have the following options to
|
|
@@ -225,59 +180,3 @@ export interface GetMediaOutput {
|
|
|
225
180
|
*/
|
|
226
181
|
Payload?: StreamingBlobTypes | undefined;
|
|
227
182
|
}
|
|
228
|
-
/**
|
|
229
|
-
* <p>The value for this input parameter is invalid.</p>
|
|
230
|
-
* @public
|
|
231
|
-
*/
|
|
232
|
-
export declare class InvalidArgumentException extends __BaseException {
|
|
233
|
-
readonly name: "InvalidArgumentException";
|
|
234
|
-
readonly $fault: "client";
|
|
235
|
-
Message?: string | undefined;
|
|
236
|
-
/**
|
|
237
|
-
* @internal
|
|
238
|
-
*/
|
|
239
|
-
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* <p> Status Code: 400, Caller used wrong endpoint to write data to a stream. On receiving
|
|
243
|
-
* such an exception, the user must call <code>GetDataEndpoint</code> with
|
|
244
|
-
* <code>AccessMode</code> set to "READ" and use the endpoint Kinesis Video returns in the next
|
|
245
|
-
* <code>GetMedia</code> call. </p>
|
|
246
|
-
* @public
|
|
247
|
-
*/
|
|
248
|
-
export declare class InvalidEndpointException extends __BaseException {
|
|
249
|
-
readonly name: "InvalidEndpointException";
|
|
250
|
-
readonly $fault: "client";
|
|
251
|
-
Message?: string | undefined;
|
|
252
|
-
/**
|
|
253
|
-
* @internal
|
|
254
|
-
*/
|
|
255
|
-
constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
|
|
256
|
-
}
|
|
257
|
-
/**
|
|
258
|
-
* <p>Status Code: 403, The caller is not authorized to perform an operation on the given
|
|
259
|
-
* stream, or the token has expired.</p>
|
|
260
|
-
* @public
|
|
261
|
-
*/
|
|
262
|
-
export declare class NotAuthorizedException extends __BaseException {
|
|
263
|
-
readonly name: "NotAuthorizedException";
|
|
264
|
-
readonly $fault: "client";
|
|
265
|
-
Message?: string | undefined;
|
|
266
|
-
/**
|
|
267
|
-
* @internal
|
|
268
|
-
*/
|
|
269
|
-
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
270
|
-
}
|
|
271
|
-
/**
|
|
272
|
-
* <p>Status Code: 404, The stream with the given name does not exist.</p>
|
|
273
|
-
* @public
|
|
274
|
-
*/
|
|
275
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
276
|
-
readonly name: "ResourceNotFoundException";
|
|
277
|
-
readonly $fault: "client";
|
|
278
|
-
Message?: string | undefined;
|
|
279
|
-
/**
|
|
280
|
-
* @internal
|
|
281
|
-
*/
|
|
282
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
283
|
-
}
|
|
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { KinesisVideoMediaExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
-
export * from "./models";
|
|
7
|
+
export * from "./models/enums";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
8
10
|
export { KinesisVideoMediaServiceException } from "./models/KinesisVideoMediaServiceException";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const StartSelectorType: {
|
|
2
|
+
readonly CONTINUATION_TOKEN: "CONTINUATION_TOKEN";
|
|
3
|
+
readonly EARLIEST: "EARLIEST";
|
|
4
|
+
readonly FRAGMENT_NUMBER: "FRAGMENT_NUMBER";
|
|
5
|
+
readonly NOW: "NOW";
|
|
6
|
+
readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
|
|
7
|
+
readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
|
|
8
|
+
};
|
|
9
|
+
export type StartSelectorType =
|
|
10
|
+
(typeof StartSelectorType)[keyof typeof StartSelectorType];
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { KinesisVideoMediaServiceException as __BaseException } from "./KinesisVideoMediaServiceException";
|
|
3
|
+
export declare class ClientLimitExceededException extends __BaseException {
|
|
4
|
+
readonly name: "ClientLimitExceededException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<ClientLimitExceededException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class ConnectionLimitExceededException extends __BaseException {
|
|
12
|
+
readonly name: "ConnectionLimitExceededException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<
|
|
17
|
+
ConnectionLimitExceededException,
|
|
18
|
+
__BaseException
|
|
19
|
+
>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export declare class InvalidArgumentException extends __BaseException {
|
|
23
|
+
readonly name: "InvalidArgumentException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
Message?: string | undefined;
|
|
26
|
+
constructor(
|
|
27
|
+
opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export declare class InvalidEndpointException extends __BaseException {
|
|
31
|
+
readonly name: "InvalidEndpointException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
Message?: string | undefined;
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class NotAuthorizedException extends __BaseException {
|
|
39
|
+
readonly name: "NotAuthorizedException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
Message?: string | undefined;
|
|
42
|
+
constructor(
|
|
43
|
+
opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
47
|
+
readonly name: "ResourceNotFoundException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
Message?: string | undefined;
|
|
50
|
+
constructor(
|
|
51
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
export declare class ClientLimitExceededException extends __BaseException {
|
|
5
|
-
readonly name: "ClientLimitExceededException";
|
|
6
|
-
readonly $fault: "client";
|
|
7
|
-
Message?: string | undefined;
|
|
8
|
-
constructor(
|
|
9
|
-
opts: __ExceptionOptionType<ClientLimitExceededException, __BaseException>
|
|
10
|
-
);
|
|
11
|
-
}
|
|
12
|
-
export declare class ConnectionLimitExceededException extends __BaseException {
|
|
13
|
-
readonly name: "ConnectionLimitExceededException";
|
|
14
|
-
readonly $fault: "client";
|
|
15
|
-
Message?: string | undefined;
|
|
16
|
-
constructor(
|
|
17
|
-
opts: __ExceptionOptionType<
|
|
18
|
-
ConnectionLimitExceededException,
|
|
19
|
-
__BaseException
|
|
20
|
-
>
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
export declare const StartSelectorType: {
|
|
24
|
-
readonly CONTINUATION_TOKEN: "CONTINUATION_TOKEN";
|
|
25
|
-
readonly EARLIEST: "EARLIEST";
|
|
26
|
-
readonly FRAGMENT_NUMBER: "FRAGMENT_NUMBER";
|
|
27
|
-
readonly NOW: "NOW";
|
|
28
|
-
readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
|
|
29
|
-
readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
|
|
30
|
-
};
|
|
31
|
-
export type StartSelectorType =
|
|
32
|
-
(typeof StartSelectorType)[keyof typeof StartSelectorType];
|
|
2
|
+
import { StartSelectorType } from "./enums";
|
|
33
3
|
export interface StartSelector {
|
|
34
4
|
StartSelectorType: StartSelectorType | undefined;
|
|
35
5
|
AfterFragmentNumber?: string | undefined;
|
|
@@ -45,35 +15,3 @@ export interface GetMediaOutput {
|
|
|
45
15
|
ContentType?: string | undefined;
|
|
46
16
|
Payload?: StreamingBlobTypes | undefined;
|
|
47
17
|
}
|
|
48
|
-
export declare class InvalidArgumentException extends __BaseException {
|
|
49
|
-
readonly name: "InvalidArgumentException";
|
|
50
|
-
readonly $fault: "client";
|
|
51
|
-
Message?: string | undefined;
|
|
52
|
-
constructor(
|
|
53
|
-
opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
export declare class InvalidEndpointException extends __BaseException {
|
|
57
|
-
readonly name: "InvalidEndpointException";
|
|
58
|
-
readonly $fault: "client";
|
|
59
|
-
Message?: string | undefined;
|
|
60
|
-
constructor(
|
|
61
|
-
opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
export declare class NotAuthorizedException extends __BaseException {
|
|
65
|
-
readonly name: "NotAuthorizedException";
|
|
66
|
-
readonly $fault: "client";
|
|
67
|
-
Message?: string | undefined;
|
|
68
|
-
constructor(
|
|
69
|
-
opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
73
|
-
readonly name: "ResourceNotFoundException";
|
|
74
|
-
readonly $fault: "client";
|
|
75
|
-
Message?: string | undefined;
|
|
76
|
-
constructor(
|
|
77
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
78
|
-
);
|
|
79
|
-
}
|
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.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kinesis-video-media",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|