amazonka-auditmanager-2.0: Amazon Audit Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AuditManager.GetControl

Description

Returns a control from Audit Manager.

Synopsis

Creating a Request

data GetControl Source #

See: newGetControl smart constructor.

Constructors

GetControl' 

Fields

Instances

Instances details
ToHeaders GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Methods

toHeaders :: GetControl -> [Header] #

ToPath GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

ToQuery GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

AWSRequest GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Associated Types

type AWSResponse GetControl #

Generic GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Associated Types

type Rep GetControl :: Type -> Type #

Read GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Show GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

NFData GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Methods

rnf :: GetControl -> () #

Eq GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Hashable GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

type AWSResponse GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

type Rep GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

type Rep GetControl = D1 ('MetaData "GetControl" "Amazonka.AuditManager.GetControl" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "GetControl'" 'PrefixI 'True) (S1 ('MetaSel ('Just "controlId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetControl Source #

Arguments

:: Text

GetControl

-> GetControl 

Create a value of GetControl 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:

GetControl, getControl_controlId - The identifier for the control.

Request Lenses

getControl_controlId :: Lens' GetControl Text Source #

The identifier for the control.

Destructuring the Response

data GetControlResponse Source #

See: newGetControlResponse smart constructor.

Constructors

GetControlResponse' 

Fields

Instances

Instances details
Generic GetControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Associated Types

type Rep GetControlResponse :: Type -> Type #

Read GetControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Show GetControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

NFData GetControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Methods

rnf :: GetControlResponse -> () #

Eq GetControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

type Rep GetControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

type Rep GetControlResponse = D1 ('MetaData "GetControlResponse" "Amazonka.AuditManager.GetControl" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "GetControlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "control") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Control)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetControlResponse Source #

Create a value of GetControlResponse 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:control:GetControlResponse', getControlResponse_control - The name of the control that the GetControl API returned.

$sel:httpStatus:GetControlResponse', getControlResponse_httpStatus - The response's http status code.

Response Lenses

getControlResponse_control :: Lens' GetControlResponse (Maybe Control) Source #

The name of the control that the GetControl API returned.