@aws-sdk/client-transfer 3.926.0 → 3.928.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 (95) hide show
  1. package/dist-cjs/index.js +2049 -2206
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/TransferClient.js +2 -0
  4. package/dist-es/commands/CreateAccessCommand.js +3 -9
  5. package/dist-es/commands/CreateAgreementCommand.js +3 -9
  6. package/dist-es/commands/CreateConnectorCommand.js +3 -9
  7. package/dist-es/commands/CreateProfileCommand.js +3 -9
  8. package/dist-es/commands/CreateServerCommand.js +3 -10
  9. package/dist-es/commands/CreateUserCommand.js +3 -9
  10. package/dist-es/commands/CreateWebAppCommand.js +3 -9
  11. package/dist-es/commands/CreateWorkflowCommand.js +3 -9
  12. package/dist-es/commands/DeleteAccessCommand.js +3 -9
  13. package/dist-es/commands/DeleteAgreementCommand.js +3 -9
  14. package/dist-es/commands/DeleteCertificateCommand.js +3 -9
  15. package/dist-es/commands/DeleteConnectorCommand.js +3 -9
  16. package/dist-es/commands/DeleteHostKeyCommand.js +3 -9
  17. package/dist-es/commands/DeleteProfileCommand.js +3 -9
  18. package/dist-es/commands/DeleteServerCommand.js +3 -9
  19. package/dist-es/commands/DeleteSshPublicKeyCommand.js +3 -9
  20. package/dist-es/commands/DeleteUserCommand.js +3 -9
  21. package/dist-es/commands/DeleteWebAppCommand.js +3 -9
  22. package/dist-es/commands/DeleteWebAppCustomizationCommand.js +3 -9
  23. package/dist-es/commands/DeleteWorkflowCommand.js +3 -9
  24. package/dist-es/commands/DescribeAccessCommand.js +3 -9
  25. package/dist-es/commands/DescribeAgreementCommand.js +3 -9
  26. package/dist-es/commands/DescribeCertificateCommand.js +3 -10
  27. package/dist-es/commands/DescribeConnectorCommand.js +3 -9
  28. package/dist-es/commands/DescribeExecutionCommand.js +3 -9
  29. package/dist-es/commands/DescribeHostKeyCommand.js +3 -9
  30. package/dist-es/commands/DescribeProfileCommand.js +3 -9
  31. package/dist-es/commands/DescribeSecurityPolicyCommand.js +3 -9
  32. package/dist-es/commands/DescribeServerCommand.js +3 -9
  33. package/dist-es/commands/DescribeUserCommand.js +3 -9
  34. package/dist-es/commands/DescribeWebAppCommand.js +3 -9
  35. package/dist-es/commands/DescribeWebAppCustomizationCommand.js +3 -10
  36. package/dist-es/commands/DescribeWorkflowCommand.js +3 -9
  37. package/dist-es/commands/ImportCertificateCommand.js +3 -10
  38. package/dist-es/commands/ImportHostKeyCommand.js +3 -10
  39. package/dist-es/commands/ImportSshPublicKeyCommand.js +3 -9
  40. package/dist-es/commands/ListAccessesCommand.js +3 -9
  41. package/dist-es/commands/ListAgreementsCommand.js +3 -9
  42. package/dist-es/commands/ListCertificatesCommand.js +3 -9
  43. package/dist-es/commands/ListConnectorsCommand.js +3 -9
  44. package/dist-es/commands/ListExecutionsCommand.js +3 -9
  45. package/dist-es/commands/ListFileTransferResultsCommand.js +3 -9
  46. package/dist-es/commands/ListHostKeysCommand.js +3 -9
  47. package/dist-es/commands/ListProfilesCommand.js +3 -9
  48. package/dist-es/commands/ListSecurityPoliciesCommand.js +3 -9
  49. package/dist-es/commands/ListServersCommand.js +3 -9
  50. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  51. package/dist-es/commands/ListUsersCommand.js +3 -9
  52. package/dist-es/commands/ListWebAppsCommand.js +3 -9
  53. package/dist-es/commands/ListWorkflowsCommand.js +3 -9
  54. package/dist-es/commands/SendWorkflowStepStateCommand.js +3 -9
  55. package/dist-es/commands/StartDirectoryListingCommand.js +3 -9
  56. package/dist-es/commands/StartFileTransferCommand.js +3 -9
  57. package/dist-es/commands/StartRemoteDeleteCommand.js +3 -9
  58. package/dist-es/commands/StartRemoteMoveCommand.js +3 -9
  59. package/dist-es/commands/StartServerCommand.js +3 -9
  60. package/dist-es/commands/StopServerCommand.js +3 -9
  61. package/dist-es/commands/TagResourceCommand.js +3 -9
  62. package/dist-es/commands/TestConnectionCommand.js +3 -9
  63. package/dist-es/commands/TestIdentityProviderCommand.js +3 -10
  64. package/dist-es/commands/UntagResourceCommand.js +3 -9
  65. package/dist-es/commands/UpdateAccessCommand.js +3 -9
  66. package/dist-es/commands/UpdateAgreementCommand.js +3 -9
  67. package/dist-es/commands/UpdateCertificateCommand.js +3 -9
  68. package/dist-es/commands/UpdateConnectorCommand.js +3 -9
  69. package/dist-es/commands/UpdateHostKeyCommand.js +3 -9
  70. package/dist-es/commands/UpdateProfileCommand.js +3 -9
  71. package/dist-es/commands/UpdateServerCommand.js +3 -10
  72. package/dist-es/commands/UpdateUserCommand.js +3 -9
  73. package/dist-es/commands/UpdateWebAppCommand.js +3 -9
  74. package/dist-es/commands/UpdateWebAppCustomizationCommand.js +3 -10
  75. package/dist-es/models/models_0.js +0 -48
  76. package/dist-es/runtimeConfig.shared.js +7 -0
  77. package/dist-es/schemas/schemas_0.js +1893 -0
  78. package/dist-types/TransferClient.d.ts +10 -1
  79. package/dist-types/models/models_0.d.ts +0 -40
  80. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  81. package/dist-types/runtimeConfig.d.ts +1 -0
  82. package/dist-types/runtimeConfig.native.d.ts +1 -0
  83. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  84. package/dist-types/schemas/schemas_0.d.ts +321 -0
  85. package/dist-types/ts3.4/TransferClient.d.ts +4 -0
  86. package/dist-types/ts3.4/models/models_0.d.ts +0 -30
  87. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  88. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  89. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  90. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  91. package/dist-types/ts3.4/schemas/schemas_0.d.ts +327 -0
  92. package/package.json +5 -5
  93. package/dist-es/protocols/Aws_json1_1.js +0 -1629
  94. package/dist-types/protocols/Aws_json1_1.d.ts +0 -641
  95. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -857
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateWebAppCommand, se_UpdateWebAppCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateWebApp } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateWebAppCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("TransferService", "UpdateWebApp", {})
17
13
  .n("TransferClient", "UpdateWebAppCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateWebAppCommand)
20
- .de(de_UpdateWebAppCommand)
14
+ .sc(UpdateWebApp)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateWebAppCustomizationRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateWebAppCustomizationCommand, se_UpdateWebAppCustomizationCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateWebAppCustomization } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateWebAppCustomizationCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("TransferService", "UpdateWebAppCustomization", {})
18
13
  .n("TransferClient", "UpdateWebAppCustomizationCommand")
19
- .f(UpdateWebAppCustomizationRequestFilterSensitiveLog, void 0)
20
- .ser(se_UpdateWebAppCustomizationCommand)
21
- .de(de_UpdateWebAppCustomizationCommand)
14
+ .sc(UpdateWebAppCustomization)
22
15
  .build() {
23
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { TransferServiceException as __BaseException } from "./TransferServiceException";
3
2
  export class AccessDeniedException extends __BaseException {
4
3
  name = "AccessDeniedException";
@@ -378,50 +377,3 @@ export var UpdateWebAppIdentityProviderDetails;
378
377
  return visitor._(value.$unknown[0], value.$unknown[1]);
379
378
  };
380
379
  })(UpdateWebAppIdentityProviderDetails || (UpdateWebAppIdentityProviderDetails = {}));
381
- export const DescribedCertificateFilterSensitiveLog = (obj) => ({
382
- ...obj,
383
- ...(obj.Certificate && { Certificate: SENSITIVE_STRING }),
384
- ...(obj.CertificateChain && { CertificateChain: SENSITIVE_STRING }),
385
- });
386
- export const DescribeCertificateResponseFilterSensitiveLog = (obj) => ({
387
- ...obj,
388
- ...(obj.Certificate && { Certificate: DescribedCertificateFilterSensitiveLog(obj.Certificate) }),
389
- });
390
- export const ImportCertificateRequestFilterSensitiveLog = (obj) => ({
391
- ...obj,
392
- ...(obj.Certificate && { Certificate: SENSITIVE_STRING }),
393
- ...(obj.CertificateChain && { CertificateChain: SENSITIVE_STRING }),
394
- ...(obj.PrivateKey && { PrivateKey: SENSITIVE_STRING }),
395
- });
396
- export const CreateServerRequestFilterSensitiveLog = (obj) => ({
397
- ...obj,
398
- ...(obj.HostKey && { HostKey: SENSITIVE_STRING }),
399
- });
400
- export const DescribedWebAppCustomizationFilterSensitiveLog = (obj) => ({
401
- ...obj,
402
- ...(obj.LogoFile && { LogoFile: SENSITIVE_STRING }),
403
- ...(obj.FaviconFile && { FaviconFile: SENSITIVE_STRING }),
404
- });
405
- export const DescribeWebAppCustomizationResponseFilterSensitiveLog = (obj) => ({
406
- ...obj,
407
- ...(obj.WebAppCustomization && {
408
- WebAppCustomization: DescribedWebAppCustomizationFilterSensitiveLog(obj.WebAppCustomization),
409
- }),
410
- });
411
- export const ImportHostKeyRequestFilterSensitiveLog = (obj) => ({
412
- ...obj,
413
- ...(obj.HostKeyBody && { HostKeyBody: SENSITIVE_STRING }),
414
- });
415
- export const UpdateServerRequestFilterSensitiveLog = (obj) => ({
416
- ...obj,
417
- ...(obj.HostKey && { HostKey: SENSITIVE_STRING }),
418
- });
419
- export const TestIdentityProviderRequestFilterSensitiveLog = (obj) => ({
420
- ...obj,
421
- ...(obj.UserPassword && { UserPassword: SENSITIVE_STRING }),
422
- });
423
- export const UpdateWebAppCustomizationRequestFilterSensitiveLog = (obj) => ({
424
- ...obj,
425
- ...(obj.LogoFile && { LogoFile: SENSITIVE_STRING }),
426
- ...(obj.FaviconFile && { FaviconFile: SENSITIVE_STRING }),
427
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_1Protocol({
28
+ defaultNamespace: "com.amazonaws.transfer",
29
+ serviceTarget: "TransferService",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Transfer",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,