amazonka-chime-sdk-messaging-2.0: Amazon Chime SDK Messaging 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.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
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

AWSRequest 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 #

Read GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Show GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

NFData GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Methods

rnf :: GetChannelMessageStatus -> () #

Eq GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Hashable GetChannelMessageStatus Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

type AWSResponse 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" "amazonka-chime-sdk-messaging-2.0-BxY1AbjLoDB4AQUv82PCQZ" 'False) (C1 ('MetaCons "GetChannelMessageStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "subChannelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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))))

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:

GetChannelMessageStatus, getChannelMessageStatus_subChannelId - The ID of the SubChannel in the request.

Only required when getting message status in a SubChannel that the user belongs to.

GetChannelMessageStatus, getChannelMessageStatus_channelArn - The ARN of the channel

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_subChannelId :: Lens' GetChannelMessageStatus (Maybe Text) Source #

The ID of the SubChannel in the request.

Only required when getting message status in a SubChannel that the user belongs to.

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
Generic GetChannelMessageStatusResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Associated Types

type Rep GetChannelMessageStatusResponse :: Type -> Type #

Read GetChannelMessageStatusResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Show GetChannelMessageStatusResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

NFData GetChannelMessageStatusResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessageStatus

Eq 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" "amazonka-chime-sdk-messaging-2.0-BxY1AbjLoDB4AQUv82PCQZ" '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:

GetChannelMessageStatusResponse, getChannelMessageStatusResponse_status - The message status and details.

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

Response Lenses