:doc:`CloudFormation <../../cloudformation>` / Client / describe_organizations_access

*****************************
describe_organizations_access
*****************************



.. py:method:: CloudFormation.Client.describe_organizations_access(**kwargs)

  

  Retrieves information about the account's ``OrganizationAccess`` status. This API can be called either by the management account or the delegated administrator by using the ``CallAs`` parameter. This API can also be called without the ``CallAs`` parameter by the management account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeOrganizationsAccess>`_  


  **Request Syntax**
  ::

    response = client.describe_organizations_access(
        CallAs='SELF'|'DELEGATED_ADMIN'
    )
    
  :type CallAs: string
  :param CallAs: 

    [Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

     

    By default, ``SELF`` is specified.

     

    
    * If you are signed in to the management account, specify ``SELF``.
     
    * If you are signed in to a delegated administrator account, specify ``DELEGATED_ADMIN``. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see `Register a delegated administrator <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html>`__ in the *CloudFormation User Guide*.
    

    

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

    
    ::

      {
          'Status': 'ENABLED'|'DISABLED'|'DISABLED_PERMANENTLY'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        Presents the status of the ``OrganizationAccess``.

        
  
  **Exceptions**
  
  *   :py:class:`CloudFormation.Client.exceptions.InvalidOperationException`

  
  *   :py:class:`CloudFormation.Client.exceptions.OperationNotFoundException`

  