class Awspec::Type::Kinesis

Public Instance Methods

cache_values(res) click to toggle source
# File lib/awspec/type/kinesis.rb, line 5
def cache_values(res)
  @id = res.stream_name
  @stream_name = res.stream_name
  @stream_arn = res.stream_arn
  @stream_status = res.stream_status
  @retention_period_hours = res.retention_period_hours
  @stream_creation_timestamp = res.stream_creation_timestamp
  @enhanced_monitoring = res.enhanced_monitoring
  @encryption_type = res.encryption_type
  @key_id = res.key_id
  @open_shard_count = res.open_shard_count
end
encryption_type() click to toggle source
# File lib/awspec/type/kinesis.rb, line 58
def encryption_type
  cache_values(resource_via_client) if @encryption_type.nil?
  @encryption_type
end
enhanced_monitoring() click to toggle source
# File lib/awspec/type/kinesis.rb, line 53
def enhanced_monitoring
  cache_values(resource_via_client) if @enhanced_monitoring.nil?
  @enhanced_monitoring
end
id() click to toggle source
# File lib/awspec/type/kinesis.rb, line 23
def id
  cache_values(resource_via_client) if @id.nil?
  @id
end
key_id() click to toggle source
# File lib/awspec/type/kinesis.rb, line 63
def key_id
  cache_values(resource_via_client) if @key_id.nil?
  @key_id
end
open_shard_count() click to toggle source
# File lib/awspec/type/kinesis.rb, line 68
def open_shard_count
  cache_values(resource_via_client) if @open_shard_count.nil?
  @open_shard_count
end
resource_via_client() click to toggle source
# File lib/awspec/type/kinesis.rb, line 18
def resource_via_client
  return @resource_via_client unless @resource_via_client.nil?
  @resource_via_client = find_kinesis_by_stream_name(@display_name)
end
retention_period_hours() click to toggle source
# File lib/awspec/type/kinesis.rb, line 43
def retention_period_hours
  cache_values(resource_via_client) if @retention_period_hours.nil?
  @retention_period_hours
end
stream_arn() click to toggle source
# File lib/awspec/type/kinesis.rb, line 33
def stream_arn
  cache_values(resource_via_client) if @stream_arn.nil?
  @stream_arn
end
stream_creation_timestamp() click to toggle source
# File lib/awspec/type/kinesis.rb, line 48
def stream_creation_timestamp
  cache_values(resource_via_client) if @stream_creation_timestamp.nil?
  @stream_creation_timestamp
end
stream_name() click to toggle source
# File lib/awspec/type/kinesis.rb, line 28
def stream_name
  cache_values(resource_via_client) if @stream_name.nil?
  @stream_name
end
stream_status() click to toggle source
# File lib/awspec/type/kinesis.rb, line 38
def stream_status
  cache_values(resource_via_client) if @stream_status.nil?
  @stream_status
end