@aws-sdk/client-snow-device-management 3.975.0 → 3.978.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
|
@@ -816,6 +816,14 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
816
816
|
.build() {
|
|
817
817
|
}
|
|
818
818
|
|
|
819
|
+
const paginateListDeviceResources = core.createPaginator(SnowDeviceManagementClient, ListDeviceResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
820
|
+
|
|
821
|
+
const paginateListDevices = core.createPaginator(SnowDeviceManagementClient, ListDevicesCommand, "nextToken", "nextToken", "maxResults");
|
|
822
|
+
|
|
823
|
+
const paginateListExecutions = core.createPaginator(SnowDeviceManagementClient, ListExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
824
|
+
|
|
825
|
+
const paginateListTasks = core.createPaginator(SnowDeviceManagementClient, ListTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
826
|
+
|
|
819
827
|
const commands = {
|
|
820
828
|
CancelTaskCommand,
|
|
821
829
|
CreateTaskCommand,
|
|
@@ -831,17 +839,15 @@ const commands = {
|
|
|
831
839
|
TagResourceCommand,
|
|
832
840
|
UntagResourceCommand,
|
|
833
841
|
};
|
|
842
|
+
const paginators = {
|
|
843
|
+
paginateListDeviceResources,
|
|
844
|
+
paginateListDevices,
|
|
845
|
+
paginateListExecutions,
|
|
846
|
+
paginateListTasks,
|
|
847
|
+
};
|
|
834
848
|
class SnowDeviceManagement extends SnowDeviceManagementClient {
|
|
835
849
|
}
|
|
836
|
-
smithyClient.createAggregatedClient(commands, SnowDeviceManagement);
|
|
837
|
-
|
|
838
|
-
const paginateListDeviceResources = core.createPaginator(SnowDeviceManagementClient, ListDeviceResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
839
|
-
|
|
840
|
-
const paginateListDevices = core.createPaginator(SnowDeviceManagementClient, ListDevicesCommand, "nextToken", "nextToken", "maxResults");
|
|
841
|
-
|
|
842
|
-
const paginateListExecutions = core.createPaginator(SnowDeviceManagementClient, ListExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
843
|
-
|
|
844
|
-
const paginateListTasks = core.createPaginator(SnowDeviceManagementClient, ListTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
850
|
+
smithyClient.createAggregatedClient(commands, SnowDeviceManagement, { paginators });
|
|
845
851
|
|
|
846
852
|
const AttachmentStatus = {
|
|
847
853
|
ATTACHED: "ATTACHED",
|
|
@@ -12,6 +12,10 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
12
12
|
import { ListTasksCommand } from "./commands/ListTasksCommand";
|
|
13
13
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
14
14
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
15
|
+
import { paginateListDeviceResources } from "./pagination/ListDeviceResourcesPaginator";
|
|
16
|
+
import { paginateListDevices } from "./pagination/ListDevicesPaginator";
|
|
17
|
+
import { paginateListExecutions } from "./pagination/ListExecutionsPaginator";
|
|
18
|
+
import { paginateListTasks } from "./pagination/ListTasksPaginator";
|
|
15
19
|
import { SnowDeviceManagementClient } from "./SnowDeviceManagementClient";
|
|
16
20
|
const commands = {
|
|
17
21
|
CancelTaskCommand,
|
|
@@ -28,6 +32,12 @@ const commands = {
|
|
|
28
32
|
TagResourceCommand,
|
|
29
33
|
UntagResourceCommand,
|
|
30
34
|
};
|
|
35
|
+
const paginators = {
|
|
36
|
+
paginateListDeviceResources,
|
|
37
|
+
paginateListDevices,
|
|
38
|
+
paginateListExecutions,
|
|
39
|
+
paginateListTasks,
|
|
40
|
+
};
|
|
31
41
|
export class SnowDeviceManagement extends SnowDeviceManagementClient {
|
|
32
42
|
}
|
|
33
|
-
createAggregatedClient(commands, SnowDeviceManagement);
|
|
43
|
+
createAggregatedClient(commands, SnowDeviceManagement, { 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 { CancelTaskCommandInput, CancelTaskCommandOutput } from "./commands/CancelTaskCommand";
|
|
3
3
|
import { CreateTaskCommandInput, CreateTaskCommandOutput } from "./commands/CreateTaskCommand";
|
|
4
4
|
import { DescribeDeviceCommandInput, DescribeDeviceCommandOutput } from "./commands/DescribeDeviceCommand";
|
|
@@ -94,6 +94,34 @@ export interface SnowDeviceManagement {
|
|
|
94
94
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
95
95
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
96
96
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
97
|
+
/**
|
|
98
|
+
* @see {@link ListDeviceResourcesCommand}
|
|
99
|
+
* @param args - command input.
|
|
100
|
+
* @param paginationConfig - optional pagination config.
|
|
101
|
+
* @returns AsyncIterable of {@link ListDeviceResourcesCommandOutput}.
|
|
102
|
+
*/
|
|
103
|
+
paginateListDeviceResources(args: ListDeviceResourcesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeviceResourcesCommandOutput>;
|
|
104
|
+
/**
|
|
105
|
+
* @see {@link ListDevicesCommand}
|
|
106
|
+
* @param args - command input.
|
|
107
|
+
* @param paginationConfig - optional pagination config.
|
|
108
|
+
* @returns AsyncIterable of {@link ListDevicesCommandOutput}.
|
|
109
|
+
*/
|
|
110
|
+
paginateListDevices(args?: ListDevicesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDevicesCommandOutput>;
|
|
111
|
+
/**
|
|
112
|
+
* @see {@link ListExecutionsCommand}
|
|
113
|
+
* @param args - command input.
|
|
114
|
+
* @param paginationConfig - optional pagination config.
|
|
115
|
+
* @returns AsyncIterable of {@link ListExecutionsCommandOutput}.
|
|
116
|
+
*/
|
|
117
|
+
paginateListExecutions(args: ListExecutionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExecutionsCommandOutput>;
|
|
118
|
+
/**
|
|
119
|
+
* @see {@link ListTasksCommand}
|
|
120
|
+
* @param args - command input.
|
|
121
|
+
* @param paginationConfig - optional pagination config.
|
|
122
|
+
* @returns AsyncIterable of {@link ListTasksCommandOutput}.
|
|
123
|
+
*/
|
|
124
|
+
paginateListTasks(args?: ListTasksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTasksCommandOutput>;
|
|
97
125
|
}
|
|
98
126
|
/**
|
|
99
127
|
* <p>Amazon Web Services Snow Device Management documentation.</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
|
CancelTaskCommandInput,
|
|
4
8
|
CancelTaskCommandOutput,
|
|
@@ -224,6 +228,34 @@ export interface SnowDeviceManagement {
|
|
|
224
228
|
options: __HttpHandlerOptions,
|
|
225
229
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
226
230
|
): void;
|
|
231
|
+
paginateListDeviceResources(
|
|
232
|
+
args: ListDeviceResourcesCommandInput,
|
|
233
|
+
paginationConfig?: Pick<
|
|
234
|
+
PaginationConfiguration,
|
|
235
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
236
|
+
>
|
|
237
|
+
): Paginator<ListDeviceResourcesCommandOutput>;
|
|
238
|
+
paginateListDevices(
|
|
239
|
+
args?: ListDevicesCommandInput,
|
|
240
|
+
paginationConfig?: Pick<
|
|
241
|
+
PaginationConfiguration,
|
|
242
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
243
|
+
>
|
|
244
|
+
): Paginator<ListDevicesCommandOutput>;
|
|
245
|
+
paginateListExecutions(
|
|
246
|
+
args: ListExecutionsCommandInput,
|
|
247
|
+
paginationConfig?: Pick<
|
|
248
|
+
PaginationConfiguration,
|
|
249
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
250
|
+
>
|
|
251
|
+
): Paginator<ListExecutionsCommandOutput>;
|
|
252
|
+
paginateListTasks(
|
|
253
|
+
args?: ListTasksCommandInput,
|
|
254
|
+
paginationConfig?: Pick<
|
|
255
|
+
PaginationConfiguration,
|
|
256
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
257
|
+
>
|
|
258
|
+
): Paginator<ListTasksCommandOutput>;
|
|
227
259
|
}
|
|
228
260
|
export declare class SnowDeviceManagement
|
|
229
261
|
extends SnowDeviceManagementClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-snow-device-management",
|
|
3
3
|
"description": "AWS SDK for JavaScript Snow Device Management Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.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-snow-device-management",
|
|
@@ -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.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
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",
|