UNPKG

aws-iam-policy-types

Version:

Autogenerated Typescript types for AWS IAM Policy and enums for all policy actions

518 lines 22.3 kB
"use strict"; // AUTOGENERATED FILE - DO NOT EDIT Object.defineProperty(exports, "__esModule", { value: true }); exports.AwsAthenaActions = void 0; /** * 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 */ var AwsAthenaActions; (function (AwsAthenaActions) { /** * Grants permission to get information about one or more named queries * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_BatchGetNamedQuery.html */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["BatchGetQueryExecution"] = "athena:BatchGetQueryExecution"; /** * Grants permission to cancel a capacity reservation * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_CancelCapacityReservation.html */ AwsAthenaActions["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 */ AwsAthenaActions["CancelQueryExecution"] = "athena:CancelQueryExecution"; /** * Grants permission to create a capacity reservation * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreateCapacityReservation.html */ AwsAthenaActions["CreateCapacityReservation"] = "athena:CreateCapacityReservation"; /** * Grants permission to create a datacatalog * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreateDataCatalog.html */ AwsAthenaActions["CreateDataCatalog"] = "athena:CreateDataCatalog"; /** * Grants permission to create a named query * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreateNamedQuery.html */ AwsAthenaActions["CreateNamedQuery"] = "athena:CreateNamedQuery"; /** * Grants permission to create a notebook * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreateNotebook.html */ AwsAthenaActions["CreateNotebook"] = "athena:CreateNotebook"; /** * Grants permission to create a prepared statement * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreatePreparedStatement.html */ AwsAthenaActions["CreatePreparedStatement"] = "athena:CreatePreparedStatement"; /** * Grants permission to create a presigned notebook url * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreatePresignedNotebookUrl.html */ AwsAthenaActions["CreatePresignedNotebookUrl"] = "athena:CreatePresignedNotebookUrl"; /** * Grants permission to create a workgroup * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_CreateWorkGroup.html */ AwsAthenaActions["CreateWorkGroup"] = "athena:CreateWorkGroup"; /** * Grants permission to delete a capacity reservation * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_DeleteCapacityReservation.html */ AwsAthenaActions["DeleteCapacityReservation"] = "athena:DeleteCapacityReservation"; /** * Grants permission to delete a datacatalog * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_DeleteDataCatalog.html */ AwsAthenaActions["DeleteDataCatalog"] = "athena:DeleteDataCatalog"; /** * Grants permission to delete a named query specified * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_DeleteNamedQuery.html */ AwsAthenaActions["DeleteNamedQuery"] = "athena:DeleteNamedQuery"; /** * Grants permission to delete a notebook * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_DeleteNotebook.html */ AwsAthenaActions["DeleteNotebook"] = "athena:DeleteNotebook"; /** * Grants permission to delete a prepared statement specified * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_DeletePreparedStatement.html */ AwsAthenaActions["DeletePreparedStatement"] = "athena:DeletePreparedStatement"; /** * Grants permission to delete a workgroup * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_DeleteWorkGroup.html */ AwsAthenaActions["DeleteWorkGroup"] = "athena:DeleteWorkGroup"; /** * Grants permission to export a notebook * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_ExportNotebook.html */ AwsAthenaActions["ExportNotebook"] = "athena:ExportNotebook"; /** * Grants permission to get a calculation execution * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetCalculationExecution.html */ AwsAthenaActions["GetCalculationExecution"] = "athena:GetCalculationExecution"; /** * Grants permission to get a calculation execution code * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetCalculationExecutionCode.html */ AwsAthenaActions["GetCalculationExecutionCode"] = "athena:GetCalculationExecutionCode"; /** * Grants permission to get a calculation execution status * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetCalculationExecutionStatus.html */ AwsAthenaActions["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 */ AwsAthenaActions["GetCapacityAssignmentConfiguration"] = "athena:GetCapacityAssignmentConfiguration"; /** * Grants permission to get a capacity reservation * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetCapacityReservation.html */ AwsAthenaActions["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 */ AwsAthenaActions["GetCatalogs"] = "athena:GetCatalogs"; /** * Grants permission to get a datacatalog * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetDataCatalog.html */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["GetNamespaces"] = "athena:GetNamespaces"; /** * Grants permission to get notebook metadata * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetNotebookMetadata.html */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["GetQueryExecutions"] = "athena:GetQueryExecutions"; /** * Grants permission to get the query results * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetQueryResults.html */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["GetQueryRuntimeStatistics"] = "athena:GetQueryRuntimeStatistics"; /** * Grants permission to get a session * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetSession.html */ AwsAthenaActions["GetSession"] = "athena:GetSession"; /** * Grants permission to get a session status * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetSessionStatus.html */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["GetTables"] = "athena:GetTables"; /** * Grants permission to get a workgroup * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_GetWorkGroup.html */ AwsAthenaActions["GetWorkGroup"] = "athena:GetWorkGroup"; /** * Grants permission to import a notebook * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_ImportNotebook.html */ AwsAthenaActions["ImportNotebook"] = "athena:ImportNotebook"; /** * Grants permission to return a list of ApplicationRuntimeIds * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListApplicationDPUSizes.html */ AwsAthenaActions["ListApplicationDPUSizes"] = "athena:ListApplicationDPUSizes"; /** * Grants permission to return a list of calculation executions * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListCalculationExecutions.html */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["ListEngineVersions"] = "athena:ListEngineVersions"; /** * Grants permission to return a list of executors * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_ListExecutors.html */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["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 */ AwsAthenaActions["RunQuery"] = "athena:RunQuery"; /** * Grants permission to start a calculation execution * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_StartCalculationExecution.html */ AwsAthenaActions["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 */ AwsAthenaActions["StartQueryExecution"] = "athena:StartQueryExecution"; /** * Grants permission to start a session * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_StartSession.html */ AwsAthenaActions["StartSession"] = "athena:StartSession"; /** * Grants permission to stop a calculation execution * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_StopCalculationExecution.html */ AwsAthenaActions["StopCalculationExecution"] = "athena:StopCalculationExecution"; /** * Grants permission to stop the specified query execution * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_StopQueryExecution.html */ AwsAthenaActions["StopQueryExecution"] = "athena:StopQueryExecution"; /** * Grants permission to add a tag to a resource * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_TagResource.html */ AwsAthenaActions["TagResource"] = "athena:TagResource"; /** * Grants permission to terminate a session * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_TerminateSession.html */ AwsAthenaActions["TerminateSession"] = "athena:TerminateSession"; /** * Grants permission to remove a tag from a resource * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_UntagResource.html */ AwsAthenaActions["UntagResource"] = "athena:UntagResource"; /** * Grants permission to update a capacity reservation * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdateCapacityReservation.html */ AwsAthenaActions["UpdateCapacityReservation"] = "athena:UpdateCapacityReservation"; /** * Grants permission to update a datacatalog * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdateDataCatalog.html */ AwsAthenaActions["UpdateDataCatalog"] = "athena:UpdateDataCatalog"; /** * Grants permission to update a named query specified * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdateNamedQuery.html */ AwsAthenaActions["UpdateNamedQuery"] = "athena:UpdateNamedQuery"; /** * Grants permission to update a notebook * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdateNotebook.html */ AwsAthenaActions["UpdateNotebook"] = "athena:UpdateNotebook"; /** * Grants permission to update notebook metadata * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdateNotebookMetadata.html */ AwsAthenaActions["UpdateNotebookMetadata"] = "athena:UpdateNotebookMetadata"; /** * Grants permission to update a prepared statement * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdatePreparedStatement.html */ AwsAthenaActions["UpdatePreparedStatement"] = "athena:UpdatePreparedStatement"; /** * Grants permission to update a workgroup * * See https://docs.aws.amazon.com/athena/latest/APIReference/API_UpdateWorkGroup.html */ AwsAthenaActions["UpdateWorkGroup"] = "athena:UpdateWorkGroup"; })(AwsAthenaActions = exports.AwsAthenaActions || (exports.AwsAthenaActions = {})); //# sourceMappingURL=athena.js.map