@aws-sdk/client-cognito-sync 3.533.0 → 3.540.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 (45) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  2. package/dist-cjs/index.js +0 -3
  3. package/dist-es/endpoint/endpointResolver.js +3 -1
  4. package/dist-es/index.js +0 -1
  5. package/dist-types/CognitoSync.d.ts +2 -1
  6. package/dist-types/CognitoSyncClient.d.ts +1 -1
  7. package/dist-types/commands/BulkPublishCommand.d.ts +2 -1
  8. package/dist-types/commands/DeleteDatasetCommand.d.ts +2 -1
  9. package/dist-types/commands/DescribeDatasetCommand.d.ts +2 -1
  10. package/dist-types/commands/DescribeIdentityPoolUsageCommand.d.ts +2 -1
  11. package/dist-types/commands/DescribeIdentityUsageCommand.d.ts +2 -1
  12. package/dist-types/commands/GetBulkPublishDetailsCommand.d.ts +2 -1
  13. package/dist-types/commands/GetCognitoEventsCommand.d.ts +2 -1
  14. package/dist-types/commands/GetIdentityPoolConfigurationCommand.d.ts +2 -1
  15. package/dist-types/commands/ListDatasetsCommand.d.ts +2 -1
  16. package/dist-types/commands/ListIdentityPoolUsageCommand.d.ts +2 -1
  17. package/dist-types/commands/ListRecordsCommand.d.ts +2 -1
  18. package/dist-types/commands/RegisterDeviceCommand.d.ts +2 -1
  19. package/dist-types/commands/SetCognitoEventsCommand.d.ts +2 -1
  20. package/dist-types/commands/SetIdentityPoolConfigurationCommand.d.ts +2 -1
  21. package/dist-types/commands/SubscribeToDatasetCommand.d.ts +2 -1
  22. package/dist-types/commands/UnsubscribeFromDatasetCommand.d.ts +2 -1
  23. package/dist-types/commands/UpdateRecordsCommand.d.ts +2 -1
  24. package/dist-types/index.d.ts +0 -1
  25. package/dist-types/models/models_0.d.ts +169 -169
  26. package/dist-types/ts3.4/CognitoSync.d.ts +1 -0
  27. package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +9 -0
  28. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +9 -0
  29. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +9 -0
  30. package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +9 -0
  31. package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +9 -0
  32. package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +9 -0
  33. package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +9 -0
  34. package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +9 -0
  35. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +9 -0
  36. package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +9 -0
  37. package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +9 -0
  38. package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +9 -0
  39. package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +9 -0
  40. package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +9 -0
  41. package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +9 -0
  42. package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +9 -0
  43. package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +9 -0
  44. package/dist-types/ts3.4/index.d.ts +0 -1
  45. package/package.json +40 -40
@@ -186,6 +186,7 @@ export interface CognitoSync {
186
186
  options: __HttpHandlerOptions,
187
187
  cb: (err: any, data?: ListDatasetsCommandOutput) => void
188
188
  ): void;
189
+ listIdentityPoolUsage(): Promise<ListIdentityPoolUsageCommandOutput>;
189
190
  listIdentityPoolUsage(
190
191
  args: ListIdentityPoolUsageCommandInput,
191
192
  options?: __HttpHandlerOptions
@@ -21,6 +21,15 @@ declare const BulkPublishCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: BulkPublishCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ BulkPublishCommandInput,
28
+ BulkPublishCommandOutput,
29
+ CognitoSyncClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class BulkPublishCommand extends BulkPublishCommand_base {}
@@ -24,6 +24,15 @@ declare const DeleteDatasetCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: DeleteDatasetCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ DeleteDatasetCommandInput,
31
+ DeleteDatasetCommandOutput,
32
+ CognitoSyncClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class DeleteDatasetCommand extends DeleteDatasetCommand_base {}
@@ -24,6 +24,15 @@ declare const DescribeDatasetCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: DescribeDatasetCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ DescribeDatasetCommandInput,
31
+ DescribeDatasetCommandOutput,
32
+ CognitoSyncClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class DescribeDatasetCommand extends DescribeDatasetCommand_base {}
@@ -25,6 +25,15 @@ declare const DescribeIdentityPoolUsageCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: DescribeIdentityPoolUsageCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeIdentityPoolUsageCommandInput,
32
+ DescribeIdentityPoolUsageCommandOutput,
33
+ CognitoSyncClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DescribeIdentityPoolUsageCommand extends DescribeIdentityPoolUsageCommand_base {}
@@ -25,6 +25,15 @@ declare const DescribeIdentityUsageCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: DescribeIdentityUsageCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeIdentityUsageCommandInput,
32
+ DescribeIdentityUsageCommandOutput,
33
+ CognitoSyncClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DescribeIdentityUsageCommand extends DescribeIdentityUsageCommand_base {}
@@ -25,6 +25,15 @@ declare const GetBulkPublishDetailsCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: GetBulkPublishDetailsCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetBulkPublishDetailsCommandInput,
32
+ GetBulkPublishDetailsCommandOutput,
33
+ CognitoSyncClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class GetBulkPublishDetailsCommand extends GetBulkPublishDetailsCommand_base {}
@@ -24,6 +24,15 @@ declare const GetCognitoEventsCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: GetCognitoEventsCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ GetCognitoEventsCommandInput,
31
+ GetCognitoEventsCommandOutput,
32
+ CognitoSyncClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class GetCognitoEventsCommand extends GetCognitoEventsCommand_base {}
@@ -25,6 +25,15 @@ declare const GetIdentityPoolConfigurationCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: GetIdentityPoolConfigurationCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetIdentityPoolConfigurationCommandInput,
32
+ GetIdentityPoolConfigurationCommandOutput,
33
+ CognitoSyncClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class GetIdentityPoolConfigurationCommand extends GetIdentityPoolConfigurationCommand_base {}
@@ -21,6 +21,15 @@ declare const ListDatasetsCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: ListDatasetsCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ ListDatasetsCommandInput,
28
+ ListDatasetsCommandOutput,
29
+ CognitoSyncClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class ListDatasetsCommand extends ListDatasetsCommand_base {}
@@ -25,6 +25,15 @@ declare const ListIdentityPoolUsageCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ ...[input]: [] | [ListIdentityPoolUsageCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListIdentityPoolUsageCommandInput,
32
+ ListIdentityPoolUsageCommandOutput,
33
+ CognitoSyncClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class ListIdentityPoolUsageCommand extends ListIdentityPoolUsageCommand_base {}
@@ -21,6 +21,15 @@ declare const ListRecordsCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: ListRecordsCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ ListRecordsCommandInput,
28
+ ListRecordsCommandOutput,
29
+ CognitoSyncClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class ListRecordsCommand extends ListRecordsCommand_base {}
@@ -24,6 +24,15 @@ declare const RegisterDeviceCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: RegisterDeviceCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ RegisterDeviceCommandInput,
31
+ RegisterDeviceCommandOutput,
32
+ CognitoSyncClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class RegisterDeviceCommand extends RegisterDeviceCommand_base {}
@@ -19,6 +19,15 @@ declare const SetCognitoEventsCommand_base: {
19
19
  ServiceInputTypes,
20
20
  ServiceOutputTypes
21
21
  >;
22
+ new (
23
+ __0_0: SetCognitoEventsCommandInput
24
+ ): import("@smithy/smithy-client").CommandImpl<
25
+ SetCognitoEventsCommandInput,
26
+ SetCognitoEventsCommandOutput,
27
+ CognitoSyncClientResolvedConfig,
28
+ ServiceInputTypes,
29
+ ServiceOutputTypes
30
+ >;
22
31
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
23
32
  };
24
33
  export declare class SetCognitoEventsCommand extends SetCognitoEventsCommand_base {}
@@ -25,6 +25,15 @@ declare const SetIdentityPoolConfigurationCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: SetIdentityPoolConfigurationCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ SetIdentityPoolConfigurationCommandInput,
32
+ SetIdentityPoolConfigurationCommandOutput,
33
+ CognitoSyncClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class SetIdentityPoolConfigurationCommand extends SetIdentityPoolConfigurationCommand_base {}
@@ -25,6 +25,15 @@ declare const SubscribeToDatasetCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: SubscribeToDatasetCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ SubscribeToDatasetCommandInput,
32
+ SubscribeToDatasetCommandOutput,
33
+ CognitoSyncClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class SubscribeToDatasetCommand extends SubscribeToDatasetCommand_base {}
@@ -25,6 +25,15 @@ declare const UnsubscribeFromDatasetCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: UnsubscribeFromDatasetCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UnsubscribeFromDatasetCommandInput,
32
+ UnsubscribeFromDatasetCommandOutput,
33
+ CognitoSyncClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class UnsubscribeFromDatasetCommand extends UnsubscribeFromDatasetCommand_base {}
@@ -24,6 +24,15 @@ declare const UpdateRecordsCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: UpdateRecordsCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ UpdateRecordsCommandInput,
31
+ UpdateRecordsCommandOutput,
32
+ CognitoSyncClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class UpdateRecordsCommand extends UpdateRecordsCommand_base {}
@@ -5,5 +5,4 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { CognitoSyncExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./models";
8
- import "@aws-sdk/util-endpoints";
9
8
  export { CognitoSyncServiceException } from "./models/CognitoSyncServiceException";
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.533.0",
4
+ "version": "3.540.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cognito-sync",
@@ -20,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.540.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",