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 |
Grants entitlements to an existing flow.
Synopsis
- data GrantFlowEntitlements = GrantFlowEntitlements' {}
- newGrantFlowEntitlements :: Text -> GrantFlowEntitlements
- grantFlowEntitlements_flowArn :: Lens' GrantFlowEntitlements Text
- grantFlowEntitlements_entitlements :: Lens' GrantFlowEntitlements [GrantEntitlementRequest]
- data GrantFlowEntitlementsResponse = GrantFlowEntitlementsResponse' {
- flowArn :: Maybe Text
- entitlements :: Maybe [Entitlement]
- httpStatus :: Int
- newGrantFlowEntitlementsResponse :: Int -> GrantFlowEntitlementsResponse
- grantFlowEntitlementsResponse_flowArn :: Lens' GrantFlowEntitlementsResponse (Maybe Text)
- grantFlowEntitlementsResponse_entitlements :: Lens' GrantFlowEntitlementsResponse (Maybe [Entitlement])
- grantFlowEntitlementsResponse_httpStatus :: Lens' GrantFlowEntitlementsResponse Int
Creating a Request
data GrantFlowEntitlements Source #
A request to grant entitlements on a flow.
See: newGrantFlowEntitlements
smart constructor.
GrantFlowEntitlements' | |
|
Instances
newGrantFlowEntitlements Source #
Create a value of GrantFlowEntitlements
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:GrantFlowEntitlements'
, grantFlowEntitlements_flowArn
- The flow that you want to grant entitlements on.
$sel:entitlements:GrantFlowEntitlements'
, grantFlowEntitlements_entitlements
- The list of entitlements that you want to grant.
Request Lenses
grantFlowEntitlements_flowArn :: Lens' GrantFlowEntitlements Text Source #
The flow that you want to grant entitlements on.
grantFlowEntitlements_entitlements :: Lens' GrantFlowEntitlements [GrantEntitlementRequest] Source #
The list of entitlements that you want to grant.
Destructuring the Response
data GrantFlowEntitlementsResponse Source #
See: newGrantFlowEntitlementsResponse
smart constructor.
GrantFlowEntitlementsResponse' | |
|
Instances
newGrantFlowEntitlementsResponse Source #
Create a value of GrantFlowEntitlementsResponse
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:GrantFlowEntitlements'
, grantFlowEntitlementsResponse_flowArn
- The ARN of the flow that these entitlements were granted to.
$sel:entitlements:GrantFlowEntitlements'
, grantFlowEntitlementsResponse_entitlements
- The entitlements that were just granted.
$sel:httpStatus:GrantFlowEntitlementsResponse'
, grantFlowEntitlementsResponse_httpStatus
- The response's http status code.
Response Lenses
grantFlowEntitlementsResponse_flowArn :: Lens' GrantFlowEntitlementsResponse (Maybe Text) Source #
The ARN of the flow that these entitlements were granted to.
grantFlowEntitlementsResponse_entitlements :: Lens' GrantFlowEntitlementsResponse (Maybe [Entitlement]) Source #
The entitlements that were just granted.
grantFlowEntitlementsResponse_httpStatus :: Lens' GrantFlowEntitlementsResponse Int Source #
The response's http status code.