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.Types.GrantEntitlementRequest

Description

 
Synopsis

Documentation

data GrantEntitlementRequest Source #

The entitlements that you want to grant on a flow.

See: newGrantEntitlementRequest smart constructor.

Constructors

GrantEntitlementRequest' 

Fields

  • dataTransferSubscriberFeePercent :: Maybe Int

    Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

  • description :: Maybe Text

    A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.

  • encryption :: Maybe Encryption

    The type of encryption that will be used on the output that is associated with this entitlement.

  • entitlementStatus :: Maybe EntitlementStatus

    An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.

  • name :: Maybe Text

    The name of the entitlement. This value must be unique within the current flow.

  • subscribers :: [Text]

    The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flows using your content as the source.

Instances

Instances details
ToJSON GrantEntitlementRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.GrantEntitlementRequest

Generic GrantEntitlementRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.GrantEntitlementRequest

Associated Types

type Rep GrantEntitlementRequest :: Type -> Type #

Read GrantEntitlementRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.GrantEntitlementRequest

Show GrantEntitlementRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.GrantEntitlementRequest

NFData GrantEntitlementRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.GrantEntitlementRequest

Methods

rnf :: GrantEntitlementRequest -> () #

Eq GrantEntitlementRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.GrantEntitlementRequest

Hashable GrantEntitlementRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.GrantEntitlementRequest

type Rep GrantEntitlementRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.GrantEntitlementRequest

type Rep GrantEntitlementRequest = D1 ('MetaData "GrantEntitlementRequest" "Amazonka.MediaConnect.Types.GrantEntitlementRequest" "amazonka-mediaconnect-2.0-KNF7B97aPsN1PZ2vBYFgux" 'False) (C1 ('MetaCons "GrantEntitlementRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataTransferSubscriberFeePercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Encryption)))) :*: (S1 ('MetaSel ('Just "entitlementStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EntitlementStatus)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subscribers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))))

newGrantEntitlementRequest :: GrantEntitlementRequest Source #

Create a value of GrantEntitlementRequest 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:dataTransferSubscriberFeePercent:GrantEntitlementRequest', grantEntitlementRequest_dataTransferSubscriberFeePercent - Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

$sel:description:GrantEntitlementRequest', grantEntitlementRequest_description - A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.

$sel:encryption:GrantEntitlementRequest', grantEntitlementRequest_encryption - The type of encryption that will be used on the output that is associated with this entitlement.

$sel:entitlementStatus:GrantEntitlementRequest', grantEntitlementRequest_entitlementStatus - An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.

$sel:name:GrantEntitlementRequest', grantEntitlementRequest_name - The name of the entitlement. This value must be unique within the current flow.

$sel:subscribers:GrantEntitlementRequest', grantEntitlementRequest_subscribers - The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flows using your content as the source.

grantEntitlementRequest_dataTransferSubscriberFeePercent :: Lens' GrantEntitlementRequest (Maybe Int) Source #

Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

grantEntitlementRequest_description :: Lens' GrantEntitlementRequest (Maybe Text) Source #

A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.

grantEntitlementRequest_encryption :: Lens' GrantEntitlementRequest (Maybe Encryption) Source #

The type of encryption that will be used on the output that is associated with this entitlement.

grantEntitlementRequest_entitlementStatus :: Lens' GrantEntitlementRequest (Maybe EntitlementStatus) Source #

An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.

grantEntitlementRequest_name :: Lens' GrantEntitlementRequest (Maybe Text) Source #

The name of the entitlement. This value must be unique within the current flow.

grantEntitlementRequest_subscribers :: Lens' GrantEntitlementRequest [Text] Source #

The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flows using your content as the source.