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 |
- Service Configuration
- Errors
- ComparisonOperator
- DataLakeResourceType
- FieldNameString
- OptimizerType
- Permission
- PermissionType
- QueryStateString
- ResourceShareType
- ResourceType
- TransactionStatus
- TransactionStatusFilter
- TransactionType
- AddObjectInput
- AllRowsWildcard
- AuditContext
- BatchPermissionsFailureEntry
- BatchPermissionsRequestEntry
- CatalogResource
- ColumnLFTag
- ColumnWildcard
- DataCellsFilter
- DataCellsFilterResource
- DataLakePrincipal
- DataLakeSettings
- DataLocationResource
- DatabaseResource
- DeleteObjectInput
- DetailsMap
- ErrorDetail
- ExecutionStatistics
- FilterCondition
- LFTag
- LFTagError
- LFTagKeyResource
- LFTagPair
- LFTagPolicyResource
- PartitionObjects
- PartitionValueList
- PlanningStatistics
- PrincipalPermissions
- PrincipalResourcePermissions
- QueryPlanningContext
- Resource
- ResourceInfo
- RowFilter
- StorageOptimizer
- TableObject
- TableResource
- TableWildcard
- TableWithColumnsResource
- TaggedDatabase
- TaggedTable
- TransactionDescription
- VirtualObject
- WorkUnitRange
- WriteOperation
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _AlreadyExistsException :: AsError a => Fold a ServiceError
- _ConcurrentModificationException :: AsError a => Fold a ServiceError
- _EntityNotFoundException :: AsError a => Fold a ServiceError
- _ExpiredException :: AsError a => Fold a ServiceError
- _GlueEncryptionException :: AsError a => Fold a ServiceError
- _InternalServiceException :: AsError a => Fold a ServiceError
- _InvalidInputException :: AsError a => Fold a ServiceError
- _OperationTimeoutException :: AsError a => Fold a ServiceError
- _PermissionTypeMismatchException :: AsError a => Fold a ServiceError
- _ResourceNotReadyException :: AsError a => Fold a ServiceError
- _ResourceNumberLimitExceededException :: AsError a => Fold a ServiceError
- _StatisticsNotReadyYetException :: AsError a => Fold a ServiceError
- _ThrottledException :: AsError a => Fold a ServiceError
- _TransactionCanceledException :: AsError a => Fold a ServiceError
- _TransactionCommitInProgressException :: AsError a => Fold a ServiceError
- _TransactionCommittedException :: AsError a => Fold a ServiceError
- _WorkUnitsNotReadyYetException :: AsError a => Fold a ServiceError
- newtype ComparisonOperator where
- ComparisonOperator' { }
- pattern ComparisonOperator_BEGINS_WITH :: ComparisonOperator
- pattern ComparisonOperator_BETWEEN :: ComparisonOperator
- pattern ComparisonOperator_CONTAINS :: ComparisonOperator
- pattern ComparisonOperator_EQ :: ComparisonOperator
- pattern ComparisonOperator_GE :: ComparisonOperator
- pattern ComparisonOperator_GT :: ComparisonOperator
- pattern ComparisonOperator_IN :: ComparisonOperator
- pattern ComparisonOperator_LE :: ComparisonOperator
- pattern ComparisonOperator_LT :: ComparisonOperator
- pattern ComparisonOperator_NE :: ComparisonOperator
- pattern ComparisonOperator_NOT_CONTAINS :: ComparisonOperator
- newtype DataLakeResourceType where
- DataLakeResourceType' { }
- pattern DataLakeResourceType_CATALOG :: DataLakeResourceType
- pattern DataLakeResourceType_DATABASE :: DataLakeResourceType
- pattern DataLakeResourceType_DATA_LOCATION :: DataLakeResourceType
- pattern DataLakeResourceType_LF_TAG :: DataLakeResourceType
- pattern DataLakeResourceType_LF_TAG_POLICY :: DataLakeResourceType
- pattern DataLakeResourceType_LF_TAG_POLICY_DATABASE :: DataLakeResourceType
- pattern DataLakeResourceType_LF_TAG_POLICY_TABLE :: DataLakeResourceType
- pattern DataLakeResourceType_TABLE :: DataLakeResourceType
- newtype FieldNameString where
- FieldNameString' { }
- pattern FieldNameString_LAST_MODIFIED :: FieldNameString
- pattern FieldNameString_RESOURCE_ARN :: FieldNameString
- pattern FieldNameString_ROLE_ARN :: FieldNameString
- newtype OptimizerType where
- OptimizerType' { }
- pattern OptimizerType_ALL :: OptimizerType
- pattern OptimizerType_COMPACTION :: OptimizerType
- pattern OptimizerType_GARBAGE_COLLECTION :: OptimizerType
- newtype Permission where
- Permission' { }
- pattern Permission_ALL :: Permission
- pattern Permission_ALTER :: Permission
- pattern Permission_ASSOCIATE :: Permission
- pattern Permission_CREATE_DATABASE :: Permission
- pattern Permission_CREATE_TABLE :: Permission
- pattern Permission_CREATE_TAG :: Permission
- pattern Permission_DATA_LOCATION_ACCESS :: Permission
- pattern Permission_DELETE :: Permission
- pattern Permission_DESCRIBE :: Permission
- pattern Permission_DROP :: Permission
- pattern Permission_INSERT :: Permission
- pattern Permission_SELECT :: Permission
- newtype PermissionType where
- newtype QueryStateString where
- QueryStateString' { }
- pattern QueryStateString_ERROR :: QueryStateString
- pattern QueryStateString_EXPIRED :: QueryStateString
- pattern QueryStateString_FINISHED :: QueryStateString
- pattern QueryStateString_PENDING :: QueryStateString
- pattern QueryStateString_WORKUNITS_AVAILABLE :: QueryStateString
- newtype ResourceShareType where
- ResourceShareType' { }
- pattern ResourceShareType_ALL :: ResourceShareType
- pattern ResourceShareType_FOREIGN :: ResourceShareType
- newtype ResourceType where
- ResourceType' { }
- pattern ResourceType_DATABASE :: ResourceType
- pattern ResourceType_TABLE :: ResourceType
- newtype TransactionStatus where
- TransactionStatus' { }
- pattern TransactionStatus_ABORTED :: TransactionStatus
- pattern TransactionStatus_ACTIVE :: TransactionStatus
- pattern TransactionStatus_COMMITTED :: TransactionStatus
- pattern TransactionStatus_COMMIT_IN_PROGRESS :: TransactionStatus
- newtype TransactionStatusFilter where
- TransactionStatusFilter' { }
- pattern TransactionStatusFilter_ABORTED :: TransactionStatusFilter
- pattern TransactionStatusFilter_ACTIVE :: TransactionStatusFilter
- pattern TransactionStatusFilter_ALL :: TransactionStatusFilter
- pattern TransactionStatusFilter_COMMITTED :: TransactionStatusFilter
- pattern TransactionStatusFilter_COMPLETED :: TransactionStatusFilter
- newtype TransactionType where
- TransactionType' { }
- pattern TransactionType_READ_AND_WRITE :: TransactionType
- pattern TransactionType_READ_ONLY :: TransactionType
- data AddObjectInput = AddObjectInput' {}
- newAddObjectInput :: Text -> Text -> Integer -> AddObjectInput
- addObjectInput_partitionValues :: Lens' AddObjectInput (Maybe (NonEmpty Text))
- addObjectInput_uri :: Lens' AddObjectInput Text
- addObjectInput_eTag :: Lens' AddObjectInput Text
- addObjectInput_size :: Lens' AddObjectInput Integer
- data AllRowsWildcard = AllRowsWildcard' {
- newAllRowsWildcard :: AllRowsWildcard
- data AuditContext = AuditContext' {}
- newAuditContext :: AuditContext
- auditContext_additionalAuditContext :: Lens' AuditContext (Maybe Text)
- data BatchPermissionsFailureEntry = BatchPermissionsFailureEntry' {}
- newBatchPermissionsFailureEntry :: BatchPermissionsFailureEntry
- batchPermissionsFailureEntry_error :: Lens' BatchPermissionsFailureEntry (Maybe ErrorDetail)
- batchPermissionsFailureEntry_requestEntry :: Lens' BatchPermissionsFailureEntry (Maybe BatchPermissionsRequestEntry)
- data BatchPermissionsRequestEntry = BatchPermissionsRequestEntry' {}
- newBatchPermissionsRequestEntry :: Text -> BatchPermissionsRequestEntry
- batchPermissionsRequestEntry_permissions :: Lens' BatchPermissionsRequestEntry (Maybe [Permission])
- batchPermissionsRequestEntry_permissionsWithGrantOption :: Lens' BatchPermissionsRequestEntry (Maybe [Permission])
- batchPermissionsRequestEntry_principal :: Lens' BatchPermissionsRequestEntry (Maybe DataLakePrincipal)
- batchPermissionsRequestEntry_resource :: Lens' BatchPermissionsRequestEntry (Maybe Resource)
- batchPermissionsRequestEntry_id :: Lens' BatchPermissionsRequestEntry Text
- data CatalogResource = CatalogResource' {
- newCatalogResource :: CatalogResource
- data ColumnLFTag = ColumnLFTag' {}
- newColumnLFTag :: ColumnLFTag
- columnLFTag_lFTags :: Lens' ColumnLFTag (Maybe (NonEmpty LFTagPair))
- columnLFTag_name :: Lens' ColumnLFTag (Maybe Text)
- data ColumnWildcard = ColumnWildcard' {
- excludedColumnNames :: Maybe [Text]
- newColumnWildcard :: ColumnWildcard
- columnWildcard_excludedColumnNames :: Lens' ColumnWildcard (Maybe [Text])
- data DataCellsFilter = DataCellsFilter' {
- columnNames :: Maybe [Text]
- columnWildcard :: Maybe ColumnWildcard
- rowFilter :: Maybe RowFilter
- tableCatalogId :: Text
- databaseName :: Text
- tableName :: Text
- name :: Text
- newDataCellsFilter :: Text -> Text -> Text -> Text -> DataCellsFilter
- dataCellsFilter_columnNames :: Lens' DataCellsFilter (Maybe [Text])
- dataCellsFilter_columnWildcard :: Lens' DataCellsFilter (Maybe ColumnWildcard)
- dataCellsFilter_rowFilter :: Lens' DataCellsFilter (Maybe RowFilter)
- dataCellsFilter_tableCatalogId :: Lens' DataCellsFilter Text
- dataCellsFilter_databaseName :: Lens' DataCellsFilter Text
- dataCellsFilter_tableName :: Lens' DataCellsFilter Text
- dataCellsFilter_name :: Lens' DataCellsFilter Text
- data DataCellsFilterResource = DataCellsFilterResource' {}
- newDataCellsFilterResource :: DataCellsFilterResource
- dataCellsFilterResource_databaseName :: Lens' DataCellsFilterResource (Maybe Text)
- dataCellsFilterResource_name :: Lens' DataCellsFilterResource (Maybe Text)
- dataCellsFilterResource_tableCatalogId :: Lens' DataCellsFilterResource (Maybe Text)
- dataCellsFilterResource_tableName :: Lens' DataCellsFilterResource (Maybe Text)
- data DataLakePrincipal = DataLakePrincipal' {}
- newDataLakePrincipal :: DataLakePrincipal
- dataLakePrincipal_dataLakePrincipalIdentifier :: Lens' DataLakePrincipal (Maybe Text)
- data DataLakeSettings = DataLakeSettings' {
- allowExternalDataFiltering :: Maybe Bool
- authorizedSessionTagValueList :: Maybe [Text]
- createDatabaseDefaultPermissions :: Maybe [PrincipalPermissions]
- createTableDefaultPermissions :: Maybe [PrincipalPermissions]
- dataLakeAdmins :: Maybe [DataLakePrincipal]
- externalDataFilteringAllowList :: Maybe [DataLakePrincipal]
- parameters :: Maybe (HashMap Text Text)
- trustedResourceOwners :: Maybe [Text]
- newDataLakeSettings :: DataLakeSettings
- dataLakeSettings_allowExternalDataFiltering :: Lens' DataLakeSettings (Maybe Bool)
- dataLakeSettings_authorizedSessionTagValueList :: Lens' DataLakeSettings (Maybe [Text])
- dataLakeSettings_createDatabaseDefaultPermissions :: Lens' DataLakeSettings (Maybe [PrincipalPermissions])
- dataLakeSettings_createTableDefaultPermissions :: Lens' DataLakeSettings (Maybe [PrincipalPermissions])
- dataLakeSettings_dataLakeAdmins :: Lens' DataLakeSettings (Maybe [DataLakePrincipal])
- dataLakeSettings_externalDataFilteringAllowList :: Lens' DataLakeSettings (Maybe [DataLakePrincipal])
- dataLakeSettings_parameters :: Lens' DataLakeSettings (Maybe (HashMap Text Text))
- dataLakeSettings_trustedResourceOwners :: Lens' DataLakeSettings (Maybe [Text])
- data DataLocationResource = DataLocationResource' {
- catalogId :: Maybe Text
- resourceArn :: Text
- newDataLocationResource :: Text -> DataLocationResource
- dataLocationResource_catalogId :: Lens' DataLocationResource (Maybe Text)
- dataLocationResource_resourceArn :: Lens' DataLocationResource Text
- data DatabaseResource = DatabaseResource' {}
- newDatabaseResource :: Text -> DatabaseResource
- databaseResource_catalogId :: Lens' DatabaseResource (Maybe Text)
- databaseResource_name :: Lens' DatabaseResource Text
- data DeleteObjectInput = DeleteObjectInput' {}
- newDeleteObjectInput :: Text -> DeleteObjectInput
- deleteObjectInput_eTag :: Lens' DeleteObjectInput (Maybe Text)
- deleteObjectInput_partitionValues :: Lens' DeleteObjectInput (Maybe (NonEmpty Text))
- deleteObjectInput_uri :: Lens' DeleteObjectInput Text
- data DetailsMap = DetailsMap' {
- resourceShare :: Maybe [Text]
- newDetailsMap :: DetailsMap
- detailsMap_resourceShare :: Lens' DetailsMap (Maybe [Text])
- data ErrorDetail = ErrorDetail' {}
- newErrorDetail :: ErrorDetail
- errorDetail_errorCode :: Lens' ErrorDetail (Maybe Text)
- errorDetail_errorMessage :: Lens' ErrorDetail (Maybe Text)
- data ExecutionStatistics = ExecutionStatistics' {}
- newExecutionStatistics :: ExecutionStatistics
- executionStatistics_averageExecutionTimeMillis :: Lens' ExecutionStatistics (Maybe Integer)
- executionStatistics_dataScannedBytes :: Lens' ExecutionStatistics (Maybe Integer)
- executionStatistics_workUnitsExecutedCount :: Lens' ExecutionStatistics (Maybe Integer)
- data FilterCondition = FilterCondition' {}
- newFilterCondition :: FilterCondition
- filterCondition_comparisonOperator :: Lens' FilterCondition (Maybe ComparisonOperator)
- filterCondition_field :: Lens' FilterCondition (Maybe FieldNameString)
- filterCondition_stringValueList :: Lens' FilterCondition (Maybe [Text])
- data LFTag = LFTag' {}
- newLFTag :: Text -> NonEmpty Text -> LFTag
- lFTag_tagKey :: Lens' LFTag Text
- lFTag_tagValues :: Lens' LFTag (NonEmpty Text)
- data LFTagError = LFTagError' {}
- newLFTagError :: LFTagError
- lFTagError_error :: Lens' LFTagError (Maybe ErrorDetail)
- lFTagError_lFTag :: Lens' LFTagError (Maybe LFTagPair)
- data LFTagKeyResource = LFTagKeyResource' {}
- newLFTagKeyResource :: Text -> NonEmpty Text -> LFTagKeyResource
- lFTagKeyResource_catalogId :: Lens' LFTagKeyResource (Maybe Text)
- lFTagKeyResource_tagKey :: Lens' LFTagKeyResource Text
- lFTagKeyResource_tagValues :: Lens' LFTagKeyResource (NonEmpty Text)
- data LFTagPair = LFTagPair' {}
- newLFTagPair :: Text -> NonEmpty Text -> LFTagPair
- lFTagPair_catalogId :: Lens' LFTagPair (Maybe Text)
- lFTagPair_tagKey :: Lens' LFTagPair Text
- lFTagPair_tagValues :: Lens' LFTagPair (NonEmpty Text)
- data LFTagPolicyResource = LFTagPolicyResource' {}
- newLFTagPolicyResource :: ResourceType -> NonEmpty LFTag -> LFTagPolicyResource
- lFTagPolicyResource_catalogId :: Lens' LFTagPolicyResource (Maybe Text)
- lFTagPolicyResource_resourceType :: Lens' LFTagPolicyResource ResourceType
- lFTagPolicyResource_expression :: Lens' LFTagPolicyResource (NonEmpty LFTag)
- data PartitionObjects = PartitionObjects' {
- objects :: Maybe [TableObject]
- partitionValues :: Maybe (NonEmpty Text)
- newPartitionObjects :: PartitionObjects
- partitionObjects_objects :: Lens' PartitionObjects (Maybe [TableObject])
- partitionObjects_partitionValues :: Lens' PartitionObjects (Maybe (NonEmpty Text))
- data PartitionValueList = PartitionValueList' {}
- newPartitionValueList :: NonEmpty Text -> PartitionValueList
- partitionValueList_values :: Lens' PartitionValueList (NonEmpty Text)
- data PlanningStatistics = PlanningStatistics' {}
- newPlanningStatistics :: PlanningStatistics
- planningStatistics_estimatedDataToScanBytes :: Lens' PlanningStatistics (Maybe Integer)
- planningStatistics_planningTimeMillis :: Lens' PlanningStatistics (Maybe Integer)
- planningStatistics_queueTimeMillis :: Lens' PlanningStatistics (Maybe Integer)
- planningStatistics_workUnitsGeneratedCount :: Lens' PlanningStatistics (Maybe Integer)
- data PrincipalPermissions = PrincipalPermissions' {}
- newPrincipalPermissions :: PrincipalPermissions
- principalPermissions_permissions :: Lens' PrincipalPermissions (Maybe [Permission])
- principalPermissions_principal :: Lens' PrincipalPermissions (Maybe DataLakePrincipal)
- data PrincipalResourcePermissions = PrincipalResourcePermissions' {}
- newPrincipalResourcePermissions :: PrincipalResourcePermissions
- principalResourcePermissions_additionalDetails :: Lens' PrincipalResourcePermissions (Maybe DetailsMap)
- principalResourcePermissions_permissions :: Lens' PrincipalResourcePermissions (Maybe [Permission])
- principalResourcePermissions_permissionsWithGrantOption :: Lens' PrincipalResourcePermissions (Maybe [Permission])
- principalResourcePermissions_principal :: Lens' PrincipalResourcePermissions (Maybe DataLakePrincipal)
- principalResourcePermissions_resource :: Lens' PrincipalResourcePermissions (Maybe Resource)
- data QueryPlanningContext = QueryPlanningContext' {}
- newQueryPlanningContext :: Text -> QueryPlanningContext
- queryPlanningContext_catalogId :: Lens' QueryPlanningContext (Maybe Text)
- queryPlanningContext_queryAsOfTime :: Lens' QueryPlanningContext (Maybe UTCTime)
- queryPlanningContext_queryParameters :: Lens' QueryPlanningContext (Maybe (HashMap Text Text))
- queryPlanningContext_transactionId :: Lens' QueryPlanningContext (Maybe Text)
- queryPlanningContext_databaseName :: Lens' QueryPlanningContext Text
- data Resource = Resource' {
- catalog :: Maybe CatalogResource
- dataCellsFilter :: Maybe DataCellsFilterResource
- dataLocation :: Maybe DataLocationResource
- database :: Maybe DatabaseResource
- lFTag :: Maybe LFTagKeyResource
- lFTagPolicy :: Maybe LFTagPolicyResource
- table :: Maybe TableResource
- tableWithColumns :: Maybe TableWithColumnsResource
- newResource :: Resource
- resource_catalog :: Lens' Resource (Maybe CatalogResource)
- resource_dataCellsFilter :: Lens' Resource (Maybe DataCellsFilterResource)
- resource_dataLocation :: Lens' Resource (Maybe DataLocationResource)
- resource_database :: Lens' Resource (Maybe DatabaseResource)
- resource_lFTag :: Lens' Resource (Maybe LFTagKeyResource)
- resource_lFTagPolicy :: Lens' Resource (Maybe LFTagPolicyResource)
- resource_table :: Lens' Resource (Maybe TableResource)
- resource_tableWithColumns :: Lens' Resource (Maybe TableWithColumnsResource)
- data ResourceInfo = ResourceInfo' {
- lastModified :: Maybe POSIX
- resourceArn :: Maybe Text
- roleArn :: Maybe Text
- newResourceInfo :: ResourceInfo
- resourceInfo_lastModified :: Lens' ResourceInfo (Maybe UTCTime)
- resourceInfo_resourceArn :: Lens' ResourceInfo (Maybe Text)
- resourceInfo_roleArn :: Lens' ResourceInfo (Maybe Text)
- data RowFilter = RowFilter' {}
- newRowFilter :: RowFilter
- rowFilter_allRowsWildcard :: Lens' RowFilter (Maybe AllRowsWildcard)
- rowFilter_filterExpression :: Lens' RowFilter (Maybe Text)
- data StorageOptimizer = StorageOptimizer' {}
- newStorageOptimizer :: StorageOptimizer
- storageOptimizer_config :: Lens' StorageOptimizer (Maybe (HashMap Text Text))
- storageOptimizer_errorMessage :: Lens' StorageOptimizer (Maybe Text)
- storageOptimizer_lastRunDetails :: Lens' StorageOptimizer (Maybe Text)
- storageOptimizer_storageOptimizerType :: Lens' StorageOptimizer (Maybe OptimizerType)
- storageOptimizer_warnings :: Lens' StorageOptimizer (Maybe Text)
- data TableObject = TableObject' {}
- newTableObject :: TableObject
- tableObject_eTag :: Lens' TableObject (Maybe Text)
- tableObject_size :: Lens' TableObject (Maybe Integer)
- tableObject_uri :: Lens' TableObject (Maybe Text)
- data TableResource = TableResource' {}
- newTableResource :: Text -> TableResource
- tableResource_catalogId :: Lens' TableResource (Maybe Text)
- tableResource_name :: Lens' TableResource (Maybe Text)
- tableResource_tableWildcard :: Lens' TableResource (Maybe TableWildcard)
- tableResource_databaseName :: Lens' TableResource Text
- data TableWildcard = TableWildcard' {
- newTableWildcard :: TableWildcard
- data TableWithColumnsResource = TableWithColumnsResource' {
- catalogId :: Maybe Text
- columnNames :: Maybe [Text]
- columnWildcard :: Maybe ColumnWildcard
- databaseName :: Text
- name :: Text
- newTableWithColumnsResource :: Text -> Text -> TableWithColumnsResource
- tableWithColumnsResource_catalogId :: Lens' TableWithColumnsResource (Maybe Text)
- tableWithColumnsResource_columnNames :: Lens' TableWithColumnsResource (Maybe [Text])
- tableWithColumnsResource_columnWildcard :: Lens' TableWithColumnsResource (Maybe ColumnWildcard)
- tableWithColumnsResource_databaseName :: Lens' TableWithColumnsResource Text
- tableWithColumnsResource_name :: Lens' TableWithColumnsResource Text
- data TaggedDatabase = TaggedDatabase' {}
- newTaggedDatabase :: TaggedDatabase
- taggedDatabase_database :: Lens' TaggedDatabase (Maybe DatabaseResource)
- taggedDatabase_lFTags :: Lens' TaggedDatabase (Maybe (NonEmpty LFTagPair))
- data TaggedTable = TaggedTable' {}
- newTaggedTable :: TaggedTable
- taggedTable_lFTagOnDatabase :: Lens' TaggedTable (Maybe (NonEmpty LFTagPair))
- taggedTable_lFTagsOnColumns :: Lens' TaggedTable (Maybe [ColumnLFTag])
- taggedTable_lFTagsOnTable :: Lens' TaggedTable (Maybe (NonEmpty LFTagPair))
- taggedTable_table :: Lens' TaggedTable (Maybe TableResource)
- data TransactionDescription = TransactionDescription' {}
- newTransactionDescription :: TransactionDescription
- transactionDescription_transactionEndTime :: Lens' TransactionDescription (Maybe UTCTime)
- transactionDescription_transactionId :: Lens' TransactionDescription (Maybe Text)
- transactionDescription_transactionStartTime :: Lens' TransactionDescription (Maybe UTCTime)
- transactionDescription_transactionStatus :: Lens' TransactionDescription (Maybe TransactionStatus)
- data VirtualObject = VirtualObject' {}
- newVirtualObject :: Text -> VirtualObject
- virtualObject_eTag :: Lens' VirtualObject (Maybe Text)
- virtualObject_uri :: Lens' VirtualObject Text
- data WorkUnitRange = WorkUnitRange' {}
- newWorkUnitRange :: Integer -> Integer -> Text -> WorkUnitRange
- workUnitRange_workUnitIdMax :: Lens' WorkUnitRange Integer
- workUnitRange_workUnitIdMin :: Lens' WorkUnitRange Integer
- workUnitRange_workUnitToken :: Lens' WorkUnitRange Text
- data WriteOperation = WriteOperation' {}
- newWriteOperation :: WriteOperation
- writeOperation_addObject :: Lens' WriteOperation (Maybe AddObjectInput)
- writeOperation_deleteObject :: Lens' WriteOperation (Maybe DeleteObjectInput)
Service Configuration
defaultService :: Service Source #
API version 2017-03-31
of the Amazon Lake Formation SDK configuration.
Errors
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
Access to a resource was denied.
_AlreadyExistsException :: AsError a => Fold a ServiceError Source #
A resource to be created or added already exists.
_ConcurrentModificationException :: AsError a => Fold a ServiceError Source #
Two processes are trying to modify a resource simultaneously.
_EntityNotFoundException :: AsError a => Fold a ServiceError Source #
A specified entity does not exist
_ExpiredException :: AsError a => Fold a ServiceError Source #
Contains details about an error where the query request expired.
_GlueEncryptionException :: AsError a => Fold a ServiceError Source #
An encryption operation failed.
_InternalServiceException :: AsError a => Fold a ServiceError Source #
An internal service error occurred.
_InvalidInputException :: AsError a => Fold a ServiceError Source #
The input provided was not valid.
_OperationTimeoutException :: AsError a => Fold a ServiceError Source #
The operation timed out.
_PermissionTypeMismatchException :: AsError a => Fold a ServiceError Source #
The engine does not support filtering data based on the enforced
permissions. For example, if you call the
GetTemporaryGlueTableCredentials
operation with
SupportedPermissionType
equal to ColumnPermission
, but cell-level
permissions exist on the table, this exception is thrown.
_ResourceNotReadyException :: AsError a => Fold a ServiceError Source #
Contains details about an error related to a resource which is not ready for a transaction.
_ResourceNumberLimitExceededException :: AsError a => Fold a ServiceError Source #
A resource numerical limit was exceeded.
_StatisticsNotReadyYetException :: AsError a => Fold a ServiceError Source #
Contains details about an error related to statistics not being ready.
_ThrottledException :: AsError a => Fold a ServiceError Source #
Contains details about an error where the query request was throttled.
_TransactionCanceledException :: AsError a => Fold a ServiceError Source #
Contains details about an error related to a transaction that was cancelled.
_TransactionCommitInProgressException :: AsError a => Fold a ServiceError Source #
Contains details about an error related to a transaction commit that was in progress.
_TransactionCommittedException :: AsError a => Fold a ServiceError Source #
Contains details about an error where the specified transaction has
already been committed and cannot be used for UpdateTableObjects
.
_WorkUnitsNotReadyYetException :: AsError a => Fold a ServiceError Source #
Contains details about an error related to work units not being ready.
ComparisonOperator
newtype ComparisonOperator Source #
pattern ComparisonOperator_BEGINS_WITH :: ComparisonOperator | |
pattern ComparisonOperator_BETWEEN :: ComparisonOperator | |
pattern ComparisonOperator_CONTAINS :: ComparisonOperator | |
pattern ComparisonOperator_EQ :: ComparisonOperator | |
pattern ComparisonOperator_GE :: ComparisonOperator | |
pattern ComparisonOperator_GT :: ComparisonOperator | |
pattern ComparisonOperator_IN :: ComparisonOperator | |
pattern ComparisonOperator_LE :: ComparisonOperator | |
pattern ComparisonOperator_LT :: ComparisonOperator | |
pattern ComparisonOperator_NE :: ComparisonOperator | |
pattern ComparisonOperator_NOT_CONTAINS :: ComparisonOperator |
Instances
DataLakeResourceType
newtype DataLakeResourceType Source #
Instances
FieldNameString
newtype FieldNameString Source #
pattern FieldNameString_LAST_MODIFIED :: FieldNameString | |
pattern FieldNameString_RESOURCE_ARN :: FieldNameString | |
pattern FieldNameString_ROLE_ARN :: FieldNameString |
Instances
OptimizerType
newtype OptimizerType Source #
pattern OptimizerType_ALL :: OptimizerType | |
pattern OptimizerType_COMPACTION :: OptimizerType | |
pattern OptimizerType_GARBAGE_COLLECTION :: OptimizerType |
Instances
Permission
newtype Permission Source #
pattern Permission_ALL :: Permission | |
pattern Permission_ALTER :: Permission | |
pattern Permission_ASSOCIATE :: Permission | |
pattern Permission_CREATE_DATABASE :: Permission | |
pattern Permission_CREATE_TABLE :: Permission | |
pattern Permission_CREATE_TAG :: Permission | |
pattern Permission_DATA_LOCATION_ACCESS :: Permission | |
pattern Permission_DELETE :: Permission | |
pattern Permission_DESCRIBE :: Permission | |
pattern Permission_DROP :: Permission | |
pattern Permission_INSERT :: Permission | |
pattern Permission_SELECT :: Permission |
Instances
PermissionType
newtype PermissionType Source #
pattern PermissionType_CELL_FILTER_PERMISSION :: PermissionType | |
pattern PermissionType_COLUMN_PERMISSION :: PermissionType |
Instances
QueryStateString
newtype QueryStateString Source #
pattern QueryStateString_ERROR :: QueryStateString | |
pattern QueryStateString_EXPIRED :: QueryStateString | |
pattern QueryStateString_FINISHED :: QueryStateString | |
pattern QueryStateString_PENDING :: QueryStateString | |
pattern QueryStateString_WORKUNITS_AVAILABLE :: QueryStateString |
Instances
ResourceShareType
newtype ResourceShareType Source #
pattern ResourceShareType_ALL :: ResourceShareType | |
pattern ResourceShareType_FOREIGN :: ResourceShareType |
Instances
ResourceType
newtype ResourceType Source #
pattern ResourceType_DATABASE :: ResourceType | |
pattern ResourceType_TABLE :: ResourceType |
Instances
TransactionStatus
newtype TransactionStatus Source #
pattern TransactionStatus_ABORTED :: TransactionStatus | |
pattern TransactionStatus_ACTIVE :: TransactionStatus | |
pattern TransactionStatus_COMMITTED :: TransactionStatus | |
pattern TransactionStatus_COMMIT_IN_PROGRESS :: TransactionStatus |
Instances
TransactionStatusFilter
newtype TransactionStatusFilter Source #
Instances
TransactionType
newtype TransactionType Source #
pattern TransactionType_READ_AND_WRITE :: TransactionType | |
pattern TransactionType_READ_ONLY :: TransactionType |
Instances
AddObjectInput
data AddObjectInput Source #
A new object to add to the governed table.
See: newAddObjectInput
smart constructor.
AddObjectInput' | |
|
Instances
:: Text | |
-> Text | |
-> Integer | |
-> AddObjectInput |
Create a value of AddObjectInput
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:partitionValues:AddObjectInput'
, addObjectInput_partitionValues
- A list of partition values for the object. A value must be specified for
each partition key associated with the table.
The supported data types are integer, long, date(yyyy-MM-dd), timestamp(yyyy-MM-dd HH:mm:ssXXX or yyyy-MM-dd HH:mm:ss"), string and decimal.
$sel:uri:AddObjectInput'
, addObjectInput_uri
- The Amazon S3 location of the object.
$sel:eTag:AddObjectInput'
, addObjectInput_eTag
- The Amazon S3 ETag of the object. Returned by GetTableObjects
for
validation and used to identify changes to the underlying data.
$sel:size:AddObjectInput'
, addObjectInput_size
- The size of the Amazon S3 object in bytes.
addObjectInput_partitionValues :: Lens' AddObjectInput (Maybe (NonEmpty Text)) Source #
A list of partition values for the object. A value must be specified for each partition key associated with the table.
The supported data types are integer, long, date(yyyy-MM-dd), timestamp(yyyy-MM-dd HH:mm:ssXXX or yyyy-MM-dd HH:mm:ss"), string and decimal.
addObjectInput_uri :: Lens' AddObjectInput Text Source #
The Amazon S3 location of the object.
addObjectInput_eTag :: Lens' AddObjectInput Text Source #
The Amazon S3 ETag of the object. Returned by GetTableObjects
for
validation and used to identify changes to the underlying data.
addObjectInput_size :: Lens' AddObjectInput Integer Source #
The size of the Amazon S3 object in bytes.
AllRowsWildcard
data AllRowsWildcard Source #
A structure that you pass to indicate you want all rows in a filter.
See: newAllRowsWildcard
smart constructor.
Instances
newAllRowsWildcard :: AllRowsWildcard Source #
Create a value of AllRowsWildcard
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
AuditContext
data AuditContext Source #
A structure used to include auditing information on the privileged API.
See: newAuditContext
smart constructor.
AuditContext' | |
|
Instances
newAuditContext :: AuditContext Source #
Create a value of AuditContext
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:additionalAuditContext:AuditContext'
, auditContext_additionalAuditContext
- The filter engine can populate the 'AdditionalAuditContext'
information with the request ID for you to track. This information will
be displayed in CloudTrail log in your account.
auditContext_additionalAuditContext :: Lens' AuditContext (Maybe Text) Source #
The filter engine can populate the 'AdditionalAuditContext' information with the request ID for you to track. This information will be displayed in CloudTrail log in your account.
BatchPermissionsFailureEntry
data BatchPermissionsFailureEntry Source #
A list of failures when performing a batch grant or batch revoke operation.
See: newBatchPermissionsFailureEntry
smart constructor.
BatchPermissionsFailureEntry' | |
|
Instances
newBatchPermissionsFailureEntry :: BatchPermissionsFailureEntry Source #
Create a value of BatchPermissionsFailureEntry
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:error:BatchPermissionsFailureEntry'
, batchPermissionsFailureEntry_error
- An error message that applies to the failure of the entry.
$sel:requestEntry:BatchPermissionsFailureEntry'
, batchPermissionsFailureEntry_requestEntry
- An identifier for an entry of the batch request.
batchPermissionsFailureEntry_error :: Lens' BatchPermissionsFailureEntry (Maybe ErrorDetail) Source #
An error message that applies to the failure of the entry.
batchPermissionsFailureEntry_requestEntry :: Lens' BatchPermissionsFailureEntry (Maybe BatchPermissionsRequestEntry) Source #
An identifier for an entry of the batch request.
BatchPermissionsRequestEntry
data BatchPermissionsRequestEntry Source #
A permission to a resource granted by batch operation to the principal.
See: newBatchPermissionsRequestEntry
smart constructor.
BatchPermissionsRequestEntry' | |
|
Instances
newBatchPermissionsRequestEntry Source #
Create a value of BatchPermissionsRequestEntry
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:permissions:BatchPermissionsRequestEntry'
, batchPermissionsRequestEntry_permissions
- The permissions to be granted.
$sel:permissionsWithGrantOption:BatchPermissionsRequestEntry'
, batchPermissionsRequestEntry_permissionsWithGrantOption
- Indicates if the option to pass permissions is granted.
$sel:principal:BatchPermissionsRequestEntry'
, batchPermissionsRequestEntry_principal
- The principal to be granted a permission.
$sel:resource:BatchPermissionsRequestEntry'
, batchPermissionsRequestEntry_resource
- The resource to which the principal is to be granted a permission.
$sel:id:BatchPermissionsRequestEntry'
, batchPermissionsRequestEntry_id
- A unique identifier for the batch permissions request entry.
batchPermissionsRequestEntry_permissions :: Lens' BatchPermissionsRequestEntry (Maybe [Permission]) Source #
The permissions to be granted.
batchPermissionsRequestEntry_permissionsWithGrantOption :: Lens' BatchPermissionsRequestEntry (Maybe [Permission]) Source #
Indicates if the option to pass permissions is granted.
batchPermissionsRequestEntry_principal :: Lens' BatchPermissionsRequestEntry (Maybe DataLakePrincipal) Source #
The principal to be granted a permission.
batchPermissionsRequestEntry_resource :: Lens' BatchPermissionsRequestEntry (Maybe Resource) Source #
The resource to which the principal is to be granted a permission.
batchPermissionsRequestEntry_id :: Lens' BatchPermissionsRequestEntry Text Source #
A unique identifier for the batch permissions request entry.
CatalogResource
data CatalogResource Source #
A structure for the catalog object.
See: newCatalogResource
smart constructor.
Instances
newCatalogResource :: CatalogResource Source #
Create a value of CatalogResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ColumnLFTag
data ColumnLFTag Source #
A structure containing the name of a column resource and the LF-tags attached to it.
See: newColumnLFTag
smart constructor.
Instances
newColumnLFTag :: ColumnLFTag Source #
Create a value of ColumnLFTag
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:lFTags:ColumnLFTag'
, columnLFTag_lFTags
- The LF-tags attached to a column resource.
$sel:name:ColumnLFTag'
, columnLFTag_name
- The name of a column resource.
columnLFTag_lFTags :: Lens' ColumnLFTag (Maybe (NonEmpty LFTagPair)) Source #
The LF-tags attached to a column resource.
columnLFTag_name :: Lens' ColumnLFTag (Maybe Text) Source #
The name of a column resource.
ColumnWildcard
data ColumnWildcard Source #
A wildcard object, consisting of an optional list of excluded column names or indexes.
See: newColumnWildcard
smart constructor.
ColumnWildcard' | |
|
Instances
newColumnWildcard :: ColumnWildcard Source #
Create a value of ColumnWildcard
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:excludedColumnNames:ColumnWildcard'
, columnWildcard_excludedColumnNames
- Excludes column names. Any column with this name will be excluded.
columnWildcard_excludedColumnNames :: Lens' ColumnWildcard (Maybe [Text]) Source #
Excludes column names. Any column with this name will be excluded.
DataCellsFilter
data DataCellsFilter Source #
A structure that describes certain columns on certain rows.
See: newDataCellsFilter
smart constructor.
DataCellsFilter' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> DataCellsFilter |
Create a value of DataCellsFilter
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:columnNames:DataCellsFilter'
, dataCellsFilter_columnNames
- A list of column names.
$sel:columnWildcard:DataCellsFilter'
, dataCellsFilter_columnWildcard
- A wildcard with exclusions.
You must specify either a ColumnNames
list or the ColumnWildCard
.
$sel:rowFilter:DataCellsFilter'
, dataCellsFilter_rowFilter
- A PartiQL predicate.
$sel:tableCatalogId:DataCellsFilter'
, dataCellsFilter_tableCatalogId
- The ID of the catalog to which the table belongs.
$sel:databaseName:DataCellsFilter'
, dataCellsFilter_databaseName
- A database in the Glue Data Catalog.
$sel:tableName:DataCellsFilter'
, dataCellsFilter_tableName
- A table in the database.
$sel:name:DataCellsFilter'
, dataCellsFilter_name
- The name given by the user to the data filter cell.
dataCellsFilter_columnNames :: Lens' DataCellsFilter (Maybe [Text]) Source #
A list of column names.
dataCellsFilter_columnWildcard :: Lens' DataCellsFilter (Maybe ColumnWildcard) Source #
A wildcard with exclusions.
You must specify either a ColumnNames
list or the ColumnWildCard
.
dataCellsFilter_rowFilter :: Lens' DataCellsFilter (Maybe RowFilter) Source #
A PartiQL predicate.
dataCellsFilter_tableCatalogId :: Lens' DataCellsFilter Text Source #
The ID of the catalog to which the table belongs.
dataCellsFilter_databaseName :: Lens' DataCellsFilter Text Source #
A database in the Glue Data Catalog.
dataCellsFilter_tableName :: Lens' DataCellsFilter Text Source #
A table in the database.
dataCellsFilter_name :: Lens' DataCellsFilter Text Source #
The name given by the user to the data filter cell.
DataCellsFilterResource
data DataCellsFilterResource Source #
A structure for a data cells filter resource.
See: newDataCellsFilterResource
smart constructor.
Instances
newDataCellsFilterResource :: DataCellsFilterResource Source #
Create a value of DataCellsFilterResource
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:databaseName:DataCellsFilterResource'
, dataCellsFilterResource_databaseName
- A database in the Glue Data Catalog.
$sel:name:DataCellsFilterResource'
, dataCellsFilterResource_name
- The name of the data cells filter.
$sel:tableCatalogId:DataCellsFilterResource'
, dataCellsFilterResource_tableCatalogId
- The ID of the catalog to which the table belongs.
$sel:tableName:DataCellsFilterResource'
, dataCellsFilterResource_tableName
- The name of the table.
dataCellsFilterResource_databaseName :: Lens' DataCellsFilterResource (Maybe Text) Source #
A database in the Glue Data Catalog.
dataCellsFilterResource_name :: Lens' DataCellsFilterResource (Maybe Text) Source #
The name of the data cells filter.
dataCellsFilterResource_tableCatalogId :: Lens' DataCellsFilterResource (Maybe Text) Source #
The ID of the catalog to which the table belongs.
dataCellsFilterResource_tableName :: Lens' DataCellsFilterResource (Maybe Text) Source #
The name of the table.
DataLakePrincipal
data DataLakePrincipal Source #
The Lake Formation principal. Supported principals are IAM users or IAM roles.
See: newDataLakePrincipal
smart constructor.
DataLakePrincipal' | |
|
Instances
newDataLakePrincipal :: DataLakePrincipal Source #
Create a value of DataLakePrincipal
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:dataLakePrincipalIdentifier:DataLakePrincipal'
, dataLakePrincipal_dataLakePrincipalIdentifier
- An identifier for the Lake Formation principal.
dataLakePrincipal_dataLakePrincipalIdentifier :: Lens' DataLakePrincipal (Maybe Text) Source #
An identifier for the Lake Formation principal.
DataLakeSettings
data DataLakeSettings Source #
A structure representing a list of Lake Formation principals designated as data lake administrators and lists of principal permission entries for default create database and default create table permissions.
See: newDataLakeSettings
smart constructor.
DataLakeSettings' | |
|
Instances
newDataLakeSettings :: DataLakeSettings Source #
Create a value of DataLakeSettings
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:allowExternalDataFiltering:DataLakeSettings'
, dataLakeSettings_allowExternalDataFiltering
- Whether to allow Amazon EMR clusters to access data managed by Lake
Formation.
If true, you allow Amazon EMR clusters to access data in Amazon S3 locations that are registered with Lake Formation.
If false or null, no Amazon EMR clusters will be able to access data in Amazon S3 locations that are registered with Lake Formation.
For more information, see (Optional) Allow Data Filtering on Amazon EMR.
$sel:authorizedSessionTagValueList:DataLakeSettings'
, dataLakeSettings_authorizedSessionTagValueList
- Lake Formation relies on a privileged process secured by Amazon EMR or
the third party integrator to tag the user's role while assuming it.
Lake Formation will publish the acceptable key-value pair, for example
key = "LakeFormationTrustedCaller" and value = "TRUE" and the third
party integrator must properly tag the temporary security credentials
that will be used to call Lake Formation's administrative APIs.
$sel:createDatabaseDefaultPermissions:DataLakeSettings'
, dataLakeSettings_createDatabaseDefaultPermissions
- Specifies whether access control on newly created database is managed by
Lake Formation permissions or exclusively by IAM permissions.
A null value indicates access control by Lake Formation permissions. A value that assigns ALL to IAM_ALLOWED_PRINCIPALS indicates access control by IAM permissions. This is referred to as the setting "Use only IAM access control," and is for backward compatibility with the Glue permission model implemented by IAM permissions.
The only permitted values are an empty array or an array that contains a single JSON object that grants ALL to IAM_ALLOWED_PRINCIPALS.
For more information, see Changing the Default Security Settings for Your Data Lake.
$sel:createTableDefaultPermissions:DataLakeSettings'
, dataLakeSettings_createTableDefaultPermissions
- Specifies whether access control on newly created table is managed by
Lake Formation permissions or exclusively by IAM permissions.
A null value indicates access control by Lake Formation permissions. A value that assigns ALL to IAM_ALLOWED_PRINCIPALS indicates access control by IAM permissions. This is referred to as the setting "Use only IAM access control," and is for backward compatibility with the Glue permission model implemented by IAM permissions.
The only permitted values are an empty array or an array that contains a single JSON object that grants ALL to IAM_ALLOWED_PRINCIPALS.
For more information, see Changing the Default Security Settings for Your Data Lake.
$sel:dataLakeAdmins:DataLakeSettings'
, dataLakeSettings_dataLakeAdmins
- A list of Lake Formation principals. Supported principals are IAM users
or IAM roles.
$sel:externalDataFilteringAllowList:DataLakeSettings'
, dataLakeSettings_externalDataFilteringAllowList
- A list of the account IDs of Amazon Web Services accounts with Amazon
EMR clusters that are to perform data filtering.>
$sel:parameters:DataLakeSettings'
, dataLakeSettings_parameters
- A key-value map that provides an additional configuration on your data
lake. CrossAccountVersion is the key you can configure in the Parameters
field. Accepted values for the CrossAccountVersion key are 1, 2, and 3.
$sel:trustedResourceOwners:DataLakeSettings'
, dataLakeSettings_trustedResourceOwners
- A list of the resource-owning account IDs that the caller's account can
use to share their user access details (user ARNs). The user ARNs can be
logged in the resource owner's CloudTrail log.
You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
dataLakeSettings_allowExternalDataFiltering :: Lens' DataLakeSettings (Maybe Bool) Source #
Whether to allow Amazon EMR clusters to access data managed by Lake Formation.
If true, you allow Amazon EMR clusters to access data in Amazon S3 locations that are registered with Lake Formation.
If false or null, no Amazon EMR clusters will be able to access data in Amazon S3 locations that are registered with Lake Formation.
For more information, see (Optional) Allow Data Filtering on Amazon EMR.
dataLakeSettings_authorizedSessionTagValueList :: Lens' DataLakeSettings (Maybe [Text]) Source #
Lake Formation relies on a privileged process secured by Amazon EMR or the third party integrator to tag the user's role while assuming it. Lake Formation will publish the acceptable key-value pair, for example key = "LakeFormationTrustedCaller" and value = "TRUE" and the third party integrator must properly tag the temporary security credentials that will be used to call Lake Formation's administrative APIs.
dataLakeSettings_createDatabaseDefaultPermissions :: Lens' DataLakeSettings (Maybe [PrincipalPermissions]) Source #
Specifies whether access control on newly created database is managed by Lake Formation permissions or exclusively by IAM permissions.
A null value indicates access control by Lake Formation permissions. A value that assigns ALL to IAM_ALLOWED_PRINCIPALS indicates access control by IAM permissions. This is referred to as the setting "Use only IAM access control," and is for backward compatibility with the Glue permission model implemented by IAM permissions.
The only permitted values are an empty array or an array that contains a single JSON object that grants ALL to IAM_ALLOWED_PRINCIPALS.
For more information, see Changing the Default Security Settings for Your Data Lake.
dataLakeSettings_createTableDefaultPermissions :: Lens' DataLakeSettings (Maybe [PrincipalPermissions]) Source #
Specifies whether access control on newly created table is managed by Lake Formation permissions or exclusively by IAM permissions.
A null value indicates access control by Lake Formation permissions. A value that assigns ALL to IAM_ALLOWED_PRINCIPALS indicates access control by IAM permissions. This is referred to as the setting "Use only IAM access control," and is for backward compatibility with the Glue permission model implemented by IAM permissions.
The only permitted values are an empty array or an array that contains a single JSON object that grants ALL to IAM_ALLOWED_PRINCIPALS.
For more information, see Changing the Default Security Settings for Your Data Lake.
dataLakeSettings_dataLakeAdmins :: Lens' DataLakeSettings (Maybe [DataLakePrincipal]) Source #
A list of Lake Formation principals. Supported principals are IAM users or IAM roles.
dataLakeSettings_externalDataFilteringAllowList :: Lens' DataLakeSettings (Maybe [DataLakePrincipal]) Source #
A list of the account IDs of Amazon Web Services accounts with Amazon EMR clusters that are to perform data filtering.>
dataLakeSettings_parameters :: Lens' DataLakeSettings (Maybe (HashMap Text Text)) Source #
A key-value map that provides an additional configuration on your data lake. CrossAccountVersion is the key you can configure in the Parameters field. Accepted values for the CrossAccountVersion key are 1, 2, and 3.
dataLakeSettings_trustedResourceOwners :: Lens' DataLakeSettings (Maybe [Text]) Source #
A list of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). The user ARNs can be logged in the resource owner's CloudTrail log.
You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
DataLocationResource
data DataLocationResource Source #
A structure for a data location object where permissions are granted or revoked.
See: newDataLocationResource
smart constructor.
DataLocationResource' | |
|
Instances
newDataLocationResource Source #
Create a value of DataLocationResource
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:catalogId:DataLocationResource'
, dataLocationResource_catalogId
- The identifier for the Data Catalog where the location is registered
with Lake Formation. By default, it is the account ID of the caller.
$sel:resourceArn:DataLocationResource'
, dataLocationResource_resourceArn
- The Amazon Resource Name (ARN) that uniquely identifies the data
location resource.
dataLocationResource_catalogId :: Lens' DataLocationResource (Maybe Text) Source #
The identifier for the Data Catalog where the location is registered with Lake Formation. By default, it is the account ID of the caller.
dataLocationResource_resourceArn :: Lens' DataLocationResource Text Source #
The Amazon Resource Name (ARN) that uniquely identifies the data location resource.
DatabaseResource
data DatabaseResource Source #
A structure for the database object.
See: newDatabaseResource
smart constructor.
Instances
Create a value of DatabaseResource
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:catalogId:DatabaseResource'
, databaseResource_catalogId
- The identifier for the Data Catalog. By default, it is the account ID of
the caller.
$sel:name:DatabaseResource'
, databaseResource_name
- The name of the database resource. Unique to the Data Catalog.
databaseResource_catalogId :: Lens' DatabaseResource (Maybe Text) Source #
The identifier for the Data Catalog. By default, it is the account ID of the caller.
databaseResource_name :: Lens' DatabaseResource Text Source #
The name of the database resource. Unique to the Data Catalog.
DeleteObjectInput
data DeleteObjectInput Source #
An object to delete from the governed table.
See: newDeleteObjectInput
smart constructor.
DeleteObjectInput' | |
|
Instances
Create a value of DeleteObjectInput
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:eTag:DeleteObjectInput'
, deleteObjectInput_eTag
- The Amazon S3 ETag of the object. Returned by GetTableObjects
for
validation and used to identify changes to the underlying data.
$sel:partitionValues:DeleteObjectInput'
, deleteObjectInput_partitionValues
- A list of partition values for the object. A value must be specified for
each partition key associated with the governed table.
$sel:uri:DeleteObjectInput'
, deleteObjectInput_uri
- The Amazon S3 location of the object to delete.
deleteObjectInput_eTag :: Lens' DeleteObjectInput (Maybe Text) Source #
The Amazon S3 ETag of the object. Returned by GetTableObjects
for
validation and used to identify changes to the underlying data.
deleteObjectInput_partitionValues :: Lens' DeleteObjectInput (Maybe (NonEmpty Text)) Source #
A list of partition values for the object. A value must be specified for each partition key associated with the governed table.
deleteObjectInput_uri :: Lens' DeleteObjectInput Text Source #
The Amazon S3 location of the object to delete.
DetailsMap
data DetailsMap Source #
A structure containing the additional details to be returned in the
AdditionalDetails
attribute of PrincipalResourcePermissions
.
If a catalog resource is shared through Resource Access Manager (RAM), then there will exist a corresponding RAM resource share ARN.
See: newDetailsMap
smart constructor.
DetailsMap' | |
|
Instances
newDetailsMap :: DetailsMap Source #
Create a value of DetailsMap
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:resourceShare:DetailsMap'
, detailsMap_resourceShare
- A resource share ARN for a catalog resource shared through RAM.
detailsMap_resourceShare :: Lens' DetailsMap (Maybe [Text]) Source #
A resource share ARN for a catalog resource shared through RAM.
ErrorDetail
data ErrorDetail Source #
Contains details about an error.
See: newErrorDetail
smart constructor.
Instances
newErrorDetail :: ErrorDetail Source #
Create a value of ErrorDetail
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:errorCode:ErrorDetail'
, errorDetail_errorCode
- The code associated with this error.
$sel:errorMessage:ErrorDetail'
, errorDetail_errorMessage
- A message describing the error.
errorDetail_errorCode :: Lens' ErrorDetail (Maybe Text) Source #
The code associated with this error.
errorDetail_errorMessage :: Lens' ErrorDetail (Maybe Text) Source #
A message describing the error.
ExecutionStatistics
data ExecutionStatistics Source #
Statistics related to the processing of a query statement.
See: newExecutionStatistics
smart constructor.
ExecutionStatistics' | |
|
Instances
newExecutionStatistics :: ExecutionStatistics Source #
Create a value of ExecutionStatistics
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:averageExecutionTimeMillis:ExecutionStatistics'
, executionStatistics_averageExecutionTimeMillis
- The average time the request took to be executed.
$sel:dataScannedBytes:ExecutionStatistics'
, executionStatistics_dataScannedBytes
- The amount of data that was scanned in bytes.
$sel:workUnitsExecutedCount:ExecutionStatistics'
, executionStatistics_workUnitsExecutedCount
- The number of work units executed.
executionStatistics_averageExecutionTimeMillis :: Lens' ExecutionStatistics (Maybe Integer) Source #
The average time the request took to be executed.
executionStatistics_dataScannedBytes :: Lens' ExecutionStatistics (Maybe Integer) Source #
The amount of data that was scanned in bytes.
executionStatistics_workUnitsExecutedCount :: Lens' ExecutionStatistics (Maybe Integer) Source #
The number of work units executed.
FilterCondition
data FilterCondition Source #
This structure describes the filtering of columns in a table based on a filter condition.
See: newFilterCondition
smart constructor.
FilterCondition' | |
|
Instances
newFilterCondition :: FilterCondition Source #
Create a value of FilterCondition
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:comparisonOperator:FilterCondition'
, filterCondition_comparisonOperator
- The comparison operator used in the filter condition.
$sel:field:FilterCondition'
, filterCondition_field
- The field to filter in the filter condition.
$sel:stringValueList:FilterCondition'
, filterCondition_stringValueList
- A string with values used in evaluating the filter condition.
filterCondition_comparisonOperator :: Lens' FilterCondition (Maybe ComparisonOperator) Source #
The comparison operator used in the filter condition.
filterCondition_field :: Lens' FilterCondition (Maybe FieldNameString) Source #
The field to filter in the filter condition.
filterCondition_stringValueList :: Lens' FilterCondition (Maybe [Text]) Source #
A string with values used in evaluating the filter condition.
LFTag
A structure that allows an admin to grant user permissions on certain conditions. For example, granting a role access to all columns that do not have the LF-tag 'PII' in tables that have the LF-tag 'Prod'.
See: newLFTag
smart constructor.
Instances
FromJSON LFTag Source # | |
ToJSON LFTag Source # | |
Defined in Amazonka.LakeFormation.Types.LFTag | |
Generic LFTag Source # | |
Read LFTag Source # | |
Show LFTag Source # | |
NFData LFTag Source # | |
Defined in Amazonka.LakeFormation.Types.LFTag | |
Eq LFTag Source # | |
Hashable LFTag Source # | |
Defined in Amazonka.LakeFormation.Types.LFTag | |
type Rep LFTag Source # | |
Defined in Amazonka.LakeFormation.Types.LFTag type Rep LFTag = D1 ('MetaData "LFTag" "Amazonka.LakeFormation.Types.LFTag" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "LFTag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))) |
Create a value of LFTag
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:tagKey:LFTag'
, lFTag_tagKey
- The key-name for the LF-tag.
$sel:tagValues:LFTag'
, lFTag_tagValues
- A list of possible values an attribute can take.
lFTag_tagValues :: Lens' LFTag (NonEmpty Text) Source #
A list of possible values an attribute can take.
LFTagError
data LFTagError Source #
A structure containing an error related to a TagResource
or
UnTagResource
operation.
See: newLFTagError
smart constructor.
Instances
newLFTagError :: LFTagError Source #
Create a value of LFTagError
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:error:LFTagError'
, lFTagError_error
- An error that occurred with the attachment or detachment of the LF-tag.
$sel:lFTag:LFTagError'
, lFTagError_lFTag
- The key-name of the LF-tag.
lFTagError_error :: Lens' LFTagError (Maybe ErrorDetail) Source #
An error that occurred with the attachment or detachment of the LF-tag.
lFTagError_lFTag :: Lens' LFTagError (Maybe LFTagPair) Source #
The key-name of the LF-tag.
LFTagKeyResource
data LFTagKeyResource Source #
A structure containing an LF-tag key and values for a resource.
See: newLFTagKeyResource
smart constructor.
LFTagKeyResource' | |
|
Instances
:: Text | |
-> NonEmpty Text | |
-> LFTagKeyResource |
Create a value of LFTagKeyResource
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:catalogId:LFTagKeyResource'
, lFTagKeyResource_catalogId
- The identifier for the Data Catalog. By default, the account ID. The
Data Catalog is the persistent metadata store. It contains database
definitions, table definitions, and other control information to manage
your Lake Formation environment.
$sel:tagKey:LFTagKeyResource'
, lFTagKeyResource_tagKey
- The key-name for the LF-tag.
$sel:tagValues:LFTagKeyResource'
, lFTagKeyResource_tagValues
- A list of possible values an attribute can take.
lFTagKeyResource_catalogId :: Lens' LFTagKeyResource (Maybe Text) Source #
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
lFTagKeyResource_tagKey :: Lens' LFTagKeyResource Text Source #
The key-name for the LF-tag.
lFTagKeyResource_tagValues :: Lens' LFTagKeyResource (NonEmpty Text) Source #
A list of possible values an attribute can take.
LFTagPair
A structure containing an LF-tag key-value pair.
See: newLFTagPair
smart constructor.
LFTagPair' | |
|
Instances
FromJSON LFTagPair Source # | |
ToJSON LFTagPair Source # | |
Defined in Amazonka.LakeFormation.Types.LFTagPair | |
Generic LFTagPair Source # | |
Read LFTagPair Source # | |
Show LFTagPair Source # | |
NFData LFTagPair Source # | |
Defined in Amazonka.LakeFormation.Types.LFTagPair | |
Eq LFTagPair Source # | |
Hashable LFTagPair Source # | |
Defined in Amazonka.LakeFormation.Types.LFTagPair | |
type Rep LFTagPair Source # | |
Defined in Amazonka.LakeFormation.Types.LFTagPair type Rep LFTagPair = D1 ('MetaData "LFTagPair" "Amazonka.LakeFormation.Types.LFTagPair" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "LFTagPair'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tagKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))) |
Create a value of LFTagPair
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:catalogId:LFTagPair'
, lFTagPair_catalogId
- The identifier for the Data Catalog. By default, the account ID. The
Data Catalog is the persistent metadata store. It contains database
definitions, table definitions, and other control information to manage
your Lake Formation environment.
$sel:tagKey:LFTagPair'
, lFTagPair_tagKey
- The key-name for the LF-tag.
$sel:tagValues:LFTagPair'
, lFTagPair_tagValues
- A list of possible values an attribute can take.
lFTagPair_catalogId :: Lens' LFTagPair (Maybe Text) Source #
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
lFTagPair_tagValues :: Lens' LFTagPair (NonEmpty Text) Source #
A list of possible values an attribute can take.
LFTagPolicyResource
data LFTagPolicyResource Source #
A structure containing a list of LF-tag conditions that apply to a resource's LF-tag policy.
See: newLFTagPolicyResource
smart constructor.
LFTagPolicyResource' | |
|
Instances
newLFTagPolicyResource Source #
Create a value of LFTagPolicyResource
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:catalogId:LFTagPolicyResource'
, lFTagPolicyResource_catalogId
- The identifier for the Data Catalog. By default, the account ID. The
Data Catalog is the persistent metadata store. It contains database
definitions, table definitions, and other control information to manage
your Lake Formation environment.
$sel:resourceType:LFTagPolicyResource'
, lFTagPolicyResource_resourceType
- The resource type for which the LF-tag policy applies.
$sel:expression:LFTagPolicyResource'
, lFTagPolicyResource_expression
- A list of LF-tag conditions that apply to the resource's LF-tag policy.
lFTagPolicyResource_catalogId :: Lens' LFTagPolicyResource (Maybe Text) Source #
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
lFTagPolicyResource_resourceType :: Lens' LFTagPolicyResource ResourceType Source #
The resource type for which the LF-tag policy applies.
lFTagPolicyResource_expression :: Lens' LFTagPolicyResource (NonEmpty LFTag) Source #
A list of LF-tag conditions that apply to the resource's LF-tag policy.
PartitionObjects
data PartitionObjects Source #
A structure containing a list of partition values and table objects.
See: newPartitionObjects
smart constructor.
PartitionObjects' | |
|
Instances
newPartitionObjects :: PartitionObjects Source #
Create a value of PartitionObjects
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:objects:PartitionObjects'
, partitionObjects_objects
- A list of table objects
$sel:partitionValues:PartitionObjects'
, partitionObjects_partitionValues
- A list of partition values.
partitionObjects_objects :: Lens' PartitionObjects (Maybe [TableObject]) Source #
A list of table objects
partitionObjects_partitionValues :: Lens' PartitionObjects (Maybe (NonEmpty Text)) Source #
A list of partition values.
PartitionValueList
data PartitionValueList Source #
Contains a list of values defining partitions.
See: newPartitionValueList
smart constructor.
Instances
newPartitionValueList Source #
Create a value of PartitionValueList
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:values:PartitionValueList'
, partitionValueList_values
- The list of partition values.
partitionValueList_values :: Lens' PartitionValueList (NonEmpty Text) Source #
The list of partition values.
PlanningStatistics
data PlanningStatistics Source #
Statistics related to the processing of a query statement.
See: newPlanningStatistics
smart constructor.
PlanningStatistics' | |
|
Instances
newPlanningStatistics :: PlanningStatistics Source #
Create a value of PlanningStatistics
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:estimatedDataToScanBytes:PlanningStatistics'
, planningStatistics_estimatedDataToScanBytes
- An estimate of the data that was scanned in bytes.
$sel:planningTimeMillis:PlanningStatistics'
, planningStatistics_planningTimeMillis
- The time that it took to process the request.
$sel:queueTimeMillis:PlanningStatistics'
, planningStatistics_queueTimeMillis
- The time the request was in queue to be processed.
$sel:workUnitsGeneratedCount:PlanningStatistics'
, planningStatistics_workUnitsGeneratedCount
- The number of work units generated.
planningStatistics_estimatedDataToScanBytes :: Lens' PlanningStatistics (Maybe Integer) Source #
An estimate of the data that was scanned in bytes.
planningStatistics_planningTimeMillis :: Lens' PlanningStatistics (Maybe Integer) Source #
The time that it took to process the request.
planningStatistics_queueTimeMillis :: Lens' PlanningStatistics (Maybe Integer) Source #
The time the request was in queue to be processed.
planningStatistics_workUnitsGeneratedCount :: Lens' PlanningStatistics (Maybe Integer) Source #
The number of work units generated.
PrincipalPermissions
data PrincipalPermissions Source #
Permissions granted to a principal.
See: newPrincipalPermissions
smart constructor.
PrincipalPermissions' | |
|
Instances
newPrincipalPermissions :: PrincipalPermissions Source #
Create a value of PrincipalPermissions
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:permissions:PrincipalPermissions'
, principalPermissions_permissions
- The permissions that are granted to the principal.
$sel:principal:PrincipalPermissions'
, principalPermissions_principal
- The principal who is granted permissions.
principalPermissions_permissions :: Lens' PrincipalPermissions (Maybe [Permission]) Source #
The permissions that are granted to the principal.
principalPermissions_principal :: Lens' PrincipalPermissions (Maybe DataLakePrincipal) Source #
The principal who is granted permissions.
PrincipalResourcePermissions
data PrincipalResourcePermissions Source #
The permissions granted or revoked on a resource.
See: newPrincipalResourcePermissions
smart constructor.
PrincipalResourcePermissions' | |
|
Instances
newPrincipalResourcePermissions :: PrincipalResourcePermissions Source #
Create a value of PrincipalResourcePermissions
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:additionalDetails:PrincipalResourcePermissions'
, principalResourcePermissions_additionalDetails
- This attribute can be used to return any additional details of
PrincipalResourcePermissions
. Currently returns only as a RAM resource
share ARN.
$sel:permissions:PrincipalResourcePermissions'
, principalResourcePermissions_permissions
- The permissions to be granted or revoked on the resource.
$sel:permissionsWithGrantOption:PrincipalResourcePermissions'
, principalResourcePermissions_permissionsWithGrantOption
- Indicates whether to grant the ability to grant permissions (as a subset
of permissions granted).
$sel:principal:PrincipalResourcePermissions'
, principalResourcePermissions_principal
- The Data Lake principal to be granted or revoked permissions.
$sel:resource:PrincipalResourcePermissions'
, principalResourcePermissions_resource
- The resource where permissions are to be granted or revoked.
principalResourcePermissions_additionalDetails :: Lens' PrincipalResourcePermissions (Maybe DetailsMap) Source #
This attribute can be used to return any additional details of
PrincipalResourcePermissions
. Currently returns only as a RAM resource
share ARN.
principalResourcePermissions_permissions :: Lens' PrincipalResourcePermissions (Maybe [Permission]) Source #
The permissions to be granted or revoked on the resource.
principalResourcePermissions_permissionsWithGrantOption :: Lens' PrincipalResourcePermissions (Maybe [Permission]) Source #
Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
principalResourcePermissions_principal :: Lens' PrincipalResourcePermissions (Maybe DataLakePrincipal) Source #
The Data Lake principal to be granted or revoked permissions.
principalResourcePermissions_resource :: Lens' PrincipalResourcePermissions (Maybe Resource) Source #
The resource where permissions are to be granted or revoked.
QueryPlanningContext
data QueryPlanningContext Source #
A structure containing information about the query plan.
See: newQueryPlanningContext
smart constructor.
QueryPlanningContext' | |
|
Instances
newQueryPlanningContext Source #
Create a value of QueryPlanningContext
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:catalogId:QueryPlanningContext'
, queryPlanningContext_catalogId
- The ID of the Data Catalog where the partition in question resides. If
none is provided, the Amazon Web Services account ID is used by default.
$sel:queryAsOfTime:QueryPlanningContext'
, queryPlanningContext_queryAsOfTime
- The time as of when to read the table contents. If not set, the most
recent transaction commit time will be used. Cannot be specified along
with TransactionId
.
$sel:queryParameters:QueryPlanningContext'
, queryPlanningContext_queryParameters
- A map consisting of key-value pairs.
$sel:transactionId:QueryPlanningContext'
, queryPlanningContext_transactionId
- The transaction ID at which to read the table contents. If this
transaction is not committed, the read will be treated as part of that
transaction and will see its writes. If this transaction has aborted, an
error will be returned. If not set, defaults to the most recent
committed transaction. Cannot be specified along with QueryAsOfTime
.
$sel:databaseName:QueryPlanningContext'
, queryPlanningContext_databaseName
- The database containing the table.
queryPlanningContext_catalogId :: Lens' QueryPlanningContext (Maybe Text) Source #
The ID of the Data Catalog where the partition in question resides. If none is provided, the Amazon Web Services account ID is used by default.
queryPlanningContext_queryAsOfTime :: Lens' QueryPlanningContext (Maybe UTCTime) Source #
The time as of when to read the table contents. If not set, the most
recent transaction commit time will be used. Cannot be specified along
with TransactionId
.
queryPlanningContext_queryParameters :: Lens' QueryPlanningContext (Maybe (HashMap Text Text)) Source #
A map consisting of key-value pairs.
queryPlanningContext_transactionId :: Lens' QueryPlanningContext (Maybe Text) Source #
The transaction ID at which to read the table contents. If this
transaction is not committed, the read will be treated as part of that
transaction and will see its writes. If this transaction has aborted, an
error will be returned. If not set, defaults to the most recent
committed transaction. Cannot be specified along with QueryAsOfTime
.
queryPlanningContext_databaseName :: Lens' QueryPlanningContext Text Source #
The database containing the table.
Resource
A structure for the resource.
See: newResource
smart constructor.
Resource' | |
|
Instances
newResource :: Resource Source #
Create a value of Resource
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:catalog:Resource'
, resource_catalog
- The identifier for the Data Catalog. By default, the account ID. The
Data Catalog is the persistent metadata store. It contains database
definitions, table definitions, and other control information to manage
your Lake Formation environment.
$sel:dataCellsFilter:Resource'
, resource_dataCellsFilter
- A data cell filter.
$sel:dataLocation:Resource'
, resource_dataLocation
- The location of an Amazon S3 path where permissions are granted or
revoked.
$sel:database:Resource'
, resource_database
- The database for the resource. Unique to the Data Catalog. A database is
a set of associated table definitions organized into a logical group.
You can Grant and Revoke database permissions to a principal.
$sel:lFTag:Resource'
, resource_lFTag
- The LF-tag key and values attached to a resource.
$sel:lFTagPolicy:Resource'
, resource_lFTagPolicy
- A list of LF-tag conditions that define a resource's LF-tag policy.
$sel:table:Resource'
, resource_table
- The table for the resource. A table is a metadata definition that
represents your data. You can Grant and Revoke table privileges to a
principal.
$sel:tableWithColumns:Resource'
, resource_tableWithColumns
- The table with columns for the resource. A principal with permissions to
this resource can select metadata from the columns of a table in the
Data Catalog and the underlying data in Amazon S3.
resource_catalog :: Lens' Resource (Maybe CatalogResource) Source #
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
resource_dataCellsFilter :: Lens' Resource (Maybe DataCellsFilterResource) Source #
A data cell filter.
resource_dataLocation :: Lens' Resource (Maybe DataLocationResource) Source #
The location of an Amazon S3 path where permissions are granted or revoked.
resource_database :: Lens' Resource (Maybe DatabaseResource) Source #
The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
resource_lFTag :: Lens' Resource (Maybe LFTagKeyResource) Source #
The LF-tag key and values attached to a resource.
resource_lFTagPolicy :: Lens' Resource (Maybe LFTagPolicyResource) Source #
A list of LF-tag conditions that define a resource's LF-tag policy.
resource_table :: Lens' Resource (Maybe TableResource) Source #
The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
resource_tableWithColumns :: Lens' Resource (Maybe TableWithColumnsResource) Source #
The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.
ResourceInfo
data ResourceInfo Source #
A structure containing information about an Lake Formation resource.
See: newResourceInfo
smart constructor.
ResourceInfo' | |
|
Instances
newResourceInfo :: ResourceInfo Source #
Create a value of ResourceInfo
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:lastModified:ResourceInfo'
, resourceInfo_lastModified
- The date and time the resource was last modified.
$sel:resourceArn:ResourceInfo'
, resourceInfo_resourceArn
- The Amazon Resource Name (ARN) of the resource.
$sel:roleArn:ResourceInfo'
, resourceInfo_roleArn
- The IAM role that registered a resource.
resourceInfo_lastModified :: Lens' ResourceInfo (Maybe UTCTime) Source #
The date and time the resource was last modified.
resourceInfo_resourceArn :: Lens' ResourceInfo (Maybe Text) Source #
The Amazon Resource Name (ARN) of the resource.
resourceInfo_roleArn :: Lens' ResourceInfo (Maybe Text) Source #
The IAM role that registered a resource.
RowFilter
A PartiQL predicate.
See: newRowFilter
smart constructor.
RowFilter' | |
|
Instances
FromJSON RowFilter Source # | |
ToJSON RowFilter Source # | |
Defined in Amazonka.LakeFormation.Types.RowFilter | |
Generic RowFilter Source # | |
Read RowFilter Source # | |
Show RowFilter Source # | |
NFData RowFilter Source # | |
Defined in Amazonka.LakeFormation.Types.RowFilter | |
Eq RowFilter Source # | |
Hashable RowFilter Source # | |
Defined in Amazonka.LakeFormation.Types.RowFilter | |
type Rep RowFilter Source # | |
Defined in Amazonka.LakeFormation.Types.RowFilter type Rep RowFilter = D1 ('MetaData "RowFilter" "Amazonka.LakeFormation.Types.RowFilter" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "RowFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "allRowsWildcard") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AllRowsWildcard)) :*: S1 ('MetaSel ('Just "filterExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newRowFilter :: RowFilter Source #
Create a value of RowFilter
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:allRowsWildcard:RowFilter'
, rowFilter_allRowsWildcard
- A wildcard for all rows.
$sel:filterExpression:RowFilter'
, rowFilter_filterExpression
- A filter expression.
rowFilter_allRowsWildcard :: Lens' RowFilter (Maybe AllRowsWildcard) Source #
A wildcard for all rows.
StorageOptimizer
data StorageOptimizer Source #
A structure describing the configuration and details of a storage optimizer.
See: newStorageOptimizer
smart constructor.
StorageOptimizer' | |
|
Instances
newStorageOptimizer :: StorageOptimizer Source #
Create a value of StorageOptimizer
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:config:StorageOptimizer'
, storageOptimizer_config
- A map of the storage optimizer configuration. Currently contains only
one key-value pair: is_enabled
indicates true or false for
acceleration.
$sel:errorMessage:StorageOptimizer'
, storageOptimizer_errorMessage
- A message that contains information about any error (if present).
When an acceleration result has an enabled status, the error message is empty.
When an acceleration result has a disabled status, the message describes an error or simply indicates "disabled by the user".
$sel:lastRunDetails:StorageOptimizer'
, storageOptimizer_lastRunDetails
- When an acceleration result has an enabled status, contains the details
of the last job run.
$sel:storageOptimizerType:StorageOptimizer'
, storageOptimizer_storageOptimizerType
- The specific type of storage optimizer. The supported value is
compaction
.
$sel:warnings:StorageOptimizer'
, storageOptimizer_warnings
- A message that contains information about any warnings (if present).
storageOptimizer_config :: Lens' StorageOptimizer (Maybe (HashMap Text Text)) Source #
A map of the storage optimizer configuration. Currently contains only
one key-value pair: is_enabled
indicates true or false for
acceleration.
storageOptimizer_errorMessage :: Lens' StorageOptimizer (Maybe Text) Source #
A message that contains information about any error (if present).
When an acceleration result has an enabled status, the error message is empty.
When an acceleration result has a disabled status, the message describes an error or simply indicates "disabled by the user".
storageOptimizer_lastRunDetails :: Lens' StorageOptimizer (Maybe Text) Source #
When an acceleration result has an enabled status, contains the details of the last job run.
storageOptimizer_storageOptimizerType :: Lens' StorageOptimizer (Maybe OptimizerType) Source #
The specific type of storage optimizer. The supported value is
compaction
.
storageOptimizer_warnings :: Lens' StorageOptimizer (Maybe Text) Source #
A message that contains information about any warnings (if present).
TableObject
data TableObject Source #
Specifies the details of a governed table.
See: newTableObject
smart constructor.
Instances
newTableObject :: TableObject Source #
Create a value of TableObject
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:eTag:TableObject'
, tableObject_eTag
- The Amazon S3 ETag of the object. Returned by GetTableObjects
for
validation and used to identify changes to the underlying data.
$sel:size:TableObject'
, tableObject_size
- The size of the Amazon S3 object in bytes.
$sel:uri:TableObject'
, tableObject_uri
- The Amazon S3 location of the object.
tableObject_eTag :: Lens' TableObject (Maybe Text) Source #
The Amazon S3 ETag of the object. Returned by GetTableObjects
for
validation and used to identify changes to the underlying data.
tableObject_size :: Lens' TableObject (Maybe Integer) Source #
The size of the Amazon S3 object in bytes.
tableObject_uri :: Lens' TableObject (Maybe Text) Source #
The Amazon S3 location of the object.
TableResource
data TableResource Source #
A structure for the table object. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
See: newTableResource
smart constructor.
TableResource' | |
|
Instances
Create a value of TableResource
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:catalogId:TableResource'
, tableResource_catalogId
- The identifier for the Data Catalog. By default, it is the account ID of
the caller.
$sel:name:TableResource'
, tableResource_name
- The name of the table.
$sel:tableWildcard:TableResource'
, tableResource_tableWildcard
- A wildcard object representing every table under a database.
At least one of TableResource$Name
or TableResource$TableWildcard
is
required.
$sel:databaseName:TableResource'
, tableResource_databaseName
- The name of the database for the table. Unique to a Data Catalog. A
database is a set of associated table definitions organized into a
logical group. You can Grant and Revoke database privileges to a
principal.
tableResource_catalogId :: Lens' TableResource (Maybe Text) Source #
The identifier for the Data Catalog. By default, it is the account ID of the caller.
tableResource_name :: Lens' TableResource (Maybe Text) Source #
The name of the table.
tableResource_tableWildcard :: Lens' TableResource (Maybe TableWildcard) Source #
A wildcard object representing every table under a database.
At least one of TableResource$Name
or TableResource$TableWildcard
is
required.
tableResource_databaseName :: Lens' TableResource Text Source #
The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
TableWildcard
data TableWildcard Source #
A wildcard object representing every table under a database.
See: newTableWildcard
smart constructor.
Instances
newTableWildcard :: TableWildcard Source #
Create a value of TableWildcard
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
TableWithColumnsResource
data TableWithColumnsResource Source #
A structure for a table with columns object. This object is only used when granting a SELECT permission.
This object must take a value for at least one of ColumnsNames
,
ColumnsIndexes
, or ColumnsWildcard
.
See: newTableWithColumnsResource
smart constructor.
TableWithColumnsResource' | |
|
Instances
newTableWithColumnsResource Source #
:: Text | |
-> Text | |
-> TableWithColumnsResource |
Create a value of TableWithColumnsResource
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:catalogId:TableWithColumnsResource'
, tableWithColumnsResource_catalogId
- The identifier for the Data Catalog. By default, it is the account ID of
the caller.
$sel:columnNames:TableWithColumnsResource'
, tableWithColumnsResource_columnNames
- The list of column names for the table. At least one of ColumnNames
or
ColumnWildcard
is required.
$sel:columnWildcard:TableWithColumnsResource'
, tableWithColumnsResource_columnWildcard
- A wildcard specified by a ColumnWildcard
object. At least one of
ColumnNames
or ColumnWildcard
is required.
$sel:databaseName:TableWithColumnsResource'
, tableWithColumnsResource_databaseName
- The name of the database for the table with columns resource. Unique to
the Data Catalog. A database is a set of associated table definitions
organized into a logical group. You can Grant and Revoke database
privileges to a principal.
$sel:name:TableWithColumnsResource'
, tableWithColumnsResource_name
- The name of the table resource. A table is a metadata definition that
represents your data. You can Grant and Revoke table privileges to a
principal.
tableWithColumnsResource_catalogId :: Lens' TableWithColumnsResource (Maybe Text) Source #
The identifier for the Data Catalog. By default, it is the account ID of the caller.
tableWithColumnsResource_columnNames :: Lens' TableWithColumnsResource (Maybe [Text]) Source #
The list of column names for the table. At least one of ColumnNames
or
ColumnWildcard
is required.
tableWithColumnsResource_columnWildcard :: Lens' TableWithColumnsResource (Maybe ColumnWildcard) Source #
A wildcard specified by a ColumnWildcard
object. At least one of
ColumnNames
or ColumnWildcard
is required.
tableWithColumnsResource_databaseName :: Lens' TableWithColumnsResource Text Source #
The name of the database for the table with columns resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
tableWithColumnsResource_name :: Lens' TableWithColumnsResource Text Source #
The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
TaggedDatabase
data TaggedDatabase Source #
A structure describing a database resource with LF-tags.
See: newTaggedDatabase
smart constructor.
Instances
newTaggedDatabase :: TaggedDatabase Source #
Create a value of TaggedDatabase
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:database:TaggedDatabase'
, taggedDatabase_database
- A database that has LF-tags attached to it.
$sel:lFTags:TaggedDatabase'
, taggedDatabase_lFTags
- A list of LF-tags attached to the database.
taggedDatabase_database :: Lens' TaggedDatabase (Maybe DatabaseResource) Source #
A database that has LF-tags attached to it.
taggedDatabase_lFTags :: Lens' TaggedDatabase (Maybe (NonEmpty LFTagPair)) Source #
A list of LF-tags attached to the database.
TaggedTable
data TaggedTable Source #
A structure describing a table resource with LF-tags.
See: newTaggedTable
smart constructor.
TaggedTable' | |
|
Instances
newTaggedTable :: TaggedTable Source #
Create a value of TaggedTable
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:lFTagOnDatabase:TaggedTable'
, taggedTable_lFTagOnDatabase
- A list of LF-tags attached to the database where the table resides.
$sel:lFTagsOnColumns:TaggedTable'
, taggedTable_lFTagsOnColumns
- A list of LF-tags attached to columns in the table.
$sel:lFTagsOnTable:TaggedTable'
, taggedTable_lFTagsOnTable
- A list of LF-tags attached to the table.
$sel:table:TaggedTable'
, taggedTable_table
- A table that has LF-tags attached to it.
taggedTable_lFTagOnDatabase :: Lens' TaggedTable (Maybe (NonEmpty LFTagPair)) Source #
A list of LF-tags attached to the database where the table resides.
taggedTable_lFTagsOnColumns :: Lens' TaggedTable (Maybe [ColumnLFTag]) Source #
A list of LF-tags attached to columns in the table.
taggedTable_lFTagsOnTable :: Lens' TaggedTable (Maybe (NonEmpty LFTagPair)) Source #
A list of LF-tags attached to the table.
taggedTable_table :: Lens' TaggedTable (Maybe TableResource) Source #
A table that has LF-tags attached to it.
TransactionDescription
data TransactionDescription Source #
A structure that contains information about a transaction.
See: newTransactionDescription
smart constructor.
TransactionDescription' | |
|
Instances
newTransactionDescription :: TransactionDescription Source #
Create a value of TransactionDescription
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:transactionEndTime:TransactionDescription'
, transactionDescription_transactionEndTime
- The time when the transaction committed or aborted, if it is not
currently active.
$sel:transactionId:TransactionDescription'
, transactionDescription_transactionId
- The ID of the transaction.
$sel:transactionStartTime:TransactionDescription'
, transactionDescription_transactionStartTime
- The time when the transaction started.
$sel:transactionStatus:TransactionDescription'
, transactionDescription_transactionStatus
- A status of ACTIVE, COMMITTED, or ABORTED.
transactionDescription_transactionEndTime :: Lens' TransactionDescription (Maybe UTCTime) Source #
The time when the transaction committed or aborted, if it is not currently active.
transactionDescription_transactionId :: Lens' TransactionDescription (Maybe Text) Source #
The ID of the transaction.
transactionDescription_transactionStartTime :: Lens' TransactionDescription (Maybe UTCTime) Source #
The time when the transaction started.
transactionDescription_transactionStatus :: Lens' TransactionDescription (Maybe TransactionStatus) Source #
A status of ACTIVE, COMMITTED, or ABORTED.
VirtualObject
data VirtualObject Source #
An object that defines an Amazon S3 object to be deleted if a
transaction cancels, provided that VirtualPut
was called before
writing the object.
See: newVirtualObject
smart constructor.
Instances
Create a value of VirtualObject
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:eTag:VirtualObject'
, virtualObject_eTag
- The ETag of the Amazon S3 object.
$sel:uri:VirtualObject'
, virtualObject_uri
- The path to the Amazon S3 object. Must start with s3://
virtualObject_eTag :: Lens' VirtualObject (Maybe Text) Source #
The ETag of the Amazon S3 object.
virtualObject_uri :: Lens' VirtualObject Text Source #
The path to the Amazon S3 object. Must start with s3://
WorkUnitRange
data WorkUnitRange Source #
Defines the valid range of work unit IDs for querying the execution service.
See: newWorkUnitRange
smart constructor.
WorkUnitRange' | |
|
Instances
:: Integer | |
-> Integer | |
-> Text | |
-> WorkUnitRange |
Create a value of WorkUnitRange
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:workUnitIdMax:WorkUnitRange'
, workUnitRange_workUnitIdMax
- Defines the maximum work unit ID in the range. The maximum value is
inclusive.
$sel:workUnitIdMin:WorkUnitRange'
, workUnitRange_workUnitIdMin
- Defines the minimum work unit ID in the range.
$sel:workUnitToken:WorkUnitRange'
, workUnitRange_workUnitToken
- A work token used to query the execution service.
workUnitRange_workUnitIdMax :: Lens' WorkUnitRange Integer Source #
Defines the maximum work unit ID in the range. The maximum value is inclusive.
workUnitRange_workUnitIdMin :: Lens' WorkUnitRange Integer Source #
Defines the minimum work unit ID in the range.
workUnitRange_workUnitToken :: Lens' WorkUnitRange Text Source #
A work token used to query the execution service.
WriteOperation
data WriteOperation Source #
Defines an object to add to or delete from a governed table.
See: newWriteOperation
smart constructor.
WriteOperation' | |
|
Instances
newWriteOperation :: WriteOperation Source #
Create a value of WriteOperation
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:addObject:WriteOperation'
, writeOperation_addObject
- A new object to add to the governed table.
$sel:deleteObject:WriteOperation'
, writeOperation_deleteObject
- An object to delete from the governed table.
writeOperation_addObject :: Lens' WriteOperation (Maybe AddObjectInput) Source #
A new object to add to the governed table.
writeOperation_deleteObject :: Lens' WriteOperation (Maybe DeleteObjectInput) Source #
An object to delete from the governed table.