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 |
Creates hours of operation.
Synopsis
- data CreateHoursOfOperation = CreateHoursOfOperation' {}
- newCreateHoursOfOperation :: Text -> Text -> Text -> CreateHoursOfOperation
- createHoursOfOperation_description :: Lens' CreateHoursOfOperation (Maybe Text)
- createHoursOfOperation_tags :: Lens' CreateHoursOfOperation (Maybe (HashMap Text Text))
- createHoursOfOperation_instanceId :: Lens' CreateHoursOfOperation Text
- createHoursOfOperation_name :: Lens' CreateHoursOfOperation Text
- createHoursOfOperation_timeZone :: Lens' CreateHoursOfOperation Text
- createHoursOfOperation_config :: Lens' CreateHoursOfOperation [HoursOfOperationConfig]
- data CreateHoursOfOperationResponse = CreateHoursOfOperationResponse' {}
- newCreateHoursOfOperationResponse :: Int -> CreateHoursOfOperationResponse
- createHoursOfOperationResponse_hoursOfOperationArn :: Lens' CreateHoursOfOperationResponse (Maybe Text)
- createHoursOfOperationResponse_hoursOfOperationId :: Lens' CreateHoursOfOperationResponse (Maybe Text)
- createHoursOfOperationResponse_httpStatus :: Lens' CreateHoursOfOperationResponse Int
Creating a Request
data CreateHoursOfOperation Source #
See: newCreateHoursOfOperation
smart constructor.
CreateHoursOfOperation' | |
|
Instances
newCreateHoursOfOperation Source #
:: Text | |
-> Text | |
-> Text | |
-> CreateHoursOfOperation |
Create a value of CreateHoursOfOperation
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:description:CreateHoursOfOperation'
, createHoursOfOperation_description
- The description of the hours of operation.
$sel:tags:CreateHoursOfOperation'
, createHoursOfOperation_tags
- One or more tags.
$sel:instanceId:CreateHoursOfOperation'
, createHoursOfOperation_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:name:CreateHoursOfOperation'
, createHoursOfOperation_name
- The name of the hours of operation.
$sel:timeZone:CreateHoursOfOperation'
, createHoursOfOperation_timeZone
- The time zone of the hours of operation.
$sel:config:CreateHoursOfOperation'
, createHoursOfOperation_config
- Configuration information for the hours of operation: day, start time,
and end time.
Request Lenses
createHoursOfOperation_description :: Lens' CreateHoursOfOperation (Maybe Text) Source #
The description of the hours of operation.
createHoursOfOperation_tags :: Lens' CreateHoursOfOperation (Maybe (HashMap Text Text)) Source #
One or more tags.
createHoursOfOperation_instanceId :: Lens' CreateHoursOfOperation Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
createHoursOfOperation_name :: Lens' CreateHoursOfOperation Text Source #
The name of the hours of operation.
createHoursOfOperation_timeZone :: Lens' CreateHoursOfOperation Text Source #
The time zone of the hours of operation.
createHoursOfOperation_config :: Lens' CreateHoursOfOperation [HoursOfOperationConfig] Source #
Configuration information for the hours of operation: day, start time, and end time.
Destructuring the Response
data CreateHoursOfOperationResponse Source #
See: newCreateHoursOfOperationResponse
smart constructor.
CreateHoursOfOperationResponse' | |
|
Instances
newCreateHoursOfOperationResponse Source #
Create a value of CreateHoursOfOperationResponse
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:hoursOfOperationArn:CreateHoursOfOperationResponse'
, createHoursOfOperationResponse_hoursOfOperationArn
- The Amazon Resource Name (ARN) for the hours of operation.
$sel:hoursOfOperationId:CreateHoursOfOperationResponse'
, createHoursOfOperationResponse_hoursOfOperationId
- The identifier for the hours of operation.
$sel:httpStatus:CreateHoursOfOperationResponse'
, createHoursOfOperationResponse_httpStatus
- The response's http status code.
Response Lenses
createHoursOfOperationResponse_hoursOfOperationArn :: Lens' CreateHoursOfOperationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the hours of operation.
createHoursOfOperationResponse_hoursOfOperationId :: Lens' CreateHoursOfOperationResponse (Maybe Text) Source #
The identifier for the hours of operation.
createHoursOfOperationResponse_httpStatus :: Lens' CreateHoursOfOperationResponse Int Source #
The response's http status code.