CreatePerformanceAnalysisReport

enum_ServiceType := [ "RDS", "DOCDB" ]

valid {
    input.Body.ServiceType == enum_ServiceType[_]
    input.Body.Identifier == STRING
    input.Body.StartTime == TIMESTAMP
    input.Body.EndTime == TIMESTAMP
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeletePerformanceAnalysisReport

enum_ServiceType := [ "RDS", "DOCDB" ]

valid {
    input.Body.ServiceType == enum_ServiceType[_]
    input.Body.Identifier == STRING
    input.Body.AnalysisReportId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeDimensionKeys

enum_ServiceType := [ "RDS", "DOCDB" ]

valid {
    input.Body.ServiceType == enum_ServiceType[_]
    input.Body.Identifier == STRING
    input.Body.StartTime == TIMESTAMP
    input.Body.EndTime == TIMESTAMP
    input.Body.Metric == STRING
    input.Body.PeriodInSeconds == INTEGER
    input.Body.GroupBy.Group == STRING
    input.Body.GroupBy.Dimensions[_] == STRING
    input.Body.GroupBy.Limit == INTEGER
    input.Body.AdditionalMetrics[_] == STRING
    input.Body.PartitionBy.Group == STRING
    input.Body.PartitionBy.Dimensions[_] == STRING
    input.Body.PartitionBy.Limit == INTEGER
    input.Body.Filter.STRING == STRING
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetDimensionKeyDetails

enum_ServiceType := [ "RDS", "DOCDB" ]

valid {
    input.Body.ServiceType == enum_ServiceType[_]
    input.Body.Identifier == STRING
    input.Body.Group == STRING
    input.Body.GroupIdentifier == STRING
    input.Body.RequestedDimensions[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetPerformanceAnalysisReport

enum_AcceptLanguage := [ "EN_US" ]
enum_ServiceType := [ "RDS", "DOCDB" ]
enum_TextFormat := [ "PLAIN_TEXT", "MARKDOWN" ]

valid {
    input.Body.ServiceType == enum_ServiceType[_]
    input.Body.Identifier == STRING
    input.Body.AnalysisReportId == STRING
    input.Body.TextFormat == enum_TextFormat[_]
    input.Body.AcceptLanguage == enum_AcceptLanguage[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetResourceMetadata

enum_ServiceType := [ "RDS", "DOCDB" ]

valid {
    input.Body.ServiceType == enum_ServiceType[_]
    input.Body.Identifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetResourceMetrics

enum_PeriodAlignment := [ "END_TIME", "START_TIME" ]
enum_ServiceType := [ "RDS", "DOCDB" ]

valid {
    input.Body.ServiceType == enum_ServiceType[_]
    input.Body.Identifier == STRING
    input.Body.MetricQueries[_].Metric == STRING
    input.Body.MetricQueries[_].GroupBy.Group == STRING
    input.Body.MetricQueries[_].GroupBy.Dimensions[_] == STRING
    input.Body.MetricQueries[_].GroupBy.Limit == INTEGER
    input.Body.MetricQueries[_].Filter.STRING == STRING
    input.Body.StartTime == TIMESTAMP
    input.Body.EndTime == TIMESTAMP
    input.Body.PeriodInSeconds == INTEGER
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.Body.PeriodAlignment == enum_PeriodAlignment[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListAvailableResourceDimensions

enum_FineGrainedAction := [ "DescribeDimensionKeys", "GetDimensionKeyDetails", "GetResourceMetrics" ]
enum_ServiceType := [ "RDS", "DOCDB" ]

valid {
    input.Body.ServiceType == enum_ServiceType[_]
    input.Body.Identifier == STRING
    input.Body.Metrics[_] == STRING
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.Body.AuthorizedActions[_] == enum_FineGrainedAction[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListAvailableResourceMetrics

enum_ServiceType := [ "RDS", "DOCDB" ]

valid {
    input.Body.ServiceType == enum_ServiceType[_]
    input.Body.Identifier == STRING
    input.Body.MetricTypes[_] == STRING
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListPerformanceAnalysisReports

enum_ServiceType := [ "RDS", "DOCDB" ]

valid {
    input.Body.ServiceType == enum_ServiceType[_]
    input.Body.Identifier == STRING
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.ListTags == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListTagsForResource

enum_ServiceType := [ "RDS", "DOCDB" ]

valid {
    input.Body.ServiceType == enum_ServiceType[_]
    input.Body.ResourceARN == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

TagResource

enum_ServiceType := [ "RDS", "DOCDB" ]

valid {
    input.Body.ServiceType == enum_ServiceType[_]
    input.Body.ResourceARN == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UntagResource

enum_ServiceType := [ "RDS", "DOCDB" ]

valid {
    input.Body.ServiceType == enum_ServiceType[_]
    input.Body.ResourceARN == STRING
    input.Body.TagKeys[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}