| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudTrail.Types.TrailInfo
Description
Synopsis
- data TrailInfo = TrailInfo' {}
- newTrailInfo :: TrailInfo
- trailInfo_homeRegion :: Lens' TrailInfo (Maybe Text)
- trailInfo_name :: Lens' TrailInfo (Maybe Text)
- trailInfo_trailARN :: 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.
Constructors
| TrailInfo' | |
Instances
| FromJSON TrailInfo Source # | |
| Generic TrailInfo Source # | |
| Read TrailInfo Source # | |
| Show TrailInfo Source # | |
| NFData TrailInfo Source # | |
Defined in Amazonka.CloudTrail.Types.TrailInfo | |
| Eq TrailInfo Source # | |
| Hashable TrailInfo Source # | |
Defined in Amazonka.CloudTrail.Types.TrailInfo | |
| type Rep TrailInfo Source # | |
Defined in Amazonka.CloudTrail.Types.TrailInfo type Rep TrailInfo = D1 ('MetaData "TrailInfo" "Amazonka.CloudTrail.Types.TrailInfo" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "TrailInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "trailARN") '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: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.
$sel:trailARN:TrailInfo', trailInfo_trailARN - The ARN of a trail.