amazonka-accessanalyzer-2.0: Amazon Access Analyzer 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.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
ToJSON CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.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

AWSRequest CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Associated Types

type AWSResponse CancelPolicyGeneration #

Generic CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Associated Types

type Rep CancelPolicyGeneration :: Type -> Type #

Read CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Show CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

NFData CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Methods

rnf :: CancelPolicyGeneration -> () #

Eq CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Hashable CancelPolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

type AWSResponse 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" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "CancelPolicyGeneration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic CancelPolicyGenerationResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Associated Types

type Rep CancelPolicyGenerationResponse :: Type -> Type #

Read CancelPolicyGenerationResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Show CancelPolicyGenerationResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

NFData CancelPolicyGenerationResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration

Eq 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" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" '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