libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeGuruProfiler.CreateProfilingGroup

Description

Creates a profiling group.

Synopsis

Creating a Request

data CreateProfilingGroup Source #

The structure representing the createProfiliingGroupRequest.

See: newCreateProfilingGroup smart constructor.

Constructors

CreateProfilingGroup' 

Fields

  • computePlatform :: Maybe 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.

  • agentOrchestrationConfig :: Maybe AgentOrchestrationConfig

    Specifies whether profiling is enabled or disabled for the created profiling group.

  • tags :: Maybe (HashMap Text Text)

    A list of tags to add to the created profiling group.

  • clientToken :: Text

    Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.

  • profilingGroupName :: Text

    The name of the profiling group to create.

Instances

Instances details
Eq CreateProfilingGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

Read CreateProfilingGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

Show CreateProfilingGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

Generic CreateProfilingGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

Associated Types

type Rep CreateProfilingGroup :: Type -> Type #

NFData CreateProfilingGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

Methods

rnf :: CreateProfilingGroup -> () #

Hashable CreateProfilingGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

ToJSON CreateProfilingGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

AWSRequest CreateProfilingGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

Associated Types

type AWSResponse CreateProfilingGroup #

ToHeaders CreateProfilingGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

ToPath CreateProfilingGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

ToQuery CreateProfilingGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

type Rep CreateProfilingGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

type Rep CreateProfilingGroup = D1 ('MetaData "CreateProfilingGroup" "Amazonka.CodeGuruProfiler.CreateProfilingGroup" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "CreateProfilingGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "computePlatform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComputePlatform)) :*: S1 ('MetaSel ('Just "agentOrchestrationConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AgentOrchestrationConfig))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "profilingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateProfilingGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

newCreateProfilingGroup Source #

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.

Constructors

CreateProfilingGroupResponse' 

Fields

Instances

Instances details
Eq CreateProfilingGroupResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

Read CreateProfilingGroupResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

Show CreateProfilingGroupResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

Generic CreateProfilingGroupResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

Associated Types

type Rep CreateProfilingGroupResponse :: Type -> Type #

NFData CreateProfilingGroupResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

type Rep CreateProfilingGroupResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.CreateProfilingGroup

type Rep CreateProfilingGroupResponse = D1 ('MetaData "CreateProfilingGroupResponse" "Amazonka.CodeGuruProfiler.CreateProfilingGroup" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "CreateProfilingGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "profilingGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProfilingGroupDescription)))

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_profilingGroup :: Lens' CreateProfilingGroupResponse ProfilingGroupDescription Source #

The returned ProfilingGroupDescription object that contains information about the created profiling group.