| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AuditManager.UpdateAssessmentFrameworkShare
Description
Updates a share request for a custom framework in Audit Manager.
Synopsis
- data UpdateAssessmentFrameworkShare = UpdateAssessmentFrameworkShare' {}
- newUpdateAssessmentFrameworkShare :: Text -> ShareRequestType -> ShareRequestAction -> UpdateAssessmentFrameworkShare
- updateAssessmentFrameworkShare_requestId :: Lens' UpdateAssessmentFrameworkShare Text
- updateAssessmentFrameworkShare_requestType :: Lens' UpdateAssessmentFrameworkShare ShareRequestType
- updateAssessmentFrameworkShare_action :: Lens' UpdateAssessmentFrameworkShare ShareRequestAction
- data UpdateAssessmentFrameworkShareResponse = UpdateAssessmentFrameworkShareResponse' {}
- newUpdateAssessmentFrameworkShareResponse :: Int -> UpdateAssessmentFrameworkShareResponse
- updateAssessmentFrameworkShareResponse_assessmentFrameworkShareRequest :: Lens' UpdateAssessmentFrameworkShareResponse (Maybe AssessmentFrameworkShareRequest)
- updateAssessmentFrameworkShareResponse_httpStatus :: Lens' UpdateAssessmentFrameworkShareResponse Int
Creating a Request
data UpdateAssessmentFrameworkShare Source #
See: newUpdateAssessmentFrameworkShare smart constructor.
Constructors
| UpdateAssessmentFrameworkShare' | |
Fields
| |
Instances
newUpdateAssessmentFrameworkShare Source #
Arguments
| :: Text | |
| -> ShareRequestType | |
| -> ShareRequestAction | |
| -> UpdateAssessmentFrameworkShare |
Create a value of UpdateAssessmentFrameworkShare 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:requestId:UpdateAssessmentFrameworkShare', updateAssessmentFrameworkShare_requestId - The unique identifier for the share request.
$sel:requestType:UpdateAssessmentFrameworkShare', updateAssessmentFrameworkShare_requestType - Specifies whether the share request is a sent request or a received
request.
UpdateAssessmentFrameworkShare, updateAssessmentFrameworkShare_action - Specifies the update action for the share request.
Request Lenses
updateAssessmentFrameworkShare_requestId :: Lens' UpdateAssessmentFrameworkShare Text Source #
The unique identifier for the share request.
updateAssessmentFrameworkShare_requestType :: Lens' UpdateAssessmentFrameworkShare ShareRequestType Source #
Specifies whether the share request is a sent request or a received request.
updateAssessmentFrameworkShare_action :: Lens' UpdateAssessmentFrameworkShare ShareRequestAction Source #
Specifies the update action for the share request.
Destructuring the Response
data UpdateAssessmentFrameworkShareResponse Source #
See: newUpdateAssessmentFrameworkShareResponse smart constructor.
Constructors
| UpdateAssessmentFrameworkShareResponse' | |
Fields
| |
Instances
newUpdateAssessmentFrameworkShareResponse Source #
Arguments
| :: Int | |
| -> UpdateAssessmentFrameworkShareResponse |
Create a value of UpdateAssessmentFrameworkShareResponse 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:assessmentFrameworkShareRequest:UpdateAssessmentFrameworkShareResponse', updateAssessmentFrameworkShareResponse_assessmentFrameworkShareRequest - The updated share request that's returned by the
UpdateAssessmentFrameworkShare operation.
$sel:httpStatus:UpdateAssessmentFrameworkShareResponse', updateAssessmentFrameworkShareResponse_httpStatus - The response's http status code.
Response Lenses
updateAssessmentFrameworkShareResponse_assessmentFrameworkShareRequest :: Lens' UpdateAssessmentFrameworkShareResponse (Maybe AssessmentFrameworkShareRequest) Source #
The updated share request that's returned by the
UpdateAssessmentFrameworkShare operation.
updateAssessmentFrameworkShareResponse_httpStatus :: Lens' UpdateAssessmentFrameworkShareResponse Int Source #
The response's http status code.