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.PostAgentProfile

Description

Submits profiling data to an aggregated profile of a profiling group. To get an aggregated profile that is created with this profiling data, use GetProfile .

Synopsis

Creating a Request

data PostAgentProfile Source #

The structure representing the postAgentProfileRequest.

See: newPostAgentProfile smart constructor.

Constructors

PostAgentProfile' 

Fields

  • profileToken :: Maybe Text

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

  • agentProfile :: ByteString

    The submitted profiling data.

  • contentType :: Text

    The format of the submitted profiling data. The format maps to the Accept and Content-Type headers of the HTTP request. You can specify one of the following: or the default .

     <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
  • profilingGroupName :: Text

    The name of the profiling group with the aggregated profile that receives the submitted profiling data.

Instances

Instances details
Eq PostAgentProfile Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

Read PostAgentProfile Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

Show PostAgentProfile Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

Generic PostAgentProfile Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

Associated Types

type Rep PostAgentProfile :: Type -> Type #

NFData PostAgentProfile Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

Methods

rnf :: PostAgentProfile -> () #

Hashable PostAgentProfile Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

AWSRequest PostAgentProfile Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

Associated Types

type AWSResponse PostAgentProfile #

ToBody PostAgentProfile Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

ToHeaders PostAgentProfile Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

ToPath PostAgentProfile Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

ToQuery PostAgentProfile Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

type Rep PostAgentProfile Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

type Rep PostAgentProfile = D1 ('MetaData "PostAgentProfile" "Amazonka.CodeGuruProfiler.PostAgentProfile" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "PostAgentProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "profileToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "agentProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteString)) :*: (S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "profilingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse PostAgentProfile Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

newPostAgentProfile Source #

Create a value of PostAgentProfile 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:profileToken:PostAgentProfile', postAgentProfile_profileToken - Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries.

$sel:agentProfile:PostAgentProfile', postAgentProfile_agentProfile - The submitted profiling data.

$sel:contentType:PostAgentProfile', postAgentProfile_contentType - The format of the submitted profiling data. The format maps to the Accept and Content-Type headers of the HTTP request. You can specify one of the following: or the default .

 <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>

$sel:profilingGroupName:PostAgentProfile', postAgentProfile_profilingGroupName - The name of the profiling group with the aggregated profile that receives the submitted profiling data.

Request Lenses

postAgentProfile_profileToken :: Lens' PostAgentProfile (Maybe Text) Source #

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

postAgentProfile_contentType :: Lens' PostAgentProfile Text Source #

The format of the submitted profiling data. The format maps to the Accept and Content-Type headers of the HTTP request. You can specify one of the following: or the default .

 <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>

postAgentProfile_profilingGroupName :: Lens' PostAgentProfile Text Source #

The name of the profiling group with the aggregated profile that receives the submitted profiling data.

Destructuring the Response

data PostAgentProfileResponse Source #

The structure representing the postAgentProfileResponse.

See: newPostAgentProfileResponse smart constructor.

Constructors

PostAgentProfileResponse' 

Fields

Instances

Instances details
Eq PostAgentProfileResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

Read PostAgentProfileResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

Show PostAgentProfileResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

Generic PostAgentProfileResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

Associated Types

type Rep PostAgentProfileResponse :: Type -> Type #

NFData PostAgentProfileResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

type Rep PostAgentProfileResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.PostAgentProfile

type Rep PostAgentProfileResponse = D1 ('MetaData "PostAgentProfileResponse" "Amazonka.CodeGuruProfiler.PostAgentProfile" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "PostAgentProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPostAgentProfileResponse Source #

Create a value of PostAgentProfileResponse 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:PostAgentProfileResponse', postAgentProfileResponse_httpStatus - The response's http status code.

Response Lenses