| 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.MacieV2.ListClassificationScopes
Description
Retrieves a subset of information about the classification scope for an account.
This operation returns paginated results.
Synopsis
- data ListClassificationScopes = ListClassificationScopes' {}
- newListClassificationScopes :: ListClassificationScopes
- listClassificationScopes_name :: Lens' ListClassificationScopes (Maybe Text)
- listClassificationScopes_nextToken :: Lens' ListClassificationScopes (Maybe Text)
- data ListClassificationScopesResponse = ListClassificationScopesResponse' {}
- newListClassificationScopesResponse :: Int -> ListClassificationScopesResponse
- listClassificationScopesResponse_classificationScopes :: Lens' ListClassificationScopesResponse (Maybe [ClassificationScopeSummary])
- listClassificationScopesResponse_nextToken :: Lens' ListClassificationScopesResponse (Maybe Text)
- listClassificationScopesResponse_httpStatus :: Lens' ListClassificationScopesResponse Int
Creating a Request
data ListClassificationScopes Source #
See: newListClassificationScopes smart constructor.
Constructors
| ListClassificationScopes' | |
Instances
newListClassificationScopes :: ListClassificationScopes Source #
Create a value of ListClassificationScopes 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:
ListClassificationScopes, listClassificationScopes_name - The name of the classification scope to retrieve the unique identifier
for.
ListClassificationScopes, listClassificationScopes_nextToken - The nextToken string that specifies which page of results to return in a
paginated response.
Request Lenses
listClassificationScopes_name :: Lens' ListClassificationScopes (Maybe Text) Source #
The name of the classification scope to retrieve the unique identifier for.
listClassificationScopes_nextToken :: Lens' ListClassificationScopes (Maybe Text) Source #
The nextToken string that specifies which page of results to return in a paginated response.
Destructuring the Response
data ListClassificationScopesResponse Source #
See: newListClassificationScopesResponse smart constructor.
Constructors
| ListClassificationScopesResponse' | |
Fields
| |
Instances
newListClassificationScopesResponse Source #
Create a value of ListClassificationScopesResponse 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:classificationScopes:ListClassificationScopesResponse', listClassificationScopesResponse_classificationScopes - An array that specifies the unique identifier and name of the
classification scope for the account.
ListClassificationScopes, listClassificationScopesResponse_nextToken - The string to use in a subsequent request to get the next page of
results in a paginated response. This value is null if there are no
additional pages.
$sel:httpStatus:ListClassificationScopesResponse', listClassificationScopesResponse_httpStatus - The response's http status code.
Response Lenses
listClassificationScopesResponse_classificationScopes :: Lens' ListClassificationScopesResponse (Maybe [ClassificationScopeSummary]) Source #
An array that specifies the unique identifier and name of the classification scope for the account.
listClassificationScopesResponse_nextToken :: Lens' ListClassificationScopesResponse (Maybe Text) Source #
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
listClassificationScopesResponse_httpStatus :: Lens' ListClassificationScopesResponse Int Source #
The response's http status code.