aws-sdk-medialive 1.114.0 → 1.116.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -120,6 +120,7 @@ module Aws::MediaLive
120
120
  ChannelClass = Shapes::StringShape.new(name: 'ChannelClass')
121
121
  ChannelConfigurationValidationError = Shapes::StructureShape.new(name: 'ChannelConfigurationValidationError')
122
122
  ChannelEgressEndpoint = Shapes::StructureShape.new(name: 'ChannelEgressEndpoint')
123
+ ChannelPipelineIdToRestart = Shapes::StringShape.new(name: 'ChannelPipelineIdToRestart')
123
124
  ChannelState = Shapes::StringShape.new(name: 'ChannelState')
124
125
  ChannelSummary = Shapes::StructureShape.new(name: 'ChannelSummary')
125
126
  ClaimDeviceRequest = Shapes::StructureShape.new(name: 'ClaimDeviceRequest')
@@ -591,6 +592,8 @@ module Aws::MediaLive
591
592
  ReservationVideoQuality = Shapes::StringShape.new(name: 'ReservationVideoQuality')
592
593
  ResourceConflict = Shapes::StructureShape.new(name: 'ResourceConflict')
593
594
  ResourceNotFound = Shapes::StructureShape.new(name: 'ResourceNotFound')
595
+ RestartChannelPipelinesRequest = Shapes::StructureShape.new(name: 'RestartChannelPipelinesRequest')
596
+ RestartChannelPipelinesResponse = Shapes::StructureShape.new(name: 'RestartChannelPipelinesResponse')
594
597
  RtmpAdMarkers = Shapes::StringShape.new(name: 'RtmpAdMarkers')
595
598
  RtmpCacheFullBehavior = Shapes::StringShape.new(name: 'RtmpCacheFullBehavior')
596
599
  RtmpCaptionData = Shapes::StringShape.new(name: 'RtmpCaptionData')
@@ -820,6 +823,7 @@ module Aws::MediaLive
820
823
  __listOfCaptionLanguageMapping = Shapes::ListShape.new(name: '__listOfCaptionLanguageMapping')
821
824
  __listOfCaptionSelector = Shapes::ListShape.new(name: '__listOfCaptionSelector')
822
825
  __listOfChannelEgressEndpoint = Shapes::ListShape.new(name: '__listOfChannelEgressEndpoint')
826
+ __listOfChannelPipelineIdToRestart = Shapes::ListShape.new(name: '__listOfChannelPipelineIdToRestart')
823
827
  __listOfChannelSummary = Shapes::ListShape.new(name: '__listOfChannelSummary')
824
828
  __listOfColorCorrection = Shapes::ListShape.new(name: '__listOfColorCorrection')
825
829
  __listOfFailoverCondition = Shapes::ListShape.new(name: '__listOfFailoverCondition')
@@ -2923,6 +2927,31 @@ module Aws::MediaLive
2923
2927
  ResourceNotFound.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
2924
2928
  ResourceNotFound.struct_class = Types::ResourceNotFound
2925
2929
 
2930
+ RestartChannelPipelinesRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelId"))
2931
+ RestartChannelPipelinesRequest.add_member(:pipeline_ids, Shapes::ShapeRef.new(shape: __listOfChannelPipelineIdToRestart, location_name: "pipelineIds"))
2932
+ RestartChannelPipelinesRequest.struct_class = Types::RestartChannelPipelinesRequest
2933
+
2934
+ RestartChannelPipelinesResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
2935
+ RestartChannelPipelinesResponse.add_member(:cdi_input_specification, Shapes::ShapeRef.new(shape: CdiInputSpecification, location_name: "cdiInputSpecification"))
2936
+ RestartChannelPipelinesResponse.add_member(:channel_class, Shapes::ShapeRef.new(shape: ChannelClass, location_name: "channelClass"))
2937
+ RestartChannelPipelinesResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
2938
+ RestartChannelPipelinesResponse.add_member(:egress_endpoints, Shapes::ShapeRef.new(shape: __listOfChannelEgressEndpoint, location_name: "egressEndpoints"))
2939
+ RestartChannelPipelinesResponse.add_member(:encoder_settings, Shapes::ShapeRef.new(shape: EncoderSettings, location_name: "encoderSettings"))
2940
+ RestartChannelPipelinesResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
2941
+ RestartChannelPipelinesResponse.add_member(:input_attachments, Shapes::ShapeRef.new(shape: __listOfInputAttachment, location_name: "inputAttachments"))
2942
+ RestartChannelPipelinesResponse.add_member(:input_specification, Shapes::ShapeRef.new(shape: InputSpecification, location_name: "inputSpecification"))
2943
+ RestartChannelPipelinesResponse.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "logLevel"))
2944
+ RestartChannelPipelinesResponse.add_member(:maintenance, Shapes::ShapeRef.new(shape: MaintenanceStatus, location_name: "maintenance"))
2945
+ RestartChannelPipelinesResponse.add_member(:maintenance_status, Shapes::ShapeRef.new(shape: __string, location_name: "maintenanceStatus"))
2946
+ RestartChannelPipelinesResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
2947
+ RestartChannelPipelinesResponse.add_member(:pipeline_details, Shapes::ShapeRef.new(shape: __listOfPipelineDetail, location_name: "pipelineDetails"))
2948
+ RestartChannelPipelinesResponse.add_member(:pipelines_running_count, Shapes::ShapeRef.new(shape: __integer, location_name: "pipelinesRunningCount"))
2949
+ RestartChannelPipelinesResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
2950
+ RestartChannelPipelinesResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "state"))
2951
+ RestartChannelPipelinesResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
2952
+ RestartChannelPipelinesResponse.add_member(:vpc, Shapes::ShapeRef.new(shape: VpcOutputSettingsDescription, location_name: "vpc"))
2953
+ RestartChannelPipelinesResponse.struct_class = Types::RestartChannelPipelinesResponse
2954
+
2926
2955
  RtmpCaptionInfoDestinationSettings.struct_class = Types::RtmpCaptionInfoDestinationSettings
2927
2956
 
2928
2957
  RtmpGroupSettings.add_member(:ad_markers, Shapes::ShapeRef.new(shape: __listOfRtmpAdMarkers, location_name: "adMarkers"))
@@ -3508,6 +3537,8 @@ module Aws::MediaLive
3508
3537
 
3509
3538
  __listOfChannelEgressEndpoint.member = Shapes::ShapeRef.new(shape: ChannelEgressEndpoint)
3510
3539
 
3540
+ __listOfChannelPipelineIdToRestart.member = Shapes::ShapeRef.new(shape: ChannelPipelineIdToRestart)
3541
+
3511
3542
  __listOfChannelSummary.member = Shapes::ShapeRef.new(shape: ChannelSummary)
3512
3543
 
3513
3544
  __listOfColorCorrection.member = Shapes::ShapeRef.new(shape: ColorCorrection)
@@ -4651,6 +4682,22 @@ module Aws::MediaLive
4651
4682
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
4652
4683
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4653
4684
  end)
4685
+
4686
+ api.add_operation(:restart_channel_pipelines, Seahorse::Model::Operation.new.tap do |o|
4687
+ o.name = "RestartChannelPipelines"
4688
+ o.http_method = "POST"
4689
+ o.http_request_uri = "/prod/channels/{channelId}/restartChannelPipelines"
4690
+ o.input = Shapes::ShapeRef.new(shape: RestartChannelPipelinesRequest)
4691
+ o.output = Shapes::ShapeRef.new(shape: RestartChannelPipelinesResponse)
4692
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
4693
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
4694
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
4695
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
4696
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
4697
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
4698
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
4699
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4700
+ end)
4654
4701
  end
4655
4702
 
4656
4703
  end
@@ -908,5 +908,19 @@ module Aws::MediaLive
908
908
  end
909
909
  end
910
910
 
911
+ class RestartChannelPipelines
912
+ def self.build(context)
913
+ unless context.config.regional_endpoint
914
+ endpoint = context.config.endpoint.to_s
915
+ end
916
+ Aws::MediaLive::EndpointParameters.new(
917
+ region: context.config.region,
918
+ use_dual_stack: context.config.use_dualstack_endpoint,
919
+ use_fips: context.config.use_fips_endpoint,
920
+ endpoint: endpoint,
921
+ )
922
+ end
923
+ end
924
+
911
925
  end
912
926
  end
@@ -14,6 +14,7 @@ module Aws::MediaLive
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::MediaLive::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -185,6 +186,8 @@ module Aws::MediaLive
185
186
  Aws::MediaLive::Endpoints::UpdateMultiplexProgram.build(context)
186
187
  when :update_reservation
187
188
  Aws::MediaLive::Endpoints::UpdateReservation.build(context)
189
+ when :restart_channel_pipelines
190
+ Aws::MediaLive::Endpoints::RestartChannelPipelines.build(context)
188
191
  end
189
192
  end
190
193
  end
@@ -1459,7 +1459,8 @@ module Aws::MediaLive
1459
1459
  # @!attribute [rw] accessibility
1460
1460
  # Indicates whether the caption track implements accessibility
1461
1461
  # features such as written descriptions of spoken dialog, music, and
1462
- # sounds.
1462
+ # sounds. This signaling is added to HLS output group and MediaPackage
1463
+ # output group.
1463
1464
  # @return [String]
1464
1465
  #
1465
1466
  # @!attribute [rw] caption_selector_name
@@ -2086,7 +2087,7 @@ module Aws::MediaLive
2086
2087
  # @return [String]
2087
2088
  #
2088
2089
  # @!attribute [rw] request_id
2089
- # Unique request ID to be specified. This is needed to prevent retries from creating multiple resources. **A suitable default value is auto-generated.** You should normally
2090
+ # Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.**A suitable default value is auto-generated.** You should normally
2090
2091
  # not need to pass this option.
2091
2092
  # @return [String]
2092
2093
  #
@@ -2247,7 +2248,7 @@ module Aws::MediaLive
2247
2248
  # @return [String]
2248
2249
  #
2249
2250
  # @!attribute [rw] request_id
2250
- # 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
2251
+ # 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
2251
2252
  # not need to pass this option.
2252
2253
  # @return [String]
2253
2254
  #
@@ -2430,7 +2431,7 @@ module Aws::MediaLive
2430
2431
  # @return [String]
2431
2432
  #
2432
2433
  # @!attribute [rw] request_id
2433
- # Unique request ID. This prevents retries from creating multiple resources. **A suitable default value is auto-generated.** You should normally
2434
+ # Unique request ID. This prevents retries from creating multiple resources.**A suitable default value is auto-generated.** You should normally
2434
2435
  # not need to pass this option.
2435
2436
  # @return [String]
2436
2437
  #
@@ -2459,7 +2460,7 @@ module Aws::MediaLive
2459
2460
  # @return [String]
2460
2461
  #
2461
2462
  # @!attribute [rw] request_id
2462
- # Unique request ID. This prevents retries from creating multiple resources. **A suitable default value is auto-generated.** You should normally
2463
+ # Unique request ID. This prevents retries from creating multiple resources.**A suitable default value is auto-generated.** You should normally
2463
2464
  # not need to pass this option.
2464
2465
  # @return [String]
2465
2466
  #
@@ -2578,7 +2579,7 @@ module Aws::MediaLive
2578
2579
  end
2579
2580
 
2580
2581
  # @!attribute [rw] request_id
2581
- # 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
2582
+ # 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
2582
2583
  # not need to pass this option.
2583
2584
  # @return [String]
2584
2585
  #
@@ -3238,6 +3239,8 @@ module Aws::MediaLive
3238
3239
  # @return [String]
3239
3240
  #
3240
3241
  # @!attribute [rw] accept
3242
+ # The HTTP Accept header. Indicates the requested type fothe
3243
+ # thumbnail.
3241
3244
  # @return [String]
3242
3245
  #
3243
3246
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDeviceThumbnailRequest AWS API Documentation
@@ -3250,9 +3253,12 @@ module Aws::MediaLive
3250
3253
  end
3251
3254
 
3252
3255
  # @!attribute [rw] body
3256
+ # The binary data for the thumbnail that the Link device has most
3257
+ # recently sent to MediaLive.
3253
3258
  # @return [IO]
3254
3259
  #
3255
3260
  # @!attribute [rw] content_type
3261
+ # Specifies the media type of the thumbnail.
3256
3262
  # @return [String]
3257
3263
  #
3258
3264
  # @!attribute [rw] content_length
@@ -3262,6 +3268,7 @@ module Aws::MediaLive
3262
3268
  # @return [String]
3263
3269
  #
3264
3270
  # @!attribute [rw] last_modified
3271
+ # Placeholder documentation for \_\_timestamp
3265
3272
  # @return [Time]
3266
3273
  #
3267
3274
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDeviceThumbnailResponse AWS API Documentation
@@ -13251,5 +13258,110 @@ module Aws::MediaLive
13251
13258
  include Aws::Structure
13252
13259
  end
13253
13260
 
13261
+ # @!attribute [rw] channel_id
13262
+ # @return [String]
13263
+ #
13264
+ # @!attribute [rw] pipeline_ids
13265
+ # An array of pipelines to restart in this channel. Format PIPELINE\_0
13266
+ # or PIPELINE\_1.
13267
+ # @return [Array<String>]
13268
+ #
13269
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RestartChannelPipelinesRequest AWS API Documentation
13270
+ #
13271
+ class RestartChannelPipelinesRequest < Struct.new(
13272
+ :channel_id,
13273
+ :pipeline_ids)
13274
+ SENSITIVE = []
13275
+ include Aws::Structure
13276
+ end
13277
+
13278
+ # @!attribute [rw] arn
13279
+ # @return [String]
13280
+ #
13281
+ # @!attribute [rw] cdi_input_specification
13282
+ # @return [Types::CdiInputSpecification]
13283
+ #
13284
+ # @!attribute [rw] channel_class
13285
+ # A standard channel has two encoding pipelines and a single pipeline
13286
+ # channel only has one.
13287
+ # @return [String]
13288
+ #
13289
+ # @!attribute [rw] destinations
13290
+ # @return [Array<Types::OutputDestination>]
13291
+ #
13292
+ # @!attribute [rw] egress_endpoints
13293
+ # @return [Array<Types::ChannelEgressEndpoint>]
13294
+ #
13295
+ # @!attribute [rw] encoder_settings
13296
+ # Encoder Settings
13297
+ # @return [Types::EncoderSettings]
13298
+ #
13299
+ # @!attribute [rw] id
13300
+ # @return [String]
13301
+ #
13302
+ # @!attribute [rw] input_attachments
13303
+ # @return [Array<Types::InputAttachment>]
13304
+ #
13305
+ # @!attribute [rw] input_specification
13306
+ # @return [Types::InputSpecification]
13307
+ #
13308
+ # @!attribute [rw] log_level
13309
+ # The log level the user wants for their channel.
13310
+ # @return [String]
13311
+ #
13312
+ # @!attribute [rw] maintenance
13313
+ # @return [Types::MaintenanceStatus]
13314
+ #
13315
+ # @!attribute [rw] maintenance_status
13316
+ # @return [String]
13317
+ #
13318
+ # @!attribute [rw] name
13319
+ # @return [String]
13320
+ #
13321
+ # @!attribute [rw] pipeline_details
13322
+ # @return [Array<Types::PipelineDetail>]
13323
+ #
13324
+ # @!attribute [rw] pipelines_running_count
13325
+ # @return [Integer]
13326
+ #
13327
+ # @!attribute [rw] role_arn
13328
+ # @return [String]
13329
+ #
13330
+ # @!attribute [rw] state
13331
+ # @return [String]
13332
+ #
13333
+ # @!attribute [rw] tags
13334
+ # @return [Hash<String,String>]
13335
+ #
13336
+ # @!attribute [rw] vpc
13337
+ # The properties for a private VPC Output
13338
+ # @return [Types::VpcOutputSettingsDescription]
13339
+ #
13340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RestartChannelPipelinesResponse AWS API Documentation
13341
+ #
13342
+ class RestartChannelPipelinesResponse < Struct.new(
13343
+ :arn,
13344
+ :cdi_input_specification,
13345
+ :channel_class,
13346
+ :destinations,
13347
+ :egress_endpoints,
13348
+ :encoder_settings,
13349
+ :id,
13350
+ :input_attachments,
13351
+ :input_specification,
13352
+ :log_level,
13353
+ :maintenance,
13354
+ :maintenance_status,
13355
+ :name,
13356
+ :pipeline_details,
13357
+ :pipelines_running_count,
13358
+ :role_arn,
13359
+ :state,
13360
+ :tags,
13361
+ :vpc)
13362
+ SENSITIVE = []
13363
+ include Aws::Structure
13364
+ end
13365
+
13254
13366
  end
13255
13367
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-medialive/customizations'
53
53
  # @!group service
54
54
  module Aws::MediaLive
55
55
 
56
- GEM_VERSION = '1.114.0'
56
+ GEM_VERSION = '1.116.0'
57
57
 
58
58
  end