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

Description

Updates the scheduled time of a task contact that is already scheduled.

Synopsis

Creating a Request

data UpdateContactSchedule Source #

See: newUpdateContactSchedule smart constructor.

Constructors

UpdateContactSchedule' 

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.

  • scheduledTime :: POSIX

    The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.

Instances

Instances details
ToJSON UpdateContactSchedule Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

ToHeaders UpdateContactSchedule Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

ToPath UpdateContactSchedule Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

ToQuery UpdateContactSchedule Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

AWSRequest UpdateContactSchedule Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

Associated Types

type AWSResponse UpdateContactSchedule #

Generic UpdateContactSchedule Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

Associated Types

type Rep UpdateContactSchedule :: Type -> Type #

Read UpdateContactSchedule Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

Show UpdateContactSchedule Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

NFData UpdateContactSchedule Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

Methods

rnf :: UpdateContactSchedule -> () #

Eq UpdateContactSchedule Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

Hashable UpdateContactSchedule Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

type AWSResponse UpdateContactSchedule Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

type Rep UpdateContactSchedule Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

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

newUpdateContactSchedule Source #

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

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

UpdateContactSchedule, updateContactSchedule_contactId - The identifier of the contact.

$sel:scheduledTime:UpdateContactSchedule', updateContactSchedule_scheduledTime - The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.

Request Lenses

updateContactSchedule_instanceId :: Lens' UpdateContactSchedule Text Source #

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

updateContactSchedule_scheduledTime :: Lens' UpdateContactSchedule UTCTime Source #

The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.

Destructuring the Response

data UpdateContactScheduleResponse Source #

See: newUpdateContactScheduleResponse smart constructor.

Constructors

UpdateContactScheduleResponse' 

Fields

Instances

Instances details
Generic UpdateContactScheduleResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

Associated Types

type Rep UpdateContactScheduleResponse :: Type -> Type #

Read UpdateContactScheduleResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

Show UpdateContactScheduleResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

NFData UpdateContactScheduleResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

Eq UpdateContactScheduleResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

type Rep UpdateContactScheduleResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateContactSchedule

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

newUpdateContactScheduleResponse Source #

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

Response Lenses