ConnectCases.Client.get_case(**kwargs)¶Returns information about a specific case if it exists.
See also: AWS API Documentation
Request Syntax
response = client.get_case(
caseId='string',
domainId='string',
fields=[
{
'id': 'string'
},
],
nextToken='string'
)
[REQUIRED]
A unique identifier of the case.
[REQUIRED]
The unique identifier of the Cases domain.
[REQUIRED]
A list of unique field identifiers.
Object for unique identifier of a field.
Unique identifier of a field.
dict
Response Syntax
{
'fields': [
{
'id': 'string',
'value': {
'booleanValue': True|False,
'doubleValue': 123.0,
'stringValue': 'string'
}
},
],
'nextToken': 'string',
'tags': {
'string': 'string'
},
'templateId': 'string'
}
Response Structure
(dict) --
fields (list) --
A list of detailed field information.
(dict) --
Object for case field values.
id (string) --
Unique identifier of a field.
value (dict) --
Union of potential field value types.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set: booleanValue, doubleValue, stringValue. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:
'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
booleanValue (boolean) --
Can be either null, or have a Boolean value type. Only one value can be provided.
doubleValue (float) --
Can be either null, or have a Double number value type. Only one value can be provided.
stringValue (string) --
String value type.
nextToken (string) --
The token for the next set of results. This is null if there are no more results to return.
tags (dict) --
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
templateId (string) --
A unique identifier of a template.
Exceptions
ConnectCases.Client.exceptions.InternalServerExceptionConnectCases.Client.exceptions.ResourceNotFoundExceptionConnectCases.Client.exceptions.ValidationExceptionConnectCases.Client.exceptions.ThrottlingExceptionConnectCases.Client.exceptions.AccessDeniedException