amazonka-redshift-2.0: Amazon Redshift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka.com>
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Redshift.Internal

Description

 
Synopsis

Documentation

getAccountId :: Region -> Maybe Text Source #

Deprecated: Redshift now delivers logs using service-principal credentials. See the haddocks for more information.

This account identifier used to be used when attaching a policy to your S3 bucket, allowing Redshift to upload and write database audit logs.

This function should no longer be used, because Redshift now uses service-principal credentials to deliver logs to S3.

See: Bucket permissions for Amazon Redshift audit logging.

getCloudTrailAccountId :: Region -> Maybe Text Source #

This account identifier is used when Redshift calls other AWS services for you, and may appear in your CloudTrail logs.

See: Amazon Redshift account IDs in AWS CloudTrail logs