Sha256: 9834087b97e48af29511cd3e75ea18f6cc149aa338d278911685c1bb3d4079e1
Contents?: true
Size: 771 Bytes
Versions: 29
Compression:
Stored size: 771 Bytes
Contents
# Refer to Lono::Sets::Status::Instance::Base for more detailed docs. class Lono::Sets::Status::Instance class Deleted < Base def tail display_one Thread.new do loop! end end def loop! # resp.stack_instance.status : one of CURRENT, OUTDATED, INOPERABLE while true begin display_one rescue Aws::CloudFormation::Errors::StackInstanceNotFoundException say status_line(@stack_instance.account, @stack_instance.region, "DELETED") break end delay end end def display_one resp = describe_stack_instance stack_instance = resp.stack_instance show_instance(stack_instance) @shown << stack_instance resp end end end
Version data entries
29 entries across 29 versions & 1 rubygems