libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.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
Eq AwsAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AwsAccount

Read AwsAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AwsAccount

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

NFData AwsAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AwsAccount

Methods

rnf :: AwsAccount -> () #

Hashable AwsAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AwsAccount

FromJSON 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" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "AwsAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accountId") '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:principalId:AwsAccount', awsAccount_principalId - The unique identifier for the entity that performed the action.

$sel:accountId:AwsAccount', awsAccount_accountId - 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.

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

The unique identifier for the Amazon Web Services account.