Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Cancels the requested policy generation.
Synopsis
- data CancelPolicyGeneration = CancelPolicyGeneration' {}
- newCancelPolicyGeneration :: Text -> CancelPolicyGeneration
- cancelPolicyGeneration_jobId :: Lens' CancelPolicyGeneration Text
- data CancelPolicyGenerationResponse = CancelPolicyGenerationResponse' {
- httpStatus :: Int
- newCancelPolicyGenerationResponse :: Int -> CancelPolicyGenerationResponse
- cancelPolicyGenerationResponse_httpStatus :: Lens' CancelPolicyGenerationResponse Int
Creating a Request
data CancelPolicyGeneration Source #
See: newCancelPolicyGeneration
smart constructor.
Instances
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.
CancelPolicyGenerationResponse' | |
|
Instances
Eq CancelPolicyGenerationResponse Source # | |
Read CancelPolicyGenerationResponse Source # | |
Show CancelPolicyGenerationResponse Source # | |
Generic CancelPolicyGenerationResponse Source # | |
NFData CancelPolicyGenerationResponse Source # | |
Defined in Amazonka.AccessAnalyzer.CancelPolicyGeneration rnf :: CancelPolicyGenerationResponse -> () # | |
type Rep CancelPolicyGenerationResponse Source # | |
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
cancelPolicyGenerationResponse_httpStatus :: Lens' CancelPolicyGenerationResponse Int Source #
The response's http status code.