Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
Contains a reference to a Statement
element in a policy document that
determines the result of the simulation.
This data type is used by the MatchedStatements
member of the
EvaluationResult
type.
See: newStatement
smart constructor.
Statement' | |
|
Instances
FromXML Statement Source # | |
Generic Statement Source # | |
Read Statement Source # | |
Show Statement Source # | |
NFData Statement Source # | |
Defined in Amazonka.IAM.Types.Statement | |
Eq Statement Source # | |
Hashable Statement Source # | |
Defined in Amazonka.IAM.Types.Statement | |
type Rep Statement Source # | |
Defined in Amazonka.IAM.Types.Statement type Rep Statement = D1 ('MetaData "Statement" "Amazonka.IAM.Types.Statement" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "Statement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Position)) :*: S1 ('MetaSel ('Just "sourcePolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sourcePolicyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PolicySourceType)) :*: S1 ('MetaSel ('Just "startPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Position))))) |
newStatement :: Statement Source #
Create a value of Statement
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:endPosition:Statement'
, statement_endPosition
- The row and column of the end of a Statement
in an IAM policy.
$sel:sourcePolicyId:Statement'
, statement_sourcePolicyId
- The identifier of the policy that was provided as an input.
$sel:sourcePolicyType:Statement'
, statement_sourcePolicyType
- The type of the policy.
$sel:startPosition:Statement'
, statement_startPosition
- The row and column of the beginning of the Statement
in an IAM policy.
statement_endPosition :: Lens' Statement (Maybe Position) Source #
The row and column of the end of a Statement
in an IAM policy.
statement_sourcePolicyId :: Lens' Statement (Maybe Text) Source #
The identifier of the policy that was provided as an input.
statement_sourcePolicyType :: Lens' Statement (Maybe PolicySourceType) Source #
The type of the policy.