UNPKG

iam-floyd

Version:

AWS IAM policy statement generator with fluent interface

1,495 lines 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 { /** * 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 */ constructor(sid) { super(sid); this.servicePrefix = 'glue'; this.accessLevelList = { Write: [ 'AuthorizeInboundIntegration', 'BatchCreatePartition', 'BatchDeleteConnection', 'BatchDeletePartition', 'BatchDeleteTable', 'BatchDeleteTableVersion', 'BatchStopJobRun', 'BatchUpdatePartition', 'CancelDataQualityRuleRecommendationRun', 'CancelDataQualityRulesetEvaluationRun', 'CancelMLTaskRun', 'CancelStatement', 'CreateBlueprint', 'CreateCatalog', 'CreateClassifier', 'CreateColumnStatisticsTaskSettings', 'CreateConnection', 'CreateCrawler', 'CreateCustomEntityType', 'CreateDataQualityRuleset', 'CreateDatabase', 'CreateDevEndpoint', 'CreateInboundIntegration', 'CreateIntegration', 'CreateIntegrationResourceProperty', 'CreateIntegrationTableProperties', 'CreateJob', 'CreateMLTransform', 'CreatePartition', 'CreatePartitionIndex', 'CreateRegistry', 'CreateSchema', 'CreateScript', 'CreateSecurityConfiguration', 'CreateSession', 'CreateTable', 'CreateTableOptimizer', 'CreateTrigger', 'CreateUsageProfile', 'CreateUserDefinedFunction', 'CreateWorkflow', 'DeleteBlueprint', 'DeleteCatalog', 'DeleteClassifier', 'DeleteColumnStatisticsForPartition', 'DeleteColumnStatisticsForTable', 'DeleteColumnStatisticsTaskSettings', 'DeleteConnection', 'DeleteCrawler', 'DeleteCustomEntityType', 'DeleteDataQualityRuleset', 'DeleteDatabase', 'DeleteDevEndpoint', 'DeleteIntegration', 'DeleteIntegrationTableProperties', 'DeleteJob', 'DeleteMLTransform', 'DeletePartition', 'DeletePartitionIndex', 'DeleteRegistry', 'DeleteSchema', 'DeleteSchemaVersions', 'DeleteSecurityConfiguration', 'DeleteSession', 'DeleteTable', 'DeleteTableOptimizer', 'DeleteTableVersion', 'DeleteTrigger', 'DeleteUsageProfile', 'DeleteUserDefinedFunction', 'DeleteWorkflow', 'ImportCatalogToGlue', 'ModifyIntegration', 'NotifyEvent', 'PassConnection', 'PublishDataQuality', 'PutDataCatalogEncryptionSettings', 'PutDataQualityProfileAnnotation', 'PutDataQualityStatisticAnnotation', 'PutSchemaVersionMetadata', 'PutWorkflowRunProperties', 'RegisterSchemaVersion', 'RemoveSchemaVersionMetadata', 'ResetJobBookmark', 'ResumeWorkflowRun', 'RunStatement', 'SendFeedback', 'StartBlueprintRun', 'StartColumnStatisticsTaskRun', 'StartColumnStatisticsTaskRunSchedule', 'StartCompletion', 'StartCrawler', 'StartCrawlerSchedule', 'StartDataQualityRuleRecommendationRun', 'StartDataQualityRulesetEvaluationRun', 'StartExportLabelsTaskRun', 'StartImportLabelsTaskRun', 'StartJobRun', 'StartJobUpgradeAnalysis', 'StartMLEvaluationTaskRun', 'StartMLLabelingSetGenerationTaskRun', 'StartTrigger', 'StartWorkflowRun', 'StopColumnStatisticsTaskRun', 'StopColumnStatisticsTaskRunSchedule', 'StopCrawler', 'StopCrawlerSchedule', 'StopJobUpgradeAnalysis', 'StopSession', 'StopTrigger', 'StopWorkflowRun', 'UpdateBlueprint', 'UpdateCatalog', 'UpdateClassifier', 'UpdateColumnStatisticsForPartition', 'UpdateColumnStatisticsForTable', 'UpdateColumnStatisticsTaskSettings', 'UpdateConnection', 'UpdateCrawler', 'UpdateCrawlerSchedule', 'UpdateDataQualityRuleset', 'UpdateDatabase', 'UpdateDevEndpoint', 'UpdateIntegrationResourceProperty', 'UpdateIntegrationTableProperties', 'UpdateJob', 'UpdateJobFromSourceControl', 'UpdateMLTransform', 'UpdatePartition', 'UpdateRegistry', 'UpdateSchema', 'UpdateSourceControlFromJob', 'UpdateTable', 'UpdateTableOptimizer', 'UpdateTrigger', 'UpdateUsageProfile', 'UpdateUserDefinedFunction', 'UpdateWorkflow', 'UpgradeJob', 'UseMLTransforms' ], Read: [ 'BatchGetBlueprints', 'BatchGetCrawlers', 'BatchGetCustomEntityTypes', 'BatchGetDevEndpoints', 'BatchGetJobs', 'BatchGetPartition', 'BatchGetTableOptimizer', 'BatchGetTriggers', 'BatchGetWorkflows', 'CheckSchemaVersionValidity', 'GetBlueprint', 'GetBlueprintRun', 'GetBlueprintRuns', 'GetCatalog', 'GetCatalogImportStatus', 'GetCatalogs', 'GetClassifier', 'GetClassifiers', 'GetColumnStatisticsForPartition', 'GetColumnStatisticsForTable', 'GetColumnStatisticsTaskRun', 'GetColumnStatisticsTaskRuns', 'GetColumnStatisticsTaskSettings', 'GetCompletion', 'GetConnection', 'GetConnections', 'GetCrawler', 'GetCrawlerMetrics', 'GetCrawlers', 'GetCustomEntityType', 'GetDashboardUrl', 'GetDataCatalogEncryptionSettings', 'GetDataQualityModel', 'GetDataQualityModelResult', 'GetDataQualityResult', 'GetDataQualityRuleRecommendationRun', 'GetDataQualityRuleset', 'GetDataQualityRulesetEvaluationRun', 'GetDatabase', 'GetDatabases', 'GetDataflowGraph', 'GetDevEndpoint', 'GetDevEndpoints', 'GetEntityRecords', 'GetGeneratedCode', 'GetIntegrationResourceProperty', 'GetIntegrationTableProperties', 'GetJob', 'GetJobBookmark', 'GetJobRun', 'GetJobRuns', 'GetJobUpgradeAnalysis', 'GetJobs', 'GetMLTaskRun', 'GetMLTransform', 'GetMapping', 'GetPartition', 'GetPartitionIndexes', 'GetPartitions', 'GetPlan', 'GetRegistry', 'GetResourcePolicies', 'GetResourcePolicy', 'GetSchema', 'GetSchemaByDefinition', 'GetSchemaVersion', 'GetSchemaVersionsDiff', 'GetSecurityConfiguration', 'GetSecurityConfigurations', 'GetSession', 'GetStatement', 'GetTable', 'GetTableOptimizer', 'GetTableVersion', 'GetTableVersions', 'GetTables', 'GetTags', 'GetTrigger', 'GetTriggers', 'GetUsageProfile', 'GetUserDefinedFunction', 'GetUserDefinedFunctions', 'GetWorkflow', 'GetWorkflowRun', 'GetWorkflowRunProperties', 'GetWorkflowRuns', 'ListColumnStatisticsTaskRuns', 'SearchTables' ], 'Permissions management': [ 'BatchGetStageFiles', 'DeleteResourcePolicy', 'DeregisterDataPreview', 'DescribeConnectionType', 'DescribeEntity', 'GetDataPreviewStatement', 'GetEnvironment', 'GetExecutors', 'GetExecutorsThreads', 'GetLogParsingStatus', 'GetNotebookInstanceStatus', 'GetQueries', 'GetQuery', 'GetRecipeAction', 'GetStage', 'GetStageAttempt', 'GetStageAttemptTaskList', 'GetStageAttemptTaskSummary', 'GetStageFiles', 'GetStages', 'GetStorage', 'GetStorageUnit', 'GlueNotebookAuthorize', 'GlueNotebookRefreshCredentials', 'ListConnectionTypes', 'ListEntities', 'PutResourcePolicy', 'RefreshOAuth2Tokens', 'RequestLogParsing', 'RunDataPreviewStatement', 'SendRecipeAction', 'StartNotebook', 'TerminateNotebook', 'TestConnection', 'UseGlueStudio' ], List: [ 'DescribeInboundIntegrations', 'DescribeIntegrations', 'GetMLTaskRuns', 'GetMLTransforms', 'ListBlueprints', 'ListCrawlers', 'ListCrawls', 'ListCustomEntityTypes', 'ListDataQualityResults', 'ListDataQualityRuleRecommendationRuns', 'ListDataQualityRulesetEvaluationRuns', 'ListDataQualityRulesets', 'ListDevEndpoints', 'ListJobUpgradeAnalyses', 'ListJobs', 'ListMLTransforms', 'ListRegistries', 'ListSchemaVersions', 'ListSchemas', 'ListSessions', 'ListStatements', 'ListTableOptimizerRuns', 'ListTriggers', 'ListUsageProfiles', 'ListWorkflows', 'QuerySchemaVersionMetadata' ], Tagging: [ 'TagResource', 'UntagResource' ] }; } /** * 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 * * ht