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

Description

This API is in preview release for Amazon Connect and is subject to change.

Adds or updates user-defined contact information associated with the specified contact. At least one field to be updated must be present in the request.

You can add or update user-defined contact information for both ongoing and completed contacts.

Synopsis

Creating a Request

data UpdateContact Source #

See: newUpdateContact smart constructor.

Constructors

UpdateContact' 

Fields

  • description :: Maybe Text

    The description of the contact.

  • name :: Maybe Text

    The name of the contact.

  • references :: Maybe (HashMap Text Reference)

    Well-formed data on contact, shown to agents on Contact Control Panel (CCP).

  • 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 associated with the first interaction with your contact center.

Instances

Instances details
ToJSON UpdateContact Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

ToHeaders UpdateContact Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

ToPath UpdateContact Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

ToQuery UpdateContact Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

AWSRequest UpdateContact Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

Associated Types

type AWSResponse UpdateContact #

Generic UpdateContact Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

Associated Types

type Rep UpdateContact :: Type -> Type #

Read UpdateContact Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

Show UpdateContact Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

NFData UpdateContact Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

Methods

rnf :: UpdateContact -> () #

Eq UpdateContact Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

Hashable UpdateContact Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

type AWSResponse UpdateContact Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

type Rep UpdateContact Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

type Rep UpdateContact = D1 ('MetaData "UpdateContact" "Amazonka.Connect.UpdateContact" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "UpdateContact'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "references") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Reference))) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "contactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateContact Source #

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

UpdateContact, updateContact_description - The description of the contact.

UpdateContact, updateContact_name - The name of the contact.

UpdateContact, updateContact_references - Well-formed data on contact, shown to agents on Contact Control Panel (CCP).

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

UpdateContact, updateContact_contactId - The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.

Request Lenses

updateContact_description :: Lens' UpdateContact (Maybe Text) Source #

The description of the contact.

updateContact_name :: Lens' UpdateContact (Maybe Text) Source #

The name of the contact.

updateContact_references :: Lens' UpdateContact (Maybe (HashMap Text Reference)) Source #

Well-formed data on contact, shown to agents on Contact Control Panel (CCP).

updateContact_instanceId :: Lens' UpdateContact Text Source #

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

updateContact_contactId :: Lens' UpdateContact Text Source #

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

Destructuring the Response

data UpdateContactResponse Source #

See: newUpdateContactResponse smart constructor.

Constructors

UpdateContactResponse' 

Fields

Instances

Instances details
Generic UpdateContactResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

Associated Types

type Rep UpdateContactResponse :: Type -> Type #

Read UpdateContactResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

Show UpdateContactResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

NFData UpdateContactResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

Methods

rnf :: UpdateContactResponse -> () #

Eq UpdateContactResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

type Rep UpdateContactResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateContact

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

newUpdateContactResponse Source #

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

Response Lenses