Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.MediaConnect.RevokeFlowEntitlement
Description
Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.
Synopsis
- data RevokeFlowEntitlement = RevokeFlowEntitlement' {
- flowArn :: Text
- entitlementArn :: Text
- newRevokeFlowEntitlement :: Text -> Text -> RevokeFlowEntitlement
- revokeFlowEntitlement_flowArn :: Lens' RevokeFlowEntitlement Text
- revokeFlowEntitlement_entitlementArn :: Lens' RevokeFlowEntitlement Text
- data RevokeFlowEntitlementResponse = RevokeFlowEntitlementResponse' {
- entitlementArn :: Maybe Text
- flowArn :: Maybe Text
- httpStatus :: Int
- newRevokeFlowEntitlementResponse :: Int -> RevokeFlowEntitlementResponse
- revokeFlowEntitlementResponse_entitlementArn :: Lens' RevokeFlowEntitlementResponse (Maybe Text)
- revokeFlowEntitlementResponse_flowArn :: Lens' RevokeFlowEntitlementResponse (Maybe Text)
- revokeFlowEntitlementResponse_httpStatus :: Lens' RevokeFlowEntitlementResponse Int
Creating a Request
data RevokeFlowEntitlement Source #
See: newRevokeFlowEntitlement
smart constructor.
Constructors
RevokeFlowEntitlement' | |
Fields
|
Instances
newRevokeFlowEntitlement Source #
Arguments
:: Text | |
-> Text | |
-> RevokeFlowEntitlement |
Create a value of RevokeFlowEntitlement
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:flowArn:RevokeFlowEntitlement'
, revokeFlowEntitlement_flowArn
- The flow that you want to revoke an entitlement from.
$sel:entitlementArn:RevokeFlowEntitlement'
, revokeFlowEntitlement_entitlementArn
- The ARN of the entitlement that you want to revoke.
Request Lenses
revokeFlowEntitlement_flowArn :: Lens' RevokeFlowEntitlement Text Source #
The flow that you want to revoke an entitlement from.
revokeFlowEntitlement_entitlementArn :: Lens' RevokeFlowEntitlement Text Source #
The ARN of the entitlement that you want to revoke.
Destructuring the Response
data RevokeFlowEntitlementResponse Source #
See: newRevokeFlowEntitlementResponse
smart constructor.
Constructors
RevokeFlowEntitlementResponse' | |
Fields
|
Instances
newRevokeFlowEntitlementResponse Source #
Create a value of RevokeFlowEntitlementResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:entitlementArn:RevokeFlowEntitlement'
, revokeFlowEntitlementResponse_entitlementArn
- The ARN of the entitlement that was revoked.
$sel:flowArn:RevokeFlowEntitlement'
, revokeFlowEntitlementResponse_flowArn
- The ARN of the flow that the entitlement was revoked from.
$sel:httpStatus:RevokeFlowEntitlementResponse'
, revokeFlowEntitlementResponse_httpStatus
- The response's http status code.
Response Lenses
revokeFlowEntitlementResponse_entitlementArn :: Lens' RevokeFlowEntitlementResponse (Maybe Text) Source #
The ARN of the entitlement that was revoked.
revokeFlowEntitlementResponse_flowArn :: Lens' RevokeFlowEntitlementResponse (Maybe Text) Source #
The ARN of the flow that the entitlement was revoked from.
revokeFlowEntitlementResponse_httpStatus :: Lens' RevokeFlowEntitlementResponse Int Source #
The response's http status code.