class Amazonite::EventBridge::Connection

Overview

Contains information about a connection.

Included Modules

Defined in:

eventbridge/connection.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(connection_arn : String | Nil = nil, name : String | Nil = nil, connection_state : ConnectionState | Nil = nil, state_reason : String | Nil = nil, authorization_type : ConnectionAuthorizationType | Nil = nil, creation_time : Time | Nil = nil, last_modified_time : Time | Nil = nil, last_authorized_time : Time | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable 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 authorization_type : ConnectionAuthorizationType | Nil #

The authorization type specified for the connection.

OAUTH tokens are refreshed when a 401 or 407 response is returned.


[View source]
def authorization_type=(authorization_type : ConnectionAuthorizationType | Nil) #

The authorization type specified for the connection.

OAUTH tokens are refreshed when a 401 or 407 response is returned.


[View source]
def connection_arn : String | Nil #

The ARN of the connection.


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

The ARN of the connection.


[View source]
def connection_state : ConnectionState | Nil #

The state of the connection.


[View source]
def connection_state=(connection_state : ConnectionState | Nil) #

The state of the connection.


[View source]
def creation_time : Time | Nil #

A time stamp for the time that the connection was created.


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

A time stamp for the time that the connection was created.


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

See Object#hash(hasher)


def last_authorized_time : Time | Nil #

A time stamp for the time that the connection was last authorized.


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

A time stamp for the time that the connection was last authorized.


[View source]
def last_modified_time : Time | Nil #

A time stamp for the time that the connection was last modified.


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

A time stamp for the time that the connection was last modified.


[View source]
def name : String | Nil #

The name of the connection.


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

The name of the connection.


[View source]
def state_reason : String | Nil #

The reason that the connection is in the connection state.


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

The reason that the connection is in the connection state.


[View source]
def validate! : Nil #

[View source]