libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer
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.AccessAnalyzer.CancelPolicyGeneration

Description

Cancels the requested policy generation.

Synopsis

Creating a Request

data CancelPolicyGeneration Source #

See: newCancelPolicyGeneration smart constructor.

Constructors

CancelPolicyGeneration' 

Fields

  • jobId :: Text

    The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

Instances

Instances details
Eq CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Read CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Show CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Generic CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Associated Types

type Rep CancelPolicyGeneration :: Type -> Type #

NFData CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Methods

rnf :: CancelPolicyGeneration -> () #

Hashable CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

ToJSON CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

AWSRequest CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Associated Types

type AWSResponse CancelPolicyGeneration #

ToHeaders CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

ToPath CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

ToQuery CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

type Rep CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

type Rep CancelPolicyGeneration = D1 ('MetaData "CancelPolicyGeneration" "Amazonka.AccessAnalyzer.CancelPolicyGeneration" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "CancelPolicyGeneration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

newCancelPolicyGeneration Source #

Create a value of CancelPolicyGeneration 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:jobId:CancelPolicyGeneration', cancelPolicyGeneration_jobId - The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

Request Lenses

cancelPolicyGeneration_jobId :: Lens' CancelPolicyGeneration Text Source #

The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

Destructuring the Response

data CancelPolicyGenerationResponse Source #

See: newCancelPolicyGenerationResponse smart constructor.

Constructors

CancelPolicyGenerationResponse' 

Fields

Instances

Instances details
Eq CancelPolicyGenerationResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Read CancelPolicyGenerationResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Show CancelPolicyGenerationResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Generic CancelPolicyGenerationResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Associated Types

type Rep CancelPolicyGenerationResponse :: Type -> Type #

NFData CancelPolicyGenerationResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

type Rep CancelPolicyGenerationResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

type Rep CancelPolicyGenerationResponse = D1 ('MetaData "CancelPolicyGenerationResponse" "Amazonka.AccessAnalyzer.CancelPolicyGeneration" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "CancelPolicyGenerationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCancelPolicyGenerationResponse Source #

Create a value of CancelPolicyGenerationResponse 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:httpStatus:CancelPolicyGenerationResponse', cancelPolicyGenerationResponse_httpStatus - The response's http status code.

Response Lenses