grant_flow_entitlements
async
¶
grant_flow_entitlements(
flow_arn: FlowArn,
*,
config_overrides: Optional[AsyncMediaConnectClientConfig] = None,
entitlements: Optional[__listOfGrantEntitlementRequest] = None,
) -> GrantFlowEntitlementsResponse
Grants entitlements to an existing flow.
Parameters:
-
entitlements(Optional[__listOfGrantEntitlementRequest], default:None) –The list of entitlements that you want to grant.
-
flow_arn(FlowArn) –The Amazon Resource Name (ARN) of the flow that you want to grant entitlements on.
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.
-
GrantFlowEntitlements420Exception–Exception raised by Elemental MediaConnect when granting the entitlement. See the error message for the operation for more information on the cause of this exception.
-
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.