ElementalInference / Client / get_feed_policy

get_feed_policy

ElementalInference.Client.get_feed_policy(**kwargs)

Retrieves the resource-based policy attached to the specified feed.

See also: AWS API Documentation

Request Syntax

response = client.get_feed_policy(
    id='string'
)
Parameters:

id (string) –

[REQUIRED]

The ID of the feed whose policy you want to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'policy': 'string'
}

Response Structure

  • (dict) –

    • policy (string) –

      The resource-based policy document attached to the feed.

Exceptions

  • ElementalInference.Client.exceptions.ValidationException

  • ElementalInference.Client.exceptions.ResourceNotFoundException

  • ElementalInference.Client.exceptions.InternalServerErrorException

  • ElementalInference.Client.exceptions.AccessDeniedException

  • ElementalInference.Client.exceptions.TooManyRequestException