amazonka-accessanalyzer-2.0: Amazon Access Analyzer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AccessAnalyzer.Types.CloudTrailDetails

Description

 
Synopsis

Documentation

data CloudTrailDetails Source #

Contains information about CloudTrail access.

See: newCloudTrailDetails smart constructor.

Constructors

CloudTrailDetails' 

Fields

  • endTime :: Maybe ISO8601

    The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.

  • trails :: [Trail]

    A Trail object that contains settings for a trail.

  • accessRole :: Text

    The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service last accessed information.

  • startTime :: ISO8601

    The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.

Instances

Instances details
ToJSON CloudTrailDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailDetails

Generic CloudTrailDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailDetails

Associated Types

type Rep CloudTrailDetails :: Type -> Type #

Read CloudTrailDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailDetails

Show CloudTrailDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailDetails

NFData CloudTrailDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailDetails

Methods

rnf :: CloudTrailDetails -> () #

Eq CloudTrailDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailDetails

Hashable CloudTrailDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailDetails

type Rep CloudTrailDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailDetails

type Rep CloudTrailDetails = D1 ('MetaData "CloudTrailDetails" "Amazonka.AccessAnalyzer.Types.CloudTrailDetails" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "CloudTrailDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "trails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Trail])) :*: (S1 ('MetaSel ('Just "accessRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))))

newCloudTrailDetails Source #

Create a value of CloudTrailDetails 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:endTime:CloudTrailDetails', cloudTrailDetails_endTime - The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.

$sel:trails:CloudTrailDetails', cloudTrailDetails_trails - A Trail object that contains settings for a trail.

$sel:accessRole:CloudTrailDetails', cloudTrailDetails_accessRole - The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service last accessed information.

$sel:startTime:CloudTrailDetails', cloudTrailDetails_startTime - The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.

cloudTrailDetails_endTime :: Lens' CloudTrailDetails (Maybe UTCTime) Source #

The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.

cloudTrailDetails_trails :: Lens' CloudTrailDetails [Trail] Source #

A Trail object that contains settings for a trail.

cloudTrailDetails_accessRole :: Lens' CloudTrailDetails Text Source #

The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service last accessed information.

cloudTrailDetails_startTime :: Lens' CloudTrailDetails UTCTime Source #

The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.