@aws-sdk/client-cognito-sync 3.337.0 → 3.341.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 (81) hide show
  1. package/dist-cjs/CognitoSyncClient.js +2 -1
  2. package/dist-cjs/commands/BulkPublishCommand.js +2 -1
  3. package/dist-cjs/commands/DeleteDatasetCommand.js +2 -1
  4. package/dist-cjs/commands/DescribeDatasetCommand.js +2 -1
  5. package/dist-cjs/commands/DescribeIdentityPoolUsageCommand.js +2 -1
  6. package/dist-cjs/commands/DescribeIdentityUsageCommand.js +2 -1
  7. package/dist-cjs/commands/GetBulkPublishDetailsCommand.js +2 -1
  8. package/dist-cjs/commands/GetCognitoEventsCommand.js +2 -1
  9. package/dist-cjs/commands/GetIdentityPoolConfigurationCommand.js +2 -1
  10. package/dist-cjs/commands/ListDatasetsCommand.js +2 -1
  11. package/dist-cjs/commands/ListIdentityPoolUsageCommand.js +2 -1
  12. package/dist-cjs/commands/ListRecordsCommand.js +2 -1
  13. package/dist-cjs/commands/RegisterDeviceCommand.js +2 -1
  14. package/dist-cjs/commands/SetCognitoEventsCommand.js +2 -1
  15. package/dist-cjs/commands/SetIdentityPoolConfigurationCommand.js +2 -1
  16. package/dist-cjs/commands/SubscribeToDatasetCommand.js +2 -1
  17. package/dist-cjs/commands/UnsubscribeFromDatasetCommand.js +2 -1
  18. package/dist-cjs/commands/UpdateRecordsCommand.js +2 -1
  19. package/dist-cjs/index.js +1 -1
  20. package/dist-cjs/models/CognitoSyncServiceException.js +2 -1
  21. package/dist-es/CognitoSyncClient.js +1 -0
  22. package/dist-es/commands/BulkPublishCommand.js +1 -0
  23. package/dist-es/commands/DeleteDatasetCommand.js +1 -0
  24. package/dist-es/commands/DescribeDatasetCommand.js +1 -0
  25. package/dist-es/commands/DescribeIdentityPoolUsageCommand.js +1 -0
  26. package/dist-es/commands/DescribeIdentityUsageCommand.js +1 -0
  27. package/dist-es/commands/GetBulkPublishDetailsCommand.js +1 -0
  28. package/dist-es/commands/GetCognitoEventsCommand.js +1 -0
  29. package/dist-es/commands/GetIdentityPoolConfigurationCommand.js +1 -0
  30. package/dist-es/commands/ListDatasetsCommand.js +1 -0
  31. package/dist-es/commands/ListIdentityPoolUsageCommand.js +1 -0
  32. package/dist-es/commands/ListRecordsCommand.js +1 -0
  33. package/dist-es/commands/RegisterDeviceCommand.js +1 -0
  34. package/dist-es/commands/SetCognitoEventsCommand.js +1 -0
  35. package/dist-es/commands/SetIdentityPoolConfigurationCommand.js +1 -0
  36. package/dist-es/commands/SubscribeToDatasetCommand.js +1 -0
  37. package/dist-es/commands/UnsubscribeFromDatasetCommand.js +1 -0
  38. package/dist-es/commands/UpdateRecordsCommand.js +1 -0
  39. package/dist-es/index.js +1 -1
  40. package/dist-es/models/CognitoSyncServiceException.js +1 -0
  41. package/dist-types/CognitoSyncClient.d.ts +3 -3
  42. package/dist-types/commands/BulkPublishCommand.d.ts +4 -0
  43. package/dist-types/commands/DeleteDatasetCommand.d.ts +4 -0
  44. package/dist-types/commands/DescribeDatasetCommand.d.ts +4 -0
  45. package/dist-types/commands/DescribeIdentityPoolUsageCommand.d.ts +4 -0
  46. package/dist-types/commands/DescribeIdentityUsageCommand.d.ts +4 -0
  47. package/dist-types/commands/GetBulkPublishDetailsCommand.d.ts +4 -0
  48. package/dist-types/commands/GetCognitoEventsCommand.d.ts +4 -0
  49. package/dist-types/commands/GetIdentityPoolConfigurationCommand.d.ts +4 -0
  50. package/dist-types/commands/ListDatasetsCommand.d.ts +4 -0
  51. package/dist-types/commands/ListIdentityPoolUsageCommand.d.ts +4 -0
  52. package/dist-types/commands/ListRecordsCommand.d.ts +4 -0
  53. package/dist-types/commands/RegisterDeviceCommand.d.ts +4 -0
  54. package/dist-types/commands/SetCognitoEventsCommand.d.ts +4 -0
  55. package/dist-types/commands/SetIdentityPoolConfigurationCommand.d.ts +4 -0
  56. package/dist-types/commands/SubscribeToDatasetCommand.d.ts +4 -0
  57. package/dist-types/commands/UnsubscribeFromDatasetCommand.d.ts +4 -0
  58. package/dist-types/commands/UpdateRecordsCommand.d.ts +4 -0
  59. package/dist-types/index.d.ts +18 -1
  60. package/dist-types/models/CognitoSyncServiceException.d.ts +1 -0
  61. package/dist-types/ts3.4/CognitoSyncClient.d.ts +3 -3
  62. package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +1 -0
  63. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +1 -0
  64. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +1 -0
  65. package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +1 -0
  66. package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +1 -0
  67. package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +1 -0
  68. package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +1 -0
  69. package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +1 -0
  70. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +1 -0
  71. package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +1 -0
  72. package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +1 -0
  73. package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +1 -0
  74. package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +1 -0
  75. package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +1 -0
  76. package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +1 -0
  77. package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +1 -0
  78. package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +1 -0
  79. package/dist-types/ts3.4/index.d.ts +1 -1
  80. package/dist-types/ts3.4/models/CognitoSyncServiceException.d.ts +1 -0
  81. package/package.json +28 -28
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CognitoSyncClient = void 0;
3
+ exports.CognitoSyncClient = exports.__Client = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
11
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
12
12
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
13
  const smithy_client_1 = require("@aws-sdk/smithy-client");
14
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
14
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
15
16
  const runtimeConfig_1 = require("./runtimeConfig");
16
17
  class CognitoSyncClient extends smithy_client_1.Client {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BulkPublishCommand = void 0;
3
+ exports.BulkPublishCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class BulkPublishCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteDatasetCommand = void 0;
3
+ exports.DeleteDatasetCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DeleteDatasetCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeDatasetCommand = void 0;
3
+ exports.DescribeDatasetCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeDatasetCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeIdentityPoolUsageCommand = void 0;
3
+ exports.DescribeIdentityPoolUsageCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeIdentityPoolUsageCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeIdentityUsageCommand = void 0;
3
+ exports.DescribeIdentityUsageCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeIdentityUsageCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetBulkPublishDetailsCommand = void 0;
3
+ exports.GetBulkPublishDetailsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class GetBulkPublishDetailsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCognitoEventsCommand = void 0;
3
+ exports.GetCognitoEventsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class GetCognitoEventsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetIdentityPoolConfigurationCommand = void 0;
3
+ exports.GetIdentityPoolConfigurationCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class GetIdentityPoolConfigurationCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListDatasetsCommand = void 0;
3
+ exports.ListDatasetsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListDatasetsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListIdentityPoolUsageCommand = void 0;
3
+ exports.ListIdentityPoolUsageCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListIdentityPoolUsageCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListRecordsCommand = void 0;
3
+ exports.ListRecordsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListRecordsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RegisterDeviceCommand = void 0;
3
+ exports.RegisterDeviceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class RegisterDeviceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SetCognitoEventsCommand = void 0;
3
+ exports.SetCognitoEventsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class SetCognitoEventsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SetIdentityPoolConfigurationCommand = void 0;
3
+ exports.SetIdentityPoolConfigurationCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class SetIdentityPoolConfigurationCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscribeToDatasetCommand = void 0;
3
+ exports.SubscribeToDatasetCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class SubscribeToDatasetCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UnsubscribeFromDatasetCommand = void 0;
3
+ exports.UnsubscribeFromDatasetCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class UnsubscribeFromDatasetCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateRecordsCommand = void 0;
3
+ exports.UpdateRecordsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class UpdateRecordsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
package/dist-cjs/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CognitoSyncServiceException = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./CognitoSync"), exports);
6
5
  tslib_1.__exportStar(require("./CognitoSyncClient"), exports);
6
+ tslib_1.__exportStar(require("./CognitoSync"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
8
  tslib_1.__exportStar(require("./models"), exports);
9
9
  var CognitoSyncServiceException_1 = require("./models/CognitoSyncServiceException");
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CognitoSyncServiceException = void 0;
3
+ exports.CognitoSyncServiceException = exports.__ServiceException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
5
6
  class CognitoSyncServiceException extends smithy_client_1.ServiceException {
6
7
  constructor(options) {
7
8
  super(options);
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
10
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ export { __Client };
13
14
  export class CognitoSyncClient extends __Client {
14
15
  constructor(configuration) {
15
16
  const _config_0 = __getRuntimeConfig(configuration);
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_BulkPublishCommand, se_BulkPublishCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class BulkPublishCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteDatasetCommand, se_DeleteDatasetCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DeleteDatasetCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeDatasetCommand, se_DescribeDatasetCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeDatasetCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeIdentityPoolUsageCommand, se_DescribeIdentityPoolUsageCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeIdentityPoolUsageCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeIdentityUsageCommand, se_DescribeIdentityUsageCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeIdentityUsageCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_GetBulkPublishDetailsCommand, se_GetBulkPublishDetailsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class GetBulkPublishDetailsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_GetCognitoEventsCommand, se_GetCognitoEventsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class GetCognitoEventsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_GetIdentityPoolConfigurationCommand, se_GetIdentityPoolConfigurationCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class GetIdentityPoolConfigurationCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListDatasetsCommand, se_ListDatasetsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListDatasetsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListIdentityPoolUsageCommand, se_ListIdentityPoolUsageCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListIdentityPoolUsageCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListRecordsCommand, se_ListRecordsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListRecordsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_RegisterDeviceCommand, se_RegisterDeviceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class RegisterDeviceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_SetCognitoEventsCommand, se_SetCognitoEventsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class SetCognitoEventsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_SetIdentityPoolConfigurationCommand, se_SetIdentityPoolConfigurationCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class SetIdentityPoolConfigurationCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_SubscribeToDatasetCommand, se_SubscribeToDatasetCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class SubscribeToDatasetCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UnsubscribeFromDatasetCommand, se_UnsubscribeFromDatasetCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UnsubscribeFromDatasetCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateRecordsCommand, se_UpdateRecordsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateRecordsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
package/dist-es/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export * from "./CognitoSync";
2
1
  export * from "./CognitoSyncClient";
2
+ export * from "./CognitoSync";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export { CognitoSyncServiceException } from "./models/CognitoSyncServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException };
2
3
  export class CognitoSyncServiceException extends __ServiceException {
3
4
  constructor(options) {
4
5
  super(options);
@@ -26,6 +26,7 @@ import { SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput } from
26
26
  import { UnsubscribeFromDatasetCommandInput, UnsubscribeFromDatasetCommandOutput } from "./commands/UnsubscribeFromDatasetCommand";
27
27
  import { UpdateRecordsCommandInput, UpdateRecordsCommandOutput } from "./commands/UpdateRecordsCommand";
28
28
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
29
+ export { __Client };
29
30
  /**
30
31
  * @public
31
32
  */
@@ -140,7 +141,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
140
141
  /**
141
142
  * @public
142
143
  */
143
- type CognitoSyncClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
144
+ export type CognitoSyncClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
144
145
  /**
145
146
  * @public
146
147
  *
@@ -151,7 +152,7 @@ export interface CognitoSyncClientConfig extends CognitoSyncClientConfigType {
151
152
  /**
152
153
  * @public
153
154
  */
154
- type CognitoSyncClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
155
+ export type CognitoSyncClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
155
156
  /**
156
157
  * @public
157
158
  *
@@ -188,4 +189,3 @@ export declare class CognitoSyncClient extends __Client<__HttpHandlerOptions, Se
188
189
  */
189
190
  destroy(): void;
190
191
  }
191
- export {};
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { BulkPublishRequest, BulkPublishResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { DeleteDatasetRequest, DeleteDatasetResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { DescribeDatasetRequest, DescribeDatasetResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { DescribeIdentityPoolUsageRequest, DescribeIdentityPoolUsageResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { DescribeIdentityUsageRequest, DescribeIdentityUsageResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { GetBulkPublishDetailsRequest, GetBulkPublishDetailsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { GetCognitoEventsRequest, GetCognitoEventsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { GetIdentityPoolConfigurationRequest, GetIdentityPoolConfigurationResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { ListDatasetsRequest, ListDatasetsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { ListIdentityPoolUsageRequest, ListIdentityPoolUsageResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { ListRecordsRequest, ListRecordsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { RegisterDeviceRequest, RegisterDeviceResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { SetCognitoEventsRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { SetIdentityPoolConfigurationRequest, SetIdentityPoolConfigurationResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { SubscribeToDatasetRequest, SubscribeToDatasetResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { UnsubscribeFromDatasetRequest, UnsubscribeFromDatasetResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
5
  import { UpdateRecordsRequest, UpdateRecordsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -1,5 +1,22 @@
1
- export * from "./CognitoSync";
1
+ /**
2
+ * <fullname>Amazon Cognito Sync</fullname>
3
+ * <p>Amazon Cognito Sync provides an AWS service and client library that enable cross-device syncing of
4
+ * application-related user data. High-level client libraries are available for both iOS and
5
+ * Android. You can use these libraries to persist data locally so that it's available even if
6
+ * the device is offline. Developer credentials don't need to be stored on the mobile device
7
+ * to access the service. You can use Amazon Cognito to obtain a normalized user ID and
8
+ * credentials. User data is persisted in a dataset that can store up to 1 MB of key-value
9
+ * pairs, and you can have up to 20 datasets per user identity.</p>
10
+ * <p>With Amazon Cognito Sync, the data stored for each identity is accessible only to
11
+ * credentials assigned to that identity. In order to use the Cognito Sync service, you need
12
+ * to make API calls using credentials retrieved with <a href="http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/Welcome.html">Amazon Cognito Identity service</a>.</p>
13
+ * <p>If you want to use Cognito Sync in an Android or iOS application, you will probably want to
14
+ * make API calls via the AWS Mobile SDK. To learn more, see the <a href="http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/cognito-sync.html">Developer Guide for Android</a> and the <a href="http://docs.aws.amazon.com/mobile/sdkforios/developerguide/cognito-sync.html">Developer Guide for iOS</a>.</p>
15
+ *
16
+ * @packageDocumentation
17
+ */
2
18
  export * from "./CognitoSyncClient";
19
+ export * from "./CognitoSync";
3
20
  export * from "./commands";
4
21
  export * from "./models";
5
22
  export { CognitoSyncServiceException } from "./models/CognitoSyncServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
2
3
  /**
3
4
  * @public
4
5
  *
@@ -119,6 +119,7 @@ import {
119
119
  ClientResolvedEndpointParameters,
120
120
  EndpointParameters,
121
121
  } from "./endpoint/EndpointParameters";
122
+ export { __Client };
122
123
  export type ServiceInputTypes =
123
124
  | BulkPublishCommandInput
124
125
  | DeleteDatasetCommandInput
@@ -179,7 +180,7 @@ export interface ClientDefaults
179
180
  logger?: __Logger;
180
181
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
181
182
  }
182
- type CognitoSyncClientConfigType = Partial<
183
+ export type CognitoSyncClientConfigType = Partial<
183
184
  __SmithyConfiguration<__HttpHandlerOptions>
184
185
  > &
185
186
  ClientDefaults &
@@ -191,7 +192,7 @@ type CognitoSyncClientConfigType = Partial<
191
192
  UserAgentInputConfig &
192
193
  ClientInputEndpointParameters;
193
194
  export interface CognitoSyncClientConfig extends CognitoSyncClientConfigType {}
194
- type CognitoSyncClientResolvedConfigType =
195
+ export type CognitoSyncClientResolvedConfigType =
195
196
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
196
197
  Required<ClientDefaults> &
197
198
  RegionResolvedConfig &
@@ -213,4 +214,3 @@ export declare class CognitoSyncClient extends __Client<
213
214
  constructor(configuration: CognitoSyncClientConfig);
214
215
  destroy(): void;
215
216
  }
216
- export {};
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  } from "../CognitoSyncClient";
14
14
  import { BulkPublishRequest, BulkPublishResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface BulkPublishCommandInput extends BulkPublishRequest {}
16
17
  export interface BulkPublishCommandOutput
17
18
  extends BulkPublishResponse,
@@ -15,6 +15,7 @@ import {
15
15
  DeleteDatasetRequest,
16
16
  DeleteDatasetResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteDatasetCommandInput extends DeleteDatasetRequest {}
19
20
  export interface DeleteDatasetCommandOutput
20
21
  extends DeleteDatasetResponse,
@@ -15,6 +15,7 @@ import {
15
15
  DescribeDatasetRequest,
16
16
  DescribeDatasetResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribeDatasetCommandInput extends DescribeDatasetRequest {}
19
20
  export interface DescribeDatasetCommandOutput
20
21
  extends DescribeDatasetResponse,
@@ -15,6 +15,7 @@ import {
15
15
  DescribeIdentityPoolUsageRequest,
16
16
  DescribeIdentityPoolUsageResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribeIdentityPoolUsageCommandInput
19
20
  extends DescribeIdentityPoolUsageRequest {}
20
21
  export interface DescribeIdentityPoolUsageCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  DescribeIdentityUsageRequest,
16
16
  DescribeIdentityUsageResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribeIdentityUsageCommandInput
19
20
  extends DescribeIdentityUsageRequest {}
20
21
  export interface DescribeIdentityUsageCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  GetBulkPublishDetailsRequest,
16
16
  GetBulkPublishDetailsResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetBulkPublishDetailsCommandInput
19
20
  extends GetBulkPublishDetailsRequest {}
20
21
  export interface GetBulkPublishDetailsCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  GetCognitoEventsRequest,
16
16
  GetCognitoEventsResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetCognitoEventsCommandInput extends GetCognitoEventsRequest {}
19
20
  export interface GetCognitoEventsCommandOutput
20
21
  extends GetCognitoEventsResponse,
@@ -15,6 +15,7 @@ import {
15
15
  GetIdentityPoolConfigurationRequest,
16
16
  GetIdentityPoolConfigurationResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetIdentityPoolConfigurationCommandInput
19
20
  extends GetIdentityPoolConfigurationRequest {}
20
21
  export interface GetIdentityPoolConfigurationCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  } from "../CognitoSyncClient";
14
14
  import { ListDatasetsRequest, ListDatasetsResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface ListDatasetsCommandInput extends ListDatasetsRequest {}
16
17
  export interface ListDatasetsCommandOutput
17
18
  extends ListDatasetsResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ListIdentityPoolUsageRequest,
16
16
  ListIdentityPoolUsageResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListIdentityPoolUsageCommandInput
19
20
  extends ListIdentityPoolUsageRequest {}
20
21
  export interface ListIdentityPoolUsageCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  } from "../CognitoSyncClient";
14
14
  import { ListRecordsRequest, ListRecordsResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface ListRecordsCommandInput extends ListRecordsRequest {}
16
17
  export interface ListRecordsCommandOutput
17
18
  extends ListRecordsResponse,
@@ -15,6 +15,7 @@ import {
15
15
  RegisterDeviceRequest,
16
16
  RegisterDeviceResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface RegisterDeviceCommandInput extends RegisterDeviceRequest {}
19
20
  export interface RegisterDeviceCommandOutput
20
21
  extends RegisterDeviceResponse,
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  } from "../CognitoSyncClient";
14
14
  import { SetCognitoEventsRequest } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface SetCognitoEventsCommandInput extends SetCognitoEventsRequest {}
16
17
  export interface SetCognitoEventsCommandOutput extends __MetadataBearer {}
17
18
  export declare class SetCognitoEventsCommand extends $Command<
@@ -15,6 +15,7 @@ import {
15
15
  SetIdentityPoolConfigurationRequest,
16
16
  SetIdentityPoolConfigurationResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface SetIdentityPoolConfigurationCommandInput
19
20
  extends SetIdentityPoolConfigurationRequest {}
20
21
  export interface SetIdentityPoolConfigurationCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  SubscribeToDatasetRequest,
16
16
  SubscribeToDatasetResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface SubscribeToDatasetCommandInput
19
20
  extends SubscribeToDatasetRequest {}
20
21
  export interface SubscribeToDatasetCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  UnsubscribeFromDatasetRequest,
16
16
  UnsubscribeFromDatasetResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface UnsubscribeFromDatasetCommandInput
19
20
  extends UnsubscribeFromDatasetRequest {}
20
21
  export interface UnsubscribeFromDatasetCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  UpdateRecordsRequest,
16
16
  UpdateRecordsResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface UpdateRecordsCommandInput extends UpdateRecordsRequest {}
19
20
  export interface UpdateRecordsCommandOutput
20
21
  extends UpdateRecordsResponse,
@@ -1,5 +1,5 @@
1
- export * from "./CognitoSync";
2
1
  export * from "./CognitoSyncClient";
2
+ export * from "./CognitoSync";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export { CognitoSyncServiceException } from "./models/CognitoSyncServiceException";
@@ -2,6 +2,7 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
5
6
  export declare class CognitoSyncServiceException extends __ServiceException {
6
7
  constructor(options: __ServiceExceptionOptions);
7
8
  }
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.337.0",
4
+ "version": "3.341.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",
@@ -21,36 +21,36 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.337.0",
25
- "@aws-sdk/config-resolver": "3.337.0",
26
- "@aws-sdk/credential-provider-node": "3.337.0",
27
- "@aws-sdk/fetch-http-handler": "3.337.0",
28
- "@aws-sdk/hash-node": "3.337.0",
29
- "@aws-sdk/invalid-dependency": "3.337.0",
30
- "@aws-sdk/middleware-content-length": "3.337.0",
31
- "@aws-sdk/middleware-endpoint": "3.337.0",
32
- "@aws-sdk/middleware-host-header": "3.337.0",
33
- "@aws-sdk/middleware-logger": "3.337.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.337.0",
35
- "@aws-sdk/middleware-retry": "3.337.0",
36
- "@aws-sdk/middleware-serde": "3.337.0",
37
- "@aws-sdk/middleware-signing": "3.337.0",
38
- "@aws-sdk/middleware-stack": "3.337.0",
39
- "@aws-sdk/middleware-user-agent": "3.337.0",
40
- "@aws-sdk/node-config-provider": "3.337.0",
41
- "@aws-sdk/node-http-handler": "3.337.0",
42
- "@aws-sdk/smithy-client": "3.337.0",
43
- "@aws-sdk/types": "3.337.0",
44
- "@aws-sdk/url-parser": "3.337.0",
24
+ "@aws-sdk/client-sts": "3.341.0",
25
+ "@aws-sdk/config-resolver": "3.341.0",
26
+ "@aws-sdk/credential-provider-node": "3.341.0",
27
+ "@aws-sdk/fetch-http-handler": "3.341.0",
28
+ "@aws-sdk/hash-node": "3.341.0",
29
+ "@aws-sdk/invalid-dependency": "3.341.0",
30
+ "@aws-sdk/middleware-content-length": "3.341.0",
31
+ "@aws-sdk/middleware-endpoint": "3.341.0",
32
+ "@aws-sdk/middleware-host-header": "3.341.0",
33
+ "@aws-sdk/middleware-logger": "3.341.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.341.0",
35
+ "@aws-sdk/middleware-retry": "3.341.0",
36
+ "@aws-sdk/middleware-serde": "3.341.0",
37
+ "@aws-sdk/middleware-signing": "3.341.0",
38
+ "@aws-sdk/middleware-stack": "3.341.0",
39
+ "@aws-sdk/middleware-user-agent": "3.341.0",
40
+ "@aws-sdk/node-config-provider": "3.341.0",
41
+ "@aws-sdk/node-http-handler": "3.341.0",
42
+ "@aws-sdk/smithy-client": "3.341.0",
43
+ "@aws-sdk/types": "3.341.0",
44
+ "@aws-sdk/url-parser": "3.341.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.337.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.337.0",
50
- "@aws-sdk/util-endpoints": "3.337.0",
51
- "@aws-sdk/util-retry": "3.337.0",
52
- "@aws-sdk/util-user-agent-browser": "3.337.0",
53
- "@aws-sdk/util-user-agent-node": "3.337.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.341.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.341.0",
50
+ "@aws-sdk/util-endpoints": "3.341.0",
51
+ "@aws-sdk/util-retry": "3.341.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.341.0",
53
+ "@aws-sdk/util-user-agent-node": "3.341.0",
54
54
  "@aws-sdk/util-utf8": "3.310.0",
55
55
  "@smithy/protocol-http": "^1.0.1",
56
56
  "@smithy/types": "^1.0.0",