class Amazonite::Kinesis::ChannelDescription

Overview

Describes the configuration and current status of a channel.

Included Modules

Defined in:

kinesis/channel_description.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(channel_name : String, channel_arn : String, channel_id : String, channel_status : ChannelStatus, channel_creation_timestamp : Time, service_execution_role_arn : String, stream_configuration_list : Array(ChannelStreamDescription), logging_configuration : ChannelLoggingConfiguration, channel_status_reason : String | Nil = nil, s3_destination_configuration : S3DestinationDescription | Nil = nil, s3_tables_destination_configuration : S3TablesDestinationDescription | Nil = nil, encryption_configuration : ChannelEncryptionConfiguration | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def channel_arn : String #

The Amazon Resource Name (ARN) of the channel.


[View source]
def channel_arn=(channel_arn : String) #

The Amazon Resource Name (ARN) of the channel.


[View source]
def channel_creation_timestamp : Time #

The time at which the channel was created.


[View source]
def channel_creation_timestamp=(channel_creation_timestamp : Time) #

The time at which the channel was created.


[View source]
def channel_id : String #

The unique identifier of the channel.


[View source]
def channel_id=(channel_id : String) #

The unique identifier of the channel.


[View source]
def channel_name : String #

The name of the channel.


[View source]
def channel_name=(channel_name : String) #

The name of the channel.


[View source]
def channel_status : ChannelStatus #

The current status of the channel. Valid values:

  • CREATING - The channel is being created.

  • ACTIVE - The channel is ready to deliver records.

  • UPDATING - The channel configuration is being updated.

  • DELETING - The channel is being deleted.

  • FAILED - See ChannelStatusReason for the failure cause.


[View source]
def channel_status=(channel_status : ChannelStatus) #

The current status of the channel. Valid values:

  • CREATING - The channel is being created.

  • ACTIVE - The channel is ready to deliver records.

  • UPDATING - The channel configuration is being updated.

  • DELETING - The channel is being deleted.

  • FAILED - See ChannelStatusReason for the failure cause.


[View source]
def channel_status_reason : String | Nil #

A message describing the reason for a FAILED status.


[View source]
def channel_status_reason=(channel_status_reason : String | Nil) #

A message describing the reason for a FAILED status.


[View source]
def encryption_configuration : ChannelEncryptionConfiguration | Nil #

The server-side encryption configuration for the channel.


[View source]
def encryption_configuration=(encryption_configuration : ChannelEncryptionConfiguration | Nil) #

The server-side encryption configuration for the channel.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def logging_configuration : ChannelLoggingConfiguration #

The Amazon CloudWatch Logs configuration for the channel.


[View source]
def logging_configuration=(logging_configuration : ChannelLoggingConfiguration) #

The Amazon CloudWatch Logs configuration for the channel.


[View source]
def s3_destination_configuration : S3DestinationDescription | Nil #

The configuration for delivery to a general purpose Amazon S3 bucket. Present only when the channel destination is a general purpose Amazon S3 bucket.


[View source]
def s3_destination_configuration=(s3_destination_configuration : S3DestinationDescription | Nil) #

The configuration for delivery to a general purpose Amazon S3 bucket. Present only when the channel destination is a general purpose Amazon S3 bucket.


[View source]
def s3_tables_destination_configuration : S3TablesDestinationDescription | Nil #

The configuration for delivery to streaming tables on Apache Iceberg in Amazon S3 Tables. Present only when the channel destination is a streaming table.


[View source]
def s3_tables_destination_configuration=(s3_tables_destination_configuration : S3TablesDestinationDescription | Nil) #

The configuration for delivery to streaming tables on Apache Iceberg in Amazon S3 Tables. Present only when the channel destination is a streaming table.


[View source]
def service_execution_role_arn : String #

The Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Data Streams assumes to write records to the destination.


[View source]
def service_execution_role_arn=(service_execution_role_arn : String) #

The Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Data Streams assumes to write records to the destination.


[View source]
def stream_configuration_list : Array(ChannelStreamDescription) #

The source stream configuration for the channel.


[View source]
def stream_configuration_list=(stream_configuration_list : Array(ChannelStreamDescription)) #

The source stream configuration for the channel.


[View source]
def validate! : Nil #

[View source]