Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates the scheduled time of a task contact that is already scheduled.
Synopsis
- data UpdateContactSchedule = UpdateContactSchedule' {
- instanceId :: Text
- contactId :: Text
- scheduledTime :: POSIX
- newUpdateContactSchedule :: Text -> Text -> UTCTime -> UpdateContactSchedule
- updateContactSchedule_instanceId :: Lens' UpdateContactSchedule Text
- updateContactSchedule_contactId :: Lens' UpdateContactSchedule Text
- updateContactSchedule_scheduledTime :: Lens' UpdateContactSchedule UTCTime
- data UpdateContactScheduleResponse = UpdateContactScheduleResponse' {
- httpStatus :: Int
- newUpdateContactScheduleResponse :: Int -> UpdateContactScheduleResponse
- updateContactScheduleResponse_httpStatus :: Lens' UpdateContactScheduleResponse Int
Creating a Request
data UpdateContactSchedule Source #
See: newUpdateContactSchedule
smart constructor.
UpdateContactSchedule' | |
|
Instances
newUpdateContactSchedule Source #
:: Text | |
-> Text | |
-> UTCTime | |
-> UpdateContactSchedule |
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_contactId :: Lens' UpdateContactSchedule Text Source #
The identifier of the contact.
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.
UpdateContactScheduleResponse' | |
|
Instances
Generic UpdateContactScheduleResponse Source # | |
Read UpdateContactScheduleResponse Source # | |
Show UpdateContactScheduleResponse Source # | |
Defined in Amazonka.Connect.UpdateContactSchedule showsPrec :: Int -> UpdateContactScheduleResponse -> ShowS # show :: UpdateContactScheduleResponse -> String # showList :: [UpdateContactScheduleResponse] -> ShowS # | |
NFData UpdateContactScheduleResponse Source # | |
Defined in Amazonka.Connect.UpdateContactSchedule rnf :: UpdateContactScheduleResponse -> () # | |
Eq UpdateContactScheduleResponse Source # | |
type Rep UpdateContactScheduleResponse Source # | |
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
updateContactScheduleResponse_httpStatus :: Lens' UpdateContactScheduleResponse Int Source #
The response's http status code.