Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Describes a rule for the specified Amazon Connect instance.
Synopsis
- data DescribeRule = DescribeRule' {
- instanceId :: Text
- ruleId :: Text
- newDescribeRule :: Text -> Text -> DescribeRule
- describeRule_instanceId :: Lens' DescribeRule Text
- describeRule_ruleId :: Lens' DescribeRule Text
- data DescribeRuleResponse = DescribeRuleResponse' {
- httpStatus :: Int
- rule :: Rule
- newDescribeRuleResponse :: Int -> Rule -> DescribeRuleResponse
- describeRuleResponse_httpStatus :: Lens' DescribeRuleResponse Int
- describeRuleResponse_rule :: Lens' DescribeRuleResponse Rule
Creating a Request
data DescribeRule Source #
See: newDescribeRule
smart constructor.
DescribeRule' | |
|
Instances
Create a value of DescribeRule
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:
DescribeRule
, describeRule_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
DescribeRule
, describeRule_ruleId
- A unique identifier for the rule.
Request Lenses
describeRule_instanceId :: Lens' DescribeRule Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
describeRule_ruleId :: Lens' DescribeRule Text Source #
A unique identifier for the rule.
Destructuring the Response
data DescribeRuleResponse Source #
See: newDescribeRuleResponse
smart constructor.
DescribeRuleResponse' | |
|
Instances
newDescribeRuleResponse Source #
:: Int | |
-> Rule | |
-> DescribeRuleResponse |
Create a value of DescribeRuleResponse
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:httpStatus:DescribeRuleResponse'
, describeRuleResponse_httpStatus
- The response's http status code.
$sel:rule:DescribeRuleResponse'
, describeRuleResponse_rule
- Information about the rule.
Response Lenses
describeRuleResponse_httpStatus :: Lens' DescribeRuleResponse Int Source #
The response's http status code.
describeRuleResponse_rule :: Lens' DescribeRuleResponse Rule Source #
Information about the rule.