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 |
Describe a rule groups namespace.
Synopsis
- data DescribeRuleGroupsNamespace = DescribeRuleGroupsNamespace' {
- name :: Text
- workspaceId :: Text
- newDescribeRuleGroupsNamespace :: Text -> Text -> DescribeRuleGroupsNamespace
- describeRuleGroupsNamespace_name :: Lens' DescribeRuleGroupsNamespace Text
- describeRuleGroupsNamespace_workspaceId :: Lens' DescribeRuleGroupsNamespace Text
- data DescribeRuleGroupsNamespaceResponse = DescribeRuleGroupsNamespaceResponse' {}
- newDescribeRuleGroupsNamespaceResponse :: Int -> RuleGroupsNamespaceDescription -> DescribeRuleGroupsNamespaceResponse
- describeRuleGroupsNamespaceResponse_httpStatus :: Lens' DescribeRuleGroupsNamespaceResponse Int
- describeRuleGroupsNamespaceResponse_ruleGroupsNamespace :: Lens' DescribeRuleGroupsNamespaceResponse RuleGroupsNamespaceDescription
Creating a Request
data DescribeRuleGroupsNamespace Source #
Represents the input of a DescribeRuleGroupsNamespace operation.
See: newDescribeRuleGroupsNamespace
smart constructor.
DescribeRuleGroupsNamespace' | |
|
Instances
newDescribeRuleGroupsNamespace Source #
:: Text | |
-> Text | |
-> DescribeRuleGroupsNamespace |
Create a value of DescribeRuleGroupsNamespace
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:name:DescribeRuleGroupsNamespace'
, describeRuleGroupsNamespace_name
- The rule groups namespace.
$sel:workspaceId:DescribeRuleGroupsNamespace'
, describeRuleGroupsNamespace_workspaceId
- The ID of the workspace to describe.
Request Lenses
describeRuleGroupsNamespace_name :: Lens' DescribeRuleGroupsNamespace Text Source #
The rule groups namespace.
describeRuleGroupsNamespace_workspaceId :: Lens' DescribeRuleGroupsNamespace Text Source #
The ID of the workspace to describe.
Destructuring the Response
data DescribeRuleGroupsNamespaceResponse Source #
Represents the output of a DescribeRuleGroupsNamespace operation.
See: newDescribeRuleGroupsNamespaceResponse
smart constructor.
DescribeRuleGroupsNamespaceResponse' | |
|
Instances
Eq DescribeRuleGroupsNamespaceResponse Source # | |
Read DescribeRuleGroupsNamespaceResponse Source # | |
Show DescribeRuleGroupsNamespaceResponse Source # | |
Generic DescribeRuleGroupsNamespaceResponse Source # | |
NFData DescribeRuleGroupsNamespaceResponse Source # | |
Defined in Amazonka.AMP.DescribeRuleGroupsNamespace rnf :: DescribeRuleGroupsNamespaceResponse -> () # | |
type Rep DescribeRuleGroupsNamespaceResponse Source # | |
Defined in Amazonka.AMP.DescribeRuleGroupsNamespace type Rep DescribeRuleGroupsNamespaceResponse = D1 ('MetaData "DescribeRuleGroupsNamespaceResponse" "Amazonka.AMP.DescribeRuleGroupsNamespace" "libZSservicesZSamazonka-ampZSamazonka-amp" 'False) (C1 ('MetaCons "DescribeRuleGroupsNamespaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "ruleGroupsNamespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuleGroupsNamespaceDescription))) |
newDescribeRuleGroupsNamespaceResponse Source #
:: Int | |
-> RuleGroupsNamespaceDescription |
|
-> DescribeRuleGroupsNamespaceResponse |
Create a value of DescribeRuleGroupsNamespaceResponse
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:DescribeRuleGroupsNamespaceResponse'
, describeRuleGroupsNamespaceResponse_httpStatus
- The response's http status code.
$sel:ruleGroupsNamespace:DescribeRuleGroupsNamespaceResponse'
, describeRuleGroupsNamespaceResponse_ruleGroupsNamespace
- The selected rule groups namespace.
Response Lenses
describeRuleGroupsNamespaceResponse_httpStatus :: Lens' DescribeRuleGroupsNamespaceResponse Int Source #
The response's http status code.
describeRuleGroupsNamespaceResponse_ruleGroupsNamespace :: Lens' DescribeRuleGroupsNamespaceResponse RuleGroupsNamespaceDescription Source #
The selected rule groups namespace.