Skip to content

Commit b618b9e

Browse files
authored
Merge branch 'main' into presigned-urls
2 parents c6be911 + c0cfd20 commit b618b9e

File tree

282 files changed

+7642
-3474
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

282 files changed

+7642
-3474
lines changed

.doc_gen/cross-content/phrases-code-examples.ent

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,10 @@
151151

152152
<!-- Marketplace Catalog Service -->
153153
<!ENTITY MKTCataloglong '&MKTlong; Catalog API'>
154-
<!ENTITY MKTCatalog '&MKT; Catalog API'>
154+
<!ENTITY MKTCatalog '&MKT; Catalog API'>
155+
156+
<!-- JavaScript runtimes for CloudFront Functions -->
157+
<!ENTITY CFJS10long 'JavaScript runtime 1.0 for &CFlong; Functions'>
158+
<!ENTITY CFJS10 'JavaScript runtime 1.0 for &CF; Functions'>
159+
<!ENTITY CFJS20long 'JavaScript runtime 2.0 for &CFlong; Functions'>
160+
<!ENTITY CFJS20 'JavaScript runtime 2.0 for &CF; Functions'>

.doc_gen/metadata/bedrock-agent-runtime_metadata.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,22 @@ bedrock-agent-runtime_InvokeAgent:
1313
versions:
1414
- sdk_version: 3
1515
github: javascriptv3/example_code/bedrock-agent-runtime
16-
sdkguide:
1716
excerpts:
1817
- description:
1918
snippet_files:
2019
- javascriptv3/example_code/bedrock-agent-runtime/actions/invoke-agent.js
2120
services:
2221
bedrock-agent-runtime: {InvokeAgent}
22+
23+
bedrock-agent-runtime_InvokeFlow:
24+
languages:
25+
JavaScript:
26+
versions:
27+
- sdk_version: 3
28+
github: javascriptv3/example_code/bedrock-agent-runtime
29+
excerpts:
30+
- description:
31+
snippet_files:
32+
- javascriptv3/example_code/bedrock-agent-runtime/actions/invoke-flow.js
33+
services:
34+
bedrock-agent-runtime: {InvokeFlow}

.doc_gen/metadata/bedrock-runtime_metadata.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ bedrock-runtime_InvokeModel_Ai21LabsJurassic2:
555555
excerpts:
556556
- description: Use the Invoke Model API to send a text message.
557557
snippet_tags:
558+
- gov2.bedrock-runtime.InvokeModelWrapper.struct
558559
- gov2.bedrock-runtime.InvokeJurassic2
559560
JavaScript:
560561
versions:
@@ -620,6 +621,7 @@ bedrock-runtime_InvokeModel_TitanText:
620621
excerpts:
621622
- description: Use the Invoke Model API to send a text message.
622623
snippet_tags:
624+
- gov2.bedrock-runtime.InvokeModelWrapper.struct
623625
- gov2.bedrock-runtime.InvokeTitanText
624626
services:
625627
bedrock-runtime: {InvokeModel}
@@ -669,6 +671,7 @@ bedrock-runtime_InvokeModel_AnthropicClaude:
669671
excerpts:
670672
- description: Invoke the Anthropic Claude 2 foundation model to generate text.
671673
snippet_tags:
674+
- gov2.bedrock-runtime.InvokeModelWrapper.struct
672675
- gov2.bedrock-runtime.InvokeClaude
673676
PHP:
674677
versions:
@@ -799,6 +802,7 @@ bedrock-runtime_InvokeModel_MetaLlama2:
799802
excerpts:
800803
- description: Use the Invoke Model API to send a text message.
801804
snippet_tags:
805+
- gov2.bedrock-runtime.InvokeModelWrapper.struct
802806
- gov2.bedrock-runtime.InvokeLlama2
803807
JavaScript:
804808
versions:
@@ -972,6 +976,7 @@ bedrock-runtime_InvokeModelWithResponseStream_AnthropicClaude:
972976
excerpts:
973977
- description: Use the Invoke Model API to send a text message and process the response stream in real-time.
974978
snippet_tags:
979+
- gov2.bedrock-runtime.InvokeModelWrapper.struct
975980
- gov2.bedrock-runtime.InvokeModelWithResponseStream
976981
JavaScript:
977982
versions:
@@ -1195,6 +1200,7 @@ bedrock-runtime_InvokeModel_TitanImageGenerator:
11951200
excerpts:
11961201
- description: Create an image with the Amazon Titan Image Generator.
11971202
snippet_tags:
1203+
- gov2.bedrock-runtime.InvokeModelWrapper.struct
11981204
- gov2.bedrock-runtime.InvokeTitanImage
11991205
PHP:
12001206
versions:

.doc_gen/metadata/dynamodb_metadata.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ dynamodb_BatchWriteItem:
394394
snippet_tags:
395395
- gov2.dynamodb.TableBasics.struct
396396
- gov2.dynamodb.BatchWriteItem
397+
- description: Define a Movie struct that is used in this example.
398+
snippet_tags:
397399
- gov2.dynamodb.Movie.struct
398400
Java:
399401
versions:
@@ -643,6 +645,8 @@ dynamodb_PutItem:
643645
snippet_tags:
644646
- gov2.dynamodb.TableBasics.struct
645647
- gov2.dynamodb.PutItem
648+
- description: Define a Movie struct that is used in this example.
649+
snippet_tags:
646650
- gov2.dynamodb.Movie.struct
647651
Kotlin:
648652
versions:
@@ -780,6 +784,8 @@ dynamodb_GetItem:
780784
snippet_tags:
781785
- gov2.dynamodb.TableBasics.struct
782786
- gov2.dynamodb.GetItem
787+
- description: Define a Movie struct that is used in this example.
788+
snippet_tags:
783789
- gov2.dynamodb.Movie.struct
784790
Kotlin:
785791
versions:
@@ -908,6 +914,8 @@ dynamodb_UpdateItem:
908914
snippet_tags:
909915
- gov2.dynamodb.TableBasics.struct
910916
- gov2.dynamodb.UpdateItem
917+
- description: Define a Movie struct that is used in this example.
918+
snippet_tags:
911919
- gov2.dynamodb.Movie.struct
912920
Kotlin:
913921
versions:
@@ -1024,6 +1032,8 @@ dynamodb_DeleteItem:
10241032
snippet_tags:
10251033
- gov2.dynamodb.TableBasics.struct
10261034
- gov2.dynamodb.DeleteItem
1035+
- description: Define a Movie struct that is used in this example.
1036+
snippet_tags:
10271037
- gov2.dynamodb.Movie.struct
10281038
Kotlin:
10291039
versions:
@@ -1309,6 +1319,8 @@ dynamodb_Query:
13091319
snippet_tags:
13101320
- gov2.dynamodb.TableBasics.struct
13111321
- gov2.dynamodb.Query
1322+
- description: Define a Movie struct that is used in this example.
1323+
snippet_tags:
13121324
- gov2.dynamodb.Movie.struct
13131325
Kotlin:
13141326
versions:
@@ -1448,6 +1460,8 @@ dynamodb_Scan:
14481460
snippet_tags:
14491461
- gov2.dynamodb.TableBasics.struct
14501462
- gov2.dynamodb.Scan
1463+
- description: Define a Movie struct that is used in this example.
1464+
snippet_tags:
14511465
- gov2.dynamodb.Movie.struct
14521466
Kotlin:
14531467
versions:
@@ -1578,6 +1592,9 @@ dynamodb_ExecuteStatement:
15781592
- sdk_version: 2
15791593
github: gov2/dynamodb
15801594
excerpts:
1595+
- description: Define a function receiver struct for the example.
1596+
snippet_tags:
1597+
- gov2.dynamodb.PartiQLRunner.struct
15811598
- description: Use an INSERT statement to add an item.
15821599
snippet_tags:
15831600
- gov2.dynamodb.ExecuteStatement.Insert
@@ -1699,6 +1716,9 @@ dynamodb_BatchExecuteStatement:
16991716
- sdk_version: 2
17001717
github: gov2/dynamodb
17011718
excerpts:
1719+
- description: Define a function receiver struct for the example.
1720+
snippet_tags:
1721+
- gov2.dynamodb.PartiQLRunner.struct
17021722
- description: Use batches of INSERT statements to add items.
17031723
snippet_tags:
17041724
- gov2.dynamodb.BatchExecuteStatement.Insert

.doc_gen/metadata/ec2_metadata.yaml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,6 +1570,19 @@ ec2_DescribeInstances:
15701570
- aws-cli.bash-linux.ec2.aws_cli_error_log
15711571
services:
15721572
ec2: {DescribeInstances}
1573+
ec2_DescribeRouteTables:
1574+
languages:
1575+
PHP:
1576+
versions:
1577+
- sdk_version: 3
1578+
github: php/example_code/ec2
1579+
sdkguide:
1580+
excerpts:
1581+
- description:
1582+
snippet_tags:
1583+
- php.example_code.ec2.service.describeRouteTables
1584+
services:
1585+
ec2: {DescribeRouteTables}
15731586
ec2_DescribeRegions:
15741587
languages:
15751588
Rust:
@@ -1971,6 +1984,16 @@ ec2_CreateSubnet:
19711984
ec2: {CreateSubnet}
19721985
ec2_CreateVpc:
19731986
languages:
1987+
PHP:
1988+
versions:
1989+
- sdk_version: 3
1990+
github: php/example_code/ec2
1991+
sdkguide:
1992+
excerpts:
1993+
- description:
1994+
snippet_tags:
1995+
- php.example_code.ec2.service.createVpc
1996+
19741997
Ruby:
19751998
versions:
19761999
- sdk_version: 3
@@ -1982,6 +2005,45 @@ ec2_CreateVpc:
19822005
- ec2.Ruby.createVpc
19832006
services:
19842007
ec2: {CreateVpc}
2008+
ec2_DeleteVpc:
2009+
languages:
2010+
PHP:
2011+
versions:
2012+
- sdk_version: 3
2013+
github: php/example_code/ec2
2014+
sdkguide:
2015+
excerpts:
2016+
- description:
2017+
snippet_tags:
2018+
- php.example_code.ec2.service.deleteVpc
2019+
services:
2020+
ec2: {DeleteVpc}
2021+
ec2_CreateVpcEndpoint:
2022+
languages:
2023+
PHP:
2024+
versions:
2025+
- sdk_version: 3
2026+
github: php/example_code/ec2
2027+
sdkguide:
2028+
excerpts:
2029+
- description:
2030+
snippet_tags:
2031+
- php.example_code.ec2.service.createVpcEndpoint
2032+
services:
2033+
ec2: {CreateVpcEndpoint}
2034+
ec2_DeleteVpcEndpoint:
2035+
languages:
2036+
PHP:
2037+
versions:
2038+
- sdk_version: 3
2039+
github: php/example_code/ec2
2040+
sdkguide:
2041+
excerpts:
2042+
- description:
2043+
snippet_tags:
2044+
- php.example_code.ec2.service.deleteVpcEndpoint
2045+
services:
2046+
ec2: {DeleteVpcEndpoint}
19852047
ec2_DescribeIamInstanceProfileAssociations:
19862048
languages:
19872049
.NET:

.doc_gen/metadata/lambda_metadata.yaml

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ lambda_Hello:
1313
excerpts:
1414
- description:
1515
snippet_tags:
16-
- lambda.java2.ListLambdaFunctions.complete
16+
- lambda.java2.list.main
1717
.NET:
1818
versions:
1919
- sdk_version: 3
@@ -384,6 +384,15 @@ lambda_Invoke:
384384
lambda: {Invoke}
385385
lambda_GetFunction:
386386
languages:
387+
Java:
388+
versions:
389+
- sdk_version: 2
390+
github: javav2/example_code/lambda
391+
sdkguide:
392+
excerpts:
393+
- description:
394+
snippet_tags:
395+
- lambda.java2.get.function.main
387396
.NET:
388397
versions:
389398
- sdk_version: 3
@@ -469,6 +478,15 @@ lambda_GetFunction:
469478
lambda: {GetFunction}
470479
lambda_UpdateFunctionCode:
471480
languages:
481+
Java:
482+
versions:
483+
- sdk_version: 2
484+
github: javav2/example_code/lambda
485+
sdkguide:
486+
excerpts:
487+
- description:
488+
snippet_tags:
489+
- lambda.java2.get.function.main
472490
.NET:
473491
versions:
474492
- sdk_version: 3
@@ -555,6 +573,15 @@ lambda_UpdateFunctionCode:
555573
lambda: {UpdateFunctionCode}
556574
lambda_UpdateFunctionConfiguration:
557575
languages:
576+
Java:
577+
versions:
578+
- sdk_version: 2
579+
github: javav2/example_code/lambda
580+
sdkguide:
581+
excerpts:
582+
- description:
583+
snippet_tags:
584+
- lambda.java2.update.config.main
558585
.NET:
559586
versions:
560587
- sdk_version: 3
@@ -724,15 +751,13 @@ lambda_ListFunctions:
724751
services:
725752
lambda: {ListFunctions}
726753
lambda_Scenario_GettingStartedFunctions:
727-
title: Get started creating and invoking &LAM; functions using an &AWS; SDK
728-
title_abbrev: Get started with functions
729754
synopsis_list:
730755
- Create an &IAM; role and &LAM; function, then upload handler code.
731756
- Invoke the function with a single parameter and get results.
732757
- Update the function code and configure with an environment variable.
733758
- Invoke the function with new parameters and get results. Display the returned execution log.
734759
- List the functions for your account, then clean up resources.
735-
category: Scenarios
760+
category: Basics
736761
guide_topic:
737762
title: Create a &LAM; function with the console
738763
url: lambda/latest/dg/getting-started-create-function.html
@@ -769,9 +794,6 @@ lambda_Scenario_GettingStartedFunctions:
769794
- description: Create a struct that wraps individual &LAM; actions.
770795
snippet_tags:
771796
- gov2.lambda.FunctionWrapper.complete
772-
- description: Create a struct that implements functions to help run the scenario.
773-
snippet_tags:
774-
- gov2.lambda.GetStartedFunctions_Helper
775797
- description: Define a &LAM; handler that increments a number.
776798
snippet_tags:
777799
- gov2.lambda.handlers.increment

0 commit comments

Comments
 (0)