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 |
Updates a group resource.
Synopsis
- data UpdateGroup = UpdateGroup' {}
- newUpdateGroup :: UpdateGroup
- updateGroup_filterExpression :: Lens' UpdateGroup (Maybe Text)
- updateGroup_groupARN :: Lens' UpdateGroup (Maybe Text)
- updateGroup_groupName :: Lens' UpdateGroup (Maybe Text)
- updateGroup_insightsConfiguration :: Lens' UpdateGroup (Maybe InsightsConfiguration)
- data UpdateGroupResponse = UpdateGroupResponse' {
- group' :: Maybe Group
- httpStatus :: Int
- newUpdateGroupResponse :: Int -> UpdateGroupResponse
- updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe Group)
- updateGroupResponse_httpStatus :: Lens' UpdateGroupResponse Int
Creating a Request
data UpdateGroup Source #
See: newUpdateGroup
smart constructor.
UpdateGroup' | |
|
Instances
newUpdateGroup :: UpdateGroup Source #
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_filterExpression
- The updated filter expression defining criteria by which to group
traces.
UpdateGroup
, updateGroup_groupARN
- The ARN that was generated upon creation.
UpdateGroup
, updateGroup_groupName
- The case-sensitive name of the group.
UpdateGroup
, updateGroup_insightsConfiguration
- The structure containing configurations related to insights.
- The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
- The NotificationsEnabled boolean can be set to true to enable insights notifications for the group. Notifications can only be enabled on a group with InsightsEnabled set to true.
Request Lenses
updateGroup_filterExpression :: Lens' UpdateGroup (Maybe Text) Source #
The updated filter expression defining criteria by which to group traces.
updateGroup_groupARN :: Lens' UpdateGroup (Maybe Text) Source #
The ARN that was generated upon creation.
updateGroup_groupName :: Lens' UpdateGroup (Maybe Text) Source #
The case-sensitive name of the group.
updateGroup_insightsConfiguration :: Lens' UpdateGroup (Maybe InsightsConfiguration) Source #
The structure containing configurations related to insights.
- The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
- The NotificationsEnabled boolean can be set to true to enable insights notifications for the group. Notifications can only be enabled on a group with InsightsEnabled set to true.
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:group':UpdateGroupResponse'
, updateGroupResponse_group
- The group that was updated. Contains the name of the group that was
updated, the ARN of the group that was updated, the updated filter
expression, and the updated insight configuration assigned to the group.
UpdateGroupResponse
, updateGroupResponse_httpStatus
- The response's http status code.
Response Lenses
updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe Group) Source #
The group that was updated. Contains the name of the group that was updated, the ARN of the group that was updated, the updated filter expression, and the updated insight configuration assigned to the group.
updateGroupResponse_httpStatus :: Lens' UpdateGroupResponse Int Source #
The response's http status code.