@aws-sdk/client-docdb 3.43.0 → 3.47.1
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 +48 -0
- package/dist-cjs/endpoints.js +1 -28
- package/dist-cjs/models/models_0.js +3 -346
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -28
- package/dist-es/models/models_0.js +0 -228
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/DocDBClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -342
- 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/DocDBClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -228
- 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 +41 -48
|
@@ -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
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"ca-central-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "rds.ca-central-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "rds-fips.ca-central-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-1": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "rds.us-east-1.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "rds-fips.us-east-1.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -27,10 +19,6 @@ var regionHash = {
|
|
|
27
19
|
},
|
|
28
20
|
"us-east-2": {
|
|
29
21
|
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "rds.us-east-2.amazonaws.com",
|
|
32
|
-
tags: [],
|
|
33
|
-
},
|
|
34
22
|
{
|
|
35
23
|
hostname: "rds-fips.us-east-2.amazonaws.com",
|
|
36
24
|
tags: ["fips"],
|
|
@@ -39,10 +27,6 @@ var regionHash = {
|
|
|
39
27
|
},
|
|
40
28
|
"us-gov-east-1": {
|
|
41
29
|
variants: [
|
|
42
|
-
{
|
|
43
|
-
hostname: "rds.us-gov-east-1.amazonaws.com",
|
|
44
|
-
tags: [],
|
|
45
|
-
},
|
|
46
30
|
{
|
|
47
31
|
hostname: "rds.us-gov-east-1.amazonaws.com",
|
|
48
32
|
tags: ["fips"],
|
|
@@ -51,10 +35,6 @@ var regionHash = {
|
|
|
51
35
|
},
|
|
52
36
|
"us-gov-west-1": {
|
|
53
37
|
variants: [
|
|
54
|
-
{
|
|
55
|
-
hostname: "rds.us-gov-west-1.amazonaws.com",
|
|
56
|
-
tags: [],
|
|
57
|
-
},
|
|
58
38
|
{
|
|
59
39
|
hostname: "rds.us-gov-west-1.amazonaws.com",
|
|
60
40
|
tags: ["fips"],
|
|
@@ -63,10 +43,6 @@ var regionHash = {
|
|
|
63
43
|
},
|
|
64
44
|
"us-west-1": {
|
|
65
45
|
variants: [
|
|
66
|
-
{
|
|
67
|
-
hostname: "rds.us-west-1.amazonaws.com",
|
|
68
|
-
tags: [],
|
|
69
|
-
},
|
|
70
46
|
{
|
|
71
47
|
hostname: "rds-fips.us-west-1.amazonaws.com",
|
|
72
48
|
tags: ["fips"],
|
|
@@ -75,10 +51,6 @@ var regionHash = {
|
|
|
75
51
|
},
|
|
76
52
|
"us-west-2": {
|
|
77
53
|
variants: [
|
|
78
|
-
{
|
|
79
|
-
hostname: "rds.us-west-2.amazonaws.com",
|
|
80
|
-
tags: [],
|
|
81
|
-
},
|
|
82
54
|
{
|
|
83
55
|
hostname: "rds-fips.us-west-2.amazonaws.com",
|
|
84
56
|
tags: ["fips"],
|
|
@@ -97,6 +69,7 @@ var partitionHash = {
|
|
|
97
69
|
"ap-south-1",
|
|
98
70
|
"ap-southeast-1",
|
|
99
71
|
"ap-southeast-2",
|
|
72
|
+
"ap-southeast-3",
|
|
100
73
|
"ca-central-1",
|
|
101
74
|
"ca-central-1-fips",
|
|
102
75
|
"eu-central-1",
|
|
@@ -11,14 +11,6 @@ export var AddSourceIdentifierToSubscriptionResult;
|
|
|
11
11
|
(function (AddSourceIdentifierToSubscriptionResult) {
|
|
12
12
|
AddSourceIdentifierToSubscriptionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
13
|
})(AddSourceIdentifierToSubscriptionResult || (AddSourceIdentifierToSubscriptionResult = {}));
|
|
14
|
-
export var SourceNotFoundFault;
|
|
15
|
-
(function (SourceNotFoundFault) {
|
|
16
|
-
SourceNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
|
-
})(SourceNotFoundFault || (SourceNotFoundFault = {}));
|
|
18
|
-
export var SubscriptionNotFoundFault;
|
|
19
|
-
(function (SubscriptionNotFoundFault) {
|
|
20
|
-
SubscriptionNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
-
})(SubscriptionNotFoundFault || (SubscriptionNotFoundFault = {}));
|
|
22
14
|
export var Tag;
|
|
23
15
|
(function (Tag) {
|
|
24
16
|
Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -27,18 +19,6 @@ export var AddTagsToResourceMessage;
|
|
|
27
19
|
(function (AddTagsToResourceMessage) {
|
|
28
20
|
AddTagsToResourceMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
21
|
})(AddTagsToResourceMessage || (AddTagsToResourceMessage = {}));
|
|
30
|
-
export var DBClusterNotFoundFault;
|
|
31
|
-
(function (DBClusterNotFoundFault) {
|
|
32
|
-
DBClusterNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
|
-
})(DBClusterNotFoundFault || (DBClusterNotFoundFault = {}));
|
|
34
|
-
export var DBInstanceNotFoundFault;
|
|
35
|
-
(function (DBInstanceNotFoundFault) {
|
|
36
|
-
DBInstanceNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
-
})(DBInstanceNotFoundFault || (DBInstanceNotFoundFault = {}));
|
|
38
|
-
export var DBSnapshotNotFoundFault;
|
|
39
|
-
(function (DBSnapshotNotFoundFault) {
|
|
40
|
-
DBSnapshotNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
|
-
})(DBSnapshotNotFoundFault || (DBSnapshotNotFoundFault = {}));
|
|
42
22
|
export var ApplyPendingMaintenanceActionMessage;
|
|
43
23
|
(function (ApplyPendingMaintenanceActionMessage) {
|
|
44
24
|
ApplyPendingMaintenanceActionMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -55,18 +35,6 @@ export var ApplyPendingMaintenanceActionResult;
|
|
|
55
35
|
(function (ApplyPendingMaintenanceActionResult) {
|
|
56
36
|
ApplyPendingMaintenanceActionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
57
37
|
})(ApplyPendingMaintenanceActionResult || (ApplyPendingMaintenanceActionResult = {}));
|
|
58
|
-
export var InvalidDBClusterStateFault;
|
|
59
|
-
(function (InvalidDBClusterStateFault) {
|
|
60
|
-
InvalidDBClusterStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
61
|
-
})(InvalidDBClusterStateFault || (InvalidDBClusterStateFault = {}));
|
|
62
|
-
export var InvalidDBInstanceStateFault;
|
|
63
|
-
(function (InvalidDBInstanceStateFault) {
|
|
64
|
-
InvalidDBInstanceStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
65
|
-
})(InvalidDBInstanceStateFault || (InvalidDBInstanceStateFault = {}));
|
|
66
|
-
export var ResourceNotFoundFault;
|
|
67
|
-
(function (ResourceNotFoundFault) {
|
|
68
|
-
ResourceNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
69
|
-
})(ResourceNotFoundFault || (ResourceNotFoundFault = {}));
|
|
70
38
|
export var CopyDBClusterParameterGroupMessage;
|
|
71
39
|
(function (CopyDBClusterParameterGroupMessage) {
|
|
72
40
|
CopyDBClusterParameterGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -79,18 +47,6 @@ export var CopyDBClusterParameterGroupResult;
|
|
|
79
47
|
(function (CopyDBClusterParameterGroupResult) {
|
|
80
48
|
CopyDBClusterParameterGroupResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
81
49
|
})(CopyDBClusterParameterGroupResult || (CopyDBClusterParameterGroupResult = {}));
|
|
82
|
-
export var DBParameterGroupAlreadyExistsFault;
|
|
83
|
-
(function (DBParameterGroupAlreadyExistsFault) {
|
|
84
|
-
DBParameterGroupAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
|
-
})(DBParameterGroupAlreadyExistsFault || (DBParameterGroupAlreadyExistsFault = {}));
|
|
86
|
-
export var DBParameterGroupNotFoundFault;
|
|
87
|
-
(function (DBParameterGroupNotFoundFault) {
|
|
88
|
-
DBParameterGroupNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
|
-
})(DBParameterGroupNotFoundFault || (DBParameterGroupNotFoundFault = {}));
|
|
90
|
-
export var DBParameterGroupQuotaExceededFault;
|
|
91
|
-
(function (DBParameterGroupQuotaExceededFault) {
|
|
92
|
-
DBParameterGroupQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
-
})(DBParameterGroupQuotaExceededFault || (DBParameterGroupQuotaExceededFault = {}));
|
|
94
50
|
export var CopyDBClusterSnapshotMessage;
|
|
95
51
|
(function (CopyDBClusterSnapshotMessage) {
|
|
96
52
|
CopyDBClusterSnapshotMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -103,26 +59,6 @@ export var CopyDBClusterSnapshotResult;
|
|
|
103
59
|
(function (CopyDBClusterSnapshotResult) {
|
|
104
60
|
CopyDBClusterSnapshotResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
105
61
|
})(CopyDBClusterSnapshotResult || (CopyDBClusterSnapshotResult = {}));
|
|
106
|
-
export var DBClusterSnapshotAlreadyExistsFault;
|
|
107
|
-
(function (DBClusterSnapshotAlreadyExistsFault) {
|
|
108
|
-
DBClusterSnapshotAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
109
|
-
})(DBClusterSnapshotAlreadyExistsFault || (DBClusterSnapshotAlreadyExistsFault = {}));
|
|
110
|
-
export var DBClusterSnapshotNotFoundFault;
|
|
111
|
-
(function (DBClusterSnapshotNotFoundFault) {
|
|
112
|
-
DBClusterSnapshotNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
|
-
})(DBClusterSnapshotNotFoundFault || (DBClusterSnapshotNotFoundFault = {}));
|
|
114
|
-
export var InvalidDBClusterSnapshotStateFault;
|
|
115
|
-
(function (InvalidDBClusterSnapshotStateFault) {
|
|
116
|
-
InvalidDBClusterSnapshotStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
117
|
-
})(InvalidDBClusterSnapshotStateFault || (InvalidDBClusterSnapshotStateFault = {}));
|
|
118
|
-
export var KMSKeyNotAccessibleFault;
|
|
119
|
-
(function (KMSKeyNotAccessibleFault) {
|
|
120
|
-
KMSKeyNotAccessibleFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
|
-
})(KMSKeyNotAccessibleFault || (KMSKeyNotAccessibleFault = {}));
|
|
122
|
-
export var SnapshotQuotaExceededFault;
|
|
123
|
-
(function (SnapshotQuotaExceededFault) {
|
|
124
|
-
SnapshotQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
-
})(SnapshotQuotaExceededFault || (SnapshotQuotaExceededFault = {}));
|
|
126
62
|
export var CreateDBClusterMessage;
|
|
127
63
|
(function (CreateDBClusterMessage) {
|
|
128
64
|
CreateDBClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -147,54 +83,6 @@ export var CreateDBClusterResult;
|
|
|
147
83
|
(function (CreateDBClusterResult) {
|
|
148
84
|
CreateDBClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
85
|
})(CreateDBClusterResult || (CreateDBClusterResult = {}));
|
|
150
|
-
export var DBClusterAlreadyExistsFault;
|
|
151
|
-
(function (DBClusterAlreadyExistsFault) {
|
|
152
|
-
DBClusterAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
153
|
-
})(DBClusterAlreadyExistsFault || (DBClusterAlreadyExistsFault = {}));
|
|
154
|
-
export var DBClusterParameterGroupNotFoundFault;
|
|
155
|
-
(function (DBClusterParameterGroupNotFoundFault) {
|
|
156
|
-
DBClusterParameterGroupNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
157
|
-
})(DBClusterParameterGroupNotFoundFault || (DBClusterParameterGroupNotFoundFault = {}));
|
|
158
|
-
export var DBClusterQuotaExceededFault;
|
|
159
|
-
(function (DBClusterQuotaExceededFault) {
|
|
160
|
-
DBClusterQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
-
})(DBClusterQuotaExceededFault || (DBClusterQuotaExceededFault = {}));
|
|
162
|
-
export var DBSubnetGroupDoesNotCoverEnoughAZs;
|
|
163
|
-
(function (DBSubnetGroupDoesNotCoverEnoughAZs) {
|
|
164
|
-
DBSubnetGroupDoesNotCoverEnoughAZs.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
|
-
})(DBSubnetGroupDoesNotCoverEnoughAZs || (DBSubnetGroupDoesNotCoverEnoughAZs = {}));
|
|
166
|
-
export var DBSubnetGroupNotFoundFault;
|
|
167
|
-
(function (DBSubnetGroupNotFoundFault) {
|
|
168
|
-
DBSubnetGroupNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
|
-
})(DBSubnetGroupNotFoundFault || (DBSubnetGroupNotFoundFault = {}));
|
|
170
|
-
export var GlobalClusterNotFoundFault;
|
|
171
|
-
(function (GlobalClusterNotFoundFault) {
|
|
172
|
-
GlobalClusterNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
173
|
-
})(GlobalClusterNotFoundFault || (GlobalClusterNotFoundFault = {}));
|
|
174
|
-
export var InsufficientStorageClusterCapacityFault;
|
|
175
|
-
(function (InsufficientStorageClusterCapacityFault) {
|
|
176
|
-
InsufficientStorageClusterCapacityFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
|
-
})(InsufficientStorageClusterCapacityFault || (InsufficientStorageClusterCapacityFault = {}));
|
|
178
|
-
export var InvalidDBSubnetGroupStateFault;
|
|
179
|
-
(function (InvalidDBSubnetGroupStateFault) {
|
|
180
|
-
InvalidDBSubnetGroupStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
-
})(InvalidDBSubnetGroupStateFault || (InvalidDBSubnetGroupStateFault = {}));
|
|
182
|
-
export var InvalidGlobalClusterStateFault;
|
|
183
|
-
(function (InvalidGlobalClusterStateFault) {
|
|
184
|
-
InvalidGlobalClusterStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
-
})(InvalidGlobalClusterStateFault || (InvalidGlobalClusterStateFault = {}));
|
|
186
|
-
export var InvalidSubnet;
|
|
187
|
-
(function (InvalidSubnet) {
|
|
188
|
-
InvalidSubnet.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
|
-
})(InvalidSubnet || (InvalidSubnet = {}));
|
|
190
|
-
export var InvalidVPCNetworkStateFault;
|
|
191
|
-
(function (InvalidVPCNetworkStateFault) {
|
|
192
|
-
InvalidVPCNetworkStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
|
-
})(InvalidVPCNetworkStateFault || (InvalidVPCNetworkStateFault = {}));
|
|
194
|
-
export var StorageQuotaExceededFault;
|
|
195
|
-
(function (StorageQuotaExceededFault) {
|
|
196
|
-
StorageQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
-
})(StorageQuotaExceededFault || (StorageQuotaExceededFault = {}));
|
|
198
86
|
export var CreateDBClusterParameterGroupMessage;
|
|
199
87
|
(function (CreateDBClusterParameterGroupMessage) {
|
|
200
88
|
CreateDBClusterParameterGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -211,10 +99,6 @@ export var CreateDBClusterSnapshotResult;
|
|
|
211
99
|
(function (CreateDBClusterSnapshotResult) {
|
|
212
100
|
CreateDBClusterSnapshotResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
213
101
|
})(CreateDBClusterSnapshotResult || (CreateDBClusterSnapshotResult = {}));
|
|
214
|
-
export var AuthorizationNotFoundFault;
|
|
215
|
-
(function (AuthorizationNotFoundFault) {
|
|
216
|
-
AuthorizationNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
217
|
-
})(AuthorizationNotFoundFault || (AuthorizationNotFoundFault = {}));
|
|
218
102
|
export var CreateDBInstanceMessage;
|
|
219
103
|
(function (CreateDBInstanceMessage) {
|
|
220
104
|
CreateDBInstanceMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -255,26 +139,6 @@ export var CreateDBInstanceResult;
|
|
|
255
139
|
(function (CreateDBInstanceResult) {
|
|
256
140
|
CreateDBInstanceResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
257
141
|
})(CreateDBInstanceResult || (CreateDBInstanceResult = {}));
|
|
258
|
-
export var DBInstanceAlreadyExistsFault;
|
|
259
|
-
(function (DBInstanceAlreadyExistsFault) {
|
|
260
|
-
DBInstanceAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
261
|
-
})(DBInstanceAlreadyExistsFault || (DBInstanceAlreadyExistsFault = {}));
|
|
262
|
-
export var DBSecurityGroupNotFoundFault;
|
|
263
|
-
(function (DBSecurityGroupNotFoundFault) {
|
|
264
|
-
DBSecurityGroupNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
265
|
-
})(DBSecurityGroupNotFoundFault || (DBSecurityGroupNotFoundFault = {}));
|
|
266
|
-
export var InstanceQuotaExceededFault;
|
|
267
|
-
(function (InstanceQuotaExceededFault) {
|
|
268
|
-
InstanceQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
269
|
-
})(InstanceQuotaExceededFault || (InstanceQuotaExceededFault = {}));
|
|
270
|
-
export var InsufficientDBInstanceCapacityFault;
|
|
271
|
-
(function (InsufficientDBInstanceCapacityFault) {
|
|
272
|
-
InsufficientDBInstanceCapacityFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
273
|
-
})(InsufficientDBInstanceCapacityFault || (InsufficientDBInstanceCapacityFault = {}));
|
|
274
|
-
export var StorageTypeNotSupportedFault;
|
|
275
|
-
(function (StorageTypeNotSupportedFault) {
|
|
276
|
-
StorageTypeNotSupportedFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
277
|
-
})(StorageTypeNotSupportedFault || (StorageTypeNotSupportedFault = {}));
|
|
278
142
|
export var CreateDBSubnetGroupMessage;
|
|
279
143
|
(function (CreateDBSubnetGroupMessage) {
|
|
280
144
|
CreateDBSubnetGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -283,18 +147,6 @@ export var CreateDBSubnetGroupResult;
|
|
|
283
147
|
(function (CreateDBSubnetGroupResult) {
|
|
284
148
|
CreateDBSubnetGroupResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
285
149
|
})(CreateDBSubnetGroupResult || (CreateDBSubnetGroupResult = {}));
|
|
286
|
-
export var DBSubnetGroupAlreadyExistsFault;
|
|
287
|
-
(function (DBSubnetGroupAlreadyExistsFault) {
|
|
288
|
-
DBSubnetGroupAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
289
|
-
})(DBSubnetGroupAlreadyExistsFault || (DBSubnetGroupAlreadyExistsFault = {}));
|
|
290
|
-
export var DBSubnetGroupQuotaExceededFault;
|
|
291
|
-
(function (DBSubnetGroupQuotaExceededFault) {
|
|
292
|
-
DBSubnetGroupQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
293
|
-
})(DBSubnetGroupQuotaExceededFault || (DBSubnetGroupQuotaExceededFault = {}));
|
|
294
|
-
export var DBSubnetQuotaExceededFault;
|
|
295
|
-
(function (DBSubnetQuotaExceededFault) {
|
|
296
|
-
DBSubnetQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
297
|
-
})(DBSubnetQuotaExceededFault || (DBSubnetQuotaExceededFault = {}));
|
|
298
150
|
export var CreateEventSubscriptionMessage;
|
|
299
151
|
(function (CreateEventSubscriptionMessage) {
|
|
300
152
|
CreateEventSubscriptionMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -303,30 +155,6 @@ export var CreateEventSubscriptionResult;
|
|
|
303
155
|
(function (CreateEventSubscriptionResult) {
|
|
304
156
|
CreateEventSubscriptionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
305
157
|
})(CreateEventSubscriptionResult || (CreateEventSubscriptionResult = {}));
|
|
306
|
-
export var EventSubscriptionQuotaExceededFault;
|
|
307
|
-
(function (EventSubscriptionQuotaExceededFault) {
|
|
308
|
-
EventSubscriptionQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
309
|
-
})(EventSubscriptionQuotaExceededFault || (EventSubscriptionQuotaExceededFault = {}));
|
|
310
|
-
export var SNSInvalidTopicFault;
|
|
311
|
-
(function (SNSInvalidTopicFault) {
|
|
312
|
-
SNSInvalidTopicFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
313
|
-
})(SNSInvalidTopicFault || (SNSInvalidTopicFault = {}));
|
|
314
|
-
export var SNSNoAuthorizationFault;
|
|
315
|
-
(function (SNSNoAuthorizationFault) {
|
|
316
|
-
SNSNoAuthorizationFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
317
|
-
})(SNSNoAuthorizationFault || (SNSNoAuthorizationFault = {}));
|
|
318
|
-
export var SNSTopicArnNotFoundFault;
|
|
319
|
-
(function (SNSTopicArnNotFoundFault) {
|
|
320
|
-
SNSTopicArnNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
321
|
-
})(SNSTopicArnNotFoundFault || (SNSTopicArnNotFoundFault = {}));
|
|
322
|
-
export var SubscriptionAlreadyExistFault;
|
|
323
|
-
(function (SubscriptionAlreadyExistFault) {
|
|
324
|
-
SubscriptionAlreadyExistFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
325
|
-
})(SubscriptionAlreadyExistFault || (SubscriptionAlreadyExistFault = {}));
|
|
326
|
-
export var SubscriptionCategoryNotFoundFault;
|
|
327
|
-
(function (SubscriptionCategoryNotFoundFault) {
|
|
328
|
-
SubscriptionCategoryNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
329
|
-
})(SubscriptionCategoryNotFoundFault || (SubscriptionCategoryNotFoundFault = {}));
|
|
330
158
|
export var CreateGlobalClusterMessage;
|
|
331
159
|
(function (CreateGlobalClusterMessage) {
|
|
332
160
|
CreateGlobalClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -343,14 +171,6 @@ export var CreateGlobalClusterResult;
|
|
|
343
171
|
(function (CreateGlobalClusterResult) {
|
|
344
172
|
CreateGlobalClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
345
173
|
})(CreateGlobalClusterResult || (CreateGlobalClusterResult = {}));
|
|
346
|
-
export var GlobalClusterAlreadyExistsFault;
|
|
347
|
-
(function (GlobalClusterAlreadyExistsFault) {
|
|
348
|
-
GlobalClusterAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
349
|
-
})(GlobalClusterAlreadyExistsFault || (GlobalClusterAlreadyExistsFault = {}));
|
|
350
|
-
export var GlobalClusterQuotaExceededFault;
|
|
351
|
-
(function (GlobalClusterQuotaExceededFault) {
|
|
352
|
-
GlobalClusterQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
353
|
-
})(GlobalClusterQuotaExceededFault || (GlobalClusterQuotaExceededFault = {}));
|
|
354
174
|
export var DeleteDBClusterMessage;
|
|
355
175
|
(function (DeleteDBClusterMessage) {
|
|
356
176
|
DeleteDBClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -363,10 +183,6 @@ export var DeleteDBClusterParameterGroupMessage;
|
|
|
363
183
|
(function (DeleteDBClusterParameterGroupMessage) {
|
|
364
184
|
DeleteDBClusterParameterGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
365
185
|
})(DeleteDBClusterParameterGroupMessage || (DeleteDBClusterParameterGroupMessage = {}));
|
|
366
|
-
export var InvalidDBParameterGroupStateFault;
|
|
367
|
-
(function (InvalidDBParameterGroupStateFault) {
|
|
368
|
-
InvalidDBParameterGroupStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
369
|
-
})(InvalidDBParameterGroupStateFault || (InvalidDBParameterGroupStateFault = {}));
|
|
370
186
|
export var DeleteDBClusterSnapshotMessage;
|
|
371
187
|
(function (DeleteDBClusterSnapshotMessage) {
|
|
372
188
|
DeleteDBClusterSnapshotMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -375,10 +191,6 @@ export var DeleteDBClusterSnapshotResult;
|
|
|
375
191
|
(function (DeleteDBClusterSnapshotResult) {
|
|
376
192
|
DeleteDBClusterSnapshotResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
377
193
|
})(DeleteDBClusterSnapshotResult || (DeleteDBClusterSnapshotResult = {}));
|
|
378
|
-
export var DBSnapshotAlreadyExistsFault;
|
|
379
|
-
(function (DBSnapshotAlreadyExistsFault) {
|
|
380
|
-
DBSnapshotAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
381
|
-
})(DBSnapshotAlreadyExistsFault || (DBSnapshotAlreadyExistsFault = {}));
|
|
382
194
|
export var DeleteDBInstanceMessage;
|
|
383
195
|
(function (DeleteDBInstanceMessage) {
|
|
384
196
|
DeleteDBInstanceMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -391,10 +203,6 @@ export var DeleteDBSubnetGroupMessage;
|
|
|
391
203
|
(function (DeleteDBSubnetGroupMessage) {
|
|
392
204
|
DeleteDBSubnetGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
393
205
|
})(DeleteDBSubnetGroupMessage || (DeleteDBSubnetGroupMessage = {}));
|
|
394
|
-
export var InvalidDBSubnetStateFault;
|
|
395
|
-
(function (InvalidDBSubnetStateFault) {
|
|
396
|
-
InvalidDBSubnetStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
397
|
-
})(InvalidDBSubnetStateFault || (InvalidDBSubnetStateFault = {}));
|
|
398
206
|
export var DeleteEventSubscriptionMessage;
|
|
399
207
|
(function (DeleteEventSubscriptionMessage) {
|
|
400
208
|
DeleteEventSubscriptionMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -403,10 +211,6 @@ export var DeleteEventSubscriptionResult;
|
|
|
403
211
|
(function (DeleteEventSubscriptionResult) {
|
|
404
212
|
DeleteEventSubscriptionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
405
213
|
})(DeleteEventSubscriptionResult || (DeleteEventSubscriptionResult = {}));
|
|
406
|
-
export var InvalidEventSubscriptionStateFault;
|
|
407
|
-
(function (InvalidEventSubscriptionStateFault) {
|
|
408
|
-
InvalidEventSubscriptionStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
409
|
-
})(InvalidEventSubscriptionStateFault || (InvalidEventSubscriptionStateFault = {}));
|
|
410
214
|
export var DeleteGlobalClusterMessage;
|
|
411
215
|
(function (DeleteGlobalClusterMessage) {
|
|
412
216
|
DeleteGlobalClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -423,10 +227,6 @@ export var CertificateMessage;
|
|
|
423
227
|
(function (CertificateMessage) {
|
|
424
228
|
CertificateMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
425
229
|
})(CertificateMessage || (CertificateMessage = {}));
|
|
426
|
-
export var CertificateNotFoundFault;
|
|
427
|
-
(function (CertificateNotFoundFault) {
|
|
428
|
-
CertificateNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
429
|
-
})(CertificateNotFoundFault || (CertificateNotFoundFault = {}));
|
|
430
230
|
export var Filter;
|
|
431
231
|
(function (Filter) {
|
|
432
232
|
Filter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -607,10 +407,6 @@ export var TagListMessage;
|
|
|
607
407
|
(function (TagListMessage) {
|
|
608
408
|
TagListMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
609
409
|
})(TagListMessage || (TagListMessage = {}));
|
|
610
|
-
export var InvalidDBSecurityGroupStateFault;
|
|
611
|
-
(function (InvalidDBSecurityGroupStateFault) {
|
|
612
|
-
InvalidDBSecurityGroupStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
613
|
-
})(InvalidDBSecurityGroupStateFault || (InvalidDBSecurityGroupStateFault = {}));
|
|
614
410
|
export var CloudwatchLogsExportConfiguration;
|
|
615
411
|
(function (CloudwatchLogsExportConfiguration) {
|
|
616
412
|
CloudwatchLogsExportConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -639,14 +435,6 @@ export var ModifyDBClusterSnapshotAttributeResult;
|
|
|
639
435
|
(function (ModifyDBClusterSnapshotAttributeResult) {
|
|
640
436
|
ModifyDBClusterSnapshotAttributeResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
641
437
|
})(ModifyDBClusterSnapshotAttributeResult || (ModifyDBClusterSnapshotAttributeResult = {}));
|
|
642
|
-
export var SharedSnapshotQuotaExceededFault;
|
|
643
|
-
(function (SharedSnapshotQuotaExceededFault) {
|
|
644
|
-
SharedSnapshotQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
645
|
-
})(SharedSnapshotQuotaExceededFault || (SharedSnapshotQuotaExceededFault = {}));
|
|
646
|
-
export var DBUpgradeDependencyFailureFault;
|
|
647
|
-
(function (DBUpgradeDependencyFailureFault) {
|
|
648
|
-
DBUpgradeDependencyFailureFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
649
|
-
})(DBUpgradeDependencyFailureFault || (DBUpgradeDependencyFailureFault = {}));
|
|
650
438
|
export var ModifyDBInstanceMessage;
|
|
651
439
|
(function (ModifyDBInstanceMessage) {
|
|
652
440
|
ModifyDBInstanceMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -663,10 +451,6 @@ export var ModifyDBSubnetGroupResult;
|
|
|
663
451
|
(function (ModifyDBSubnetGroupResult) {
|
|
664
452
|
ModifyDBSubnetGroupResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
665
453
|
})(ModifyDBSubnetGroupResult || (ModifyDBSubnetGroupResult = {}));
|
|
666
|
-
export var SubnetAlreadyInUse;
|
|
667
|
-
(function (SubnetAlreadyInUse) {
|
|
668
|
-
SubnetAlreadyInUse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
669
|
-
})(SubnetAlreadyInUse || (SubnetAlreadyInUse = {}));
|
|
670
454
|
export var ModifyEventSubscriptionMessage;
|
|
671
455
|
(function (ModifyEventSubscriptionMessage) {
|
|
672
456
|
ModifyEventSubscriptionMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -715,18 +499,6 @@ export var ResetDBClusterParameterGroupMessage;
|
|
|
715
499
|
(function (ResetDBClusterParameterGroupMessage) {
|
|
716
500
|
ResetDBClusterParameterGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
717
501
|
})(ResetDBClusterParameterGroupMessage || (ResetDBClusterParameterGroupMessage = {}));
|
|
718
|
-
export var InsufficientDBClusterCapacityFault;
|
|
719
|
-
(function (InsufficientDBClusterCapacityFault) {
|
|
720
|
-
InsufficientDBClusterCapacityFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
721
|
-
})(InsufficientDBClusterCapacityFault || (InsufficientDBClusterCapacityFault = {}));
|
|
722
|
-
export var InvalidDBSnapshotStateFault;
|
|
723
|
-
(function (InvalidDBSnapshotStateFault) {
|
|
724
|
-
InvalidDBSnapshotStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
725
|
-
})(InvalidDBSnapshotStateFault || (InvalidDBSnapshotStateFault = {}));
|
|
726
|
-
export var InvalidRestoreFault;
|
|
727
|
-
(function (InvalidRestoreFault) {
|
|
728
|
-
InvalidRestoreFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
729
|
-
})(InvalidRestoreFault || (InvalidRestoreFault = {}));
|
|
730
502
|
export var RestoreDBClusterFromSnapshotMessage;
|
|
731
503
|
(function (RestoreDBClusterFromSnapshotMessage) {
|
|
732
504
|
RestoreDBClusterFromSnapshotMessage.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 { AddSourceIdentifierToSubscriptionCommandInput, AddSourceIdentifierToSubscriptionCommandOutput } from "./commands/AddSourceIdentifierToSubscriptionCommand";
|
|
10
10
|
import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand";
|
|
@@ -161,6 +161,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
161
161
|
* @internal
|
|
162
162
|
*/
|
|
163
163
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
164
|
+
/**
|
|
165
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
166
|
+
*/
|
|
167
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
164
168
|
}
|
|
165
169
|
declare type DocDBClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
166
170
|
/**
|