123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452 |
- {
- "version":"2.0",
- "metadata":{
- "apiVersion":"2012-09-25",
- "endpointPrefix":"elastictranscoder",
- "protocol":"rest-json",
- "serviceFullName":"Amazon Elastic Transcoder",
- "signatureVersion":"v4"
- },
- "operations":{
- "CancelJob":{
- "name":"CancelJob",
- "http":{
- "method":"DELETE",
- "requestUri":"/2012-09-25/jobs/{Id}",
- "responseCode":202
- },
- "input":{"shape":"CancelJobRequest"},
- "output":{"shape":"CancelJobResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"ResourceInUseException"},
- {"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "CreateJob":{
- "name":"CreateJob",
- "http":{
- "method":"POST",
- "requestUri":"/2012-09-25/jobs",
- "responseCode":201
- },
- "input":{"shape":"CreateJobRequest"},
- "output":{"shape":"CreateJobResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"LimitExceededException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "CreatePipeline":{
- "name":"CreatePipeline",
- "http":{
- "method":"POST",
- "requestUri":"/2012-09-25/pipelines",
- "responseCode":201
- },
- "input":{"shape":"CreatePipelineRequest"},
- "output":{"shape":"CreatePipelineResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"LimitExceededException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "CreatePreset":{
- "name":"CreatePreset",
- "http":{
- "method":"POST",
- "requestUri":"/2012-09-25/presets",
- "responseCode":201
- },
- "input":{"shape":"CreatePresetRequest"},
- "output":{"shape":"CreatePresetResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"AccessDeniedException"},
- {"shape":"LimitExceededException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "DeletePipeline":{
- "name":"DeletePipeline",
- "http":{
- "method":"DELETE",
- "requestUri":"/2012-09-25/pipelines/{Id}",
- "responseCode":202
- },
- "input":{"shape":"DeletePipelineRequest"},
- "output":{"shape":"DeletePipelineResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"ResourceInUseException"},
- {"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "DeletePreset":{
- "name":"DeletePreset",
- "http":{
- "method":"DELETE",
- "requestUri":"/2012-09-25/presets/{Id}",
- "responseCode":202
- },
- "input":{"shape":"DeletePresetRequest"},
- "output":{"shape":"DeletePresetResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "ListJobsByPipeline":{
- "name":"ListJobsByPipeline",
- "http":{
- "method":"GET",
- "requestUri":"/2012-09-25/jobsByPipeline/{PipelineId}"
- },
- "input":{"shape":"ListJobsByPipelineRequest"},
- "output":{"shape":"ListJobsByPipelineResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "ListJobsByStatus":{
- "name":"ListJobsByStatus",
- "http":{
- "method":"GET",
- "requestUri":"/2012-09-25/jobsByStatus/{Status}"
- },
- "input":{"shape":"ListJobsByStatusRequest"},
- "output":{"shape":"ListJobsByStatusResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "ListPipelines":{
- "name":"ListPipelines",
- "http":{
- "method":"GET",
- "requestUri":"/2012-09-25/pipelines"
- },
- "input":{"shape":"ListPipelinesRequest"},
- "output":{"shape":"ListPipelinesResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "ListPresets":{
- "name":"ListPresets",
- "http":{
- "method":"GET",
- "requestUri":"/2012-09-25/presets"
- },
- "input":{"shape":"ListPresetsRequest"},
- "output":{"shape":"ListPresetsResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "ReadJob":{
- "name":"ReadJob",
- "http":{
- "method":"GET",
- "requestUri":"/2012-09-25/jobs/{Id}"
- },
- "input":{"shape":"ReadJobRequest"},
- "output":{"shape":"ReadJobResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "ReadPipeline":{
- "name":"ReadPipeline",
- "http":{
- "method":"GET",
- "requestUri":"/2012-09-25/pipelines/{Id}"
- },
- "input":{"shape":"ReadPipelineRequest"},
- "output":{"shape":"ReadPipelineResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "ReadPreset":{
- "name":"ReadPreset",
- "http":{
- "method":"GET",
- "requestUri":"/2012-09-25/presets/{Id}"
- },
- "input":{"shape":"ReadPresetRequest"},
- "output":{"shape":"ReadPresetResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "TestRole":{
- "name":"TestRole",
- "http":{
- "method":"POST",
- "requestUri":"/2012-09-25/roleTests",
- "responseCode":200
- },
- "input":{"shape":"TestRoleRequest"},
- "output":{"shape":"TestRoleResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "UpdatePipeline":{
- "name":"UpdatePipeline",
- "http":{
- "method":"PUT",
- "requestUri":"/2012-09-25/pipelines/{Id}",
- "responseCode":200
- },
- "input":{"shape":"UpdatePipelineRequest"},
- "output":{"shape":"UpdatePipelineResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ResourceInUseException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "UpdatePipelineNotifications":{
- "name":"UpdatePipelineNotifications",
- "http":{
- "method":"POST",
- "requestUri":"/2012-09-25/pipelines/{Id}/notifications"
- },
- "input":{"shape":"UpdatePipelineNotificationsRequest"},
- "output":{"shape":"UpdatePipelineNotificationsResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"ResourceInUseException"},
- {"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
- ]
- },
- "UpdatePipelineStatus":{
- "name":"UpdatePipelineStatus",
- "http":{
- "method":"POST",
- "requestUri":"/2012-09-25/pipelines/{Id}/status"
- },
- "input":{"shape":"UpdatePipelineStatusRequest"},
- "output":{"shape":"UpdatePipelineStatusResponse"},
- "errors":[
- {"shape":"ValidationException"},
- {"shape":"IncompatibleVersionException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"ResourceInUseException"},
- {"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
- ]
- }
- },
- "shapes":{
- "AccessControl":{
- "type":"string",
- "pattern":"(^FullControl$)|(^Read$)|(^ReadAcp$)|(^WriteAcp$)"
- },
- "AccessControls":{
- "type":"list",
- "member":{"shape":"AccessControl"},
- "max":30
- },
- "AccessDeniedException":{
- "type":"structure",
- "members":{
- },
- "error":{"httpStatusCode":403},
- "exception":true
- },
- "Artwork":{
- "type":"structure",
- "members":{
- "InputKey":{"shape":"WatermarkKey"},
- "MaxWidth":{"shape":"DigitsOrAuto"},
- "MaxHeight":{"shape":"DigitsOrAuto"},
- "SizingPolicy":{"shape":"SizingPolicy"},
- "PaddingPolicy":{"shape":"PaddingPolicy"},
- "AlbumArtFormat":{"shape":"JpgOrPng"},
- "Encryption":{"shape":"Encryption"}
- }
- },
- "Artworks":{
- "type":"list",
- "member":{"shape":"Artwork"}
- },
- "Ascending":{
- "type":"string",
- "pattern":"(^true$)|(^false$)"
- },
- "AspectRatio":{
- "type":"string",
- "pattern":"(^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)"
- },
- "AudioBitDepth":{
- "type":"string",
- "pattern":"(^8$)|(^16$)|(^24$)|(^32$)"
- },
- "AudioBitOrder":{
- "type":"string",
- "pattern":"(^LittleEndian$)"
- },
- "AudioBitRate":{
- "type":"string",
- "pattern":"^\\d{1,3}$"
- },
- "AudioChannels":{
- "type":"string",
- "pattern":"(^auto$)|(^0$)|(^1$)|(^2$)"
- },
- "AudioCodec":{
- "type":"string",
- "pattern":"(^AAC$)|(^vorbis$)|(^mp3$)|(^mp2$)|(^pcm$)|(^flac$)"
- },
- "AudioCodecOptions":{
- "type":"structure",
- "members":{
- "Profile":{"shape":"AudioCodecProfile"},
- "BitDepth":{"shape":"AudioBitDepth"},
- "BitOrder":{"shape":"AudioBitOrder"},
- "Signed":{"shape":"AudioSigned"}
- }
- },
- "AudioCodecProfile":{
- "type":"string",
- "pattern":"(^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)"
- },
- "AudioPackingMode":{
- "type":"string",
- "pattern":"(^SingleTrack$)|(^OneChannelPerTrack$)|(^OneChannelPerTrackWithMosTo8Tracks$)"
- },
- "AudioParameters":{
- "type":"structure",
- "members":{
- "Codec":{"shape":"AudioCodec"},
- "SampleRate":{"shape":"AudioSampleRate"},
- "BitRate":{"shape":"AudioBitRate"},
- "Channels":{"shape":"AudioChannels"},
- "AudioPackingMode":{"shape":"AudioPackingMode"},
- "CodecOptions":{"shape":"AudioCodecOptions"}
- }
- },
- "AudioSampleRate":{
- "type":"string",
- "pattern":"(^auto$)|(^22050$)|(^32000$)|(^44100$)|(^48000$)|(^96000$)|(^192000$)"
- },
- "AudioSigned":{
- "type":"string",
- "pattern":"(^Unsigned$)|(^Signed$)"
- },
- "Base64EncodedString":{
- "type":"string",
- "pattern":"^$|(^(?:[A-Za-z0-9\\+/]{4})*(?:[A-Za-z0-9\\+/]{2}==|[A-Za-z0-9\\+/]{3}=)?$)"
- },
- "BucketName":{
- "type":"string",
- "pattern":"^(\\w|\\.|-){1,255}$"
- },
- "CancelJobRequest":{
- "type":"structure",
- "required":["Id"],
- "members":{
- "Id":{
- "shape":"Id",
- "location":"uri",
- "locationName":"Id"
- }
- }
- },
- "CancelJobResponse":{
- "type":"structure",
- "members":{
- }
- },
- "CaptionFormat":{
- "type":"structure",
- "members":{
- "Format":{"shape":"CaptionFormatFormat"},
- "Pattern":{"shape":"CaptionFormatPattern"},
- "Encryption":{"shape":"Encryption"}
- }
- },
- "CaptionFormatFormat":{
- "type":"string",
- "pattern":"(^mov-text$)|(^srt$)|(^scc$)|(^webvtt$)|(^dfxp$)|(^cea-708$)"
- },
- "CaptionFormatPattern":{
- "type":"string",
- "pattern":"(^$)|(^.*\\{language\\}.*$)"
- },
- "CaptionFormats":{
- "type":"list",
- "member":{"shape":"CaptionFormat"},
- "max":4
- },
- "CaptionMergePolicy":{
- "type":"string",
- "pattern":"(^MergeOverride$)|(^MergeRetain$)|(^Override$)"
- },
- "CaptionSource":{
- "type":"structure",
- "members":{
- "Key":{"shape":"LongKey"},
- "Language":{"shape":"Key"},
- "TimeOffset":{"shape":"TimeOffset"},
- "Label":{"shape":"Name"},
- "Encryption":{"shape":"Encryption"}
- }
- },
- "CaptionSources":{
- "type":"list",
- "member":{"shape":"CaptionSource"},
- "max":20
- },
- "Captions":{
- "type":"structure",
- "members":{
- "MergePolicy":{"shape":"CaptionMergePolicy"},
- "CaptionSources":{"shape":"CaptionSources"},
- "CaptionFormats":{"shape":"CaptionFormats"}
- }
- },
- "Clip":{
- "type":"structure",
- "members":{
- "TimeSpan":{"shape":"TimeSpan"}
- }
- },
- "CodecOption":{
- "type":"string",
- "max":255,
- "min":1
- },
- "CodecOptions":{
- "type":"map",
- "key":{"shape":"CodecOption"},
- "value":{"shape":"CodecOption"},
- "max":30
- },
- "Composition":{
- "type":"list",
- "member":{"shape":"Clip"}
- },
- "CreateJobOutput":{
- "type":"structure",
- "members":{
- "Key":{"shape":"Key"},
- "ThumbnailPattern":{"shape":"ThumbnailPattern"},
- "ThumbnailEncryption":{"shape":"Encryption"},
- "Rotate":{"shape":"Rotate"},
- "PresetId":{"shape":"Id"},
- "SegmentDuration":{"shape":"FloatString"},
- "Watermarks":{"shape":"JobWatermarks"},
- "AlbumArt":{"shape":"JobAlbumArt"},
- "Composition":{"shape":"Composition"},
- "Captions":{"shape":"Captions"},
- "Encryption":{"shape":"Encryption"}
- }
- },
- "CreateJobOutputs":{
- "type":"list",
- "member":{"shape":"CreateJobOutput"},
- "max":30
- },
- "CreateJobPlaylist":{
- "type":"structure",
- "members":{
- "Name":{"shape":"Filename"},
- "Format":{"shape":"PlaylistFormat"},
- "OutputKeys":{"shape":"OutputKeys"},
- "HlsContentProtection":{"shape":"HlsContentProtection"},
- "PlayReadyDrm":{"shape":"PlayReadyDrm"}
- }
- },
- "CreateJobPlaylists":{
- "type":"list",
- "member":{"shape":"CreateJobPlaylist"},
- "max":30
- },
- "CreateJobRequest":{
- "type":"structure",
- "required":[
- "PipelineId",
- "Input"
- ],
- "members":{
- "PipelineId":{"shape":"Id"},
- "Input":{"shape":"JobInput"},
- "Output":{"shape":"CreateJobOutput"},
- "Outputs":{"shape":"CreateJobOutputs"},
- "OutputKeyPrefix":{"shape":"Key"},
- "Playlists":{"shape":"CreateJobPlaylists"},
- "UserMetadata":{"shape":"UserMetadata"}
- }
- },
- "CreateJobResponse":{
- "type":"structure",
- "members":{
- "Job":{"shape":"Job"}
- }
- },
- "CreatePipelineRequest":{
- "type":"structure",
- "required":[
- "Name",
- "InputBucket",
- "Role"
- ],
- "members":{
- "Name":{"shape":"Name"},
- "InputBucket":{"shape":"BucketName"},
- "OutputBucket":{"shape":"BucketName"},
- "Role":{"shape":"Role"},
- "AwsKmsKeyArn":{"shape":"KeyArn"},
- "Notifications":{"shape":"Notifications"},
- "ContentConfig":{"shape":"PipelineOutputConfig"},
- "ThumbnailConfig":{"shape":"PipelineOutputConfig"}
- }
- },
- "CreatePipelineResponse":{
- "type":"structure",
- "members":{
- "Pipeline":{"shape":"Pipeline"},
- "Warnings":{"shape":"Warnings"}
- }
- },
- "CreatePresetRequest":{
- "type":"structure",
- "required":[
- "Name",
- "Container"
- ],
- "members":{
- "Name":{"shape":"Name"},
- "Description":{"shape":"Description"},
- "Container":{"shape":"PresetContainer"},
- "Video":{"shape":"VideoParameters"},
- "Audio":{"shape":"AudioParameters"},
- "Thumbnails":{"shape":"Thumbnails"}
- }
- },
- "CreatePresetResponse":{
- "type":"structure",
- "members":{
- "Preset":{"shape":"Preset"},
- "Warning":{"shape":"String"}
- }
- },
- "DeletePipelineRequest":{
- "type":"structure",
- "required":["Id"],
- "members":{
- "Id":{
- "shape":"Id",
- "location":"uri",
- "locationName":"Id"
- }
- }
- },
- "DeletePipelineResponse":{
- "type":"structure",
- "members":{
- }
- },
- "DeletePresetRequest":{
- "type":"structure",
- "required":["Id"],
- "members":{
- "Id":{
- "shape":"Id",
- "location":"uri",
- "locationName":"Id"
- }
- }
- },
- "DeletePresetResponse":{
- "type":"structure",
- "members":{
- }
- },
- "Description":{
- "type":"string",
- "max":255,
- "min":0
- },
- "DetectedProperties":{
- "type":"structure",
- "members":{
- "Width":{"shape":"NullableInteger"},
- "Height":{"shape":"NullableInteger"},
- "FrameRate":{"shape":"FloatString"},
- "FileSize":{"shape":"NullableLong"},
- "DurationMillis":{"shape":"NullableLong"}
- }
- },
- "Digits":{
- "type":"string",
- "pattern":"^\\d{1,5}$"
- },
- "DigitsOrAuto":{
- "type":"string",
- "pattern":"(^auto$)|(^\\d{2,4}$)"
- },
- "Encryption":{
- "type":"structure",
- "members":{
- "Mode":{"shape":"EncryptionMode"},
- "Key":{"shape":"Base64EncodedString"},
- "KeyMd5":{"shape":"Base64EncodedString"},
- "InitializationVector":{"shape":"ZeroTo255String"}
- }
- },
- "EncryptionMode":{
- "type":"string",
- "pattern":"(^s3$)|(^s3-aws-kms$)|(^aes-cbc-pkcs7$)|(^aes-ctr$)|(^aes-gcm$)"
- },
- "ExceptionMessages":{
- "type":"list",
- "member":{"shape":"String"}
- },
- "Filename":{
- "type":"string",
- "max":255,
- "min":1
- },
- "FixedGOP":{
- "type":"string",
- "pattern":"(^true$)|(^false$)"
- },
- "FloatString":{
- "type":"string",
- "pattern":"^\\d{1,5}(\\.\\d{0,5})?$"
- },
- "FrameRate":{
- "type":"string",
- "pattern":"(^auto$)|(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^50$)|(^60$)"
- },
- "Grantee":{
- "type":"string",
- "max":255,
- "min":1
- },
- "GranteeType":{
- "type":"string",
- "pattern":"(^Canonical$)|(^Email$)|(^Group$)"
- },
- "HlsContentProtection":{
- "type":"structure",
- "members":{
- "Method":{"shape":"HlsContentProtectionMethod"},
- "Key":{"shape":"Base64EncodedString"},
- "KeyMd5":{"shape":"Base64EncodedString"},
- "InitializationVector":{"shape":"ZeroTo255String"},
- "LicenseAcquisitionUrl":{"shape":"ZeroTo512String"},
- "KeyStoragePolicy":{"shape":"KeyStoragePolicy"}
- }
- },
- "HlsContentProtectionMethod":{
- "type":"string",
- "pattern":"(^aes-128$)"
- },
- "HorizontalAlign":{
- "type":"string",
- "pattern":"(^Left$)|(^Right$)|(^Center$)"
- },
- "Id":{
- "type":"string",
- "pattern":"^\\d{13}-\\w{6}$"
- },
- "IncompatibleVersionException":{
- "type":"structure",
- "members":{
- },
- "error":{"httpStatusCode":400},
- "exception":true
- },
- "Interlaced":{
- "type":"string",
- "pattern":"(^auto$)|(^true$)|(^false$)"
- },
- "InternalServiceException":{
- "type":"structure",
- "members":{
- },
- "exception":true,
- "fault":true
- },
- "Job":{
- "type":"structure",
- "members":{
- "Id":{"shape":"Id"},
- "Arn":{"shape":"String"},
- "PipelineId":{"shape":"Id"},
- "Input":{"shape":"JobInput"},
- "Output":{"shape":"JobOutput"},
- "Outputs":{"shape":"JobOutputs"},
- "OutputKeyPrefix":{"shape":"Key"},
- "Playlists":{"shape":"Playlists"},
- "Status":{"shape":"JobStatus"},
- "UserMetadata":{"shape":"UserMetadata"},
- "Timing":{"shape":"Timing"}
- }
- },
- "JobAlbumArt":{
- "type":"structure",
- "members":{
- "MergePolicy":{"shape":"MergePolicy"},
- "Artwork":{"shape":"Artworks"}
- }
- },
- "JobContainer":{
- "type":"string",
- "pattern":"(^auto$)|(^3gp$)|(^asf$)|(^avi$)|(^divx$)|(^flv$)|(^mkv$)|(^mov$)|(^mp4$)|(^mpeg$)|(^mpeg-ps$)|(^mpeg-ts$)|(^mxf$)|(^ogg$)|(^ts$)|(^vob$)|(^wav$)|(^webm$)|(^mp3$)|(^m4a$)|(^aac$)"
- },
- "JobInput":{
- "type":"structure",
- "members":{
- "Key":{"shape":"LongKey"},
- "FrameRate":{"shape":"FrameRate"},
- "Resolution":{"shape":"Resolution"},
- "AspectRatio":{"shape":"AspectRatio"},
- "Interlaced":{"shape":"Interlaced"},
- "Container":{"shape":"JobContainer"},
- "Encryption":{"shape":"Encryption"},
- "DetectedProperties":{"shape":"DetectedProperties"}
- }
- },
- "JobOutput":{
- "type":"structure",
- "members":{
- "Id":{"shape":"String"},
- "Key":{"shape":"Key"},
- "ThumbnailPattern":{"shape":"ThumbnailPattern"},
- "ThumbnailEncryption":{"shape":"Encryption"},
- "Rotate":{"shape":"Rotate"},
- "PresetId":{"shape":"Id"},
- "SegmentDuration":{"shape":"FloatString"},
- "Status":{"shape":"JobStatus"},
- "StatusDetail":{"shape":"Description"},
- "Duration":{"shape":"NullableLong"},
- "Width":{"shape":"NullableInteger"},
- "Height":{"shape":"NullableInteger"},
- "FrameRate":{"shape":"FloatString"},
- "FileSize":{"shape":"NullableLong"},
- "DurationMillis":{"shape":"NullableLong"},
- "Watermarks":{"shape":"JobWatermarks"},
- "AlbumArt":{"shape":"JobAlbumArt"},
- "Composition":{"shape":"Composition"},
- "Captions":{"shape":"Captions"},
- "Encryption":{"shape":"Encryption"},
- "AppliedColorSpaceConversion":{"shape":"String"}
- }
- },
- "JobOutputs":{
- "type":"list",
- "member":{"shape":"JobOutput"}
- },
- "JobStatus":{
- "type":"string",
- "pattern":"(^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)"
- },
- "JobWatermark":{
- "type":"structure",
- "members":{
- "PresetWatermarkId":{"shape":"PresetWatermarkId"},
- "InputKey":{"shape":"WatermarkKey"},
- "Encryption":{"shape":"Encryption"}
- }
- },
- "JobWatermarks":{
- "type":"list",
- "member":{"shape":"JobWatermark"}
- },
- "Jobs":{
- "type":"list",
- "member":{"shape":"Job"}
- },
- "JpgOrPng":{
- "type":"string",
- "pattern":"(^jpg$)|(^png$)"
- },
- "Key":{
- "type":"string",
- "max":255,
- "min":1
- },
- "KeyArn":{
- "type":"string",
- "max":255,
- "min":0
- },
- "KeyIdGuid":{
- "type":"string",
- "pattern":"(^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$)|(^[0-9A-Fa-f]{32}$)"
- },
- "KeyStoragePolicy":{
- "type":"string",
- "pattern":"(^NoStore$)|(^WithVariantPlaylists$)"
- },
- "KeyframesMaxDist":{
- "type":"string",
- "pattern":"^\\d{1,6}$"
- },
- "LimitExceededException":{
- "type":"structure",
- "members":{
- },
- "error":{"httpStatusCode":429},
- "exception":true
- },
- "ListJobsByPipelineRequest":{
- "type":"structure",
- "required":["PipelineId"],
- "members":{
- "PipelineId":{
- "shape":"Id",
- "location":"uri",
- "locationName":"PipelineId"
- },
- "Ascending":{
- "shape":"Ascending",
- "location":"querystring",
- "locationName":"Ascending"
- },
- "PageToken":{
- "shape":"Id",
- "location":"querystring",
- "locationName":"PageToken"
- }
- }
- },
- "ListJobsByPipelineResponse":{
- "type":"structure",
- "members":{
- "Jobs":{"shape":"Jobs"},
- "NextPageToken":{"shape":"Id"}
- }
- },
- "ListJobsByStatusRequest":{
- "type":"structure",
- "required":["Status"],
- "members":{
- "Status":{
- "shape":"JobStatus",
- "location":"uri",
- "locationName":"Status"
- },
- "Ascending":{
- "shape":"Ascending",
- "location":"querystring",
- "locationName":"Ascending"
- },
- "PageToken":{
- "shape":"Id",
- "location":"querystring",
- "locationName":"PageToken"
- }
- }
- },
- "ListJobsByStatusResponse":{
- "type":"structure",
- "members":{
- "Jobs":{"shape":"Jobs"},
- "NextPageToken":{"shape":"Id"}
- }
- },
- "ListPipelinesRequest":{
- "type":"structure",
- "members":{
- "Ascending":{
- "shape":"Ascending",
- "location":"querystring",
- "locationName":"Ascending"
- },
- "PageToken":{
- "shape":"Id",
- "location":"querystring",
- "locationName":"PageToken"
- }
- }
- },
- "ListPipelinesResponse":{
- "type":"structure",
- "members":{
- "Pipelines":{"shape":"Pipelines"},
- "NextPageToken":{"shape":"Id"}
- }
- },
- "ListPresetsRequest":{
- "type":"structure",
- "members":{
- "Ascending":{
- "shape":"Ascending",
- "location":"querystring",
- "locationName":"Ascending"
- },
- "PageToken":{
- "shape":"Id",
- "location":"querystring",
- "locationName":"PageToken"
- }
- }
- },
- "ListPresetsResponse":{
- "type":"structure",
- "members":{
- "Presets":{"shape":"Presets"},
- "NextPageToken":{"shape":"Id"}
- }
- },
- "LongKey":{
- "type":"string",
- "max":1024,
- "min":1
- },
- "MaxFrameRate":{
- "type":"string",
- "pattern":"(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^50$)|(^60$)"
- },
- "MergePolicy":{
- "type":"string",
- "pattern":"(^Replace$)|(^Prepend$)|(^Append$)|(^Fallback$)"
- },
- "Name":{
- "type":"string",
- "max":40,
- "min":1
- },
- "NonEmptyBase64EncodedString":{
- "type":"string",
- "pattern":"(^(?:[A-Za-z0-9\\+/]{4})*(?:[A-Za-z0-9\\+/]{2}==|[A-Za-z0-9\\+/]{3}=)?$)"
- },
- "Notifications":{
- "type":"structure",
- "members":{
- "Progressing":{"shape":"SnsTopic"},
- "Completed":{"shape":"SnsTopic"},
- "Warning":{"shape":"SnsTopic"},
- "Error":{"shape":"SnsTopic"}
- }
- },
- "NullableInteger":{"type":"integer"},
- "NullableLong":{"type":"long"},
- "OneTo512String":{
- "type":"string",
- "max":512,
- "min":1
- },
- "Opacity":{
- "type":"string",
- "pattern":"^\\d{1,3}(\\.\\d{0,20})?$"
- },
- "OutputKeys":{
- "type":"list",
- "member":{"shape":"Key"},
- "max":30
- },
- "PaddingPolicy":{
- "type":"string",
- "pattern":"(^Pad$)|(^NoPad$)"
- },
- "Permission":{
- "type":"structure",
- "members":{
- "GranteeType":{"shape":"GranteeType"},
- "Grantee":{"shape":"Grantee"},
- "Access":{"shape":"AccessControls"}
- }
- },
- "Permissions":{
- "type":"list",
- "member":{"shape":"Permission"},
- "max":30
- },
- "Pipeline":{
- "type":"structure",
- "members":{
- "Id":{"shape":"Id"},
- "Arn":{"shape":"String"},
- "Name":{"shape":"Name"},
- "Status":{"shape":"PipelineStatus"},
- "InputBucket":{"shape":"BucketName"},
- "OutputBucket":{"shape":"BucketName"},
- "Role":{"shape":"Role"},
- "AwsKmsKeyArn":{"shape":"KeyArn"},
- "Notifications":{"shape":"Notifications"},
- "ContentConfig":{"shape":"PipelineOutputConfig"},
- "ThumbnailConfig":{"shape":"PipelineOutputConfig"}
- }
- },
- "PipelineOutputConfig":{
- "type":"structure",
- "members":{
- "Bucket":{"shape":"BucketName"},
- "StorageClass":{"shape":"StorageClass"},
- "Permissions":{"shape":"Permissions"}
- }
- },
- "PipelineStatus":{
- "type":"string",
- "pattern":"(^Active$)|(^Paused$)"
- },
- "Pipelines":{
- "type":"list",
- "member":{"shape":"Pipeline"}
- },
- "PixelsOrPercent":{
- "type":"string",
- "pattern":"(^\\d{1,3}(\\.\\d{0,5})?%$)|(^\\d{1,4}?px$)"
- },
- "PlayReadyDrm":{
- "type":"structure",
- "members":{
- "Format":{"shape":"PlayReadyDrmFormatString"},
- "Key":{"shape":"NonEmptyBase64EncodedString"},
- "KeyMd5":{"shape":"NonEmptyBase64EncodedString"},
- "KeyId":{"shape":"KeyIdGuid"},
- "InitializationVector":{"shape":"ZeroTo255String"},
- "LicenseAcquisitionUrl":{"shape":"OneTo512String"}
- }
- },
- "PlayReadyDrmFormatString":{
- "type":"string",
- "pattern":"(^microsoft$)|(^discretix-3.0$)"
- },
- "Playlist":{
- "type":"structure",
- "members":{
- "Name":{"shape":"Filename"},
- "Format":{"shape":"PlaylistFormat"},
- "OutputKeys":{"shape":"OutputKeys"},
- "HlsContentProtection":{"shape":"HlsContentProtection"},
- "PlayReadyDrm":{"shape":"PlayReadyDrm"},
- "Status":{"shape":"JobStatus"},
- "StatusDetail":{"shape":"Description"}
- }
- },
- "PlaylistFormat":{
- "type":"string",
- "pattern":"(^HLSv3$)|(^HLSv4$)|(^Smooth$)|(^MPEG-DASH$)"
- },
- "Playlists":{
- "type":"list",
- "member":{"shape":"Playlist"}
- },
- "Preset":{
- "type":"structure",
- "members":{
- "Id":{"shape":"Id"},
- "Arn":{"shape":"String"},
- "Name":{"shape":"Name"},
- "Description":{"shape":"Description"},
- "Container":{"shape":"PresetContainer"},
- "Audio":{"shape":"AudioParameters"},
- "Video":{"shape":"VideoParameters"},
- "Thumbnails":{"shape":"Thumbnails"},
- "Type":{"shape":"PresetType"}
- }
- },
- "PresetContainer":{
- "type":"string",
- "pattern":"(^mp4$)|(^ts$)|(^webm$)|(^mp3$)|(^flac$)|(^oga$)|(^ogg$)|(^fmp4$)|(^mpg$)|(^flv$)|(^gif$)|(^mxf$)|(^wav$)"
- },
- "PresetType":{
- "type":"string",
- "pattern":"(^System$)|(^Custom$)"
- },
- "PresetWatermark":{
- "type":"structure",
- "members":{
- "Id":{"shape":"PresetWatermarkId"},
- "MaxWidth":{"shape":"PixelsOrPercent"},
- "MaxHeight":{"shape":"PixelsOrPercent"},
- "SizingPolicy":{"shape":"WatermarkSizingPolicy"},
- "HorizontalAlign":{"shape":"HorizontalAlign"},
- "HorizontalOffset":{"shape":"PixelsOrPercent"},
- "VerticalAlign":{"shape":"VerticalAlign"},
- "VerticalOffset":{"shape":"PixelsOrPercent"},
- "Opacity":{"shape":"Opacity"},
- "Target":{"shape":"Target"}
- }
- },
- "PresetWatermarkId":{
- "type":"string",
- "max":40,
- "min":1
- },
- "PresetWatermarks":{
- "type":"list",
- "member":{"shape":"PresetWatermark"}
- },
- "Presets":{
- "type":"list",
- "member":{"shape":"Preset"}
- },
- "ReadJobRequest":{
- "type":"structure",
- "required":["Id"],
- "members":{
- "Id":{
- "shape":"Id",
- "location":"uri",
- "locationName":"Id"
- }
- }
- },
- "ReadJobResponse":{
- "type":"structure",
- "members":{
- "Job":{"shape":"Job"}
- }
- },
- "ReadPipelineRequest":{
- "type":"structure",
- "required":["Id"],
- "members":{
- "Id":{
- "shape":"Id",
- "location":"uri",
- "locationName":"Id"
- }
- }
- },
- "ReadPipelineResponse":{
- "type":"structure",
- "members":{
- "Pipeline":{"shape":"Pipeline"},
- "Warnings":{"shape":"Warnings"}
- }
- },
- "ReadPresetRequest":{
- "type":"structure",
- "required":["Id"],
- "members":{
- "Id":{
- "shape":"Id",
- "location":"uri",
- "locationName":"Id"
- }
- }
- },
- "ReadPresetResponse":{
- "type":"structure",
- "members":{
- "Preset":{"shape":"Preset"}
- }
- },
- "Resolution":{
- "type":"string",
- "pattern":"(^auto$)|(^\\d{1,5}x\\d{1,5}$)"
- },
- "ResourceInUseException":{
- "type":"structure",
- "members":{
- },
- "error":{"httpStatusCode":409},
- "exception":true
- },
- "ResourceNotFoundException":{
- "type":"structure",
- "members":{
- },
- "error":{"httpStatusCode":404},
- "exception":true
- },
- "Role":{
- "type":"string",
- "pattern":"^arn:aws:iam::\\w{12}:role/.+$"
- },
- "Rotate":{
- "type":"string",
- "pattern":"(^auto$)|(^0$)|(^90$)|(^180$)|(^270$)"
- },
- "SizingPolicy":{
- "type":"string",
- "pattern":"(^Fit$)|(^Fill$)|(^Stretch$)|(^Keep$)|(^ShrinkToFit$)|(^ShrinkToFill$)"
- },
- "SnsTopic":{
- "type":"string",
- "pattern":"(^$)|(^arn:aws:sns:.*:\\w{12}:.+$)"
- },
- "SnsTopics":{
- "type":"list",
- "member":{"shape":"SnsTopic"},
- "max":30
- },
- "StorageClass":{
- "type":"string",
- "pattern":"(^ReducedRedundancy$)|(^Standard$)"
- },
- "String":{"type":"string"},
- "Success":{
- "type":"string",
- "pattern":"(^true$)|(^false$)"
- },
- "Target":{
- "type":"string",
- "pattern":"(^Content$)|(^Frame$)"
- },
- "TestRoleRequest":{
- "type":"structure",
- "required":[
- "Role",
- "InputBucket",
- "OutputBucket",
- "Topics"
- ],
- "members":{
- "Role":{"shape":"Role"},
- "InputBucket":{"shape":"BucketName"},
- "OutputBucket":{"shape":"BucketName"},
- "Topics":{"shape":"SnsTopics"}
- }
- },
- "TestRoleResponse":{
- "type":"structure",
- "members":{
- "Success":{"shape":"Success"},
- "Messages":{"shape":"ExceptionMessages"}
- }
- },
- "ThumbnailPattern":{
- "type":"string",
- "pattern":"(^$)|(^.*\\{count\\}.*$)"
- },
- "ThumbnailResolution":{
- "type":"string",
- "pattern":"^\\d{1,5}x\\d{1,5}$"
- },
- "Thumbnails":{
- "type":"structure",
- "members":{
- "Format":{"shape":"JpgOrPng"},
- "Interval":{"shape":"Digits"},
- "Resolution":{"shape":"ThumbnailResolution"},
- "AspectRatio":{"shape":"AspectRatio"},
- "MaxWidth":{"shape":"DigitsOrAuto"},
- "MaxHeight":{"shape":"DigitsOrAuto"},
- "SizingPolicy":{"shape":"SizingPolicy"},
- "PaddingPolicy":{"shape":"PaddingPolicy"}
- }
- },
- "Time":{
- "type":"string",
- "pattern":"(^\\d{1,5}(\\.\\d{0,3})?$)|(^([0-1]?[0-9]:|2[0-3]:)?([0-5]?[0-9]:)?[0-5]?[0-9](\\.\\d{0,3})?$)"
- },
- "TimeOffset":{
- "type":"string",
- "pattern":"(^[+-]?\\d{1,5}(\\.\\d{0,3})?$)|(^[+-]?([0-1]?[0-9]:|2[0-3]:)?([0-5]?[0-9]:)?[0-5]?[0-9](\\.\\d{0,3})?$)"
- },
- "TimeSpan":{
- "type":"structure",
- "members":{
- "StartTime":{"shape":"Time"},
- "Duration":{"shape":"Time"}
- }
- },
- "Timing":{
- "type":"structure",
- "members":{
- "SubmitTimeMillis":{"shape":"NullableLong"},
- "StartTimeMillis":{"shape":"NullableLong"},
- "FinishTimeMillis":{"shape":"NullableLong"}
- }
- },
- "UpdatePipelineNotificationsRequest":{
- "type":"structure",
- "required":[
- "Id",
- "Notifications"
- ],
- "members":{
- "Id":{
- "shape":"Id",
- "location":"uri",
- "locationName":"Id"
- },
- "Notifications":{"shape":"Notifications"}
- }
- },
- "UpdatePipelineNotificationsResponse":{
- "type":"structure",
- "members":{
- "Pipeline":{"shape":"Pipeline"}
- }
- },
- "UpdatePipelineRequest":{
- "type":"structure",
- "required":["Id"],
- "members":{
- "Id":{
- "shape":"Id",
- "location":"uri",
- "locationName":"Id"
- },
- "Name":{"shape":"Name"},
- "InputBucket":{"shape":"BucketName"},
- "Role":{"shape":"Role"},
- "AwsKmsKeyArn":{"shape":"KeyArn"},
- "Notifications":{"shape":"Notifications"},
- "ContentConfig":{"shape":"PipelineOutputConfig"},
- "ThumbnailConfig":{"shape":"PipelineOutputConfig"}
- }
- },
- "UpdatePipelineResponse":{
- "type":"structure",
- "members":{
- "Pipeline":{"shape":"Pipeline"},
- "Warnings":{"shape":"Warnings"}
- }
- },
- "UpdatePipelineStatusRequest":{
- "type":"structure",
- "required":[
- "Id",
- "Status"
- ],
- "members":{
- "Id":{
- "shape":"Id",
- "location":"uri",
- "locationName":"Id"
- },
- "Status":{"shape":"PipelineStatus"}
- }
- },
- "UpdatePipelineStatusResponse":{
- "type":"structure",
- "members":{
- "Pipeline":{"shape":"Pipeline"}
- }
- },
- "UserMetadata":{
- "type":"map",
- "key":{"shape":"String"},
- "value":{"shape":"String"}
- },
- "ValidationException":{
- "type":"structure",
- "members":{
- },
- "error":{"httpStatusCode":400},
- "exception":true
- },
- "VerticalAlign":{
- "type":"string",
- "pattern":"(^Top$)|(^Bottom$)|(^Center$)"
- },
- "VideoBitRate":{
- "type":"string",
- "pattern":"(^\\d{2,5}$)|(^auto$)"
- },
- "VideoCodec":{
- "type":"string",
- "pattern":"(^H\\.264$)|(^vp8$)|(^vp9$)|(^mpeg2$)|(^gif$)"
- },
- "VideoParameters":{
- "type":"structure",
- "members":{
- "Codec":{"shape":"VideoCodec"},
- "CodecOptions":{"shape":"CodecOptions"},
- "KeyframesMaxDist":{"shape":"KeyframesMaxDist"},
- "FixedGOP":{"shape":"FixedGOP"},
- "BitRate":{"shape":"VideoBitRate"},
- "FrameRate":{"shape":"FrameRate"},
- "MaxFrameRate":{"shape":"MaxFrameRate"},
- "Resolution":{"shape":"Resolution"},
- "AspectRatio":{"shape":"AspectRatio"},
- "MaxWidth":{"shape":"DigitsOrAuto"},
- "MaxHeight":{"shape":"DigitsOrAuto"},
- "DisplayAspectRatio":{"shape":"AspectRatio"},
- "SizingPolicy":{"shape":"SizingPolicy"},
- "PaddingPolicy":{"shape":"PaddingPolicy"},
- "Watermarks":{"shape":"PresetWatermarks"}
- }
- },
- "Warning":{
- "type":"structure",
- "members":{
- "Code":{"shape":"String"},
- "Message":{"shape":"String"}
- }
- },
- "Warnings":{
- "type":"list",
- "member":{"shape":"Warning"}
- },
- "WatermarkKey":{
- "type":"string",
- "max":1024,
- "min":1,
- "pattern":"(^.{1,1020}.jpg$)|(^.{1,1019}.jpeg$)|(^.{1,1020}.png$)"
- },
- "WatermarkSizingPolicy":{
- "type":"string",
- "pattern":"(^Fit$)|(^Stretch$)|(^ShrinkToFit$)"
- },
- "ZeroTo255String":{
- "type":"string",
- "max":255,
- "min":0
- },
- "ZeroTo512String":{
- "type":"string",
- "max":512,
- "min":0
- }
- }
- }
|