Class: Aws::MediaLive::Waiters::SignalMapUpdated
- Inherits:
-
Object
- Object
- Aws::MediaLive::Waiters::SignalMapUpdated
- Defined in:
- gems/aws-sdk-medialive/lib/aws-sdk-medialive/waiters.rb
Overview
Wait until a signal map has been updated
Instance Method Summary collapse
-
#initialize(options) ⇒ SignalMapUpdated
constructor
A new instance of SignalMapUpdated.
-
#wait(params = {}) ⇒ Types::GetSignalMapResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ SignalMapUpdated
Returns a new instance of SignalMapUpdated.
1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/waiters.rb', line 1235 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 60, delay: 5, poller: Aws::Waiters::Poller.new( operation_name: :get_signal_map, acceptors: [ { "matcher" => "path", "argument" => "status", "state" => "success", "expected" => "UPDATE_COMPLETE" }, { "matcher" => "path", "argument" => "status", "state" => "retry", "expected" => "UPDATE_IN_PROGRESS" }, { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "UPDATE_FAILED" }, { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "UPDATE_REVERTED" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetSignalMapResponse
Returns a response object which responds to the following methods:
- #arn => String
- #cloud_watch_alarm_template_group_ids => Array<String>
- #created_at => Time
- #description => String
- #discovery_entry_point_arn => String
- #error_message => String
- #event_bridge_rule_template_group_ids => Array<String>
- #failed_media_resource_map => Hash<String,Types::MediaResource>
- #id => String
- #last_discovered_at => Time
- #last_successful_monitor_deployment => Types::SuccessfulMonitorDeployment
- #media_resource_map => Hash<String,Types::MediaResource>
- #modified_at => Time
- #monitor_changes_pending_deployment => Boolean
- #monitor_deployment => Types::MonitorDeployment
- #name => String
- #status => String
- #tags => Hash<String,String>
1274 1275 1276 |
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/waiters.rb', line 1274 def wait(params = {}) @waiter.wait(client: @client, params: params) end |