Skip to content

Commit 79a1954

Browse files
aBurmeseDevscmacdon
authored andcommitted
chore: address metadata and README items
1 parent adadba4 commit 79a1954

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.doc_gen/metadata/s3-control_metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ s3-control_Basics:
212212
excerpts:
213213
- description: Learn S3 Batch Basics Scenario.
214214
snippet_tags:
215-
- python.example_code.s3control.Batch.scenario
215+
- python.example_code.s3control.helper.S3BatchScenario
216216
services:
217217
s3-control:
218218
{

python/example_code/s3/scenarios/batch/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ To run these examples, you need:
4040
To run this workflow, pull AWS tokens and run the command below:
4141

4242
```bash
43-
python s3_batch.py
43+
python s3_batch_scenario.py
4444
```
4545

4646
## Additional resources
4747

48-
- [Amazon S3 Developer Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html)
48+
- [Amazon S3 Developer Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops-create-job.html)
4949
- [Amazon S3 API Reference](https://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html)
5050
- [boto3 Amazon S3 reference](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html)
5151

python/example_code/s3/scenarios/batch/s3_batch_wrapper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ def update_job_priority(self, job_id: str, account_id: str) -> None:
306306
return
307307
# snippet-end:[python.example_code.s3control.update_job_priority]
308308

309+
# snippet-start:[python.example_code.s3control.update_job_status]
309310
def cancel_job(self, job_id: str, account_id: str) -> None:
310311
"""
311312
Cancel an S3 batch job.
@@ -324,6 +325,7 @@ def cancel_job(self, job_id: str, account_id: str) -> None:
324325
except ClientError as e:
325326
print(f"Error canceling job: {e}")
326327
raise
328+
# snippet-end:[python.example_code.s3control.update_job_status]
327329

328330
# snippet-start:[python.example_code.s3control.describe_job]
329331
def describe_job_details(self, job_id: str, account_id: str) -> None:

0 commit comments

Comments
 (0)