amazonka-iam-policy-0.0.2: Amazon IAM Policy Document DSL and Combinators.

Safe HaskellNone
LanguageHaskell2010

Amazonka.IAM.Policy.Lens

Contents

Description

This module contains lenses and prisms that can be used with any of the various lens libraries. It's recommended that you import this module qualified to avoid ambiguity with Amazonka.IAM.Policy:

import qualified Amazonka.IAM.Policy.Lens as Lens
Synopsis

Lenses

Policy

id :: Lens' (Policy a) (Maybe Id) Source #

statement :: Lens (Policy a) (Policy b) (NonEmpty a) (NonEmpty b) Source #

Statement

Prisms

Block

_Match :: Prism (Block a) (Block a) (Match a) (Match a) Source #

_Not :: Prism (Block a) (Block a) (Match a) (Match a) Source #

Match

_Some :: Prism (Match a) (Match b) a b Source #

_Wildcard :: Prism (Match a) (Match a) () a Source #