import { AccessLevelList } from '../shared/access-level' ; import { PolicyStatement , Operator } from '../shared' ; param sid export class Dynamodb extends PolicyStatement { public servicePrefix = 'dynamodb' ; param sid constructor ( sid ? ) { super ( sid ) ; } /**
     * Grants permission to return the attributes of one or more items from one or more tables
     *
     * Access Level: Read
     *
     * Possible conditions:
     * - .ifAttributes()
     * - .ifLeadingKeys()
     * - .ifReturnConsumedCapacity()
     * - .ifSelect()
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchGetItem.html
     */ public toBatchGetItem ( ) { return this . to ( 'BatchGetItem' ) ; } /**
     * Grants permission to put or delete multiple items in one or more tables
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAttributes()
     * - .ifLeadingKeys()
     * - .ifReturnConsumedCapacity()
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchWriteItem.html
     */ public toBatchWriteItem ( ) { return this . to ( 'BatchWriteItem' ) ; } /**
     * Grants permission to the ConditionCheckItem operation checks the existence of a set of attributes for the item with the given primary key
     *
     * Access Level: Read
     *
     * Possible conditions:
     * - .ifAttributes()
     * - .ifLeadingKeys()
     * - .ifReturnConsumedCapacity()
     * - .ifReturnValues()
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ConditionCheckItem.html
     */ public toConditionCheckItem ( ) { return this . to ( 'ConditionCheckItem' ) ; } /**
     * Grants permission to create a backup for an existing table
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateBackup.html
     */ public toCreateBackup ( ) { return this . to ( 'CreateBackup' ) ; } /**
     * Grants permission to create a global table from an existing table
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateGlobalTable.html
     */ public toCreateGlobalTable ( ) { return this . to ( 'CreateGlobalTable' ) ; } /**
     * Grants permission to the CreateTable operation adds a new table to your account
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html
     */ public toCreateTable ( ) { return this . to ( 'CreateTable' ) ; } /**
     * Grants permission to add a new replica table
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/V2gt_IAM.html
     */ public toCreateTableReplica ( ) { return this . to ( 'CreateTableReplica' ) ; } /**
     * Grants permission to delete an existing backup of a table
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DeleteBackup.html
     */ public toDeleteBackup ( ) { return this . to ( 'DeleteBackup' ) ; } /**
     * Grants permission to deletes a single item in a table by primary key
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAttributes()
     * - .ifEnclosingOperation()
     * - .ifLeadingKeys()
     * - .ifReturnConsumedCapacity()
     * - .ifReturnValues()
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DeleteItem.html
     */ public toDeleteItem ( ) { return this . to ( 'DeleteItem' ) ; } /**
     * Grants permission to the DeleteTable operation which deletes a table and all of its items
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DeleteTable.html
     */ public toDeleteTable ( ) { return this . to ( 'DeleteTable' ) ; } /**
     * Grants permission to delete a replica table and all of its items
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/V2gt_IAM.html
     */ public toDeleteTableReplica ( ) { return this . to ( 'DeleteTableReplica' ) ; } /**
     * Grants permission to describe an existing backup of a table
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeBackup.html
     */ public toDescribeBackup ( ) { return this . to ( 'DescribeBackup' ) ; } /**
     * Grants permission to check the status of the backup restore settings on the specified table
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeContinuousBackups.html
     */ public toDescribeContinuousBackups ( ) { return this . to ( 'DescribeContinuousBackups' ) ; } /**
     * Grants permission to describe the contributor insights status and related details for a given table or global secondary index
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeContributorInsights.html
     */ public toDescribeContributorInsights ( ) { return this . to ( 'DescribeContributorInsights' ) ; } /**
     * Grants permission to describe an existing Export of a table
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeExport.html
     */ public toDescribeExport ( ) { return this . to ( 'DescribeExport' ) ; } /**
     * Grants permission to return information about the specified global table
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeGlobalTable.html
     */ public toDescribeGlobalTable ( ) { return this . to ( 'DescribeGlobalTable' ) ; } /**
     * Grants permission to return settings information about the specified global table
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeGlobalTableSettings.html
     */ public toDescribeGlobalTableSettings ( ) { return this . to ( 'DescribeGlobalTableSettings' ) ; } /**
     * Grants permission to grant permission to describe the status of Kinesis streaming and related details for a given table
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeKinesisStreamingDestination.html
     */ public toDescribeKinesisStreamingDestination ( ) { return this . to ( 'DescribeKinesisStreamingDestination' ) ; } /**
     * Grants permission to return the current provisioned-capacity limits for your AWS account in a region, both for the region as a whole and for any one DynamoDB table that you create there
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeLimits.html
     */ public toDescribeLimits ( ) { return this . to ( 'DescribeLimits' ) ; } /**
     * Grants permission to describe one or more of the Reserved Capacity purchased
     *
     * Access Level: Read
     */ public toDescribeReservedCapacity ( ) { return this . to ( 'DescribeReservedCapacity' ) ; } /**
     * Grants permission to describe Reserved Capacity offerings that are available for purchase
     *
     * Access Level: Read
     */ public toDescribeReservedCapacityOfferings ( ) { return this . to ( 'DescribeReservedCapacityOfferings' ) ; } /**
     * Grants permission to return information about a stream, including the current status of the stream, its Amazon Resource Name (ARN), the composition of its shards, and its corresponding DynamoDB table
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeStream.html
     */ public toDescribeStream ( ) { return this . to ( 'DescribeStream' ) ; } /**
     * Grants permission to return information about the table
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTable.html
     */ public toDescribeTable ( ) { return this . to ( 'DescribeTable' ) ; } /**
     * Grants permission to describe the auto scaling settings across all replicas of the global table
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTableReplicaAutoScaling.html
     */ public toDescribeTableReplicaAutoScaling ( ) { return this . to ( 'DescribeTableReplicaAutoScaling' ) ; } /**
     * Grants permission to give a description of the Time to Live (TTL) status on the specified table
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTimeToLive.html
     */ public toDescribeTimeToLive ( ) { return this . to ( 'DescribeTimeToLive' ) ; } /**
     * Grants permission to grant permission to stop replication from the DynamoDB table to the Kinesis data stream
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DisableKinesisStreamingDestination.html
     */ public toDisableKinesisStreamingDestination ( ) { return this . to ( 'DisableKinesisStreamingDestination' ) ; } /**
     * Grants permission to grant permission to start table data replication to the specified Kinesis data stream at a timestamp chosen during the enable workflow
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_EnableKinesisStreamingDestination.html
     */ public toEnableKinesisStreamingDestination ( ) { return this . to ( 'EnableKinesisStreamingDestination' ) ; } /**
     * Grants permission to initiate an Export of a DynamoDB table to S3
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ExportTableToPointInTime.html
     */ public toExportTableToPointInTime ( ) { return this . to ( 'ExportTableToPointInTime' ) ; } /**
     * Grants permission to the GetItem operation that returns a set of attributes for the item with the given primary key
     *
     * Access Level: Read
     *
     * Possible conditions:
     * - .ifAttributes()
     * - .ifEnclosingOperation()
     * - .ifLeadingKeys()
     * - .ifReturnConsumedCapacity()
     * - .ifSelect()
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_GetItem.html
     */ public toGetItem ( ) { return this . to ( 'GetItem' ) ; } /**
     * Grants permission to retrieve the stream records from a given shard
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_GetRecords.html
     */ public toGetRecords ( ) { return this . to ( 'GetRecords' ) ; } /**
     * Grants permission to return a shard iterator
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_GetShardIterator.html
     */ public toGetShardIterator ( ) { return this . to ( 'GetShardIterator' ) ; } /**
     * Grants permission to list backups associated with the account and endpoint
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListBackups.html
     */ public toListBackups ( ) { return this . to ( 'ListBackups' ) ; } /**
     * Grants permission to list the ContributorInsightsSummary for all tables and global secondary indexes associated with the current account and endpoint
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListContributorInsights.html
     */ public toListContributorInsights ( ) { return this . to ( 'ListContributorInsights' ) ; } /**
     * Grants permission to list exports associated with the account and endpoint
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListExports.html
     */ public toListExports ( ) { return this . to ( 'ListExports' ) ; } /**
     * Grants permission to list all global tables that have a replica in the specified region
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListGlobalTables.html
     */ public toListGlobalTables ( ) { return this . to ( 'ListGlobalTables' ) ; } /**
     * Grants permission to return an array of stream ARNs associated with the current account and endpoint
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListStreams.html
     */ public toListStreams ( ) { return this . to ( 'ListStreams' ) ; } /**
     * Grants permission to return an array of table names associated with the current account and endpoint
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListTables.html
     */ public toListTables ( ) { return this . to ( 'ListTables' ) ; } /**
     * Grants permission to list all tags on an Amazon DynamoDB resource
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListTagsOfResource.html
     */ public toListTagsOfResource ( ) { return this . to ( 'ListTagsOfResource' ) ; } /**
     * Grants permission to delete a single item in a table by primary key
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAttributes()
     * - .ifEnclosingOperation()
     * - .ifLeadingKeys()
     * - .ifReturnValues()
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ExecuteStatement.html
     */ public toPartiQLDelete ( ) { return this . to ( 'PartiQLDelete' ) ; } /**
     * Grants permission to create a new item, if an item with same primary key does not exist in the table
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAttributes()
     * - .ifEnclosingOperation()
     * - .ifLeadingKeys()
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ExecuteStatement.html
     */ public toPartiQLInsert ( ) { return this . to ( 'PartiQLInsert' ) ; } /**
     * Grants permission to read a set of attributes for items from a table or index
     *
     * Access Level: Read
     *
     * Possible conditions:
     * - .ifAttributes()
     * - .ifEnclosingOperation()
     * - .ifFullTableScan()
     * - .ifLeadingKeys()
     * - .ifSelect()
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ExecuteStatement.html
     */ public toPartiQLSelect ( ) { return this . to ( 'PartiQLSelect' ) ; } /**
     * Grants permission to edit an existing item's attributes
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAttributes()
     * - .ifEnclosingOperation()
     * - .ifLeadingKeys()
     * - .ifReturnValues()
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ExecuteStatement.html
     */ public toPartiQLUpdate ( ) { return this . to ( 'PartiQLUpdate' ) ; } /**
     * Grants permission to purchases reserved capacity for use with your account
     *
     * Access Level: Write
     */ public toPurchaseReservedCapacityOfferings ( ) { return this . to ( 'PurchaseReservedCapacityOfferings' ) ; } /**
     * Grants permission to create a new item, or replace an old item with a new item
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAttributes()
     * - .ifEnclosingOperation()
     * - .ifLeadingKeys()
     * - .ifReturnConsumedCapacity()
     * - .ifReturnValues()
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html
     */ public toPutItem ( ) { return this . to ( 'PutItem' ) ; } /**
     * Grants permission to use the primary key of a table or a secondary index to directly access items from that table or index
     *
     * Access Level: Read
     *
     * Possible conditions:
     * - .ifAttributes()
     * - .ifLeadingKeys()
     * - .ifReturnConsumedCapacity()
     * - .ifReturnValues()
     * - .ifSelect()
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html
     */ public toQuery ( ) { return this . to ( 'Query' ) ; } /**
     * Grants permission to create a new table from recovery point on AWS Backup
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_RestoreTableFromAwsBackup.html
     */ public toRestoreTableFromAwsBackup ( ) { return this . to ( 'RestoreTableFromAwsBackup' ) ; } /**
     * Grants permission to create a new table from an existing backup
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_RestoreTableFromBackup.html
     */ public toRestoreTableFromBackup ( ) { return this . to ( 'RestoreTableFromBackup' ) ; } /**
     * Grants permission to restore a table to a point in time
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_RestoreTableToPointInTime.html
     */ public toRestoreTableToPointInTime ( ) { return this . to ( 'RestoreTableToPointInTime' ) ; } /**
     * Grants permission to return one or more items and item attributes by accessing every item in a table or a secondary index
     *
     * Access Level: Read
     *
     * Possible conditions:
     * - .ifAttributes()
     * - .ifReturnConsumedCapacity()
     * - .ifReturnValues()
     * - .ifSelect()
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Scan.html
     */ public toScan ( ) { return this . to ( 'Scan' ) ; } /**
     * Grants permission to create a backup on AWS Backup with advanced features enabled
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_StartAwsBackupJob.html
     */ public toStartAwsBackupJob ( ) { return this . to ( 'StartAwsBackupJob' ) ; } /**
     * Grants permission to associate a set of tags with an Amazon DynamoDB resource
     *
     * Access Level: Tagging
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TagResource.html
     */ public toTagResource ( ) { return this . to ( 'TagResource' ) ; } /**
     * Grants permission to remove the association of tags from an Amazon DynamoDB resource
     *
     * Access Level: Tagging
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UntagResource.html
     */ public toUntagResource ( ) { return this . to ( 'UntagResource' ) ; } /**
     * Grants permission to enable or disable continuous backups
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateContinuousBackups.html
     */ public toUpdateContinuousBackups ( ) { return this . to ( 'UpdateContinuousBackups' ) ; } /**
     * Grants permission to update the status for contributor insights for a specific table or global secondary index
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateContributorInsights.html
     */ public toUpdateContributorInsights ( ) { return this . to ( 'UpdateContributorInsights' ) ; } /**
     * Grants permission to add or remove replicas in the specified global table
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateGlobalTable.html
     */ public toUpdateGlobalTable ( ) { return this . to ( 'UpdateGlobalTable' ) ; } /**
     * Grants permission to update settings of the specified global table
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateGlobalTableSettings.html
     */ public toUpdateGlobalTableSettings ( ) { return this . to ( 'UpdateGlobalTableSettings' ) ; } /**
     * Grants permission to edit an existing item's attributes, or adds a new item to the table if it does not already exist
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAttributes()
     * - .ifEnclosingOperation()
     * - .ifLeadingKeys()
     * - .ifReturnConsumedCapacity()
     * - .ifReturnValues()
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html
     */ public toUpdateItem ( ) { return this . to ( 'UpdateItem' ) ; } /**
     * Grants permission to modify the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html
     */ public toUpdateTable ( ) { return this . to ( 'UpdateTable' ) ; } /**
     * Grants permission to update auto scaling settings on your replica table
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTableReplicaAutoScaling.html
     */ public toUpdateTableReplicaAutoScaling ( ) { return this . to ( 'UpdateTableReplicaAutoScaling' ) ; } /**
     * Grants permission to enable or disable TTL for the specified table
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTimeToLive.html
     */ public toUpdateTimeToLive ( ) { return this . to ( 'UpdateTimeToLive' ) ; } protected accessLevelList : AccessLevelList = { Read : [ 'BatchGetItem' , 'ConditionCheckItem' , 'DescribeBackup' , 'DescribeContinuousBackups' , 'DescribeContributorInsights' , 'DescribeExport' , 'DescribeGlobalTable' , 'DescribeGlobalTableSettings' , 'DescribeKinesisStreamingDestination' , 'DescribeLimits' , 'DescribeReservedCapacity' , 'DescribeReservedCapacityOfferings' , 'DescribeStream' , 'DescribeTable' , 'DescribeTableReplicaAutoScaling' , 'DescribeTimeToLive' , 'GetItem' , 'GetRecords' , 'GetShardIterator' , 'ListStreams' , 'ListTagsOfResource' , 'PartiQLSelect' , 'Query' , 'Scan' ] , Write : [ 'BatchWriteItem' , 'CreateBackup' , 'CreateGlobalTable' , 'CreateTable' , 'CreateTableReplica' , 'DeleteBackup' , 'DeleteItem' , 'DeleteTable' , 'DeleteTableReplica' , 'DisableKinesisStreamingDestination' , 'EnableKinesisStreamingDestination' , 'ExportTableToPointInTime' , 'PartiQLDelete' , 'PartiQLInsert' , 'PartiQLUpdate' , 'PurchaseReservedCapacityOfferings' , 'PutItem' , 'RestoreTableFromAwsBackup' , 'RestoreTableFromBackup' , 'RestoreTableToPointInTime' , 'StartAwsBackupJob' , 'UpdateContinuousBackups' , 'UpdateContributorInsights' , 'UpdateGlobalTable' , 'UpdateGlobalTableSettings' , 'UpdateItem' , 'UpdateTable' , 'UpdateTableReplicaAutoScaling' , 'UpdateTimeToLive' ] , List : [ 'ListBackups' , 'ListContributorInsights' , 'ListExports' , 'ListGlobalTables' , 'ListTables' ] , Tagging : [ 'TagResource' , 'UntagResource' ] } ; param tableName param indexName param account param region param partition public onIndex ( tableName , indexName , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:dynamodb:${ region || '*' }:${ account || '*' }:table/${ tableName }/index/${ indexName }` ) ; } param tableName param streamLabel param account param region param partition public onStream ( tableName , streamLabel , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:dynamodb:${ region || '*' }:${ account || '*' }:table/${ tableName }/stream/${ streamLabel }` ) ; } param tableName param account param region param partition public onTable ( tableName , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:dynamodb:${ region || '*' }:${ account || '*' }:table/${ tableName }` ) ; } param tableName param backupName param account param region param partition public onBackup ( tableName , backupName , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:dynamodb:${ region || '*' }:${ account || '*' }:table/${ tableName }/backup/${ backupName }` ) ; } param tableName param exportName param account param region param partition public onExport ( tableName , exportName , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:dynamodb:${ region || '*' }:${ account || '*' }:table/${ tableName }/export/${ exportName }` ) ; } param globalTableName param account param partition public onGlobalTable ( globalTableName , account ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:dynamodb::${ account || '*' }:global-table/${ globalTableName }` ) ; } param value param operator public ifAttributes ( value , operator ? ) { return this . if ( `Attributes` , value , operator || 'StringLike' ) ; } param value param operator public ifEnclosingOperation ( value , operator ? ) { return this . if ( `EnclosingOperation` , value , operator || 'StringLike' ) ; } param value public ifFullTableScan ( value ? ) { return this . if ( `FullTableScan` , ( typeof value !== 'undefined' ? value : true ) , 'Bool' ) ; } param value param operator public ifLeadingKeys ( value , operator ? ) { return this . if ( `LeadingKeys` , value , operator || 'StringLike' ) ; } param value param operator public ifReturnConsumedCapacity ( value , operator ? ) { return this . if ( `ReturnConsumedCapacity` , value , operator || 'StringLike' ) ; } param value param operator public ifReturnValues ( value , operator ? ) { return this . if ( `ReturnValues` , value , operator || 'StringLike' ) ; } param value param operator public ifSelect ( value , operator ? ) { return this . if ( `Select` , value , operator || 'StringLike' ) ; } }