@aws-sdk/client-mediastore-data 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
|
@@ -393,6 +393,8 @@ class PutObjectCommand extends smithyClient.Command
|
|
|
393
393
|
.build() {
|
|
394
394
|
}
|
|
395
395
|
|
|
396
|
+
const paginateListItems = core.createPaginator(MediaStoreDataClient, ListItemsCommand, "NextToken", "NextToken", "MaxResults");
|
|
397
|
+
|
|
396
398
|
const commands = {
|
|
397
399
|
DeleteObjectCommand,
|
|
398
400
|
DescribeObjectCommand,
|
|
@@ -400,11 +402,12 @@ const commands = {
|
|
|
400
402
|
ListItemsCommand,
|
|
401
403
|
PutObjectCommand,
|
|
402
404
|
};
|
|
405
|
+
const paginators = {
|
|
406
|
+
paginateListItems,
|
|
407
|
+
};
|
|
403
408
|
class MediaStoreData extends MediaStoreDataClient {
|
|
404
409
|
}
|
|
405
|
-
smithyClient.createAggregatedClient(commands, MediaStoreData);
|
|
406
|
-
|
|
407
|
-
const paginateListItems = core.createPaginator(MediaStoreDataClient, ListItemsCommand, "NextToken", "NextToken", "MaxResults");
|
|
410
|
+
smithyClient.createAggregatedClient(commands, MediaStoreData, { paginators });
|
|
408
411
|
|
|
409
412
|
const ItemType = {
|
|
410
413
|
FOLDER: "FOLDER",
|
|
@@ -5,6 +5,7 @@ import { GetObjectCommand } from "./commands/GetObjectCommand";
|
|
|
5
5
|
import { ListItemsCommand } from "./commands/ListItemsCommand";
|
|
6
6
|
import { PutObjectCommand } from "./commands/PutObjectCommand";
|
|
7
7
|
import { MediaStoreDataClient } from "./MediaStoreDataClient";
|
|
8
|
+
import { paginateListItems } from "./pagination/ListItemsPaginator";
|
|
8
9
|
const commands = {
|
|
9
10
|
DeleteObjectCommand,
|
|
10
11
|
DescribeObjectCommand,
|
|
@@ -12,6 +13,9 @@ const commands = {
|
|
|
12
13
|
ListItemsCommand,
|
|
13
14
|
PutObjectCommand,
|
|
14
15
|
};
|
|
16
|
+
const paginators = {
|
|
17
|
+
paginateListItems,
|
|
18
|
+
};
|
|
15
19
|
export class MediaStoreData extends MediaStoreDataClient {
|
|
16
20
|
}
|
|
17
|
-
createAggregatedClient(commands, MediaStoreData);
|
|
21
|
+
createAggregatedClient(commands, MediaStoreData, { 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 { DeleteObjectCommandInput, DeleteObjectCommandOutput } from "./commands/DeleteObjectCommand";
|
|
3
3
|
import { DescribeObjectCommandInput, DescribeObjectCommandOutput } from "./commands/DescribeObjectCommand";
|
|
4
4
|
import { GetObjectCommandInput, GetObjectCommandOutput } from "./commands/GetObjectCommand";
|
|
@@ -37,6 +37,13 @@ export interface MediaStoreData {
|
|
|
37
37
|
putObject(args: PutObjectCommandInput, options?: __HttpHandlerOptions): Promise<PutObjectCommandOutput>;
|
|
38
38
|
putObject(args: PutObjectCommandInput, cb: (err: any, data?: PutObjectCommandOutput) => void): void;
|
|
39
39
|
putObject(args: PutObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutObjectCommandOutput) => void): void;
|
|
40
|
+
/**
|
|
41
|
+
* @see {@link ListItemsCommand}
|
|
42
|
+
* @param args - command input.
|
|
43
|
+
* @param paginationConfig - optional pagination config.
|
|
44
|
+
* @returns AsyncIterable of {@link ListItemsCommandOutput}.
|
|
45
|
+
*/
|
|
46
|
+
paginateListItems(args?: ListItemsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListItemsCommandOutput>;
|
|
40
47
|
}
|
|
41
48
|
/**
|
|
42
49
|
* <p>An AWS Elemental MediaStore asset is an object, similar to an object in the Amazon S3
|
|
@@ -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
|
DeleteObjectCommandInput,
|
|
4
8
|
DeleteObjectCommandOutput,
|
|
@@ -87,6 +91,13 @@ export interface MediaStoreData {
|
|
|
87
91
|
options: __HttpHandlerOptions,
|
|
88
92
|
cb: (err: any, data?: PutObjectCommandOutput) => void
|
|
89
93
|
): void;
|
|
94
|
+
paginateListItems(
|
|
95
|
+
args?: ListItemsCommandInput,
|
|
96
|
+
paginationConfig?: Pick<
|
|
97
|
+
PaginationConfiguration,
|
|
98
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
99
|
+
>
|
|
100
|
+
): Paginator<ListItemsCommandOutput>;
|
|
90
101
|
}
|
|
91
102
|
export declare class MediaStoreData
|
|
92
103
|
extends MediaStoreDataClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediastore-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediastore Data 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-mediastore-data",
|
|
@@ -23,38 +23,38 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
33
|
-
"@aws-sdk/types": "^3.973.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.973.5",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
33
|
+
"@aws-sdk/types": "^3.973.1",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.6",
|
|
38
|
-
"@smithy/core": "^3.
|
|
38
|
+
"@smithy/core": "^3.22.0",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
40
40
|
"@smithy/hash-node": "^4.2.8",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.9",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.8",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.8",
|
|
48
48
|
"@smithy/node-http-handler": "^4.4.8",
|
|
49
49
|
"@smithy/protocol-http": "^5.3.8",
|
|
50
|
-
"@smithy/smithy-client": "^4.
|
|
50
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
51
51
|
"@smithy/types": "^4.12.0",
|
|
52
52
|
"@smithy/url-parser": "^4.2.8",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
58
58
|
"@smithy/util-endpoints": "^3.2.8",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.8",
|
|
60
60
|
"@smithy/util-retry": "^4.2.8",
|