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

Description

Ends message streaming on a specified contact. To restart message streaming on that contact, call the StartContactStreaming API.

Synopsis

Creating a Request

data StopContactStreaming Source #

See: newStopContactStreaming smart constructor.

Constructors

StopContactStreaming' 

Fields

  • instanceId :: Text

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

  • contactId :: Text

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

  • streamingId :: Text

    The identifier of the streaming configuration enabled.

Instances

Instances details
ToJSON StopContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

ToHeaders StopContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

ToPath StopContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

ToQuery StopContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

AWSRequest StopContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

Associated Types

type AWSResponse StopContactStreaming #

Generic StopContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

Associated Types

type Rep StopContactStreaming :: Type -> Type #

Read StopContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

Show StopContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

NFData StopContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

Methods

rnf :: StopContactStreaming -> () #

Eq StopContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

Hashable StopContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

type AWSResponse StopContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

type Rep StopContactStreaming Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

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

newStopContactStreaming Source #

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

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

StopContactStreaming, stopContactStreaming_contactId - The identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.

$sel:streamingId:StopContactStreaming', stopContactStreaming_streamingId - The identifier of the streaming configuration enabled.

Request Lenses

stopContactStreaming_instanceId :: Lens' StopContactStreaming Text Source #

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

stopContactStreaming_contactId :: Lens' StopContactStreaming Text Source #

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

stopContactStreaming_streamingId :: Lens' StopContactStreaming Text Source #

The identifier of the streaming configuration enabled.

Destructuring the Response

data StopContactStreamingResponse Source #

See: newStopContactStreamingResponse smart constructor.

Constructors

StopContactStreamingResponse' 

Fields

Instances

Instances details
Generic StopContactStreamingResponse Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

Associated Types

type Rep StopContactStreamingResponse :: Type -> Type #

Read StopContactStreamingResponse Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

Show StopContactStreamingResponse Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

NFData StopContactStreamingResponse Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

Eq StopContactStreamingResponse Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

type Rep StopContactStreamingResponse Source # 
Instance details

Defined in Amazonka.Connect.StopContactStreaming

type Rep StopContactStreamingResponse = D1 ('MetaData "StopContactStreamingResponse" "Amazonka.Connect.StopContactStreaming" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "StopContactStreamingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopContactStreamingResponse Source #

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

Response Lenses