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 |
Provides information about the hours of operation for the specified Amazon Connect instance.
For more information about hours of operation, see Set the Hours of Operation for a Queue in the Amazon Connect Administrator Guide.
This operation returns paginated results.
Synopsis
- data ListHoursOfOperations = ListHoursOfOperations' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- instanceId :: Text
- newListHoursOfOperations :: Text -> ListHoursOfOperations
- listHoursOfOperations_nextToken :: Lens' ListHoursOfOperations (Maybe Text)
- listHoursOfOperations_maxResults :: Lens' ListHoursOfOperations (Maybe Natural)
- listHoursOfOperations_instanceId :: Lens' ListHoursOfOperations Text
- data ListHoursOfOperationsResponse = ListHoursOfOperationsResponse' {}
- newListHoursOfOperationsResponse :: Int -> ListHoursOfOperationsResponse
- listHoursOfOperationsResponse_nextToken :: Lens' ListHoursOfOperationsResponse (Maybe Text)
- listHoursOfOperationsResponse_hoursOfOperationSummaryList :: Lens' ListHoursOfOperationsResponse (Maybe [HoursOfOperationSummary])
- listHoursOfOperationsResponse_httpStatus :: Lens' ListHoursOfOperationsResponse Int
Creating a Request
data ListHoursOfOperations Source #
See: newListHoursOfOperations
smart constructor.
ListHoursOfOperations' | |
|
Instances
newListHoursOfOperations Source #
Create a value of ListHoursOfOperations
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:nextToken:ListHoursOfOperations'
, listHoursOfOperations_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:maxResults:ListHoursOfOperations'
, listHoursOfOperations_maxResults
- The maximum number of results to return per page.
$sel:instanceId:ListHoursOfOperations'
, listHoursOfOperations_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
listHoursOfOperations_nextToken :: Lens' ListHoursOfOperations (Maybe Text) Source #
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
listHoursOfOperations_maxResults :: Lens' ListHoursOfOperations (Maybe Natural) Source #
The maximum number of results to return per page.
listHoursOfOperations_instanceId :: Lens' ListHoursOfOperations Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data ListHoursOfOperationsResponse Source #
See: newListHoursOfOperationsResponse
smart constructor.
ListHoursOfOperationsResponse' | |
|
Instances
newListHoursOfOperationsResponse Source #
Create a value of ListHoursOfOperationsResponse
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:nextToken:ListHoursOfOperations'
, listHoursOfOperationsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:hoursOfOperationSummaryList:ListHoursOfOperationsResponse'
, listHoursOfOperationsResponse_hoursOfOperationSummaryList
- Information about the hours of operation.
$sel:httpStatus:ListHoursOfOperationsResponse'
, listHoursOfOperationsResponse_httpStatus
- The response's http status code.
Response Lenses
listHoursOfOperationsResponse_nextToken :: Lens' ListHoursOfOperationsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listHoursOfOperationsResponse_hoursOfOperationSummaryList :: Lens' ListHoursOfOperationsResponse (Maybe [HoursOfOperationSummary]) Source #
Information about the hours of operation.
listHoursOfOperationsResponse_httpStatus :: Lens' ListHoursOfOperationsResponse Int Source #
The response's http status code.