@aws-sdk/client-schemas 3.42.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 +47 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +2 -62
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +0 -40
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/SchemasClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -60
- 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/SchemasClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -40
- 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 +39 -46
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.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
|
+
|
|
17
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
28
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
46
|
+
|
|
47
|
+
**Note:** Version bump only for package @aws-sdk/client-schemas
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
54
|
|
|
8
55
|
**Note:** Version bump only for package @aws-sdk/client-schemas
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateSchemaResponse = exports.UpdateSchemaRequest = exports.UpdateRegistryResponse = exports.UpdateRegistryRequest = exports.UpdateDiscovererResponse = exports.UpdateDiscovererRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StopDiscovererResponse = exports.StopDiscovererRequest = exports.StartDiscovererResponse = exports.StartDiscovererRequest = exports.SearchSchemasResponse = exports.SearchSchemasRequest =
|
|
3
|
+
exports.PutResourcePolicyResponse = exports.PutResourcePolicyRequest = exports.PutCodeBindingResponse = exports.PutCodeBindingRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSchemaVersionsResponse = exports.ListSchemaVersionsRequest = exports.ListSchemasResponse = exports.ListSchemasRequest = exports.ListRegistriesResponse = exports.ListRegistriesRequest = exports.ListDiscoverersResponse = exports.ListDiscoverersRequest = exports.GetResourcePolicyResponse = exports.GetResourcePolicyRequest = exports.GetDiscoveredSchemaResponse = exports.GetDiscoveredSchemaRequest = exports.GetCodeBindingSourceResponse = exports.GetCodeBindingSourceRequest = exports.ExportSchemaResponse = exports.ExportSchemaRequest = exports.DescribeSchemaResponse = exports.DescribeSchemaRequest = exports.DescribeRegistryResponse = exports.DescribeRegistryRequest = exports.DescribeDiscovererResponse = exports.DescribeDiscovererRequest = exports.DescribeCodeBindingResponse = exports.DescribeCodeBindingRequest = exports.DeleteSchemaVersionRequest = exports.DeleteSchemaRequest = exports.DeleteResourcePolicyRequest = exports.DeleteRegistryRequest = exports.DeleteDiscovererRequest = exports.CreateSchemaResponse = exports.CreateSchemaRequest = exports.CreateRegistryResponse = exports.CreateRegistryRequest = exports.CreateDiscovererResponse = exports.CreateDiscovererRequest = exports.CodeGenerationStatus = exports.SearchSchemaSummary = exports.SearchSchemaVersionSummary = exports.SchemaVersionSummary = exports.Type = exports.SchemaSummary = exports.RegistrySummary = exports.DiscovererSummary = exports.DiscovererState = void 0;
|
|
4
|
+
exports.UpdateSchemaResponse = exports.UpdateSchemaRequest = exports.UpdateRegistryResponse = exports.UpdateRegistryRequest = exports.UpdateDiscovererResponse = exports.UpdateDiscovererRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StopDiscovererResponse = exports.StopDiscovererRequest = exports.StartDiscovererResponse = exports.StartDiscovererRequest = exports.SearchSchemasResponse = exports.SearchSchemasRequest = void 0;
|
|
5
5
|
var DiscovererState;
|
|
6
6
|
(function (DiscovererState) {
|
|
7
7
|
DiscovererState["STARTED"] = "STARTED";
|
|
@@ -48,24 +48,12 @@ var SearchSchemaSummary;
|
|
|
48
48
|
...obj,
|
|
49
49
|
});
|
|
50
50
|
})(SearchSchemaSummary = exports.SearchSchemaSummary || (exports.SearchSchemaSummary = {}));
|
|
51
|
-
var BadRequestException;
|
|
52
|
-
(function (BadRequestException) {
|
|
53
|
-
BadRequestException.filterSensitiveLog = (obj) => ({
|
|
54
|
-
...obj,
|
|
55
|
-
});
|
|
56
|
-
})(BadRequestException = exports.BadRequestException || (exports.BadRequestException = {}));
|
|
57
51
|
var CodeGenerationStatus;
|
|
58
52
|
(function (CodeGenerationStatus) {
|
|
59
53
|
CodeGenerationStatus["CREATE_COMPLETE"] = "CREATE_COMPLETE";
|
|
60
54
|
CodeGenerationStatus["CREATE_FAILED"] = "CREATE_FAILED";
|
|
61
55
|
CodeGenerationStatus["CREATE_IN_PROGRESS"] = "CREATE_IN_PROGRESS";
|
|
62
56
|
})(CodeGenerationStatus = exports.CodeGenerationStatus || (exports.CodeGenerationStatus = {}));
|
|
63
|
-
var ConflictException;
|
|
64
|
-
(function (ConflictException) {
|
|
65
|
-
ConflictException.filterSensitiveLog = (obj) => ({
|
|
66
|
-
...obj,
|
|
67
|
-
});
|
|
68
|
-
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
69
57
|
var CreateDiscovererRequest;
|
|
70
58
|
(function (CreateDiscovererRequest) {
|
|
71
59
|
CreateDiscovererRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -78,30 +66,6 @@ var CreateDiscovererResponse;
|
|
|
78
66
|
...obj,
|
|
79
67
|
});
|
|
80
68
|
})(CreateDiscovererResponse = exports.CreateDiscovererResponse || (exports.CreateDiscovererResponse = {}));
|
|
81
|
-
var ForbiddenException;
|
|
82
|
-
(function (ForbiddenException) {
|
|
83
|
-
ForbiddenException.filterSensitiveLog = (obj) => ({
|
|
84
|
-
...obj,
|
|
85
|
-
});
|
|
86
|
-
})(ForbiddenException = exports.ForbiddenException || (exports.ForbiddenException = {}));
|
|
87
|
-
var InternalServerErrorException;
|
|
88
|
-
(function (InternalServerErrorException) {
|
|
89
|
-
InternalServerErrorException.filterSensitiveLog = (obj) => ({
|
|
90
|
-
...obj,
|
|
91
|
-
});
|
|
92
|
-
})(InternalServerErrorException = exports.InternalServerErrorException || (exports.InternalServerErrorException = {}));
|
|
93
|
-
var ServiceUnavailableException;
|
|
94
|
-
(function (ServiceUnavailableException) {
|
|
95
|
-
ServiceUnavailableException.filterSensitiveLog = (obj) => ({
|
|
96
|
-
...obj,
|
|
97
|
-
});
|
|
98
|
-
})(ServiceUnavailableException = exports.ServiceUnavailableException || (exports.ServiceUnavailableException = {}));
|
|
99
|
-
var UnauthorizedException;
|
|
100
|
-
(function (UnauthorizedException) {
|
|
101
|
-
UnauthorizedException.filterSensitiveLog = (obj) => ({
|
|
102
|
-
...obj,
|
|
103
|
-
});
|
|
104
|
-
})(UnauthorizedException = exports.UnauthorizedException || (exports.UnauthorizedException = {}));
|
|
105
69
|
var CreateRegistryRequest;
|
|
106
70
|
(function (CreateRegistryRequest) {
|
|
107
71
|
CreateRegistryRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -132,12 +96,6 @@ var DeleteDiscovererRequest;
|
|
|
132
96
|
...obj,
|
|
133
97
|
});
|
|
134
98
|
})(DeleteDiscovererRequest = exports.DeleteDiscovererRequest || (exports.DeleteDiscovererRequest = {}));
|
|
135
|
-
var NotFoundException;
|
|
136
|
-
(function (NotFoundException) {
|
|
137
|
-
NotFoundException.filterSensitiveLog = (obj) => ({
|
|
138
|
-
...obj,
|
|
139
|
-
});
|
|
140
|
-
})(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
|
|
141
99
|
var DeleteRegistryRequest;
|
|
142
100
|
(function (DeleteRegistryRequest) {
|
|
143
101
|
DeleteRegistryRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -174,12 +132,6 @@ var DescribeCodeBindingResponse;
|
|
|
174
132
|
...obj,
|
|
175
133
|
});
|
|
176
134
|
})(DescribeCodeBindingResponse = exports.DescribeCodeBindingResponse || (exports.DescribeCodeBindingResponse = {}));
|
|
177
|
-
var TooManyRequestsException;
|
|
178
|
-
(function (TooManyRequestsException) {
|
|
179
|
-
TooManyRequestsException.filterSensitiveLog = (obj) => ({
|
|
180
|
-
...obj,
|
|
181
|
-
});
|
|
182
|
-
})(TooManyRequestsException = exports.TooManyRequestsException || (exports.TooManyRequestsException = {}));
|
|
183
135
|
var DescribeDiscovererRequest;
|
|
184
136
|
(function (DescribeDiscovererRequest) {
|
|
185
137
|
DescribeDiscovererRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -264,12 +216,6 @@ var GetResourcePolicyResponse;
|
|
|
264
216
|
...obj,
|
|
265
217
|
});
|
|
266
218
|
})(GetResourcePolicyResponse = exports.GetResourcePolicyResponse || (exports.GetResourcePolicyResponse = {}));
|
|
267
|
-
var GoneException;
|
|
268
|
-
(function (GoneException) {
|
|
269
|
-
GoneException.filterSensitiveLog = (obj) => ({
|
|
270
|
-
...obj,
|
|
271
|
-
});
|
|
272
|
-
})(GoneException = exports.GoneException || (exports.GoneException = {}));
|
|
273
219
|
var ListDiscoverersRequest;
|
|
274
220
|
(function (ListDiscoverersRequest) {
|
|
275
221
|
ListDiscoverersRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -330,12 +276,6 @@ var ListTagsForResourceResponse;
|
|
|
330
276
|
...obj,
|
|
331
277
|
});
|
|
332
278
|
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
333
|
-
var PreconditionFailedException;
|
|
334
|
-
(function (PreconditionFailedException) {
|
|
335
|
-
PreconditionFailedException.filterSensitiveLog = (obj) => ({
|
|
336
|
-
...obj,
|
|
337
|
-
});
|
|
338
|
-
})(PreconditionFailedException = exports.PreconditionFailedException || (exports.PreconditionFailedException = {}));
|
|
339
279
|
var PutCodeBindingRequest;
|
|
340
280
|
(function (PutCodeBindingRequest) {
|
|
341
281
|
PutCodeBindingRequest.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)),
|
|
@@ -16,14 +16,17 @@ 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
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
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 }),
|
|
32
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),
|
|
33
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),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
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
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
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),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -33,20 +33,12 @@ export var SearchSchemaSummary;
|
|
|
33
33
|
(function (SearchSchemaSummary) {
|
|
34
34
|
SearchSchemaSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
35
35
|
})(SearchSchemaSummary || (SearchSchemaSummary = {}));
|
|
36
|
-
export var BadRequestException;
|
|
37
|
-
(function (BadRequestException) {
|
|
38
|
-
BadRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
39
|
-
})(BadRequestException || (BadRequestException = {}));
|
|
40
36
|
export var CodeGenerationStatus;
|
|
41
37
|
(function (CodeGenerationStatus) {
|
|
42
38
|
CodeGenerationStatus["CREATE_COMPLETE"] = "CREATE_COMPLETE";
|
|
43
39
|
CodeGenerationStatus["CREATE_FAILED"] = "CREATE_FAILED";
|
|
44
40
|
CodeGenerationStatus["CREATE_IN_PROGRESS"] = "CREATE_IN_PROGRESS";
|
|
45
41
|
})(CodeGenerationStatus || (CodeGenerationStatus = {}));
|
|
46
|
-
export var ConflictException;
|
|
47
|
-
(function (ConflictException) {
|
|
48
|
-
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
|
-
})(ConflictException || (ConflictException = {}));
|
|
50
42
|
export var CreateDiscovererRequest;
|
|
51
43
|
(function (CreateDiscovererRequest) {
|
|
52
44
|
CreateDiscovererRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -55,22 +47,6 @@ export var CreateDiscovererResponse;
|
|
|
55
47
|
(function (CreateDiscovererResponse) {
|
|
56
48
|
CreateDiscovererResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
57
49
|
})(CreateDiscovererResponse || (CreateDiscovererResponse = {}));
|
|
58
|
-
export var ForbiddenException;
|
|
59
|
-
(function (ForbiddenException) {
|
|
60
|
-
ForbiddenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
61
|
-
})(ForbiddenException || (ForbiddenException = {}));
|
|
62
|
-
export var InternalServerErrorException;
|
|
63
|
-
(function (InternalServerErrorException) {
|
|
64
|
-
InternalServerErrorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
65
|
-
})(InternalServerErrorException || (InternalServerErrorException = {}));
|
|
66
|
-
export var ServiceUnavailableException;
|
|
67
|
-
(function (ServiceUnavailableException) {
|
|
68
|
-
ServiceUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
69
|
-
})(ServiceUnavailableException || (ServiceUnavailableException = {}));
|
|
70
|
-
export var UnauthorizedException;
|
|
71
|
-
(function (UnauthorizedException) {
|
|
72
|
-
UnauthorizedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
73
|
-
})(UnauthorizedException || (UnauthorizedException = {}));
|
|
74
50
|
export var CreateRegistryRequest;
|
|
75
51
|
(function (CreateRegistryRequest) {
|
|
76
52
|
CreateRegistryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -91,10 +67,6 @@ export var DeleteDiscovererRequest;
|
|
|
91
67
|
(function (DeleteDiscovererRequest) {
|
|
92
68
|
DeleteDiscovererRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
69
|
})(DeleteDiscovererRequest || (DeleteDiscovererRequest = {}));
|
|
94
|
-
export var NotFoundException;
|
|
95
|
-
(function (NotFoundException) {
|
|
96
|
-
NotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
-
})(NotFoundException || (NotFoundException = {}));
|
|
98
70
|
export var DeleteRegistryRequest;
|
|
99
71
|
(function (DeleteRegistryRequest) {
|
|
100
72
|
DeleteRegistryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -119,10 +91,6 @@ export var DescribeCodeBindingResponse;
|
|
|
119
91
|
(function (DescribeCodeBindingResponse) {
|
|
120
92
|
DescribeCodeBindingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
93
|
})(DescribeCodeBindingResponse || (DescribeCodeBindingResponse = {}));
|
|
122
|
-
export var TooManyRequestsException;
|
|
123
|
-
(function (TooManyRequestsException) {
|
|
124
|
-
TooManyRequestsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
-
})(TooManyRequestsException || (TooManyRequestsException = {}));
|
|
126
94
|
export var DescribeDiscovererRequest;
|
|
127
95
|
(function (DescribeDiscovererRequest) {
|
|
128
96
|
DescribeDiscovererRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -179,10 +147,6 @@ export var GetResourcePolicyResponse;
|
|
|
179
147
|
(function (GetResourcePolicyResponse) {
|
|
180
148
|
GetResourcePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
149
|
})(GetResourcePolicyResponse || (GetResourcePolicyResponse = {}));
|
|
182
|
-
export var GoneException;
|
|
183
|
-
(function (GoneException) {
|
|
184
|
-
GoneException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
-
})(GoneException || (GoneException = {}));
|
|
186
150
|
export var ListDiscoverersRequest;
|
|
187
151
|
(function (ListDiscoverersRequest) {
|
|
188
152
|
ListDiscoverersRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -223,10 +187,6 @@ export var ListTagsForResourceResponse;
|
|
|
223
187
|
(function (ListTagsForResourceResponse) {
|
|
224
188
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
225
189
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
226
|
-
export var PreconditionFailedException;
|
|
227
|
-
(function (PreconditionFailedException) {
|
|
228
|
-
PreconditionFailedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
|
-
})(PreconditionFailedException || (PreconditionFailedException = {}));
|
|
230
190
|
export var PutCodeBindingRequest;
|
|
231
191
|
(function (PutCodeBindingRequest) {
|
|
232
192
|
PutCodeBindingRequest.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,21 +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 {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
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 });
|
|
21
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 { CreateDiscovererCommandInput, CreateDiscovererCommandOutput } from "./commands/CreateDiscovererCommand";
|
|
10
10
|
import { CreateRegistryCommandInput, CreateRegistryCommandOutput } from "./commands/CreateRegistryCommand";
|
|
@@ -139,6 +139,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
139
139
|
* @internal
|
|
140
140
|
*/
|
|
141
141
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
142
|
+
/**
|
|
143
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
144
|
+
*/
|
|
145
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
142
146
|
}
|
|
143
147
|
declare type SchemasClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
144
148
|
/**
|
|
@@ -177,12 +177,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
|
|
|
177
177
|
*/
|
|
178
178
|
Message: string | undefined;
|
|
179
179
|
}
|
|
180
|
-
export declare namespace BadRequestException {
|
|
181
|
-
/**
|
|
182
|
-
* @internal
|
|
183
|
-
*/
|
|
184
|
-
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
185
|
-
}
|
|
186
180
|
export declare enum CodeGenerationStatus {
|
|
187
181
|
CREATE_COMPLETE = "CREATE_COMPLETE",
|
|
188
182
|
CREATE_FAILED = "CREATE_FAILED",
|
|
@@ -200,12 +194,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
200
194
|
*/
|
|
201
195
|
Message: string | undefined;
|
|
202
196
|
}
|
|
203
|
-
export declare namespace ConflictException {
|
|
204
|
-
/**
|
|
205
|
-
* @internal
|
|
206
|
-
*/
|
|
207
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
208
|
-
}
|
|
209
197
|
export interface CreateDiscovererRequest {
|
|
210
198
|
/**
|
|
211
199
|
* <p>A description for the discoverer.</p>
|
|
@@ -282,12 +270,6 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
|
|
|
282
270
|
*/
|
|
283
271
|
Message: string | undefined;
|
|
284
272
|
}
|
|
285
|
-
export declare namespace ForbiddenException {
|
|
286
|
-
/**
|
|
287
|
-
* @internal
|
|
288
|
-
*/
|
|
289
|
-
const filterSensitiveLog: (obj: ForbiddenException) => any;
|
|
290
|
-
}
|
|
291
273
|
export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
|
|
292
274
|
name: "InternalServerErrorException";
|
|
293
275
|
$fault: "server";
|
|
@@ -300,12 +282,6 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
|
|
|
300
282
|
*/
|
|
301
283
|
Message: string | undefined;
|
|
302
284
|
}
|
|
303
|
-
export declare namespace InternalServerErrorException {
|
|
304
|
-
/**
|
|
305
|
-
* @internal
|
|
306
|
-
*/
|
|
307
|
-
const filterSensitiveLog: (obj: InternalServerErrorException) => any;
|
|
308
|
-
}
|
|
309
285
|
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
310
286
|
name: "ServiceUnavailableException";
|
|
311
287
|
$fault: "server";
|
|
@@ -318,12 +294,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
|
|
|
318
294
|
*/
|
|
319
295
|
Message: string | undefined;
|
|
320
296
|
}
|
|
321
|
-
export declare namespace ServiceUnavailableException {
|
|
322
|
-
/**
|
|
323
|
-
* @internal
|
|
324
|
-
*/
|
|
325
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
326
|
-
}
|
|
327
297
|
export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
|
|
328
298
|
name: "UnauthorizedException";
|
|
329
299
|
$fault: "client";
|
|
@@ -336,12 +306,6 @@ export interface UnauthorizedException extends __SmithyException, $MetadataBeare
|
|
|
336
306
|
*/
|
|
337
307
|
Message: string | undefined;
|
|
338
308
|
}
|
|
339
|
-
export declare namespace UnauthorizedException {
|
|
340
|
-
/**
|
|
341
|
-
* @internal
|
|
342
|
-
*/
|
|
343
|
-
const filterSensitiveLog: (obj: UnauthorizedException) => any;
|
|
344
|
-
}
|
|
345
309
|
export interface CreateRegistryRequest {
|
|
346
310
|
/**
|
|
347
311
|
* <p>A description of the registry to be created.</p>
|
|
@@ -490,12 +454,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
|
490
454
|
*/
|
|
491
455
|
Message: string | undefined;
|
|
492
456
|
}
|
|
493
|
-
export declare namespace NotFoundException {
|
|
494
|
-
/**
|
|
495
|
-
* @internal
|
|
496
|
-
*/
|
|
497
|
-
const filterSensitiveLog: (obj: NotFoundException) => any;
|
|
498
|
-
}
|
|
499
457
|
export interface DeleteRegistryRequest {
|
|
500
458
|
/**
|
|
501
459
|
* <p>The name of the registry.</p>
|
|
@@ -616,12 +574,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
|
|
|
616
574
|
*/
|
|
617
575
|
Message: string | undefined;
|
|
618
576
|
}
|
|
619
|
-
export declare namespace TooManyRequestsException {
|
|
620
|
-
/**
|
|
621
|
-
* @internal
|
|
622
|
-
*/
|
|
623
|
-
const filterSensitiveLog: (obj: TooManyRequestsException) => any;
|
|
624
|
-
}
|
|
625
577
|
export interface DescribeDiscovererRequest {
|
|
626
578
|
/**
|
|
627
579
|
* <p>The ID of the discoverer.</p>
|
|
@@ -911,12 +863,6 @@ export interface GoneException extends __SmithyException, $MetadataBearer {
|
|
|
911
863
|
*/
|
|
912
864
|
Message: string | undefined;
|
|
913
865
|
}
|
|
914
|
-
export declare namespace GoneException {
|
|
915
|
-
/**
|
|
916
|
-
* @internal
|
|
917
|
-
*/
|
|
918
|
-
const filterSensitiveLog: (obj: GoneException) => any;
|
|
919
|
-
}
|
|
920
866
|
export interface ListDiscoverersRequest {
|
|
921
867
|
/**
|
|
922
868
|
* <p>Specifying this limits the results to only those discoverer IDs that start with the specified prefix.</p>
|
|
@@ -1103,12 +1049,6 @@ export interface PreconditionFailedException extends __SmithyException, $Metadat
|
|
|
1103
1049
|
*/
|
|
1104
1050
|
Message: string | undefined;
|
|
1105
1051
|
}
|
|
1106
|
-
export declare namespace PreconditionFailedException {
|
|
1107
|
-
/**
|
|
1108
|
-
* @internal
|
|
1109
|
-
*/
|
|
1110
|
-
const filterSensitiveLog: (obj: PreconditionFailedException) => any;
|
|
1111
|
-
}
|
|
1112
1052
|
export interface PutCodeBindingRequest {
|
|
1113
1053
|
/**
|
|
1114
1054
|
* <p>The language of the code binding.</p>
|
|
@@ -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 { SchemasClientConfig } from "./SchemasClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: SchemasClientConfig) => {
|
|
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: SchemasClientConfig) => {
|
|
|
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 { SchemasClientConfig } from "./SchemasClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: SchemasClientConfig) => {
|
|
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: SchemasClientConfig) => {
|
|
|
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 { CreateDiscovererCommandInput, CreateDiscovererCommandOutput } from "./commands/CreateDiscovererCommand";
|
|
10
10
|
import { CreateRegistryCommandInput, CreateRegistryCommandOutput } from "./commands/CreateRegistryCommand";
|
|
@@ -82,6 +82,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
82
82
|
regionInfoProvider?: RegionInfoProvider;
|
|
83
83
|
|
|
84
84
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
85
|
+
|
|
86
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
85
87
|
}
|
|
86
88
|
declare type SchemasClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
87
89
|
|
|
@@ -109,10 +109,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
|
|
|
109
109
|
|
|
110
110
|
Message: string | undefined;
|
|
111
111
|
}
|
|
112
|
-
export declare namespace BadRequestException {
|
|
113
|
-
|
|
114
|
-
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
115
|
-
}
|
|
116
112
|
export declare enum CodeGenerationStatus {
|
|
117
113
|
CREATE_COMPLETE = "CREATE_COMPLETE",
|
|
118
114
|
CREATE_FAILED = "CREATE_FAILED",
|
|
@@ -126,10 +122,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
126
122
|
|
|
127
123
|
Message: string | undefined;
|
|
128
124
|
}
|
|
129
|
-
export declare namespace ConflictException {
|
|
130
|
-
|
|
131
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
132
|
-
}
|
|
133
125
|
export interface CreateDiscovererRequest {
|
|
134
126
|
|
|
135
127
|
Description?: string;
|
|
@@ -176,10 +168,6 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
|
|
|
176
168
|
|
|
177
169
|
Message: string | undefined;
|
|
178
170
|
}
|
|
179
|
-
export declare namespace ForbiddenException {
|
|
180
|
-
|
|
181
|
-
const filterSensitiveLog: (obj: ForbiddenException) => any;
|
|
182
|
-
}
|
|
183
171
|
export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
|
|
184
172
|
name: "InternalServerErrorException";
|
|
185
173
|
$fault: "server";
|
|
@@ -188,10 +176,6 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
|
|
|
188
176
|
|
|
189
177
|
Message: string | undefined;
|
|
190
178
|
}
|
|
191
|
-
export declare namespace InternalServerErrorException {
|
|
192
|
-
|
|
193
|
-
const filterSensitiveLog: (obj: InternalServerErrorException) => any;
|
|
194
|
-
}
|
|
195
179
|
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
196
180
|
name: "ServiceUnavailableException";
|
|
197
181
|
$fault: "server";
|
|
@@ -200,10 +184,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
|
|
|
200
184
|
|
|
201
185
|
Message: string | undefined;
|
|
202
186
|
}
|
|
203
|
-
export declare namespace ServiceUnavailableException {
|
|
204
|
-
|
|
205
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
206
|
-
}
|
|
207
187
|
export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
|
|
208
188
|
name: "UnauthorizedException";
|
|
209
189
|
$fault: "client";
|
|
@@ -212,10 +192,6 @@ export interface UnauthorizedException extends __SmithyException, $MetadataBeare
|
|
|
212
192
|
|
|
213
193
|
Message: string | undefined;
|
|
214
194
|
}
|
|
215
|
-
export declare namespace UnauthorizedException {
|
|
216
|
-
|
|
217
|
-
const filterSensitiveLog: (obj: UnauthorizedException) => any;
|
|
218
|
-
}
|
|
219
195
|
export interface CreateRegistryRequest {
|
|
220
196
|
|
|
221
197
|
Description?: string;
|
|
@@ -306,10 +282,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
|
306
282
|
|
|
307
283
|
Message: string | undefined;
|
|
308
284
|
}
|
|
309
|
-
export declare namespace NotFoundException {
|
|
310
|
-
|
|
311
|
-
const filterSensitiveLog: (obj: NotFoundException) => any;
|
|
312
|
-
}
|
|
313
285
|
export interface DeleteRegistryRequest {
|
|
314
286
|
|
|
315
287
|
RegistryName: string | undefined;
|
|
@@ -384,10 +356,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
|
|
|
384
356
|
|
|
385
357
|
Message: string | undefined;
|
|
386
358
|
}
|
|
387
|
-
export declare namespace TooManyRequestsException {
|
|
388
|
-
|
|
389
|
-
const filterSensitiveLog: (obj: TooManyRequestsException) => any;
|
|
390
|
-
}
|
|
391
359
|
export interface DescribeDiscovererRequest {
|
|
392
360
|
|
|
393
361
|
DiscovererId: string | undefined;
|
|
@@ -569,10 +537,6 @@ export interface GoneException extends __SmithyException, $MetadataBearer {
|
|
|
569
537
|
|
|
570
538
|
Message: string | undefined;
|
|
571
539
|
}
|
|
572
|
-
export declare namespace GoneException {
|
|
573
|
-
|
|
574
|
-
const filterSensitiveLog: (obj: GoneException) => any;
|
|
575
|
-
}
|
|
576
540
|
export interface ListDiscoverersRequest {
|
|
577
541
|
|
|
578
542
|
DiscovererIdPrefix?: string;
|
|
@@ -691,10 +655,6 @@ export interface PreconditionFailedException extends __SmithyException, $Metadat
|
|
|
691
655
|
|
|
692
656
|
Message: string | undefined;
|
|
693
657
|
}
|
|
694
|
-
export declare namespace PreconditionFailedException {
|
|
695
|
-
|
|
696
|
-
const filterSensitiveLog: (obj: PreconditionFailedException) => any;
|
|
697
|
-
}
|
|
698
658
|
export interface PutCodeBindingRequest {
|
|
699
659
|
|
|
700
660
|
Language: string | undefined;
|
|
@@ -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 { SchemasClientConfig } from "./SchemasClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: SchemasClientConfig) => {
|
|
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: SchemasClientConfig) => {
|
|
|
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 { SchemasClientConfig } from "./SchemasClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: SchemasClientConfig) => {
|
|
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: SchemasClientConfig) => {
|
|
|
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,18 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-schemas",
|
|
3
3
|
"description": "AWS SDK for JavaScript Schemas 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",
|
|
8
|
-
"build:docs": "
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
16
13
|
},
|
|
17
14
|
"main": "./dist-cjs/index.js",
|
|
18
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,51 +18,47 @@
|
|
|
21
18
|
"dependencies": {
|
|
22
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
52
|
-
"@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
|
+
"@aws-sdk/util-waiter": "3.47.0",
|
|
53
52
|
"tslib": "^2.3.0",
|
|
54
53
|
"uuid": "^8.3.2"
|
|
55
54
|
},
|
|
56
55
|
"devDependencies": {
|
|
57
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
58
57
|
"@types/node": "^12.7.5",
|
|
59
|
-
"@types/uuid": "^8.3.0"
|
|
60
|
-
"downlevel-dts": "0.7.0",
|
|
61
|
-
"jest": "^26.1.0",
|
|
62
|
-
"rimraf": "^3.0.0",
|
|
63
|
-
"ts-jest": "^26.4.1",
|
|
64
|
-
"typedoc": "^0.19.2",
|
|
65
|
-
"typescript": "~4.3.5"
|
|
58
|
+
"@types/uuid": "^8.3.0"
|
|
66
59
|
},
|
|
67
60
|
"engines": {
|
|
68
|
-
"node": ">=
|
|
61
|
+
"node": ">=12.0.0"
|
|
69
62
|
},
|
|
70
63
|
"typesVersions": {
|
|
71
64
|
"<4.0": {
|