@aws-sdk/client-cognito-sync 3.50.0 → 3.53.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 (43) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/CognitoSyncServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +172 -1
  5. package/dist-cjs/protocols/Aws_restJson1.js +249 -812
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/CognitoSyncServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +158 -1
  9. package/dist-es/protocols/Aws_restJson1.js +451 -894
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/CognitoSyncServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +67 -74
  13. package/dist-types/ts3.4/CognitoSync.d.ts +90 -0
  14. package/dist-types/ts3.4/CognitoSyncClient.d.ts +90 -0
  15. package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  33. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  34. package/dist-types/ts3.4/index.d.ts +5 -0
  35. package/dist-types/ts3.4/models/CognitoSyncServiceException.d.ts +6 -0
  36. package/dist-types/ts3.4/models/index.d.ts +1 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +619 -0
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
  39. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  40. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  42. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  43. package/package.json +33 -33
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
4
+ import { ListRecordsRequest, ListRecordsResponse } from "../models/models_0";
5
+ export interface ListRecordsCommandInput extends ListRecordsRequest {
6
+ }
7
+ export interface ListRecordsCommandOutput extends ListRecordsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListRecordsCommand extends $Command<ListRecordsCommandInput, ListRecordsCommandOutput, CognitoSyncClientResolvedConfig> {
11
+ readonly input: ListRecordsCommandInput;
12
+ constructor(input: ListRecordsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRecordsCommandInput, ListRecordsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
4
+ import { RegisterDeviceRequest, RegisterDeviceResponse } from "../models/models_0";
5
+ export interface RegisterDeviceCommandInput extends RegisterDeviceRequest {
6
+ }
7
+ export interface RegisterDeviceCommandOutput extends RegisterDeviceResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class RegisterDeviceCommand extends $Command<RegisterDeviceCommandInput, RegisterDeviceCommandOutput, CognitoSyncClientResolvedConfig> {
11
+ readonly input: RegisterDeviceCommandInput;
12
+ constructor(input: RegisterDeviceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RegisterDeviceCommandInput, RegisterDeviceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
4
+ import { SetCognitoEventsRequest } from "../models/models_0";
5
+ export interface SetCognitoEventsCommandInput extends SetCognitoEventsRequest {
6
+ }
7
+ export interface SetCognitoEventsCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class SetCognitoEventsCommand extends $Command<SetCognitoEventsCommandInput, SetCognitoEventsCommandOutput, CognitoSyncClientResolvedConfig> {
11
+ readonly input: SetCognitoEventsCommandInput;
12
+ constructor(input: SetCognitoEventsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetCognitoEventsCommandInput, SetCognitoEventsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
4
+ import { SetIdentityPoolConfigurationRequest, SetIdentityPoolConfigurationResponse } from "../models/models_0";
5
+ export interface SetIdentityPoolConfigurationCommandInput extends SetIdentityPoolConfigurationRequest {
6
+ }
7
+ export interface SetIdentityPoolConfigurationCommandOutput extends SetIdentityPoolConfigurationResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class SetIdentityPoolConfigurationCommand extends $Command<SetIdentityPoolConfigurationCommandInput, SetIdentityPoolConfigurationCommandOutput, CognitoSyncClientResolvedConfig> {
11
+ readonly input: SetIdentityPoolConfigurationCommandInput;
12
+ constructor(input: SetIdentityPoolConfigurationCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetIdentityPoolConfigurationCommandInput, SetIdentityPoolConfigurationCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
4
+ import { SubscribeToDatasetRequest, SubscribeToDatasetResponse } from "../models/models_0";
5
+ export interface SubscribeToDatasetCommandInput extends SubscribeToDatasetRequest {
6
+ }
7
+ export interface SubscribeToDatasetCommandOutput extends SubscribeToDatasetResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class SubscribeToDatasetCommand extends $Command<SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput, CognitoSyncClientResolvedConfig> {
11
+ readonly input: SubscribeToDatasetCommandInput;
12
+ constructor(input: SubscribeToDatasetCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
4
+ import { UnsubscribeFromDatasetRequest, UnsubscribeFromDatasetResponse } from "../models/models_0";
5
+ export interface UnsubscribeFromDatasetCommandInput extends UnsubscribeFromDatasetRequest {
6
+ }
7
+ export interface UnsubscribeFromDatasetCommandOutput extends UnsubscribeFromDatasetResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UnsubscribeFromDatasetCommand extends $Command<UnsubscribeFromDatasetCommandInput, UnsubscribeFromDatasetCommandOutput, CognitoSyncClientResolvedConfig> {
11
+ readonly input: UnsubscribeFromDatasetCommandInput;
12
+ constructor(input: UnsubscribeFromDatasetCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UnsubscribeFromDatasetCommandInput, UnsubscribeFromDatasetCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
4
+ import { UpdateRecordsRequest, UpdateRecordsResponse } from "../models/models_0";
5
+ export interface UpdateRecordsCommandInput extends UpdateRecordsRequest {
6
+ }
7
+ export interface UpdateRecordsCommandOutput extends UpdateRecordsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateRecordsCommand extends $Command<UpdateRecordsCommandInput, UpdateRecordsCommandOutput, CognitoSyncClientResolvedConfig> {
11
+ readonly input: UpdateRecordsCommandInput;
12
+ constructor(input: UpdateRecordsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRecordsCommandInput, UpdateRecordsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ export * from "./BulkPublishCommand";
2
+ export * from "./DeleteDatasetCommand";
3
+ export * from "./DescribeDatasetCommand";
4
+ export * from "./DescribeIdentityPoolUsageCommand";
5
+ export * from "./DescribeIdentityUsageCommand";
6
+ export * from "./GetBulkPublishDetailsCommand";
7
+ export * from "./GetCognitoEventsCommand";
8
+ export * from "./GetIdentityPoolConfigurationCommand";
9
+ export * from "./ListDatasetsCommand";
10
+ export * from "./ListIdentityPoolUsageCommand";
11
+ export * from "./ListRecordsCommand";
12
+ export * from "./RegisterDeviceCommand";
13
+ export * from "./SetCognitoEventsCommand";
14
+ export * from "./SetIdentityPoolConfigurationCommand";
15
+ export * from "./SubscribeToDatasetCommand";
16
+ export * from "./UnsubscribeFromDatasetCommand";
17
+ export * from "./UpdateRecordsCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,5 @@
1
+ export * from "./CognitoSync";
2
+ export * from "./CognitoSyncClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export { CognitoSyncServiceException } from "./models/CognitoSyncServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class CognitoSyncServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";