| 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 |
Amazonka.CodeGuruProfiler.UpdateProfilingGroup
Description
Updates a profiling group.
Synopsis
- data UpdateProfilingGroup = UpdateProfilingGroup' {}
- newUpdateProfilingGroup :: AgentOrchestrationConfig -> Text -> UpdateProfilingGroup
- updateProfilingGroup_agentOrchestrationConfig :: Lens' UpdateProfilingGroup AgentOrchestrationConfig
- updateProfilingGroup_profilingGroupName :: Lens' UpdateProfilingGroup Text
- data UpdateProfilingGroupResponse = UpdateProfilingGroupResponse' {}
- newUpdateProfilingGroupResponse :: Int -> ProfilingGroupDescription -> UpdateProfilingGroupResponse
- updateProfilingGroupResponse_httpStatus :: Lens' UpdateProfilingGroupResponse Int
- updateProfilingGroupResponse_profilingGroup :: Lens' UpdateProfilingGroupResponse ProfilingGroupDescription
Creating a Request
data UpdateProfilingGroup Source #
The structure representing the updateProfilingGroupRequest.
See: newUpdateProfilingGroup smart constructor.
Constructors
| UpdateProfilingGroup' | |
Fields
| |
Instances
newUpdateProfilingGroup Source #
Arguments
| :: AgentOrchestrationConfig | |
| -> Text | |
| -> UpdateProfilingGroup |
Create a value of UpdateProfilingGroup 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:
UpdateProfilingGroup, updateProfilingGroup_agentOrchestrationConfig - Specifies whether profiling is enabled or disabled for a profiling
group.
UpdateProfilingGroup, updateProfilingGroup_profilingGroupName - The name of the profiling group to update.
Request Lenses
updateProfilingGroup_agentOrchestrationConfig :: Lens' UpdateProfilingGroup AgentOrchestrationConfig Source #
Specifies whether profiling is enabled or disabled for a profiling group.
updateProfilingGroup_profilingGroupName :: Lens' UpdateProfilingGroup Text Source #
The name of the profiling group to update.
Destructuring the Response
data UpdateProfilingGroupResponse Source #
The structure representing the updateProfilingGroupResponse.
See: newUpdateProfilingGroupResponse smart constructor.
Constructors
| UpdateProfilingGroupResponse' | |
Fields
| |
Instances
newUpdateProfilingGroupResponse Source #
Arguments
| :: Int | |
| -> ProfilingGroupDescription | |
| -> UpdateProfilingGroupResponse |
Create a value of UpdateProfilingGroupResponse 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:UpdateProfilingGroupResponse', updateProfilingGroupResponse_httpStatus - The response's http status code.
$sel:profilingGroup:UpdateProfilingGroupResponse', updateProfilingGroupResponse_profilingGroup - A
ProfilingGroupDescription
that contains information about the returned updated profiling group.
Response Lenses
updateProfilingGroupResponse_httpStatus :: Lens' UpdateProfilingGroupResponse Int Source #
The response's http status code.
updateProfilingGroupResponse_profilingGroup :: Lens' UpdateProfilingGroupResponse ProfilingGroupDescription Source #
A ProfilingGroupDescription that contains information about the returned updated profiling group.