Skip to content

Commit

Permalink
Merge branch 'main' into presigned-urls
Browse files Browse the repository at this point in the history
  • Loading branch information
beqqrry-aws authored Nov 7, 2024
2 parents c6be911 + c0cfd20 commit b618b9e
Show file tree
Hide file tree
Showing 282 changed files with 7,642 additions and 3,474 deletions.
8 changes: 7 additions & 1 deletion .doc_gen/cross-content/phrases-code-examples.ent
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,10 @@

<!-- Marketplace Catalog Service -->
<!ENTITY MKTCataloglong '&MKTlong; Catalog API'>
<!ENTITY MKTCatalog '&MKT; Catalog API'>
<!ENTITY MKTCatalog '&MKT; Catalog API'>

<!-- JavaScript runtimes for CloudFront Functions -->
<!ENTITY CFJS10long 'JavaScript runtime 1.0 for &CFlong; Functions'>
<!ENTITY CFJS10 'JavaScript runtime 1.0 for &CF; Functions'>
<!ENTITY CFJS20long 'JavaScript runtime 2.0 for &CFlong; Functions'>
<!ENTITY CFJS20 'JavaScript runtime 2.0 for &CF; Functions'>
14 changes: 13 additions & 1 deletion .doc_gen/metadata/bedrock-agent-runtime_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,22 @@ bedrock-agent-runtime_InvokeAgent:
versions:
- sdk_version: 3
github: javascriptv3/example_code/bedrock-agent-runtime
sdkguide:
excerpts:
- description:
snippet_files:
- javascriptv3/example_code/bedrock-agent-runtime/actions/invoke-agent.js
services:
bedrock-agent-runtime: {InvokeAgent}

bedrock-agent-runtime_InvokeFlow:
languages:
JavaScript:
versions:
- sdk_version: 3
github: javascriptv3/example_code/bedrock-agent-runtime
excerpts:
- description:
snippet_files:
- javascriptv3/example_code/bedrock-agent-runtime/actions/invoke-flow.js
services:
bedrock-agent-runtime: {InvokeFlow}
6 changes: 6 additions & 0 deletions .doc_gen/metadata/bedrock-runtime_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ bedrock-runtime_InvokeModel_Ai21LabsJurassic2:
excerpts:
- description: Use the Invoke Model API to send a text message.
snippet_tags:
- gov2.bedrock-runtime.InvokeModelWrapper.struct
- gov2.bedrock-runtime.InvokeJurassic2
JavaScript:
versions:
Expand Down Expand Up @@ -620,6 +621,7 @@ bedrock-runtime_InvokeModel_TitanText:
excerpts:
- description: Use the Invoke Model API to send a text message.
snippet_tags:
- gov2.bedrock-runtime.InvokeModelWrapper.struct
- gov2.bedrock-runtime.InvokeTitanText
services:
bedrock-runtime: {InvokeModel}
Expand Down Expand Up @@ -669,6 +671,7 @@ bedrock-runtime_InvokeModel_AnthropicClaude:
excerpts:
- description: Invoke the Anthropic Claude 2 foundation model to generate text.
snippet_tags:
- gov2.bedrock-runtime.InvokeModelWrapper.struct
- gov2.bedrock-runtime.InvokeClaude
PHP:
versions:
Expand Down Expand Up @@ -799,6 +802,7 @@ bedrock-runtime_InvokeModel_MetaLlama2:
excerpts:
- description: Use the Invoke Model API to send a text message.
snippet_tags:
- gov2.bedrock-runtime.InvokeModelWrapper.struct
- gov2.bedrock-runtime.InvokeLlama2
JavaScript:
versions:
Expand Down Expand Up @@ -972,6 +976,7 @@ bedrock-runtime_InvokeModelWithResponseStream_AnthropicClaude:
excerpts:
- description: Use the Invoke Model API to send a text message and process the response stream in real-time.
snippet_tags:
- gov2.bedrock-runtime.InvokeModelWrapper.struct
- gov2.bedrock-runtime.InvokeModelWithResponseStream
JavaScript:
versions:
Expand Down Expand Up @@ -1195,6 +1200,7 @@ bedrock-runtime_InvokeModel_TitanImageGenerator:
excerpts:
- description: Create an image with the Amazon Titan Image Generator.
snippet_tags:
- gov2.bedrock-runtime.InvokeModelWrapper.struct
- gov2.bedrock-runtime.InvokeTitanImage
PHP:
versions:
Expand Down
20 changes: 20 additions & 0 deletions .doc_gen/metadata/dynamodb_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ dynamodb_BatchWriteItem:
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:
Expand Down Expand Up @@ -643,6 +645,8 @@ dynamodb_PutItem:
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:
Expand Down Expand Up @@ -780,6 +784,8 @@ dynamodb_GetItem:
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:
Expand Down Expand Up @@ -908,6 +914,8 @@ dynamodb_UpdateItem:
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:
Expand Down Expand Up @@ -1024,6 +1032,8 @@ dynamodb_DeleteItem:
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:
Expand Down Expand Up @@ -1309,6 +1319,8 @@ dynamodb_Query:
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:
Expand Down Expand Up @@ -1448,6 +1460,8 @@ dynamodb_Scan:
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:
Expand Down Expand Up @@ -1578,6 +1592,9 @@ dynamodb_ExecuteStatement:
- 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
Expand Down Expand Up @@ -1699,6 +1716,9 @@ dynamodb_BatchExecuteStatement:
- 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
Expand Down
62 changes: 62 additions & 0 deletions .doc_gen/metadata/ec2_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1570,6 +1570,19 @@ ec2_DescribeInstances:
- aws-cli.bash-linux.ec2.aws_cli_error_log
services:
ec2: {DescribeInstances}
ec2_DescribeRouteTables:
languages:
PHP:
versions:
- sdk_version: 3
github: php/example_code/ec2
sdkguide:
excerpts:
- description:
snippet_tags:
- php.example_code.ec2.service.describeRouteTables
services:
ec2: {DescribeRouteTables}
ec2_DescribeRegions:
languages:
Rust:
Expand Down Expand Up @@ -1971,6 +1984,16 @@ ec2_CreateSubnet:
ec2: {CreateSubnet}
ec2_CreateVpc:
languages:
PHP:
versions:
- sdk_version: 3
github: php/example_code/ec2
sdkguide:
excerpts:
- description:
snippet_tags:
- php.example_code.ec2.service.createVpc

Ruby:
versions:
- sdk_version: 3
Expand All @@ -1982,6 +2005,45 @@ ec2_CreateVpc:
- ec2.Ruby.createVpc
services:
ec2: {CreateVpc}
ec2_DeleteVpc:
languages:
PHP:
versions:
- sdk_version: 3
github: php/example_code/ec2
sdkguide:
excerpts:
- description:
snippet_tags:
- php.example_code.ec2.service.deleteVpc
services:
ec2: {DeleteVpc}
ec2_CreateVpcEndpoint:
languages:
PHP:
versions:
- sdk_version: 3
github: php/example_code/ec2
sdkguide:
excerpts:
- description:
snippet_tags:
- php.example_code.ec2.service.createVpcEndpoint
services:
ec2: {CreateVpcEndpoint}
ec2_DeleteVpcEndpoint:
languages:
PHP:
versions:
- sdk_version: 3
github: php/example_code/ec2
sdkguide:
excerpts:
- description:
snippet_tags:
- php.example_code.ec2.service.deleteVpcEndpoint
services:
ec2: {DeleteVpcEndpoint}
ec2_DescribeIamInstanceProfileAssociations:
languages:
.NET:
Expand Down
36 changes: 29 additions & 7 deletions .doc_gen/metadata/lambda_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ lambda_Hello:
excerpts:
- description:
snippet_tags:
- lambda.java2.ListLambdaFunctions.complete
- lambda.java2.list.main
.NET:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -384,6 +384,15 @@ lambda_Invoke:
lambda: {Invoke}
lambda_GetFunction:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/lambda
sdkguide:
excerpts:
- description:
snippet_tags:
- lambda.java2.get.function.main
.NET:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -469,6 +478,15 @@ lambda_GetFunction:
lambda: {GetFunction}
lambda_UpdateFunctionCode:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/lambda
sdkguide:
excerpts:
- description:
snippet_tags:
- lambda.java2.get.function.main
.NET:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -555,6 +573,15 @@ lambda_UpdateFunctionCode:
lambda: {UpdateFunctionCode}
lambda_UpdateFunctionConfiguration:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/lambda
sdkguide:
excerpts:
- description:
snippet_tags:
- lambda.java2.update.config.main
.NET:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -724,15 +751,13 @@ lambda_ListFunctions:
services:
lambda: {ListFunctions}
lambda_Scenario_GettingStartedFunctions:
title: Get started creating and invoking &LAM; functions using an &AWS; SDK
title_abbrev: Get started with functions
synopsis_list:
- Create an &IAM; role and &LAM; function, then upload handler code.
- Invoke the function with a single parameter and get results.
- Update the function code and configure with an environment variable.
- Invoke the function with new parameters and get results. Display the returned execution log.
- List the functions for your account, then clean up resources.
category: Scenarios
category: Basics
guide_topic:
title: Create a &LAM; function with the console
url: lambda/latest/dg/getting-started-create-function.html
Expand Down Expand Up @@ -769,9 +794,6 @@ lambda_Scenario_GettingStartedFunctions:
- description: Create a struct that wraps individual &LAM; actions.
snippet_tags:
- gov2.lambda.FunctionWrapper.complete
- description: Create a struct that implements functions to help run the scenario.
snippet_tags:
- gov2.lambda.GetStartedFunctions_Helper
- description: Define a &LAM; handler that increments a number.
snippet_tags:
- gov2.lambda.handlers.increment
Expand Down
Loading

0 comments on commit b618b9e

Please sign in to comment.