amazonka-apigatewaymanagementapi-2.0: Amazon ApiGatewayManagementApi 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.APIGatewayManagementAPI.GetConnection

Description

Get information about the connection with the provided id.

Synopsis

Creating a Request

data GetConnection Source #

See: newGetConnection smart constructor.

Constructors

GetConnection' 

Fields

Instances

Instances details
ToHeaders GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

ToPath GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

ToQuery GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

AWSRequest GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Associated Types

type AWSResponse GetConnection #

Generic GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Associated Types

type Rep GetConnection :: Type -> Type #

Read GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Show GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

NFData GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Methods

rnf :: GetConnection -> () #

Eq GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Hashable GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

type AWSResponse GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

type Rep GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

type Rep GetConnection = D1 ('MetaData "GetConnection" "Amazonka.APIGatewayManagementAPI.GetConnection" "amazonka-apigatewaymanagementapi-2.0-HxSVILnkEh6Hs18CaFx2Dr" 'False) (C1 ('MetaCons "GetConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetConnection Source #

Create a value of GetConnection 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:connectionId:GetConnection', getConnection_connectionId - Undocumented member.

Request Lenses

Destructuring the Response

data GetConnectionResponse Source #

See: newGetConnectionResponse smart constructor.

Constructors

GetConnectionResponse' 

Fields

Instances

Instances details
Generic GetConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Associated Types

type Rep GetConnectionResponse :: Type -> Type #

Read GetConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Show GetConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

NFData GetConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Methods

rnf :: GetConnectionResponse -> () #

Eq GetConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

type Rep GetConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

type Rep GetConnectionResponse = D1 ('MetaData "GetConnectionResponse" "Amazonka.APIGatewayManagementAPI.GetConnection" "amazonka-apigatewaymanagementapi-2.0-HxSVILnkEh6Hs18CaFx2Dr" 'False) (C1 ('MetaCons "GetConnectionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "connectedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "identity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Identity))) :*: (S1 ('MetaSel ('Just "lastActiveAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetConnectionResponse Source #

Create a value of GetConnectionResponse 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:connectedAt:GetConnectionResponse', getConnectionResponse_connectedAt - The time in ISO 8601 format for when the connection was established.

$sel:identity:GetConnectionResponse', getConnectionResponse_identity - Undocumented member.

$sel:lastActiveAt:GetConnectionResponse', getConnectionResponse_lastActiveAt - The time in ISO 8601 format for when the connection was last active.

$sel:httpStatus:GetConnectionResponse', getConnectionResponse_httpStatus - The response's http status code.

Response Lenses

getConnectionResponse_connectedAt :: Lens' GetConnectionResponse (Maybe UTCTime) Source #

The time in ISO 8601 format for when the connection was established.

getConnectionResponse_lastActiveAt :: Lens' GetConnectionResponse (Maybe UTCTime) Source #

The time in ISO 8601 format for when the connection was last active.