Class: Aws::MediaLive::Waiters::SignalMapCreated
- Inherits:
-
Object
- Object
- Aws::MediaLive::Waiters::SignalMapCreated
- Defined in:
- gems/aws-sdk-medialive/lib/aws-sdk-medialive/waiters.rb
Overview
Wait until a signal map has been created
Instance Method Summary collapse
-
#initialize(options) ⇒ SignalMapCreated
constructor
A new instance of SignalMapCreated.
-
#wait(params = {}) ⇒ Types::GetSignalMapResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ SignalMapCreated
Returns a new instance of SignalMapCreated.
1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 |
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/waiters.rb', line 1064 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" => "CREATE_COMPLETE" }, { "matcher" => "path", "argument" => "status", "state" => "retry", "expected" => "CREATE_IN_PROGRESS" }, { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "CREATE_FAILED" } ] ) }.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>
1097 1098 1099 |
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/waiters.rb', line 1097 def wait(params = {}) @waiter.wait(client: @client, params: params) end |