@aws-sdk/client-cognito-sync 3.477.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 +11 -11
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { DescribeIdentityPoolUsageRequest, DescribeIdentityPoolUsageResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeIdentityPoolUsageCommandInput extends DescribeIdentityP
21
20
  */
22
21
  export interface DescribeIdentityPoolUsageCommandOutput extends DescribeIdentityPoolUsageResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeIdentityPoolUsageCommand_base: {
24
+ new (input: DescribeIdentityPoolUsageCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeIdentityPoolUsageCommandInput, DescribeIdentityPoolUsageCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets usage details (for example, data storage) about a particular identity pool.</p>
@@ -124,23 +127,5 @@ export interface DescribeIdentityPoolUsageCommandOutput extends DescribeIdentity
124
127
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
125
128
  *
126
129
  */
127
- export declare class DescribeIdentityPoolUsageCommand extends $Command<DescribeIdentityPoolUsageCommandInput, DescribeIdentityPoolUsageCommandOutput, CognitoSyncClientResolvedConfig> {
128
- readonly input: DescribeIdentityPoolUsageCommandInput;
129
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
130
- /**
131
- * @public
132
- */
133
- constructor(input: DescribeIdentityPoolUsageCommandInput);
134
- /**
135
- * @internal
136
- */
137
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeIdentityPoolUsageCommandInput, DescribeIdentityPoolUsageCommandOutput>;
138
- /**
139
- * @internal
140
- */
141
- private serialize;
142
- /**
143
- * @internal
144
- */
145
- private deserialize;
130
+ export declare class DescribeIdentityPoolUsageCommand extends DescribeIdentityPoolUsageCommand_base {
146
131
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { DescribeIdentityUsageRequest, DescribeIdentityUsageResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeIdentityUsageCommandInput extends DescribeIdentityUsage
21
20
  */
22
21
  export interface DescribeIdentityUsageCommandOutput extends DescribeIdentityUsageResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeIdentityUsageCommand_base: {
24
+ new (input: DescribeIdentityUsageCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeIdentityUsageCommandInput, DescribeIdentityUsageCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets usage information for an identity, including number of datasets and data usage.</p>
@@ -127,23 +130,5 @@ export interface DescribeIdentityUsageCommandOutput extends DescribeIdentityUsag
127
130
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
128
131
  *
129
132
  */
130
- export declare class DescribeIdentityUsageCommand extends $Command<DescribeIdentityUsageCommandInput, DescribeIdentityUsageCommandOutput, CognitoSyncClientResolvedConfig> {
131
- readonly input: DescribeIdentityUsageCommandInput;
132
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
133
- /**
134
- * @public
135
- */
136
- constructor(input: DescribeIdentityUsageCommandInput);
137
- /**
138
- * @internal
139
- */
140
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeIdentityUsageCommandInput, DescribeIdentityUsageCommandOutput>;
141
- /**
142
- * @internal
143
- */
144
- private serialize;
145
- /**
146
- * @internal
147
- */
148
- private deserialize;
133
+ export declare class DescribeIdentityUsageCommand extends DescribeIdentityUsageCommand_base {
149
134
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { GetBulkPublishDetailsRequest, GetBulkPublishDetailsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetBulkPublishDetailsCommandInput extends GetBulkPublishDetails
21
20
  */
22
21
  export interface GetBulkPublishDetailsCommandOutput extends GetBulkPublishDetailsResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetBulkPublishDetailsCommand_base: {
24
+ new (input: GetBulkPublishDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetBulkPublishDetailsCommandInput, GetBulkPublishDetailsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Get the status of the last BulkPublish operation for an identity pool.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
@@ -71,23 +74,5 @@ export interface GetBulkPublishDetailsCommandOutput extends GetBulkPublishDetail
71
74
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
72
75
  *
73
76
  */
74
- export declare class GetBulkPublishDetailsCommand extends $Command<GetBulkPublishDetailsCommandInput, GetBulkPublishDetailsCommandOutput, CognitoSyncClientResolvedConfig> {
75
- readonly input: GetBulkPublishDetailsCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: GetBulkPublishDetailsCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetBulkPublishDetailsCommandInput, GetBulkPublishDetailsCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class GetBulkPublishDetailsCommand extends GetBulkPublishDetailsCommand_base {
93
78
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { GetCognitoEventsRequest, GetCognitoEventsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetCognitoEventsCommandInput extends GetCognitoEventsRequest {
21
20
  */
22
21
  export interface GetCognitoEventsCommandOutput extends GetCognitoEventsResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetCognitoEventsCommand_base: {
24
+ new (input: GetCognitoEventsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCognitoEventsCommandInput, GetCognitoEventsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the events and the corresponding Lambda functions associated with an identity pool.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
@@ -73,23 +76,5 @@ export interface GetCognitoEventsCommandOutput extends GetCognitoEventsResponse,
73
76
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
74
77
  *
75
78
  */
76
- export declare class GetCognitoEventsCommand extends $Command<GetCognitoEventsCommandInput, GetCognitoEventsCommandOutput, CognitoSyncClientResolvedConfig> {
77
- readonly input: GetCognitoEventsCommandInput;
78
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
- /**
80
- * @public
81
- */
82
- constructor(input: GetCognitoEventsCommandInput);
83
- /**
84
- * @internal
85
- */
86
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCognitoEventsCommandInput, GetCognitoEventsCommandOutput>;
87
- /**
88
- * @internal
89
- */
90
- private serialize;
91
- /**
92
- * @internal
93
- */
94
- private deserialize;
79
+ export declare class GetCognitoEventsCommand extends GetCognitoEventsCommand_base {
95
80
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { GetIdentityPoolConfigurationRequest, GetIdentityPoolConfigurationResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetIdentityPoolConfigurationCommandInput extends GetIdentityPoo
21
20
  */
22
21
  export interface GetIdentityPoolConfigurationCommandOutput extends GetIdentityPoolConfigurationResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetIdentityPoolConfigurationCommand_base: {
24
+ new (input: GetIdentityPoolConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetIdentityPoolConfigurationCommandInput, GetIdentityPoolConfigurationCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the configuration settings of an identity pool.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
@@ -128,23 +131,5 @@ export interface GetIdentityPoolConfigurationCommandOutput extends GetIdentityPo
128
131
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
129
132
  *
130
133
  */
131
- export declare class GetIdentityPoolConfigurationCommand extends $Command<GetIdentityPoolConfigurationCommandInput, GetIdentityPoolConfigurationCommandOutput, CognitoSyncClientResolvedConfig> {
132
- readonly input: GetIdentityPoolConfigurationCommandInput;
133
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
134
- /**
135
- * @public
136
- */
137
- constructor(input: GetIdentityPoolConfigurationCommandInput);
138
- /**
139
- * @internal
140
- */
141
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetIdentityPoolConfigurationCommandInput, GetIdentityPoolConfigurationCommandOutput>;
142
- /**
143
- * @internal
144
- */
145
- private serialize;
146
- /**
147
- * @internal
148
- */
149
- private deserialize;
134
+ export declare class GetIdentityPoolConfigurationCommand extends GetIdentityPoolConfigurationCommand_base {
150
135
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { ListDatasetsRequest, ListDatasetsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListDatasetsCommandInput extends ListDatasetsRequest {
21
20
  */
22
21
  export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListDatasetsCommand_base: {
24
+ new (input: ListDatasetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDatasetsCommandInput, ListDatasetsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists datasets for an identity. With Amazon Cognito Sync, each identity has access only to
@@ -140,23 +143,5 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad
140
143
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
141
144
  *
142
145
  */
143
- export declare class ListDatasetsCommand extends $Command<ListDatasetsCommandInput, ListDatasetsCommandOutput, CognitoSyncClientResolvedConfig> {
144
- readonly input: ListDatasetsCommandInput;
145
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
146
- /**
147
- * @public
148
- */
149
- constructor(input: ListDatasetsCommandInput);
150
- /**
151
- * @internal
152
- */
153
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDatasetsCommandInput, ListDatasetsCommandOutput>;
154
- /**
155
- * @internal
156
- */
157
- private serialize;
158
- /**
159
- * @internal
160
- */
161
- private deserialize;
146
+ export declare class ListDatasetsCommand extends ListDatasetsCommand_base {
162
147
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { ListIdentityPoolUsageRequest, ListIdentityPoolUsageResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListIdentityPoolUsageCommandInput extends ListIdentityPoolUsage
21
20
  */
22
21
  export interface ListIdentityPoolUsageCommandOutput extends ListIdentityPoolUsageResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListIdentityPoolUsageCommand_base: {
24
+ new (input: ListIdentityPoolUsageCommandInput): import("@smithy/smithy-client").CommandImpl<ListIdentityPoolUsageCommandInput, ListIdentityPoolUsageCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets a list of identity pools registered with Cognito.</p>
@@ -136,23 +139,5 @@ export interface ListIdentityPoolUsageCommandOutput extends ListIdentityPoolUsag
136
139
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
137
140
  *
138
141
  */
139
- export declare class ListIdentityPoolUsageCommand extends $Command<ListIdentityPoolUsageCommandInput, ListIdentityPoolUsageCommandOutput, CognitoSyncClientResolvedConfig> {
140
- readonly input: ListIdentityPoolUsageCommandInput;
141
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
142
- /**
143
- * @public
144
- */
145
- constructor(input: ListIdentityPoolUsageCommandInput);
146
- /**
147
- * @internal
148
- */
149
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListIdentityPoolUsageCommandInput, ListIdentityPoolUsageCommandOutput>;
150
- /**
151
- * @internal
152
- */
153
- private serialize;
154
- /**
155
- * @internal
156
- */
157
- private deserialize;
142
+ export declare class ListIdentityPoolUsageCommand extends ListIdentityPoolUsageCommand_base {
158
143
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { ListRecordsRequest, ListRecordsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListRecordsCommandInput extends ListRecordsRequest {
21
20
  */
22
21
  export interface ListRecordsCommandOutput extends ListRecordsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListRecordsCommand_base: {
24
+ new (input: ListRecordsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRecordsCommandInput, ListRecordsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets paginated records, optionally changed after a particular sync count for a dataset and
@@ -147,23 +150,5 @@ export interface ListRecordsCommandOutput extends ListRecordsResponse, __Metadat
147
150
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
148
151
  *
149
152
  */
150
- export declare class ListRecordsCommand extends $Command<ListRecordsCommandInput, ListRecordsCommandOutput, CognitoSyncClientResolvedConfig> {
151
- readonly input: ListRecordsCommandInput;
152
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
153
- /**
154
- * @public
155
- */
156
- constructor(input: ListRecordsCommandInput);
157
- /**
158
- * @internal
159
- */
160
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRecordsCommandInput, ListRecordsCommandOutput>;
161
- /**
162
- * @internal
163
- */
164
- private serialize;
165
- /**
166
- * @internal
167
- */
168
- private deserialize;
153
+ export declare class ListRecordsCommand extends ListRecordsCommand_base {
169
154
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { RegisterDeviceRequest, RegisterDeviceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface RegisterDeviceCommandInput extends RegisterDeviceRequest {
21
20
  */
22
21
  export interface RegisterDeviceCommandOutput extends RegisterDeviceResponse, __MetadataBearer {
23
22
  }
23
+ declare const RegisterDeviceCommand_base: {
24
+ new (input: RegisterDeviceCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterDeviceCommandInput, RegisterDeviceCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Registers a device to receive push sync notifications.</p><p>This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.</p>
@@ -120,23 +123,5 @@ export interface RegisterDeviceCommandOutput extends RegisterDeviceResponse, __M
120
123
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
121
124
  *
122
125
  */
123
- export declare class RegisterDeviceCommand extends $Command<RegisterDeviceCommandInput, RegisterDeviceCommandOutput, CognitoSyncClientResolvedConfig> {
124
- readonly input: RegisterDeviceCommandInput;
125
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
126
- /**
127
- * @public
128
- */
129
- constructor(input: RegisterDeviceCommandInput);
130
- /**
131
- * @internal
132
- */
133
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RegisterDeviceCommandInput, RegisterDeviceCommandOutput>;
134
- /**
135
- * @internal
136
- */
137
- private serialize;
138
- /**
139
- * @internal
140
- */
141
- private deserialize;
126
+ export declare class RegisterDeviceCommand extends RegisterDeviceCommand_base {
142
127
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { SetCognitoEventsRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SetCognitoEventsCommandInput extends SetCognitoEventsRequest {
21
20
  */
22
21
  export interface SetCognitoEventsCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const SetCognitoEventsCommand_base: {
24
+ new (input: SetCognitoEventsCommandInput): import("@smithy/smithy-client").CommandImpl<SetCognitoEventsCommandInput, SetCognitoEventsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Sets the AWS Lambda function for a given event type for an identity pool. This request only updates the key/value pair specified. Other key/values pairs are not updated. To remove a key value pair, pass a empty value for the particular key.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
@@ -72,23 +75,5 @@ export interface SetCognitoEventsCommandOutput extends __MetadataBearer {
72
75
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
73
76
  *
74
77
  */
75
- export declare class SetCognitoEventsCommand extends $Command<SetCognitoEventsCommandInput, SetCognitoEventsCommandOutput, CognitoSyncClientResolvedConfig> {
76
- readonly input: SetCognitoEventsCommandInput;
77
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
- /**
79
- * @public
80
- */
81
- constructor(input: SetCognitoEventsCommandInput);
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetCognitoEventsCommandInput, SetCognitoEventsCommandOutput>;
86
- /**
87
- * @internal
88
- */
89
- private serialize;
90
- /**
91
- * @internal
92
- */
93
- private deserialize;
78
+ export declare class SetCognitoEventsCommand extends SetCognitoEventsCommand_base {
94
79
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { SetIdentityPoolConfigurationRequest, SetIdentityPoolConfigurationResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SetIdentityPoolConfigurationCommandInput extends SetIdentityPoo
21
20
  */
22
21
  export interface SetIdentityPoolConfigurationCommandOutput extends SetIdentityPoolConfigurationResponse, __MetadataBearer {
23
22
  }
23
+ declare const SetIdentityPoolConfigurationCommand_base: {
24
+ new (input: SetIdentityPoolConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<SetIdentityPoolConfigurationCommandInput, SetIdentityPoolConfigurationCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Sets the necessary configuration for push sync.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
@@ -146,23 +149,5 @@ export interface SetIdentityPoolConfigurationCommandOutput extends SetIdentityPo
146
149
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
147
150
  *
148
151
  */
149
- export declare class SetIdentityPoolConfigurationCommand extends $Command<SetIdentityPoolConfigurationCommandInput, SetIdentityPoolConfigurationCommandOutput, CognitoSyncClientResolvedConfig> {
150
- readonly input: SetIdentityPoolConfigurationCommandInput;
151
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
152
- /**
153
- * @public
154
- */
155
- constructor(input: SetIdentityPoolConfigurationCommandInput);
156
- /**
157
- * @internal
158
- */
159
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetIdentityPoolConfigurationCommandInput, SetIdentityPoolConfigurationCommandOutput>;
160
- /**
161
- * @internal
162
- */
163
- private serialize;
164
- /**
165
- * @internal
166
- */
167
- private deserialize;
152
+ export declare class SetIdentityPoolConfigurationCommand extends SetIdentityPoolConfigurationCommand_base {
168
153
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { SubscribeToDatasetRequest, SubscribeToDatasetResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SubscribeToDatasetCommandInput extends SubscribeToDatasetReques
21
20
  */
22
21
  export interface SubscribeToDatasetCommandOutput extends SubscribeToDatasetResponse, __MetadataBearer {
23
22
  }
23
+ declare const SubscribeToDatasetCommand_base: {
24
+ new (input: SubscribeToDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Subscribes to receive notifications when a dataset is modified by another device.</p><p>This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.</p>
@@ -117,23 +120,5 @@ export interface SubscribeToDatasetCommandOutput extends SubscribeToDatasetRespo
117
120
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
118
121
  *
119
122
  */
120
- export declare class SubscribeToDatasetCommand extends $Command<SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput, CognitoSyncClientResolvedConfig> {
121
- readonly input: SubscribeToDatasetCommandInput;
122
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
123
- /**
124
- * @public
125
- */
126
- constructor(input: SubscribeToDatasetCommandInput);
127
- /**
128
- * @internal
129
- */
130
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput>;
131
- /**
132
- * @internal
133
- */
134
- private serialize;
135
- /**
136
- * @internal
137
- */
138
- private deserialize;
123
+ export declare class SubscribeToDatasetCommand extends SubscribeToDatasetCommand_base {
139
124
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { UnsubscribeFromDatasetRequest, UnsubscribeFromDatasetResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UnsubscribeFromDatasetCommandInput extends UnsubscribeFromDatas
21
20
  */
22
21
  export interface UnsubscribeFromDatasetCommandOutput extends UnsubscribeFromDatasetResponse, __MetadataBearer {
23
22
  }
23
+ declare const UnsubscribeFromDatasetCommand_base: {
24
+ new (input: UnsubscribeFromDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<UnsubscribeFromDatasetCommandInput, UnsubscribeFromDatasetCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Unsubscribes from receiving notifications when a dataset is modified by another device.</p><p>This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.</p>
@@ -118,23 +121,5 @@ export interface UnsubscribeFromDatasetCommandOutput extends UnsubscribeFromData
118
121
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
119
122
  *
120
123
  */
121
- export declare class UnsubscribeFromDatasetCommand extends $Command<UnsubscribeFromDatasetCommandInput, UnsubscribeFromDatasetCommandOutput, CognitoSyncClientResolvedConfig> {
122
- readonly input: UnsubscribeFromDatasetCommandInput;
123
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
124
- /**
125
- * @public
126
- */
127
- constructor(input: UnsubscribeFromDatasetCommandInput);
128
- /**
129
- * @internal
130
- */
131
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UnsubscribeFromDatasetCommandInput, UnsubscribeFromDatasetCommandOutput>;
132
- /**
133
- * @internal
134
- */
135
- private serialize;
136
- /**
137
- * @internal
138
- */
139
- private deserialize;
124
+ export declare class UnsubscribeFromDatasetCommand extends UnsubscribeFromDatasetCommand_base {
140
125
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
5
4
  import { UpdateRecordsRequest, UpdateRecordsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateRecordsCommandInput extends UpdateRecordsRequest {
21
20
  */
22
21
  export interface UpdateRecordsCommandOutput extends UpdateRecordsResponse, __MetadataBearer {
23
22
  }
23
+ declare const UpdateRecordsCommand_base: {
24
+ new (input: UpdateRecordsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRecordsCommandInput, UpdateRecordsCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Posts updates to records and adds and deletes records for a dataset and user.</p>
@@ -110,23 +113,5 @@ export interface UpdateRecordsCommandOutput extends UpdateRecordsResponse, __Met
110
113
  * <p>Base exception class for all service exceptions from CognitoSync service.</p>
111
114
  *
112
115
  */
113
- export declare class UpdateRecordsCommand extends $Command<UpdateRecordsCommandInput, UpdateRecordsCommandOutput, CognitoSyncClientResolvedConfig> {
114
- readonly input: UpdateRecordsCommandInput;
115
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
116
- /**
117
- * @public
118
- */
119
- constructor(input: UpdateRecordsCommandInput);
120
- /**
121
- * @internal
122
- */
123
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRecordsCommandInput, UpdateRecordsCommandOutput>;
124
- /**
125
- * @internal
126
- */
127
- private serialize;
128
- /**
129
- * @internal
130
- */
131
- private deserialize;
116
+ export declare class UpdateRecordsCommand extends UpdateRecordsCommand_base {
132
117
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;