amazonka-iam-2.0: Amazon Identity and Access Management SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

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

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

Instances

Instances details
FromXML 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 #

Read SimulatePolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.Types.SimulatePolicyResponse

Show SimulatePolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.Types.SimulatePolicyResponse

NFData SimulatePolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.Types.SimulatePolicyResponse

Methods

rnf :: SimulatePolicyResponse -> () #

Eq SimulatePolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.Types.SimulatePolicyResponse

Hashable 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" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "SimulatePolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "evaluationResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EvaluationResult])) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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

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

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.

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.