libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer
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.AccessAnalyzer.Types.CloudTrailDetails

Description

 
Synopsis

Documentation

data CloudTrailDetails Source #

Contains information about CloudTrail access.

See: newCloudTrailDetails smart constructor.

Constructors

CloudTrailDetails' 

Fields

  • endTime :: Maybe POSIX

    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.

  • accessRole :: Text

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

  • startTime :: POSIX

    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.

  • trails :: [Trail]

    A Trail object that contains settings for a trail.

Instances

Instances details
Eq CloudTrailDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailDetails

Read CloudTrailDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailDetails

Show 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 #

NFData CloudTrailDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailDetails

Methods

rnf :: CloudTrailDetails -> () #

Hashable CloudTrailDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailDetails

ToJSON 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" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "CloudTrailDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "accessRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "trails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Trail]))))

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: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.

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

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_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.

cloudTrailDetails_trails :: Lens' CloudTrailDetails [Trail] Source #

A Trail object that contains settings for a trail.