| 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 |
Amazonka.AMP.DescribeRuleGroupsNamespace
Description
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.
Constructors
| DescribeRuleGroupsNamespace' | |
Fields
| |
Instances
newDescribeRuleGroupsNamespace Source #
Arguments
| :: 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:
DescribeRuleGroupsNamespace, describeRuleGroupsNamespace_name - The rule groups namespace.
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.
Constructors
| DescribeRuleGroupsNamespaceResponse' | |
Fields
| |
Instances
newDescribeRuleGroupsNamespaceResponse Source #
Arguments
| :: 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.