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.DescribeConnection

Description

Retrieves details about a connection.

Synopsis

Creating a Request

data DescribeConnection Source #

See: newDescribeConnection smart constructor.

Constructors

DescribeConnection' 

Fields

  • name :: Text

    The name of the connection to retrieve.

Instances

Instances details
Eq DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Read DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Show DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Generic DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Associated Types

type Rep DescribeConnection :: Type -> Type #

NFData DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Methods

rnf :: DescribeConnection -> () #

Hashable DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

ToJSON DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

AWSRequest DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Associated Types

type AWSResponse DescribeConnection #

ToHeaders DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

ToPath DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

ToQuery DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

type Rep DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

type Rep DescribeConnection = D1 ('MetaData "DescribeConnection" "Amazonka.CloudWatchEvents.DescribeConnection" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "DescribeConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

newDescribeConnection Source #

Create a value of DescribeConnection 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:name:DescribeConnection', describeConnection_name - The name of the connection to retrieve.

Request Lenses

describeConnection_name :: Lens' DescribeConnection Text Source #

The name of the connection to retrieve.

Destructuring the Response

data DescribeConnectionResponse Source #

See: newDescribeConnectionResponse smart constructor.

Constructors

DescribeConnectionResponse' 

Fields

Instances

Instances details
Eq DescribeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Read DescribeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Show DescribeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Generic DescribeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Associated Types

type Rep DescribeConnectionResponse :: Type -> Type #

NFData DescribeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

type Rep DescribeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

type Rep DescribeConnectionResponse = D1 ('MetaData "DescribeConnectionResponse" "Amazonka.CloudWatchEvents.DescribeConnection" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "DescribeConnectionResponse'" '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 "authParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionAuthResponseParameters)) :*: (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 "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "connectionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionState)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newDescribeConnectionResponse Source #

Create a value of DescribeConnectionResponse 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:DescribeConnectionResponse', describeConnectionResponse_creationTime - A time stamp for the time that the connection was created.

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

$sel:name:DescribeConnection', describeConnectionResponse_name - The name of the connection retrieved.

$sel:authParameters:DescribeConnectionResponse', describeConnectionResponse_authParameters - The parameters to use for authorization for the connection.

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

$sel:authorizationType:DescribeConnectionResponse', describeConnectionResponse_authorizationType - The type of authorization specified for the connection.

$sel:connectionArn:DescribeConnectionResponse', describeConnectionResponse_connectionArn - The ARN of the connection retrieved.

$sel:stateReason:DescribeConnectionResponse', describeConnectionResponse_stateReason - The reason that the connection is in the current connection state.

$sel:secretArn:DescribeConnectionResponse', describeConnectionResponse_secretArn - The ARN of the secret created from the authorization parameters specified for the connection.

$sel:description:DescribeConnectionResponse', describeConnectionResponse_description - The description for the connection retrieved.

$sel:connectionState:DescribeConnectionResponse', describeConnectionResponse_connectionState - The state of the connection retrieved.

$sel:httpStatus:DescribeConnectionResponse', describeConnectionResponse_httpStatus - The response's http status code.

Response Lenses

describeConnectionResponse_creationTime :: Lens' DescribeConnectionResponse (Maybe UTCTime) Source #

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

describeConnectionResponse_lastModifiedTime :: Lens' DescribeConnectionResponse (Maybe UTCTime) Source #

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

describeConnectionResponse_lastAuthorizedTime :: Lens' DescribeConnectionResponse (Maybe UTCTime) Source #

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

describeConnectionResponse_stateReason :: Lens' DescribeConnectionResponse (Maybe Text) Source #

The reason that the connection is in the current connection state.

describeConnectionResponse_secretArn :: Lens' DescribeConnectionResponse (Maybe Text) Source #

The ARN of the secret created from the authorization parameters specified for the connection.