libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudWatchEvents.Types.Connection

Description

 
Synopsis

Documentation

data Connection Source #

Contains information about a connection.

See: newConnection smart constructor.

Constructors

Connection' 

Fields

Instances

Instances details
Eq Connection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Connection

Read Connection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Connection

Show Connection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Connection

Generic Connection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Connection

Associated Types

type Rep Connection :: Type -> Type #

NFData Connection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Connection

Methods

rnf :: Connection -> () #

Hashable Connection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Connection

FromJSON Connection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Connection

type Rep Connection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Connection

type Rep Connection = D1 ('MetaData "Connection" "Amazonka.CloudWatchEvents.Types.Connection" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "Connection'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastAuthorizedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionAuthorizationType)) :*: S1 ('MetaSel ('Just "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "stateReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "connectionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionState))))))

newConnection :: Connection Source #

Create a value of Connection with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:creationTime:Connection', connection_creationTime - A time stamp for the time that the connection was created.

$sel:lastModifiedTime:Connection', connection_lastModifiedTime - A time stamp for the time that the connection was last modified.

$sel:name:Connection', connection_name - The name of the connection.

$sel:lastAuthorizedTime:Connection', connection_lastAuthorizedTime - A time stamp for the time that the connection was last authorized.

$sel:authorizationType:Connection', connection_authorizationType - The authorization type specified for the connection.

$sel:connectionArn:Connection', connection_connectionArn - The ARN of the connection.

$sel:stateReason:Connection', connection_stateReason - The reason that the connection is in the connection state.

$sel:connectionState:Connection', connection_connectionState - The state of the connection.

connection_creationTime :: Lens' Connection (Maybe UTCTime) Source #

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

connection_lastModifiedTime :: Lens' Connection (Maybe UTCTime) Source #

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

connection_name :: Lens' Connection (Maybe Text) Source #

The name of the connection.

connection_lastAuthorizedTime :: Lens' Connection (Maybe UTCTime) Source #

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

connection_authorizationType :: Lens' Connection (Maybe ConnectionAuthorizationType) Source #

The authorization type specified for the connection.

connection_connectionArn :: Lens' Connection (Maybe Text) Source #

The ARN of the connection.

connection_stateReason :: Lens' Connection (Maybe Text) Source #

The reason that the connection is in the connection state.