@aws-sdk/client-ivs 3.758.0 → 3.772.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 +36 -36
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
BatchGetChannelCommand: () => BatchGetChannelCommand,
|
|
26
26
|
BatchGetChannelResponseFilterSensitiveLog: () => BatchGetChannelResponseFilterSensitiveLog,
|
|
@@ -105,7 +105,7 @@ __export(src_exports, {
|
|
|
105
105
|
paginateListStreamSessions: () => paginateListStreamSessions,
|
|
106
106
|
paginateListStreams: () => paginateListStreams
|
|
107
107
|
});
|
|
108
|
-
module.exports = __toCommonJS(
|
|
108
|
+
module.exports = __toCommonJS(index_exports);
|
|
109
109
|
|
|
110
110
|
// src/IvsClient.ts
|
|
111
111
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -232,9 +232,9 @@ var IvsClient = class extends import_smithy_client.Client {
|
|
|
232
232
|
this.middlewareStack.use(
|
|
233
233
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
234
234
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultIvsHttpAuthSchemeParametersProvider,
|
|
235
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
235
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
236
236
|
"aws.auth#sigv4": config.credentials
|
|
237
|
-
})
|
|
237
|
+
}), "identityProviderConfigProvider")
|
|
238
238
|
})
|
|
239
239
|
);
|
|
240
240
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -649,7 +649,7 @@ var se_BatchGetChannelCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
649
649
|
let body;
|
|
650
650
|
body = JSON.stringify(
|
|
651
651
|
(0, import_smithy_client.take)(input, {
|
|
652
|
-
arns: (_) => (0, import_smithy_client._json)(_)
|
|
652
|
+
arns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "arns")
|
|
653
653
|
})
|
|
654
654
|
);
|
|
655
655
|
b.m("POST").h(headers).b(body);
|
|
@@ -664,7 +664,7 @@ var se_BatchGetStreamKeyCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
664
664
|
let body;
|
|
665
665
|
body = JSON.stringify(
|
|
666
666
|
(0, import_smithy_client.take)(input, {
|
|
667
|
-
arns: (_) => (0, import_smithy_client._json)(_)
|
|
667
|
+
arns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "arns")
|
|
668
668
|
})
|
|
669
669
|
);
|
|
670
670
|
b.m("POST").h(headers).b(body);
|
|
@@ -679,7 +679,7 @@ var se_BatchStartViewerSessionRevocationCommand = /* @__PURE__ */ __name(async (
|
|
|
679
679
|
let body;
|
|
680
680
|
body = JSON.stringify(
|
|
681
681
|
(0, import_smithy_client.take)(input, {
|
|
682
|
-
viewerSessions: (_) => (0, import_smithy_client._json)(_)
|
|
682
|
+
viewerSessions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "viewerSessions")
|
|
683
683
|
})
|
|
684
684
|
);
|
|
685
685
|
b.m("POST").h(headers).b(body);
|
|
@@ -698,12 +698,12 @@ var se_CreateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
698
698
|
containerFormat: [],
|
|
699
699
|
insecureIngest: [],
|
|
700
700
|
latencyMode: [],
|
|
701
|
-
multitrackInputConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
701
|
+
multitrackInputConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "multitrackInputConfiguration"),
|
|
702
702
|
name: [],
|
|
703
703
|
playbackRestrictionPolicyArn: [],
|
|
704
704
|
preset: [],
|
|
705
705
|
recordingConfigurationArn: [],
|
|
706
|
-
tags: (_) => (0, import_smithy_client._json)(_),
|
|
706
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
707
707
|
type: []
|
|
708
708
|
})
|
|
709
709
|
);
|
|
@@ -719,11 +719,11 @@ var se_CreatePlaybackRestrictionPolicyCommand = /* @__PURE__ */ __name(async (in
|
|
|
719
719
|
let body;
|
|
720
720
|
body = JSON.stringify(
|
|
721
721
|
(0, import_smithy_client.take)(input, {
|
|
722
|
-
allowedCountries: (_) => (0, import_smithy_client._json)(_),
|
|
723
|
-
allowedOrigins: (_) => (0, import_smithy_client._json)(_),
|
|
722
|
+
allowedCountries: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "allowedCountries"),
|
|
723
|
+
allowedOrigins: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "allowedOrigins"),
|
|
724
724
|
enableStrictOriginEnforcement: [],
|
|
725
725
|
name: [],
|
|
726
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
726
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
727
727
|
})
|
|
728
728
|
);
|
|
729
729
|
b.m("POST").h(headers).b(body);
|
|
@@ -738,12 +738,12 @@ var se_CreateRecordingConfigurationCommand = /* @__PURE__ */ __name(async (input
|
|
|
738
738
|
let body;
|
|
739
739
|
body = JSON.stringify(
|
|
740
740
|
(0, import_smithy_client.take)(input, {
|
|
741
|
-
destinationConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
741
|
+
destinationConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "destinationConfiguration"),
|
|
742
742
|
name: [],
|
|
743
743
|
recordingReconnectWindowSeconds: [],
|
|
744
|
-
renditionConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
745
|
-
tags: (_) => (0, import_smithy_client._json)(_),
|
|
746
|
-
thumbnailConfiguration: (_) => (0, import_smithy_client._json)(_)
|
|
744
|
+
renditionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "renditionConfiguration"),
|
|
745
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
746
|
+
thumbnailConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "thumbnailConfiguration")
|
|
747
747
|
})
|
|
748
748
|
);
|
|
749
749
|
b.m("POST").h(headers).b(body);
|
|
@@ -759,7 +759,7 @@ var se_CreateStreamKeyCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
759
759
|
body = JSON.stringify(
|
|
760
760
|
(0, import_smithy_client.take)(input, {
|
|
761
761
|
channelArn: [],
|
|
762
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
762
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
763
763
|
})
|
|
764
764
|
);
|
|
765
765
|
b.m("POST").h(headers).b(body);
|
|
@@ -957,7 +957,7 @@ var se_ImportPlaybackKeyPairCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
957
957
|
(0, import_smithy_client.take)(input, {
|
|
958
958
|
name: [],
|
|
959
959
|
publicKeyMaterial: [],
|
|
960
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
960
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
961
961
|
})
|
|
962
962
|
);
|
|
963
963
|
b.m("POST").h(headers).b(body);
|
|
@@ -1056,7 +1056,7 @@ var se_ListStreamsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1056
1056
|
let body;
|
|
1057
1057
|
body = JSON.stringify(
|
|
1058
1058
|
(0, import_smithy_client.take)(input, {
|
|
1059
|
-
filterBy: (_) => (0, import_smithy_client._json)(_),
|
|
1059
|
+
filterBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filterBy"),
|
|
1060
1060
|
maxResults: [],
|
|
1061
1061
|
nextToken: []
|
|
1062
1062
|
})
|
|
@@ -1148,7 +1148,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1148
1148
|
let body;
|
|
1149
1149
|
body = JSON.stringify(
|
|
1150
1150
|
(0, import_smithy_client.take)(input, {
|
|
1151
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
1151
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
1152
1152
|
})
|
|
1153
1153
|
);
|
|
1154
1154
|
b.m("POST").h(headers).b(body);
|
|
@@ -1180,7 +1180,7 @@ var se_UpdateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1180
1180
|
containerFormat: [],
|
|
1181
1181
|
insecureIngest: [],
|
|
1182
1182
|
latencyMode: [],
|
|
1183
|
-
multitrackInputConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1183
|
+
multitrackInputConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "multitrackInputConfiguration"),
|
|
1184
1184
|
name: [],
|
|
1185
1185
|
playbackRestrictionPolicyArn: [],
|
|
1186
1186
|
preset: [],
|
|
@@ -1200,8 +1200,8 @@ var se_UpdatePlaybackRestrictionPolicyCommand = /* @__PURE__ */ __name(async (in
|
|
|
1200
1200
|
let body;
|
|
1201
1201
|
body = JSON.stringify(
|
|
1202
1202
|
(0, import_smithy_client.take)(input, {
|
|
1203
|
-
allowedCountries: (_) => (0, import_smithy_client._json)(_),
|
|
1204
|
-
allowedOrigins: (_) => (0, import_smithy_client._json)(_),
|
|
1203
|
+
allowedCountries: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "allowedCountries"),
|
|
1204
|
+
allowedOrigins: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "allowedOrigins"),
|
|
1205
1205
|
arn: [],
|
|
1206
1206
|
enableStrictOriginEnforcement: [],
|
|
1207
1207
|
name: []
|
|
@@ -1426,7 +1426,7 @@ var de_GetStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1426
1426
|
});
|
|
1427
1427
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1428
1428
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1429
|
-
stream: (_) => de__Stream(_, context)
|
|
1429
|
+
stream: /* @__PURE__ */ __name((_) => de__Stream(_, context), "stream")
|
|
1430
1430
|
});
|
|
1431
1431
|
Object.assign(contents, doc);
|
|
1432
1432
|
return contents;
|
|
@@ -1454,7 +1454,7 @@ var de_GetStreamSessionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1454
1454
|
});
|
|
1455
1455
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1456
1456
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1457
|
-
streamSession: (_) => de_StreamSession(_, context)
|
|
1457
|
+
streamSession: /* @__PURE__ */ __name((_) => de_StreamSession(_, context), "streamSession")
|
|
1458
1458
|
});
|
|
1459
1459
|
Object.assign(contents, doc);
|
|
1460
1460
|
return contents;
|
|
@@ -1558,7 +1558,7 @@ var de_ListStreamsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1558
1558
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1559
1559
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1560
1560
|
nextToken: import_smithy_client.expectString,
|
|
1561
|
-
streams: (_) => de_StreamList(_, context)
|
|
1561
|
+
streams: /* @__PURE__ */ __name((_) => de_StreamList(_, context), "streams")
|
|
1562
1562
|
});
|
|
1563
1563
|
Object.assign(contents, doc);
|
|
1564
1564
|
return contents;
|
|
@@ -1573,7 +1573,7 @@ var de_ListStreamSessionsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1573
1573
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1574
1574
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1575
1575
|
nextToken: import_smithy_client.expectString,
|
|
1576
|
-
streamSessions: (_) => de_StreamSessionList(_, context)
|
|
1576
|
+
streamSessions: /* @__PURE__ */ __name((_) => de_StreamSessionList(_, context), "streamSessions")
|
|
1577
1577
|
});
|
|
1578
1578
|
Object.assign(contents, doc);
|
|
1579
1579
|
return contents;
|
|
@@ -1852,7 +1852,7 @@ var de__Stream = /* @__PURE__ */ __name((output, context) => {
|
|
|
1852
1852
|
channelArn: import_smithy_client.expectString,
|
|
1853
1853
|
health: import_smithy_client.expectString,
|
|
1854
1854
|
playbackUrl: import_smithy_client.expectString,
|
|
1855
|
-
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1855
|
+
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
1856
1856
|
state: import_smithy_client.expectString,
|
|
1857
1857
|
streamId: import_smithy_client.expectString,
|
|
1858
1858
|
viewerCount: import_smithy_client.expectLong
|
|
@@ -1861,7 +1861,7 @@ var de__Stream = /* @__PURE__ */ __name((output, context) => {
|
|
|
1861
1861
|
var de_StreamEvent = /* @__PURE__ */ __name((output, context) => {
|
|
1862
1862
|
return (0, import_smithy_client.take)(output, {
|
|
1863
1863
|
code: import_smithy_client.expectString,
|
|
1864
|
-
eventTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1864
|
+
eventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "eventTime"),
|
|
1865
1865
|
name: import_smithy_client.expectString,
|
|
1866
1866
|
type: import_smithy_client.expectString
|
|
1867
1867
|
});
|
|
@@ -1881,13 +1881,13 @@ var de_StreamList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1881
1881
|
var de_StreamSession = /* @__PURE__ */ __name((output, context) => {
|
|
1882
1882
|
return (0, import_smithy_client.take)(output, {
|
|
1883
1883
|
channel: import_smithy_client._json,
|
|
1884
|
-
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1884
|
+
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
|
|
1885
1885
|
ingestConfiguration: import_smithy_client._json,
|
|
1886
1886
|
ingestConfigurations: import_smithy_client._json,
|
|
1887
1887
|
recordingConfiguration: import_smithy_client._json,
|
|
1888
|
-
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1888
|
+
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
1889
1889
|
streamId: import_smithy_client.expectString,
|
|
1890
|
-
truncatedEvents: (_) => de_StreamEvents(_, context)
|
|
1890
|
+
truncatedEvents: /* @__PURE__ */ __name((_) => de_StreamEvents(_, context), "truncatedEvents")
|
|
1891
1891
|
});
|
|
1892
1892
|
}, "de_StreamSession");
|
|
1893
1893
|
var de_StreamSessionList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1898,9 +1898,9 @@ var de_StreamSessionList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1898
1898
|
}, "de_StreamSessionList");
|
|
1899
1899
|
var de_StreamSessionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1900
1900
|
return (0, import_smithy_client.take)(output, {
|
|
1901
|
-
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1901
|
+
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
|
|
1902
1902
|
hasErrorEvent: import_smithy_client.expectBoolean,
|
|
1903
|
-
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1903
|
+
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
1904
1904
|
streamId: import_smithy_client.expectString
|
|
1905
1905
|
});
|
|
1906
1906
|
}, "de_StreamSessionSummary");
|
|
@@ -1908,7 +1908,7 @@ var de_StreamSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1908
1908
|
return (0, import_smithy_client.take)(output, {
|
|
1909
1909
|
channelArn: import_smithy_client.expectString,
|
|
1910
1910
|
health: import_smithy_client.expectString,
|
|
1911
|
-
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1911
|
+
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
1912
1912
|
state: import_smithy_client.expectString,
|
|
1913
1913
|
streamId: import_smithy_client.expectString,
|
|
1914
1914
|
viewerCount: import_smithy_client.expectLong
|
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.772.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",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|