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 |
Deletes the delegations in the specified Audit Manager assessment.
Synopsis
- data BatchDeleteDelegationByAssessment = BatchDeleteDelegationByAssessment' {}
- newBatchDeleteDelegationByAssessment :: NonEmpty Text -> Text -> BatchDeleteDelegationByAssessment
- batchDeleteDelegationByAssessment_delegationIds :: Lens' BatchDeleteDelegationByAssessment (NonEmpty Text)
- batchDeleteDelegationByAssessment_assessmentId :: Lens' BatchDeleteDelegationByAssessment Text
- data BatchDeleteDelegationByAssessmentResponse = BatchDeleteDelegationByAssessmentResponse' {}
- newBatchDeleteDelegationByAssessmentResponse :: Int -> BatchDeleteDelegationByAssessmentResponse
- batchDeleteDelegationByAssessmentResponse_errors :: Lens' BatchDeleteDelegationByAssessmentResponse (Maybe [BatchDeleteDelegationByAssessmentError])
- batchDeleteDelegationByAssessmentResponse_httpStatus :: Lens' BatchDeleteDelegationByAssessmentResponse Int
Creating a Request
data BatchDeleteDelegationByAssessment Source #
See: newBatchDeleteDelegationByAssessment
smart constructor.
BatchDeleteDelegationByAssessment' | |
|
Instances
newBatchDeleteDelegationByAssessment Source #
Create a value of BatchDeleteDelegationByAssessment
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:delegationIds:BatchDeleteDelegationByAssessment'
, batchDeleteDelegationByAssessment_delegationIds
- The identifiers for the specified delegations.
$sel:assessmentId:BatchDeleteDelegationByAssessment'
, batchDeleteDelegationByAssessment_assessmentId
- The identifier for the specified assessment.
Request Lenses
batchDeleteDelegationByAssessment_delegationIds :: Lens' BatchDeleteDelegationByAssessment (NonEmpty Text) Source #
The identifiers for the specified delegations.
batchDeleteDelegationByAssessment_assessmentId :: Lens' BatchDeleteDelegationByAssessment Text Source #
The identifier for the specified assessment.
Destructuring the Response
data BatchDeleteDelegationByAssessmentResponse Source #
See: newBatchDeleteDelegationByAssessmentResponse
smart constructor.
BatchDeleteDelegationByAssessmentResponse' | |
|
Instances
newBatchDeleteDelegationByAssessmentResponse Source #
Create a value of BatchDeleteDelegationByAssessmentResponse
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:errors:BatchDeleteDelegationByAssessmentResponse'
, batchDeleteDelegationByAssessmentResponse_errors
- A list of errors returned by the BatchDeleteDelegationByAssessment
API.
$sel:httpStatus:BatchDeleteDelegationByAssessmentResponse'
, batchDeleteDelegationByAssessmentResponse_httpStatus
- The response's http status code.
Response Lenses
batchDeleteDelegationByAssessmentResponse_errors :: Lens' BatchDeleteDelegationByAssessmentResponse (Maybe [BatchDeleteDelegationByAssessmentError]) Source #
A list of errors returned by the BatchDeleteDelegationByAssessment
API.
batchDeleteDelegationByAssessmentResponse_httpStatus :: Lens' BatchDeleteDelegationByAssessmentResponse Int Source #
The response's http status code.