amazonka-athena-2.0: Amazon Athena 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.Athena.Types.AclConfiguration

Description

 
Synopsis

Documentation

data AclConfiguration Source #

Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. When Athena stores query results in Amazon S3, the canned ACL is set with the x-amz-acl request header. For more information about S3 Object Ownership, see Object Ownership settings in the Amazon S3 User Guide.

See: newAclConfiguration smart constructor.

Constructors

AclConfiguration' 

Fields

  • s3AclOption :: S3AclOption

    The Amazon S3 canned ACL that Athena should specify when storing query results. Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide.

Instances

Instances details
FromJSON AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

ToJSON AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

Generic AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

Associated Types

type Rep AclConfiguration :: Type -> Type #

Read AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

Show AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

NFData AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

Methods

rnf :: AclConfiguration -> () #

Eq AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

Hashable AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

type Rep AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

type Rep AclConfiguration = D1 ('MetaData "AclConfiguration" "Amazonka.Athena.Types.AclConfiguration" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "AclConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3AclOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 S3AclOption)))

newAclConfiguration Source #

Create a value of AclConfiguration 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:s3AclOption:AclConfiguration', aclConfiguration_s3AclOption - The Amazon S3 canned ACL that Athena should specify when storing query results. Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide.

aclConfiguration_s3AclOption :: Lens' AclConfiguration S3AclOption Source #

The Amazon S3 canned ACL that Athena should specify when storing query results. Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide.