libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor
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.MediaTailor.PutChannelPolicy

Description

Creates an IAM policy for the channel.

Synopsis

Creating a Request

data PutChannelPolicy Source #

See: newPutChannelPolicy smart constructor.

Constructors

PutChannelPolicy' 

Fields

  • channelName :: Text

    The identifier for the channel you are working on.

  • policy :: Text

    Adds an IAM role that determines the permissions of your channel.

Instances

Instances details
Eq PutChannelPolicy Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

Read PutChannelPolicy Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

Show PutChannelPolicy Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

Generic PutChannelPolicy Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

Associated Types

type Rep PutChannelPolicy :: Type -> Type #

NFData PutChannelPolicy Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

Methods

rnf :: PutChannelPolicy -> () #

Hashable PutChannelPolicy Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

ToJSON PutChannelPolicy Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

AWSRequest PutChannelPolicy Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

Associated Types

type AWSResponse PutChannelPolicy #

ToHeaders PutChannelPolicy Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

ToPath PutChannelPolicy Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

ToQuery PutChannelPolicy Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

type Rep PutChannelPolicy Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

type Rep PutChannelPolicy = D1 ('MetaData "PutChannelPolicy" "Amazonka.MediaTailor.PutChannelPolicy" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "PutChannelPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PutChannelPolicy Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

newPutChannelPolicy Source #

Create a value of PutChannelPolicy 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:channelName:PutChannelPolicy', putChannelPolicy_channelName - The identifier for the channel you are working on.

$sel:policy:PutChannelPolicy', putChannelPolicy_policy - Adds an IAM role that determines the permissions of your channel.

Request Lenses

putChannelPolicy_channelName :: Lens' PutChannelPolicy Text Source #

The identifier for the channel you are working on.

putChannelPolicy_policy :: Lens' PutChannelPolicy Text Source #

Adds an IAM role that determines the permissions of your channel.

Destructuring the Response

data PutChannelPolicyResponse Source #

See: newPutChannelPolicyResponse smart constructor.

Constructors

PutChannelPolicyResponse' 

Fields

Instances

Instances details
Eq PutChannelPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

Read PutChannelPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

Show PutChannelPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

Generic PutChannelPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

Associated Types

type Rep PutChannelPolicyResponse :: Type -> Type #

NFData PutChannelPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

type Rep PutChannelPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.PutChannelPolicy

type Rep PutChannelPolicyResponse = D1 ('MetaData "PutChannelPolicyResponse" "Amazonka.MediaTailor.PutChannelPolicy" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "PutChannelPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutChannelPolicyResponse Source #

Create a value of PutChannelPolicyResponse 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:httpStatus:PutChannelPolicyResponse', putChannelPolicyResponse_httpStatus - The response's http status code.

Response Lenses