@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.
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "af-south-1": {
5
5
  variants: [
6
- {
7
- hostname: "elasticfilesystem.af-south-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "elasticfilesystem-fips.af-south-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "ap-east-1": {
17
13
  variants: [
18
- {
19
- hostname: "elasticfilesystem.ap-east-1.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "elasticfilesystem-fips.ap-east-1.amazonaws.com",
24
16
  tags: ["fips"],
@@ -27,10 +19,6 @@ var regionHash = {
27
19
  },
28
20
  "ap-northeast-1": {
29
21
  variants: [
30
- {
31
- hostname: "elasticfilesystem.ap-northeast-1.amazonaws.com",
32
- tags: [],
33
- },
34
22
  {
35
23
  hostname: "elasticfilesystem-fips.ap-northeast-1.amazonaws.com",
36
24
  tags: ["fips"],
@@ -39,10 +27,6 @@ var regionHash = {
39
27
  },
40
28
  "ap-northeast-2": {
41
29
  variants: [
42
- {
43
- hostname: "elasticfilesystem.ap-northeast-2.amazonaws.com",
44
- tags: [],
45
- },
46
30
  {
47
31
  hostname: "elasticfilesystem-fips.ap-northeast-2.amazonaws.com",
48
32
  tags: ["fips"],
@@ -51,10 +35,6 @@ var regionHash = {
51
35
  },
52
36
  "ap-northeast-3": {
53
37
  variants: [
54
- {
55
- hostname: "elasticfilesystem.ap-northeast-3.amazonaws.com",
56
- tags: [],
57
- },
58
38
  {
59
39
  hostname: "elasticfilesystem-fips.ap-northeast-3.amazonaws.com",
60
40
  tags: ["fips"],
@@ -63,10 +43,6 @@ var regionHash = {
63
43
  },
64
44
  "ap-south-1": {
65
45
  variants: [
66
- {
67
- hostname: "elasticfilesystem.ap-south-1.amazonaws.com",
68
- tags: [],
69
- },
70
46
  {
71
47
  hostname: "elasticfilesystem-fips.ap-south-1.amazonaws.com",
72
48
  tags: ["fips"],
@@ -75,10 +51,6 @@ var regionHash = {
75
51
  },
76
52
  "ap-southeast-1": {
77
53
  variants: [
78
- {
79
- hostname: "elasticfilesystem.ap-southeast-1.amazonaws.com",
80
- tags: [],
81
- },
82
54
  {
83
55
  hostname: "elasticfilesystem-fips.ap-southeast-1.amazonaws.com",
84
56
  tags: ["fips"],
@@ -87,10 +59,6 @@ var regionHash = {
87
59
  },
88
60
  "ap-southeast-2": {
89
61
  variants: [
90
- {
91
- hostname: "elasticfilesystem.ap-southeast-2.amazonaws.com",
92
- tags: [],
93
- },
94
62
  {
95
63
  hostname: "elasticfilesystem-fips.ap-southeast-2.amazonaws.com",
96
64
  tags: ["fips"],
@@ -99,10 +67,6 @@ var regionHash = {
99
67
  },
100
68
  "ca-central-1": {
101
69
  variants: [
102
- {
103
- hostname: "elasticfilesystem.ca-central-1.amazonaws.com",
104
- tags: [],
105
- },
106
70
  {
107
71
  hostname: "elasticfilesystem-fips.ca-central-1.amazonaws.com",
108
72
  tags: ["fips"],
@@ -111,10 +75,6 @@ var regionHash = {
111
75
  },
112
76
  "cn-north-1": {
113
77
  variants: [
114
- {
115
- hostname: "elasticfilesystem.cn-north-1.amazonaws.com.cn",
116
- tags: [],
117
- },
118
78
  {
119
79
  hostname: "elasticfilesystem-fips.cn-north-1.amazonaws.com.cn",
120
80
  tags: ["fips"],
@@ -123,10 +83,6 @@ var regionHash = {
123
83
  },
124
84
  "cn-northwest-1": {
125
85
  variants: [
126
- {
127
- hostname: "elasticfilesystem.cn-northwest-1.amazonaws.com.cn",
128
- tags: [],
129
- },
130
86
  {
131
87
  hostname: "elasticfilesystem-fips.cn-northwest-1.amazonaws.com.cn",
132
88
  tags: ["fips"],
@@ -135,10 +91,6 @@ var regionHash = {
135
91
  },
136
92
  "eu-central-1": {
137
93
  variants: [
138
- {
139
- hostname: "elasticfilesystem.eu-central-1.amazonaws.com",
140
- tags: [],
141
- },
142
94
  {
143
95
  hostname: "elasticfilesystem-fips.eu-central-1.amazonaws.com",
144
96
  tags: ["fips"],
@@ -147,10 +99,6 @@ var regionHash = {
147
99
  },
148
100
  "eu-north-1": {
149
101
  variants: [
150
- {
151
- hostname: "elasticfilesystem.eu-north-1.amazonaws.com",
152
- tags: [],
153
- },
154
102
  {
155
103
  hostname: "elasticfilesystem-fips.eu-north-1.amazonaws.com",
156
104
  tags: ["fips"],
@@ -159,10 +107,6 @@ var regionHash = {
159
107
  },
160
108
  "eu-south-1": {
161
109
  variants: [
162
- {
163
- hostname: "elasticfilesystem.eu-south-1.amazonaws.com",
164
- tags: [],
165
- },
166
110
  {
167
111
  hostname: "elasticfilesystem-fips.eu-south-1.amazonaws.com",
168
112
  tags: ["fips"],
@@ -171,10 +115,6 @@ var regionHash = {
171
115
  },
172
116
  "eu-west-1": {
173
117
  variants: [
174
- {
175
- hostname: "elasticfilesystem.eu-west-1.amazonaws.com",
176
- tags: [],
177
- },
178
118
  {
179
119
  hostname: "elasticfilesystem-fips.eu-west-1.amazonaws.com",
180
120
  tags: ["fips"],
@@ -183,10 +123,6 @@ var regionHash = {
183
123
  },
184
124
  "eu-west-2": {
185
125
  variants: [
186
- {
187
- hostname: "elasticfilesystem.eu-west-2.amazonaws.com",
188
- tags: [],
189
- },
190
126
  {
191
127
  hostname: "elasticfilesystem-fips.eu-west-2.amazonaws.com",
192
128
  tags: ["fips"],
@@ -195,10 +131,6 @@ var regionHash = {
195
131
  },
196
132
  "eu-west-3": {
197
133
  variants: [
198
- {
199
- hostname: "elasticfilesystem.eu-west-3.amazonaws.com",
200
- tags: [],
201
- },
202
134
  {
203
135
  hostname: "elasticfilesystem-fips.eu-west-3.amazonaws.com",
204
136
  tags: ["fips"],
@@ -207,10 +139,6 @@ var regionHash = {
207
139
  },
208
140
  "me-south-1": {
209
141
  variants: [
210
- {
211
- hostname: "elasticfilesystem.me-south-1.amazonaws.com",
212
- tags: [],
213
- },
214
142
  {
215
143
  hostname: "elasticfilesystem-fips.me-south-1.amazonaws.com",
216
144
  tags: ["fips"],
@@ -219,10 +147,6 @@ var regionHash = {
219
147
  },
220
148
  "sa-east-1": {
221
149
  variants: [
222
- {
223
- hostname: "elasticfilesystem.sa-east-1.amazonaws.com",
224
- tags: [],
225
- },
226
150
  {
227
151
  hostname: "elasticfilesystem-fips.sa-east-1.amazonaws.com",
228
152
  tags: ["fips"],
@@ -231,10 +155,6 @@ var regionHash = {
231
155
  },
232
156
  "us-east-1": {
233
157
  variants: [
234
- {
235
- hostname: "elasticfilesystem.us-east-1.amazonaws.com",
236
- tags: [],
237
- },
238
158
  {
239
159
  hostname: "elasticfilesystem-fips.us-east-1.amazonaws.com",
240
160
  tags: ["fips"],
@@ -243,10 +163,6 @@ var regionHash = {
243
163
  },
244
164
  "us-east-2": {
245
165
  variants: [
246
- {
247
- hostname: "elasticfilesystem.us-east-2.amazonaws.com",
248
- tags: [],
249
- },
250
166
  {
251
167
  hostname: "elasticfilesystem-fips.us-east-2.amazonaws.com",
252
168
  tags: ["fips"],
@@ -255,10 +171,6 @@ var regionHash = {
255
171
  },
256
172
  "us-gov-east-1": {
257
173
  variants: [
258
- {
259
- hostname: "elasticfilesystem.us-gov-east-1.amazonaws.com",
260
- tags: [],
261
- },
262
174
  {
263
175
  hostname: "elasticfilesystem-fips.us-gov-east-1.amazonaws.com",
264
176
  tags: ["fips"],
@@ -267,10 +179,6 @@ var regionHash = {
267
179
  },
268
180
  "us-gov-west-1": {
269
181
  variants: [
270
- {
271
- hostname: "elasticfilesystem.us-gov-west-1.amazonaws.com",
272
- tags: [],
273
- },
274
182
  {
275
183
  hostname: "elasticfilesystem-fips.us-gov-west-1.amazonaws.com",
276
184
  tags: ["fips"],
@@ -279,10 +187,6 @@ var regionHash = {
279
187
  },
280
188
  "us-iso-east-1": {
281
189
  variants: [
282
- {
283
- hostname: "elasticfilesystem.us-iso-east-1.c2s.ic.gov",
284
- tags: [],
285
- },
286
190
  {
287
191
  hostname: "elasticfilesystem-fips.us-iso-east-1.c2s.ic.gov",
288
192
  tags: ["fips"],
@@ -291,10 +195,6 @@ var regionHash = {
291
195
  },
292
196
  "us-west-1": {
293
197
  variants: [
294
- {
295
- hostname: "elasticfilesystem.us-west-1.amazonaws.com",
296
- tags: [],
297
- },
298
198
  {
299
199
  hostname: "elasticfilesystem-fips.us-west-1.amazonaws.com",
300
200
  tags: ["fips"],
@@ -303,10 +203,6 @@ var regionHash = {
303
203
  },
304
204
  "us-west-2": {
305
205
  variants: [
306
- {
307
- hostname: "elasticfilesystem.us-west-2.amazonaws.com",
308
- tags: [],
309
- },
310
206
  {
311
207
  hostname: "elasticfilesystem-fips.us-west-2.amazonaws.com",
312
208
  tags: ["fips"],
@@ -1,8 +1,4 @@
1
1
  import { __assign } from "tslib";
2
- export var AccessPointAlreadyExists;
3
- (function (AccessPointAlreadyExists) {
4
- AccessPointAlreadyExists.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
- })(AccessPointAlreadyExists || (AccessPointAlreadyExists = {}));
6
2
  export var LifeCycleState;
7
3
  (function (LifeCycleState) {
8
4
  LifeCycleState["AVAILABLE"] = "available";
@@ -32,18 +28,6 @@ export var AccessPointDescription;
32
28
  (function (AccessPointDescription) {
33
29
  AccessPointDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
34
30
  })(AccessPointDescription || (AccessPointDescription = {}));
35
- export var AccessPointLimitExceeded;
36
- (function (AccessPointLimitExceeded) {
37
- AccessPointLimitExceeded.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
38
- })(AccessPointLimitExceeded || (AccessPointLimitExceeded = {}));
39
- export var AccessPointNotFound;
40
- (function (AccessPointNotFound) {
41
- AccessPointNotFound.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
42
- })(AccessPointNotFound || (AccessPointNotFound = {}));
43
- export var AvailabilityZonesMismatch;
44
- (function (AvailabilityZonesMismatch) {
45
- AvailabilityZonesMismatch.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
46
- })(AvailabilityZonesMismatch || (AvailabilityZonesMismatch = {}));
47
31
  export var Status;
48
32
  (function (Status) {
49
33
  Status["DISABLED"] = "DISABLED";
@@ -59,26 +43,10 @@ export var BackupPolicyDescription;
59
43
  (function (BackupPolicyDescription) {
60
44
  BackupPolicyDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
61
45
  })(BackupPolicyDescription || (BackupPolicyDescription = {}));
62
- export var BadRequest;
63
- (function (BadRequest) {
64
- BadRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
65
- })(BadRequest || (BadRequest = {}));
66
46
  export var CreateAccessPointRequest;
67
47
  (function (CreateAccessPointRequest) {
68
48
  CreateAccessPointRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
69
49
  })(CreateAccessPointRequest || (CreateAccessPointRequest = {}));
70
- export var FileSystemNotFound;
71
- (function (FileSystemNotFound) {
72
- FileSystemNotFound.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
73
- })(FileSystemNotFound || (FileSystemNotFound = {}));
74
- export var IncorrectFileSystemLifeCycleState;
75
- (function (IncorrectFileSystemLifeCycleState) {
76
- IncorrectFileSystemLifeCycleState.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
77
- })(IncorrectFileSystemLifeCycleState || (IncorrectFileSystemLifeCycleState = {}));
78
- export var InternalServerError;
79
- (function (InternalServerError) {
80
- InternalServerError.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
81
- })(InternalServerError || (InternalServerError = {}));
82
50
  export var PerformanceMode;
83
51
  (function (PerformanceMode) {
84
52
  PerformanceMode["GENERAL_PURPOSE"] = "generalPurpose";
@@ -93,10 +61,6 @@ export var CreateFileSystemRequest;
93
61
  (function (CreateFileSystemRequest) {
94
62
  CreateFileSystemRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
95
63
  })(CreateFileSystemRequest || (CreateFileSystemRequest = {}));
96
- export var FileSystemAlreadyExists;
97
- (function (FileSystemAlreadyExists) {
98
- FileSystemAlreadyExists.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
99
- })(FileSystemAlreadyExists || (FileSystemAlreadyExists = {}));
100
64
  export var FileSystemSize;
101
65
  (function (FileSystemSize) {
102
66
  FileSystemSize.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -105,58 +69,14 @@ export var FileSystemDescription;
105
69
  (function (FileSystemDescription) {
106
70
  FileSystemDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
107
71
  })(FileSystemDescription || (FileSystemDescription = {}));
108
- export var FileSystemLimitExceeded;
109
- (function (FileSystemLimitExceeded) {
110
- FileSystemLimitExceeded.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
111
- })(FileSystemLimitExceeded || (FileSystemLimitExceeded = {}));
112
- export var InsufficientThroughputCapacity;
113
- (function (InsufficientThroughputCapacity) {
114
- InsufficientThroughputCapacity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
115
- })(InsufficientThroughputCapacity || (InsufficientThroughputCapacity = {}));
116
- export var ThroughputLimitExceeded;
117
- (function (ThroughputLimitExceeded) {
118
- ThroughputLimitExceeded.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
119
- })(ThroughputLimitExceeded || (ThroughputLimitExceeded = {}));
120
- export var UnsupportedAvailabilityZone;
121
- (function (UnsupportedAvailabilityZone) {
122
- UnsupportedAvailabilityZone.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
123
- })(UnsupportedAvailabilityZone || (UnsupportedAvailabilityZone = {}));
124
72
  export var CreateMountTargetRequest;
125
73
  (function (CreateMountTargetRequest) {
126
74
  CreateMountTargetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
127
75
  })(CreateMountTargetRequest || (CreateMountTargetRequest = {}));
128
- export var IpAddressInUse;
129
- (function (IpAddressInUse) {
130
- IpAddressInUse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
131
- })(IpAddressInUse || (IpAddressInUse = {}));
132
- export var MountTargetConflict;
133
- (function (MountTargetConflict) {
134
- MountTargetConflict.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
135
- })(MountTargetConflict || (MountTargetConflict = {}));
136
76
  export var MountTargetDescription;
137
77
  (function (MountTargetDescription) {
138
78
  MountTargetDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
139
79
  })(MountTargetDescription || (MountTargetDescription = {}));
140
- export var NetworkInterfaceLimitExceeded;
141
- (function (NetworkInterfaceLimitExceeded) {
142
- NetworkInterfaceLimitExceeded.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
143
- })(NetworkInterfaceLimitExceeded || (NetworkInterfaceLimitExceeded = {}));
144
- export var NoFreeAddressesInSubnet;
145
- (function (NoFreeAddressesInSubnet) {
146
- NoFreeAddressesInSubnet.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
147
- })(NoFreeAddressesInSubnet || (NoFreeAddressesInSubnet = {}));
148
- export var SecurityGroupLimitExceeded;
149
- (function (SecurityGroupLimitExceeded) {
150
- SecurityGroupLimitExceeded.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
151
- })(SecurityGroupLimitExceeded || (SecurityGroupLimitExceeded = {}));
152
- export var SecurityGroupNotFound;
153
- (function (SecurityGroupNotFound) {
154
- SecurityGroupNotFound.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
155
- })(SecurityGroupNotFound || (SecurityGroupNotFound = {}));
156
- export var SubnetNotFound;
157
- (function (SubnetNotFound) {
158
- SubnetNotFound.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
159
- })(SubnetNotFound || (SubnetNotFound = {}));
160
80
  export var CreateTagsRequest;
161
81
  (function (CreateTagsRequest) {
162
82
  CreateTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -169,10 +89,6 @@ export var DeleteFileSystemRequest;
169
89
  (function (DeleteFileSystemRequest) {
170
90
  DeleteFileSystemRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
171
91
  })(DeleteFileSystemRequest || (DeleteFileSystemRequest = {}));
172
- export var FileSystemInUse;
173
- (function (FileSystemInUse) {
174
- FileSystemInUse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
175
- })(FileSystemInUse || (FileSystemInUse = {}));
176
92
  export var DeleteFileSystemPolicyRequest;
177
93
  (function (DeleteFileSystemPolicyRequest) {
178
94
  DeleteFileSystemPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -181,14 +97,6 @@ export var DeleteMountTargetRequest;
181
97
  (function (DeleteMountTargetRequest) {
182
98
  DeleteMountTargetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
183
99
  })(DeleteMountTargetRequest || (DeleteMountTargetRequest = {}));
184
- export var DependencyTimeout;
185
- (function (DependencyTimeout) {
186
- DependencyTimeout.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
187
- })(DependencyTimeout || (DependencyTimeout = {}));
188
- export var MountTargetNotFound;
189
- (function (MountTargetNotFound) {
190
- MountTargetNotFound.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
191
- })(MountTargetNotFound || (MountTargetNotFound = {}));
192
100
  export var DeleteTagsRequest;
193
101
  (function (DeleteTagsRequest) {
194
102
  DeleteTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -227,14 +135,6 @@ export var DescribeBackupPolicyRequest;
227
135
  (function (DescribeBackupPolicyRequest) {
228
136
  DescribeBackupPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
229
137
  })(DescribeBackupPolicyRequest || (DescribeBackupPolicyRequest = {}));
230
- export var PolicyNotFound;
231
- (function (PolicyNotFound) {
232
- PolicyNotFound.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
233
- })(PolicyNotFound || (PolicyNotFound = {}));
234
- export var ValidationException;
235
- (function (ValidationException) {
236
- ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
237
- })(ValidationException || (ValidationException = {}));
238
138
  export var DescribeFileSystemPolicyRequest;
239
139
  (function (DescribeFileSystemPolicyRequest) {
240
140
  DescribeFileSystemPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -291,10 +191,6 @@ export var DescribeMountTargetSecurityGroupsResponse;
291
191
  (function (DescribeMountTargetSecurityGroupsResponse) {
292
192
  DescribeMountTargetSecurityGroupsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
293
193
  })(DescribeMountTargetSecurityGroupsResponse || (DescribeMountTargetSecurityGroupsResponse = {}));
294
- export var IncorrectMountTargetState;
295
- (function (IncorrectMountTargetState) {
296
- IncorrectMountTargetState.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
297
- })(IncorrectMountTargetState || (IncorrectMountTargetState = {}));
298
194
  export var DescribeTagsRequest;
299
195
  (function (DescribeTagsRequest) {
300
196
  DescribeTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -303,10 +199,6 @@ export var DescribeTagsResponse;
303
199
  (function (DescribeTagsResponse) {
304
200
  DescribeTagsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
305
201
  })(DescribeTagsResponse || (DescribeTagsResponse = {}));
306
- export var InvalidPolicyException;
307
- (function (InvalidPolicyException) {
308
- InvalidPolicyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
309
- })(InvalidPolicyException || (InvalidPolicyException = {}));
310
202
  export var ListTagsForResourceRequest;
311
203
  (function (ListTagsForResourceRequest) {
312
204
  ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -347,10 +239,6 @@ export var UntagResourceRequest;
347
239
  (function (UntagResourceRequest) {
348
240
  UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
349
241
  })(UntagResourceRequest || (UntagResourceRequest = {}));
350
- export var TooManyRequests;
351
- (function (TooManyRequests) {
352
- TooManyRequests.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
353
- })(TooManyRequests || (TooManyRequests = {}));
354
242
  export var UpdateFileSystemRequest;
355
243
  (function (UpdateFileSystemRequest) {
356
244
  UpdateFileSystemRequest.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 FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), 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 });
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
  };
@@ -1,19 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
15
17
  export var getRuntimeConfig = function (config) {
16
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
17
21
  var clientSharedValues = getSharedRuntimeConfig(config);
18
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), 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 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
19
28
  };
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
10
10
  import { CreateFileSystemCommandInput, CreateFileSystemCommandOutput } from "./commands/CreateFileSystemCommand";
@@ -135,6 +135,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
135
135
  * @internal
136
136
  */
137
137
  defaultUserAgentProvider?: Provider<__UserAgent>;
138
+ /**
139
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
140
+ */
141
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
138
142
  }
139
143
  declare type EFSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
140
144
  /**