AWS Elemental MediaConnect
API Reference

UpdateFlowEntitlement, RevokeFlowEntitlement

URI

/v1/flows/flowArn/entitlements/entitlementArn

HTTP Methods

PUT

Operation ID: UpdateFlowEntitlement

Changes an entitlement on a flow. You can change an entitlement's description, subscriber account ID, and encryption. If you change the subscriber account ID, the service will remove the output that was generated when the original subscriber set up their flow.

Path Parameters

Name Type Required Description
flowArn String True

The Amazon Resource Name (ARN) of the flow.

entitlementArn String True

The ARN of the entitlement that you want to update.

Responses

Status Code Response Model Description
202 UpdateFlowEntitlementResponse

AWS Elemental MediaConnect is updating the entitlement.

400 ResponseError

The request that you submitted is not valid.

403 ResponseError

You don't have the required permissions to perform this operation.

404 ResponseError

AWS Elemental MediaConnect did not find the resource that you specified in the request.

429 ResponseError

You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.

500 ResponseError

AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.

503 ResponseError

AWS Elemental MediaConnect is currently unavailable. Try again later.

See Also

DELETE

Operation ID: RevokeFlowEntitlement

Revokes an entitlement from a flow. When you revoke an entitlement is revoked, the content becomes unavailable to the subscriber and AWS Elemental MediaConnect removes the associated output.

Path Parameters

Name Type Required Description
flowArn String True

The Amazon Resource Name (ARN) of the flow.

entitlementArn String True

The ARN of the entitlement that you want to update.

Responses

Status Code Response Model Description
202 RevokeFlowEntitlementResponse

AWS Elemental MediaConnect is revoking the entitlement.

400 ResponseError

The request that you submitted is not valid.

403 ResponseError

You don't have the required permissions to perform this operation.

404 ResponseError

AWS Elemental MediaConnect did not find the resource that you specified in the request.

429 ResponseError

You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.

500 ResponseError

AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.

503 ResponseError

AWS Elemental MediaConnect is currently unavailable. Try again later.

See Also

Schemas

Request Bodies

Example PUT

{ "encryption": { "roleArn": "string", "secretArn": "string", "keyType": enum, "algorithm": enum }, "subscribers": [ "string" ], "description": "string" }

Response Bodies

Example UpdateFlowEntitlementResponse

{ "flowArn": "string", "entitlement": { "encryption": { "roleArn": "string", "secretArn": "string", "keyType": enum, "algorithm": enum }, "subscribers": [ "string" ], "name": "string", "description": "string", "entitlementArn": "string" } }

Example RevokeFlowEntitlementResponse

{ "flowArn": "string", "entitlementArn": "string" }

Example ResponseError

{ "message": "string" }

Properties

Encryption

Information about the encryption of the flow.

Property Type Required Description
roleArn

string

True

The Amazon Resource Name (ARN) of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

secretArn

string

True

The ARN of the secret that you created in AWS Secrets Manager to store the encryption key.

keyType

string

Values: static-key

False

The type of key that is used for the encryption. If you don't specify a keyType value, the service uses the default setting (static-key).

algorithm

string

Values: aes128 | aes192 | aes256

True

The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

See Also

Entitlement

The settings for a flow entitlement.

Property Type Required Description
encryption

Encryption

False

The type of encryption that AWS Elemental MediaConnect will use on the output that is associated with the entitlement.

subscribers

array

True

The AWS 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.

name

string

True

The name of the entitlement.

description

string

False

A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and is not visible outside of the current AWS account.

entitlementArn

string

True

The ARN of the entitlement.

See Also

ResponseError

An exception raised by AWS Elemental MediaConnect when you submit a request that cannot be completed. For more information, see the error message and documentation for the operation.

Property Type Required Description
message

string

True

The specific error message that AWS Elemental MediaConnect returns to help you understand the reason that the request did not succeed.

See Also

RevokeFlowEntitlementResponse

The result of a successful RevokeFlowEntitlement request. The response includes the ARN of the flow and the ARN of the entitlement that you revoked.

Property Type Required Description
flowArn

string

True

The ARN of the flow that the entitlement was revoked from.

entitlementArn

string

True

The ARN of the entitlement that you revoked.

See Also

UpdateEncryption

Information about the encryption of the flow.

Property Type Required Description
roleArn

string

False

The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

secretArn

string

False

The ARN of the secret that you created in AWS Secrets Manager to store the encryption key.

keyType

string

Values: static-key

False

The type of key that is used for the encryption. If you don't specify a keyType value, the service uses the default setting (static-key).

algorithm

string

Values: aes128 | aes192 | aes256

False

The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

See Also

UpdateFlowEntitlementRequest

The updates that you want to make to a specific entitlement.

Property Type Required Description
encryption

UpdateEncryption

False

The type of encryption that AWS Elemental MediaConnect will use on the output that is associated with the entitlement.

subscribers

array

False

The AWS 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.

description

string

False

A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and is not visible outside of the current AWS account.

See Also

UpdateFlowEntitlementResponse

The result of a successful UpdateFlowEntitlement request. The response includes the ARN of the flow that was updated and the updated entitlement configuration.

Property Type Required Description
flowArn

string

True

The ARN of the flow that the entitlement was granted on.

entitlement

Entitlement

True

See Also