libZSservicesZSamazonka-iamZSamazonka-iam
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.IAM.Types.Statement

Description

 
Synopsis

Documentation

data Statement Source #

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.

Constructors

Statement' 

Fields

Instances

Instances details
Eq Statement Source # 
Instance details

Defined in Amazonka.IAM.Types.Statement

Read Statement Source # 
Instance details

Defined in Amazonka.IAM.Types.Statement

Show Statement Source # 
Instance details

Defined in Amazonka.IAM.Types.Statement

Generic Statement Source # 
Instance details

Defined in Amazonka.IAM.Types.Statement

Associated Types

type Rep Statement :: Type -> Type #

NFData Statement Source # 
Instance details

Defined in Amazonka.IAM.Types.Statement

Methods

rnf :: Statement -> () #

Hashable Statement Source # 
Instance details

Defined in Amazonka.IAM.Types.Statement

FromXML Statement Source # 
Instance details

Defined in Amazonka.IAM.Types.Statement

type Rep Statement Source # 
Instance details

Defined in Amazonka.IAM.Types.Statement

type Rep Statement = D1 ('MetaData "Statement" "Amazonka.IAM.Types.Statement" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "Statement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sourcePolicyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PolicySourceType)) :*: S1 ('MetaSel ('Just "sourcePolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "endPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Position)) :*: 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:sourcePolicyType:Statement', statement_sourcePolicyType - The type of the policy.

$sel:sourcePolicyId:Statement', statement_sourcePolicyId - The identifier of the policy that was provided as an input.

$sel:endPosition:Statement', statement_endPosition - The row and column of the end of a Statement in an IAM policy.

$sel:startPosition:Statement', statement_startPosition - The row and column of the beginning of the Statement in an IAM policy.

statement_sourcePolicyId :: Lens' Statement (Maybe Text) Source #

The identifier of the policy that was provided as an input.

statement_endPosition :: Lens' Statement (Maybe Position) Source #

The row and column of the end of a Statement in an IAM policy.

statement_startPosition :: Lens' Statement (Maybe Position) Source #

The row and column of the beginning of the Statement in an IAM policy.