class Amazonite::EventBridge::DescribeArchiveResponse

Included Modules

Defined in:

eventbridge/describe_archive_response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(archive_arn : String | Nil = nil, archive_name : String | Nil = nil, event_source_arn : String | Nil = nil, description : String | Nil = nil, event_pattern : String | Nil = nil, state : ArchiveState | Nil = nil, state_reason : String | Nil = nil, kms_key_identifier : String | Nil = nil, retention_days : Int32 | Nil = nil, size_bytes : Int64 | Nil = nil, event_count : Int64 | Nil = nil, creation_time : Time | Nil = nil) #

[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 archive_arn : String | Nil #

The ARN of the archive.


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

The ARN of the archive.


[View source]
def archive_name : String | Nil #

The name of the archive.


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

The name of the archive.


[View source]
def creation_time : Time | Nil #

The time at which the archive was created.


[View source]
def creation_time=(creation_time : Time | Nil) #

The time at which the archive was created.


[View source]
def description : String | Nil #

The description of the archive.


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

The description of the archive.


[View source]
def event_count : Int64 | Nil #

The number of events in the archive.


[View source]
def event_count=(event_count : Int64 | Nil) #

The number of events in the archive.


[View source]
def event_pattern : String | Nil #

The event pattern used to filter events sent to the archive.


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

The event pattern used to filter events sent to the archive.


[View source]
def event_source_arn : String | Nil #

The ARN of the event source associated with the archive.


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

The ARN of the event source associated with the archive.


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

See Object#hash(hasher)


def kms_key_identifier : String | Nil #

The identifier of the KMS customer managed key for EventBridge to use to encrypt this archive, if one has been specified.

For more information, see Encrypting archives in the Amazon EventBridge User Guide.


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

The identifier of the KMS customer managed key for EventBridge to use to encrypt this archive, if one has been specified.

For more information, see Encrypting archives in the Amazon EventBridge User Guide.


[View source]
def retention_days : Int32 | Nil #

The number of days to retain events for in the archive.


[View source]
def retention_days=(retention_days : Int32 | Nil) #

The number of days to retain events for in the archive.


[View source]
def size_bytes : Int64 | Nil #

The size of the archive in bytes.


[View source]
def size_bytes=(size_bytes : Int64 | Nil) #

The size of the archive in bytes.


[View source]
def state : ArchiveState | Nil #

The state of the archive.


[View source]
def state=(state : ArchiveState | Nil) #

The state of the archive.


[View source]
def state_reason : String | Nil #

The reason that the archive is in the state.


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

The reason that the archive is in the state.


[View source]
def validate! : Nil #

[View source]