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 |
Creates a profiling group.
Synopsis
- data CreateProfilingGroup = CreateProfilingGroup' {}
- newCreateProfilingGroup :: Text -> Text -> CreateProfilingGroup
- createProfilingGroup_computePlatform :: Lens' CreateProfilingGroup (Maybe ComputePlatform)
- createProfilingGroup_agentOrchestrationConfig :: Lens' CreateProfilingGroup (Maybe AgentOrchestrationConfig)
- createProfilingGroup_tags :: Lens' CreateProfilingGroup (Maybe (HashMap Text Text))
- createProfilingGroup_clientToken :: Lens' CreateProfilingGroup Text
- createProfilingGroup_profilingGroupName :: Lens' CreateProfilingGroup Text
- data CreateProfilingGroupResponse = CreateProfilingGroupResponse' {}
- newCreateProfilingGroupResponse :: Int -> ProfilingGroupDescription -> CreateProfilingGroupResponse
- createProfilingGroupResponse_httpStatus :: Lens' CreateProfilingGroupResponse Int
- createProfilingGroupResponse_profilingGroup :: Lens' CreateProfilingGroupResponse ProfilingGroupDescription
Creating a Request
data CreateProfilingGroup Source #
The structure representing the createProfiliingGroupRequest.
See: newCreateProfilingGroup
smart constructor.
CreateProfilingGroup' | |
|
Instances
newCreateProfilingGroup Source #
:: Text | |
-> Text | |
-> CreateProfilingGroup |
Create a value of CreateProfilingGroup
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:computePlatform:CreateProfilingGroup'
, createProfilingGroup_computePlatform
- The compute platform of the profiling group. Use AWSLambda
if your
application runs on AWS Lambda. Use Default
if your application runs
on a compute platform that is not AWS Lambda, such an Amazon EC2
instance, an on-premises server, or a different platform. If not
specified, Default
is used.
$sel:agentOrchestrationConfig:CreateProfilingGroup'
, createProfilingGroup_agentOrchestrationConfig
- Specifies whether profiling is enabled or disabled for the created
profiling group.
$sel:tags:CreateProfilingGroup'
, createProfilingGroup_tags
- A list of tags to add to the created profiling group.
$sel:clientToken:CreateProfilingGroup'
, createProfilingGroup_clientToken
- Amazon CodeGuru Profiler uses this universally unique identifier (UUID)
to prevent the accidental creation of duplicate profiling groups if
there are failures and retries.
$sel:profilingGroupName:CreateProfilingGroup'
, createProfilingGroup_profilingGroupName
- The name of the profiling group to create.
Request Lenses
createProfilingGroup_computePlatform :: Lens' CreateProfilingGroup (Maybe ComputePlatform) Source #
The compute platform of the profiling group. Use AWSLambda
if your
application runs on AWS Lambda. Use Default
if your application runs
on a compute platform that is not AWS Lambda, such an Amazon EC2
instance, an on-premises server, or a different platform. If not
specified, Default
is used.
createProfilingGroup_agentOrchestrationConfig :: Lens' CreateProfilingGroup (Maybe AgentOrchestrationConfig) Source #
Specifies whether profiling is enabled or disabled for the created profiling group.
createProfilingGroup_tags :: Lens' CreateProfilingGroup (Maybe (HashMap Text Text)) Source #
A list of tags to add to the created profiling group.
createProfilingGroup_clientToken :: Lens' CreateProfilingGroup Text Source #
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.
createProfilingGroup_profilingGroupName :: Lens' CreateProfilingGroup Text Source #
The name of the profiling group to create.
Destructuring the Response
data CreateProfilingGroupResponse Source #
The structure representing the createProfilingGroupResponse.
See: newCreateProfilingGroupResponse
smart constructor.
CreateProfilingGroupResponse' | |
|
Instances
newCreateProfilingGroupResponse Source #
Create a value of CreateProfilingGroupResponse
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:CreateProfilingGroupResponse'
, createProfilingGroupResponse_httpStatus
- The response's http status code.
$sel:profilingGroup:CreateProfilingGroupResponse'
, createProfilingGroupResponse_profilingGroup
- The returned
ProfilingGroupDescription
object that contains information about the created profiling group.
Response Lenses
createProfilingGroupResponse_httpStatus :: Lens' CreateProfilingGroupResponse Int Source #
The response's http status code.
createProfilingGroupResponse_profilingGroup :: Lens' CreateProfilingGroupResponse ProfilingGroupDescription Source #
The returned ProfilingGroupDescription object that contains information about the created profiling group.