@aws-sdk/client-efs 3.758.0 → 3.774.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +33 -33
  2. package/package.json +7 -7
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessPointAlreadyExists: () => AccessPointAlreadyExists,
25
25
  AccessPointLimitExceeded: () => AccessPointLimitExceeded,
26
26
  AccessPointNotFound: () => AccessPointNotFound,
@@ -107,7 +107,7 @@ __export(src_exports, {
107
107
  paginateDescribeTags: () => paginateDescribeTags,
108
108
  paginateListTagsForResource: () => paginateListTagsForResource
109
109
  });
110
- module.exports = __toCommonJS(src_exports);
110
+ module.exports = __toCommonJS(index_exports);
111
111
 
112
112
  // src/EFSClient.ts
113
113
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -234,9 +234,9 @@ var EFSClient = class extends import_smithy_client.Client {
234
234
  this.middlewareStack.use(
235
235
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
236
236
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultEFSHttpAuthSchemeParametersProvider,
237
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
237
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
238
238
  "aws.auth#sigv4": config.credentials
239
- })
239
+ }), "identityProviderConfigProvider")
240
240
  })
241
241
  );
242
242
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -1490,9 +1490,9 @@ var se_CreateAccessPointCommand = /* @__PURE__ */ __name(async (input, context)
1490
1490
  (0, import_smithy_client.take)(input, {
1491
1491
  ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1492
1492
  FileSystemId: [],
1493
- PosixUser: (_) => (0, import_smithy_client._json)(_),
1494
- RootDirectory: (_) => (0, import_smithy_client._json)(_),
1495
- Tags: (_) => (0, import_smithy_client._json)(_)
1493
+ PosixUser: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "PosixUser"),
1494
+ RootDirectory: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "RootDirectory"),
1495
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
1496
1496
  })
1497
1497
  );
1498
1498
  b.m("POST").h(headers).b(body);
@@ -1513,8 +1513,8 @@ var se_CreateFileSystemCommand = /* @__PURE__ */ __name(async (input, context) =
1513
1513
  Encrypted: [],
1514
1514
  KmsKeyId: [],
1515
1515
  PerformanceMode: [],
1516
- ProvisionedThroughputInMibps: (_) => (0, import_smithy_client.serializeFloat)(_),
1517
- Tags: (_) => (0, import_smithy_client._json)(_),
1516
+ ProvisionedThroughputInMibps: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeFloat)(_), "ProvisionedThroughputInMibps"),
1517
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),
1518
1518
  ThroughputMode: []
1519
1519
  })
1520
1520
  );
@@ -1532,7 +1532,7 @@ var se_CreateMountTargetCommand = /* @__PURE__ */ __name(async (input, context)
1532
1532
  (0, import_smithy_client.take)(input, {
1533
1533
  FileSystemId: [],
1534
1534
  IpAddress: [],
1535
- SecurityGroups: (_) => (0, import_smithy_client._json)(_),
1535
+ SecurityGroups: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SecurityGroups"),
1536
1536
  SubnetId: []
1537
1537
  })
1538
1538
  );
@@ -1549,7 +1549,7 @@ var se_CreateReplicationConfigurationCommand = /* @__PURE__ */ __name(async (inp
1549
1549
  let body;
1550
1550
  body = JSON.stringify(
1551
1551
  (0, import_smithy_client.take)(input, {
1552
- Destinations: (_) => (0, import_smithy_client._json)(_)
1552
+ Destinations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Destinations")
1553
1553
  })
1554
1554
  );
1555
1555
  b.m("POST").h(headers).b(body);
@@ -1565,7 +1565,7 @@ var se_CreateTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
1565
1565
  let body;
1566
1566
  body = JSON.stringify(
1567
1567
  (0, import_smithy_client.take)(input, {
1568
- Tags: (_) => (0, import_smithy_client._json)(_)
1568
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
1569
1569
  })
1570
1570
  );
1571
1571
  b.m("POST").h(headers).b(body);
@@ -1629,7 +1629,7 @@ var se_DeleteTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
1629
1629
  let body;
1630
1630
  body = JSON.stringify(
1631
1631
  (0, import_smithy_client.take)(input, {
1632
- TagKeys: (_) => (0, import_smithy_client._json)(_)
1632
+ TagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagKeys")
1633
1633
  })
1634
1634
  );
1635
1635
  b.m("POST").h(headers).b(body);
@@ -1779,7 +1779,7 @@ var se_ModifyMountTargetSecurityGroupsCommand = /* @__PURE__ */ __name(async (in
1779
1779
  let body;
1780
1780
  body = JSON.stringify(
1781
1781
  (0, import_smithy_client.take)(input, {
1782
- SecurityGroups: (_) => (0, import_smithy_client._json)(_)
1782
+ SecurityGroups: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SecurityGroups")
1783
1783
  })
1784
1784
  );
1785
1785
  b.m("PUT").h(headers).b(body);
@@ -1810,7 +1810,7 @@ var se_PutBackupPolicyCommand = /* @__PURE__ */ __name(async (input, context) =>
1810
1810
  let body;
1811
1811
  body = JSON.stringify(
1812
1812
  (0, import_smithy_client.take)(input, {
1813
- BackupPolicy: (_) => (0, import_smithy_client._json)(_)
1813
+ BackupPolicy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "BackupPolicy")
1814
1814
  })
1815
1815
  );
1816
1816
  b.m("PUT").h(headers).b(body);
@@ -1843,7 +1843,7 @@ var se_PutLifecycleConfigurationCommand = /* @__PURE__ */ __name(async (input, c
1843
1843
  let body;
1844
1844
  body = JSON.stringify(
1845
1845
  (0, import_smithy_client.take)(input, {
1846
- LifecyclePolicies: (_) => (0, import_smithy_client._json)(_)
1846
+ LifecyclePolicies: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LifecyclePolicies")
1847
1847
  })
1848
1848
  );
1849
1849
  b.m("PUT").h(headers).b(body);
@@ -1859,7 +1859,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1859
1859
  let body;
1860
1860
  body = JSON.stringify(
1861
1861
  (0, import_smithy_client.take)(input, {
1862
- Tags: (_) => (0, import_smithy_client._json)(_)
1862
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
1863
1863
  })
1864
1864
  );
1865
1865
  b.m("POST").h(headers).b(body);
@@ -1887,7 +1887,7 @@ var se_UpdateFileSystemCommand = /* @__PURE__ */ __name(async (input, context) =
1887
1887
  let body;
1888
1888
  body = JSON.stringify(
1889
1889
  (0, import_smithy_client.take)(input, {
1890
- ProvisionedThroughputInMibps: (_) => (0, import_smithy_client.serializeFloat)(_),
1890
+ ProvisionedThroughputInMibps: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeFloat)(_), "ProvisionedThroughputInMibps"),
1891
1891
  ThroughputMode: []
1892
1892
  })
1893
1893
  );
@@ -1944,7 +1944,7 @@ var de_CreateFileSystemCommand = /* @__PURE__ */ __name(async (output, context)
1944
1944
  const doc = (0, import_smithy_client.take)(data, {
1945
1945
  AvailabilityZoneId: import_smithy_client.expectString,
1946
1946
  AvailabilityZoneName: import_smithy_client.expectString,
1947
- CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1947
+ CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
1948
1948
  CreationToken: import_smithy_client.expectString,
1949
1949
  Encrypted: import_smithy_client.expectBoolean,
1950
1950
  FileSystemArn: import_smithy_client.expectString,
@@ -1957,7 +1957,7 @@ var de_CreateFileSystemCommand = /* @__PURE__ */ __name(async (output, context)
1957
1957
  OwnerId: import_smithy_client.expectString,
1958
1958
  PerformanceMode: import_smithy_client.expectString,
1959
1959
  ProvisionedThroughputInMibps: import_smithy_client.limitedParseDouble,
1960
- SizeInBytes: (_) => de_FileSystemSize(_, context),
1960
+ SizeInBytes: /* @__PURE__ */ __name((_) => de_FileSystemSize(_, context), "SizeInBytes"),
1961
1961
  Tags: import_smithy_client._json,
1962
1962
  ThroughputMode: import_smithy_client.expectString
1963
1963
  });
@@ -1996,8 +1996,8 @@ var de_CreateReplicationConfigurationCommand = /* @__PURE__ */ __name(async (out
1996
1996
  });
1997
1997
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1998
1998
  const doc = (0, import_smithy_client.take)(data, {
1999
- CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2000
- Destinations: (_) => de_Destinations(_, context),
1999
+ CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
2000
+ Destinations: /* @__PURE__ */ __name((_) => de_Destinations(_, context), "Destinations"),
2001
2001
  OriginalSourceFileSystemArn: import_smithy_client.expectString,
2002
2002
  SourceFileSystemArn: import_smithy_client.expectString,
2003
2003
  SourceFileSystemId: import_smithy_client.expectString,
@@ -2145,7 +2145,7 @@ var de_DescribeFileSystemsCommand = /* @__PURE__ */ __name(async (output, contex
2145
2145
  });
2146
2146
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2147
2147
  const doc = (0, import_smithy_client.take)(data, {
2148
- FileSystems: (_) => de_FileSystemDescriptions(_, context),
2148
+ FileSystems: /* @__PURE__ */ __name((_) => de_FileSystemDescriptions(_, context), "FileSystems"),
2149
2149
  Marker: import_smithy_client.expectString,
2150
2150
  NextMarker: import_smithy_client.expectString
2151
2151
  });
@@ -2206,7 +2206,7 @@ var de_DescribeReplicationConfigurationsCommand = /* @__PURE__ */ __name(async (
2206
2206
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2207
2207
  const doc = (0, import_smithy_client.take)(data, {
2208
2208
  NextToken: import_smithy_client.expectString,
2209
- Replications: (_) => de_ReplicationConfigurationDescriptions(_, context)
2209
+ Replications: /* @__PURE__ */ __name((_) => de_ReplicationConfigurationDescriptions(_, context), "Replications")
2210
2210
  });
2211
2211
  Object.assign(contents, doc);
2212
2212
  return contents;
@@ -2340,7 +2340,7 @@ var de_UpdateFileSystemCommand = /* @__PURE__ */ __name(async (output, context)
2340
2340
  const doc = (0, import_smithy_client.take)(data, {
2341
2341
  AvailabilityZoneId: import_smithy_client.expectString,
2342
2342
  AvailabilityZoneName: import_smithy_client.expectString,
2343
- CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2343
+ CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
2344
2344
  CreationToken: import_smithy_client.expectString,
2345
2345
  Encrypted: import_smithy_client.expectBoolean,
2346
2346
  FileSystemArn: import_smithy_client.expectString,
@@ -2353,7 +2353,7 @@ var de_UpdateFileSystemCommand = /* @__PURE__ */ __name(async (output, context)
2353
2353
  OwnerId: import_smithy_client.expectString,
2354
2354
  PerformanceMode: import_smithy_client.expectString,
2355
2355
  ProvisionedThroughputInMibps: import_smithy_client.limitedParseDouble,
2356
- SizeInBytes: (_) => de_FileSystemSize(_, context),
2356
+ SizeInBytes: /* @__PURE__ */ __name((_) => de_FileSystemSize(_, context), "SizeInBytes"),
2357
2357
  Tags: import_smithy_client._json,
2358
2358
  ThroughputMode: import_smithy_client.expectString
2359
2359
  });
@@ -2940,7 +2940,7 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
2940
2940
  var de_Destination = /* @__PURE__ */ __name((output, context) => {
2941
2941
  return (0, import_smithy_client.take)(output, {
2942
2942
  FileSystemId: import_smithy_client.expectString,
2943
- LastReplicatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2943
+ LastReplicatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastReplicatedTimestamp"),
2944
2944
  OwnerId: import_smithy_client.expectString,
2945
2945
  Region: import_smithy_client.expectString,
2946
2946
  RoleArn: import_smithy_client.expectString,
@@ -2958,7 +2958,7 @@ var de_FileSystemDescription = /* @__PURE__ */ __name((output, context) => {
2958
2958
  return (0, import_smithy_client.take)(output, {
2959
2959
  AvailabilityZoneId: import_smithy_client.expectString,
2960
2960
  AvailabilityZoneName: import_smithy_client.expectString,
2961
- CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2961
+ CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
2962
2962
  CreationToken: import_smithy_client.expectString,
2963
2963
  Encrypted: import_smithy_client.expectBoolean,
2964
2964
  FileSystemArn: import_smithy_client.expectString,
@@ -2971,7 +2971,7 @@ var de_FileSystemDescription = /* @__PURE__ */ __name((output, context) => {
2971
2971
  OwnerId: import_smithy_client.expectString,
2972
2972
  PerformanceMode: import_smithy_client.expectString,
2973
2973
  ProvisionedThroughputInMibps: import_smithy_client.limitedParseDouble,
2974
- SizeInBytes: (_) => de_FileSystemSize(_, context),
2974
+ SizeInBytes: /* @__PURE__ */ __name((_) => de_FileSystemSize(_, context), "SizeInBytes"),
2975
2975
  Tags: import_smithy_client._json,
2976
2976
  ThroughputMode: import_smithy_client.expectString
2977
2977
  });
@@ -2984,7 +2984,7 @@ var de_FileSystemDescriptions = /* @__PURE__ */ __name((output, context) => {
2984
2984
  }, "de_FileSystemDescriptions");
2985
2985
  var de_FileSystemSize = /* @__PURE__ */ __name((output, context) => {
2986
2986
  return (0, import_smithy_client.take)(output, {
2987
- Timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2987
+ Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp"),
2988
2988
  Value: import_smithy_client.expectLong,
2989
2989
  ValueInArchive: import_smithy_client.expectLong,
2990
2990
  ValueInIA: import_smithy_client.expectLong,
@@ -2993,8 +2993,8 @@ var de_FileSystemSize = /* @__PURE__ */ __name((output, context) => {
2993
2993
  }, "de_FileSystemSize");
2994
2994
  var de_ReplicationConfigurationDescription = /* @__PURE__ */ __name((output, context) => {
2995
2995
  return (0, import_smithy_client.take)(output, {
2996
- CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2997
- Destinations: (_) => de_Destinations(_, context),
2996
+ CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
2997
+ Destinations: /* @__PURE__ */ __name((_) => de_Destinations(_, context), "Destinations"),
2998
2998
  OriginalSourceFileSystemArn: import_smithy_client.expectString,
2999
2999
  SourceFileSystemArn: import_smithy_client.expectString,
3000
3000
  SourceFileSystemId: import_smithy_client.expectString,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-efs",
3
3
  "description": "AWS SDK for JavaScript Efs Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.774.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-efs",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
25
- "@aws-sdk/middleware-host-header": "3.734.0",
23
+ "@aws-sdk/core": "3.774.0",
24
+ "@aws-sdk/credential-provider-node": "3.774.0",
25
+ "@aws-sdk/middleware-host-header": "3.774.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.758.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
+ "@aws-sdk/middleware-user-agent": "3.774.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.758.0",
33
+ "@aws-sdk/util-user-agent-node": "3.774.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
35
  "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",