@aws-sdk/client-transfer 3.758.0 → 3.772.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 +29 -33
  2. package/package.json +3 -3
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
  AccessDeniedException: () => AccessDeniedException,
25
25
  AgreementStatusType: () => AgreementStatusType,
26
26
  As2Transport: () => As2Transport,
@@ -169,7 +169,7 @@ __export(src_exports, {
169
169
  waitUntilServerOffline: () => waitUntilServerOffline,
170
170
  waitUntilServerOnline: () => waitUntilServerOnline
171
171
  });
172
- module.exports = __toCommonJS(src_exports);
172
+ module.exports = __toCommonJS(index_exports);
173
173
 
174
174
  // src/TransferClient.ts
175
175
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -296,9 +296,9 @@ var TransferClient = class extends import_smithy_client.Client {
296
296
  this.middlewareStack.use(
297
297
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
298
298
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultTransferHttpAuthSchemeParametersProvider,
299
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
299
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
300
300
  "aws.auth#sigv4": config.credentials
301
- })
301
+ }), "identityProviderConfigProvider")
302
302
  })
303
303
  );
304
304
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -661,16 +661,14 @@ var DirectoryListingOptimization = {
661
661
  var WebAppIdentityProviderDetails;
662
662
  ((WebAppIdentityProviderDetails3) => {
663
663
  WebAppIdentityProviderDetails3.visit = /* @__PURE__ */ __name((value, visitor) => {
664
- if (value.IdentityCenterConfig !== void 0)
665
- return visitor.IdentityCenterConfig(value.IdentityCenterConfig);
664
+ if (value.IdentityCenterConfig !== void 0) return visitor.IdentityCenterConfig(value.IdentityCenterConfig);
666
665
  return visitor._(value.$unknown[0], value.$unknown[1]);
667
666
  }, "visit");
668
667
  })(WebAppIdentityProviderDetails || (WebAppIdentityProviderDetails = {}));
669
668
  var WebAppUnits;
670
669
  ((WebAppUnits3) => {
671
670
  WebAppUnits3.visit = /* @__PURE__ */ __name((value, visitor) => {
672
- if (value.Provisioned !== void 0)
673
- return visitor.Provisioned(value.Provisioned);
671
+ if (value.Provisioned !== void 0) return visitor.Provisioned(value.Provisioned);
674
672
  return visitor._(value.$unknown[0], value.$unknown[1]);
675
673
  }, "visit");
676
674
  })(WebAppUnits || (WebAppUnits = {}));
@@ -723,16 +721,14 @@ var State = {
723
721
  var DescribedWebAppIdentityProviderDetails;
724
722
  ((DescribedWebAppIdentityProviderDetails2) => {
725
723
  DescribedWebAppIdentityProviderDetails2.visit = /* @__PURE__ */ __name((value, visitor) => {
726
- if (value.IdentityCenterConfig !== void 0)
727
- return visitor.IdentityCenterConfig(value.IdentityCenterConfig);
724
+ if (value.IdentityCenterConfig !== void 0) return visitor.IdentityCenterConfig(value.IdentityCenterConfig);
728
725
  return visitor._(value.$unknown[0], value.$unknown[1]);
729
726
  }, "visit");
730
727
  })(DescribedWebAppIdentityProviderDetails || (DescribedWebAppIdentityProviderDetails = {}));
731
728
  var UpdateWebAppIdentityProviderDetails;
732
729
  ((UpdateWebAppIdentityProviderDetails3) => {
733
730
  UpdateWebAppIdentityProviderDetails3.visit = /* @__PURE__ */ __name((value, visitor) => {
734
- if (value.IdentityCenterConfig !== void 0)
735
- return visitor.IdentityCenterConfig(value.IdentityCenterConfig);
731
+ if (value.IdentityCenterConfig !== void 0) return visitor.IdentityCenterConfig(value.IdentityCenterConfig);
736
732
  return visitor._(value.$unknown[0], value.$unknown[1]);
737
733
  }, "visit");
738
734
  })(UpdateWebAppIdentityProviderDetails || (UpdateWebAppIdentityProviderDetails = {}));
@@ -2174,11 +2170,11 @@ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
2174
2170
  }, "de_ThrottlingExceptionRes");
2175
2171
  var se_ImportCertificateRequest = /* @__PURE__ */ __name((input, context) => {
2176
2172
  return (0, import_smithy_client.take)(input, {
2177
- ActiveDate: (_) => _.getTime() / 1e3,
2173
+ ActiveDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "ActiveDate"),
2178
2174
  Certificate: [],
2179
2175
  CertificateChain: [],
2180
2176
  Description: [],
2181
- InactiveDate: (_) => _.getTime() / 1e3,
2177
+ InactiveDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "InactiveDate"),
2182
2178
  PrivateKey: [],
2183
2179
  Tags: import_smithy_client._json,
2184
2180
  Usage: []
@@ -2186,10 +2182,10 @@ var se_ImportCertificateRequest = /* @__PURE__ */ __name((input, context) => {
2186
2182
  }, "se_ImportCertificateRequest");
2187
2183
  var se_UpdateCertificateRequest = /* @__PURE__ */ __name((input, context) => {
2188
2184
  return (0, import_smithy_client.take)(input, {
2189
- ActiveDate: (_) => _.getTime() / 1e3,
2185
+ ActiveDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "ActiveDate"),
2190
2186
  CertificateId: [],
2191
2187
  Description: [],
2192
- InactiveDate: (_) => _.getTime() / 1e3
2188
+ InactiveDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "InactiveDate")
2193
2189
  });
2194
2190
  }, "se_UpdateCertificateRequest");
2195
2191
  var se_UpdateWebAppCustomizationRequest = /* @__PURE__ */ __name((input, context) => {
@@ -2202,20 +2198,20 @@ var se_UpdateWebAppCustomizationRequest = /* @__PURE__ */ __name((input, context
2202
2198
  }, "se_UpdateWebAppCustomizationRequest");
2203
2199
  var de_DescribeCertificateResponse = /* @__PURE__ */ __name((output, context) => {
2204
2200
  return (0, import_smithy_client.take)(output, {
2205
- Certificate: (_) => de_DescribedCertificate(_, context)
2201
+ Certificate: /* @__PURE__ */ __name((_) => de_DescribedCertificate(_, context), "Certificate")
2206
2202
  });
2207
2203
  }, "de_DescribeCertificateResponse");
2208
2204
  var de_DescribedCertificate = /* @__PURE__ */ __name((output, context) => {
2209
2205
  return (0, import_smithy_client.take)(output, {
2210
- ActiveDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2206
+ ActiveDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ActiveDate"),
2211
2207
  Arn: import_smithy_client.expectString,
2212
2208
  Certificate: import_smithy_client.expectString,
2213
2209
  CertificateChain: import_smithy_client.expectString,
2214
2210
  CertificateId: import_smithy_client.expectString,
2215
2211
  Description: import_smithy_client.expectString,
2216
- InactiveDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2217
- NotAfterDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2218
- NotBeforeDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2212
+ InactiveDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "InactiveDate"),
2213
+ NotAfterDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "NotAfterDate"),
2214
+ NotBeforeDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "NotBeforeDate"),
2219
2215
  Serial: import_smithy_client.expectString,
2220
2216
  Status: import_smithy_client.expectString,
2221
2217
  Tags: import_smithy_client._json,
@@ -2226,7 +2222,7 @@ var de_DescribedCertificate = /* @__PURE__ */ __name((output, context) => {
2226
2222
  var de_DescribedHostKey = /* @__PURE__ */ __name((output, context) => {
2227
2223
  return (0, import_smithy_client.take)(output, {
2228
2224
  Arn: import_smithy_client.expectString,
2229
- DateImported: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2225
+ DateImported: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DateImported"),
2230
2226
  Description: import_smithy_client.expectString,
2231
2227
  HostKeyFingerprint: import_smithy_client.expectString,
2232
2228
  HostKeyId: import_smithy_client.expectString,
@@ -2243,7 +2239,7 @@ var de_DescribedUser = /* @__PURE__ */ __name((output, context) => {
2243
2239
  Policy: import_smithy_client.expectString,
2244
2240
  PosixProfile: import_smithy_client._json,
2245
2241
  Role: import_smithy_client.expectString,
2246
- SshPublicKeys: (_) => de_SshPublicKeys(_, context),
2242
+ SshPublicKeys: /* @__PURE__ */ __name((_) => de_SshPublicKeys(_, context), "SshPublicKeys"),
2247
2243
  Tags: import_smithy_client._json,
2248
2244
  UserName: import_smithy_client.expectString
2249
2245
  });
@@ -2259,33 +2255,33 @@ var de_DescribedWebAppCustomization = /* @__PURE__ */ __name((output, context) =
2259
2255
  }, "de_DescribedWebAppCustomization");
2260
2256
  var de_DescribeHostKeyResponse = /* @__PURE__ */ __name((output, context) => {
2261
2257
  return (0, import_smithy_client.take)(output, {
2262
- HostKey: (_) => de_DescribedHostKey(_, context)
2258
+ HostKey: /* @__PURE__ */ __name((_) => de_DescribedHostKey(_, context), "HostKey")
2263
2259
  });
2264
2260
  }, "de_DescribeHostKeyResponse");
2265
2261
  var de_DescribeUserResponse = /* @__PURE__ */ __name((output, context) => {
2266
2262
  return (0, import_smithy_client.take)(output, {
2267
2263
  ServerId: import_smithy_client.expectString,
2268
- User: (_) => de_DescribedUser(_, context)
2264
+ User: /* @__PURE__ */ __name((_) => de_DescribedUser(_, context), "User")
2269
2265
  });
2270
2266
  }, "de_DescribeUserResponse");
2271
2267
  var de_DescribeWebAppCustomizationResponse = /* @__PURE__ */ __name((output, context) => {
2272
2268
  return (0, import_smithy_client.take)(output, {
2273
- WebAppCustomization: (_) => de_DescribedWebAppCustomization(_, context)
2269
+ WebAppCustomization: /* @__PURE__ */ __name((_) => de_DescribedWebAppCustomization(_, context), "WebAppCustomization")
2274
2270
  });
2275
2271
  }, "de_DescribeWebAppCustomizationResponse");
2276
2272
  var de_ListCertificatesResponse = /* @__PURE__ */ __name((output, context) => {
2277
2273
  return (0, import_smithy_client.take)(output, {
2278
- Certificates: (_) => de_ListedCertificates(_, context),
2274
+ Certificates: /* @__PURE__ */ __name((_) => de_ListedCertificates(_, context), "Certificates"),
2279
2275
  NextToken: import_smithy_client.expectString
2280
2276
  });
2281
2277
  }, "de_ListCertificatesResponse");
2282
2278
  var de_ListedCertificate = /* @__PURE__ */ __name((output, context) => {
2283
2279
  return (0, import_smithy_client.take)(output, {
2284
- ActiveDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2280
+ ActiveDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ActiveDate"),
2285
2281
  Arn: import_smithy_client.expectString,
2286
2282
  CertificateId: import_smithy_client.expectString,
2287
2283
  Description: import_smithy_client.expectString,
2288
- InactiveDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2284
+ InactiveDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "InactiveDate"),
2289
2285
  Status: import_smithy_client.expectString,
2290
2286
  Type: import_smithy_client.expectString,
2291
2287
  Usage: import_smithy_client.expectString
@@ -2300,7 +2296,7 @@ var de_ListedCertificates = /* @__PURE__ */ __name((output, context) => {
2300
2296
  var de_ListedHostKey = /* @__PURE__ */ __name((output, context) => {
2301
2297
  return (0, import_smithy_client.take)(output, {
2302
2298
  Arn: import_smithy_client.expectString,
2303
- DateImported: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2299
+ DateImported: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DateImported"),
2304
2300
  Description: import_smithy_client.expectString,
2305
2301
  Fingerprint: import_smithy_client.expectString,
2306
2302
  HostKeyId: import_smithy_client.expectString,
@@ -2315,14 +2311,14 @@ var de_ListedHostKeys = /* @__PURE__ */ __name((output, context) => {
2315
2311
  }, "de_ListedHostKeys");
2316
2312
  var de_ListHostKeysResponse = /* @__PURE__ */ __name((output, context) => {
2317
2313
  return (0, import_smithy_client.take)(output, {
2318
- HostKeys: (_) => de_ListedHostKeys(_, context),
2314
+ HostKeys: /* @__PURE__ */ __name((_) => de_ListedHostKeys(_, context), "HostKeys"),
2319
2315
  NextToken: import_smithy_client.expectString,
2320
2316
  ServerId: import_smithy_client.expectString
2321
2317
  });
2322
2318
  }, "de_ListHostKeysResponse");
2323
2319
  var de_SshPublicKey = /* @__PURE__ */ __name((output, context) => {
2324
2320
  return (0, import_smithy_client.take)(output, {
2325
- DateImported: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2321
+ DateImported: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DateImported"),
2326
2322
  SshPublicKeyBody: import_smithy_client.expectString,
2327
2323
  SshPublicKeyId: import_smithy_client.expectString
2328
2324
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transfer",
3
3
  "description": "AWS SDK for JavaScript Transfer Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.772.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-transfer",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",