@aws-sdk/client-efs 3.46.0 → 3.48.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 CHANGED
@@ -3,6 +3,41 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-efs
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-efs
17
+
18
+
19
+
20
+
21
+
22
+ ## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-efs
25
+
26
+
27
+
28
+
29
+
30
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
31
+
32
+
33
+ ### Features
34
+
35
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
36
+
37
+
38
+
39
+
40
+
6
41
  # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
42
 
8
43
 
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "af-south-1": {
7
7
  variants: [
8
- {
9
- hostname: "elasticfilesystem.af-south-1.amazonaws.com",
10
- tags: [],
11
- },
12
8
  {
13
9
  hostname: "elasticfilesystem-fips.af-south-1.amazonaws.com",
14
10
  tags: ["fips"],
@@ -17,10 +13,6 @@ const regionHash = {
17
13
  },
18
14
  "ap-east-1": {
19
15
  variants: [
20
- {
21
- hostname: "elasticfilesystem.ap-east-1.amazonaws.com",
22
- tags: [],
23
- },
24
16
  {
25
17
  hostname: "elasticfilesystem-fips.ap-east-1.amazonaws.com",
26
18
  tags: ["fips"],
@@ -29,10 +21,6 @@ const regionHash = {
29
21
  },
30
22
  "ap-northeast-1": {
31
23
  variants: [
32
- {
33
- hostname: "elasticfilesystem.ap-northeast-1.amazonaws.com",
34
- tags: [],
35
- },
36
24
  {
37
25
  hostname: "elasticfilesystem-fips.ap-northeast-1.amazonaws.com",
38
26
  tags: ["fips"],
@@ -41,10 +29,6 @@ const regionHash = {
41
29
  },
42
30
  "ap-northeast-2": {
43
31
  variants: [
44
- {
45
- hostname: "elasticfilesystem.ap-northeast-2.amazonaws.com",
46
- tags: [],
47
- },
48
32
  {
49
33
  hostname: "elasticfilesystem-fips.ap-northeast-2.amazonaws.com",
50
34
  tags: ["fips"],
@@ -53,10 +37,6 @@ const regionHash = {
53
37
  },
54
38
  "ap-northeast-3": {
55
39
  variants: [
56
- {
57
- hostname: "elasticfilesystem.ap-northeast-3.amazonaws.com",
58
- tags: [],
59
- },
60
40
  {
61
41
  hostname: "elasticfilesystem-fips.ap-northeast-3.amazonaws.com",
62
42
  tags: ["fips"],
@@ -65,10 +45,6 @@ const regionHash = {
65
45
  },
66
46
  "ap-south-1": {
67
47
  variants: [
68
- {
69
- hostname: "elasticfilesystem.ap-south-1.amazonaws.com",
70
- tags: [],
71
- },
72
48
  {
73
49
  hostname: "elasticfilesystem-fips.ap-south-1.amazonaws.com",
74
50
  tags: ["fips"],
@@ -77,10 +53,6 @@ const regionHash = {
77
53
  },
78
54
  "ap-southeast-1": {
79
55
  variants: [
80
- {
81
- hostname: "elasticfilesystem.ap-southeast-1.amazonaws.com",
82
- tags: [],
83
- },
84
56
  {
85
57
  hostname: "elasticfilesystem-fips.ap-southeast-1.amazonaws.com",
86
58
  tags: ["fips"],
@@ -89,10 +61,6 @@ const regionHash = {
89
61
  },
90
62
  "ap-southeast-2": {
91
63
  variants: [
92
- {
93
- hostname: "elasticfilesystem.ap-southeast-2.amazonaws.com",
94
- tags: [],
95
- },
96
64
  {
97
65
  hostname: "elasticfilesystem-fips.ap-southeast-2.amazonaws.com",
98
66
  tags: ["fips"],
@@ -101,10 +69,6 @@ const regionHash = {
101
69
  },
102
70
  "ca-central-1": {
103
71
  variants: [
104
- {
105
- hostname: "elasticfilesystem.ca-central-1.amazonaws.com",
106
- tags: [],
107
- },
108
72
  {
109
73
  hostname: "elasticfilesystem-fips.ca-central-1.amazonaws.com",
110
74
  tags: ["fips"],
@@ -113,10 +77,6 @@ const regionHash = {
113
77
  },
114
78
  "cn-north-1": {
115
79
  variants: [
116
- {
117
- hostname: "elasticfilesystem.cn-north-1.amazonaws.com.cn",
118
- tags: [],
119
- },
120
80
  {
121
81
  hostname: "elasticfilesystem-fips.cn-north-1.amazonaws.com.cn",
122
82
  tags: ["fips"],
@@ -125,10 +85,6 @@ const regionHash = {
125
85
  },
126
86
  "cn-northwest-1": {
127
87
  variants: [
128
- {
129
- hostname: "elasticfilesystem.cn-northwest-1.amazonaws.com.cn",
130
- tags: [],
131
- },
132
88
  {
133
89
  hostname: "elasticfilesystem-fips.cn-northwest-1.amazonaws.com.cn",
134
90
  tags: ["fips"],
@@ -137,10 +93,6 @@ const regionHash = {
137
93
  },
138
94
  "eu-central-1": {
139
95
  variants: [
140
- {
141
- hostname: "elasticfilesystem.eu-central-1.amazonaws.com",
142
- tags: [],
143
- },
144
96
  {
145
97
  hostname: "elasticfilesystem-fips.eu-central-1.amazonaws.com",
146
98
  tags: ["fips"],
@@ -149,10 +101,6 @@ const regionHash = {
149
101
  },
150
102
  "eu-north-1": {
151
103
  variants: [
152
- {
153
- hostname: "elasticfilesystem.eu-north-1.amazonaws.com",
154
- tags: [],
155
- },
156
104
  {
157
105
  hostname: "elasticfilesystem-fips.eu-north-1.amazonaws.com",
158
106
  tags: ["fips"],
@@ -161,10 +109,6 @@ const regionHash = {
161
109
  },
162
110
  "eu-south-1": {
163
111
  variants: [
164
- {
165
- hostname: "elasticfilesystem.eu-south-1.amazonaws.com",
166
- tags: [],
167
- },
168
112
  {
169
113
  hostname: "elasticfilesystem-fips.eu-south-1.amazonaws.com",
170
114
  tags: ["fips"],
@@ -173,10 +117,6 @@ const regionHash = {
173
117
  },
174
118
  "eu-west-1": {
175
119
  variants: [
176
- {
177
- hostname: "elasticfilesystem.eu-west-1.amazonaws.com",
178
- tags: [],
179
- },
180
120
  {
181
121
  hostname: "elasticfilesystem-fips.eu-west-1.amazonaws.com",
182
122
  tags: ["fips"],
@@ -185,10 +125,6 @@ const regionHash = {
185
125
  },
186
126
  "eu-west-2": {
187
127
  variants: [
188
- {
189
- hostname: "elasticfilesystem.eu-west-2.amazonaws.com",
190
- tags: [],
191
- },
192
128
  {
193
129
  hostname: "elasticfilesystem-fips.eu-west-2.amazonaws.com",
194
130
  tags: ["fips"],
@@ -197,10 +133,6 @@ const regionHash = {
197
133
  },
198
134
  "eu-west-3": {
199
135
  variants: [
200
- {
201
- hostname: "elasticfilesystem.eu-west-3.amazonaws.com",
202
- tags: [],
203
- },
204
136
  {
205
137
  hostname: "elasticfilesystem-fips.eu-west-3.amazonaws.com",
206
138
  tags: ["fips"],
@@ -209,10 +141,6 @@ const regionHash = {
209
141
  },
210
142
  "me-south-1": {
211
143
  variants: [
212
- {
213
- hostname: "elasticfilesystem.me-south-1.amazonaws.com",
214
- tags: [],
215
- },
216
144
  {
217
145
  hostname: "elasticfilesystem-fips.me-south-1.amazonaws.com",
218
146
  tags: ["fips"],
@@ -221,10 +149,6 @@ const regionHash = {
221
149
  },
222
150
  "sa-east-1": {
223
151
  variants: [
224
- {
225
- hostname: "elasticfilesystem.sa-east-1.amazonaws.com",
226
- tags: [],
227
- },
228
152
  {
229
153
  hostname: "elasticfilesystem-fips.sa-east-1.amazonaws.com",
230
154
  tags: ["fips"],
@@ -233,10 +157,6 @@ const regionHash = {
233
157
  },
234
158
  "us-east-1": {
235
159
  variants: [
236
- {
237
- hostname: "elasticfilesystem.us-east-1.amazonaws.com",
238
- tags: [],
239
- },
240
160
  {
241
161
  hostname: "elasticfilesystem-fips.us-east-1.amazonaws.com",
242
162
  tags: ["fips"],
@@ -245,10 +165,6 @@ const regionHash = {
245
165
  },
246
166
  "us-east-2": {
247
167
  variants: [
248
- {
249
- hostname: "elasticfilesystem.us-east-2.amazonaws.com",
250
- tags: [],
251
- },
252
168
  {
253
169
  hostname: "elasticfilesystem-fips.us-east-2.amazonaws.com",
254
170
  tags: ["fips"],
@@ -257,10 +173,6 @@ const regionHash = {
257
173
  },
258
174
  "us-gov-east-1": {
259
175
  variants: [
260
- {
261
- hostname: "elasticfilesystem.us-gov-east-1.amazonaws.com",
262
- tags: [],
263
- },
264
176
  {
265
177
  hostname: "elasticfilesystem-fips.us-gov-east-1.amazonaws.com",
266
178
  tags: ["fips"],
@@ -269,10 +181,6 @@ const regionHash = {
269
181
  },
270
182
  "us-gov-west-1": {
271
183
  variants: [
272
- {
273
- hostname: "elasticfilesystem.us-gov-west-1.amazonaws.com",
274
- tags: [],
275
- },
276
184
  {
277
185
  hostname: "elasticfilesystem-fips.us-gov-west-1.amazonaws.com",
278
186
  tags: ["fips"],
@@ -281,10 +189,6 @@ const regionHash = {
281
189
  },
282
190
  "us-iso-east-1": {
283
191
  variants: [
284
- {
285
- hostname: "elasticfilesystem.us-iso-east-1.c2s.ic.gov",
286
- tags: [],
287
- },
288
192
  {
289
193
  hostname: "elasticfilesystem-fips.us-iso-east-1.c2s.ic.gov",
290
194
  tags: ["fips"],
@@ -293,10 +197,6 @@ const regionHash = {
293
197
  },
294
198
  "us-west-1": {
295
199
  variants: [
296
- {
297
- hostname: "elasticfilesystem.us-west-1.amazonaws.com",
298
- tags: [],
299
- },
300
200
  {
301
201
  hostname: "elasticfilesystem-fips.us-west-1.amazonaws.com",
302
202
  tags: ["fips"],
@@ -305,10 +205,6 @@ const regionHash = {
305
205
  },
306
206
  "us-west-2": {
307
207
  variants: [
308
- {
309
- hostname: "elasticfilesystem.us-west-2.amazonaws.com",
310
- tags: [],
311
- },
312
208
  {
313
209
  hostname: "elasticfilesystem-fips.us-west-2.amazonaws.com",
314
210
  tags: ["fips"],
@@ -1,13 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourceIdType = exports.DescribeAccountPreferencesRequest = exports.DescribeAccessPointsResponse = exports.DescribeAccessPointsRequest = exports.DeleteTagsRequest = exports.MountTargetNotFound = exports.DependencyTimeout = exports.DeleteMountTargetRequest = exports.DeleteFileSystemPolicyRequest = exports.FileSystemInUse = exports.DeleteFileSystemRequest = exports.DeleteAccessPointRequest = exports.CreateTagsRequest = exports.SubnetNotFound = exports.SecurityGroupNotFound = exports.SecurityGroupLimitExceeded = exports.NoFreeAddressesInSubnet = exports.NetworkInterfaceLimitExceeded = exports.MountTargetDescription = exports.MountTargetConflict = exports.IpAddressInUse = exports.CreateMountTargetRequest = exports.UnsupportedAvailabilityZone = exports.ThroughputLimitExceeded = exports.InsufficientThroughputCapacity = exports.FileSystemLimitExceeded = exports.FileSystemDescription = exports.FileSystemSize = exports.FileSystemAlreadyExists = exports.CreateFileSystemRequest = exports.ThroughputMode = exports.PerformanceMode = exports.InternalServerError = exports.IncorrectFileSystemLifeCycleState = exports.FileSystemNotFound = exports.CreateAccessPointRequest = exports.BadRequest = exports.BackupPolicyDescription = exports.BackupPolicy = exports.Status = exports.AvailabilityZonesMismatch = exports.AccessPointNotFound = exports.AccessPointLimitExceeded = exports.AccessPointDescription = exports.Tag = exports.RootDirectory = exports.CreationInfo = exports.PosixUser = exports.LifeCycleState = exports.AccessPointAlreadyExists = void 0;
4
- exports.UpdateFileSystemRequest = exports.TooManyRequests = exports.UntagResourceRequest = exports.TagResourceRequest = exports.PutLifecycleConfigurationRequest = exports.PutFileSystemPolicyRequest = exports.PutBackupPolicyRequest = exports.PutAccountPreferencesResponse = exports.PutAccountPreferencesRequest = exports.ModifyMountTargetSecurityGroupsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.InvalidPolicyException = exports.DescribeTagsResponse = exports.DescribeTagsRequest = exports.IncorrectMountTargetState = exports.DescribeMountTargetSecurityGroupsResponse = exports.DescribeMountTargetSecurityGroupsRequest = exports.DescribeMountTargetsResponse = exports.DescribeMountTargetsRequest = exports.LifecycleConfigurationDescription = exports.LifecyclePolicy = exports.TransitionToPrimaryStorageClassRules = exports.TransitionToIARules = exports.DescribeLifecycleConfigurationRequest = exports.DescribeFileSystemsResponse = exports.DescribeFileSystemsRequest = exports.FileSystemPolicyDescription = exports.DescribeFileSystemPolicyRequest = exports.ValidationException = exports.PolicyNotFound = exports.DescribeBackupPolicyRequest = exports.DescribeAccountPreferencesResponse = exports.ResourceIdPreference = exports.Resource = void 0;
5
- var AccessPointAlreadyExists;
6
- (function (AccessPointAlreadyExists) {
7
- AccessPointAlreadyExists.filterSensitiveLog = (obj) => ({
8
- ...obj,
9
- });
10
- })(AccessPointAlreadyExists = exports.AccessPointAlreadyExists || (exports.AccessPointAlreadyExists = {}));
3
+ exports.PutAccountPreferencesRequest = exports.ModifyMountTargetSecurityGroupsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.DescribeTagsResponse = exports.DescribeTagsRequest = exports.DescribeMountTargetSecurityGroupsResponse = exports.DescribeMountTargetSecurityGroupsRequest = exports.DescribeMountTargetsResponse = exports.DescribeMountTargetsRequest = exports.LifecycleConfigurationDescription = exports.LifecyclePolicy = exports.TransitionToPrimaryStorageClassRules = exports.TransitionToIARules = exports.DescribeLifecycleConfigurationRequest = exports.DescribeFileSystemsResponse = exports.DescribeFileSystemsRequest = exports.FileSystemPolicyDescription = exports.DescribeFileSystemPolicyRequest = exports.DescribeBackupPolicyRequest = exports.DescribeAccountPreferencesResponse = exports.ResourceIdPreference = exports.Resource = exports.ResourceIdType = exports.DescribeAccountPreferencesRequest = exports.DescribeAccessPointsResponse = exports.DescribeAccessPointsRequest = exports.DeleteTagsRequest = exports.DeleteMountTargetRequest = exports.DeleteFileSystemPolicyRequest = exports.DeleteFileSystemRequest = exports.DeleteAccessPointRequest = exports.CreateTagsRequest = exports.MountTargetDescription = exports.CreateMountTargetRequest = exports.FileSystemDescription = exports.FileSystemSize = exports.CreateFileSystemRequest = exports.ThroughputMode = exports.PerformanceMode = exports.CreateAccessPointRequest = exports.BackupPolicyDescription = exports.BackupPolicy = exports.Status = exports.AccessPointDescription = exports.Tag = exports.RootDirectory = exports.CreationInfo = exports.PosixUser = exports.LifeCycleState = void 0;
4
+ exports.UpdateFileSystemRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.PutLifecycleConfigurationRequest = exports.PutFileSystemPolicyRequest = exports.PutBackupPolicyRequest = exports.PutAccountPreferencesResponse = void 0;
11
5
  var LifeCycleState;
12
6
  (function (LifeCycleState) {
13
7
  LifeCycleState["AVAILABLE"] = "available";
@@ -47,24 +41,6 @@ var AccessPointDescription;
47
41
  ...obj,
48
42
  });
49
43
  })(AccessPointDescription = exports.AccessPointDescription || (exports.AccessPointDescription = {}));
50
- var AccessPointLimitExceeded;
51
- (function (AccessPointLimitExceeded) {
52
- AccessPointLimitExceeded.filterSensitiveLog = (obj) => ({
53
- ...obj,
54
- });
55
- })(AccessPointLimitExceeded = exports.AccessPointLimitExceeded || (exports.AccessPointLimitExceeded = {}));
56
- var AccessPointNotFound;
57
- (function (AccessPointNotFound) {
58
- AccessPointNotFound.filterSensitiveLog = (obj) => ({
59
- ...obj,
60
- });
61
- })(AccessPointNotFound = exports.AccessPointNotFound || (exports.AccessPointNotFound = {}));
62
- var AvailabilityZonesMismatch;
63
- (function (AvailabilityZonesMismatch) {
64
- AvailabilityZonesMismatch.filterSensitiveLog = (obj) => ({
65
- ...obj,
66
- });
67
- })(AvailabilityZonesMismatch = exports.AvailabilityZonesMismatch || (exports.AvailabilityZonesMismatch = {}));
68
44
  var Status;
69
45
  (function (Status) {
70
46
  Status["DISABLED"] = "DISABLED";
@@ -84,36 +60,12 @@ var BackupPolicyDescription;
84
60
  ...obj,
85
61
  });
86
62
  })(BackupPolicyDescription = exports.BackupPolicyDescription || (exports.BackupPolicyDescription = {}));
87
- var BadRequest;
88
- (function (BadRequest) {
89
- BadRequest.filterSensitiveLog = (obj) => ({
90
- ...obj,
91
- });
92
- })(BadRequest = exports.BadRequest || (exports.BadRequest = {}));
93
63
  var CreateAccessPointRequest;
94
64
  (function (CreateAccessPointRequest) {
95
65
  CreateAccessPointRequest.filterSensitiveLog = (obj) => ({
96
66
  ...obj,
97
67
  });
98
68
  })(CreateAccessPointRequest = exports.CreateAccessPointRequest || (exports.CreateAccessPointRequest = {}));
99
- var FileSystemNotFound;
100
- (function (FileSystemNotFound) {
101
- FileSystemNotFound.filterSensitiveLog = (obj) => ({
102
- ...obj,
103
- });
104
- })(FileSystemNotFound = exports.FileSystemNotFound || (exports.FileSystemNotFound = {}));
105
- var IncorrectFileSystemLifeCycleState;
106
- (function (IncorrectFileSystemLifeCycleState) {
107
- IncorrectFileSystemLifeCycleState.filterSensitiveLog = (obj) => ({
108
- ...obj,
109
- });
110
- })(IncorrectFileSystemLifeCycleState = exports.IncorrectFileSystemLifeCycleState || (exports.IncorrectFileSystemLifeCycleState = {}));
111
- var InternalServerError;
112
- (function (InternalServerError) {
113
- InternalServerError.filterSensitiveLog = (obj) => ({
114
- ...obj,
115
- });
116
- })(InternalServerError = exports.InternalServerError || (exports.InternalServerError = {}));
117
69
  var PerformanceMode;
118
70
  (function (PerformanceMode) {
119
71
  PerformanceMode["GENERAL_PURPOSE"] = "generalPurpose";
@@ -130,12 +82,6 @@ var CreateFileSystemRequest;
130
82
  ...obj,
131
83
  });
132
84
  })(CreateFileSystemRequest = exports.CreateFileSystemRequest || (exports.CreateFileSystemRequest = {}));
133
- var FileSystemAlreadyExists;
134
- (function (FileSystemAlreadyExists) {
135
- FileSystemAlreadyExists.filterSensitiveLog = (obj) => ({
136
- ...obj,
137
- });
138
- })(FileSystemAlreadyExists = exports.FileSystemAlreadyExists || (exports.FileSystemAlreadyExists = {}));
139
85
  var FileSystemSize;
140
86
  (function (FileSystemSize) {
141
87
  FileSystemSize.filterSensitiveLog = (obj) => ({
@@ -148,84 +94,18 @@ var FileSystemDescription;
148
94
  ...obj,
149
95
  });
150
96
  })(FileSystemDescription = exports.FileSystemDescription || (exports.FileSystemDescription = {}));
151
- var FileSystemLimitExceeded;
152
- (function (FileSystemLimitExceeded) {
153
- FileSystemLimitExceeded.filterSensitiveLog = (obj) => ({
154
- ...obj,
155
- });
156
- })(FileSystemLimitExceeded = exports.FileSystemLimitExceeded || (exports.FileSystemLimitExceeded = {}));
157
- var InsufficientThroughputCapacity;
158
- (function (InsufficientThroughputCapacity) {
159
- InsufficientThroughputCapacity.filterSensitiveLog = (obj) => ({
160
- ...obj,
161
- });
162
- })(InsufficientThroughputCapacity = exports.InsufficientThroughputCapacity || (exports.InsufficientThroughputCapacity = {}));
163
- var ThroughputLimitExceeded;
164
- (function (ThroughputLimitExceeded) {
165
- ThroughputLimitExceeded.filterSensitiveLog = (obj) => ({
166
- ...obj,
167
- });
168
- })(ThroughputLimitExceeded = exports.ThroughputLimitExceeded || (exports.ThroughputLimitExceeded = {}));
169
- var UnsupportedAvailabilityZone;
170
- (function (UnsupportedAvailabilityZone) {
171
- UnsupportedAvailabilityZone.filterSensitiveLog = (obj) => ({
172
- ...obj,
173
- });
174
- })(UnsupportedAvailabilityZone = exports.UnsupportedAvailabilityZone || (exports.UnsupportedAvailabilityZone = {}));
175
97
  var CreateMountTargetRequest;
176
98
  (function (CreateMountTargetRequest) {
177
99
  CreateMountTargetRequest.filterSensitiveLog = (obj) => ({
178
100
  ...obj,
179
101
  });
180
102
  })(CreateMountTargetRequest = exports.CreateMountTargetRequest || (exports.CreateMountTargetRequest = {}));
181
- var IpAddressInUse;
182
- (function (IpAddressInUse) {
183
- IpAddressInUse.filterSensitiveLog = (obj) => ({
184
- ...obj,
185
- });
186
- })(IpAddressInUse = exports.IpAddressInUse || (exports.IpAddressInUse = {}));
187
- var MountTargetConflict;
188
- (function (MountTargetConflict) {
189
- MountTargetConflict.filterSensitiveLog = (obj) => ({
190
- ...obj,
191
- });
192
- })(MountTargetConflict = exports.MountTargetConflict || (exports.MountTargetConflict = {}));
193
103
  var MountTargetDescription;
194
104
  (function (MountTargetDescription) {
195
105
  MountTargetDescription.filterSensitiveLog = (obj) => ({
196
106
  ...obj,
197
107
  });
198
108
  })(MountTargetDescription = exports.MountTargetDescription || (exports.MountTargetDescription = {}));
199
- var NetworkInterfaceLimitExceeded;
200
- (function (NetworkInterfaceLimitExceeded) {
201
- NetworkInterfaceLimitExceeded.filterSensitiveLog = (obj) => ({
202
- ...obj,
203
- });
204
- })(NetworkInterfaceLimitExceeded = exports.NetworkInterfaceLimitExceeded || (exports.NetworkInterfaceLimitExceeded = {}));
205
- var NoFreeAddressesInSubnet;
206
- (function (NoFreeAddressesInSubnet) {
207
- NoFreeAddressesInSubnet.filterSensitiveLog = (obj) => ({
208
- ...obj,
209
- });
210
- })(NoFreeAddressesInSubnet = exports.NoFreeAddressesInSubnet || (exports.NoFreeAddressesInSubnet = {}));
211
- var SecurityGroupLimitExceeded;
212
- (function (SecurityGroupLimitExceeded) {
213
- SecurityGroupLimitExceeded.filterSensitiveLog = (obj) => ({
214
- ...obj,
215
- });
216
- })(SecurityGroupLimitExceeded = exports.SecurityGroupLimitExceeded || (exports.SecurityGroupLimitExceeded = {}));
217
- var SecurityGroupNotFound;
218
- (function (SecurityGroupNotFound) {
219
- SecurityGroupNotFound.filterSensitiveLog = (obj) => ({
220
- ...obj,
221
- });
222
- })(SecurityGroupNotFound = exports.SecurityGroupNotFound || (exports.SecurityGroupNotFound = {}));
223
- var SubnetNotFound;
224
- (function (SubnetNotFound) {
225
- SubnetNotFound.filterSensitiveLog = (obj) => ({
226
- ...obj,
227
- });
228
- })(SubnetNotFound = exports.SubnetNotFound || (exports.SubnetNotFound = {}));
229
109
  var CreateTagsRequest;
230
110
  (function (CreateTagsRequest) {
231
111
  CreateTagsRequest.filterSensitiveLog = (obj) => ({
@@ -244,12 +124,6 @@ var DeleteFileSystemRequest;
244
124
  ...obj,
245
125
  });
246
126
  })(DeleteFileSystemRequest = exports.DeleteFileSystemRequest || (exports.DeleteFileSystemRequest = {}));
247
- var FileSystemInUse;
248
- (function (FileSystemInUse) {
249
- FileSystemInUse.filterSensitiveLog = (obj) => ({
250
- ...obj,
251
- });
252
- })(FileSystemInUse = exports.FileSystemInUse || (exports.FileSystemInUse = {}));
253
127
  var DeleteFileSystemPolicyRequest;
254
128
  (function (DeleteFileSystemPolicyRequest) {
255
129
  DeleteFileSystemPolicyRequest.filterSensitiveLog = (obj) => ({
@@ -262,18 +136,6 @@ var DeleteMountTargetRequest;
262
136
  ...obj,
263
137
  });
264
138
  })(DeleteMountTargetRequest = exports.DeleteMountTargetRequest || (exports.DeleteMountTargetRequest = {}));
265
- var DependencyTimeout;
266
- (function (DependencyTimeout) {
267
- DependencyTimeout.filterSensitiveLog = (obj) => ({
268
- ...obj,
269
- });
270
- })(DependencyTimeout = exports.DependencyTimeout || (exports.DependencyTimeout = {}));
271
- var MountTargetNotFound;
272
- (function (MountTargetNotFound) {
273
- MountTargetNotFound.filterSensitiveLog = (obj) => ({
274
- ...obj,
275
- });
276
- })(MountTargetNotFound = exports.MountTargetNotFound || (exports.MountTargetNotFound = {}));
277
139
  var DeleteTagsRequest;
278
140
  (function (DeleteTagsRequest) {
279
141
  DeleteTagsRequest.filterSensitiveLog = (obj) => ({
@@ -326,18 +188,6 @@ var DescribeBackupPolicyRequest;
326
188
  ...obj,
327
189
  });
328
190
  })(DescribeBackupPolicyRequest = exports.DescribeBackupPolicyRequest || (exports.DescribeBackupPolicyRequest = {}));
329
- var PolicyNotFound;
330
- (function (PolicyNotFound) {
331
- PolicyNotFound.filterSensitiveLog = (obj) => ({
332
- ...obj,
333
- });
334
- })(PolicyNotFound = exports.PolicyNotFound || (exports.PolicyNotFound = {}));
335
- var ValidationException;
336
- (function (ValidationException) {
337
- ValidationException.filterSensitiveLog = (obj) => ({
338
- ...obj,
339
- });
340
- })(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
341
191
  var DescribeFileSystemPolicyRequest;
342
192
  (function (DescribeFileSystemPolicyRequest) {
343
193
  DescribeFileSystemPolicyRequest.filterSensitiveLog = (obj) => ({
@@ -416,12 +266,6 @@ var DescribeMountTargetSecurityGroupsResponse;
416
266
  ...obj,
417
267
  });
418
268
  })(DescribeMountTargetSecurityGroupsResponse = exports.DescribeMountTargetSecurityGroupsResponse || (exports.DescribeMountTargetSecurityGroupsResponse = {}));
419
- var IncorrectMountTargetState;
420
- (function (IncorrectMountTargetState) {
421
- IncorrectMountTargetState.filterSensitiveLog = (obj) => ({
422
- ...obj,
423
- });
424
- })(IncorrectMountTargetState = exports.IncorrectMountTargetState || (exports.IncorrectMountTargetState = {}));
425
269
  var DescribeTagsRequest;
426
270
  (function (DescribeTagsRequest) {
427
271
  DescribeTagsRequest.filterSensitiveLog = (obj) => ({
@@ -434,12 +278,6 @@ var DescribeTagsResponse;
434
278
  ...obj,
435
279
  });
436
280
  })(DescribeTagsResponse = exports.DescribeTagsResponse || (exports.DescribeTagsResponse = {}));
437
- var InvalidPolicyException;
438
- (function (InvalidPolicyException) {
439
- InvalidPolicyException.filterSensitiveLog = (obj) => ({
440
- ...obj,
441
- });
442
- })(InvalidPolicyException = exports.InvalidPolicyException || (exports.InvalidPolicyException = {}));
443
281
  var ListTagsForResourceRequest;
444
282
  (function (ListTagsForResourceRequest) {
445
283
  ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
@@ -500,12 +338,6 @@ var UntagResourceRequest;
500
338
  ...obj,
501
339
  });
502
340
  })(UntagResourceRequest = exports.UntagResourceRequest || (exports.UntagResourceRequest = {}));
503
- var TooManyRequests;
504
- (function (TooManyRequests) {
505
- TooManyRequests.filterSensitiveLog = (obj) => ({
506
- ...obj,
507
- });
508
- })(TooManyRequests = exports.TooManyRequests || (exports.TooManyRequests = {}));
509
341
  var UpdateFileSystemRequest;
510
342
  (function (UpdateFileSystemRequest) {
511
343
  UpdateFileSystemRequest.filterSensitiveLog = (obj) => ({
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
15
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
18
20
  const getRuntimeConfig = (config) => {
19
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
20
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
21
25
  return {
22
26
  ...clientSharedValues,
23
27
  ...config,
24
28
  runtime: "node",
29
+ defaultsMode,
25
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
26
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
27
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
29
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
30
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
31
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
32
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
33
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
34
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
35
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
36
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),