@aws-sdk/client-cognito-identity 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
@@ -1073,6 +1073,8 @@ class UpdateIdentityPoolCommand extends smithyClient.Command
1073
1073
  .build() {
1074
1074
  }
1075
1075
 
1076
+ const paginateListIdentityPools = core.createPaginator(CognitoIdentityClient, ListIdentityPoolsCommand, "NextToken", "NextToken", "MaxResults");
1077
+
1076
1078
  const commands = {
1077
1079
  CreateIdentityPoolCommand,
1078
1080
  DeleteIdentitiesCommand,
@@ -1098,11 +1100,12 @@ const commands = {
1098
1100
  UntagResourceCommand,
1099
1101
  UpdateIdentityPoolCommand,
1100
1102
  };
1103
+ const paginators = {
1104
+ paginateListIdentityPools,
1105
+ };
1101
1106
  class CognitoIdentity extends CognitoIdentityClient {
1102
1107
  }
1103
- smithyClient.createAggregatedClient(commands, CognitoIdentity);
1104
-
1105
- const paginateListIdentityPools = core.createPaginator(CognitoIdentityClient, ListIdentityPoolsCommand, "NextToken", "NextToken", "MaxResults");
1108
+ smithyClient.createAggregatedClient(commands, CognitoIdentity, { paginators });
1106
1109
 
1107
1110
  const AmbiguousRoleResolutionType = {
1108
1111
  AUTHENTICATED_ROLE: "AuthenticatedRole",
@@ -23,6 +23,7 @@ import { UnlinkDeveloperIdentityCommand, } from "./commands/UnlinkDeveloperIdent
23
23
  import { UnlinkIdentityCommand, } from "./commands/UnlinkIdentityCommand";
24
24
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
25
25
  import { UpdateIdentityPoolCommand, } from "./commands/UpdateIdentityPoolCommand";
26
+ import { paginateListIdentityPools } from "./pagination/ListIdentityPoolsPaginator";
26
27
  const commands = {
27
28
  CreateIdentityPoolCommand,
28
29
  DeleteIdentitiesCommand,
@@ -48,6 +49,9 @@ const commands = {
48
49
  UntagResourceCommand,
49
50
  UpdateIdentityPoolCommand,
50
51
  };
52
+ const paginators = {
53
+ paginateListIdentityPools,
54
+ };
51
55
  export class CognitoIdentity extends CognitoIdentityClient {
52
56
  }
53
- createAggregatedClient(commands, CognitoIdentity);
57
+ createAggregatedClient(commands, CognitoIdentity, { 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 { CognitoIdentityClient } from "./CognitoIdentityClient";
3
3
  import { CreateIdentityPoolCommandInput, CreateIdentityPoolCommandOutput } from "./commands/CreateIdentityPoolCommand";
4
4
  import { DeleteIdentitiesCommandInput, DeleteIdentitiesCommandOutput } from "./commands/DeleteIdentitiesCommand";
@@ -162,6 +162,13 @@ export interface CognitoIdentity {
162
162
  updateIdentityPool(args: UpdateIdentityPoolCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIdentityPoolCommandOutput>;
163
163
  updateIdentityPool(args: UpdateIdentityPoolCommandInput, cb: (err: any, data?: UpdateIdentityPoolCommandOutput) => void): void;
164
164
  updateIdentityPool(args: UpdateIdentityPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIdentityPoolCommandOutput) => void): void;
165
+ /**
166
+ * @see {@link ListIdentityPoolsCommand}
167
+ * @param args - command input.
168
+ * @param paginationConfig - optional pagination config.
169
+ * @returns AsyncIterable of {@link ListIdentityPoolsCommandOutput}.
170
+ */
171
+ paginateListIdentityPools(args: ListIdentityPoolsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListIdentityPoolsCommandOutput>;
165
172
  }
166
173
  /**
167
174
  * <fullname>Amazon Cognito Federated Identities</fullname>
@@ -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 { CognitoIdentityClient } from "./CognitoIdentityClient";
3
7
  import {
4
8
  CreateIdentityPoolCommandInput,
@@ -395,6 +399,13 @@ export interface CognitoIdentity {
395
399
  options: __HttpHandlerOptions,
396
400
  cb: (err: any, data?: UpdateIdentityPoolCommandOutput) => void
397
401
  ): void;
402
+ paginateListIdentityPools(
403
+ args: ListIdentityPoolsCommandInput,
404
+ paginationConfig?: Pick<
405
+ PaginationConfiguration,
406
+ Exclude<keyof PaginationConfiguration, "client">
407
+ >
408
+ ): Paginator<ListIdentityPoolsCommandOutput>;
398
409
  }
399
410
  export declare class CognitoIdentity
400
411
  extends CognitoIdentityClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity",
3
3
  "description": "AWS SDK for JavaScript Cognito Identity 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-cognito-identity",
@@ -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.1",
27
- "@aws-sdk/credential-provider-node": "^3.972.1",
28
- "@aws-sdk/middleware-host-header": "^3.972.1",
29
- "@aws-sdk/middleware-logger": "^3.972.1",
30
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
31
- "@aws-sdk/middleware-user-agent": "^3.972.2",
32
- "@aws-sdk/region-config-resolver": "^3.972.1",
33
- "@aws-sdk/types": "^3.973.0",
34
- "@aws-sdk/util-endpoints": "3.972.0",
35
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
36
- "@aws-sdk/util-user-agent-node": "^3.972.1",
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.21.1",
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.11",
44
- "@smithy/middleware-retry": "^4.4.27",
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.10.12",
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.26",
57
- "@smithy/util-defaults-mode-node": "^4.2.29",
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",
@@ -62,7 +62,7 @@
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@aws-sdk/client-iam": "3.975.0",
65
+ "@aws-sdk/client-iam": "3.980.0",
66
66
  "@tsconfig/node20": "20.1.8",
67
67
  "@types/chai": "^4.2.11",
68
68
  "@types/node": "^20.14.8",