@aws-sdk/client-ivschat 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
@@ -882,6 +882,10 @@ class UpdateRoomCommand extends smithyClient.Command
882
882
  .build() {
883
883
  }
884
884
 
885
+ const paginateListLoggingConfigurations = core.createPaginator(IvschatClient, ListLoggingConfigurationsCommand, "nextToken", "nextToken", "maxResults");
886
+
887
+ const paginateListRooms = core.createPaginator(IvschatClient, ListRoomsCommand, "nextToken", "nextToken", "maxResults");
888
+
885
889
  const commands = {
886
890
  CreateChatTokenCommand,
887
891
  CreateLoggingConfigurationCommand,
@@ -901,13 +905,13 @@ const commands = {
901
905
  UpdateLoggingConfigurationCommand,
902
906
  UpdateRoomCommand,
903
907
  };
908
+ const paginators = {
909
+ paginateListLoggingConfigurations,
910
+ paginateListRooms,
911
+ };
904
912
  class Ivschat extends IvschatClient {
905
913
  }
906
- smithyClient.createAggregatedClient(commands, Ivschat);
907
-
908
- const paginateListLoggingConfigurations = core.createPaginator(IvschatClient, ListLoggingConfigurationsCommand, "nextToken", "nextToken", "maxResults");
909
-
910
- const paginateListRooms = core.createPaginator(IvschatClient, ListRoomsCommand, "nextToken", "nextToken", "maxResults");
914
+ smithyClient.createAggregatedClient(commands, Ivschat, { paginators });
911
915
 
912
916
  const ChatTokenCapability = {
913
917
  DELETE_MESSAGE: "DELETE_MESSAGE",
@@ -17,6 +17,8 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
17
17
  import { UpdateLoggingConfigurationCommand, } from "./commands/UpdateLoggingConfigurationCommand";
18
18
  import { UpdateRoomCommand } from "./commands/UpdateRoomCommand";
19
19
  import { IvschatClient } from "./IvschatClient";
20
+ import { paginateListLoggingConfigurations } from "./pagination/ListLoggingConfigurationsPaginator";
21
+ import { paginateListRooms } from "./pagination/ListRoomsPaginator";
20
22
  const commands = {
21
23
  CreateChatTokenCommand,
22
24
  CreateLoggingConfigurationCommand,
@@ -36,6 +38,10 @@ const commands = {
36
38
  UpdateLoggingConfigurationCommand,
37
39
  UpdateRoomCommand,
38
40
  };
41
+ const paginators = {
42
+ paginateListLoggingConfigurations,
43
+ paginateListRooms,
44
+ };
39
45
  export class Ivschat extends IvschatClient {
40
46
  }
41
- createAggregatedClient(commands, Ivschat);
47
+ createAggregatedClient(commands, Ivschat, { 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 { CreateChatTokenCommandInput, CreateChatTokenCommandOutput } from "./commands/CreateChatTokenCommand";
3
3
  import { CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput } from "./commands/CreateLoggingConfigurationCommand";
4
4
  import { CreateRoomCommandInput, CreateRoomCommandOutput } from "./commands/CreateRoomCommand";
@@ -123,6 +123,20 @@ export interface Ivschat {
123
123
  updateRoom(args: UpdateRoomCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRoomCommandOutput>;
124
124
  updateRoom(args: UpdateRoomCommandInput, cb: (err: any, data?: UpdateRoomCommandOutput) => void): void;
125
125
  updateRoom(args: UpdateRoomCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoomCommandOutput) => void): void;
126
+ /**
127
+ * @see {@link ListLoggingConfigurationsCommand}
128
+ * @param args - command input.
129
+ * @param paginationConfig - optional pagination config.
130
+ * @returns AsyncIterable of {@link ListLoggingConfigurationsCommandOutput}.
131
+ */
132
+ paginateListLoggingConfigurations(args?: ListLoggingConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLoggingConfigurationsCommandOutput>;
133
+ /**
134
+ * @see {@link ListRoomsCommand}
135
+ * @param args - command input.
136
+ * @param paginationConfig - optional pagination config.
137
+ * @returns AsyncIterable of {@link ListRoomsCommandOutput}.
138
+ */
139
+ paginateListRooms(args?: ListRoomsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRoomsCommandOutput>;
126
140
  }
127
141
  /**
128
142
  * <p>
@@ -1,4 +1,8 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ } from "@smithy/types";
2
6
  import {
3
7
  CreateChatTokenCommandInput,
4
8
  CreateChatTokenCommandOutput,
@@ -293,5 +297,19 @@ export interface Ivschat {
293
297
  options: __HttpHandlerOptions,
294
298
  cb: (err: any, data?: UpdateRoomCommandOutput) => void
295
299
  ): void;
300
+ paginateListLoggingConfigurations(
301
+ args?: ListLoggingConfigurationsCommandInput,
302
+ paginationConfig?: Pick<
303
+ PaginationConfiguration,
304
+ Exclude<keyof PaginationConfiguration, "client">
305
+ >
306
+ ): Paginator<ListLoggingConfigurationsCommandOutput>;
307
+ paginateListRooms(
308
+ args?: ListRoomsCommandInput,
309
+ paginationConfig?: Pick<
310
+ PaginationConfiguration,
311
+ Exclude<keyof PaginationConfiguration, "client">
312
+ >
313
+ ): Paginator<ListRoomsCommandOutput>;
296
314
  }
297
315
  export declare class Ivschat extends IvschatClient implements Ivschat {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ivschat",
3
3
  "description": "AWS SDK for JavaScript Ivschat Client for Node.js, Browser and React Native",
4
- "version": "3.975.0",
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-ivschat",
@@ -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.1",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.2",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
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.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
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.21.1",
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.11",
42
- "@smithy/middleware-retry": "^4.4.27",
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.10.12",
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.26",
55
- "@smithy/util-defaults-mode-node": "^4.2.29",
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",