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 |
Update a workload share.
Synopsis
- data UpdateWorkloadShare = UpdateWorkloadShare' {}
- newUpdateWorkloadShare :: Text -> Text -> PermissionType -> UpdateWorkloadShare
- updateWorkloadShare_shareId :: Lens' UpdateWorkloadShare Text
- updateWorkloadShare_workloadId :: Lens' UpdateWorkloadShare Text
- updateWorkloadShare_permissionType :: Lens' UpdateWorkloadShare PermissionType
- data UpdateWorkloadShareResponse = UpdateWorkloadShareResponse' {}
- newUpdateWorkloadShareResponse :: Int -> UpdateWorkloadShareResponse
- updateWorkloadShareResponse_workloadShare :: Lens' UpdateWorkloadShareResponse (Maybe WorkloadShare)
- updateWorkloadShareResponse_workloadId :: Lens' UpdateWorkloadShareResponse (Maybe Text)
- updateWorkloadShareResponse_httpStatus :: Lens' UpdateWorkloadShareResponse Int
Creating a Request
data UpdateWorkloadShare Source #
Input for Update Workload Share
See: newUpdateWorkloadShare
smart constructor.
Instances
newUpdateWorkloadShare Source #
:: Text | |
-> Text | |
-> PermissionType | |
-> UpdateWorkloadShare |
Create a value of UpdateWorkloadShare
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:shareId:UpdateWorkloadShare'
, updateWorkloadShare_shareId
- Undocumented member.
$sel:workloadId:UpdateWorkloadShare'
, updateWorkloadShare_workloadId
- Undocumented member.
$sel:permissionType:UpdateWorkloadShare'
, updateWorkloadShare_permissionType
- Undocumented member.
Request Lenses
updateWorkloadShare_shareId :: Lens' UpdateWorkloadShare Text Source #
Undocumented member.
updateWorkloadShare_workloadId :: Lens' UpdateWorkloadShare Text Source #
Undocumented member.
updateWorkloadShare_permissionType :: Lens' UpdateWorkloadShare PermissionType Source #
Undocumented member.
Destructuring the Response
data UpdateWorkloadShareResponse Source #
Input for Update Workload Share
See: newUpdateWorkloadShareResponse
smart constructor.
UpdateWorkloadShareResponse' | |
|
Instances
newUpdateWorkloadShareResponse Source #
Create a value of UpdateWorkloadShareResponse
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:workloadShare:UpdateWorkloadShareResponse'
, updateWorkloadShareResponse_workloadShare
- Undocumented member.
$sel:workloadId:UpdateWorkloadShare'
, updateWorkloadShareResponse_workloadId
- Undocumented member.
$sel:httpStatus:UpdateWorkloadShareResponse'
, updateWorkloadShareResponse_httpStatus
- The response's http status code.
Response Lenses
updateWorkloadShareResponse_workloadShare :: Lens' UpdateWorkloadShareResponse (Maybe WorkloadShare) Source #
Undocumented member.
updateWorkloadShareResponse_workloadId :: Lens' UpdateWorkloadShareResponse (Maybe Text) Source #
Undocumented member.
updateWorkloadShareResponse_httpStatus :: Lens' UpdateWorkloadShareResponse Int Source #
The response's http status code.