libZSservicesZSamazonka-apigatewaymanagementapiZSamazonka-apigatewaymanagementapi
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.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
Eq GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Read GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Show GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Generic GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Associated Types

type Rep GetConnection :: Type -> Type #

NFData GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Methods

rnf :: GetConnection -> () #

Hashable GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

AWSRequest GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Associated Types

type AWSResponse GetConnection #

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

type Rep GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

type Rep GetConnection = D1 ('MetaData "GetConnection" "Amazonka.APIGatewayManagementAPI.GetConnection" "libZSservicesZSamazonka-apigatewaymanagementapiZSamazonka-apigatewaymanagementapi" 'False) (C1 ('MetaCons "GetConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

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
Eq GetConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Read GetConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Show GetConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Generic GetConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Associated Types

type Rep GetConnectionResponse :: Type -> Type #

NFData GetConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

Methods

rnf :: GetConnectionResponse -> () #

type Rep GetConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.GetConnection

type Rep GetConnectionResponse = D1 ('MetaData "GetConnectionResponse" "Amazonka.APIGatewayManagementAPI.GetConnection" "libZSservicesZSamazonka-apigatewaymanagementapiZSamazonka-apigatewaymanagementapi" 'False) (C1 ('MetaCons "GetConnectionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "connectedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastActiveAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "identity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Identity)) :*: 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:lastActiveAt:GetConnectionResponse', getConnectionResponse_lastActiveAt - The time in ISO 8601 format for when the connection was last active.

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

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