:doc:`LicenseManager <../../license-manager>` / Client / get_license_usage

*****************
get_license_usage
*****************



.. py:method:: LicenseManager.Client.get_license_usage(**kwargs)

  

  Gets detailed information about the usage of the specified license.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseUsage>`_  


  **Request Syntax**
  ::

    response = client.get_license_usage(
        LicenseArn='string'
    )
    
  :type LicenseArn: string
  :param LicenseArn: **[REQUIRED]** 

    Amazon Resource Name (ARN) of the license.

    

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

    
    ::

      {
          'LicenseUsage': {
              'EntitlementUsages': [
                  {
                      'Name': 'string',
                      'ConsumedValue': 'string',
                      'MaxCount': 'string',
                      'Unit': 'Count'|'None'|'Seconds'|'Microseconds'|'Milliseconds'|'Bytes'|'Kilobytes'|'Megabytes'|'Gigabytes'|'Terabytes'|'Bits'|'Kilobits'|'Megabits'|'Gigabits'|'Terabits'|'Percent'|'Bytes/Second'|'Kilobytes/Second'|'Megabytes/Second'|'Gigabytes/Second'|'Terabytes/Second'|'Bits/Second'|'Kilobits/Second'|'Megabits/Second'|'Gigabits/Second'|'Terabits/Second'|'Count/Second'
                  },
              ]
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **LicenseUsage** *(dict) --* 

        License usage details.

        
        

        - **EntitlementUsages** *(list) --* 

          License entitlement usages.

          
          

          - *(dict) --* 

            Usage associated with an entitlement resource.

            
            

            - **Name** *(string) --* 

              Entitlement usage name.

              
            

            - **ConsumedValue** *(string) --* 

              Resource usage consumed.

              
            

            - **MaxCount** *(string) --* 

              Maximum entitlement usage count.

              
            

            - **Unit** *(string) --* 

              Entitlement usage unit.

              
        
      
    
  
  **Exceptions**
  
  *   :py:class:`LicenseManager.Client.exceptions.ValidationException`

  
  *   :py:class:`LicenseManager.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`LicenseManager.Client.exceptions.AuthorizationException`

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

  
  *   :py:class:`LicenseManager.Client.exceptions.RateLimitExceededException`

  
  *   :py:class:`LicenseManager.Client.exceptions.ServerInternalException`

  