Class: Aws::Omics::Waiters::VariantImportJobCreated
- Inherits:
-
Object
- Object
- Aws::Omics::Waiters::VariantImportJobCreated
- Defined in:
- lib/aws-sdk-omics/waiters.rb
Overview
Wait until variant import is completed
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ VariantImportJobCreated
constructor
A new instance of VariantImportJobCreated.
-
#wait(params = {}) ⇒ Types::GetVariantImportResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ VariantImportJobCreated
Returns a new instance of VariantImportJobCreated.
942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 |
# File 'lib/aws-sdk-omics/waiters.rb', line 942 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 20, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :get_variant_import_job, acceptors: [ { "matcher" => "path", "argument" => "status", "state" => "retry", "expected" => "SUBMITTED" }, { "matcher" => "path", "argument" => "status", "state" => "retry", "expected" => "IN_PROGRESS" }, { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "FAILED" }, { "matcher" => "path", "argument" => "status", "state" => "success", "expected" => "CANCELLED" }, { "matcher" => "path", "argument" => "status", "state" => "success", "expected" => "COMPLETED" } ] ) }.merge()) end |
Instance Attribute Details
#waiter ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
992 993 994 |
# File 'lib/aws-sdk-omics/waiters.rb', line 992 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetVariantImportResponse
Returns a response object which responds to the following methods:
-
#id => String
-
#destination_name => String
-
#role_arn => String
-
#status => String
-
#status_message => String
-
#creation_time => Time
-
#update_time => Time
-
#completion_time => Time
-
#items => Array<Types::VariantImportItemDetail>
-
#run_left_normalization => Boolean
-
#annotation_fields => Hash<String,String>
987 988 989 |
# File 'lib/aws-sdk-omics/waiters.rb', line 987 def wait(params = {}) @waiter.wait(client: @client, params: params) end |