APPLICATIONCOSTPROFILER
DeleteReportDefinition
valid {
input.ReqMap.reportId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetReportDefinition
valid {
input.ReqMap.reportId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ImportApplicationUsage
enum_S3BucketRegion := [ "ap-east-1", "me-south-1", "eu-south-1", "af-south-1" ]
valid {
input.Body.sourceS3Location.bucket == STRING
input.Body.sourceS3Location.key == STRING
input.Body.sourceS3Location.region == enum_S3BucketRegion[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListReportDefinitions
valid {
input.Qs.nextToken == STRING
input.Qs.maxResults == INTEGER
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
PutReportDefinition
enum_Format := [ "CSV", "PARQUET" ]
enum_ReportFrequency := [ "MONTHLY", "DAILY", "ALL" ]
valid {
input.Body.reportId == STRING
input.Body.reportDescription == STRING
input.Body.reportFrequency == enum_ReportFrequency[_]
input.Body.format == enum_Format[_]
input.Body.destinationS3Location.bucket == STRING
input.Body.destinationS3Location.prefix == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdateReportDefinition
enum_Format := [ "CSV", "PARQUET" ]
enum_ReportFrequency := [ "MONTHLY", "DAILY", "ALL" ]
valid {
input.Body.reportDescription == STRING
input.Body.reportFrequency == enum_ReportFrequency[_]
input.Body.format == enum_Format[_]
input.Body.destinationS3Location.bucket == STRING
input.Body.destinationS3Location.prefix == STRING
input.ReqMap.reportId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
Updated 4 days ago