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 |
Updates a group resource.
Synopsis
- data UpdateGroup = UpdateGroup' {}
- newUpdateGroup :: UpdateGroup
- updateGroup_filterExpression :: Lens' UpdateGroup (Maybe Text)
- updateGroup_insightsConfiguration :: Lens' UpdateGroup (Maybe InsightsConfiguration)
- updateGroup_groupARN :: Lens' UpdateGroup (Maybe Text)
- updateGroup_groupName :: Lens' UpdateGroup (Maybe Text)
- 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:
$sel:filterExpression:UpdateGroup'
, updateGroup_filterExpression
- The updated filter expression defining criteria by which to group
traces.
$sel:insightsConfiguration: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 NotifcationsEnabled 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.
$sel:groupARN:UpdateGroup'
, updateGroup_groupARN
- The ARN that was generated upon creation.
$sel:groupName:UpdateGroup'
, updateGroup_groupName
- The case-sensitive name of the group.
Request Lenses
updateGroup_filterExpression :: Lens' UpdateGroup (Maybe Text) Source #
The updated filter expression defining criteria by which to group traces.
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 NotifcationsEnabled 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.
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.
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.
$sel:httpStatus: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.