MediaConnect / Client / revoke_flow_entitlement

revoke_flow_entitlement#

MediaConnect.Client.revoke_flow_entitlement(**kwargs)#

Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.

See also: AWS API Documentation

Request Syntax

response = client.revoke_flow_entitlement(
    EntitlementArn='string',
    FlowArn='string'
)
Parameters:
  • EntitlementArn (string) – [REQUIRED] The ARN of the entitlement that you want to revoke.

  • FlowArn (string) – [REQUIRED] The flow that you want to revoke an entitlement from.

Return type:

dict

Returns:

Response Syntax

{
    'EntitlementArn': 'string',
    'FlowArn': 'string'
}

Response Structure

  • (dict) – AWS Elemental MediaConnect revoked the entitlement successfully.

    • EntitlementArn (string) – The ARN of the entitlement that was revoked.

    • FlowArn (string) – The ARN of the flow that the entitlement was revoked from.

Exceptions

  • MediaConnect.Client.exceptions.BadRequestException

  • MediaConnect.Client.exceptions.InternalServerErrorException

  • MediaConnect.Client.exceptions.ForbiddenException

  • MediaConnect.Client.exceptions.NotFoundException

  • MediaConnect.Client.exceptions.ServiceUnavailableException

  • MediaConnect.Client.exceptions.TooManyRequestsException