:doc:`RDS <../../rds>` / Client / remove_role_from_db_instance

****************************
remove_role_from_db_instance
****************************



.. py:method:: RDS.Client.remove_role_from_db_instance(**kwargs)

  

  Disassociates an Amazon Web Services Identity and Access Management (IAM) role from a DB instance.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBInstance>`_  


  **Request Syntax**
  ::

    response = client.remove_role_from_db_instance(
        DBInstanceIdentifier='string',
        RoleArn='string',
        FeatureName='string'
    )
    
  :type DBInstanceIdentifier: string
  :param DBInstanceIdentifier: **[REQUIRED]** 

    The name of the DB instance to disassociate the IAM role from.

    

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

    The Amazon Resource Name (ARN) of the IAM role to disassociate from the DB instance, for example, ``arn:aws:iam::123456789012:role/AccessRole``.

    

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

    The name of the feature for the DB instance that the IAM role is to be disassociated from. For information about supported feature names, see ``DBEngineVersion``.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`RDS.Client.exceptions.DBInstanceNotFoundFault`

  
  *   :py:class:`RDS.Client.exceptions.DBInstanceRoleNotFoundFault`

  
  *   :py:class:`RDS.Client.exceptions.InvalidDBInstanceStateFault`

  