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
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 | |