amazonka-cloudwatch-events-2.0: Amazon EventBridge SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.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

AWSRequest DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Associated Types

type AWSResponse DescribeConnection #

Generic DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Associated Types

type Rep DescribeConnection :: Type -> Type #

Read DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Show DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

NFData DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Methods

rnf :: DescribeConnection -> () #

Eq DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Hashable DescribeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

type AWSResponse 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" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" 'False) (C1 ('MetaCons "DescribeConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic DescribeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Associated Types

type Rep DescribeConnectionResponse :: Type -> Type #

Read DescribeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Show DescribeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

NFData DescribeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeConnection

Eq 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" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" 'False) (C1 ('MetaCons "DescribeConnectionResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "authParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionAuthResponseParameters)) :*: (S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionAuthorizationType)) :*: S1 ('MetaSel ('Just "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "connectionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionState)) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "lastAuthorizedTime") '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 "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stateReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:authParameters:DescribeConnectionResponse', describeConnectionResponse_authParameters - The parameters to use for authorization for the connection.

DescribeConnectionResponse, describeConnectionResponse_authorizationType - The type of authorization specified for the connection.

DescribeConnectionResponse, describeConnectionResponse_connectionArn - The ARN of the connection retrieved.

DescribeConnectionResponse, describeConnectionResponse_connectionState - The state of the connection retrieved.

DescribeConnectionResponse, describeConnectionResponse_creationTime - A time stamp for the time that the connection was created.

DescribeConnectionResponse, describeConnectionResponse_description - The description for the connection retrieved.

DescribeConnectionResponse, describeConnectionResponse_lastAuthorizedTime - A time stamp for the time that the connection was last authorized.

DescribeConnectionResponse, describeConnectionResponse_lastModifiedTime - A time stamp for the time that the connection was last modified.

DescribeConnection, describeConnectionResponse_name - The name of the connection retrieved.

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

DescribeConnectionResponse, describeConnectionResponse_stateReason - The reason that the connection is in the current connection state.

$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_lastAuthorizedTime :: Lens' DescribeConnectionResponse (Maybe UTCTime) Source #

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

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

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

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

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

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

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