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

Description

Retrieve the JSON for your policy.

Synopsis

Creating a Request

data GetPolicy Source #

See: newGetPolicy smart constructor.

Constructors

GetPolicy' 

Instances

Instances details
Eq GetPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

Read GetPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

Show GetPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

Generic GetPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

Associated Types

type Rep GetPolicy :: Type -> Type #

NFData GetPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

Methods

rnf :: GetPolicy -> () #

Hashable GetPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

AWSRequest GetPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

Associated Types

type AWSResponse GetPolicy #

ToHeaders GetPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

Methods

toHeaders :: GetPolicy -> [Header] #

ToPath GetPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

ToQuery GetPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

type Rep GetPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

type Rep GetPolicy = D1 ('MetaData "GetPolicy" "Amazonka.MediaConvert.GetPolicy" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "GetPolicy'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetPolicy Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

newGetPolicy :: GetPolicy Source #

Create a value of GetPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data GetPolicyResponse Source #

See: newGetPolicyResponse smart constructor.

Constructors

GetPolicyResponse' 

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

Defined in Amazonka.MediaConvert.GetPolicy

Read GetPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

Show GetPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

Generic GetPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

Associated Types

type Rep GetPolicyResponse :: Type -> Type #

NFData GetPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

Methods

rnf :: GetPolicyResponse -> () #

type Rep GetPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPolicy

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

newGetPolicyResponse Source #

Create a value of GetPolicyResponse 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:GetPolicyResponse', getPolicyResponse_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:GetPolicyResponse', getPolicyResponse_httpStatus - The response's http status code.

Response Lenses

getPolicyResponse_policy :: Lens' GetPolicyResponse (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

getPolicyResponse_httpStatus :: Lens' GetPolicyResponse Int Source #

The response's http status code.