aws-sdk-medialive 1.165.0 → 1.166.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2702bd636012dd90db3d7ec2d9b54b258941543901bee1eef7d0758ea2696576
4
- data.tar.gz: ead28e6b2999ceeebd1097e74c324c4df144d193d7eb98dc5dceff2f59c484b4
3
+ metadata.gz: 4b9d581269a7e40995dfc1e858a4d51e901b957c2d49c02ffc76ae6a7352f86a
4
+ data.tar.gz: adabffe038556bb6a0999ea690e38a8f81f3455e7b507de2c58a114a8dac863b
5
5
  SHA512:
6
- metadata.gz: b1204c42613b9d5258c371494e432afc81eb882bd643d023bdb8696e5e8d237d504812c040284e740ffa6f7b01c302a698d120aef76fe8090ebfca5a7d940ff7
7
- data.tar.gz: e7483f6d6f57cd289ffef1f5609980225187cee2bf9b8ca989d0142daa70f26811b44f18bde7b0b2cf06078acae3878fed8ff97f765dd853d78c729968162c5e
6
+ metadata.gz: bb8c0bf763fc089905dc9d71c4dcb29c1cfc0d1ef5c33301a5d4d85d99fdbf8b3a22984713c9d184c383ff93bf061c646320bc4f5c612f817bdde5c24f055f5e
7
+ data.tar.gz: 1638bcde1a13907c8e12ca2e40ae426e014879c323e132115bbb9ae14717cde180eeeb18d37c6e8ca027348d08c973ae333ff2786f7c79fa20734ddcea83ce44
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.166.0 (2025-10-22)
5
+ ------------------
6
+
7
+ * Feature - Add 3 API operations for fetching alerts: ListAlerts (Channels), ListClusterAlerts (MediaLive Anywhere), and ListMultiplexAlerts
8
+
4
9
  1.165.0 (2025-10-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.165.0
1
+ 1.166.0
@@ -14488,6 +14488,151 @@ module Aws::MediaLive
14488
14488
  req.send_request(options)
14489
14489
  end
14490
14490
 
14491
+ # List the alerts for a channel with optional filtering based on alert
14492
+ # state.
14493
+ #
14494
+ # @option params [required, String] :channel_id
14495
+ #
14496
+ # @option params [Integer] :max_results
14497
+ #
14498
+ # @option params [String] :next_token
14499
+ #
14500
+ # @option params [String] :state_filter
14501
+ #
14502
+ # @return [Types::ListAlertsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
14503
+ #
14504
+ # * {Types::ListAlertsResponse#alerts #alerts} => Array<Types::ChannelAlert>
14505
+ # * {Types::ListAlertsResponse#next_token #next_token} => String
14506
+ #
14507
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
14508
+ #
14509
+ # @example Request syntax with placeholder values
14510
+ #
14511
+ # resp = client.list_alerts({
14512
+ # channel_id: "__string", # required
14513
+ # max_results: 1,
14514
+ # next_token: "__string",
14515
+ # state_filter: "__string",
14516
+ # })
14517
+ #
14518
+ # @example Response structure
14519
+ #
14520
+ # resp.alerts #=> Array
14521
+ # resp.alerts[0].alert_type #=> String
14522
+ # resp.alerts[0].cleared_timestamp #=> Time
14523
+ # resp.alerts[0].id #=> String
14524
+ # resp.alerts[0].message #=> String
14525
+ # resp.alerts[0].pipeline_id #=> String
14526
+ # resp.alerts[0].set_timestamp #=> Time
14527
+ # resp.alerts[0].state #=> String, one of "SET", "CLEARED"
14528
+ # resp.next_token #=> String
14529
+ #
14530
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListAlerts AWS API Documentation
14531
+ #
14532
+ # @overload list_alerts(params = {})
14533
+ # @param [Hash] params ({})
14534
+ def list_alerts(params = {}, options = {})
14535
+ req = build_request(:list_alerts, params)
14536
+ req.send_request(options)
14537
+ end
14538
+
14539
+ # List the alerts for a cluster with optional filtering based on alert
14540
+ # state.
14541
+ #
14542
+ # @option params [required, String] :cluster_id
14543
+ #
14544
+ # @option params [Integer] :max_results
14545
+ #
14546
+ # @option params [String] :next_token
14547
+ #
14548
+ # @option params [String] :state_filter
14549
+ #
14550
+ # @return [Types::ListClusterAlertsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
14551
+ #
14552
+ # * {Types::ListClusterAlertsResponse#alerts #alerts} => Array<Types::ClusterAlert>
14553
+ # * {Types::ListClusterAlertsResponse#next_token #next_token} => String
14554
+ #
14555
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
14556
+ #
14557
+ # @example Request syntax with placeholder values
14558
+ #
14559
+ # resp = client.list_cluster_alerts({
14560
+ # cluster_id: "__string", # required
14561
+ # max_results: 1,
14562
+ # next_token: "__string",
14563
+ # state_filter: "__string",
14564
+ # })
14565
+ #
14566
+ # @example Response structure
14567
+ #
14568
+ # resp.alerts #=> Array
14569
+ # resp.alerts[0].alert_type #=> String
14570
+ # resp.alerts[0].channel_id #=> String
14571
+ # resp.alerts[0].cleared_timestamp #=> Time
14572
+ # resp.alerts[0].id #=> String
14573
+ # resp.alerts[0].message #=> String
14574
+ # resp.alerts[0].node_id #=> String
14575
+ # resp.alerts[0].set_timestamp #=> Time
14576
+ # resp.alerts[0].state #=> String, one of "SET", "CLEARED"
14577
+ # resp.next_token #=> String
14578
+ #
14579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListClusterAlerts AWS API Documentation
14580
+ #
14581
+ # @overload list_cluster_alerts(params = {})
14582
+ # @param [Hash] params ({})
14583
+ def list_cluster_alerts(params = {}, options = {})
14584
+ req = build_request(:list_cluster_alerts, params)
14585
+ req.send_request(options)
14586
+ end
14587
+
14588
+ # List the alerts for a multiplex with optional filtering based on alert
14589
+ # state.
14590
+ #
14591
+ # @option params [Integer] :max_results
14592
+ #
14593
+ # @option params [required, String] :multiplex_id
14594
+ #
14595
+ # @option params [String] :next_token
14596
+ #
14597
+ # @option params [String] :state_filter
14598
+ #
14599
+ # @return [Types::ListMultiplexAlertsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
14600
+ #
14601
+ # * {Types::ListMultiplexAlertsResponse#alerts #alerts} => Array<Types::MultiplexAlert>
14602
+ # * {Types::ListMultiplexAlertsResponse#next_token #next_token} => String
14603
+ #
14604
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
14605
+ #
14606
+ # @example Request syntax with placeholder values
14607
+ #
14608
+ # resp = client.list_multiplex_alerts({
14609
+ # max_results: 1,
14610
+ # multiplex_id: "__string", # required
14611
+ # next_token: "__string",
14612
+ # state_filter: "__string",
14613
+ # })
14614
+ #
14615
+ # @example Response structure
14616
+ #
14617
+ # resp.alerts #=> Array
14618
+ # resp.alerts[0].alert_type #=> String
14619
+ # resp.alerts[0].cleared_timestamp #=> Time
14620
+ # resp.alerts[0].id #=> String
14621
+ # resp.alerts[0].message #=> String
14622
+ # resp.alerts[0].pipeline_id #=> String
14623
+ # resp.alerts[0].set_timestamp #=> Time
14624
+ # resp.alerts[0].state #=> String, one of "SET", "CLEARED"
14625
+ # resp.next_token #=> String
14626
+ #
14627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexAlerts AWS API Documentation
14628
+ #
14629
+ # @overload list_multiplex_alerts(params = {})
14630
+ # @param [Hash] params ({})
14631
+ def list_multiplex_alerts(params = {}, options = {})
14632
+ req = build_request(:list_multiplex_alerts, params)
14633
+ req.send_request(options)
14634
+ end
14635
+
14491
14636
  # @!endgroup
14492
14637
 
14493
14638
  # @param params ({})
@@ -14506,7 +14651,7 @@ module Aws::MediaLive
14506
14651
  tracer: tracer
14507
14652
  )
14508
14653
  context[:gem_name] = 'aws-sdk-medialive'
14509
- context[:gem_version] = '1.165.0'
14654
+ context[:gem_version] = '1.166.0'
14510
14655
  Seahorse::Client::Request.new(handlers, context)
14511
14656
  end
14512
14657
 
@@ -133,6 +133,8 @@ module Aws::MediaLive
133
133
  CdiInputResolution = Shapes::StringShape.new(name: 'CdiInputResolution')
134
134
  CdiInputSpecification = Shapes::StructureShape.new(name: 'CdiInputSpecification')
135
135
  Channel = Shapes::StructureShape.new(name: 'Channel')
136
+ ChannelAlert = Shapes::StructureShape.new(name: 'ChannelAlert')
137
+ ChannelAlertState = Shapes::StringShape.new(name: 'ChannelAlertState')
136
138
  ChannelClass = Shapes::StringShape.new(name: 'ChannelClass')
137
139
  ChannelConfigurationValidationError = Shapes::StructureShape.new(name: 'ChannelConfigurationValidationError')
138
140
  ChannelEgressEndpoint = Shapes::StructureShape.new(name: 'ChannelEgressEndpoint')
@@ -150,6 +152,8 @@ module Aws::MediaLive
150
152
  CloudWatchAlarmTemplateSummary = Shapes::StructureShape.new(name: 'CloudWatchAlarmTemplateSummary')
151
153
  CloudWatchAlarmTemplateTargetResourceType = Shapes::StringShape.new(name: 'CloudWatchAlarmTemplateTargetResourceType')
152
154
  CloudWatchAlarmTemplateTreatMissingData = Shapes::StringShape.new(name: 'CloudWatchAlarmTemplateTreatMissingData')
155
+ ClusterAlert = Shapes::StructureShape.new(name: 'ClusterAlert')
156
+ ClusterAlertState = Shapes::StringShape.new(name: 'ClusterAlertState')
153
157
  ClusterNetworkSettings = Shapes::StructureShape.new(name: 'ClusterNetworkSettings')
154
158
  ClusterNetworkSettingsCreateRequest = Shapes::StructureShape.new(name: 'ClusterNetworkSettingsCreateRequest')
155
159
  ClusterNetworkSettingsUpdateRequest = Shapes::StructureShape.new(name: 'ClusterNetworkSettingsUpdateRequest')
@@ -584,6 +588,9 @@ module Aws::MediaLive
584
588
  KeyProviderSettings = Shapes::StructureShape.new(name: 'KeyProviderSettings')
585
589
  LastFrameClippingBehavior = Shapes::StringShape.new(name: 'LastFrameClippingBehavior')
586
590
  LimitExceeded = Shapes::StructureShape.new(name: 'LimitExceeded')
591
+ ListAlertsRequest = Shapes::StructureShape.new(name: 'ListAlertsRequest')
592
+ ListAlertsResponse = Shapes::StructureShape.new(name: 'ListAlertsResponse')
593
+ ListAlertsResultModel = Shapes::StructureShape.new(name: 'ListAlertsResultModel')
587
594
  ListChannelPlacementGroupsRequest = Shapes::StructureShape.new(name: 'ListChannelPlacementGroupsRequest')
588
595
  ListChannelPlacementGroupsResponse = Shapes::StructureShape.new(name: 'ListChannelPlacementGroupsResponse')
589
596
  ListChannelPlacementGroupsResult = Shapes::StructureShape.new(name: 'ListChannelPlacementGroupsResult')
@@ -596,6 +603,9 @@ module Aws::MediaLive
596
603
  ListCloudWatchAlarmTemplatesRequest = Shapes::StructureShape.new(name: 'ListCloudWatchAlarmTemplatesRequest')
597
604
  ListCloudWatchAlarmTemplatesResponse = Shapes::StructureShape.new(name: 'ListCloudWatchAlarmTemplatesResponse')
598
605
  ListCloudWatchAlarmTemplatesResponseContent = Shapes::StructureShape.new(name: 'ListCloudWatchAlarmTemplatesResponseContent')
606
+ ListClusterAlertsRequest = Shapes::StructureShape.new(name: 'ListClusterAlertsRequest')
607
+ ListClusterAlertsResponse = Shapes::StructureShape.new(name: 'ListClusterAlertsResponse')
608
+ ListClusterAlertsResultModel = Shapes::StructureShape.new(name: 'ListClusterAlertsResultModel')
599
609
  ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
600
610
  ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
601
611
  ListClustersResult = Shapes::StructureShape.new(name: 'ListClustersResult')
@@ -617,6 +627,9 @@ module Aws::MediaLive
617
627
  ListInputsRequest = Shapes::StructureShape.new(name: 'ListInputsRequest')
618
628
  ListInputsResponse = Shapes::StructureShape.new(name: 'ListInputsResponse')
619
629
  ListInputsResultModel = Shapes::StructureShape.new(name: 'ListInputsResultModel')
630
+ ListMultiplexAlertsRequest = Shapes::StructureShape.new(name: 'ListMultiplexAlertsRequest')
631
+ ListMultiplexAlertsResponse = Shapes::StructureShape.new(name: 'ListMultiplexAlertsResponse')
632
+ ListMultiplexAlertsResultModel = Shapes::StructureShape.new(name: 'ListMultiplexAlertsResultModel')
620
633
  ListMultiplexProgramsRequest = Shapes::StructureShape.new(name: 'ListMultiplexProgramsRequest')
621
634
  ListMultiplexProgramsResponse = Shapes::StructureShape.new(name: 'ListMultiplexProgramsResponse')
622
635
  ListMultiplexProgramsResultModel = Shapes::StructureShape.new(name: 'ListMultiplexProgramsResultModel')
@@ -715,6 +728,8 @@ module Aws::MediaLive
715
728
  MulticastSourceCreateRequest = Shapes::StructureShape.new(name: 'MulticastSourceCreateRequest')
716
729
  MulticastSourceUpdateRequest = Shapes::StructureShape.new(name: 'MulticastSourceUpdateRequest')
717
730
  Multiplex = Shapes::StructureShape.new(name: 'Multiplex')
731
+ MultiplexAlert = Shapes::StructureShape.new(name: 'MultiplexAlert')
732
+ MultiplexAlertState = Shapes::StringShape.new(name: 'MultiplexAlertState')
718
733
  MultiplexConfigurationValidationError = Shapes::StructureShape.new(name: 'MultiplexConfigurationValidationError')
719
734
  MultiplexContainerSettings = Shapes::StructureShape.new(name: 'MultiplexContainerSettings')
720
735
  MultiplexGroupSettings = Shapes::StructureShape.new(name: 'MultiplexGroupSettings')
@@ -1122,12 +1137,14 @@ module Aws::MediaLive
1122
1137
  __listOfCaptionDescription = Shapes::ListShape.new(name: '__listOfCaptionDescription')
1123
1138
  __listOfCaptionLanguageMapping = Shapes::ListShape.new(name: '__listOfCaptionLanguageMapping')
1124
1139
  __listOfCaptionSelector = Shapes::ListShape.new(name: '__listOfCaptionSelector')
1140
+ __listOfChannelAlert = Shapes::ListShape.new(name: '__listOfChannelAlert')
1125
1141
  __listOfChannelEgressEndpoint = Shapes::ListShape.new(name: '__listOfChannelEgressEndpoint')
1126
1142
  __listOfChannelEngineVersionResponse = Shapes::ListShape.new(name: '__listOfChannelEngineVersionResponse')
1127
1143
  __listOfChannelPipelineIdToRestart = Shapes::ListShape.new(name: '__listOfChannelPipelineIdToRestart')
1128
1144
  __listOfChannelSummary = Shapes::ListShape.new(name: '__listOfChannelSummary')
1129
1145
  __listOfCloudWatchAlarmTemplateGroupSummary = Shapes::ListShape.new(name: '__listOfCloudWatchAlarmTemplateGroupSummary')
1130
1146
  __listOfCloudWatchAlarmTemplateSummary = Shapes::ListShape.new(name: '__listOfCloudWatchAlarmTemplateSummary')
1147
+ __listOfClusterAlert = Shapes::ListShape.new(name: '__listOfClusterAlert')
1131
1148
  __listOfCmafIngestCaptionLanguageMapping = Shapes::ListShape.new(name: '__listOfCmafIngestCaptionLanguageMapping')
1132
1149
  __listOfColorCorrection = Shapes::ListShape.new(name: '__listOfColorCorrection')
1133
1150
  __listOfDashRoleAudio = Shapes::ListShape.new(name: '__listOfDashRoleAudio')
@@ -1172,6 +1189,7 @@ module Aws::MediaLive
1172
1189
  __listOfMulticastSource = Shapes::ListShape.new(name: '__listOfMulticastSource')
1173
1190
  __listOfMulticastSourceCreateRequest = Shapes::ListShape.new(name: '__listOfMulticastSourceCreateRequest')
1174
1191
  __listOfMulticastSourceUpdateRequest = Shapes::ListShape.new(name: '__listOfMulticastSourceUpdateRequest')
1192
+ __listOfMultiplexAlert = Shapes::ListShape.new(name: '__listOfMultiplexAlert')
1175
1193
  __listOfMultiplexOutputDestination = Shapes::ListShape.new(name: '__listOfMultiplexOutputDestination')
1176
1194
  __listOfMultiplexProgramPipelineDetail = Shapes::ListShape.new(name: '__listOfMultiplexProgramPipelineDetail')
1177
1195
  __listOfMultiplexProgramSummary = Shapes::ListShape.new(name: '__listOfMultiplexProgramSummary')
@@ -1645,6 +1663,15 @@ module Aws::MediaLive
1645
1663
  Channel.add_member(:channel_engine_version, Shapes::ShapeRef.new(shape: ChannelEngineVersionResponse, location_name: "channelEngineVersion"))
1646
1664
  Channel.struct_class = Types::Channel
1647
1665
 
1666
+ ChannelAlert.add_member(:alert_type, Shapes::ShapeRef.new(shape: __string, location_name: "alertType"))
1667
+ ChannelAlert.add_member(:cleared_timestamp, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "clearedTimestamp"))
1668
+ ChannelAlert.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
1669
+ ChannelAlert.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
1670
+ ChannelAlert.add_member(:pipeline_id, Shapes::ShapeRef.new(shape: __string, location_name: "pipelineId"))
1671
+ ChannelAlert.add_member(:set_timestamp, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "setTimestamp"))
1672
+ ChannelAlert.add_member(:state, Shapes::ShapeRef.new(shape: ChannelAlertState, location_name: "state"))
1673
+ ChannelAlert.struct_class = Types::ChannelAlert
1674
+
1648
1675
  ChannelConfigurationValidationError.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
1649
1676
  ChannelConfigurationValidationError.add_member(:validation_errors, Shapes::ShapeRef.new(shape: __listOfValidationError, location_name: "validationErrors"))
1650
1677
  ChannelConfigurationValidationError.struct_class = Types::ChannelConfigurationValidationError
@@ -1714,6 +1741,16 @@ module Aws::MediaLive
1714
1741
  CloudWatchAlarmTemplateSummary.add_member(:treat_missing_data, Shapes::ShapeRef.new(shape: CloudWatchAlarmTemplateTreatMissingData, required: true, location_name: "treatMissingData"))
1715
1742
  CloudWatchAlarmTemplateSummary.struct_class = Types::CloudWatchAlarmTemplateSummary
1716
1743
 
1744
+ ClusterAlert.add_member(:alert_type, Shapes::ShapeRef.new(shape: __string, location_name: "alertType"))
1745
+ ClusterAlert.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelId"))
1746
+ ClusterAlert.add_member(:cleared_timestamp, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "clearedTimestamp"))
1747
+ ClusterAlert.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
1748
+ ClusterAlert.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
1749
+ ClusterAlert.add_member(:node_id, Shapes::ShapeRef.new(shape: __string, location_name: "nodeId"))
1750
+ ClusterAlert.add_member(:set_timestamp, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "setTimestamp"))
1751
+ ClusterAlert.add_member(:state, Shapes::ShapeRef.new(shape: ClusterAlertState, location_name: "state"))
1752
+ ClusterAlert.struct_class = Types::ClusterAlert
1753
+
1717
1754
  ClusterNetworkSettings.add_member(:default_route, Shapes::ShapeRef.new(shape: __string, location_name: "defaultRoute"))
1718
1755
  ClusterNetworkSettings.add_member(:interface_mappings, Shapes::ShapeRef.new(shape: __listOfInterfaceMapping, location_name: "interfaceMappings"))
1719
1756
  ClusterNetworkSettings.struct_class = Types::ClusterNetworkSettings
@@ -3645,6 +3682,20 @@ module Aws::MediaLive
3645
3682
  LimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
3646
3683
  LimitExceeded.struct_class = Types::LimitExceeded
3647
3684
 
3685
+ ListAlertsRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelId"))
3686
+ ListAlertsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3687
+ ListAlertsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
3688
+ ListAlertsRequest.add_member(:state_filter, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "stateFilter"))
3689
+ ListAlertsRequest.struct_class = Types::ListAlertsRequest
3690
+
3691
+ ListAlertsResponse.add_member(:alerts, Shapes::ShapeRef.new(shape: __listOfChannelAlert, location_name: "alerts"))
3692
+ ListAlertsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
3693
+ ListAlertsResponse.struct_class = Types::ListAlertsResponse
3694
+
3695
+ ListAlertsResultModel.add_member(:alerts, Shapes::ShapeRef.new(shape: __listOfChannelAlert, location_name: "alerts"))
3696
+ ListAlertsResultModel.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
3697
+ ListAlertsResultModel.struct_class = Types::ListAlertsResultModel
3698
+
3648
3699
  ListChannelPlacementGroupsRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
3649
3700
  ListChannelPlacementGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3650
3701
  ListChannelPlacementGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
@@ -3699,6 +3750,20 @@ module Aws::MediaLive
3699
3750
  ListCloudWatchAlarmTemplatesResponseContent.add_member(:next_token, Shapes::ShapeRef.new(shape: __stringMin1Max2048, location_name: "nextToken"))
3700
3751
  ListCloudWatchAlarmTemplatesResponseContent.struct_class = Types::ListCloudWatchAlarmTemplatesResponseContent
3701
3752
 
3753
+ ListClusterAlertsRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
3754
+ ListClusterAlertsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3755
+ ListClusterAlertsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
3756
+ ListClusterAlertsRequest.add_member(:state_filter, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "stateFilter"))
3757
+ ListClusterAlertsRequest.struct_class = Types::ListClusterAlertsRequest
3758
+
3759
+ ListClusterAlertsResponse.add_member(:alerts, Shapes::ShapeRef.new(shape: __listOfClusterAlert, location_name: "alerts"))
3760
+ ListClusterAlertsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
3761
+ ListClusterAlertsResponse.struct_class = Types::ListClusterAlertsResponse
3762
+
3763
+ ListClusterAlertsResultModel.add_member(:alerts, Shapes::ShapeRef.new(shape: __listOfClusterAlert, location_name: "alerts"))
3764
+ ListClusterAlertsResultModel.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
3765
+ ListClusterAlertsResultModel.struct_class = Types::ListClusterAlertsResultModel
3766
+
3702
3767
  ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3703
3768
  ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
3704
3769
  ListClustersRequest.struct_class = Types::ListClustersRequest
@@ -3787,6 +3852,20 @@ module Aws::MediaLive
3787
3852
  ListInputsResultModel.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
3788
3853
  ListInputsResultModel.struct_class = Types::ListInputsResultModel
3789
3854
 
3855
+ ListMultiplexAlertsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3856
+ ListMultiplexAlertsRequest.add_member(:multiplex_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "multiplexId"))
3857
+ ListMultiplexAlertsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
3858
+ ListMultiplexAlertsRequest.add_member(:state_filter, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "stateFilter"))
3859
+ ListMultiplexAlertsRequest.struct_class = Types::ListMultiplexAlertsRequest
3860
+
3861
+ ListMultiplexAlertsResponse.add_member(:alerts, Shapes::ShapeRef.new(shape: __listOfMultiplexAlert, location_name: "alerts"))
3862
+ ListMultiplexAlertsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
3863
+ ListMultiplexAlertsResponse.struct_class = Types::ListMultiplexAlertsResponse
3864
+
3865
+ ListMultiplexAlertsResultModel.add_member(:alerts, Shapes::ShapeRef.new(shape: __listOfMultiplexAlert, location_name: "alerts"))
3866
+ ListMultiplexAlertsResultModel.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
3867
+ ListMultiplexAlertsResultModel.struct_class = Types::ListMultiplexAlertsResultModel
3868
+
3790
3869
  ListMultiplexProgramsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3791
3870
  ListMultiplexProgramsRequest.add_member(:multiplex_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "multiplexId"))
3792
3871
  ListMultiplexProgramsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
@@ -4154,6 +4233,15 @@ module Aws::MediaLive
4154
4233
  Multiplex.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
4155
4234
  Multiplex.struct_class = Types::Multiplex
4156
4235
 
4236
+ MultiplexAlert.add_member(:alert_type, Shapes::ShapeRef.new(shape: __string, location_name: "alertType"))
4237
+ MultiplexAlert.add_member(:cleared_timestamp, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "clearedTimestamp"))
4238
+ MultiplexAlert.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
4239
+ MultiplexAlert.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
4240
+ MultiplexAlert.add_member(:pipeline_id, Shapes::ShapeRef.new(shape: __string, location_name: "pipelineId"))
4241
+ MultiplexAlert.add_member(:set_timestamp, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "setTimestamp"))
4242
+ MultiplexAlert.add_member(:state, Shapes::ShapeRef.new(shape: MultiplexAlertState, location_name: "state"))
4243
+ MultiplexAlert.struct_class = Types::MultiplexAlert
4244
+
4157
4245
  MultiplexConfigurationValidationError.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
4158
4246
  MultiplexConfigurationValidationError.add_member(:validation_errors, Shapes::ShapeRef.new(shape: __listOfValidationError, location_name: "validationErrors"))
4159
4247
  MultiplexConfigurationValidationError.struct_class = Types::MultiplexConfigurationValidationError
@@ -5659,6 +5747,8 @@ module Aws::MediaLive
5659
5747
 
5660
5748
  __listOfCaptionSelector.member = Shapes::ShapeRef.new(shape: CaptionSelector)
5661
5749
 
5750
+ __listOfChannelAlert.member = Shapes::ShapeRef.new(shape: ChannelAlert)
5751
+
5662
5752
  __listOfChannelEgressEndpoint.member = Shapes::ShapeRef.new(shape: ChannelEgressEndpoint)
5663
5753
 
5664
5754
  __listOfChannelEngineVersionResponse.member = Shapes::ShapeRef.new(shape: ChannelEngineVersionResponse)
@@ -5671,6 +5761,8 @@ module Aws::MediaLive
5671
5761
 
5672
5762
  __listOfCloudWatchAlarmTemplateSummary.member = Shapes::ShapeRef.new(shape: CloudWatchAlarmTemplateSummary)
5673
5763
 
5764
+ __listOfClusterAlert.member = Shapes::ShapeRef.new(shape: ClusterAlert)
5765
+
5674
5766
  __listOfCmafIngestCaptionLanguageMapping.member = Shapes::ShapeRef.new(shape: CmafIngestCaptionLanguageMapping)
5675
5767
 
5676
5768
  __listOfColorCorrection.member = Shapes::ShapeRef.new(shape: ColorCorrection)
@@ -5759,6 +5851,8 @@ module Aws::MediaLive
5759
5851
 
5760
5852
  __listOfMulticastSourceUpdateRequest.member = Shapes::ShapeRef.new(shape: MulticastSourceUpdateRequest)
5761
5853
 
5854
+ __listOfMultiplexAlert.member = Shapes::ShapeRef.new(shape: MultiplexAlert)
5855
+
5762
5856
  __listOfMultiplexOutputDestination.member = Shapes::ShapeRef.new(shape: MultiplexOutputDestination)
5763
5857
 
5764
5858
  __listOfMultiplexProgramPipelineDetail.member = Shapes::ShapeRef.new(shape: MultiplexProgramPipelineDetail)
@@ -7752,6 +7846,69 @@ module Aws::MediaLive
7752
7846
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
7753
7847
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
7754
7848
  end)
7849
+
7850
+ api.add_operation(:list_alerts, Seahorse::Model::Operation.new.tap do |o|
7851
+ o.name = "ListAlerts"
7852
+ o.http_method = "GET"
7853
+ o.http_request_uri = "/prod/channels/{channelId}/alerts"
7854
+ o.input = Shapes::ShapeRef.new(shape: ListAlertsRequest)
7855
+ o.output = Shapes::ShapeRef.new(shape: ListAlertsResponse)
7856
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
7857
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
7858
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
7859
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
7860
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
7861
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
7862
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
7863
+ o[:pager] = Aws::Pager.new(
7864
+ limit_key: "max_results",
7865
+ tokens: {
7866
+ "next_token" => "next_token"
7867
+ }
7868
+ )
7869
+ end)
7870
+
7871
+ api.add_operation(:list_cluster_alerts, Seahorse::Model::Operation.new.tap do |o|
7872
+ o.name = "ListClusterAlerts"
7873
+ o.http_method = "GET"
7874
+ o.http_request_uri = "/prod/clusters/{clusterId}/alerts"
7875
+ o.input = Shapes::ShapeRef.new(shape: ListClusterAlertsRequest)
7876
+ o.output = Shapes::ShapeRef.new(shape: ListClusterAlertsResponse)
7877
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
7878
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
7879
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
7880
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
7881
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
7882
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
7883
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
7884
+ o[:pager] = Aws::Pager.new(
7885
+ limit_key: "max_results",
7886
+ tokens: {
7887
+ "next_token" => "next_token"
7888
+ }
7889
+ )
7890
+ end)
7891
+
7892
+ api.add_operation(:list_multiplex_alerts, Seahorse::Model::Operation.new.tap do |o|
7893
+ o.name = "ListMultiplexAlerts"
7894
+ o.http_method = "GET"
7895
+ o.http_request_uri = "/prod/multiplexes/{multiplexId}/alerts"
7896
+ o.input = Shapes::ShapeRef.new(shape: ListMultiplexAlertsRequest)
7897
+ o.output = Shapes::ShapeRef.new(shape: ListMultiplexAlertsResponse)
7898
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
7899
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
7900
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
7901
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
7902
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
7903
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
7904
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
7905
+ o[:pager] = Aws::Pager.new(
7906
+ limit_key: "max_results",
7907
+ tokens: {
7908
+ "next_token" => "next_token"
7909
+ }
7910
+ )
7911
+ end)
7755
7912
  end
7756
7913
 
7757
7914
  end
@@ -13,22 +13,22 @@ module Aws::MediaLive
13
13
  # @!attribute region
14
14
  # The AWS region used to dispatch the request.
15
15
  #
16
- # @return [String]
16
+ # @return [string]
17
17
  #
18
18
  # @!attribute use_dual_stack
19
19
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
20
  #
21
- # @return [Boolean]
21
+ # @return [boolean]
22
22
  #
23
23
  # @!attribute use_fips
24
24
  # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
25
  #
26
- # @return [Boolean]
26
+ # @return [boolean]
27
27
  #
28
28
  # @!attribute endpoint
29
29
  # Override the endpoint used to send this request
30
30
  #
31
- # @return [String]
31
+ # @return [string]
32
32
  #
33
33
  EndpointParameters = Struct.new(
34
34
  :region,
@@ -21929,6 +21929,308 @@ module Aws::MediaLive
21929
21929
  include Aws::Structure
21930
21930
  end
21931
21931
 
21932
+ # An alert on a channel
21933
+ #
21934
+ # @!attribute [rw] alert_type
21935
+ # The type of the alert
21936
+ # @return [String]
21937
+ #
21938
+ # @!attribute [rw] cleared_timestamp
21939
+ # @return [Time]
21940
+ #
21941
+ # @!attribute [rw] id
21942
+ # The unique ID for this alert instance
21943
+ # @return [String]
21944
+ #
21945
+ # @!attribute [rw] message
21946
+ # The user facing alert message which can have more context
21947
+ # @return [String]
21948
+ #
21949
+ # @!attribute [rw] pipeline_id
21950
+ # The ID of the pipeline this alert is associated with
21951
+ # @return [String]
21952
+ #
21953
+ # @!attribute [rw] set_timestamp
21954
+ # @return [Time]
21955
+ #
21956
+ # @!attribute [rw] state
21957
+ # The state of the alert
21958
+ # @return [String]
21959
+ #
21960
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ChannelAlert AWS API Documentation
21961
+ #
21962
+ class ChannelAlert < Struct.new(
21963
+ :alert_type,
21964
+ :cleared_timestamp,
21965
+ :id,
21966
+ :message,
21967
+ :pipeline_id,
21968
+ :set_timestamp,
21969
+ :state)
21970
+ SENSITIVE = []
21971
+ include Aws::Structure
21972
+ end
21973
+
21974
+ # An alert on a cluster
21975
+ #
21976
+ # @!attribute [rw] alert_type
21977
+ # The type of the alert
21978
+ # @return [String]
21979
+ #
21980
+ # @!attribute [rw] channel_id
21981
+ # The ID of the channel this alert is associated with
21982
+ # @return [String]
21983
+ #
21984
+ # @!attribute [rw] cleared_timestamp
21985
+ # @return [Time]
21986
+ #
21987
+ # @!attribute [rw] id
21988
+ # The further subtype of this alert
21989
+ # @return [String]
21990
+ #
21991
+ # @!attribute [rw] message
21992
+ # The user facing alert message which can have more context
21993
+ # @return [String]
21994
+ #
21995
+ # @!attribute [rw] node_id
21996
+ # The ID of the node this alert is associated with
21997
+ # @return [String]
21998
+ #
21999
+ # @!attribute [rw] set_timestamp
22000
+ # @return [Time]
22001
+ #
22002
+ # @!attribute [rw] state
22003
+ # The state of the alert
22004
+ # @return [String]
22005
+ #
22006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ClusterAlert AWS API Documentation
22007
+ #
22008
+ class ClusterAlert < Struct.new(
22009
+ :alert_type,
22010
+ :channel_id,
22011
+ :cleared_timestamp,
22012
+ :id,
22013
+ :message,
22014
+ :node_id,
22015
+ :set_timestamp,
22016
+ :state)
22017
+ SENSITIVE = []
22018
+ include Aws::Structure
22019
+ end
22020
+
22021
+ # @!attribute [rw] channel_id
22022
+ # @return [String]
22023
+ #
22024
+ # @!attribute [rw] max_results
22025
+ # @return [Integer]
22026
+ #
22027
+ # @!attribute [rw] next_token
22028
+ # @return [String]
22029
+ #
22030
+ # @!attribute [rw] state_filter
22031
+ # @return [String]
22032
+ #
22033
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListAlertsRequest AWS API Documentation
22034
+ #
22035
+ class ListAlertsRequest < Struct.new(
22036
+ :channel_id,
22037
+ :max_results,
22038
+ :next_token,
22039
+ :state_filter)
22040
+ SENSITIVE = []
22041
+ include Aws::Structure
22042
+ end
22043
+
22044
+ # @!attribute [rw] alerts
22045
+ # @return [Array<Types::ChannelAlert>]
22046
+ #
22047
+ # @!attribute [rw] next_token
22048
+ # @return [String]
22049
+ #
22050
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListAlertsResponse AWS API Documentation
22051
+ #
22052
+ class ListAlertsResponse < Struct.new(
22053
+ :alerts,
22054
+ :next_token)
22055
+ SENSITIVE = []
22056
+ include Aws::Structure
22057
+ end
22058
+
22059
+ # The result of a successful ListAlerts request
22060
+ #
22061
+ # @!attribute [rw] alerts
22062
+ # The alerts found for this channel
22063
+ # @return [Array<Types::ChannelAlert>]
22064
+ #
22065
+ # @!attribute [rw] next_token
22066
+ # The token to use to retrieve the next page of results
22067
+ # @return [String]
22068
+ #
22069
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListAlertsResultModel AWS API Documentation
22070
+ #
22071
+ class ListAlertsResultModel < Struct.new(
22072
+ :alerts,
22073
+ :next_token)
22074
+ SENSITIVE = []
22075
+ include Aws::Structure
22076
+ end
22077
+
22078
+ # @!attribute [rw] cluster_id
22079
+ # @return [String]
22080
+ #
22081
+ # @!attribute [rw] max_results
22082
+ # @return [Integer]
22083
+ #
22084
+ # @!attribute [rw] next_token
22085
+ # @return [String]
22086
+ #
22087
+ # @!attribute [rw] state_filter
22088
+ # @return [String]
22089
+ #
22090
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListClusterAlertsRequest AWS API Documentation
22091
+ #
22092
+ class ListClusterAlertsRequest < Struct.new(
22093
+ :cluster_id,
22094
+ :max_results,
22095
+ :next_token,
22096
+ :state_filter)
22097
+ SENSITIVE = []
22098
+ include Aws::Structure
22099
+ end
22100
+
22101
+ # @!attribute [rw] alerts
22102
+ # @return [Array<Types::ClusterAlert>]
22103
+ #
22104
+ # @!attribute [rw] next_token
22105
+ # @return [String]
22106
+ #
22107
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListClusterAlertsResponse AWS API Documentation
22108
+ #
22109
+ class ListClusterAlertsResponse < Struct.new(
22110
+ :alerts,
22111
+ :next_token)
22112
+ SENSITIVE = []
22113
+ include Aws::Structure
22114
+ end
22115
+
22116
+ # The result of a successful ListClusterAlerts request
22117
+ #
22118
+ # @!attribute [rw] alerts
22119
+ # The alerts found for this cluster
22120
+ # @return [Array<Types::ClusterAlert>]
22121
+ #
22122
+ # @!attribute [rw] next_token
22123
+ # The token to use to retrieve the next page of results
22124
+ # @return [String]
22125
+ #
22126
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListClusterAlertsResultModel AWS API Documentation
22127
+ #
22128
+ class ListClusterAlertsResultModel < Struct.new(
22129
+ :alerts,
22130
+ :next_token)
22131
+ SENSITIVE = []
22132
+ include Aws::Structure
22133
+ end
22134
+
22135
+ # @!attribute [rw] max_results
22136
+ # @return [Integer]
22137
+ #
22138
+ # @!attribute [rw] multiplex_id
22139
+ # @return [String]
22140
+ #
22141
+ # @!attribute [rw] next_token
22142
+ # @return [String]
22143
+ #
22144
+ # @!attribute [rw] state_filter
22145
+ # @return [String]
22146
+ #
22147
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexAlertsRequest AWS API Documentation
22148
+ #
22149
+ class ListMultiplexAlertsRequest < Struct.new(
22150
+ :max_results,
22151
+ :multiplex_id,
22152
+ :next_token,
22153
+ :state_filter)
22154
+ SENSITIVE = []
22155
+ include Aws::Structure
22156
+ end
22157
+
22158
+ # @!attribute [rw] alerts
22159
+ # @return [Array<Types::MultiplexAlert>]
22160
+ #
22161
+ # @!attribute [rw] next_token
22162
+ # @return [String]
22163
+ #
22164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexAlertsResponse AWS API Documentation
22165
+ #
22166
+ class ListMultiplexAlertsResponse < Struct.new(
22167
+ :alerts,
22168
+ :next_token)
22169
+ SENSITIVE = []
22170
+ include Aws::Structure
22171
+ end
22172
+
22173
+ # The result of a successful ListMultiplexAlerts request.
22174
+ #
22175
+ # @!attribute [rw] alerts
22176
+ # The alerts found for this multiplex
22177
+ # @return [Array<Types::MultiplexAlert>]
22178
+ #
22179
+ # @!attribute [rw] next_token
22180
+ # The token to use to retrieve the next page of results
22181
+ # @return [String]
22182
+ #
22183
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexAlertsResultModel AWS API Documentation
22184
+ #
22185
+ class ListMultiplexAlertsResultModel < Struct.new(
22186
+ :alerts,
22187
+ :next_token)
22188
+ SENSITIVE = []
22189
+ include Aws::Structure
22190
+ end
22191
+
22192
+ # An alert on a multiplex
22193
+ #
22194
+ # @!attribute [rw] alert_type
22195
+ # The type of the alert
22196
+ # @return [String]
22197
+ #
22198
+ # @!attribute [rw] cleared_timestamp
22199
+ # @return [Time]
22200
+ #
22201
+ # @!attribute [rw] id
22202
+ # The unique ID for this alert instance
22203
+ # @return [String]
22204
+ #
22205
+ # @!attribute [rw] message
22206
+ # The user facing alert message which can have more context
22207
+ # @return [String]
22208
+ #
22209
+ # @!attribute [rw] pipeline_id
22210
+ # The ID of the pipeline this alert is associated with
22211
+ # @return [String]
22212
+ #
22213
+ # @!attribute [rw] set_timestamp
22214
+ # @return [Time]
22215
+ #
22216
+ # @!attribute [rw] state
22217
+ # The state of the alert
22218
+ # @return [String]
22219
+ #
22220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MultiplexAlert AWS API Documentation
22221
+ #
22222
+ class MultiplexAlert < Struct.new(
22223
+ :alert_type,
22224
+ :cleared_timestamp,
22225
+ :id,
22226
+ :message,
22227
+ :pipeline_id,
22228
+ :set_timestamp,
22229
+ :state)
22230
+ SENSITIVE = []
22231
+ include Aws::Structure
22232
+ end
22233
+
21932
22234
  end
21933
22235
  end
21934
22236
 
@@ -55,7 +55,7 @@ module Aws::MediaLive
55
55
  autoload :EndpointProvider, 'aws-sdk-medialive/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-medialive/endpoints'
57
57
 
58
- GEM_VERSION = '1.165.0'
58
+ GEM_VERSION = '1.166.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -5100,6 +5100,48 @@ module Aws
5100
5100
  ) -> _UpdateSdiSourceResponseSuccess
5101
5101
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSdiSourceResponseSuccess
5102
5102
 
5103
+ interface _ListAlertsResponseSuccess
5104
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAlertsResponse]
5105
+ def alerts: () -> ::Array[Types::ChannelAlert]
5106
+ def next_token: () -> ::String
5107
+ end
5108
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#list_alerts-instance_method
5109
+ def list_alerts: (
5110
+ channel_id: ::String,
5111
+ ?max_results: ::Integer,
5112
+ ?next_token: ::String,
5113
+ ?state_filter: ::String
5114
+ ) -> _ListAlertsResponseSuccess
5115
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAlertsResponseSuccess
5116
+
5117
+ interface _ListClusterAlertsResponseSuccess
5118
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListClusterAlertsResponse]
5119
+ def alerts: () -> ::Array[Types::ClusterAlert]
5120
+ def next_token: () -> ::String
5121
+ end
5122
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#list_cluster_alerts-instance_method
5123
+ def list_cluster_alerts: (
5124
+ cluster_id: ::String,
5125
+ ?max_results: ::Integer,
5126
+ ?next_token: ::String,
5127
+ ?state_filter: ::String
5128
+ ) -> _ListClusterAlertsResponseSuccess
5129
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClusterAlertsResponseSuccess
5130
+
5131
+ interface _ListMultiplexAlertsResponseSuccess
5132
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMultiplexAlertsResponse]
5133
+ def alerts: () -> ::Array[Types::MultiplexAlert]
5134
+ def next_token: () -> ::String
5135
+ end
5136
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#list_multiplex_alerts-instance_method
5137
+ def list_multiplex_alerts: (
5138
+ ?max_results: ::Integer,
5139
+ multiplex_id: ::String,
5140
+ ?next_token: ::String,
5141
+ ?state_filter: ::String
5142
+ ) -> _ListMultiplexAlertsResponseSuccess
5143
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMultiplexAlertsResponseSuccess
5144
+
5103
5145
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#wait_until-instance_method
5104
5146
  def wait_until: (:channel_created waiter_name,
5105
5147
  channel_id: ::String
data/sig/types.rbs CHANGED
@@ -5696,5 +5696,99 @@ module Aws::MediaLive
5696
5696
  attr_accessor timed_metadata_passthrough: ("DISABLED" | "ENABLED")
5697
5697
  SENSITIVE: []
5698
5698
  end
5699
+
5700
+ class ChannelAlert
5701
+ attr_accessor alert_type: ::String
5702
+ attr_accessor cleared_timestamp: ::Time
5703
+ attr_accessor id: ::String
5704
+ attr_accessor message: ::String
5705
+ attr_accessor pipeline_id: ::String
5706
+ attr_accessor set_timestamp: ::Time
5707
+ attr_accessor state: ("SET" | "CLEARED")
5708
+ SENSITIVE: []
5709
+ end
5710
+
5711
+ class ClusterAlert
5712
+ attr_accessor alert_type: ::String
5713
+ attr_accessor channel_id: ::String
5714
+ attr_accessor cleared_timestamp: ::Time
5715
+ attr_accessor id: ::String
5716
+ attr_accessor message: ::String
5717
+ attr_accessor node_id: ::String
5718
+ attr_accessor set_timestamp: ::Time
5719
+ attr_accessor state: ("SET" | "CLEARED")
5720
+ SENSITIVE: []
5721
+ end
5722
+
5723
+ class ListAlertsRequest
5724
+ attr_accessor channel_id: ::String
5725
+ attr_accessor max_results: ::Integer
5726
+ attr_accessor next_token: ::String
5727
+ attr_accessor state_filter: ::String
5728
+ SENSITIVE: []
5729
+ end
5730
+
5731
+ class ListAlertsResponse
5732
+ attr_accessor alerts: ::Array[Types::ChannelAlert]
5733
+ attr_accessor next_token: ::String
5734
+ SENSITIVE: []
5735
+ end
5736
+
5737
+ class ListAlertsResultModel
5738
+ attr_accessor alerts: ::Array[Types::ChannelAlert]
5739
+ attr_accessor next_token: ::String
5740
+ SENSITIVE: []
5741
+ end
5742
+
5743
+ class ListClusterAlertsRequest
5744
+ attr_accessor cluster_id: ::String
5745
+ attr_accessor max_results: ::Integer
5746
+ attr_accessor next_token: ::String
5747
+ attr_accessor state_filter: ::String
5748
+ SENSITIVE: []
5749
+ end
5750
+
5751
+ class ListClusterAlertsResponse
5752
+ attr_accessor alerts: ::Array[Types::ClusterAlert]
5753
+ attr_accessor next_token: ::String
5754
+ SENSITIVE: []
5755
+ end
5756
+
5757
+ class ListClusterAlertsResultModel
5758
+ attr_accessor alerts: ::Array[Types::ClusterAlert]
5759
+ attr_accessor next_token: ::String
5760
+ SENSITIVE: []
5761
+ end
5762
+
5763
+ class ListMultiplexAlertsRequest
5764
+ attr_accessor max_results: ::Integer
5765
+ attr_accessor multiplex_id: ::String
5766
+ attr_accessor next_token: ::String
5767
+ attr_accessor state_filter: ::String
5768
+ SENSITIVE: []
5769
+ end
5770
+
5771
+ class ListMultiplexAlertsResponse
5772
+ attr_accessor alerts: ::Array[Types::MultiplexAlert]
5773
+ attr_accessor next_token: ::String
5774
+ SENSITIVE: []
5775
+ end
5776
+
5777
+ class ListMultiplexAlertsResultModel
5778
+ attr_accessor alerts: ::Array[Types::MultiplexAlert]
5779
+ attr_accessor next_token: ::String
5780
+ SENSITIVE: []
5781
+ end
5782
+
5783
+ class MultiplexAlert
5784
+ attr_accessor alert_type: ::String
5785
+ attr_accessor cleared_timestamp: ::Time
5786
+ attr_accessor id: ::String
5787
+ attr_accessor message: ::String
5788
+ attr_accessor pipeline_id: ::String
5789
+ attr_accessor set_timestamp: ::Time
5790
+ attr_accessor state: ("SET" | "CLEARED")
5791
+ SENSITIVE: []
5792
+ end
5699
5793
  end
5700
5794
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-medialive
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.165.0
4
+ version: 1.166.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services