libZSservicesZSamazonka-iamZSamazonka-iam
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.IAM.Types.AccessDetail

Description

 
Synopsis

Documentation

data AccessDetail Source #

An object that contains details about when a principal in the reported Organizations entity last attempted to access an Amazon Web Services service. A principal can be an IAM user, an IAM role, or the Amazon Web Services account root user within the reported Organizations entity.

This data type is a response element in the GetOrganizationsAccessReport operation.

See: newAccessDetail smart constructor.

Constructors

AccessDetail' 

Fields

  • entityPath :: Maybe Text

    The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

    This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.

  • region :: Maybe Text

    The Region where the last service access attempt occurred.

    This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.

  • lastAuthenticatedTime :: Maybe ISO8601

    The date and time, in ISO 8601 date-time format, when an authenticated principal most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests.

    This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.

  • totalAuthenticatedEntities :: Maybe Int

    The number of accounts with authenticated principals (root users, IAM users, and IAM roles) that attempted to access the service in the reporting period.

  • serviceName :: Text

    The name of the service in which access was attempted.

  • serviceNamespace :: Text

    The namespace of the service in which access was attempted.

    To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.

Instances

Instances details
Eq AccessDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessDetail

Read AccessDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessDetail

Show AccessDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessDetail

Generic AccessDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessDetail

Associated Types

type Rep AccessDetail :: Type -> Type #

NFData AccessDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessDetail

Methods

rnf :: AccessDetail -> () #

Hashable AccessDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessDetail

FromXML AccessDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessDetail

type Rep AccessDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessDetail

type Rep AccessDetail = D1 ('MetaData "AccessDetail" "Amazonka.IAM.Types.AccessDetail" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "AccessDetail'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "entityPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastAuthenticatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: (S1 ('MetaSel ('Just "totalAuthenticatedEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "serviceNamespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newAccessDetail Source #

Create a value of AccessDetail 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:entityPath:AccessDetail', accessDetail_entityPath - The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.

$sel:region:AccessDetail', accessDetail_region - The Region where the last service access attempt occurred.

This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.

$sel:lastAuthenticatedTime:AccessDetail', accessDetail_lastAuthenticatedTime - The date and time, in ISO 8601 date-time format, when an authenticated principal most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.

$sel:totalAuthenticatedEntities:AccessDetail', accessDetail_totalAuthenticatedEntities - The number of accounts with authenticated principals (root users, IAM users, and IAM roles) that attempted to access the service in the reporting period.

$sel:serviceName:AccessDetail', accessDetail_serviceName - The name of the service in which access was attempted.

$sel:serviceNamespace:AccessDetail', accessDetail_serviceNamespace - The namespace of the service in which access was attempted.

To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.

accessDetail_entityPath :: Lens' AccessDetail (Maybe Text) Source #

The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.

accessDetail_region :: Lens' AccessDetail (Maybe Text) Source #

The Region where the last service access attempt occurred.

This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.

accessDetail_lastAuthenticatedTime :: Lens' AccessDetail (Maybe UTCTime) Source #

The date and time, in ISO 8601 date-time format, when an authenticated principal most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.

accessDetail_totalAuthenticatedEntities :: Lens' AccessDetail (Maybe Int) Source #

The number of accounts with authenticated principals (root users, IAM users, and IAM roles) that attempted to access the service in the reporting period.

accessDetail_serviceName :: Lens' AccessDetail Text Source #

The name of the service in which access was attempted.

accessDetail_serviceNamespace :: Lens' AccessDetail Text Source #

The namespace of the service in which access was attempted.

To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.