| 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 |
Amazonka.SecurityHub.DescribeStandards
Description
Returns a list of the available standards in Security Hub.
For each standard, the results include the standard ARN, the name, and a description.
This operation returns paginated results.
Synopsis
- data DescribeStandards = DescribeStandards' {}
- newDescribeStandards :: DescribeStandards
- describeStandards_nextToken :: Lens' DescribeStandards (Maybe Text)
- describeStandards_maxResults :: Lens' DescribeStandards (Maybe Natural)
- data DescribeStandardsResponse = DescribeStandardsResponse' {}
- newDescribeStandardsResponse :: Int -> DescribeStandardsResponse
- describeStandardsResponse_standards :: Lens' DescribeStandardsResponse (Maybe [Standard])
- describeStandardsResponse_nextToken :: Lens' DescribeStandardsResponse (Maybe Text)
- describeStandardsResponse_httpStatus :: Lens' DescribeStandardsResponse Int
Creating a Request
data DescribeStandards Source #
See: newDescribeStandards smart constructor.
Constructors
| DescribeStandards' | |
Fields
| |
Instances
newDescribeStandards :: DescribeStandards Source #
Create a value of DescribeStandards 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:DescribeStandards', describeStandards_nextToken - The token that is required for pagination. On your first call to the
DescribeStandards operation, set the value of this parameter to
NULL.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
$sel:maxResults:DescribeStandards', describeStandards_maxResults - The maximum number of standards to return.
Request Lenses
describeStandards_nextToken :: Lens' DescribeStandards (Maybe Text) Source #
The token that is required for pagination. On your first call to the
DescribeStandards operation, set the value of this parameter to
NULL.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
describeStandards_maxResults :: Lens' DescribeStandards (Maybe Natural) Source #
The maximum number of standards to return.
Destructuring the Response
data DescribeStandardsResponse Source #
See: newDescribeStandardsResponse smart constructor.
Constructors
| DescribeStandardsResponse' | |
Instances
newDescribeStandardsResponse Source #
Create a value of DescribeStandardsResponse 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:standards:DescribeStandardsResponse', describeStandardsResponse_standards - A list of available standards.
$sel:nextToken:DescribeStandards', describeStandardsResponse_nextToken - The pagination token to use to request the next page of results.
$sel:httpStatus:DescribeStandardsResponse', describeStandardsResponse_httpStatus - The response's http status code.
Response Lenses
describeStandardsResponse_standards :: Lens' DescribeStandardsResponse (Maybe [Standard]) Source #
A list of available standards.
describeStandardsResponse_nextToken :: Lens' DescribeStandardsResponse (Maybe Text) Source #
The pagination token to use to request the next page of results.
describeStandardsResponse_httpStatus :: Lens' DescribeStandardsResponse Int Source #
The response's http status code.