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.Types.TrailInfo

Description

 
Synopsis

Documentation

data TrailInfo Source #

Information about a CloudTrail trail, including the trail's name, home region, and Amazon Resource Name (ARN).

See: newTrailInfo smart constructor.

Constructors

TrailInfo' 

Fields

Instances

Instances details
Eq TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

Read TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

Show TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

Generic TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

Associated Types

type Rep TrailInfo :: Type -> Type #

NFData TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

Methods

rnf :: TrailInfo -> () #

Hashable TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

FromJSON TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

type Rep TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

type Rep TrailInfo = D1 ('MetaData "TrailInfo" "Amazonka.CloudTrail.Types.TrailInfo" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "TrailInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newTrailInfo :: TrailInfo Source #

Create a value of TrailInfo 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:trailARN:TrailInfo', trailInfo_trailARN - The ARN of a trail.

$sel:homeRegion:TrailInfo', trailInfo_homeRegion - The Amazon Web Services Region in which a trail was created.

$sel:name:TrailInfo', trailInfo_name - The name of a trail.

trailInfo_homeRegion :: Lens' TrailInfo (Maybe Text) Source #

The Amazon Web Services Region in which a trail was created.

trailInfo_name :: Lens' TrailInfo (Maybe Text) Source #

The name of a trail.