reason

@JvmName(name = "hrpsqgmqralgwney")
suspend fun reason(value: Output<String>)
@JvmName(name = "odcqhjptmxsahnqs")
suspend fun reason(value: String?)

Parameters

value

reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: "FieldValueInvalid", "FieldValueForbidden", "FieldValueRequired", "FieldValueDuplicate". If not set, default to use "FieldValueInvalid". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.