libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.UpdateStandardsControl

Description

Used to control whether an individual security standard control is enabled or disabled.

Synopsis

Creating a Request

data UpdateStandardsControl Source #

See: newUpdateStandardsControl smart constructor.

Constructors

UpdateStandardsControl' 

Fields

Instances

Instances details
Eq UpdateStandardsControl Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

Read UpdateStandardsControl Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

Show UpdateStandardsControl Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

Generic UpdateStandardsControl Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

Associated Types

type Rep UpdateStandardsControl :: Type -> Type #

NFData UpdateStandardsControl Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

Methods

rnf :: UpdateStandardsControl -> () #

Hashable UpdateStandardsControl Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

ToJSON UpdateStandardsControl Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

AWSRequest UpdateStandardsControl Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

Associated Types

type AWSResponse UpdateStandardsControl #

ToHeaders UpdateStandardsControl Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

ToPath UpdateStandardsControl Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

ToQuery UpdateStandardsControl Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

type Rep UpdateStandardsControl Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

type Rep UpdateStandardsControl = D1 ('MetaData "UpdateStandardsControl" "Amazonka.SecurityHub.UpdateStandardsControl" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "UpdateStandardsControl'" 'PrefixI 'True) (S1 ('MetaSel ('Just "controlStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ControlStatus)) :*: (S1 ('MetaSel ('Just "disabledReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "standardsControlArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateStandardsControl Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

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.

Constructors

UpdateStandardsControlResponse' 

Fields

Instances

Instances details
Eq UpdateStandardsControlResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

Read UpdateStandardsControlResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

Show UpdateStandardsControlResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

Generic UpdateStandardsControlResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

Associated Types

type Rep UpdateStandardsControlResponse :: Type -> Type #

NFData UpdateStandardsControlResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateStandardsControl

type Rep UpdateStandardsControlResponse Source # 
Instance details

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