Class: Aws::CodeGuruProfiler::Types::PostAgentProfileRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb

Overview

Note:

When making an API call, you may pass PostAgentProfileRequest data as a hash:

{
  agent_profile: "data", # required
  content_type: "String", # required
  profile_token: "ClientToken",
  profiling_group_name: "ProfilingGroupName", # required
}

The structure representing the postAgentProfileRequest.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_profileString

The submitted profiling data.

Returns:

  • (String)


1656
1657
1658
1659
1660
1661
1662
1663
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 1656

class PostAgentProfileRequest < Struct.new(
  :agent_profile,
  :content_type,
  :profile_token,
  :profiling_group_name)
  SENSITIVE = []
  include Aws::Structure
end

#content_typeString

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>

Returns:

  • (String)


1656
1657
1658
1659
1660
1661
1662
1663
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 1656

class PostAgentProfileRequest < Struct.new(
  :agent_profile,
  :content_type,
  :profile_token,
  :profiling_group_name)
  SENSITIVE = []
  include Aws::Structure
end

#profile_tokenString

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

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


1656
1657
1658
1659
1660
1661
1662
1663
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 1656

class PostAgentProfileRequest < Struct.new(
  :agent_profile,
  :content_type,
  :profile_token,
  :profiling_group_name)
  SENSITIVE = []
  include Aws::Structure
end

#profiling_group_nameString

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

Returns:

  • (String)


1656
1657
1658
1659
1660
1661
1662
1663
# File 'gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/types.rb', line 1656

class PostAgentProfileRequest < Struct.new(
  :agent_profile,
  :content_type,
  :profile_token,
  :profiling_group_name)
  SENSITIVE = []
  include Aws::Structure
end