@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.
- package/dist-cjs/index.js +32 -215
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateContainerCommand.js +2 -14
- package/dist-es/commands/DeleteContainerCommand.js +2 -14
- package/dist-es/commands/DeleteContainerPolicyCommand.js +2 -14
- package/dist-es/commands/DeleteCorsPolicyCommand.js +2 -14
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +2 -14
- package/dist-es/commands/DeleteMetricPolicyCommand.js +2 -14
- package/dist-es/commands/DescribeContainerCommand.js +2 -14
- package/dist-es/commands/GetContainerPolicyCommand.js +2 -14
- package/dist-es/commands/GetCorsPolicyCommand.js +2 -14
- package/dist-es/commands/GetLifecyclePolicyCommand.js +2 -14
- package/dist-es/commands/GetMetricPolicyCommand.js +2 -14
- package/dist-es/commands/ListContainersCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/PutContainerPolicyCommand.js +2 -14
- package/dist-es/commands/PutCorsPolicyCommand.js +2 -14
- package/dist-es/commands/PutLifecyclePolicyCommand.js +2 -14
- package/dist-es/commands/PutMetricPolicyCommand.js +2 -14
- package/dist-es/commands/StartAccessLoggingCommand.js +2 -14
- package/dist-es/commands/StopAccessLoggingCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateContainerCommand.d.ts +3 -8
- package/dist-types/commands/DeleteContainerCommand.d.ts +3 -8
- package/dist-types/commands/DeleteContainerPolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteCorsPolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteMetricPolicyCommand.d.ts +3 -8
- package/dist-types/commands/DescribeContainerCommand.d.ts +3 -8
- package/dist-types/commands/GetContainerPolicyCommand.d.ts +3 -8
- package/dist-types/commands/GetCorsPolicyCommand.d.ts +3 -8
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +3 -8
- package/dist-types/commands/GetMetricPolicyCommand.d.ts +3 -8
- package/dist-types/commands/ListContainersCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/PutContainerPolicyCommand.d.ts +3 -8
- package/dist-types/commands/PutCorsPolicyCommand.d.ts +3 -8
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +3 -8
- package/dist-types/commands/PutMetricPolicyCommand.d.ts +3 -8
- package/dist-types/commands/StartAccessLoggingCommand.d.ts +3 -8
- package/dist-types/commands/StopAccessLoggingCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateContainerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteContainerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteContainerPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteCorsPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteMetricPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeContainerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetContainerPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCorsPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetMetricPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListContainersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutContainerPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutCorsPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutMetricPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartAccessLoggingCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopAccessLoggingCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- 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,
|
|
4
|
-
|
|
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,
|
|
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.
|
|
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
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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
|
}
|