amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • maxResults :: Maybe Natural

    The maximum number of results to return per page. The default MaxResult size is 100.

  • 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.

  • instanceId :: Text

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

Instances

Instances details
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

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 #

Generic ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Associated Types

type Rep ListHoursOfOperations :: Type -> Type #

Read ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Show ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

NFData ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Methods

rnf :: ListHoursOfOperations -> () #

Eq ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Hashable ListHoursOfOperations Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

type AWSResponse 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" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "ListHoursOfOperations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:maxResults:ListHoursOfOperations', listHoursOfOperations_maxResults - The maximum number of results to return per page. The default MaxResult size is 100.

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.

ListHoursOfOperations, listHoursOfOperations_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Request Lenses

listHoursOfOperations_maxResults :: Lens' ListHoursOfOperations (Maybe Natural) Source #

The maximum number of results to return per page. The default MaxResult size is 100.

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_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
Generic ListHoursOfOperationsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Associated Types

type Rep ListHoursOfOperationsResponse :: Type -> Type #

Read ListHoursOfOperationsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Show ListHoursOfOperationsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

NFData ListHoursOfOperationsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListHoursOfOperations

Eq 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" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "ListHoursOfOperationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hoursOfOperationSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HoursOfOperationSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:hoursOfOperationSummaryList:ListHoursOfOperationsResponse', listHoursOfOperationsResponse_hoursOfOperationSummaryList - Information about the hours of operation.

ListHoursOfOperations, listHoursOfOperationsResponse_nextToken - If there are additional results, this is the token for the next set of results.

$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.