@aws-sdk/client-mediapackagev2 3.1047.0 → 3.1049.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/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +9 -13
- package/dist-cjs/runtimeConfig.browser.js +5 -5
- package/dist-cjs/runtimeConfig.js +2 -3
- package/dist-cjs/schemas/schemas_0.js +13 -5
- package/dist-es/MediaPackageV2Client.js +1 -4
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeExtensions.js +1 -1
- package/dist-es/schemas/schemas_0.js +12 -4
- package/dist-types/MediaPackageV2Client.d.ts +1 -2
- package/dist-types/commands/CreateOriginEndpointCommand.d.ts +12 -0
- package/dist-types/commands/GetOriginEndpointCommand.d.ts +3 -0
- package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +43 -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/schemas/schemas_0.d.ts +2 -1
- package/dist-types/ts3.4/MediaPackageV2Client.d.ts +1 -3
- package/dist-types/ts3.4/models/models_0.d.ts +23 -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/schemas/schemas_0.d.ts +2 -0
- package/package.json +6 -14
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const
|
|
4
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
5
5
|
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
7
|
const cache = new endpoints_1.EndpointCache({
|
|
@@ -15,4 +15,4 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
endpoints_1.customEndpointFunctions.aws =
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
-
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
-
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
3
|
+
var client$1 = require('@aws-sdk/core/client');
|
|
7
4
|
var core = require('@smithy/core');
|
|
8
5
|
var client = require('@smithy/core/client');
|
|
9
6
|
var config = require('@smithy/core/config');
|
|
@@ -13,7 +10,6 @@ var retry = require('@smithy/core/retry');
|
|
|
13
10
|
var schema = require('@smithy/core/schema');
|
|
14
11
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
15
12
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
|
-
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
13
|
var schemas_0 = require('./schemas/schemas_0');
|
|
18
14
|
var errors = require('./models/errors');
|
|
19
15
|
var MediaPackageV2ServiceException = require('./models/MediaPackageV2ServiceException');
|
|
@@ -72,9 +68,9 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
72
68
|
};
|
|
73
69
|
|
|
74
70
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
-
const extensionConfiguration = Object.assign(
|
|
71
|
+
const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
72
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
-
return Object.assign(runtimeConfig,
|
|
73
|
+
return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
74
|
};
|
|
79
75
|
|
|
80
76
|
class MediaPackageV2Client extends client.Client {
|
|
@@ -84,21 +80,21 @@ class MediaPackageV2Client extends client.Client {
|
|
|
84
80
|
super(_config_0);
|
|
85
81
|
this.initConfig = _config_0;
|
|
86
82
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
-
const _config_2 =
|
|
83
|
+
const _config_2 = client$1.resolveUserAgentConfig(_config_1);
|
|
88
84
|
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
89
85
|
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
90
|
-
const _config_5 =
|
|
86
|
+
const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
|
|
91
87
|
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
92
88
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
89
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
90
|
this.config = _config_8;
|
|
95
91
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
96
|
-
this.middlewareStack.use(
|
|
92
|
+
this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
|
|
97
93
|
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
98
94
|
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
99
|
-
this.middlewareStack.use(
|
|
100
|
-
this.middlewareStack.use(
|
|
101
|
-
this.middlewareStack.use(
|
|
95
|
+
this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
|
|
102
98
|
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
103
99
|
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultMediaPackageV2HttpAuthSchemeParametersProvider,
|
|
104
100
|
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
@@ -4,8 +4,8 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
7
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
8
|
+
const client_2 = require("@smithy/core/client");
|
|
9
9
|
const config_1 = require("@smithy/core/config");
|
|
10
10
|
const retry_1 = require("@smithy/core/retry");
|
|
11
11
|
const serde_1 = require("@smithy/core/serde");
|
|
@@ -13,7 +13,7 @@ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
|
13
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
14
|
const getRuntimeConfig = (config) => {
|
|
15
15
|
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
16
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
17
17
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
18
18
|
return {
|
|
19
19
|
...clientSharedValues,
|
|
@@ -22,9 +22,9 @@ const getRuntimeConfig = (config) => {
|
|
|
22
22
|
defaultsMode,
|
|
23
23
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
24
24
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
25
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
25
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
26
26
|
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
27
|
-
region: config?.region ?? (0,
|
|
27
|
+
region: config?.region ?? (0, client_2.invalidProvider)("Region is missing"),
|
|
28
28
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
29
29
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
30
30
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
@@ -6,7 +6,6 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
|
6
6
|
const client_1 = require("@aws-sdk/core/client");
|
|
7
7
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
-
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
10
9
|
const client_2 = require("@smithy/core/client");
|
|
11
10
|
const config_1 = require("@smithy/core/config");
|
|
12
11
|
const retry_1 = require("@smithy/core/retry");
|
|
@@ -31,7 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
31
30
|
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
32
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
33
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
34
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
35
|
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
37
36
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -44,7 +43,7 @@ const getRuntimeConfig = (config) => {
|
|
|
44
43
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
44
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
46
45
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
47
|
-
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(
|
|
46
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
48
47
|
};
|
|
49
48
|
};
|
|
50
49
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ForceEndpointErrorConfiguration$ = exports.FilterConfiguration$ = exports.EncryptionMethod$ = exports.EncryptionContractConfiguration$ = exports.Encryption$ = exports.Destination$ = exports.DeleteOriginEndpointResponse$ = exports.DeleteOriginEndpointRequest$ = exports.DeleteOriginEndpointPolicyResponse$ = exports.DeleteOriginEndpointPolicyRequest$ = exports.DeleteChannelResponse$ = exports.DeleteChannelRequest$ = exports.DeleteChannelPolicyResponse$ = exports.DeleteChannelPolicyRequest$ = exports.DeleteChannelGroupResponse$ = exports.DeleteChannelGroupRequest$ = exports.DashUtcTiming$ = exports.DashTtmlConfiguration$ = exports.DashSubtitleConfiguration$ = exports.DashProgramInformation$ = exports.DashDvbSettings$ = exports.DashDvbMetricsReporting$ = exports.DashDvbFontDownload$ = exports.DashBaseUrl$ = exports.CreateOriginEndpointResponse$ = exports.CreateOriginEndpointRequest$ = exports.CreateMssManifestConfiguration$ = exports.CreateLowLatencyHlsManifestConfiguration$ = exports.CreateHlsManifestConfiguration$ = exports.CreateHarvestJobResponse$ = exports.CreateHarvestJobRequest$ = exports.CreateDashManifestConfiguration$ = exports.CreateChannelResponse$ = exports.CreateChannelRequest$ = exports.CreateChannelGroupResponse$ = exports.CreateChannelGroupRequest$ = exports.ChannelListConfiguration$ = exports.ChannelGroupListConfiguration$ = exports.CdnAuthConfiguration$ = exports.CancelHarvestJobResponse$ = exports.CancelHarvestJobRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.MediaPackageV2ServiceException$ = void 0;
|
|
4
4
|
exports.Scte$ = exports.S3DestinationConfig$ = exports.ResetOriginEndpointStateResponse$ = exports.ResetOriginEndpointStateRequest$ = exports.ResetChannelStateResponse$ = exports.ResetChannelStateRequest$ = exports.PutOriginEndpointPolicyResponse$ = exports.PutOriginEndpointPolicyRequest$ = exports.PutChannelPolicyResponse$ = exports.PutChannelPolicyRequest$ = exports.OutputHeaderConfiguration$ = exports.OriginEndpointListConfiguration$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListOriginEndpointsResponse$ = exports.ListOriginEndpointsRequest$ = exports.ListMssManifestConfiguration$ = exports.ListLowLatencyHlsManifestConfiguration$ = exports.ListHlsManifestConfiguration$ = exports.ListHarvestJobsResponse$ = exports.ListHarvestJobsRequest$ = exports.ListDashManifestConfiguration$ = exports.ListChannelsResponse$ = exports.ListChannelsRequest$ = exports.ListChannelGroupsResponse$ = exports.ListChannelGroupsRequest$ = exports.InputSwitchConfiguration$ = exports.IngestEndpoint$ = exports.HarvestJob$ = exports.HarvesterScheduleConfiguration$ = exports.HarvestedManifests$ = exports.HarvestedLowLatencyHlsManifest$ = exports.HarvestedHlsManifest$ = exports.HarvestedDashManifest$ = exports.GetOriginEndpointResponse$ = exports.GetOriginEndpointRequest$ = exports.GetOriginEndpointPolicyResponse$ = exports.GetOriginEndpointPolicyRequest$ = exports.GetMssManifestConfiguration$ = exports.GetLowLatencyHlsManifestConfiguration$ = exports.GetHlsManifestConfiguration$ = exports.GetHarvestJobResponse$ = exports.GetHarvestJobRequest$ = exports.GetDashManifestConfiguration$ = exports.GetChannelResponse$ = exports.GetChannelRequest$ = exports.GetChannelPolicyResponse$ = exports.GetChannelPolicyRequest$ = exports.GetChannelGroupResponse$ = exports.GetChannelGroupRequest$ = void 0;
|
|
5
|
-
exports.UpdateOriginEndpoint$ = exports.UpdateChannelGroup$ = exports.UpdateChannel$ = exports.UntagResource$ = exports.TagResource$ = exports.ResetOriginEndpointState$ = exports.ResetChannelState$ = exports.PutOriginEndpointPolicy$ = exports.PutChannelPolicy$ = exports.ListTagsForResource$ = exports.ListOriginEndpoints$ = exports.ListHarvestJobs$ = exports.ListChannels$ = exports.ListChannelGroups$ = exports.GetOriginEndpointPolicy$ = exports.GetOriginEndpoint$ = exports.GetHarvestJob$ = exports.GetChannelPolicy$ = exports.GetChannelGroup$ = exports.GetChannel$ = exports.DeleteOriginEndpointPolicy$ = exports.DeleteOriginEndpoint$ = exports.DeleteChannelPolicy$ = exports.DeleteChannelGroup$ = exports.DeleteChannel$ = exports.CreateOriginEndpoint$ = exports.CreateHarvestJob$ = exports.CreateChannelGroup$ = exports.CreateChannel$ = exports.CancelHarvestJob$ = exports.UpdateOriginEndpointResponse$ = exports.UpdateOriginEndpointRequest$ = exports.UpdateChannelResponse$ = exports.UpdateChannelRequest$ = exports.UpdateChannelGroupResponse$ = exports.UpdateChannelGroupRequest$ = exports.UntagResourceRequest$ = exports.TagResourceRequest$ = exports.StartTag$ = exports.SpekeKeyProvider$ = exports.Segment$ = exports.ScteHls$ = exports.ScteDash$ = void 0;
|
|
5
|
+
exports.UpdateOriginEndpoint$ = exports.UpdateChannelGroup$ = exports.UpdateChannel$ = exports.UntagResource$ = exports.TagResource$ = exports.ResetOriginEndpointState$ = exports.ResetChannelState$ = exports.PutOriginEndpointPolicy$ = exports.PutChannelPolicy$ = exports.ListTagsForResource$ = exports.ListOriginEndpoints$ = exports.ListHarvestJobs$ = exports.ListChannels$ = exports.ListChannelGroups$ = exports.GetOriginEndpointPolicy$ = exports.GetOriginEndpoint$ = exports.GetHarvestJob$ = exports.GetChannelPolicy$ = exports.GetChannelGroup$ = exports.GetChannel$ = exports.DeleteOriginEndpointPolicy$ = exports.DeleteOriginEndpoint$ = exports.DeleteChannelPolicy$ = exports.DeleteChannelGroup$ = exports.DeleteChannel$ = exports.CreateOriginEndpoint$ = exports.CreateHarvestJob$ = exports.CreateChannelGroup$ = exports.CreateChannel$ = exports.CancelHarvestJob$ = exports.DashAvailabilityStartTimeConfiguration$ = exports.UpdateOriginEndpointResponse$ = exports.UpdateOriginEndpointRequest$ = exports.UpdateChannelResponse$ = exports.UpdateChannelRequest$ = exports.UpdateChannelGroupResponse$ = exports.UpdateChannelGroupRequest$ = exports.UntagResourceRequest$ = exports.TagResourceRequest$ = exports.StartTag$ = exports.SpekeKeyProvider$ = exports.Segment$ = exports.ScteHls$ = exports.ScteDash$ = void 0;
|
|
6
6
|
const _A = "Arn";
|
|
7
7
|
const _ADE = "AccessDeniedException";
|
|
8
8
|
const _AMD = "AdMarkerDash";
|
|
9
9
|
const _AMH = "AdMarkerHls";
|
|
10
|
+
const _ASTC = "AvailabilityStartTimeConfiguration";
|
|
10
11
|
const _BN = "BucketName";
|
|
11
12
|
const _BU = "BaseUrls";
|
|
12
13
|
const _C = "Compactness";
|
|
@@ -55,6 +56,7 @@ const _CT = "ClientToken";
|
|
|
55
56
|
const _CTo = "ContainerType";
|
|
56
57
|
const _Co = "Copyright";
|
|
57
58
|
const _D = "Description";
|
|
59
|
+
const _DASTC = "DashAvailabilityStartTimeConfiguration";
|
|
58
60
|
const _DBU = "DashBaseUrl";
|
|
59
61
|
const _DBUa = "DashBaseUrls";
|
|
60
62
|
const _DC = "DeleteChannel";
|
|
@@ -99,6 +101,7 @@ const _EMr = "ErrorMetrics";
|
|
|
99
101
|
const _ET = "ETag";
|
|
100
102
|
const _ETn = "EndTime";
|
|
101
103
|
const _En = "End";
|
|
104
|
+
const _FAST = "FixedAvailabilityStartTime";
|
|
102
105
|
const _FC = "FilterConfiguration";
|
|
103
106
|
const _FD = "FontDownload";
|
|
104
107
|
const _FEEC = "ForceEndpointErrorConfiguration";
|
|
@@ -403,8 +406,8 @@ exports.CreateChannelResponse$ = [3, n0, _CCRr,
|
|
|
403
406
|
];
|
|
404
407
|
exports.CreateDashManifestConfiguration$ = [3, n0, _CDMC,
|
|
405
408
|
0,
|
|
406
|
-
[_MN, _MWS, _FC, _MUPS, _MBTS, _SPDS, _STF, _PT, _SD, _DS, _UT, _P, _BU, _PI, _DSv, _C, _SC, _UPT],
|
|
407
|
-
[0, 1, () => exports.FilterConfiguration$, 1, 1, 1, 0, 64 | 0, () => exports.ScteDash$, 0, () => exports.DashUtcTiming$, 64 | 0, () => DashBaseUrls, () => exports.DashProgramInformation$, () => exports.DashDvbSettings$, 0, () => exports.DashSubtitleConfiguration$, 0], 1
|
|
409
|
+
[_MN, _MWS, _FC, _MUPS, _MBTS, _SPDS, _STF, _PT, _SD, _DS, _UT, _P, _BU, _PI, _DSv, _C, _SC, _UPT, _ASTC],
|
|
410
|
+
[0, 1, () => exports.FilterConfiguration$, 1, 1, 1, 0, 64 | 0, () => exports.ScteDash$, 0, () => exports.DashUtcTiming$, 64 | 0, () => DashBaseUrls, () => exports.DashProgramInformation$, () => exports.DashDvbSettings$, 0, () => exports.DashSubtitleConfiguration$, 0, () => exports.DashAvailabilityStartTimeConfiguration$], 1
|
|
408
411
|
];
|
|
409
412
|
exports.CreateHarvestJobRequest$ = [3, n0, _CHJRr,
|
|
410
413
|
0,
|
|
@@ -593,8 +596,8 @@ exports.GetChannelResponse$ = [3, n0, _GCRe,
|
|
|
593
596
|
];
|
|
594
597
|
exports.GetDashManifestConfiguration$ = [3, n0, _GDMC,
|
|
595
598
|
0,
|
|
596
|
-
[_MN, _U, _MWS, _FC, _MUPS, _MBTS, _SPDS, _STF, _PT, _SD, _DS, _UT, _P, _BU, _PI, _DSv, _C, _SC, _UPT],
|
|
597
|
-
[0, 0, 1, () => exports.FilterConfiguration$, 1, 1, 1, 0, 64 | 0, () => exports.ScteDash$, 0, () => exports.DashUtcTiming$, 64 | 0, () => DashBaseUrls, () => exports.DashProgramInformation$, () => exports.DashDvbSettings$, 0, () => exports.DashSubtitleConfiguration$, 0], 2
|
|
599
|
+
[_MN, _U, _MWS, _FC, _MUPS, _MBTS, _SPDS, _STF, _PT, _SD, _DS, _UT, _P, _BU, _PI, _DSv, _C, _SC, _UPT, _ASTC],
|
|
600
|
+
[0, 0, 1, () => exports.FilterConfiguration$, 1, 1, 1, 0, 64 | 0, () => exports.ScteDash$, 0, () => exports.DashUtcTiming$, 64 | 0, () => DashBaseUrls, () => exports.DashProgramInformation$, () => exports.DashDvbSettings$, 0, () => exports.DashSubtitleConfiguration$, 0, () => exports.DashAvailabilityStartTimeConfiguration$], 2
|
|
598
601
|
];
|
|
599
602
|
exports.GetHarvestJobRequest$ = [3, n0, _GHJR,
|
|
600
603
|
0,
|
|
@@ -952,6 +955,11 @@ var OriginEndpointsList = [1, n0, _OEL,
|
|
|
952
955
|
var ScteFilterList = 64 | 0;
|
|
953
956
|
var TagKeyList = 64 | 0;
|
|
954
957
|
var TagMap = 128 | 0;
|
|
958
|
+
exports.DashAvailabilityStartTimeConfiguration$ = [4, n0, _DASTC,
|
|
959
|
+
0,
|
|
960
|
+
[_FAST],
|
|
961
|
+
[5]
|
|
962
|
+
];
|
|
955
963
|
exports.CancelHarvestJob$ = [9, n0, _CHJ,
|
|
956
964
|
{ [_h]: ["PUT", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}", 200] }, () => exports.CancelHarvestJobRequest$, () => exports.CancelHarvestJobResponse$
|
|
957
965
|
];
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/
|
|
2
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
|
-
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
|
-
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
1
|
+
import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
|
|
5
2
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
6
3
|
import { Client as __Client, } from "@smithy/core/client";
|
|
7
4
|
import { resolveRegionConfig } from "@smithy/core/config";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { awsEndpointFunctions } from "@aws-sdk/
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/core/client";
|
|
2
2
|
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import { createDefaultUserAgentProvider } from "@aws-sdk/
|
|
3
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
4
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
5
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
6
6
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
2
|
+
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
-
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
6
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
7
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
8
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration } from "@aws-sdk/core/client";
|
|
2
2
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
3
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
@@ -2,6 +2,7 @@ const _A = "Arn";
|
|
|
2
2
|
const _ADE = "AccessDeniedException";
|
|
3
3
|
const _AMD = "AdMarkerDash";
|
|
4
4
|
const _AMH = "AdMarkerHls";
|
|
5
|
+
const _ASTC = "AvailabilityStartTimeConfiguration";
|
|
5
6
|
const _BN = "BucketName";
|
|
6
7
|
const _BU = "BaseUrls";
|
|
7
8
|
const _C = "Compactness";
|
|
@@ -50,6 +51,7 @@ const _CT = "ClientToken";
|
|
|
50
51
|
const _CTo = "ContainerType";
|
|
51
52
|
const _Co = "Copyright";
|
|
52
53
|
const _D = "Description";
|
|
54
|
+
const _DASTC = "DashAvailabilityStartTimeConfiguration";
|
|
53
55
|
const _DBU = "DashBaseUrl";
|
|
54
56
|
const _DBUa = "DashBaseUrls";
|
|
55
57
|
const _DC = "DeleteChannel";
|
|
@@ -94,6 +96,7 @@ const _EMr = "ErrorMetrics";
|
|
|
94
96
|
const _ET = "ETag";
|
|
95
97
|
const _ETn = "EndTime";
|
|
96
98
|
const _En = "End";
|
|
99
|
+
const _FAST = "FixedAvailabilityStartTime";
|
|
97
100
|
const _FC = "FilterConfiguration";
|
|
98
101
|
const _FD = "FontDownload";
|
|
99
102
|
const _FEEC = "ForceEndpointErrorConfiguration";
|
|
@@ -398,8 +401,8 @@ export var CreateChannelResponse$ = [3, n0, _CCRr,
|
|
|
398
401
|
];
|
|
399
402
|
export var CreateDashManifestConfiguration$ = [3, n0, _CDMC,
|
|
400
403
|
0,
|
|
401
|
-
[_MN, _MWS, _FC, _MUPS, _MBTS, _SPDS, _STF, _PT, _SD, _DS, _UT, _P, _BU, _PI, _DSv, _C, _SC, _UPT],
|
|
402
|
-
[0, 1, () => FilterConfiguration$, 1, 1, 1, 0, 64 | 0, () => ScteDash$, 0, () => DashUtcTiming$, 64 | 0, () => DashBaseUrls, () => DashProgramInformation$, () => DashDvbSettings$, 0, () => DashSubtitleConfiguration$, 0], 1
|
|
404
|
+
[_MN, _MWS, _FC, _MUPS, _MBTS, _SPDS, _STF, _PT, _SD, _DS, _UT, _P, _BU, _PI, _DSv, _C, _SC, _UPT, _ASTC],
|
|
405
|
+
[0, 1, () => FilterConfiguration$, 1, 1, 1, 0, 64 | 0, () => ScteDash$, 0, () => DashUtcTiming$, 64 | 0, () => DashBaseUrls, () => DashProgramInformation$, () => DashDvbSettings$, 0, () => DashSubtitleConfiguration$, 0, () => DashAvailabilityStartTimeConfiguration$], 1
|
|
403
406
|
];
|
|
404
407
|
export var CreateHarvestJobRequest$ = [3, n0, _CHJRr,
|
|
405
408
|
0,
|
|
@@ -588,8 +591,8 @@ export var GetChannelResponse$ = [3, n0, _GCRe,
|
|
|
588
591
|
];
|
|
589
592
|
export var GetDashManifestConfiguration$ = [3, n0, _GDMC,
|
|
590
593
|
0,
|
|
591
|
-
[_MN, _U, _MWS, _FC, _MUPS, _MBTS, _SPDS, _STF, _PT, _SD, _DS, _UT, _P, _BU, _PI, _DSv, _C, _SC, _UPT],
|
|
592
|
-
[0, 0, 1, () => FilterConfiguration$, 1, 1, 1, 0, 64 | 0, () => ScteDash$, 0, () => DashUtcTiming$, 64 | 0, () => DashBaseUrls, () => DashProgramInformation$, () => DashDvbSettings$, 0, () => DashSubtitleConfiguration$, 0], 2
|
|
594
|
+
[_MN, _U, _MWS, _FC, _MUPS, _MBTS, _SPDS, _STF, _PT, _SD, _DS, _UT, _P, _BU, _PI, _DSv, _C, _SC, _UPT, _ASTC],
|
|
595
|
+
[0, 0, 1, () => FilterConfiguration$, 1, 1, 1, 0, 64 | 0, () => ScteDash$, 0, () => DashUtcTiming$, 64 | 0, () => DashBaseUrls, () => DashProgramInformation$, () => DashDvbSettings$, 0, () => DashSubtitleConfiguration$, 0, () => DashAvailabilityStartTimeConfiguration$], 2
|
|
593
596
|
];
|
|
594
597
|
export var GetHarvestJobRequest$ = [3, n0, _GHJR,
|
|
595
598
|
0,
|
|
@@ -947,6 +950,11 @@ var OriginEndpointsList = [1, n0, _OEL,
|
|
|
947
950
|
var ScteFilterList = 64 | 0;
|
|
948
951
|
var TagKeyList = 64 | 0;
|
|
949
952
|
var TagMap = 128 | 0;
|
|
953
|
+
export var DashAvailabilityStartTimeConfiguration$ = [4, n0, _DASTC,
|
|
954
|
+
0,
|
|
955
|
+
[_FAST],
|
|
956
|
+
[5]
|
|
957
|
+
];
|
|
950
958
|
export var CancelHarvestJob$ = [9, n0, _CHJ,
|
|
951
959
|
{ [_h]: ["PUT", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}", 200] }, () => CancelHarvestJobRequest$, () => CancelHarvestJobResponse$
|
|
952
960
|
];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/
|
|
2
|
-
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
3
2
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
3
|
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
4
|
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
@@ -203,6 +203,9 @@ declare const CreateOriginEndpointCommand_base: {
|
|
|
203
203
|
* },
|
|
204
204
|
* },
|
|
205
205
|
* UriPathType: "LEAF" || "ROOT",
|
|
206
|
+
* AvailabilityStartTimeConfiguration: { // DashAvailabilityStartTimeConfiguration Union: only one key present
|
|
207
|
+
* FixedAvailabilityStartTime: new Date("TIMESTAMP"),
|
|
208
|
+
* },
|
|
206
209
|
* },
|
|
207
210
|
* ],
|
|
208
211
|
* MssManifests: [ // CreateMssManifests
|
|
@@ -402,6 +405,9 @@ declare const CreateOriginEndpointCommand_base: {
|
|
|
402
405
|
* // },
|
|
403
406
|
* // },
|
|
404
407
|
* // UriPathType: "LEAF" || "ROOT",
|
|
408
|
+
* // AvailabilityStartTimeConfiguration: { // DashAvailabilityStartTimeConfiguration Union: only one key present
|
|
409
|
+
* // FixedAvailabilityStartTime: new Date("TIMESTAMP"),
|
|
410
|
+
* // },
|
|
405
411
|
* // },
|
|
406
412
|
* // ],
|
|
407
413
|
* // MssManifests: [ // GetMssManifests
|
|
@@ -736,6 +742,9 @@ declare const CreateOriginEndpointCommand_base: {
|
|
|
736
742
|
* }
|
|
737
743
|
* },
|
|
738
744
|
* {
|
|
745
|
+
* AvailabilityStartTimeConfiguration: {
|
|
746
|
+
* FixedAvailabilityStartTime: "2026-04-17T23:00:00.00Z"
|
|
747
|
+
* },
|
|
739
748
|
* BaseUrls: [
|
|
740
749
|
* {
|
|
741
750
|
* DvbPriority: 2,
|
|
@@ -942,6 +951,9 @@ declare const CreateOriginEndpointCommand_base: {
|
|
|
942
951
|
* }
|
|
943
952
|
* },
|
|
944
953
|
* {
|
|
954
|
+
* AvailabilityStartTimeConfiguration: {
|
|
955
|
+
* FixedAvailabilityStartTime: "2026-04-17T23:00:00.00Z"
|
|
956
|
+
* },
|
|
945
957
|
* BaseUrls: [
|
|
946
958
|
* {
|
|
947
959
|
* DvbPriority: 2,
|
|
@@ -216,6 +216,9 @@ declare const GetOriginEndpointCommand_base: {
|
|
|
216
216
|
* // },
|
|
217
217
|
* // },
|
|
218
218
|
* // UriPathType: "LEAF" || "ROOT",
|
|
219
|
+
* // AvailabilityStartTimeConfiguration: { // DashAvailabilityStartTimeConfiguration Union: only one key present
|
|
220
|
+
* // FixedAvailabilityStartTime: new Date("TIMESTAMP"),
|
|
221
|
+
* // },
|
|
219
222
|
* // },
|
|
220
223
|
* // ],
|
|
221
224
|
* // MssManifests: [ // GetMssManifests
|
|
@@ -202,6 +202,9 @@ declare const UpdateOriginEndpointCommand_base: {
|
|
|
202
202
|
* },
|
|
203
203
|
* },
|
|
204
204
|
* UriPathType: "LEAF" || "ROOT",
|
|
205
|
+
* AvailabilityStartTimeConfiguration: { // DashAvailabilityStartTimeConfiguration Union: only one key present
|
|
206
|
+
* FixedAvailabilityStartTime: new Date("TIMESTAMP"),
|
|
207
|
+
* },
|
|
205
208
|
* },
|
|
206
209
|
* ],
|
|
207
210
|
* MssManifests: [ // CreateMssManifests
|
|
@@ -425,6 +428,9 @@ declare const UpdateOriginEndpointCommand_base: {
|
|
|
425
428
|
* // },
|
|
426
429
|
* // },
|
|
427
430
|
* // UriPathType: "LEAF" || "ROOT",
|
|
431
|
+
* // AvailabilityStartTimeConfiguration: { // DashAvailabilityStartTimeConfiguration Union: only one key present
|
|
432
|
+
* // FixedAvailabilityStartTime: new Date("TIMESTAMP"),
|
|
433
|
+
* // },
|
|
428
434
|
* // },
|
|
429
435
|
* // ],
|
|
430
436
|
* // };
|
|
@@ -495,6 +495,39 @@ export interface ListChannelsResponse {
|
|
|
495
495
|
*/
|
|
496
496
|
NextToken?: string | undefined;
|
|
497
497
|
}
|
|
498
|
+
/**
|
|
499
|
+
* <p>The configuration for the DASH <code>availabilityStartTime</code> attribute of the Media Presentation Description (MPD). Use this configuration to set a custom availability start time for your DASH manifest.</p>
|
|
500
|
+
* @public
|
|
501
|
+
*/
|
|
502
|
+
export type DashAvailabilityStartTimeConfiguration = DashAvailabilityStartTimeConfiguration.FixedAvailabilityStartTimeMember | DashAvailabilityStartTimeConfiguration.$UnknownMember;
|
|
503
|
+
/**
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
export declare namespace DashAvailabilityStartTimeConfiguration {
|
|
507
|
+
/**
|
|
508
|
+
* <p>The fixed availability start time for the DASH manifest, in ISO 8601 date-time format. The value must have hourly granularity, meaning that the minutes, seconds, and fractional seconds must be zero. The value must be on or after <code>2024-01-01T00:00:00Z</code> and must be at least 14 days before the current time.</p>
|
|
509
|
+
* @public
|
|
510
|
+
*/
|
|
511
|
+
interface FixedAvailabilityStartTimeMember {
|
|
512
|
+
FixedAvailabilityStartTime: Date;
|
|
513
|
+
$unknown?: never;
|
|
514
|
+
}
|
|
515
|
+
/**
|
|
516
|
+
* @public
|
|
517
|
+
*/
|
|
518
|
+
interface $UnknownMember {
|
|
519
|
+
FixedAvailabilityStartTime?: never;
|
|
520
|
+
$unknown: [string, any];
|
|
521
|
+
}
|
|
522
|
+
/**
|
|
523
|
+
* @deprecated unused in schema-serde mode.
|
|
524
|
+
*
|
|
525
|
+
*/
|
|
526
|
+
interface Visitor<T> {
|
|
527
|
+
FixedAvailabilityStartTime: (value: Date) => T;
|
|
528
|
+
_: (name: string, value: any) => T;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
498
531
|
/**
|
|
499
532
|
* <p>The base URLs to use for retrieving segments. You can specify multiple locations and indicate the priority and weight for when each should be used, for use in mutli-CDN workflows.</p>
|
|
500
533
|
* @public
|
|
@@ -790,6 +823,11 @@ export interface CreateDashManifestConfiguration {
|
|
|
790
823
|
* @public
|
|
791
824
|
*/
|
|
792
825
|
UriPathType?: UriPathType | undefined;
|
|
826
|
+
/**
|
|
827
|
+
* <p>The configuration for the DASH <code>availabilityStartTime</code> attribute of the Media Presentation Description (MPD). If you don't specify a value, MediaPackage uses the default availability start time of <code>2024-01-01T00:00:00Z</code>.</p>
|
|
828
|
+
* @public
|
|
829
|
+
*/
|
|
830
|
+
AvailabilityStartTimeConfiguration?: DashAvailabilityStartTimeConfiguration | undefined;
|
|
793
831
|
}
|
|
794
832
|
/**
|
|
795
833
|
* <p>The failover settings for the endpoint.</p>
|
|
@@ -1308,6 +1346,11 @@ export interface GetDashManifestConfiguration {
|
|
|
1308
1346
|
* @public
|
|
1309
1347
|
*/
|
|
1310
1348
|
UriPathType?: UriPathType | undefined;
|
|
1349
|
+
/**
|
|
1350
|
+
* <p>The configuration for the DASH <code>availabilityStartTime</code> attribute of the Media Presentation Description (MPD).</p>
|
|
1351
|
+
* @public
|
|
1352
|
+
*/
|
|
1353
|
+
AvailabilityStartTimeConfiguration?: DashAvailabilityStartTimeConfiguration | undefined;
|
|
1311
1354
|
}
|
|
1312
1355
|
/**
|
|
1313
1356
|
* <p>Retrieve the HTTP live streaming (HLS) manifest configuration.</p>
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MediaPackageV2ClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: MediaPackageV2ClientConfig) => {
|
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
12
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
12
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
15
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
@@ -26,7 +26,7 @@ export declare const getRuntimeConfig: (config: MediaPackageV2ClientConfig) => {
|
|
|
26
26
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
27
|
region: string | import("@smithy/types").Provider<any>;
|
|
28
28
|
profile?: string;
|
|
29
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
29
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
30
30
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
31
31
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
3
3
|
export declare var MediaPackageV2ServiceException$: StaticErrorSchema;
|
|
4
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
5
|
export declare var ConflictException$: StaticErrorSchema;
|
|
@@ -118,6 +118,7 @@ export declare var UpdateChannelRequest$: StaticStructureSchema;
|
|
|
118
118
|
export declare var UpdateChannelResponse$: StaticStructureSchema;
|
|
119
119
|
export declare var UpdateOriginEndpointRequest$: StaticStructureSchema;
|
|
120
120
|
export declare var UpdateOriginEndpointResponse$: StaticStructureSchema;
|
|
121
|
+
export declare var DashAvailabilityStartTimeConfiguration$: StaticUnionSchema;
|
|
121
122
|
export declare var CancelHarvestJob$: StaticOperationSchema;
|
|
122
123
|
export declare var CreateChannel$: StaticOperationSchema;
|
|
123
124
|
export declare var CreateChannelGroup$: StaticOperationSchema;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HostHeaderInputConfig,
|
|
3
3
|
HostHeaderResolvedConfig,
|
|
4
|
-
} from "@aws-sdk/middleware-host-header";
|
|
5
|
-
import {
|
|
6
4
|
UserAgentInputConfig,
|
|
7
5
|
UserAgentResolvedConfig,
|
|
8
|
-
} from "@aws-sdk/
|
|
6
|
+
} from "@aws-sdk/core/client";
|
|
9
7
|
import {
|
|
10
8
|
DefaultsMode as __DefaultsMode,
|
|
11
9
|
SmithyConfiguration as __SmithyConfiguration,
|
|
@@ -142,6 +142,23 @@ export interface ListChannelsResponse {
|
|
|
142
142
|
Items?: ChannelListConfiguration[] | undefined;
|
|
143
143
|
NextToken?: string | undefined;
|
|
144
144
|
}
|
|
145
|
+
export type DashAvailabilityStartTimeConfiguration =
|
|
146
|
+
| DashAvailabilityStartTimeConfiguration.FixedAvailabilityStartTimeMember
|
|
147
|
+
| DashAvailabilityStartTimeConfiguration.$UnknownMember;
|
|
148
|
+
export declare namespace DashAvailabilityStartTimeConfiguration {
|
|
149
|
+
interface FixedAvailabilityStartTimeMember {
|
|
150
|
+
FixedAvailabilityStartTime: Date;
|
|
151
|
+
$unknown?: never;
|
|
152
|
+
}
|
|
153
|
+
interface $UnknownMember {
|
|
154
|
+
FixedAvailabilityStartTime?: never;
|
|
155
|
+
$unknown: [string, any];
|
|
156
|
+
}
|
|
157
|
+
interface Visitor<T> {
|
|
158
|
+
FixedAvailabilityStartTime: (value: Date) => T;
|
|
159
|
+
_: (name: string, value: any) => T;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
145
162
|
export interface DashBaseUrl {
|
|
146
163
|
Url: string | undefined;
|
|
147
164
|
ServiceLocation?: string | undefined;
|
|
@@ -209,6 +226,9 @@ export interface CreateDashManifestConfiguration {
|
|
|
209
226
|
Compactness?: DashCompactness | undefined;
|
|
210
227
|
SubtitleConfiguration?: DashSubtitleConfiguration | undefined;
|
|
211
228
|
UriPathType?: UriPathType | undefined;
|
|
229
|
+
AvailabilityStartTimeConfiguration?:
|
|
230
|
+
| DashAvailabilityStartTimeConfiguration
|
|
231
|
+
| undefined;
|
|
212
232
|
}
|
|
213
233
|
export interface ForceEndpointErrorConfiguration {
|
|
214
234
|
EndpointErrorConditions?: EndpointErrorCondition[] | undefined;
|
|
@@ -326,6 +346,9 @@ export interface GetDashManifestConfiguration {
|
|
|
326
346
|
Compactness?: DashCompactness | undefined;
|
|
327
347
|
SubtitleConfiguration?: DashSubtitleConfiguration | undefined;
|
|
328
348
|
UriPathType?: UriPathType | undefined;
|
|
349
|
+
AvailabilityStartTimeConfiguration?:
|
|
350
|
+
| DashAvailabilityStartTimeConfiguration
|
|
351
|
+
| undefined;
|
|
329
352
|
}
|
|
330
353
|
export interface GetHlsManifestConfiguration {
|
|
331
354
|
ManifestName: string | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: MediaPackageV2ClientConfig) => {
|
|
|
12
12
|
_: unknown
|
|
13
13
|
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
14
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/
|
|
15
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
16
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
17
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
18
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: MediaPackageV2ClientConfig) => {
|
|
|
13
13
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -34,7 +34,7 @@ export declare const getRuntimeConfig: (config: MediaPackageV2ClientConfig) => {
|
|
|
34
34
|
region: string | import("@smithy/types").Provider<any>;
|
|
35
35
|
profile?: string;
|
|
36
36
|
defaultUserAgentProvider: (
|
|
37
|
-
config?: import("@aws-sdk/
|
|
37
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
38
38
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
39
39
|
credentialDefaultProvider:
|
|
40
40
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
StaticErrorSchema,
|
|
4
4
|
StaticOperationSchema,
|
|
5
5
|
StaticStructureSchema,
|
|
6
|
+
StaticUnionSchema,
|
|
6
7
|
} from "@smithy/types";
|
|
7
8
|
export declare var MediaPackageV2ServiceException$: StaticErrorSchema;
|
|
8
9
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
@@ -117,6 +118,7 @@ export declare var UpdateChannelRequest$: StaticStructureSchema;
|
|
|
117
118
|
export declare var UpdateChannelResponse$: StaticStructureSchema;
|
|
118
119
|
export declare var UpdateOriginEndpointRequest$: StaticStructureSchema;
|
|
119
120
|
export declare var UpdateOriginEndpointResponse$: StaticStructureSchema;
|
|
121
|
+
export declare var DashAvailabilityStartTimeConfiguration$: StaticUnionSchema;
|
|
120
122
|
export declare var CancelHarvestJob$: StaticOperationSchema;
|
|
121
123
|
export declare var CreateChannel$: StaticOperationSchema;
|
|
122
124
|
export declare var CreateChannelGroup$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackagev2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediapackagev2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1049.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mediapackagev2",
|
|
@@ -21,20 +21,12 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.11",
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.12",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.40",
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.14",
|
|
24
|
+
"@aws-sdk/core": "^3.974.12",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.43",
|
|
31
26
|
"@aws-sdk/types": "^3.973.8",
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@smithy/core": "^3.24.1",
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.4.1",
|
|
37
|
-
"@smithy/node-http-handler": "^4.7.1",
|
|
27
|
+
"@smithy/core": "^3.24.2",
|
|
28
|
+
"@smithy/fetch-http-handler": "^5.4.2",
|
|
29
|
+
"@smithy/node-http-handler": "^4.7.2",
|
|
38
30
|
"@smithy/types": "^4.14.1",
|
|
39
31
|
"tslib": "^2.6.2"
|
|
40
32
|
},
|