| 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.DescribeHoursOfOperation
Description
This API is in preview release for Amazon Connect and is subject to change.
Describes the hours of operation.
Synopsis
- data DescribeHoursOfOperation = DescribeHoursOfOperation' {}
- newDescribeHoursOfOperation :: Text -> Text -> DescribeHoursOfOperation
- describeHoursOfOperation_instanceId :: Lens' DescribeHoursOfOperation Text
- describeHoursOfOperation_hoursOfOperationId :: Lens' DescribeHoursOfOperation Text
- data DescribeHoursOfOperationResponse = DescribeHoursOfOperationResponse' {}
- newDescribeHoursOfOperationResponse :: Int -> DescribeHoursOfOperationResponse
- describeHoursOfOperationResponse_hoursOfOperation :: Lens' DescribeHoursOfOperationResponse (Maybe HoursOfOperation)
- describeHoursOfOperationResponse_httpStatus :: Lens' DescribeHoursOfOperationResponse Int
Creating a Request
data DescribeHoursOfOperation Source #
See: newDescribeHoursOfOperation smart constructor.
Constructors
| DescribeHoursOfOperation' | |
Fields
| |
Instances
newDescribeHoursOfOperation Source #
Create a value of DescribeHoursOfOperation 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:
DescribeHoursOfOperation, describeHoursOfOperation_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
DescribeHoursOfOperation, describeHoursOfOperation_hoursOfOperationId - The identifier for the hours of operation.
Request Lenses
describeHoursOfOperation_instanceId :: Lens' DescribeHoursOfOperation Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
describeHoursOfOperation_hoursOfOperationId :: Lens' DescribeHoursOfOperation Text Source #
The identifier for the hours of operation.
Destructuring the Response
data DescribeHoursOfOperationResponse Source #
See: newDescribeHoursOfOperationResponse smart constructor.
Constructors
| DescribeHoursOfOperationResponse' | |
Fields
| |
Instances
newDescribeHoursOfOperationResponse Source #
Create a value of DescribeHoursOfOperationResponse 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:hoursOfOperation:DescribeHoursOfOperationResponse', describeHoursOfOperationResponse_hoursOfOperation - The hours of operation.
$sel:httpStatus:DescribeHoursOfOperationResponse', describeHoursOfOperationResponse_httpStatus - The response's http status code.
Response Lenses
describeHoursOfOperationResponse_hoursOfOperation :: Lens' DescribeHoursOfOperationResponse (Maybe HoursOfOperation) Source #
The hours of operation.
describeHoursOfOperationResponse_httpStatus :: Lens' DescribeHoursOfOperationResponse Int Source #
The response's http status code.