Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the hours of operation.
Synopsis
- data UpdateHoursOfOperation = UpdateHoursOfOperation' {
- config :: Maybe [HoursOfOperationConfig]
- name :: Maybe Text
- timeZone :: Maybe Text
- description :: Maybe Text
- instanceId :: Text
- hoursOfOperationId :: Text
- newUpdateHoursOfOperation :: Text -> Text -> UpdateHoursOfOperation
- updateHoursOfOperation_config :: Lens' UpdateHoursOfOperation (Maybe [HoursOfOperationConfig])
- updateHoursOfOperation_name :: Lens' UpdateHoursOfOperation (Maybe Text)
- updateHoursOfOperation_timeZone :: Lens' UpdateHoursOfOperation (Maybe Text)
- updateHoursOfOperation_description :: Lens' UpdateHoursOfOperation (Maybe Text)
- updateHoursOfOperation_instanceId :: Lens' UpdateHoursOfOperation Text
- updateHoursOfOperation_hoursOfOperationId :: Lens' UpdateHoursOfOperation Text
- data UpdateHoursOfOperationResponse = UpdateHoursOfOperationResponse' {
- newUpdateHoursOfOperationResponse :: UpdateHoursOfOperationResponse
Creating a Request
data UpdateHoursOfOperation Source #
See: newUpdateHoursOfOperation
smart constructor.
UpdateHoursOfOperation' | |
|
Instances
newUpdateHoursOfOperation Source #
:: Text | |
-> Text | |
-> UpdateHoursOfOperation |
Create a value of UpdateHoursOfOperation
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:config:UpdateHoursOfOperation'
, updateHoursOfOperation_config
- Configuration information of the hours of operation.
$sel:name:UpdateHoursOfOperation'
, updateHoursOfOperation_name
- The name of the hours of operation.
$sel:timeZone:UpdateHoursOfOperation'
, updateHoursOfOperation_timeZone
- The time zone of the hours of operation.
$sel:description:UpdateHoursOfOperation'
, updateHoursOfOperation_description
- The description of the hours of operation.
$sel:instanceId:UpdateHoursOfOperation'
, updateHoursOfOperation_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:hoursOfOperationId:UpdateHoursOfOperation'
, updateHoursOfOperation_hoursOfOperationId
- The identifier of the hours of operation.
Request Lenses
updateHoursOfOperation_config :: Lens' UpdateHoursOfOperation (Maybe [HoursOfOperationConfig]) Source #
Configuration information of the hours of operation.
updateHoursOfOperation_name :: Lens' UpdateHoursOfOperation (Maybe Text) Source #
The name of the hours of operation.
updateHoursOfOperation_timeZone :: Lens' UpdateHoursOfOperation (Maybe Text) Source #
The time zone of the hours of operation.
updateHoursOfOperation_description :: Lens' UpdateHoursOfOperation (Maybe Text) Source #
The description of the hours of operation.
updateHoursOfOperation_instanceId :: Lens' UpdateHoursOfOperation Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
updateHoursOfOperation_hoursOfOperationId :: Lens' UpdateHoursOfOperation Text Source #
The identifier of the hours of operation.
Destructuring the Response
data UpdateHoursOfOperationResponse Source #
See: newUpdateHoursOfOperationResponse
smart constructor.
Instances
newUpdateHoursOfOperationResponse :: UpdateHoursOfOperationResponse Source #
Create a value of UpdateHoursOfOperationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.