class Amazonite::CloudWatchLogs::ImportBatch

Overview

A collection of events being imported to CloudWatch

Included Modules

Defined in:

cloudwatch_logs/import_batch.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(batch_id : String, status : ImportStatus, error_message : String | 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 batch_id : String #

The unique identifier of the import batch.


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

The unique identifier of the import batch.


[View source]
def error_message : String | Nil #

The error message if the batch failed to import. Only present when status is FAILED.


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

The error message if the batch failed to import. Only present when status is FAILED.


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

See Object#hash(hasher)


def status : ImportStatus #

The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.


[View source]
def status=(status : ImportStatus) #

The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.


[View source]
def validate! : Nil #

[View source]