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

************
accept_grant
************



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

  

  Accepts the specified grant.

  

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


  **Request Syntax**
  ::

    response = client.accept_grant(
        GrantArn='string'
    )
    
  :type GrantArn: string
  :param GrantArn: **[REQUIRED]** 

    Amazon Resource Name (ARN) of the grant.

    

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

    
    ::

      {
          'GrantArn': 'string',
          'Status': 'PENDING_WORKFLOW'|'PENDING_ACCEPT'|'REJECTED'|'ACTIVE'|'FAILED_WORKFLOW'|'DELETED'|'PENDING_DELETE'|'DISABLED'|'WORKFLOW_COMPLETED',
          'Version': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **GrantArn** *(string) --* 

        Grant ARN.

        
      

      - **Status** *(string) --* 

        Grant status.

        
      

      - **Version** *(string) --* 

        Grant version.

        
  
  **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.ResourceLimitExceededException`

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

  