libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert
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.MediaConvert.PutPolicy

Description

Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html

Synopsis

Creating a Request

data PutPolicy Source #

See: newPutPolicy smart constructor.

Constructors

PutPolicy' 

Fields

  • policy :: Policy

    A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html

Instances

Instances details
Eq PutPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

Read PutPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

Show PutPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

Generic PutPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

Associated Types

type Rep PutPolicy :: Type -> Type #

NFData PutPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

Methods

rnf :: PutPolicy -> () #

Hashable PutPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

ToJSON PutPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

AWSRequest PutPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

Associated Types

type AWSResponse PutPolicy #

ToHeaders PutPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

Methods

toHeaders :: PutPolicy -> [Header] #

ToPath PutPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

ToQuery PutPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

type Rep PutPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

type Rep PutPolicy = D1 ('MetaData "PutPolicy" "Amazonka.MediaConvert.PutPolicy" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "PutPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Policy)))
type AWSResponse PutPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

newPutPolicy Source #

Create a value of PutPolicy 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:policy:PutPolicy', putPolicy_policy - A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html

Request Lenses

putPolicy_policy :: Lens' PutPolicy Policy Source #

A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html

Destructuring the Response

data PutPolicyResponse Source #

See: newPutPolicyResponse smart constructor.

Constructors

PutPolicyResponse' 

Fields

  • policy :: Maybe Policy

    A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq PutPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

Read PutPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

Show PutPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

Generic PutPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

Associated Types

type Rep PutPolicyResponse :: Type -> Type #

NFData PutPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

Methods

rnf :: PutPolicyResponse -> () #

type Rep PutPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.PutPolicy

type Rep PutPolicyResponse = D1 ('MetaData "PutPolicyResponse" "Amazonka.MediaConvert.PutPolicy" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "PutPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Policy)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutPolicyResponse Source #

Create a value of PutPolicyResponse 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:policy:PutPolicy', putPolicyResponse_policy - A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html

$sel:httpStatus:PutPolicyResponse', putPolicyResponse_httpStatus - The response's http status code.

Response Lenses

putPolicyResponse_policy :: Lens' PutPolicyResponse (Maybe Policy) Source #

A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html

putPolicyResponse_httpStatus :: Lens' PutPolicyResponse Int Source #

The response's http status code.