Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
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
See: newPolicy
smart constructor.
Policy' | |
|
Instances
Eq Policy Source # | |
Read Policy Source # | |
Show Policy Source # | |
Generic Policy Source # | |
NFData Policy Source # | |
Defined in Amazonka.MediaConvert.Types.Policy | |
Hashable Policy Source # | |
Defined in Amazonka.MediaConvert.Types.Policy | |
ToJSON Policy Source # | |
Defined in Amazonka.MediaConvert.Types.Policy | |
FromJSON Policy Source # | |
type Rep Policy Source # | |
Defined in Amazonka.MediaConvert.Types.Policy type Rep Policy = D1 ('MetaData "Policy" "Amazonka.MediaConvert.Types.Policy" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "Policy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3Inputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputPolicy)) :*: (S1 ('MetaSel ('Just "httpInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputPolicy)) :*: S1 ('MetaSel ('Just "httpsInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputPolicy))))) |
Create a value of Policy
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:s3Inputs:Policy'
, policy_s3Inputs
- Allow or disallow jobs that specify Amazon S3 inputs.
$sel:httpInputs:Policy'
, policy_httpInputs
- Allow or disallow jobs that specify HTTP inputs.
$sel:httpsInputs:Policy'
, policy_httpsInputs
- Allow or disallow jobs that specify HTTPS inputs.
policy_s3Inputs :: Lens' Policy (Maybe InputPolicy) Source #
Allow or disallow jobs that specify Amazon S3 inputs.
policy_httpInputs :: Lens' Policy (Maybe InputPolicy) Source #
Allow or disallow jobs that specify HTTP inputs.
policy_httpsInputs :: Lens' Policy (Maybe InputPolicy) Source #
Allow or disallow jobs that specify HTTPS inputs.