Unhelpful ValidationException message when creating a cost-and-usage report

0

I'm currently trying to create a cost-and-usage report through the Ruby API (https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostandUsageReportService/Client.html#). When I execute the following command:

client.put_report_definition(report_definition: {additional_artifacts: ["REDSHIFT"], report_name: "TestReport", time_unit: "DAILY", format: "textORcsv", compression: "ZIP", additional_schema_elements: ["RESOURCES"], s3_bucket: "ycha9234-test-s3-bucket", s3_prefix: "test", s3_region: "us-east-1"})

I just get back an unhelpful validation error:

Aws::CostandUsageReportService::Errors::ValidationException (Aws::CostandUsageReportService::Errors::ValidationException)

There are no details on which validation I failed. As far as I can tell, I've satisfied all of the required input constraints, so I don't understand where the failure is coming from. Can anyone help me decipher this error?

  • As far as I can see, everything required was provided. Not sure if it checks the existence of the S3 bucket during the validation (as for me, it should not), but does your bucket exist?

ycha28
gefragt vor 8 Monaten456 Aufrufe
1 Antwort
0

To answer your question, we require details that are non-public information. Please open a support case with AWS using the following link.

AWS
beantwortet vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen