@aws-sdk/client-identitystore 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
@@ -1059,6 +1059,14 @@ class UpdateUserCommand extends smithyClient.Command
1059
1059
  .build() {
1060
1060
  }
1061
1061
 
1062
+ const paginateListGroupMembershipsForMember = core.createPaginator(IdentitystoreClient, ListGroupMembershipsForMemberCommand, "NextToken", "NextToken", "MaxResults");
1063
+
1064
+ const paginateListGroupMemberships = core.createPaginator(IdentitystoreClient, ListGroupMembershipsCommand, "NextToken", "NextToken", "MaxResults");
1065
+
1066
+ const paginateListGroups = core.createPaginator(IdentitystoreClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
1067
+
1068
+ const paginateListUsers = core.createPaginator(IdentitystoreClient, ListUsersCommand, "NextToken", "NextToken", "MaxResults");
1069
+
1062
1070
  const commands = {
1063
1071
  CreateGroupCommand,
1064
1072
  CreateGroupMembershipCommand,
@@ -1080,17 +1088,15 @@ const commands = {
1080
1088
  UpdateGroupCommand,
1081
1089
  UpdateUserCommand,
1082
1090
  };
1091
+ const paginators = {
1092
+ paginateListGroupMemberships,
1093
+ paginateListGroupMembershipsForMember,
1094
+ paginateListGroups,
1095
+ paginateListUsers,
1096
+ };
1083
1097
  class Identitystore extends IdentitystoreClient {
1084
1098
  }
1085
- smithyClient.createAggregatedClient(commands, Identitystore);
1086
-
1087
- const paginateListGroupMemberships = core.createPaginator(IdentitystoreClient, ListGroupMembershipsCommand, "NextToken", "NextToken", "MaxResults");
1088
-
1089
- const paginateListGroupMembershipsForMember = core.createPaginator(IdentitystoreClient, ListGroupMembershipsForMemberCommand, "NextToken", "NextToken", "MaxResults");
1090
-
1091
- const paginateListGroups = core.createPaginator(IdentitystoreClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
1092
-
1093
- const paginateListUsers = core.createPaginator(IdentitystoreClient, ListUsersCommand, "NextToken", "NextToken", "MaxResults");
1099
+ smithyClient.createAggregatedClient(commands, Identitystore, { paginators });
1094
1100
 
1095
1101
  const AccessDeniedExceptionReason = {
1096
1102
  KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED",
@@ -19,6 +19,10 @@ import { ListUsersCommand } from "./commands/ListUsersCommand";
19
19
  import { UpdateGroupCommand } from "./commands/UpdateGroupCommand";
20
20
  import { UpdateUserCommand } from "./commands/UpdateUserCommand";
21
21
  import { IdentitystoreClient } from "./IdentitystoreClient";
22
+ import { paginateListGroupMembershipsForMember } from "./pagination/ListGroupMembershipsForMemberPaginator";
23
+ import { paginateListGroupMemberships } from "./pagination/ListGroupMembershipsPaginator";
24
+ import { paginateListGroups } from "./pagination/ListGroupsPaginator";
25
+ import { paginateListUsers } from "./pagination/ListUsersPaginator";
22
26
  const commands = {
23
27
  CreateGroupCommand,
24
28
  CreateGroupMembershipCommand,
@@ -40,6 +44,12 @@ const commands = {
40
44
  UpdateGroupCommand,
41
45
  UpdateUserCommand,
42
46
  };
47
+ const paginators = {
48
+ paginateListGroupMemberships,
49
+ paginateListGroupMembershipsForMember,
50
+ paginateListGroups,
51
+ paginateListUsers,
52
+ };
43
53
  export class Identitystore extends IdentitystoreClient {
44
54
  }
45
- createAggregatedClient(commands, Identitystore);
55
+ createAggregatedClient(commands, Identitystore, { 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 { CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
3
3
  import { CreateGroupMembershipCommandInput, CreateGroupMembershipCommandOutput } from "./commands/CreateGroupMembershipCommand";
4
4
  import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
@@ -134,6 +134,34 @@ export interface Identitystore {
134
134
  updateUser(args: UpdateUserCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserCommandOutput>;
135
135
  updateUser(args: UpdateUserCommandInput, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
136
136
  updateUser(args: UpdateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
137
+ /**
138
+ * @see {@link ListGroupMembershipsCommand}
139
+ * @param args - command input.
140
+ * @param paginationConfig - optional pagination config.
141
+ * @returns AsyncIterable of {@link ListGroupMembershipsCommandOutput}.
142
+ */
143
+ paginateListGroupMemberships(args: ListGroupMembershipsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGroupMembershipsCommandOutput>;
144
+ /**
145
+ * @see {@link ListGroupMembershipsForMemberCommand}
146
+ * @param args - command input.
147
+ * @param paginationConfig - optional pagination config.
148
+ * @returns AsyncIterable of {@link ListGroupMembershipsForMemberCommandOutput}.
149
+ */
150
+ paginateListGroupMembershipsForMember(args: ListGroupMembershipsForMemberCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGroupMembershipsForMemberCommandOutput>;
151
+ /**
152
+ * @see {@link ListGroupsCommand}
153
+ * @param args - command input.
154
+ * @param paginationConfig - optional pagination config.
155
+ * @returns AsyncIterable of {@link ListGroupsCommandOutput}.
156
+ */
157
+ paginateListGroups(args: ListGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGroupsCommandOutput>;
158
+ /**
159
+ * @see {@link ListUsersCommand}
160
+ * @param args - command input.
161
+ * @param paginationConfig - optional pagination config.
162
+ * @returns AsyncIterable of {@link ListUsersCommandOutput}.
163
+ */
164
+ paginateListUsers(args: ListUsersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListUsersCommandOutput>;
137
165
  }
138
166
  /**
139
167
  * <p>The Identity Store service used by IAM Identity Center provides a single place to retrieve all of your identities (users and groups). For more information, see the <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html"> IAM Identity Center User Guide</a>.</p> <p>This reference guide describes the identity store operations that you can call programmatically and includes detailed information about data types and errors.</p> <note> <p> IAM Identity Center uses the <code>sso</code>, <code>sso-directory</code>, and <code>identitystore</code> API namespaces. The <code>sso-directory</code> and <code>identitystore</code> namespaces authorize access to data in the Identity Store. Make sure your policies with IAM actions from these two namespaces are consistent to avoid conflicting authorization to the same data.</p> </note>
@@ -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
  CreateGroupCommandInput,
4
8
  CreateGroupCommandOutput,
@@ -324,6 +328,34 @@ export interface Identitystore {
324
328
  options: __HttpHandlerOptions,
325
329
  cb: (err: any, data?: UpdateUserCommandOutput) => void
326
330
  ): void;
331
+ paginateListGroupMemberships(
332
+ args: ListGroupMembershipsCommandInput,
333
+ paginationConfig?: Pick<
334
+ PaginationConfiguration,
335
+ Exclude<keyof PaginationConfiguration, "client">
336
+ >
337
+ ): Paginator<ListGroupMembershipsCommandOutput>;
338
+ paginateListGroupMembershipsForMember(
339
+ args: ListGroupMembershipsForMemberCommandInput,
340
+ paginationConfig?: Pick<
341
+ PaginationConfiguration,
342
+ Exclude<keyof PaginationConfiguration, "client">
343
+ >
344
+ ): Paginator<ListGroupMembershipsForMemberCommandOutput>;
345
+ paginateListGroups(
346
+ args: ListGroupsCommandInput,
347
+ paginationConfig?: Pick<
348
+ PaginationConfiguration,
349
+ Exclude<keyof PaginationConfiguration, "client">
350
+ >
351
+ ): Paginator<ListGroupsCommandOutput>;
352
+ paginateListUsers(
353
+ args: ListUsersCommandInput,
354
+ paginationConfig?: Pick<
355
+ PaginationConfiguration,
356
+ Exclude<keyof PaginationConfiguration, "client">
357
+ >
358
+ ): Paginator<ListUsersCommandOutput>;
327
359
  }
328
360
  export declare class Identitystore
329
361
  extends IdentitystoreClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-identitystore",
3
3
  "description": "AWS SDK for JavaScript Identitystore Client for Node.js, Browser and React Native",
4
- "version": "3.975.0",
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-identitystore",
@@ -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",
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",
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.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",