libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail
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.CloudTrail.GetTrail

Description

Returns settings information for a specified trail.

Synopsis

Creating a Request

data GetTrail Source #

See: newGetTrail smart constructor.

Constructors

GetTrail' 

Fields

  • name :: Text

    The name or the Amazon Resource Name (ARN) of the trail for which you want to retrieve settings information.

Instances

Instances details
Eq GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Read GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Show GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Generic GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Associated Types

type Rep GetTrail :: Type -> Type #

Methods

from :: GetTrail -> Rep GetTrail x #

to :: Rep GetTrail x -> GetTrail #

NFData GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Methods

rnf :: GetTrail -> () #

Hashable GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Methods

hashWithSalt :: Int -> GetTrail -> Int #

hash :: GetTrail -> Int #

ToJSON GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

AWSRequest GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Associated Types

type AWSResponse GetTrail #

ToHeaders GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Methods

toHeaders :: GetTrail -> [Header] #

ToPath GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

ToQuery GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

type Rep GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

type Rep GetTrail = D1 ('MetaData "GetTrail" "Amazonka.CloudTrail.GetTrail" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "GetTrail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

newGetTrail Source #

Create a value of GetTrail 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:name:GetTrail', getTrail_name - The name or the Amazon Resource Name (ARN) of the trail for which you want to retrieve settings information.

Request Lenses

getTrail_name :: Lens' GetTrail Text Source #

The name or the Amazon Resource Name (ARN) of the trail for which you want to retrieve settings information.

Destructuring the Response

data GetTrailResponse Source #

See: newGetTrailResponse smart constructor.

Constructors

GetTrailResponse' 

Fields

Instances

Instances details
Eq GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Read GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Show GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Generic GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Associated Types

type Rep GetTrailResponse :: Type -> Type #

NFData GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Methods

rnf :: GetTrailResponse -> () #

type Rep GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

type Rep GetTrailResponse = D1 ('MetaData "GetTrailResponse" "Amazonka.CloudTrail.GetTrail" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "GetTrailResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Trail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetTrailResponse Source #

Create a value of GetTrailResponse 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:trail:GetTrailResponse', getTrailResponse_trail - Undocumented member.

$sel:httpStatus:GetTrailResponse', getTrailResponse_httpStatus - The response's http status code.

Response Lenses

getTrailResponse_httpStatus :: Lens' GetTrailResponse Int Source #

The response's http status code.