ConnectCases / Client / get_case
get_case¶
- 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' ) - Parameters:
- caseId (string) – - [REQUIRED] - A unique identifier of the case. 
- domainId (string) – - [REQUIRED] - The unique identifier of the Cases domain. 
- fields (list) – - [REQUIRED] - A list of unique field identifiers. - (dict) – - Object for unique identifier of a field. - id (string) – [REQUIRED] - Unique identifier of a field. 
 
 
- nextToken (string) – The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'fields': [ { 'id': 'string', 'value': { 'stringValue': 'string', 'doubleValue': 123.0, 'booleanValue': True|False, 'emptyValue': {}, 'userArnValue': 'string' } }, ], 'templateId': 'string', 'nextToken': 'string', 'tags': { 'string': '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: - stringValue,- doubleValue,- booleanValue,- emptyValue,- userArnValue. If a client receives an unknown member it will set- SDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure of- SDK_UNKNOWN_MEMBERis as follows:- 'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'} - stringValue (string) – - String value type. 
- doubleValue (float) – - Can be either null, or have a Double number value type. Only one value can be provided. 
- booleanValue (boolean) – - Can be either null, or have a Boolean value type. Only one value can be provided. 
- emptyValue (dict) – - An empty value. 
- userArnValue (string) – - Represents the user that performed the audit. 
 
 
 
- templateId (string) – - A unique identifier of a template. 
- 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. - (string) – - (string) – 
 
 
 
 
 - Exceptions- ConnectCases.Client.exceptions.InternalServerException
- ConnectCases.Client.exceptions.ResourceNotFoundException
- ConnectCases.Client.exceptions.ValidationException
- ConnectCases.Client.exceptions.ThrottlingException
- ConnectCases.Client.exceptions.AccessDeniedException