:doc:`SystemsManagerQuickSetup <../../ssm-quicksetup>` / Client / tag_resource

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



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

  

  Assigns key-value pairs of metadata to Amazon Web Services resources.

  

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


  **Request Syntax**
  ::

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

    The ARN of the resource to tag.

    

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

    Key-value pairs of metadata to assign to the resource.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  
  :returns: None
  **Exceptions**
  
  *   :py:class:`SystemsManagerQuickSetup.Client.exceptions.ValidationException`

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

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

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

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

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

  