:doc:`Kinesis <../../kinesis>` / Client / tag_resource

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



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

  

  Adds or updates tags for the specified Kinesis resource. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources. You can assign up to 50 tags to a Kinesis resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/TagResource>`_  


  **Request Syntax**
  ::

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

    An array of tags to be added to the Kinesis resource. A tag consists of a required key and an optional value. You can add up to 50 tags per resource.

     

    Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    The Amazon Resource Name (ARN) of the Kinesis resource to which to add tags.

    

  
  :type StreamId: string
  :param StreamId: 

    Not Implemented. Reserved for future use.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Kinesis.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Kinesis.Client.exceptions.ResourceInUseException`

  
  *   :py:class:`Kinesis.Client.exceptions.InvalidArgumentException`

  
  *   :py:class:`Kinesis.Client.exceptions.LimitExceededException`

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

  