Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ResultConfigurationUpdates = ResultConfigurationUpdates' {
- aclConfiguration :: Maybe AclConfiguration
- encryptionConfiguration :: Maybe EncryptionConfiguration
- expectedBucketOwner :: Maybe Text
- outputLocation :: Maybe Text
- removeAclConfiguration :: Maybe Bool
- removeEncryptionConfiguration :: Maybe Bool
- removeExpectedBucketOwner :: Maybe Bool
- removeOutputLocation :: Maybe Bool
- newResultConfigurationUpdates :: ResultConfigurationUpdates
- resultConfigurationUpdates_aclConfiguration :: Lens' ResultConfigurationUpdates (Maybe AclConfiguration)
- resultConfigurationUpdates_encryptionConfiguration :: Lens' ResultConfigurationUpdates (Maybe EncryptionConfiguration)
- resultConfigurationUpdates_expectedBucketOwner :: Lens' ResultConfigurationUpdates (Maybe Text)
- resultConfigurationUpdates_outputLocation :: Lens' ResultConfigurationUpdates (Maybe Text)
- resultConfigurationUpdates_removeAclConfiguration :: Lens' ResultConfigurationUpdates (Maybe Bool)
- resultConfigurationUpdates_removeEncryptionConfiguration :: Lens' ResultConfigurationUpdates (Maybe Bool)
- resultConfigurationUpdates_removeExpectedBucketOwner :: Lens' ResultConfigurationUpdates (Maybe Bool)
- resultConfigurationUpdates_removeOutputLocation :: Lens' ResultConfigurationUpdates (Maybe Bool)
Documentation
data ResultConfigurationUpdates Source #
The information about the updates in the query results, such as output location and encryption configuration for the query results.
See: newResultConfigurationUpdates
smart constructor.
ResultConfigurationUpdates' | |
|
Instances
newResultConfigurationUpdates :: ResultConfigurationUpdates Source #
Create a value of ResultConfigurationUpdates
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:aclConfiguration:ResultConfigurationUpdates'
, resultConfigurationUpdates_aclConfiguration
- The ACL configuration for the query results.
$sel:encryptionConfiguration:ResultConfigurationUpdates'
, resultConfigurationUpdates_encryptionConfiguration
- The encryption configuration for the query results.
$sel:expectedBucketOwner:ResultConfigurationUpdates'
, resultConfigurationUpdates_expectedBucketOwner
- The Amazon Web Services account ID that you expect to be the owner of
the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If
set, Athena uses the value for ExpectedBucketOwner
when it makes
Amazon S3 calls to your specified output location. If the
ExpectedBucketOwner
Amazon Web Services account ID does not match the
actual owner of the Amazon S3 bucket, the call fails with a permissions
error.
If workgroup settings override client-side settings, then the query uses
the ExpectedBucketOwner
setting that is specified for the workgroup,
and also uses the location for storing query results specified in the
workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and
Workgroup Settings Override Client-Side Settings.
$sel:outputLocation:ResultConfigurationUpdates'
, resultConfigurationUpdates_outputLocation
- The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/
. For more information, see
Query Results
If workgroup settings override client-side settings, then the query uses
the location for the query results and the encryption configuration that
are specified for the workgroup. The "workgroup settings override" is
specified in EnforceWorkGroupConfiguration
(true/false) in the
WorkGroupConfiguration
. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
$sel:removeAclConfiguration:ResultConfigurationUpdates'
, resultConfigurationUpdates_removeAclConfiguration
- If set to true
, indicates that the previously-specified ACL
configuration for queries in this workgroup should be ignored and set to
null. If set to false
or not set, and a value is present in the
AclConfiguration
of ResultConfigurationUpdates
, the
AclConfiguration
in the workgroup's ResultConfiguration
is updated
with the new value. For more information, see
Workgroup Settings Override Client-Side Settings.
$sel:removeEncryptionConfiguration:ResultConfigurationUpdates'
, resultConfigurationUpdates_removeEncryptionConfiguration
- If set to "true", indicates that the previously-specified encryption
configuration (also known as the client-side setting) for queries in
this workgroup should be ignored and set to null. If set to "false" or
not set, and a value is present in the EncryptionConfiguration
in
ResultConfigurationUpdates
(the client-side setting), the
EncryptionConfiguration
in the workgroup's ResultConfiguration
will
be updated with the new value. For more information, see
Workgroup Settings Override Client-Side Settings.
$sel:removeExpectedBucketOwner:ResultConfigurationUpdates'
, resultConfigurationUpdates_removeExpectedBucketOwner
- If set to "true", removes the Amazon Web Services account ID
previously specified for ResultConfiguration$ExpectedBucketOwner. If set
to "false" or not set, and a value is present in the
ExpectedBucketOwner
in ResultConfigurationUpdates
(the client-side
setting), the ExpectedBucketOwner
in the workgroup's
ResultConfiguration
is updated with the new value. For more
information, see
Workgroup Settings Override Client-Side Settings.
$sel:removeOutputLocation:ResultConfigurationUpdates'
, resultConfigurationUpdates_removeOutputLocation
- If set to "true", indicates that the previously-specified query
results location (also known as a client-side setting) for queries in
this workgroup should be ignored and set to null. If set to "false" or
not set, and a value is present in the OutputLocation
in
ResultConfigurationUpdates
(the client-side setting), the
OutputLocation
in the workgroup's ResultConfiguration
will be
updated with the new value. For more information, see
Workgroup Settings Override Client-Side Settings.
resultConfigurationUpdates_aclConfiguration :: Lens' ResultConfigurationUpdates (Maybe AclConfiguration) Source #
The ACL configuration for the query results.
resultConfigurationUpdates_encryptionConfiguration :: Lens' ResultConfigurationUpdates (Maybe EncryptionConfiguration) Source #
The encryption configuration for the query results.
resultConfigurationUpdates_expectedBucketOwner :: Lens' ResultConfigurationUpdates (Maybe Text) Source #
The Amazon Web Services account ID that you expect to be the owner of
the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If
set, Athena uses the value for ExpectedBucketOwner
when it makes
Amazon S3 calls to your specified output location. If the
ExpectedBucketOwner
Amazon Web Services account ID does not match the
actual owner of the Amazon S3 bucket, the call fails with a permissions
error.
If workgroup settings override client-side settings, then the query uses
the ExpectedBucketOwner
setting that is specified for the workgroup,
and also uses the location for storing query results specified in the
workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and
Workgroup Settings Override Client-Side Settings.
resultConfigurationUpdates_outputLocation :: Lens' ResultConfigurationUpdates (Maybe Text) Source #
The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/
. For more information, see
Query Results
If workgroup settings override client-side settings, then the query uses
the location for the query results and the encryption configuration that
are specified for the workgroup. The "workgroup settings override" is
specified in EnforceWorkGroupConfiguration
(true/false) in the
WorkGroupConfiguration
. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
resultConfigurationUpdates_removeAclConfiguration :: Lens' ResultConfigurationUpdates (Maybe Bool) Source #
If set to true
, indicates that the previously-specified ACL
configuration for queries in this workgroup should be ignored and set to
null. If set to false
or not set, and a value is present in the
AclConfiguration
of ResultConfigurationUpdates
, the
AclConfiguration
in the workgroup's ResultConfiguration
is updated
with the new value. For more information, see
Workgroup Settings Override Client-Side Settings.
resultConfigurationUpdates_removeEncryptionConfiguration :: Lens' ResultConfigurationUpdates (Maybe Bool) Source #
If set to "true", indicates that the previously-specified encryption
configuration (also known as the client-side setting) for queries in
this workgroup should be ignored and set to null. If set to "false" or
not set, and a value is present in the EncryptionConfiguration
in
ResultConfigurationUpdates
(the client-side setting), the
EncryptionConfiguration
in the workgroup's ResultConfiguration
will
be updated with the new value. For more information, see
Workgroup Settings Override Client-Side Settings.
resultConfigurationUpdates_removeExpectedBucketOwner :: Lens' ResultConfigurationUpdates (Maybe Bool) Source #
If set to "true", removes the Amazon Web Services account ID
previously specified for ResultConfiguration$ExpectedBucketOwner. If set
to "false" or not set, and a value is present in the
ExpectedBucketOwner
in ResultConfigurationUpdates
(the client-side
setting), the ExpectedBucketOwner
in the workgroup's
ResultConfiguration
is updated with the new value. For more
information, see
Workgroup Settings Override Client-Side Settings.
resultConfigurationUpdates_removeOutputLocation :: Lens' ResultConfigurationUpdates (Maybe Bool) Source #
If set to "true", indicates that the previously-specified query
results location (also known as a client-side setting) for queries in
this workgroup should be ignored and set to null. If set to "false" or
not set, and a value is present in the OutputLocation
in
ResultConfigurationUpdates
(the client-side setting), the
OutputLocation
in the workgroup's ResultConfiguration
will be
updated with the new value. For more information, see
Workgroup Settings Override Client-Side Settings.