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 |
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_requestId :: Lens' UpdateGroupResponse (Maybe Text)
- updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe Group)
- updateGroupResponse_status :: Lens' UpdateGroupResponse Int
Creating a Request
data UpdateGroup Source #
See: newUpdateGroup
smart constructor.
UpdateGroup' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> 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:
$sel:description:UpdateGroup'
, updateGroup_description
- The description for the group that you want to update.
$sel:groupName:UpdateGroup'
, updateGroup_groupName
- The name of the group that you want to update.
$sel:awsAccountId: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.
$sel:namespace:UpdateGroup'
, updateGroup_namespace
- The namespace. Currently, you should set this to default
.
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. Currently, you should set this to default
.
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:requestId:UpdateGroupResponse'
, updateGroupResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:group':UpdateGroupResponse'
, updateGroupResponse_group
- The name of the group.
$sel:status:UpdateGroupResponse'
, updateGroupResponse_status
- The HTTP status of the request.
Response Lenses
updateGroupResponse_requestId :: Lens' UpdateGroupResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe Group) Source #
The name of the group.
updateGroupResponse_status :: Lens' UpdateGroupResponse Int Source #
The HTTP status of the request.