ARC-ZONAL-SHIFT

CancelZonalShift

valid {
    input.ReqMap.zonalShiftId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreatePracticeRunConfiguration

enum_ControlConditionType := [ "CLOUDWATCH" ]

valid {
    input.Body.blockedDates[_] == STRING
    input.Body.blockedWindows[_] == STRING
    input.Body.blockingAlarms[_].alarmIdentifier == STRING
    input.Body.blockingAlarms[_].type == enum_ControlConditionType[_]
    input.Body.outcomeAlarms[_].alarmIdentifier == STRING
    input.Body.outcomeAlarms[_].type == enum_ControlConditionType[_]
    input.Body.resourceIdentifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeletePracticeRunConfiguration

valid {
    input.ReqMap.resourceIdentifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetAutoshiftObserverNotificationStatus

valid {
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetManagedResource

valid {
    input.ReqMap.resourceIdentifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListAutoshifts

enum_AutoshiftExecutionStatus := [ "ACTIVE", "COMPLETED" ]

valid {
    input.Qs.maxResults == INTEGER
    input.Qs.nextToken == STRING
    input.Qs.status == enum_AutoshiftExecutionStatus[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListManagedResources

valid {
    input.Qs.maxResults == INTEGER
    input.Qs.nextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListZonalShifts

enum_ZonalShiftStatus := [ "ACTIVE", "EXPIRED", "CANCELED" ]

valid {
    input.Qs.maxResults == INTEGER
    input.Qs.nextToken == STRING
    input.Qs.resourceIdentifier == STRING
    input.Qs.status == enum_ZonalShiftStatus[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartZonalShift

valid {
    input.Body.awayFrom == STRING
    input.Body.comment == STRING
    input.Body.expiresIn == STRING
    input.Body.resourceIdentifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateAutoshiftObserverNotificationStatus

enum_AutoshiftObserverNotificationStatus := [ "ENABLED", "DISABLED" ]

valid {
    input.Body.status == enum_AutoshiftObserverNotificationStatus[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdatePracticeRunConfiguration

enum_ControlConditionType := [ "CLOUDWATCH" ]

valid {
    input.Body.blockedDates[_] == STRING
    input.Body.blockedWindows[_] == STRING
    input.Body.blockingAlarms[_].alarmIdentifier == STRING
    input.Body.blockingAlarms[_].type == enum_ControlConditionType[_]
    input.Body.outcomeAlarms[_].alarmIdentifier == STRING
    input.Body.outcomeAlarms[_].type == enum_ControlConditionType[_]
    input.ReqMap.resourceIdentifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateZonalAutoshiftConfiguration

enum_ZonalAutoshiftStatus := [ "ENABLED", "DISABLED" ]

valid {
    input.Body.zonalAutoshiftStatus == enum_ZonalAutoshiftStatus[_]
    input.ReqMap.resourceIdentifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateZonalShift

valid {
    input.Body.comment == STRING
    input.Body.expiresIn == STRING
    input.ReqMap.zonalShiftId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}