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 |
Used to control whether an individual security standard control is enabled or disabled.
Synopsis
- data UpdateStandardsControl = UpdateStandardsControl' {}
- newUpdateStandardsControl :: Text -> UpdateStandardsControl
- updateStandardsControl_controlStatus :: Lens' UpdateStandardsControl (Maybe ControlStatus)
- updateStandardsControl_disabledReason :: Lens' UpdateStandardsControl (Maybe Text)
- updateStandardsControl_standardsControlArn :: Lens' UpdateStandardsControl Text
- data UpdateStandardsControlResponse = UpdateStandardsControlResponse' {
- httpStatus :: Int
- newUpdateStandardsControlResponse :: Int -> UpdateStandardsControlResponse
- updateStandardsControlResponse_httpStatus :: Lens' UpdateStandardsControlResponse Int
Creating a Request
data UpdateStandardsControl Source #
See: newUpdateStandardsControl
smart constructor.
UpdateStandardsControl' | |
|
Instances
newUpdateStandardsControl Source #
Create a value of UpdateStandardsControl
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:controlStatus:UpdateStandardsControl'
, updateStandardsControl_controlStatus
- The updated status of the security standard control.
$sel:disabledReason:UpdateStandardsControl'
, updateStandardsControl_disabledReason
- A description of the reason why you are disabling a security standard
control. If you are disabling a control, then this is required.
$sel:standardsControlArn:UpdateStandardsControl'
, updateStandardsControl_standardsControlArn
- The ARN of the security standard control to enable or disable.
Request Lenses
updateStandardsControl_controlStatus :: Lens' UpdateStandardsControl (Maybe ControlStatus) Source #
The updated status of the security standard control.
updateStandardsControl_disabledReason :: Lens' UpdateStandardsControl (Maybe Text) Source #
A description of the reason why you are disabling a security standard control. If you are disabling a control, then this is required.
updateStandardsControl_standardsControlArn :: Lens' UpdateStandardsControl Text Source #
The ARN of the security standard control to enable or disable.
Destructuring the Response
data UpdateStandardsControlResponse Source #
See: newUpdateStandardsControlResponse
smart constructor.
UpdateStandardsControlResponse' | |
|
Instances
Eq UpdateStandardsControlResponse Source # | |
Read UpdateStandardsControlResponse Source # | |
Show UpdateStandardsControlResponse Source # | |
Defined in Amazonka.SecurityHub.UpdateStandardsControl | |
Generic UpdateStandardsControlResponse Source # | |
NFData UpdateStandardsControlResponse Source # | |
Defined in Amazonka.SecurityHub.UpdateStandardsControl rnf :: UpdateStandardsControlResponse -> () # | |
type Rep UpdateStandardsControlResponse Source # | |
Defined in Amazonka.SecurityHub.UpdateStandardsControl type Rep UpdateStandardsControlResponse = D1 ('MetaData "UpdateStandardsControlResponse" "Amazonka.SecurityHub.UpdateStandardsControl" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "UpdateStandardsControlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateStandardsControlResponse Source #
Create a value of UpdateStandardsControlResponse
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:httpStatus:UpdateStandardsControlResponse'
, updateStandardsControlResponse_httpStatus
- The response's http status code.
Response Lenses
updateStandardsControlResponse_httpStatus :: Lens' UpdateStandardsControlResponse Int Source #
The response's http status code.