libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager
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.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
Eq GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Read GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Show GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Generic GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Associated Types

type Rep GetControl :: Type -> Type #

NFData GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Methods

rnf :: GetControl -> () #

Hashable GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

AWSRequest GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Associated Types

type AWSResponse GetControl #

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

type Rep GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

type Rep GetControl = D1 ('MetaData "GetControl" "Amazonka.AuditManager.GetControl" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "GetControl'" 'PrefixI 'True) (S1 ('MetaSel ('Just "controlId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetControl Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

newGetControl Source #

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:

$sel:controlId:GetControl', getControl_controlId - The identifier for the specified control.

Request Lenses

getControl_controlId :: Lens' GetControl Text Source #

The identifier for the specified control.

Destructuring the Response

data GetControlResponse Source #

See: newGetControlResponse smart constructor.

Constructors

GetControlResponse' 

Fields

Instances

Instances details
Eq GetControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Read GetControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Show GetControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Generic GetControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Associated Types

type Rep GetControlResponse :: Type -> Type #

NFData GetControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

Methods

rnf :: GetControlResponse -> () #

type Rep GetControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetControl

type Rep GetControlResponse = D1 ('MetaData "GetControlResponse" "Amazonka.AuditManager.GetControl" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" '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 returned by the GetControl API.

$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 returned by the GetControl API.