@aws-sdk/client-mediaconnect 3.301.0 → 3.306.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.
@@ -1,35 +1,39 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { MediaConnectServiceException as __BaseException } from "./MediaConnectServiceException";
3
- export declare enum Colorimetry {
4
- BT2020 = "BT2020",
5
- BT2100 = "BT2100",
6
- BT601 = "BT601",
7
- BT709 = "BT709",
8
- ST2065_1 = "ST2065-1",
9
- ST2065_3 = "ST2065-3",
10
- XYZ = "XYZ",
11
- }
12
- export declare enum Range {
13
- FULL = "FULL",
14
- FULLPROTECT = "FULLPROTECT",
15
- NARROW = "NARROW",
16
- }
17
- export declare enum ScanMode {
18
- interlace = "interlace",
19
- progressive = "progressive",
20
- progressive_segmented_frame = "progressive-segmented-frame",
21
- }
22
- export declare enum Tcs {
23
- BT2100LINHLG = "BT2100LINHLG",
24
- BT2100LINPQ = "BT2100LINPQ",
25
- DENSITY = "DENSITY",
26
- HLG = "HLG",
27
- LINEAR = "LINEAR",
28
- PQ = "PQ",
29
- SDR = "SDR",
30
- ST2065_1 = "ST2065-1",
31
- ST428_1 = "ST428-1",
32
- }
3
+ export declare const Colorimetry: {
4
+ readonly BT2020: "BT2020";
5
+ readonly BT2100: "BT2100";
6
+ readonly BT601: "BT601";
7
+ readonly BT709: "BT709";
8
+ readonly ST2065_1: "ST2065-1";
9
+ readonly ST2065_3: "ST2065-3";
10
+ readonly XYZ: "XYZ";
11
+ };
12
+ export type Colorimetry = (typeof Colorimetry)[keyof typeof Colorimetry];
13
+ export declare const Range: {
14
+ readonly FULL: "FULL";
15
+ readonly FULLPROTECT: "FULLPROTECT";
16
+ readonly NARROW: "NARROW";
17
+ };
18
+ export type Range = (typeof Range)[keyof typeof Range];
19
+ export declare const ScanMode: {
20
+ readonly interlace: "interlace";
21
+ readonly progressive: "progressive";
22
+ readonly progressive_segmented_frame: "progressive-segmented-frame";
23
+ };
24
+ export type ScanMode = (typeof ScanMode)[keyof typeof ScanMode];
25
+ export declare const Tcs: {
26
+ readonly BT2100LINHLG: "BT2100LINHLG";
27
+ readonly BT2100LINPQ: "BT2100LINPQ";
28
+ readonly DENSITY: "DENSITY";
29
+ readonly HLG: "HLG";
30
+ readonly LINEAR: "LINEAR";
31
+ readonly PQ: "PQ";
32
+ readonly SDR: "SDR";
33
+ readonly ST2065_1: "ST2065-1";
34
+ readonly ST428_1: "ST428-1";
35
+ };
36
+ export type Tcs = (typeof Tcs)[keyof typeof Tcs];
33
37
  export interface FmtpRequest {
34
38
  ChannelOrder?: string;
35
39
  Colorimetry?: Colorimetry | string;
@@ -43,11 +47,13 @@ export interface MediaStreamAttributesRequest {
43
47
  Fmtp?: FmtpRequest;
44
48
  Lang?: string;
45
49
  }
46
- export declare enum MediaStreamType {
47
- ancillary_data = "ancillary-data",
48
- audio = "audio",
49
- video = "video",
50
- }
50
+ export declare const MediaStreamType: {
51
+ readonly ancillary_data: "ancillary-data";
52
+ readonly audio: "audio";
53
+ readonly video: "video";
54
+ };
55
+ export type MediaStreamType =
56
+ (typeof MediaStreamType)[keyof typeof MediaStreamType];
51
57
  export interface AddMediaStreamRequest {
52
58
  Attributes?: MediaStreamAttributesRequest;
53
59
  ClockRate?: number;
@@ -57,16 +63,18 @@ export interface AddMediaStreamRequest {
57
63
  MediaStreamType: MediaStreamType | string | undefined;
58
64
  VideoFormat?: string;
59
65
  }
60
- export declare enum Algorithm {
61
- aes128 = "aes128",
62
- aes192 = "aes192",
63
- aes256 = "aes256",
64
- }
65
- export declare enum KeyType {
66
- speke = "speke",
67
- srt_password = "srt-password",
68
- static_key = "static-key",
69
- }
66
+ export declare const Algorithm: {
67
+ readonly aes128: "aes128";
68
+ readonly aes192: "aes192";
69
+ readonly aes256: "aes256";
70
+ };
71
+ export type Algorithm = (typeof Algorithm)[keyof typeof Algorithm];
72
+ export declare const KeyType: {
73
+ readonly speke: "speke";
74
+ readonly srt_password: "srt-password";
75
+ readonly static_key: "static-key";
76
+ };
77
+ export type KeyType = (typeof KeyType)[keyof typeof KeyType];
70
78
  export interface Encryption {
71
79
  Algorithm?: Algorithm | string;
72
80
  ConstantInitializationVector?: string;
@@ -86,16 +94,19 @@ export interface DestinationConfigurationRequest {
86
94
  DestinationPort: number | undefined;
87
95
  Interface: InterfaceRequest | undefined;
88
96
  }
89
- export declare enum EncodingName {
90
- jxsv = "jxsv",
91
- pcm = "pcm",
92
- raw = "raw",
93
- smpte291 = "smpte291",
94
- }
95
- export declare enum EncoderProfile {
96
- high = "high",
97
- main = "main",
98
- }
97
+ export declare const EncodingName: {
98
+ readonly jxsv: "jxsv";
99
+ readonly pcm: "pcm";
100
+ readonly raw: "raw";
101
+ readonly smpte291: "smpte291";
102
+ };
103
+ export type EncodingName = (typeof EncodingName)[keyof typeof EncodingName];
104
+ export declare const EncoderProfile: {
105
+ readonly high: "high";
106
+ readonly main: "main";
107
+ };
108
+ export type EncoderProfile =
109
+ (typeof EncoderProfile)[keyof typeof EncoderProfile];
99
110
  export interface EncodingParametersRequest {
100
111
  CompressionFactor: number | undefined;
101
112
  EncoderProfile: EncoderProfile | string | undefined;
@@ -106,18 +117,19 @@ export interface MediaStreamOutputConfigurationRequest {
106
117
  EncodingParameters?: EncodingParametersRequest;
107
118
  MediaStreamName: string | undefined;
108
119
  }
109
- export declare enum Protocol {
110
- cdi = "cdi",
111
- fujitsu_qos = "fujitsu-qos",
112
- rist = "rist",
113
- rtp = "rtp",
114
- rtp_fec = "rtp-fec",
115
- srt_caller = "srt-caller",
116
- srt_listener = "srt-listener",
117
- st2110_jpegxs = "st2110-jpegxs",
118
- zixi_pull = "zixi-pull",
119
- zixi_push = "zixi-push",
120
- }
120
+ export declare const Protocol: {
121
+ readonly cdi: "cdi";
122
+ readonly fujitsu_qos: "fujitsu-qos";
123
+ readonly rist: "rist";
124
+ readonly rtp: "rtp";
125
+ readonly rtp_fec: "rtp-fec";
126
+ readonly srt_caller: "srt-caller";
127
+ readonly srt_listener: "srt-listener";
128
+ readonly st2110_jpegxs: "st2110-jpegxs";
129
+ readonly zixi_pull: "zixi-pull";
130
+ readonly zixi_push: "zixi-push";
131
+ };
132
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
121
133
  export interface VpcInterfaceAttachment {
122
134
  VpcInterfaceName?: string;
123
135
  }
@@ -147,10 +159,12 @@ export interface DestinationConfiguration {
147
159
  Interface: Interface | undefined;
148
160
  OutboundIp: string | undefined;
149
161
  }
150
- export declare enum EntitlementStatus {
151
- DISABLED = "DISABLED",
152
- ENABLED = "ENABLED",
153
- }
162
+ export declare const EntitlementStatus: {
163
+ readonly DISABLED: "DISABLED";
164
+ readonly ENABLED: "ENABLED";
165
+ };
166
+ export type EntitlementStatus =
167
+ (typeof EntitlementStatus)[keyof typeof EntitlementStatus];
154
168
  export interface Entitlement {
155
169
  DataTransferSubscriberFeePercent?: number;
156
170
  Description?: string;
@@ -182,34 +196,38 @@ export interface ListedEntitlement {
182
196
  EntitlementArn: string | undefined;
183
197
  EntitlementName: string | undefined;
184
198
  }
185
- export declare enum MaintenanceDay {
186
- Friday = "Friday",
187
- Monday = "Monday",
188
- Saturday = "Saturday",
189
- Sunday = "Sunday",
190
- Thursday = "Thursday",
191
- Tuesday = "Tuesday",
192
- Wednesday = "Wednesday",
193
- }
199
+ export declare const MaintenanceDay: {
200
+ readonly Friday: "Friday";
201
+ readonly Monday: "Monday";
202
+ readonly Saturday: "Saturday";
203
+ readonly Sunday: "Sunday";
204
+ readonly Thursday: "Thursday";
205
+ readonly Tuesday: "Tuesday";
206
+ readonly Wednesday: "Wednesday";
207
+ };
208
+ export type MaintenanceDay =
209
+ (typeof MaintenanceDay)[keyof typeof MaintenanceDay];
194
210
  export interface Maintenance {
195
211
  MaintenanceDay?: MaintenanceDay | string;
196
212
  MaintenanceDeadline?: string;
197
213
  MaintenanceScheduledDate?: string;
198
214
  MaintenanceStartHour?: string;
199
215
  }
200
- export declare enum SourceType {
201
- ENTITLED = "ENTITLED",
202
- OWNED = "OWNED",
203
- }
204
- export declare enum Status {
205
- ACTIVE = "ACTIVE",
206
- DELETING = "DELETING",
207
- ERROR = "ERROR",
208
- STANDBY = "STANDBY",
209
- STARTING = "STARTING",
210
- STOPPING = "STOPPING",
211
- UPDATING = "UPDATING",
212
- }
216
+ export declare const SourceType: {
217
+ readonly ENTITLED: "ENTITLED";
218
+ readonly OWNED: "OWNED";
219
+ };
220
+ export type SourceType = (typeof SourceType)[keyof typeof SourceType];
221
+ export declare const Status: {
222
+ readonly ACTIVE: "ACTIVE";
223
+ readonly DELETING: "DELETING";
224
+ readonly ERROR: "ERROR";
225
+ readonly STANDBY: "STANDBY";
226
+ readonly STARTING: "STARTING";
227
+ readonly STOPPING: "STOPPING";
228
+ readonly UPDATING: "UPDATING";
229
+ };
230
+ export type Status = (typeof Status)[keyof typeof Status];
213
231
  export interface ListedFlow {
214
232
  AvailabilityZone: string | undefined;
215
233
  Description: string | undefined;
@@ -262,15 +280,18 @@ export interface MediaStreamSourceConfigurationRequest {
262
280
  InputConfigurations?: InputConfigurationRequest[];
263
281
  MediaStreamName: string | undefined;
264
282
  }
265
- export declare enum DurationUnits {
266
- MONTHS = "MONTHS",
267
- }
268
- export declare enum PriceUnits {
269
- HOURLY = "HOURLY",
270
- }
271
- export declare enum ResourceType {
272
- Mbps_Outbound_Bandwidth = "Mbps_Outbound_Bandwidth",
273
- }
283
+ export declare const DurationUnits: {
284
+ readonly MONTHS: "MONTHS";
285
+ };
286
+ export type DurationUnits = (typeof DurationUnits)[keyof typeof DurationUnits];
287
+ export declare const PriceUnits: {
288
+ readonly HOURLY: "HOURLY";
289
+ };
290
+ export type PriceUnits = (typeof PriceUnits)[keyof typeof PriceUnits];
291
+ export declare const ResourceType: {
292
+ readonly Mbps_Outbound_Bandwidth: "Mbps_Outbound_Bandwidth";
293
+ };
294
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
274
295
  export interface ResourceSpecification {
275
296
  ReservedBitrate?: number;
276
297
  ResourceType: ResourceType | string | undefined;
@@ -315,12 +336,14 @@ export interface Output {
315
336
  Transport?: Transport;
316
337
  VpcInterfaceAttachment?: VpcInterfaceAttachment;
317
338
  }
318
- export declare enum ReservationState {
319
- ACTIVE = "ACTIVE",
320
- CANCELED = "CANCELED",
321
- EXPIRED = "EXPIRED",
322
- PROCESSING = "PROCESSING",
323
- }
339
+ export declare const ReservationState: {
340
+ readonly ACTIVE: "ACTIVE";
341
+ readonly CANCELED: "CANCELED";
342
+ readonly EXPIRED: "EXPIRED";
343
+ readonly PROCESSING: "PROCESSING";
344
+ };
345
+ export type ReservationState =
346
+ (typeof ReservationState)[keyof typeof ReservationState];
324
347
  export interface Reservation {
325
348
  CurrencyCode: string | undefined;
326
349
  Duration: number | undefined;
@@ -372,10 +395,12 @@ export interface Source {
372
395
  VpcInterfaceName?: string;
373
396
  WhitelistCidr?: string;
374
397
  }
375
- export declare enum NetworkInterfaceType {
376
- efa = "efa",
377
- ena = "ena",
378
- }
398
+ export declare const NetworkInterfaceType: {
399
+ readonly efa: "efa";
400
+ readonly ena: "ena";
401
+ };
402
+ export type NetworkInterfaceType =
403
+ (typeof NetworkInterfaceType)[keyof typeof NetworkInterfaceType];
379
404
  export interface VpcInterface {
380
405
  Name: string | undefined;
381
406
  NetworkInterfaceIds: string[] | undefined;
@@ -487,17 +512,19 @@ export declare class CreateFlow420Exception extends __BaseException {
487
512
  opts: __ExceptionOptionType<CreateFlow420Exception, __BaseException>
488
513
  );
489
514
  }
490
- export declare enum FailoverMode {
491
- FAILOVER = "FAILOVER",
492
- MERGE = "MERGE",
493
- }
515
+ export declare const FailoverMode: {
516
+ readonly FAILOVER: "FAILOVER";
517
+ readonly MERGE: "MERGE";
518
+ };
519
+ export type FailoverMode = (typeof FailoverMode)[keyof typeof FailoverMode];
494
520
  export interface SourcePriority {
495
521
  PrimarySource?: string;
496
522
  }
497
- export declare enum State {
498
- DISABLED = "DISABLED",
499
- ENABLED = "ENABLED",
500
- }
523
+ export declare const State: {
524
+ readonly DISABLED: "DISABLED";
525
+ readonly ENABLED: "ENABLED";
526
+ };
527
+ export type State = (typeof State)[keyof typeof State];
501
528
  export interface FailoverConfig {
502
529
  FailoverMode?: FailoverMode | string;
503
530
  RecoveryWindow?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediaconnect",
3
3
  "description": "AWS SDK for JavaScript Mediaconnect Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.306.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,43 +21,43 @@
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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
56
- "@aws-sdk/util-waiter": "3.296.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
+ "@aws-sdk/util-waiter": "3.306.0",
57
57
  "tslib": "^2.5.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "concurrently": "7.0.0",