amazonka-connect-2.0: Amazon Connect Service 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.Connect.StartContactStreaming

Description

Initiates real-time message streaming for a new chat contact.

For more information about message streaming, see Enable real-time chat message streaming in the Amazon Connect Administrator Guide.

Synopsis

Creating a Request

data StartContactStreaming Source #

See: newStartContactStreaming smart constructor.

Constructors

StartContactStreaming' 

Fields

Instances

Instances details
ToJSON StartContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

ToHeaders StartContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

ToPath StartContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

ToQuery StartContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

AWSRequest StartContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

Associated Types

type AWSResponse StartContactStreaming #

Generic StartContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

Associated Types

type Rep StartContactStreaming :: Type -> Type #

Read StartContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

Show StartContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

NFData StartContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

Methods

rnf :: StartContactStreaming -> () #

Eq StartContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

Hashable StartContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

type AWSResponse StartContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

type Rep StartContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

type Rep StartContactStreaming = D1 ('MetaData "StartContactStreaming" "Amazonka.Connect.StartContactStreaming" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "StartContactStreaming'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "contactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "chatStreamingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChatStreamingConfiguration) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStartContactStreaming Source #

Create a value of StartContactStreaming 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:

StartContactStreaming, startContactStreaming_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

StartContactStreaming, startContactStreaming_contactId - The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

$sel:chatStreamingConfiguration:StartContactStreaming', startContactStreaming_chatStreamingConfiguration - The streaming configuration, such as the Amazon SNS streaming endpoint.

$sel:clientToken:StartContactStreaming', startContactStreaming_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

Request Lenses

startContactStreaming_instanceId :: Lens' StartContactStreaming Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

startContactStreaming_contactId :: Lens' StartContactStreaming Text Source #

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

startContactStreaming_chatStreamingConfiguration :: Lens' StartContactStreaming ChatStreamingConfiguration Source #

The streaming configuration, such as the Amazon SNS streaming endpoint.

startContactStreaming_clientToken :: Lens' StartContactStreaming Text Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

Destructuring the Response

data StartContactStreamingResponse Source #

See: newStartContactStreamingResponse smart constructor.

Constructors

StartContactStreamingResponse' 

Fields

Instances

Instances details
Generic StartContactStreamingResponse Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

Associated Types

type Rep StartContactStreamingResponse :: Type -> Type #

Read StartContactStreamingResponse Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

Show StartContactStreamingResponse Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

NFData StartContactStreamingResponse Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

Eq StartContactStreamingResponse Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

type Rep StartContactStreamingResponse Source # 
Instance details

Defined in Amazonka.Connect.StartContactStreaming

type Rep StartContactStreamingResponse = D1 ('MetaData "StartContactStreamingResponse" "Amazonka.Connect.StartContactStreaming" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "StartContactStreamingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "streamingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStartContactStreamingResponse Source #

Create a value of StartContactStreamingResponse 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:httpStatus:StartContactStreamingResponse', startContactStreamingResponse_httpStatus - The response's http status code.

$sel:streamingId:StartContactStreamingResponse', startContactStreamingResponse_streamingId - The identifier of the streaming configuration enabled.

Response Lenses

startContactStreamingResponse_streamingId :: Lens' StartContactStreamingResponse Text Source #

The identifier of the streaming configuration enabled.