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

Description

Creates hours of operation.

Synopsis

Creating a Request

data CreateHoursOfOperation Source #

See: newCreateHoursOfOperation smart constructor.

Constructors

CreateHoursOfOperation' 

Fields

Instances

Instances details
Eq CreateHoursOfOperation Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

Read CreateHoursOfOperation Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

Show CreateHoursOfOperation Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

Generic CreateHoursOfOperation Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

Associated Types

type Rep CreateHoursOfOperation :: Type -> Type #

NFData CreateHoursOfOperation Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

Methods

rnf :: CreateHoursOfOperation -> () #

Hashable CreateHoursOfOperation Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

ToJSON CreateHoursOfOperation Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

AWSRequest CreateHoursOfOperation Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

Associated Types

type AWSResponse CreateHoursOfOperation #

ToHeaders CreateHoursOfOperation Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

ToPath CreateHoursOfOperation Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

ToQuery CreateHoursOfOperation Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

type Rep CreateHoursOfOperation Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

type Rep CreateHoursOfOperation = D1 ('MetaData "CreateHoursOfOperation" "Amazonka.Connect.CreateHoursOfOperation" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "CreateHoursOfOperation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "timeZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "config") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [HoursOfOperationConfig])))))
type AWSResponse CreateHoursOfOperation Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

newCreateHoursOfOperation Source #

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_instanceId :: Lens' CreateHoursOfOperation Text Source #

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

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.

Constructors

CreateHoursOfOperationResponse' 

Fields

Instances

Instances details
Eq CreateHoursOfOperationResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

Read CreateHoursOfOperationResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

Show CreateHoursOfOperationResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

Generic CreateHoursOfOperationResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

Associated Types

type Rep CreateHoursOfOperationResponse :: Type -> Type #

NFData CreateHoursOfOperationResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

type Rep CreateHoursOfOperationResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateHoursOfOperation

type Rep CreateHoursOfOperationResponse = D1 ('MetaData "CreateHoursOfOperationResponse" "Amazonka.Connect.CreateHoursOfOperation" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "CreateHoursOfOperationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hoursOfOperationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hoursOfOperationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.