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

  • encryption :: Maybe Encryption

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

  • name :: Maybe Text

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

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

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

  • 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
Eq GrantEntitlementRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.GrantEntitlementRequest

Read GrantEntitlementRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.GrantEntitlementRequest

Show 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 #

NFData GrantEntitlementRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.GrantEntitlementRequest

Methods

rnf :: GrantEntitlementRequest -> () #

Hashable GrantEntitlementRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.GrantEntitlementRequest

ToJSON 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" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "GrantEntitlementRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataTransferSubscriberFeePercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Encryption)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "entitlementStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EntitlementStatus)) :*: (S1 ('MetaSel ('Just "description") '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:encryption:GrantEntitlementRequest', grantEntitlementRequest_encryption - The type of encryption that will be used on the output that is associated with this entitlement.

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

$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: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: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_encryption :: Lens' GrantEntitlementRequest (Maybe Encryption) Source #

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

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

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

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