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.ValidationExceptionElementalInference.Client.exceptions.ResourceNotFoundExceptionElementalInference.Client.exceptions.InternalServerErrorExceptionElementalInference.Client.exceptions.AccessDeniedExceptionElementalInference.Client.exceptions.TooManyRequestExceptionElementalInference.Client.exceptions.ConflictException