update_flow_entitlement
¶
update_flow_entitlement(
entitlement_arn: str,
flow_arn: FlowArn,
*,
config_overrides: Optional[MediaConnectClientConfig] = 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/media_connect.py
2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 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 | |