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 |
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.
DescribeHoursOfOperation' | |
|
Instances
newDescribeHoursOfOperation Source #
:: Text | |
-> Text | |
-> DescribeHoursOfOperation |
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:
$sel:instanceId:DescribeHoursOfOperation'
, describeHoursOfOperation_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:hoursOfOperationId: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.
DescribeHoursOfOperationResponse' | |
|
Instances
Eq DescribeHoursOfOperationResponse Source # | |
Read DescribeHoursOfOperationResponse Source # | |
Show DescribeHoursOfOperationResponse Source # | |
Defined in Amazonka.Connect.DescribeHoursOfOperation | |
Generic DescribeHoursOfOperationResponse Source # | |
NFData DescribeHoursOfOperationResponse Source # | |
Defined in Amazonka.Connect.DescribeHoursOfOperation rnf :: DescribeHoursOfOperationResponse -> () # | |
type Rep DescribeHoursOfOperationResponse Source # | |
Defined in Amazonka.Connect.DescribeHoursOfOperation type Rep DescribeHoursOfOperationResponse = D1 ('MetaData "DescribeHoursOfOperationResponse" "Amazonka.Connect.DescribeHoursOfOperation" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "DescribeHoursOfOperationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hoursOfOperation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HoursOfOperation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.