@aws-sdk/client-chime 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 +27 -17
- package/dist-es/Chime.js +19 -1
- package/dist-types/Chime.d.ts +57 -1
- package/dist-types/ts3.4/Chime.d.ts +61 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -2480,6 +2480,22 @@ class UpdateUserSettingsCommand extends smithyClient.Command
|
|
|
2480
2480
|
.build() {
|
|
2481
2481
|
}
|
|
2482
2482
|
|
|
2483
|
+
const paginateListAccounts = core.createPaginator(ChimeClient, ListAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2484
|
+
|
|
2485
|
+
const paginateListBots = core.createPaginator(ChimeClient, ListBotsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2486
|
+
|
|
2487
|
+
const paginateListPhoneNumberOrders = core.createPaginator(ChimeClient, ListPhoneNumberOrdersCommand, "NextToken", "NextToken", "MaxResults");
|
|
2488
|
+
|
|
2489
|
+
const paginateListPhoneNumbers = core.createPaginator(ChimeClient, ListPhoneNumbersCommand, "NextToken", "NextToken", "MaxResults");
|
|
2490
|
+
|
|
2491
|
+
const paginateListRoomMemberships = core.createPaginator(ChimeClient, ListRoomMembershipsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2492
|
+
|
|
2493
|
+
const paginateListRooms = core.createPaginator(ChimeClient, ListRoomsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2494
|
+
|
|
2495
|
+
const paginateListUsers = core.createPaginator(ChimeClient, ListUsersCommand, "NextToken", "NextToken", "MaxResults");
|
|
2496
|
+
|
|
2497
|
+
const paginateSearchAvailablePhoneNumbers = core.createPaginator(ChimeClient, SearchAvailablePhoneNumbersCommand, "NextToken", "NextToken", "MaxResults");
|
|
2498
|
+
|
|
2483
2499
|
const commands = {
|
|
2484
2500
|
AssociatePhoneNumberWithUserCommand,
|
|
2485
2501
|
AssociateSigninDelegateGroupsWithAccountCommand,
|
|
@@ -2544,25 +2560,19 @@ const commands = {
|
|
|
2544
2560
|
UpdateUserCommand,
|
|
2545
2561
|
UpdateUserSettingsCommand,
|
|
2546
2562
|
};
|
|
2563
|
+
const paginators = {
|
|
2564
|
+
paginateListAccounts,
|
|
2565
|
+
paginateListBots,
|
|
2566
|
+
paginateListPhoneNumberOrders,
|
|
2567
|
+
paginateListPhoneNumbers,
|
|
2568
|
+
paginateListRoomMemberships,
|
|
2569
|
+
paginateListRooms,
|
|
2570
|
+
paginateListUsers,
|
|
2571
|
+
paginateSearchAvailablePhoneNumbers,
|
|
2572
|
+
};
|
|
2547
2573
|
class Chime extends ChimeClient {
|
|
2548
2574
|
}
|
|
2549
|
-
smithyClient.createAggregatedClient(commands, Chime);
|
|
2550
|
-
|
|
2551
|
-
const paginateListAccounts = core.createPaginator(ChimeClient, ListAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2552
|
-
|
|
2553
|
-
const paginateListBots = core.createPaginator(ChimeClient, ListBotsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2554
|
-
|
|
2555
|
-
const paginateListPhoneNumberOrders = core.createPaginator(ChimeClient, ListPhoneNumberOrdersCommand, "NextToken", "NextToken", "MaxResults");
|
|
2556
|
-
|
|
2557
|
-
const paginateListPhoneNumbers = core.createPaginator(ChimeClient, ListPhoneNumbersCommand, "NextToken", "NextToken", "MaxResults");
|
|
2558
|
-
|
|
2559
|
-
const paginateListRoomMemberships = core.createPaginator(ChimeClient, ListRoomMembershipsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2560
|
-
|
|
2561
|
-
const paginateListRooms = core.createPaginator(ChimeClient, ListRoomsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2562
|
-
|
|
2563
|
-
const paginateListUsers = core.createPaginator(ChimeClient, ListUsersCommand, "NextToken", "NextToken", "MaxResults");
|
|
2564
|
-
|
|
2565
|
-
const paginateSearchAvailablePhoneNumbers = core.createPaginator(ChimeClient, SearchAvailablePhoneNumbersCommand, "NextToken", "NextToken", "MaxResults");
|
|
2575
|
+
smithyClient.createAggregatedClient(commands, Chime, { paginators });
|
|
2566
2576
|
|
|
2567
2577
|
const ErrorCode = {
|
|
2568
2578
|
AccessDenied: "AccessDenied",
|
package/dist-es/Chime.js
CHANGED
|
@@ -62,6 +62,14 @@ import { UpdateRoomCommand } from "./commands/UpdateRoomCommand";
|
|
|
62
62
|
import { UpdateRoomMembershipCommand, } from "./commands/UpdateRoomMembershipCommand";
|
|
63
63
|
import { UpdateUserCommand } from "./commands/UpdateUserCommand";
|
|
64
64
|
import { UpdateUserSettingsCommand, } from "./commands/UpdateUserSettingsCommand";
|
|
65
|
+
import { paginateListAccounts } from "./pagination/ListAccountsPaginator";
|
|
66
|
+
import { paginateListBots } from "./pagination/ListBotsPaginator";
|
|
67
|
+
import { paginateListPhoneNumberOrders } from "./pagination/ListPhoneNumberOrdersPaginator";
|
|
68
|
+
import { paginateListPhoneNumbers } from "./pagination/ListPhoneNumbersPaginator";
|
|
69
|
+
import { paginateListRoomMemberships } from "./pagination/ListRoomMembershipsPaginator";
|
|
70
|
+
import { paginateListRooms } from "./pagination/ListRoomsPaginator";
|
|
71
|
+
import { paginateListUsers } from "./pagination/ListUsersPaginator";
|
|
72
|
+
import { paginateSearchAvailablePhoneNumbers } from "./pagination/SearchAvailablePhoneNumbersPaginator";
|
|
65
73
|
const commands = {
|
|
66
74
|
AssociatePhoneNumberWithUserCommand,
|
|
67
75
|
AssociateSigninDelegateGroupsWithAccountCommand,
|
|
@@ -126,6 +134,16 @@ const commands = {
|
|
|
126
134
|
UpdateUserCommand,
|
|
127
135
|
UpdateUserSettingsCommand,
|
|
128
136
|
};
|
|
137
|
+
const paginators = {
|
|
138
|
+
paginateListAccounts,
|
|
139
|
+
paginateListBots,
|
|
140
|
+
paginateListPhoneNumberOrders,
|
|
141
|
+
paginateListPhoneNumbers,
|
|
142
|
+
paginateListRoomMemberships,
|
|
143
|
+
paginateListRooms,
|
|
144
|
+
paginateListUsers,
|
|
145
|
+
paginateSearchAvailablePhoneNumbers,
|
|
146
|
+
};
|
|
129
147
|
export class Chime extends ChimeClient {
|
|
130
148
|
}
|
|
131
|
-
createAggregatedClient(commands, Chime);
|
|
149
|
+
createAggregatedClient(commands, Chime, { paginators });
|
package/dist-types/Chime.d.ts
CHANGED
|
@@ -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 { ChimeClient } from "./ChimeClient";
|
|
3
3
|
import { AssociatePhoneNumberWithUserCommandInput, AssociatePhoneNumberWithUserCommandOutput } from "./commands/AssociatePhoneNumberWithUserCommand";
|
|
4
4
|
import { AssociateSigninDelegateGroupsWithAccountCommandInput, AssociateSigninDelegateGroupsWithAccountCommandOutput } from "./commands/AssociateSigninDelegateGroupsWithAccountCommand";
|
|
@@ -442,6 +442,62 @@ export interface Chime {
|
|
|
442
442
|
updateUserSettings(args: UpdateUserSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserSettingsCommandOutput>;
|
|
443
443
|
updateUserSettings(args: UpdateUserSettingsCommandInput, cb: (err: any, data?: UpdateUserSettingsCommandOutput) => void): void;
|
|
444
444
|
updateUserSettings(args: UpdateUserSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserSettingsCommandOutput) => void): void;
|
|
445
|
+
/**
|
|
446
|
+
* @see {@link ListAccountsCommand}
|
|
447
|
+
* @param args - command input.
|
|
448
|
+
* @param paginationConfig - optional pagination config.
|
|
449
|
+
* @returns AsyncIterable of {@link ListAccountsCommandOutput}.
|
|
450
|
+
*/
|
|
451
|
+
paginateListAccounts(args?: ListAccountsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAccountsCommandOutput>;
|
|
452
|
+
/**
|
|
453
|
+
* @see {@link ListBotsCommand}
|
|
454
|
+
* @param args - command input.
|
|
455
|
+
* @param paginationConfig - optional pagination config.
|
|
456
|
+
* @returns AsyncIterable of {@link ListBotsCommandOutput}.
|
|
457
|
+
*/
|
|
458
|
+
paginateListBots(args: ListBotsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBotsCommandOutput>;
|
|
459
|
+
/**
|
|
460
|
+
* @see {@link ListPhoneNumberOrdersCommand}
|
|
461
|
+
* @param args - command input.
|
|
462
|
+
* @param paginationConfig - optional pagination config.
|
|
463
|
+
* @returns AsyncIterable of {@link ListPhoneNumberOrdersCommandOutput}.
|
|
464
|
+
*/
|
|
465
|
+
paginateListPhoneNumberOrders(args?: ListPhoneNumberOrdersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPhoneNumberOrdersCommandOutput>;
|
|
466
|
+
/**
|
|
467
|
+
* @see {@link ListPhoneNumbersCommand}
|
|
468
|
+
* @param args - command input.
|
|
469
|
+
* @param paginationConfig - optional pagination config.
|
|
470
|
+
* @returns AsyncIterable of {@link ListPhoneNumbersCommandOutput}.
|
|
471
|
+
*/
|
|
472
|
+
paginateListPhoneNumbers(args?: ListPhoneNumbersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPhoneNumbersCommandOutput>;
|
|
473
|
+
/**
|
|
474
|
+
* @see {@link ListRoomMembershipsCommand}
|
|
475
|
+
* @param args - command input.
|
|
476
|
+
* @param paginationConfig - optional pagination config.
|
|
477
|
+
* @returns AsyncIterable of {@link ListRoomMembershipsCommandOutput}.
|
|
478
|
+
*/
|
|
479
|
+
paginateListRoomMemberships(args: ListRoomMembershipsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRoomMembershipsCommandOutput>;
|
|
480
|
+
/**
|
|
481
|
+
* @see {@link ListRoomsCommand}
|
|
482
|
+
* @param args - command input.
|
|
483
|
+
* @param paginationConfig - optional pagination config.
|
|
484
|
+
* @returns AsyncIterable of {@link ListRoomsCommandOutput}.
|
|
485
|
+
*/
|
|
486
|
+
paginateListRooms(args: ListRoomsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRoomsCommandOutput>;
|
|
487
|
+
/**
|
|
488
|
+
* @see {@link ListUsersCommand}
|
|
489
|
+
* @param args - command input.
|
|
490
|
+
* @param paginationConfig - optional pagination config.
|
|
491
|
+
* @returns AsyncIterable of {@link ListUsersCommandOutput}.
|
|
492
|
+
*/
|
|
493
|
+
paginateListUsers(args: ListUsersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListUsersCommandOutput>;
|
|
494
|
+
/**
|
|
495
|
+
* @see {@link SearchAvailablePhoneNumbersCommand}
|
|
496
|
+
* @param args - command input.
|
|
497
|
+
* @param paginationConfig - optional pagination config.
|
|
498
|
+
* @returns AsyncIterable of {@link SearchAvailablePhoneNumbersCommandOutput}.
|
|
499
|
+
*/
|
|
500
|
+
paginateSearchAvailablePhoneNumbers(args?: SearchAvailablePhoneNumbersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchAvailablePhoneNumbersCommandOutput>;
|
|
445
501
|
}
|
|
446
502
|
/**
|
|
447
503
|
* <important>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { ChimeClient } from "./ChimeClient";
|
|
3
7
|
import {
|
|
4
8
|
AssociatePhoneNumberWithUserCommandInput,
|
|
@@ -1080,5 +1084,61 @@ export interface Chime {
|
|
|
1080
1084
|
options: __HttpHandlerOptions,
|
|
1081
1085
|
cb: (err: any, data?: UpdateUserSettingsCommandOutput) => void
|
|
1082
1086
|
): void;
|
|
1087
|
+
paginateListAccounts(
|
|
1088
|
+
args?: ListAccountsCommandInput,
|
|
1089
|
+
paginationConfig?: Pick<
|
|
1090
|
+
PaginationConfiguration,
|
|
1091
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1092
|
+
>
|
|
1093
|
+
): Paginator<ListAccountsCommandOutput>;
|
|
1094
|
+
paginateListBots(
|
|
1095
|
+
args: ListBotsCommandInput,
|
|
1096
|
+
paginationConfig?: Pick<
|
|
1097
|
+
PaginationConfiguration,
|
|
1098
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1099
|
+
>
|
|
1100
|
+
): Paginator<ListBotsCommandOutput>;
|
|
1101
|
+
paginateListPhoneNumberOrders(
|
|
1102
|
+
args?: ListPhoneNumberOrdersCommandInput,
|
|
1103
|
+
paginationConfig?: Pick<
|
|
1104
|
+
PaginationConfiguration,
|
|
1105
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1106
|
+
>
|
|
1107
|
+
): Paginator<ListPhoneNumberOrdersCommandOutput>;
|
|
1108
|
+
paginateListPhoneNumbers(
|
|
1109
|
+
args?: ListPhoneNumbersCommandInput,
|
|
1110
|
+
paginationConfig?: Pick<
|
|
1111
|
+
PaginationConfiguration,
|
|
1112
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1113
|
+
>
|
|
1114
|
+
): Paginator<ListPhoneNumbersCommandOutput>;
|
|
1115
|
+
paginateListRoomMemberships(
|
|
1116
|
+
args: ListRoomMembershipsCommandInput,
|
|
1117
|
+
paginationConfig?: Pick<
|
|
1118
|
+
PaginationConfiguration,
|
|
1119
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1120
|
+
>
|
|
1121
|
+
): Paginator<ListRoomMembershipsCommandOutput>;
|
|
1122
|
+
paginateListRooms(
|
|
1123
|
+
args: ListRoomsCommandInput,
|
|
1124
|
+
paginationConfig?: Pick<
|
|
1125
|
+
PaginationConfiguration,
|
|
1126
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1127
|
+
>
|
|
1128
|
+
): Paginator<ListRoomsCommandOutput>;
|
|
1129
|
+
paginateListUsers(
|
|
1130
|
+
args: ListUsersCommandInput,
|
|
1131
|
+
paginationConfig?: Pick<
|
|
1132
|
+
PaginationConfiguration,
|
|
1133
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1134
|
+
>
|
|
1135
|
+
): Paginator<ListUsersCommandOutput>;
|
|
1136
|
+
paginateSearchAvailablePhoneNumbers(
|
|
1137
|
+
args?: SearchAvailablePhoneNumbersCommandInput,
|
|
1138
|
+
paginationConfig?: Pick<
|
|
1139
|
+
PaginationConfiguration,
|
|
1140
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1141
|
+
>
|
|
1142
|
+
): Paginator<SearchAvailablePhoneNumbersCommandOutput>;
|
|
1083
1143
|
}
|
|
1084
1144
|
export declare class Chime extends ChimeClient implements Chime {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-chime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Chime 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-chime",
|
|
@@ -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",
|