diff --git a/.doc_gen/metadata/dynamodb_metadata.yaml b/.doc_gen/metadata/dynamodb_metadata.yaml index 3ef1f8c31b4..212633ae406 100644 --- a/.doc_gen/metadata/dynamodb_metadata.yaml +++ b/.doc_gen/metadata/dynamodb_metadata.yaml @@ -1,2386 +1,2386 @@ -# zexi 0.4.0 -dynamodb_Hello: - title: Hello &DDB; - title_abbrev: Hello &DDB; - synopsis: get started using &DDB;. - category: Hello - languages: - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.java2.list_tables.main - .NET: - versions: - - sdk_version: 4 - github: dotnetv4/DynamoDB - excerpts: - - description: - snippet_tags: - - DynamoDB.dotnetv4.HelloDynamoDB - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - sdkguide: - excerpts: - - description: >- - For more details on working with &DDB; in &JSBlong;, - see Programming &DDB; with JavaScript. - snippet_tags: - - javascript.v3.dynamodb.hello - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb/hello_dynamodb - excerpts: - - description: Code for the CMakeLists.txt CMake file. - snippet_tags: - - cpp.example_code.dynamodb.hello_dynamodb.cmake - - description: Code for the hello_dynamodb.cpp source file. - snippet_tags: - - cpp.example_code.dynamodb.hello_dynamodb - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - python.dynamodb.hello_dynamodb - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ruby.dynamodb.hello_dynamodb - services: - dynamodb: {ListTables} -dynamodb_CreateTable: - languages: - .NET: - versions: - - sdk_version: 4 - github: dotnetv4/DynamoDB - excerpts: - - description: - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.CreateTable - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.cpp.create_table.code - - description: Code that waits for the table to become active. - snippet_tags: - - cpp.example_code.dynamodb.scenario.waitTableActive - - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: - snippet_tags: - - gov2.dynamodb.TableBasics.struct - - gov2.dynamodb.CreateTable - Kotlin: - versions: - - sdk_version: 1 - github: kotlin/services/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.kotlin.create_table.main - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.java2.create_table.main - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: Create a table. - snippet_tags: - - php.example_code.dynamodb.basics.createTable - - php.example_code.dynamodb.service.createTable - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: Create a table for storing movie data. - snippet_tags: - - python.example_code.dynamodb.helper.Movies.class_decl - - python.example_code.dynamodb.CreateTable - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ruby.example_code.dynamodb.Scaffold - - ruby.example_code.dynamodb.CreateTable - Rust: - versions: - - sdk_version: 1 - github: rustv1/examples/dynamodb - excerpts: - - description: - snippet_tags: - - dynamodb.rust.create-table - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - sdkguide: - sdk-for-javascript/v3/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-creating-a-table - excerpts: - - description: - snippet_tags: - - dynamodb.JavaScript.table.createTableV3 - - sdk_version: 2 - github: javascript/example_code/dynamodb - sdkguide: - sdk-for-javascript/v2/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-creating-a-table - excerpts: - - description: - snippet_tags: - - dynamodb.JavaScript.table.createTable - SAP ABAP: - versions: - - sdk_version: 1 - github: sap-abap/services/dyn - excerpts: - - description: - snippet_tags: - - dyn.abapv1.create_table - Swift: - versions: - - sdk_version: 1 - github: swift/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ddb.swift.import - - ddb.swift.basics.createtable - Bash: - versions: - - sdk_version: 2 - github: aws-cli/bash-linux/dynamodb - excerpts: - - description: - snippet_tags: - - aws-cli.bash-linux.dynamodb.CreateTable - - description: The utility functions used in this example. - snippet_tags: - - aws-cli.bash-linux.dynamodb.iecho - - aws-cli.bash-linux.dynamodb.errecho - - aws-cli.bash-linux.dynamodb.aws_cli_error_log - services: - dynamodb: {CreateTable} -dynamodb_BatchGetItem: - languages: - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - excerpts: - - description: Shows how to get batch items using the service client. - snippet_tags: - - dynamodb.java2.batch.get.items.main - - description: Shows how to get batch items using the service client and a paginator. - snippet_tags: - - dynamodb.java2.batch.get.items.paginator.main - .NET: - versions: - - sdk_version: 3 - github: dotnetv3/dynamodb - excerpts: - - description: - snippet_tags: - - dynamodb.dotnetv3.LowLevelBatchGetExample - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - python.example_code.dynamodb.Batching_imports - - python.example_code.dynamodb.BatchGetItem - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - sdkguide: - sdk-for-javascript/v3/developer-guide/dynamodb-example-table-read-write-batch.html#dynamodb-example-table-read-write-batch-reading - excerpts: - - description: This example uses the document client to simplify working with items in &DDB;. For API details - see BatchGet. - snippet_tags: - - javascript.v3.dynamodb.doc-client.BatchGet - - sdk_version: 2 - github: javascript/example_code/dynamodb - sdkguide: - sdk-for-javascript/v2/developer-guide/dynamodb-example-table-read-write-batch.html#dynamodb-example-table-read-write-batch-reading - excerpts: - - description: - snippet_tags: - - dynamodb.JavaScript.batch.GetItem - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - cpp.example_code.dynamodb.batch_get_item - Swift: - versions: - - sdk_version: 1 - github: swift/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ddb.swift.import - - ddb.swift.batchgetitem.batchget - Bash: - versions: - - sdk_version: 2 - github: aws-cli/bash-linux/dynamodb - excerpts: - - description: - snippet_tags: - - aws-cli.bash-linux.dynamodb.BatchGetItem - - description: The utility functions used in this example. - snippet_tags: - - aws-cli.bash-linux.dynamodb.errecho - - aws-cli.bash-linux.dynamodb.aws_cli_error_log - services: - dynamodb: {BatchGetItem} -dynamodb_DescribeTable: - languages: - .NET: - versions: - - sdk_version: 3 - github: dotnetv3/dynamodb - excerpts: - - description: - snippet_tags: - - dynamodb.dotnetv3.DescribeTableExample - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.java2.describe_table.main - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.cpp.describe_table.code - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: - snippet_tags: - - gov2.dynamodb.TableBasics.struct - - gov2.dynamodb.DescribeTable - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - sdkguide: - sdk-for-javascript/v3/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-describing-a-table - excerpts: - - description: - snippet_tags: - - dynamodb.JavaScript.table.describeTableV3 - - sdk_version: 2 - github: javascript/example_code/dynamodb - sdkguide: - sdk-for-javascript/v2/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-describing-a-table - excerpts: - - description: - snippet_tags: - - dynamodb.JavaScript.table.describeTable - SAP ABAP: - versions: - - sdk_version: 1 - github: sap-abap/services/dyn - excerpts: - - description: - snippet_tags: - - dyn.abapv1.describe_table - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - python.example_code.dynamodb.helper.Movies.class_decl - - python.example_code.dynamodb.DescribeTable - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ruby.example_code.dynamodb.Scaffold - - ruby.example_code.dynamodb.DescribeTable - Bash: - versions: - - sdk_version: 2 - github: aws-cli/bash-linux/dynamodb - excerpts: - - description: - snippet_tags: - - aws-cli.bash-linux.dynamodb.DescribeTable - - description: The utility functions used in this example. - snippet_tags: - - aws-cli.bash-linux.dynamodb.errecho - - aws-cli.bash-linux.dynamodb.aws_cli_error_log - services: - dynamodb: {DescribeTable} -dynamodb_BatchWriteItem: - languages: - .NET: - versions: - - sdk_version: 4 - github: dotnetv4/DynamoDB - excerpts: - - description: Writes a batch of items to the movie table. - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.BatchWriteItem - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: - snippet_tags: - - gov2.dynamodb.TableBasics.struct - - gov2.dynamodb.BatchWriteItem - - description: Define a Movie struct that is used in this example. - snippet_tags: - - gov2.dynamodb.Movie.struct - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb/ - sdkguide: - excerpts: - - description: Inserts many items into a table by using the service client. - snippet_tags: - - dynamodb.java2.batch.write.items.main - - description: Inserts many items into a table by using the enhanced client. - snippet_tags: - - dynamodb.java2.mapping.batchitems.main - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.service.batchWriteItem - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - python.example_code.dynamodb.helper.Movies.class_decl - - python.example_code.dynamodb.BatchWriteItem - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - excerpts: - - description: This example uses the document client to simplify working with items in &DDB;. For API details - see BatchWrite. - snippet_tags: - - dynamodb.JavaScript.movies.batchwriteV3 - - sdk_version: 2 - github: javascript/example_code/dynamodb - sdkguide: - sdk-for-javascript/v2/developer-guide/dynamodb-example-table-read-write-batch.html#dynamodb-example-table-read-write-batch-writing - excerpts: - - description: - snippet_tags: - - dynamodb.JavaScript.batch.WriteItem - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ruby.example_code.ruby.DynamoDBBasics.decl - - ruby.example_code.dynamodb.BatchWriteItem - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - cpp.example_code.dynamodb.batch_write_item - Swift: - versions: - - sdk_version: 1 - github: swift/example_code/dynamodb/ - excerpts: - - description: - snippet_tags: - - ddb.swift.import - - ddb.swift.basics.populate - Bash: - versions: - - sdk_version: 2 - github: aws-cli/bash-linux/dynamodb - excerpts: - - description: - snippet_tags: - - aws-cli.bash-linux.dynamodb.BatchWriteItem - - description: The utility functions used in this example. - snippet_tags: - - aws-cli.bash-linux.dynamodb.iecho - - aws-cli.bash-linux.dynamodb.errecho - - aws-cli.bash-linux.dynamodb.aws_cli_error_log - services: - dynamodb: {BatchWriteItem} -dynamodb_DeleteTable: - languages: - .NET: - versions: - - sdk_version: 4 - github: dotnetv4/DynamoDB - excerpts: - - description: - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.DeleteTableExample - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.cpp.delete_table.code - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: - snippet_tags: - - gov2.dynamodb.TableBasics.struct - - gov2.dynamodb.DeleteTable - Kotlin: - versions: - - sdk_version: 1 - github: kotlin/services/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.kotlin.delete_table.main - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.java2.delete_table.main - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.service.deleteTable - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - python.example_code.dynamodb.helper.Movies.class_decl - - python.example_code.dynamodb.DeleteTable - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ruby.example_code.dynamodb.Scaffold - - ruby.example_code.dynamodb.DeleteTable - Rust: - versions: - - sdk_version: 1 - github: rustv1/examples/dynamodb - excerpts: - - description: - snippet_tags: - - dynamodb.rust.delete-table - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - dynamodb.JavaScript.item.deleteTableV3 - - sdk_version: 2 - github: javascript/example_code/dynamodb - sdkguide: - sdk-for-javascript/v2/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-deleting-a-table - excerpts: - - description: - snippet_tags: - - dynamodb.JavaScript.table.deleteTable - SAP ABAP: - versions: - - sdk_version: 1 - github: sap-abap/services/dyn - excerpts: - - description: - snippet_tags: - - dyn.abapv1.delete_table - Swift: - versions: - - sdk_version: 1 - github: swift/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ddb.swift.import - - ddb.swift.basics.deletetable - Bash: - versions: - - sdk_version: 2 - github: aws-cli/bash-linux/dynamodb - excerpts: - - description: - snippet_tags: - - aws-cli.bash-linux.dynamodb.DeleteTable - - description: The utility functions used in this example. - snippet_tags: - - aws-cli.bash-linux.dynamodb.iecho - - aws-cli.bash-linux.dynamodb.errecho - - aws-cli.bash-linux.dynamodb.aws_cli_error_log - services: - dynamodb: {DeleteTable} -dynamodb_PutItem: - languages: - .NET: - versions: - - sdk_version: 4 - github: dotnetv4/DynamoDB - excerpts: - - description: - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.PutItem - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - dynamodb.cpp.put_item.code - - description: Code that waits for the table to become active. - snippet_tags: - - cpp.example_code.dynamodb.scenario.waitTableActive - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: - snippet_tags: - - gov2.dynamodb.TableBasics.struct - - gov2.dynamodb.PutItem - - description: Define a Movie struct that is used in this example. - snippet_tags: - - gov2.dynamodb.Movie.struct - Kotlin: - versions: - - sdk_version: 1 - github: kotlin/services/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.kotlin.put_item.main - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: Puts an item into a table using DynamoDbClient. - snippet_tags: - - dynamodb.java2.put_item.main - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.basics.putItem - - php.example_code.dynamodb.service.putItem - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - python.example_code.dynamodb.helper.Movies.class_decl - - python.example_code.dynamodb.PutItem - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ruby.example_code.ruby.DynamoDBBasics.decl - - ruby.example_code.dynamodb.PutItem - Rust: - versions: - - sdk_version: 1 - github: rustv1/examples/dynamodb - excerpts: - - description: - snippet_tags: - - dynamodb.rust.add-item - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - excerpts: - - description: This example uses the document client to simplify working with items in &DDB;. For API details - see PutCommand. - snippet_tags: - - dynamodb.JavaScript.docClient.putV3 - - sdk_version: 2 - github: javascript/example_code/dynamodb - sdkguide: - sdk-for-javascript/v2/developer-guide/dynamodb-example-table-read-write.html#dynamodb-example-table-read-write-writing-an-item - excerpts: - - description: Put an item in a table. - snippet_tags: - - dynamodb.JavaScript.item.putItem - - description: Put an item in a table using the &DDB; document client. - snippet_tags: - - dynamodb.JavaScript.docClient.put - SAP ABAP: - versions: - - sdk_version: 1 - github: sap-abap/services/dyn - excerpts: - - description: - snippet_tags: - - dyn.abapv1.put_item - Swift: - versions: - - sdk_version: 1 - github: swift/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ddb.swift.import - - ddb.swift.basics.add-movie - - ddb.swift.basics.movie.getasitem - Bash: - versions: - - sdk_version: 2 - github: aws-cli/bash-linux/dynamodb - excerpts: - - description: - snippet_tags: - - aws-cli.bash-linux.dynamodb.PutItem - - description: The utility functions used in this example. - snippet_tags: - - aws-cli.bash-linux.dynamodb.iecho - - aws-cli.bash-linux.dynamodb.errecho - - aws-cli.bash-linux.dynamodb.aws_cli_error_log - services: - dynamodb: {PutItem} -dynamodb_GetItem: - languages: - .NET: - versions: - - sdk_version: 4 - github: dotnetv4/DynamoDB - excerpts: - - description: - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.GetItem - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.cpp.get_item.code - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: - snippet_tags: - - gov2.dynamodb.TableBasics.struct - - gov2.dynamodb.GetItem - - description: Define a Movie struct that is used in this example. - snippet_tags: - - gov2.dynamodb.Movie.struct - Kotlin: - versions: - - sdk_version: 1 - github: kotlin/services/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.kotlin.get_item.main - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: Gets an item from a table by using the DynamoDbClient. - snippet_tags: - - dynamodb.java2.get_item.main - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.basics.getItem - - php.example_code.dynamodb.service.getItem - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - python.example_code.dynamodb.helper.Movies.class_decl - - python.example_code.dynamodb.GetItem - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ruby.example_code.ruby.DynamoDBBasics.decl - - ruby.example_code.dynamodb.GetItem - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - excerpts: - - description: This example uses the document client to simplify working with items in &DDB;. For API details - see GetCommand. - snippet_tags: - - dynamodb.JavaScript.docClient.getV3 - - sdk_version: 2 - github: javascript/example_code/dynamodb - sdkguide: sdk-for-javascript/v2/developer-guide/dynamodb-example-dynamodb-utilities.html#dynamodb-example-document-client-get - excerpts: - - description: Get an item from a table. - snippet_tags: - - dynamodb.JavaScript.item.getItem - - description: Get an item from a table using the &DDB; document client. - snippet_tags: - - dynamodb.JavaScript.docClient.get - SAP ABAP: - versions: - - sdk_version: 1 - github: sap-abap/services/dyn - excerpts: - - description: - snippet_tags: - - dyn.abapv1.get_item - Swift: - versions: - - sdk_version: 1 - github: swift/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ddb.swift.import - - ddb.swift.basics.get - Bash: - versions: - - sdk_version: 2 - github: aws-cli/bash-linux/dynamodb - excerpts: - - description: - snippet_tags: - - aws-cli.bash-linux.dynamodb.GetItem - - description: The utility functions used in this example. - snippet_tags: - - aws-cli.bash-linux.dynamodb.errecho - - aws-cli.bash-linux.dynamodb.aws_cli_error_log - services: - dynamodb: {GetItem} -dynamodb_UpdateItem: - languages: - .NET: - versions: - - sdk_version: 4 - github: dotnetv4/DynamoDB - excerpts: - - description: - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.UpdateItem - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.cpp.update_item.code - - description: Code that waits for the table to become active. - snippet_tags: - - cpp.example_code.dynamodb.scenario.waitTableActive - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: - snippet_tags: - - gov2.dynamodb.TableBasics.struct - - gov2.dynamodb.UpdateItem - - description: Define a Movie struct that is used in this example. - snippet_tags: - - gov2.dynamodb.Movie.struct - Kotlin: - versions: - - sdk_version: 1 - github: kotlin/services/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.kotlin.update_item.main - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: Updates an item in a table using DynamoDbClient. - snippet_tags: - - dynamodb.java2.update_item.main - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.basics.updateItem - - php.example_code.dynamodb.service.updateItem - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: Update an item by using an update expression. - snippet_tags: - - python.example_code.dynamodb.helper.Movies.class_decl - - python.example_code.dynamodb.UpdateItem.UpdateExpression - - description: Update an item by using an update expression that includes an arithmetic operation. - snippet_tags: - - python.example_code.dynamodb.helper.UpdateQueryWrapper.decl - - python.example_code.dynamodb.UpdateItem.UpdateExpression.Arithmetic - - description: Update an item only when it meets certain conditions. - snippet_tags: - - python.example_code.dynamodb.helper.UpdateQueryWrapper.decl - - python.example_code.dynamodb.UpdateItem.ConditionalExpression - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ruby.example_code.ruby.DynamoDBBasics.decl - - ruby.example_code.dynamodb.UpdateItem.UpdateExpression - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - excerpts: - - description: This example uses the document client to simplify working with items in &DDB;. For API details - see UpdateCommand. - snippet_tags: - - dynamodb.JavaScript.docClient.updateV3 - SAP ABAP: - versions: - - sdk_version: 1 - github: sap-abap/services/dyn - excerpts: - - description: - snippet_tags: - - dyn.abapv1.update_item - Swift: - versions: - - sdk_version: 1 - github: swift/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ddb.swift.import - - ddb.swift.basics.update - Bash: - versions: - - sdk_version: 2 - github: aws-cli/bash-linux/dynamodb - excerpts: - - description: - snippet_tags: - - aws-cli.bash-linux.dynamodb.UpdateItem - - description: The utility functions used in this example. - snippet_tags: - - aws-cli.bash-linux.dynamodb.iecho - - aws-cli.bash-linux.dynamodb.errecho - - aws-cli.bash-linux.dynamodb.aws_cli_error_log - services: - dynamodb: {UpdateItem} -dynamodb_DeleteItem: - languages: - .NET: - versions: - - sdk_version: 4 - github: dotnetv4/DynamoDB - excerpts: - - description: - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.DeleteItem - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: - snippet_tags: - - gov2.dynamodb.TableBasics.struct - - gov2.dynamodb.DeleteItem - - description: Define a Movie struct that is used in this example. - snippet_tags: - - gov2.dynamodb.Movie.struct - Kotlin: - versions: - - sdk_version: 1 - github: kotlin/services/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.kotlin.delete_item.main - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.java2.delete_item.main - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.basics.key - - php.example_code.dynamodb.basics.deleteItem - - php.example_code.dynamodb.service.deleteItem - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - python.example_code.dynamodb.helper.Movies.class_decl - - python.example_code.dynamodb.DeleteItem - - description: You can specify a condition so that an item is deleted only when it meets certain criteria. - snippet_tags: - - python.example_code.dynamodb.helper.UpdateQueryWrapper.decl - - python.example_code.dynamodb.DeleteItem.ConditionExpression - Rust: - versions: - - sdk_version: 1 - github: rustv1/examples/dynamodb - excerpts: - - description: - snippet_tags: - - dynamodb.rust.delete-item - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ruby.example_code.ruby.DynamoDBBasics.decl - - ruby.example_code.dynamodb.DeleteItem - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - sdkguide: - sdk-for-javascript/v3/developer-guide/dynamodb-example-table-read-write.html#dynamodb-example-table-read-write-deleting-an-item - excerpts: - - description: This example uses the document client to simplify working with items in &DDB;. For API details - see DeleteCommand. - snippet_tags: - - dynamodb.JavaScript.docClient.deleteV3 - - sdk_version: 2 - github: javascript/example_code/dynamodb - sdkguide: - sdk-for-javascript/v2/developer-guide/dynamodb-example-table-read-write.html#dynamodb-example-table-read-write-deleting-an-item - excerpts: - - description: Delete an item from a table. - snippet_tags: - - dynamodb.JavaScript.item.deleteItem - - description: Delete an item from a table using the &DDB; document client. - snippet_tags: - - dynamodb.JavaScript.docClient.delete - SAP ABAP: - versions: - - sdk_version: 1 - github: sap-abap/services/dyn - excerpts: - - description: - snippet_tags: - - dyn.abapv1.delete_item - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - cpp.example_code.dynamodb.delete_item - - description: Code that waits for the table to become active. - snippet_tags: - - cpp.example_code.dynamodb.scenario.waitTableActive - Swift: - versions: - - sdk_version: 1 - github: swift/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ddb.swift.import - - ddb.swift.basics.delete - Bash: - versions: - - sdk_version: 2 - github: aws-cli/bash-linux/dynamodb - excerpts: - - description: - snippet_tags: - - aws-cli.bash-linux.dynamodb.DeleteItem - - description: The utility functions used in this example. - snippet_tags: - - aws-cli.bash-linux.dynamodb.iecho - - aws-cli.bash-linux.dynamodb.errecho - - aws-cli.bash-linux.dynamodb.aws_cli_error_log - services: - dynamodb: {DeleteItem} -dynamodb_ListTables: - languages: - .NET: - versions: - - sdk_version: 3 - github: dotnetv3/dynamodb - excerpts: - - description: - snippet_tags: - - dynamodb.dotnetv3.ListTableExample - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.cpp.list_tables.code - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: - snippet_tags: - - gov2.dynamodb.TableBasics.struct - - gov2.dynamodb.ListTables - Kotlin: - versions: - - sdk_version: 1 - github: kotlin/services/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.kotlin.list_tables.main - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.java2.list_tables.main - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.service.listTables - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - python.example_code.dynamodb.helper.Movies.class_decl - - python.example_code.dynamodb.ListTables - Ruby: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: Determine whether a table exists. - snippet_tags: - - ruby.example_code.dynamodb.Scaffold - - ruby.example_code.dynamodb.DescribeTable - Rust: - versions: - - sdk_version: 1 - github: rustv1/examples/dynamodb - excerpts: - - description: - snippet_tags: - - dynamodb.rust.list-tables - - description: Determine whether table exists. - snippet_tags: - - dynamodb.rust.movies-does_table_exist - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - sdkguide: sdk-for-javascript/v3/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-listing-tables - excerpts: - - description: - snippet_tags: - - dynamodb.JavaScript.table.listTablesV3 - - sdk_version: 2 - github: javascript/example_code/dynamodb - sdkguide: sdk-for-javascript/v2/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-listing-tables - excerpts: - - description: - snippet_tags: - - dynamodb.JavaScript.table.listTables - SAP ABAP: - versions: - - sdk_version: 1 - github: sap-abap/services/dyn - excerpts: - - description: - snippet_tags: - - dyn.abapv1.list_tables - Swift: - versions: - - sdk_version: 1 - github: swift/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ddb.swift.import - - ddb.swift.databasemanager.gettablelist - Bash: - versions: - - sdk_version: 2 - github: aws-cli/bash-linux/dynamodb - excerpts: - - description: - snippet_tags: - - aws-cli.bash-linux.dynamodb.ListTables - - description: The utility functions used in this example. - snippet_tags: - - aws-cli.bash-linux.dynamodb.errecho - - aws-cli.bash-linux.dynamodb.aws_cli_error_log - services: - dynamodb: {ListTables} -dynamodb_Query: - languages: - .NET: - versions: - - sdk_version: 4 - github: dotnetv4/DynamoDB - excerpts: - - description: - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.QueryItems - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.cpp.query_items.code - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: - snippet_tags: - - gov2.dynamodb.TableBasics.struct - - gov2.dynamodb.Query - - description: Define a Movie struct that is used in this example. - snippet_tags: - - gov2.dynamodb.Movie.struct - Kotlin: - versions: - - sdk_version: 1 - github: kotlin/services/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.kotlin.query.main - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: Queries a table by using DynamoDbClient. - snippet_tags: - - dynamodb.java2.query.main - - description: Queries a table by using DynamoDbClient and a secondary index. - snippet_tags: - - dynamodb.java2.query_items_sec_index.main - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.basics.query - - php.example_code.dynamodb.service.query - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: Query items by using a key condition expression. - snippet_tags: - - python.example_code.dynamodb.helper.Movies.class_decl - - python.example_code.dynamodb.Query - - description: Query items and project them to return a subset of data. - snippet_tags: - - python.example_code.dynamodb.helper.UpdateQueryWrapper.decl - - python.example_code.dynamodb.Query.ProjectionExpression - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ruby.example_code.ruby.DynamoDBBasics.decl - - ruby.example_code.dynamodb.Query - Rust: - versions: - - sdk_version: 1 - github: rustv1/examples/dynamodb - excerpts: - - description: Find the movies made in the specified year. - snippet_tags: - - dynamodb.rust.movies-movies_in_year - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - sdkguide: sdk-for-javascript/v3/developer-guide/dynamodb-example-query-scan.html#dynamodb-example-table-query-scan-querying - excerpts: - - description: This example uses the document client to simplify working with items in &DDB;. For API details - see QueryCommand. - snippet_tags: - - dynamodb.JavaScript.docClient.queryV3 - - sdk_version: 2 - github: javascript/example_code/dynamodb - sdkguide: sdk-for-javascript/v2/developer-guide/dynamodb-example-query-scan.html#dynamodb-example-table-query-scan-querying - excerpts: - - description: - snippet_tags: - - dynamodb.JavaScript.docClient.query - SAP ABAP: - versions: - - sdk_version: 1 - github: sap-abap/services/dyn - excerpts: - - description: - snippet_tags: - - dyn.abapv1.query_table - Swift: - versions: - - sdk_version: 1 - github: swift/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ddb.swift.import - - ddb.swift.basics.getMovies-year - Bash: - versions: - - sdk_version: 2 - github: aws-cli/bash-linux/dynamodb - excerpts: - - description: - snippet_tags: - - aws-cli.bash-linux.dynamodb.Query - - description: The utility functions used in this example. - snippet_tags: - - aws-cli.bash-linux.dynamodb.errecho - - aws-cli.bash-linux.dynamodb.aws_cli_error_log - services: - dynamodb: {Query} -dynamodb_Scan: - languages: - .NET: - versions: - - sdk_version: 4 - github: dotnetv4/DynamoDB - excerpts: - - description: - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.ScanTable - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.cpp.scan_table.code - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: - snippet_tags: - - gov2.dynamodb.TableBasics.struct - - gov2.dynamodb.Scan - - description: Define a Movie struct that is used in this example. - snippet_tags: - - gov2.dynamodb.Movie.struct - Kotlin: - versions: - - sdk_version: 1 - github: kotlin/services/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.kotlin.scan_items.main - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: Scans an Amazon DynamoDB table using DynamoDbClient. - snippet_tags: - - dynamodb.java2.dynamoDB_scan.main - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.basics.scan - - php.example_code.dynamodb.service.scan - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - python.example_code.dynamodb.helper.Movies.class_decl - - python.example_code.dynamodb.Scan - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ruby.example_code.ruby.DynamoDBBasics.decl - - ruby.example_code.dynamodb.Scan - Rust: - versions: - - sdk_version: 1 - github: rustv1/examples/dynamodb - excerpts: - - description: - snippet_tags: - - dynamodb.rust.list-items - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - excerpts: - - description: This example uses the document client to simplify working with items in &DDB;. For API details - see ScanCommand. - snippet_tags: - - dynamodb.JavaScript.movies.scanV3 - - sdk_version: 2 - github: javascript/example_code/dynamodb - sdkguide: sdk-for-javascript/v2/developer-guide/dynamodb-example-query-scan.html#dynamodb-example-table-query-scan-scanning - excerpts: - - description: - snippet_tags: - - dynamodb.JavaScript.table.scan - SAP ABAP: - versions: - - sdk_version: 1 - github: sap-abap/services/dyn - excerpts: - - description: - snippet_tags: - - dyn.abapv1.scan_items - Swift: - versions: - - sdk_version: 1 - github: swift/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - ddb.swift.import - - ddb.swift.basics.getmovies-range - Bash: - versions: - - sdk_version: 2 - github: aws-cli/bash-linux/dynamodb - excerpts: - - description: - snippet_tags: - - aws-cli.bash-linux.dynamodb.Scan - - description: The utility functions used in this example. - snippet_tags: - - aws-cli.bash-linux.dynamodb.errecho - - aws-cli.bash-linux.dynamodb.aws_cli_error_log - services: - dynamodb: {Scan} -dynamodb_ExecuteStatement: - languages: - .NET: - versions: - - sdk_version: 3 - github: dotnetv3/dynamodb - excerpts: - - description: Use an INSERT statement to add an item. - snippet_tags: - - PartiQL.dotnetv3.PartiQLBasicsScenario-InsertSingleMovie - - description: Use a SELECT statement to get an item. - snippet_tags: - - PartiQL.dotnetv3.PartiQLBasicsScenario-GetSingleMovie - - description: Use a SELECT statement to get a list of items. - snippet_tags: - - PartiQL.dotnetv3.PartiQLBasicsScenario-GetMovies - - description: Use an UPDATE statement to update an item. - snippet_tags: - - PartiQL.dotnetv3.PartiQLBasicsScenario-UpdateSingleMovie - - description: Use a DELETE statement to delete a single movie. - snippet_tags: - - PartiQL.dotnetv3.PartiQLBasicsScenario-DeleteSingleMovie - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: Define a function receiver struct for the example. - snippet_tags: - - gov2.dynamodb.PartiQLRunner.struct - - description: Use an INSERT statement to add an item. - snippet_tags: - - gov2.dynamodb.ExecuteStatement.Insert - - description: Use a SELECT statement to get an item. - snippet_tags: - - gov2.dynamodb.ExecuteStatement.Select - - description: Use a SELECT statement to get a list of items and project the results. - snippet_tags: - - gov2.dynamodb.ExecuteStatement.Select.Projected - - description: Use an UPDATE statement to update an item. - snippet_tags: - - gov2.dynamodb.ExecuteStatement.Update - - description: Use a DELETE statement to delete an item. - snippet_tags: - - gov2.dynamodb.ExecuteStatement.Delete - - description: Define a Movie struct that is used in this example. - snippet_tags: - - gov2.dynamodb.Movie.struct - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - excerpts: - - description: Create an item using PartiQL. - snippet_tags: - - dynamodb.JavaScript.partiQL.putItemV3 - - description: Get an item using PartiQL. - snippet_tags: - - dynamodb.JavaScript.partiQL.getItemV3 - - description: Update an item using PartiQL. - snippet_tags: - - dynamodb.JavaScript.partiQL.updateItemV3 - - description: Delete an item using PartiQL. - snippet_tags: - - dynamodb.JavaScript.partiQL.deleteItemV3 - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.service.insertItemByPartiQL - - php.example_code.dynamodb.service.getItemByPartiQL - - php.example_code.dynamodb.service.updateItemByPartiQL - - php.example_code.dynamodb.service.deleteItemByPartiQL - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - python.example_code.dynamodb.helper.PartiQLWrapper.class_decl - - python.example_code.dynamodb.ExecuteStatement - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - sdkguide: - excerpts: - - description: Select a single item using PartiQL. - snippet_tags: - - ruby.example_code.ruby.DynamoDBPartiQLSingle.decl - - ruby.example_code.dynamodb.partiql.single_select - - description: Update a single item using PartiQL. - snippet_tags: - - ruby.example_code.ruby.DynamoDBPartiQLSingle.decl - - ruby.example_code.dynamodb.partiql.single_update - - description: Add a single item using PartiQL. - snippet_tags: - - ruby.example_code.ruby.DynamoDBPartiQLSingle.decl - - ruby.example_code.dynamodb.partiql.single_insert - - description: Delete a single item using PartiQL. - snippet_tags: - - ruby.example_code.ruby.DynamoDBPartiQLSingle.decl - - ruby.example_code.dynamodb.partiql.single_delete - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - excerpts: - - description: Use an INSERT statement to add an item. - snippet_tags: - - cpp.example_code.dynamodb.ExecuteStatement.Insert - - description: Use a SELECT statement to get an item. - snippet_tags: - - cpp.example_code.dynamodb.ExecuteStatement.Select - - description: Use an UPDATE statement to update an item. - snippet_tags: - - cpp.example_code.dynamodb.ExecuteStatement.Update - - description: Use a DELETE statement to delete an item. - snippet_tags: - - cpp.example_code.dynamodb.ExecuteStatement.Delete - services: - dynamodb: {ExecuteStatement} -dynamodb_BatchExecuteStatement: - languages: - .NET: - versions: - - sdk_version: 3 - github: dotnetv3/dynamodb - excerpts: - - description: Use batches of INSERT statements to add items. - snippet_tags: - - PartiQL.dotnetv3.PartiQLBatchScenario-InsertMovies - - description: Use batches of SELECT statements to get items. - snippet_tags: - - PartiQL.dotnetv3.PartiQLBatchScenario-GetBatch - - description: Use batches of UPDATE statements to update items. - snippet_tags: - - PartiQL.dotnetv3.PartiQLBatchScenario-UpdateBatch - - description: Use batches of DELETE statements to delete items. - snippet_tags: - - PartiQL.dotnetv3.PartiQLBatchScenario-DeleteBatch - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: Define a function receiver struct for the example. - snippet_tags: - - gov2.dynamodb.PartiQLRunner.struct - - description: Use batches of INSERT statements to add items. - snippet_tags: - - gov2.dynamodb.BatchExecuteStatement.Insert - - description: Use batches of SELECT statements to get items. - snippet_tags: - - gov2.dynamodb.BatchExecuteStatement.Select - - description: Use batches of UPDATE statements to update items. - snippet_tags: - - gov2.dynamodb.BatchExecuteStatement.Update - - description: Use batches of DELETE statements to delete items. - snippet_tags: - - gov2.dynamodb.BatchExecuteStatement.Delete - - description: Define a Movie struct that is used in this example. - snippet_tags: - - gov2.dynamodb.Movie.struct - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - excerpts: - - description: Create a batch of items using PartiQL. - snippet_tags: - - dynamodb.JavaScript.partiQL.putItemsV3 - - description: Get a batch of items using PartiQL. - snippet_tags: - - dynamodb.JavaScript.partiQL.getItemsV3 - - description: Update a batch of items using PartiQL. - snippet_tags: - - dynamodb.JavaScript.partiQL.updateItemsV3 - - description: Delete a batch of items using PartiQL. - snippet_tags: - - dynamodb.JavaScript.partiQL.deleteItemsV3 - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.service.getItemByPartiQLBatch - - php.example_code.dynamodb.service.insertItemByPartiQLBatch - - php.example_code.dynamodb.service.updateItemByPartiQLBatch - - php.example_code.dynamodb.service.deleteItemByPartiQLBatch - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - python.example_code.dynamodb.helper.PartiQLBatchWrapper.class_decl - - python.example_code.dynamodb.BatchExecuteStatement - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - sdkguide: - excerpts: - - description: Read a batch of items using PartiQL. - snippet_tags: - - ruby.example_code.ruby.DynamoDBPartiQLBatch.decl - - ruby.example_code.dynamodb.partiql.batch_read - - description: Delete a batch of items using PartiQL. - snippet_tags: - - ruby.example_code.ruby.DynamoDBPartiQLBatch.decl - - ruby.example_code.dynamodb.partiql.batch_write - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - excerpts: - - description: Use batches of INSERT statements to add items. - snippet_tags: - - cpp.example_code.dynamodb.BatchExecuteStatement.Insert - - description: Use batches of SELECT statements to get items. - snippet_tags: - - cpp.example_code.dynamodb.BatchExecuteStatement.Select - - description: Use batches of UPDATE statements to update items. - snippet_tags: - - cpp.example_code.dynamodb.BatchExecuteStatement.Update - - description: Use batches of DELETE statements to delete items. - snippet_tags: - - cpp.example_code.dynamodb.BatchExecuteStatement.Delete - services: - dynamodb: {BatchExecuteStatement} -dynamodb_UpdateTable: - languages: - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - dynamodb.cpp.update_table.code - - description: Code that waits for the table to become active. - snippet_tags: - - cpp.example_code.dynamodb.scenario.waitTableActive - services: - dynamodb: {UpdateTable} -dynamodb_Usage_DaxDemo: - title: Accelerate &DDB; reads with &DAX; using an &AWS; SDK - title_abbrev: Accelerate reads with &DAX; - synopsis_list: - - Create and write data to a table with both the &DAX; and SDK clients. - - Get, query, and scan the table with both clients and compare their performance. - guide_topic: - title: Developing with the &DAXlong; Client - url: amazondynamodb/latest/developerguide/DAX.client.html - category: Scenarios - languages: - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb/TryDax - sdkguide: - excerpts: - - description: Create a table with either the &DAX; or Boto3 client. - snippet_tags: - - dynamodb.Python.TryDax.01-create-table - - description: Write test data to the table. - snippet_tags: - - dynamodb.Python.TryDax.02-write-data - - description: Get items for a number of iterations for both the &DAX; client and the Boto3 client and report - the time spent for each. - snippet_tags: - - dynamodb.Python.TryDax.03-getitem-test - - description: Query the table for a number of iterations for both the &DAX; client and the Boto3 client and report - the time spent for each. - snippet_tags: - - dynamodb.Python.TryDax.04-query-test - - description: Scan the table for a number of iterations for both the &DAX; client and the Boto3 client and report - the time spent for each. - snippet_tags: - - dynamodb.Python.TryDax.05-scan-test - - description: Delete the table. - snippet_tags: - - dynamodb.Python.TryDax.06-delete-table - services: - dynamodb: {CreateTable, PutItem, GetItem, Query, Scan, DeleteTable} -dynamodb_Scenario_GettingStartedMovies: - synopsis_list: - - Create a table that can hold movie data. - - Put, get, and update a single movie in the table. - - Write movie data to the table from a sample JSON file. - - Query for movies that were released in a given year. - - Scan for movies that were released in a range of years. - - Delete a movie from the table, then delete the table. - category: Basics - languages: - .NET: - versions: - - sdk_version: 4 - github: dotnetv4/DynamoDB - excerpts: - - description: - snippet_tags: - - DynamoDB.dotnetv4.DynamoDB_Basics_Scenario - - description: Creates a table to contain movie data. - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.CreateTable - - description: Adds a single movie to the table. - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.PutItem - - description: Updates a single item in a table. - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.UpdateItem - - description: Retrieves a single item from the movie table. - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.GetItem - - description: Writes a batch of items to the movie table. - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.BatchWriteItem - - description: Deletes a single item from the table. - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.DeleteItem - - description: Queries the table for movies released in a particular year. - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.QueryItems - - description: Scans the table for movies released in a range of years. - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.ScanTable - - description: Deletes the movie table. - snippet_tags: - - DynamoDB.dotnetv4.dynamodb-basics.DeleteTableExample - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: Run an interactive scenario to create the table and perform actions on it. - snippet_tags: - - gov2.dynamodb.Scenario_GettingStartedMovies - - description: Define a Movie struct that is used in this example. - snippet_tags: - - gov2.dynamodb.Movie.struct - - description: Create a struct and methods that call &DDB; actions. - snippet_tags: - - gov2.dynamodb.TableBasics.complete - Kotlin: - versions: - - sdk_version: 1 - github: kotlin/services/dynamodb - sdkguide: - excerpts: - - description: Create a &DDB; table. - snippet_tags: - - dynamodb.kotlin.scenario.create_table.main - - description: Create a helper function to download and extract the sample JSON file. - snippet_tags: - - dynamodb.kotlin.scenario.populate_table.main - - description: Get an item from a table. - snippet_tags: - - dynamodb.kotlin.scenario.get_item.main - - description: Full example. - snippet_tags: - - dynamodb.kotlin.scenario.main - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: Create a &DDB; table. - snippet_tags: - - dynamodb.java2.scenario.create_table.main - - description: Create a helper function to download and extract the sample JSON file. - snippet_tags: - - dynamodb.java2.scenario.populate_table.main - - description: Get an item from a table. - snippet_tags: - - dynamodb.java2.scenario.get_item.main - - description: Full example. - snippet_tags: - - dynamodb.java2.scenario.main - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.basics.scenario - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - sdkguide: - excerpts: - - description: Create a class that encapsulates a &DDB; table. - snippet_tags: - - python.example_code.dynamodb.helper.Movies.imports - - python.example_code.dynamodb.helper.Movies.class_full - - description: Create a helper function to download and extract the sample JSON file. - snippet_tags: - - python.example_code.dynamodb.helper.get_sample_movie_data - - description: Run an interactive scenario to create the table and perform actions on it. - snippet_tags: - - python.example_code.dynamodb.Scenario_GettingStartedMovies - - description: This scenario uses the following helper class to ask questions at a command prompt. - snippet_tags: - - python.example_code.dynamodb.helper.Question - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: Create a class that encapsulates a &DDB; table. - snippet_tags: - - ruby.example_code.dynamodb.CreateTable - - description: Create a helper function to download and extract the sample JSON file. - snippet_tags: - - ruby.example_code.dynamodb.helper.get_sample_movie_data - - description: Run an interactive scenario to create the table and perform actions on it. - snippet_tags: - - ruby.example_code.dynamodb.Scenario_Basics - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - javascript.dynamodb_scenarios.dynamodb_basics - SAP ABAP: - versions: - - sdk_version: 1 - github: sap-abap/services/dyn - excerpts: - - description: - snippet_tags: - - dyn.abapv1.getting_started_with_tables - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - cpp.example_code.dynamodb.Scenario_GettingStarted.main - - cpp.example_code.dynamodb.Scenario_GettingStarted - - cpp.example_code.dynamodb.scenario.createMoviesDynamoDBTable - - cpp.example_code.dynamodb.scenario.deleteMoviesDynamoDBTable - - cpp.example_code.dynamodb.scenario.waitTableActive - Swift: - versions: - - sdk_version: 1 - github: swift/example_code/dynamodb - excerpts: - - description: A Swift class that handles &DDB; calls to the &Swift;. - snippet_tags: - - ddb.swift.basics.movietable - - description: The structures used by the MovieTable class to represent movies. - snippet_tags: - - ddb.swift.basics.movie - - description: A program that uses the MovieTable class to access a &DDB; database. - snippet_tags: - - ddb.swift.basics - Bash: - versions: - - sdk_version: 2 - github: aws-cli/bash-linux/dynamodb - excerpts: - - description: The &DDB; getting started scenario. - snippet_tags: - - aws-cli.bash-linux.dynamodb.scenario_getting_started_movies - - description: The &DDB; functions used in this scenario. - snippet_tags: - - aws-cli.bash-linux.dynamodb.CreateTable - - aws-cli.bash-linux.dynamodb.DescribeTable - - aws-cli.bash-linux.dynamodb.PutItem - - aws-cli.bash-linux.dynamodb.UpdateItem - - aws-cli.bash-linux.dynamodb.BatchWriteItem - - aws-cli.bash-linux.dynamodb.GetItem - - aws-cli.bash-linux.dynamodb.Query - - aws-cli.bash-linux.dynamodb.Scan - - aws-cli.bash-linux.dynamodb.DeleteItem - - aws-cli.bash-linux.dynamodb.DeleteTable - - description: The utility functions used in this scenario. - snippet_tags: - - aws-cli.bash-linux.dynamodb.iecho - - aws-cli.bash-linux.dynamodb.errecho - - aws-cli.bash-linux.dynamodb.aws_cli_error_log - services: - dynamodb: {DescribeTable, CreateTable, BatchWriteItem, PutItem, GetItem, UpdateItem, DeleteItem, Query, Scan, DeleteTable} -dynamodb_Scenario_PartiQLSingle: - title: Query a &DDB; table using PartiQL and an &AWS; SDK - title_abbrev: Query a table using PartiQL - synopsis_list: - - Get an item by running a SELECT statement. - - Add an item by running an INSERT statement. - - Update an item by running an UPDATE statement. - - Delete an item by running a DELETE statement. - category: Scenarios - languages: - .NET: - versions: - - sdk_version: 3 - github: dotnetv3/dynamodb - excerpts: - - description: - snippet_tags: - - PartiQL.dotnetv3.PartiQLBasicsScenario-Complete - - PartiQL.dotnetv3.PartiQLBasicsScenario-GetSingleMovie - - PartiQL.dotnetv3.PartiQLBasicsScenario-InsertSingleMovie - - PartiQL.dotnetv3.PartiQLBasicsScenario-UpdateSingleMovie - - PartiQL.dotnetv3.PartiQLBasicsScenario-DeleteSingleMovie - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: Run a scenario that creates a table and runs PartiQL queries. - snippet_tags: - - gov2.dynamodb.Scenario_PartiQLSingle - - description: Define a Movie struct that is used in this example. - snippet_tags: - - gov2.dynamodb.Movie.struct - - description: Create a struct and methods that run PartiQL statements. - snippet_tags: - - gov2.dynamodb.PartiQLRunner.struct - - gov2.dynamodb.ExecuteStatement.Insert - - gov2.dynamodb.ExecuteStatement.Select - - gov2.dynamodb.ExecuteStatement.Update - - gov2.dynamodb.ExecuteStatement.Delete - Kotlin: - versions: - - sdk_version: 1 - github: kotlin/services/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.kotlin.scenario.partiql.main - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.java2.scenario.partiql.main - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - sdkguide: - excerpts: - - description: Execute single PartiQL statements. - snippet_tags: - - javascript.dynamodb_scenarios.partiQL_basics - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.partiql_basics.scenario - - php.example_code.dynamodb.service.insertItemByPartiQL - - php.example_code.dynamodb.service.getItemByPartiQL - - php.example_code.dynamodb.service.updateItemByPartiQL - - php.example_code.dynamodb.service.deleteItemByPartiQL - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - excerpts: - - description: Create a class that can run PartiQL statements. - snippet_tags: - - python.example_code.dynamodb.helper.PartiQLWrapper.imports - - python.example_code.dynamodb.helper.PartiQLWrapper.class_full - - description: Run a scenario that creates a table and runs PartiQL queries. - snippet_tags: - - python.example_code.dynamodb.Scenario_PartiQLSingle - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: Run a scenario that creates a table and runs PartiQL queries. - snippet_tags: - - ruby.example_code.dynamodb.Scenario_PartiQL_Single - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - cpp.example_code.dynamodb.Scenario_PartiQL_Single.main - - cpp.example_code.dynamodb.Scenario_PartiQL_Single - - cpp.example_code.dynamodb.scenario.createMoviesDynamoDBTable - - cpp.example_code.dynamodb.scenario.deleteMoviesDynamoDBTable - - cpp.example_code.dynamodb.scenario.waitTableActive - Rust: - versions: - - sdk_version: 1 - github: rustv1/examples/dynamodb - excerpts: - - description: - snippet_tags: - - dynamodb.rust.partiql-make_table - - dynamodb.rust.partiql-add_item - - dynamodb.rust.partiql-query_item - - dynamodb.rust.partiql-remove_item - - dynamodb.rust.partiql-remove_table - services: - dynamodb: {ExecuteStatement} -dynamodb_Scenario_PartiQLBatch: - title: Query a &DDB; table by using batches of PartiQL statements and an &AWS; SDK - title_abbrev: Query a table by using batches of PartiQL statements - synopsis_list: - - Get a batch of items by running multiple SELECT statements. - - Add a batch of items by running multiple INSERT statements. - - Update a batch of items by running multiple UPDATE statements. - - Delete a batch of items by running multiple DELETE statements. - category: Scenarios - languages: - .NET: - versions: - - sdk_version: 3 - github: dotnetv3/dynamodb - excerpts: - - description: - snippet_tags: - - PartiQL.dotnetv3.PartiQLBatchScenario - - PartiQL.dotnetv3.PartiQLBatchScenario-GetBatch - - PartiQL.dotnetv3.PartiQLBatchScenario-InsertMovies - - PartiQL.dotnetv3.PartiQLBatchScenario-UpdateBatch - - PartiQL.dotnetv3.PartiQLBatchScenario-DeleteBatch - Go: - versions: - - sdk_version: 2 - github: gov2/dynamodb - excerpts: - - description: Run a scenario that creates a table and runs batches of PartiQL queries. - snippet_tags: - - gov2.dynamodb.Scenario_PartiQLBatch - - description: Define a Movie struct that is used in this example. - snippet_tags: - - gov2.dynamodb.Movie.struct - - description: Create a struct and methods that run PartiQL statements. - snippet_tags: - - gov2.dynamodb.PartiQLRunner.struct - - gov2.dynamodb.BatchExecuteStatement.Insert - - gov2.dynamodb.BatchExecuteStatement.Select - - gov2.dynamodb.ExecuteStatement.Select.Projected - - gov2.dynamodb.BatchExecuteStatement.Update - - gov2.dynamodb.BatchExecuteStatement.Delete - Kotlin: - versions: - - sdk_version: 1 - github: kotlin/services/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.kotlin.scenario.partiql.batch.main - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - dynamodb.java2.scenario.partiql.batch.main - JavaScript: - versions: - - sdk_version: 3 - github: javascriptv3/example_code/dynamodb - sdkguide: - excerpts: - - description: Execute batch PartiQL statements. - snippet_tags: - - javascript.dynamodb_scenarios.partiQL_batch_basics - PHP: - versions: - - sdk_version: 3 - github: php/example_code/dynamodb - excerpts: - - description: - snippet_tags: - - php.example_code.dynamodb.partiql_batch.scenario - - php.example_code.dynamodb.service.insertItemByPartiQLBatch - - php.example_code.dynamodb.service.getItemByPartiQLBatch - - php.example_code.dynamodb.service.updateItemByPartiQLBatch - - php.example_code.dynamodb.service.deleteItemByPartiQLBatch - Python: - versions: - - sdk_version: 3 - github: python/example_code/dynamodb - excerpts: - - description: Create a class that can run batches of PartiQL statements. - snippet_tags: - - python.example_code.dynamodb.helper.PartiQLBatchWrapper.imports - - python.example_code.dynamodb.helper.PartiQLBatchWrapper.class_full - - description: Run a scenario that creates a table and runs PartiQL queries in batches. - snippet_tags: - - python.example_code.dynamodb.Scenario_PartiQLBatch - Ruby: - versions: - - sdk_version: 3 - github: ruby/example_code/dynamodb - excerpts: - - description: Run a scenario that creates a table and runs batch PartiQL queries. - snippet_tags: - - ruby.example_code.dynamodb.Scenario_PartiQL_Batch - C++: - versions: - - sdk_version: 1 - github: cpp/example_code/dynamodb - sdkguide: - excerpts: - - description: - snippet_tags: - - cpp.example_code.dynamodb.Scenario_PartiQL_Batch.main - - cpp.example_code.dynamodb.Scenario_PartiQL_Batch - - cpp.example_code.dynamodb.scenario.createMoviesDynamoDBTable - - cpp.example_code.dynamodb.scenario.deleteMoviesDynamoDBTable - - cpp.example_code.dynamodb.scenario.waitTableActive - services: - dynamodb: {BatchExecuteStatement} -dynamodb_HighLevelInterface: - title: Use a high-level object persistence model for &DDB; using an &AWS; SDK - title_abbrev: Use a high-level object persistence model - synopsis: perform Create, Read, Update, and Delete (CRUD) and batch operations using an object persistence model for &DDB; - and an &AWS; SDK. - guide_topic: - title: Object persistence model - url: amazondynamodb/latest/developerguide/DotNetSDKHighLevel.html - category: Scenarios - languages: - .NET: - versions: - - sdk_version: 3 - github: dotnetv3/dynamodb/high-level-api - excerpts: - - description: Perform CRUD operations using a high-level object persistence model. - snippet_tags: - - dynamodb.dotnetv3.HighLevelItemCRUDExample - - description: Perform batch write operations using a high-level object persistence model. - snippet_tags: - - dynamodb.dotnetv3.HighLevelBatchWriteItemExample - - description: Map arbitrary data to a table using a high-level object persistence model. - snippet_tags: - - dynamodb.dotnetv3.HighLevelMappingArbitraryDataExample - - description: Query and scan a table using a high-level object persistence model. - snippet_tags: - - dynamodb.dotnetv3.HighLevelQueryAndScanExample - services: - dynamodb: {} -dynamodb_MidLevelInterface: - title: Use a document model for &DDB; using an &AWS; SDK - title_abbrev: Use a document model - synopsis: perform Create, Read, Update, and Delete (CRUD) and batch operations using a document model for &DDB; and an &AWS; - SDK. - guide_topic: - title: Document model - url: amazondynamodb/latest/developerguide/DotNetSDKMidLevel.html - category: Scenarios - languages: - .NET: - versions: - - sdk_version: 3 - github: dotnetv3/dynamodb/mid-level-api - excerpts: - - description: Perform CRUD operations using a document model. - snippet_tags: - - dynamodb.dotnetv3.MidlevelItemCRUDExample - - description: Perform batch write operations using a document model. - snippet_tags: - - dynamodb.dotnetv3.MidLevelBatchWriteItemExample - - description: Scan a table using a document model. - snippet_tags: - - dynamodb.dotnetv3.MidLevelScanOnlyExample - - description: Query and scan a table using a document model. - snippet_tags: - - dynamodb.dotnetv3.MidLevelQueryAndScanExample - services: - dynamodb: {} -dynamodb_local: - title: Connect to a local &DDB; instance using an &AWS; SDK - title_abbrev: Connect to a local instance - synopsis: override an endpoint URL to connect to a local development deployment of &DDB; and an &AWS; SDK. - guide_topic: - title: DynamoDB Local - url: amazondynamodb/latest/developerguide/DynamoDBLocal.html - category: Scenarios - languages: - Rust: - versions: - - sdk_version: 1 - github: rustv1/examples/dynamodb - excerpts: - - snippet_files: - - rustv1/examples/dynamodb/src/bin/list-tables-local.rs - services: - dynamodb: {} +# zexi 0.4.0 +dynamodb_Hello: + title: Hello &DDB; + title_abbrev: Hello &DDB; + synopsis: get started using &DDB;. + category: Hello + languages: + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.java2.list_tables.main + .NET: + versions: + - sdk_version: 4 + github: dotnetv4/DynamoDB + excerpts: + - description: + snippet_tags: + - DynamoDB.dotnetv4.HelloDynamoDB + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + sdkguide: + excerpts: + - description: >- + For more details on working with &DDB; in &JSBlong;, + see Programming &DDB; with JavaScript. + snippet_tags: + - javascript.v3.dynamodb.hello + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb/hello_dynamodb + excerpts: + - description: Code for the CMakeLists.txt CMake file. + snippet_tags: + - cpp.example_code.dynamodb.hello_dynamodb.cmake + - description: Code for the hello_dynamodb.cpp source file. + snippet_tags: + - cpp.example_code.dynamodb.hello_dynamodb + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - python.dynamodb.hello_dynamodb + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ruby.dynamodb.hello_dynamodb + services: + dynamodb: {ListTables} +dynamodb_CreateTable: + languages: + .NET: + versions: + - sdk_version: 4 + github: dotnetv4/DynamoDB + excerpts: + - description: + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.CreateTable + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.cpp.create_table.code + - description: Code that waits for the table to become active. + snippet_tags: + - cpp.example_code.dynamodb.scenario.waitTableActive + + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: + snippet_tags: + - gov2.dynamodb.TableBasics.struct + - gov2.dynamodb.CreateTable + Kotlin: + versions: + - sdk_version: 1 + github: kotlin/services/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.kotlin.create_table.main + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.java2.create_table.main + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: Create a table. + snippet_tags: + - php.example_code.dynamodb.basics.createTable + - php.example_code.dynamodb.service.createTable + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: Create a table for storing movie data. + snippet_tags: + - python.example_code.dynamodb.helper.Movies.class_decl + - python.example_code.dynamodb.CreateTable + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ruby.example_code.dynamodb.Scaffold + - ruby.example_code.dynamodb.CreateTable + Rust: + versions: + - sdk_version: 1 + github: rustv1/examples/dynamodb + excerpts: + - description: + snippet_tags: + - dynamodb.rust.create-table + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + sdkguide: + sdk-for-javascript/v3/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-creating-a-table + excerpts: + - description: + snippet_tags: + - dynamodb.JavaScript.table.createTableV3 + - sdk_version: 2 + github: javascript/example_code/dynamodb + sdkguide: + sdk-for-javascript/v2/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-creating-a-table + excerpts: + - description: + snippet_tags: + - dynamodb.JavaScript.table.createTable + SAP ABAP: + versions: + - sdk_version: 1 + github: sap-abap/services/dyn + excerpts: + - description: + snippet_tags: + - dyn.abapv1.create_table + Swift: + versions: + - sdk_version: 1 + github: swift/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ddb.swift.import + - ddb.swift.basics.createtable + Bash: + versions: + - sdk_version: 2 + github: aws-cli/bash-linux/dynamodb + excerpts: + - description: + snippet_tags: + - aws-cli.bash-linux.dynamodb.CreateTable + - description: The utility functions used in this example. + snippet_tags: + - aws-cli.bash-linux.dynamodb.iecho + - aws-cli.bash-linux.dynamodb.errecho + - aws-cli.bash-linux.dynamodb.aws_cli_error_log + services: + dynamodb: {CreateTable} +dynamodb_BatchGetItem: + languages: + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + excerpts: + - description: Shows how to get batch items using the service client. + snippet_tags: + - dynamodb.java2.batch.get.items.main + - description: Shows how to get batch items using the service client and a paginator. + snippet_tags: + - dynamodb.java2.batch.get.items.paginator.main + .NET: + versions: + - sdk_version: 3 + github: dotnetv3/dynamodb + excerpts: + - description: + snippet_tags: + - dynamodb.dotnetv3.LowLevelBatchGetExample + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - python.example_code.dynamodb.Batching_imports + - python.example_code.dynamodb.BatchGetItem + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + sdkguide: + sdk-for-javascript/v3/developer-guide/dynamodb-example-table-read-write-batch.html#dynamodb-example-table-read-write-batch-reading + excerpts: + - description: This example uses the document client to simplify working with items in &DDB;. For API details + see BatchGet. + snippet_tags: + - javascript.v3.dynamodb.doc-client.BatchGet + - sdk_version: 2 + github: javascript/example_code/dynamodb + sdkguide: + sdk-for-javascript/v2/developer-guide/dynamodb-example-table-read-write-batch.html#dynamodb-example-table-read-write-batch-reading + excerpts: + - description: + snippet_tags: + - dynamodb.JavaScript.batch.GetItem + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - cpp.example_code.dynamodb.batch_get_item + Swift: + versions: + - sdk_version: 1 + github: swift/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ddb.swift.import + - ddb.swift.batchgetitem.batchget + Bash: + versions: + - sdk_version: 2 + github: aws-cli/bash-linux/dynamodb + excerpts: + - description: + snippet_tags: + - aws-cli.bash-linux.dynamodb.BatchGetItem + - description: The utility functions used in this example. + snippet_tags: + - aws-cli.bash-linux.dynamodb.errecho + - aws-cli.bash-linux.dynamodb.aws_cli_error_log + services: + dynamodb: {BatchGetItem} +dynamodb_DescribeTable: + languages: + .NET: + versions: + - sdk_version: 3 + github: dotnetv3/dynamodb + excerpts: + - description: + snippet_tags: + - dynamodb.dotnetv3.DescribeTableExample + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.java2.describe_table.main + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.cpp.describe_table.code + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: + snippet_tags: + - gov2.dynamodb.TableBasics.struct + - gov2.dynamodb.DescribeTable + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + sdkguide: + sdk-for-javascript/v3/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-describing-a-table + excerpts: + - description: + snippet_tags: + - dynamodb.JavaScript.table.describeTableV3 + - sdk_version: 2 + github: javascript/example_code/dynamodb + sdkguide: + sdk-for-javascript/v2/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-describing-a-table + excerpts: + - description: + snippet_tags: + - dynamodb.JavaScript.table.describeTable + SAP ABAP: + versions: + - sdk_version: 1 + github: sap-abap/services/dyn + excerpts: + - description: + snippet_tags: + - dyn.abapv1.describe_table + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - python.example_code.dynamodb.helper.Movies.class_decl + - python.example_code.dynamodb.DescribeTable + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ruby.example_code.dynamodb.Scaffold + - ruby.example_code.dynamodb.DescribeTable + Bash: + versions: + - sdk_version: 2 + github: aws-cli/bash-linux/dynamodb + excerpts: + - description: + snippet_tags: + - aws-cli.bash-linux.dynamodb.DescribeTable + - description: The utility functions used in this example. + snippet_tags: + - aws-cli.bash-linux.dynamodb.errecho + - aws-cli.bash-linux.dynamodb.aws_cli_error_log + services: + dynamodb: {DescribeTable} +dynamodb_BatchWriteItem: + languages: + .NET: + versions: + - sdk_version: 4 + github: dotnetv4/DynamoDB + excerpts: + - description: Writes a batch of items to the movie table. + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.BatchWriteItem + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: + snippet_tags: + - gov2.dynamodb.TableBasics.struct + - gov2.dynamodb.BatchWriteItem + - description: Define a Movie struct that is used in this example. + snippet_tags: + - gov2.dynamodb.Movie.struct + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb/ + sdkguide: + excerpts: + - description: Inserts many items into a table by using the service client. + snippet_tags: + - dynamodb.java2.batch.write.items.main + - description: Inserts many items into a table by using the enhanced client. + snippet_tags: + - dynamodb.java2.mapping.batchitems.main + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - php.example_code.dynamodb.service.batchWriteItem + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - python.example_code.dynamodb.helper.Movies.class_decl + - python.example_code.dynamodb.BatchWriteItem + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + excerpts: + - description: This example uses the document client to simplify working with items in &DDB;. For API details + see BatchWrite. + snippet_tags: + - dynamodb.JavaScript.movies.batchwriteV3 + - sdk_version: 2 + github: javascript/example_code/dynamodb + sdkguide: + sdk-for-javascript/v2/developer-guide/dynamodb-example-table-read-write-batch.html#dynamodb-example-table-read-write-batch-writing + excerpts: + - description: + snippet_tags: + - dynamodb.JavaScript.batch.WriteItem + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ruby.example_code.ruby.DynamoDBBasics.decl + - ruby.example_code.dynamodb.BatchWriteItem + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - cpp.example_code.dynamodb.batch_write_item + Swift: + versions: + - sdk_version: 1 + github: swift/example_code/dynamodb/ + excerpts: + - description: + snippet_tags: + - ddb.swift.import + - ddb.swift.basics.populate + Bash: + versions: + - sdk_version: 2 + github: aws-cli/bash-linux/dynamodb + excerpts: + - description: + snippet_tags: + - aws-cli.bash-linux.dynamodb.BatchWriteItem + - description: The utility functions used in this example. + snippet_tags: + - aws-cli.bash-linux.dynamodb.iecho + - aws-cli.bash-linux.dynamodb.errecho + - aws-cli.bash-linux.dynamodb.aws_cli_error_log + services: + dynamodb: {BatchWriteItem} +dynamodb_DeleteTable: + languages: + .NET: + versions: + - sdk_version: 4 + github: dotnetv4/DynamoDB + excerpts: + - description: + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.DeleteTableExample + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.cpp.delete_table.code + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: + snippet_tags: + - gov2.dynamodb.TableBasics.struct + - gov2.dynamodb.DeleteTable + Kotlin: + versions: + - sdk_version: 1 + github: kotlin/services/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.kotlin.delete_table.main + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.java2.delete_table.main + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - php.example_code.dynamodb.service.deleteTable + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - python.example_code.dynamodb.helper.Movies.class_decl + - python.example_code.dynamodb.DeleteTable + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ruby.example_code.dynamodb.Scaffold + - ruby.example_code.dynamodb.DeleteTable + Rust: + versions: + - sdk_version: 1 + github: rustv1/examples/dynamodb + excerpts: + - description: + snippet_tags: + - dynamodb.rust.delete-table + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - dynamodb.JavaScript.item.deleteTableV3 + - sdk_version: 2 + github: javascript/example_code/dynamodb + sdkguide: + sdk-for-javascript/v2/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-deleting-a-table + excerpts: + - description: + snippet_tags: + - dynamodb.JavaScript.table.deleteTable + SAP ABAP: + versions: + - sdk_version: 1 + github: sap-abap/services/dyn + excerpts: + - description: + snippet_tags: + - dyn.abapv1.delete_table + Swift: + versions: + - sdk_version: 1 + github: swift/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ddb.swift.import + - ddb.swift.basics.deletetable + Bash: + versions: + - sdk_version: 2 + github: aws-cli/bash-linux/dynamodb + excerpts: + - description: + snippet_tags: + - aws-cli.bash-linux.dynamodb.DeleteTable + - description: The utility functions used in this example. + snippet_tags: + - aws-cli.bash-linux.dynamodb.iecho + - aws-cli.bash-linux.dynamodb.errecho + - aws-cli.bash-linux.dynamodb.aws_cli_error_log + services: + dynamodb: {DeleteTable} +dynamodb_PutItem: + languages: + .NET: + versions: + - sdk_version: 4 + github: dotnetv4/DynamoDB + excerpts: + - description: + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.PutItem + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - dynamodb.cpp.put_item.code + - description: Code that waits for the table to become active. + snippet_tags: + - cpp.example_code.dynamodb.scenario.waitTableActive + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: + snippet_tags: + - gov2.dynamodb.TableBasics.struct + - gov2.dynamodb.PutItem + - description: Define a Movie struct that is used in this example. + snippet_tags: + - gov2.dynamodb.Movie.struct + Kotlin: + versions: + - sdk_version: 1 + github: kotlin/services/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.kotlin.put_item.main + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: Puts an item into a table using DynamoDbClient. + snippet_tags: + - dynamodb.java2.put_item.main + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - php.example_code.dynamodb.basics.putItem + - php.example_code.dynamodb.service.putItem + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - python.example_code.dynamodb.helper.Movies.class_decl + - python.example_code.dynamodb.PutItem + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ruby.example_code.ruby.DynamoDBBasics.decl + - ruby.example_code.dynamodb.PutItem + Rust: + versions: + - sdk_version: 1 + github: rustv1/examples/dynamodb + excerpts: + - description: + snippet_tags: + - dynamodb.rust.add-item + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + excerpts: + - description: This example uses the document client to simplify working with items in &DDB;. For API details + see PutCommand. + snippet_tags: + - dynamodb.JavaScript.docClient.putV3 + - sdk_version: 2 + github: javascript/example_code/dynamodb + sdkguide: + sdk-for-javascript/v2/developer-guide/dynamodb-example-table-read-write.html#dynamodb-example-table-read-write-writing-an-item + excerpts: + - description: Put an item in a table. + snippet_tags: + - dynamodb.JavaScript.item.putItem + - description: Put an item in a table using the &DDB; document client. + snippet_tags: + - dynamodb.JavaScript.docClient.put + SAP ABAP: + versions: + - sdk_version: 1 + github: sap-abap/services/dyn + excerpts: + - description: + snippet_tags: + - dyn.abapv1.put_item + Swift: + versions: + - sdk_version: 1 + github: swift/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ddb.swift.import + - ddb.swift.basics.add-movie + - ddb.swift.basics.movie.getasitem + Bash: + versions: + - sdk_version: 2 + github: aws-cli/bash-linux/dynamodb + excerpts: + - description: + snippet_tags: + - aws-cli.bash-linux.dynamodb.PutItem + - description: The utility functions used in this example. + snippet_tags: + - aws-cli.bash-linux.dynamodb.iecho + - aws-cli.bash-linux.dynamodb.errecho + - aws-cli.bash-linux.dynamodb.aws_cli_error_log + services: + dynamodb: {PutItem} +dynamodb_GetItem: + languages: + .NET: + versions: + - sdk_version: 4 + github: dotnetv4/DynamoDB + excerpts: + - description: + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.GetItem + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.cpp.get_item.code + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: + snippet_tags: + - gov2.dynamodb.TableBasics.struct + - gov2.dynamodb.GetItem + - description: Define a Movie struct that is used in this example. + snippet_tags: + - gov2.dynamodb.Movie.struct + Kotlin: + versions: + - sdk_version: 1 + github: kotlin/services/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.kotlin.get_item.main + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: Gets an item from a table by using the DynamoDbClient. + snippet_tags: + - dynamodb.java2.get_item.main + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - php.example_code.dynamodb.basics.getItem + - php.example_code.dynamodb.service.getItem + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - python.example_code.dynamodb.helper.Movies.class_decl + - python.example_code.dynamodb.GetItem + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ruby.example_code.ruby.DynamoDBBasics.decl + - ruby.example_code.dynamodb.GetItem + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + excerpts: + - description: This example uses the document client to simplify working with items in &DDB;. For API details + see GetCommand. + snippet_tags: + - dynamodb.JavaScript.docClient.getV3 + - sdk_version: 2 + github: javascript/example_code/dynamodb + sdkguide: sdk-for-javascript/v2/developer-guide/dynamodb-example-dynamodb-utilities.html#dynamodb-example-document-client-get + excerpts: + - description: Get an item from a table. + snippet_tags: + - dynamodb.JavaScript.item.getItem + - description: Get an item from a table using the &DDB; document client. + snippet_tags: + - dynamodb.JavaScript.docClient.get + SAP ABAP: + versions: + - sdk_version: 1 + github: sap-abap/services/dyn + excerpts: + - description: + snippet_tags: + - dyn.abapv1.get_item + Swift: + versions: + - sdk_version: 1 + github: swift/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ddb.swift.import + - ddb.swift.basics.get + Bash: + versions: + - sdk_version: 2 + github: aws-cli/bash-linux/dynamodb + excerpts: + - description: + snippet_tags: + - aws-cli.bash-linux.dynamodb.GetItem + - description: The utility functions used in this example. + snippet_tags: + - aws-cli.bash-linux.dynamodb.errecho + - aws-cli.bash-linux.dynamodb.aws_cli_error_log + services: + dynamodb: {GetItem} +dynamodb_UpdateItem: + languages: + .NET: + versions: + - sdk_version: 4 + github: dotnetv4/DynamoDB + excerpts: + - description: + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.UpdateItem + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.cpp.update_item.code + - description: Code that waits for the table to become active. + snippet_tags: + - cpp.example_code.dynamodb.scenario.waitTableActive + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: + snippet_tags: + - gov2.dynamodb.TableBasics.struct + - gov2.dynamodb.UpdateItem + - description: Define a Movie struct that is used in this example. + snippet_tags: + - gov2.dynamodb.Movie.struct + Kotlin: + versions: + - sdk_version: 1 + github: kotlin/services/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.kotlin.update_item.main + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: Updates an item in a table using DynamoDbClient. + snippet_tags: + - dynamodb.java2.update_item.main + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - php.example_code.dynamodb.basics.updateItem + - php.example_code.dynamodb.service.updateItem + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: Update an item by using an update expression. + snippet_tags: + - python.example_code.dynamodb.helper.Movies.class_decl + - python.example_code.dynamodb.UpdateItem.UpdateExpression + - description: Update an item by using an update expression that includes an arithmetic operation. + snippet_tags: + - python.example_code.dynamodb.helper.UpdateQueryWrapper.decl + - python.example_code.dynamodb.UpdateItem.UpdateExpression.Arithmetic + - description: Update an item only when it meets certain conditions. + snippet_tags: + - python.example_code.dynamodb.helper.UpdateQueryWrapper.decl + - python.example_code.dynamodb.UpdateItem.ConditionalExpression + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ruby.example_code.ruby.DynamoDBBasics.decl + - ruby.example_code.dynamodb.UpdateItem.UpdateExpression + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + excerpts: + - description: This example uses the document client to simplify working with items in &DDB;. For API details + see UpdateCommand. + snippet_tags: + - dynamodb.JavaScript.docClient.updateV3 + SAP ABAP: + versions: + - sdk_version: 1 + github: sap-abap/services/dyn + excerpts: + - description: + snippet_tags: + - dyn.abapv1.update_item + Swift: + versions: + - sdk_version: 1 + github: swift/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ddb.swift.import + - ddb.swift.basics.update + Bash: + versions: + - sdk_version: 2 + github: aws-cli/bash-linux/dynamodb + excerpts: + - description: + snippet_tags: + - aws-cli.bash-linux.dynamodb.UpdateItem + - description: The utility functions used in this example. + snippet_tags: + - aws-cli.bash-linux.dynamodb.iecho + - aws-cli.bash-linux.dynamodb.errecho + - aws-cli.bash-linux.dynamodb.aws_cli_error_log + services: + dynamodb: {UpdateItem} +dynamodb_DeleteItem: + languages: + .NET: + versions: + - sdk_version: 4 + github: dotnetv4/DynamoDB + excerpts: + - description: + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.DeleteItem + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: + snippet_tags: + - gov2.dynamodb.TableBasics.struct + - gov2.dynamodb.DeleteItem + - description: Define a Movie struct that is used in this example. + snippet_tags: + - gov2.dynamodb.Movie.struct + Kotlin: + versions: + - sdk_version: 1 + github: kotlin/services/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.kotlin.delete_item.main + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.java2.delete_item.main + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - php.example_code.dynamodb.basics.key + - php.example_code.dynamodb.basics.deleteItem + - php.example_code.dynamodb.service.deleteItem + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - python.example_code.dynamodb.helper.Movies.class_decl + - python.example_code.dynamodb.DeleteItem + - description: You can specify a condition so that an item is deleted only when it meets certain criteria. + snippet_tags: + - python.example_code.dynamodb.helper.UpdateQueryWrapper.decl + - python.example_code.dynamodb.DeleteItem.ConditionExpression + Rust: + versions: + - sdk_version: 1 + github: rustv1/examples/dynamodb + excerpts: + - description: + snippet_tags: + - dynamodb.rust.delete-item + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ruby.example_code.ruby.DynamoDBBasics.decl + - ruby.example_code.dynamodb.DeleteItem + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + sdkguide: + sdk-for-javascript/v3/developer-guide/dynamodb-example-table-read-write.html#dynamodb-example-table-read-write-deleting-an-item + excerpts: + - description: This example uses the document client to simplify working with items in &DDB;. For API details + see DeleteCommand. + snippet_tags: + - dynamodb.JavaScript.docClient.deleteV3 + - sdk_version: 2 + github: javascript/example_code/dynamodb + sdkguide: + sdk-for-javascript/v2/developer-guide/dynamodb-example-table-read-write.html#dynamodb-example-table-read-write-deleting-an-item + excerpts: + - description: Delete an item from a table. + snippet_tags: + - dynamodb.JavaScript.item.deleteItem + - description: Delete an item from a table using the &DDB; document client. + snippet_tags: + - dynamodb.JavaScript.docClient.delete + SAP ABAP: + versions: + - sdk_version: 1 + github: sap-abap/services/dyn + excerpts: + - description: + snippet_tags: + - dyn.abapv1.delete_item + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - cpp.example_code.dynamodb.delete_item + - description: Code that waits for the table to become active. + snippet_tags: + - cpp.example_code.dynamodb.scenario.waitTableActive + Swift: + versions: + - sdk_version: 1 + github: swift/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ddb.swift.import + - ddb.swift.basics.delete + Bash: + versions: + - sdk_version: 2 + github: aws-cli/bash-linux/dynamodb + excerpts: + - description: + snippet_tags: + - aws-cli.bash-linux.dynamodb.DeleteItem + - description: The utility functions used in this example. + snippet_tags: + - aws-cli.bash-linux.dynamodb.iecho + - aws-cli.bash-linux.dynamodb.errecho + - aws-cli.bash-linux.dynamodb.aws_cli_error_log + services: + dynamodb: {DeleteItem} +dynamodb_ListTables: + languages: + .NET: + versions: + - sdk_version: 3 + github: dotnetv3/dynamodb + excerpts: + - description: + snippet_tags: + - dynamodb.dotnetv3.ListTableExample + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.cpp.list_tables.code + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: + snippet_tags: + - gov2.dynamodb.TableBasics.struct + - gov2.dynamodb.ListTables + Kotlin: + versions: + - sdk_version: 1 + github: kotlin/services/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.kotlin.list_tables.main + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.java2.list_tables.main + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - php.example_code.dynamodb.service.listTables + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - python.example_code.dynamodb.helper.Movies.class_decl + - python.example_code.dynamodb.ListTables + Ruby: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: Determine whether a table exists. + snippet_tags: + - ruby.example_code.dynamodb.Scaffold + - ruby.example_code.dynamodb.DescribeTable + Rust: + versions: + - sdk_version: 1 + github: rustv1/examples/dynamodb + excerpts: + - description: + snippet_tags: + - dynamodb.rust.list-tables + - description: Determine whether table exists. + snippet_tags: + - dynamodb.rust.movies-does_table_exist + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + sdkguide: sdk-for-javascript/v3/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-listing-tables + excerpts: + - description: + snippet_tags: + - dynamodb.JavaScript.table.listTablesV3 + - sdk_version: 2 + github: javascript/example_code/dynamodb + sdkguide: sdk-for-javascript/v2/developer-guide/dynamodb-examples-using-tables.html#dynamodb-examples-using-tables-listing-tables + excerpts: + - description: + snippet_tags: + - dynamodb.JavaScript.table.listTables + SAP ABAP: + versions: + - sdk_version: 1 + github: sap-abap/services/dyn + excerpts: + - description: + snippet_tags: + - dyn.abapv1.list_tables + Swift: + versions: + - sdk_version: 1 + github: swift/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ddb.swift.import + - ddb.swift.databasemanager.gettablelist + Bash: + versions: + - sdk_version: 2 + github: aws-cli/bash-linux/dynamodb + excerpts: + - description: + snippet_tags: + - aws-cli.bash-linux.dynamodb.ListTables + - description: The utility functions used in this example. + snippet_tags: + - aws-cli.bash-linux.dynamodb.errecho + - aws-cli.bash-linux.dynamodb.aws_cli_error_log + services: + dynamodb: {ListTables} +dynamodb_Query: + languages: + .NET: + versions: + - sdk_version: 4 + github: dotnetv4/DynamoDB + excerpts: + - description: + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.QueryItems + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.cpp.query_items.code + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: + snippet_tags: + - gov2.dynamodb.TableBasics.struct + - gov2.dynamodb.Query + - description: Define a Movie struct that is used in this example. + snippet_tags: + - gov2.dynamodb.Movie.struct + Kotlin: + versions: + - sdk_version: 1 + github: kotlin/services/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.kotlin.query.main + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: Queries a table by using DynamoDbClient. + snippet_tags: + - dynamodb.java2.query.main + - description: Queries a table by using DynamoDbClient and a secondary index. + snippet_tags: + - dynamodb.java2.query_items_sec_index.main + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - php.example_code.dynamodb.basics.query + - php.example_code.dynamodb.service.query + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: Query items by using a key condition expression. + snippet_tags: + - python.example_code.dynamodb.helper.Movies.class_decl + - python.example_code.dynamodb.Query + - description: Query items and project them to return a subset of data. + snippet_tags: + - python.example_code.dynamodb.helper.UpdateQueryWrapper.decl + - python.example_code.dynamodb.Query.ProjectionExpression + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ruby.example_code.ruby.DynamoDBBasics.decl + - ruby.example_code.dynamodb.Query + Rust: + versions: + - sdk_version: 1 + github: rustv1/examples/dynamodb + excerpts: + - description: Find the movies made in the specified year. + snippet_tags: + - dynamodb.rust.movies-movies_in_year + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + sdkguide: sdk-for-javascript/v3/developer-guide/dynamodb-example-query-scan.html#dynamodb-example-table-query-scan-querying + excerpts: + - description: This example uses the document client to simplify working with items in &DDB;. For API details + see QueryCommand. + snippet_tags: + - dynamodb.JavaScript.docClient.queryV3 + - sdk_version: 2 + github: javascript/example_code/dynamodb + sdkguide: sdk-for-javascript/v2/developer-guide/dynamodb-example-query-scan.html#dynamodb-example-table-query-scan-querying + excerpts: + - description: + snippet_tags: + - dynamodb.JavaScript.docClient.query + SAP ABAP: + versions: + - sdk_version: 1 + github: sap-abap/services/dyn + excerpts: + - description: + snippet_tags: + - dyn.abapv1.query_table + Swift: + versions: + - sdk_version: 1 + github: swift/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ddb.swift.import + - ddb.swift.basics.getMovies-year + Bash: + versions: + - sdk_version: 2 + github: aws-cli/bash-linux/dynamodb + excerpts: + - description: + snippet_tags: + - aws-cli.bash-linux.dynamodb.Query + - description: The utility functions used in this example. + snippet_tags: + - aws-cli.bash-linux.dynamodb.errecho + - aws-cli.bash-linux.dynamodb.aws_cli_error_log + services: + dynamodb: {Query} +dynamodb_Scan: + languages: + .NET: + versions: + - sdk_version: 4 + github: dotnetv4/DynamoDB + excerpts: + - description: + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.ScanTable + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.cpp.scan_table.code + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: + snippet_tags: + - gov2.dynamodb.TableBasics.struct + - gov2.dynamodb.Scan + - description: Define a Movie struct that is used in this example. + snippet_tags: + - gov2.dynamodb.Movie.struct + Kotlin: + versions: + - sdk_version: 1 + github: kotlin/services/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.kotlin.scan_items.main + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: Scans an Amazon DynamoDB table using DynamoDbClient. + snippet_tags: + - dynamodb.java2.dynamoDB_scan.main + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - php.example_code.dynamodb.basics.scan + - php.example_code.dynamodb.service.scan + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - python.example_code.dynamodb.helper.Movies.class_decl + - python.example_code.dynamodb.Scan + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ruby.example_code.ruby.DynamoDBBasics.decl + - ruby.example_code.dynamodb.Scan + Rust: + versions: + - sdk_version: 1 + github: rustv1/examples/dynamodb + excerpts: + - description: + snippet_tags: + - dynamodb.rust.list-items + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + excerpts: + - description: This example uses the document client to simplify working with items in &DDB;. For API details + see ScanCommand. + snippet_tags: + - dynamodb.JavaScript.movies.scanV3 + - sdk_version: 2 + github: javascript/example_code/dynamodb + sdkguide: sdk-for-javascript/v2/developer-guide/dynamodb-example-query-scan.html#dynamodb-example-table-query-scan-scanning + excerpts: + - description: + snippet_tags: + - dynamodb.JavaScript.table.scan + SAP ABAP: + versions: + - sdk_version: 1 + github: sap-abap/services/dyn + excerpts: + - description: + snippet_tags: + - dyn.abapv1.scan_items + Swift: + versions: + - sdk_version: 1 + github: swift/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - ddb.swift.import + - ddb.swift.basics.getmovies-range + Bash: + versions: + - sdk_version: 2 + github: aws-cli/bash-linux/dynamodb + excerpts: + - description: + snippet_tags: + - aws-cli.bash-linux.dynamodb.Scan + - description: The utility functions used in this example. + snippet_tags: + - aws-cli.bash-linux.dynamodb.errecho + - aws-cli.bash-linux.dynamodb.aws_cli_error_log + services: + dynamodb: {Scan} +dynamodb_ExecuteStatement: + languages: + .NET: + versions: + - sdk_version: 3 + github: dotnetv3/dynamodb + excerpts: + - description: Use an INSERT statement to add an item. + snippet_tags: + - PartiQL.dotnetv3.PartiQLBasicsScenario-InsertSingleMovie + - description: Use a SELECT statement to get an item. + snippet_tags: + - PartiQL.dotnetv3.PartiQLBasicsScenario-GetSingleMovie + - description: Use a SELECT statement to get a list of items. + snippet_tags: + - PartiQL.dotnetv3.PartiQLBasicsScenario-GetMovies + - description: Use an UPDATE statement to update an item. + snippet_tags: + - PartiQL.dotnetv3.PartiQLBasicsScenario-UpdateSingleMovie + - description: Use a DELETE statement to delete a single movie. + snippet_tags: + - PartiQL.dotnetv3.PartiQLBasicsScenario-DeleteSingleMovie + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: Define a function receiver struct for the example. + snippet_tags: + - gov2.dynamodb.PartiQLRunner.struct + - description: Use an INSERT statement to add an item. + snippet_tags: + - gov2.dynamodb.ExecuteStatement.Insert + - description: Use a SELECT statement to get an item. + snippet_tags: + - gov2.dynamodb.ExecuteStatement.Select + - description: Use a SELECT statement to get a list of items and project the results. + snippet_tags: + - gov2.dynamodb.ExecuteStatement.Select.Projected + - description: Use an UPDATE statement to update an item. + snippet_tags: + - gov2.dynamodb.ExecuteStatement.Update + - description: Use a DELETE statement to delete an item. + snippet_tags: + - gov2.dynamodb.ExecuteStatement.Delete + - description: Define a Movie struct that is used in this example. + snippet_tags: + - gov2.dynamodb.Movie.struct + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + excerpts: + - description: Create an item using PartiQL. + snippet_tags: + - dynamodb.JavaScript.partiQL.putItemV3 + - description: Get an item using PartiQL. + snippet_tags: + - dynamodb.JavaScript.partiQL.getItemV3 + - description: Update an item using PartiQL. + snippet_tags: + - dynamodb.JavaScript.partiQL.updateItemV3 + - description: Delete an item using PartiQL. + snippet_tags: + - dynamodb.JavaScript.partiQL.deleteItemV3 + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - php.example_code.dynamodb.service.insertItemByPartiQL + - php.example_code.dynamodb.service.getItemByPartiQL + - php.example_code.dynamodb.service.updateItemByPartiQL + - php.example_code.dynamodb.service.deleteItemByPartiQL + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - python.example_code.dynamodb.helper.PartiQLWrapper.class_decl + - python.example_code.dynamodb.ExecuteStatement + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + sdkguide: + excerpts: + - description: Select a single item using PartiQL. + snippet_tags: + - ruby.example_code.ruby.DynamoDBPartiQLSingle.decl + - ruby.example_code.dynamodb.partiql.single_select + - description: Update a single item using PartiQL. + snippet_tags: + - ruby.example_code.ruby.DynamoDBPartiQLSingle.decl + - ruby.example_code.dynamodb.partiql.single_update + - description: Add a single item using PartiQL. + snippet_tags: + - ruby.example_code.ruby.DynamoDBPartiQLSingle.decl + - ruby.example_code.dynamodb.partiql.single_insert + - description: Delete a single item using PartiQL. + snippet_tags: + - ruby.example_code.ruby.DynamoDBPartiQLSingle.decl + - ruby.example_code.dynamodb.partiql.single_delete + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + excerpts: + - description: Use an INSERT statement to add an item. + snippet_tags: + - cpp.example_code.dynamodb.ExecuteStatement.Insert + - description: Use a SELECT statement to get an item. + snippet_tags: + - cpp.example_code.dynamodb.ExecuteStatement.Select + - description: Use an UPDATE statement to update an item. + snippet_tags: + - cpp.example_code.dynamodb.ExecuteStatement.Update + - description: Use a DELETE statement to delete an item. + snippet_tags: + - cpp.example_code.dynamodb.ExecuteStatement.Delete + services: + dynamodb: {ExecuteStatement} +dynamodb_BatchExecuteStatement: + languages: + .NET: + versions: + - sdk_version: 3 + github: dotnetv3/dynamodb + excerpts: + - description: Use batches of INSERT statements to add items. + snippet_tags: + - PartiQL.dotnetv3.PartiQLBatchScenario-InsertMovies + - description: Use batches of SELECT statements to get items. + snippet_tags: + - PartiQL.dotnetv3.PartiQLBatchScenario-GetBatch + - description: Use batches of UPDATE statements to update items. + snippet_tags: + - PartiQL.dotnetv3.PartiQLBatchScenario-UpdateBatch + - description: Use batches of DELETE statements to delete items. + snippet_tags: + - PartiQL.dotnetv3.PartiQLBatchScenario-DeleteBatch + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: Define a function receiver struct for the example. + snippet_tags: + - gov2.dynamodb.PartiQLRunner.struct + - description: Use batches of INSERT statements to add items. + snippet_tags: + - gov2.dynamodb.BatchExecuteStatement.Insert + - description: Use batches of SELECT statements to get items. + snippet_tags: + - gov2.dynamodb.BatchExecuteStatement.Select + - description: Use batches of UPDATE statements to update items. + snippet_tags: + - gov2.dynamodb.BatchExecuteStatement.Update + - description: Use batches of DELETE statements to delete items. + snippet_tags: + - gov2.dynamodb.BatchExecuteStatement.Delete + - description: Define a Movie struct that is used in this example. + snippet_tags: + - gov2.dynamodb.Movie.struct + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + excerpts: + - description: Create a batch of items using PartiQL. + snippet_tags: + - dynamodb.JavaScript.partiQL.putItemsV3 + - description: Get a batch of items using PartiQL. + snippet_tags: + - dynamodb.JavaScript.partiQL.getItemsV3 + - description: Update a batch of items using PartiQL. + snippet_tags: + - dynamodb.JavaScript.partiQL.updateItemsV3 + - description: Delete a batch of items using PartiQL. + snippet_tags: + - dynamodb.JavaScript.partiQL.deleteItemsV3 + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - php.example_code.dynamodb.service.getItemByPartiQLBatch + - php.example_code.dynamodb.service.insertItemByPartiQLBatch + - php.example_code.dynamodb.service.updateItemByPartiQLBatch + - php.example_code.dynamodb.service.deleteItemByPartiQLBatch + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - python.example_code.dynamodb.helper.PartiQLBatchWrapper.class_decl + - python.example_code.dynamodb.BatchExecuteStatement + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + sdkguide: + excerpts: + - description: Read a batch of items using PartiQL. + snippet_tags: + - ruby.example_code.ruby.DynamoDBPartiQLBatch.decl + - ruby.example_code.dynamodb.partiql.batch_read + - description: Delete a batch of items using PartiQL. + snippet_tags: + - ruby.example_code.ruby.DynamoDBPartiQLBatch.decl + - ruby.example_code.dynamodb.partiql.batch_write + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + excerpts: + - description: Use batches of INSERT statements to add items. + snippet_tags: + - cpp.example_code.dynamodb.BatchExecuteStatement.Insert + - description: Use batches of SELECT statements to get items. + snippet_tags: + - cpp.example_code.dynamodb.BatchExecuteStatement.Select + - description: Use batches of UPDATE statements to update items. + snippet_tags: + - cpp.example_code.dynamodb.BatchExecuteStatement.Update + - description: Use batches of DELETE statements to delete items. + snippet_tags: + - cpp.example_code.dynamodb.BatchExecuteStatement.Delete + services: + dynamodb: {BatchExecuteStatement} +dynamodb_UpdateTable: + languages: + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - dynamodb.cpp.update_table.code + - description: Code that waits for the table to become active. + snippet_tags: + - cpp.example_code.dynamodb.scenario.waitTableActive + services: + dynamodb: {UpdateTable} +dynamodb_Usage_DaxDemo: + title: Accelerate &DDB; reads with &DAX; using an &AWS; SDK + title_abbrev: Accelerate reads with &DAX; + synopsis_list: + - Create and write data to a table with both the &DAX; and SDK clients. + - Get, query, and scan the table with both clients and compare their performance. + guide_topic: + title: Developing with the &DAXlong; Client + url: amazondynamodb/latest/developerguide/DAX.client.html + category: Scenarios + languages: + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb/TryDax + sdkguide: + excerpts: + - description: Create a table with either the &DAX; or Boto3 client. + snippet_tags: + - dynamodb.Python.TryDax.01-create-table + - description: Write test data to the table. + snippet_tags: + - dynamodb.Python.TryDax.02-write-data + - description: Get items for a number of iterations for both the &DAX; client and the Boto3 client and report + the time spent for each. + snippet_tags: + - dynamodb.Python.TryDax.03-getitem-test + - description: Query the table for a number of iterations for both the &DAX; client and the Boto3 client and report + the time spent for each. + snippet_tags: + - dynamodb.Python.TryDax.04-query-test + - description: Scan the table for a number of iterations for both the &DAX; client and the Boto3 client and report + the time spent for each. + snippet_tags: + - dynamodb.Python.TryDax.05-scan-test + - description: Delete the table. + snippet_tags: + - dynamodb.Python.TryDax.06-delete-table + services: + dynamodb: {CreateTable, PutItem, GetItem, Query, Scan, DeleteTable} +dynamodb_Scenario_GettingStartedMovies: + synopsis_list: + - Create a table that can hold movie data. + - Put, get, and update a single movie in the table. + - Write movie data to the table from a sample JSON file. + - Query for movies that were released in a given year. + - Scan for movies that were released in a range of years. + - Delete a movie from the table, then delete the table. + category: Basics + languages: + .NET: + versions: + - sdk_version: 4 + github: dotnetv4/DynamoDB + excerpts: + - description: + snippet_tags: + - DynamoDB.dotnetv4.DynamoDB_Basics_Scenario + - description: Creates a table to contain movie data. + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.CreateTable + - description: Adds a single movie to the table. + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.PutItem + - description: Updates a single item in a table. + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.UpdateItem + - description: Retrieves a single item from the movie table. + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.GetItem + - description: Writes a batch of items to the movie table. + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.BatchWriteItem + - description: Deletes a single item from the table. + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.DeleteItem + - description: Queries the table for movies released in a particular year. + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.QueryItems + - description: Scans the table for movies released in a range of years. + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.ScanTable + - description: Deletes the movie table. + snippet_tags: + - DynamoDB.dotnetv4.dynamodb-basics.DeleteTableExample + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: Run an interactive scenario to create the table and perform actions on it. + snippet_tags: + - gov2.dynamodb.Scenario_GettingStartedMovies + - description: Define a Movie struct that is used in this example. + snippet_tags: + - gov2.dynamodb.Movie.struct + - description: Create a struct and methods that call &DDB; actions. + snippet_tags: + - gov2.dynamodb.TableBasics.complete + Kotlin: + versions: + - sdk_version: 1 + github: kotlin/services/dynamodb + sdkguide: + excerpts: + - description: Create a &DDB; table. + snippet_tags: + - dynamodb.kotlin.scenario.create_table.main + - description: Create a helper function to download and extract the sample JSON file. + snippet_tags: + - dynamodb.kotlin.scenario.populate_table.main + - description: Get an item from a table. + snippet_tags: + - dynamodb.kotlin.scenario.get_item.main + - description: Full example. + snippet_tags: + - dynamodb.kotlin.scenario.main + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: Create a &DDB; table. + snippet_tags: + - dynamodb.java2.scenario.create_table.main + - description: Create a helper function to download and extract the sample JSON file. + snippet_tags: + - dynamodb.java2.scenario.populate_table.main + - description: Get an item from a table. + snippet_tags: + - dynamodb.java2.scenario.get_item.main + - description: Full example. + snippet_tags: + - dynamodb.java2.scenario.main + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: Because this example uses supporting files, be sure to read the guidance in the PHP examples README.md file. + snippet_tags: + - php.example_code.dynamodb.basics.scenario + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + sdkguide: + excerpts: + - description: Create a class that encapsulates a &DDB; table. + snippet_tags: + - python.example_code.dynamodb.helper.Movies.imports + - python.example_code.dynamodb.helper.Movies.class_full + - description: Create a helper function to download and extract the sample JSON file. + snippet_tags: + - python.example_code.dynamodb.helper.get_sample_movie_data + - description: Run an interactive scenario to create the table and perform actions on it. + snippet_tags: + - python.example_code.dynamodb.Scenario_GettingStartedMovies + - description: This scenario uses the following helper class to ask questions at a command prompt. + snippet_tags: + - python.example_code.dynamodb.helper.Question + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: Create a class that encapsulates a &DDB; table. + snippet_tags: + - ruby.example_code.dynamodb.CreateTable + - description: Create a helper function to download and extract the sample JSON file. + snippet_tags: + - ruby.example_code.dynamodb.helper.get_sample_movie_data + - description: Run an interactive scenario to create the table and perform actions on it. + snippet_tags: + - ruby.example_code.dynamodb.Scenario_Basics + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - javascript.dynamodb_scenarios.dynamodb_basics + SAP ABAP: + versions: + - sdk_version: 1 + github: sap-abap/services/dyn + excerpts: + - description: + snippet_tags: + - dyn.abapv1.getting_started_with_tables + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - cpp.example_code.dynamodb.Scenario_GettingStarted.main + - cpp.example_code.dynamodb.Scenario_GettingStarted + - cpp.example_code.dynamodb.scenario.createMoviesDynamoDBTable + - cpp.example_code.dynamodb.scenario.deleteMoviesDynamoDBTable + - cpp.example_code.dynamodb.scenario.waitTableActive + Swift: + versions: + - sdk_version: 1 + github: swift/example_code/dynamodb + excerpts: + - description: A Swift class that handles &DDB; calls to the &Swift;. + snippet_tags: + - ddb.swift.basics.movietable + - description: The structures used by the MovieTable class to represent movies. + snippet_tags: + - ddb.swift.basics.movie + - description: A program that uses the MovieTable class to access a &DDB; database. + snippet_tags: + - ddb.swift.basics + Bash: + versions: + - sdk_version: 2 + github: aws-cli/bash-linux/dynamodb + excerpts: + - description: The &DDB; getting started scenario. + snippet_tags: + - aws-cli.bash-linux.dynamodb.scenario_getting_started_movies + - description: The &DDB; functions used in this scenario. + snippet_tags: + - aws-cli.bash-linux.dynamodb.CreateTable + - aws-cli.bash-linux.dynamodb.DescribeTable + - aws-cli.bash-linux.dynamodb.PutItem + - aws-cli.bash-linux.dynamodb.UpdateItem + - aws-cli.bash-linux.dynamodb.BatchWriteItem + - aws-cli.bash-linux.dynamodb.GetItem + - aws-cli.bash-linux.dynamodb.Query + - aws-cli.bash-linux.dynamodb.Scan + - aws-cli.bash-linux.dynamodb.DeleteItem + - aws-cli.bash-linux.dynamodb.DeleteTable + - description: The utility functions used in this scenario. + snippet_tags: + - aws-cli.bash-linux.dynamodb.iecho + - aws-cli.bash-linux.dynamodb.errecho + - aws-cli.bash-linux.dynamodb.aws_cli_error_log + services: + dynamodb: {DescribeTable, CreateTable, BatchWriteItem, PutItem, GetItem, UpdateItem, DeleteItem, Query, Scan, DeleteTable} +dynamodb_Scenario_PartiQLSingle: + title: Query a &DDB; table using PartiQL and an &AWS; SDK + title_abbrev: Query a table using PartiQL + synopsis_list: + - Get an item by running a SELECT statement. + - Add an item by running an INSERT statement. + - Update an item by running an UPDATE statement. + - Delete an item by running a DELETE statement. + category: Scenarios + languages: + .NET: + versions: + - sdk_version: 3 + github: dotnetv3/dynamodb + excerpts: + - description: + snippet_tags: + - PartiQL.dotnetv3.PartiQLBasicsScenario-Complete + - PartiQL.dotnetv3.PartiQLBasicsScenario-GetSingleMovie + - PartiQL.dotnetv3.PartiQLBasicsScenario-InsertSingleMovie + - PartiQL.dotnetv3.PartiQLBasicsScenario-UpdateSingleMovie + - PartiQL.dotnetv3.PartiQLBasicsScenario-DeleteSingleMovie + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: Run a scenario that creates a table and runs PartiQL queries. + snippet_tags: + - gov2.dynamodb.Scenario_PartiQLSingle + - description: Define a Movie struct that is used in this example. + snippet_tags: + - gov2.dynamodb.Movie.struct + - description: Create a struct and methods that run PartiQL statements. + snippet_tags: + - gov2.dynamodb.PartiQLRunner.struct + - gov2.dynamodb.ExecuteStatement.Insert + - gov2.dynamodb.ExecuteStatement.Select + - gov2.dynamodb.ExecuteStatement.Update + - gov2.dynamodb.ExecuteStatement.Delete + Kotlin: + versions: + - sdk_version: 1 + github: kotlin/services/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.kotlin.scenario.partiql.main + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.java2.scenario.partiql.main + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + sdkguide: + excerpts: + - description: Execute single PartiQL statements. + snippet_tags: + - javascript.dynamodb_scenarios.partiQL_basics + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - php.example_code.dynamodb.partiql_basics.scenario + - php.example_code.dynamodb.service.insertItemByPartiQL + - php.example_code.dynamodb.service.getItemByPartiQL + - php.example_code.dynamodb.service.updateItemByPartiQL + - php.example_code.dynamodb.service.deleteItemByPartiQL + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + excerpts: + - description: Create a class that can run PartiQL statements. + snippet_tags: + - python.example_code.dynamodb.helper.PartiQLWrapper.imports + - python.example_code.dynamodb.helper.PartiQLWrapper.class_full + - description: Run a scenario that creates a table and runs PartiQL queries. + snippet_tags: + - python.example_code.dynamodb.Scenario_PartiQLSingle + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: Run a scenario that creates a table and runs PartiQL queries. + snippet_tags: + - ruby.example_code.dynamodb.Scenario_PartiQL_Single + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - cpp.example_code.dynamodb.Scenario_PartiQL_Single.main + - cpp.example_code.dynamodb.Scenario_PartiQL_Single + - cpp.example_code.dynamodb.scenario.createMoviesDynamoDBTable + - cpp.example_code.dynamodb.scenario.deleteMoviesDynamoDBTable + - cpp.example_code.dynamodb.scenario.waitTableActive + Rust: + versions: + - sdk_version: 1 + github: rustv1/examples/dynamodb + excerpts: + - description: + snippet_tags: + - dynamodb.rust.partiql-make_table + - dynamodb.rust.partiql-add_item + - dynamodb.rust.partiql-query_item + - dynamodb.rust.partiql-remove_item + - dynamodb.rust.partiql-remove_table + services: + dynamodb: {ExecuteStatement} +dynamodb_Scenario_PartiQLBatch: + title: Query a &DDB; table by using batches of PartiQL statements and an &AWS; SDK + title_abbrev: Query a table by using batches of PartiQL statements + synopsis_list: + - Get a batch of items by running multiple SELECT statements. + - Add a batch of items by running multiple INSERT statements. + - Update a batch of items by running multiple UPDATE statements. + - Delete a batch of items by running multiple DELETE statements. + category: Scenarios + languages: + .NET: + versions: + - sdk_version: 3 + github: dotnetv3/dynamodb + excerpts: + - description: + snippet_tags: + - PartiQL.dotnetv3.PartiQLBatchScenario + - PartiQL.dotnetv3.PartiQLBatchScenario-GetBatch + - PartiQL.dotnetv3.PartiQLBatchScenario-InsertMovies + - PartiQL.dotnetv3.PartiQLBatchScenario-UpdateBatch + - PartiQL.dotnetv3.PartiQLBatchScenario-DeleteBatch + Go: + versions: + - sdk_version: 2 + github: gov2/dynamodb + excerpts: + - description: Run a scenario that creates a table and runs batches of PartiQL queries. + snippet_tags: + - gov2.dynamodb.Scenario_PartiQLBatch + - description: Define a Movie struct that is used in this example. + snippet_tags: + - gov2.dynamodb.Movie.struct + - description: Create a struct and methods that run PartiQL statements. + snippet_tags: + - gov2.dynamodb.PartiQLRunner.struct + - gov2.dynamodb.BatchExecuteStatement.Insert + - gov2.dynamodb.BatchExecuteStatement.Select + - gov2.dynamodb.ExecuteStatement.Select.Projected + - gov2.dynamodb.BatchExecuteStatement.Update + - gov2.dynamodb.BatchExecuteStatement.Delete + Kotlin: + versions: + - sdk_version: 1 + github: kotlin/services/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.kotlin.scenario.partiql.batch.main + Java: + versions: + - sdk_version: 2 + github: javav2/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - dynamodb.java2.scenario.partiql.batch.main + JavaScript: + versions: + - sdk_version: 3 + github: javascriptv3/example_code/dynamodb + sdkguide: + excerpts: + - description: Execute batch PartiQL statements. + snippet_tags: + - javascript.dynamodb_scenarios.partiQL_batch_basics + PHP: + versions: + - sdk_version: 3 + github: php/example_code/dynamodb + excerpts: + - description: + snippet_tags: + - php.example_code.dynamodb.partiql_batch.scenario + - php.example_code.dynamodb.service.insertItemByPartiQLBatch + - php.example_code.dynamodb.service.getItemByPartiQLBatch + - php.example_code.dynamodb.service.updateItemByPartiQLBatch + - php.example_code.dynamodb.service.deleteItemByPartiQLBatch + Python: + versions: + - sdk_version: 3 + github: python/example_code/dynamodb + excerpts: + - description: Create a class that can run batches of PartiQL statements. + snippet_tags: + - python.example_code.dynamodb.helper.PartiQLBatchWrapper.imports + - python.example_code.dynamodb.helper.PartiQLBatchWrapper.class_full + - description: Run a scenario that creates a table and runs PartiQL queries in batches. + snippet_tags: + - python.example_code.dynamodb.Scenario_PartiQLBatch + Ruby: + versions: + - sdk_version: 3 + github: ruby/example_code/dynamodb + excerpts: + - description: Run a scenario that creates a table and runs batch PartiQL queries. + snippet_tags: + - ruby.example_code.dynamodb.Scenario_PartiQL_Batch + C++: + versions: + - sdk_version: 1 + github: cpp/example_code/dynamodb + sdkguide: + excerpts: + - description: + snippet_tags: + - cpp.example_code.dynamodb.Scenario_PartiQL_Batch.main + - cpp.example_code.dynamodb.Scenario_PartiQL_Batch + - cpp.example_code.dynamodb.scenario.createMoviesDynamoDBTable + - cpp.example_code.dynamodb.scenario.deleteMoviesDynamoDBTable + - cpp.example_code.dynamodb.scenario.waitTableActive + services: + dynamodb: {BatchExecuteStatement} +dynamodb_HighLevelInterface: + title: Use a high-level object persistence model for &DDB; using an &AWS; SDK + title_abbrev: Use a high-level object persistence model + synopsis: perform Create, Read, Update, and Delete (CRUD) and batch operations using an object persistence model for &DDB; + and an &AWS; SDK. + guide_topic: + title: Object persistence model + url: amazondynamodb/latest/developerguide/DotNetSDKHighLevel.html + category: Scenarios + languages: + .NET: + versions: + - sdk_version: 3 + github: dotnetv3/dynamodb/high-level-api + excerpts: + - description: Perform CRUD operations using a high-level object persistence model. + snippet_tags: + - dynamodb.dotnetv3.HighLevelItemCRUDExample + - description: Perform batch write operations using a high-level object persistence model. + snippet_tags: + - dynamodb.dotnetv3.HighLevelBatchWriteItemExample + - description: Map arbitrary data to a table using a high-level object persistence model. + snippet_tags: + - dynamodb.dotnetv3.HighLevelMappingArbitraryDataExample + - description: Query and scan a table using a high-level object persistence model. + snippet_tags: + - dynamodb.dotnetv3.HighLevelQueryAndScanExample + services: + dynamodb: {} +dynamodb_MidLevelInterface: + title: Use a document model for &DDB; using an &AWS; SDK + title_abbrev: Use a document model + synopsis: perform Create, Read, Update, and Delete (CRUD) and batch operations using a document model for &DDB; and an &AWS; + SDK. + guide_topic: + title: Document model + url: amazondynamodb/latest/developerguide/DotNetSDKMidLevel.html + category: Scenarios + languages: + .NET: + versions: + - sdk_version: 3 + github: dotnetv3/dynamodb/mid-level-api + excerpts: + - description: Perform CRUD operations using a document model. + snippet_tags: + - dynamodb.dotnetv3.MidlevelItemCRUDExample + - description: Perform batch write operations using a document model. + snippet_tags: + - dynamodb.dotnetv3.MidLevelBatchWriteItemExample + - description: Scan a table using a document model. + snippet_tags: + - dynamodb.dotnetv3.MidLevelScanOnlyExample + - description: Query and scan a table using a document model. + snippet_tags: + - dynamodb.dotnetv3.MidLevelQueryAndScanExample + services: + dynamodb: {} +dynamodb_local: + title: Connect to a local &DDB; instance using an &AWS; SDK + title_abbrev: Connect to a local instance + synopsis: override an endpoint URL to connect to a local development deployment of &DDB; and an &AWS; SDK. + guide_topic: + title: DynamoDB Local + url: amazondynamodb/latest/developerguide/DynamoDBLocal.html + category: Scenarios + languages: + Rust: + versions: + - sdk_version: 1 + github: rustv1/examples/dynamodb + excerpts: + - snippet_files: + - rustv1/examples/dynamodb/src/bin/list-tables-local.rs + services: + dynamodb: {} diff --git a/php/README.md b/php/README.md index 2127dbf9761..b16e9881b4b 100644 --- a/php/README.md +++ b/php/README.md @@ -22,8 +22,54 @@ Cross-service examples are located in the [*cross-services folder*](cross_servic * We recommend that you grant your code least privilege. At most, grant only the minimum permissions required to perform the task. For more information, see [Grant least privilege](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#grant-least-privilege). * This code is not tested in every AWS Region. For more information, see [AWS Regional Services](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services). +## Prerequisites -### Prerequisites +To run these code examples, you need: + +* [PHP](https://www.php.net/) version 8.1 or higher +* [Composer](https://getcomposer.org) for dependency management +* [PHPUnit](https://phpunit.de/) for unit testing +* The [AWS SDK for PHP](https://aws.amazon.com/sdk-for-php/) +* [AWS credentials](https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials.html) set up + +For more information, see [Getting Started](https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/getting-started_index.html) in the AWS SDK for PHP Developer Guide. + +## Set up the examples + +Some examples require supporting files from the GitHub repository in addition to the AWS SDK for PHP. For these examples: + +1. Clone, fork, or download the entire [aws-doc-sdk-examples repository](https://github.com/awsdocs/aws-doc-sdk-examples) from GitHub. + + You need the entire repository, not just individual files, so supporting files can be accessed by the examples. + +2. Install dependencies + + From the directory that contains the composer.json file for the example, run: + ```bash + composer install + ``` + +3. Run examples from within the repository structure and from the directory that contains the initiating code + + Run examples from within the cloned directory structure to ensure access to supporting files. + +## Run the examples + +By default, these code examples run using the default AWS credential provider chain, which includes using the AWS shared credentials and config files with a `default` profile. +For more information, about using AWS shared files and the `default` profile, see [Using shared config and credentials files to globally configure AWS SDKs and tools](https://docs.aws.amazon.com/sdkref/latest/guide/file-format.html) in the *AWS SDKs and Tools +Reference Guide*. + +Important: Running these code examples might result in charges to the AWS account associated with the AWS credentials being used. + +Many examples include a `Runner.php` file to abstract the logic from running the code. From any example directory with a Runner.php file, run: + +```bash +php Runner.php +``` + +--------- + +## Prerequisites To run or test these code examples, you need the following: - [PHP](https://www.php.net/) version 8.1 or higher @@ -31,13 +77,20 @@ To run or test these code examples, you need the following: - [PHPUnit](https://phpunit.de/), for unit testing - The [AWS SDK for PHP](https://aws.amazon.com/sdk-for-php/) - [AWS credentials](https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials.html) set up +- For examples that use supporting files that are available only in the GitHub repository +and not available for installation by Composer, you need to + - clone, fork, or download a zip of the entire [aws-doc-sdk-examples repository](https://github.com/awsdocs/aws-doc-sdk-examples) from GitHub. +You want the entire repository, not just indvidual files, so supporting files can be accessed by the examples. + - Run the example from within the directory structure and from within the directory that contains the composer.json file. + - Install the dependencies and configuration settings with Composer. For more information, see [Getting Started](https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/getting-started_index.html) in the *AWS SDK for PHP Developer Guide*. ## Run the code -By default, these code examples run using the default AWS credential provider chain, which includes using an AWS shared credentials file and profiles. -For more information, see [Using the AWS Credentials File and Credential Profiles](https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials_profiles.html) in the *AWS SDK for PHP Developer Guide*. +By default, these code examples run using the default AWS credential provider chain, which includes using the AWS shared credentials and config files with a `default` profile. +For more information, about using AWS shared files and the `default` profile, see [Using shared config and credentials files to globally configure AWS SDKs and tools](https://docs.aws.amazon.com/sdkref/latest/guide/file-format.html) in the *AWS SDKs and Tools +Reference Guide*. Running these code examples might result in charges to the AWS account that is associated with the AWS credentials being used. diff --git a/php/example_code/dynamodb/DynamoDBService.php b/php/example_code/dynamodb/DynamoDBService.php index 625d5c0eeae..3355177960a 100644 --- a/php/example_code/dynamodb/DynamoDBService.php +++ b/php/example_code/dynamodb/DynamoDBService.php @@ -17,8 +17,7 @@ class DynamoDBService extends AWSServiceClass public function __construct( DynamoDbClient $client = null, string $region = 'us-west-2', - string $version = 'latest', - string $profile = 'default' + string $version = 'latest' ) { if (gettype($client) == DynamoDbClient::class) { $this->dynamoDbClient = $client; @@ -27,7 +26,6 @@ public function __construct( $this->dynamoDbClient = new DynamoDbClient([ 'region' => $region, 'version' => $version, - 'profile' => $profile, 'http' => [ 'verify' => false, ], diff --git a/php/example_code/dynamodb/README.md b/php/example_code/dynamodb/README.md index b1891c57f40..04c750ea3ff 100644 --- a/php/example_code/dynamodb/README.md +++ b/php/example_code/dynamodb/README.md @@ -40,14 +40,14 @@ Code examples that show you how to perform the essential operations within a ser Code excerpts that show you how to call individual service functions. -- [BatchExecuteStatement](DynamoDBService.php#L319) -- [BatchWriteItem](DynamoDBService.php#L201) +- [BatchExecuteStatement](DynamoDBService.php#L317) +- [BatchWriteItem](DynamoDBService.php#L199) - [CreateTable](dynamodb_basics/GettingStartedWithDynamoDB.php#L52) - [DeleteItem](dynamodb_basics/GettingStartedWithDynamoDB.php#L148) -- [DeleteTable](DynamoDBService.php#L84) -- [ExecuteStatement](DynamoDBService.php#L263) +- [DeleteTable](DynamoDBService.php#L82) +- [ExecuteStatement](DynamoDBService.php#L261) - [GetItem](dynamodb_basics/GettingStartedWithDynamoDB.php#L131) -- [ListTables](DynamoDBService.php#L64) +- [ListTables](DynamoDBService.php#L62) - [PutItem](dynamodb_basics/GettingStartedWithDynamoDB.php#L67) - [Query](dynamodb_basics/GettingStartedWithDynamoDB.php#L158) - [Scan](dynamodb_basics/GettingStartedWithDynamoDB.php#L178) @@ -164,4 +164,4 @@ in the `php` folder. Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -SPDX-License-Identifier: Apache-2.0 \ No newline at end of file +SPDX-License-Identifier: Apache-2.0 diff --git a/php/example_code/dynamodb/dynamodb_basics/Runner.php b/php/example_code/dynamodb/dynamodb_basics/Runner.php index f396835a667..84030c4f1b4 100644 --- a/php/example_code/dynamodb/dynamodb_basics/Runner.php +++ b/php/example_code/dynamodb/dynamodb_basics/Runner.php @@ -4,7 +4,7 @@ use DynamoDb\Basics\GettingStartedWithDynamoDB; -include "vendor\autoload.php"; +include "vendor/autoload.php"; include "GettingStartedWithDynamoDB.php"; diff --git a/php/example_code/dynamodb/dynamodb_basics/composer.json b/php/example_code/dynamodb/dynamodb_basics/composer.json index 1a22e66f43f..ce8d94900d6 100644 --- a/php/example_code/dynamodb/dynamodb_basics/composer.json +++ b/php/example_code/dynamodb/dynamodb_basics/composer.json @@ -4,14 +4,14 @@ "guzzlehttp/guzzle": "^7.0" }, "autoload": { - "psr-0": { - "": "*" - }, + "files": [ + "../../aws_utilities/TestableReadline.php", + "../../aws_utilities/LoadMovieData.php" + ], "psr-4": { "DynamoDb\\": "../../dynamodb/", "DynamoDb\\Basics\\": "../../dynamodb/dynamodb_basics", "AwsUtilities\\": "../../aws_utilities" - }, - "files": ["../../aws_utilities/TestableReadline.php"] + } } } diff --git a/php/example_code/dynamodb/dynamodb_basics/composer.lock b/php/example_code/dynamodb/dynamodb_basics/composer.lock index 2759606e9c2..e5c9154f27f 100644 --- a/php/example_code/dynamodb/dynamodb_basics/composer.lock +++ b/php/example_code/dynamodb/dynamodb_basics/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "aws/aws-crt-php", - "version": "v1.2.4", + "version": "v1.2.7", "source": { "type": "git", "url": "https://github.com/awslabs/aws-crt-php.git", - "reference": "eb0c6e4e142224a10b08f49ebf87f32611d162b2" + "reference": "d71d9906c7bb63a28295447ba12e74723bd3730e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/eb0c6e4e142224a10b08f49ebf87f32611d162b2", - "reference": "eb0c6e4e142224a10b08f49ebf87f32611d162b2", + "url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/d71d9906c7bb63a28295447ba12e74723bd3730e", + "reference": "d71d9906c7bb63a28295447ba12e74723bd3730e", "shasum": "" }, "require": { @@ -56,22 +56,22 @@ ], "support": { "issues": "https://github.com/awslabs/aws-crt-php/issues", - "source": "https://github.com/awslabs/aws-crt-php/tree/v1.2.4" + "source": "https://github.com/awslabs/aws-crt-php/tree/v1.2.7" }, - "time": "2023-11-08T00:42:13+00:00" + "time": "2024-10-18T22:15:13+00:00" }, { "name": "aws/aws-sdk-php", - "version": "3.288.1", + "version": "3.356.18", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "a1dfa12c7165de0b731ae8074c4ba1f3ae733f89" + "reference": "af1bf3dee5e66cf9b3d5d2507b08d9465636df29" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/a1dfa12c7165de0b731ae8074c4ba1f3ae733f89", - "reference": "a1dfa12c7165de0b731ae8074c4ba1f3ae733f89", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/af1bf3dee5e66cf9b3d5d2507b08d9465636df29", + "reference": "af1bf3dee5e66cf9b3d5d2507b08d9465636df29", "shasum": "" }, "require": { @@ -79,31 +79,30 @@ "ext-json": "*", "ext-pcre": "*", "ext-simplexml": "*", - "guzzlehttp/guzzle": "^6.5.8 || ^7.4.5", - "guzzlehttp/promises": "^1.4.0 || ^2.0", - "guzzlehttp/psr7": "^1.9.1 || ^2.4.5", - "mtdowling/jmespath.php": "^2.6", - "php": ">=7.2.5", + "guzzlehttp/guzzle": "^7.4.5", + "guzzlehttp/promises": "^2.0", + "guzzlehttp/psr7": "^2.4.5", + "mtdowling/jmespath.php": "^2.8.0", + "php": ">=8.1", "psr/http-message": "^1.0 || ^2.0" }, "require-dev": { "andrewsville/php-token-reflection": "^1.4", "aws/aws-php-sns-message-validator": "~1.0", "behat/behat": "~3.0", - "composer/composer": "^1.10.22", + "composer/composer": "^2.7.8", "dms/phpunit-arraysubset-asserts": "^0.4.0", "doctrine/cache": "~1.4", "ext-dom": "*", "ext-openssl": "*", "ext-pcntl": "*", "ext-sockets": "*", - "nette/neon": "^2.3", - "paragonie/random_compat": ">= 2", "phpunit/phpunit": "^5.6.3 || ^8.5 || ^9.5", - "psr/cache": "^1.0", - "psr/simple-cache": "^1.0", - "sebastian/comparator": "^1.2.3 || ^4.0", - "yoast/phpunit-polyfills": "^1.0" + "psr/cache": "^2.0 || ^3.0", + "psr/simple-cache": "^2.0 || ^3.0", + "sebastian/comparator": "^1.2.3 || ^4.0 || ^5.0", + "symfony/filesystem": "^v6.4.0 || ^v7.1.0", + "yoast/phpunit-polyfills": "^2.0" }, "suggest": { "aws/aws-php-sns-message-validator": "To validate incoming SNS notifications", @@ -124,7 +123,10 @@ ], "psr-4": { "Aws\\": "src/" - } + }, + "exclude-from-classmap": [ + "src/data/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -149,30 +151,30 @@ "sdk" ], "support": { - "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", + "forum": "https://github.com/aws/aws-sdk-php/discussions", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.288.1" + "source": "https://github.com/aws/aws-sdk-php/tree/3.356.18" }, - "time": "2023-11-22T19:35:38+00:00" + "time": "2025-09-15T18:21:28+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "7.8.1", + "version": "7.10.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "41042bc7ab002487b876a0683fc8dce04ddce104" + "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104", - "reference": "41042bc7ab002487b876a0683fc8dce04ddce104", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", + "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5.3 || ^2.0.1", - "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", + "guzzlehttp/promises": "^2.3", + "guzzlehttp/psr7": "^2.8", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -183,9 +185,9 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", - "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "guzzle/client-integration-tests": "3.0.2", "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -263,7 +265,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.8.1" + "source": "https://github.com/guzzle/guzzle/tree/7.10.0" }, "funding": [ { @@ -279,20 +281,20 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:35:24+00:00" + "time": "2025-08-23T22:36:01+00:00" }, { "name": "guzzlehttp/promises", - "version": "2.0.2", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223" + "reference": "481557b130ef3790cf82b713667b43030dc9c957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223", - "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223", + "url": "https://api.github.com/repos/guzzle/promises/zipball/481557b130ef3790cf82b713667b43030dc9c957", + "reference": "481557b130ef3790cf82b713667b43030dc9c957", "shasum": "" }, "require": { @@ -300,7 +302,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.36 || ^9.6.15" + "phpunit/phpunit": "^8.5.44 || ^9.6.25" }, "type": "library", "extra": { @@ -346,7 +348,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.0.2" + "source": "https://github.com/guzzle/promises/tree/2.3.0" }, "funding": [ { @@ -362,20 +364,20 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:19:20+00:00" + "time": "2025-08-22T14:34:08+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.6.2", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221" + "reference": "21dc724a0583619cd1652f673303492272778051" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221", - "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/21dc724a0583619cd1652f673303492272778051", + "reference": "21dc724a0583619cd1652f673303492272778051", "shasum": "" }, "require": { @@ -390,8 +392,8 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.36 || ^9.6.15" + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.44 || ^9.6.25" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" @@ -462,7 +464,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.6.2" + "source": "https://github.com/guzzle/psr7/tree/2.8.0" }, "funding": [ { @@ -478,20 +480,20 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:05:35+00:00" + "time": "2025-08-23T21:21:41+00:00" }, { "name": "mtdowling/jmespath.php", - "version": "2.7.0", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/jmespath/jmespath.php.git", - "reference": "bbb69a935c2cbb0c03d7f481a238027430f6440b" + "reference": "a2a865e05d5f420b50cc2f85bb78d565db12a6bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/bbb69a935c2cbb0c03d7f481a238027430f6440b", - "reference": "bbb69a935c2cbb0c03d7f481a238027430f6440b", + "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/a2a865e05d5f420b50cc2f85bb78d565db12a6bc", + "reference": "a2a865e05d5f420b50cc2f85bb78d565db12a6bc", "shasum": "" }, "require": { @@ -508,7 +510,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "2.8-dev" } }, "autoload": { @@ -542,9 +544,9 @@ ], "support": { "issues": "https://github.com/jmespath/jmespath.php/issues", - "source": "https://github.com/jmespath/jmespath.php/tree/2.7.0" + "source": "https://github.com/jmespath/jmespath.php/tree/2.8.0" }, - "time": "2023-08-25T10:54:48+00:00" + "time": "2024-09-04T18:46:31+00:00" }, { "name": "psr/http-client", @@ -600,20 +602,20 @@ }, { "name": "psr/http-factory", - "version": "1.0.2", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/php-fig/http-factory.git", - "reference": "e616d01114759c4c489f93b099585439f795fe35" + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35", - "reference": "e616d01114759c4c489f93b099585439f795fe35", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", "shasum": "" }, "require": { - "php": ">=7.0.0", + "php": ">=7.1", "psr/http-message": "^1.0 || ^2.0" }, "type": "library", @@ -637,7 +639,7 @@ "homepage": "https://www.php-fig.org/" } ], - "description": "Common interfaces for PSR-7 HTTP message factories", + "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", "keywords": [ "factory", "http", @@ -649,9 +651,9 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-factory/tree/1.0.2" + "source": "https://github.com/php-fig/http-factory" }, - "time": "2023-04-10T20:10:41+00:00" + "time": "2024-04-15T12:06:14+00:00" }, { "name": "psr/http-message", @@ -752,29 +754,29 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.2", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.1" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "2.5-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.6-dev" } }, "autoload": { @@ -799,7 +801,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" }, "funding": [ { @@ -815,24 +817,25 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.28.0", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "42292d99c55abe617799667f454222c54c60e229" + "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", - "reference": "42292d99c55abe617799667f454222c54c60e229", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", + "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", "shasum": "" }, "require": { - "php": ">=7.1" + "ext-iconv": "*", + "php": ">=7.2" }, "provide": { "ext-mbstring": "*" @@ -842,12 +845,9 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -882,7 +882,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" }, "funding": [ { @@ -893,21 +893,25 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2023-07-28T09:04:16+00:00" + "time": "2024-12-23T08:48:59+00:00" } ], "packages-dev": [], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, - "platform": [], - "platform-dev": [], + "platform": {}, + "platform-dev": {}, "plugin-api-version": "2.6.0" }