Skip to content

Commit 1b8ac1c

Browse files
authored
Merge branch 'main' into patch-1
2 parents 942c0e4 + 429e4a0 commit 1b8ac1c

File tree

20 files changed

+362
-84
lines changed

20 files changed

+362
-84
lines changed

.doc_gen/metadata/bedrock-runtime_metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,7 @@ bedrock-runtime_Scenario_ToolUseDemo_AnthropicClaude:
12191219
- description: "The weather tool used by the demo. This script defines the tool specification and implements the logic to retrieve weather data using from the Open-Meteo API."
12201220
snippet_tags:
12211221
- rust.bedrock-runtime.Converse_AnthropicClaude.tool-use.weather-tool
1222-
- description: "Utilities to print the Message Content Blocks"
1222+
- description: "Utilities to print the Message Content Blocks."
12231223
snippet_tags:
12241224
- rust.bedrock-runtime.Converse_AnthropicClaude.tool-use.user-interface
12251225
- description: "Use statements, Error utility, and constants."

.doc_gen/metadata/cross_metadata.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,6 @@ cross_CognitoAutoConfirmUser:
826826
versions:
827827
- sdk_version: 3
828828
github: javascriptv3/example_code/cross-services/wkflw-pools-triggers
829-
sdk_guide:
830829
excerpts:
831830
- description: |
832831
Configure an interactive "Scenario" run. The JavaScript (v3) examples

.doc_gen/metadata/dynamodb_metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,10 @@ dynamodb_BatchGetItem:
205205
- sdk_version: 2
206206
github: javav2/example_code/dynamodb
207207
excerpts:
208-
- description: shows how to get batch items using the service client.
208+
- description: Shows how to get batch items using the service client.
209209
snippet_tags:
210210
- dynamodb.java2.batch.get.items.main
211-
- description: shows how to get batch items using the service client and a paginator.
211+
- description: Shows how to get batch items using the service client and a paginator.
212212
snippet_tags:
213213
- dynamodb.java2.batch.get.items.paginator.main
214214
.NET:

.doc_gen/metadata/iot_sitewise_metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ iotsitewise_CreateAssetModel:
185185
services:
186186
iotsitewise: {CreateAssetModel}
187187
iotsitewise_Scenario:
188-
synopsis: Learn core operations for &ITSWlong; using an &AWS; SDK.
188+
synopsis: learn core operations for &ITSWlong; using an &AWS; SDK.
189189
category: Basics
190190
languages:
191191
Java:

.doc_gen/metadata/medical-imaging_metadata.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,28 +1232,28 @@ medical-imaging_Scenario_ImageSetsAndFrames:
12321232
github: javascriptv3/example_code/medical-imaging
12331233
github_note_at_bottom: true
12341234
excerpts:
1235-
- description: <noloc>index.js</noloc> - Orchestrate steps.
1235+
- description: Orchestrate steps (<noloc>index.js</noloc>).
12361236
snippet_files:
12371237
- javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/index.js
1238-
- description: <noloc>deploy-steps.js</noloc> - Deploy resources.
1238+
- description: Deploy resources (<noloc>deploy-steps.js</noloc>).
12391239
snippet_files:
12401240
- javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/deploy-steps.js
1241-
- description: <noloc>dataset-steps.js</noloc> - Copy DICOM files.
1241+
- description: Copy DICOM files (<noloc>dataset-steps.js</noloc>).
12421242
snippet_files:
12431243
- javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/dataset-steps.js
1244-
- description: <noloc>import-steps.js</noloc> - Start import into datastore.
1244+
- description: Start import into datastore (<noloc>import-steps.js</noloc>).
12451245
snippet_files:
12461246
- javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/import-steps.js
1247-
- description: <noloc>image-set-steps.js</noloc> - Get image set IDs.
1247+
- description: Get image set IDs (<noloc>image-set-steps.js</noloc> - ).
12481248
snippet_files:
12491249
- javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/image-set-steps.js
1250-
- description: <noloc>image-frame-steps.js</noloc> - Get image frame IDs.
1250+
- description: Get image frame IDs (<noloc>image-frame-steps.js</noloc>).
12511251
snippet_files:
12521252
- javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/image-frame-steps.js
1253-
- description: <noloc>verify-steps.js</noloc> - Verify image frames. The <ulink url="https://github.com/aws-samples/aws-healthimaging-samples/tree/main/pixel-data-verification">&AWS; HealthImaging Pixel Data Verification</ulink> library was used for verification.
1253+
- description: Verify image frames (<noloc>verify-steps.js</noloc>). The <ulink url="https://github.com/aws-samples/aws-healthimaging-samples/tree/main/pixel-data-verification">&AWS; HealthImaging Pixel Data Verification</ulink> library was used for verification.
12541254
snippet_files:
12551255
- javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/verify-steps.js
1256-
- description: <noloc>clean-up-steps.js</noloc> - Destroy resources.
1256+
- description: Destroy resources (<noloc>clean-up-steps.js</noloc>).
12571257
snippet_files:
12581258
- javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/clean-up-steps.js
12591259
services:

.doc_gen/metadata/redshift_metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ redshift_Hello:
99
versions:
1010
- sdk_version: 2
1111
github: gov2/redshift
12-
genai: some
1312
excerpts:
1413
- description:
14+
genai: some
1515
snippet_tags:
1616
- gov2.redshift.Hello
1717
Java:

.doc_gen/metadata/s3-control_metadata.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
s3-control_Hello:
22
title: Hello &S3Control;
3-
title_abbrev: Hello '&S3Control;'
4-
synopsis: get started using '&S3Control;'
3+
title_abbrev: Hello &S3Control;
4+
synopsis: get started using &S3Control;.
55
category: Hello
66
languages:
77
Java:
@@ -117,7 +117,7 @@ s3-control_UpdateJobPriority:
117117
services:
118118
s3-control: {UpdateJobPriority}
119119
s3-control_Basics:
120-
synopsis: learn core operations for'&S3Control;'.
120+
synopsis: learn core operations for &S3Control;.
121121
category: Basics
122122
languages:
123123
Java:

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -393,14 +393,14 @@ s3-directory-buckets_UploadPart:
393393

394394
s3-directory-buckets_Scenario_ExpressBasics:
395395
synopsis_list:
396-
- Set up a VPC and VPC Endpoint
397-
- Set up the Policies, Roles, and User to work with S3 directory buckets and the S3 Express One Zone storage class
398-
- Create two S3 Clients
399-
- Create two buckets
400-
- Create an object and copy it over
401-
- Demonstrate performance difference
402-
- Populate the buckets to show the lexicographical difference
403-
- Prompt the user to see if they want to clean up the resources
396+
- Set up a VPC and VPC Endpoint.
397+
- Set up the Policies, Roles, and User to work with S3 directory buckets and the S3 Express One Zone storage class.
398+
- Create two S3 Clients.
399+
- Create two buckets.
400+
- Create an object and copy it over.
401+
- Demonstrate performance difference.
402+
- Populate the buckets to show the lexicographical difference.
403+
- Prompt the user to see if they want to clean up the resources.
404404
category: Basics
405405
languages:
406406
PHP:

.doc_gen/metadata/s3_metadata.yaml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ s3_Hello:
7474
excerpts:
7575
- snippet_tags:
7676
- s3.rust.s3-helloworld
77-
- description: S3ExampleError utilities
77+
- description: S3ExampleError utilities.
7878
- snippet_tags:
7979
- s3.rust.s3-example-error
8080
services:
@@ -2722,7 +2722,7 @@ s3_Scenario_PresignedUrl:
27222722
snippet_tags:
27232723
- presigned.java2.generatepresignedgeturlandretrieve.sdkhttpclient
27242724

2725-
- description: Generate a pre-signed URL for an upload, then upload a file (PUT request).
2725+
- description: Generate a pre-signed URL with metadata in headers for an upload, then upload a file (PUT request).
27262726
- description: Imports.
27272727
snippet_tags:
27282728
- presigned.java2.generatepresignedurlandputfilewithmetadata.import
@@ -2739,6 +2739,17 @@ s3_Scenario_PresignedUrl:
27392739
- description: Use the &AWS; for Java V2 <code>SdkHttpClient</code> class to do the upload.
27402740
snippet_tags:
27412741
- presigned.java2.generatepresignedurlandputfilewithmetadata.sdkhttpclient
2742+
2743+
- description: Generate a pre-signed URL with query parameters for an upload, then upload a file (PUT request).
2744+
- description: Imports.
2745+
snippet_tags:
2746+
- presigned.java2.generatepresignedurlandputfilewithqueryparams.import
2747+
- description: Generate the URL.
2748+
snippet_tags:
2749+
- presigned.java2.generatepresignedurlandputfilewithqueryparams.createpresignedurl
2750+
- description: Use the &AWS; for Java V2 <code>SdkHttpClient</code> class to do the upload.
2751+
snippet_tags:
2752+
- presigned.java2.generatepresignedurlandputfilewithqueryparams.sdkhttpclient
27422753
Python:
27432754
versions:
27442755
- sdk_version: 3
@@ -3343,20 +3354,20 @@ s3_Scenario_ObjectLock:
33433354
sdkguide:
33443355
excerpts:
33453356
- description: |
3346-
<noloc>index.js</noloc> - Entrypoint for the workflow. This orchestrates all of the steps.
3357+
Entrypoint for the workflow (<noloc>index.js</noloc>). This orchestrates all of the steps.
33473358
Visit GitHub to see the implementation details for Scenario, ScenarioInput, ScenarioOutput, and ScenarioAction.
33483359
snippet_files:
33493360
- javascriptv3/example_code/s3/scenarios/object-locking/index.js
3350-
- description: <noloc>welcome.steps.js</noloc> - Output welcome messages to the console.
3361+
- description: Output welcome messages to the console (<noloc>welcome.steps.js</noloc>).
33513362
snippet_files:
33523363
- javascriptv3/example_code/s3/scenarios/object-locking/welcome.steps.js
3353-
- description: <noloc>setup.steps.js</noloc> - Deploy buckets, objects, and file settings.
3364+
- description: Deploy buckets, objects, and file settings (<noloc>setup.steps.js</noloc>).
33543365
snippet_files:
33553366
- javascriptv3/example_code/s3/scenarios/object-locking/setup.steps.js
3356-
- description: <noloc>repl.steps.js</noloc> - View and delete files in the buckets.
3367+
- description: View and delete files in the buckets (<noloc>repl.steps.js</noloc>).
33573368
snippet_files:
33583369
- javascriptv3/example_code/s3/scenarios/object-locking/repl.steps.js
3359-
- description: <noloc>clean.steps.js</noloc> - Destroy all created resources.
3370+
- description: Destroy all created resources (<noloc>clean.steps.js</noloc>).
33603371
snippet_files:
33613372
- javascriptv3/example_code/s3/scenarios/object-locking/clean.steps.js
33623373
services:
@@ -3447,7 +3458,7 @@ s3_Scenario_AbortMultipartUpload:
34473458
services:
34483459
s3: {ListMultipartUploads, AbortMultipartUpload, PutBucketLifecycleConfiguration}
34493460
s3_Scenario_ProcessS3EventNotification:
3450-
title: Receive and process &S3; event notifications by using an &AWS; SDK.
3461+
title: Receive and process &S3; event notifications by using an &AWS; SDK
34513462
title_abbrev: Process S3 event notifications
34523463
synopsis: work with S3 event notifications in an object-oriented way.
34533464
category: Scenarios
@@ -3465,7 +3476,7 @@ s3_Scenario_ProcessS3EventNotification:
34653476
s3: {PutBucketNotificationConfiguration}
34663477
sqs: {ReceiveMessage, GetQueueAttributes, DeleteMessageBatch}
34673478
s3_Scenario_DeleteAllObjects:
3468-
title: Delete all objects in a given &S3; bucket using an &AWS; SDK.
3479+
title: Delete all objects in a given &S3; bucket using an &AWS; SDK
34693480
title_abbrev: Delete all objects in a bucket
34703481
synopsis: delete all of the objects in an &S3; bucket.
34713482
category: Scenarios
@@ -3482,7 +3493,7 @@ s3_Scenario_DeleteAllObjects:
34823493
services:
34833494
s3: {DeleteObjects, ListObjectsV2}
34843495
s3_Scenario_ConditionalRequests:
3485-
title: Make &S3; conditional requests using an &AWS; SDK.
3496+
title: Make &S3; conditional requests using an &AWS; SDK
34863497
title_abbrev: Make conditional requests
34873498
synopsis: add preconditions to &S3; requests.
34883499
category: Scenarios

.doc_gen/metadata/ssm_metadata.yaml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ ssm_Hello:
2626
versions:
2727
- sdk_version: 3
2828
github: python/example_code/ssm
29-
genai: some
3029
excerpts:
3130
- description:
31+
genai: some
3232
snippet_tags:
3333
- python.example_code.ssm.Hello
3434
services:
@@ -110,9 +110,9 @@ ssm_CreateOpsItem:
110110
versions:
111111
- sdk_version: 3
112112
github: python/example_code/ssm
113-
genai: some
114113
excerpts:
115114
- description:
115+
genai: some
116116
snippet_tags:
117117
- python.example_code.ssm.OpsItemWrapper.decl
118118
- python.example_code.ssm.CreateOpsItem
@@ -142,9 +142,9 @@ ssm_UpdateMaintenanceWindow:
142142
versions:
143143
- sdk_version: 3
144144
github: python/example_code/ssm
145-
genai: some
146145
excerpts:
147146
- description:
147+
genai: some
148148
snippet_tags:
149149
- python.example_code.ssm.MaintenanceWindowWrapper.decl
150150
- python.example_code.ssm.UpdateMaintenanceWindow
@@ -174,9 +174,9 @@ ssm_CreateMaintenanceWindow:
174174
versions:
175175
- sdk_version: 3
176176
github: python/example_code/ssm
177-
genai: some
178177
excerpts:
179178
- description:
179+
genai: some
180180
snippet_tags:
181181
- python.example_code.ssm.MaintenanceWindowWrapper.decl
182182
- python.example_code.ssm.CreateMaintenanceWindow
@@ -206,9 +206,9 @@ ssm_SendCommand:
206206
versions:
207207
- sdk_version: 3
208208
github: python/example_code/ssm
209-
genai: some
210209
excerpts:
211210
- description:
211+
genai: some
212212
snippet_tags:
213213
- python.example_code.ssm.DocumentWrapper.decl
214214
- python.example_code.ssm.SendCommand
@@ -229,9 +229,9 @@ ssm_ListCommandInvocations:
229229
versions:
230230
- sdk_version: 3
231231
github: python/example_code/ssm
232-
genai: some
233232
excerpts:
234233
- description:
234+
genai: some
235235
snippet_tags:
236236
- python.example_code.ssm.DocumentWrapper.decl
237237
- python.example_code.ssm.ListCommandInvocations
@@ -261,9 +261,9 @@ ssm_CreateDocument:
261261
versions:
262262
- sdk_version: 3
263263
github: python/example_code/ssm
264-
genai: some
265264
excerpts:
266265
- description:
266+
genai: some
267267
snippet_tags:
268268
- python.example_code.ssm.DocumentWrapper.decl
269269
- python.example_code.ssm.CreateDocument
@@ -293,9 +293,9 @@ ssm_DescribeOpsItems:
293293
versions:
294294
- sdk_version: 3
295295
github: python/example_code/ssm
296-
genai: some
297296
excerpts:
298297
- description:
298+
genai: some
299299
snippet_tags:
300300
- python.example_code.ssm.OpsItemWrapper.decl
301301
- python.example_code.ssm.DescribeOpsItem
@@ -307,9 +307,9 @@ ssm_DeleteOpsItem:
307307
versions:
308308
- sdk_version: 3
309309
github: python/example_code/ssm
310-
genai: some
311310
excerpts:
312311
- description:
312+
genai: some
313313
snippet_tags:
314314
- python.example_code.ssm.OpsItemWrapper.decl
315315
- python.example_code.ssm.DeleteOpsItem
@@ -339,9 +339,9 @@ ssm_DeleteMaintenanceWindow:
339339
versions:
340340
- sdk_version: 3
341341
github: python/example_code/ssm
342-
genai: some
343342
excerpts:
344343
- description:
344+
genai: some
345345
snippet_tags:
346346
- python.example_code.ssm.MaintenanceWindowWrapper.decl
347347
- python.example_code.ssm.DeleteMaintenanceWindow
@@ -371,9 +371,9 @@ ssm_DeleteDocument:
371371
versions:
372372
- sdk_version: 3
373373
github: python/example_code/ssm
374-
genai: some
375374
excerpts:
376375
- description:
376+
genai: some
377377
snippet_tags:
378378
- python.example_code.ssm.DocumentWrapper.decl
379379
- python.example_code.ssm.DeleteDocument
@@ -403,9 +403,9 @@ ssm_UpdateOpsItem:
403403
versions:
404404
- sdk_version: 3
405405
github: python/example_code/ssm
406-
genai: some
407406
excerpts:
408407
- description:
408+
genai: some
409409
snippet_tags:
410410
- python.example_code.ssm.OpsItemWrapper.decl
411411
- python.example_code.ssm.UpdateOpsItem
@@ -432,27 +432,30 @@ ssm_Scenario:
432432
- sdk_version: 3
433433
github: javascriptv3/example_code/ssm
434434
sdkguide:
435-
genai: some
436435
excerpts:
437436
- description:
437+
genai: some
438438
snippet_tags:
439439
- ssm.JavaScript.Basics.scenario
440440
Python:
441441
versions:
442442
- sdk_version: 3
443443
github: python/example_code/ssm
444-
genai: some
445444
excerpts:
446445
- description: Run an interactive scenario at a command prompt.
446+
genai: some
447447
snippet_tags:
448448
- python.example_code.ssm.Scenario_GetStartedSSM
449449
- description: Define a class that wraps document and command actions.
450+
genai: some
450451
snippet_tags:
451452
- python.example_code.ssm.DocumentWrapper.class
452453
- description: Define a class that wraps ops item actions.
454+
genai: some
453455
snippet_tags:
454456
- python.example_code.ssm.OpsItemWrapper.class
455457
- description: Define a class that wraps maintenance window actions.
458+
genai: some
456459
snippet_tags:
457460
- python.example_code.ssm.MaintenanceWindowWrapper.class
458461
services:

0 commit comments

Comments
 (0)