@aws-sdk/client-kinesis-video-archived-media 3.750.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 +30 -30
- package/package.json +14 -14
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
|
ClientLimitExceededException: () => ClientLimitExceededException,
|
|
25
25
|
ClipFragmentSelectorType: () => ClipFragmentSelectorType,
|
|
26
26
|
ContainerFormat: () => ContainerFormat,
|
|
@@ -60,7 +60,7 @@ __export(src_exports, {
|
|
|
60
60
|
paginateGetImages: () => paginateGetImages,
|
|
61
61
|
paginateListFragments: () => paginateListFragments
|
|
62
62
|
});
|
|
63
|
-
module.exports = __toCommonJS(
|
|
63
|
+
module.exports = __toCommonJS(index_exports);
|
|
64
64
|
|
|
65
65
|
// src/KinesisVideoArchivedMediaClient.ts
|
|
66
66
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -187,9 +187,9 @@ var KinesisVideoArchivedMediaClient = class extends import_smithy_client.Client
|
|
|
187
187
|
this.middlewareStack.use(
|
|
188
188
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
189
189
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultKinesisVideoArchivedMediaHttpAuthSchemeParametersProvider,
|
|
190
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
190
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
191
191
|
"aws.auth#sigv4": config.credentials
|
|
192
|
-
})
|
|
192
|
+
}), "identityProviderConfigProvider")
|
|
193
193
|
})
|
|
194
194
|
);
|
|
195
195
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -490,7 +490,7 @@ var se_GetClipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
490
490
|
let body;
|
|
491
491
|
body = JSON.stringify(
|
|
492
492
|
(0, import_smithy_client.take)(input, {
|
|
493
|
-
ClipFragmentSelector: (_) => se_ClipFragmentSelector(_, context),
|
|
493
|
+
ClipFragmentSelector: /* @__PURE__ */ __name((_) => se_ClipFragmentSelector(_, context), "ClipFragmentSelector"),
|
|
494
494
|
StreamARN: [],
|
|
495
495
|
StreamName: []
|
|
496
496
|
})
|
|
@@ -507,7 +507,7 @@ var se_GetDASHStreamingSessionURLCommand = /* @__PURE__ */ __name(async (input,
|
|
|
507
507
|
let body;
|
|
508
508
|
body = JSON.stringify(
|
|
509
509
|
(0, import_smithy_client.take)(input, {
|
|
510
|
-
DASHFragmentSelector: (_) => se_DASHFragmentSelector(_, context),
|
|
510
|
+
DASHFragmentSelector: /* @__PURE__ */ __name((_) => se_DASHFragmentSelector(_, context), "DASHFragmentSelector"),
|
|
511
511
|
DisplayFragmentNumber: [],
|
|
512
512
|
DisplayFragmentTimestamp: [],
|
|
513
513
|
Expires: [],
|
|
@@ -533,7 +533,7 @@ var se_GetHLSStreamingSessionURLCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
533
533
|
DiscontinuityMode: [],
|
|
534
534
|
DisplayFragmentTimestamp: [],
|
|
535
535
|
Expires: [],
|
|
536
|
-
HLSFragmentSelector: (_) => se_HLSFragmentSelector(_, context),
|
|
536
|
+
HLSFragmentSelector: /* @__PURE__ */ __name((_) => se_HLSFragmentSelector(_, context), "HLSFragmentSelector"),
|
|
537
537
|
MaxMediaPlaylistFragmentResults: [],
|
|
538
538
|
PlaybackMode: [],
|
|
539
539
|
StreamARN: [],
|
|
@@ -552,15 +552,15 @@ var se_GetImagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
552
552
|
let body;
|
|
553
553
|
body = JSON.stringify(
|
|
554
554
|
(0, import_smithy_client.take)(input, {
|
|
555
|
-
EndTimestamp: (_) => _.getTime() / 1e3,
|
|
555
|
+
EndTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTimestamp"),
|
|
556
556
|
Format: [],
|
|
557
|
-
FormatConfig: (_) => (0, import_smithy_client._json)(_),
|
|
557
|
+
FormatConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FormatConfig"),
|
|
558
558
|
HeightPixels: [],
|
|
559
559
|
ImageSelectorType: [],
|
|
560
560
|
MaxResults: [],
|
|
561
561
|
NextToken: [],
|
|
562
562
|
SamplingInterval: [],
|
|
563
|
-
StartTimestamp: (_) => _.getTime() / 1e3,
|
|
563
|
+
StartTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTimestamp"),
|
|
564
564
|
StreamARN: [],
|
|
565
565
|
StreamName: [],
|
|
566
566
|
WidthPixels: []
|
|
@@ -578,7 +578,7 @@ var se_GetMediaForFragmentListCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
578
578
|
let body;
|
|
579
579
|
body = JSON.stringify(
|
|
580
580
|
(0, import_smithy_client.take)(input, {
|
|
581
|
-
Fragments: (_) => (0, import_smithy_client._json)(_),
|
|
581
|
+
Fragments: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Fragments"),
|
|
582
582
|
StreamARN: [],
|
|
583
583
|
StreamName: []
|
|
584
584
|
})
|
|
@@ -595,7 +595,7 @@ var se_ListFragmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
595
595
|
let body;
|
|
596
596
|
body = JSON.stringify(
|
|
597
597
|
(0, import_smithy_client.take)(input, {
|
|
598
|
-
FragmentSelector: (_) => se_FragmentSelector(_, context),
|
|
598
|
+
FragmentSelector: /* @__PURE__ */ __name((_) => se_FragmentSelector(_, context), "FragmentSelector"),
|
|
599
599
|
MaxResults: [],
|
|
600
600
|
NextToken: [],
|
|
601
601
|
StreamARN: [],
|
|
@@ -655,7 +655,7 @@ var de_GetImagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
655
655
|
});
|
|
656
656
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
657
657
|
const doc = (0, import_smithy_client.take)(data, {
|
|
658
|
-
Images: (_) => de_Images(_, context),
|
|
658
|
+
Images: /* @__PURE__ */ __name((_) => de_Images(_, context), "Images"),
|
|
659
659
|
NextToken: import_smithy_client.expectString
|
|
660
660
|
});
|
|
661
661
|
Object.assign(contents, doc);
|
|
@@ -683,7 +683,7 @@ var de_ListFragmentsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
683
683
|
});
|
|
684
684
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
685
685
|
const doc = (0, import_smithy_client.take)(data, {
|
|
686
|
-
Fragments: (_) => de_FragmentList(_, context),
|
|
686
|
+
Fragments: /* @__PURE__ */ __name((_) => de_FragmentList(_, context), "Fragments"),
|
|
687
687
|
NextToken: import_smithy_client.expectString
|
|
688
688
|
});
|
|
689
689
|
Object.assign(contents, doc);
|
|
@@ -853,49 +853,49 @@ var de_UnsupportedStreamMediaTypeExceptionRes = /* @__PURE__ */ __name(async (pa
|
|
|
853
853
|
var se_ClipFragmentSelector = /* @__PURE__ */ __name((input, context) => {
|
|
854
854
|
return (0, import_smithy_client.take)(input, {
|
|
855
855
|
FragmentSelectorType: [],
|
|
856
|
-
TimestampRange: (_) => se_ClipTimestampRange(_, context)
|
|
856
|
+
TimestampRange: /* @__PURE__ */ __name((_) => se_ClipTimestampRange(_, context), "TimestampRange")
|
|
857
857
|
});
|
|
858
858
|
}, "se_ClipFragmentSelector");
|
|
859
859
|
var se_ClipTimestampRange = /* @__PURE__ */ __name((input, context) => {
|
|
860
860
|
return (0, import_smithy_client.take)(input, {
|
|
861
|
-
EndTimestamp: (_) => _.getTime() / 1e3,
|
|
862
|
-
StartTimestamp: (_) => _.getTime() / 1e3
|
|
861
|
+
EndTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTimestamp"),
|
|
862
|
+
StartTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTimestamp")
|
|
863
863
|
});
|
|
864
864
|
}, "se_ClipTimestampRange");
|
|
865
865
|
var se_DASHFragmentSelector = /* @__PURE__ */ __name((input, context) => {
|
|
866
866
|
return (0, import_smithy_client.take)(input, {
|
|
867
867
|
FragmentSelectorType: [],
|
|
868
|
-
TimestampRange: (_) => se_DASHTimestampRange(_, context)
|
|
868
|
+
TimestampRange: /* @__PURE__ */ __name((_) => se_DASHTimestampRange(_, context), "TimestampRange")
|
|
869
869
|
});
|
|
870
870
|
}, "se_DASHFragmentSelector");
|
|
871
871
|
var se_DASHTimestampRange = /* @__PURE__ */ __name((input, context) => {
|
|
872
872
|
return (0, import_smithy_client.take)(input, {
|
|
873
|
-
EndTimestamp: (_) => _.getTime() / 1e3,
|
|
874
|
-
StartTimestamp: (_) => _.getTime() / 1e3
|
|
873
|
+
EndTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTimestamp"),
|
|
874
|
+
StartTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTimestamp")
|
|
875
875
|
});
|
|
876
876
|
}, "se_DASHTimestampRange");
|
|
877
877
|
var se_FragmentSelector = /* @__PURE__ */ __name((input, context) => {
|
|
878
878
|
return (0, import_smithy_client.take)(input, {
|
|
879
879
|
FragmentSelectorType: [],
|
|
880
|
-
TimestampRange: (_) => se_TimestampRange(_, context)
|
|
880
|
+
TimestampRange: /* @__PURE__ */ __name((_) => se_TimestampRange(_, context), "TimestampRange")
|
|
881
881
|
});
|
|
882
882
|
}, "se_FragmentSelector");
|
|
883
883
|
var se_HLSFragmentSelector = /* @__PURE__ */ __name((input, context) => {
|
|
884
884
|
return (0, import_smithy_client.take)(input, {
|
|
885
885
|
FragmentSelectorType: [],
|
|
886
|
-
TimestampRange: (_) => se_HLSTimestampRange(_, context)
|
|
886
|
+
TimestampRange: /* @__PURE__ */ __name((_) => se_HLSTimestampRange(_, context), "TimestampRange")
|
|
887
887
|
});
|
|
888
888
|
}, "se_HLSFragmentSelector");
|
|
889
889
|
var se_HLSTimestampRange = /* @__PURE__ */ __name((input, context) => {
|
|
890
890
|
return (0, import_smithy_client.take)(input, {
|
|
891
|
-
EndTimestamp: (_) => _.getTime() / 1e3,
|
|
892
|
-
StartTimestamp: (_) => _.getTime() / 1e3
|
|
891
|
+
EndTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTimestamp"),
|
|
892
|
+
StartTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTimestamp")
|
|
893
893
|
});
|
|
894
894
|
}, "se_HLSTimestampRange");
|
|
895
895
|
var se_TimestampRange = /* @__PURE__ */ __name((input, context) => {
|
|
896
896
|
return (0, import_smithy_client.take)(input, {
|
|
897
|
-
EndTimestamp: (_) => _.getTime() / 1e3,
|
|
898
|
-
StartTimestamp: (_) => _.getTime() / 1e3
|
|
897
|
+
EndTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTimestamp"),
|
|
898
|
+
StartTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTimestamp")
|
|
899
899
|
});
|
|
900
900
|
}, "se_TimestampRange");
|
|
901
901
|
var de_Fragment = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -903,8 +903,8 @@ var de_Fragment = /* @__PURE__ */ __name((output, context) => {
|
|
|
903
903
|
FragmentLengthInMilliseconds: import_smithy_client.expectLong,
|
|
904
904
|
FragmentNumber: import_smithy_client.expectString,
|
|
905
905
|
FragmentSizeInBytes: import_smithy_client.expectLong,
|
|
906
|
-
ProducerTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
907
|
-
ServerTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
906
|
+
ProducerTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ProducerTimestamp"),
|
|
907
|
+
ServerTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ServerTimestamp")
|
|
908
908
|
});
|
|
909
909
|
}, "de_Fragment");
|
|
910
910
|
var de_FragmentList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -917,7 +917,7 @@ var de_Image = /* @__PURE__ */ __name((output, context) => {
|
|
|
917
917
|
return (0, import_smithy_client.take)(output, {
|
|
918
918
|
Error: import_smithy_client.expectString,
|
|
919
919
|
ImageContent: import_smithy_client.expectString,
|
|
920
|
-
TimeStamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
920
|
+
TimeStamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "TimeStamp")
|
|
921
921
|
});
|
|
922
922
|
}, "de_Image");
|
|
923
923
|
var de_Images = /* @__PURE__ */ __name((output, context) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis-video-archived-media",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Video Archived Media 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-kinesis-video-archived-media",
|
|
@@ -20,42 +20,42 @@
|
|
|
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.
|
|
23
|
+
"@aws-sdk/core": "3.758.0",
|
|
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.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
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",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|
|
58
|
-
"@smithy/util-stream": "^4.1.
|
|
58
|
+
"@smithy/util-stream": "^4.1.2",
|
|
59
59
|
"@smithy/util-utf8": "^4.0.0",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|