@aws-sdk/client-cognito-sync 3.34.0 → 3.37.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 (235) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/CognitoSync.js +0 -16
  3. package/dist-cjs/CognitoSyncClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/BulkPublishCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/DeleteDatasetCommand.js +2 -31
  6. package/{dist/cjs → dist-cjs}/commands/DescribeDatasetCommand.js +2 -30
  7. package/dist-cjs/commands/DescribeIdentityPoolUsageCommand.js +36 -0
  8. package/dist-cjs/commands/DescribeIdentityUsageCommand.js +36 -0
  9. package/{dist/cjs → dist-cjs}/commands/GetBulkPublishDetailsCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/GetCognitoEventsCommand.js +2 -27
  11. package/dist-cjs/commands/GetIdentityPoolConfigurationCommand.js +36 -0
  12. package/dist-cjs/commands/ListDatasetsCommand.js +36 -0
  13. package/dist-cjs/commands/ListIdentityPoolUsageCommand.js +36 -0
  14. package/dist-cjs/commands/ListRecordsCommand.js +36 -0
  15. package/dist-cjs/commands/RegisterDeviceCommand.js +36 -0
  16. package/{dist/cjs → dist-cjs}/commands/SetCognitoEventsCommand.js +2 -27
  17. package/dist-cjs/commands/SetIdentityPoolConfigurationCommand.js +36 -0
  18. package/dist-cjs/commands/SubscribeToDatasetCommand.js +36 -0
  19. package/dist-cjs/commands/UnsubscribeFromDatasetCommand.js +36 -0
  20. package/dist-cjs/commands/UpdateRecordsCommand.js +36 -0
  21. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  22. package/{dist/cjs → dist-cjs}/index.js +0 -1
  23. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  24. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -160
  25. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +1 -7
  26. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  27. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  28. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  29. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  30. package/{dist/es → dist-es}/CognitoSync.js +0 -1
  31. package/{dist/es → dist-es}/CognitoSyncClient.js +1 -2
  32. package/{dist/es → dist-es}/commands/BulkPublishCommand.js +2 -3
  33. package/{dist/es → dist-es}/commands/DeleteDatasetCommand.js +2 -3
  34. package/{dist/es → dist-es}/commands/DescribeDatasetCommand.js +2 -3
  35. package/{dist/es → dist-es}/commands/DescribeIdentityPoolUsageCommand.js +2 -3
  36. package/{dist/es → dist-es}/commands/DescribeIdentityUsageCommand.js +2 -3
  37. package/{dist/es → dist-es}/commands/GetBulkPublishDetailsCommand.js +2 -3
  38. package/{dist/es → dist-es}/commands/GetCognitoEventsCommand.js +2 -3
  39. package/{dist/es → dist-es}/commands/GetIdentityPoolConfigurationCommand.js +2 -3
  40. package/{dist/es → dist-es}/commands/ListDatasetsCommand.js +2 -3
  41. package/{dist/es → dist-es}/commands/ListIdentityPoolUsageCommand.js +2 -3
  42. package/{dist/es → dist-es}/commands/ListRecordsCommand.js +2 -3
  43. package/{dist/es → dist-es}/commands/RegisterDeviceCommand.js +2 -3
  44. package/{dist/es → dist-es}/commands/SetCognitoEventsCommand.js +2 -3
  45. package/{dist/es → dist-es}/commands/SetIdentityPoolConfigurationCommand.js +2 -3
  46. package/{dist/es → dist-es}/commands/SubscribeToDatasetCommand.js +2 -3
  47. package/{dist/es → dist-es}/commands/UnsubscribeFromDatasetCommand.js +2 -3
  48. package/{dist/es → dist-es}/commands/UpdateRecordsCommand.js +2 -3
  49. package/{dist/es → dist-es}/endpoints.js +1 -2
  50. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  51. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  52. package/{dist/es → dist-es}/models/models_0.js +0 -1
  53. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
  54. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  55. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  56. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  57. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  58. package/{dist/types → dist-types}/CognitoSync.d.ts +1 -1
  59. package/{dist/types → dist-types}/CognitoSyncClient.d.ts +8 -8
  60. package/{dist/types → dist-types}/commands/BulkPublishCommand.d.ts +2 -2
  61. package/{dist/types → dist-types}/commands/DeleteDatasetCommand.d.ts +2 -2
  62. package/{dist/types → dist-types}/commands/DescribeDatasetCommand.d.ts +2 -2
  63. package/{dist/types → dist-types}/commands/DescribeIdentityPoolUsageCommand.d.ts +2 -2
  64. package/{dist/types → dist-types}/commands/DescribeIdentityUsageCommand.d.ts +2 -2
  65. package/{dist/types → dist-types}/commands/GetBulkPublishDetailsCommand.d.ts +2 -2
  66. package/{dist/types → dist-types}/commands/GetCognitoEventsCommand.d.ts +2 -2
  67. package/{dist/types → dist-types}/commands/GetIdentityPoolConfigurationCommand.d.ts +2 -2
  68. package/{dist/types → dist-types}/commands/ListDatasetsCommand.d.ts +2 -2
  69. package/{dist/types → dist-types}/commands/ListIdentityPoolUsageCommand.d.ts +2 -2
  70. package/{dist/types → dist-types}/commands/ListRecordsCommand.d.ts +2 -2
  71. package/{dist/types → dist-types}/commands/RegisterDeviceCommand.d.ts +2 -2
  72. package/{dist/types → dist-types}/commands/SetCognitoEventsCommand.d.ts +2 -2
  73. package/{dist/types → dist-types}/commands/SetIdentityPoolConfigurationCommand.d.ts +2 -2
  74. package/{dist/types → dist-types}/commands/SubscribeToDatasetCommand.d.ts +2 -2
  75. package/{dist/types → dist-types}/commands/UnsubscribeFromDatasetCommand.d.ts +2 -2
  76. package/{dist/types → dist-types}/commands/UpdateRecordsCommand.d.ts +2 -2
  77. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  78. package/{index.ts → dist-types/index.d.ts} +0 -0
  79. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  80. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  81. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  82. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  83. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  84. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  85. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  86. package/dist-types/ts3.4/CognitoSync.d.ts +90 -0
  87. package/{dist/types → dist-types}/ts3.4/CognitoSyncClient.d.ts +32 -109
  88. package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +17 -0
  105. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  106. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  107. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  108. package/dist-types/ts3.4/models/models_0.d.ts +670 -0
  109. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  110. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  111. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  112. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  113. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  114. package/package.json +45 -42
  115. package/CognitoSync.ts +0 -1129
  116. package/CognitoSyncClient.ts +0 -319
  117. package/commands/BulkPublishCommand.ts +0 -94
  118. package/commands/DeleteDatasetCommand.ts +0 -98
  119. package/commands/DescribeDatasetCommand.ts +0 -97
  120. package/commands/DescribeIdentityPoolUsageCommand.ts +0 -145
  121. package/commands/DescribeIdentityUsageCommand.ts +0 -143
  122. package/commands/GetBulkPublishDetailsCommand.ts +0 -94
  123. package/commands/GetCognitoEventsCommand.ts +0 -94
  124. package/commands/GetIdentityPoolConfigurationCommand.ts +0 -145
  125. package/commands/ListDatasetsCommand.ts +0 -152
  126. package/commands/ListIdentityPoolUsageCommand.ts +0 -152
  127. package/commands/ListRecordsCommand.ts +0 -149
  128. package/commands/RegisterDeviceCommand.ts +0 -138
  129. package/commands/SetCognitoEventsCommand.ts +0 -94
  130. package/commands/SetIdentityPoolConfigurationCommand.ts +0 -149
  131. package/commands/SubscribeToDatasetCommand.ts +0 -137
  132. package/commands/UnsubscribeFromDatasetCommand.ts +0 -138
  133. package/commands/UpdateRecordsCommand.ts +0 -96
  134. package/dist/cjs/CognitoSync.js.map +0 -1
  135. package/dist/cjs/CognitoSyncClient.js +0 -56
  136. package/dist/cjs/CognitoSyncClient.js.map +0 -1
  137. package/dist/cjs/commands/BulkPublishCommand.js.map +0 -1
  138. package/dist/cjs/commands/DeleteDatasetCommand.js.map +0 -1
  139. package/dist/cjs/commands/DescribeDatasetCommand.js.map +0 -1
  140. package/dist/cjs/commands/DescribeIdentityPoolUsageCommand.js +0 -109
  141. package/dist/cjs/commands/DescribeIdentityPoolUsageCommand.js.map +0 -1
  142. package/dist/cjs/commands/DescribeIdentityUsageCommand.js +0 -110
  143. package/dist/cjs/commands/DescribeIdentityUsageCommand.js.map +0 -1
  144. package/dist/cjs/commands/GetBulkPublishDetailsCommand.js.map +0 -1
  145. package/dist/cjs/commands/GetCognitoEventsCommand.js.map +0 -1
  146. package/dist/cjs/commands/GetIdentityPoolConfigurationCommand.js +0 -107
  147. package/dist/cjs/commands/GetIdentityPoolConfigurationCommand.js.map +0 -1
  148. package/dist/cjs/commands/ListDatasetsCommand.js +0 -119
  149. package/dist/cjs/commands/ListDatasetsCommand.js.map +0 -1
  150. package/dist/cjs/commands/ListIdentityPoolUsageCommand.js +0 -119
  151. package/dist/cjs/commands/ListIdentityPoolUsageCommand.js.map +0 -1
  152. package/dist/cjs/commands/ListRecordsCommand.js +0 -116
  153. package/dist/cjs/commands/ListRecordsCommand.js.map +0 -1
  154. package/dist/cjs/commands/RegisterDeviceCommand.js +0 -105
  155. package/dist/cjs/commands/RegisterDeviceCommand.js.map +0 -1
  156. package/dist/cjs/commands/SetCognitoEventsCommand.js.map +0 -1
  157. package/dist/cjs/commands/SetIdentityPoolConfigurationCommand.js +0 -111
  158. package/dist/cjs/commands/SetIdentityPoolConfigurationCommand.js.map +0 -1
  159. package/dist/cjs/commands/SubscribeToDatasetCommand.js +0 -104
  160. package/dist/cjs/commands/SubscribeToDatasetCommand.js.map +0 -1
  161. package/dist/cjs/commands/UnsubscribeFromDatasetCommand.js +0 -105
  162. package/dist/cjs/commands/UnsubscribeFromDatasetCommand.js.map +0 -1
  163. package/dist/cjs/commands/UpdateRecordsCommand.js +0 -63
  164. package/dist/cjs/commands/UpdateRecordsCommand.js.map +0 -1
  165. package/dist/cjs/endpoints.js.map +0 -1
  166. package/dist/cjs/index.js.map +0 -1
  167. package/dist/cjs/models/index.js.map +0 -1
  168. package/dist/cjs/models/models_0.js.map +0 -1
  169. package/dist/cjs/package.json +0 -91
  170. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  171. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  172. package/dist/cjs/runtimeConfig.js.map +0 -1
  173. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  174. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  175. package/dist/es/CognitoSync.js.map +0 -1
  176. package/dist/es/CognitoSyncClient.js.map +0 -1
  177. package/dist/es/commands/BulkPublishCommand.js.map +0 -1
  178. package/dist/es/commands/DeleteDatasetCommand.js.map +0 -1
  179. package/dist/es/commands/DescribeDatasetCommand.js.map +0 -1
  180. package/dist/es/commands/DescribeIdentityPoolUsageCommand.js.map +0 -1
  181. package/dist/es/commands/DescribeIdentityUsageCommand.js.map +0 -1
  182. package/dist/es/commands/GetBulkPublishDetailsCommand.js.map +0 -1
  183. package/dist/es/commands/GetCognitoEventsCommand.js.map +0 -1
  184. package/dist/es/commands/GetIdentityPoolConfigurationCommand.js.map +0 -1
  185. package/dist/es/commands/ListDatasetsCommand.js.map +0 -1
  186. package/dist/es/commands/ListIdentityPoolUsageCommand.js.map +0 -1
  187. package/dist/es/commands/ListRecordsCommand.js.map +0 -1
  188. package/dist/es/commands/RegisterDeviceCommand.js.map +0 -1
  189. package/dist/es/commands/SetCognitoEventsCommand.js.map +0 -1
  190. package/dist/es/commands/SetIdentityPoolConfigurationCommand.js.map +0 -1
  191. package/dist/es/commands/SubscribeToDatasetCommand.js.map +0 -1
  192. package/dist/es/commands/UnsubscribeFromDatasetCommand.js.map +0 -1
  193. package/dist/es/commands/UpdateRecordsCommand.js.map +0 -1
  194. package/dist/es/endpoints.js.map +0 -1
  195. package/dist/es/index.js +0 -21
  196. package/dist/es/index.js.map +0 -1
  197. package/dist/es/models/index.js +0 -2
  198. package/dist/es/models/index.js.map +0 -1
  199. package/dist/es/models/models_0.js.map +0 -1
  200. package/dist/es/package.json +0 -91
  201. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  202. package/dist/es/runtimeConfig.browser.js.map +0 -1
  203. package/dist/es/runtimeConfig.js.map +0 -1
  204. package/dist/es/runtimeConfig.native.js.map +0 -1
  205. package/dist/es/runtimeConfig.shared.js.map +0 -1
  206. package/dist/types/ts3.4/CognitoSync.d.ts +0 -642
  207. package/dist/types/ts3.4/commands/BulkPublishCommand.d.ts +0 -35
  208. package/dist/types/ts3.4/commands/DeleteDatasetCommand.d.ts +0 -39
  209. package/dist/types/ts3.4/commands/DescribeDatasetCommand.d.ts +0 -38
  210. package/dist/types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +0 -83
  211. package/dist/types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +0 -84
  212. package/dist/types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +0 -35
  213. package/dist/types/ts3.4/commands/GetCognitoEventsCommand.d.ts +0 -35
  214. package/dist/types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +0 -81
  215. package/dist/types/ts3.4/commands/ListDatasetsCommand.d.ts +0 -93
  216. package/dist/types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +0 -93
  217. package/dist/types/ts3.4/commands/ListRecordsCommand.d.ts +0 -90
  218. package/dist/types/ts3.4/commands/RegisterDeviceCommand.d.ts +0 -79
  219. package/dist/types/ts3.4/commands/SetCognitoEventsCommand.d.ts +0 -35
  220. package/dist/types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +0 -85
  221. package/dist/types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +0 -78
  222. package/dist/types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +0 -79
  223. package/dist/types/ts3.4/commands/UpdateRecordsCommand.d.ts +0 -37
  224. package/dist/types/ts3.4/models/models_0.d.ts +0 -1289
  225. package/endpoints.ts +0 -57
  226. package/jest.config.js +0 -4
  227. package/models/models_0.ts +0 -1578
  228. package/protocols/Aws_restJson1.ts +0 -2879
  229. package/runtimeConfig.browser.ts +0 -40
  230. package/runtimeConfig.native.ts +0 -16
  231. package/runtimeConfig.shared.ts +0 -16
  232. package/runtimeConfig.ts +0 -45
  233. package/tsconfig.es.json +0 -10
  234. package/tsconfig.json +0 -31
  235. package/tsconfig.types.json +0 -8
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SetCognitoEventsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <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>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CognitoSyncClient, SetCognitoEventsCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
14
- * // const { CognitoSyncClient, SetCognitoEventsCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
15
- * const client = new CognitoSyncClient(config);
16
- * const command = new SetCognitoEventsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link SetCognitoEventsCommandInput} for command's `input` shape.
21
- * @see {@link SetCognitoEventsCommandOutput} for command's `response` shape.
22
- * @see {@link CognitoSyncClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class SetCognitoEventsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class SetCognitoEventsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.SetCognitoEventsCommand = SetCognitoEventsCommand;
61
- //# sourceMappingURL=SetCognitoEventsCommand.js.map
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetIdentityPoolConfigurationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class SetIdentityPoolConfigurationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "CognitoSyncClient";
18
+ const commandName = "SetIdentityPoolConfigurationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.SetIdentityPoolConfigurationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SetIdentityPoolConfigurationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1SetIdentityPoolConfigurationCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1SetIdentityPoolConfigurationCommand(output, context);
34
+ }
35
+ }
36
+ exports.SetIdentityPoolConfigurationCommand = SetIdentityPoolConfigurationCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubscribeToDatasetCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class SubscribeToDatasetCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "CognitoSyncClient";
18
+ const commandName = "SubscribeToDatasetCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.SubscribeToDatasetRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SubscribeToDatasetResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1SubscribeToDatasetCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1SubscribeToDatasetCommand(output, context);
34
+ }
35
+ }
36
+ exports.SubscribeToDatasetCommand = SubscribeToDatasetCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnsubscribeFromDatasetCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UnsubscribeFromDatasetCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "CognitoSyncClient";
18
+ const commandName = "UnsubscribeFromDatasetCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UnsubscribeFromDatasetRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UnsubscribeFromDatasetResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1UnsubscribeFromDatasetCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1UnsubscribeFromDatasetCommand(output, context);
34
+ }
35
+ }
36
+ exports.UnsubscribeFromDatasetCommand = UnsubscribeFromDatasetCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateRecordsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateRecordsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "CognitoSyncClient";
18
+ const commandName = "UpdateRecordsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateRecordsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateRecordsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1UpdateRecordsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1UpdateRecordsCommand(output, context);
34
+ }
35
+ }
36
+ exports.UpdateRecordsCommand = UpdateRecordsCommand;
@@ -35,7 +35,7 @@ const partitionHash = {
35
35
  hostname: "cognito-sync.{region}.amazonaws.com.cn",
36
36
  },
37
37
  "aws-iso": {
38
- regions: ["us-iso-east-1"],
38
+ regions: ["us-iso-east-1", "us-iso-west-1"],
39
39
  hostname: "cognito-sync.{region}.c2s.ic.gov",
40
40
  },
41
41
  "aws-iso-b": {
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
54
54
  partitionHash,
55
55
  });
56
56
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
57
- //# sourceMappingURL=endpoints.js.map
@@ -21,4 +21,3 @@ tslib_1.__exportStar(require("./commands/SubscribeToDatasetCommand"), exports);
21
21
  tslib_1.__exportStar(require("./commands/UnsubscribeFromDatasetCommand"), exports);
22
22
  tslib_1.__exportStar(require("./commands/UpdateRecordsCommand"), exports);
23
23
  tslib_1.__exportStar(require("./models/index"), exports);
24
- //# sourceMappingURL=index.js.map
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map