@aws-sdk/client-mediapackagev2 3.758.0 → 3.767.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/README.md +16 -0
- package/dist-cjs/index.js +190 -92
- package/dist-es/MediaPackageV2.js +4 -0
- package/dist-es/commands/ResetChannelStateCommand.js +22 -0
- package/dist-es/commands/ResetOriginEndpointStateCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +62 -0
- package/dist-types/MediaPackageV2.d.ts +14 -0
- package/dist-types/MediaPackageV2Client.d.ts +4 -2
- package/dist-types/commands/CreateOriginEndpointCommand.d.ts +4 -0
- package/dist-types/commands/GetChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOriginEndpointCommand.d.ts +3 -0
- package/dist-types/commands/ListChannelGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ResetChannelStateCommand.d.ts +94 -0
- package/dist-types/commands/ResetOriginEndpointStateCommand.d.ts +96 -0
- package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +124 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/MediaPackageV2.d.ts +34 -0
- package/dist-types/ts3.4/MediaPackageV2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/ResetChannelStateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ResetOriginEndpointStateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +28 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
AdMarkerDash: () => AdMarkerDash,
|
|
26
26
|
AdMarkerHls: () => AdMarkerHls,
|
|
@@ -65,6 +65,8 @@ __export(src_exports, {
|
|
|
65
65
|
PresetSpeke20Video: () => PresetSpeke20Video,
|
|
66
66
|
PutChannelPolicyCommand: () => PutChannelPolicyCommand,
|
|
67
67
|
PutOriginEndpointPolicyCommand: () => PutOriginEndpointPolicyCommand,
|
|
68
|
+
ResetChannelStateCommand: () => ResetChannelStateCommand,
|
|
69
|
+
ResetOriginEndpointStateCommand: () => ResetOriginEndpointStateCommand,
|
|
68
70
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
69
71
|
ResourceTypeNotFound: () => ResourceTypeNotFound,
|
|
70
72
|
ScteFilter: () => ScteFilter,
|
|
@@ -86,7 +88,7 @@ __export(src_exports, {
|
|
|
86
88
|
waitForHarvestJobFinished: () => waitForHarvestJobFinished,
|
|
87
89
|
waitUntilHarvestJobFinished: () => waitUntilHarvestJobFinished
|
|
88
90
|
});
|
|
89
|
-
module.exports = __toCommonJS(
|
|
91
|
+
module.exports = __toCommonJS(index_exports);
|
|
90
92
|
|
|
91
93
|
// src/MediaPackageV2Client.ts
|
|
92
94
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -213,9 +215,9 @@ var MediaPackageV2Client = class extends import_smithy_client.Client {
|
|
|
213
215
|
this.middlewareStack.use(
|
|
214
216
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
215
217
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultMediaPackageV2HttpAuthSchemeParametersProvider,
|
|
216
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
218
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
217
219
|
"aws.auth#sigv4": config.credentials
|
|
218
|
-
})
|
|
220
|
+
}), "identityProviderConfigProvider")
|
|
219
221
|
})
|
|
220
222
|
);
|
|
221
223
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -615,9 +617,9 @@ var se_CreateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
615
617
|
(0, import_smithy_client.take)(input, {
|
|
616
618
|
ChannelName: [],
|
|
617
619
|
Description: [],
|
|
618
|
-
InputSwitchConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
620
|
+
InputSwitchConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InputSwitchConfiguration"),
|
|
619
621
|
InputType: [],
|
|
620
|
-
OutputHeaderConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
622
|
+
OutputHeaderConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OutputHeaderConfiguration"),
|
|
621
623
|
tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
|
|
622
624
|
})
|
|
623
625
|
);
|
|
@@ -656,11 +658,11 @@ var se_CreateHarvestJobCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
656
658
|
body = JSON.stringify(
|
|
657
659
|
(0, import_smithy_client.take)(input, {
|
|
658
660
|
Description: [],
|
|
659
|
-
Destination: (_) => (0, import_smithy_client._json)(_),
|
|
661
|
+
Destination: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Destination"),
|
|
660
662
|
HarvestJobName: [],
|
|
661
|
-
HarvestedManifests: (_) => (0, import_smithy_client._json)(_),
|
|
662
|
-
ScheduleConfiguration: (_) => se_HarvesterScheduleConfiguration(_, context),
|
|
663
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
663
|
+
HarvestedManifests: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "HarvestedManifests"),
|
|
664
|
+
ScheduleConfiguration: /* @__PURE__ */ __name((_) => se_HarvesterScheduleConfiguration(_, context), "ScheduleConfiguration"),
|
|
665
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
664
666
|
})
|
|
665
667
|
);
|
|
666
668
|
b.m("POST").h(headers).b(body);
|
|
@@ -679,15 +681,15 @@ var se_CreateOriginEndpointCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
679
681
|
body = JSON.stringify(
|
|
680
682
|
(0, import_smithy_client.take)(input, {
|
|
681
683
|
ContainerType: [],
|
|
682
|
-
DashManifests: (_) => se_CreateDashManifests(_, context),
|
|
684
|
+
DashManifests: /* @__PURE__ */ __name((_) => se_CreateDashManifests(_, context), "DashManifests"),
|
|
683
685
|
Description: [],
|
|
684
|
-
ForceEndpointErrorConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
685
|
-
HlsManifests: (_) => se_CreateHlsManifests(_, context),
|
|
686
|
-
LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
|
|
686
|
+
ForceEndpointErrorConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ForceEndpointErrorConfiguration"),
|
|
687
|
+
HlsManifests: /* @__PURE__ */ __name((_) => se_CreateHlsManifests(_, context), "HlsManifests"),
|
|
688
|
+
LowLatencyHlsManifests: /* @__PURE__ */ __name((_) => se_CreateLowLatencyHlsManifests(_, context), "LowLatencyHlsManifests"),
|
|
687
689
|
OriginEndpointName: [],
|
|
688
|
-
Segment: (_) => (0, import_smithy_client._json)(_),
|
|
690
|
+
Segment: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Segment"),
|
|
689
691
|
StartoverWindowSeconds: [],
|
|
690
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
692
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
691
693
|
})
|
|
692
694
|
);
|
|
693
695
|
b.m("POST").h(headers).b(body);
|
|
@@ -908,6 +910,27 @@ var se_PutOriginEndpointPolicyCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
908
910
|
b.m("POST").h(headers).b(body);
|
|
909
911
|
return b.build();
|
|
910
912
|
}, "se_PutOriginEndpointPolicyCommand");
|
|
913
|
+
var se_ResetChannelStateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
914
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
915
|
+
const headers = {};
|
|
916
|
+
b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/reset");
|
|
917
|
+
b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
|
|
918
|
+
b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
|
|
919
|
+
let body;
|
|
920
|
+
b.m("POST").h(headers).b(body);
|
|
921
|
+
return b.build();
|
|
922
|
+
}, "se_ResetChannelStateCommand");
|
|
923
|
+
var se_ResetOriginEndpointStateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
924
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
925
|
+
const headers = {};
|
|
926
|
+
b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/reset");
|
|
927
|
+
b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
|
|
928
|
+
b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
|
|
929
|
+
b.p("OriginEndpointName", () => input.OriginEndpointName, "{OriginEndpointName}", false);
|
|
930
|
+
let body;
|
|
931
|
+
b.m("POST").h(headers).b(body);
|
|
932
|
+
return b.build();
|
|
933
|
+
}, "se_ResetOriginEndpointStateCommand");
|
|
911
934
|
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
912
935
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
913
936
|
const headers = {
|
|
@@ -949,8 +972,8 @@ var se_UpdateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
949
972
|
body = JSON.stringify(
|
|
950
973
|
(0, import_smithy_client.take)(input, {
|
|
951
974
|
Description: [],
|
|
952
|
-
InputSwitchConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
953
|
-
OutputHeaderConfiguration: (_) => (0, import_smithy_client._json)(_)
|
|
975
|
+
InputSwitchConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InputSwitchConfiguration"),
|
|
976
|
+
OutputHeaderConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OutputHeaderConfiguration")
|
|
954
977
|
})
|
|
955
978
|
);
|
|
956
979
|
b.m("PUT").h(headers).b(body);
|
|
@@ -987,12 +1010,12 @@ var se_UpdateOriginEndpointCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
987
1010
|
body = JSON.stringify(
|
|
988
1011
|
(0, import_smithy_client.take)(input, {
|
|
989
1012
|
ContainerType: [],
|
|
990
|
-
DashManifests: (_) => se_CreateDashManifests(_, context),
|
|
1013
|
+
DashManifests: /* @__PURE__ */ __name((_) => se_CreateDashManifests(_, context), "DashManifests"),
|
|
991
1014
|
Description: [],
|
|
992
|
-
ForceEndpointErrorConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
993
|
-
HlsManifests: (_) => se_CreateHlsManifests(_, context),
|
|
994
|
-
LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
|
|
995
|
-
Segment: (_) => (0, import_smithy_client._json)(_),
|
|
1015
|
+
ForceEndpointErrorConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ForceEndpointErrorConfiguration"),
|
|
1016
|
+
HlsManifests: /* @__PURE__ */ __name((_) => se_CreateHlsManifests(_, context), "HlsManifests"),
|
|
1017
|
+
LowLatencyHlsManifests: /* @__PURE__ */ __name((_) => se_CreateLowLatencyHlsManifests(_, context), "LowLatencyHlsManifests"),
|
|
1018
|
+
Segment: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Segment"),
|
|
996
1019
|
StartoverWindowSeconds: []
|
|
997
1020
|
})
|
|
998
1021
|
);
|
|
@@ -1021,13 +1044,13 @@ var de_CreateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1021
1044
|
Arn: import_smithy_client.expectString,
|
|
1022
1045
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1023
1046
|
ChannelName: import_smithy_client.expectString,
|
|
1024
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1047
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1025
1048
|
Description: import_smithy_client.expectString,
|
|
1026
1049
|
ETag: import_smithy_client.expectString,
|
|
1027
1050
|
IngestEndpoints: import_smithy_client._json,
|
|
1028
1051
|
InputSwitchConfiguration: import_smithy_client._json,
|
|
1029
1052
|
InputType: import_smithy_client.expectString,
|
|
1030
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1053
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"),
|
|
1031
1054
|
OutputHeaderConfiguration: import_smithy_client._json,
|
|
1032
1055
|
Tags: import_smithy_client._json
|
|
1033
1056
|
});
|
|
@@ -1045,11 +1068,11 @@ var de_CreateChannelGroupCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1045
1068
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1046
1069
|
Arn: import_smithy_client.expectString,
|
|
1047
1070
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1048
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1071
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1049
1072
|
Description: import_smithy_client.expectString,
|
|
1050
1073
|
ETag: import_smithy_client.expectString,
|
|
1051
1074
|
EgressDomain: import_smithy_client.expectString,
|
|
1052
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1075
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"),
|
|
1053
1076
|
Tags: import_smithy_client._json
|
|
1054
1077
|
});
|
|
1055
1078
|
Object.assign(contents, doc);
|
|
@@ -1067,16 +1090,16 @@ var de_CreateHarvestJobCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1067
1090
|
Arn: import_smithy_client.expectString,
|
|
1068
1091
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1069
1092
|
ChannelName: import_smithy_client.expectString,
|
|
1070
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1093
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1071
1094
|
Description: import_smithy_client.expectString,
|
|
1072
1095
|
Destination: import_smithy_client._json,
|
|
1073
1096
|
ETag: import_smithy_client.expectString,
|
|
1074
1097
|
ErrorMessage: import_smithy_client.expectString,
|
|
1075
1098
|
HarvestJobName: import_smithy_client.expectString,
|
|
1076
1099
|
HarvestedManifests: import_smithy_client._json,
|
|
1077
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1100
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"),
|
|
1078
1101
|
OriginEndpointName: import_smithy_client.expectString,
|
|
1079
|
-
ScheduleConfiguration: (_) => de_HarvesterScheduleConfiguration(_, context),
|
|
1102
|
+
ScheduleConfiguration: /* @__PURE__ */ __name((_) => de_HarvesterScheduleConfiguration(_, context), "ScheduleConfiguration"),
|
|
1080
1103
|
Status: import_smithy_client.expectString,
|
|
1081
1104
|
Tags: import_smithy_client._json
|
|
1082
1105
|
});
|
|
@@ -1096,14 +1119,14 @@ var de_CreateOriginEndpointCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1096
1119
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1097
1120
|
ChannelName: import_smithy_client.expectString,
|
|
1098
1121
|
ContainerType: import_smithy_client.expectString,
|
|
1099
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1100
|
-
DashManifests: (_) => de_GetDashManifests(_, context),
|
|
1122
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1123
|
+
DashManifests: /* @__PURE__ */ __name((_) => de_GetDashManifests(_, context), "DashManifests"),
|
|
1101
1124
|
Description: import_smithy_client.expectString,
|
|
1102
1125
|
ETag: import_smithy_client.expectString,
|
|
1103
1126
|
ForceEndpointErrorConfiguration: import_smithy_client._json,
|
|
1104
|
-
HlsManifests: (_) => de_GetHlsManifests(_, context),
|
|
1105
|
-
LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
|
|
1106
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1127
|
+
HlsManifests: /* @__PURE__ */ __name((_) => de_GetHlsManifests(_, context), "HlsManifests"),
|
|
1128
|
+
LowLatencyHlsManifests: /* @__PURE__ */ __name((_) => de_GetLowLatencyHlsManifests(_, context), "LowLatencyHlsManifests"),
|
|
1129
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"),
|
|
1107
1130
|
OriginEndpointName: import_smithy_client.expectString,
|
|
1108
1131
|
Segment: import_smithy_client._json,
|
|
1109
1132
|
StartoverWindowSeconds: import_smithy_client.expectInt32,
|
|
@@ -1174,14 +1197,15 @@ var de_GetChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1174
1197
|
Arn: import_smithy_client.expectString,
|
|
1175
1198
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1176
1199
|
ChannelName: import_smithy_client.expectString,
|
|
1177
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1200
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1178
1201
|
Description: import_smithy_client.expectString,
|
|
1179
1202
|
ETag: import_smithy_client.expectString,
|
|
1180
1203
|
IngestEndpoints: import_smithy_client._json,
|
|
1181
1204
|
InputSwitchConfiguration: import_smithy_client._json,
|
|
1182
1205
|
InputType: import_smithy_client.expectString,
|
|
1183
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1206
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"),
|
|
1184
1207
|
OutputHeaderConfiguration: import_smithy_client._json,
|
|
1208
|
+
ResetAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ResetAt"),
|
|
1185
1209
|
Tags: import_smithy_client._json
|
|
1186
1210
|
});
|
|
1187
1211
|
Object.assign(contents, doc);
|
|
@@ -1198,11 +1222,11 @@ var de_GetChannelGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1198
1222
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1199
1223
|
Arn: import_smithy_client.expectString,
|
|
1200
1224
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1201
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1225
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1202
1226
|
Description: import_smithy_client.expectString,
|
|
1203
1227
|
ETag: import_smithy_client.expectString,
|
|
1204
1228
|
EgressDomain: import_smithy_client.expectString,
|
|
1205
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1229
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"),
|
|
1206
1230
|
Tags: [, import_smithy_client._json, `tags`]
|
|
1207
1231
|
});
|
|
1208
1232
|
Object.assign(contents, doc);
|
|
@@ -1236,16 +1260,16 @@ var de_GetHarvestJobCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1236
1260
|
Arn: import_smithy_client.expectString,
|
|
1237
1261
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1238
1262
|
ChannelName: import_smithy_client.expectString,
|
|
1239
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1263
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1240
1264
|
Description: import_smithy_client.expectString,
|
|
1241
1265
|
Destination: import_smithy_client._json,
|
|
1242
1266
|
ETag: import_smithy_client.expectString,
|
|
1243
1267
|
ErrorMessage: import_smithy_client.expectString,
|
|
1244
1268
|
HarvestJobName: import_smithy_client.expectString,
|
|
1245
1269
|
HarvestedManifests: import_smithy_client._json,
|
|
1246
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1270
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"),
|
|
1247
1271
|
OriginEndpointName: import_smithy_client.expectString,
|
|
1248
|
-
ScheduleConfiguration: (_) => de_HarvesterScheduleConfiguration(_, context),
|
|
1272
|
+
ScheduleConfiguration: /* @__PURE__ */ __name((_) => de_HarvesterScheduleConfiguration(_, context), "ScheduleConfiguration"),
|
|
1249
1273
|
Status: import_smithy_client.expectString,
|
|
1250
1274
|
Tags: import_smithy_client._json
|
|
1251
1275
|
});
|
|
@@ -1265,15 +1289,16 @@ var de_GetOriginEndpointCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1265
1289
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1266
1290
|
ChannelName: import_smithy_client.expectString,
|
|
1267
1291
|
ContainerType: import_smithy_client.expectString,
|
|
1268
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1269
|
-
DashManifests: (_) => de_GetDashManifests(_, context),
|
|
1292
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1293
|
+
DashManifests: /* @__PURE__ */ __name((_) => de_GetDashManifests(_, context), "DashManifests"),
|
|
1270
1294
|
Description: import_smithy_client.expectString,
|
|
1271
1295
|
ETag: import_smithy_client.expectString,
|
|
1272
1296
|
ForceEndpointErrorConfiguration: import_smithy_client._json,
|
|
1273
|
-
HlsManifests: (_) => de_GetHlsManifests(_, context),
|
|
1274
|
-
LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
|
|
1275
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1297
|
+
HlsManifests: /* @__PURE__ */ __name((_) => de_GetHlsManifests(_, context), "HlsManifests"),
|
|
1298
|
+
LowLatencyHlsManifests: /* @__PURE__ */ __name((_) => de_GetLowLatencyHlsManifests(_, context), "LowLatencyHlsManifests"),
|
|
1299
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"),
|
|
1276
1300
|
OriginEndpointName: import_smithy_client.expectString,
|
|
1301
|
+
ResetAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ResetAt"),
|
|
1277
1302
|
Segment: import_smithy_client._json,
|
|
1278
1303
|
StartoverWindowSeconds: import_smithy_client.expectInt32,
|
|
1279
1304
|
Tags: import_smithy_client._json
|
|
@@ -1307,7 +1332,7 @@ var de_ListChannelGroupsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1307
1332
|
});
|
|
1308
1333
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1309
1334
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1310
|
-
Items: (_) => de_ChannelGroupsList(_, context),
|
|
1335
|
+
Items: /* @__PURE__ */ __name((_) => de_ChannelGroupsList(_, context), "Items"),
|
|
1311
1336
|
NextToken: import_smithy_client.expectString
|
|
1312
1337
|
});
|
|
1313
1338
|
Object.assign(contents, doc);
|
|
@@ -1322,7 +1347,7 @@ var de_ListChannelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1322
1347
|
});
|
|
1323
1348
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1324
1349
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1325
|
-
Items: (_) => de_ChannelList(_, context),
|
|
1350
|
+
Items: /* @__PURE__ */ __name((_) => de_ChannelList(_, context), "Items"),
|
|
1326
1351
|
NextToken: import_smithy_client.expectString
|
|
1327
1352
|
});
|
|
1328
1353
|
Object.assign(contents, doc);
|
|
@@ -1337,7 +1362,7 @@ var de_ListHarvestJobsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1337
1362
|
});
|
|
1338
1363
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1339
1364
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1340
|
-
Items: (_) => de_HarvestJobsList(_, context),
|
|
1365
|
+
Items: /* @__PURE__ */ __name((_) => de_HarvestJobsList(_, context), "Items"),
|
|
1341
1366
|
NextToken: import_smithy_client.expectString
|
|
1342
1367
|
});
|
|
1343
1368
|
Object.assign(contents, doc);
|
|
@@ -1352,7 +1377,7 @@ var de_ListOriginEndpointsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1352
1377
|
});
|
|
1353
1378
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1354
1379
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1355
|
-
Items: (_) => de_OriginEndpointsList(_, context),
|
|
1380
|
+
Items: /* @__PURE__ */ __name((_) => de_OriginEndpointsList(_, context), "Items"),
|
|
1356
1381
|
NextToken: import_smithy_client.expectString
|
|
1357
1382
|
});
|
|
1358
1383
|
Object.assign(contents, doc);
|
|
@@ -1392,6 +1417,41 @@ var de_PutOriginEndpointPolicyCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1392
1417
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1393
1418
|
return contents;
|
|
1394
1419
|
}, "de_PutOriginEndpointPolicyCommand");
|
|
1420
|
+
var de_ResetChannelStateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1421
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1422
|
+
return de_CommandError(output, context);
|
|
1423
|
+
}
|
|
1424
|
+
const contents = (0, import_smithy_client.map)({
|
|
1425
|
+
$metadata: deserializeMetadata(output)
|
|
1426
|
+
});
|
|
1427
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1428
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1429
|
+
Arn: import_smithy_client.expectString,
|
|
1430
|
+
ChannelGroupName: import_smithy_client.expectString,
|
|
1431
|
+
ChannelName: import_smithy_client.expectString,
|
|
1432
|
+
ResetAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ResetAt")
|
|
1433
|
+
});
|
|
1434
|
+
Object.assign(contents, doc);
|
|
1435
|
+
return contents;
|
|
1436
|
+
}, "de_ResetChannelStateCommand");
|
|
1437
|
+
var de_ResetOriginEndpointStateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1438
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1439
|
+
return de_CommandError(output, context);
|
|
1440
|
+
}
|
|
1441
|
+
const contents = (0, import_smithy_client.map)({
|
|
1442
|
+
$metadata: deserializeMetadata(output)
|
|
1443
|
+
});
|
|
1444
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1445
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1446
|
+
Arn: import_smithy_client.expectString,
|
|
1447
|
+
ChannelGroupName: import_smithy_client.expectString,
|
|
1448
|
+
ChannelName: import_smithy_client.expectString,
|
|
1449
|
+
OriginEndpointName: import_smithy_client.expectString,
|
|
1450
|
+
ResetAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ResetAt")
|
|
1451
|
+
});
|
|
1452
|
+
Object.assign(contents, doc);
|
|
1453
|
+
return contents;
|
|
1454
|
+
}, "de_ResetOriginEndpointStateCommand");
|
|
1395
1455
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1396
1456
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1397
1457
|
return de_CommandError(output, context);
|
|
@@ -1424,13 +1484,13 @@ var de_UpdateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1424
1484
|
Arn: import_smithy_client.expectString,
|
|
1425
1485
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1426
1486
|
ChannelName: import_smithy_client.expectString,
|
|
1427
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1487
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1428
1488
|
Description: import_smithy_client.expectString,
|
|
1429
1489
|
ETag: import_smithy_client.expectString,
|
|
1430
1490
|
IngestEndpoints: import_smithy_client._json,
|
|
1431
1491
|
InputSwitchConfiguration: import_smithy_client._json,
|
|
1432
1492
|
InputType: import_smithy_client.expectString,
|
|
1433
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1493
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"),
|
|
1434
1494
|
OutputHeaderConfiguration: import_smithy_client._json,
|
|
1435
1495
|
Tags: [, import_smithy_client._json, `tags`]
|
|
1436
1496
|
});
|
|
@@ -1448,11 +1508,11 @@ var de_UpdateChannelGroupCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1448
1508
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1449
1509
|
Arn: import_smithy_client.expectString,
|
|
1450
1510
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1451
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1511
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1452
1512
|
Description: import_smithy_client.expectString,
|
|
1453
1513
|
ETag: import_smithy_client.expectString,
|
|
1454
1514
|
EgressDomain: import_smithy_client.expectString,
|
|
1455
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1515
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"),
|
|
1456
1516
|
Tags: [, import_smithy_client._json, `tags`]
|
|
1457
1517
|
});
|
|
1458
1518
|
Object.assign(contents, doc);
|
|
@@ -1471,14 +1531,14 @@ var de_UpdateOriginEndpointCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1471
1531
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1472
1532
|
ChannelName: import_smithy_client.expectString,
|
|
1473
1533
|
ContainerType: import_smithy_client.expectString,
|
|
1474
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1475
|
-
DashManifests: (_) => de_GetDashManifests(_, context),
|
|
1534
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1535
|
+
DashManifests: /* @__PURE__ */ __name((_) => de_GetDashManifests(_, context), "DashManifests"),
|
|
1476
1536
|
Description: import_smithy_client.expectString,
|
|
1477
1537
|
ETag: import_smithy_client.expectString,
|
|
1478
1538
|
ForceEndpointErrorConfiguration: import_smithy_client._json,
|
|
1479
|
-
HlsManifests: (_) => de_GetHlsManifests(_, context),
|
|
1480
|
-
LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
|
|
1481
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1539
|
+
HlsManifests: /* @__PURE__ */ __name((_) => de_GetHlsManifests(_, context), "HlsManifests"),
|
|
1540
|
+
LowLatencyHlsManifests: /* @__PURE__ */ __name((_) => de_GetLowLatencyHlsManifests(_, context), "LowLatencyHlsManifests"),
|
|
1541
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"),
|
|
1482
1542
|
OriginEndpointName: import_smithy_client.expectString,
|
|
1483
1543
|
Segment: import_smithy_client._json,
|
|
1484
1544
|
StartoverWindowSeconds: import_smithy_client.expectInt32,
|
|
@@ -1622,7 +1682,7 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
1622
1682
|
var se_CreateDashManifestConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
1623
1683
|
return (0, import_smithy_client.take)(input, {
|
|
1624
1684
|
DrmSignaling: [],
|
|
1625
|
-
FilterConfiguration: (_) => se_FilterConfiguration(_, context),
|
|
1685
|
+
FilterConfiguration: /* @__PURE__ */ __name((_) => se_FilterConfiguration(_, context), "FilterConfiguration"),
|
|
1626
1686
|
ManifestName: [],
|
|
1627
1687
|
ManifestWindowSeconds: [],
|
|
1628
1688
|
MinBufferTimeSeconds: [],
|
|
@@ -1642,12 +1702,13 @@ var se_CreateDashManifests = /* @__PURE__ */ __name((input, context) => {
|
|
|
1642
1702
|
var se_CreateHlsManifestConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
1643
1703
|
return (0, import_smithy_client.take)(input, {
|
|
1644
1704
|
ChildManifestName: [],
|
|
1645
|
-
FilterConfiguration: (_) => se_FilterConfiguration(_, context),
|
|
1705
|
+
FilterConfiguration: /* @__PURE__ */ __name((_) => se_FilterConfiguration(_, context), "FilterConfiguration"),
|
|
1646
1706
|
ManifestName: [],
|
|
1647
1707
|
ManifestWindowSeconds: [],
|
|
1648
1708
|
ProgramDateTimeIntervalSeconds: [],
|
|
1649
1709
|
ScteHls: import_smithy_client._json,
|
|
1650
|
-
StartTag: (_) => se_StartTag(_, context)
|
|
1710
|
+
StartTag: /* @__PURE__ */ __name((_) => se_StartTag(_, context), "StartTag"),
|
|
1711
|
+
UrlEncodeChildManifest: []
|
|
1651
1712
|
});
|
|
1652
1713
|
}, "se_CreateHlsManifestConfiguration");
|
|
1653
1714
|
var se_CreateHlsManifests = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -1658,12 +1719,13 @@ var se_CreateHlsManifests = /* @__PURE__ */ __name((input, context) => {
|
|
|
1658
1719
|
var se_CreateLowLatencyHlsManifestConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
1659
1720
|
return (0, import_smithy_client.take)(input, {
|
|
1660
1721
|
ChildManifestName: [],
|
|
1661
|
-
FilterConfiguration: (_) => se_FilterConfiguration(_, context),
|
|
1722
|
+
FilterConfiguration: /* @__PURE__ */ __name((_) => se_FilterConfiguration(_, context), "FilterConfiguration"),
|
|
1662
1723
|
ManifestName: [],
|
|
1663
1724
|
ManifestWindowSeconds: [],
|
|
1664
1725
|
ProgramDateTimeIntervalSeconds: [],
|
|
1665
1726
|
ScteHls: import_smithy_client._json,
|
|
1666
|
-
StartTag: (_) => se_StartTag(_, context)
|
|
1727
|
+
StartTag: /* @__PURE__ */ __name((_) => se_StartTag(_, context), "StartTag"),
|
|
1728
|
+
UrlEncodeChildManifest: []
|
|
1667
1729
|
});
|
|
1668
1730
|
}, "se_CreateLowLatencyHlsManifestConfiguration");
|
|
1669
1731
|
var se_CreateLowLatencyHlsManifests = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -1673,17 +1735,17 @@ var se_CreateLowLatencyHlsManifests = /* @__PURE__ */ __name((input, context) =>
|
|
|
1673
1735
|
}, "se_CreateLowLatencyHlsManifests");
|
|
1674
1736
|
var se_FilterConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
1675
1737
|
return (0, import_smithy_client.take)(input, {
|
|
1676
|
-
ClipStartTime: (_) => _.getTime() / 1e3,
|
|
1677
|
-
End: (_) => _.getTime() / 1e3,
|
|
1738
|
+
ClipStartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "ClipStartTime"),
|
|
1739
|
+
End: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "End"),
|
|
1678
1740
|
ManifestFilter: [],
|
|
1679
|
-
Start: (_) => _.getTime() / 1e3,
|
|
1741
|
+
Start: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "Start"),
|
|
1680
1742
|
TimeDelaySeconds: []
|
|
1681
1743
|
});
|
|
1682
1744
|
}, "se_FilterConfiguration");
|
|
1683
1745
|
var se_HarvesterScheduleConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
1684
1746
|
return (0, import_smithy_client.take)(input, {
|
|
1685
|
-
EndTime: (_) => _.getTime() / 1e3,
|
|
1686
|
-
StartTime: (_) => _.getTime() / 1e3
|
|
1747
|
+
EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
|
|
1748
|
+
StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")
|
|
1687
1749
|
});
|
|
1688
1750
|
}, "se_HarvesterScheduleConfiguration");
|
|
1689
1751
|
var se_StartTag = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -1696,9 +1758,9 @@ var de_ChannelGroupListConfiguration = /* @__PURE__ */ __name((output, context)
|
|
|
1696
1758
|
return (0, import_smithy_client.take)(output, {
|
|
1697
1759
|
Arn: import_smithy_client.expectString,
|
|
1698
1760
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1699
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1761
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1700
1762
|
Description: import_smithy_client.expectString,
|
|
1701
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1763
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt")
|
|
1702
1764
|
});
|
|
1703
1765
|
}, "de_ChannelGroupListConfiguration");
|
|
1704
1766
|
var de_ChannelGroupsList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1718,25 +1780,25 @@ var de_ChannelListConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
|
1718
1780
|
Arn: import_smithy_client.expectString,
|
|
1719
1781
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1720
1782
|
ChannelName: import_smithy_client.expectString,
|
|
1721
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1783
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1722
1784
|
Description: import_smithy_client.expectString,
|
|
1723
1785
|
InputType: import_smithy_client.expectString,
|
|
1724
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1786
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt")
|
|
1725
1787
|
});
|
|
1726
1788
|
}, "de_ChannelListConfiguration");
|
|
1727
1789
|
var de_FilterConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
1728
1790
|
return (0, import_smithy_client.take)(output, {
|
|
1729
|
-
ClipStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1730
|
-
End: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1791
|
+
ClipStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ClipStartTime"),
|
|
1792
|
+
End: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "End"),
|
|
1731
1793
|
ManifestFilter: import_smithy_client.expectString,
|
|
1732
|
-
Start: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1794
|
+
Start: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Start"),
|
|
1733
1795
|
TimeDelaySeconds: import_smithy_client.expectInt32
|
|
1734
1796
|
});
|
|
1735
1797
|
}, "de_FilterConfiguration");
|
|
1736
1798
|
var de_GetDashManifestConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
1737
1799
|
return (0, import_smithy_client.take)(output, {
|
|
1738
1800
|
DrmSignaling: import_smithy_client.expectString,
|
|
1739
|
-
FilterConfiguration: (_) => de_FilterConfiguration(_, context),
|
|
1801
|
+
FilterConfiguration: /* @__PURE__ */ __name((_) => de_FilterConfiguration(_, context), "FilterConfiguration"),
|
|
1740
1802
|
ManifestName: import_smithy_client.expectString,
|
|
1741
1803
|
ManifestWindowSeconds: import_smithy_client.expectInt32,
|
|
1742
1804
|
MinBufferTimeSeconds: import_smithy_client.expectInt32,
|
|
@@ -1758,13 +1820,14 @@ var de_GetDashManifests = /* @__PURE__ */ __name((output, context) => {
|
|
|
1758
1820
|
var de_GetHlsManifestConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
1759
1821
|
return (0, import_smithy_client.take)(output, {
|
|
1760
1822
|
ChildManifestName: import_smithy_client.expectString,
|
|
1761
|
-
FilterConfiguration: (_) => de_FilterConfiguration(_, context),
|
|
1823
|
+
FilterConfiguration: /* @__PURE__ */ __name((_) => de_FilterConfiguration(_, context), "FilterConfiguration"),
|
|
1762
1824
|
ManifestName: import_smithy_client.expectString,
|
|
1763
1825
|
ManifestWindowSeconds: import_smithy_client.expectInt32,
|
|
1764
1826
|
ProgramDateTimeIntervalSeconds: import_smithy_client.expectInt32,
|
|
1765
1827
|
ScteHls: import_smithy_client._json,
|
|
1766
|
-
StartTag: (_) => de_StartTag(_, context),
|
|
1767
|
-
Url: import_smithy_client.expectString
|
|
1828
|
+
StartTag: /* @__PURE__ */ __name((_) => de_StartTag(_, context), "StartTag"),
|
|
1829
|
+
Url: import_smithy_client.expectString,
|
|
1830
|
+
UrlEncodeChildManifest: import_smithy_client.expectBoolean
|
|
1768
1831
|
});
|
|
1769
1832
|
}, "de_GetHlsManifestConfiguration");
|
|
1770
1833
|
var de_GetHlsManifests = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1776,13 +1839,14 @@ var de_GetHlsManifests = /* @__PURE__ */ __name((output, context) => {
|
|
|
1776
1839
|
var de_GetLowLatencyHlsManifestConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
1777
1840
|
return (0, import_smithy_client.take)(output, {
|
|
1778
1841
|
ChildManifestName: import_smithy_client.expectString,
|
|
1779
|
-
FilterConfiguration: (_) => de_FilterConfiguration(_, context),
|
|
1842
|
+
FilterConfiguration: /* @__PURE__ */ __name((_) => de_FilterConfiguration(_, context), "FilterConfiguration"),
|
|
1780
1843
|
ManifestName: import_smithy_client.expectString,
|
|
1781
1844
|
ManifestWindowSeconds: import_smithy_client.expectInt32,
|
|
1782
1845
|
ProgramDateTimeIntervalSeconds: import_smithy_client.expectInt32,
|
|
1783
1846
|
ScteHls: import_smithy_client._json,
|
|
1784
|
-
StartTag: (_) => de_StartTag(_, context),
|
|
1785
|
-
Url: import_smithy_client.expectString
|
|
1847
|
+
StartTag: /* @__PURE__ */ __name((_) => de_StartTag(_, context), "StartTag"),
|
|
1848
|
+
Url: import_smithy_client.expectString,
|
|
1849
|
+
UrlEncodeChildManifest: import_smithy_client.expectBoolean
|
|
1786
1850
|
});
|
|
1787
1851
|
}, "de_GetLowLatencyHlsManifestConfiguration");
|
|
1788
1852
|
var de_GetLowLatencyHlsManifests = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1793,8 +1857,8 @@ var de_GetLowLatencyHlsManifests = /* @__PURE__ */ __name((output, context) => {
|
|
|
1793
1857
|
}, "de_GetLowLatencyHlsManifests");
|
|
1794
1858
|
var de_HarvesterScheduleConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
1795
1859
|
return (0, import_smithy_client.take)(output, {
|
|
1796
|
-
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1797
|
-
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1860
|
+
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
1861
|
+
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
|
|
1798
1862
|
});
|
|
1799
1863
|
}, "de_HarvesterScheduleConfiguration");
|
|
1800
1864
|
var de_HarvestJob = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1802,16 +1866,16 @@ var de_HarvestJob = /* @__PURE__ */ __name((output, context) => {
|
|
|
1802
1866
|
Arn: import_smithy_client.expectString,
|
|
1803
1867
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1804
1868
|
ChannelName: import_smithy_client.expectString,
|
|
1805
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1869
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1806
1870
|
Description: import_smithy_client.expectString,
|
|
1807
1871
|
Destination: import_smithy_client._json,
|
|
1808
1872
|
ETag: import_smithy_client.expectString,
|
|
1809
1873
|
ErrorMessage: import_smithy_client.expectString,
|
|
1810
1874
|
HarvestJobName: import_smithy_client.expectString,
|
|
1811
1875
|
HarvestedManifests: import_smithy_client._json,
|
|
1812
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1876
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"),
|
|
1813
1877
|
OriginEndpointName: import_smithy_client.expectString,
|
|
1814
|
-
ScheduleConfiguration: (_) => de_HarvesterScheduleConfiguration(_, context),
|
|
1878
|
+
ScheduleConfiguration: /* @__PURE__ */ __name((_) => de_HarvesterScheduleConfiguration(_, context), "ScheduleConfiguration"),
|
|
1815
1879
|
Status: import_smithy_client.expectString
|
|
1816
1880
|
});
|
|
1817
1881
|
}, "de_HarvestJob");
|
|
@@ -1827,13 +1891,13 @@ var de_OriginEndpointListConfiguration = /* @__PURE__ */ __name((output, context
|
|
|
1827
1891
|
ChannelGroupName: import_smithy_client.expectString,
|
|
1828
1892
|
ChannelName: import_smithy_client.expectString,
|
|
1829
1893
|
ContainerType: import_smithy_client.expectString,
|
|
1830
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1894
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1831
1895
|
DashManifests: import_smithy_client._json,
|
|
1832
1896
|
Description: import_smithy_client.expectString,
|
|
1833
1897
|
ForceEndpointErrorConfiguration: import_smithy_client._json,
|
|
1834
1898
|
HlsManifests: import_smithy_client._json,
|
|
1835
1899
|
LowLatencyHlsManifests: import_smithy_client._json,
|
|
1836
|
-
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1900
|
+
ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"),
|
|
1837
1901
|
OriginEndpointName: import_smithy_client.expectString
|
|
1838
1902
|
});
|
|
1839
1903
|
}, "de_OriginEndpointListConfiguration");
|
|
@@ -2214,6 +2278,36 @@ var PutOriginEndpointPolicyCommand = class extends import_smithy_client.Command.
|
|
|
2214
2278
|
}
|
|
2215
2279
|
};
|
|
2216
2280
|
|
|
2281
|
+
// src/commands/ResetChannelStateCommand.ts
|
|
2282
|
+
|
|
2283
|
+
|
|
2284
|
+
|
|
2285
|
+
var ResetChannelStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2286
|
+
return [
|
|
2287
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2288
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2289
|
+
];
|
|
2290
|
+
}).s("mediapackagev2", "ResetChannelState", {}).n("MediaPackageV2Client", "ResetChannelStateCommand").f(void 0, void 0).ser(se_ResetChannelStateCommand).de(de_ResetChannelStateCommand).build() {
|
|
2291
|
+
static {
|
|
2292
|
+
__name(this, "ResetChannelStateCommand");
|
|
2293
|
+
}
|
|
2294
|
+
};
|
|
2295
|
+
|
|
2296
|
+
// src/commands/ResetOriginEndpointStateCommand.ts
|
|
2297
|
+
|
|
2298
|
+
|
|
2299
|
+
|
|
2300
|
+
var ResetOriginEndpointStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2301
|
+
return [
|
|
2302
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2303
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2304
|
+
];
|
|
2305
|
+
}).s("mediapackagev2", "ResetOriginEndpointState", {}).n("MediaPackageV2Client", "ResetOriginEndpointStateCommand").f(void 0, void 0).ser(se_ResetOriginEndpointStateCommand).de(de_ResetOriginEndpointStateCommand).build() {
|
|
2306
|
+
static {
|
|
2307
|
+
__name(this, "ResetOriginEndpointStateCommand");
|
|
2308
|
+
}
|
|
2309
|
+
};
|
|
2310
|
+
|
|
2217
2311
|
// src/commands/TagResourceCommand.ts
|
|
2218
2312
|
|
|
2219
2313
|
|
|
@@ -2314,6 +2408,8 @@ var commands = {
|
|
|
2314
2408
|
ListTagsForResourceCommand,
|
|
2315
2409
|
PutChannelPolicyCommand,
|
|
2316
2410
|
PutOriginEndpointPolicyCommand,
|
|
2411
|
+
ResetChannelStateCommand,
|
|
2412
|
+
ResetOriginEndpointStateCommand,
|
|
2317
2413
|
TagResourceCommand,
|
|
2318
2414
|
UntagResourceCommand,
|
|
2319
2415
|
UpdateChannelCommand,
|
|
@@ -2440,6 +2536,8 @@ var waitUntilHarvestJobFinished = /* @__PURE__ */ __name(async (params, input) =
|
|
|
2440
2536
|
ListTagsForResourceCommand,
|
|
2441
2537
|
PutChannelPolicyCommand,
|
|
2442
2538
|
PutOriginEndpointPolicyCommand,
|
|
2539
|
+
ResetChannelStateCommand,
|
|
2540
|
+
ResetOriginEndpointStateCommand,
|
|
2443
2541
|
TagResourceCommand,
|
|
2444
2542
|
UntagResourceCommand,
|
|
2445
2543
|
UpdateChannelCommand,
|