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

************
tag_resource
************



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

  

  Adds tags to a resource.

  

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


  **Request Syntax**
  ::

    response = client.tag_resource(
        arn='string',
        tags={
            'string': 'string'
        }
    )
    
  :type arn: string
  :param arn: **[REQUIRED]** 

    The Amazon Resource Name (ARN)

    

  
  :type tags: dict
  :param tags: **[REQUIRED]** 

    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) --* 

      


  
  :returns: None
  **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`

  