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 |
Changes a group description.
Synopsis
- data UpdateGroup = UpdateGroup' {
- description :: Maybe Text
- groupName :: Text
- awsAccountId :: Text
- namespace :: Text
- newUpdateGroup :: Text -> Text -> Text -> UpdateGroup
- updateGroup_description :: Lens' UpdateGroup (Maybe Text)
- updateGroup_groupName :: Lens' UpdateGroup Text
- updateGroup_awsAccountId :: Lens' UpdateGroup Text
- updateGroup_namespace :: Lens' UpdateGroup Text
- data UpdateGroupResponse = UpdateGroupResponse' {}
- newUpdateGroupResponse :: Int -> UpdateGroupResponse
- updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe Group)
- updateGroupResponse_requestId :: Lens' UpdateGroupResponse (Maybe Text)
- updateGroupResponse_status :: Lens' UpdateGroupResponse Int
Creating a Request
data UpdateGroup Source #
See: newUpdateGroup
smart constructor.
UpdateGroup' | |
|
Instances
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_description
- The description for the group that you want to update.
UpdateGroup
, updateGroup_groupName
- The name of the group that you want to update.
UpdateGroup
, updateGroup_awsAccountId
- The ID for the Amazon Web Services account that the group is in.
Currently, you use the ID for the Amazon Web Services account that
contains your Amazon QuickSight account.
UpdateGroup
, updateGroup_namespace
- The namespace of the group that you want to update.
Request Lenses
updateGroup_description :: Lens' UpdateGroup (Maybe Text) Source #
The description for the group that you want to update.
updateGroup_groupName :: Lens' UpdateGroup Text Source #
The name of the group that you want to update.
updateGroup_awsAccountId :: Lens' UpdateGroup Text Source #
The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
updateGroup_namespace :: Lens' UpdateGroup Text Source #
The namespace of the group that you want to update.
Destructuring the Response
data UpdateGroupResponse Source #
See: newUpdateGroupResponse
smart constructor.
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:group':UpdateGroupResponse'
, updateGroupResponse_group
- The name of the group.
$sel:requestId:UpdateGroupResponse'
, updateGroupResponse_requestId
- The Amazon Web Services request ID for this operation.
UpdateGroupResponse
, updateGroupResponse_status
- The HTTP status of the request.
Response Lenses
updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe Group) Source #
The name of the group.
updateGroupResponse_requestId :: Lens' UpdateGroupResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
updateGroupResponse_status :: Lens' UpdateGroupResponse Int Source #
The HTTP status of the request.