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

Description

Derived from API version 2018-11-29 of the AWS service descriptions, licensed under Apache 2.0.

The Amazon API Gateway Management API allows you to directly manage runtime aspects of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point to the endpoint of your deployed API. The endpoint will be of the form https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, or will be the endpoint corresponding to your API's custom domain and base path, if applicable.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-11-29 of the Amazon ApiGatewayManagementApi SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by APIGatewayManagementAPI.

PayloadTooLargeException

_PayloadTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The data has exceeded the maximum size allowed.

ForbiddenException

_ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The caller is not authorized to invoke this operation.

GoneException

_GoneException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The connection with the provided id no longer exists.

LimitExceededException

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The client is sending more than the allowed number of requests per unit of time or the WebSocket client side buffer is full.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DeleteConnection

data DeleteConnection Source #

See: newDeleteConnection smart constructor.

Constructors

DeleteConnection' Text 

Instances

Instances details
Eq DeleteConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

Read DeleteConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

Show DeleteConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

Generic DeleteConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

Associated Types

type Rep DeleteConnection :: Type -> Type #

NFData DeleteConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

Methods

rnf :: DeleteConnection -> () #

Hashable DeleteConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

AWSRequest DeleteConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

Associated Types

type AWSResponse DeleteConnection #

ToHeaders DeleteConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

ToPath DeleteConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

ToQuery DeleteConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

type Rep DeleteConnection Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

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

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

newDeleteConnection Source #

Create a value of DeleteConnection 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:DeleteConnection', deleteConnection_connectionId - Undocumented member.

data DeleteConnectionResponse Source #

See: newDeleteConnectionResponse smart constructor.

Instances

Instances details
Eq DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

Read DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

Show DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

Generic DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

Associated Types

type Rep DeleteConnectionResponse :: Type -> Type #

NFData DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

type Rep DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.DeleteConnection

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

newDeleteConnectionResponse :: DeleteConnectionResponse Source #

Create a value of DeleteConnectionResponse with all optional fields omitted.

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

GetConnection

data GetConnection Source #

See: newGetConnection smart constructor.

Constructors

GetConnection' Text 

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.

data GetConnectionResponse Source #

See: newGetConnectionResponse smart constructor.

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.

PostToConnection

data PostToConnection Source #

See: newPostToConnection smart constructor.

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.

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.

Types

Identity

data Identity Source #

See: newIdentity smart constructor.

Constructors

Identity' Text Text 

Instances

Instances details
Eq Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

Read Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

Show Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

Generic Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

Associated Types

type Rep Identity :: Type -> Type #

Methods

from :: Identity -> Rep Identity x #

to :: Rep Identity x -> Identity #

NFData Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

Methods

rnf :: Identity -> () #

Hashable Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

Methods

hashWithSalt :: Int -> Identity -> Int #

hash :: Identity -> Int #

FromJSON Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

type Rep Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

type Rep Identity = D1 ('MetaData "Identity" "Amazonka.APIGatewayManagementAPI.Types.Identity" "libZSservicesZSamazonka-apigatewaymanagementapiZSamazonka-apigatewaymanagementapi" 'False) (C1 ('MetaCons "Identity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userAgent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newIdentity Source #

Create a value of Identity 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:sourceIp:Identity', identity_sourceIp - The source IP address of the TCP connection making the request to API Gateway.

$sel:userAgent:Identity', identity_userAgent - The User Agent of the API caller.