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

Description

Sends the provided data to the specified connection.

Synopsis

Creating a Request

data PostToConnection Source #

See: newPostToConnection smart constructor.

Constructors

PostToConnection' 

Fields

  • connectionId :: Text

    The identifier of the connection that a specific client is using.

  • data' :: ByteString

    The data to be sent to the client specified by its connection id.

Instances

Instances details
Eq PostToConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

Read PostToConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

Show PostToConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

Generic PostToConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

Associated Types

type Rep PostToConnection :: Type -> Type #

NFData PostToConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

Methods

rnf :: PostToConnection -> () #

Hashable PostToConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

AWSRequest PostToConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

Associated Types

type AWSResponse PostToConnection #

ToBody PostToConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

ToHeaders PostToConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

ToPath PostToConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

ToQuery PostToConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

type Rep PostToConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

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

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

newPostToConnection Source #

Create a value of PostToConnection 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:PostToConnection', postToConnection_connectionId - The identifier of the connection that a specific client is using.

$sel:data':PostToConnection', postToConnection_data - The data to be sent to the client specified by its connection id.

Request Lenses

postToConnection_connectionId :: Lens' PostToConnection Text Source #

The identifier of the connection that a specific client is using.

postToConnection_data :: Lens' PostToConnection ByteString Source #

The data to be sent to the client specified by its connection id.

Destructuring the Response

data PostToConnectionResponse Source #

See: newPostToConnectionResponse smart constructor.

Instances

Instances details
Eq PostToConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

Read PostToConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

Show PostToConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

Generic PostToConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

Associated Types

type Rep PostToConnectionResponse :: Type -> Type #

NFData PostToConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

type Rep PostToConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.PostToConnection

type Rep PostToConnectionResponse = D1 ('MetaData "PostToConnectionResponse" "Amazonka.APIGatewayManagementAPI.PostToConnection" "libZSservicesZSamazonka-apigatewaymanagementapiZSamazonka-apigatewaymanagementapi" 'False) (C1 ('MetaCons "PostToConnectionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newPostToConnectionResponse :: PostToConnectionResponse Source #

Create a value of PostToConnectionResponse with all optional fields omitted.

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