@aws-sdk/client-mediaconvert 3.52.0 → 3.54.1

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  3. package/dist-cjs/index.js +3 -0
  4. package/dist-cjs/models/MediaConvertServiceException.js +11 -0
  5. package/dist-cjs/models/models_0.js +13 -13
  6. package/dist-cjs/models/models_1.js +101 -18
  7. package/dist-cjs/models/models_2.js +13 -1
  8. package/dist-cjs/protocols/Aws_restJson1.js +396 -1366
  9. package/dist-es/commands/TagResourceCommand.js +1 -1
  10. package/dist-es/index.js +1 -0
  11. package/dist-es/models/MediaConvertServiceException.js +12 -0
  12. package/dist-es/models/models_0.js +10 -10
  13. package/dist-es/models/models_1.js +90 -9
  14. package/dist-es/models/models_2.js +8 -0
  15. package/dist-es/protocols/Aws_restJson1.js +779 -1489
  16. package/dist-types/MediaConvertClient.d.ts +2 -2
  17. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  18. package/dist-types/index.d.ts +1 -0
  19. package/dist-types/models/MediaConvertServiceException.d.ts +10 -0
  20. package/dist-types/models/models_0.d.ts +22 -14
  21. package/dist-types/models/models_1.d.ts +61 -54
  22. package/dist-types/models/models_2.d.ts +26 -0
  23. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  24. package/dist-types/runtimeConfig.d.ts +1 -1
  25. package/dist-types/runtimeConfig.native.d.ts +1 -1
  26. package/dist-types/ts3.4/MediaConvertClient.d.ts +2 -2
  27. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/index.d.ts +1 -0
  29. package/dist-types/ts3.4/models/MediaConvertServiceException.d.ts +6 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +12 -8
  31. package/dist-types/ts3.4/models/models_1.d.ts +41 -38
  32. package/dist-types/ts3.4/models/models_2.d.ts +18 -0
  33. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  34. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  36. package/package.json +27 -27
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateCertificateCommandInput, AssociateCertificateCommandOutput } from "./commands/AssociateCertificateCommand";
10
10
  import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
11
11
  import { CreateJobCommandInput, CreateJobCommandOutput } from "./commands/CreateJobCommand";
@@ -56,7 +56,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
56
56
  * A function that can calculate the length of a request body.
57
57
  * @internal
58
58
  */
59
- bodyLengthChecker?: (body: any) => number | undefined;
59
+ bodyLengthChecker?: __BodyLengthCalculator;
60
60
  /**
61
61
  * A function that converts a stream into an array of bytes.
62
62
  * @internal
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient";
4
- import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_2";
5
5
  export interface TagResourceCommandInput extends TagResourceRequest {
6
6
  }
7
7
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
@@ -3,3 +3,4 @@ export * from "./MediaConvertClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MediaConvertServiceException } from "./models/MediaConvertServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from MediaConvert service.
4
+ */
5
+ export declare class MediaConvertServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1488,7 +1488,7 @@ export declare enum ImscStylePassthrough {
1488
1488
  */
1489
1489
  export interface ImscDestinationSettings {
1490
1490
  /**
1491
- * Specify whether to flag this caption track as accessibility in your HLS/CMAF parent manifest. When you choose ENABLED, MediaConvert includes the parameters CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and AUTOSELECT="YES" in the EXT-X-MEDIA entry for this track. When you keep the default choice, DISABLED, MediaConvert leaves this parameter out.
1491
+ * Set Accessibility subtitles (Accessibility) to Enabled (ENABLED) if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and AUTOSELECT="YES". Keep the default value, Disabled (DISABLED), if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.
1492
1492
  */
1493
1493
  Accessibility?: ImscAccessibilitySubs | string;
1494
1494
  /**
@@ -1601,7 +1601,7 @@ export declare enum WebvttStylePassthrough {
1601
1601
  */
1602
1602
  export interface WebvttDestinationSettings {
1603
1603
  /**
1604
- * Specify whether to flag this caption track as accessibility in your HLS/CMAF parent manifest. When you choose ENABLED, MediaConvert includes the parameters CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and AUTOSELECT="YES" in the EXT-X-MEDIA entry for this track. When you keep the default choice, DISABLED, MediaConvert leaves this parameter out.
1604
+ * Set Accessibility subtitles (Accessibility) to Enabled (ENABLED) if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and AUTOSELECT="YES". Keep the default value, Disabled (DISABLED), if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.
1605
1605
  */
1606
1606
  Accessibility?: WebvttAccessibilitySubs | string;
1607
1607
  /**
@@ -1855,7 +1855,7 @@ export declare namespace HopDestination {
1855
1855
  */
1856
1856
  export interface Id3Insertion {
1857
1857
  /**
1858
- * Use ID3 tag (Id3) to provide a tag value in base64-encode format.
1858
+ * Use ID3 tag (Id3) to provide a fully formed ID3 tag in base64-encode format.
1859
1859
  */
1860
1860
  Id3?: string;
1861
1861
  /**
@@ -2435,6 +2435,10 @@ export declare enum ColorSpaceUsage {
2435
2435
  FALLBACK = "FALLBACK",
2436
2436
  FORCE = "FORCE"
2437
2437
  }
2438
+ export declare enum EmbeddedTimecodeOverride {
2439
+ NONE = "NONE",
2440
+ USE_MDPM = "USE_MDPM"
2441
+ }
2438
2442
  /**
2439
2443
  * Use these settings to specify static color calibration metadata, as defined by SMPTE ST 2086. These values don't affect the pixel values that are encoded in the video stream. They are intended to help the downstream video player display content in a way that reflects the intentions of the the content creator.
2440
2444
  */
@@ -2522,6 +2526,10 @@ export interface VideoSelector {
2522
2526
  * There are two sources for color metadata, the input file and the job input settings Color space (ColorSpace) and HDR master display information settings(Hdr10Metadata). The Color space usage setting determines which takes precedence. Choose Force (FORCE) to use color metadata from the input job settings. If you don't specify values for those settings, the service defaults to using metadata from your input. FALLBACK - Choose Fallback (FALLBACK) to use color metadata from the source when it is present. If there's no color metadata in your input file, the service defaults to using values you specify in the input settings.
2523
2527
  */
2524
2528
  ColorSpaceUsage?: ColorSpaceUsage | string;
2529
+ /**
2530
+ * Set Embedded timecode override (embeddedTimecodeOverride) to Use MDPM (USE_MDPM) when your AVCHD input contains timecode tag data in the Modified Digital Video Pack Metadata (MDPM). When you do, we recommend you also set Timecode source (inputTimecodeSource) to Embedded (EMBEDDED). Leave Embedded timecode override blank, or set to None (NONE), when your input does not contain MDPM timecode.
2531
+ */
2532
+ EmbeddedTimecodeOverride?: EmbeddedTimecodeOverride | string;
2525
2533
  /**
2526
2534
  * Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video. Appropriate values vary depending on the input video and must be provided by a color grader. The color grader generates these values during the HDR 10 mastering process. The valid range for each of these settings is 0 to 50,000. Each increment represents 0.00002 in CIE1931 color coordinate. Related settings - When you specify these values, you must also set Color space (ColorSpace) to HDR 10 (HDR10). To specify whether the the values you specify here take precedence over the values in the metadata of your input file, set Color space usage (ColorSpaceUsage). To specify whether color metadata is included in an output, set Color metadata (ColorMetadata). For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.
2527
2535
  */
@@ -3861,6 +3869,10 @@ export declare enum HlsCaptionLanguageSetting {
3861
3869
  NONE = "NONE",
3862
3870
  OMIT = "OMIT"
3863
3871
  }
3872
+ export declare enum HlsCaptionSegmentLengthControl {
3873
+ LARGE_SEGMENTS = "LARGE_SEGMENTS",
3874
+ MATCH_VIDEO = "MATCH_VIDEO"
3875
+ }
3864
3876
  export declare enum HlsClientCache {
3865
3877
  DISABLED = "DISABLED",
3866
3878
  ENABLED = "ENABLED"
@@ -4038,6 +4050,10 @@ export interface HlsGroupSettings {
4038
4050
  * Applies only to 608 Embedded output captions. Insert: Include CLOSED-CAPTIONS lines in the manifest. Specify at least one language in the CC1 Language Code field. One CLOSED-CAPTION line is added for each Language Code you specify. Make sure to specify the languages in the order in which they appear in the original source (if the source is embedded format) or the order of the caption selectors (if the source is other than embedded). Otherwise, languages in the manifest will not match up properly with the output captions. None: Include CLOSED-CAPTIONS=NONE line in the manifest. Omit: Omit any CLOSED-CAPTIONS line from the manifest.
4039
4051
  */
4040
4052
  CaptionLanguageSetting?: HlsCaptionLanguageSetting | string;
4053
+ /**
4054
+ * Set Caption segment length control (CaptionSegmentLengthControl) to Match video (MATCH_VIDEO) to create caption segments that align with the video segments from the first video output in this output group. For example, if the video segments are 2 seconds long, your WebVTT segments will also be 2 seconds long. Keep the default setting, Large segments (LARGE_SEGMENTS) to create caption segments that are 300 seconds long.
4055
+ */
4056
+ CaptionSegmentLengthControl?: HlsCaptionSegmentLengthControl | string;
4041
4057
  /**
4042
4058
  * Disable this setting only when your workflow requires the #EXT-X-ALLOW-CACHE:no tag. Otherwise, keep the default value Enabled (ENABLED) and control caching in your video distribution set up. For example, use the Cache-Control http header.
4043
4059
  */
@@ -4123,11 +4139,11 @@ export interface HlsGroupSettings {
4123
4139
  */
4124
4140
  TargetDurationCompatibilityMode?: HlsTargetDurationCompatibilityMode | string;
4125
4141
  /**
4126
- * Indicates ID3 frame that has the timecode.
4142
+ * Specify the type of the ID3 frame (timedMetadataId3Frame) to use for ID3 timestamps (timedMetadataId3Period) in your output. To include ID3 timestamps: Specify PRIV (PRIV) or TDRL (TDRL) and set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH). To exclude ID3 timestamps: Set ID3 timestamp frame type to None (NONE).
4127
4143
  */
4128
4144
  TimedMetadataId3Frame?: HlsTimedMetadataId3Frame | string;
4129
4145
  /**
4130
- * Timed Metadata interval in seconds.
4146
+ * Specify the interval in seconds to write ID3 timestamps in your output. The first timestamp starts at the output timecode and date, and increases incrementally with each ID3 timestamp. To use the default interval of 10 seconds: Leave blank. To include this metadata in your output: Set ID3 timestamp frame type (timedMetadataId3Frame) to PRIV (PRIV) or TDRL (TDRL), and set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH).
4131
4147
  */
4132
4148
  TimedMetadataId3Period?: number;
4133
4149
  /**
@@ -4338,7 +4354,7 @@ export interface CmfcSettings {
4338
4354
  */
4339
4355
  Scte35Source?: CmfcScte35Source | string;
4340
4356
  /**
4341
- * Applies to CMAF outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output.
4357
+ * To include ID3 metadata in this output: Set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH). Specify this ID3 metadata in Custom ID3 metadata inserter (timedMetadataInsertion). MediaConvert writes each instance of ID3 metadata in a separate Event Message (eMSG) box. To exclude this ID3 metadata: Set ID3 metadata to None (NONE) or leave blank.
4342
4358
  */
4343
4359
  TimedMetadata?: CmfcTimedMetadata | string;
4344
4360
  }
@@ -4701,11 +4717,3 @@ export declare enum M3u8NielsenId3 {
4701
4717
  INSERT = "INSERT",
4702
4718
  NONE = "NONE"
4703
4719
  }
4704
- export declare enum M3u8PcrControl {
4705
- CONFIGURED_PCR_PERIOD = "CONFIGURED_PCR_PERIOD",
4706
- PCR_EVERY_PES_PACKET = "PCR_EVERY_PES_PACKET"
4707
- }
4708
- export declare enum M3u8Scte35Source {
4709
- NONE = "NONE",
4710
- PASSTHROUGH = "PASSTHROUGH"
4711
- }
@@ -1,5 +1,14 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- import { AccelerationSettings, AccelerationStatus, AudioDescription, AutomatedEncodingSettings, AvailBlanking, BillingTagsSource, CaptionDescription, CaptionDescriptionPreset, CmfcAudioDuration, CmfcSettings, ContainerType, Endpoint, EsamSettings, ExtendedDataServices, F4vSettings, Hdr10Metadata, HopDestination, Id3Insertion, ImageInserter, Input, InputTemplate, JobMessages, JobPhase, KantarWatermarkSettings, M2tsSettings, M3u8AudioDuration, M3u8DataPtsControl, M3u8NielsenId3, M3u8PcrControl, M3u8Scte35Source, MotionImageInserter, NielsenConfiguration, NielsenNonLinearWatermarkSettings, OutputGroupDetail, OutputGroupSettings, QueueTransition, Rectangle } from "./models_0";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { MediaConvertServiceException as __BaseException } from "./MediaConvertServiceException";
3
+ import { AccelerationSettings, AccelerationStatus, AudioDescription, AutomatedEncodingSettings, AvailBlanking, BillingTagsSource, CaptionDescription, CaptionDescriptionPreset, CmfcAudioDuration, CmfcSettings, ContainerType, Endpoint, EsamSettings, ExtendedDataServices, F4vSettings, Hdr10Metadata, HopDestination, Id3Insertion, ImageInserter, Input, InputTemplate, JobMessages, JobPhase, KantarWatermarkSettings, M2tsSettings, M3u8AudioDuration, M3u8DataPtsControl, M3u8NielsenId3, MotionImageInserter, NielsenConfiguration, NielsenNonLinearWatermarkSettings, OutputGroupDetail, OutputGroupSettings, QueueTransition, Rectangle } from "./models_0";
4
+ export declare enum M3u8PcrControl {
5
+ CONFIGURED_PCR_PERIOD = "CONFIGURED_PCR_PERIOD",
6
+ PCR_EVERY_PES_PACKET = "PCR_EVERY_PES_PACKET"
7
+ }
8
+ export declare enum M3u8Scte35Source {
9
+ NONE = "NONE",
10
+ PASSTHROUGH = "PASSTHROUGH"
11
+ }
3
12
  export declare enum TimedMetadata {
4
13
  NONE = "NONE",
5
14
  PASSTHROUGH = "PASSTHROUGH"
@@ -69,11 +78,11 @@ export interface M3u8Settings {
69
78
  */
70
79
  Scte35Source?: M3u8Scte35Source | string;
71
80
  /**
72
- * Applies to HLS outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output.
81
+ * Set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH) to include ID3 metadata in this output. This includes ID3 metadata from the following features: ID3 timestamp period (timedMetadataId3Period), and Custom ID3 metadata inserter (timedMetadataInsertion). To exclude this ID3 metadata in this output: set ID3 metadata to None (NONE) or leave blank.
73
82
  */
74
83
  TimedMetadata?: TimedMetadata | string;
75
84
  /**
76
- * Packet Identifier (PID) of the timed metadata stream in the transport stream.
85
+ * Packet Identifier (PID) of the ID3 metadata stream in the transport stream.
77
86
  */
78
87
  TimedMetadataPid?: number;
79
88
  /**
@@ -238,7 +247,7 @@ export interface MpdSettings {
238
247
  */
239
248
  Scte35Source?: MpdScte35Source | string;
240
249
  /**
241
- * Applies to DASH outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output.
250
+ * To include ID3 metadata in this output: Set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH). Specify this ID3 metadata in Custom ID3 metadata inserter (timedMetadataInsertion). MediaConvert writes each instance of ID3 metadata in a separate Event Message (eMSG) box. To exclude this ID3 metadata: Set ID3 metadata to None (NONE) or leave blank.
242
251
  */
243
252
  TimedMetadata?: MpdTimedMetadata | string;
244
253
  }
@@ -2529,11 +2538,11 @@ export interface NoiseReducerTemporalFilterSettings {
2529
2538
  */
2530
2539
  AggressiveMode?: number;
2531
2540
  /**
2532
- * When you set Noise reducer (noiseReducer) to Temporal (TEMPORAL), the sharpness of your output is reduced. You can optionally use Post temporal sharpening (PostTemporalSharpening) to apply sharpening to the edges of your output. The default behavior, Auto (AUTO), allows the transcoder to determine whether to apply sharpening, depending on your input type and quality. When you set Post temporal sharpening to Enabled (ENABLED), specify how much sharpening is applied using Post temporal sharpening strength (PostTemporalSharpeningStrength). Set Post temporal sharpening to Disabled (DISABLED) to not apply sharpening.
2541
+ * When you set Noise reducer (noiseReducer) to Temporal (TEMPORAL), the bandwidth and sharpness of your output is reduced. You can optionally use Post temporal sharpening (postTemporalSharpening) to apply sharpening to the edges of your output. Note that Post temporal sharpening will also make the bandwidth reduction from the Noise reducer smaller. The default behavior, Auto (AUTO), allows the transcoder to determine whether to apply sharpening, depending on your input type and quality. When you set Post temporal sharpening to Enabled (ENABLED), specify how much sharpening is applied using Post temporal sharpening strength (postTemporalSharpeningStrength). Set Post temporal sharpening to Disabled (DISABLED) to not apply sharpening.
2533
2542
  */
2534
2543
  PostTemporalSharpening?: NoiseFilterPostTemporalSharpening | string;
2535
2544
  /**
2536
- * Use Post temporal sharpening strength (PostTemporalSharpeningStrength) to define the amount of sharpening the transcoder applies to your output. Set Post temporal sharpening strength to Low (LOW), or leave blank, to apply a low amount of sharpening. Set Post temporal sharpening strength to Medium (MEDIUM) to apply medium amount of sharpening. Set Post temporal sharpening strength to High (HIGH) to apply a high amount of sharpening.
2545
+ * Use Post temporal sharpening strength (postTemporalSharpeningStrength) to define the amount of sharpening the transcoder applies to your output. Set Post temporal sharpening strength to Low (LOW), Medium (MEDIUM), or High (HIGH) to indicate the amount of sharpening.
2537
2546
  */
2538
2547
  PostTemporalSharpeningStrength?: NoiseFilterPostTemporalSharpeningStrength | string;
2539
2548
  /**
@@ -2882,7 +2891,7 @@ export declare namespace TimecodeConfig {
2882
2891
  const filterSensitiveLog: (obj: TimecodeConfig) => any;
2883
2892
  }
2884
2893
  /**
2885
- * Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags in any HLS outputs. To include timed metadata, you must enable it here, enable it in each output container, and specify tags and timecodes in ID3 insertion (Id3Insertion) objects.
2894
+ * Insert user-defined custom ID3 metadata (id3) at timecodes (timecode) that you specify. In each output that you want to include this metadata, you must set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH).
2886
2895
  */
2887
2896
  export interface TimedMetadataInsertion {
2888
2897
  /**
@@ -2945,7 +2954,7 @@ export interface JobSettings {
2945
2954
  */
2946
2955
  TimecodeConfig?: TimecodeConfig;
2947
2956
  /**
2948
- * Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags in any HLS outputs. To include timed metadata, you must enable it here, enable it in each output container, and specify tags and timecodes in ID3 insertion (Id3Insertion) objects.
2957
+ * Insert user-defined custom ID3 metadata (id3) at timecodes (timecode) that you specify. In each output that you want to include this metadata, you must set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH).
2949
2958
  */
2950
2959
  TimedMetadataInsertion?: TimedMetadataInsertion;
2951
2960
  }
@@ -3168,7 +3177,7 @@ export interface JobTemplateSettings {
3168
3177
  */
3169
3178
  TimecodeConfig?: TimecodeConfig;
3170
3179
  /**
3171
- * Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags in any HLS outputs. To include timed metadata, you must enable it here, enable it in each output container, and specify tags and timecodes in ID3 insertion (Id3Insertion) objects.
3180
+ * Insert user-defined custom ID3 metadata (id3) at timecodes (timecode) that you specify. In each output that you want to include this metadata, you must set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH).
3172
3181
  */
3173
3182
  TimedMetadataInsertion?: TimedMetadataInsertion;
3174
3183
  }
@@ -3447,50 +3456,74 @@ export declare namespace AssociateCertificateResponse {
3447
3456
  /**
3448
3457
  * The service can't process your request because of a problem in the request. Please check your request form and syntax.
3449
3458
  */
3450
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
3451
- name: "BadRequestException";
3452
- $fault: "client";
3459
+ export declare class BadRequestException extends __BaseException {
3460
+ readonly name: "BadRequestException";
3461
+ readonly $fault: "client";
3453
3462
  Message?: string;
3463
+ /**
3464
+ * @internal
3465
+ */
3466
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
3454
3467
  }
3455
3468
  /**
3456
3469
  * The service couldn't complete your request because there is a conflict with the current state of the resource.
3457
3470
  */
3458
- export interface ConflictException extends __SmithyException, $MetadataBearer {
3459
- name: "ConflictException";
3460
- $fault: "client";
3471
+ export declare class ConflictException extends __BaseException {
3472
+ readonly name: "ConflictException";
3473
+ readonly $fault: "client";
3461
3474
  Message?: string;
3475
+ /**
3476
+ * @internal
3477
+ */
3478
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
3462
3479
  }
3463
3480
  /**
3464
3481
  * You don't have permissions for this action with the credentials you sent.
3465
3482
  */
3466
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
3467
- name: "ForbiddenException";
3468
- $fault: "client";
3483
+ export declare class ForbiddenException extends __BaseException {
3484
+ readonly name: "ForbiddenException";
3485
+ readonly $fault: "client";
3469
3486
  Message?: string;
3487
+ /**
3488
+ * @internal
3489
+ */
3490
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
3470
3491
  }
3471
3492
  /**
3472
3493
  * The service encountered an unexpected condition and can't fulfill your request.
3473
3494
  */
3474
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
3475
- name: "InternalServerErrorException";
3476
- $fault: "server";
3495
+ export declare class InternalServerErrorException extends __BaseException {
3496
+ readonly name: "InternalServerErrorException";
3497
+ readonly $fault: "server";
3477
3498
  Message?: string;
3499
+ /**
3500
+ * @internal
3501
+ */
3502
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
3478
3503
  }
3479
3504
  /**
3480
3505
  * The resource you requested doesn't exist.
3481
3506
  */
3482
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
3483
- name: "NotFoundException";
3484
- $fault: "client";
3507
+ export declare class NotFoundException extends __BaseException {
3508
+ readonly name: "NotFoundException";
3509
+ readonly $fault: "client";
3485
3510
  Message?: string;
3511
+ /**
3512
+ * @internal
3513
+ */
3514
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
3486
3515
  }
3487
3516
  /**
3488
3517
  * Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
3489
3518
  */
3490
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
3491
- name: "TooManyRequestsException";
3492
- $fault: "client";
3519
+ export declare class TooManyRequestsException extends __BaseException {
3520
+ readonly name: "TooManyRequestsException";
3521
+ readonly $fault: "client";
3493
3522
  Message?: string;
3523
+ /**
3524
+ * @internal
3525
+ */
3526
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
3494
3527
  }
3495
3528
  export interface CancelJobRequest {
3496
3529
  /**
@@ -4302,29 +4335,3 @@ export declare namespace PutPolicyResponse {
4302
4335
  */
4303
4336
  const filterSensitiveLog: (obj: PutPolicyResponse) => any;
4304
4337
  }
4305
- export interface TagResourceRequest {
4306
- /**
4307
- * The Amazon Resource Name (ARN) of the resource that you want to tag. To get the ARN, send a GET request with the resource name.
4308
- */
4309
- Arn: string | undefined;
4310
- /**
4311
- * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
4312
- */
4313
- Tags: {
4314
- [key: string]: string;
4315
- } | undefined;
4316
- }
4317
- export declare namespace TagResourceRequest {
4318
- /**
4319
- * @internal
4320
- */
4321
- const filterSensitiveLog: (obj: TagResourceRequest) => any;
4322
- }
4323
- export interface TagResourceResponse {
4324
- }
4325
- export declare namespace TagResourceResponse {
4326
- /**
4327
- * @internal
4328
- */
4329
- const filterSensitiveLog: (obj: TagResourceResponse) => any;
4330
- }
@@ -1,5 +1,31 @@
1
1
  import { AccelerationSettings, HopDestination } from "./models_0";
2
2
  import { JobTemplate, JobTemplateSettings, Preset, PresetSettings, Queue, QueueStatus, ReservationPlanSettings, StatusUpdateInterval } from "./models_1";
3
+ export interface TagResourceRequest {
4
+ /**
5
+ * The Amazon Resource Name (ARN) of the resource that you want to tag. To get the ARN, send a GET request with the resource name.
6
+ */
7
+ Arn: string | undefined;
8
+ /**
9
+ * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
10
+ */
11
+ Tags: {
12
+ [key: string]: string;
13
+ } | undefined;
14
+ }
15
+ export declare namespace TagResourceRequest {
16
+ /**
17
+ * @internal
18
+ */
19
+ const filterSensitiveLog: (obj: TagResourceRequest) => any;
20
+ }
21
+ export interface TagResourceResponse {
22
+ }
23
+ export declare namespace TagResourceResponse {
24
+ /**
25
+ * @internal
26
+ */
27
+ const filterSensitiveLog: (obj: TagResourceResponse) => any;
28
+ }
3
29
  export interface UntagResourceRequest {
4
30
  /**
5
31
  * The Amazon Resource Name (ARN) of the resource that you want to remove tags from. To get the ARN, send a GET request with the resource name.
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateCertificateCommandInput, AssociateCertificateCommandOutput } from "./commands/AssociateCertificateCommand";
10
10
  import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
11
11
  import { CreateJobCommandInput, CreateJobCommandOutput } from "./commands/CreateJobCommand";
@@ -44,7 +44,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
44
44
 
45
45
  urlParser?: __UrlParser;
46
46
 
47
- bodyLengthChecker?: (body: any) => number | undefined;
47
+ bodyLengthChecker?: __BodyLengthCalculator;
48
48
 
49
49
  streamCollector?: __StreamCollector;
50
50
 
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient";
4
- import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_2";
5
5
  export interface TagResourceCommandInput extends TagResourceRequest {
6
6
  }
7
7
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
@@ -3,3 +3,4 @@ export * from "./MediaConvertClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MediaConvertServiceException } from "./models/MediaConvertServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class MediaConvertServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1667,6 +1667,10 @@ export declare enum ColorSpaceUsage {
1667
1667
  FALLBACK = "FALLBACK",
1668
1668
  FORCE = "FORCE"
1669
1669
  }
1670
+ export declare enum EmbeddedTimecodeOverride {
1671
+ NONE = "NONE",
1672
+ USE_MDPM = "USE_MDPM"
1673
+ }
1670
1674
 
1671
1675
  export interface Hdr10Metadata {
1672
1676
 
@@ -1719,6 +1723,8 @@ export interface VideoSelector {
1719
1723
 
1720
1724
  ColorSpaceUsage?: ColorSpaceUsage | string;
1721
1725
 
1726
+ EmbeddedTimecodeOverride?: EmbeddedTimecodeOverride | string;
1727
+
1722
1728
  Hdr10Metadata?: Hdr10Metadata;
1723
1729
 
1724
1730
  Pid?: number;
@@ -2540,6 +2546,10 @@ export declare enum HlsCaptionLanguageSetting {
2540
2546
  NONE = "NONE",
2541
2547
  OMIT = "OMIT"
2542
2548
  }
2549
+ export declare enum HlsCaptionSegmentLengthControl {
2550
+ LARGE_SEGMENTS = "LARGE_SEGMENTS",
2551
+ MATCH_VIDEO = "MATCH_VIDEO"
2552
+ }
2543
2553
  export declare enum HlsClientCache {
2544
2554
  DISABLED = "DISABLED",
2545
2555
  ENABLED = "ENABLED"
@@ -2670,6 +2680,8 @@ export interface HlsGroupSettings {
2670
2680
 
2671
2681
  CaptionLanguageSetting?: HlsCaptionLanguageSetting | string;
2672
2682
 
2683
+ CaptionSegmentLengthControl?: HlsCaptionSegmentLengthControl | string;
2684
+
2673
2685
  ClientCache?: HlsClientCache | string;
2674
2686
 
2675
2687
  CodecSpecification?: HlsCodecSpecification | string;
@@ -3090,11 +3102,3 @@ export declare enum M3u8NielsenId3 {
3090
3102
  INSERT = "INSERT",
3091
3103
  NONE = "NONE"
3092
3104
  }
3093
- export declare enum M3u8PcrControl {
3094
- CONFIGURED_PCR_PERIOD = "CONFIGURED_PCR_PERIOD",
3095
- PCR_EVERY_PES_PACKET = "PCR_EVERY_PES_PACKET"
3096
- }
3097
- export declare enum M3u8Scte35Source {
3098
- NONE = "NONE",
3099
- PASSTHROUGH = "PASSTHROUGH"
3100
- }
@@ -1,5 +1,14 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- import { AccelerationSettings, AccelerationStatus, AudioDescription, AutomatedEncodingSettings, AvailBlanking, BillingTagsSource, CaptionDescription, CaptionDescriptionPreset, CmfcAudioDuration, CmfcSettings, ContainerType, Endpoint, EsamSettings, ExtendedDataServices, F4vSettings, Hdr10Metadata, HopDestination, Id3Insertion, ImageInserter, Input, InputTemplate, JobMessages, JobPhase, KantarWatermarkSettings, M2tsSettings, M3u8AudioDuration, M3u8DataPtsControl, M3u8NielsenId3, M3u8PcrControl, M3u8Scte35Source, MotionImageInserter, NielsenConfiguration, NielsenNonLinearWatermarkSettings, OutputGroupDetail, OutputGroupSettings, QueueTransition, Rectangle } from "./models_0";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { MediaConvertServiceException as __BaseException } from "./MediaConvertServiceException";
3
+ import { AccelerationSettings, AccelerationStatus, AudioDescription, AutomatedEncodingSettings, AvailBlanking, BillingTagsSource, CaptionDescription, CaptionDescriptionPreset, CmfcAudioDuration, CmfcSettings, ContainerType, Endpoint, EsamSettings, ExtendedDataServices, F4vSettings, Hdr10Metadata, HopDestination, Id3Insertion, ImageInserter, Input, InputTemplate, JobMessages, JobPhase, KantarWatermarkSettings, M2tsSettings, M3u8AudioDuration, M3u8DataPtsControl, M3u8NielsenId3, MotionImageInserter, NielsenConfiguration, NielsenNonLinearWatermarkSettings, OutputGroupDetail, OutputGroupSettings, QueueTransition, Rectangle } from "./models_0";
4
+ export declare enum M3u8PcrControl {
5
+ CONFIGURED_PCR_PERIOD = "CONFIGURED_PCR_PERIOD",
6
+ PCR_EVERY_PES_PACKET = "PCR_EVERY_PES_PACKET"
7
+ }
8
+ export declare enum M3u8Scte35Source {
9
+ NONE = "NONE",
10
+ PASSTHROUGH = "PASSTHROUGH"
11
+ }
3
12
  export declare enum TimedMetadata {
4
13
  NONE = "NONE",
5
14
  PASSTHROUGH = "PASSTHROUGH"
@@ -2261,40 +2270,52 @@ export declare namespace AssociateCertificateResponse {
2261
2270
  const filterSensitiveLog: (obj: AssociateCertificateResponse) => any;
2262
2271
  }
2263
2272
 
2264
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
2265
- name: "BadRequestException";
2266
- $fault: "client";
2273
+ export declare class BadRequestException extends __BaseException {
2274
+ readonly name: "BadRequestException";
2275
+ readonly $fault: "client";
2267
2276
  Message?: string;
2277
+
2278
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
2268
2279
  }
2269
2280
 
2270
- export interface ConflictException extends __SmithyException, $MetadataBearer {
2271
- name: "ConflictException";
2272
- $fault: "client";
2281
+ export declare class ConflictException extends __BaseException {
2282
+ readonly name: "ConflictException";
2283
+ readonly $fault: "client";
2273
2284
  Message?: string;
2285
+
2286
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
2274
2287
  }
2275
2288
 
2276
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
2277
- name: "ForbiddenException";
2278
- $fault: "client";
2289
+ export declare class ForbiddenException extends __BaseException {
2290
+ readonly name: "ForbiddenException";
2291
+ readonly $fault: "client";
2279
2292
  Message?: string;
2293
+
2294
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
2280
2295
  }
2281
2296
 
2282
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
2283
- name: "InternalServerErrorException";
2284
- $fault: "server";
2297
+ export declare class InternalServerErrorException extends __BaseException {
2298
+ readonly name: "InternalServerErrorException";
2299
+ readonly $fault: "server";
2285
2300
  Message?: string;
2301
+
2302
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
2286
2303
  }
2287
2304
 
2288
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
2289
- name: "NotFoundException";
2290
- $fault: "client";
2305
+ export declare class NotFoundException extends __BaseException {
2306
+ readonly name: "NotFoundException";
2307
+ readonly $fault: "client";
2291
2308
  Message?: string;
2309
+
2310
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
2292
2311
  }
2293
2312
 
2294
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
2295
- name: "TooManyRequestsException";
2296
- $fault: "client";
2313
+ export declare class TooManyRequestsException extends __BaseException {
2314
+ readonly name: "TooManyRequestsException";
2315
+ readonly $fault: "client";
2297
2316
  Message?: string;
2317
+
2318
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
2298
2319
  }
2299
2320
  export interface CancelJobRequest {
2300
2321
 
@@ -2812,21 +2833,3 @@ export declare namespace PutPolicyResponse {
2812
2833
 
2813
2834
  const filterSensitiveLog: (obj: PutPolicyResponse) => any;
2814
2835
  }
2815
- export interface TagResourceRequest {
2816
-
2817
- Arn: string | undefined;
2818
-
2819
- Tags: {
2820
- [key: string]: string;
2821
- } | undefined;
2822
- }
2823
- export declare namespace TagResourceRequest {
2824
-
2825
- const filterSensitiveLog: (obj: TagResourceRequest) => any;
2826
- }
2827
- export interface TagResourceResponse {
2828
- }
2829
- export declare namespace TagResourceResponse {
2830
-
2831
- const filterSensitiveLog: (obj: TagResourceResponse) => any;
2832
- }