@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.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/CognitoSync.js +0 -16
- package/dist-cjs/CognitoSyncClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/BulkPublishCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteDatasetCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/DescribeDatasetCommand.js +2 -30
- package/dist-cjs/commands/DescribeIdentityPoolUsageCommand.js +36 -0
- package/dist-cjs/commands/DescribeIdentityUsageCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetBulkPublishDetailsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetCognitoEventsCommand.js +2 -27
- package/dist-cjs/commands/GetIdentityPoolConfigurationCommand.js +36 -0
- package/dist-cjs/commands/ListDatasetsCommand.js +36 -0
- package/dist-cjs/commands/ListIdentityPoolUsageCommand.js +36 -0
- package/dist-cjs/commands/ListRecordsCommand.js +36 -0
- package/dist-cjs/commands/RegisterDeviceCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/SetCognitoEventsCommand.js +2 -27
- package/dist-cjs/commands/SetIdentityPoolConfigurationCommand.js +36 -0
- package/dist-cjs/commands/SubscribeToDatasetCommand.js +36 -0
- package/dist-cjs/commands/UnsubscribeFromDatasetCommand.js +36 -0
- package/dist-cjs/commands/UpdateRecordsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -160
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +1 -7
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/CognitoSync.js +0 -1
- package/{dist/es → dist-es}/CognitoSyncClient.js +1 -2
- package/{dist/es → dist-es}/commands/BulkPublishCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteDatasetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeDatasetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeIdentityPoolUsageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeIdentityUsageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBulkPublishDetailsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetCognitoEventsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetIdentityPoolConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListDatasetsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListIdentityPoolUsageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListRecordsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RegisterDeviceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SetCognitoEventsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SetIdentityPoolConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SubscribeToDatasetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UnsubscribeFromDatasetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateRecordsCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/CognitoSync.d.ts +1 -1
- package/{dist/types → dist-types}/CognitoSyncClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/BulkPublishCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDatasetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeDatasetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeIdentityPoolUsageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeIdentityUsageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBulkPublishDetailsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetCognitoEventsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetIdentityPoolConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDatasetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListIdentityPoolUsageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRecordsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RegisterDeviceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetCognitoEventsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetIdentityPoolConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SubscribeToDatasetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UnsubscribeFromDatasetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateRecordsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/CognitoSync.d.ts +90 -0
- package/{dist/types → dist-types}/ts3.4/CognitoSyncClient.d.ts +32 -109
- package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +670 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/CognitoSync.ts +0 -1129
- package/CognitoSyncClient.ts +0 -319
- package/commands/BulkPublishCommand.ts +0 -94
- package/commands/DeleteDatasetCommand.ts +0 -98
- package/commands/DescribeDatasetCommand.ts +0 -97
- package/commands/DescribeIdentityPoolUsageCommand.ts +0 -145
- package/commands/DescribeIdentityUsageCommand.ts +0 -143
- package/commands/GetBulkPublishDetailsCommand.ts +0 -94
- package/commands/GetCognitoEventsCommand.ts +0 -94
- package/commands/GetIdentityPoolConfigurationCommand.ts +0 -145
- package/commands/ListDatasetsCommand.ts +0 -152
- package/commands/ListIdentityPoolUsageCommand.ts +0 -152
- package/commands/ListRecordsCommand.ts +0 -149
- package/commands/RegisterDeviceCommand.ts +0 -138
- package/commands/SetCognitoEventsCommand.ts +0 -94
- package/commands/SetIdentityPoolConfigurationCommand.ts +0 -149
- package/commands/SubscribeToDatasetCommand.ts +0 -137
- package/commands/UnsubscribeFromDatasetCommand.ts +0 -138
- package/commands/UpdateRecordsCommand.ts +0 -96
- package/dist/cjs/CognitoSync.js.map +0 -1
- package/dist/cjs/CognitoSyncClient.js +0 -56
- package/dist/cjs/CognitoSyncClient.js.map +0 -1
- package/dist/cjs/commands/BulkPublishCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDatasetCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDatasetCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeIdentityPoolUsageCommand.js +0 -109
- package/dist/cjs/commands/DescribeIdentityPoolUsageCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeIdentityUsageCommand.js +0 -110
- package/dist/cjs/commands/DescribeIdentityUsageCommand.js.map +0 -1
- package/dist/cjs/commands/GetBulkPublishDetailsCommand.js.map +0 -1
- package/dist/cjs/commands/GetCognitoEventsCommand.js.map +0 -1
- package/dist/cjs/commands/GetIdentityPoolConfigurationCommand.js +0 -107
- package/dist/cjs/commands/GetIdentityPoolConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/ListDatasetsCommand.js +0 -119
- package/dist/cjs/commands/ListDatasetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListIdentityPoolUsageCommand.js +0 -119
- package/dist/cjs/commands/ListIdentityPoolUsageCommand.js.map +0 -1
- package/dist/cjs/commands/ListRecordsCommand.js +0 -116
- package/dist/cjs/commands/ListRecordsCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterDeviceCommand.js +0 -105
- package/dist/cjs/commands/RegisterDeviceCommand.js.map +0 -1
- package/dist/cjs/commands/SetCognitoEventsCommand.js.map +0 -1
- package/dist/cjs/commands/SetIdentityPoolConfigurationCommand.js +0 -111
- package/dist/cjs/commands/SetIdentityPoolConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/SubscribeToDatasetCommand.js +0 -104
- package/dist/cjs/commands/SubscribeToDatasetCommand.js.map +0 -1
- package/dist/cjs/commands/UnsubscribeFromDatasetCommand.js +0 -105
- package/dist/cjs/commands/UnsubscribeFromDatasetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRecordsCommand.js +0 -63
- package/dist/cjs/commands/UpdateRecordsCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/CognitoSync.js.map +0 -1
- package/dist/es/CognitoSyncClient.js.map +0 -1
- package/dist/es/commands/BulkPublishCommand.js.map +0 -1
- package/dist/es/commands/DeleteDatasetCommand.js.map +0 -1
- package/dist/es/commands/DescribeDatasetCommand.js.map +0 -1
- package/dist/es/commands/DescribeIdentityPoolUsageCommand.js.map +0 -1
- package/dist/es/commands/DescribeIdentityUsageCommand.js.map +0 -1
- package/dist/es/commands/GetBulkPublishDetailsCommand.js.map +0 -1
- package/dist/es/commands/GetCognitoEventsCommand.js.map +0 -1
- package/dist/es/commands/GetIdentityPoolConfigurationCommand.js.map +0 -1
- package/dist/es/commands/ListDatasetsCommand.js.map +0 -1
- package/dist/es/commands/ListIdentityPoolUsageCommand.js.map +0 -1
- package/dist/es/commands/ListRecordsCommand.js.map +0 -1
- package/dist/es/commands/RegisterDeviceCommand.js.map +0 -1
- package/dist/es/commands/SetCognitoEventsCommand.js.map +0 -1
- package/dist/es/commands/SetIdentityPoolConfigurationCommand.js.map +0 -1
- package/dist/es/commands/SubscribeToDatasetCommand.js.map +0 -1
- package/dist/es/commands/UnsubscribeFromDatasetCommand.js.map +0 -1
- package/dist/es/commands/UpdateRecordsCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -21
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/CognitoSync.d.ts +0 -642
- package/dist/types/ts3.4/commands/BulkPublishCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteDatasetCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/DescribeDatasetCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +0 -83
- package/dist/types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +0 -84
- package/dist/types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetCognitoEventsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +0 -81
- package/dist/types/ts3.4/commands/ListDatasetsCommand.d.ts +0 -93
- package/dist/types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +0 -93
- package/dist/types/ts3.4/commands/ListRecordsCommand.d.ts +0 -90
- package/dist/types/ts3.4/commands/RegisterDeviceCommand.d.ts +0 -79
- package/dist/types/ts3.4/commands/SetCognitoEventsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +0 -85
- package/dist/types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +0 -78
- package/dist/types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +0 -79
- package/dist/types/ts3.4/commands/UpdateRecordsCommand.d.ts +0 -37
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1289
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1578
- package/protocols/Aws_restJson1.ts +0 -2879
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
34
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
35
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
* **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
|
|
47
|
+
* **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
|
|
7
54
|
|
|
8
55
|
|
|
@@ -19,21 +19,6 @@ const SetIdentityPoolConfigurationCommand_1 = require("./commands/SetIdentityPoo
|
|
|
19
19
|
const SubscribeToDatasetCommand_1 = require("./commands/SubscribeToDatasetCommand");
|
|
20
20
|
const UnsubscribeFromDatasetCommand_1 = require("./commands/UnsubscribeFromDatasetCommand");
|
|
21
21
|
const UpdateRecordsCommand_1 = require("./commands/UpdateRecordsCommand");
|
|
22
|
-
/**
|
|
23
|
-
* <fullname>Amazon Cognito Sync</fullname>
|
|
24
|
-
* <p>Amazon Cognito Sync provides an AWS service and client library that enable cross-device syncing of
|
|
25
|
-
* application-related user data. High-level client libraries are available for both iOS and
|
|
26
|
-
* Android. You can use these libraries to persist data locally so that it's available even if
|
|
27
|
-
* the device is offline. Developer credentials don't need to be stored on the mobile device
|
|
28
|
-
* to access the service. You can use Amazon Cognito to obtain a normalized user ID and
|
|
29
|
-
* credentials. User data is persisted in a dataset that can store up to 1 MB of key-value
|
|
30
|
-
* pairs, and you can have up to 20 datasets per user identity.</p>
|
|
31
|
-
* <p>With Amazon Cognito Sync, the data stored for each identity is accessible only to
|
|
32
|
-
* credentials assigned to that identity. In order to use the Cognito Sync service, you need
|
|
33
|
-
* 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>
|
|
34
|
-
* <p>If you want to use Cognito Sync in an Android or iOS application, you will probably want to
|
|
35
|
-
* 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>
|
|
36
|
-
*/
|
|
37
22
|
class CognitoSync extends CognitoSyncClient_1.CognitoSyncClient {
|
|
38
23
|
bulkPublish(args, optionsOrCb, cb) {
|
|
39
24
|
const command = new BulkPublishCommand_1.BulkPublishCommand(args);
|
|
@@ -275,4 +260,3 @@ class CognitoSync extends CognitoSyncClient_1.CognitoSyncClient {
|
|
|
275
260
|
}
|
|
276
261
|
}
|
|
277
262
|
exports.CognitoSync = CognitoSync;
|
|
278
|
-
//# sourceMappingURL=CognitoSync.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CognitoSyncClient = void 0;
|
|
4
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
+
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
|
+
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
|
+
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
|
+
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
+
class CognitoSyncClient extends smithy_client_1.Client {
|
|
14
|
+
constructor(configuration) {
|
|
15
|
+
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
+
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
+
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
+
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
+
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
+
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
+
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
22
|
+
super(_config_6);
|
|
23
|
+
this.config = _config_6;
|
|
24
|
+
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
29
|
+
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
30
|
+
}
|
|
31
|
+
destroy() {
|
|
32
|
+
super.destroy();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.CognitoSyncClient = CognitoSyncClient;
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BulkPublishCommand = 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
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CognitoSyncClient, BulkPublishCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
|
|
14
|
-
* // const { CognitoSyncClient, BulkPublishCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
|
|
15
|
-
* const client = new CognitoSyncClient(config);
|
|
16
|
-
* const command = new BulkPublishCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link BulkPublishCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link BulkPublishCommandOutput} 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 BulkPublishCommand 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 BulkPublishCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.BulkPublishCommand = BulkPublishCommand;
|
|
61
|
-
//# sourceMappingURL=BulkPublishCommand.js.map
|
|
@@ -1,43 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteDatasetCommand = 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
|
-
|
|
10
|
-
* be undone. Datasets that this dataset was merged with will no longer report the merge. Any
|
|
11
|
-
* subsequent operation on this dataset will result in a
|
|
12
|
-
* ResourceNotFoundException.</p>
|
|
13
|
-
* <p>This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { CognitoSyncClient, DeleteDatasetCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
|
|
18
|
-
* // const { CognitoSyncClient, DeleteDatasetCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
|
|
19
|
-
* const client = new CognitoSyncClient(config);
|
|
20
|
-
* const command = new DeleteDatasetCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DeleteDatasetCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DeleteDatasetCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link CognitoSyncClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
29
8
|
class DeleteDatasetCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +34,3 @@ class DeleteDatasetCommand extends smithy_client_1.Command {
|
|
|
62
34
|
}
|
|
63
35
|
}
|
|
64
36
|
exports.DeleteDatasetCommand = DeleteDatasetCommand;
|
|
65
|
-
//# sourceMappingURL=DeleteDatasetCommand.js.map
|
|
@@ -1,42 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DescribeDatasetCommand = 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
|
-
|
|
10
|
-
* identity has access only to its own data. Thus, the credentials used to make this API call
|
|
11
|
-
* need to have access to the identity data.</p>
|
|
12
|
-
* <p>This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials. You should use Cognito Identity credentials to make this API call.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { CognitoSyncClient, DescribeDatasetCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
|
|
17
|
-
* // const { CognitoSyncClient, DescribeDatasetCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
|
|
18
|
-
* const client = new CognitoSyncClient(config);
|
|
19
|
-
* const command = new DescribeDatasetCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DescribeDatasetCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DescribeDatasetCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link CognitoSyncClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
28
8
|
class DescribeDatasetCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -61,4 +34,3 @@ class DescribeDatasetCommand extends smithy_client_1.Command {
|
|
|
61
34
|
}
|
|
62
35
|
}
|
|
63
36
|
exports.DescribeDatasetCommand = DescribeDatasetCommand;
|
|
64
|
-
//# sourceMappingURL=DescribeDatasetCommand.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeIdentityPoolUsageCommand = 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 DescribeIdentityPoolUsageCommand 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 = "DescribeIdentityPoolUsageCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeIdentityPoolUsageRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeIdentityPoolUsageResponse.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_restJson1DescribeIdentityPoolUsageCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1DescribeIdentityPoolUsageCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeIdentityPoolUsageCommand = DescribeIdentityPoolUsageCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeIdentityUsageCommand = 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 DescribeIdentityUsageCommand 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 = "DescribeIdentityUsageCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeIdentityUsageRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeIdentityUsageResponse.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_restJson1DescribeIdentityUsageCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1DescribeIdentityUsageCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeIdentityUsageCommand = DescribeIdentityUsageCommand;
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBulkPublishDetailsCommand = 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
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CognitoSyncClient, GetBulkPublishDetailsCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
|
|
14
|
-
* // const { CognitoSyncClient, GetBulkPublishDetailsCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
|
|
15
|
-
* const client = new CognitoSyncClient(config);
|
|
16
|
-
* const command = new GetBulkPublishDetailsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetBulkPublishDetailsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetBulkPublishDetailsCommandOutput} 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 GetBulkPublishDetailsCommand 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 GetBulkPublishDetailsCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetBulkPublishDetailsCommand = GetBulkPublishDetailsCommand;
|
|
61
|
-
//# sourceMappingURL=GetBulkPublishDetailsCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetCognitoEventsCommand = 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
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CognitoSyncClient, GetCognitoEventsCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
|
|
14
|
-
* // const { CognitoSyncClient, GetCognitoEventsCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
|
|
15
|
-
* const client = new CognitoSyncClient(config);
|
|
16
|
-
* const command = new GetCognitoEventsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetCognitoEventsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetCognitoEventsCommandOutput} 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 GetCognitoEventsCommand 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 GetCognitoEventsCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetCognitoEventsCommand = GetCognitoEventsCommand;
|
|
61
|
-
//# sourceMappingURL=GetCognitoEventsCommand.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetIdentityPoolConfigurationCommand = 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 GetIdentityPoolConfigurationCommand 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 = "GetIdentityPoolConfigurationCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetIdentityPoolConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetIdentityPoolConfigurationResponse.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_restJson1GetIdentityPoolConfigurationCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetIdentityPoolConfigurationCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetIdentityPoolConfigurationCommand = GetIdentityPoolConfigurationCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListDatasetsCommand = 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 ListDatasetsCommand 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 = "ListDatasetsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListDatasetsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListDatasetsResponse.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_restJson1ListDatasetsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListDatasetsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListDatasetsCommand = ListDatasetsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListIdentityPoolUsageCommand = 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 ListIdentityPoolUsageCommand 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 = "ListIdentityPoolUsageCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListIdentityPoolUsageRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListIdentityPoolUsageResponse.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_restJson1ListIdentityPoolUsageCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListIdentityPoolUsageCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListIdentityPoolUsageCommand = ListIdentityPoolUsageCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRecordsCommand = 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 ListRecordsCommand 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 = "ListRecordsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListRecordsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListRecordsResponse.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_restJson1ListRecordsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListRecordsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListRecordsCommand = ListRecordsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RegisterDeviceCommand = 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 RegisterDeviceCommand 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 = "RegisterDeviceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.RegisterDeviceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.RegisterDeviceResponse.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_restJson1RegisterDeviceCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1RegisterDeviceCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.RegisterDeviceCommand = RegisterDeviceCommand;
|