disassociate_feed
async
¶
disassociate_feed(
id: FeedId,
associated_resource_name: AssociatedResourceName,
*,
config_overrides: Optional[AsyncElementalInferenceClientConfig] = None,
dry_run: Optional[bool] = None,
) -> DisassociateFeedResponse
Releases the resource (the source media) that is associated with this feed. The outputs in the feed become DISABLED.
Parameters:
-
id(FeedId) –The ID of the feed where you want to release the resource.
-
associated_resource_name(AssociatedResourceName) –The name of the resource currently associated with the feed.
-
dry_run(Optional[bool], default:None) –Set to true if you want to do a dry run of the disassociate action.
Elemental Inference will validate that the real request would succeed without actually making any changes. A dry run catches errors such as missing IAM permissions. If the dry run fails, the action returns a 4xx error code.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request could not be completed due to a conflict.
-
InternalServerErrorException–An internal server error occurred. This is a temporary condition and the request can be retried. If the problem persists, contact AWS Support.
-
ResourceNotFoundException–The resource specified in the action doesn't exist.
-
TooManyRequestException–The request was denied due to request throttling. Too many requests have been made within a given time period. Reduce the frequency of requests and use exponential backoff when retrying.
-
ValidationException–The input fails to satisfy the constraints specified by the service. Check the error message for details about which parameter or field is invalid and correct the request before retrying.
-
UnknownServiceError–The service returned an error code this client does not model.