@aws-sdk/client-cognito-identity 3.1076.0 → 3.1078.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.
Files changed (89) hide show
  1. package/dist-cjs/index.js +34 -235
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateIdentityPoolCommand.js +2 -14
  4. package/dist-es/commands/DeleteIdentitiesCommand.js +2 -14
  5. package/dist-es/commands/DeleteIdentityPoolCommand.js +2 -14
  6. package/dist-es/commands/DescribeIdentityCommand.js +2 -14
  7. package/dist-es/commands/DescribeIdentityPoolCommand.js +2 -14
  8. package/dist-es/commands/GetCredentialsForIdentityCommand.js +2 -14
  9. package/dist-es/commands/GetIdCommand.js +2 -14
  10. package/dist-es/commands/GetIdentityPoolRolesCommand.js +2 -14
  11. package/dist-es/commands/GetOpenIdTokenCommand.js +2 -14
  12. package/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +2 -14
  13. package/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +2 -14
  14. package/dist-es/commands/ListIdentitiesCommand.js +2 -14
  15. package/dist-es/commands/ListIdentityPoolsCommand.js +2 -14
  16. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  17. package/dist-es/commands/LookupDeveloperIdentityCommand.js +2 -14
  18. package/dist-es/commands/MergeDeveloperIdentitiesCommand.js +2 -14
  19. package/dist-es/commands/SetIdentityPoolRolesCommand.js +2 -14
  20. package/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +2 -14
  21. package/dist-es/commands/TagResourceCommand.js +2 -14
  22. package/dist-es/commands/UnlinkDeveloperIdentityCommand.js +2 -14
  23. package/dist-es/commands/UnlinkIdentityCommand.js +2 -14
  24. package/dist-es/commands/UntagResourceCommand.js +2 -14
  25. package/dist-es/commands/UpdateIdentityPoolCommand.js +2 -14
  26. package/dist-es/index.js +1 -0
  27. package/dist-es/runtimeConfig.browser.js +0 -2
  28. package/dist-es/runtimeConfig.js +1 -2
  29. package/dist-es/runtimeConfig.native.js +0 -2
  30. package/dist-es/runtimeConfig.shared.js +2 -0
  31. package/dist-types/commandBuilder.d.ts +18 -0
  32. package/dist-types/commands/CreateIdentityPoolCommand.d.ts +3 -8
  33. package/dist-types/commands/DeleteIdentitiesCommand.d.ts +3 -8
  34. package/dist-types/commands/DeleteIdentityPoolCommand.d.ts +3 -8
  35. package/dist-types/commands/DescribeIdentityCommand.d.ts +3 -8
  36. package/dist-types/commands/DescribeIdentityPoolCommand.d.ts +3 -8
  37. package/dist-types/commands/GetCredentialsForIdentityCommand.d.ts +3 -8
  38. package/dist-types/commands/GetIdCommand.d.ts +3 -8
  39. package/dist-types/commands/GetIdentityPoolRolesCommand.d.ts +3 -8
  40. package/dist-types/commands/GetOpenIdTokenCommand.d.ts +3 -8
  41. package/dist-types/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +3 -8
  42. package/dist-types/commands/GetPrincipalTagAttributeMapCommand.d.ts +3 -8
  43. package/dist-types/commands/ListIdentitiesCommand.d.ts +3 -8
  44. package/dist-types/commands/ListIdentityPoolsCommand.d.ts +3 -8
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  46. package/dist-types/commands/LookupDeveloperIdentityCommand.d.ts +3 -8
  47. package/dist-types/commands/MergeDeveloperIdentitiesCommand.d.ts +3 -8
  48. package/dist-types/commands/SetIdentityPoolRolesCommand.d.ts +3 -8
  49. package/dist-types/commands/SetPrincipalTagAttributeMapCommand.d.ts +3 -8
  50. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  51. package/dist-types/commands/UnlinkDeveloperIdentityCommand.d.ts +3 -8
  52. package/dist-types/commands/UnlinkIdentityCommand.d.ts +3 -8
  53. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  54. package/dist-types/commands/UpdateIdentityPoolCommand.d.ts +3 -8
  55. package/dist-types/index.d.ts +1 -0
  56. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  57. package/dist-types/runtimeConfig.d.ts +1 -1
  58. package/dist-types/runtimeConfig.native.d.ts +1 -1
  59. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  60. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  61. package/dist-types/ts3.4/commands/CreateIdentityPoolCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/DeleteIdentitiesCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/DeleteIdentityPoolCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/DescribeIdentityCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/DescribeIdentityPoolCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetCredentialsForIdentityCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetIdCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/GetIdentityPoolRolesCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/GetOpenIdTokenCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/GetPrincipalTagAttributeMapCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListIdentityPoolsCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/LookupDeveloperIdentityCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/MergeDeveloperIdentitiesCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/SetIdentityPoolRolesCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/SetPrincipalTagAttributeMapCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/UnlinkDeveloperIdentityCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/UnlinkIdentityCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/UpdateIdentityPoolCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/index.d.ts +1 -0
  85. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  86. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  88. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  89. package/package.json +10 -12
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CognitoIdentityClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CognitoIdentityClient";
8
2
  import { TagResourceInput, TagResourceResponse } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface TagResourceCommandInput extends TagResourceInput {}
12
5
  export interface TagResourceCommandOutput
13
6
  extends TagResourceResponse,
@@ -18,22 +11,20 @@ declare const TagResourceCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  TagResourceCommandInput,
20
13
  TagResourceCommandOutput,
21
- CognitoIdentityClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").CognitoIdentityClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: TagResourceCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  TagResourceCommandInput,
29
22
  TagResourceCommandOutput,
30
- CognitoIdentityClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").CognitoIdentityClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class TagResourceCommand extends TagResourceCommand_base {
39
30
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CognitoIdentityClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CognitoIdentityClient";
8
2
  import { UnlinkDeveloperIdentityInput } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface UnlinkDeveloperIdentityCommandInput
12
5
  extends UnlinkDeveloperIdentityInput {}
13
6
  export interface UnlinkDeveloperIdentityCommandOutput
@@ -18,22 +11,20 @@ declare const UnlinkDeveloperIdentityCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  UnlinkDeveloperIdentityCommandInput,
20
13
  UnlinkDeveloperIdentityCommandOutput,
21
- CognitoIdentityClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").CognitoIdentityClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: UnlinkDeveloperIdentityCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  UnlinkDeveloperIdentityCommandInput,
29
22
  UnlinkDeveloperIdentityCommandOutput,
30
- CognitoIdentityClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").CognitoIdentityClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class UnlinkDeveloperIdentityCommand extends UnlinkDeveloperIdentityCommand_base {
39
30
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CognitoIdentityClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CognitoIdentityClient";
8
2
  import { UnlinkIdentityInput } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface UnlinkIdentityCommandInput extends UnlinkIdentityInput {}
12
5
  export interface UnlinkIdentityCommandOutput extends __MetadataBearer {}
13
6
  declare const UnlinkIdentityCommand_base: {
@@ -16,22 +9,20 @@ declare const UnlinkIdentityCommand_base: {
16
9
  ): import("@smithy/core/client").CommandImpl<
17
10
  UnlinkIdentityCommandInput,
18
11
  UnlinkIdentityCommandOutput,
19
- CognitoIdentityClientResolvedConfig,
20
- ServiceInputTypes,
21
- ServiceOutputTypes
12
+ import("..").CognitoIdentityClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
22
15
  >;
23
16
  new (
24
17
  input: UnlinkIdentityCommandInput
25
18
  ): import("@smithy/core/client").CommandImpl<
26
19
  UnlinkIdentityCommandInput,
27
20
  UnlinkIdentityCommandOutput,
28
- CognitoIdentityClientResolvedConfig,
29
- ServiceInputTypes,
30
- ServiceOutputTypes
21
+ import("..").CognitoIdentityClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
31
24
  >;
32
- getEndpointParameterInstructions(): {
33
- [x: string]: unknown;
34
- };
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
35
26
  };
36
27
  export declare class UnlinkIdentityCommand extends UnlinkIdentityCommand_base {
37
28
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CognitoIdentityClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CognitoIdentityClient";
8
2
  import { UntagResourceInput, UntagResourceResponse } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface UntagResourceCommandInput extends UntagResourceInput {}
12
5
  export interface UntagResourceCommandOutput
13
6
  extends UntagResourceResponse,
@@ -18,22 +11,20 @@ declare const UntagResourceCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  UntagResourceCommandInput,
20
13
  UntagResourceCommandOutput,
21
- CognitoIdentityClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").CognitoIdentityClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: UntagResourceCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  UntagResourceCommandInput,
29
22
  UntagResourceCommandOutput,
30
- CognitoIdentityClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").CognitoIdentityClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
39
30
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CognitoIdentityClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CognitoIdentityClient";
8
2
  import { IdentityPool } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface UpdateIdentityPoolCommandInput extends IdentityPool {}
12
5
  export interface UpdateIdentityPoolCommandOutput
13
6
  extends IdentityPool,
@@ -18,22 +11,20 @@ declare const UpdateIdentityPoolCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  UpdateIdentityPoolCommandInput,
20
13
  UpdateIdentityPoolCommandOutput,
21
- CognitoIdentityClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").CognitoIdentityClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: UpdateIdentityPoolCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  UpdateIdentityPoolCommandInput,
29
22
  UpdateIdentityPoolCommandOutput,
30
- CognitoIdentityClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").CognitoIdentityClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class UpdateIdentityPoolCommand extends UpdateIdentityPoolCommand_base {
39
30
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { CognitoIdentityExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./pagination";
9
10
  export * from "./models/enums";
@@ -22,7 +22,6 @@ export declare const getRuntimeConfig: (
22
22
  | import("@smithy/core/protocols").HttpHandler<any>
23
23
  | RequestHandler;
24
24
  retryMode: string | import("@smithy/types").Provider<string>;
25
- sha256: import("@smithy/types").HashConstructor;
26
25
  streamCollector: (
27
26
  stream:
28
27
  | import("stream").Readable
@@ -44,6 +43,7 @@ export declare const getRuntimeConfig: (
44
43
  [setting: string]: unknown;
45
44
  };
46
45
  apiVersion: string;
46
+ sha256: import("@smithy/types").HashConstructor;
47
47
  urlParser: import("@smithy/types").UrlParser;
48
48
  base64Decoder: import("@smithy/types").Decoder;
49
49
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -23,7 +23,6 @@ export declare const getRuntimeConfig: (
23
23
  | RequestHandler
24
24
  | import("@smithy/core/protocols").HttpHandler<any>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
- sha256: import("@smithy/types").HashConstructor;
27
26
  streamCollector: (
28
27
  stream:
29
28
  | import("stream").Readable
@@ -44,6 +43,7 @@ export declare const getRuntimeConfig: (
44
43
  [setting: string]: unknown;
45
44
  };
46
45
  apiVersion: string;
46
+ sha256: import("@smithy/types").HashConstructor;
47
47
  urlParser: import("@smithy/types").UrlParser;
48
48
  base64Decoder: import("@smithy/types").Decoder;
49
49
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -3,7 +3,6 @@ export declare const getRuntimeConfig: (
3
3
  config: CognitoIdentityClientConfig
4
4
  ) => {
5
5
  runtime: string;
6
- sha256: import("@smithy/types").HashConstructor;
7
6
  requestHandler:
8
7
  | import("@smithy/types").NodeHttpHandlerOptions
9
8
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -20,6 +19,7 @@ export declare const getRuntimeConfig: (
20
19
  [setting: string]: unknown;
21
20
  };
22
21
  apiVersion: string;
22
+ sha256: import("@smithy/types").HashConstructor;
23
23
  urlParser: import("@smithy/types").UrlParser;
24
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
25
  streamCollector: (
@@ -54,6 +54,7 @@ export declare const getRuntimeConfig: (
54
54
  defaultNamespace?: string;
55
55
  };
56
56
  serviceId: string;
57
+ sha256: import("@smithy/types").HashConstructor;
57
58
  urlParser: import("@smithy/types").UrlParser;
58
59
  utf8Decoder: import("@smithy/types").Decoder;
59
60
  utf8Encoder: (input: Uint8Array | string) => string;
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.1076.0",
4
+ "version": "3.1078.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",
@@ -25,20 +25,18 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@aws-crypto/sha256-browser": "5.2.0",
29
- "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/core": "^3.974.24",
31
- "@aws-sdk/credential-provider-node": "^3.972.59",
32
- "@aws-sdk/types": "^3.973.14",
33
- "@smithy/core": "^3.27.0",
34
- "@smithy/fetch-http-handler": "^5.6.0",
35
- "@smithy/node-http-handler": "^4.9.0",
36
- "@smithy/types": "^4.15.0",
28
+ "@aws-sdk/core": "^3.974.26",
29
+ "@aws-sdk/credential-provider-node": "^3.972.61",
30
+ "@aws-sdk/types": "^3.973.15",
31
+ "@smithy/core": "^3.29.0",
32
+ "@smithy/fetch-http-handler": "^5.6.2",
33
+ "@smithy/node-http-handler": "^4.9.2",
34
+ "@smithy/types": "^4.15.1",
37
35
  "tslib": "^2.6.2"
38
36
  },
39
37
  "devDependencies": {
40
- "@aws-sdk/client-iam": "3.1076.0",
41
- "@smithy/snapshot-testing": "^2.2.3",
38
+ "@aws-sdk/client-iam": "3.1078.0",
39
+ "@smithy/snapshot-testing": "^2.2.5",
42
40
  "@tsconfig/node20": "20.1.8",
43
41
  "@types/chai": "^4.2.11",
44
42
  "@types/node": "^20.14.8",