:doc:`SSMIncidents <../../ssm-incidents>` / Client / tag_resource

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



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

  

  Adds a tag to a response plan.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/TagResource>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the response plan you're adding the tags to.

    

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

    A list of tags to add to the response plan.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`SSMIncidents.Client.exceptions.ServiceQuotaExceededException`

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

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

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

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

  
  *   :py:class:`SSMIncidents.Client.exceptions.ConflictException`

  
  *   :py:class:`SSMIncidents.Client.exceptions.InternalServerException`

  