libZSservicesZSamazonka-connectZSamazonka-connect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Connect.ListHoursOfOperations

Description

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

Creating a Request

data ListHoursOfOperations Source #

See: newListHoursOfOperations smart constructor.

Constructors

ListHoursOfOperations' 

Fields

  • nextToken :: Maybe Text

    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.

  • maxResults :: Maybe Natural

    The maximum number of results to return per page.

  • instanceId :: Text

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Instances

Instances details
Eq ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Read ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Show ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Generic ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Associated Types

type Rep ListHoursOfOperations :: Type -> Type #

NFData ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Methods

rnf :: ListHoursOfOperations -> () #

Hashable ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

AWSPager ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

AWSRequest ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Associated Types

type AWSResponse ListHoursOfOperations #

ToHeaders ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

ToPath ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

ToQuery ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

type Rep ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

type Rep ListHoursOfOperations = D1 ('MetaData "ListHoursOfOperations" "Amazonka.Connect.ListHoursOfOperations" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListHoursOfOperations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

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.

Constructors

ListHoursOfOperationsResponse' 

Fields

Instances

Instances details
Eq ListHoursOfOperationsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Read ListHoursOfOperationsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Show ListHoursOfOperationsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Generic ListHoursOfOperationsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Associated Types

type Rep ListHoursOfOperationsResponse :: Type -> Type #

NFData ListHoursOfOperationsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

type Rep ListHoursOfOperationsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

type Rep ListHoursOfOperationsResponse = D1 ('MetaData "ListHoursOfOperationsResponse" "Amazonka.Connect.ListHoursOfOperations" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListHoursOfOperationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hoursOfOperationSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HoursOfOperationSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.