Organizations / Client / describe_resource_policy



Retrieves information about a resource policy.

This operation can be called only from the organization’s management account or by a member account that is a delegated administrator for an Amazon Web Services service.

See also: AWS API Documentation

Request Syntax

response = client.describe_resource_policy()
Return type:



Response Syntax

    'ResourcePolicy': {
        'ResourcePolicySummary': {
            'Id': 'string',
            'Arn': 'string'
        'Content': 'string'

Response Structure

  • (dict) –

    • ResourcePolicy (dict) –

      A structure that contains details about the resource policy.

      • ResourcePolicySummary (dict) –

        A structure that contains resource policy ID and Amazon Resource Name (ARN).

        • Id (string) –

          The unique identifier (ID) of the resource policy.

        • Arn (string) –

          The Amazon Resource Name (ARN) of the resource policy.

      • Content (string) –

        The policy text of the resource policy.


  • Organizations.Client.exceptions.AccessDeniedException

  • Organizations.Client.exceptions.ServiceException

  • Organizations.Client.exceptions.UnsupportedAPIEndpointException

  • Organizations.Client.exceptions.TooManyRequestsException

  • Organizations.Client.exceptions.AWSOrganizationsNotInUseException

  • Organizations.Client.exceptions.ResourcePolicyNotFoundException

  • Organizations.Client.exceptions.ConstraintViolationException