UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

1,544 lines (1,543 loc) 369 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Glue = void 0; const shared_1 = require("../../shared"); /** * Statement provider for service [glue](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsglue.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ class Glue extends shared_1.PolicyStatement { /** * Grants permission to Glue to continuously validate that the target Arn can receive data replicated from the source ARN * * Access Level: Write */ toAuthorizeInboundIntegration() { return this.to('AuthorizeInboundIntegration'); } /** * Grants permission to create one or more partitions * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-partitions.html#aws-glue-api-catalog-partitions-BatchCreatePartition */ toBatchCreatePartition() { return this.to('BatchCreatePartition'); } /** * Grants permission to delete one or more connections * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-connections.html#aws-glue-api-catalog-connections-BatchDeleteConnection */ toBatchDeleteConnection() { return this.to('BatchDeleteConnection'); } /** * Grants permission to delete one or more partitions * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-partitions.html#aws-glue-api-catalog-partitions-BatchDeletePartition */ toBatchDeletePartition() { return this.to('BatchDeletePartition'); } /** * Grants permission to delete one or more tables * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-BatchDeleteTable */ toBatchDeleteTable() { return this.to('BatchDeleteTable'); } /** * Grants permission to delete one or more versions of a table * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-DeleteTableVersion */ toBatchDeleteTableVersion() { return this.to('BatchDeleteTableVersion'); } /** * Grants permission to retrieve one or more blueprints * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-workflow.html#aws-glue-api-workflow-BatchGetBlueprints */ toBatchGetBlueprints() { return this.to('BatchGetBlueprints'); } /** * Grants permission to retrieve one or more crawlers * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-crawling.html#aws-glue-api-crawler-crawling-BatchGetCrawlers */ toBatchGetCrawlers() { return this.to('BatchGetCrawlers'); } /** * Grants permission to retrieve one or more Custom Entity Types * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-sensitive-data-api.html#aws-glue-api-sensitive-data-api-BatchGetCustomEntityTypes */ toBatchGetCustomEntityTypes() { return this.to('BatchGetCustomEntityTypes'); } /** * Grants permission to retrieve one or more development endpoints * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-dev-endpoint.html#aws-glue-api-dev-endpoint-BatchGetDevEndpoints */ toBatchGetDevEndpoints() { return this.to('BatchGetDevEndpoints'); } /** * Grants permission to retrieve one or more jobs * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-job.html#aws-glue-api-jobs-job-BatchGetJobs */ toBatchGetJobs() { return this.to('BatchGetJobs'); } /** * Grants permission to retrieve one or more partitions * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-partitions.html#aws-glue-api-catalog-partitions-BatchGetPartition */ toBatchGetPartition() { return this.to('BatchGetPartition'); } /** * Grants permission to batch get stage files for SparkUI * * Access Level: Permissions management * * https://docs.aws.amazon.com/glue/latest/dg/monitor-spark-ui.html */ toBatchGetStageFiles() { return this.to('BatchGetStageFiles'); } /** * Grants permission to return the configuration for the specified table optimizers * * Access Level: Read * * Dependent actions: * - glue:GetTable * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-table-optimizers.html#aws-glue-api-table-optimizers-BatchGetTableOptimizer */ toBatchGetTableOptimizer() { return this.to('BatchGetTableOptimizer'); } /** * Grants permission to retrieve one or more triggers * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-trigger.html#aws-glue-api-jobs-trigger-BatchGetTriggers */ toBatchGetTriggers() { return this.to('BatchGetTriggers'); } /** * Grants permission to retrieve one or more workflows * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-workflow.html#aws-glue-api-workflow-BatchGetWorkflows */ toBatchGetWorkflows() { return this.to('BatchGetWorkflows'); } /** * Grants permission to stop one or more job runs for a job * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-runs.html#aws-glue-api-jobs-runs-BatchStopStartJobRun */ toBatchStopJobRun() { return this.to('BatchStopJobRun'); } /** * Grants permission to update one or more partitions * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-partitions.html#aws-glue-api-catalog-partitions-BatchUpdatePartition */ toBatchUpdatePartition() { return this.to('BatchUpdatePartition'); } /** * Grants permission to stop a running Data Quality rule recommendation run * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-data-quality-api.html#aws-glue-api-data-quality-api-CancelDataQualityRuleRecommendationRun */ toCancelDataQualityRuleRecommendationRun() { return this.to('CancelDataQualityRuleRecommendationRun'); } /** * Grants permission to stop a running Data Quality ruleset evaluation run * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-data-quality-api.html#aws-glue-api-data-quality-api-CancelDataQualityRulesetEvaluationRun */ toCancelDataQualityRulesetEvaluationRun() { return this.to('CancelDataQualityRulesetEvaluationRun'); } /** * Grants permission to stop a running ML Task Run * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-machine-learning-api.html#aws-glue-api-machine-learning-api-CancelMLTaskRun */ toCancelMLTaskRun() { return this.to('CancelMLTaskRun'); } /** * Grants permission to cancel a statement in an interactive session * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-interactive-sessions.html#aws-glue-interactive-sessions-CancelStatement */ toCancelStatement() { return this.to('CancelStatement'); } /** * Grants permission to retrieve a check the validity of schema version * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-schema-registry-api.html#aws-glue-api-schema-registry-api-CheckSchemaVersionValidity */ toCheckSchemaVersionValidity() { return this.to('CheckSchemaVersionValidity'); } /** * Grants permission to create a blueprint * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-workflow.html#aws-glue-api-workflow-CreateBlueprint */ toCreateBlueprint() { return this.to('CreateBlueprint'); } /** * Grants permission to create a catalog * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog.html */ toCreateCatalog() { return this.to('CreateCatalog'); } /** * Grants permission to create a classifier * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-classifiers.html#aws-glue-api-crawler-classifiers-CreateClassifier */ toCreateClassifier() { return this.to('CreateClassifier'); } /** * Grants permission to create settings for a column statistics task * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-column-statistics.html#aws-glue-api-crawler-column-statistics-CreateColumnStatisticsTaskSettings */ toCreateColumnStatisticsTaskSettings() { return this.to('CreateColumnStatisticsTaskSettings'); } /** * Grants permission to create a connection * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-connections.html#aws-glue-api-catalog-connections-CreateConnection */ toCreateConnection() { return this.to('CreateConnection'); } /** * Grants permission to create a crawler * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-crawling.html#aws-glue-api-crawler-crawling-CreateCrawler */ toCreateCrawler() { return this.to('CreateCrawler'); } /** * Grants permission to create a Custom Entity Type * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-sensitive-data-api.html#aws-glue-api-sensitive-data-api-CreateCustomEntityType */ toCreateCustomEntityType() { return this.to('CreateCustomEntityType'); } /** * Grants permission to create a Data Quality ruleset * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-data-quality-api.html#aws-glue-api-data-quality-api-CreateDataQualityRuleset */ toCreateDataQualityRuleset() { return this.to('CreateDataQualityRuleset'); } /** * Grants permission to create a database * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-databases.html#aws-glue-api-catalog-databases-CreateDatabase */ toCreateDatabase() { return this.to('CreateDatabase'); } /** * Grants permission to create a development endpoint * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-dev-endpoint.html#aws-glue-api-dev-endpoint-CreateDevEndpoint */ toCreateDevEndpoint() { return this.to('CreateDevEndpoint'); } /** * Grants permission to the source principal to create an inbound integration for data to be replicated from the source into the target * * Access Level: Write */ toCreateInboundIntegration() { return this.to('CreateInboundIntegration'); } /** * Grants permission to create an integration * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * Dependent actions: * - kms:CreateGrant * - kms:DescribeKey * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-integrations.html#aws-glue-api-integrations-CreateIntegration */ toCreateIntegration() { return this.to('CreateIntegration'); } /** * Grants permission to create integration resource property * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-integrations.html#aws-glue-api-integrations-CreateIntegrationResourceProperty */ toCreateIntegrationResourceProperty() { return this.to('CreateIntegrationResourceProperty'); } /** * Grants permission to create integration table properties * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-integrations.html#aws-glue-api-integrations-CreateIntegrationTableProperties */ toCreateIntegrationTableProperties() { return this.to('CreateIntegrationTableProperties'); } /** * Grants permission to create a job * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * - .ifVpcIds() * - .ifSubnetIds() * - .ifSecurityGroupIds() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-job.html#aws-glue-api-jobs-job-CreateJob */ toCreateJob() { return this.to('CreateJob'); } /** * Grants permission to create an ML Transform * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-machine-learning-api.html#aws-glue-api-machine-learning-api-CreateMLTransform */ toCreateMLTransform() { return this.to('CreateMLTransform'); } /** * Grants permission to create a partition * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-partitions.html#aws-glue-api-catalog-partitions-CreatePartition */ toCreatePartition() { return this.to('CreatePartition'); } /** * Grants permission to create a specified partition index in an existing table * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-CreatePartitionIndex */ toCreatePartitionIndex() { return this.to('CreatePartitionIndex'); } /** * Grants permission to create a new schema registry * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-schema-registry-api.html#aws-glue-api-schema-registry-api-CreateRegistry */ toCreateRegistry() { return this.to('CreateRegistry'); } /** * Grants permission to create a new schema container * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-schema-registry-api.html#aws-glue-api-schema-registry-api-CreateSchema */ toCreateSchema() { return this.to('CreateSchema'); } /** * Grants permission to create a script * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-etl-script-generation.html#aws-glue-api-etl-script-generation-CreateScript */ toCreateScript() { return this.to('CreateScript'); } /** * Grants permission to create a security configuration * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-security.html#aws-glue-api-jobs-security-CreateSecurityConfiguration */ toCreateSecurityConfiguration() { return this.to('CreateSecurityConfiguration'); } /** * Grants permission to create an interactive session * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * - .ifVpcIds() * - .ifSubnetIds() * - .ifSecurityGroupIds() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-interactive-sessions.html#aws-glue-api-interactive-sessions-CreateSession */ toCreateSession() { return this.to('CreateSession'); } /** * Grants permission to create a table * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-CreateTable */ toCreateTable() { return this.to('CreateTable'); } /** * Grants permission to create a new table optimizer for a specific function. Compaction is the only currently supported optimizer type * * Access Level: Write * * Dependent actions: * - glue:GetTable * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-table-optimizers.html#aws-glue-api-table-optimizers-CreateTableOptimizer */ toCreateTableOptimizer() { return this.to('CreateTableOptimizer'); } /** * Grants permission to create a trigger * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-trigger.html#aws-glue-api-jobs-trigger-CreateTrigger */ toCreateTrigger() { return this.to('CreateTrigger'); } /** * Grants permission to create a usage profile * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-usage-profiles.html#aws-glue-api-usage-profiles-CreateUsageProfile */ toCreateUsageProfile() { return this.to('CreateUsageProfile'); } /** * Grants permission to create a function definition * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-functions.html#aws-glue-api-catalog-functions-CreateUserDefinedFunction */ toCreateUserDefinedFunction() { return this.to('CreateUserDefinedFunction'); } /** * Grants permission to create a workflow * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-workflow.html#aws-glue-api-workflow-CreateWorkflow */ toCreateWorkflow() { return this.to('CreateWorkflow'); } /** * Grants permission to delete a blueprint * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-workflow.html#aws-glue-api-workflow-DeleteBlueprint */ toDeleteBlueprint() { return this.to('DeleteBlueprint'); } /** * Grants permission to delete a catalog * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog.html */ toDeleteCatalog() { return this.to('DeleteCatalog'); } /** * Grants permission to delete a classifier * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-classifiers.html#aws-glue-api-crawler-classifiers-DeleteClassifier */ toDeleteClassifier() { return this.to('DeleteClassifier'); } /** * Grants permission to delete the partition column statistics of a column * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-partitions.html#aws-glue-api-catalog-partitions-DeleteColumnStatisticsForPartition */ toDeleteColumnStatisticsForPartition() { return this.to('DeleteColumnStatisticsForPartition'); } /** * Grants permission to delete the table statistics of columns * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-DeleteColumnStatisticsForTable */ toDeleteColumnStatisticsForTable() { return this.to('DeleteColumnStatisticsForTable'); } /** * Grants permission to delete settings for a column statistics task * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-column-statistics.html#aws-glue-api-crawler-column-statistics-DeleteColumnStatisticsTaskSettings */ toDeleteColumnStatisticsTaskSettings() { return this.to('DeleteColumnStatisticsTaskSettings'); } /** * Grants permission to delete a connection * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-connections.html#aws-glue-api-catalog-connections-DeleteConnection */ toDeleteConnection() { return this.to('DeleteConnection'); } /** * Grants permission to delete a crawler * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-crawling.html#aws-glue-api-crawler-crawling-DeleteCrawler */ toDeleteCrawler() { return this.to('DeleteCrawler'); } /** * Grants permission to delete a Custom Entity Type * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-sensitive-data-api.html#aws-glue-api-sensitive-data-api-DeleteCustomEntityType */ toDeleteCustomEntityType() { return this.to('DeleteCustomEntityType'); } /** * Grants permission to delete a Data Quality ruleset * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-data-quality-api.html#aws-glue-api-data-quality-api-DeleteDataQualityRuleset */ toDeleteDataQualityRuleset() { return this.to('DeleteDataQualityRuleset'); } /** * Grants permission to delete a database * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-databases.html#aws-glue-api-catalog-databases-DeleteDatabase */ toDeleteDatabase() { return this.to('DeleteDatabase'); } /** * Grants permission to delete a development endpoint * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-dev-endpoint.html#aws-glue-api-dev-endpoint-DeleteDevEndpoint */ toDeleteDevEndpoint() { return this.to('DeleteDevEndpoint'); } /** * Grants permission to delete an integration * * Access Level: Write * * Possible conditions: * - .ifAwsResourceTag() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-integrations.html#aws-glue-api-integrations-DeleteIntegration */ toDeleteIntegration() { return this.to('DeleteIntegration'); } /** * Grants permission to delete integration table properties * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-integrations.html#aws-glue-api-integrations-DeleteIntegrationTableProperties */ toDeleteIntegrationTableProperties() { return this.to('DeleteIntegrationTableProperties'); } /** * Grants permission to delete a job * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-job.html#aws-glue-api-jobs-job-DeleteJob */ toDeleteJob() { return this.to('DeleteJob'); } /** * Grants permission to delete an ML Transform * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-machine-learning-api.html#aws-glue-api-machine-learning-api-DeleteMLTransform */ toDeleteMLTransform() { return this.to('DeleteMLTransform'); } /** * Grants permission to delete a partition * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-partitions.html#aws-glue-api-catalog-partitions-DeletePartition */ toDeletePartition() { return this.to('DeletePartition'); } /** * Grants permission to delete a specified partition index from an existing table * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-DeletePartitionIndex */ toDeletePartitionIndex() { return this.to('DeletePartitionIndex'); } /** * Grants permission to delete a schema registry * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-schema-registry-api.html#aws-glue-api-schema-registry-api-DeleteRegistry */ toDeleteRegistry() { return this.to('DeleteRegistry'); } /** * Grants permission to delete a resource policy * * Access Level: Permissions management * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-security.html#aws-glue-api-jobs-security-DeleteResourcePolicy */ toDeleteResourcePolicy() { return this.to('DeleteResourcePolicy'); } /** * Grants permission to delete a schema container * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-schema-registry-api.html#aws-glue-api-schema-registry-api-DeleteSchema */ toDeleteSchema() { return this.to('DeleteSchema'); } /** * Grants permission to delete a range of schema versions * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-schema-registry-api.html#aws-glue-api-schema-registry-api-DeleteSchemaVersions */ toDeleteSchemaVersions() { return this.to('DeleteSchemaVersions'); } /** * Grants permission to delete a security configuration * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-security.html#aws-glue-api-jobs-security-DeleteSecurityConfiguration */ toDeleteSecurityConfiguration() { return this.to('DeleteSecurityConfiguration'); } /** * Grants permission to delete an interactive session after stopping the session if not already stopped * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-interactive-sessions.html#aws-glue-interactive-sessions-DeleteSession */ toDeleteSession() { return this.to('DeleteSession'); } /** * Grants permission to delete a table * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-DeleteTable */ toDeleteTable() { return this.to('DeleteTable'); } /** * Grants permission to delete an optimizer and all associated metadata for a table. The optimization will no longer be performed on the table * * Access Level: Write * * Dependent actions: * - glue:GetTable * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-table-optimizers.html#aws-glue-api-table-optimizers-DeleteTableOptimizer */ toDeleteTableOptimizer() { return this.to('DeleteTableOptimizer'); } /** * Grants permission to delete a version of a table * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-DeleteTableVersion */ toDeleteTableVersion() { return this.to('DeleteTableVersion'); } /** * Grants permission to delete a trigger * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-trigger.html#aws-glue-api-jobs-trigger-DeleteTrigger */ toDeleteTrigger() { return this.to('DeleteTrigger'); } /** * Grants permission to delete a usage profile * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-usage-profiles.html#aws-glue-api-usage-profiles-DeleteUsageProfile */ toDeleteUsageProfile() { return this.to('DeleteUsageProfile'); } /** * Grants permission to delete a function definition * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-functions.html#aws-glue-api-catalog-functions-DeleteUserDefinedFunction */ toDeleteUserDefinedFunction() { return this.to('DeleteUserDefinedFunction'); } /** * Grants permission to delete a workflow * * Access Level: Write * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-workflow.html#aws-glue-api-workflow-DeleteWorkflow */ toDeleteWorkflow() { return this.to('DeleteWorkflow'); } /** * Grants permission to terminate Glue Studio Notebook session * * Access Level: Permissions management * * https://docs.aws.amazon.com/glue/latest/ug/notebook-getting-started.html#create-notebook-permissions-operations */ toDeregisterDataPreview() { return this.to('DeregisterDataPreview'); } /** * Grants permission to describe connection type in glue studio * * Access Level: Permissions management * * https://docs.aws.amazon.com/glue/latest/dg/glue-connections.html#connection-type-permissions-operations */ toDescribeConnectionType() { return this.to('DescribeConnectionType'); } /** * Grants permission to describe entity in glue studio * * Access Level: Permissions management * * https://docs.aws.amazon.com/glue/latest/dg/glue-connections.html#connection-type-permissions-operations */ toDescribeEntity() { return this.to('DescribeEntity'); } /** * Grants permission to list the inbound integrations * * Access Level: List * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-integrations.html#aws-glue-api-integrations-DescribeInboundIntegrations */ toDescribeInboundIntegrations() { return this.to('DescribeInboundIntegrations'); } /** * Grants permission to describe zero-ETL integrations * * Access Level: List * * Possible conditions: * - .ifAwsResourceTag() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-integrations.html#aws-glue-api-integrations-DescribeIntegrations */ toDescribeIntegrations() { return this.to('DescribeIntegrations'); } /** * Grants permission to retrieve a blueprint * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-workflow.html#aws-glue-api-workflow-GetBlueprint */ toGetBlueprint() { return this.to('GetBlueprint'); } /** * Grants permission to retrieve a blueprint run * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-workflow.html#aws-glue-api-workflow-GetBlueprintRun */ toGetBlueprintRun() { return this.to('GetBlueprintRun'); } /** * Grants permission to retrieve all runs of a blueprint * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-workflow.html#aws-glue-api-workflow-GetBlueprintRuns */ toGetBlueprintRuns() { return this.to('GetBlueprintRuns'); } /** * Grants permission to retrieve a catalog * * Access Level: Read * * Possible conditions: * - .ifEnabledForRedshiftAutoDiscovery() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog.html */ toGetCatalog() { return this.to('GetCatalog'); } /** * Grants permission to retrieve the catalog import status * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-migration.html#aws-glue-api-catalog-migration-GetCatalogImportStatus */ toGetCatalogImportStatus() { return this.to('GetCatalogImportStatus'); } /** * Grants permission to retrieve all catalogs * * Access Level: Read * * Possible conditions: * - .ifEnabledForRedshiftAutoDiscovery() * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog.html */ toGetCatalogs() { return this.to('GetCatalogs'); } /** * Grants permission to retrieve a classifier * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-classifiers.html#aws-glue-api-crawler-classifiers-GetClassifier */ toGetClassifier() { return this.to('GetClassifier'); } /** * Grants permission to list all classifiers * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-classifiers.html#aws-glue-api-crawler-classifiers-GetClassifiers */ toGetClassifiers() { return this.to('GetClassifiers'); } /** * Grants permission to retrieve partition statistics of columns * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-partitions.html#aws-glue-api-catalog-partitions-GetColumnStatisticsForPartition */ toGetColumnStatisticsForPartition() { return this.to('GetColumnStatisticsForPartition'); } /** * Grants permission to retrieve table statistics of columns * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-GetColumnStatisticsForTable */ toGetColumnStatisticsForTable() { return this.to('GetColumnStatisticsForTable'); } /** * Grants permission to retrieve Column Statistics run information for the table based on run-id * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-column-statistics.html#aws-glue-api-crawler-column-statistics-GetColumnStatisticsTaskRun */ toGetColumnStatisticsTaskRun() { return this.to('GetColumnStatisticsTaskRun'); } /** * Grants permission to retrieve Column Statistics run information for the table based on run-ids * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-column-statistics.html#aws-glue-api-crawler-column-statistics-GetColumnStatisticsTaskRuns */ toGetColumnStatisticsTaskRuns() { return this.to('GetColumnStatisticsTaskRuns'); } /** * Grants permission to retrieve settings for a column statistics task * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-column-statistics.html#aws-glue-api-crawler-column-statistics-GetColumnStatisticsTaskSettings */ toGetColumnStatisticsTaskSettings() { return this.to('GetColumnStatisticsTaskSettings'); } /** * Grants permission to get generated response for a completion request in Glue from AWS Q * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api.html# */ toGetCompletion() { return this.to('GetCompletion'); } /** * Grants permission to retrieve a connection * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-connections.html#aws-glue-api-catalog-connections-GetConnection */ toGetConnection() { return this.to('GetConnection'); } /** * Grants permission to retrieve a list of connections * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-connections.html#aws-glue-api-catalog-connections-GetConnections */ toGetConnections() { return this.to('GetConnections'); } /** * Grants permission to retrieve a crawler * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-crawling.html#aws-glue-api-crawler-crawling-GetCrawler */ toGetCrawler() { return this.to('GetCrawler'); } /** * Grants permission to retrieve metrics about crawlers * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-crawling.html#aws-glue-api-crawler-crawling-GetCrawlerMetrics */ toGetCrawlerMetrics() { return this.to('GetCrawlerMetrics'); } /** * Grants permission to retrieve all crawlers * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-crawling.html#aws-glue-api-crawler-crawling-GetCrawlers */ toGetCrawlers() { return this.to('GetCrawlers'); } /** * Grants permission to read a Custom Entity Type * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-sensitive-data-api.html#aws-glue-api-sensitive-data-api-GetCustomEntityType */ toGetCustomEntityType() { return this.to('GetCustomEntityType'); } /** * Grants permission to generate presigned url for accessing spark live UI * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-interactive-sessions.html */ toGetDashboardUrl() { return this.to('GetDashboardUrl'); } /** * Grants permission to retrieve catalog encryption settings * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-security.html#aws-glue-api-jobs-security-GetDataCatalogEncryptionSettings */ toGetDataCatalogEncryptionSettings() { return this.to('GetDataCatalogEncryptionSettings'); } /** * Grants permission to get Data Preview Statement * * Access Level: Permissions management * * https://docs.aws.amazon.com/glue/latest/ug/notebook-getting-started.html#create-notebook-permissions-operations */ toGetDataPreviewStatement() { return this.to('GetDataPreviewStatement'); } /** * Grants permission to retrieve the training status of the prediction model for a statistic * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-data-quality-api.html#aws-glue-api-data-quality-api-GetDataQualityModel */ toGetDataQualityModel() { return this.to('GetDataQualityModel'); } /** * Grants permission to retrieve the predictions for a statistic from the latest model * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-data-quality-api.html#aws-glue-api-data-quality-api-GetDataQualityModelResult */ toGetDataQualityModelResult() { return this.to('GetDataQualityModelResult'); } /** * Grants permission to retrieve a Data Quality result * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-data-quality-api.html#aws-glue-api-data-quality-api-GetDataQualityResult */ toGetDataQualityResult() { return this.to('GetDataQualityResult'); } /** * Grants permission to retrieve a Data Quality rule recommendation run * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-data-quality-api.html#aws-glue-api-data-quality-api-GetDataQualityRuleRecommendationRun */ toGetDataQualityRuleRecommendationRun() { return this.to('GetDataQualityRuleRecommendationRun'); } /** * Grants permission to retrieve a Data Quality ruleset * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-data-quality-api.html#aws-glue-api-data-quality-api-GetDataQualityRuleset */ toGetDataQualityRuleset() { return this.to('GetDataQualityRuleset'); } /** * Grants permission to retrieve a Data Quality rule recommendation run * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-data-quality-api.html#aws-glue-api-data-quality-api-GetDataQualityRulesetEvaluationRun */ toGetDataQualityRulesetEvaluationRun() { return this.to('GetDataQualityRulesetEvaluationRun'); } /** * Grants permission to retrieve a database * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-databases.html#aws-glue-api-catalog-databases-GetDatabase */ toGetDatabase() { return this.to('GetDatabase'); } /** * Grants permission to retrieve all databases * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-databases.html#aws-glue-api-catalog-databases-GetDatabases */ toGetDatabases() { return this.to('GetDatabases'); } /** * Grants permission to transform a script into a directed acyclic graph (DAG) * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-etl-script-generation.html#aws-glue-api-etl-script-generation-GetDataflowGraph */ toGetDataflowGraph() { return this.to('GetDataflowGraph'); } /** * Grants permission to retrieve a development endpoint * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-dev-endpoint.html#aws-glue-api-dev-endpoint-GetDevEndpoint */ toGetDevEndpoint() { return this.to('GetDevEndpoint'); } /** * Grants permission to retrieve all development endpoints * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-dev-endpoint.html#aws-glue-api-dev-endpoint-GetDevEndpoints */ toGetDevEndpoints() { return this.to('GetDevEndpoints'); } /** * Grants permission to preview entity records in glue * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/glue-connections.html#connection-type-permissions-operations */ toGetEntityRecords() { return this.to('GetEntityRecords'); } /** * Grants permission to get environment details for SparkUI * * Access Level: Permissions management * * https://docs.aws.amazon.com/glue/latest/dg/monitor-spark-ui.html */ toGetEnvironment() { return this.to('GetEnvironment'); } /** * Grants permission to get executors for SparkUI * * Access Level: Permissions management * * https://docs.aws.amazon.com/glue/latest/dg/monitor-spark-ui.html */ toGetExecutors() { return this.to('GetExecutors'); } /** * Grants permission to get executor threads for SparkUI * * Access Level: Permissions management * * https://docs.aws.amazon.com/glue/latest/dg/monitor-spark-ui.html */ toGetExecutorsThreads() { return this.to('GetExecutorsThreads'); } /** * Transforms a directed acyclic graph (DAG) into code * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-etl-script-generation.html#aws-glue-api-etl-script-generation-GetGeneratedCode */ toGetGeneratedCode() { return this.to('GetGeneratedCode'); } /** * Grants permission to retrieve the integration resource property * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-integrations.html#aws-glue-api-integrations-GetIntegrationResourceProperty */ toGetIntegrationResourceProperty() { return this.to('GetIntegrationResourceProperty'); } /** * Grants permission to retrieve the integration table properties * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-integrations.html#aws-glue-api-integrations-GetIntegrationTableProperties */ toGetIntegrationTableProperties() { return this.to('GetIntegrationTableProperties'); } /** * Grants permission to retrieve a job * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-job.html#aws-glue-api-jobs-job-GetJob */ toGetJob() { return this.to('GetJob'); } /** * Grants permission to retrieve a job bookmark * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-runs.html#aws-glue-api-jobs-job-GetJobBookmark */ toGetJobBookmark() { return this.to('GetJobBookmark'); } /** * Grants permission to retrieve a job run * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-runs.html#aws-glue-api-jobs-runs-GetJobRun */ toGetJobRun() { return this.to('GetJobRun'); } /** * Grants permission to retrieve all job runs of a job * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-runs.html#aws-glue-api-jobs-runs-GetJobRuns */ toGetJobRuns() { return this.to('GetJobRuns'); } /** * Grants permission to retrieve an upgrade analysis for a job * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-upgrade-analysis.html#aws-glue-api-upgrade-analysis-GetJobUpgradeAnalysis */ toGetJobUpgradeAnalysis() { return this.to('GetJobUpgradeAnalysis'); } /** * Grants permission to retrieve all current jobs * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-job.html#aws-glue-api-jobs-job-GetJobs */ toGetJobs() { return this.to('GetJobs'); } /** * Grants permission to get log parsing status for SparkUI * * Access Level: Permissions management * * https://docs.aws.amazon.com/glue/latest/dg/monitor-spark-ui.html */ toGetLogParsingStatus() { return this.to('GetLogParsingStatus'); } /** * Grants permission to retrieve an ML Task Run * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-machine-learning-api.html#aws-glue-api-machine-learning-api-GetMLTaskRun */ toGetMLTaskRun() { return this.to('GetMLTaskRun'); } /** * Grants permission to retrieve all ML Task Runs * * Access Level: List * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-machine-learning-api.html#aws-glue-api-machine-learning-api-GetMLTaskRuns */ toGetMLTaskRuns() { return this.to('GetMLTaskRuns'); } /** * Grants permission to retrieve an ML Transform * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-machine-learning-api.html#aws-glue-api-machine-learning-api-GetMLTransform */ toGetMLTransform() { return this.to('GetMLTransform'); } /** * Grants permission to retrieve all ML Transforms * * Access Level: List * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-machine-learning-api.html#aws-glue-api-machine-learning-api-GetMLTransforms */ toGetMLTransforms() { return this.to('GetMLTransforms'); } /** * Grants permission to create a mapping * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-etl-script-generation.html#aws-glue-api-etl-script-generation-GetMapping */ toGetMapping() { return this.to('GetMapping'); } /** * Grants permission to retrieve Glue Studio Notebooks session status * * Access Level: Permissions management * * https://docs.aws.amazon.com/glue/latest/ug/notebook-getting-started.html#create-notebook-permissions-operations */ toGetNotebookInstanceStatus() { return this.to('GetNotebookInstanceStatus'); } /** * Grants permission to retrieve a partition * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-partitions.html#aws-glue-api-catalog-partitions-GetPartition */ toGetPartition() { return this.to('GetPartition'); } /** * Grants permission to retrieve partition indexes for a table * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-GetPartitionIndexes */ toGetPartitionIndexes() { return this.to('GetPartitionIndexes'); } /** * Grants permission to retrieve the partitions of a table * * Access Level: Read * * https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-partitions.html#aws-glue-api-catalog-partitions-GetPartitions