@aws-sdk/client-ivs 3.670.0 → 3.675.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 +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/commands/GetStreamSessionCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +26 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -1774,6 +1774,7 @@ var de__Stream = /* @__PURE__ */ __name((output, context) => {
|
|
|
1774
1774
|
}, "de__Stream");
|
|
1775
1775
|
var de_StreamEvent = /* @__PURE__ */ __name((output, context) => {
|
|
1776
1776
|
return (0, import_smithy_client.take)(output, {
|
|
1777
|
+
code: import_smithy_client.expectString,
|
|
1777
1778
|
eventTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1778
1779
|
name: import_smithy_client.expectString,
|
|
1779
1780
|
type: import_smithy_client.expectString
|
|
@@ -1153,6 +1153,7 @@ const de__Stream = (output, context) => {
|
|
|
1153
1153
|
};
|
|
1154
1154
|
const de_StreamEvent = (output, context) => {
|
|
1155
1155
|
return take(output, {
|
|
1156
|
+
code: __expectString,
|
|
1156
1157
|
eventTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1157
1158
|
name: __expectString,
|
|
1158
1159
|
type: __expectString,
|
|
@@ -1336,6 +1336,32 @@ export interface StreamEvent {
|
|
|
1336
1336
|
* @public
|
|
1337
1337
|
*/
|
|
1338
1338
|
eventTime?: Date;
|
|
1339
|
+
/**
|
|
1340
|
+
* <p>Provides additional details about the stream event. There are several values; note that
|
|
1341
|
+
* the long descriptions are provided in the IVS console but not delivered through
|
|
1342
|
+
* the IVS API or EventBridge:</p>
|
|
1343
|
+
* <ul>
|
|
1344
|
+
* <li>
|
|
1345
|
+
* <p>
|
|
1346
|
+
* <code>StreamTakeoverMediaMismatch</code> — The broadcast client attempted to take over
|
|
1347
|
+
* with different media properties (e.g., codec, resolution, or video track type) from the
|
|
1348
|
+
* original stream.</p>
|
|
1349
|
+
* </li>
|
|
1350
|
+
* <li>
|
|
1351
|
+
* <p>
|
|
1352
|
+
* <code>StreamTakeoverInvalidPriority</code> — The broadcast client attempted a takeover
|
|
1353
|
+
* with either a priority integer value equal to or lower than the original stream's value or a value outside
|
|
1354
|
+
* the allowed range of 1 to 2,147,483,647.</p>
|
|
1355
|
+
* </li>
|
|
1356
|
+
* <li>
|
|
1357
|
+
* <p>
|
|
1358
|
+
* <code>StreamTakeoverLimitBreached</code> — The broadcast client reached the maximum allowed
|
|
1359
|
+
* takeover attempts for this stream.</p>
|
|
1360
|
+
* </li>
|
|
1361
|
+
* </ul>
|
|
1362
|
+
* @public
|
|
1363
|
+
*/
|
|
1364
|
+
code?: string;
|
|
1339
1365
|
}
|
|
1340
1366
|
/**
|
|
1341
1367
|
* <p>Object that captures the Amazon IVS configuration that the customer provisioned, the
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
11
|
-
defaultUserAgentProvider: (config
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
|
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
-
defaultUserAgentProvider: (config
|
|
23
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
24
24
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
25
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
26
26
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -10,7 +10,9 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
|
|
|
10
10
|
input: any
|
|
11
11
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
12
|
defaultUserAgentProvider: (
|
|
13
|
-
config
|
|
13
|
+
config?:
|
|
14
|
+
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
15
|
+
| undefined
|
|
14
16
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
15
17
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
18
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -23,7 +23,9 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
|
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
25
|
defaultUserAgentProvider: (
|
|
26
|
-
config
|
|
26
|
+
config?:
|
|
27
|
+
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
28
|
+
| undefined
|
|
27
29
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
28
30
|
credentialDefaultProvider: (
|
|
29
31
|
input: any
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ivs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ivs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.675.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-ivs",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.675.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.675.0",
|
|
25
25
|
"@aws-sdk/core": "3.667.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.675.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.667.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.667.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.667.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.667.0",
|
|
32
32
|
"@aws-sdk/types": "3.667.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.667.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.675.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.669.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.9",
|
|
37
37
|
"@smithy/core": "^2.4.8",
|