| 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.GetEnabledStandards
Description
Returns a list of the standards that are currently enabled.
This operation returns paginated results.
Synopsis
- data GetEnabledStandards = GetEnabledStandards' {}
- newGetEnabledStandards :: GetEnabledStandards
- getEnabledStandards_nextToken :: Lens' GetEnabledStandards (Maybe Text)
- getEnabledStandards_standardsSubscriptionArns :: Lens' GetEnabledStandards (Maybe (NonEmpty Text))
- getEnabledStandards_maxResults :: Lens' GetEnabledStandards (Maybe Natural)
- data GetEnabledStandardsResponse = GetEnabledStandardsResponse' {}
- newGetEnabledStandardsResponse :: Int -> GetEnabledStandardsResponse
- getEnabledStandardsResponse_nextToken :: Lens' GetEnabledStandardsResponse (Maybe Text)
- getEnabledStandardsResponse_standardsSubscriptions :: Lens' GetEnabledStandardsResponse (Maybe [StandardsSubscription])
- getEnabledStandardsResponse_httpStatus :: Lens' GetEnabledStandardsResponse Int
Creating a Request
data GetEnabledStandards Source #
See: newGetEnabledStandards smart constructor.
Constructors
| GetEnabledStandards' | |
Fields
| |
Instances
newGetEnabledStandards :: GetEnabledStandards Source #
Create a value of GetEnabledStandards 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:GetEnabledStandards', getEnabledStandards_nextToken - The token that is required for pagination. On your first call to the
GetEnabledStandards 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:standardsSubscriptionArns:GetEnabledStandards', getEnabledStandards_standardsSubscriptionArns - The list of the standards subscription ARNs for the standards to
retrieve.
$sel:maxResults:GetEnabledStandards', getEnabledStandards_maxResults - The maximum number of results to return in the response.
Request Lenses
getEnabledStandards_nextToken :: Lens' GetEnabledStandards (Maybe Text) Source #
The token that is required for pagination. On your first call to the
GetEnabledStandards 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.
getEnabledStandards_standardsSubscriptionArns :: Lens' GetEnabledStandards (Maybe (NonEmpty Text)) Source #
The list of the standards subscription ARNs for the standards to retrieve.
getEnabledStandards_maxResults :: Lens' GetEnabledStandards (Maybe Natural) Source #
The maximum number of results to return in the response.
Destructuring the Response
data GetEnabledStandardsResponse Source #
See: newGetEnabledStandardsResponse smart constructor.
Constructors
| GetEnabledStandardsResponse' | |
Fields
| |
Instances
newGetEnabledStandardsResponse Source #
Create a value of GetEnabledStandardsResponse 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:GetEnabledStandards', getEnabledStandardsResponse_nextToken - The pagination token to use to request the next page of results.
$sel:standardsSubscriptions:GetEnabledStandardsResponse', getEnabledStandardsResponse_standardsSubscriptions - The list of StandardsSubscriptions objects that include information
about the enabled standards.
$sel:httpStatus:GetEnabledStandardsResponse', getEnabledStandardsResponse_httpStatus - The response's http status code.
Response Lenses
getEnabledStandardsResponse_nextToken :: Lens' GetEnabledStandardsResponse (Maybe Text) Source #
The pagination token to use to request the next page of results.
getEnabledStandardsResponse_standardsSubscriptions :: Lens' GetEnabledStandardsResponse (Maybe [StandardsSubscription]) Source #
The list of StandardsSubscriptions objects that include information
about the enabled standards.
getEnabledStandardsResponse_httpStatus :: Lens' GetEnabledStandardsResponse Int Source #
The response's http status code.