amazonka-mediaconnect-2.0: Amazon MediaConnect SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.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

AWSRequest GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Associated Types

type AWSResponse GrantFlowEntitlements #

Generic GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Associated Types

type Rep GrantFlowEntitlements :: Type -> Type #

Read GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Show GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

NFData GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Methods

rnf :: GrantFlowEntitlements -> () #

Eq GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Hashable GrantFlowEntitlements Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

type AWSResponse 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" "amazonka-mediaconnect-2.0-KNF7B97aPsN1PZ2vBYFgux" 'False) (C1 ('MetaCons "GrantFlowEntitlements'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "entitlements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [GrantEntitlementRequest])))

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:

GrantFlowEntitlements, grantFlowEntitlements_flowArn - The flow that you want to grant entitlements on.

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
Generic GrantFlowEntitlementsResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Associated Types

type Rep GrantFlowEntitlementsResponse :: Type -> Type #

Read GrantFlowEntitlementsResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Show GrantFlowEntitlementsResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

NFData GrantFlowEntitlementsResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.GrantFlowEntitlements

Eq 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" "amazonka-mediaconnect-2.0-KNF7B97aPsN1PZ2vBYFgux" 'False) (C1 ('MetaCons "GrantFlowEntitlementsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "entitlements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Entitlement])) :*: (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

GrantFlowEntitlements, grantFlowEntitlementsResponse_entitlements - The entitlements that were just granted.

GrantFlowEntitlements, grantFlowEntitlementsResponse_flowArn - The ARN of the flow that these entitlements were granted to.

$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.