update_flow_entitlement
async
¶
update_flow_entitlement(
entitlement_arn: str,
flow_arn: FlowArn,
*,
config_overrides: Optional[AsyncMediaConnectClientConfig] = None,
description: Optional[str] = None,
encryption: Optional[UpdateEncryption] = None,
entitlement_status: Optional[EntitlementStatus] = None,
subscribers: Optional[__listOfString] = None,
) -> UpdateFlowEntitlementResponse
Updates an entitlement. You can change an entitlement's description, subscribers, and encryption. If you change the subscribers, the service will remove the outputs that are are used by the subscribers that are removed.
Parameters:
-
description(Optional[str], default:None) –A description of the entitlement. This description appears only on the MediaConnect console and will not be seen by the subscriber or end user.
-
encryption(Optional[UpdateEncryption], default:None) –The type of encryption that will be used on the output associated with this entitlement. Allowable encryption types: static-key, speke.
-
entitlement_arn(str) –The Amazon Resource Name (ARN) of the entitlement that you want to update.
-
entitlement_status(Optional[EntitlementStatus], default:None) –An indication of whether you want to enable the entitlement to allow access, or disable it to stop streaming content to the subscriber’s flow temporarily. If you don’t specify the
entitlementStatusfield in your request, MediaConnect leaves the value unchanged. -
flow_arn(FlowArn) –The ARN of the flow that is associated with the entitlement that you want to update.
-
subscribers(Optional[__listOfString], default:None) –The Amazon Web Services account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.
Raises:
-
BadRequestException–This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message.
-
ForbiddenException–You do not have sufficient access to perform this action.
-
InternalServerErrorException–The server encountered an internal error and is unable to complete the request.
-
NotFoundException–One or more of the resources in the request does not exist in the system.
-
ServiceUnavailableException–The service is currently unavailable or busy.
-
TooManyRequestsException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediaconnect/_services/async_media_connect.py
2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 | |