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

Description

 
Synopsis

Documentation

data SimulatePolicyResponse Source #

Contains the response to a successful SimulatePrincipalPolicy or SimulateCustomPolicy request.

See: newSimulatePolicyResponse smart constructor.

Constructors

SimulatePolicyResponse' 

Fields

  • evaluationResults :: Maybe [EvaluationResult]

    The results of the simulation.

  • marker :: Maybe Text

    When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

  • isTruncated :: Maybe Bool

    A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.

Instances

Instances details
Eq SimulatePolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.Types.SimulatePolicyResponse

Read SimulatePolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.Types.SimulatePolicyResponse

Show SimulatePolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.Types.SimulatePolicyResponse

Generic SimulatePolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.Types.SimulatePolicyResponse

Associated Types

type Rep SimulatePolicyResponse :: Type -> Type #

NFData SimulatePolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.Types.SimulatePolicyResponse

Methods

rnf :: SimulatePolicyResponse -> () #

Hashable SimulatePolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.Types.SimulatePolicyResponse

FromXML SimulatePolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.Types.SimulatePolicyResponse

type Rep SimulatePolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.Types.SimulatePolicyResponse

type Rep SimulatePolicyResponse = D1 ('MetaData "SimulatePolicyResponse" "Amazonka.IAM.Types.SimulatePolicyResponse" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "SimulatePolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "evaluationResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EvaluationResult])) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newSimulatePolicyResponse :: SimulatePolicyResponse Source #

Create a value of SimulatePolicyResponse 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:evaluationResults:SimulatePolicyResponse', simulatePolicyResponse_evaluationResults - The results of the simulation.

$sel:marker:SimulatePolicyResponse', simulatePolicyResponse_marker - When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

$sel:isTruncated:SimulatePolicyResponse', simulatePolicyResponse_isTruncated - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.

simulatePolicyResponse_marker :: Lens' SimulatePolicyResponse (Maybe Text) Source #

When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

simulatePolicyResponse_isTruncated :: Lens' SimulatePolicyResponse (Maybe Bool) Source #

A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.