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 |
Amazonka.AccessAnalyzer.CancelPolicyGeneration
Description
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.
Constructors
CancelPolicyGeneration' | |
Instances
newCancelPolicyGeneration Source #
Arguments
:: Text | |
-> CancelPolicyGeneration |
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
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.