@aws-sdk/client-mediastore 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/CreateContainerCommand.js +2 -14
  4. package/dist-es/commands/DeleteContainerCommand.js +2 -14
  5. package/dist-es/commands/DeleteContainerPolicyCommand.js +2 -14
  6. package/dist-es/commands/DeleteCorsPolicyCommand.js +2 -14
  7. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +2 -14
  8. package/dist-es/commands/DeleteMetricPolicyCommand.js +2 -14
  9. package/dist-es/commands/DescribeContainerCommand.js +2 -14
  10. package/dist-es/commands/GetContainerPolicyCommand.js +2 -14
  11. package/dist-es/commands/GetCorsPolicyCommand.js +2 -14
  12. package/dist-es/commands/GetLifecyclePolicyCommand.js +2 -14
  13. package/dist-es/commands/GetMetricPolicyCommand.js +2 -14
  14. package/dist-es/commands/ListContainersCommand.js +2 -14
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  16. package/dist-es/commands/PutContainerPolicyCommand.js +2 -14
  17. package/dist-es/commands/PutCorsPolicyCommand.js +2 -14
  18. package/dist-es/commands/PutLifecyclePolicyCommand.js +2 -14
  19. package/dist-es/commands/PutMetricPolicyCommand.js +2 -14
  20. package/dist-es/commands/StartAccessLoggingCommand.js +2 -14
  21. package/dist-es/commands/StopAccessLoggingCommand.js +2 -14
  22. package/dist-es/commands/TagResourceCommand.js +2 -14
  23. package/dist-es/commands/UntagResourceCommand.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/CreateContainerCommand.d.ts +3 -8
  31. package/dist-types/commands/DeleteContainerCommand.d.ts +3 -8
  32. package/dist-types/commands/DeleteContainerPolicyCommand.d.ts +3 -8
  33. package/dist-types/commands/DeleteCorsPolicyCommand.d.ts +3 -8
  34. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +3 -8
  35. package/dist-types/commands/DeleteMetricPolicyCommand.d.ts +3 -8
  36. package/dist-types/commands/DescribeContainerCommand.d.ts +3 -8
  37. package/dist-types/commands/GetContainerPolicyCommand.d.ts +3 -8
  38. package/dist-types/commands/GetCorsPolicyCommand.d.ts +3 -8
  39. package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +3 -8
  40. package/dist-types/commands/GetMetricPolicyCommand.d.ts +3 -8
  41. package/dist-types/commands/ListContainersCommand.d.ts +3 -8
  42. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  43. package/dist-types/commands/PutContainerPolicyCommand.d.ts +3 -8
  44. package/dist-types/commands/PutCorsPolicyCommand.d.ts +3 -8
  45. package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +3 -8
  46. package/dist-types/commands/PutMetricPolicyCommand.d.ts +3 -8
  47. package/dist-types/commands/StartAccessLoggingCommand.d.ts +3 -8
  48. package/dist-types/commands/StopAccessLoggingCommand.d.ts +3 -8
  49. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  50. package/dist-types/commands/UntagResourceCommand.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/CreateContainerCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/DeleteContainerCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/DeleteContainerPolicyCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/DeleteCorsPolicyCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/DeleteMetricPolicyCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/DescribeContainerCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetContainerPolicyCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/GetCorsPolicyCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetMetricPolicyCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/ListContainersCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/PutContainerPolicyCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/PutCorsPolicyCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/PutMetricPolicyCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/StartAccessLoggingCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/StopAccessLoggingCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/UntagResourceCommand.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 { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultMediaStoreHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -711,6 +713,7 @@ const getRuntimeConfig$1 = (config) => {
711
713
  serviceTarget: "MediaStore_20170901",
712
714
  },
713
715
  serviceId: config?.serviceId ?? "MediaStore",
716
+ sha256: config?.sha256 ?? Sha256,
714
717
  urlParser: config?.urlParser ?? parseUrl,
715
718
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
716
719
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -744,7 +747,6 @@ const getRuntimeConfig = (config) => {
744
747
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
745
748
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
746
749
  }, config),
747
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
748
750
  streamCollector: config?.streamCollector ?? streamCollector,
749
751
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
750
752
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -832,256 +834,71 @@ class MediaStoreClient extends Client {
832
834
  }
833
835
  }
834
836
 
835
- class CreateContainerCommand extends Command
836
- .classBuilder()
837
- .ep(commonParams)
838
- .m(function (Command, cs, config, o) {
839
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
840
- })
841
- .s("MediaStore_20170901", "CreateContainer", {})
842
- .n("MediaStoreClient", "CreateContainerCommand")
843
- .sc(CreateContainer$)
844
- .build() {
837
+ const command = makeBuilder(commonParams, "MediaStore_20170901", "MediaStoreClient", getEndpointPlugin);
838
+ const _ep0 = {};
839
+ const _mw0 = (Command, cs, config, o) => [];
840
+
841
+ class CreateContainerCommand extends command(_ep0, _mw0, "CreateContainer", CreateContainer$) {
845
842
  }
846
843
 
847
- class DeleteContainerCommand extends Command
848
- .classBuilder()
849
- .ep(commonParams)
850
- .m(function (Command, cs, config, o) {
851
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
852
- })
853
- .s("MediaStore_20170901", "DeleteContainer", {})
854
- .n("MediaStoreClient", "DeleteContainerCommand")
855
- .sc(DeleteContainer$)
856
- .build() {
844
+ class DeleteContainerCommand extends command(_ep0, _mw0, "DeleteContainer", DeleteContainer$) {
857
845
  }
858
846
 
859
- class DeleteContainerPolicyCommand extends Command
860
- .classBuilder()
861
- .ep(commonParams)
862
- .m(function (Command, cs, config, o) {
863
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
864
- })
865
- .s("MediaStore_20170901", "DeleteContainerPolicy", {})
866
- .n("MediaStoreClient", "DeleteContainerPolicyCommand")
867
- .sc(DeleteContainerPolicy$)
868
- .build() {
847
+ class DeleteContainerPolicyCommand extends command(_ep0, _mw0, "DeleteContainerPolicy", DeleteContainerPolicy$) {
869
848
  }
870
849
 
871
- class DeleteCorsPolicyCommand extends Command
872
- .classBuilder()
873
- .ep(commonParams)
874
- .m(function (Command, cs, config, o) {
875
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
876
- })
877
- .s("MediaStore_20170901", "DeleteCorsPolicy", {})
878
- .n("MediaStoreClient", "DeleteCorsPolicyCommand")
879
- .sc(DeleteCorsPolicy$)
880
- .build() {
850
+ class DeleteCorsPolicyCommand extends command(_ep0, _mw0, "DeleteCorsPolicy", DeleteCorsPolicy$) {
881
851
  }
882
852
 
883
- class DeleteLifecyclePolicyCommand extends Command
884
- .classBuilder()
885
- .ep(commonParams)
886
- .m(function (Command, cs, config, o) {
887
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
888
- })
889
- .s("MediaStore_20170901", "DeleteLifecyclePolicy", {})
890
- .n("MediaStoreClient", "DeleteLifecyclePolicyCommand")
891
- .sc(DeleteLifecyclePolicy$)
892
- .build() {
853
+ class DeleteLifecyclePolicyCommand extends command(_ep0, _mw0, "DeleteLifecyclePolicy", DeleteLifecyclePolicy$) {
893
854
  }
894
855
 
895
- class DeleteMetricPolicyCommand extends Command
896
- .classBuilder()
897
- .ep(commonParams)
898
- .m(function (Command, cs, config, o) {
899
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
900
- })
901
- .s("MediaStore_20170901", "DeleteMetricPolicy", {})
902
- .n("MediaStoreClient", "DeleteMetricPolicyCommand")
903
- .sc(DeleteMetricPolicy$)
904
- .build() {
856
+ class DeleteMetricPolicyCommand extends command(_ep0, _mw0, "DeleteMetricPolicy", DeleteMetricPolicy$) {
905
857
  }
906
858
 
907
- class DescribeContainerCommand extends Command
908
- .classBuilder()
909
- .ep(commonParams)
910
- .m(function (Command, cs, config, o) {
911
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
912
- })
913
- .s("MediaStore_20170901", "DescribeContainer", {})
914
- .n("MediaStoreClient", "DescribeContainerCommand")
915
- .sc(DescribeContainer$)
916
- .build() {
859
+ class DescribeContainerCommand extends command(_ep0, _mw0, "DescribeContainer", DescribeContainer$) {
917
860
  }
918
861
 
919
- class GetContainerPolicyCommand extends Command
920
- .classBuilder()
921
- .ep(commonParams)
922
- .m(function (Command, cs, config, o) {
923
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
924
- })
925
- .s("MediaStore_20170901", "GetContainerPolicy", {})
926
- .n("MediaStoreClient", "GetContainerPolicyCommand")
927
- .sc(GetContainerPolicy$)
928
- .build() {
862
+ class GetContainerPolicyCommand extends command(_ep0, _mw0, "GetContainerPolicy", GetContainerPolicy$) {
929
863
  }
930
864
 
931
- class GetCorsPolicyCommand extends Command
932
- .classBuilder()
933
- .ep(commonParams)
934
- .m(function (Command, cs, config, o) {
935
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
936
- })
937
- .s("MediaStore_20170901", "GetCorsPolicy", {})
938
- .n("MediaStoreClient", "GetCorsPolicyCommand")
939
- .sc(GetCorsPolicy$)
940
- .build() {
865
+ class GetCorsPolicyCommand extends command(_ep0, _mw0, "GetCorsPolicy", GetCorsPolicy$) {
941
866
  }
942
867
 
943
- class GetLifecyclePolicyCommand extends Command
944
- .classBuilder()
945
- .ep(commonParams)
946
- .m(function (Command, cs, config, o) {
947
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
948
- })
949
- .s("MediaStore_20170901", "GetLifecyclePolicy", {})
950
- .n("MediaStoreClient", "GetLifecyclePolicyCommand")
951
- .sc(GetLifecyclePolicy$)
952
- .build() {
868
+ class GetLifecyclePolicyCommand extends command(_ep0, _mw0, "GetLifecyclePolicy", GetLifecyclePolicy$) {
953
869
  }
954
870
 
955
- class GetMetricPolicyCommand extends Command
956
- .classBuilder()
957
- .ep(commonParams)
958
- .m(function (Command, cs, config, o) {
959
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
960
- })
961
- .s("MediaStore_20170901", "GetMetricPolicy", {})
962
- .n("MediaStoreClient", "GetMetricPolicyCommand")
963
- .sc(GetMetricPolicy$)
964
- .build() {
871
+ class GetMetricPolicyCommand extends command(_ep0, _mw0, "GetMetricPolicy", GetMetricPolicy$) {
965
872
  }
966
873
 
967
- class ListContainersCommand extends Command
968
- .classBuilder()
969
- .ep(commonParams)
970
- .m(function (Command, cs, config, o) {
971
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
972
- })
973
- .s("MediaStore_20170901", "ListContainers", {})
974
- .n("MediaStoreClient", "ListContainersCommand")
975
- .sc(ListContainers$)
976
- .build() {
874
+ class ListContainersCommand extends command(_ep0, _mw0, "ListContainers", ListContainers$) {
977
875
  }
978
876
 
979
- class ListTagsForResourceCommand extends Command
980
- .classBuilder()
981
- .ep(commonParams)
982
- .m(function (Command, cs, config, o) {
983
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
984
- })
985
- .s("MediaStore_20170901", "ListTagsForResource", {})
986
- .n("MediaStoreClient", "ListTagsForResourceCommand")
987
- .sc(ListTagsForResource$)
988
- .build() {
877
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
989
878
  }
990
879
 
991
- class PutContainerPolicyCommand extends Command
992
- .classBuilder()
993
- .ep(commonParams)
994
- .m(function (Command, cs, config, o) {
995
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
996
- })
997
- .s("MediaStore_20170901", "PutContainerPolicy", {})
998
- .n("MediaStoreClient", "PutContainerPolicyCommand")
999
- .sc(PutContainerPolicy$)
1000
- .build() {
880
+ class PutContainerPolicyCommand extends command(_ep0, _mw0, "PutContainerPolicy", PutContainerPolicy$) {
1001
881
  }
1002
882
 
1003
- class PutCorsPolicyCommand extends Command
1004
- .classBuilder()
1005
- .ep(commonParams)
1006
- .m(function (Command, cs, config, o) {
1007
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1008
- })
1009
- .s("MediaStore_20170901", "PutCorsPolicy", {})
1010
- .n("MediaStoreClient", "PutCorsPolicyCommand")
1011
- .sc(PutCorsPolicy$)
1012
- .build() {
883
+ class PutCorsPolicyCommand extends command(_ep0, _mw0, "PutCorsPolicy", PutCorsPolicy$) {
1013
884
  }
1014
885
 
1015
- class PutLifecyclePolicyCommand extends Command
1016
- .classBuilder()
1017
- .ep(commonParams)
1018
- .m(function (Command, cs, config, o) {
1019
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1020
- })
1021
- .s("MediaStore_20170901", "PutLifecyclePolicy", {})
1022
- .n("MediaStoreClient", "PutLifecyclePolicyCommand")
1023
- .sc(PutLifecyclePolicy$)
1024
- .build() {
886
+ class PutLifecyclePolicyCommand extends command(_ep0, _mw0, "PutLifecyclePolicy", PutLifecyclePolicy$) {
1025
887
  }
1026
888
 
1027
- class PutMetricPolicyCommand extends Command
1028
- .classBuilder()
1029
- .ep(commonParams)
1030
- .m(function (Command, cs, config, o) {
1031
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1032
- })
1033
- .s("MediaStore_20170901", "PutMetricPolicy", {})
1034
- .n("MediaStoreClient", "PutMetricPolicyCommand")
1035
- .sc(PutMetricPolicy$)
1036
- .build() {
889
+ class PutMetricPolicyCommand extends command(_ep0, _mw0, "PutMetricPolicy", PutMetricPolicy$) {
1037
890
  }
1038
891
 
1039
- class StartAccessLoggingCommand extends Command
1040
- .classBuilder()
1041
- .ep(commonParams)
1042
- .m(function (Command, cs, config, o) {
1043
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1044
- })
1045
- .s("MediaStore_20170901", "StartAccessLogging", {})
1046
- .n("MediaStoreClient", "StartAccessLoggingCommand")
1047
- .sc(StartAccessLogging$)
1048
- .build() {
892
+ class StartAccessLoggingCommand extends command(_ep0, _mw0, "StartAccessLogging", StartAccessLogging$) {
1049
893
  }
1050
894
 
1051
- class StopAccessLoggingCommand extends Command
1052
- .classBuilder()
1053
- .ep(commonParams)
1054
- .m(function (Command, cs, config, o) {
1055
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1056
- })
1057
- .s("MediaStore_20170901", "StopAccessLogging", {})
1058
- .n("MediaStoreClient", "StopAccessLoggingCommand")
1059
- .sc(StopAccessLogging$)
1060
- .build() {
895
+ class StopAccessLoggingCommand extends command(_ep0, _mw0, "StopAccessLogging", StopAccessLogging$) {
1061
896
  }
1062
897
 
1063
- class TagResourceCommand extends Command
1064
- .classBuilder()
1065
- .ep(commonParams)
1066
- .m(function (Command, cs, config, o) {
1067
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1068
- })
1069
- .s("MediaStore_20170901", "TagResource", {})
1070
- .n("MediaStoreClient", "TagResourceCommand")
1071
- .sc(TagResource$)
1072
- .build() {
898
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1073
899
  }
1074
900
 
1075
- class UntagResourceCommand extends Command
1076
- .classBuilder()
1077
- .ep(commonParams)
1078
- .m(function (Command, cs, config, o) {
1079
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1080
- })
1081
- .s("MediaStore_20170901", "UntagResource", {})
1082
- .n("MediaStoreClient", "UntagResourceCommand")
1083
- .sc(UntagResource$)
1084
- .build() {
901
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1085
902
  }
1086
903
 
1087
904
  const paginateListContainers = createPaginator(MediaStoreClient, ListContainersCommand, "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, "MediaStore_20170901", "MediaStoreClient", 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 { CreateContainer$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateContainerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "CreateContainer", {})
13
- .n("MediaStoreClient", "CreateContainerCommand")
14
- .sc(CreateContainer$)
15
- .build() {
3
+ export class CreateContainerCommand extends command(_ep0, _mw0, "CreateContainer", CreateContainer$) {
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 { DeleteContainer$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteContainerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "DeleteContainer", {})
13
- .n("MediaStoreClient", "DeleteContainerCommand")
14
- .sc(DeleteContainer$)
15
- .build() {
3
+ export class DeleteContainerCommand extends command(_ep0, _mw0, "DeleteContainer", DeleteContainer$) {
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 { DeleteContainerPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteContainerPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "DeleteContainerPolicy", {})
13
- .n("MediaStoreClient", "DeleteContainerPolicyCommand")
14
- .sc(DeleteContainerPolicy$)
15
- .build() {
3
+ export class DeleteContainerPolicyCommand extends command(_ep0, _mw0, "DeleteContainerPolicy", DeleteContainerPolicy$) {
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 { DeleteCorsPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteCorsPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "DeleteCorsPolicy", {})
13
- .n("MediaStoreClient", "DeleteCorsPolicyCommand")
14
- .sc(DeleteCorsPolicy$)
15
- .build() {
3
+ export class DeleteCorsPolicyCommand extends command(_ep0, _mw0, "DeleteCorsPolicy", DeleteCorsPolicy$) {
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 { DeleteLifecyclePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteLifecyclePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "DeleteLifecyclePolicy", {})
13
- .n("MediaStoreClient", "DeleteLifecyclePolicyCommand")
14
- .sc(DeleteLifecyclePolicy$)
15
- .build() {
3
+ export class DeleteLifecyclePolicyCommand extends command(_ep0, _mw0, "DeleteLifecyclePolicy", DeleteLifecyclePolicy$) {
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 { DeleteMetricPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteMetricPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "DeleteMetricPolicy", {})
13
- .n("MediaStoreClient", "DeleteMetricPolicyCommand")
14
- .sc(DeleteMetricPolicy$)
15
- .build() {
3
+ export class DeleteMetricPolicyCommand extends command(_ep0, _mw0, "DeleteMetricPolicy", DeleteMetricPolicy$) {
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 { DescribeContainer$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeContainerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "DescribeContainer", {})
13
- .n("MediaStoreClient", "DescribeContainerCommand")
14
- .sc(DescribeContainer$)
15
- .build() {
3
+ export class DescribeContainerCommand extends command(_ep0, _mw0, "DescribeContainer", DescribeContainer$) {
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 { GetContainerPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetContainerPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "GetContainerPolicy", {})
13
- .n("MediaStoreClient", "GetContainerPolicyCommand")
14
- .sc(GetContainerPolicy$)
15
- .build() {
3
+ export class GetContainerPolicyCommand extends command(_ep0, _mw0, "GetContainerPolicy", GetContainerPolicy$) {
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 { GetCorsPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCorsPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "GetCorsPolicy", {})
13
- .n("MediaStoreClient", "GetCorsPolicyCommand")
14
- .sc(GetCorsPolicy$)
15
- .build() {
3
+ export class GetCorsPolicyCommand extends command(_ep0, _mw0, "GetCorsPolicy", GetCorsPolicy$) {
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 { GetLifecyclePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetLifecyclePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "GetLifecyclePolicy", {})
13
- .n("MediaStoreClient", "GetLifecyclePolicyCommand")
14
- .sc(GetLifecyclePolicy$)
15
- .build() {
3
+ export class GetLifecyclePolicyCommand extends command(_ep0, _mw0, "GetLifecyclePolicy", GetLifecyclePolicy$) {
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 { GetMetricPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetMetricPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "GetMetricPolicy", {})
13
- .n("MediaStoreClient", "GetMetricPolicyCommand")
14
- .sc(GetMetricPolicy$)
15
- .build() {
3
+ export class GetMetricPolicyCommand extends command(_ep0, _mw0, "GetMetricPolicy", GetMetricPolicy$) {
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 { ListContainers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListContainersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "ListContainers", {})
13
- .n("MediaStoreClient", "ListContainersCommand")
14
- .sc(ListContainers$)
15
- .build() {
3
+ export class ListContainersCommand extends command(_ep0, _mw0, "ListContainers", ListContainers$) {
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("MediaStore_20170901", "ListTagsForResource", {})
13
- .n("MediaStoreClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { PutContainerPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutContainerPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "PutContainerPolicy", {})
13
- .n("MediaStoreClient", "PutContainerPolicyCommand")
14
- .sc(PutContainerPolicy$)
15
- .build() {
3
+ export class PutContainerPolicyCommand extends command(_ep0, _mw0, "PutContainerPolicy", PutContainerPolicy$) {
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 { PutCorsPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutCorsPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "PutCorsPolicy", {})
13
- .n("MediaStoreClient", "PutCorsPolicyCommand")
14
- .sc(PutCorsPolicy$)
15
- .build() {
3
+ export class PutCorsPolicyCommand extends command(_ep0, _mw0, "PutCorsPolicy", PutCorsPolicy$) {
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 { PutLifecyclePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutLifecyclePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaStore_20170901", "PutLifecyclePolicy", {})
13
- .n("MediaStoreClient", "PutLifecyclePolicyCommand")
14
- .sc(PutLifecyclePolicy$)
15
- .build() {
3
+ export class PutLifecyclePolicyCommand extends command(_ep0, _mw0, "PutLifecyclePolicy", PutLifecyclePolicy$) {
16
4
  }