@aws-sdk/client-kinesis-video-archived-media 3.975.0 → 3.980.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
CHANGED
|
@@ -591,6 +591,10 @@ class ListFragmentsCommand extends smithyClient.Command
|
|
|
591
591
|
.build() {
|
|
592
592
|
}
|
|
593
593
|
|
|
594
|
+
const paginateGetImages = core.createPaginator(KinesisVideoArchivedMediaClient, GetImagesCommand, "NextToken", "NextToken", "MaxResults");
|
|
595
|
+
|
|
596
|
+
const paginateListFragments = core.createPaginator(KinesisVideoArchivedMediaClient, ListFragmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
597
|
+
|
|
594
598
|
const commands = {
|
|
595
599
|
GetClipCommand,
|
|
596
600
|
GetDASHStreamingSessionURLCommand,
|
|
@@ -599,13 +603,13 @@ const commands = {
|
|
|
599
603
|
GetMediaForFragmentListCommand,
|
|
600
604
|
ListFragmentsCommand,
|
|
601
605
|
};
|
|
606
|
+
const paginators = {
|
|
607
|
+
paginateGetImages,
|
|
608
|
+
paginateListFragments,
|
|
609
|
+
};
|
|
602
610
|
class KinesisVideoArchivedMedia extends KinesisVideoArchivedMediaClient {
|
|
603
611
|
}
|
|
604
|
-
smithyClient.createAggregatedClient(commands, KinesisVideoArchivedMedia);
|
|
605
|
-
|
|
606
|
-
const paginateGetImages = core.createPaginator(KinesisVideoArchivedMediaClient, GetImagesCommand, "NextToken", "NextToken", "MaxResults");
|
|
607
|
-
|
|
608
|
-
const paginateListFragments = core.createPaginator(KinesisVideoArchivedMediaClient, ListFragmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
612
|
+
smithyClient.createAggregatedClient(commands, KinesisVideoArchivedMedia, { paginators });
|
|
609
613
|
|
|
610
614
|
const ClipFragmentSelectorType = {
|
|
611
615
|
PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
|
|
@@ -6,6 +6,8 @@ import { GetImagesCommand } from "./commands/GetImagesCommand";
|
|
|
6
6
|
import { GetMediaForFragmentListCommand, } from "./commands/GetMediaForFragmentListCommand";
|
|
7
7
|
import { ListFragmentsCommand, } from "./commands/ListFragmentsCommand";
|
|
8
8
|
import { KinesisVideoArchivedMediaClient } from "./KinesisVideoArchivedMediaClient";
|
|
9
|
+
import { paginateGetImages } from "./pagination/GetImagesPaginator";
|
|
10
|
+
import { paginateListFragments } from "./pagination/ListFragmentsPaginator";
|
|
9
11
|
const commands = {
|
|
10
12
|
GetClipCommand,
|
|
11
13
|
GetDASHStreamingSessionURLCommand,
|
|
@@ -14,6 +16,10 @@ const commands = {
|
|
|
14
16
|
GetMediaForFragmentListCommand,
|
|
15
17
|
ListFragmentsCommand,
|
|
16
18
|
};
|
|
19
|
+
const paginators = {
|
|
20
|
+
paginateGetImages,
|
|
21
|
+
paginateListFragments,
|
|
22
|
+
};
|
|
17
23
|
export class KinesisVideoArchivedMedia extends KinesisVideoArchivedMediaClient {
|
|
18
24
|
}
|
|
19
|
-
createAggregatedClient(commands, KinesisVideoArchivedMedia);
|
|
25
|
+
createAggregatedClient(commands, KinesisVideoArchivedMedia, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { GetClipCommandInput, GetClipCommandOutput } from "./commands/GetClipCommand";
|
|
3
3
|
import { GetDASHStreamingSessionURLCommandInput, GetDASHStreamingSessionURLCommandOutput } from "./commands/GetDASHStreamingSessionURLCommand";
|
|
4
4
|
import { GetHLSStreamingSessionURLCommandInput, GetHLSStreamingSessionURLCommandOutput } from "./commands/GetHLSStreamingSessionURLCommand";
|
|
@@ -46,6 +46,20 @@ export interface KinesisVideoArchivedMedia {
|
|
|
46
46
|
listFragments(args: ListFragmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListFragmentsCommandOutput>;
|
|
47
47
|
listFragments(args: ListFragmentsCommandInput, cb: (err: any, data?: ListFragmentsCommandOutput) => void): void;
|
|
48
48
|
listFragments(args: ListFragmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFragmentsCommandOutput) => void): void;
|
|
49
|
+
/**
|
|
50
|
+
* @see {@link GetImagesCommand}
|
|
51
|
+
* @param args - command input.
|
|
52
|
+
* @param paginationConfig - optional pagination config.
|
|
53
|
+
* @returns AsyncIterable of {@link GetImagesCommandOutput}.
|
|
54
|
+
*/
|
|
55
|
+
paginateGetImages(args: GetImagesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetImagesCommandOutput>;
|
|
56
|
+
/**
|
|
57
|
+
* @see {@link ListFragmentsCommand}
|
|
58
|
+
* @param args - command input.
|
|
59
|
+
* @param paginationConfig - optional pagination config.
|
|
60
|
+
* @returns AsyncIterable of {@link ListFragmentsCommandOutput}.
|
|
61
|
+
*/
|
|
62
|
+
paginateListFragments(args?: ListFragmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFragmentsCommandOutput>;
|
|
49
63
|
}
|
|
50
64
|
/**
|
|
51
65
|
* <p></p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
GetClipCommandInput,
|
|
4
8
|
GetClipCommandOutput,
|
|
@@ -106,6 +110,20 @@ export interface KinesisVideoArchivedMedia {
|
|
|
106
110
|
options: __HttpHandlerOptions,
|
|
107
111
|
cb: (err: any, data?: ListFragmentsCommandOutput) => void
|
|
108
112
|
): void;
|
|
113
|
+
paginateGetImages(
|
|
114
|
+
args: GetImagesCommandInput,
|
|
115
|
+
paginationConfig?: Pick<
|
|
116
|
+
PaginationConfiguration,
|
|
117
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
118
|
+
>
|
|
119
|
+
): Paginator<GetImagesCommandOutput>;
|
|
120
|
+
paginateListFragments(
|
|
121
|
+
args?: ListFragmentsCommandInput,
|
|
122
|
+
paginationConfig?: Pick<
|
|
123
|
+
PaginationConfiguration,
|
|
124
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
125
|
+
>
|
|
126
|
+
): Paginator<ListFragmentsCommandOutput>;
|
|
109
127
|
}
|
|
110
128
|
export declare class KinesisVideoArchivedMedia
|
|
111
129
|
extends KinesisVideoArchivedMediaClient
|
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.980.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kinesis-video-archived-media",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|