@aws-sdk/client-cognito-sync 3.46.0 → 3.47.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 +11 -0
- package/dist-cjs/models/models_0.js +1 -80
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/models/models_0.js +0 -52
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/CognitoSyncClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -78
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/CognitoSyncClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -52
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateRecordsResponse = exports.UpdateRecordsRequest = exports.RecordPatch = exports.LimitExceededException = void 0;
|
|
5
|
-
var AlreadyStreamedException;
|
|
6
|
-
(function (AlreadyStreamedException) {
|
|
7
|
-
AlreadyStreamedException.filterSensitiveLog = (obj) => ({
|
|
8
|
-
...obj,
|
|
9
|
-
});
|
|
10
|
-
})(AlreadyStreamedException = exports.AlreadyStreamedException || (exports.AlreadyStreamedException = {}));
|
|
3
|
+
exports.UpdateRecordsResponse = exports.UpdateRecordsRequest = exports.RecordPatch = exports.UnsubscribeFromDatasetResponse = exports.UnsubscribeFromDatasetRequest = exports.SubscribeToDatasetResponse = exports.SubscribeToDatasetRequest = exports.SetIdentityPoolConfigurationResponse = exports.SetIdentityPoolConfigurationRequest = exports.SetCognitoEventsRequest = exports.RegisterDeviceResponse = exports.RegisterDeviceRequest = exports.ListRecordsResponse = exports._Record = exports.ListRecordsRequest = exports.ListIdentityPoolUsageResponse = exports.ListIdentityPoolUsageRequest = exports.ListDatasetsResponse = exports.ListDatasetsRequest = exports.GetIdentityPoolConfigurationResponse = exports.PushSync = exports.CognitoStreams = exports.GetIdentityPoolConfigurationRequest = exports.GetCognitoEventsResponse = exports.GetCognitoEventsRequest = exports.GetBulkPublishDetailsResponse = exports.BulkPublishStatus = exports.GetBulkPublishDetailsRequest = exports.DescribeIdentityUsageResponse = exports.IdentityUsage = exports.DescribeIdentityUsageRequest = exports.DescribeIdentityPoolUsageResponse = exports.IdentityPoolUsage = exports.DescribeIdentityPoolUsageRequest = exports.DescribeDatasetResponse = exports.DescribeDatasetRequest = exports.DeleteDatasetResponse = exports.Dataset = exports.DeleteDatasetRequest = exports.BulkPublishResponse = exports.BulkPublishRequest = void 0;
|
|
11
4
|
var BulkPublishRequest;
|
|
12
5
|
(function (BulkPublishRequest) {
|
|
13
6
|
BulkPublishRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -20,36 +13,6 @@ var BulkPublishResponse;
|
|
|
20
13
|
...obj,
|
|
21
14
|
});
|
|
22
15
|
})(BulkPublishResponse = exports.BulkPublishResponse || (exports.BulkPublishResponse = {}));
|
|
23
|
-
var DuplicateRequestException;
|
|
24
|
-
(function (DuplicateRequestException) {
|
|
25
|
-
DuplicateRequestException.filterSensitiveLog = (obj) => ({
|
|
26
|
-
...obj,
|
|
27
|
-
});
|
|
28
|
-
})(DuplicateRequestException = exports.DuplicateRequestException || (exports.DuplicateRequestException = {}));
|
|
29
|
-
var InternalErrorException;
|
|
30
|
-
(function (InternalErrorException) {
|
|
31
|
-
InternalErrorException.filterSensitiveLog = (obj) => ({
|
|
32
|
-
...obj,
|
|
33
|
-
});
|
|
34
|
-
})(InternalErrorException = exports.InternalErrorException || (exports.InternalErrorException = {}));
|
|
35
|
-
var InvalidParameterException;
|
|
36
|
-
(function (InvalidParameterException) {
|
|
37
|
-
InvalidParameterException.filterSensitiveLog = (obj) => ({
|
|
38
|
-
...obj,
|
|
39
|
-
});
|
|
40
|
-
})(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
|
|
41
|
-
var NotAuthorizedException;
|
|
42
|
-
(function (NotAuthorizedException) {
|
|
43
|
-
NotAuthorizedException.filterSensitiveLog = (obj) => ({
|
|
44
|
-
...obj,
|
|
45
|
-
});
|
|
46
|
-
})(NotAuthorizedException = exports.NotAuthorizedException || (exports.NotAuthorizedException = {}));
|
|
47
|
-
var ResourceNotFoundException;
|
|
48
|
-
(function (ResourceNotFoundException) {
|
|
49
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
50
|
-
...obj,
|
|
51
|
-
});
|
|
52
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
53
16
|
var DeleteDatasetRequest;
|
|
54
17
|
(function (DeleteDatasetRequest) {
|
|
55
18
|
DeleteDatasetRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -68,18 +31,6 @@ var DeleteDatasetResponse;
|
|
|
68
31
|
...obj,
|
|
69
32
|
});
|
|
70
33
|
})(DeleteDatasetResponse = exports.DeleteDatasetResponse || (exports.DeleteDatasetResponse = {}));
|
|
71
|
-
var ResourceConflictException;
|
|
72
|
-
(function (ResourceConflictException) {
|
|
73
|
-
ResourceConflictException.filterSensitiveLog = (obj) => ({
|
|
74
|
-
...obj,
|
|
75
|
-
});
|
|
76
|
-
})(ResourceConflictException = exports.ResourceConflictException || (exports.ResourceConflictException = {}));
|
|
77
|
-
var TooManyRequestsException;
|
|
78
|
-
(function (TooManyRequestsException) {
|
|
79
|
-
TooManyRequestsException.filterSensitiveLog = (obj) => ({
|
|
80
|
-
...obj,
|
|
81
|
-
});
|
|
82
|
-
})(TooManyRequestsException = exports.TooManyRequestsException || (exports.TooManyRequestsException = {}));
|
|
83
34
|
var DescribeDatasetRequest;
|
|
84
35
|
(function (DescribeDatasetRequest) {
|
|
85
36
|
DescribeDatasetRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -225,12 +176,6 @@ var ListRecordsResponse;
|
|
|
225
176
|
...obj,
|
|
226
177
|
});
|
|
227
178
|
})(ListRecordsResponse = exports.ListRecordsResponse || (exports.ListRecordsResponse = {}));
|
|
228
|
-
var InvalidConfigurationException;
|
|
229
|
-
(function (InvalidConfigurationException) {
|
|
230
|
-
InvalidConfigurationException.filterSensitiveLog = (obj) => ({
|
|
231
|
-
...obj,
|
|
232
|
-
});
|
|
233
|
-
})(InvalidConfigurationException = exports.InvalidConfigurationException || (exports.InvalidConfigurationException = {}));
|
|
234
179
|
var RegisterDeviceRequest;
|
|
235
180
|
(function (RegisterDeviceRequest) {
|
|
236
181
|
RegisterDeviceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -249,12 +194,6 @@ var SetCognitoEventsRequest;
|
|
|
249
194
|
...obj,
|
|
250
195
|
});
|
|
251
196
|
})(SetCognitoEventsRequest = exports.SetCognitoEventsRequest || (exports.SetCognitoEventsRequest = {}));
|
|
252
|
-
var ConcurrentModificationException;
|
|
253
|
-
(function (ConcurrentModificationException) {
|
|
254
|
-
ConcurrentModificationException.filterSensitiveLog = (obj) => ({
|
|
255
|
-
...obj,
|
|
256
|
-
});
|
|
257
|
-
})(ConcurrentModificationException = exports.ConcurrentModificationException || (exports.ConcurrentModificationException = {}));
|
|
258
197
|
var SetIdentityPoolConfigurationRequest;
|
|
259
198
|
(function (SetIdentityPoolConfigurationRequest) {
|
|
260
199
|
SetIdentityPoolConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -291,24 +230,6 @@ var UnsubscribeFromDatasetResponse;
|
|
|
291
230
|
...obj,
|
|
292
231
|
});
|
|
293
232
|
})(UnsubscribeFromDatasetResponse = exports.UnsubscribeFromDatasetResponse || (exports.UnsubscribeFromDatasetResponse = {}));
|
|
294
|
-
var InvalidLambdaFunctionOutputException;
|
|
295
|
-
(function (InvalidLambdaFunctionOutputException) {
|
|
296
|
-
InvalidLambdaFunctionOutputException.filterSensitiveLog = (obj) => ({
|
|
297
|
-
...obj,
|
|
298
|
-
});
|
|
299
|
-
})(InvalidLambdaFunctionOutputException = exports.InvalidLambdaFunctionOutputException || (exports.InvalidLambdaFunctionOutputException = {}));
|
|
300
|
-
var LambdaThrottledException;
|
|
301
|
-
(function (LambdaThrottledException) {
|
|
302
|
-
LambdaThrottledException.filterSensitiveLog = (obj) => ({
|
|
303
|
-
...obj,
|
|
304
|
-
});
|
|
305
|
-
})(LambdaThrottledException = exports.LambdaThrottledException || (exports.LambdaThrottledException = {}));
|
|
306
|
-
var LimitExceededException;
|
|
307
|
-
(function (LimitExceededException) {
|
|
308
|
-
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
309
|
-
...obj,
|
|
310
|
-
});
|
|
311
|
-
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
312
233
|
var RecordPatch;
|
|
313
234
|
(function (RecordPatch) {
|
|
314
235
|
RecordPatch.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
18
20
|
const getRuntimeConfig = (config) => {
|
|
19
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
20
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
21
25
|
return {
|
|
22
26
|
...clientSharedValues,
|
|
23
27
|
...config,
|
|
24
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
25
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
26
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
27
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
29
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
31
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
33
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
34
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
35
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
36
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
export var AlreadyStreamedException;
|
|
3
|
-
(function (AlreadyStreamedException) {
|
|
4
|
-
AlreadyStreamedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
-
})(AlreadyStreamedException || (AlreadyStreamedException = {}));
|
|
6
2
|
export var BulkPublishRequest;
|
|
7
3
|
(function (BulkPublishRequest) {
|
|
8
4
|
BulkPublishRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -11,26 +7,6 @@ export var BulkPublishResponse;
|
|
|
11
7
|
(function (BulkPublishResponse) {
|
|
12
8
|
BulkPublishResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
9
|
})(BulkPublishResponse || (BulkPublishResponse = {}));
|
|
14
|
-
export var DuplicateRequestException;
|
|
15
|
-
(function (DuplicateRequestException) {
|
|
16
|
-
DuplicateRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
|
-
})(DuplicateRequestException || (DuplicateRequestException = {}));
|
|
18
|
-
export var InternalErrorException;
|
|
19
|
-
(function (InternalErrorException) {
|
|
20
|
-
InternalErrorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
-
})(InternalErrorException || (InternalErrorException = {}));
|
|
22
|
-
export var InvalidParameterException;
|
|
23
|
-
(function (InvalidParameterException) {
|
|
24
|
-
InvalidParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
25
|
-
})(InvalidParameterException || (InvalidParameterException = {}));
|
|
26
|
-
export var NotAuthorizedException;
|
|
27
|
-
(function (NotAuthorizedException) {
|
|
28
|
-
NotAuthorizedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
|
-
})(NotAuthorizedException || (NotAuthorizedException = {}));
|
|
30
|
-
export var ResourceNotFoundException;
|
|
31
|
-
(function (ResourceNotFoundException) {
|
|
32
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
34
10
|
export var DeleteDatasetRequest;
|
|
35
11
|
(function (DeleteDatasetRequest) {
|
|
36
12
|
DeleteDatasetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -43,14 +19,6 @@ export var DeleteDatasetResponse;
|
|
|
43
19
|
(function (DeleteDatasetResponse) {
|
|
44
20
|
DeleteDatasetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
21
|
})(DeleteDatasetResponse || (DeleteDatasetResponse = {}));
|
|
46
|
-
export var ResourceConflictException;
|
|
47
|
-
(function (ResourceConflictException) {
|
|
48
|
-
ResourceConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
|
-
})(ResourceConflictException || (ResourceConflictException = {}));
|
|
50
|
-
export var TooManyRequestsException;
|
|
51
|
-
(function (TooManyRequestsException) {
|
|
52
|
-
TooManyRequestsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
53
|
-
})(TooManyRequestsException || (TooManyRequestsException = {}));
|
|
54
22
|
export var DescribeDatasetRequest;
|
|
55
23
|
(function (DescribeDatasetRequest) {
|
|
56
24
|
DescribeDatasetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -150,10 +118,6 @@ export var ListRecordsResponse;
|
|
|
150
118
|
(function (ListRecordsResponse) {
|
|
151
119
|
ListRecordsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
152
120
|
})(ListRecordsResponse || (ListRecordsResponse = {}));
|
|
153
|
-
export var InvalidConfigurationException;
|
|
154
|
-
(function (InvalidConfigurationException) {
|
|
155
|
-
InvalidConfigurationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
156
|
-
})(InvalidConfigurationException || (InvalidConfigurationException = {}));
|
|
157
121
|
export var RegisterDeviceRequest;
|
|
158
122
|
(function (RegisterDeviceRequest) {
|
|
159
123
|
RegisterDeviceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -166,10 +130,6 @@ export var SetCognitoEventsRequest;
|
|
|
166
130
|
(function (SetCognitoEventsRequest) {
|
|
167
131
|
SetCognitoEventsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
132
|
})(SetCognitoEventsRequest || (SetCognitoEventsRequest = {}));
|
|
169
|
-
export var ConcurrentModificationException;
|
|
170
|
-
(function (ConcurrentModificationException) {
|
|
171
|
-
ConcurrentModificationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
172
|
-
})(ConcurrentModificationException || (ConcurrentModificationException = {}));
|
|
173
133
|
export var SetIdentityPoolConfigurationRequest;
|
|
174
134
|
(function (SetIdentityPoolConfigurationRequest) {
|
|
175
135
|
SetIdentityPoolConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -194,18 +154,6 @@ export var UnsubscribeFromDatasetResponse;
|
|
|
194
154
|
(function (UnsubscribeFromDatasetResponse) {
|
|
195
155
|
UnsubscribeFromDatasetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
156
|
})(UnsubscribeFromDatasetResponse || (UnsubscribeFromDatasetResponse = {}));
|
|
197
|
-
export var InvalidLambdaFunctionOutputException;
|
|
198
|
-
(function (InvalidLambdaFunctionOutputException) {
|
|
199
|
-
InvalidLambdaFunctionOutputException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
200
|
-
})(InvalidLambdaFunctionOutputException || (InvalidLambdaFunctionOutputException = {}));
|
|
201
|
-
export var LambdaThrottledException;
|
|
202
|
-
(function (LambdaThrottledException) {
|
|
203
|
-
LambdaThrottledException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
204
|
-
})(LambdaThrottledException || (LambdaThrottledException = {}));
|
|
205
|
-
export var LimitExceededException;
|
|
206
|
-
(function (LimitExceededException) {
|
|
207
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
208
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
209
157
|
export var RecordPatch;
|
|
210
158
|
(function (RecordPatch) {
|
|
211
159
|
RecordPatch.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
17
|
export var getRuntimeConfig = function (config) {
|
|
16
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
17
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
19
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { BulkPublishCommandInput, BulkPublishCommandOutput } from "./commands/BulkPublishCommand";
|
|
10
10
|
import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
|
|
@@ -125,6 +125,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
125
125
|
* @internal
|
|
126
126
|
*/
|
|
127
127
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
128
|
+
/**
|
|
129
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
130
|
+
*/
|
|
131
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
128
132
|
}
|
|
129
133
|
declare type CognitoSyncClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
130
134
|
/**
|
|
@@ -10,12 +10,6 @@ export interface AlreadyStreamedException extends __SmithyException, $MetadataBe
|
|
|
10
10
|
*/
|
|
11
11
|
message: string | undefined;
|
|
12
12
|
}
|
|
13
|
-
export declare namespace AlreadyStreamedException {
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
const filterSensitiveLog: (obj: AlreadyStreamedException) => any;
|
|
18
|
-
}
|
|
19
13
|
/**
|
|
20
14
|
* The input for the BulkPublish operation.
|
|
21
15
|
*/
|
|
@@ -61,12 +55,6 @@ export interface DuplicateRequestException extends __SmithyException, $MetadataB
|
|
|
61
55
|
*/
|
|
62
56
|
message: string | undefined;
|
|
63
57
|
}
|
|
64
|
-
export declare namespace DuplicateRequestException {
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
const filterSensitiveLog: (obj: DuplicateRequestException) => any;
|
|
69
|
-
}
|
|
70
58
|
/**
|
|
71
59
|
* Indicates an internal service
|
|
72
60
|
* error.
|
|
@@ -80,12 +68,6 @@ export interface InternalErrorException extends __SmithyException, $MetadataBear
|
|
|
80
68
|
*/
|
|
81
69
|
message: string | undefined;
|
|
82
70
|
}
|
|
83
|
-
export declare namespace InternalErrorException {
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
const filterSensitiveLog: (obj: InternalErrorException) => any;
|
|
88
|
-
}
|
|
89
71
|
/**
|
|
90
72
|
* Thrown when a request parameter does not comply
|
|
91
73
|
* with the associated constraints.
|
|
@@ -99,12 +81,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
99
81
|
*/
|
|
100
82
|
message: string | undefined;
|
|
101
83
|
}
|
|
102
|
-
export declare namespace InvalidParameterException {
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
107
|
-
}
|
|
108
84
|
/**
|
|
109
85
|
* Thrown when a user is not authorized to access the
|
|
110
86
|
* requested resource.
|
|
@@ -118,12 +94,6 @@ export interface NotAuthorizedException extends __SmithyException, $MetadataBear
|
|
|
118
94
|
*/
|
|
119
95
|
message: string | undefined;
|
|
120
96
|
}
|
|
121
|
-
export declare namespace NotAuthorizedException {
|
|
122
|
-
/**
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
|
-
const filterSensitiveLog: (obj: NotAuthorizedException) => any;
|
|
126
|
-
}
|
|
127
97
|
/**
|
|
128
98
|
* Thrown if the resource doesn't
|
|
129
99
|
* exist.
|
|
@@ -137,12 +107,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
137
107
|
*/
|
|
138
108
|
message: string | undefined;
|
|
139
109
|
}
|
|
140
|
-
export declare namespace ResourceNotFoundException {
|
|
141
|
-
/**
|
|
142
|
-
* @internal
|
|
143
|
-
*/
|
|
144
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
145
|
-
}
|
|
146
110
|
/**
|
|
147
111
|
* A request to delete the specific
|
|
148
112
|
* dataset.
|
|
@@ -256,12 +220,6 @@ export interface ResourceConflictException extends __SmithyException, $MetadataB
|
|
|
256
220
|
*/
|
|
257
221
|
message: string | undefined;
|
|
258
222
|
}
|
|
259
|
-
export declare namespace ResourceConflictException {
|
|
260
|
-
/**
|
|
261
|
-
* @internal
|
|
262
|
-
*/
|
|
263
|
-
const filterSensitiveLog: (obj: ResourceConflictException) => any;
|
|
264
|
-
}
|
|
265
223
|
/**
|
|
266
224
|
* Thrown if the request is
|
|
267
225
|
* throttled.
|
|
@@ -275,12 +233,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
|
|
|
275
233
|
*/
|
|
276
234
|
message: string | undefined;
|
|
277
235
|
}
|
|
278
|
-
export declare namespace TooManyRequestsException {
|
|
279
|
-
/**
|
|
280
|
-
* @internal
|
|
281
|
-
*/
|
|
282
|
-
const filterSensitiveLog: (obj: TooManyRequestsException) => any;
|
|
283
|
-
}
|
|
284
236
|
/**
|
|
285
237
|
* A request for meta data about a dataset (creation
|
|
286
238
|
* date, number of records, size) by owner and dataset name.
|
|
@@ -918,12 +870,6 @@ export interface InvalidConfigurationException extends __SmithyException, $Metad
|
|
|
918
870
|
*/
|
|
919
871
|
message: string | undefined;
|
|
920
872
|
}
|
|
921
|
-
export declare namespace InvalidConfigurationException {
|
|
922
|
-
/**
|
|
923
|
-
* @internal
|
|
924
|
-
*/
|
|
925
|
-
const filterSensitiveLog: (obj: InvalidConfigurationException) => any;
|
|
926
|
-
}
|
|
927
873
|
export declare type Platform = "ADM" | "APNS" | "APNS_SANDBOX" | "GCM";
|
|
928
874
|
/**
|
|
929
875
|
* <p>A request to RegisterDevice.</p>
|
|
@@ -1000,12 +946,6 @@ export interface ConcurrentModificationException extends __SmithyException, $Met
|
|
|
1000
946
|
*/
|
|
1001
947
|
message: string | undefined;
|
|
1002
948
|
}
|
|
1003
|
-
export declare namespace ConcurrentModificationException {
|
|
1004
|
-
/**
|
|
1005
|
-
* @internal
|
|
1006
|
-
*/
|
|
1007
|
-
const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
|
|
1008
|
-
}
|
|
1009
949
|
/**
|
|
1010
950
|
* <p>The input for the SetIdentityPoolConfiguration operation.</p>
|
|
1011
951
|
*/
|
|
@@ -1143,12 +1083,6 @@ export interface InvalidLambdaFunctionOutputException extends __SmithyException,
|
|
|
1143
1083
|
*/
|
|
1144
1084
|
message: string | undefined;
|
|
1145
1085
|
}
|
|
1146
|
-
export declare namespace InvalidLambdaFunctionOutputException {
|
|
1147
|
-
/**
|
|
1148
|
-
* @internal
|
|
1149
|
-
*/
|
|
1150
|
-
const filterSensitiveLog: (obj: InvalidLambdaFunctionOutputException) => any;
|
|
1151
|
-
}
|
|
1152
1086
|
/**
|
|
1153
1087
|
* <p>AWS Lambda throttled your account, please contact AWS Support</p>
|
|
1154
1088
|
*/
|
|
@@ -1160,12 +1094,6 @@ export interface LambdaThrottledException extends __SmithyException, $MetadataBe
|
|
|
1160
1094
|
*/
|
|
1161
1095
|
message: string | undefined;
|
|
1162
1096
|
}
|
|
1163
|
-
export declare namespace LambdaThrottledException {
|
|
1164
|
-
/**
|
|
1165
|
-
* @internal
|
|
1166
|
-
*/
|
|
1167
|
-
const filterSensitiveLog: (obj: LambdaThrottledException) => any;
|
|
1168
|
-
}
|
|
1169
1097
|
/**
|
|
1170
1098
|
* Thrown when the limit on the number of objects or
|
|
1171
1099
|
* operations has been exceeded.
|
|
@@ -1179,12 +1107,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
1179
1107
|
*/
|
|
1180
1108
|
message: string | undefined;
|
|
1181
1109
|
}
|
|
1182
|
-
export declare namespace LimitExceededException {
|
|
1183
|
-
/**
|
|
1184
|
-
* @internal
|
|
1185
|
-
*/
|
|
1186
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
1187
|
-
}
|
|
1188
1110
|
export declare type Operation = "remove" | "replace";
|
|
1189
1111
|
/**
|
|
1190
1112
|
* An update operation for a record.
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { CognitoSyncClientConfig } from "./CognitoSyncClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { CognitoSyncClientConfig } from "./CognitoSyncClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { BulkPublishCommandInput, BulkPublishCommandOutput } from "./commands/BulkPublishCommand";
|
|
10
10
|
import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
|
|
@@ -68,6 +68,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
68
68
|
regionInfoProvider?: RegionInfoProvider;
|
|
69
69
|
|
|
70
70
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
71
|
+
|
|
72
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
71
73
|
}
|
|
72
74
|
declare type CognitoSyncClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
73
75
|
|
|
@@ -6,10 +6,6 @@ export interface AlreadyStreamedException extends __SmithyException, $MetadataBe
|
|
|
6
6
|
|
|
7
7
|
message: string | undefined;
|
|
8
8
|
}
|
|
9
|
-
export declare namespace AlreadyStreamedException {
|
|
10
|
-
|
|
11
|
-
const filterSensitiveLog: (obj: AlreadyStreamedException) => any;
|
|
12
|
-
}
|
|
13
9
|
|
|
14
10
|
export interface BulkPublishRequest {
|
|
15
11
|
|
|
@@ -35,10 +31,6 @@ export interface DuplicateRequestException extends __SmithyException, $MetadataB
|
|
|
35
31
|
|
|
36
32
|
message: string | undefined;
|
|
37
33
|
}
|
|
38
|
-
export declare namespace DuplicateRequestException {
|
|
39
|
-
|
|
40
|
-
const filterSensitiveLog: (obj: DuplicateRequestException) => any;
|
|
41
|
-
}
|
|
42
34
|
|
|
43
35
|
export interface InternalErrorException extends __SmithyException, $MetadataBearer {
|
|
44
36
|
name: "InternalErrorException";
|
|
@@ -46,10 +38,6 @@ export interface InternalErrorException extends __SmithyException, $MetadataBear
|
|
|
46
38
|
|
|
47
39
|
message: string | undefined;
|
|
48
40
|
}
|
|
49
|
-
export declare namespace InternalErrorException {
|
|
50
|
-
|
|
51
|
-
const filterSensitiveLog: (obj: InternalErrorException) => any;
|
|
52
|
-
}
|
|
53
41
|
|
|
54
42
|
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
55
43
|
name: "InvalidParameterException";
|
|
@@ -57,10 +45,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
57
45
|
|
|
58
46
|
message: string | undefined;
|
|
59
47
|
}
|
|
60
|
-
export declare namespace InvalidParameterException {
|
|
61
|
-
|
|
62
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
63
|
-
}
|
|
64
48
|
|
|
65
49
|
export interface NotAuthorizedException extends __SmithyException, $MetadataBearer {
|
|
66
50
|
name: "NotAuthorizedException";
|
|
@@ -68,10 +52,6 @@ export interface NotAuthorizedException extends __SmithyException, $MetadataBear
|
|
|
68
52
|
|
|
69
53
|
message: string | undefined;
|
|
70
54
|
}
|
|
71
|
-
export declare namespace NotAuthorizedException {
|
|
72
|
-
|
|
73
|
-
const filterSensitiveLog: (obj: NotAuthorizedException) => any;
|
|
74
|
-
}
|
|
75
55
|
|
|
76
56
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
77
57
|
name: "ResourceNotFoundException";
|
|
@@ -79,10 +59,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
79
59
|
|
|
80
60
|
message: string | undefined;
|
|
81
61
|
}
|
|
82
|
-
export declare namespace ResourceNotFoundException {
|
|
83
|
-
|
|
84
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
85
|
-
}
|
|
86
62
|
|
|
87
63
|
export interface DeleteDatasetRequest {
|
|
88
64
|
|
|
@@ -133,10 +109,6 @@ export interface ResourceConflictException extends __SmithyException, $MetadataB
|
|
|
133
109
|
|
|
134
110
|
message: string | undefined;
|
|
135
111
|
}
|
|
136
|
-
export declare namespace ResourceConflictException {
|
|
137
|
-
|
|
138
|
-
const filterSensitiveLog: (obj: ResourceConflictException) => any;
|
|
139
|
-
}
|
|
140
112
|
|
|
141
113
|
export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
|
|
142
114
|
name: "TooManyRequestsException";
|
|
@@ -144,10 +116,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
|
|
|
144
116
|
|
|
145
117
|
message: string | undefined;
|
|
146
118
|
}
|
|
147
|
-
export declare namespace TooManyRequestsException {
|
|
148
|
-
|
|
149
|
-
const filterSensitiveLog: (obj: TooManyRequestsException) => any;
|
|
150
|
-
}
|
|
151
119
|
|
|
152
120
|
export interface DescribeDatasetRequest {
|
|
153
121
|
|
|
@@ -464,10 +432,6 @@ export interface InvalidConfigurationException extends __SmithyException, $Metad
|
|
|
464
432
|
|
|
465
433
|
message: string | undefined;
|
|
466
434
|
}
|
|
467
|
-
export declare namespace InvalidConfigurationException {
|
|
468
|
-
|
|
469
|
-
const filterSensitiveLog: (obj: InvalidConfigurationException) => any;
|
|
470
|
-
}
|
|
471
435
|
export declare type Platform = "ADM" | "APNS" | "APNS_SANDBOX" | "GCM";
|
|
472
436
|
|
|
473
437
|
export interface RegisterDeviceRequest {
|
|
@@ -513,10 +477,6 @@ export interface ConcurrentModificationException extends __SmithyException, $Met
|
|
|
513
477
|
|
|
514
478
|
message: string | undefined;
|
|
515
479
|
}
|
|
516
|
-
export declare namespace ConcurrentModificationException {
|
|
517
|
-
|
|
518
|
-
const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
|
|
519
|
-
}
|
|
520
480
|
|
|
521
481
|
export interface SetIdentityPoolConfigurationRequest {
|
|
522
482
|
|
|
@@ -594,10 +554,6 @@ export interface InvalidLambdaFunctionOutputException extends __SmithyException,
|
|
|
594
554
|
|
|
595
555
|
message: string | undefined;
|
|
596
556
|
}
|
|
597
|
-
export declare namespace InvalidLambdaFunctionOutputException {
|
|
598
|
-
|
|
599
|
-
const filterSensitiveLog: (obj: InvalidLambdaFunctionOutputException) => any;
|
|
600
|
-
}
|
|
601
557
|
|
|
602
558
|
export interface LambdaThrottledException extends __SmithyException, $MetadataBearer {
|
|
603
559
|
name: "LambdaThrottledException";
|
|
@@ -605,10 +561,6 @@ export interface LambdaThrottledException extends __SmithyException, $MetadataBe
|
|
|
605
561
|
|
|
606
562
|
message: string | undefined;
|
|
607
563
|
}
|
|
608
|
-
export declare namespace LambdaThrottledException {
|
|
609
|
-
|
|
610
|
-
const filterSensitiveLog: (obj: LambdaThrottledException) => any;
|
|
611
|
-
}
|
|
612
564
|
|
|
613
565
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
614
566
|
name: "LimitExceededException";
|
|
@@ -616,10 +568,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
616
568
|
|
|
617
569
|
message: string | undefined;
|
|
618
570
|
}
|
|
619
|
-
export declare namespace LimitExceededException {
|
|
620
|
-
|
|
621
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
622
|
-
}
|
|
623
571
|
export declare type Operation = "remove" | "replace";
|
|
624
572
|
|
|
625
573
|
export interface RecordPatch {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { CognitoSyncClientConfig } from "./CognitoSyncClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { CognitoSyncClientConfig } from "./CognitoSyncClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cognito-sync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cognito Sync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
13
|
-
"clean:dist": "rimraf ./dist-*",
|
|
14
|
-
"clean:docs": "rimraf ./docs"
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
15
13
|
},
|
|
16
14
|
"main": "./dist-cjs/index.js",
|
|
17
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +18,40 @@
|
|
|
20
18
|
"dependencies": {
|
|
21
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
39
|
+
"@aws-sdk/types": "3.47.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
55
55
|
"@types/node": "^12.7.5"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|