@aws-sdk/client-cognito-sync 3.1044.0 → 3.1046.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 (86) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +50 -51
  5. package/dist-cjs/models/CognitoSyncServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/CognitoSync.js +1 -1
  10. package/dist-es/CognitoSyncClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/BulkPublishCommand.js +2 -2
  13. package/dist-es/commands/DeleteDatasetCommand.js +2 -2
  14. package/dist-es/commands/DescribeDatasetCommand.js +2 -2
  15. package/dist-es/commands/DescribeIdentityPoolUsageCommand.js +2 -2
  16. package/dist-es/commands/DescribeIdentityUsageCommand.js +2 -2
  17. package/dist-es/commands/GetBulkPublishDetailsCommand.js +2 -2
  18. package/dist-es/commands/GetCognitoEventsCommand.js +2 -2
  19. package/dist-es/commands/GetIdentityPoolConfigurationCommand.js +2 -2
  20. package/dist-es/commands/ListDatasetsCommand.js +2 -2
  21. package/dist-es/commands/ListIdentityPoolUsageCommand.js +2 -2
  22. package/dist-es/commands/ListRecordsCommand.js +2 -2
  23. package/dist-es/commands/RegisterDeviceCommand.js +2 -2
  24. package/dist-es/commands/SetCognitoEventsCommand.js +2 -2
  25. package/dist-es/commands/SetIdentityPoolConfigurationCommand.js +2 -2
  26. package/dist-es/commands/SubscribeToDatasetCommand.js +2 -2
  27. package/dist-es/commands/UnsubscribeFromDatasetCommand.js +2 -2
  28. package/dist-es/commands/UpdateRecordsCommand.js +2 -2
  29. package/dist-es/endpoint/bdd.js +1 -1
  30. package/dist-es/endpoint/endpointResolver.js +1 -1
  31. package/dist-es/models/CognitoSyncServiceException.js +1 -1
  32. package/dist-es/runtimeConfig.browser.js +4 -6
  33. package/dist-es/runtimeConfig.js +4 -8
  34. package/dist-es/runtimeConfig.shared.js +3 -4
  35. package/dist-es/runtimeExtensions.js +2 -2
  36. package/dist-types/CognitoSyncClient.d.ts +5 -5
  37. package/dist-types/commands/BulkPublishCommand.d.ts +6 -4
  38. package/dist-types/commands/DeleteDatasetCommand.d.ts +6 -4
  39. package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -4
  40. package/dist-types/commands/DescribeIdentityPoolUsageCommand.d.ts +6 -4
  41. package/dist-types/commands/DescribeIdentityUsageCommand.d.ts +6 -4
  42. package/dist-types/commands/GetBulkPublishDetailsCommand.d.ts +6 -4
  43. package/dist-types/commands/GetCognitoEventsCommand.d.ts +6 -4
  44. package/dist-types/commands/GetIdentityPoolConfigurationCommand.d.ts +6 -4
  45. package/dist-types/commands/ListDatasetsCommand.d.ts +6 -4
  46. package/dist-types/commands/ListIdentityPoolUsageCommand.d.ts +6 -4
  47. package/dist-types/commands/ListRecordsCommand.d.ts +6 -4
  48. package/dist-types/commands/RegisterDeviceCommand.d.ts +6 -4
  49. package/dist-types/commands/SetCognitoEventsCommand.d.ts +6 -4
  50. package/dist-types/commands/SetIdentityPoolConfigurationCommand.d.ts +6 -4
  51. package/dist-types/commands/SubscribeToDatasetCommand.d.ts +6 -4
  52. package/dist-types/commands/UnsubscribeFromDatasetCommand.d.ts +6 -4
  53. package/dist-types/commands/UpdateRecordsCommand.d.ts +6 -4
  54. package/dist-types/endpoint/bdd.d.ts +1 -1
  55. package/dist-types/extensionConfiguration.d.ts +1 -1
  56. package/dist-types/models/CognitoSyncServiceException.d.ts +1 -1
  57. package/dist-types/models/errors.d.ts +1 -1
  58. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  59. package/dist-types/runtimeConfig.d.ts +2 -2
  60. package/dist-types/runtimeConfig.native.d.ts +2 -2
  61. package/dist-types/ts3.4/CognitoSyncClient.d.ts +8 -14
  62. package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +6 -4
  63. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +6 -4
  64. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +6 -4
  65. package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +6 -4
  66. package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +6 -4
  67. package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +6 -4
  68. package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +6 -4
  69. package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +6 -4
  70. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +6 -4
  71. package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +6 -4
  72. package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +6 -4
  73. package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +6 -4
  74. package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +6 -4
  75. package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +6 -4
  76. package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +6 -4
  77. package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +6 -4
  78. package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +6 -4
  79. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  80. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  81. package/dist-types/ts3.4/models/CognitoSyncServiceException.d.ts +1 -1
  82. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  83. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  84. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  85. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  86. package/package.json +13 -34
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  CognitoSyncClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface SubscribeToDatasetCommandOutput
19
19
  declare const SubscribeToDatasetCommand_base: {
20
20
  new (
21
21
  input: SubscribeToDatasetCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  SubscribeToDatasetCommandInput,
24
24
  SubscribeToDatasetCommandOutput,
25
25
  CognitoSyncClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const SubscribeToDatasetCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: SubscribeToDatasetCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  SubscribeToDatasetCommandInput,
33
33
  SubscribeToDatasetCommandOutput,
34
34
  CognitoSyncClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class SubscribeToDatasetCommand extends SubscribeToDatasetCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  CognitoSyncClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface UnsubscribeFromDatasetCommandOutput
19
19
  declare const UnsubscribeFromDatasetCommand_base: {
20
20
  new (
21
21
  input: UnsubscribeFromDatasetCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  UnsubscribeFromDatasetCommandInput,
24
24
  UnsubscribeFromDatasetCommandOutput,
25
25
  CognitoSyncClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const UnsubscribeFromDatasetCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: UnsubscribeFromDatasetCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  UnsubscribeFromDatasetCommandInput,
33
33
  UnsubscribeFromDatasetCommandOutput,
34
34
  CognitoSyncClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class UnsubscribeFromDatasetCommand extends UnsubscribeFromDatasetCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  CognitoSyncClientResolvedConfig,
@@ -18,7 +18,7 @@ export interface UpdateRecordsCommandOutput
18
18
  declare const UpdateRecordsCommand_base: {
19
19
  new (
20
20
  input: UpdateRecordsCommandInput
21
- ): import("@smithy/smithy-client").CommandImpl<
21
+ ): import("@smithy/core/client").CommandImpl<
22
22
  UpdateRecordsCommandInput,
23
23
  UpdateRecordsCommandOutput,
24
24
  CognitoSyncClientResolvedConfig,
@@ -27,14 +27,16 @@ declare const UpdateRecordsCommand_base: {
27
27
  >;
28
28
  new (
29
29
  input: UpdateRecordsCommandInput
30
- ): import("@smithy/smithy-client").CommandImpl<
30
+ ): import("@smithy/core/client").CommandImpl<
31
31
  UpdateRecordsCommandInput,
32
32
  UpdateRecordsCommandOutput,
33
33
  CognitoSyncClientResolvedConfig,
34
34
  ServiceInputTypes,
35
35
  ServiceOutputTypes
36
36
  >;
37
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
38
40
  };
39
41
  export declare class UpdateRecordsCommand extends UpdateRecordsCommand_base {
40
42
  protected static __types: {
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  export declare const bdd: BinaryDecisionDiagram;
@@ -1,5 +1,5 @@
1
1
  import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface CognitoSyncExtensionConfiguration
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
3
  ServiceException as __ServiceException,
4
- } from "@smithy/smithy-client";
4
+ } from "@smithy/core/client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class CognitoSyncServiceException extends __ServiceException {
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
3
3
  export declare class AlreadyStreamedException extends __BaseException {
4
4
  readonly name: "AlreadyStreamedException";
@@ -3,7 +3,7 @@ import { CognitoSyncClientConfig } from "./CognitoSyncClient";
3
3
  export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
@@ -17,7 +17,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
17
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
18
  region: string | import("@smithy/types").Provider<any>;
19
19
  requestHandler:
20
- | import("@smithy/protocol-http").HttpHandler<any>
20
+ | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
23
  sha256: import("@smithy/types").HashConstructor;
@@ -3,7 +3,7 @@ import { CognitoSyncClientConfig } from "./CognitoSyncClient";
3
3
  export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
19
19
  region: string | import("@smithy/types").Provider<string>;
20
20
  requestHandler:
21
21
  | RequestHandler
22
- | import("@smithy/protocol-http").HttpHandler<any>;
22
+ | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
24
  sha256: import("@smithy/types").HashConstructor;
25
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
6
6
  | import("@smithy/types").NodeHttpHandlerOptions
7
7
  | import("@smithy/types").FetchHttpHandlerOptions
8
8
  | Record<string, unknown>
9
- | import("@smithy/protocol-http").HttpHandler<any>
9
+ | import("@smithy/core/protocols").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  cacheMiddleware?: boolean;
12
12
  protocol:
@@ -46,9 +46,9 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
46
46
  logger: import("@smithy/types").Logger;
47
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
48
48
  defaultsMode:
49
- | import("@smithy/smithy-client").DefaultsMode
49
+ | import("@smithy/core/client").DefaultsMode
50
50
  | import("@smithy/types").Provider<
51
- import("@smithy/smithy-client").DefaultsMode
51
+ import("@smithy/core/client").DefaultsMode
52
52
  >;
53
53
  customUserAgent?: string | import("@smithy/types").UserAgent;
54
54
  userAgentAppId?:
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.1044.0",
4
+ "version": "3.1046.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-sync",
@@ -25,42 +25,21 @@
25
25
  "dependencies": {
26
26
  "@aws-crypto/sha256-browser": "5.2.0",
27
27
  "@aws-crypto/sha256-js": "5.2.0",
28
- "@aws-sdk/core": "^3.974.8",
29
- "@aws-sdk/credential-provider-node": "^3.972.39",
30
- "@aws-sdk/middleware-host-header": "^3.972.10",
28
+ "@aws-sdk/core": "^3.974.9",
29
+ "@aws-sdk/credential-provider-node": "^3.972.40",
30
+ "@aws-sdk/middleware-host-header": "^3.972.11",
31
31
  "@aws-sdk/middleware-logger": "^3.972.10",
32
- "@aws-sdk/middleware-recursion-detection": "^3.972.11",
33
- "@aws-sdk/middleware-user-agent": "^3.972.38",
34
- "@aws-sdk/region-config-resolver": "^3.972.13",
32
+ "@aws-sdk/middleware-recursion-detection": "^3.972.12",
33
+ "@aws-sdk/middleware-user-agent": "^3.972.39",
34
+ "@aws-sdk/region-config-resolver": "^3.972.14",
35
35
  "@aws-sdk/types": "^3.973.8",
36
- "@aws-sdk/util-endpoints": "^3.996.8",
37
- "@aws-sdk/util-user-agent-browser": "^3.972.10",
38
- "@aws-sdk/util-user-agent-node": "^3.973.24",
39
- "@smithy/config-resolver": "^4.4.17",
40
- "@smithy/core": "^3.23.17",
41
- "@smithy/fetch-http-handler": "^5.3.17",
42
- "@smithy/hash-node": "^4.2.14",
43
- "@smithy/invalid-dependency": "^4.2.14",
44
- "@smithy/middleware-content-length": "^4.2.14",
45
- "@smithy/middleware-endpoint": "^4.4.32",
46
- "@smithy/middleware-retry": "^4.5.7",
47
- "@smithy/middleware-serde": "^4.2.20",
48
- "@smithy/middleware-stack": "^4.2.14",
49
- "@smithy/node-config-provider": "^4.3.14",
50
- "@smithy/node-http-handler": "^4.6.1",
51
- "@smithy/protocol-http": "^5.3.14",
52
- "@smithy/smithy-client": "^4.12.13",
36
+ "@aws-sdk/util-endpoints": "^3.996.9",
37
+ "@aws-sdk/util-user-agent-browser": "^3.972.11",
38
+ "@aws-sdk/util-user-agent-node": "^3.973.25",
39
+ "@smithy/core": "^3.24.1",
40
+ "@smithy/fetch-http-handler": "^5.4.1",
41
+ "@smithy/node-http-handler": "^4.7.1",
53
42
  "@smithy/types": "^4.14.1",
54
- "@smithy/url-parser": "^4.2.14",
55
- "@smithy/util-base64": "^4.3.2",
56
- "@smithy/util-body-length-browser": "^4.2.2",
57
- "@smithy/util-body-length-node": "^4.2.3",
58
- "@smithy/util-defaults-mode-browser": "^4.3.49",
59
- "@smithy/util-defaults-mode-node": "^4.2.54",
60
- "@smithy/util-endpoints": "^3.4.2",
61
- "@smithy/util-middleware": "^4.2.14",
62
- "@smithy/util-retry": "^4.3.6",
63
- "@smithy/util-utf8": "^4.2.2",
64
43
  "tslib": "^2.6.2"
65
44
  },
66
45
  "devDependencies": {