@aws-sdk/client-mediapackage 3.299.0 → 3.300.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-types/commands/ConfigureLogsCommand.d.ts +9 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +7 -0
- package/dist-types/commands/CreateHarvestJobCommand.d.ts +11 -0
- package/dist-types/commands/CreateOriginEndpointCommand.d.ts +164 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +3 -0
- package/dist-types/commands/DescribeChannelCommand.d.ts +3 -0
- package/dist-types/commands/DescribeHarvestJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeOriginEndpointCommand.d.ts +3 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +4 -0
- package/dist-types/commands/ListHarvestJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListOriginEndpointsCommand.d.ts +5 -0
- package/dist-types/commands/RotateChannelCredentialsCommand.d.ts +3 -0
- package/dist-types/commands/RotateIngestEndpointCredentialsCommand.d.ts +4 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +4 -0
- package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +160 -0
- package/package.json +8 -8
|
@@ -26,6 +26,15 @@ export interface ConfigureLogsCommandOutput extends ConfigureLogsResponse, __Met
|
|
|
26
26
|
* import { MediaPackageClient, ConfigureLogsCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, ConfigureLogsCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* EgressAccessLogs: {
|
|
31
|
+
* LogGroupName: "STRING_VALUE",
|
|
32
|
+
* },
|
|
33
|
+
* Id: "STRING_VALUE", // required
|
|
34
|
+
* IngressAccessLogs: {
|
|
35
|
+
* LogGroupName: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
29
38
|
* const command = new ConfigureLogsCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
26
26
|
* import { MediaPackageClient, CreateChannelCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, CreateChannelCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Description: "STRING_VALUE",
|
|
31
|
+
* Id: "STRING_VALUE", // required
|
|
32
|
+
* Tags: {
|
|
33
|
+
* "<keys>": "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* };
|
|
29
36
|
* const command = new CreateChannelCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,17 @@ export interface CreateHarvestJobCommandOutput extends CreateHarvestJobResponse,
|
|
|
26
26
|
* import { MediaPackageClient, CreateHarvestJobCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, CreateHarvestJobCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* EndTime: "STRING_VALUE", // required
|
|
31
|
+
* Id: "STRING_VALUE", // required
|
|
32
|
+
* OriginEndpointId: "STRING_VALUE", // required
|
|
33
|
+
* S3Destination: {
|
|
34
|
+
* BucketName: "STRING_VALUE", // required
|
|
35
|
+
* ManifestKey: "STRING_VALUE", // required
|
|
36
|
+
* RoleArn: "STRING_VALUE", // required
|
|
37
|
+
* },
|
|
38
|
+
* StartTime: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
29
40
|
* const command = new CreateHarvestJobCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -26,6 +26,170 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
|
|
|
26
26
|
* import { MediaPackageClient, CreateOriginEndpointCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, CreateOriginEndpointCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Authorization: {
|
|
31
|
+
* CdnIdentifierSecret: "STRING_VALUE", // required
|
|
32
|
+
* SecretsRoleArn: "STRING_VALUE", // required
|
|
33
|
+
* },
|
|
34
|
+
* ChannelId: "STRING_VALUE", // required
|
|
35
|
+
* CmafPackage: {
|
|
36
|
+
* Encryption: {
|
|
37
|
+
* ConstantInitializationVector: "STRING_VALUE",
|
|
38
|
+
* EncryptionMethod: "SAMPLE_AES" || "AES_CTR",
|
|
39
|
+
* KeyRotationIntervalSeconds: Number("int"),
|
|
40
|
+
* SpekeKeyProvider: {
|
|
41
|
+
* CertificateArn: "STRING_VALUE",
|
|
42
|
+
* EncryptionContractConfiguration: {
|
|
43
|
+
* PresetSpeke20Audio: "PRESET-AUDIO-1" || "PRESET-AUDIO-2" || "PRESET-AUDIO-3" || "SHARED" || "UNENCRYPTED", // required
|
|
44
|
+
* PresetSpeke20Video: "PRESET-VIDEO-1" || "PRESET-VIDEO-2" || "PRESET-VIDEO-3" || "PRESET-VIDEO-4" || "PRESET-VIDEO-5" || "PRESET-VIDEO-6" || "PRESET-VIDEO-7" || "PRESET-VIDEO-8" || "SHARED" || "UNENCRYPTED", // required
|
|
45
|
+
* },
|
|
46
|
+
* ResourceId: "STRING_VALUE", // required
|
|
47
|
+
* RoleArn: "STRING_VALUE", // required
|
|
48
|
+
* SystemIds: [ // required
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* Url: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* HlsManifests: [
|
|
55
|
+
* {
|
|
56
|
+
* AdMarkers: "NONE" || "SCTE35_ENHANCED" || "PASSTHROUGH" || "DATERANGE",
|
|
57
|
+
* AdTriggers: [
|
|
58
|
+
* "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY",
|
|
59
|
+
* ],
|
|
60
|
+
* AdsOnDeliveryRestrictions: "NONE" || "RESTRICTED" || "UNRESTRICTED" || "BOTH",
|
|
61
|
+
* Id: "STRING_VALUE", // required
|
|
62
|
+
* IncludeIframeOnlyStream: true || false,
|
|
63
|
+
* ManifestName: "STRING_VALUE",
|
|
64
|
+
* PlaylistType: "NONE" || "EVENT" || "VOD",
|
|
65
|
+
* PlaylistWindowSeconds: Number("int"),
|
|
66
|
+
* ProgramDateTimeIntervalSeconds: Number("int"),
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* SegmentDurationSeconds: Number("int"),
|
|
70
|
+
* SegmentPrefix: "STRING_VALUE",
|
|
71
|
+
* StreamSelection: {
|
|
72
|
+
* MaxVideoBitsPerSecond: Number("int"),
|
|
73
|
+
* MinVideoBitsPerSecond: Number("int"),
|
|
74
|
+
* StreamOrder: "ORIGINAL" || "VIDEO_BITRATE_ASCENDING" || "VIDEO_BITRATE_DESCENDING",
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* DashPackage: {
|
|
78
|
+
* AdTriggers: [
|
|
79
|
+
* "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY",
|
|
80
|
+
* ],
|
|
81
|
+
* AdsOnDeliveryRestrictions: "NONE" || "RESTRICTED" || "UNRESTRICTED" || "BOTH",
|
|
82
|
+
* Encryption: {
|
|
83
|
+
* KeyRotationIntervalSeconds: Number("int"),
|
|
84
|
+
* SpekeKeyProvider: {
|
|
85
|
+
* CertificateArn: "STRING_VALUE",
|
|
86
|
+
* EncryptionContractConfiguration: {
|
|
87
|
+
* PresetSpeke20Audio: "PRESET-AUDIO-1" || "PRESET-AUDIO-2" || "PRESET-AUDIO-3" || "SHARED" || "UNENCRYPTED", // required
|
|
88
|
+
* PresetSpeke20Video: "PRESET-VIDEO-1" || "PRESET-VIDEO-2" || "PRESET-VIDEO-3" || "PRESET-VIDEO-4" || "PRESET-VIDEO-5" || "PRESET-VIDEO-6" || "PRESET-VIDEO-7" || "PRESET-VIDEO-8" || "SHARED" || "UNENCRYPTED", // required
|
|
89
|
+
* },
|
|
90
|
+
* ResourceId: "STRING_VALUE", // required
|
|
91
|
+
* RoleArn: "STRING_VALUE", // required
|
|
92
|
+
* SystemIds: [ // required
|
|
93
|
+
* "STRING_VALUE",
|
|
94
|
+
* ],
|
|
95
|
+
* Url: "STRING_VALUE", // required
|
|
96
|
+
* },
|
|
97
|
+
* },
|
|
98
|
+
* IncludeIframeOnlyStream: true || false,
|
|
99
|
+
* ManifestLayout: "FULL" || "COMPACT",
|
|
100
|
+
* ManifestWindowSeconds: Number("int"),
|
|
101
|
+
* MinBufferTimeSeconds: Number("int"),
|
|
102
|
+
* MinUpdatePeriodSeconds: Number("int"),
|
|
103
|
+
* PeriodTriggers: [
|
|
104
|
+
* "ADS",
|
|
105
|
+
* ],
|
|
106
|
+
* Profile: "NONE" || "HBBTV_1_5" || "HYBRIDCAST" || "DVB_DASH_2014",
|
|
107
|
+
* SegmentDurationSeconds: Number("int"),
|
|
108
|
+
* SegmentTemplateFormat: "NUMBER_WITH_TIMELINE" || "TIME_WITH_TIMELINE" || "NUMBER_WITH_DURATION",
|
|
109
|
+
* StreamSelection: {
|
|
110
|
+
* MaxVideoBitsPerSecond: Number("int"),
|
|
111
|
+
* MinVideoBitsPerSecond: Number("int"),
|
|
112
|
+
* StreamOrder: "ORIGINAL" || "VIDEO_BITRATE_ASCENDING" || "VIDEO_BITRATE_DESCENDING",
|
|
113
|
+
* },
|
|
114
|
+
* SuggestedPresentationDelaySeconds: Number("int"),
|
|
115
|
+
* UtcTiming: "NONE" || "HTTP-HEAD" || "HTTP-ISO" || "HTTP-XSDATE",
|
|
116
|
+
* UtcTimingUri: "STRING_VALUE",
|
|
117
|
+
* },
|
|
118
|
+
* Description: "STRING_VALUE",
|
|
119
|
+
* HlsPackage: {
|
|
120
|
+
* AdMarkers: "NONE" || "SCTE35_ENHANCED" || "PASSTHROUGH" || "DATERANGE",
|
|
121
|
+
* AdTriggers: [
|
|
122
|
+
* "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY",
|
|
123
|
+
* ],
|
|
124
|
+
* AdsOnDeliveryRestrictions: "NONE" || "RESTRICTED" || "UNRESTRICTED" || "BOTH",
|
|
125
|
+
* Encryption: {
|
|
126
|
+
* ConstantInitializationVector: "STRING_VALUE",
|
|
127
|
+
* EncryptionMethod: "AES_128" || "SAMPLE_AES",
|
|
128
|
+
* KeyRotationIntervalSeconds: Number("int"),
|
|
129
|
+
* RepeatExtXKey: true || false,
|
|
130
|
+
* SpekeKeyProvider: {
|
|
131
|
+
* CertificateArn: "STRING_VALUE",
|
|
132
|
+
* EncryptionContractConfiguration: {
|
|
133
|
+
* PresetSpeke20Audio: "PRESET-AUDIO-1" || "PRESET-AUDIO-2" || "PRESET-AUDIO-3" || "SHARED" || "UNENCRYPTED", // required
|
|
134
|
+
* PresetSpeke20Video: "PRESET-VIDEO-1" || "PRESET-VIDEO-2" || "PRESET-VIDEO-3" || "PRESET-VIDEO-4" || "PRESET-VIDEO-5" || "PRESET-VIDEO-6" || "PRESET-VIDEO-7" || "PRESET-VIDEO-8" || "SHARED" || "UNENCRYPTED", // required
|
|
135
|
+
* },
|
|
136
|
+
* ResourceId: "STRING_VALUE", // required
|
|
137
|
+
* RoleArn: "STRING_VALUE", // required
|
|
138
|
+
* SystemIds: [ // required
|
|
139
|
+
* "STRING_VALUE",
|
|
140
|
+
* ],
|
|
141
|
+
* Url: "STRING_VALUE", // required
|
|
142
|
+
* },
|
|
143
|
+
* },
|
|
144
|
+
* IncludeDvbSubtitles: true || false,
|
|
145
|
+
* IncludeIframeOnlyStream: true || false,
|
|
146
|
+
* PlaylistType: "NONE" || "EVENT" || "VOD",
|
|
147
|
+
* PlaylistWindowSeconds: Number("int"),
|
|
148
|
+
* ProgramDateTimeIntervalSeconds: Number("int"),
|
|
149
|
+
* SegmentDurationSeconds: Number("int"),
|
|
150
|
+
* StreamSelection: {
|
|
151
|
+
* MaxVideoBitsPerSecond: Number("int"),
|
|
152
|
+
* MinVideoBitsPerSecond: Number("int"),
|
|
153
|
+
* StreamOrder: "ORIGINAL" || "VIDEO_BITRATE_ASCENDING" || "VIDEO_BITRATE_DESCENDING",
|
|
154
|
+
* },
|
|
155
|
+
* UseAudioRenditionGroup: true || false,
|
|
156
|
+
* },
|
|
157
|
+
* Id: "STRING_VALUE", // required
|
|
158
|
+
* ManifestName: "STRING_VALUE",
|
|
159
|
+
* MssPackage: {
|
|
160
|
+
* Encryption: {
|
|
161
|
+
* SpekeKeyProvider: {
|
|
162
|
+
* CertificateArn: "STRING_VALUE",
|
|
163
|
+
* EncryptionContractConfiguration: {
|
|
164
|
+
* PresetSpeke20Audio: "PRESET-AUDIO-1" || "PRESET-AUDIO-2" || "PRESET-AUDIO-3" || "SHARED" || "UNENCRYPTED", // required
|
|
165
|
+
* PresetSpeke20Video: "PRESET-VIDEO-1" || "PRESET-VIDEO-2" || "PRESET-VIDEO-3" || "PRESET-VIDEO-4" || "PRESET-VIDEO-5" || "PRESET-VIDEO-6" || "PRESET-VIDEO-7" || "PRESET-VIDEO-8" || "SHARED" || "UNENCRYPTED", // required
|
|
166
|
+
* },
|
|
167
|
+
* ResourceId: "STRING_VALUE", // required
|
|
168
|
+
* RoleArn: "STRING_VALUE", // required
|
|
169
|
+
* SystemIds: [ // required
|
|
170
|
+
* "STRING_VALUE",
|
|
171
|
+
* ],
|
|
172
|
+
* Url: "STRING_VALUE", // required
|
|
173
|
+
* },
|
|
174
|
+
* },
|
|
175
|
+
* ManifestWindowSeconds: Number("int"),
|
|
176
|
+
* SegmentDurationSeconds: Number("int"),
|
|
177
|
+
* StreamSelection: {
|
|
178
|
+
* MaxVideoBitsPerSecond: Number("int"),
|
|
179
|
+
* MinVideoBitsPerSecond: Number("int"),
|
|
180
|
+
* StreamOrder: "ORIGINAL" || "VIDEO_BITRATE_ASCENDING" || "VIDEO_BITRATE_DESCENDING",
|
|
181
|
+
* },
|
|
182
|
+
* },
|
|
183
|
+
* Origination: "ALLOW" || "DENY",
|
|
184
|
+
* StartoverWindowSeconds: Number("int"),
|
|
185
|
+
* Tags: {
|
|
186
|
+
* "<keys>": "STRING_VALUE",
|
|
187
|
+
* },
|
|
188
|
+
* TimeDelaySeconds: Number("int"),
|
|
189
|
+
* Whitelist: [
|
|
190
|
+
* "STRING_VALUE",
|
|
191
|
+
* ],
|
|
192
|
+
* };
|
|
29
193
|
* const command = new CreateOriginEndpointCommand(input);
|
|
30
194
|
* const response = await client.send(command);
|
|
31
195
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
|
|
|
26
26
|
* import { MediaPackageClient, DeleteChannelCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, DeleteChannelCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteChannelCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteOriginEndpointCommandOutput extends DeleteOriginEndpointR
|
|
|
26
26
|
* import { MediaPackageClient, DeleteOriginEndpointCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, DeleteOriginEndpointCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteOriginEndpointCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
|
|
|
26
26
|
* import { MediaPackageClient, DescribeChannelCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, DescribeChannelCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeChannelCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeHarvestJobCommandOutput extends DescribeHarvestJobRespo
|
|
|
26
26
|
* import { MediaPackageClient, DescribeHarvestJobCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, DescribeHarvestJobCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeHarvestJobCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeOriginEndpointCommandOutput extends DescribeOriginEndpo
|
|
|
26
26
|
* import { MediaPackageClient, DescribeOriginEndpointCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, DescribeOriginEndpointCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeOriginEndpointCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
|
|
|
26
26
|
* import { MediaPackageClient, ListChannelsCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, ListChannelsCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListChannelsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListHarvestJobsCommandOutput extends ListHarvestJobsResponse, _
|
|
|
26
26
|
* import { MediaPackageClient, ListHarvestJobsCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, ListHarvestJobsCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* IncludeChannelId: "STRING_VALUE",
|
|
31
|
+
* IncludeStatus: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListHarvestJobsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListOriginEndpointsCommandOutput extends ListOriginEndpointsRes
|
|
|
26
26
|
* import { MediaPackageClient, ListOriginEndpointsCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, ListOriginEndpointsCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ChannelId: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListOriginEndpointsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface RotateChannelCredentialsCommandOutput extends RotateChannelCred
|
|
|
28
28
|
* import { MediaPackageClient, RotateChannelCredentialsCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
29
29
|
* // const { MediaPackageClient, RotateChannelCredentialsCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
30
30
|
* const client = new MediaPackageClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Id: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new RotateChannelCredentialsCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface RotateIngestEndpointCredentialsCommandOutput extends RotateInge
|
|
|
26
26
|
* import { MediaPackageClient, RotateIngestEndpointCredentialsCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, RotateIngestEndpointCredentialsCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Id: "STRING_VALUE", // required
|
|
31
|
+
* IngestEndpointId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new RotateIngestEndpointCredentialsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
|
|
|
26
26
|
* import { MediaPackageClient, UpdateChannelCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, UpdateChannelCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Description: "STRING_VALUE",
|
|
31
|
+
* Id: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new UpdateChannelCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,166 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
|
|
|
26
26
|
* import { MediaPackageClient, UpdateOriginEndpointCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
27
27
|
* // const { MediaPackageClient, UpdateOriginEndpointCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
28
28
|
* const client = new MediaPackageClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Authorization: {
|
|
31
|
+
* CdnIdentifierSecret: "STRING_VALUE", // required
|
|
32
|
+
* SecretsRoleArn: "STRING_VALUE", // required
|
|
33
|
+
* },
|
|
34
|
+
* CmafPackage: {
|
|
35
|
+
* Encryption: {
|
|
36
|
+
* ConstantInitializationVector: "STRING_VALUE",
|
|
37
|
+
* EncryptionMethod: "SAMPLE_AES" || "AES_CTR",
|
|
38
|
+
* KeyRotationIntervalSeconds: Number("int"),
|
|
39
|
+
* SpekeKeyProvider: {
|
|
40
|
+
* CertificateArn: "STRING_VALUE",
|
|
41
|
+
* EncryptionContractConfiguration: {
|
|
42
|
+
* PresetSpeke20Audio: "PRESET-AUDIO-1" || "PRESET-AUDIO-2" || "PRESET-AUDIO-3" || "SHARED" || "UNENCRYPTED", // required
|
|
43
|
+
* PresetSpeke20Video: "PRESET-VIDEO-1" || "PRESET-VIDEO-2" || "PRESET-VIDEO-3" || "PRESET-VIDEO-4" || "PRESET-VIDEO-5" || "PRESET-VIDEO-6" || "PRESET-VIDEO-7" || "PRESET-VIDEO-8" || "SHARED" || "UNENCRYPTED", // required
|
|
44
|
+
* },
|
|
45
|
+
* ResourceId: "STRING_VALUE", // required
|
|
46
|
+
* RoleArn: "STRING_VALUE", // required
|
|
47
|
+
* SystemIds: [ // required
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* Url: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* HlsManifests: [
|
|
54
|
+
* {
|
|
55
|
+
* AdMarkers: "NONE" || "SCTE35_ENHANCED" || "PASSTHROUGH" || "DATERANGE",
|
|
56
|
+
* AdTriggers: [
|
|
57
|
+
* "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY",
|
|
58
|
+
* ],
|
|
59
|
+
* AdsOnDeliveryRestrictions: "NONE" || "RESTRICTED" || "UNRESTRICTED" || "BOTH",
|
|
60
|
+
* Id: "STRING_VALUE", // required
|
|
61
|
+
* IncludeIframeOnlyStream: true || false,
|
|
62
|
+
* ManifestName: "STRING_VALUE",
|
|
63
|
+
* PlaylistType: "NONE" || "EVENT" || "VOD",
|
|
64
|
+
* PlaylistWindowSeconds: Number("int"),
|
|
65
|
+
* ProgramDateTimeIntervalSeconds: Number("int"),
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* SegmentDurationSeconds: Number("int"),
|
|
69
|
+
* SegmentPrefix: "STRING_VALUE",
|
|
70
|
+
* StreamSelection: {
|
|
71
|
+
* MaxVideoBitsPerSecond: Number("int"),
|
|
72
|
+
* MinVideoBitsPerSecond: Number("int"),
|
|
73
|
+
* StreamOrder: "ORIGINAL" || "VIDEO_BITRATE_ASCENDING" || "VIDEO_BITRATE_DESCENDING",
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* DashPackage: {
|
|
77
|
+
* AdTriggers: [
|
|
78
|
+
* "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY",
|
|
79
|
+
* ],
|
|
80
|
+
* AdsOnDeliveryRestrictions: "NONE" || "RESTRICTED" || "UNRESTRICTED" || "BOTH",
|
|
81
|
+
* Encryption: {
|
|
82
|
+
* KeyRotationIntervalSeconds: Number("int"),
|
|
83
|
+
* SpekeKeyProvider: {
|
|
84
|
+
* CertificateArn: "STRING_VALUE",
|
|
85
|
+
* EncryptionContractConfiguration: {
|
|
86
|
+
* PresetSpeke20Audio: "PRESET-AUDIO-1" || "PRESET-AUDIO-2" || "PRESET-AUDIO-3" || "SHARED" || "UNENCRYPTED", // required
|
|
87
|
+
* PresetSpeke20Video: "PRESET-VIDEO-1" || "PRESET-VIDEO-2" || "PRESET-VIDEO-3" || "PRESET-VIDEO-4" || "PRESET-VIDEO-5" || "PRESET-VIDEO-6" || "PRESET-VIDEO-7" || "PRESET-VIDEO-8" || "SHARED" || "UNENCRYPTED", // required
|
|
88
|
+
* },
|
|
89
|
+
* ResourceId: "STRING_VALUE", // required
|
|
90
|
+
* RoleArn: "STRING_VALUE", // required
|
|
91
|
+
* SystemIds: [ // required
|
|
92
|
+
* "STRING_VALUE",
|
|
93
|
+
* ],
|
|
94
|
+
* Url: "STRING_VALUE", // required
|
|
95
|
+
* },
|
|
96
|
+
* },
|
|
97
|
+
* IncludeIframeOnlyStream: true || false,
|
|
98
|
+
* ManifestLayout: "FULL" || "COMPACT",
|
|
99
|
+
* ManifestWindowSeconds: Number("int"),
|
|
100
|
+
* MinBufferTimeSeconds: Number("int"),
|
|
101
|
+
* MinUpdatePeriodSeconds: Number("int"),
|
|
102
|
+
* PeriodTriggers: [
|
|
103
|
+
* "ADS",
|
|
104
|
+
* ],
|
|
105
|
+
* Profile: "NONE" || "HBBTV_1_5" || "HYBRIDCAST" || "DVB_DASH_2014",
|
|
106
|
+
* SegmentDurationSeconds: Number("int"),
|
|
107
|
+
* SegmentTemplateFormat: "NUMBER_WITH_TIMELINE" || "TIME_WITH_TIMELINE" || "NUMBER_WITH_DURATION",
|
|
108
|
+
* StreamSelection: {
|
|
109
|
+
* MaxVideoBitsPerSecond: Number("int"),
|
|
110
|
+
* MinVideoBitsPerSecond: Number("int"),
|
|
111
|
+
* StreamOrder: "ORIGINAL" || "VIDEO_BITRATE_ASCENDING" || "VIDEO_BITRATE_DESCENDING",
|
|
112
|
+
* },
|
|
113
|
+
* SuggestedPresentationDelaySeconds: Number("int"),
|
|
114
|
+
* UtcTiming: "NONE" || "HTTP-HEAD" || "HTTP-ISO" || "HTTP-XSDATE",
|
|
115
|
+
* UtcTimingUri: "STRING_VALUE",
|
|
116
|
+
* },
|
|
117
|
+
* Description: "STRING_VALUE",
|
|
118
|
+
* HlsPackage: {
|
|
119
|
+
* AdMarkers: "NONE" || "SCTE35_ENHANCED" || "PASSTHROUGH" || "DATERANGE",
|
|
120
|
+
* AdTriggers: [
|
|
121
|
+
* "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY",
|
|
122
|
+
* ],
|
|
123
|
+
* AdsOnDeliveryRestrictions: "NONE" || "RESTRICTED" || "UNRESTRICTED" || "BOTH",
|
|
124
|
+
* Encryption: {
|
|
125
|
+
* ConstantInitializationVector: "STRING_VALUE",
|
|
126
|
+
* EncryptionMethod: "AES_128" || "SAMPLE_AES",
|
|
127
|
+
* KeyRotationIntervalSeconds: Number("int"),
|
|
128
|
+
* RepeatExtXKey: true || false,
|
|
129
|
+
* SpekeKeyProvider: {
|
|
130
|
+
* CertificateArn: "STRING_VALUE",
|
|
131
|
+
* EncryptionContractConfiguration: {
|
|
132
|
+
* PresetSpeke20Audio: "PRESET-AUDIO-1" || "PRESET-AUDIO-2" || "PRESET-AUDIO-3" || "SHARED" || "UNENCRYPTED", // required
|
|
133
|
+
* PresetSpeke20Video: "PRESET-VIDEO-1" || "PRESET-VIDEO-2" || "PRESET-VIDEO-3" || "PRESET-VIDEO-4" || "PRESET-VIDEO-5" || "PRESET-VIDEO-6" || "PRESET-VIDEO-7" || "PRESET-VIDEO-8" || "SHARED" || "UNENCRYPTED", // required
|
|
134
|
+
* },
|
|
135
|
+
* ResourceId: "STRING_VALUE", // required
|
|
136
|
+
* RoleArn: "STRING_VALUE", // required
|
|
137
|
+
* SystemIds: [ // required
|
|
138
|
+
* "STRING_VALUE",
|
|
139
|
+
* ],
|
|
140
|
+
* Url: "STRING_VALUE", // required
|
|
141
|
+
* },
|
|
142
|
+
* },
|
|
143
|
+
* IncludeDvbSubtitles: true || false,
|
|
144
|
+
* IncludeIframeOnlyStream: true || false,
|
|
145
|
+
* PlaylistType: "NONE" || "EVENT" || "VOD",
|
|
146
|
+
* PlaylistWindowSeconds: Number("int"),
|
|
147
|
+
* ProgramDateTimeIntervalSeconds: Number("int"),
|
|
148
|
+
* SegmentDurationSeconds: Number("int"),
|
|
149
|
+
* StreamSelection: {
|
|
150
|
+
* MaxVideoBitsPerSecond: Number("int"),
|
|
151
|
+
* MinVideoBitsPerSecond: Number("int"),
|
|
152
|
+
* StreamOrder: "ORIGINAL" || "VIDEO_BITRATE_ASCENDING" || "VIDEO_BITRATE_DESCENDING",
|
|
153
|
+
* },
|
|
154
|
+
* UseAudioRenditionGroup: true || false,
|
|
155
|
+
* },
|
|
156
|
+
* Id: "STRING_VALUE", // required
|
|
157
|
+
* ManifestName: "STRING_VALUE",
|
|
158
|
+
* MssPackage: {
|
|
159
|
+
* Encryption: {
|
|
160
|
+
* SpekeKeyProvider: {
|
|
161
|
+
* CertificateArn: "STRING_VALUE",
|
|
162
|
+
* EncryptionContractConfiguration: {
|
|
163
|
+
* PresetSpeke20Audio: "PRESET-AUDIO-1" || "PRESET-AUDIO-2" || "PRESET-AUDIO-3" || "SHARED" || "UNENCRYPTED", // required
|
|
164
|
+
* PresetSpeke20Video: "PRESET-VIDEO-1" || "PRESET-VIDEO-2" || "PRESET-VIDEO-3" || "PRESET-VIDEO-4" || "PRESET-VIDEO-5" || "PRESET-VIDEO-6" || "PRESET-VIDEO-7" || "PRESET-VIDEO-8" || "SHARED" || "UNENCRYPTED", // required
|
|
165
|
+
* },
|
|
166
|
+
* ResourceId: "STRING_VALUE", // required
|
|
167
|
+
* RoleArn: "STRING_VALUE", // required
|
|
168
|
+
* SystemIds: [ // required
|
|
169
|
+
* "STRING_VALUE",
|
|
170
|
+
* ],
|
|
171
|
+
* Url: "STRING_VALUE", // required
|
|
172
|
+
* },
|
|
173
|
+
* },
|
|
174
|
+
* ManifestWindowSeconds: Number("int"),
|
|
175
|
+
* SegmentDurationSeconds: Number("int"),
|
|
176
|
+
* StreamSelection: {
|
|
177
|
+
* MaxVideoBitsPerSecond: Number("int"),
|
|
178
|
+
* MinVideoBitsPerSecond: Number("int"),
|
|
179
|
+
* StreamOrder: "ORIGINAL" || "VIDEO_BITRATE_ASCENDING" || "VIDEO_BITRATE_DESCENDING",
|
|
180
|
+
* },
|
|
181
|
+
* },
|
|
182
|
+
* Origination: "ALLOW" || "DENY",
|
|
183
|
+
* StartoverWindowSeconds: Number("int"),
|
|
184
|
+
* TimeDelaySeconds: Number("int"),
|
|
185
|
+
* Whitelist: [
|
|
186
|
+
* "STRING_VALUE",
|
|
187
|
+
* ],
|
|
188
|
+
* };
|
|
29
189
|
* const command = new UpdateOriginEndpointCommand(input);
|
|
30
190
|
* const response = await client.send(command);
|
|
31
191
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackage",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediapackage Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|