UNPKG

iam-floyd

Version:

AWS IAM policy statement generator with fluent interface

851 lines (850 loc) 29.6 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement, Operator } from '../../shared'; /** * Statement provider for service [sqlworkbench](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssqlworkbench.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class Sqlworkbench extends PolicyStatement { servicePrefix: string; /** * Statement provider for service [sqlworkbench](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssqlworkbench.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ constructor(sid?: string); /** * Grants permission to associate connection to a chart * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toAssociateConnectionWithChart(): this; /** * Grants permission to associate connection to a tab * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toAssociateConnectionWithTab(): this; /** * Grants permission to associate notebook to a tab * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toAssociateNotebookWithTab(): this; /** * Grants permission to associate query to a tab * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toAssociateQueryWithTab(): this; /** * Grants permission to delete folders on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toBatchDeleteFolder(): this; /** * Grants permission to get notebook cells content on your account * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toBatchGetNotebookCell(): this; /** * Grants permission to create SQLWorkbench account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toCreateAccount(): this; /** * Grants permission to create new saved chart on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toCreateChart(): this; /** * Grants permission to create a new connection on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toCreateConnection(): this; /** * Grants permission to create folder on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toCreateFolder(): this; /** * Grants permission to create a new notebook on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toCreateNotebook(): this; /** * Grants permission to create a notebook cell on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toCreateNotebookCell(): this; /** * Grants permission to create a new notebook from a notebook version on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toCreateNotebookFromVersion(): this; /** * Grants permission to create a notebook version on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toCreateNotebookVersion(): this; /** * Grants permission to create a new saved query on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toCreateSavedQuery(): this; /** * Grants permission to remove charts on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toDeleteChart(): this; /** * Grants permission to remove connections on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toDeleteConnection(): this; /** * Grants permission to remove notebooks on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toDeleteNotebook(): this; /** * Grants permission to remove notebooks cells on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toDeleteNotebookCell(): this; /** * Grants permission to remove notebooks cells on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toDeleteNotebookVersion(): this; /** * Grants permission to delete account-wide custom context * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toDeleteQCustomContext(): this; /** * Grants permission to remove saved queries on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toDeleteSavedQuery(): this; /** * Grants permission to delete sql generation context * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toDeleteSqlGenerationContext(): this; /** * Grants permission to remove a tab on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toDeleteTab(): this; /** * Grants permission to execute a query in your redshift cluster * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toDriverExecute(): this; /** * Grants permission to create a new notebook by duplicating an existing one on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toDuplicateNotebook(): this; /** * Grants permission to export a notebook on your account * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toExportNotebook(): this; /** * Grants permission to generate a new session on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGenerateSession(): this; /** * Grants permission to get account info * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetAccountInfo(): this; /** * Grants permission to get account settings * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetAccountSettings(): this; /** * Grants permission to get database structure metadata for auto-completion * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetAutocompletionMetadata(): this; /** * Grants permission to get database structure information for auto-completion * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetAutocompletionResource(): this; /** * Grants permission to get charts on your account * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetChart(): this; /** * Grants permission to get connections on your account * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetConnection(): this; /** * Grants permission to get notebook metadata on your account * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetNotebook(): this; /** * Grants permission to get the content of a notebook version on your account * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetNotebookVersion(): this; /** * Grants permission to get account-wide custom context * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetQCustomContext(): this; /** * Grants permission to get Q generative SQL maximum prompt quotas * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetQSqlPromptQuotas(): this; /** * Grants permission to get text to SQL recommendations * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetQSqlRecommendations(): this; /** * Grants permission to get the query execution history on your account * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetQueryExecutionHistory(): this; /** * Grants permission to get saved query on your account * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetSavedQuery(): this; /** * Grants permission to get the columns and data types inferred from a file * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetSchemaInference(): this; /** * Grants permission to get sql generation context * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetSqlGenerationContext(): this; /** * Grants permission to get text to SQL recommendations * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetSqlRecommendations(): this; /** * Grants permission to get user info * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetUserInfo(): this; /** * Grants permission to get workspace settings on your account * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toGetUserWorkspaceSettings(): this; /** * Grants permission to import a notebook on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toImportNotebook(): this; /** * Grants permission to list the connections on your account * * Access Level: List * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toListConnections(): this; /** * Grants permission to list databases of your redshift cluster * * Access Level: List * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toListDatabases(): this; /** * Grants permission to list files and folders * * Access Level: List * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toListFiles(): this; /** * Grants permission to get notebook versions metadata on your account * * Access Level: List * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toListNotebookVersions(): this; /** * Grants permission to list the notebooks on your account * * Access Level: List * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toListNotebooks(): this; /** * Grants permission to list the query execution history on your account * * Access Level: List * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toListQueryExecutionHistory(): this; /** * Grants permission to list redshift clusters on your account * * Access Level: List * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toListRedshiftClusters(): this; /** * Grants permission to list sample databases * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toListSampleDatabases(): this; /** * Grants permission to list versions of saved query on your account * * Access Level: List * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toListSavedQueryVersions(): this; /** * Grants permission to list tabs on your account * * Access Level: List * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toListTabs(): this; /** * Grants permission to list tagged resources * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toListTaggedResources(): this; /** * Grants permission to list the tags of an sqlworkbench resource * * Access Level: Read * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toListTagsForResource(): this; /** * Grants permission to provide account settings with the request * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toPassAccountSettings(): this; /** * Grants permission to update account-wide custom context * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toPutQCustomContext(): this; /** * Grants permission to update sql generation context * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toPutSqlGenerationContext(): this; /** * Grants permission to create or update a tab on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toPutTab(): this; /** * Grants permission to update workspace settings on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toPutUserWorkspaceSettings(): this; /** * Grants permission to restore a notebook on your account to a version * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toRestoreNotebookVersion(): this; /** * Grants permission to tag an sqlworkbench resource * * Access Level: Tagging * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toTagResource(): this; /** * Grants permission to untag an sqlworkbench resource * * Access Level: Tagging * * Possible conditions: * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toUntagResource(): this; /** * Grants permission to update account-wide connection settings * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toUpdateAccountConnectionSettings(): this; /** * Grants permission to update account-wide export settings * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toUpdateAccountExportSettings(): this; /** * Grants permission to update account-wide general settings * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toUpdateAccountGeneralSettings(): this; /** * Grants permission to update account-wide text to SQL settings * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toUpdateAccountQSqlSettings(): this; /** * Grants permission to update a chart on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toUpdateChart(): this; /** * Grants permission to update a connection on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toUpdateConnection(): this; /** * Grants permission to move files on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toUpdateFileFolder(): this; /** * Grants permission to update a folder's name and details on your account * * Access Level: Write * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toUpdateFolder(): this; /** * Grants permission to update a notebook metadata on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toUpdateNotebook(): this; /** * Grants permission to update a notebook cell content on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toUpdateNotebookCellContent(): this; /** * Grants permission to update a notebook cell layout on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toUpdateNotebookCellLayout(): this; /** * Grants permission to update a saved query on your account * * Access Level: Write * * Possible conditions: * - .ifAwsTagKeys() * - .ifAwsRequestTag() * * https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-policy-resources.resource-permissions.html */ toUpdateSavedQuery(): this; protected accessLevelList: AccessLevelList; /** * Adds a resource of type connection to the statement * * https://docs.aws.amazon.com/redshift/latest/mgmt/query-editor-v2.html * * @param resourceId - Identifier for the resourceId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onConnection(resourceId: string, account?: string, region?: string, partition?: string): this; /** * Adds a resource of type query to the statement * * https://docs.aws.amazon.com/redshift/latest/mgmt/query-editor-v2.html * * @param resourceId - Identifier for the resourceId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onQuery(resourceId: string, account?: string, region?: string, partition?: string): this; /** * Adds a resource of type chart to the statement * * https://docs.aws.amazon.com/redshift/latest/mgmt/query-editor-v2.html * * @param resourceId - Identifier for the resourceId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onChart(resourceId: string, account?: string, region?: string, partition?: string): this; /** * Adds a resource of type notebook to the statement * * https://docs.aws.amazon.com/redshift/latest/mgmt/query-editor-v2.html * * @param resourceId - Identifier for the resourceId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onNotebook(resourceId: string, account?: string, region?: string, partition?: string): this; /** * Filters access by the tags that are passed in the request * * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag * * Applies to actions: * - .toCreateChart() * - .toCreateConnection() * - .toCreateNotebook() * - .toCreateNotebookCell() * - .toCreateNotebookFromVersion() * - .toCreateNotebookVersion() * - .toCreateSavedQuery() * - .toDuplicateNotebook() * - .toImportNotebook() * - .toRestoreNotebookVersion() * - .toTagResource() * - .toUpdateChart() * - .toUpdateConnection() * - .toUpdateNotebook() * - .toUpdateNotebookCellContent() * - .toUpdateNotebookCellLayout() * - .toUpdateSavedQuery() * * @param tagKey The tag key to check * @param value The value(s) to check * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike` */ ifAwsRequestTag(tagKey: string, value: string | string[], operator?: Operator | string): this; /** * Filters access by the tags that are associated with the resource * * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag * * Applies to resource types: * - connection * - query * - chart * - notebook * * @param tagKey The tag key to check * @param value The value(s) to check * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike` */ ifAwsResourceTag(tagKey: string, value: string | string[], operator?: Operator | string): this; /** * Filters access by the tag keys that are passed in the request * * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys * * Applies to actions: * - .toCreateChart() * - .toCreateConnection() * - .toCreateNotebook() * - .toCreateNotebookCell() * - .toCreateNotebookFromVersion() * - .toCreateNotebookVersion() * - .toCreateSavedQuery() * - .toDuplicateNotebook() * - .toImportNotebook() * - .toRestoreNotebookVersion() * - .toTagResource() * - .toUntagResource() * - .toUpdateChart() * - .toUpdateConnection() * - .toUpdateNotebook() * - .toUpdateNotebookCellContent() * - .toUpdateNotebookCellLayout() * - .toUpdateSavedQuery() * * @param value The value(s) to check * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike` */ ifAwsTagKeys(value: string | string[], operator?: Operator | string): this; }