Skip to content

Commit d468d40

Browse files
authored
Merge branch 'main' into go_bedrock_converse_single
2 parents 082ac8e + 123be47 commit d468d40

File tree

133 files changed

+10169
-4317
lines changed

Some content is hidden

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

133 files changed

+10169
-4317
lines changed

.abapgit.xml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<IGNORE>
99
<item>/sap-abap/README.md</item>
1010
<item>/sap-abap/services/bdr/README.md</item>
11+
<item>/sap-abap/services/bdz/README.md</item>
1112
<item>/sap-abap/services/cloudwatch/README.md</item>
1213
<item>/sap-abap/services/dyn/README.md</item>
1314
<item>/sap-abap/services/ec2/README.md</item>

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

+8
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ bedrock-agent-runtime_InvokeAgent:
1717
- description:
1818
snippet_files:
1919
- javascriptv3/example_code/bedrock-agent-runtime/actions/invoke-agent.js
20+
SAP ABAP:
21+
versions:
22+
- sdk_version: 1
23+
github: sap-abap/services/bdz
24+
excerpts:
25+
- description:
26+
snippet_tags:
27+
- bdz.abapv1.invokeagent
2028
services:
2129
bedrock-agent-runtime: {InvokeAgent}
2230

.doc_gen/metadata/bedrock-runtime_metadata.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,14 @@ bedrock-runtime_Converse_AmazonNovaText:
108108
- description: Send a text message to Amazon Nova, using Bedrock's Converse API.
109109
snippet_tags:
110110
- javascript.v3.bedrock-runtime.Converse_AmazonNovaText
111+
Kotlin:
112+
versions:
113+
- sdk_version: 1
114+
github: kotlin/services/bedrock-runtime
115+
excerpts:
116+
- description: Send a text message to Amazon Nova, using Bedrock's Converse API.
117+
snippet_tags:
118+
- bedrock-runtime.kotlin.Converse_AmazonNovaText
111119
.NET:
112120
versions:
113121
- sdk_version: 3
@@ -439,6 +447,14 @@ bedrock-runtime_ConverseStream_AmazonNovaText:
439447
- description: Send a text message to Amazon Nova using Bedrock's Converse API and process the response stream in real-time.
440448
snippet_tags:
441449
- javascript.v3.bedrock-runtime.ConverseStream_AmazonNovaText
450+
Kotlin:
451+
versions:
452+
- sdk_version: 1
453+
github: kotlin/services/bedrock-runtime
454+
excerpts:
455+
- description: Send a text message to Amazon Nova using Bedrock's Converse API and process the response stream in real-time.
456+
snippet_tags:
457+
- bedrock-runtime.kotlin.ConverseStream_AmazonNovaText
442458
.NET:
443459
versions:
444460
- sdk_version: 3
+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# zexi 0.4.0
2+
geo-places_ReverseGeocode:
3+
languages:
4+
Java:
5+
versions:
6+
- sdk_version: 2
7+
github: javav2/example_code/location
8+
sdkguide:
9+
excerpts:
10+
- description:
11+
snippet_tags:
12+
- geoplaces.java2.geocode.main
13+
services:
14+
geo-places: {ReverseGeocode}
15+
geo-places_SearchText:
16+
languages:
17+
Java:
18+
versions:
19+
- sdk_version: 2
20+
github: javav2/example_code/location
21+
sdkguide:
22+
excerpts:
23+
- description:
24+
snippet_tags:
25+
- geoplaces.java2.search.text.main
26+
services:
27+
geo-places: {SearchText}
28+
geo-places_SearchNearby:
29+
languages:
30+
Java:
31+
versions:
32+
- sdk_version: 2
33+
github: javav2/example_code/location
34+
sdkguide:
35+
excerpts:
36+
- description:
37+
snippet_tags:
38+
- geoplaces.java2.search.near.main
39+
services:
40+
geo-places: {SearchNearby}
+230
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,230 @@
1+
# zexi 0.4.0
2+
location_Hello:
3+
title: Hello &ALlong;
4+
title_abbrev: Hello &ALshort;
5+
synopsis: get started using &ALlong;.
6+
category: Hello
7+
languages:
8+
Java:
9+
versions:
10+
- sdk_version: 2
11+
github: javav2/example_code/location
12+
sdkguide:
13+
excerpts:
14+
- description:
15+
snippet_tags:
16+
- location.java2.hello.main
17+
services:
18+
location: {ListGeofencesPaginator}
19+
location_CreateMap:
20+
languages:
21+
Java:
22+
versions:
23+
- sdk_version: 2
24+
github: javav2/example_code/location
25+
sdkguide:
26+
excerpts:
27+
- description:
28+
snippet_tags:
29+
- location.java2.create.map.main
30+
services:
31+
location: {CreateMap}
32+
location_CreateKey:
33+
languages:
34+
Java:
35+
versions:
36+
- sdk_version: 2
37+
github: javav2/example_code/location
38+
sdkguide:
39+
excerpts:
40+
- description:
41+
snippet_tags:
42+
- location.java2.create.key.main
43+
services:
44+
location: {CreateKey}
45+
location_CreateGeofenceCollection:
46+
languages:
47+
Java:
48+
versions:
49+
- sdk_version: 2
50+
github: javav2/example_code/location
51+
sdkguide:
52+
excerpts:
53+
- description:
54+
snippet_tags:
55+
- location.java2.create.collection.main
56+
services:
57+
location: {CreateGeofenceCollection}
58+
location_PutGeofence:
59+
languages:
60+
Java:
61+
versions:
62+
- sdk_version: 2
63+
github: javav2/example_code/location
64+
sdkguide:
65+
excerpts:
66+
- description:
67+
snippet_tags:
68+
- location.java2.put.geo.main
69+
services:
70+
location: {PutGeofence}
71+
location_CreateTracker:
72+
languages:
73+
Java:
74+
versions:
75+
- sdk_version: 2
76+
github: javav2/example_code/location
77+
sdkguide:
78+
excerpts:
79+
- description:
80+
snippet_tags:
81+
- location.java2.create.tracker.main
82+
services:
83+
location: {CreateTracker}
84+
location_BatchUpdateDevicePosition:
85+
languages:
86+
Java:
87+
versions:
88+
- sdk_version: 2
89+
github: javav2/example_code/location
90+
sdkguide:
91+
excerpts:
92+
- description:
93+
snippet_tags:
94+
- location.java2.update.device.position.main
95+
services:
96+
location: {BatchUpdateDevicePosition}
97+
location_GetDevicePosition:
98+
languages:
99+
Java:
100+
versions:
101+
- sdk_version: 2
102+
github: javav2/example_code/location
103+
sdkguide:
104+
excerpts:
105+
- description:
106+
snippet_tags:
107+
- location.java2.get.device.position.main
108+
services:
109+
location: {GetDevicePosition}
110+
location_CreateRouteCalculator:
111+
languages:
112+
Java:
113+
versions:
114+
- sdk_version: 2
115+
github: javav2/example_code/location
116+
sdkguide:
117+
excerpts:
118+
- description:
119+
snippet_tags:
120+
- location.java2.create.calculator.main
121+
services:
122+
location: {CreateRouteCalculator}
123+
location_CalculateRoute:
124+
languages:
125+
Java:
126+
versions:
127+
- sdk_version: 2
128+
github: javav2/example_code/location
129+
sdkguide:
130+
excerpts:
131+
- description:
132+
snippet_tags:
133+
- location.java2.calc.distance.main
134+
services:
135+
location: {CalculateRoute}
136+
location_DeleteGeofenceCollection:
137+
languages:
138+
Java:
139+
versions:
140+
- sdk_version: 2
141+
github: javav2/example_code/location
142+
sdkguide:
143+
excerpts:
144+
- description:
145+
snippet_tags:
146+
- location.java2.delete.collection.main
147+
services:
148+
location: {DeleteGeofenceCollection}
149+
location_DeleteKey:
150+
languages:
151+
Java:
152+
versions:
153+
- sdk_version: 2
154+
github: javav2/example_code/location
155+
sdkguide:
156+
excerpts:
157+
- description:
158+
snippet_tags:
159+
- location.java2.delete.key.main
160+
services:
161+
location: {DeleteKey}
162+
location_DeleteMap:
163+
languages:
164+
Java:
165+
versions:
166+
- sdk_version: 2
167+
github: javav2/example_code/location
168+
sdkguide:
169+
excerpts:
170+
- description:
171+
snippet_tags:
172+
- location.java2.delete.map.main
173+
services:
174+
location: {DeleteMap}
175+
location_DeleteTracker:
176+
languages:
177+
Java:
178+
versions:
179+
- sdk_version: 2
180+
github: javav2/example_code/location
181+
sdkguide:
182+
excerpts:
183+
- description:
184+
snippet_tags:
185+
- location.java2.delete.tracker.main
186+
services:
187+
location: {DeleteTracker}
188+
location_DeleteRouteCalculator:
189+
languages:
190+
Java:
191+
versions:
192+
- sdk_version: 2
193+
github: javav2/example_code/location
194+
sdkguide:
195+
excerpts:
196+
- description:
197+
snippet_tags:
198+
- location.java2.delete.calculator.main
199+
services:
200+
location: {DeleteRouteCalculator}
201+
location_Scenario:
202+
synopsis_list:
203+
- Create an &ALshort; map.
204+
- Create an &ALshort; API key.
205+
- Display Map URL.
206+
- Create a geofence collection.
207+
- Store a geofence geometry.
208+
- Create a tracker resource.
209+
- Update the position of a device.
210+
- Retrieve the most recent position update for a specified device.
211+
- Create a route calculator.
212+
- Determine the distance between Seattle and Vancouver.
213+
- Use &ALshort; higher level APIs.
214+
- Delete the &ALshort; Assets.
215+
category: Basics
216+
languages:
217+
Java:
218+
versions:
219+
- sdk_version: 2
220+
github: javav2/example_code/location
221+
sdkguide:
222+
excerpts:
223+
- description: Run an interactive scenario demonstrating &ALlong; features.
224+
snippet_tags:
225+
- location.java2.scenario.main
226+
- description: A wrapper class for &ALlong; SDK methods.
227+
snippet_tags:
228+
- location.java2.actions.main
229+
services:
230+
location: {}

.doc_gen/metadata/s3-directory-buckets_metadata.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,18 @@ s3-directory-buckets_Scenario_ExpressBasics:
418418
- Prompt the user to see if they want to clean up the resources.
419419
category: Basics
420420
languages:
421+
Java:
422+
versions:
423+
- sdk_version: 2
424+
github: javav2/example_code/s3
425+
sdkguide:
426+
excerpts:
427+
- description: Run an interactive scenario demonstrating &S3; features.
428+
snippet_tags:
429+
- s3.java2.directories.scenario.main
430+
- description: A wrapper class for &S3; SDK methods.
431+
snippet_tags:
432+
- s3.java2.directories.actions.main
421433
PHP:
422434
versions:
423435
- sdk_version: 3

.doc_gen/validation.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ allow_list:
213213
- "src/main/java/com/example/acm/ImportCert"
214214
- "EnablePropagateAdditionalUserContextData"
215215
- "StopQueryWorkloadInsightsTopContributors"
216+
- "com/location/latest/APIReference/Welcome"
216217
sample_files:
217218
- "README.md"
218219
- "chat_sfn_state_machine.json"

.github/allowed-labels.yml

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
- name: dependencies
3131
color: f5f7f9
3232
description: "Pull request that updates a dependency file."
33+
- name: Single action example
34+
color: f5f7f9
35+
description: "A new (or significant update to a) small example, "
3336

3437
# Labels for general which aren't tracked
3538
- name: Scout

.github/workflows/auto-update-pr.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "Keep PRs Updated from Main"
2+
on:
3+
push:
4+
branches:
5+
- main
6+
workflow_dispatch:
7+
jobs:
8+
autoupdate:
9+
name: Auto Update PR
10+
runs-on: ubuntu-22.04
11+
steps:
12+
- uses: docker://chinthakagodawita/autoupdate-action:v1
13+
env:
14+
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

.github/workflows/label-checker.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on: # yamllint disable-line rule:truthy
99
- reopened
1010
- labeled
1111
- unlabeled
12+
workflow_run:
13+
workflows: [Keep PRs Updated from Main]
14+
types:
15+
- completed
1216

1317
jobs:
1418
check_oncall_labels:
@@ -26,5 +30,5 @@ jobs:
2630
steps:
2731
- uses: docker://agilepathway/pull-request-label-checker:latest
2832
with:
29-
one_of: Application,MVP,Feature Scenario,Task,Bug,Basics,dependencies
33+
one_of: Application,MVP,Feature Scenario,Task,Bug,Basics,dependencies,Single action example
3034
repo_token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ kotlin/services/**/build/
3636
kotlin/services/**/gradle/
3737
kotlin/services/**/gradlew
3838
kotlin/services/**/gradlew.bat
39+
kotlin/services/**/.kotlin/

0 commit comments

Comments
 (0)