@aws-sdk/client-ivs 3.933.0 → 3.935.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 +32 -74
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +31 -0
- package/dist-es/models/errors.js +141 -0
- package/dist-es/models/models_0.js +0 -172
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +79 -0
- package/dist-types/models/errors.d.ts +172 -0
- package/dist-types/models/models_0.d.ts +1 -251
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +42 -0
- package/dist-types/ts3.4/models/errors.d.ts +78 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -120
- package/package.json +12 -12
- 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
|
@@ -131,33 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends IvsServiceExce
|
|
|
131
131
|
this.exceptionMessage = opts.exceptionMessage;
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
const ContainerFormat = {
|
|
135
|
-
FragmentedMP4: "FRAGMENTED_MP4",
|
|
136
|
-
TS: "TS",
|
|
137
|
-
};
|
|
138
|
-
const ChannelLatencyMode = {
|
|
139
|
-
LowLatency: "LOW",
|
|
140
|
-
NormalLatency: "NORMAL",
|
|
141
|
-
};
|
|
142
|
-
const MultitrackMaximumResolution = {
|
|
143
|
-
FULL_HD: "FULL_HD",
|
|
144
|
-
HD: "HD",
|
|
145
|
-
SD: "SD",
|
|
146
|
-
};
|
|
147
|
-
const MultitrackPolicy = {
|
|
148
|
-
ALLOW: "ALLOW",
|
|
149
|
-
REQUIRE: "REQUIRE",
|
|
150
|
-
};
|
|
151
|
-
const TranscodePreset = {
|
|
152
|
-
ConstrainedBandwidthTranscodePreset: "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
153
|
-
HigherBandwidthTranscodePreset: "HIGHER_BANDWIDTH_DELIVERY",
|
|
154
|
-
};
|
|
155
|
-
const ChannelType = {
|
|
156
|
-
AdvancedHDChannelType: "ADVANCED_HD",
|
|
157
|
-
AdvancedSDChannelType: "ADVANCED_SD",
|
|
158
|
-
BasicChannelType: "BASIC",
|
|
159
|
-
StandardChannelType: "STANDARD",
|
|
160
|
-
};
|
|
161
134
|
let PendingVerification$1 = class PendingVerification extends IvsServiceException$1 {
|
|
162
135
|
name = "PendingVerification";
|
|
163
136
|
$fault = "client";
|
|
@@ -242,36 +215,6 @@ let ConflictException$1 = class ConflictException extends IvsServiceException$1
|
|
|
242
215
|
this.exceptionMessage = opts.exceptionMessage;
|
|
243
216
|
}
|
|
244
217
|
};
|
|
245
|
-
const RenditionConfigurationRendition = {
|
|
246
|
-
FULL_HD: "FULL_HD",
|
|
247
|
-
HD: "HD",
|
|
248
|
-
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
249
|
-
SD: "SD",
|
|
250
|
-
};
|
|
251
|
-
const RenditionConfigurationRenditionSelection = {
|
|
252
|
-
ALL: "ALL",
|
|
253
|
-
CUSTOM: "CUSTOM",
|
|
254
|
-
NONE: "NONE",
|
|
255
|
-
};
|
|
256
|
-
const RecordingMode = {
|
|
257
|
-
Disabled: "DISABLED",
|
|
258
|
-
Interval: "INTERVAL",
|
|
259
|
-
};
|
|
260
|
-
const ThumbnailConfigurationResolution = {
|
|
261
|
-
FULL_HD: "FULL_HD",
|
|
262
|
-
HD: "HD",
|
|
263
|
-
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
264
|
-
SD: "SD",
|
|
265
|
-
};
|
|
266
|
-
const ThumbnailConfigurationStorage = {
|
|
267
|
-
LATEST: "LATEST",
|
|
268
|
-
SEQUENTIAL: "SEQUENTIAL",
|
|
269
|
-
};
|
|
270
|
-
const RecordingConfigurationState = {
|
|
271
|
-
Active: "ACTIVE",
|
|
272
|
-
CreateFailed: "CREATE_FAILED",
|
|
273
|
-
Creating: "CREATING",
|
|
274
|
-
};
|
|
275
218
|
let InternalServerException$1 = class InternalServerException extends IvsServiceException$1 {
|
|
276
219
|
name = "InternalServerException";
|
|
277
220
|
$fault = "server";
|
|
@@ -300,15 +243,6 @@ let ChannelNotBroadcasting$1 = class ChannelNotBroadcasting extends IvsServiceEx
|
|
|
300
243
|
this.exceptionMessage = opts.exceptionMessage;
|
|
301
244
|
}
|
|
302
245
|
};
|
|
303
|
-
const StreamHealth = {
|
|
304
|
-
Starving: "STARVING",
|
|
305
|
-
StreamHealthy: "HEALTHY",
|
|
306
|
-
Unknown: "UNKNOWN",
|
|
307
|
-
};
|
|
308
|
-
const StreamState = {
|
|
309
|
-
StreamLive: "LIVE",
|
|
310
|
-
StreamOffline: "OFFLINE",
|
|
311
|
-
};
|
|
312
246
|
let StreamUnavailable$1 = class StreamUnavailable extends IvsServiceException$1 {
|
|
313
247
|
name = "StreamUnavailable";
|
|
314
248
|
$fault = "server";
|
|
@@ -1931,6 +1865,38 @@ const paginateListStreamSessions = core.createPaginator(IvsClient, ListStreamSes
|
|
|
1931
1865
|
|
|
1932
1866
|
const paginateListStreams = core.createPaginator(IvsClient, ListStreamsCommand, "nextToken", "nextToken", "maxResults");
|
|
1933
1867
|
|
|
1868
|
+
const MultitrackMaximumResolution = {
|
|
1869
|
+
FULL_HD: "FULL_HD",
|
|
1870
|
+
HD: "HD",
|
|
1871
|
+
SD: "SD",
|
|
1872
|
+
};
|
|
1873
|
+
const MultitrackPolicy = {
|
|
1874
|
+
ALLOW: "ALLOW",
|
|
1875
|
+
REQUIRE: "REQUIRE",
|
|
1876
|
+
};
|
|
1877
|
+
const TranscodePreset = {
|
|
1878
|
+
ConstrainedBandwidthTranscodePreset: "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
1879
|
+
HigherBandwidthTranscodePreset: "HIGHER_BANDWIDTH_DELIVERY",
|
|
1880
|
+
};
|
|
1881
|
+
const ChannelType = {
|
|
1882
|
+
AdvancedHDChannelType: "ADVANCED_HD",
|
|
1883
|
+
AdvancedSDChannelType: "ADVANCED_SD",
|
|
1884
|
+
BasicChannelType: "BASIC",
|
|
1885
|
+
StandardChannelType: "STANDARD",
|
|
1886
|
+
};
|
|
1887
|
+
const RenditionConfigurationRendition = {
|
|
1888
|
+
FULL_HD: "FULL_HD",
|
|
1889
|
+
HD: "HD",
|
|
1890
|
+
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
1891
|
+
SD: "SD",
|
|
1892
|
+
};
|
|
1893
|
+
const ThumbnailConfigurationResolution = {
|
|
1894
|
+
FULL_HD: "FULL_HD",
|
|
1895
|
+
HD: "HD",
|
|
1896
|
+
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
1897
|
+
SD: "SD",
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1934
1900
|
Object.defineProperty(exports, "$Command", {
|
|
1935
1901
|
enumerable: true,
|
|
1936
1902
|
get: function () { return smithyClient.Command; }
|
|
@@ -1943,11 +1909,9 @@ exports.AccessDeniedException = AccessDeniedException$1;
|
|
|
1943
1909
|
exports.BatchGetChannelCommand = BatchGetChannelCommand;
|
|
1944
1910
|
exports.BatchGetStreamKeyCommand = BatchGetStreamKeyCommand;
|
|
1945
1911
|
exports.BatchStartViewerSessionRevocationCommand = BatchStartViewerSessionRevocationCommand;
|
|
1946
|
-
exports.ChannelLatencyMode = ChannelLatencyMode;
|
|
1947
1912
|
exports.ChannelNotBroadcasting = ChannelNotBroadcasting$1;
|
|
1948
1913
|
exports.ChannelType = ChannelType;
|
|
1949
1914
|
exports.ConflictException = ConflictException$1;
|
|
1950
|
-
exports.ContainerFormat = ContainerFormat;
|
|
1951
1915
|
exports.CreateChannelCommand = CreateChannelCommand;
|
|
1952
1916
|
exports.CreatePlaybackRestrictionPolicyCommand = CreatePlaybackRestrictionPolicyCommand;
|
|
1953
1917
|
exports.CreateRecordingConfigurationCommand = CreateRecordingConfigurationCommand;
|
|
@@ -1981,21 +1945,15 @@ exports.MultitrackMaximumResolution = MultitrackMaximumResolution;
|
|
|
1981
1945
|
exports.MultitrackPolicy = MultitrackPolicy;
|
|
1982
1946
|
exports.PendingVerification = PendingVerification$1;
|
|
1983
1947
|
exports.PutMetadataCommand = PutMetadataCommand;
|
|
1984
|
-
exports.RecordingConfigurationState = RecordingConfigurationState;
|
|
1985
|
-
exports.RecordingMode = RecordingMode;
|
|
1986
1948
|
exports.RenditionConfigurationRendition = RenditionConfigurationRendition;
|
|
1987
|
-
exports.RenditionConfigurationRenditionSelection = RenditionConfigurationRenditionSelection;
|
|
1988
1949
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1989
1950
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1990
1951
|
exports.StartViewerSessionRevocationCommand = StartViewerSessionRevocationCommand;
|
|
1991
1952
|
exports.StopStreamCommand = StopStreamCommand;
|
|
1992
|
-
exports.StreamHealth = StreamHealth;
|
|
1993
|
-
exports.StreamState = StreamState;
|
|
1994
1953
|
exports.StreamUnavailable = StreamUnavailable$1;
|
|
1995
1954
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1996
1955
|
exports.ThrottlingException = ThrottlingException$1;
|
|
1997
1956
|
exports.ThumbnailConfigurationResolution = ThumbnailConfigurationResolution;
|
|
1998
|
-
exports.ThumbnailConfigurationStorage = ThumbnailConfigurationStorage;
|
|
1999
1957
|
exports.TranscodePreset = TranscodePreset;
|
|
2000
1958
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2001
1959
|
exports.UpdateChannelCommand = UpdateChannelCommand;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./IvsClient";
|
|
|
2
2
|
export * from "./Ivs";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { IvsServiceException } from "./models/IvsServiceException";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export const MultitrackMaximumResolution = {
|
|
2
|
+
FULL_HD: "FULL_HD",
|
|
3
|
+
HD: "HD",
|
|
4
|
+
SD: "SD",
|
|
5
|
+
};
|
|
6
|
+
export const MultitrackPolicy = {
|
|
7
|
+
ALLOW: "ALLOW",
|
|
8
|
+
REQUIRE: "REQUIRE",
|
|
9
|
+
};
|
|
10
|
+
export const TranscodePreset = {
|
|
11
|
+
ConstrainedBandwidthTranscodePreset: "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
12
|
+
HigherBandwidthTranscodePreset: "HIGHER_BANDWIDTH_DELIVERY",
|
|
13
|
+
};
|
|
14
|
+
export const ChannelType = {
|
|
15
|
+
AdvancedHDChannelType: "ADVANCED_HD",
|
|
16
|
+
AdvancedSDChannelType: "ADVANCED_SD",
|
|
17
|
+
BasicChannelType: "BASIC",
|
|
18
|
+
StandardChannelType: "STANDARD",
|
|
19
|
+
};
|
|
20
|
+
export const RenditionConfigurationRendition = {
|
|
21
|
+
FULL_HD: "FULL_HD",
|
|
22
|
+
HD: "HD",
|
|
23
|
+
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
24
|
+
SD: "SD",
|
|
25
|
+
};
|
|
26
|
+
export const ThumbnailConfigurationResolution = {
|
|
27
|
+
FULL_HD: "FULL_HD",
|
|
28
|
+
HD: "HD",
|
|
29
|
+
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
30
|
+
SD: "SD",
|
|
31
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { IvsServiceException as __BaseException } from "./IvsServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
exceptionMessage;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class PendingVerification extends __BaseException {
|
|
17
|
+
name = "PendingVerification";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
exceptionMessage;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "PendingVerification",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, PendingVerification.prototype);
|
|
27
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ThrottlingException extends __BaseException {
|
|
31
|
+
name = "ThrottlingException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
exceptionMessage;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ThrottlingException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
41
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class ValidationException extends __BaseException {
|
|
45
|
+
name = "ValidationException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
exceptionMessage;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ValidationException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
55
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
59
|
+
name = "ResourceNotFoundException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
exceptionMessage;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ResourceNotFoundException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
69
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
73
|
+
name = "ServiceQuotaExceededException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
exceptionMessage;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "ServiceQuotaExceededException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
83
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class ConflictException extends __BaseException {
|
|
87
|
+
name = "ConflictException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
exceptionMessage;
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "ConflictException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
97
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export class InternalServerException extends __BaseException {
|
|
101
|
+
name = "InternalServerException";
|
|
102
|
+
$fault = "server";
|
|
103
|
+
exceptionMessage;
|
|
104
|
+
constructor(opts) {
|
|
105
|
+
super({
|
|
106
|
+
name: "InternalServerException",
|
|
107
|
+
$fault: "server",
|
|
108
|
+
...opts,
|
|
109
|
+
});
|
|
110
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
111
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class ChannelNotBroadcasting extends __BaseException {
|
|
115
|
+
name = "ChannelNotBroadcasting";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
exceptionMessage;
|
|
118
|
+
constructor(opts) {
|
|
119
|
+
super({
|
|
120
|
+
name: "ChannelNotBroadcasting",
|
|
121
|
+
$fault: "client",
|
|
122
|
+
...opts,
|
|
123
|
+
});
|
|
124
|
+
Object.setPrototypeOf(this, ChannelNotBroadcasting.prototype);
|
|
125
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
export class StreamUnavailable extends __BaseException {
|
|
129
|
+
name = "StreamUnavailable";
|
|
130
|
+
$fault = "server";
|
|
131
|
+
exceptionMessage;
|
|
132
|
+
constructor(opts) {
|
|
133
|
+
super({
|
|
134
|
+
name: "StreamUnavailable",
|
|
135
|
+
$fault: "server",
|
|
136
|
+
...opts,
|
|
137
|
+
});
|
|
138
|
+
Object.setPrototypeOf(this, StreamUnavailable.prototype);
|
|
139
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
import { IvsServiceException as __BaseException } from "./IvsServiceException";
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
exceptionMessage;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
1
|
export const ContainerFormat = {
|
|
17
2
|
FragmentedMP4: "FRAGMENTED_MP4",
|
|
18
3
|
TS: "TS",
|
|
@@ -21,115 +6,6 @@ export const ChannelLatencyMode = {
|
|
|
21
6
|
LowLatency: "LOW",
|
|
22
7
|
NormalLatency: "NORMAL",
|
|
23
8
|
};
|
|
24
|
-
export const MultitrackMaximumResolution = {
|
|
25
|
-
FULL_HD: "FULL_HD",
|
|
26
|
-
HD: "HD",
|
|
27
|
-
SD: "SD",
|
|
28
|
-
};
|
|
29
|
-
export const MultitrackPolicy = {
|
|
30
|
-
ALLOW: "ALLOW",
|
|
31
|
-
REQUIRE: "REQUIRE",
|
|
32
|
-
};
|
|
33
|
-
export const TranscodePreset = {
|
|
34
|
-
ConstrainedBandwidthTranscodePreset: "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
35
|
-
HigherBandwidthTranscodePreset: "HIGHER_BANDWIDTH_DELIVERY",
|
|
36
|
-
};
|
|
37
|
-
export const ChannelType = {
|
|
38
|
-
AdvancedHDChannelType: "ADVANCED_HD",
|
|
39
|
-
AdvancedSDChannelType: "ADVANCED_SD",
|
|
40
|
-
BasicChannelType: "BASIC",
|
|
41
|
-
StandardChannelType: "STANDARD",
|
|
42
|
-
};
|
|
43
|
-
export class PendingVerification extends __BaseException {
|
|
44
|
-
name = "PendingVerification";
|
|
45
|
-
$fault = "client";
|
|
46
|
-
exceptionMessage;
|
|
47
|
-
constructor(opts) {
|
|
48
|
-
super({
|
|
49
|
-
name: "PendingVerification",
|
|
50
|
-
$fault: "client",
|
|
51
|
-
...opts,
|
|
52
|
-
});
|
|
53
|
-
Object.setPrototypeOf(this, PendingVerification.prototype);
|
|
54
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
export class ThrottlingException extends __BaseException {
|
|
58
|
-
name = "ThrottlingException";
|
|
59
|
-
$fault = "client";
|
|
60
|
-
exceptionMessage;
|
|
61
|
-
constructor(opts) {
|
|
62
|
-
super({
|
|
63
|
-
name: "ThrottlingException",
|
|
64
|
-
$fault: "client",
|
|
65
|
-
...opts,
|
|
66
|
-
});
|
|
67
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
68
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
export class ValidationException extends __BaseException {
|
|
72
|
-
name = "ValidationException";
|
|
73
|
-
$fault = "client";
|
|
74
|
-
exceptionMessage;
|
|
75
|
-
constructor(opts) {
|
|
76
|
-
super({
|
|
77
|
-
name: "ValidationException",
|
|
78
|
-
$fault: "client",
|
|
79
|
-
...opts,
|
|
80
|
-
});
|
|
81
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
82
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
86
|
-
name = "ResourceNotFoundException";
|
|
87
|
-
$fault = "client";
|
|
88
|
-
exceptionMessage;
|
|
89
|
-
constructor(opts) {
|
|
90
|
-
super({
|
|
91
|
-
name: "ResourceNotFoundException",
|
|
92
|
-
$fault: "client",
|
|
93
|
-
...opts,
|
|
94
|
-
});
|
|
95
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
96
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
100
|
-
name = "ServiceQuotaExceededException";
|
|
101
|
-
$fault = "client";
|
|
102
|
-
exceptionMessage;
|
|
103
|
-
constructor(opts) {
|
|
104
|
-
super({
|
|
105
|
-
name: "ServiceQuotaExceededException",
|
|
106
|
-
$fault: "client",
|
|
107
|
-
...opts,
|
|
108
|
-
});
|
|
109
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
110
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
export class ConflictException extends __BaseException {
|
|
114
|
-
name = "ConflictException";
|
|
115
|
-
$fault = "client";
|
|
116
|
-
exceptionMessage;
|
|
117
|
-
constructor(opts) {
|
|
118
|
-
super({
|
|
119
|
-
name: "ConflictException",
|
|
120
|
-
$fault: "client",
|
|
121
|
-
...opts,
|
|
122
|
-
});
|
|
123
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
124
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
export const RenditionConfigurationRendition = {
|
|
128
|
-
FULL_HD: "FULL_HD",
|
|
129
|
-
HD: "HD",
|
|
130
|
-
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
131
|
-
SD: "SD",
|
|
132
|
-
};
|
|
133
9
|
export const RenditionConfigurationRenditionSelection = {
|
|
134
10
|
ALL: "ALL",
|
|
135
11
|
CUSTOM: "CUSTOM",
|
|
@@ -139,12 +15,6 @@ export const RecordingMode = {
|
|
|
139
15
|
Disabled: "DISABLED",
|
|
140
16
|
Interval: "INTERVAL",
|
|
141
17
|
};
|
|
142
|
-
export const ThumbnailConfigurationResolution = {
|
|
143
|
-
FULL_HD: "FULL_HD",
|
|
144
|
-
HD: "HD",
|
|
145
|
-
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
146
|
-
SD: "SD",
|
|
147
|
-
};
|
|
148
18
|
export const ThumbnailConfigurationStorage = {
|
|
149
19
|
LATEST: "LATEST",
|
|
150
20
|
SEQUENTIAL: "SEQUENTIAL",
|
|
@@ -154,34 +24,6 @@ export const RecordingConfigurationState = {
|
|
|
154
24
|
CreateFailed: "CREATE_FAILED",
|
|
155
25
|
Creating: "CREATING",
|
|
156
26
|
};
|
|
157
|
-
export class InternalServerException extends __BaseException {
|
|
158
|
-
name = "InternalServerException";
|
|
159
|
-
$fault = "server";
|
|
160
|
-
exceptionMessage;
|
|
161
|
-
constructor(opts) {
|
|
162
|
-
super({
|
|
163
|
-
name: "InternalServerException",
|
|
164
|
-
$fault: "server",
|
|
165
|
-
...opts,
|
|
166
|
-
});
|
|
167
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
168
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
export class ChannelNotBroadcasting extends __BaseException {
|
|
172
|
-
name = "ChannelNotBroadcasting";
|
|
173
|
-
$fault = "client";
|
|
174
|
-
exceptionMessage;
|
|
175
|
-
constructor(opts) {
|
|
176
|
-
super({
|
|
177
|
-
name: "ChannelNotBroadcasting",
|
|
178
|
-
$fault: "client",
|
|
179
|
-
...opts,
|
|
180
|
-
});
|
|
181
|
-
Object.setPrototypeOf(this, ChannelNotBroadcasting.prototype);
|
|
182
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
27
|
export const StreamHealth = {
|
|
186
28
|
Starving: "STARVING",
|
|
187
29
|
StreamHealthy: "HEALTHY",
|
|
@@ -191,17 +33,3 @@ export const StreamState = {
|
|
|
191
33
|
StreamLive: "LIVE",
|
|
192
34
|
StreamOffline: "OFFLINE",
|
|
193
35
|
};
|
|
194
|
-
export class StreamUnavailable extends __BaseException {
|
|
195
|
-
name = "StreamUnavailable";
|
|
196
|
-
$fault = "server";
|
|
197
|
-
exceptionMessage;
|
|
198
|
-
constructor(opts) {
|
|
199
|
-
super({
|
|
200
|
-
name: "StreamUnavailable",
|
|
201
|
-
$fault: "server",
|
|
202
|
-
...opts,
|
|
203
|
-
});
|
|
204
|
-
Object.setPrototypeOf(this, StreamUnavailable.prototype);
|
|
205
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
@@ -261,7 +261,7 @@ const _vW = "videoWidth";
|
|
|
261
261
|
const _va = "value";
|
|
262
262
|
const n0 = "com.amazonaws.ivs";
|
|
263
263
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
264
|
-
import { AccessDeniedException as __AccessDeniedException, ChannelNotBroadcasting as __ChannelNotBroadcasting, ConflictException as __ConflictException, InternalServerException as __InternalServerException, PendingVerification as __PendingVerification, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, StreamUnavailable as __StreamUnavailable, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
264
|
+
import { AccessDeniedException as __AccessDeniedException, ChannelNotBroadcasting as __ChannelNotBroadcasting, ConflictException as __ConflictException, InternalServerException as __InternalServerException, PendingVerification as __PendingVerification, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, StreamUnavailable as __StreamUnavailable, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
265
265
|
import { IvsServiceException as __IvsServiceException } from "../models/IvsServiceException";
|
|
266
266
|
export var SrtPassphrase = [0, n0, _SP, 8, 0];
|
|
267
267
|
export var StreamKeyValue = [0, n0, _SKV, 8, 0];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -140,5 +140,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
140
140
|
export type { IvsExtensionConfiguration } from "./extensionConfiguration";
|
|
141
141
|
export * from "./commands";
|
|
142
142
|
export * from "./pagination";
|
|
143
|
-
export * from "./models";
|
|
143
|
+
export * from "./models/enums";
|
|
144
|
+
export * from "./models/errors";
|
|
145
|
+
export type * from "./models/models_0";
|
|
144
146
|
export { IvsServiceException } from "./models/IvsServiceException";
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const MultitrackMaximumResolution: {
|
|
6
|
+
readonly FULL_HD: "FULL_HD";
|
|
7
|
+
readonly HD: "HD";
|
|
8
|
+
readonly SD: "SD";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type MultitrackMaximumResolution = (typeof MultitrackMaximumResolution)[keyof typeof MultitrackMaximumResolution];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @enum
|
|
17
|
+
*/
|
|
18
|
+
export declare const MultitrackPolicy: {
|
|
19
|
+
readonly ALLOW: "ALLOW";
|
|
20
|
+
readonly REQUIRE: "REQUIRE";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type MultitrackPolicy = (typeof MultitrackPolicy)[keyof typeof MultitrackPolicy];
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* @enum
|
|
29
|
+
*/
|
|
30
|
+
export declare const TranscodePreset: {
|
|
31
|
+
readonly ConstrainedBandwidthTranscodePreset: "CONSTRAINED_BANDWIDTH_DELIVERY";
|
|
32
|
+
readonly HigherBandwidthTranscodePreset: "HIGHER_BANDWIDTH_DELIVERY";
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type TranscodePreset = (typeof TranscodePreset)[keyof typeof TranscodePreset];
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
* @enum
|
|
41
|
+
*/
|
|
42
|
+
export declare const ChannelType: {
|
|
43
|
+
readonly AdvancedHDChannelType: "ADVANCED_HD";
|
|
44
|
+
readonly AdvancedSDChannelType: "ADVANCED_SD";
|
|
45
|
+
readonly BasicChannelType: "BASIC";
|
|
46
|
+
readonly StandardChannelType: "STANDARD";
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
* @enum
|
|
55
|
+
*/
|
|
56
|
+
export declare const RenditionConfigurationRendition: {
|
|
57
|
+
readonly FULL_HD: "FULL_HD";
|
|
58
|
+
readonly HD: "HD";
|
|
59
|
+
readonly LOWEST_RESOLUTION: "LOWEST_RESOLUTION";
|
|
60
|
+
readonly SD: "SD";
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type RenditionConfigurationRendition = (typeof RenditionConfigurationRendition)[keyof typeof RenditionConfigurationRendition];
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* @enum
|
|
69
|
+
*/
|
|
70
|
+
export declare const ThumbnailConfigurationResolution: {
|
|
71
|
+
readonly FULL_HD: "FULL_HD";
|
|
72
|
+
readonly HD: "HD";
|
|
73
|
+
readonly LOWEST_RESOLUTION: "LOWEST_RESOLUTION";
|
|
74
|
+
readonly SD: "SD";
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export type ThumbnailConfigurationResolution = (typeof ThumbnailConfigurationResolution)[keyof typeof ThumbnailConfigurationResolution];
|