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 |
For the specified group in the specified identity store, updates the group metadata and attributes.
Synopsis
- data UpdateGroup = UpdateGroup' {}
- newUpdateGroup :: Text -> Text -> NonEmpty AttributeOperation -> UpdateGroup
- updateGroup_identityStoreId :: Lens' UpdateGroup Text
- updateGroup_groupId :: Lens' UpdateGroup Text
- updateGroup_operations :: Lens' UpdateGroup (NonEmpty AttributeOperation)
- data UpdateGroupResponse = UpdateGroupResponse' {
- httpStatus :: Int
- newUpdateGroupResponse :: Int -> UpdateGroupResponse
- updateGroupResponse_httpStatus :: Lens' UpdateGroupResponse Int
Creating a Request
data UpdateGroup Source #
See: newUpdateGroup
smart constructor.
UpdateGroup' | |
|
Instances
:: Text | |
-> Text | |
-> NonEmpty AttributeOperation | |
-> UpdateGroup |
Create a value of UpdateGroup
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:
UpdateGroup
, updateGroup_identityStoreId
- The globally unique identifier for the identity store.
UpdateGroup
, updateGroup_groupId
- The identifier for a group in the identity store.
$sel:operations:UpdateGroup'
, updateGroup_operations
- A list of AttributeOperation
objects to apply to the requested group.
These operations might add, replace, or remove an attribute.
Request Lenses
updateGroup_identityStoreId :: Lens' UpdateGroup Text Source #
The globally unique identifier for the identity store.
updateGroup_groupId :: Lens' UpdateGroup Text Source #
The identifier for a group in the identity store.
updateGroup_operations :: Lens' UpdateGroup (NonEmpty AttributeOperation) Source #
A list of AttributeOperation
objects to apply to the requested group.
These operations might add, replace, or remove an attribute.
Destructuring the Response
data UpdateGroupResponse Source #
See: newUpdateGroupResponse
smart constructor.
UpdateGroupResponse' | |
|
Instances
newUpdateGroupResponse Source #
Create a value of UpdateGroupResponse
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:UpdateGroupResponse'
, updateGroupResponse_httpStatus
- The response's http status code.
Response Lenses
updateGroupResponse_httpStatus :: Lens' UpdateGroupResponse Int Source #
The response's http status code.