grant_flow_entitlements(**kwargs)¶Grants entitlements to an existing flow.
See also: AWS API Documentation
Request Syntax
response = client.grant_flow_entitlements(
Entitlements=[
{
'DataTransferSubscriberFeePercent': 123,
'Description': 'string',
'Encryption': {
'Algorithm': 'aes128'|'aes192'|'aes256',
'ConstantInitializationVector': 'string',
'DeviceId': 'string',
'KeyType': 'speke'|'static-key'|'srt-password',
'Region': 'string',
'ResourceId': 'string',
'RoleArn': 'string',
'SecretArn': 'string',
'Url': 'string'
},
'EntitlementStatus': 'ENABLED'|'DISABLED',
'Name': 'string',
'Subscribers': [
'string',
]
},
],
FlowArn='string'
)
[REQUIRED] The list of entitlements that you want to grant.
dict
Response Syntax
{
'Entitlements': [
{
'DataTransferSubscriberFeePercent': 123,
'Description': 'string',
'Encryption': {
'Algorithm': 'aes128'|'aes192'|'aes256',
'ConstantInitializationVector': 'string',
'DeviceId': 'string',
'KeyType': 'speke'|'static-key'|'srt-password',
'Region': 'string',
'ResourceId': 'string',
'RoleArn': 'string',
'SecretArn': 'string',
'Url': 'string'
},
'EntitlementArn': 'string',
'EntitlementStatus': 'ENABLED'|'DISABLED',
'Name': 'string',
'Subscribers': [
'string',
]
},
],
'FlowArn': 'string'
}
Response Structure
Exceptions
MediaConnect.Client.exceptions.GrantFlowEntitlements420ExceptionMediaConnect.Client.exceptions.BadRequestExceptionMediaConnect.Client.exceptions.InternalServerErrorExceptionMediaConnect.Client.exceptions.ForbiddenExceptionMediaConnect.Client.exceptions.NotFoundExceptionMediaConnect.Client.exceptions.ServiceUnavailableExceptionMediaConnect.Client.exceptions.TooManyRequestsException