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 |
Returns a list of security standards controls.
For each control, the results include information about whether it is currently enabled, the severity, and a link to remediation information.
This operation returns paginated results.
Synopsis
- data DescribeStandardsControls = DescribeStandardsControls' {}
- newDescribeStandardsControls :: Text -> DescribeStandardsControls
- describeStandardsControls_nextToken :: Lens' DescribeStandardsControls (Maybe Text)
- describeStandardsControls_maxResults :: Lens' DescribeStandardsControls (Maybe Natural)
- describeStandardsControls_standardsSubscriptionArn :: Lens' DescribeStandardsControls Text
- data DescribeStandardsControlsResponse = DescribeStandardsControlsResponse' {
- controls :: Maybe [StandardsControl]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeStandardsControlsResponse :: Int -> DescribeStandardsControlsResponse
- describeStandardsControlsResponse_controls :: Lens' DescribeStandardsControlsResponse (Maybe [StandardsControl])
- describeStandardsControlsResponse_nextToken :: Lens' DescribeStandardsControlsResponse (Maybe Text)
- describeStandardsControlsResponse_httpStatus :: Lens' DescribeStandardsControlsResponse Int
Creating a Request
data DescribeStandardsControls Source #
See: newDescribeStandardsControls
smart constructor.
DescribeStandardsControls' | |
|
Instances
newDescribeStandardsControls Source #
Create a value of DescribeStandardsControls
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:DescribeStandardsControls'
, describeStandardsControls_nextToken
- The token that is required for pagination. On your first call to the
DescribeStandardsControls
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:DescribeStandardsControls'
, describeStandardsControls_maxResults
- The maximum number of security standard controls to return.
$sel:standardsSubscriptionArn:DescribeStandardsControls'
, describeStandardsControls_standardsSubscriptionArn
- The ARN of a resource that represents your subscription to a supported
standard. To get the subscription ARNs of the standards you have
enabled, use the GetEnabledStandards
operation.
Request Lenses
describeStandardsControls_nextToken :: Lens' DescribeStandardsControls (Maybe Text) Source #
The token that is required for pagination. On your first call to the
DescribeStandardsControls
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.
describeStandardsControls_maxResults :: Lens' DescribeStandardsControls (Maybe Natural) Source #
The maximum number of security standard controls to return.
describeStandardsControls_standardsSubscriptionArn :: Lens' DescribeStandardsControls Text Source #
The ARN of a resource that represents your subscription to a supported
standard. To get the subscription ARNs of the standards you have
enabled, use the GetEnabledStandards
operation.
Destructuring the Response
data DescribeStandardsControlsResponse Source #
See: newDescribeStandardsControlsResponse
smart constructor.
DescribeStandardsControlsResponse' | |
|
Instances
newDescribeStandardsControlsResponse Source #
Create a value of DescribeStandardsControlsResponse
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:controls:DescribeStandardsControlsResponse'
, describeStandardsControlsResponse_controls
- A list of security standards controls.
$sel:nextToken:DescribeStandardsControls'
, describeStandardsControlsResponse_nextToken
- The pagination token to use to request the next page of results.
$sel:httpStatus:DescribeStandardsControlsResponse'
, describeStandardsControlsResponse_httpStatus
- The response's http status code.
Response Lenses
describeStandardsControlsResponse_controls :: Lens' DescribeStandardsControlsResponse (Maybe [StandardsControl]) Source #
A list of security standards controls.
describeStandardsControlsResponse_nextToken :: Lens' DescribeStandardsControlsResponse (Maybe Text) Source #
The pagination token to use to request the next page of results.
describeStandardsControlsResponse_httpStatus :: Lens' DescribeStandardsControlsResponse Int Source #
The response's http status code.