aws-iam-policy-types
Version:
Autogenerated Typescript types for AWS IAM Policy and enums for all policy actions
513 lines (512 loc) • 20.5 kB
TypeScript
/**
* All IAM policy actions for Amazon Athena (ATHENA)
*
* Extracted by `aws-iam-policy` from
* https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonathena.html
*
* 2025-02-24T21:46:48.281Z
*/
export declare enum AwsAthenaActions {
/**
* Grants permission to get information about one or more named queries
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_BatchGetNamedQuery.html
*/
BatchGetNamedQuery = "athena:BatchGetNamedQuery",
/**
* Grants permission to get information about one or more prepared statements
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_BatchGetPreparedStatement.html
*/
BatchGetPreparedStatement = "athena:BatchGetPreparedStatement",
/**
* Grants permission to get information about one or more query executions
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_BatchGetQueryExecution.html
*/
BatchGetQueryExecution = "athena:BatchGetQueryExecution",
/**
* Grants permission to cancel a capacity reservation
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_CancelCapacityReservation.html
*/
CancelCapacityReservation = "athena:CancelCapacityReservation",
/**
* Grants permission to cancel query execution. Deprecated. Applies only to AWS se
* rvices and principals that use Athena JDBC driver earlier than 1.1.0. Use StopQ
* ueryExecution otherwise
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_StopQueryExecution.html
*/
CancelQueryExecution = "athena:CancelQueryExecution",
/**
* Grants permission to create a capacity reservation
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreateCapacityReservation.html
*/
CreateCapacityReservation = "athena:CreateCapacityReservation",
/**
* Grants permission to create a datacatalog
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreateDataCatalog.html
*/
CreateDataCatalog = "athena:CreateDataCatalog",
/**
* Grants permission to create a named query
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreateNamedQuery.html
*/
CreateNamedQuery = "athena:CreateNamedQuery",
/**
* Grants permission to create a notebook
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreateNotebook.html
*/
CreateNotebook = "athena:CreateNotebook",
/**
* Grants permission to create a prepared statement
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreatePreparedStatement.html
*/
CreatePreparedStatement = "athena:CreatePreparedStatement",
/**
* Grants permission to create a presigned notebook url
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreatePresignedNotebookUrl.html
*/
CreatePresignedNotebookUrl = "athena:CreatePresignedNotebookUrl",
/**
* Grants permission to create a workgroup
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreateWorkGroup.html
*/
CreateWorkGroup = "athena:CreateWorkGroup",
/**
* Grants permission to delete a capacity reservation
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_DeleteCapacityReservation.html
*/
DeleteCapacityReservation = "athena:DeleteCapacityReservation",
/**
* Grants permission to delete a datacatalog
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_DeleteDataCatalog.html
*/
DeleteDataCatalog = "athena:DeleteDataCatalog",
/**
* Grants permission to delete a named query specified
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_DeleteNamedQuery.html
*/
DeleteNamedQuery = "athena:DeleteNamedQuery",
/**
* Grants permission to delete a notebook
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_DeleteNotebook.html
*/
DeleteNotebook = "athena:DeleteNotebook",
/**
* Grants permission to delete a prepared statement specified
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_DeletePreparedStatement.html
*/
DeletePreparedStatement = "athena:DeletePreparedStatement",
/**
* Grants permission to delete a workgroup
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_DeleteWorkGroup.html
*/
DeleteWorkGroup = "athena:DeleteWorkGroup",
/**
* Grants permission to export a notebook
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ExportNotebook.html
*/
ExportNotebook = "athena:ExportNotebook",
/**
* Grants permission to get a calculation execution
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetCalculationExecution.html
*/
GetCalculationExecution = "athena:GetCalculationExecution",
/**
* Grants permission to get a calculation execution code
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetCalculationExecutionCode.html
*/
GetCalculationExecutionCode = "athena:GetCalculationExecutionCode",
/**
* Grants permission to get a calculation execution status
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetCalculationExecutionStatus.html
*/
GetCalculationExecutionStatus = "athena:GetCalculationExecutionStatus",
/**
* Grants permission to get capacity assignment information for a capacity reserva
* tion
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetCapacityAssignmentConfiguration.html
*/
GetCapacityAssignmentConfiguration = "athena:GetCapacityAssignmentConfiguration",
/**
* Grants permission to get a capacity reservation
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetCapacityReservation.html
*/
GetCapacityReservation = "athena:GetCapacityReservation",
/**
* Grants permission to enable access to databases and tables. Applies only to AWS
* services managed policy and principals that use an Athena JDBC driver version 1
* .1.0
*
* See https://docs.aws.amazon.com/athena/latest/ug/connect-with-previous-jdbc.html#jdbc-prev-version-policies
*/
GetCatalogs = "athena:GetCatalogs",
/**
* Grants permission to get a datacatalog
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetDataCatalog.html
*/
GetDataCatalog = "athena:GetDataCatalog",
/**
* Grants permission to get a database for a given datacatalog
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetDatabase.html
*/
GetDatabase = "athena:GetDatabase",
/**
* Grants permission to enable access to the specified database and table. Applies
* only to AWS services managed policy and principals that use an Athena JDBC driv
* er version 1.1.0
*
* See https://docs.aws.amazon.com/athena/latest/ug/connect-with-previous-jdbc.html#jdbc-prev-version-policies
*/
GetExecutionEngine = "athena:GetExecutionEngine",
/**
* Grants permission to enable access to databases and tables. Applies only to AWS
* services managed policy and principals that use an Athena JDBC driver version 1
* .1.0
*
* See https://docs.aws.amazon.com/athena/latest/ug/connect-with-previous-jdbc.html#jdbc-prev-version-policies
*/
GetExecutionEngines = "athena:GetExecutionEngines",
/**
* Grants permission to get information about the specified named query
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetNamedQuery.html
*/
GetNamedQuery = "athena:GetNamedQuery",
/**
* Grants permission to enable access to the specified database and table. Applies
* only to AWS services managed policy and principals that use an Athena JDBC driv
* er version 1.1.0
*
* See https://docs.aws.amazon.com/athena/latest/ug/connect-with-previous-jdbc.html#jdbc-prev-version-policies
*/
GetNamespace = "athena:GetNamespace",
/**
* Grants permission to enable access to databases and tables. Applies only to AWS
* services managed policy and principals that use an Athena JDBC driver version 1
* .1.0
*
* See https://docs.aws.amazon.com/athena/latest/ug/connect-with-previous-jdbc.html#jdbc-prev-version-policies
*/
GetNamespaces = "athena:GetNamespaces",
/**
* Grants permission to get notebook metadata
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetNotebookMetadata.html
*/
GetNotebookMetadata = "athena:GetNotebookMetadata",
/**
* Grants permission to get information about the specified prepared statement
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetPreparedStatement.html
*/
GetPreparedStatement = "athena:GetPreparedStatement",
/**
* Grants permission to get information about the specified query execution
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetQueryExecution.html
*/
GetQueryExecution = "athena:GetQueryExecution",
/**
* Grants permission to get query executions. Deprecated. Applies only to AWS serv
* ices and principals that use Athena JDBC driver earlier than 1.1.0. Use ListQue
* ryExecutions otherwise
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListQueryExecutions.html
*/
GetQueryExecutions = "athena:GetQueryExecutions",
/**
* Grants permission to get the query results
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetQueryResults.html
*/
GetQueryResults = "athena:GetQueryResults",
/**
* Grants permission to get the query results stream
*
* See https://docs.aws.amazon.com/athena/latest/ug/jdbc-v3-driver.html#jdbc-v3-driver-download
*/
GetQueryResultsStream = "athena:GetQueryResultsStream",
/**
* Grants permission to get runtime statistics for the specified query execution
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetQueryRuntimeStatistics.html
*/
GetQueryRuntimeStatistics = "athena:GetQueryRuntimeStatistics",
/**
* Grants permission to get a session
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetSession.html
*/
GetSession = "athena:GetSession",
/**
* Grants permission to get a session status
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetSessionStatus.html
*/
GetSessionStatus = "athena:GetSessionStatus",
/**
* Grants permission to enable access to the specified table. Applies only to AWS
* services managed policy and principals that use an Athena JDBC driver version 1
* .1.0
*
* See https://docs.aws.amazon.com/athena/latest/ug/connect-with-previous-jdbc.html#jdbc-prev-version-policies
*/
GetTable = "athena:GetTable",
/**
* Grants permission to get a metadata about a table for a given datacatalog
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetTableMetadata.html
*/
GetTableMetadata = "athena:GetTableMetadata",
/**
* Grants permission to enable access to tables. Applies only to AWS services mana
* ged policy and principals that use an Athena JDBC driver version 1.1.0
*
* See https://docs.aws.amazon.com/athena/latest/ug/connect-with-previous-jdbc.html#jdbc-prev-version-policies
*/
GetTables = "athena:GetTables",
/**
* Grants permission to get a workgroup
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetWorkGroup.html
*/
GetWorkGroup = "athena:GetWorkGroup",
/**
* Grants permission to import a notebook
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ImportNotebook.html
*/
ImportNotebook = "athena:ImportNotebook",
/**
* Grants permission to return a list of ApplicationRuntimeIds
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListApplicationDPUSizes.html
*/
ListApplicationDPUSizes = "athena:ListApplicationDPUSizes",
/**
* Grants permission to return a list of calculation executions
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListCalculationExecutions.html
*/
ListCalculationExecutions = "athena:ListCalculationExecutions",
/**
* Grants permission to return a list of capacity reservations for the specified A
* WS account
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListCapacityReservations.html
*/
ListCapacityReservations = "athena:ListCapacityReservations",
/**
* Grants permission to return a list of datacatalogs for the specified AWS accoun
* t
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListDataCatalogs.html
*/
ListDataCatalogs = "athena:ListDataCatalogs",
/**
* Grants permission to return a list of databases for a given datacatalog
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListDatabases.html
*/
ListDatabases = "athena:ListDatabases",
/**
* Grants permission to return a list of athena engine versions for the specified
* AWS account
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListEngineVersions.html
*/
ListEngineVersions = "athena:ListEngineVersions",
/**
* Grants permission to return a list of executors
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListExecutors.html
*/
ListExecutors = "athena:ListExecutors",
/**
* Grants permission to return a list of named queries in Amazon Athena for the sp
* ecified AWS account
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListNamedQueries.html
*/
ListNamedQueries = "athena:ListNamedQueries",
/**
* Grants permission to return a list of notebooks for a given workgroup
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListNotebookMetadata.html
*/
ListNotebookMetadata = "athena:ListNotebookMetadata",
/**
* Grants permission to return a list of sessions for a given notebook
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListNotebookSessions.html
*/
ListNotebookSessions = "athena:ListNotebookSessions",
/**
* Grants permission to return a list of prepared statements for the specified wor
* kgroup
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListPreparedStatements.html
*/
ListPreparedStatements = "athena:ListPreparedStatements",
/**
* Grants permission to return a list of query executions for the specified AWS ac
* count
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListQueryExecutions.html
*/
ListQueryExecutions = "athena:ListQueryExecutions",
/**
* Grants permission to return a list of sessions for a given workgroup
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListSessions.html
*/
ListSessions = "athena:ListSessions",
/**
* Grants permission to return a list of table metadata in a database for a given
* datacatalog
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListTableMetadata.html
*/
ListTableMetadata = "athena:ListTableMetadata",
/**
* Grants permission to return a list of tags for a resource
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListTagsForResource.html
*/
ListTagsForResource = "athena:ListTagsForResource",
/**
* Grants permission to return a list of workgroups for the specified AWS account
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListWorkGroups.html
*/
ListWorkGroups = "athena:ListWorkGroups",
/**
* Grants permission to assign capacity from a capacity reservation to queries
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_PutCapacityAssignmentConfiguration.html
*/
PutCapacityAssignmentConfiguration = "athena:PutCapacityAssignmentConfiguration",
/**
* Grants permission to run a query. Deprecated. Applies only to AWS services and
* principals that use Athena JDBC driver earlier than 1.1.0. Use StartQueryExecut
* ion otherwise
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_StartQueryExecution.html
*/
RunQuery = "athena:RunQuery",
/**
* Grants permission to start a calculation execution
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_StartCalculationExecution.html
*/
StartCalculationExecution = "athena:StartCalculationExecution",
/**
* Grants permission to start a query execution using an SQL query provided as a s
* tring
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_StartQueryExecution.html
*/
StartQueryExecution = "athena:StartQueryExecution",
/**
* Grants permission to start a session
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_StartSession.html
*/
StartSession = "athena:StartSession",
/**
* Grants permission to stop a calculation execution
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_StopCalculationExecution.html
*/
StopCalculationExecution = "athena:StopCalculationExecution",
/**
* Grants permission to stop the specified query execution
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_StopQueryExecution.html
*/
StopQueryExecution = "athena:StopQueryExecution",
/**
* Grants permission to add a tag to a resource
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_TagResource.html
*/
TagResource = "athena:TagResource",
/**
* Grants permission to terminate a session
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_TerminateSession.html
*/
TerminateSession = "athena:TerminateSession",
/**
* Grants permission to remove a tag from a resource
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_UntagResource.html
*/
UntagResource = "athena:UntagResource",
/**
* Grants permission to update a capacity reservation
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdateCapacityReservation.html
*/
UpdateCapacityReservation = "athena:UpdateCapacityReservation",
/**
* Grants permission to update a datacatalog
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdateDataCatalog.html
*/
UpdateDataCatalog = "athena:UpdateDataCatalog",
/**
* Grants permission to update a named query specified
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdateNamedQuery.html
*/
UpdateNamedQuery = "athena:UpdateNamedQuery",
/**
* Grants permission to update a notebook
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdateNotebook.html
*/
UpdateNotebook = "athena:UpdateNotebook",
/**
* Grants permission to update notebook metadata
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdateNotebookMetadata.html
*/
UpdateNotebookMetadata = "athena:UpdateNotebookMetadata",
/**
* Grants permission to update a prepared statement
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdatePreparedStatement.html
*/
UpdatePreparedStatement = "athena:UpdatePreparedStatement",
/**
* Grants permission to update a workgroup
*
* See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdateWorkGroup.html
*/
UpdateWorkGroup = "athena:UpdateWorkGroup"
}