Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TrailInfo = TrailInfo' {}
- newTrailInfo :: TrailInfo
- trailInfo_trailARN :: Lens' TrailInfo (Maybe Text)
- trailInfo_homeRegion :: Lens' TrailInfo (Maybe Text)
- trailInfo_name :: Lens' TrailInfo (Maybe Text)
Documentation
Information about a CloudTrail trail, including the trail's name, home region, and Amazon Resource Name (ARN).
See: newTrailInfo
smart constructor.
Instances
Eq TrailInfo Source # | |
Read TrailInfo Source # | |
Show TrailInfo Source # | |
Generic TrailInfo Source # | |
NFData TrailInfo Source # | |
Defined in Amazonka.CloudTrail.Types.TrailInfo | |
Hashable TrailInfo Source # | |
Defined in Amazonka.CloudTrail.Types.TrailInfo | |
FromJSON TrailInfo Source # | |
type Rep TrailInfo Source # | |
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.