class
Amazonite::EventBridge::Connection
- Amazonite::EventBridge::Connection
- Reference
- Object
Overview
Contains information about a connection.
Included Modules
- JSON::Serializable
Defined in:
eventbridge/connection.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#authorization_type : ConnectionAuthorizationType | Nil
The authorization type specified for the connection.
-
#authorization_type=(authorization_type : ConnectionAuthorizationType | Nil)
The authorization type specified for the connection.
-
#connection_arn : String | Nil
The ARN of the connection.
-
#connection_arn=(connection_arn : String | Nil)
The ARN of the connection.
-
#connection_state : ConnectionState | Nil
The state of the connection.
-
#connection_state=(connection_state : ConnectionState | Nil)
The state of the connection.
-
#creation_time : Time | Nil
A time stamp for the time that the connection was created.
-
#creation_time=(creation_time : Time | Nil)
A time stamp for the time that the connection was created.
-
#hash(hasher)
See
Object#hash(hasher) -
#last_authorized_time : Time | Nil
A time stamp for the time that the connection was last authorized.
-
#last_authorized_time=(last_authorized_time : Time | Nil)
A time stamp for the time that the connection was last authorized.
-
#last_modified_time : Time | Nil
A time stamp for the time that the connection was last modified.
-
#last_modified_time=(last_modified_time : Time | Nil)
A time stamp for the time that the connection was last modified.
-
#name : String | Nil
The name of the connection.
-
#name=(name : String | Nil)
The name of the connection.
-
#state_reason : String | Nil
The reason that the connection is in the connection state.
-
#state_reason=(state_reason : String | Nil)
The reason that the connection is in the connection state.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The authorization type specified for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
The authorization type specified for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
A time stamp for the time that the connection was created.
A time stamp for the time that the connection was last authorized.
A time stamp for the time that the connection was last authorized.
A time stamp for the time that the connection was last modified.
A time stamp for the time that the connection was last modified.
The reason that the connection is in the connection state.