ElementalInference / Client / put_feed_policy

put_feed_policy

ElementalInference.Client.put_feed_policy(**kwargs)

Attaches or replaces a resource-based policy on the specified feed. A resource-based policy grants cross-account access to the feed.

See also: AWS API Documentation

Request Syntax

response = client.put_feed_policy(
    id='string',
    policy='string'
)
Parameters:
  • id (string) –

    [REQUIRED]

    The ID of the feed to attach the policy to.

  • policy (string) –

    [REQUIRED]

    The resource-based policy document to attach to the feed.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ElementalInference.Client.exceptions.ValidationException

  • ElementalInference.Client.exceptions.ResourceNotFoundException

  • ElementalInference.Client.exceptions.InternalServerErrorException

  • ElementalInference.Client.exceptions.AccessDeniedException

  • ElementalInference.Client.exceptions.TooManyRequestException

  • ElementalInference.Client.exceptions.ConflictException