You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/workloads/batch/endpoints.md
+26-2Lines changed: 26 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,10 @@ POST <batch_api_endpoint>:
33
33
{
34
34
"workers": <int>, # the number of workers to allocate for this job (required)
35
35
"timeout": <int>, # duration in seconds since the submission of a job before it is terminated (optional)
36
+
"sqs_dead_letter_queue": { # specify a queue to redirect failed batches (optional)
37
+
"arn": <string>, # arn of dead letter queue e.g. arn:aws:sqs:us-west-2:123456789:failed.fifo
38
+
"max_receive_count": <int> # number of a times a batch is allowed to be handled by a worker before it is considered to be failed and transferred to the dead letter queue (must be >= 1)
39
+
},
36
40
"item_list": {
37
41
"items": [ # a list items that can be of any type (required)
38
42
<any>,
@@ -54,6 +58,10 @@ RESPONSE:
54
58
"api_id": <string>,
55
59
"sqs_url": <string>,
56
60
"timeout": <int>,
61
+
"sqs_dead_letter_queue": {
62
+
"arn": <string>,
63
+
"max_receive_count": <int>
64
+
},
57
65
"created_time": <string> # e.g. 2020-07-16T14:56:10.276007415Z
58
66
}
59
67
```
@@ -76,6 +84,10 @@ POST <batch_api_endpoint>:
76
84
{
77
85
"workers": <int>, # the number of workers to allocate for this job (required)
78
86
"timeout": <int>, # duration in seconds since the submission of a job before it is terminated (optional)
87
+
"sqs_dead_letter_queue": { # specify a queue to redirect failed batches (optional)
88
+
"arn": <string>, # arn of dead letter queue e.g. arn:aws:sqs:us-west-2:123456789:failed.fifo
89
+
"max_receive_count": <int> # number of a times a batch is allowed to be handled by a worker before it is considered to be failed and transferred to the dead letter queue (must be >= 1)
90
+
},
79
91
"file_path_lister": {
80
92
"s3_paths": [<string>], # can be S3 prefixes or complete S3 paths (required)
"created_time": <string> # e.g. 2020-07-16T14:56:10.276007415Z
100
116
}
101
117
```
@@ -117,6 +133,10 @@ POST <batch_api_endpoint>:
117
133
{
118
134
"workers": <int>, # the number of workers to allocate for this job (required)
119
135
"timeout": <int>, # duration in seconds since the submission of a job before it is terminated (optional)
136
+
"sqs_dead_letter_queue": { # specify a queue to redirect failed batches (optional)
137
+
"arn": <string>, # arn of dead letter queue e.g. arn:aws:sqs:us-west-2:123456789:failed.fifo
138
+
"max_receive_count": <int> # number of a times a batch is allowed to be handled by a worker before it is considered to be failed and transferred to the dead letter queue (must be >= 1)
139
+
},
120
140
"delimited_files": {
121
141
"s3_paths": [<string>], # can be S3 prefixes or complete S3 paths (required)
0 commit comments