libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging
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.ChimeSDKMessaging.GetChannelMessageStatus

Description

Gets message status for a specified messageId. Use this API to determine the intermediate status of messages going through channel flow processing. The API provides an alternative to retrieving message status if the event was not received because a client wasn't connected to a websocket.

Messages can have any one of these statuses.

SENT
Message processed successfully
PENDING
Ongoing processing
FAILED
Processing failed
DENIED
Messasge denied by the processor
  • This API does not return statuses for denied messages, because we don't store them once the processor denies them.
  • Only the message sender can invoke this API.
  • The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header
Synopsis

Creating a Request

data GetChannelMessageStatus Source #

See: newGetChannelMessageStatus smart constructor.

Constructors

GetChannelMessageStatus' 

Fields

Instances

Instances details
Eq GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Read GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Show GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Generic GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Associated Types

type Rep GetChannelMessageStatus :: Type -> Type #

NFData GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Methods

rnf :: GetChannelMessageStatus -> () #

Hashable GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

AWSRequest GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

ToHeaders GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

ToPath GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

ToQuery GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

type Rep GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

type Rep GetChannelMessageStatus = D1 ('MetaData "GetChannelMessageStatus" "Amazonka.ChimeSDKMessaging.GetChannelMessageStatus" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "GetChannelMessageStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "chimeBearer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

newGetChannelMessageStatus Source #

Create a value of GetChannelMessageStatus 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:channelArn:GetChannelMessageStatus', getChannelMessageStatus_channelArn - The ARN of the channel

$sel:messageId:GetChannelMessageStatus', getChannelMessageStatus_messageId - The ID of the message.

$sel:chimeBearer:GetChannelMessageStatus', getChannelMessageStatus_chimeBearer - The AppInstanceUserArn of the user making the API call.

Request Lenses

getChannelMessageStatus_chimeBearer :: Lens' GetChannelMessageStatus Text Source #

The AppInstanceUserArn of the user making the API call.

Destructuring the Response

data GetChannelMessageStatusResponse Source #

See: newGetChannelMessageStatusResponse smart constructor.

Constructors

GetChannelMessageStatusResponse' 

Fields

Instances

Instances details
Eq GetChannelMessageStatusResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Read GetChannelMessageStatusResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Show GetChannelMessageStatusResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Generic GetChannelMessageStatusResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Associated Types

type Rep GetChannelMessageStatusResponse :: Type -> Type #

NFData GetChannelMessageStatusResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

type Rep GetChannelMessageStatusResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

type Rep GetChannelMessageStatusResponse = D1 ('MetaData "GetChannelMessageStatusResponse" "Amazonka.ChimeSDKMessaging.GetChannelMessageStatus" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "GetChannelMessageStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelMessageStatusStructure)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetChannelMessageStatusResponse Source #

Create a value of GetChannelMessageStatusResponse 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:status:GetChannelMessageStatusResponse', getChannelMessageStatusResponse_status - The message status and details.

$sel:httpStatus:GetChannelMessageStatusResponse', getChannelMessageStatusResponse_httpStatus - The response's http status code.

Response Lenses