ConnectCases.Client.
update_case
(**kwargs)¶Updates the values of fields on a case. Fields to be updated are received as an array of id/value pairs identical to the CreateCase
input .
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
See also: AWS API Documentation
Request Syntax
response = client.update_case(
caseId='string',
domainId='string',
fields=[
{
'id': 'string',
'value': {
'booleanValue': True|False,
'doubleValue': 123.0,
'stringValue': 'string'
}
},
]
)
[REQUIRED]
A unique identifier of the case.
[REQUIRED]
The unique identifier of the Cases domain.
[REQUIRED]
An array of objects with fieldId
(matching ListFields/DescribeField) and value union data, structured identical to CreateCase
.
Object for case field values.
Unique identifier of a field.
Union of potential field value types.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: booleanValue
, doubleValue
, stringValue
.
Can be either null, or have a Boolean value type. Only one value can be provided.
Can be either null, or have a Double number value type. Only one value can be provided.
String value type.
dict
Response Syntax
{}
Response Structure
Exceptions
ConnectCases.Client.exceptions.InternalServerException
ConnectCases.Client.exceptions.ResourceNotFoundException
ConnectCases.Client.exceptions.ValidationException
ConnectCases.Client.exceptions.ThrottlingException
ConnectCases.Client.exceptions.AccessDeniedException