:doc:`signer <../../signer>` / Client / tag_resource

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



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

  

  Adds one or more tags to a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/TagResource>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) for the signing profile.

    

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

    One or more tags to be associated with the signing profile.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`signer.Client.exceptions.InternalServiceErrorException`

  
  *   :py:class:`signer.Client.exceptions.BadRequestException`

  
  *   :py:class:`signer.Client.exceptions.NotFoundException`

  
  *   :py:class:`signer.Client.exceptions.TooManyRequestsException`

  