Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python - AWS Batch - Add snippets for submit job in Batch (onboard to SoS) #5756

Closed
1 of 15 tasks
smgh2901 opened this issue Dec 7, 2023 · 3 comments
Closed
1 of 15 tasks
Assignees
Labels
New example request New example requests.

Comments

@smgh2901
Copy link

smgh2901 commented Dec 7, 2023

Background story

I am looking for a way to call AWS Batch from a react button click event from the UI.
I was directed to https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/batch/BatchClient.html and https://docs.aws.amazon.com/code-library/latest/ug/s3_example_cross_PAM_section.html for reference from stackoverflow but I couldn't see any example for this in Python.

Would be nice if an example code to trigger AWS batch from a Python SDK is provided that can then be used from a react UI.

Thanks

What does this example accomplish?

I want to call AWS Batch from a react app UI on a button click event.

Which AWS service(s)?

aws batch

Which AWS SDKs or tools?

  • All languages
  • .NET
  • C++
  • Go (v2)
  • Java
  • Java (v2)
  • JavaScript
  • JavaScript (v3)
  • Kotlin
  • PHP
  • Python
  • Ruby
  • Rust
  • Swift
  • Not applicable

Are there existing code examples to leverage?

No response

Do you have any reference code?

No response

@rlhagerm
Copy link
Contributor

rlhagerm commented Dec 7, 2023

Possible duplicate of the issue from our Epic on this example: #5757

@ford-at-aws ford-at-aws changed the title [Enhancement]: <Request PAM example in Python> Python - AWS Batch - Add snippets for submit job in Batch (onboard to SoS) Dec 20, 2023
@ford-at-aws
Copy link
Contributor

Hey! We cannot build buttons, but I will add a working code snippet showing how to submit a job using the Batch API via the Python SDK.

@brmur brmur added the New example request New example requests. label Nov 13, 2024
@rlhagerm
Copy link
Contributor

Duplicates functionality planned in Python Batch Basics follow in #6690

@rlhagerm rlhagerm closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New example request New example requests.
Projects
None yet
Development

No branches or pull requests

4 participants