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 |
Amazonka.Connect.UpdateContactSchedule
Description
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.
Constructors
UpdateContactSchedule' | |
Fields
|
Instances
newUpdateContactSchedule Source #
Arguments
:: 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.
Constructors
UpdateContactScheduleResponse' | |
Fields
|
Instances
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.