{"id":18779467,"url":"https://github.com/zostay/amazon-dynamodb","last_synced_at":"2025-10-17T09:51:05.661Z","repository":{"id":66557971,"uuid":"125447172","full_name":"zostay/Amazon-DynamoDB","owner":"zostay","description":"Low-level access to the DynamoDB API in Raku","archived":false,"fork":false,"pushed_at":"2019-02-10T05:24:46.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-21T06:11:53.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl 6","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zostay.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-16T01:30:07.000Z","updated_at":"2019-11-26T21:20:39.000Z","dependencies_parsed_at":"2023-05-12T21:45:52.604Z","dependency_job_id":null,"html_url":"https://github.com/zostay/Amazon-DynamoDB","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/zostay/Amazon-DynamoDB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostay%2FAmazon-DynamoDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostay%2FAmazon-DynamoDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostay%2FAmazon-DynamoDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostay%2FAmazon-DynamoDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zostay","download_url":"https://codeload.github.com/zostay/Amazon-DynamoDB/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostay%2FAmazon-DynamoDB/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279320544,"owners_count":26147751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-17T02:00:07.504Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T20:20:15.977Z","updated_at":"2025-10-17T09:51:05.617Z","avatar_url":"https://github.com/zostay.png","language":"Perl 6","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n====\n\nAmazon::DynamoDB - Low-level access to the DynamoDB API\n\nSYNOPSIS\n========\n\n    use Amazon::DynamoDB;\n\n    my $ddb = Amazon::DynamoDB.new\n\n    await $ddb.CreateTable(\n        AttributeDefinitions =\u003e [\n            {\n                AttributeName =\u003e 'ForumName',\n                AttributeType =\u003e 'S',\n            },\n            {\n                AttributeName =\u003e 'Subject',\n                AttributeType =\u003e 'S',\n            },\n            {\n                AttributeName =\u003e 'LastPostDateTime',\n                AttributeType =\u003e 'S',\n            },\n        ],\n        TableName =\u003e 'Thread',\n        KeySchema =\u003e [\n            {\n                AttributeName =\u003e 'ForumName',\n                KeyType       =\u003e 'HASH',\n            },\n            {\n                AttributeName =\u003e 'Subject',\n                KeyType       =\u003e 'RANGE',\n            },\n        ],\n        LocalSecondaryIndexes =\u003e [\n            {\n                IndexName =\u003e 'LastPostIndex',\n                KeySchema =\u003e [\n                    {\n                        AttributeName =\u003e 'ForumName',\n                        KeyType       =\u003e 'HASH',\n                    },\n                    {\n                        AttributeName =\u003e 'LastPostDateTime',\n                        KeyType       =\u003e 'RANGE',\n                    }\n                ],\n                Projection =\u003e {\n                    ProjectionType =\u003e 'KEYS_ONLY'\n                },\n            },\n        ],\n        ProvisionedThroughput =\u003e {\n            ReadCapacityUnits  =\u003e 5,\n            WriteCapacityUnits =\u003e 5,\n        },\n    );\n\n    $ddb.PutItem(\n        TableName =\u003e \"Thread\",\n        Item =\u003e {\n            LastPostDateTime =\u003e {\n                S =\u003e \"201303190422\"\n            },\n            Tags =\u003e {\n                SS =\u003e [\"Update\",\"Multiple Items\",\"HelpMe\"]\n            },\n            ForumName =\u003e {\n                S =\u003e \"Amazon DynamoDB\"\n            },\n            Message =\u003e {\n                S =\u003e \"I want to update multiple items in a single call. What's the best way to do that?\"\n            },\n            Subject =\u003e {\n                S =\u003e \"How do I update multiple items?\"\n            },\n            LastPostedBy =\u003e {\n                S =\u003e \"fred@example.com\"\n            }\n        },\n        ConditionExpression =\u003e \"ForumName \u003c\u003e :f and Subject \u003c\u003e :s\",\n        ExpressionAttributeValues =\u003e {\n            ':f' =\u003e {S =\u003e \"Amazon DynamoDB\"},\n            ':s' =\u003e {S =\u003e \"How do I update multiple items?\"}\n        }\n    );\n\n    my $res = await $ddb.GetItem(\n        TableName =\u003e \"Thread\",\n        Key =\u003e {\n            ForumName =\u003e {\n                S =\u003e \"Amazon DynamoDB\"\n            },\n            Subject =\u003e {\n                S =\u003e \"How do I update multiple items?\"\n            }\n        },\n        ProjectionExpression =\u003e \"LastPostDateTime, Message, Tags\",\n        ConsistentRead =\u003e True,\n        ReturnConsumedCapacity =\u003e \"TOTAL\"\n    );\n\n    say \"Message: $res\u003cItem\u003e\u003cMessage\u003e\u003cS\u003e\";\n\nDESCRIPTION\n===========\n\nThis module provides an asynchronous, low-level API that interacts directly with DynamoDB. This is a low-level implementation that sticks as close as possible to the API described by AWS, keeping the names of actions and parameter names as-is (i.e., not using nice kabob-case most Perl 6 modules use, but the PascalCase that most AWS APIs present natively). This has the benefit of allowing you to use the AWS documentation directly.\n\nThe API is currently very primitive and may change to provide better type-checking in the future.\n\nDIAGNOSTICS\n===========\n\nThe following exceptions may be thrown by this module:\n\nX::Amazon::DynamoDB::APIException\n---------------------------------\n\nThis encapsulates the errors returned from the API itself. The name of the error can be checked at the `type` method and the message in `message`. It has the following accessors:\n\n  * request-id The request id returned with the error.\n\n  * raw-type The __type returned with the error (a combination of the API version and error type).\n\n  * type The error type pulled from the raw-type.\n\n  * message The detailed message sent with the error.\n\nThis is the exception you will most likely want to capture. For this reason, a special helper named `of-type` is provided to aid in easy matching.\n\nFor example, if you want to perform a `CreateTable` operation, but ignore any \"ResourceInUseException\" indicating that the table already exists, it is recommended that you do something like this:\n\n    my $ddb = Amazon::DynamoDB.new;\n    $ddb.CreateTable( ... );\n\n    CATCH {\n        when X::Amazon::DynamoDB::APIException.of-type('ResourceInUseException') {\n            # ignore\n        }\n    }\n\nX::Amazon::DynamoDB::CommunicationError\n---------------------------------------\n\nThis is a generic error, generally caused by HTTP connection problems, but might be caused by especially fatal errors in the API. The message is simply \"Communication Error\", but provides two attributes for more information:\n\n  * request This is the `HTTP::Request` that was attempted.\n\n  * response This is the `HTTP::Response` that was received (which might be a fake response generated by the user agent if no response was received.\n\nX::Amazon::DynamoDB::CRCError\n-----------------------------\n\nEvery response from DynamoDB includes a CRC32 checksum. This module verifies that checksum on every request. If the checksum given by Amazon does not match the checksum calculated, this error will be thrown.\n\nIt provides these attributes:\n\n  * got-crc32 This is the integer CRC32 we calculated.\n\n  * expected-crc32 This is the integer CRC32 Amazon sent.\n\nASYNC API\n=========\n\nThe API for this is asynchronous. Mostly, this means that the API methods return a [Promise](Promise) that will be kept with a [Hash](Hash) containing the results. If you want a purely syncrhonous API, you just need to place an `await` before every call to the library.\n\nUnder the hood, the implementation is currently implemented to use [Cro::HTTP::Client](Cro::HTTP::Client) if present. If not present, then [HTTP::UserAgent](HTTP::UserAgent) is used instead, though all actions will run on separate threads from the calling thread.\n\nMETHODS\n=======\n\nmethod new\n----------\n\n    multi method new(\n        AWS::Session :$session,\n        AWS::Credentials :$credentials,\n        Str :$scheme = 'https',\n        Str :$domain = 'amazonaws.com',\n        Str :$hostname,\n        Int :$port,\n        HTTP::UserAgent :$ua,\n    ) returns Amazon::DynamoDB\n\nAll arguments to new are optional. The `$session` and `$credentials` will be constructed lazily if not given to `new` using default settings.\n\nBy default, the `$port` and `$hostname` are unset. This means that no port will be specified (just the default port for the scheme will be used) and the `hostname` used till be constructed from the `$domain` and region defined in the session.\n\nSee [AWS::Session](AWS::Session) and [AWS::Credentials](AWS::Credentials) for details on how to customize your settings. However, if you are familiar with how botocore/aws-cli and other tools configure themselves, this will be familiar.\n\nmethod session\n--------------\n\n    method session() returns AWS::Session is rw\n\nGetter/setter for the session used to configure AWS settings.\n\nmethod credentials\n------------------\n\n    method credentials() returns AWS::Credentials is rw\n\nGetter/setter for the credentails used to contact AWS.\n\nmethod scheme\n-------------\n\n    method scheme() returns Str\n\nGetter for the scheme. Defaults to \"https\".\n\nmethod domain\n-------------\n\n    method domain() returns Str\n\nGetter for the domain. Defaults to \"amazonaws.com\".\n\nmethod hostname\n---------------\n\n    method hostname() returns Str\n\nThis returns the hostname that will be contacted with DynamoDB calls. It is either set by the `hostname` setting when calling `new` or constructed from the `domain` and configured region.\n\nmethod port\n-----------\n\n    method port() returns Int\n\nThis returns the port number to use when contacting DynamoDB. This returns `Nil` if the default port is used (i.e., 80 when `scheme` is \"http\" or 443 when \"https\").\n\nAPI METHODS\n===========\n\nThese are the methods implemented as part of the AWS API. Please see the AWS API documentation for more detail as to what each argument does and the structure of the return value.\n\nmethod BatchGetItem\n-------------------\n\n    method BatchGetItem(\n             :%RequestItems!,\n        Str  :$ReturnConsumedCapacity,\n    ) returns Promise\n\nThe BatchGetItem operation returns the attributes of one or more items from one or more tables. You identify requested items by primary key.\n\nSee the [AWS BatchGetItem API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchGetItem.html).\n\nmethod BatchWriteItem\n---------------------\n\n    method BatchWriteItem(\n             :%RequestItems!\n        Str  :$ReturnConsumedCapacity,\n        Str  :$ReturnItemCollectionMetrics,\n    ) returns Promise\n\nThe BatchWriteItem operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem can write up to 16 MB of data, which can comprise as many as 25 put or delete requests. Individual items to be written can be as large as 400 KB.\n\nSee the [AWS BatchWriteItem API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchWriteItem.html).\n\nmethod DeleteItem\n-----------------\n\n    method DeleteItem(\n             :%Key!,\n        Str  :$TableName!,\n        Str  :$ConditionalOperator,\n        Str  :$ConditionExpression,\n        Str  :$Expected,\n             :%ExpressionAttributeNames,\n             :%ExpressionAttributeValues,\n        Str  :$ReturnConsumedCapacity,\n        Str  :$ReturnItemCollectionMetrics,\n        Str  :$ReturnValues,\n    ) returns Promise\n\nDeletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value.\n\nSee the [AWS DeleteItem API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DeleteItem.html).\n\nmethod GetItem\n--------------\n\n    method GetItem(\n             :%Key!,\n        Str  :$TableName!,\n             :@AttributesToGet,\n        Bool :$ConsistentRead,\n             :%ExpressionAttributeNames,\n        Str  :$ProjectionExpression,\n        Str  :$ReturnConsumedCapacity,\n    ) returns Promise\n\nThe GetItem operation returns a set of attributes for the item with the given primary key. If there is no matching item, GetItem does not return any data and there will be no Item element in the response.\n\nSee the [AWS GetItem API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_GetItem.html).\n\nmethod PutItem\n--------------\n\n    method PutItem(\n             :%Item!,\n        Str  :$TableName!,\n        Str  :$ConditionalOperator,\n        Str  :$ConditionExpression,\n             :%Expected,\n             :%ExressionAttributeNames,\n             :%ExpressionAttributeValues,\n        Str  :$ReturnConsumedCapacity,\n        Str  :$ReturnItemCollectionMetrics,\n        Str  :$ReturnValues,\n    ) returns Promise\n\nCreates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the ReturnValues parameter.\n\nSee the [AWS PutItem API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html).\n\nmethod Query\n------------\n\n    method Query(\n        Str  :$TableName!,\n             :@AttributesToGet,\n        Str  :$ConditionalOperator,\n        Bool :$ConsistentRead,\n             :%ExclusiveStartKey,\n             :%ExpressionAttributeNames,\n             :%ExpressionAttributeValues,\n        Str  :$FilterExpression,\n        Str  :$IndexName,\n        Str  :$KeyConditionExpression,\n             :%KeyConditions,\n        Int  :$Limit,\n        Str  :$ProjectionExpression,\n             :%QueryFilter,\n        Str  :$ReturnConsumedCapacity,\n        Bool :$ScanIndexForward,\n        Str  :$Select,\n    ) returns Promise\n\nThe Query operation finds items based on primary key values. You can query any table or secondary index that has a composite primary key (a partition key and a sort key).\n\nSee the [AWS Query API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html).\n\nmethod Scan\n-----------\n\n    method Scan(\n        Str  :$TableName!,\n             :@AttributesToGet,\n        Str  :$ConditionalOperator,\n        Bool :$ConsistentRead,\n             :%ExclusiveStartKey,\n             :%ExpressionAttributeNames,\n             :%ExpressionAttributeValues,\n        Str  :$FilterExpression,\n        Str  :$IndexName,\n        Int  :$Limit,\n        Str  :$ProjectionExpression,\n             :%QueryFilter,\n        Str  :$ReturnConsumedCapacity,\n             :%ScanFilter,\n        Int  :$Segment,\n        Str  :$Select,\n        Int  :$TotalSegments,\n    ) returns Promise\n\nThe Scan operation returns one or more items and item attributes by accessing every item in a table or a secondary index. To have DynamoDB return fewer items, you can provide a FilterExpression operation.\n\nSee the [AWS Scan API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Scan.html).\n\nmethod UpdateItem\n-----------------\n\n    method UpdateItem(\n             :%Key!,\n        Str  :$TableName!,\n             :%AttributeUpdates,\n        Str  :$ConditionalOperator,\n        Str  :$ConditionExpression,\n             :%Expected,\n             :%ExpressionAttributeNames,\n             :%ExpressionAttributeValues,\n        Str  :$ReturnConsumedCapacity,\n        Str  :$ReturnItemCollectionMetrics,\n        Str  :$ReturnValues,\n        Str  :$UpdateExpression,\n    ) returns Promise\n\nEdits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).\n\nSee the [AWS UpdateItem API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html).\n\nmethod CreateTable\n------------------\n\n    method CreateTable(\n             :@AttributeDefinitions!,\n        Str  :$TableName!,\n             :@KeySchema!,\n             :%ProvisionedThroughput!,\n             :@GlobalSecondaryIndexes,\n             :@LocalSecondaryIndexes,\n             :%SSESpecification,\n             :%StreamSpecification,\n    ) returns Promise\n\nThe CreateTable operation adds a new table to your account. In an AWS account, table names must be unique within each region. That is, you can have two tables with same name if you create the tables in different regions.\n\nSee the [AWS CreateTable API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html).\n\nmethod DeleteTable\n------------------\n\n    method DeleteTable(\n        Str :$TableName,\n    ) returns Promise\n\nThe DeleteTable operation deletes a table and all of its items. After a DeleteTable request, the specified table is in the DELETING state until DynamoDB completes the deletion. If the table is in the ACTIVE state, you can delete it. If a table is in CREATING or UPDATING states, then DynamoDB returns a ResourceInUseException. If the specified table does not exist, DynamoDB returns a ResourceNotFoundException. If table is already in the DELETING state, no error is returned.\n\nSee the [AWS DeleteTable API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DeleteTable.html).\n\nmethod DescribeTable\n--------------------\n\n    method DescribeTable(\n        Str  :$TableName!,\n    ) returns Promise\n\nReturns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table.\n\nSee the [AWS DescribeTable API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTable.html).\n\nmethod DescribeTimeToLive\n-------------------------\n\n    method DescribeTimeToLive(\n        Str  :$TableName!,\n    ) returns Promise\n\nGives a description of the Time to Live (TTL) status on the specified table.\n\nSee the [AWS DescribeTimeToLive API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTimeToLive.html).\n\nmethod ListTables\n-----------------\n\n    method ListTables(\n        Str  :$ExclusiveStartTableName,\n        Int  :$Limit,\n    ) returns Promise\n\nReturns an array of table names associated with the current account and endpoint. The output from ListTables is paginated, with each page returning a maximum of 100 table names.\n\nSee the [AWS ListTables API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListTables.html).\n\nmethod UpdateTable\n------------------\n\n    method UpdateTable(\n        Str  :$TableName!,\n             :@AttributeDefinitions,\n             :@GlobalSecondaryIndexUpdates,\n             :%ProvisionedThroughput,\n             :%StreamSpecification,\n    ) returns Promise\n\nModifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.\n\nSee the [AWS UpdateTable API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html).\n\nmethod UpdateTimeToLive\n-----------------------\n\n    method UpdateTimeToLive(\n        Str  :$TableName!,\n             :%TableToLiveSpecification!,\n    ) returns Promise\n\nThe UpdateTimeToLive method will enable or disable TTL for the specified table. A successful UpdateTimeToLive call returns the current TimeToLiveSpecification; it may take up to one hour for the change to fully process. Any additional UpdateTimeToLive calls for the same table during this one hour duration result in a ValidationException.\n\nSee the [AWS UpdateTimeToLive API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTimeToLive.html).\n\nmethod CreateGlobalTable\n------------------------\n\n    method CreateGlobalTable(\n        Str  :$GlobalTableName!,\n             :@ReplicationGroup!,\n    ) returns Promise\n\nCreates a global table from an existing table. A global table creates a replication relationship between two or more DynamoDB tables with the same table name in the provided regions.\n\nSee the [AWS CreateGlobalTable API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateGlobalTable.html).\n\nmethod DescribeGlobalTable\n--------------------------\n\n    method DescribeGlobalTable(\n        Str  :$GlobalTableName!,\n    ) returns Promise\n\nReturns information about the specified global table.\n\nSee the [AWS DescribeGlobalTable API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeGlobalTable.html).\n\nmethod ListGlobalTables\n-----------------------\n\n    method ListGlobalTables(\n        Str  :$ExclusiveStartGlobalTableName,\n        Int  :$Limit,\n        Str  :$RegionName,\n    ) returns Promise\n\nLists all global tables that have a replica in the specified region.\n\nSee the [AWS ListGlobalTables API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListGlobalTables.html).\n\nmethod UpdateGlobalTable\n------------------------\n\n    method UpdateGlobalTable(\n        Str  :$GlobalTableName!,\n             :@ReplicaUpdates!,\n    ) returns Promise\n\nAdds or removes replicas in the specified global table. The global table must already exist to be able to use this operation. Any replica to be added must be empty, must have the same name as the global table, must have the same key schema, and must have DynamoDB Streams enabled and must have same provisioned and maximum write capacity units.\n\nSee the [AWS UpdateGlobalTable API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateGlobalTable.html).\n\nmethod ListTagsOfResource\n-------------------------\n\n    method ListTagsOfResource(\n        Str  :$ResourceArn!,\n        Str  :$NextToken,\n    ) returns Promise\n\nList all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.\n\nSee the [AWS ListTagsOfResource API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListTagsOfResource.html).\n\nmethod TagResource\n------------------\n\n    method TagResource(\n        Str  :$ResourceArn!,\n             :@Tags!,\n    ) returns Promise\n\nAssociate a set of tags with an Amazon DynamoDB resource. You can then activate these user-defined tags so that they appear on the Billing and Cost Management console for cost allocation tracking. You can call TagResource up to 5 times per second, per account.\n\nSee the [AWS TagResource API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TagResource.html).\n\nmethod UntagResource\n--------------------\n\n    method UntagResource(\n        Str  :$ResourceArn!,\n             :@TagKeys!,\n    ) returns Promise\n\nRemoves the association of tags from an Amazon DynamoDB resource. You can call UntagResource up to 5 times per second, per account.\n\nSee the [AWS UntagResource API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UntagResource.html).\n\nmethod CreateBackup\n-------------------\n\n    method CreateBackup(\n        Str  :$BackupName!,\n        Str  :$TableName!,\n    ) returns Promise\n\nCreates a backup for an existing table.\n\nSee the [AWS CreateBackup API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateBackup.html).\n\nmethod DeleteBackup\n-------------------\n\n    method DeleteBackup(\n        Str  :$BackupArn!,\n    ) returns Promise\n\nDeletes an existing backup of a table.\n\nSee the [AWS DeleteBackup API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DeleteBackup.html).\n\nmethod DescribeBackup\n---------------------\n\n    method DescribeBackup(\n        Str  :$BackupArn!,\n    ) returns Promise\n\nDescribes an existing backup of a table.\n\nSee the [AWS DescribeBackup API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeBackup.html).\n\nmethod DescribeContinuousBackups\n--------------------------------\n\n    method DescribeContinuousBackups(\n        Str  :$TableName!,\n    ) returns Promise\n\nChecks the status of continuous backups and point in time recovery on the specified table. Continuous backups are ENABLED on all tables at table creation. If point in time recovery is enabled, PointInTimeRecoveryStatus will be set to ENABLED.\n\nSee the [AWS DescribeContinuousBackups API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeContinuousBackups.html).\n\nmethod ListBackups\n------------------\n\n    method ListBackups(\n        Str  :$ExclusiveStartBackupArn,\n        Int  :$Limit,\n        Str  :$TableName,\n        Int  :$TimeRangeLowerBound,\n        Int  :$TimeRangeUpperBound,\n    ) returns Promise\n\nList backups associated with an AWS account. To list backups for a given table, specify TableName. ListBackups returns a paginated list of results with at most 1MB worth of items in a page. You can also specify a limit for the maximum number of entries to be returned in a page.\n\nSee the [AWS ListBackups API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListBackups.html).\n\nmethod RestoreTableFromBackup\n-----------------------------\n\n    method RestoreTableFromBackup(\n        Str  :$BackupArn!,\n        Str  :$TargetTableName!,\n    ) returns Promise\n\nCreates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.\n\nSee the [AWS RestoreTableFromBackup API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_RestoreTableFromBackup.html).\n\nmethod DescribeLimits\n---------------------\n\n    method DescribeLimits() returns Promise\n\nReturns 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.\n\nSee the [AWS DescribeLimits API documentation](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeLimits.html).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzostay%2Famazon-dynamodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzostay%2Famazon-dynamodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzostay%2Famazon-dynamodb/lists"}