amazonka-maciev2-2.0: Amazon Macie 2 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.MacieV2.Types.AwsAccount

Description

 
Synopsis

Documentation

data AwsAccount Source #

Provides information about an Amazon Web Services account and entity that performed an action on an affected resource. The action was performed using the credentials for an Amazon Web Services account other than your own account.

See: newAwsAccount smart constructor.

Constructors

AwsAccount' 

Fields

Instances

Instances details
FromJSON AwsAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AwsAccount

Generic AwsAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AwsAccount

Associated Types

type Rep AwsAccount :: Type -> Type #

Read AwsAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AwsAccount

Show AwsAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AwsAccount

NFData AwsAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AwsAccount

Methods

rnf :: AwsAccount -> () #

Eq AwsAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AwsAccount

Hashable AwsAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AwsAccount

type Rep AwsAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AwsAccount

type Rep AwsAccount = D1 ('MetaData "AwsAccount" "Amazonka.MacieV2.Types.AwsAccount" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "AwsAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAwsAccount :: AwsAccount Source #

Create a value of AwsAccount 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:accountId:AwsAccount', awsAccount_accountId - The unique identifier for the Amazon Web Services account.

$sel:principalId:AwsAccount', awsAccount_principalId - The unique identifier for the entity that performed the action.

awsAccount_accountId :: Lens' AwsAccount (Maybe Text) Source #

The unique identifier for the Amazon Web Services account.

awsAccount_principalId :: Lens' AwsAccount (Maybe Text) Source #

The unique identifier for the entity that performed the action.