@aws-sdk/client-neptune 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 +48 -0
- package/dist-cjs/endpoints.js +1 -28
- package/dist-cjs/models/models_0.js +4 -383
- 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 -252
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/NeptuneClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -378
- 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/NeptuneClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -252
- 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 +40 -47
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",
|
|
@@ -3,22 +3,6 @@ export var AddRoleToDBClusterMessage;
|
|
|
3
3
|
(function (AddRoleToDBClusterMessage) {
|
|
4
4
|
AddRoleToDBClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
5
|
})(AddRoleToDBClusterMessage || (AddRoleToDBClusterMessage = {}));
|
|
6
|
-
export var DBClusterNotFoundFault;
|
|
7
|
-
(function (DBClusterNotFoundFault) {
|
|
8
|
-
DBClusterNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
-
})(DBClusterNotFoundFault || (DBClusterNotFoundFault = {}));
|
|
10
|
-
export var DBClusterRoleAlreadyExistsFault;
|
|
11
|
-
(function (DBClusterRoleAlreadyExistsFault) {
|
|
12
|
-
DBClusterRoleAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
|
-
})(DBClusterRoleAlreadyExistsFault || (DBClusterRoleAlreadyExistsFault = {}));
|
|
14
|
-
export var DBClusterRoleQuotaExceededFault;
|
|
15
|
-
(function (DBClusterRoleQuotaExceededFault) {
|
|
16
|
-
DBClusterRoleQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
|
-
})(DBClusterRoleQuotaExceededFault || (DBClusterRoleQuotaExceededFault = {}));
|
|
18
|
-
export var InvalidDBClusterStateFault;
|
|
19
|
-
(function (InvalidDBClusterStateFault) {
|
|
20
|
-
InvalidDBClusterStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
-
})(InvalidDBClusterStateFault || (InvalidDBClusterStateFault = {}));
|
|
22
6
|
export var AddSourceIdentifierToSubscriptionMessage;
|
|
23
7
|
(function (AddSourceIdentifierToSubscriptionMessage) {
|
|
24
8
|
AddSourceIdentifierToSubscriptionMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -31,14 +15,6 @@ export var AddSourceIdentifierToSubscriptionResult;
|
|
|
31
15
|
(function (AddSourceIdentifierToSubscriptionResult) {
|
|
32
16
|
AddSourceIdentifierToSubscriptionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
17
|
})(AddSourceIdentifierToSubscriptionResult || (AddSourceIdentifierToSubscriptionResult = {}));
|
|
34
|
-
export var SourceNotFoundFault;
|
|
35
|
-
(function (SourceNotFoundFault) {
|
|
36
|
-
SourceNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
-
})(SourceNotFoundFault || (SourceNotFoundFault = {}));
|
|
38
|
-
export var SubscriptionNotFoundFault;
|
|
39
|
-
(function (SubscriptionNotFoundFault) {
|
|
40
|
-
SubscriptionNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
|
-
})(SubscriptionNotFoundFault || (SubscriptionNotFoundFault = {}));
|
|
42
18
|
export var Tag;
|
|
43
19
|
(function (Tag) {
|
|
44
20
|
Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -47,14 +23,6 @@ export var AddTagsToResourceMessage;
|
|
|
47
23
|
(function (AddTagsToResourceMessage) {
|
|
48
24
|
AddTagsToResourceMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
25
|
})(AddTagsToResourceMessage || (AddTagsToResourceMessage = {}));
|
|
50
|
-
export var DBInstanceNotFoundFault;
|
|
51
|
-
(function (DBInstanceNotFoundFault) {
|
|
52
|
-
DBInstanceNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
53
|
-
})(DBInstanceNotFoundFault || (DBInstanceNotFoundFault = {}));
|
|
54
|
-
export var DBSnapshotNotFoundFault;
|
|
55
|
-
(function (DBSnapshotNotFoundFault) {
|
|
56
|
-
DBSnapshotNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
57
|
-
})(DBSnapshotNotFoundFault || (DBSnapshotNotFoundFault = {}));
|
|
58
26
|
export var ApplyPendingMaintenanceActionMessage;
|
|
59
27
|
(function (ApplyPendingMaintenanceActionMessage) {
|
|
60
28
|
ApplyPendingMaintenanceActionMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -71,10 +39,6 @@ export var ApplyPendingMaintenanceActionResult;
|
|
|
71
39
|
(function (ApplyPendingMaintenanceActionResult) {
|
|
72
40
|
ApplyPendingMaintenanceActionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
73
41
|
})(ApplyPendingMaintenanceActionResult || (ApplyPendingMaintenanceActionResult = {}));
|
|
74
|
-
export var ResourceNotFoundFault;
|
|
75
|
-
(function (ResourceNotFoundFault) {
|
|
76
|
-
ResourceNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
77
|
-
})(ResourceNotFoundFault || (ResourceNotFoundFault = {}));
|
|
78
42
|
export var CopyDBClusterParameterGroupMessage;
|
|
79
43
|
(function (CopyDBClusterParameterGroupMessage) {
|
|
80
44
|
CopyDBClusterParameterGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -87,18 +51,6 @@ export var CopyDBClusterParameterGroupResult;
|
|
|
87
51
|
(function (CopyDBClusterParameterGroupResult) {
|
|
88
52
|
CopyDBClusterParameterGroupResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
53
|
})(CopyDBClusterParameterGroupResult || (CopyDBClusterParameterGroupResult = {}));
|
|
90
|
-
export var DBParameterGroupAlreadyExistsFault;
|
|
91
|
-
(function (DBParameterGroupAlreadyExistsFault) {
|
|
92
|
-
DBParameterGroupAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
-
})(DBParameterGroupAlreadyExistsFault || (DBParameterGroupAlreadyExistsFault = {}));
|
|
94
|
-
export var DBParameterGroupNotFoundFault;
|
|
95
|
-
(function (DBParameterGroupNotFoundFault) {
|
|
96
|
-
DBParameterGroupNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
-
})(DBParameterGroupNotFoundFault || (DBParameterGroupNotFoundFault = {}));
|
|
98
|
-
export var DBParameterGroupQuotaExceededFault;
|
|
99
|
-
(function (DBParameterGroupQuotaExceededFault) {
|
|
100
|
-
DBParameterGroupQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
101
|
-
})(DBParameterGroupQuotaExceededFault || (DBParameterGroupQuotaExceededFault = {}));
|
|
102
54
|
export var CopyDBClusterSnapshotMessage;
|
|
103
55
|
(function (CopyDBClusterSnapshotMessage) {
|
|
104
56
|
CopyDBClusterSnapshotMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -111,26 +63,6 @@ export var CopyDBClusterSnapshotResult;
|
|
|
111
63
|
(function (CopyDBClusterSnapshotResult) {
|
|
112
64
|
CopyDBClusterSnapshotResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
65
|
})(CopyDBClusterSnapshotResult || (CopyDBClusterSnapshotResult = {}));
|
|
114
|
-
export var DBClusterSnapshotAlreadyExistsFault;
|
|
115
|
-
(function (DBClusterSnapshotAlreadyExistsFault) {
|
|
116
|
-
DBClusterSnapshotAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
117
|
-
})(DBClusterSnapshotAlreadyExistsFault || (DBClusterSnapshotAlreadyExistsFault = {}));
|
|
118
|
-
export var DBClusterSnapshotNotFoundFault;
|
|
119
|
-
(function (DBClusterSnapshotNotFoundFault) {
|
|
120
|
-
DBClusterSnapshotNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
|
-
})(DBClusterSnapshotNotFoundFault || (DBClusterSnapshotNotFoundFault = {}));
|
|
122
|
-
export var InvalidDBClusterSnapshotStateFault;
|
|
123
|
-
(function (InvalidDBClusterSnapshotStateFault) {
|
|
124
|
-
InvalidDBClusterSnapshotStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
-
})(InvalidDBClusterSnapshotStateFault || (InvalidDBClusterSnapshotStateFault = {}));
|
|
126
|
-
export var KMSKeyNotAccessibleFault;
|
|
127
|
-
(function (KMSKeyNotAccessibleFault) {
|
|
128
|
-
KMSKeyNotAccessibleFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
129
|
-
})(KMSKeyNotAccessibleFault || (KMSKeyNotAccessibleFault = {}));
|
|
130
|
-
export var SnapshotQuotaExceededFault;
|
|
131
|
-
(function (SnapshotQuotaExceededFault) {
|
|
132
|
-
SnapshotQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
-
})(SnapshotQuotaExceededFault || (SnapshotQuotaExceededFault = {}));
|
|
134
66
|
export var CopyDBParameterGroupMessage;
|
|
135
67
|
(function (CopyDBParameterGroupMessage) {
|
|
136
68
|
CopyDBParameterGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -171,50 +103,6 @@ export var CreateDBClusterResult;
|
|
|
171
103
|
(function (CreateDBClusterResult) {
|
|
172
104
|
CreateDBClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
173
105
|
})(CreateDBClusterResult || (CreateDBClusterResult = {}));
|
|
174
|
-
export var DBClusterAlreadyExistsFault;
|
|
175
|
-
(function (DBClusterAlreadyExistsFault) {
|
|
176
|
-
DBClusterAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
|
-
})(DBClusterAlreadyExistsFault || (DBClusterAlreadyExistsFault = {}));
|
|
178
|
-
export var DBClusterParameterGroupNotFoundFault;
|
|
179
|
-
(function (DBClusterParameterGroupNotFoundFault) {
|
|
180
|
-
DBClusterParameterGroupNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
-
})(DBClusterParameterGroupNotFoundFault || (DBClusterParameterGroupNotFoundFault = {}));
|
|
182
|
-
export var DBClusterQuotaExceededFault;
|
|
183
|
-
(function (DBClusterQuotaExceededFault) {
|
|
184
|
-
DBClusterQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
-
})(DBClusterQuotaExceededFault || (DBClusterQuotaExceededFault = {}));
|
|
186
|
-
export var DBSubnetGroupDoesNotCoverEnoughAZs;
|
|
187
|
-
(function (DBSubnetGroupDoesNotCoverEnoughAZs) {
|
|
188
|
-
DBSubnetGroupDoesNotCoverEnoughAZs.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
|
-
})(DBSubnetGroupDoesNotCoverEnoughAZs || (DBSubnetGroupDoesNotCoverEnoughAZs = {}));
|
|
190
|
-
export var DBSubnetGroupNotFoundFault;
|
|
191
|
-
(function (DBSubnetGroupNotFoundFault) {
|
|
192
|
-
DBSubnetGroupNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
|
-
})(DBSubnetGroupNotFoundFault || (DBSubnetGroupNotFoundFault = {}));
|
|
194
|
-
export var InsufficientStorageClusterCapacityFault;
|
|
195
|
-
(function (InsufficientStorageClusterCapacityFault) {
|
|
196
|
-
InsufficientStorageClusterCapacityFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
-
})(InsufficientStorageClusterCapacityFault || (InsufficientStorageClusterCapacityFault = {}));
|
|
198
|
-
export var InvalidDBInstanceStateFault;
|
|
199
|
-
(function (InvalidDBInstanceStateFault) {
|
|
200
|
-
InvalidDBInstanceStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
201
|
-
})(InvalidDBInstanceStateFault || (InvalidDBInstanceStateFault = {}));
|
|
202
|
-
export var InvalidDBSubnetGroupStateFault;
|
|
203
|
-
(function (InvalidDBSubnetGroupStateFault) {
|
|
204
|
-
InvalidDBSubnetGroupStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
205
|
-
})(InvalidDBSubnetGroupStateFault || (InvalidDBSubnetGroupStateFault = {}));
|
|
206
|
-
export var InvalidSubnet;
|
|
207
|
-
(function (InvalidSubnet) {
|
|
208
|
-
InvalidSubnet.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
209
|
-
})(InvalidSubnet || (InvalidSubnet = {}));
|
|
210
|
-
export var InvalidVPCNetworkStateFault;
|
|
211
|
-
(function (InvalidVPCNetworkStateFault) {
|
|
212
|
-
InvalidVPCNetworkStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
213
|
-
})(InvalidVPCNetworkStateFault || (InvalidVPCNetworkStateFault = {}));
|
|
214
|
-
export var StorageQuotaExceededFault;
|
|
215
|
-
(function (StorageQuotaExceededFault) {
|
|
216
|
-
StorageQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
217
|
-
})(StorageQuotaExceededFault || (StorageQuotaExceededFault = {}));
|
|
218
106
|
export var CreateDBClusterEndpointMessage;
|
|
219
107
|
(function (CreateDBClusterEndpointMessage) {
|
|
220
108
|
CreateDBClusterEndpointMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -223,14 +111,6 @@ export var CreateDBClusterEndpointOutput;
|
|
|
223
111
|
(function (CreateDBClusterEndpointOutput) {
|
|
224
112
|
CreateDBClusterEndpointOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
225
113
|
})(CreateDBClusterEndpointOutput || (CreateDBClusterEndpointOutput = {}));
|
|
226
|
-
export var DBClusterEndpointAlreadyExistsFault;
|
|
227
|
-
(function (DBClusterEndpointAlreadyExistsFault) {
|
|
228
|
-
DBClusterEndpointAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
|
-
})(DBClusterEndpointAlreadyExistsFault || (DBClusterEndpointAlreadyExistsFault = {}));
|
|
230
|
-
export var DBClusterEndpointQuotaExceededFault;
|
|
231
|
-
(function (DBClusterEndpointQuotaExceededFault) {
|
|
232
|
-
DBClusterEndpointQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
233
|
-
})(DBClusterEndpointQuotaExceededFault || (DBClusterEndpointQuotaExceededFault = {}));
|
|
234
114
|
export var CreateDBClusterParameterGroupMessage;
|
|
235
115
|
(function (CreateDBClusterParameterGroupMessage) {
|
|
236
116
|
CreateDBClusterParameterGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -247,10 +127,6 @@ export var CreateDBClusterSnapshotResult;
|
|
|
247
127
|
(function (CreateDBClusterSnapshotResult) {
|
|
248
128
|
CreateDBClusterSnapshotResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
249
129
|
})(CreateDBClusterSnapshotResult || (CreateDBClusterSnapshotResult = {}));
|
|
250
|
-
export var AuthorizationNotFoundFault;
|
|
251
|
-
(function (AuthorizationNotFoundFault) {
|
|
252
|
-
AuthorizationNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
253
|
-
})(AuthorizationNotFoundFault || (AuthorizationNotFoundFault = {}));
|
|
254
130
|
export var CreateDBInstanceMessage;
|
|
255
131
|
(function (CreateDBInstanceMessage) {
|
|
256
132
|
CreateDBInstanceMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -307,38 +183,6 @@ export var CreateDBInstanceResult;
|
|
|
307
183
|
(function (CreateDBInstanceResult) {
|
|
308
184
|
CreateDBInstanceResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
309
185
|
})(CreateDBInstanceResult || (CreateDBInstanceResult = {}));
|
|
310
|
-
export var DBInstanceAlreadyExistsFault;
|
|
311
|
-
(function (DBInstanceAlreadyExistsFault) {
|
|
312
|
-
DBInstanceAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
313
|
-
})(DBInstanceAlreadyExistsFault || (DBInstanceAlreadyExistsFault = {}));
|
|
314
|
-
export var DBSecurityGroupNotFoundFault;
|
|
315
|
-
(function (DBSecurityGroupNotFoundFault) {
|
|
316
|
-
DBSecurityGroupNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
317
|
-
})(DBSecurityGroupNotFoundFault || (DBSecurityGroupNotFoundFault = {}));
|
|
318
|
-
export var DomainNotFoundFault;
|
|
319
|
-
(function (DomainNotFoundFault) {
|
|
320
|
-
DomainNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
321
|
-
})(DomainNotFoundFault || (DomainNotFoundFault = {}));
|
|
322
|
-
export var InstanceQuotaExceededFault;
|
|
323
|
-
(function (InstanceQuotaExceededFault) {
|
|
324
|
-
InstanceQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
325
|
-
})(InstanceQuotaExceededFault || (InstanceQuotaExceededFault = {}));
|
|
326
|
-
export var InsufficientDBInstanceCapacityFault;
|
|
327
|
-
(function (InsufficientDBInstanceCapacityFault) {
|
|
328
|
-
InsufficientDBInstanceCapacityFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
329
|
-
})(InsufficientDBInstanceCapacityFault || (InsufficientDBInstanceCapacityFault = {}));
|
|
330
|
-
export var OptionGroupNotFoundFault;
|
|
331
|
-
(function (OptionGroupNotFoundFault) {
|
|
332
|
-
OptionGroupNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
333
|
-
})(OptionGroupNotFoundFault || (OptionGroupNotFoundFault = {}));
|
|
334
|
-
export var ProvisionedIopsNotAvailableInAZFault;
|
|
335
|
-
(function (ProvisionedIopsNotAvailableInAZFault) {
|
|
336
|
-
ProvisionedIopsNotAvailableInAZFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
337
|
-
})(ProvisionedIopsNotAvailableInAZFault || (ProvisionedIopsNotAvailableInAZFault = {}));
|
|
338
|
-
export var StorageTypeNotSupportedFault;
|
|
339
|
-
(function (StorageTypeNotSupportedFault) {
|
|
340
|
-
StorageTypeNotSupportedFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
341
|
-
})(StorageTypeNotSupportedFault || (StorageTypeNotSupportedFault = {}));
|
|
342
186
|
export var CreateDBParameterGroupMessage;
|
|
343
187
|
(function (CreateDBParameterGroupMessage) {
|
|
344
188
|
CreateDBParameterGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -355,18 +199,6 @@ export var CreateDBSubnetGroupResult;
|
|
|
355
199
|
(function (CreateDBSubnetGroupResult) {
|
|
356
200
|
CreateDBSubnetGroupResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
357
201
|
})(CreateDBSubnetGroupResult || (CreateDBSubnetGroupResult = {}));
|
|
358
|
-
export var DBSubnetGroupAlreadyExistsFault;
|
|
359
|
-
(function (DBSubnetGroupAlreadyExistsFault) {
|
|
360
|
-
DBSubnetGroupAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
361
|
-
})(DBSubnetGroupAlreadyExistsFault || (DBSubnetGroupAlreadyExistsFault = {}));
|
|
362
|
-
export var DBSubnetGroupQuotaExceededFault;
|
|
363
|
-
(function (DBSubnetGroupQuotaExceededFault) {
|
|
364
|
-
DBSubnetGroupQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
365
|
-
})(DBSubnetGroupQuotaExceededFault || (DBSubnetGroupQuotaExceededFault = {}));
|
|
366
|
-
export var DBSubnetQuotaExceededFault;
|
|
367
|
-
(function (DBSubnetQuotaExceededFault) {
|
|
368
|
-
DBSubnetQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
369
|
-
})(DBSubnetQuotaExceededFault || (DBSubnetQuotaExceededFault = {}));
|
|
370
202
|
export var CreateEventSubscriptionMessage;
|
|
371
203
|
(function (CreateEventSubscriptionMessage) {
|
|
372
204
|
CreateEventSubscriptionMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -375,30 +207,6 @@ export var CreateEventSubscriptionResult;
|
|
|
375
207
|
(function (CreateEventSubscriptionResult) {
|
|
376
208
|
CreateEventSubscriptionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
377
209
|
})(CreateEventSubscriptionResult || (CreateEventSubscriptionResult = {}));
|
|
378
|
-
export var EventSubscriptionQuotaExceededFault;
|
|
379
|
-
(function (EventSubscriptionQuotaExceededFault) {
|
|
380
|
-
EventSubscriptionQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
381
|
-
})(EventSubscriptionQuotaExceededFault || (EventSubscriptionQuotaExceededFault = {}));
|
|
382
|
-
export var SNSInvalidTopicFault;
|
|
383
|
-
(function (SNSInvalidTopicFault) {
|
|
384
|
-
SNSInvalidTopicFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
385
|
-
})(SNSInvalidTopicFault || (SNSInvalidTopicFault = {}));
|
|
386
|
-
export var SNSNoAuthorizationFault;
|
|
387
|
-
(function (SNSNoAuthorizationFault) {
|
|
388
|
-
SNSNoAuthorizationFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
389
|
-
})(SNSNoAuthorizationFault || (SNSNoAuthorizationFault = {}));
|
|
390
|
-
export var SNSTopicArnNotFoundFault;
|
|
391
|
-
(function (SNSTopicArnNotFoundFault) {
|
|
392
|
-
SNSTopicArnNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
393
|
-
})(SNSTopicArnNotFoundFault || (SNSTopicArnNotFoundFault = {}));
|
|
394
|
-
export var SubscriptionAlreadyExistFault;
|
|
395
|
-
(function (SubscriptionAlreadyExistFault) {
|
|
396
|
-
SubscriptionAlreadyExistFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
397
|
-
})(SubscriptionAlreadyExistFault || (SubscriptionAlreadyExistFault = {}));
|
|
398
|
-
export var SubscriptionCategoryNotFoundFault;
|
|
399
|
-
(function (SubscriptionCategoryNotFoundFault) {
|
|
400
|
-
SubscriptionCategoryNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
401
|
-
})(SubscriptionCategoryNotFoundFault || (SubscriptionCategoryNotFoundFault = {}));
|
|
402
210
|
export var DeleteDBClusterMessage;
|
|
403
211
|
(function (DeleteDBClusterMessage) {
|
|
404
212
|
DeleteDBClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -407,10 +215,6 @@ export var DeleteDBClusterResult;
|
|
|
407
215
|
(function (DeleteDBClusterResult) {
|
|
408
216
|
DeleteDBClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
409
217
|
})(DeleteDBClusterResult || (DeleteDBClusterResult = {}));
|
|
410
|
-
export var DBClusterEndpointNotFoundFault;
|
|
411
|
-
(function (DBClusterEndpointNotFoundFault) {
|
|
412
|
-
DBClusterEndpointNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
413
|
-
})(DBClusterEndpointNotFoundFault || (DBClusterEndpointNotFoundFault = {}));
|
|
414
218
|
export var DeleteDBClusterEndpointMessage;
|
|
415
219
|
(function (DeleteDBClusterEndpointMessage) {
|
|
416
220
|
DeleteDBClusterEndpointMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -419,18 +223,10 @@ export var DeleteDBClusterEndpointOutput;
|
|
|
419
223
|
(function (DeleteDBClusterEndpointOutput) {
|
|
420
224
|
DeleteDBClusterEndpointOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
421
225
|
})(DeleteDBClusterEndpointOutput || (DeleteDBClusterEndpointOutput = {}));
|
|
422
|
-
export var InvalidDBClusterEndpointStateFault;
|
|
423
|
-
(function (InvalidDBClusterEndpointStateFault) {
|
|
424
|
-
InvalidDBClusterEndpointStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
425
|
-
})(InvalidDBClusterEndpointStateFault || (InvalidDBClusterEndpointStateFault = {}));
|
|
426
226
|
export var DeleteDBClusterParameterGroupMessage;
|
|
427
227
|
(function (DeleteDBClusterParameterGroupMessage) {
|
|
428
228
|
DeleteDBClusterParameterGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
429
229
|
})(DeleteDBClusterParameterGroupMessage || (DeleteDBClusterParameterGroupMessage = {}));
|
|
430
|
-
export var InvalidDBParameterGroupStateFault;
|
|
431
|
-
(function (InvalidDBParameterGroupStateFault) {
|
|
432
|
-
InvalidDBParameterGroupStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
433
|
-
})(InvalidDBParameterGroupStateFault || (InvalidDBParameterGroupStateFault = {}));
|
|
434
230
|
export var DeleteDBClusterSnapshotMessage;
|
|
435
231
|
(function (DeleteDBClusterSnapshotMessage) {
|
|
436
232
|
DeleteDBClusterSnapshotMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -439,10 +235,6 @@ export var DeleteDBClusterSnapshotResult;
|
|
|
439
235
|
(function (DeleteDBClusterSnapshotResult) {
|
|
440
236
|
DeleteDBClusterSnapshotResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
441
237
|
})(DeleteDBClusterSnapshotResult || (DeleteDBClusterSnapshotResult = {}));
|
|
442
|
-
export var DBSnapshotAlreadyExistsFault;
|
|
443
|
-
(function (DBSnapshotAlreadyExistsFault) {
|
|
444
|
-
DBSnapshotAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
445
|
-
})(DBSnapshotAlreadyExistsFault || (DBSnapshotAlreadyExistsFault = {}));
|
|
446
238
|
export var DeleteDBInstanceMessage;
|
|
447
239
|
(function (DeleteDBInstanceMessage) {
|
|
448
240
|
DeleteDBInstanceMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -459,10 +251,6 @@ export var DeleteDBSubnetGroupMessage;
|
|
|
459
251
|
(function (DeleteDBSubnetGroupMessage) {
|
|
460
252
|
DeleteDBSubnetGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
461
253
|
})(DeleteDBSubnetGroupMessage || (DeleteDBSubnetGroupMessage = {}));
|
|
462
|
-
export var InvalidDBSubnetStateFault;
|
|
463
|
-
(function (InvalidDBSubnetStateFault) {
|
|
464
|
-
InvalidDBSubnetStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
465
|
-
})(InvalidDBSubnetStateFault || (InvalidDBSubnetStateFault = {}));
|
|
466
254
|
export var DeleteEventSubscriptionMessage;
|
|
467
255
|
(function (DeleteEventSubscriptionMessage) {
|
|
468
256
|
DeleteEventSubscriptionMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -471,10 +259,6 @@ export var DeleteEventSubscriptionResult;
|
|
|
471
259
|
(function (DeleteEventSubscriptionResult) {
|
|
472
260
|
DeleteEventSubscriptionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
473
261
|
})(DeleteEventSubscriptionResult || (DeleteEventSubscriptionResult = {}));
|
|
474
|
-
export var InvalidEventSubscriptionStateFault;
|
|
475
|
-
(function (InvalidEventSubscriptionStateFault) {
|
|
476
|
-
InvalidEventSubscriptionStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
477
|
-
})(InvalidEventSubscriptionStateFault || (InvalidEventSubscriptionStateFault = {}));
|
|
478
262
|
export var DBClusterEndpoint;
|
|
479
263
|
(function (DBClusterEndpoint) {
|
|
480
264
|
DBClusterEndpoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -711,10 +495,6 @@ export var TagListMessage;
|
|
|
711
495
|
(function (TagListMessage) {
|
|
712
496
|
TagListMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
713
497
|
})(TagListMessage || (TagListMessage = {}));
|
|
714
|
-
export var InvalidDBSecurityGroupStateFault;
|
|
715
|
-
(function (InvalidDBSecurityGroupStateFault) {
|
|
716
|
-
InvalidDBSecurityGroupStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
717
|
-
})(InvalidDBSecurityGroupStateFault || (InvalidDBSecurityGroupStateFault = {}));
|
|
718
498
|
export var CloudwatchLogsExportConfiguration;
|
|
719
499
|
(function (CloudwatchLogsExportConfiguration) {
|
|
720
500
|
CloudwatchLogsExportConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -751,18 +531,6 @@ export var ModifyDBClusterSnapshotAttributeResult;
|
|
|
751
531
|
(function (ModifyDBClusterSnapshotAttributeResult) {
|
|
752
532
|
ModifyDBClusterSnapshotAttributeResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
753
533
|
})(ModifyDBClusterSnapshotAttributeResult || (ModifyDBClusterSnapshotAttributeResult = {}));
|
|
754
|
-
export var SharedSnapshotQuotaExceededFault;
|
|
755
|
-
(function (SharedSnapshotQuotaExceededFault) {
|
|
756
|
-
SharedSnapshotQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
757
|
-
})(SharedSnapshotQuotaExceededFault || (SharedSnapshotQuotaExceededFault = {}));
|
|
758
|
-
export var CertificateNotFoundFault;
|
|
759
|
-
(function (CertificateNotFoundFault) {
|
|
760
|
-
CertificateNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
761
|
-
})(CertificateNotFoundFault || (CertificateNotFoundFault = {}));
|
|
762
|
-
export var DBUpgradeDependencyFailureFault;
|
|
763
|
-
(function (DBUpgradeDependencyFailureFault) {
|
|
764
|
-
DBUpgradeDependencyFailureFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
765
|
-
})(DBUpgradeDependencyFailureFault || (DBUpgradeDependencyFailureFault = {}));
|
|
766
534
|
export var ModifyDBInstanceMessage;
|
|
767
535
|
(function (ModifyDBInstanceMessage) {
|
|
768
536
|
ModifyDBInstanceMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -787,10 +555,6 @@ export var ModifyDBSubnetGroupResult;
|
|
|
787
555
|
(function (ModifyDBSubnetGroupResult) {
|
|
788
556
|
ModifyDBSubnetGroupResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
789
557
|
})(ModifyDBSubnetGroupResult || (ModifyDBSubnetGroupResult = {}));
|
|
790
|
-
export var SubnetAlreadyInUse;
|
|
791
|
-
(function (SubnetAlreadyInUse) {
|
|
792
|
-
SubnetAlreadyInUse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
793
|
-
})(SubnetAlreadyInUse || (SubnetAlreadyInUse = {}));
|
|
794
558
|
export var ModifyEventSubscriptionMessage;
|
|
795
559
|
(function (ModifyEventSubscriptionMessage) {
|
|
796
560
|
ModifyEventSubscriptionMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -815,10 +579,6 @@ export var RebootDBInstanceResult;
|
|
|
815
579
|
(function (RebootDBInstanceResult) {
|
|
816
580
|
RebootDBInstanceResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
817
581
|
})(RebootDBInstanceResult || (RebootDBInstanceResult = {}));
|
|
818
|
-
export var DBClusterRoleNotFoundFault;
|
|
819
|
-
(function (DBClusterRoleNotFoundFault) {
|
|
820
|
-
DBClusterRoleNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
821
|
-
})(DBClusterRoleNotFoundFault || (DBClusterRoleNotFoundFault = {}));
|
|
822
582
|
export var RemoveRoleFromDBClusterMessage;
|
|
823
583
|
(function (RemoveRoleFromDBClusterMessage) {
|
|
824
584
|
RemoveRoleFromDBClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -843,18 +603,6 @@ export var ResetDBParameterGroupMessage;
|
|
|
843
603
|
(function (ResetDBParameterGroupMessage) {
|
|
844
604
|
ResetDBParameterGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
845
605
|
})(ResetDBParameterGroupMessage || (ResetDBParameterGroupMessage = {}));
|
|
846
|
-
export var InsufficientDBClusterCapacityFault;
|
|
847
|
-
(function (InsufficientDBClusterCapacityFault) {
|
|
848
|
-
InsufficientDBClusterCapacityFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
849
|
-
})(InsufficientDBClusterCapacityFault || (InsufficientDBClusterCapacityFault = {}));
|
|
850
|
-
export var InvalidDBSnapshotStateFault;
|
|
851
|
-
(function (InvalidDBSnapshotStateFault) {
|
|
852
|
-
InvalidDBSnapshotStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
853
|
-
})(InvalidDBSnapshotStateFault || (InvalidDBSnapshotStateFault = {}));
|
|
854
|
-
export var InvalidRestoreFault;
|
|
855
|
-
(function (InvalidRestoreFault) {
|
|
856
|
-
InvalidRestoreFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
857
|
-
})(InvalidRestoreFault || (InvalidRestoreFault = {}));
|
|
858
606
|
export var RestoreDBClusterFromSnapshotMessage;
|
|
859
607
|
(function (RestoreDBClusterFromSnapshotMessage) {
|
|
860
608
|
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 { AddRoleToDBClusterCommandInput, AddRoleToDBClusterCommandOutput } from "./commands/AddRoleToDBClusterCommand";
|
|
10
10
|
import { AddSourceIdentifierToSubscriptionCommandInput, AddSourceIdentifierToSubscriptionCommandOutput } from "./commands/AddSourceIdentifierToSubscriptionCommand";
|
|
@@ -171,6 +171,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
171
171
|
* @internal
|
|
172
172
|
*/
|
|
173
173
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
174
|
+
/**
|
|
175
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
176
|
+
*/
|
|
177
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
174
178
|
}
|
|
175
179
|
declare type NeptuneClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
176
180
|
/**
|