Skip to content

Commit 2fe5ccf

Browse files
authored
Merge branch 'main' into saas-doc-updates
2 parents 631c33a + 4f01d5e commit 2fe5ccf

File tree

165 files changed

+109114
-1347
lines changed

Some content is hidden

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

165 files changed

+109114
-1347
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ bedrock-agent-runtime_InvokeAgent:
2525
- description:
2626
snippet_tags:
2727
- bdz.abapv1.invokeagent
28+
Rust:
29+
versions:
30+
- sdk_version: 1
31+
github: rustv1/examples/bedrock-agent-runtime
32+
excerpts:
33+
- description:
34+
snippet_files:
35+
- rustv1/examples/bedrock-agent-runtime/src/bin/invoke-agent.rs
2836
services:
2937
bedrock-agent-runtime: {InvokeAgent}
3038

.doc_gen/metadata/bedrock-agent_metadata.yaml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,3 +521,68 @@ bedrock-agent_GettingStartedWithBedrockPrompts:
521521
services:
522522
bedrock-agent: {CreatePrompt, CreatePromptVersion, DeletePrompt}
523523
bedrock-runtime: {Converse}
524+
525+
bedrock-agent_CreateKnowledgeBase:
526+
languages:
527+
Python:
528+
versions:
529+
- sdk_version: 3
530+
github: python/example_code/bedrock-agent
531+
excerpts:
532+
- description: Create an Amazon Bedrock knowledge base.
533+
snippet_tags:
534+
- python.example_code.bedrock-agent.create_knowledge_base
535+
services:
536+
bedrock-agent: {CreateKnowledgeBase}
537+
538+
bedrock-agent_GetKnowledgeBase:
539+
languages:
540+
Python:
541+
versions:
542+
- sdk_version: 3
543+
github: python/example_code/bedrock-agent
544+
excerpts:
545+
- description: Get an Amazon Bedrock knowledge base.
546+
snippet_tags:
547+
- python.example_code.bedrock-agent.get_knowledge_base
548+
services:
549+
bedrock-agent: {GetKnowledgeBase}
550+
551+
bedrock-agent_UpdateKnowledgeBase:
552+
languages:
553+
Python:
554+
versions:
555+
- sdk_version: 3
556+
github: python/example_code/bedrock-agent
557+
excerpts:
558+
- description: Update an Amazon Bedrock knowledge base.
559+
snippet_tags:
560+
- python.example_code.bedrock-agent.update_knowledge_base
561+
services:
562+
bedrock-agent: {UpdateKnowledgeBase}
563+
564+
bedrock-agent_DeleteKnowledgeBase:
565+
languages:
566+
Python:
567+
versions:
568+
- sdk_version: 3
569+
github: python/example_code/bedrock-agent
570+
excerpts:
571+
- description: Delete an Amazon Bedrock knowledge base.
572+
snippet_tags:
573+
- python.example_code.bedrock-agent.delete_knowledge_base
574+
services:
575+
bedrock-agent: {DeleteKnowledgeBase}
576+
577+
bedrock-agent_ListKnowledgeBases:
578+
languages:
579+
Python:
580+
versions:
581+
- sdk_version: 3
582+
github: python/example_code/bedrock-agent
583+
excerpts:
584+
- description: List Amazon Bedrock knowledge Bases.
585+
snippet_tags:
586+
- python.example_code.bedrock-agent.list_knowledge_bases
587+
services:
588+
bedrock-agent: {ListKnowledgeBases}

.doc_gen/metadata/bedrock-runtime_metadata.yaml

Lines changed: 8 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -39,42 +39,6 @@ bedrock-runtime_Hello:
3939
bedrock-runtime: {InvokeModel}
4040

4141
# Converse
42-
bedrock-runtime_Converse_Ai21LabsJurassic2:
43-
title: Invoke AI21 Labs Jurassic-2 on &BR; using Bedrock's Converse API
44-
title_abbrev: "Converse"
45-
synopsis: send a text message to AI21 Labs Jurassic-2, using Bedrock's Converse API.
46-
category: AI21 Labs Jurassic-2
47-
languages:
48-
Java:
49-
versions:
50-
- sdk_version: 2
51-
github: javav2/example_code/bedrock-runtime
52-
excerpts:
53-
- description: Send a text message to AI21 Labs Jurassic-2, using Bedrock's Converse API.
54-
snippet_tags:
55-
- bedrock-runtime.java2.Converse_Ai21LabsJurassic2
56-
- description: Send a text message to AI21 Labs Jurassic-2, using Bedrock's Converse API with the async Java client.
57-
snippet_tags:
58-
- bedrock-runtime.java2.ConverseAsync_Ai21LabsJurassic2
59-
.NET:
60-
versions:
61-
- sdk_version: 4
62-
github: dotnetv4/Bedrock-runtime
63-
excerpts:
64-
- description: Send a text message to AI21 Labs Jurassic-2, using Bedrock's Converse API.
65-
snippet_tags:
66-
- BedrockRuntime.dotnetv4.Converse_Ai21LabsJurassic2
67-
Python:
68-
versions:
69-
- sdk_version: 3
70-
github: python/example_code/bedrock-runtime
71-
excerpts:
72-
- description: Send a text message to AI21 Labs Jurassic-2, using Bedrock's Converse API.
73-
snippet_tags:
74-
- python.example_code.bedrock-runtime.Converse_Ai21LabsJurassic2
75-
services:
76-
bedrock-runtime: {Converse}
77-
7842
bedrock-runtime_Converse_AmazonNovaText:
7943
title: Invoke Amazon Nova on &BR; using Bedrock's Converse API
8044
title_abbrev: "Converse"
@@ -777,48 +741,6 @@ bedrock-runtime_ConverseStream_Mistral:
777741
bedrock-runtime: {ConverseStream}
778742

779743
# Invoke Model
780-
bedrock-runtime_InvokeModel_Ai21LabsJurassic2:
781-
title: Invoke AI21 Labs Jurassic-2 models on &BR; using the Invoke Model API
782-
title_abbrev: "InvokeModel"
783-
synopsis: send a text message to AI21 Labs Jurassic-2, using the Invoke Model API.
784-
category: AI21 Labs Jurassic-2
785-
languages:
786-
Java:
787-
versions:
788-
- sdk_version: 2
789-
github: javav2/example_code/bedrock-runtime
790-
excerpts:
791-
- description: Use the Invoke Model API to send a text message.
792-
snippet_tags:
793-
- bedrock-runtime.java2.InvokeModel_Ai21LabsJurassic2
794-
.NET:
795-
versions:
796-
- sdk_version: 4
797-
github: dotnetv4/Bedrock-runtime
798-
excerpts:
799-
- description: Use the Invoke Model API to send a text message.
800-
snippet_tags:
801-
- BedrockRuntime.dotnetv4.InvokeModel_Ai21LabsJurassic2
802-
Python:
803-
versions:
804-
- sdk_version: 3
805-
github: python/example_code/bedrock-runtime
806-
excerpts:
807-
- description: Use the Invoke Model API to send a text message.
808-
snippet_tags:
809-
- python.example_code.bedrock-runtime.InvokeModel_Ai21LabsJurassic2
810-
Go:
811-
versions:
812-
- sdk_version: 2
813-
github: gov2/bedrock-runtime
814-
excerpts:
815-
- description: Use the Invoke Model API to send a text message.
816-
snippet_tags:
817-
- gov2.bedrock-runtime.InvokeModelWrapper.struct
818-
- gov2.bedrock-runtime.InvokeJurassic2
819-
services:
820-
bedrock-runtime: {InvokeModel}
821-
822744
bedrock-runtime_InvokeModel_TitanText:
823745
title: Invoke Amazon Titan Text models on &BR; using the Invoke Model API
824746
title_abbrev: "InvokeModel"
@@ -1504,6 +1426,14 @@ bedrock-runtime_Scenario_AmazonNova_TextToVideo:
15041426
- description: Use Amazon Nova Reel to generate a video from a text prompt.
15051427
snippet_tags:
15061428
- python.example_code.bedrock-runtime.Scenario_AmazonNova_TextToVideo
1429+
Swift:
1430+
versions:
1431+
- sdk_version: 1
1432+
github: swift/example_code/bedrock-runtime
1433+
excerpts:
1434+
- description: Use Amazon Nova Reel to generate a video from a text prompt.
1435+
snippet_tags:
1436+
- swift.example_code.bedrock-runtime.Scenario_AmazonNova_TextToVideo
15071437
services:
15081438
bedrock-runtime: {GetAsyncInvoke, StartAsyncInvoke}
15091439

.doc_gen/metadata/cloudwatch-logs_metadata.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ cloudwatch-logs_AssociateKmsKey:
1111
- CloudWatchLogs.dotnetv3.AssociateKmsKeyExample
1212
services:
1313
cloudwatch-logs: {AssociateKmsKey}
14+
cloudwatch-logs_GetLogEvents:
15+
languages:
16+
Java:
17+
versions:
18+
- sdk_version: 2
19+
github: javav2/example_code/cloudwatch
20+
excerpts:
21+
- description:
22+
snippet_tags:
23+
- cloudwatch.java2.get_logs.main
24+
services:
25+
cloudwatch-logs: {GetLogEvents}
1426
cloudwatch-logs_CancelExportTask:
1527
languages:
1628
.NET:
@@ -99,6 +111,19 @@ cloudwatch-logs_DescribeExportTasks:
99111
- CloudWatchLogs.dotnetv3.DescribeExportTasksExammple
100112
services:
101113
cloudwatch-logs: {DescribeExportTasks}
114+
cloudwatch-logs_DescribeLogStreams:
115+
languages:
116+
Java:
117+
versions:
118+
- sdk_version: 2
119+
github: javav2/example_code/cloudwatch
120+
sdkguide:
121+
excerpts:
122+
- description:
123+
snippet_tags:
124+
- cloudwatch.javav2.describe.log.streams.main
125+
services:
126+
cloudwatch-logs: {DescribeLogStreams}
102127
cloudwatch-logs_DescribeLogGroups:
103128
languages:
104129
.NET:

0 commit comments

Comments
 (0)