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

Description

Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user specified by userId will be set to silent monitoring mode on the contact.

Synopsis

Creating a Request

data MonitorContact Source #

See: newMonitorContact smart constructor.

Constructors

MonitorContact' 

Fields

Instances

Instances details
ToJSON MonitorContact Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

ToHeaders MonitorContact Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

ToPath MonitorContact Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

ToQuery MonitorContact Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

AWSRequest MonitorContact Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

Associated Types

type AWSResponse MonitorContact #

Generic MonitorContact Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

Associated Types

type Rep MonitorContact :: Type -> Type #

Read MonitorContact Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

Show MonitorContact Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

NFData MonitorContact Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

Methods

rnf :: MonitorContact -> () #

Eq MonitorContact Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

Hashable MonitorContact Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

type AWSResponse MonitorContact Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

type Rep MonitorContact Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

type Rep MonitorContact = D1 ('MetaData "MonitorContact" "Amazonka.Connect.MonitorContact" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "MonitorContact'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allowedMonitorCapabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MonitorCapability])) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "contactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newMonitorContact Source #

Create a value of MonitorContact 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:allowedMonitorCapabilities:MonitorContact', monitorContact_allowedMonitorCapabilities - Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge.

$sel:clientToken:MonitorContact', monitorContact_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.

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

MonitorContact, monitorContact_contactId - The identifier of the contact.

MonitorContact, monitorContact_userId - The identifier of the user account.

Request Lenses

monitorContact_allowedMonitorCapabilities :: Lens' MonitorContact (Maybe [MonitorCapability]) Source #

Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge.

monitorContact_clientToken :: Lens' MonitorContact (Maybe 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.

monitorContact_instanceId :: Lens' MonitorContact Text Source #

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

monitorContact_contactId :: Lens' MonitorContact Text Source #

The identifier of the contact.

monitorContact_userId :: Lens' MonitorContact Text Source #

The identifier of the user account.

Destructuring the Response

data MonitorContactResponse Source #

See: newMonitorContactResponse smart constructor.

Constructors

MonitorContactResponse' 

Fields

Instances

Instances details
Generic MonitorContactResponse Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

Associated Types

type Rep MonitorContactResponse :: Type -> Type #

Read MonitorContactResponse Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

Show MonitorContactResponse Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

NFData MonitorContactResponse Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

Methods

rnf :: MonitorContactResponse -> () #

Eq MonitorContactResponse Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

type Rep MonitorContactResponse Source # 
Instance details

Defined in Amazonka.Connect.MonitorContact

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

newMonitorContactResponse Source #

Create a value of MonitorContactResponse 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:contactArn:MonitorContactResponse', monitorContactResponse_contactArn - The ARN of the contact.

MonitorContact, monitorContactResponse_contactId - The identifier of the contact.

$sel:httpStatus:MonitorContactResponse', monitorContactResponse_httpStatus - The response's http status code.

Response Lenses