SUPPORT-APP

CreateSlackChannelConfiguration

enum_NotificationSeverityLevel := [ "none", "all", "high" ]

valid {
    input.Body.channelId == STRING
    input.Body.channelName == STRING
    input.Body.channelRoleArn == STRING
    input.Body.notifyOnAddCorrespondenceToCase == BOOLEAN
    input.Body.notifyOnCaseSeverity == enum_NotificationSeverityLevel[_]
    input.Body.notifyOnCreateOrReopenCase == BOOLEAN
    input.Body.notifyOnResolveCase == BOOLEAN
    input.Body.teamId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteAccountAlias

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

DeleteSlackChannelConfiguration

valid {
    input.Body.channelId == STRING
    input.Body.teamId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteSlackWorkspaceConfiguration

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

GetAccountAlias

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

ListSlackChannelConfigurations

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

ListSlackWorkspaceConfigurations

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

PutAccountAlias

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

RegisterSlackWorkspaceForOrganization

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

UpdateSlackChannelConfiguration

enum_NotificationSeverityLevel := [ "none", "all", "high" ]

valid {
    input.Body.channelId == STRING
    input.Body.channelName == STRING
    input.Body.channelRoleArn == STRING
    input.Body.notifyOnAddCorrespondenceToCase == BOOLEAN
    input.Body.notifyOnCaseSeverity == enum_NotificationSeverityLevel[_]
    input.Body.notifyOnCreateOrReopenCase == BOOLEAN
    input.Body.notifyOnResolveCase == BOOLEAN
    input.Body.teamId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}