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 |
Enables the standards specified by the provided StandardsArn
. To
obtain the ARN for a standard, use the DescribeStandards
operation.
For more information, see the Security Standards section of the Security Hub User Guide.
Synopsis
- data BatchEnableStandards = BatchEnableStandards' {}
- newBatchEnableStandards :: NonEmpty StandardsSubscriptionRequest -> BatchEnableStandards
- batchEnableStandards_standardsSubscriptionRequests :: Lens' BatchEnableStandards (NonEmpty StandardsSubscriptionRequest)
- data BatchEnableStandardsResponse = BatchEnableStandardsResponse' {}
- newBatchEnableStandardsResponse :: Int -> BatchEnableStandardsResponse
- batchEnableStandardsResponse_standardsSubscriptions :: Lens' BatchEnableStandardsResponse (Maybe [StandardsSubscription])
- batchEnableStandardsResponse_httpStatus :: Lens' BatchEnableStandardsResponse Int
Creating a Request
data BatchEnableStandards Source #
See: newBatchEnableStandards
smart constructor.
BatchEnableStandards' | |
|
Instances
newBatchEnableStandards Source #
Create a value of BatchEnableStandards
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:standardsSubscriptionRequests:BatchEnableStandards'
, batchEnableStandards_standardsSubscriptionRequests
- The list of standards checks to enable.
Request Lenses
batchEnableStandards_standardsSubscriptionRequests :: Lens' BatchEnableStandards (NonEmpty StandardsSubscriptionRequest) Source #
The list of standards checks to enable.
Destructuring the Response
data BatchEnableStandardsResponse Source #
See: newBatchEnableStandardsResponse
smart constructor.
BatchEnableStandardsResponse' | |
|
Instances
newBatchEnableStandardsResponse Source #
Create a value of BatchEnableStandardsResponse
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:standardsSubscriptions:BatchEnableStandardsResponse'
, batchEnableStandardsResponse_standardsSubscriptions
- The details of the standards subscriptions that were enabled.
$sel:httpStatus:BatchEnableStandardsResponse'
, batchEnableStandardsResponse_httpStatus
- The response's http status code.
Response Lenses
batchEnableStandardsResponse_standardsSubscriptions :: Lens' BatchEnableStandardsResponse (Maybe [StandardsSubscription]) Source #
The details of the standards subscriptions that were enabled.
batchEnableStandardsResponse_httpStatus :: Lens' BatchEnableStandardsResponse Int Source #
The response's http status code.