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 |
Lists rule groups namespaces.
This operation returns paginated results.
Synopsis
- data ListRuleGroupsNamespaces = ListRuleGroupsNamespaces' {}
- newListRuleGroupsNamespaces :: Text -> ListRuleGroupsNamespaces
- listRuleGroupsNamespaces_nextToken :: Lens' ListRuleGroupsNamespaces (Maybe Text)
- listRuleGroupsNamespaces_name :: Lens' ListRuleGroupsNamespaces (Maybe Text)
- listRuleGroupsNamespaces_maxResults :: Lens' ListRuleGroupsNamespaces (Maybe Natural)
- listRuleGroupsNamespaces_workspaceId :: Lens' ListRuleGroupsNamespaces Text
- data ListRuleGroupsNamespacesResponse = ListRuleGroupsNamespacesResponse' {}
- newListRuleGroupsNamespacesResponse :: Int -> ListRuleGroupsNamespacesResponse
- listRuleGroupsNamespacesResponse_nextToken :: Lens' ListRuleGroupsNamespacesResponse (Maybe Text)
- listRuleGroupsNamespacesResponse_httpStatus :: Lens' ListRuleGroupsNamespacesResponse Int
- listRuleGroupsNamespacesResponse_ruleGroupsNamespaces :: Lens' ListRuleGroupsNamespacesResponse [RuleGroupsNamespaceSummary]
Creating a Request
data ListRuleGroupsNamespaces Source #
Represents the input of a ListRuleGroupsNamespaces operation.
See: newListRuleGroupsNamespaces
smart constructor.
ListRuleGroupsNamespaces' | |
|
Instances
newListRuleGroupsNamespaces Source #
Create a value of ListRuleGroupsNamespaces
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:nextToken:ListRuleGroupsNamespaces'
, listRuleGroupsNamespaces_nextToken
- Pagination token to request the next page in a paginated list. This
token is obtained from the output of the previous
ListRuleGroupsNamespaces request.
$sel:name:ListRuleGroupsNamespaces'
, listRuleGroupsNamespaces_name
- Optional filter for rule groups namespace name. Only the rule groups
namespace that begin with this value will be returned.
$sel:maxResults:ListRuleGroupsNamespaces'
, listRuleGroupsNamespaces_maxResults
- Maximum results to return in response (default=100, maximum=1000).
$sel:workspaceId:ListRuleGroupsNamespaces'
, listRuleGroupsNamespaces_workspaceId
- The ID of the workspace.
Request Lenses
listRuleGroupsNamespaces_nextToken :: Lens' ListRuleGroupsNamespaces (Maybe Text) Source #
Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListRuleGroupsNamespaces request.
listRuleGroupsNamespaces_name :: Lens' ListRuleGroupsNamespaces (Maybe Text) Source #
Optional filter for rule groups namespace name. Only the rule groups namespace that begin with this value will be returned.
listRuleGroupsNamespaces_maxResults :: Lens' ListRuleGroupsNamespaces (Maybe Natural) Source #
Maximum results to return in response (default=100, maximum=1000).
listRuleGroupsNamespaces_workspaceId :: Lens' ListRuleGroupsNamespaces Text Source #
The ID of the workspace.
Destructuring the Response
data ListRuleGroupsNamespacesResponse Source #
Represents the output of a ListRuleGroupsNamespaces operation.
See: newListRuleGroupsNamespacesResponse
smart constructor.
ListRuleGroupsNamespacesResponse' | |
|
Instances
newListRuleGroupsNamespacesResponse Source #
Create a value of ListRuleGroupsNamespacesResponse
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:nextToken:ListRuleGroupsNamespaces'
, listRuleGroupsNamespacesResponse_nextToken
- Pagination token to use when requesting the next page in this list.
$sel:httpStatus:ListRuleGroupsNamespacesResponse'
, listRuleGroupsNamespacesResponse_httpStatus
- The response's http status code.
$sel:ruleGroupsNamespaces:ListRuleGroupsNamespacesResponse'
, listRuleGroupsNamespacesResponse_ruleGroupsNamespaces
- The list of the selected rule groups namespaces.
Response Lenses
listRuleGroupsNamespacesResponse_nextToken :: Lens' ListRuleGroupsNamespacesResponse (Maybe Text) Source #
Pagination token to use when requesting the next page in this list.
listRuleGroupsNamespacesResponse_httpStatus :: Lens' ListRuleGroupsNamespacesResponse Int Source #
The response's http status code.
listRuleGroupsNamespacesResponse_ruleGroupsNamespaces :: Lens' ListRuleGroupsNamespacesResponse [RuleGroupsNamespaceSummary] Source #
The list of the selected rule groups namespaces.