libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaConnect.GrantFlowEntitlements

Description

Grants entitlements to an existing flow.

Synopsis

Creating a Request

data GrantFlowEntitlements Source #

A request to grant entitlements on a flow.

See: newGrantFlowEntitlements smart constructor.

Constructors

GrantFlowEntitlements' 

Fields

Instances

Instances details
Eq GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Read GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Show GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Generic GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Associated Types

type Rep GrantFlowEntitlements :: Type -> Type #

NFData GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Methods

rnf :: GrantFlowEntitlements -> () #

Hashable GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

ToJSON GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

AWSRequest GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Associated Types

type AWSResponse GrantFlowEntitlements #

ToHeaders GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

ToPath GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

ToQuery GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

type Rep GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

type Rep GrantFlowEntitlements = D1 ('MetaData "GrantFlowEntitlements" "Amazonka.MediaConnect.GrantFlowEntitlements" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "GrantFlowEntitlements'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "entitlements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [GrantEntitlementRequest])))
type AWSResponse GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

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.

Destructuring the Response

data GrantFlowEntitlementsResponse Source #

See: newGrantFlowEntitlementsResponse smart constructor.

Constructors

GrantFlowEntitlementsResponse' 

Fields

Instances

Instances details
Eq GrantFlowEntitlementsResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Read GrantFlowEntitlementsResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Show GrantFlowEntitlementsResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Generic GrantFlowEntitlementsResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Associated Types

type Rep GrantFlowEntitlementsResponse :: Type -> Type #

NFData GrantFlowEntitlementsResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

type Rep GrantFlowEntitlementsResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

type Rep GrantFlowEntitlementsResponse = D1 ('MetaData "GrantFlowEntitlementsResponse" "Amazonka.MediaConnect.GrantFlowEntitlements" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "GrantFlowEntitlementsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "entitlements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Entitlement])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.