@aws-sdk/client-cognito-sync 3.478.0 → 3.481.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 (73) hide show
  1. package/dist-cjs/commands/BulkPublishCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteDatasetCommand.js +18 -41
  3. package/dist-cjs/commands/DescribeDatasetCommand.js +18 -41
  4. package/dist-cjs/commands/DescribeIdentityPoolUsageCommand.js +18 -41
  5. package/dist-cjs/commands/DescribeIdentityUsageCommand.js +18 -41
  6. package/dist-cjs/commands/GetBulkPublishDetailsCommand.js +18 -41
  7. package/dist-cjs/commands/GetCognitoEventsCommand.js +18 -41
  8. package/dist-cjs/commands/GetIdentityPoolConfigurationCommand.js +18 -41
  9. package/dist-cjs/commands/ListDatasetsCommand.js +18 -41
  10. package/dist-cjs/commands/ListIdentityPoolUsageCommand.js +18 -41
  11. package/dist-cjs/commands/ListRecordsCommand.js +18 -41
  12. package/dist-cjs/commands/RegisterDeviceCommand.js +18 -41
  13. package/dist-cjs/commands/SetCognitoEventsCommand.js +18 -41
  14. package/dist-cjs/commands/SetIdentityPoolConfigurationCommand.js +18 -41
  15. package/dist-cjs/commands/SubscribeToDatasetCommand.js +18 -41
  16. package/dist-cjs/commands/UnsubscribeFromDatasetCommand.js +18 -41
  17. package/dist-cjs/commands/UpdateRecordsCommand.js +18 -41
  18. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  19. package/dist-es/commands/BulkPublishCommand.js +18 -41
  20. package/dist-es/commands/DeleteDatasetCommand.js +18 -41
  21. package/dist-es/commands/DescribeDatasetCommand.js +18 -41
  22. package/dist-es/commands/DescribeIdentityPoolUsageCommand.js +18 -41
  23. package/dist-es/commands/DescribeIdentityUsageCommand.js +18 -41
  24. package/dist-es/commands/GetBulkPublishDetailsCommand.js +18 -41
  25. package/dist-es/commands/GetCognitoEventsCommand.js +18 -41
  26. package/dist-es/commands/GetIdentityPoolConfigurationCommand.js +18 -41
  27. package/dist-es/commands/ListDatasetsCommand.js +18 -41
  28. package/dist-es/commands/ListIdentityPoolUsageCommand.js +18 -41
  29. package/dist-es/commands/ListRecordsCommand.js +18 -41
  30. package/dist-es/commands/RegisterDeviceCommand.js +18 -41
  31. package/dist-es/commands/SetCognitoEventsCommand.js +18 -41
  32. package/dist-es/commands/SetIdentityPoolConfigurationCommand.js +18 -41
  33. package/dist-es/commands/SubscribeToDatasetCommand.js +18 -41
  34. package/dist-es/commands/UnsubscribeFromDatasetCommand.js +18 -41
  35. package/dist-es/commands/UpdateRecordsCommand.js +18 -41
  36. package/dist-es/endpoint/EndpointParameters.js +6 -0
  37. package/dist-types/commands/BulkPublishCommand.d.ts +6 -21
  38. package/dist-types/commands/DeleteDatasetCommand.d.ts +6 -21
  39. package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -21
  40. package/dist-types/commands/DescribeIdentityPoolUsageCommand.d.ts +6 -21
  41. package/dist-types/commands/DescribeIdentityUsageCommand.d.ts +6 -21
  42. package/dist-types/commands/GetBulkPublishDetailsCommand.d.ts +6 -21
  43. package/dist-types/commands/GetCognitoEventsCommand.d.ts +6 -21
  44. package/dist-types/commands/GetIdentityPoolConfigurationCommand.d.ts +6 -21
  45. package/dist-types/commands/ListDatasetsCommand.d.ts +6 -21
  46. package/dist-types/commands/ListIdentityPoolUsageCommand.d.ts +6 -21
  47. package/dist-types/commands/ListRecordsCommand.d.ts +6 -21
  48. package/dist-types/commands/RegisterDeviceCommand.d.ts +6 -21
  49. package/dist-types/commands/SetCognitoEventsCommand.d.ts +6 -21
  50. package/dist-types/commands/SetIdentityPoolConfigurationCommand.d.ts +6 -21
  51. package/dist-types/commands/SubscribeToDatasetCommand.d.ts +6 -21
  52. package/dist-types/commands/UnsubscribeFromDatasetCommand.d.ts +6 -21
  53. package/dist-types/commands/UpdateRecordsCommand.d.ts +6 -21
  54. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  55. package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +14 -23
  57. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +14 -23
  58. package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +12 -24
  59. package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +12 -24
  60. package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +12 -24
  61. package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +12 -24
  63. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +12 -24
  65. package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +14 -23
  67. package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +12 -24
  69. package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +12 -24
  71. package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +14 -23
  72. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  73. package/package.json +9 -9
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CognitoSyncClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,19 +15,16 @@ export interface SubscribeToDatasetCommandInput
21
15
  export interface SubscribeToDatasetCommandOutput
22
16
  extends SubscribeToDatasetResponse,
23
17
  __MetadataBearer {}
24
- export declare class SubscribeToDatasetCommand extends $Command<
25
- SubscribeToDatasetCommandInput,
26
- SubscribeToDatasetCommandOutput,
27
- CognitoSyncClientResolvedConfig
28
- > {
29
- readonly input: SubscribeToDatasetCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: SubscribeToDatasetCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: CognitoSyncClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const SubscribeToDatasetCommand_base: {
19
+ new (
20
+ input: SubscribeToDatasetCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ SubscribeToDatasetCommandInput,
23
+ SubscribeToDatasetCommandOutput,
24
+ CognitoSyncClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class SubscribeToDatasetCommand extends SubscribeToDatasetCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CognitoSyncClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface UnsubscribeFromDatasetCommandInput
21
15
  export interface UnsubscribeFromDatasetCommandOutput
22
16
  extends UnsubscribeFromDatasetResponse,
23
17
  __MetadataBearer {}
24
- export declare class UnsubscribeFromDatasetCommand extends $Command<
25
- UnsubscribeFromDatasetCommandInput,
26
- UnsubscribeFromDatasetCommandOutput,
27
- CognitoSyncClientResolvedConfig
28
- > {
29
- readonly input: UnsubscribeFromDatasetCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: UnsubscribeFromDatasetCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: CognitoSyncClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const UnsubscribeFromDatasetCommand_base: {
19
+ new (
20
+ input: UnsubscribeFromDatasetCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  UnsubscribeFromDatasetCommandInput,
38
- UnsubscribeFromDatasetCommandOutput
23
+ UnsubscribeFromDatasetCommandOutput,
24
+ CognitoSyncClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class UnsubscribeFromDatasetCommand extends UnsubscribeFromDatasetCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CognitoSyncClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface UpdateRecordsCommandInput extends UpdateRecordsRequest {}
20
14
  export interface UpdateRecordsCommandOutput
21
15
  extends UpdateRecordsResponse,
22
16
  __MetadataBearer {}
23
- export declare class UpdateRecordsCommand extends $Command<
24
- UpdateRecordsCommandInput,
25
- UpdateRecordsCommandOutput,
26
- CognitoSyncClientResolvedConfig
27
- > {
28
- readonly input: UpdateRecordsCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: UpdateRecordsCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: CognitoSyncClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<UpdateRecordsCommandInput, UpdateRecordsCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const UpdateRecordsCommand_base: {
18
+ new (
19
+ input: UpdateRecordsCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ UpdateRecordsCommandInput,
22
+ UpdateRecordsCommandOutput,
23
+ CognitoSyncClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class UpdateRecordsCommand extends UpdateRecordsCommand_base {}
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
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.478.0",
4
+ "version": "3.481.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,9 +20,9 @@
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.478.0",
24
- "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.478.0",
23
+ "@aws-sdk/client-sts": "3.481.0",
24
+ "@aws-sdk/core": "3.481.0",
25
+ "@aws-sdk/credential-provider-node": "3.481.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
@@ -34,26 +34,26 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
- "@smithy/core": "^1.2.0",
37
+ "@smithy/core": "^1.2.1",
38
38
  "@smithy/fetch-http-handler": "^2.3.1",
39
39
  "@smithy/hash-node": "^2.0.17",
40
40
  "@smithy/invalid-dependency": "^2.0.15",
41
41
  "@smithy/middleware-content-length": "^2.0.17",
42
42
  "@smithy/middleware-endpoint": "^2.2.3",
43
- "@smithy/middleware-retry": "^2.0.24",
43
+ "@smithy/middleware-retry": "^2.0.25",
44
44
  "@smithy/middleware-serde": "^2.0.15",
45
45
  "@smithy/middleware-stack": "^2.0.9",
46
46
  "@smithy/node-config-provider": "^2.1.8",
47
47
  "@smithy/node-http-handler": "^2.2.1",
48
48
  "@smithy/protocol-http": "^3.0.11",
49
- "@smithy/smithy-client": "^2.1.18",
49
+ "@smithy/smithy-client": "^2.2.0",
50
50
  "@smithy/types": "^2.7.0",
51
51
  "@smithy/url-parser": "^2.0.15",
52
52
  "@smithy/util-base64": "^2.0.1",
53
53
  "@smithy/util-body-length-browser": "^2.0.1",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.22",
56
- "@smithy/util-defaults-mode-node": "^2.0.29",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.23",
56
+ "@smithy/util-defaults-mode-node": "^2.0.30",
57
57
  "@smithy/util-endpoints": "^1.0.7",
58
58
  "@smithy/util-retry": "^2.0.8",
59
59
  "@smithy/util-utf8": "^2.0.2",