@aws-sdk/client-mediapackage-vod 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 +28 -175
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/ConfigureLogsCommand.js +2 -14
- package/dist-es/commands/CreateAssetCommand.js +2 -14
- package/dist-es/commands/CreatePackagingConfigurationCommand.js +2 -14
- package/dist-es/commands/CreatePackagingGroupCommand.js +2 -14
- package/dist-es/commands/DeleteAssetCommand.js +2 -14
- package/dist-es/commands/DeletePackagingConfigurationCommand.js +2 -14
- package/dist-es/commands/DeletePackagingGroupCommand.js +2 -14
- package/dist-es/commands/DescribeAssetCommand.js +2 -14
- package/dist-es/commands/DescribePackagingConfigurationCommand.js +2 -14
- package/dist-es/commands/DescribePackagingGroupCommand.js +2 -14
- package/dist-es/commands/ListAssetsCommand.js +2 -14
- package/dist-es/commands/ListPackagingConfigurationsCommand.js +2 -14
- package/dist-es/commands/ListPackagingGroupsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdatePackagingGroupCommand.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/ConfigureLogsCommand.d.ts +3 -8
- package/dist-types/commands/CreateAssetCommand.d.ts +3 -8
- package/dist-types/commands/CreatePackagingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/CreatePackagingGroupCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAssetCommand.d.ts +3 -8
- package/dist-types/commands/DeletePackagingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/DeletePackagingGroupCommand.d.ts +3 -8
- package/dist-types/commands/DescribeAssetCommand.d.ts +3 -8
- package/dist-types/commands/DescribePackagingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/DescribePackagingGroupCommand.d.ts +3 -8
- package/dist-types/commands/ListAssetsCommand.d.ts +3 -8
- package/dist-types/commands/ListPackagingConfigurationsCommand.d.ts +3 -8
- package/dist-types/commands/ListPackagingGroupsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.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/commands/UpdatePackagingGroupCommand.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/ConfigureLogsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAssetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePackagingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePackagingGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePackagingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePackagingGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeAssetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribePackagingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribePackagingGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPackagingConfigurationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPackagingGroupsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.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/commands/UpdatePackagingGroupCommand.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 { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultMediaPackageVodHttpAuthSchemeParametersProvider = 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
|
|
|
@@ -836,6 +838,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
836
838
|
serviceTarget: "MediaPackageVod",
|
|
837
839
|
},
|
|
838
840
|
serviceId: config?.serviceId ?? "MediaPackage Vod",
|
|
841
|
+
sha256: config?.sha256 ?? Sha256,
|
|
839
842
|
urlParser: config?.urlParser ?? parseUrl,
|
|
840
843
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
841
844
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -869,7 +872,6 @@ const getRuntimeConfig = (config) => {
|
|
|
869
872
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
870
873
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
871
874
|
}, config),
|
|
872
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
873
875
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
874
876
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
875
877
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -957,208 +959,59 @@ class MediaPackageVodClient extends Client {
|
|
|
957
959
|
}
|
|
958
960
|
}
|
|
959
961
|
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
})
|
|
966
|
-
.s("MediaPackageVod", "ConfigureLogs", {})
|
|
967
|
-
.n("MediaPackageVodClient", "ConfigureLogsCommand")
|
|
968
|
-
.sc(ConfigureLogs$)
|
|
969
|
-
.build() {
|
|
962
|
+
const command = makeBuilder(commonParams, "MediaPackageVod", "MediaPackageVodClient", getEndpointPlugin);
|
|
963
|
+
const _ep0 = {};
|
|
964
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
965
|
+
|
|
966
|
+
class ConfigureLogsCommand extends command(_ep0, _mw0, "ConfigureLogs", ConfigureLogs$) {
|
|
970
967
|
}
|
|
971
968
|
|
|
972
|
-
class CreateAssetCommand extends
|
|
973
|
-
.classBuilder()
|
|
974
|
-
.ep(commonParams)
|
|
975
|
-
.m(function (Command, cs, config, o) {
|
|
976
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
977
|
-
})
|
|
978
|
-
.s("MediaPackageVod", "CreateAsset", {})
|
|
979
|
-
.n("MediaPackageVodClient", "CreateAssetCommand")
|
|
980
|
-
.sc(CreateAsset$)
|
|
981
|
-
.build() {
|
|
969
|
+
class CreateAssetCommand extends command(_ep0, _mw0, "CreateAsset", CreateAsset$) {
|
|
982
970
|
}
|
|
983
971
|
|
|
984
|
-
class CreatePackagingConfigurationCommand extends
|
|
985
|
-
.classBuilder()
|
|
986
|
-
.ep(commonParams)
|
|
987
|
-
.m(function (Command, cs, config, o) {
|
|
988
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
989
|
-
})
|
|
990
|
-
.s("MediaPackageVod", "CreatePackagingConfiguration", {})
|
|
991
|
-
.n("MediaPackageVodClient", "CreatePackagingConfigurationCommand")
|
|
992
|
-
.sc(CreatePackagingConfiguration$)
|
|
993
|
-
.build() {
|
|
972
|
+
class CreatePackagingConfigurationCommand extends command(_ep0, _mw0, "CreatePackagingConfiguration", CreatePackagingConfiguration$) {
|
|
994
973
|
}
|
|
995
974
|
|
|
996
|
-
class CreatePackagingGroupCommand extends
|
|
997
|
-
.classBuilder()
|
|
998
|
-
.ep(commonParams)
|
|
999
|
-
.m(function (Command, cs, config, o) {
|
|
1000
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1001
|
-
})
|
|
1002
|
-
.s("MediaPackageVod", "CreatePackagingGroup", {})
|
|
1003
|
-
.n("MediaPackageVodClient", "CreatePackagingGroupCommand")
|
|
1004
|
-
.sc(CreatePackagingGroup$)
|
|
1005
|
-
.build() {
|
|
975
|
+
class CreatePackagingGroupCommand extends command(_ep0, _mw0, "CreatePackagingGroup", CreatePackagingGroup$) {
|
|
1006
976
|
}
|
|
1007
977
|
|
|
1008
|
-
class DeleteAssetCommand extends
|
|
1009
|
-
.classBuilder()
|
|
1010
|
-
.ep(commonParams)
|
|
1011
|
-
.m(function (Command, cs, config, o) {
|
|
1012
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1013
|
-
})
|
|
1014
|
-
.s("MediaPackageVod", "DeleteAsset", {})
|
|
1015
|
-
.n("MediaPackageVodClient", "DeleteAssetCommand")
|
|
1016
|
-
.sc(DeleteAsset$)
|
|
1017
|
-
.build() {
|
|
978
|
+
class DeleteAssetCommand extends command(_ep0, _mw0, "DeleteAsset", DeleteAsset$) {
|
|
1018
979
|
}
|
|
1019
980
|
|
|
1020
|
-
class DeletePackagingConfigurationCommand extends
|
|
1021
|
-
.classBuilder()
|
|
1022
|
-
.ep(commonParams)
|
|
1023
|
-
.m(function (Command, cs, config, o) {
|
|
1024
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1025
|
-
})
|
|
1026
|
-
.s("MediaPackageVod", "DeletePackagingConfiguration", {})
|
|
1027
|
-
.n("MediaPackageVodClient", "DeletePackagingConfigurationCommand")
|
|
1028
|
-
.sc(DeletePackagingConfiguration$)
|
|
1029
|
-
.build() {
|
|
981
|
+
class DeletePackagingConfigurationCommand extends command(_ep0, _mw0, "DeletePackagingConfiguration", DeletePackagingConfiguration$) {
|
|
1030
982
|
}
|
|
1031
983
|
|
|
1032
|
-
class DeletePackagingGroupCommand extends
|
|
1033
|
-
.classBuilder()
|
|
1034
|
-
.ep(commonParams)
|
|
1035
|
-
.m(function (Command, cs, config, o) {
|
|
1036
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1037
|
-
})
|
|
1038
|
-
.s("MediaPackageVod", "DeletePackagingGroup", {})
|
|
1039
|
-
.n("MediaPackageVodClient", "DeletePackagingGroupCommand")
|
|
1040
|
-
.sc(DeletePackagingGroup$)
|
|
1041
|
-
.build() {
|
|
984
|
+
class DeletePackagingGroupCommand extends command(_ep0, _mw0, "DeletePackagingGroup", DeletePackagingGroup$) {
|
|
1042
985
|
}
|
|
1043
986
|
|
|
1044
|
-
class DescribeAssetCommand extends
|
|
1045
|
-
.classBuilder()
|
|
1046
|
-
.ep(commonParams)
|
|
1047
|
-
.m(function (Command, cs, config, o) {
|
|
1048
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1049
|
-
})
|
|
1050
|
-
.s("MediaPackageVod", "DescribeAsset", {})
|
|
1051
|
-
.n("MediaPackageVodClient", "DescribeAssetCommand")
|
|
1052
|
-
.sc(DescribeAsset$)
|
|
1053
|
-
.build() {
|
|
987
|
+
class DescribeAssetCommand extends command(_ep0, _mw0, "DescribeAsset", DescribeAsset$) {
|
|
1054
988
|
}
|
|
1055
989
|
|
|
1056
|
-
class DescribePackagingConfigurationCommand extends
|
|
1057
|
-
.classBuilder()
|
|
1058
|
-
.ep(commonParams)
|
|
1059
|
-
.m(function (Command, cs, config, o) {
|
|
1060
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1061
|
-
})
|
|
1062
|
-
.s("MediaPackageVod", "DescribePackagingConfiguration", {})
|
|
1063
|
-
.n("MediaPackageVodClient", "DescribePackagingConfigurationCommand")
|
|
1064
|
-
.sc(DescribePackagingConfiguration$)
|
|
1065
|
-
.build() {
|
|
990
|
+
class DescribePackagingConfigurationCommand extends command(_ep0, _mw0, "DescribePackagingConfiguration", DescribePackagingConfiguration$) {
|
|
1066
991
|
}
|
|
1067
992
|
|
|
1068
|
-
class DescribePackagingGroupCommand extends
|
|
1069
|
-
.classBuilder()
|
|
1070
|
-
.ep(commonParams)
|
|
1071
|
-
.m(function (Command, cs, config, o) {
|
|
1072
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1073
|
-
})
|
|
1074
|
-
.s("MediaPackageVod", "DescribePackagingGroup", {})
|
|
1075
|
-
.n("MediaPackageVodClient", "DescribePackagingGroupCommand")
|
|
1076
|
-
.sc(DescribePackagingGroup$)
|
|
1077
|
-
.build() {
|
|
993
|
+
class DescribePackagingGroupCommand extends command(_ep0, _mw0, "DescribePackagingGroup", DescribePackagingGroup$) {
|
|
1078
994
|
}
|
|
1079
995
|
|
|
1080
|
-
class ListAssetsCommand extends
|
|
1081
|
-
.classBuilder()
|
|
1082
|
-
.ep(commonParams)
|
|
1083
|
-
.m(function (Command, cs, config, o) {
|
|
1084
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1085
|
-
})
|
|
1086
|
-
.s("MediaPackageVod", "ListAssets", {})
|
|
1087
|
-
.n("MediaPackageVodClient", "ListAssetsCommand")
|
|
1088
|
-
.sc(ListAssets$)
|
|
1089
|
-
.build() {
|
|
996
|
+
class ListAssetsCommand extends command(_ep0, _mw0, "ListAssets", ListAssets$) {
|
|
1090
997
|
}
|
|
1091
998
|
|
|
1092
|
-
class ListPackagingConfigurationsCommand extends
|
|
1093
|
-
.classBuilder()
|
|
1094
|
-
.ep(commonParams)
|
|
1095
|
-
.m(function (Command, cs, config, o) {
|
|
1096
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1097
|
-
})
|
|
1098
|
-
.s("MediaPackageVod", "ListPackagingConfigurations", {})
|
|
1099
|
-
.n("MediaPackageVodClient", "ListPackagingConfigurationsCommand")
|
|
1100
|
-
.sc(ListPackagingConfigurations$)
|
|
1101
|
-
.build() {
|
|
999
|
+
class ListPackagingConfigurationsCommand extends command(_ep0, _mw0, "ListPackagingConfigurations", ListPackagingConfigurations$) {
|
|
1102
1000
|
}
|
|
1103
1001
|
|
|
1104
|
-
class ListPackagingGroupsCommand extends
|
|
1105
|
-
.classBuilder()
|
|
1106
|
-
.ep(commonParams)
|
|
1107
|
-
.m(function (Command, cs, config, o) {
|
|
1108
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1109
|
-
})
|
|
1110
|
-
.s("MediaPackageVod", "ListPackagingGroups", {})
|
|
1111
|
-
.n("MediaPackageVodClient", "ListPackagingGroupsCommand")
|
|
1112
|
-
.sc(ListPackagingGroups$)
|
|
1113
|
-
.build() {
|
|
1002
|
+
class ListPackagingGroupsCommand extends command(_ep0, _mw0, "ListPackagingGroups", ListPackagingGroups$) {
|
|
1114
1003
|
}
|
|
1115
1004
|
|
|
1116
|
-
class ListTagsForResourceCommand extends
|
|
1117
|
-
.classBuilder()
|
|
1118
|
-
.ep(commonParams)
|
|
1119
|
-
.m(function (Command, cs, config, o) {
|
|
1120
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1121
|
-
})
|
|
1122
|
-
.s("MediaPackageVod", "ListTagsForResource", {})
|
|
1123
|
-
.n("MediaPackageVodClient", "ListTagsForResourceCommand")
|
|
1124
|
-
.sc(ListTagsForResource$)
|
|
1125
|
-
.build() {
|
|
1005
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1126
1006
|
}
|
|
1127
1007
|
|
|
1128
|
-
class TagResourceCommand extends
|
|
1129
|
-
.classBuilder()
|
|
1130
|
-
.ep(commonParams)
|
|
1131
|
-
.m(function (Command, cs, config, o) {
|
|
1132
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1133
|
-
})
|
|
1134
|
-
.s("MediaPackageVod", "TagResource", {})
|
|
1135
|
-
.n("MediaPackageVodClient", "TagResourceCommand")
|
|
1136
|
-
.sc(TagResource$)
|
|
1137
|
-
.build() {
|
|
1008
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1138
1009
|
}
|
|
1139
1010
|
|
|
1140
|
-
class UntagResourceCommand extends
|
|
1141
|
-
.classBuilder()
|
|
1142
|
-
.ep(commonParams)
|
|
1143
|
-
.m(function (Command, cs, config, o) {
|
|
1144
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1145
|
-
})
|
|
1146
|
-
.s("MediaPackageVod", "UntagResource", {})
|
|
1147
|
-
.n("MediaPackageVodClient", "UntagResourceCommand")
|
|
1148
|
-
.sc(UntagResource$)
|
|
1149
|
-
.build() {
|
|
1011
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1150
1012
|
}
|
|
1151
1013
|
|
|
1152
|
-
class UpdatePackagingGroupCommand extends
|
|
1153
|
-
.classBuilder()
|
|
1154
|
-
.ep(commonParams)
|
|
1155
|
-
.m(function (Command, cs, config, o) {
|
|
1156
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1157
|
-
})
|
|
1158
|
-
.s("MediaPackageVod", "UpdatePackagingGroup", {})
|
|
1159
|
-
.n("MediaPackageVodClient", "UpdatePackagingGroupCommand")
|
|
1160
|
-
.sc(UpdatePackagingGroup$)
|
|
1161
|
-
.build() {
|
|
1014
|
+
class UpdatePackagingGroupCommand extends command(_ep0, _mw0, "UpdatePackagingGroup", UpdatePackagingGroup$) {
|
|
1162
1015
|
}
|
|
1163
1016
|
|
|
1164
1017
|
const paginateListAssets = createPaginator(MediaPackageVodClient, ListAssetsCommand, "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, "MediaPackageVod", "MediaPackageVodClient", 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 { ConfigureLogs$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ConfigureLogsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "ConfigureLogs", {})
|
|
13
|
-
.n("MediaPackageVodClient", "ConfigureLogsCommand")
|
|
14
|
-
.sc(ConfigureLogs$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ConfigureLogsCommand extends command(_ep0, _mw0, "ConfigureLogs", ConfigureLogs$) {
|
|
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 { CreateAsset$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateAssetCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "CreateAsset", {})
|
|
13
|
-
.n("MediaPackageVodClient", "CreateAssetCommand")
|
|
14
|
-
.sc(CreateAsset$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateAssetCommand extends command(_ep0, _mw0, "CreateAsset", CreateAsset$) {
|
|
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 { CreatePackagingConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreatePackagingConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "CreatePackagingConfiguration", {})
|
|
13
|
-
.n("MediaPackageVodClient", "CreatePackagingConfigurationCommand")
|
|
14
|
-
.sc(CreatePackagingConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreatePackagingConfigurationCommand extends command(_ep0, _mw0, "CreatePackagingConfiguration", CreatePackagingConfiguration$) {
|
|
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 { CreatePackagingGroup$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreatePackagingGroupCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "CreatePackagingGroup", {})
|
|
13
|
-
.n("MediaPackageVodClient", "CreatePackagingGroupCommand")
|
|
14
|
-
.sc(CreatePackagingGroup$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreatePackagingGroupCommand extends command(_ep0, _mw0, "CreatePackagingGroup", CreatePackagingGroup$) {
|
|
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 { DeleteAsset$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteAssetCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "DeleteAsset", {})
|
|
13
|
-
.n("MediaPackageVodClient", "DeleteAssetCommand")
|
|
14
|
-
.sc(DeleteAsset$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteAssetCommand extends command(_ep0, _mw0, "DeleteAsset", DeleteAsset$) {
|
|
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 { DeletePackagingConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeletePackagingConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "DeletePackagingConfiguration", {})
|
|
13
|
-
.n("MediaPackageVodClient", "DeletePackagingConfigurationCommand")
|
|
14
|
-
.sc(DeletePackagingConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeletePackagingConfigurationCommand extends command(_ep0, _mw0, "DeletePackagingConfiguration", DeletePackagingConfiguration$) {
|
|
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 { DeletePackagingGroup$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeletePackagingGroupCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "DeletePackagingGroup", {})
|
|
13
|
-
.n("MediaPackageVodClient", "DeletePackagingGroupCommand")
|
|
14
|
-
.sc(DeletePackagingGroup$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeletePackagingGroupCommand extends command(_ep0, _mw0, "DeletePackagingGroup", DeletePackagingGroup$) {
|
|
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 { DescribeAsset$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeAssetCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "DescribeAsset", {})
|
|
13
|
-
.n("MediaPackageVodClient", "DescribeAssetCommand")
|
|
14
|
-
.sc(DescribeAsset$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeAssetCommand extends command(_ep0, _mw0, "DescribeAsset", DescribeAsset$) {
|
|
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 { DescribePackagingConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribePackagingConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "DescribePackagingConfiguration", {})
|
|
13
|
-
.n("MediaPackageVodClient", "DescribePackagingConfigurationCommand")
|
|
14
|
-
.sc(DescribePackagingConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribePackagingConfigurationCommand extends command(_ep0, _mw0, "DescribePackagingConfiguration", DescribePackagingConfiguration$) {
|
|
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 { DescribePackagingGroup$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribePackagingGroupCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "DescribePackagingGroup", {})
|
|
13
|
-
.n("MediaPackageVodClient", "DescribePackagingGroupCommand")
|
|
14
|
-
.sc(DescribePackagingGroup$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribePackagingGroupCommand extends command(_ep0, _mw0, "DescribePackagingGroup", DescribePackagingGroup$) {
|
|
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 { ListAssets$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListAssetsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "ListAssets", {})
|
|
13
|
-
.n("MediaPackageVodClient", "ListAssetsCommand")
|
|
14
|
-
.sc(ListAssets$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListAssetsCommand extends command(_ep0, _mw0, "ListAssets", ListAssets$) {
|
|
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 { ListPackagingConfigurations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListPackagingConfigurationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "ListPackagingConfigurations", {})
|
|
13
|
-
.n("MediaPackageVodClient", "ListPackagingConfigurationsCommand")
|
|
14
|
-
.sc(ListPackagingConfigurations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListPackagingConfigurationsCommand extends command(_ep0, _mw0, "ListPackagingConfigurations", ListPackagingConfigurations$) {
|
|
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 { ListPackagingGroups$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListPackagingGroupsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "ListPackagingGroups", {})
|
|
13
|
-
.n("MediaPackageVodClient", "ListPackagingGroupsCommand")
|
|
14
|
-
.sc(ListPackagingGroups$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListPackagingGroupsCommand extends command(_ep0, _mw0, "ListPackagingGroups", ListPackagingGroups$) {
|
|
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("MediaPackageVod", "ListTagsForResource", {})
|
|
13
|
-
.n("MediaPackageVodClient", "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 { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "TagResource", {})
|
|
13
|
-
.n("MediaPackageVodClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
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 { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "UntagResource", {})
|
|
13
|
-
.n("MediaPackageVodClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
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 { UpdatePackagingGroup$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePackagingGroupCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackageVod", "UpdatePackagingGroup", {})
|
|
13
|
-
.n("MediaPackageVodClient", "UpdatePackagingGroupCommand")
|
|
14
|
-
.sc(UpdatePackagingGroup$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePackagingGroupCommand extends command(_ep0, _mw0, "UpdatePackagingGroup", UpdatePackagingGroup$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./MediaPackageVodClient";
|
|
2
2
|
export * from "./MediaPackageVod";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|