2 Answers
- Newest
- Most votes
- Most comments
0
The doco page you linked to shows jobParameters contains:
'OutputLocation': {
'S3': {
'BucketName': 'string',
Looks like you forgot the 'S3' bit.
0
Hello you have to use it like below:
jobParameters={
'Type': 'inventory-retrieval',
'Format': 'JSON',
'OutputLocation': {
'S3': {
'BucketName': bucket_name,
'Prefix': inventory_file_key
}
}
}
Relevant content
- AWS OFFICIALUpdated 3 years ago
Have you tried ‘BucketName’ :s3_bucket[‘name’]?