aws-sdk-mediaconvert 1.128.0 → 1.130.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediaconvert/client.rb +62 -3
- data/lib/aws-sdk-mediaconvert/client_api.rb +34 -0
- data/lib/aws-sdk-mediaconvert/endpoints.rb +14 -0
- data/lib/aws-sdk-mediaconvert/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-mediaconvert/types.rb +74 -2
- data/lib/aws-sdk-mediaconvert.rb +1 -1
- data/sig/client.rbs +16 -0
- data/sig/types.rbs +16 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86c6c279d8d816d532b7eb09686ef13b8017e3e0703b7a8f96533a94c305a905
|
4
|
+
data.tar.gz: 69acbcf9f371177274e08ea6d053b6442b63e28bb3bfec16521179d450b7d129
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3a7b304a36af7336a4bb7c6115e352601170011a3abbf805709146907d9c8f332ff9052277b7289b1a07815293d3f34f25d486697897ca11b475ad9c74e15ab
|
7
|
+
data.tar.gz: 94b5b1a15a69b066c5d8a343cd5e052f6422db0683e87b9a543198e7af04b9c7267075b30e39971d028599a423b45ad6e6d0160b41b79ba8fe32a9719a1d0978
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.130.0 (2024-06-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds the ability to search for historical job records within the management console using a search box and/or via the SDK/CLI with partial string matching search on input file name.
|
8
|
+
|
9
|
+
1.129.0 (2024-06-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.128.0 (2024-05-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.130.0
|
@@ -2247,8 +2247,10 @@ module Aws::MediaConvert
|
|
2247
2247
|
req.send_request(options)
|
2248
2248
|
end
|
2249
2249
|
|
2250
|
-
# Send
|
2251
|
-
# your account API endpoint.
|
2250
|
+
# Send a request with an empty body to the regional API endpoint to get
|
2251
|
+
# your account API endpoint. Note that DescribeEndpoints is no longer
|
2252
|
+
# required. We recommend that you send your requests directly to the
|
2253
|
+
# regional endpoint instead.
|
2252
2254
|
#
|
2253
2255
|
# @option params [Integer] :max_results
|
2254
2256
|
# Optional. Max number of endpoints, up to twenty, that will be returned
|
@@ -4018,6 +4020,63 @@ module Aws::MediaConvert
|
|
4018
4020
|
req.send_request(options)
|
4019
4021
|
end
|
4020
4022
|
|
4023
|
+
# Retrieve a JSON array that includes job details for up to twenty of
|
4024
|
+
# your most recent jobs. Optionally filter results further according to
|
4025
|
+
# input file, queue, or status. To retrieve the twenty next most recent
|
4026
|
+
# jobs, use the nextToken string returned with the array.
|
4027
|
+
#
|
4028
|
+
# @option params [String] :input_file
|
4029
|
+
# Optional. Provide your input file URL or your partial input file name.
|
4030
|
+
# The maximum length for an input file is 300 characters.
|
4031
|
+
#
|
4032
|
+
# @option params [Integer] :max_results
|
4033
|
+
# Optional. Number of jobs, up to twenty, that will be returned at one
|
4034
|
+
# time.
|
4035
|
+
#
|
4036
|
+
# @option params [String] :next_token
|
4037
|
+
# Optional. Use this string, provided with the response to a previous
|
4038
|
+
# request, to request the next batch of jobs.
|
4039
|
+
#
|
4040
|
+
# @option params [String] :order
|
4041
|
+
# Optional. When you request lists of resources, you can specify whether
|
4042
|
+
# they are sorted in ASCENDING or DESCENDING order. Default varies by
|
4043
|
+
# resource.
|
4044
|
+
#
|
4045
|
+
# @option params [String] :queue
|
4046
|
+
# Optional. Provide a queue name, or a queue ARN, to return only jobs
|
4047
|
+
# from that queue.
|
4048
|
+
#
|
4049
|
+
# @option params [String] :status
|
4050
|
+
# Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE,
|
4051
|
+
# CANCELED, or ERROR.
|
4052
|
+
#
|
4053
|
+
# @return [Types::SearchJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4054
|
+
#
|
4055
|
+
# * {Types::SearchJobsResponse#jobs #jobs} => Array<Types::Job>
|
4056
|
+
# * {Types::SearchJobsResponse#next_token #next_token} => String
|
4057
|
+
#
|
4058
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4059
|
+
#
|
4060
|
+
# @example Request syntax with placeholder values
|
4061
|
+
#
|
4062
|
+
# resp = client.search_jobs({
|
4063
|
+
# input_file: "__string",
|
4064
|
+
# max_results: 1,
|
4065
|
+
# next_token: "__string",
|
4066
|
+
# order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
4067
|
+
# queue: "__string",
|
4068
|
+
# status: "SUBMITTED", # accepts SUBMITTED, PROGRESSING, COMPLETE, CANCELED, ERROR
|
4069
|
+
# })
|
4070
|
+
#
|
4071
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/SearchJobs AWS API Documentation
|
4072
|
+
#
|
4073
|
+
# @overload search_jobs(params = {})
|
4074
|
+
# @param [Hash] params ({})
|
4075
|
+
def search_jobs(params = {}, options = {})
|
4076
|
+
req = build_request(:search_jobs, params)
|
4077
|
+
req.send_request(options)
|
4078
|
+
end
|
4079
|
+
|
4021
4080
|
# Add tags to a MediaConvert queue, preset, or job template. For
|
4022
4081
|
# information about tagging, see the User Guide at
|
4023
4082
|
# https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
|
@@ -5675,7 +5734,7 @@ module Aws::MediaConvert
|
|
5675
5734
|
params: params,
|
5676
5735
|
config: config)
|
5677
5736
|
context[:gem_name] = 'aws-sdk-mediaconvert'
|
5678
|
-
context[:gem_version] = '1.
|
5737
|
+
context[:gem_version] = '1.130.0'
|
5679
5738
|
Seahorse::Client::Request.new(handlers, context)
|
5680
5739
|
end
|
5681
5740
|
|
@@ -571,6 +571,8 @@ module Aws::MediaConvert
|
|
571
571
|
ScalingBehavior = Shapes::StringShape.new(name: 'ScalingBehavior')
|
572
572
|
SccDestinationFramerate = Shapes::StringShape.new(name: 'SccDestinationFramerate')
|
573
573
|
SccDestinationSettings = Shapes::StructureShape.new(name: 'SccDestinationSettings')
|
574
|
+
SearchJobsRequest = Shapes::StructureShape.new(name: 'SearchJobsRequest')
|
575
|
+
SearchJobsResponse = Shapes::StructureShape.new(name: 'SearchJobsResponse')
|
574
576
|
SimulateReservedQueue = Shapes::StringShape.new(name: 'SimulateReservedQueue')
|
575
577
|
SpekeKeyProvider = Shapes::StructureShape.new(name: 'SpekeKeyProvider')
|
576
578
|
SpekeKeyProviderCmaf = Shapes::StructureShape.new(name: 'SpekeKeyProviderCmaf')
|
@@ -2400,6 +2402,18 @@ module Aws::MediaConvert
|
|
2400
2402
|
SccDestinationSettings.add_member(:framerate, Shapes::ShapeRef.new(shape: SccDestinationFramerate, location_name: "framerate"))
|
2401
2403
|
SccDestinationSettings.struct_class = Types::SccDestinationSettings
|
2402
2404
|
|
2405
|
+
SearchJobsRequest.add_member(:input_file, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "inputFile"))
|
2406
|
+
SearchJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integerMin1Max20, location: "querystring", location_name: "maxResults"))
|
2407
|
+
SearchJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
2408
|
+
SearchJobsRequest.add_member(:order, Shapes::ShapeRef.new(shape: Order, location: "querystring", location_name: "order"))
|
2409
|
+
SearchJobsRequest.add_member(:queue, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "queue"))
|
2410
|
+
SearchJobsRequest.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, location: "querystring", location_name: "status"))
|
2411
|
+
SearchJobsRequest.struct_class = Types::SearchJobsRequest
|
2412
|
+
|
2413
|
+
SearchJobsResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: __listOfJob, location_name: "jobs"))
|
2414
|
+
SearchJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
2415
|
+
SearchJobsResponse.struct_class = Types::SearchJobsResponse
|
2416
|
+
|
2403
2417
|
SpekeKeyProvider.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: __stringPatternArnAwsUsGovAcm, location_name: "certificateArn"))
|
2404
2418
|
SpekeKeyProvider.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
|
2405
2419
|
SpekeKeyProvider.add_member(:system_ids, Shapes::ShapeRef.new(shape: __listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12, location_name: "systemIds"))
|
@@ -3171,6 +3185,26 @@ module Aws::MediaConvert
|
|
3171
3185
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3172
3186
|
end)
|
3173
3187
|
|
3188
|
+
api.add_operation(:search_jobs, Seahorse::Model::Operation.new.tap do |o|
|
3189
|
+
o.name = "SearchJobs"
|
3190
|
+
o.http_method = "GET"
|
3191
|
+
o.http_request_uri = "/2017-08-29/search"
|
3192
|
+
o.input = Shapes::ShapeRef.new(shape: SearchJobsRequest)
|
3193
|
+
o.output = Shapes::ShapeRef.new(shape: SearchJobsResponse)
|
3194
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3195
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3196
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3197
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3198
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3199
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3200
|
+
o[:pager] = Aws::Pager.new(
|
3201
|
+
limit_key: "max_results",
|
3202
|
+
tokens: {
|
3203
|
+
"next_token" => "next_token"
|
3204
|
+
}
|
3205
|
+
)
|
3206
|
+
end)
|
3207
|
+
|
3174
3208
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
3175
3209
|
o.name = "TagResource"
|
3176
3210
|
o.http_method = "POST"
|
@@ -334,6 +334,20 @@ module Aws::MediaConvert
|
|
334
334
|
end
|
335
335
|
end
|
336
336
|
|
337
|
+
class SearchJobs
|
338
|
+
def self.build(context)
|
339
|
+
unless context.config.regional_endpoint
|
340
|
+
endpoint = context.config.endpoint.to_s
|
341
|
+
end
|
342
|
+
Aws::MediaConvert::EndpointParameters.new(
|
343
|
+
region: context.config.region,
|
344
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
345
|
+
use_fips: context.config.use_fips_endpoint,
|
346
|
+
endpoint: endpoint,
|
347
|
+
)
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
337
351
|
class TagResource
|
338
352
|
def self.build(context)
|
339
353
|
unless context.config.regional_endpoint
|
@@ -104,6 +104,8 @@ module Aws::MediaConvert
|
|
104
104
|
Aws::MediaConvert::Endpoints::ListTagsForResource.build(context)
|
105
105
|
when :put_policy
|
106
106
|
Aws::MediaConvert::Endpoints::PutPolicy.build(context)
|
107
|
+
when :search_jobs
|
108
|
+
Aws::MediaConvert::Endpoints::SearchJobs.build(context)
|
107
109
|
when :tag_resource
|
108
110
|
Aws::MediaConvert::Endpoints::TagResource.build(context)
|
109
111
|
when :untag_resource
|
@@ -3697,8 +3697,10 @@ module Aws::MediaConvert
|
|
3697
3697
|
#
|
3698
3698
|
class DeleteQueueResponse < Aws::EmptyStructure; end
|
3699
3699
|
|
3700
|
-
# Send
|
3701
|
-
# your account API endpoint.
|
3700
|
+
# Send a request with an empty body to the regional API endpoint to get
|
3701
|
+
# your account API endpoint. Note that DescribeEndpoints is no longer
|
3702
|
+
# required. We recommend that you send your requests directly to the
|
3703
|
+
# regional endpoint instead.
|
3702
3704
|
#
|
3703
3705
|
# @!attribute [rw] max_results
|
3704
3706
|
# Optional. Max number of endpoints, up to twenty, that will be
|
@@ -11648,6 +11650,76 @@ module Aws::MediaConvert
|
|
11648
11650
|
include Aws::Structure
|
11649
11651
|
end
|
11650
11652
|
|
11653
|
+
# Retrieve a JSON array that includes job details for up to twenty of
|
11654
|
+
# your most recent jobs. Optionally filter results further according to
|
11655
|
+
# input file, queue, or status. To retrieve the twenty next most recent
|
11656
|
+
# jobs, use the nextToken string returned with the array.
|
11657
|
+
#
|
11658
|
+
# @!attribute [rw] input_file
|
11659
|
+
# Optional. Provide your input file URL or your partial input file
|
11660
|
+
# name. The maximum length for an input file is 300 characters.
|
11661
|
+
# @return [String]
|
11662
|
+
#
|
11663
|
+
# @!attribute [rw] max_results
|
11664
|
+
# Optional. Number of jobs, up to twenty, that will be returned at one
|
11665
|
+
# time.
|
11666
|
+
# @return [Integer]
|
11667
|
+
#
|
11668
|
+
# @!attribute [rw] next_token
|
11669
|
+
# Optional. Use this string, provided with the response to a previous
|
11670
|
+
# request, to request the next batch of jobs.
|
11671
|
+
# @return [String]
|
11672
|
+
#
|
11673
|
+
# @!attribute [rw] order
|
11674
|
+
# Optional. When you request lists of resources, you can specify
|
11675
|
+
# whether they are sorted in ASCENDING or DESCENDING order. Default
|
11676
|
+
# varies by resource.
|
11677
|
+
# @return [String]
|
11678
|
+
#
|
11679
|
+
# @!attribute [rw] queue
|
11680
|
+
# Optional. Provide a queue name, or a queue ARN, to return only jobs
|
11681
|
+
# from that queue.
|
11682
|
+
# @return [String]
|
11683
|
+
#
|
11684
|
+
# @!attribute [rw] status
|
11685
|
+
# Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE,
|
11686
|
+
# CANCELED, or ERROR.
|
11687
|
+
# @return [String]
|
11688
|
+
#
|
11689
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/SearchJobsRequest AWS API Documentation
|
11690
|
+
#
|
11691
|
+
class SearchJobsRequest < Struct.new(
|
11692
|
+
:input_file,
|
11693
|
+
:max_results,
|
11694
|
+
:next_token,
|
11695
|
+
:order,
|
11696
|
+
:queue,
|
11697
|
+
:status)
|
11698
|
+
SENSITIVE = []
|
11699
|
+
include Aws::Structure
|
11700
|
+
end
|
11701
|
+
|
11702
|
+
# Successful search jobs requests return a JSON array of jobs. If you
|
11703
|
+
# don't specify how they are ordered, you will receive the most
|
11704
|
+
# recently created first.
|
11705
|
+
#
|
11706
|
+
# @!attribute [rw] jobs
|
11707
|
+
# List of jobs.
|
11708
|
+
# @return [Array<Types::Job>]
|
11709
|
+
#
|
11710
|
+
# @!attribute [rw] next_token
|
11711
|
+
# Use this string to request the next batch of jobs.
|
11712
|
+
# @return [String]
|
11713
|
+
#
|
11714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/SearchJobsResponse AWS API Documentation
|
11715
|
+
#
|
11716
|
+
class SearchJobsResponse < Struct.new(
|
11717
|
+
:jobs,
|
11718
|
+
:next_token)
|
11719
|
+
SENSITIVE = []
|
11720
|
+
include Aws::Structure
|
11721
|
+
end
|
11722
|
+
|
11651
11723
|
# If your output group type is HLS, DASH, or Microsoft Smooth, use these
|
11652
11724
|
# settings when doing DRM encryption with a SPEKE-compliant key
|
11653
11725
|
# provider. If your output group type is CMAF, use the
|
data/lib/aws-sdk-mediaconvert.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -3926,6 +3926,22 @@ module Aws
|
|
3926
3926
|
) -> _PutPolicyResponseSuccess
|
3927
3927
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutPolicyResponseSuccess
|
3928
3928
|
|
3929
|
+
interface _SearchJobsResponseSuccess
|
3930
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SearchJobsResponse]
|
3931
|
+
def jobs: () -> ::Array[Types::Job]
|
3932
|
+
def next_token: () -> ::String
|
3933
|
+
end
|
3934
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaConvert/Client.html#search_jobs-instance_method
|
3935
|
+
def search_jobs: (
|
3936
|
+
?input_file: ::String,
|
3937
|
+
?max_results: ::Integer,
|
3938
|
+
?next_token: ::String,
|
3939
|
+
?order: ("ASCENDING" | "DESCENDING"),
|
3940
|
+
?queue: ::String,
|
3941
|
+
?status: ("SUBMITTED" | "PROGRESSING" | "COMPLETE" | "CANCELED" | "ERROR")
|
3942
|
+
) -> _SearchJobsResponseSuccess
|
3943
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchJobsResponseSuccess
|
3944
|
+
|
3929
3945
|
interface _TagResourceResponseSuccess
|
3930
3946
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
3931
3947
|
end
|
data/sig/types.rbs
CHANGED
@@ -1904,6 +1904,22 @@ module Aws::MediaConvert
|
|
1904
1904
|
SENSITIVE: []
|
1905
1905
|
end
|
1906
1906
|
|
1907
|
+
class SearchJobsRequest
|
1908
|
+
attr_accessor input_file: ::String
|
1909
|
+
attr_accessor max_results: ::Integer
|
1910
|
+
attr_accessor next_token: ::String
|
1911
|
+
attr_accessor order: ("ASCENDING" | "DESCENDING")
|
1912
|
+
attr_accessor queue: ::String
|
1913
|
+
attr_accessor status: ("SUBMITTED" | "PROGRESSING" | "COMPLETE" | "CANCELED" | "ERROR")
|
1914
|
+
SENSITIVE: []
|
1915
|
+
end
|
1916
|
+
|
1917
|
+
class SearchJobsResponse
|
1918
|
+
attr_accessor jobs: ::Array[Types::Job]
|
1919
|
+
attr_accessor next_token: ::String
|
1920
|
+
SENSITIVE: []
|
1921
|
+
end
|
1922
|
+
|
1907
1923
|
class SpekeKeyProvider
|
1908
1924
|
attr_accessor certificate_arn: ::String
|
1909
1925
|
attr_accessor resource_id: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-mediaconvert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.130.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.197.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.197.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|