| 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.BatchDisableStandards
Description
Disables the standards specified by the provided
StandardsSubscriptionArns.
For more information, see Security Standards section of the Security Hub User Guide.
Synopsis
- data BatchDisableStandards = BatchDisableStandards' {}
- newBatchDisableStandards :: NonEmpty Text -> BatchDisableStandards
- batchDisableStandards_standardsSubscriptionArns :: Lens' BatchDisableStandards (NonEmpty Text)
- data BatchDisableStandardsResponse = BatchDisableStandardsResponse' {}
- newBatchDisableStandardsResponse :: Int -> BatchDisableStandardsResponse
- batchDisableStandardsResponse_standardsSubscriptions :: Lens' BatchDisableStandardsResponse (Maybe [StandardsSubscription])
- batchDisableStandardsResponse_httpStatus :: Lens' BatchDisableStandardsResponse Int
Creating a Request
data BatchDisableStandards Source #
See: newBatchDisableStandards smart constructor.
Constructors
| BatchDisableStandards' | |
Fields
| |
Instances
newBatchDisableStandards Source #
Arguments
| :: NonEmpty Text | |
| -> BatchDisableStandards |
Create a value of BatchDisableStandards 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:standardsSubscriptionArns:BatchDisableStandards', batchDisableStandards_standardsSubscriptionArns - The ARNs of the standards subscriptions to disable.
Request Lenses
batchDisableStandards_standardsSubscriptionArns :: Lens' BatchDisableStandards (NonEmpty Text) Source #
The ARNs of the standards subscriptions to disable.
Destructuring the Response
data BatchDisableStandardsResponse Source #
See: newBatchDisableStandardsResponse smart constructor.
Constructors
| BatchDisableStandardsResponse' | |
Fields
| |
Instances
newBatchDisableStandardsResponse Source #
Create a value of BatchDisableStandardsResponse 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:BatchDisableStandardsResponse', batchDisableStandardsResponse_standardsSubscriptions - The details of the standards subscriptions that were disabled.
$sel:httpStatus:BatchDisableStandardsResponse', batchDisableStandardsResponse_httpStatus - The response's http status code.
Response Lenses
batchDisableStandardsResponse_standardsSubscriptions :: Lens' BatchDisableStandardsResponse (Maybe [StandardsSubscription]) Source #
The details of the standards subscriptions that were disabled.
batchDisableStandardsResponse_httpStatus :: Lens' BatchDisableStandardsResponse Int Source #
The response's http status code.