@aws-sdk/client-s3files 3.1076.0 → 3.1078.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 (83) hide show
  1. package/dist-cjs/index.js +32 -215
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateAccessPointCommand.js +2 -14
  4. package/dist-es/commands/CreateFileSystemCommand.js +2 -14
  5. package/dist-es/commands/CreateMountTargetCommand.js +2 -14
  6. package/dist-es/commands/DeleteAccessPointCommand.js +2 -14
  7. package/dist-es/commands/DeleteFileSystemCommand.js +2 -14
  8. package/dist-es/commands/DeleteFileSystemPolicyCommand.js +2 -14
  9. package/dist-es/commands/DeleteMountTargetCommand.js +2 -14
  10. package/dist-es/commands/GetAccessPointCommand.js +2 -14
  11. package/dist-es/commands/GetFileSystemCommand.js +2 -14
  12. package/dist-es/commands/GetFileSystemPolicyCommand.js +2 -14
  13. package/dist-es/commands/GetMountTargetCommand.js +2 -14
  14. package/dist-es/commands/GetSynchronizationConfigurationCommand.js +2 -14
  15. package/dist-es/commands/ListAccessPointsCommand.js +2 -14
  16. package/dist-es/commands/ListFileSystemsCommand.js +2 -14
  17. package/dist-es/commands/ListMountTargetsCommand.js +2 -14
  18. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  19. package/dist-es/commands/PutFileSystemPolicyCommand.js +2 -14
  20. package/dist-es/commands/PutSynchronizationConfigurationCommand.js +2 -14
  21. package/dist-es/commands/TagResourceCommand.js +2 -14
  22. package/dist-es/commands/UntagResourceCommand.js +2 -14
  23. package/dist-es/commands/UpdateMountTargetCommand.js +2 -14
  24. package/dist-es/index.js +1 -0
  25. package/dist-es/runtimeConfig.browser.js +0 -2
  26. package/dist-es/runtimeConfig.js +1 -2
  27. package/dist-es/runtimeConfig.native.js +0 -2
  28. package/dist-es/runtimeConfig.shared.js +2 -0
  29. package/dist-types/commandBuilder.d.ts +18 -0
  30. package/dist-types/commands/CreateAccessPointCommand.d.ts +3 -8
  31. package/dist-types/commands/CreateFileSystemCommand.d.ts +3 -8
  32. package/dist-types/commands/CreateMountTargetCommand.d.ts +3 -8
  33. package/dist-types/commands/DeleteAccessPointCommand.d.ts +3 -8
  34. package/dist-types/commands/DeleteFileSystemCommand.d.ts +3 -8
  35. package/dist-types/commands/DeleteFileSystemPolicyCommand.d.ts +3 -8
  36. package/dist-types/commands/DeleteMountTargetCommand.d.ts +3 -8
  37. package/dist-types/commands/GetAccessPointCommand.d.ts +3 -8
  38. package/dist-types/commands/GetFileSystemCommand.d.ts +3 -8
  39. package/dist-types/commands/GetFileSystemPolicyCommand.d.ts +3 -8
  40. package/dist-types/commands/GetMountTargetCommand.d.ts +3 -8
  41. package/dist-types/commands/GetSynchronizationConfigurationCommand.d.ts +3 -8
  42. package/dist-types/commands/ListAccessPointsCommand.d.ts +3 -8
  43. package/dist-types/commands/ListFileSystemsCommand.d.ts +3 -8
  44. package/dist-types/commands/ListMountTargetsCommand.d.ts +3 -8
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  46. package/dist-types/commands/PutFileSystemPolicyCommand.d.ts +3 -8
  47. package/dist-types/commands/PutSynchronizationConfigurationCommand.d.ts +3 -8
  48. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  49. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  50. package/dist-types/commands/UpdateMountTargetCommand.d.ts +3 -8
  51. package/dist-types/index.d.ts +1 -0
  52. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  53. package/dist-types/runtimeConfig.d.ts +1 -1
  54. package/dist-types/runtimeConfig.native.d.ts +1 -1
  55. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  56. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  57. package/dist-types/ts3.4/commands/CreateAccessPointCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/CreateFileSystemCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/CreateMountTargetCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/DeleteAccessPointCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/DeleteFileSystemCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/DeleteFileSystemPolicyCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/DeleteMountTargetCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetAccessPointCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/GetFileSystemCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetFileSystemPolicyCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetMountTargetCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/GetSynchronizationConfigurationCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListAccessPointsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListFileSystemsCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ListMountTargetsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/PutFileSystemPolicyCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/PutSynchronizationConfigurationCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/UpdateMountTargetCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/index.d.ts +1 -0
  79. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  80. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  81. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  82. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  83. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultS3FilesHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -65,7 +67,7 @@ const commonParams = {
65
67
  Region: { type: "builtInParams", name: "region" },
66
68
  };
67
69
 
68
- var version = "3.1075.0";
70
+ var version = "3.1077.0";
69
71
  var packageInfo = {
70
72
  version: version};
71
73
 
@@ -730,6 +732,7 @@ const getRuntimeConfig$1 = (config) => {
730
732
  serviceTarget: "S3Files",
731
733
  },
732
734
  serviceId: config?.serviceId ?? "S3Files",
735
+ sha256: config?.sha256 ?? Sha256,
733
736
  urlParser: config?.urlParser ?? parseUrl,
734
737
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
735
738
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -763,7 +766,6 @@ const getRuntimeConfig = (config) => {
763
766
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
764
767
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
765
768
  }, config),
766
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
767
769
  streamCollector: config?.streamCollector ?? streamCollector,
768
770
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
769
771
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -851,256 +853,71 @@ class S3FilesClient extends Client {
851
853
  }
852
854
  }
853
855
 
854
- class CreateAccessPointCommand extends Command
855
- .classBuilder()
856
- .ep(commonParams)
857
- .m(function (Command, cs, config, o) {
858
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
859
- })
860
- .s("S3Files", "CreateAccessPoint", {})
861
- .n("S3FilesClient", "CreateAccessPointCommand")
862
- .sc(CreateAccessPoint$)
863
- .build() {
856
+ const command = makeBuilder(commonParams, "S3Files", "S3FilesClient", getEndpointPlugin);
857
+ const _ep0 = {};
858
+ const _mw0 = (Command, cs, config, o) => [];
859
+
860
+ class CreateAccessPointCommand extends command(_ep0, _mw0, "CreateAccessPoint", CreateAccessPoint$) {
864
861
  }
865
862
 
866
- class CreateFileSystemCommand extends Command
867
- .classBuilder()
868
- .ep(commonParams)
869
- .m(function (Command, cs, config, o) {
870
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
871
- })
872
- .s("S3Files", "CreateFileSystem", {})
873
- .n("S3FilesClient", "CreateFileSystemCommand")
874
- .sc(CreateFileSystem$)
875
- .build() {
863
+ class CreateFileSystemCommand extends command(_ep0, _mw0, "CreateFileSystem", CreateFileSystem$) {
876
864
  }
877
865
 
878
- class CreateMountTargetCommand extends Command
879
- .classBuilder()
880
- .ep(commonParams)
881
- .m(function (Command, cs, config, o) {
882
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
883
- })
884
- .s("S3Files", "CreateMountTarget", {})
885
- .n("S3FilesClient", "CreateMountTargetCommand")
886
- .sc(CreateMountTarget$)
887
- .build() {
866
+ class CreateMountTargetCommand extends command(_ep0, _mw0, "CreateMountTarget", CreateMountTarget$) {
888
867
  }
889
868
 
890
- class DeleteAccessPointCommand extends Command
891
- .classBuilder()
892
- .ep(commonParams)
893
- .m(function (Command, cs, config, o) {
894
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
895
- })
896
- .s("S3Files", "DeleteAccessPoint", {})
897
- .n("S3FilesClient", "DeleteAccessPointCommand")
898
- .sc(DeleteAccessPoint$)
899
- .build() {
869
+ class DeleteAccessPointCommand extends command(_ep0, _mw0, "DeleteAccessPoint", DeleteAccessPoint$) {
900
870
  }
901
871
 
902
- class DeleteFileSystemCommand extends Command
903
- .classBuilder()
904
- .ep(commonParams)
905
- .m(function (Command, cs, config, o) {
906
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
907
- })
908
- .s("S3Files", "DeleteFileSystem", {})
909
- .n("S3FilesClient", "DeleteFileSystemCommand")
910
- .sc(DeleteFileSystem$)
911
- .build() {
872
+ class DeleteFileSystemCommand extends command(_ep0, _mw0, "DeleteFileSystem", DeleteFileSystem$) {
912
873
  }
913
874
 
914
- class DeleteFileSystemPolicyCommand extends Command
915
- .classBuilder()
916
- .ep(commonParams)
917
- .m(function (Command, cs, config, o) {
918
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
919
- })
920
- .s("S3Files", "DeleteFileSystemPolicy", {})
921
- .n("S3FilesClient", "DeleteFileSystemPolicyCommand")
922
- .sc(DeleteFileSystemPolicy$)
923
- .build() {
875
+ class DeleteFileSystemPolicyCommand extends command(_ep0, _mw0, "DeleteFileSystemPolicy", DeleteFileSystemPolicy$) {
924
876
  }
925
877
 
926
- class DeleteMountTargetCommand extends Command
927
- .classBuilder()
928
- .ep(commonParams)
929
- .m(function (Command, cs, config, o) {
930
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
931
- })
932
- .s("S3Files", "DeleteMountTarget", {})
933
- .n("S3FilesClient", "DeleteMountTargetCommand")
934
- .sc(DeleteMountTarget$)
935
- .build() {
878
+ class DeleteMountTargetCommand extends command(_ep0, _mw0, "DeleteMountTarget", DeleteMountTarget$) {
936
879
  }
937
880
 
938
- class GetAccessPointCommand extends Command
939
- .classBuilder()
940
- .ep(commonParams)
941
- .m(function (Command, cs, config, o) {
942
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
943
- })
944
- .s("S3Files", "GetAccessPoint", {})
945
- .n("S3FilesClient", "GetAccessPointCommand")
946
- .sc(GetAccessPoint$)
947
- .build() {
881
+ class GetAccessPointCommand extends command(_ep0, _mw0, "GetAccessPoint", GetAccessPoint$) {
948
882
  }
949
883
 
950
- class GetFileSystemCommand extends Command
951
- .classBuilder()
952
- .ep(commonParams)
953
- .m(function (Command, cs, config, o) {
954
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
955
- })
956
- .s("S3Files", "GetFileSystem", {})
957
- .n("S3FilesClient", "GetFileSystemCommand")
958
- .sc(GetFileSystem$)
959
- .build() {
884
+ class GetFileSystemCommand extends command(_ep0, _mw0, "GetFileSystem", GetFileSystem$) {
960
885
  }
961
886
 
962
- class GetFileSystemPolicyCommand extends Command
963
- .classBuilder()
964
- .ep(commonParams)
965
- .m(function (Command, cs, config, o) {
966
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
967
- })
968
- .s("S3Files", "GetFileSystemPolicy", {})
969
- .n("S3FilesClient", "GetFileSystemPolicyCommand")
970
- .sc(GetFileSystemPolicy$)
971
- .build() {
887
+ class GetFileSystemPolicyCommand extends command(_ep0, _mw0, "GetFileSystemPolicy", GetFileSystemPolicy$) {
972
888
  }
973
889
 
974
- class GetMountTargetCommand extends Command
975
- .classBuilder()
976
- .ep(commonParams)
977
- .m(function (Command, cs, config, o) {
978
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
979
- })
980
- .s("S3Files", "GetMountTarget", {})
981
- .n("S3FilesClient", "GetMountTargetCommand")
982
- .sc(GetMountTarget$)
983
- .build() {
890
+ class GetMountTargetCommand extends command(_ep0, _mw0, "GetMountTarget", GetMountTarget$) {
984
891
  }
985
892
 
986
- class GetSynchronizationConfigurationCommand extends Command
987
- .classBuilder()
988
- .ep(commonParams)
989
- .m(function (Command, cs, config, o) {
990
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
991
- })
992
- .s("S3Files", "GetSynchronizationConfiguration", {})
993
- .n("S3FilesClient", "GetSynchronizationConfigurationCommand")
994
- .sc(GetSynchronizationConfiguration$)
995
- .build() {
893
+ class GetSynchronizationConfigurationCommand extends command(_ep0, _mw0, "GetSynchronizationConfiguration", GetSynchronizationConfiguration$) {
996
894
  }
997
895
 
998
- class ListAccessPointsCommand extends Command
999
- .classBuilder()
1000
- .ep(commonParams)
1001
- .m(function (Command, cs, config, o) {
1002
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1003
- })
1004
- .s("S3Files", "ListAccessPoints", {})
1005
- .n("S3FilesClient", "ListAccessPointsCommand")
1006
- .sc(ListAccessPoints$)
1007
- .build() {
896
+ class ListAccessPointsCommand extends command(_ep0, _mw0, "ListAccessPoints", ListAccessPoints$) {
1008
897
  }
1009
898
 
1010
- class ListFileSystemsCommand extends Command
1011
- .classBuilder()
1012
- .ep(commonParams)
1013
- .m(function (Command, cs, config, o) {
1014
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1015
- })
1016
- .s("S3Files", "ListFileSystems", {})
1017
- .n("S3FilesClient", "ListFileSystemsCommand")
1018
- .sc(ListFileSystems$)
1019
- .build() {
899
+ class ListFileSystemsCommand extends command(_ep0, _mw0, "ListFileSystems", ListFileSystems$) {
1020
900
  }
1021
901
 
1022
- class ListMountTargetsCommand extends Command
1023
- .classBuilder()
1024
- .ep(commonParams)
1025
- .m(function (Command, cs, config, o) {
1026
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1027
- })
1028
- .s("S3Files", "ListMountTargets", {})
1029
- .n("S3FilesClient", "ListMountTargetsCommand")
1030
- .sc(ListMountTargets$)
1031
- .build() {
902
+ class ListMountTargetsCommand extends command(_ep0, _mw0, "ListMountTargets", ListMountTargets$) {
1032
903
  }
1033
904
 
1034
- class ListTagsForResourceCommand extends Command
1035
- .classBuilder()
1036
- .ep(commonParams)
1037
- .m(function (Command, cs, config, o) {
1038
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1039
- })
1040
- .s("S3Files", "ListTagsForResource", {})
1041
- .n("S3FilesClient", "ListTagsForResourceCommand")
1042
- .sc(ListTagsForResource$)
1043
- .build() {
905
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1044
906
  }
1045
907
 
1046
- class PutFileSystemPolicyCommand extends Command
1047
- .classBuilder()
1048
- .ep(commonParams)
1049
- .m(function (Command, cs, config, o) {
1050
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1051
- })
1052
- .s("S3Files", "PutFileSystemPolicy", {})
1053
- .n("S3FilesClient", "PutFileSystemPolicyCommand")
1054
- .sc(PutFileSystemPolicy$)
1055
- .build() {
908
+ class PutFileSystemPolicyCommand extends command(_ep0, _mw0, "PutFileSystemPolicy", PutFileSystemPolicy$) {
1056
909
  }
1057
910
 
1058
- class PutSynchronizationConfigurationCommand extends Command
1059
- .classBuilder()
1060
- .ep(commonParams)
1061
- .m(function (Command, cs, config, o) {
1062
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1063
- })
1064
- .s("S3Files", "PutSynchronizationConfiguration", {})
1065
- .n("S3FilesClient", "PutSynchronizationConfigurationCommand")
1066
- .sc(PutSynchronizationConfiguration$)
1067
- .build() {
911
+ class PutSynchronizationConfigurationCommand extends command(_ep0, _mw0, "PutSynchronizationConfiguration", PutSynchronizationConfiguration$) {
1068
912
  }
1069
913
 
1070
- class TagResourceCommand extends Command
1071
- .classBuilder()
1072
- .ep(commonParams)
1073
- .m(function (Command, cs, config, o) {
1074
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1075
- })
1076
- .s("S3Files", "TagResource", {})
1077
- .n("S3FilesClient", "TagResourceCommand")
1078
- .sc(TagResource$)
1079
- .build() {
914
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1080
915
  }
1081
916
 
1082
- class UntagResourceCommand extends Command
1083
- .classBuilder()
1084
- .ep(commonParams)
1085
- .m(function (Command, cs, config, o) {
1086
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1087
- })
1088
- .s("S3Files", "UntagResource", {})
1089
- .n("S3FilesClient", "UntagResourceCommand")
1090
- .sc(UntagResource$)
1091
- .build() {
917
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1092
918
  }
1093
919
 
1094
- class UpdateMountTargetCommand extends Command
1095
- .classBuilder()
1096
- .ep(commonParams)
1097
- .m(function (Command, cs, config, o) {
1098
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1099
- })
1100
- .s("S3Files", "UpdateMountTarget", {})
1101
- .n("S3FilesClient", "UpdateMountTargetCommand")
1102
- .sc(UpdateMountTarget$)
1103
- .build() {
920
+ class UpdateMountTargetCommand extends command(_ep0, _mw0, "UpdateMountTarget", UpdateMountTarget$) {
1104
921
  }
1105
922
 
1106
923
  const paginateListAccessPoints = createPaginator(S3FilesClient, ListAccessPointsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "S3Files", "S3FilesClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateAccessPoint$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAccessPointCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "CreateAccessPoint", {})
13
- .n("S3FilesClient", "CreateAccessPointCommand")
14
- .sc(CreateAccessPoint$)
15
- .build() {
3
+ export class CreateAccessPointCommand extends command(_ep0, _mw0, "CreateAccessPoint", CreateAccessPoint$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateFileSystem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateFileSystemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "CreateFileSystem", {})
13
- .n("S3FilesClient", "CreateFileSystemCommand")
14
- .sc(CreateFileSystem$)
15
- .build() {
3
+ export class CreateFileSystemCommand extends command(_ep0, _mw0, "CreateFileSystem", CreateFileSystem$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateMountTarget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateMountTargetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "CreateMountTarget", {})
13
- .n("S3FilesClient", "CreateMountTargetCommand")
14
- .sc(CreateMountTarget$)
15
- .build() {
3
+ export class CreateMountTargetCommand extends command(_ep0, _mw0, "CreateMountTarget", CreateMountTarget$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteAccessPoint$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAccessPointCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "DeleteAccessPoint", {})
13
- .n("S3FilesClient", "DeleteAccessPointCommand")
14
- .sc(DeleteAccessPoint$)
15
- .build() {
3
+ export class DeleteAccessPointCommand extends command(_ep0, _mw0, "DeleteAccessPoint", DeleteAccessPoint$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteFileSystem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteFileSystemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "DeleteFileSystem", {})
13
- .n("S3FilesClient", "DeleteFileSystemCommand")
14
- .sc(DeleteFileSystem$)
15
- .build() {
3
+ export class DeleteFileSystemCommand extends command(_ep0, _mw0, "DeleteFileSystem", DeleteFileSystem$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteFileSystemPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteFileSystemPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "DeleteFileSystemPolicy", {})
13
- .n("S3FilesClient", "DeleteFileSystemPolicyCommand")
14
- .sc(DeleteFileSystemPolicy$)
15
- .build() {
3
+ export class DeleteFileSystemPolicyCommand extends command(_ep0, _mw0, "DeleteFileSystemPolicy", DeleteFileSystemPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteMountTarget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteMountTargetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "DeleteMountTarget", {})
13
- .n("S3FilesClient", "DeleteMountTargetCommand")
14
- .sc(DeleteMountTarget$)
15
- .build() {
3
+ export class DeleteMountTargetCommand extends command(_ep0, _mw0, "DeleteMountTarget", DeleteMountTarget$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetAccessPoint$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAccessPointCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "GetAccessPoint", {})
13
- .n("S3FilesClient", "GetAccessPointCommand")
14
- .sc(GetAccessPoint$)
15
- .build() {
3
+ export class GetAccessPointCommand extends command(_ep0, _mw0, "GetAccessPoint", GetAccessPoint$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetFileSystem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetFileSystemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "GetFileSystem", {})
13
- .n("S3FilesClient", "GetFileSystemCommand")
14
- .sc(GetFileSystem$)
15
- .build() {
3
+ export class GetFileSystemCommand extends command(_ep0, _mw0, "GetFileSystem", GetFileSystem$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetFileSystemPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetFileSystemPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "GetFileSystemPolicy", {})
13
- .n("S3FilesClient", "GetFileSystemPolicyCommand")
14
- .sc(GetFileSystemPolicy$)
15
- .build() {
3
+ export class GetFileSystemPolicyCommand extends command(_ep0, _mw0, "GetFileSystemPolicy", GetFileSystemPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetMountTarget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetMountTargetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "GetMountTarget", {})
13
- .n("S3FilesClient", "GetMountTargetCommand")
14
- .sc(GetMountTarget$)
15
- .build() {
3
+ export class GetMountTargetCommand extends command(_ep0, _mw0, "GetMountTarget", GetMountTarget$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetSynchronizationConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSynchronizationConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "GetSynchronizationConfiguration", {})
13
- .n("S3FilesClient", "GetSynchronizationConfigurationCommand")
14
- .sc(GetSynchronizationConfiguration$)
15
- .build() {
3
+ export class GetSynchronizationConfigurationCommand extends command(_ep0, _mw0, "GetSynchronizationConfiguration", GetSynchronizationConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAccessPoints$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAccessPointsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "ListAccessPoints", {})
13
- .n("S3FilesClient", "ListAccessPointsCommand")
14
- .sc(ListAccessPoints$)
15
- .build() {
3
+ export class ListAccessPointsCommand extends command(_ep0, _mw0, "ListAccessPoints", ListAccessPoints$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListFileSystems$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListFileSystemsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "ListFileSystems", {})
13
- .n("S3FilesClient", "ListFileSystemsCommand")
14
- .sc(ListFileSystems$)
15
- .build() {
3
+ export class ListFileSystemsCommand extends command(_ep0, _mw0, "ListFileSystems", ListFileSystems$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListMountTargets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListMountTargetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "ListMountTargets", {})
13
- .n("S3FilesClient", "ListMountTargetsCommand")
14
- .sc(ListMountTargets$)
15
- .build() {
3
+ export class ListMountTargetsCommand extends command(_ep0, _mw0, "ListMountTargets", ListMountTargets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Files", "ListTagsForResource", {})
13
- .n("S3FilesClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }