aws-sdk-medialive 1.63.0 → 1.64.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-medialive.rb +1 -1
- data/lib/aws-sdk-medialive/client.rb +76 -1
- data/lib/aws-sdk-medialive/client_api.rb +35 -0
- data/lib/aws-sdk-medialive/types.rb +81 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e95ef6ad856604098b0de9d5f47e6a96fbe835c0c8f8f6a8f7e1f0b2db025c2
|
4
|
+
data.tar.gz: b9413880edc56901de983c06df39411c0fc2ecf1a1d61a0b7ea6b7d31ebce4cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e9ede8205df59f33604c5cabcc36fc1040fd2c9939d39678ca06e8ec46bab546205e5b422a9b89d0187811e7a90272109f4f8b2e29d09a97ae1fa23fa153320
|
7
|
+
data.tar.gz: d05f8418f5f3ffdba87f035049a463c5cb76043ead12e1bfd96da7583024f2b92ea4b13cbf2361a9a89921f962bd2851f3a5fc5361825f328c0cac520421795f
|
data/lib/aws-sdk-medialive.rb
CHANGED
@@ -2390,6 +2390,8 @@ module Aws::MediaLive
|
|
2390
2390
|
# resp.input.input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
|
2391
2391
|
# resp.input.input_devices #=> Array
|
2392
2392
|
# resp.input.input_devices[0].id #=> String
|
2393
|
+
# resp.input.input_partner_ids #=> Array
|
2394
|
+
# resp.input.input_partner_ids[0] #=> String
|
2393
2395
|
# resp.input.input_source_type #=> String, one of "STATIC", "DYNAMIC"
|
2394
2396
|
# resp.input.media_connect_flows #=> Array
|
2395
2397
|
# resp.input.media_connect_flows[0].flow_arn #=> String
|
@@ -2606,6 +2608,72 @@ module Aws::MediaLive
|
|
2606
2608
|
req.send_request(options)
|
2607
2609
|
end
|
2608
2610
|
|
2611
|
+
# Create a partner input
|
2612
|
+
#
|
2613
|
+
# @option params [required, String] :input_id
|
2614
|
+
#
|
2615
|
+
# @option params [String] :request_id
|
2616
|
+
# **A suitable default value is auto-generated.** You should normally
|
2617
|
+
# not need to pass this option.**
|
2618
|
+
#
|
2619
|
+
# @option params [Hash<String,String>] :tags
|
2620
|
+
#
|
2621
|
+
# @return [Types::CreatePartnerInputResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2622
|
+
#
|
2623
|
+
# * {Types::CreatePartnerInputResponse#input #input} => Types::Input
|
2624
|
+
#
|
2625
|
+
# @example Request syntax with placeholder values
|
2626
|
+
#
|
2627
|
+
# resp = client.create_partner_input({
|
2628
|
+
# input_id: "__string", # required
|
2629
|
+
# request_id: "__string",
|
2630
|
+
# tags: {
|
2631
|
+
# "__string" => "__string",
|
2632
|
+
# },
|
2633
|
+
# })
|
2634
|
+
#
|
2635
|
+
# @example Response structure
|
2636
|
+
#
|
2637
|
+
# resp.input.arn #=> String
|
2638
|
+
# resp.input.attached_channels #=> Array
|
2639
|
+
# resp.input.attached_channels[0] #=> String
|
2640
|
+
# resp.input.destinations #=> Array
|
2641
|
+
# resp.input.destinations[0].ip #=> String
|
2642
|
+
# resp.input.destinations[0].port #=> String
|
2643
|
+
# resp.input.destinations[0].url #=> String
|
2644
|
+
# resp.input.destinations[0].vpc.availability_zone #=> String
|
2645
|
+
# resp.input.destinations[0].vpc.network_interface_id #=> String
|
2646
|
+
# resp.input.id #=> String
|
2647
|
+
# resp.input.input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
|
2648
|
+
# resp.input.input_devices #=> Array
|
2649
|
+
# resp.input.input_devices[0].id #=> String
|
2650
|
+
# resp.input.input_partner_ids #=> Array
|
2651
|
+
# resp.input.input_partner_ids[0] #=> String
|
2652
|
+
# resp.input.input_source_type #=> String, one of "STATIC", "DYNAMIC"
|
2653
|
+
# resp.input.media_connect_flows #=> Array
|
2654
|
+
# resp.input.media_connect_flows[0].flow_arn #=> String
|
2655
|
+
# resp.input.name #=> String
|
2656
|
+
# resp.input.role_arn #=> String
|
2657
|
+
# resp.input.security_groups #=> Array
|
2658
|
+
# resp.input.security_groups[0] #=> String
|
2659
|
+
# resp.input.sources #=> Array
|
2660
|
+
# resp.input.sources[0].password_param #=> String
|
2661
|
+
# resp.input.sources[0].url #=> String
|
2662
|
+
# resp.input.sources[0].username #=> String
|
2663
|
+
# resp.input.state #=> String, one of "CREATING", "DETACHED", "ATTACHED", "DELETING", "DELETED"
|
2664
|
+
# resp.input.tags #=> Hash
|
2665
|
+
# resp.input.tags["__string"] #=> String
|
2666
|
+
# resp.input.type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT", "INPUT_DEVICE", "AWS_CDI"
|
2667
|
+
#
|
2668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreatePartnerInput AWS API Documentation
|
2669
|
+
#
|
2670
|
+
# @overload create_partner_input(params = {})
|
2671
|
+
# @param [Hash] params ({})
|
2672
|
+
def create_partner_input(params = {}, options = {})
|
2673
|
+
req = build_request(:create_partner_input, params)
|
2674
|
+
req.send_request(options)
|
2675
|
+
end
|
2676
|
+
|
2609
2677
|
# Create tags for a resource
|
2610
2678
|
#
|
2611
2679
|
# @option params [required, String] :resource_arn
|
@@ -4178,6 +4246,7 @@ module Aws::MediaLive
|
|
4178
4246
|
# * {Types::DescribeInputResponse#id #id} => String
|
4179
4247
|
# * {Types::DescribeInputResponse#input_class #input_class} => String
|
4180
4248
|
# * {Types::DescribeInputResponse#input_devices #input_devices} => Array<Types::InputDeviceSettings>
|
4249
|
+
# * {Types::DescribeInputResponse#input_partner_ids #input_partner_ids} => Array<String>
|
4181
4250
|
# * {Types::DescribeInputResponse#input_source_type #input_source_type} => String
|
4182
4251
|
# * {Types::DescribeInputResponse#media_connect_flows #media_connect_flows} => Array<Types::MediaConnectFlow>
|
4183
4252
|
# * {Types::DescribeInputResponse#name #name} => String
|
@@ -4209,6 +4278,8 @@ module Aws::MediaLive
|
|
4209
4278
|
# resp.input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
|
4210
4279
|
# resp.input_devices #=> Array
|
4211
4280
|
# resp.input_devices[0].id #=> String
|
4281
|
+
# resp.input_partner_ids #=> Array
|
4282
|
+
# resp.input_partner_ids[0] #=> String
|
4212
4283
|
# resp.input_source_type #=> String, one of "STATIC", "DYNAMIC"
|
4213
4284
|
# resp.media_connect_flows #=> Array
|
4214
4285
|
# resp.media_connect_flows[0].flow_arn #=> String
|
@@ -5024,6 +5095,8 @@ module Aws::MediaLive
|
|
5024
5095
|
# resp.inputs[0].input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
|
5025
5096
|
# resp.inputs[0].input_devices #=> Array
|
5026
5097
|
# resp.inputs[0].input_devices[0].id #=> String
|
5098
|
+
# resp.inputs[0].input_partner_ids #=> Array
|
5099
|
+
# resp.inputs[0].input_partner_ids[0] #=> String
|
5027
5100
|
# resp.inputs[0].input_source_type #=> String, one of "STATIC", "DYNAMIC"
|
5028
5101
|
# resp.inputs[0].media_connect_flows #=> Array
|
5029
5102
|
# resp.inputs[0].media_connect_flows[0].flow_arn #=> String
|
@@ -9040,6 +9113,8 @@ module Aws::MediaLive
|
|
9040
9113
|
# resp.input.input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
|
9041
9114
|
# resp.input.input_devices #=> Array
|
9042
9115
|
# resp.input.input_devices[0].id #=> String
|
9116
|
+
# resp.input.input_partner_ids #=> Array
|
9117
|
+
# resp.input.input_partner_ids[0] #=> String
|
9043
9118
|
# resp.input.input_source_type #=> String, one of "STATIC", "DYNAMIC"
|
9044
9119
|
# resp.input.media_connect_flows #=> Array
|
9045
9120
|
# resp.input.media_connect_flows[0].flow_arn #=> String
|
@@ -9397,7 +9472,7 @@ module Aws::MediaLive
|
|
9397
9472
|
params: params,
|
9398
9473
|
config: config)
|
9399
9474
|
context[:gem_name] = 'aws-sdk-medialive'
|
9400
|
-
context[:gem_version] = '1.
|
9475
|
+
context[:gem_version] = '1.64.0'
|
9401
9476
|
Seahorse::Client::Request.new(handlers, context)
|
9402
9477
|
end
|
9403
9478
|
|
@@ -134,6 +134,10 @@ module Aws::MediaLive
|
|
134
134
|
CreateMultiplexRequest = Shapes::StructureShape.new(name: 'CreateMultiplexRequest')
|
135
135
|
CreateMultiplexResponse = Shapes::StructureShape.new(name: 'CreateMultiplexResponse')
|
136
136
|
CreateMultiplexResultModel = Shapes::StructureShape.new(name: 'CreateMultiplexResultModel')
|
137
|
+
CreatePartnerInput = Shapes::StructureShape.new(name: 'CreatePartnerInput')
|
138
|
+
CreatePartnerInputRequest = Shapes::StructureShape.new(name: 'CreatePartnerInputRequest')
|
139
|
+
CreatePartnerInputResponse = Shapes::StructureShape.new(name: 'CreatePartnerInputResponse')
|
140
|
+
CreatePartnerInputResultModel = Shapes::StructureShape.new(name: 'CreatePartnerInputResultModel')
|
137
141
|
CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
|
138
142
|
DeleteChannelRequest = Shapes::StructureShape.new(name: 'DeleteChannelRequest')
|
139
143
|
DeleteChannelResponse = Shapes::StructureShape.new(name: 'DeleteChannelResponse')
|
@@ -1224,6 +1228,21 @@ module Aws::MediaLive
|
|
1224
1228
|
CreateMultiplexResultModel.add_member(:multiplex, Shapes::ShapeRef.new(shape: Multiplex, location_name: "multiplex"))
|
1225
1229
|
CreateMultiplexResultModel.struct_class = Types::CreateMultiplexResultModel
|
1226
1230
|
|
1231
|
+
CreatePartnerInput.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
|
1232
|
+
CreatePartnerInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1233
|
+
CreatePartnerInput.struct_class = Types::CreatePartnerInput
|
1234
|
+
|
1235
|
+
CreatePartnerInputRequest.add_member(:input_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "inputId"))
|
1236
|
+
CreatePartnerInputRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
|
1237
|
+
CreatePartnerInputRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1238
|
+
CreatePartnerInputRequest.struct_class = Types::CreatePartnerInputRequest
|
1239
|
+
|
1240
|
+
CreatePartnerInputResponse.add_member(:input, Shapes::ShapeRef.new(shape: Input, location_name: "input"))
|
1241
|
+
CreatePartnerInputResponse.struct_class = Types::CreatePartnerInputResponse
|
1242
|
+
|
1243
|
+
CreatePartnerInputResultModel.add_member(:input, Shapes::ShapeRef.new(shape: Input, location_name: "input"))
|
1244
|
+
CreatePartnerInputResultModel.struct_class = Types::CreatePartnerInputResultModel
|
1245
|
+
|
1227
1246
|
CreateTagsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
|
1228
1247
|
CreateTagsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1229
1248
|
CreateTagsRequest.struct_class = Types::CreateTagsRequest
|
@@ -1379,6 +1398,7 @@ module Aws::MediaLive
|
|
1379
1398
|
DescribeInputResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
|
1380
1399
|
DescribeInputResponse.add_member(:input_class, Shapes::ShapeRef.new(shape: InputClass, location_name: "inputClass"))
|
1381
1400
|
DescribeInputResponse.add_member(:input_devices, Shapes::ShapeRef.new(shape: __listOfInputDeviceSettings, location_name: "inputDevices"))
|
1401
|
+
DescribeInputResponse.add_member(:input_partner_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputPartnerIds"))
|
1382
1402
|
DescribeInputResponse.add_member(:input_source_type, Shapes::ShapeRef.new(shape: InputSourceType, location_name: "inputSourceType"))
|
1383
1403
|
DescribeInputResponse.add_member(:media_connect_flows, Shapes::ShapeRef.new(shape: __listOfMediaConnectFlow, location_name: "mediaConnectFlows"))
|
1384
1404
|
DescribeInputResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
@@ -1823,6 +1843,7 @@ module Aws::MediaLive
|
|
1823
1843
|
Input.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
|
1824
1844
|
Input.add_member(:input_class, Shapes::ShapeRef.new(shape: InputClass, location_name: "inputClass"))
|
1825
1845
|
Input.add_member(:input_devices, Shapes::ShapeRef.new(shape: __listOfInputDeviceSettings, location_name: "inputDevices"))
|
1846
|
+
Input.add_member(:input_partner_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputPartnerIds"))
|
1826
1847
|
Input.add_member(:input_source_type, Shapes::ShapeRef.new(shape: InputSourceType, location_name: "inputSourceType"))
|
1827
1848
|
Input.add_member(:media_connect_flows, Shapes::ShapeRef.new(shape: __listOfMediaConnectFlow, location_name: "mediaConnectFlows"))
|
1828
1849
|
Input.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
@@ -3298,6 +3319,20 @@ module Aws::MediaLive
|
|
3298
3319
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3299
3320
|
end)
|
3300
3321
|
|
3322
|
+
api.add_operation(:create_partner_input, Seahorse::Model::Operation.new.tap do |o|
|
3323
|
+
o.name = "CreatePartnerInput"
|
3324
|
+
o.http_method = "POST"
|
3325
|
+
o.http_request_uri = "/prod/inputs/{inputId}/partners"
|
3326
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePartnerInputRequest)
|
3327
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePartnerInputResponse)
|
3328
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3329
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3330
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3331
|
+
o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
|
3332
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
3333
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3334
|
+
end)
|
3335
|
+
|
3301
3336
|
api.add_operation(:create_tags, Seahorse::Model::Operation.new.tap do |o|
|
3302
3337
|
o.name = "CreateTags"
|
3303
3338
|
o.http_method = "POST"
|
@@ -4389,6 +4389,78 @@ module Aws::MediaLive
|
|
4389
4389
|
include Aws::Structure
|
4390
4390
|
end
|
4391
4391
|
|
4392
|
+
# @!attribute [rw] request_id
|
4393
|
+
# Unique identifier of the request to ensure the request is handled exactly once in case of retries. **A suitable default value is auto-generated.** You should normally
|
4394
|
+
# not need to pass this option.
|
4395
|
+
# @return [String]
|
4396
|
+
#
|
4397
|
+
# @!attribute [rw] tags
|
4398
|
+
# A collection of key-value pairs.
|
4399
|
+
# @return [Hash<String,String>]
|
4400
|
+
#
|
4401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreatePartnerInput AWS API Documentation
|
4402
|
+
#
|
4403
|
+
class CreatePartnerInput < Struct.new(
|
4404
|
+
:request_id,
|
4405
|
+
:tags)
|
4406
|
+
SENSITIVE = []
|
4407
|
+
include Aws::Structure
|
4408
|
+
end
|
4409
|
+
|
4410
|
+
# @note When making an API call, you may pass CreatePartnerInputRequest
|
4411
|
+
# data as a hash:
|
4412
|
+
#
|
4413
|
+
# {
|
4414
|
+
# input_id: "__string", # required
|
4415
|
+
# request_id: "__string",
|
4416
|
+
# tags: {
|
4417
|
+
# "__string" => "__string",
|
4418
|
+
# },
|
4419
|
+
# }
|
4420
|
+
#
|
4421
|
+
# @!attribute [rw] input_id
|
4422
|
+
# @return [String]
|
4423
|
+
#
|
4424
|
+
# @!attribute [rw] request_id
|
4425
|
+
# **A suitable default value is auto-generated.** You should normally
|
4426
|
+
# not need to pass this option.
|
4427
|
+
# @return [String]
|
4428
|
+
#
|
4429
|
+
# @!attribute [rw] tags
|
4430
|
+
# @return [Hash<String,String>]
|
4431
|
+
#
|
4432
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreatePartnerInputRequest AWS API Documentation
|
4433
|
+
#
|
4434
|
+
class CreatePartnerInputRequest < Struct.new(
|
4435
|
+
:input_id,
|
4436
|
+
:request_id,
|
4437
|
+
:tags)
|
4438
|
+
SENSITIVE = []
|
4439
|
+
include Aws::Structure
|
4440
|
+
end
|
4441
|
+
|
4442
|
+
# @!attribute [rw] input
|
4443
|
+
# @return [Types::Input]
|
4444
|
+
#
|
4445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreatePartnerInputResponse AWS API Documentation
|
4446
|
+
#
|
4447
|
+
class CreatePartnerInputResponse < Struct.new(
|
4448
|
+
:input)
|
4449
|
+
SENSITIVE = []
|
4450
|
+
include Aws::Structure
|
4451
|
+
end
|
4452
|
+
|
4453
|
+
# @!attribute [rw] input
|
4454
|
+
# @return [Types::Input]
|
4455
|
+
#
|
4456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreatePartnerInputResultModel AWS API Documentation
|
4457
|
+
#
|
4458
|
+
class CreatePartnerInputResultModel < Struct.new(
|
4459
|
+
:input)
|
4460
|
+
SENSITIVE = []
|
4461
|
+
include Aws::Structure
|
4462
|
+
end
|
4463
|
+
|
4392
4464
|
# @note When making an API call, you may pass CreateTagsRequest
|
4393
4465
|
# data as a hash:
|
4394
4466
|
#
|
@@ -5099,6 +5171,9 @@ module Aws::MediaLive
|
|
5099
5171
|
# @!attribute [rw] input_devices
|
5100
5172
|
# @return [Array<Types::InputDeviceSettings>]
|
5101
5173
|
#
|
5174
|
+
# @!attribute [rw] input_partner_ids
|
5175
|
+
# @return [Array<String>]
|
5176
|
+
#
|
5102
5177
|
# @!attribute [rw] input_source_type
|
5103
5178
|
# There are two types of input sources, static and dynamic. If an
|
5104
5179
|
# input source is dynamic you can change the source url of the input
|
@@ -5140,6 +5215,7 @@ module Aws::MediaLive
|
|
5140
5215
|
:id,
|
5141
5216
|
:input_class,
|
5142
5217
|
:input_devices,
|
5218
|
+
:input_partner_ids,
|
5143
5219
|
:input_source_type,
|
5144
5220
|
:media_connect_flows,
|
5145
5221
|
:name,
|
@@ -9118,6 +9194,10 @@ module Aws::MediaLive
|
|
9118
9194
|
# Settings for the input devices.
|
9119
9195
|
# @return [Array<Types::InputDeviceSettings>]
|
9120
9196
|
#
|
9197
|
+
# @!attribute [rw] input_partner_ids
|
9198
|
+
# A list of IDs for all Inputs which are partners of this one.
|
9199
|
+
# @return [Array<String>]
|
9200
|
+
#
|
9121
9201
|
# @!attribute [rw] input_source_type
|
9122
9202
|
# Certain pull input sources can be dynamic, meaning that they can
|
9123
9203
|
# have their URL's dynamically changes during input switch actions.
|
@@ -9165,6 +9245,7 @@ module Aws::MediaLive
|
|
9165
9245
|
:id,
|
9166
9246
|
:input_class,
|
9167
9247
|
:input_devices,
|
9248
|
+
:input_partner_ids,
|
9168
9249
|
:input_source_type,
|
9169
9250
|
:media_connect_flows,
|
9170
9251
|
:name,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-medialive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.64.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: 2021-02-
|
11
|
+
date: 2021-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|