@aws-sdk/client-cognito-sync 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 (71) hide show
  1. package/dist-cjs/index.js +28 -175
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BulkPublishCommand.js +2 -14
  4. package/dist-es/commands/DeleteDatasetCommand.js +2 -14
  5. package/dist-es/commands/DescribeDatasetCommand.js +2 -14
  6. package/dist-es/commands/DescribeIdentityPoolUsageCommand.js +2 -14
  7. package/dist-es/commands/DescribeIdentityUsageCommand.js +2 -14
  8. package/dist-es/commands/GetBulkPublishDetailsCommand.js +2 -14
  9. package/dist-es/commands/GetCognitoEventsCommand.js +2 -14
  10. package/dist-es/commands/GetIdentityPoolConfigurationCommand.js +2 -14
  11. package/dist-es/commands/ListDatasetsCommand.js +2 -14
  12. package/dist-es/commands/ListIdentityPoolUsageCommand.js +2 -14
  13. package/dist-es/commands/ListRecordsCommand.js +2 -14
  14. package/dist-es/commands/RegisterDeviceCommand.js +2 -14
  15. package/dist-es/commands/SetCognitoEventsCommand.js +2 -14
  16. package/dist-es/commands/SetIdentityPoolConfigurationCommand.js +2 -14
  17. package/dist-es/commands/SubscribeToDatasetCommand.js +2 -14
  18. package/dist-es/commands/UnsubscribeFromDatasetCommand.js +2 -14
  19. package/dist-es/commands/UpdateRecordsCommand.js +2 -14
  20. package/dist-es/index.js +1 -0
  21. package/dist-es/runtimeConfig.browser.js +0 -2
  22. package/dist-es/runtimeConfig.js +1 -2
  23. package/dist-es/runtimeConfig.native.js +0 -2
  24. package/dist-es/runtimeConfig.shared.js +2 -0
  25. package/dist-types/commandBuilder.d.ts +18 -0
  26. package/dist-types/commands/BulkPublishCommand.d.ts +3 -8
  27. package/dist-types/commands/DeleteDatasetCommand.d.ts +3 -8
  28. package/dist-types/commands/DescribeDatasetCommand.d.ts +3 -8
  29. package/dist-types/commands/DescribeIdentityPoolUsageCommand.d.ts +3 -8
  30. package/dist-types/commands/DescribeIdentityUsageCommand.d.ts +3 -8
  31. package/dist-types/commands/GetBulkPublishDetailsCommand.d.ts +3 -8
  32. package/dist-types/commands/GetCognitoEventsCommand.d.ts +3 -8
  33. package/dist-types/commands/GetIdentityPoolConfigurationCommand.d.ts +3 -8
  34. package/dist-types/commands/ListDatasetsCommand.d.ts +3 -8
  35. package/dist-types/commands/ListIdentityPoolUsageCommand.d.ts +3 -8
  36. package/dist-types/commands/ListRecordsCommand.d.ts +3 -8
  37. package/dist-types/commands/RegisterDeviceCommand.d.ts +3 -8
  38. package/dist-types/commands/SetCognitoEventsCommand.d.ts +3 -8
  39. package/dist-types/commands/SetIdentityPoolConfigurationCommand.d.ts +3 -8
  40. package/dist-types/commands/SubscribeToDatasetCommand.d.ts +3 -8
  41. package/dist-types/commands/UnsubscribeFromDatasetCommand.d.ts +3 -8
  42. package/dist-types/commands/UpdateRecordsCommand.d.ts +3 -8
  43. package/dist-types/index.d.ts +1 -0
  44. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  45. package/dist-types/runtimeConfig.d.ts +1 -1
  46. package/dist-types/runtimeConfig.native.d.ts +1 -1
  47. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  48. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  49. package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/index.d.ts +1 -0
  67. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  68. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  69. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  70. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  71. package/package.json +8 -10
@@ -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
- CognitoSyncClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CognitoSyncClient";
8
2
  import { SetCognitoEventsRequest } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface SetCognitoEventsCommandInput extends SetCognitoEventsRequest {}
12
5
  export interface SetCognitoEventsCommandOutput extends __MetadataBearer {}
13
6
  declare const SetCognitoEventsCommand_base: {
@@ -16,22 +9,20 @@ declare const SetCognitoEventsCommand_base: {
16
9
  ): import("@smithy/core/client").CommandImpl<
17
10
  SetCognitoEventsCommandInput,
18
11
  SetCognitoEventsCommandOutput,
19
- CognitoSyncClientResolvedConfig,
20
- ServiceInputTypes,
21
- ServiceOutputTypes
12
+ import("..").CognitoSyncClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
22
15
  >;
23
16
  new (
24
17
  input: SetCognitoEventsCommandInput
25
18
  ): import("@smithy/core/client").CommandImpl<
26
19
  SetCognitoEventsCommandInput,
27
20
  SetCognitoEventsCommandOutput,
28
- CognitoSyncClientResolvedConfig,
29
- ServiceInputTypes,
30
- ServiceOutputTypes
21
+ import("..").CognitoSyncClientResolvedConfig,
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 SetCognitoEventsCommand extends SetCognitoEventsCommand_base {
37
28
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CognitoSyncClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CognitoSyncClient";
8
2
  import {
9
3
  SetIdentityPoolConfigurationRequest,
10
4
  SetIdentityPoolConfigurationResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface SetIdentityPoolConfigurationCommandInput
15
8
  extends SetIdentityPoolConfigurationRequest {}
16
9
  export interface SetIdentityPoolConfigurationCommandOutput
@@ -22,22 +15,20 @@ declare const SetIdentityPoolConfigurationCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  SetIdentityPoolConfigurationCommandInput,
24
17
  SetIdentityPoolConfigurationCommandOutput,
25
- CognitoSyncClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CognitoSyncClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: SetIdentityPoolConfigurationCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  SetIdentityPoolConfigurationCommandInput,
33
26
  SetIdentityPoolConfigurationCommandOutput,
34
- CognitoSyncClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CognitoSyncClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class SetIdentityPoolConfigurationCommand extends SetIdentityPoolConfigurationCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CognitoSyncClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CognitoSyncClient";
8
2
  import {
9
3
  SubscribeToDatasetRequest,
10
4
  SubscribeToDatasetResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface SubscribeToDatasetCommandInput
15
8
  extends SubscribeToDatasetRequest {}
16
9
  export interface SubscribeToDatasetCommandOutput
@@ -22,22 +15,20 @@ declare const SubscribeToDatasetCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  SubscribeToDatasetCommandInput,
24
17
  SubscribeToDatasetCommandOutput,
25
- CognitoSyncClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CognitoSyncClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: SubscribeToDatasetCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  SubscribeToDatasetCommandInput,
33
26
  SubscribeToDatasetCommandOutput,
34
- CognitoSyncClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CognitoSyncClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class SubscribeToDatasetCommand extends SubscribeToDatasetCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CognitoSyncClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CognitoSyncClient";
8
2
  import {
9
3
  UnsubscribeFromDatasetRequest,
10
4
  UnsubscribeFromDatasetResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface UnsubscribeFromDatasetCommandInput
15
8
  extends UnsubscribeFromDatasetRequest {}
16
9
  export interface UnsubscribeFromDatasetCommandOutput
@@ -22,22 +15,20 @@ declare const UnsubscribeFromDatasetCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  UnsubscribeFromDatasetCommandInput,
24
17
  UnsubscribeFromDatasetCommandOutput,
25
- CognitoSyncClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CognitoSyncClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: UnsubscribeFromDatasetCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  UnsubscribeFromDatasetCommandInput,
33
26
  UnsubscribeFromDatasetCommandOutput,
34
- CognitoSyncClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CognitoSyncClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class UnsubscribeFromDatasetCommand extends UnsubscribeFromDatasetCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CognitoSyncClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CognitoSyncClient";
8
2
  import {
9
3
  UpdateRecordsRequest,
10
4
  UpdateRecordsResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface UpdateRecordsCommandInput extends UpdateRecordsRequest {}
15
8
  export interface UpdateRecordsCommandOutput
16
9
  extends UpdateRecordsResponse,
@@ -21,22 +14,20 @@ declare const UpdateRecordsCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  UpdateRecordsCommandInput,
23
16
  UpdateRecordsCommandOutput,
24
- CognitoSyncClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").CognitoSyncClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: UpdateRecordsCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  UpdateRecordsCommandInput,
32
25
  UpdateRecordsCommandOutput,
33
- CognitoSyncClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").CognitoSyncClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class UpdateRecordsCommand extends UpdateRecordsCommand_base {
42
33
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { CognitoSyncExtensionConfiguration } 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 "./models/enums";
9
10
  export * from "./models/errors";
@@ -20,7 +20,6 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
20
20
  | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
- sha256: import("@smithy/types").HashConstructor;
24
23
  streamCollector: (
25
24
  stream:
26
25
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -21,7 +21,6 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
21
21
  | RequestHandler
22
22
  | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
- sha256: import("@smithy/types").HashConstructor;
25
24
  streamCollector: (
26
25
  stream:
27
26
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -1,7 +1,6 @@
1
1
  import { CognitoSyncClientConfig } from "./CognitoSyncClient";
2
2
  export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
3
3
  runtime: string;
4
- sha256: import("@smithy/types").HashConstructor;
5
4
  requestHandler:
6
5
  | import("@smithy/types").NodeHttpHandlerOptions
7
6
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
18
17
  [setting: string]: unknown;
19
18
  };
20
19
  apiVersion: string;
20
+ sha256: import("@smithy/types").HashConstructor;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
24
24
  defaultNamespace?: string;
25
25
  };
26
26
  serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
27
28
  urlParser: import("@smithy/types").UrlParser;
28
29
  utf8Decoder: import("@smithy/types").Decoder;
29
30
  utf8Encoder: (input: Uint8Array | string) => string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-sync",
3
3
  "description": "AWS SDK for JavaScript Cognito Sync 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",
@@ -23,15 +23,13 @@
23
23
  "module": "./dist-es/index.js",
24
24
  "sideEffects": false,
25
25
  "dependencies": {
26
- "@aws-crypto/sha256-browser": "5.2.0",
27
- "@aws-crypto/sha256-js": "5.2.0",
28
- "@aws-sdk/core": "^3.974.24",
29
- "@aws-sdk/credential-provider-node": "^3.972.59",
30
- "@aws-sdk/types": "^3.973.14",
31
- "@smithy/core": "^3.27.0",
32
- "@smithy/fetch-http-handler": "^5.6.0",
33
- "@smithy/node-http-handler": "^4.9.0",
34
- "@smithy/types": "^4.15.0",
26
+ "@aws-sdk/core": "^3.974.26",
27
+ "@aws-sdk/credential-provider-node": "^3.972.61",
28
+ "@aws-sdk/types": "^3.973.15",
29
+ "@smithy/core": "^3.29.0",
30
+ "@smithy/fetch-http-handler": "^5.6.2",
31
+ "@smithy/node-http-handler": "^4.9.2",
32
+ "@smithy/types": "^4.15.1",
35
33
  "tslib": "^2.6.2"
36
34
  },
37
35
  "devDependencies": {