:doc:`ConnectCases <../../connectcases>` / Client / get_case

********
get_case
********



.. py:method:: ConnectCases.Client.get_case(**kwargs)

  

  Returns information about a specific case if it exists.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetCase>`_  


  **Request Syntax**
  ::

    response = client.get_case(
        caseId='string',
        domainId='string',
        fields=[
            {
                'id': 'string'
            },
        ],
        nextToken='string'
    )
    
  :type caseId: string
  :param caseId: **[REQUIRED]** 

    A unique identifier of the case.

    

  
  :type domainId: string
  :param domainId: **[REQUIRED]** 

    The unique identifier of the Cases domain.

    

  
  :type fields: list
  :param fields: **[REQUIRED]** 

    A list of unique field identifiers.

    

  
    - *(dict) --* 

      Object for unique identifier of a field.

      

    
      - **id** *(string) --* **[REQUIRED]** 

        Unique identifier of a field.

        

      
    

  :type nextToken: string
  :param nextToken: 

    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.

    

  
  
  :rtype: 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_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'}


          
            

            - **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**
  
  *   :py:class:`ConnectCases.Client.exceptions.InternalServerException`

  
  *   :py:class:`ConnectCases.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ConnectCases.Client.exceptions.ValidationException`

  
  *   :py:class:`ConnectCases.Client.exceptions.ThrottlingException`

  
  *   :py:class:`ConnectCases.Client.exceptions.AccessDeniedException`

  