PostAgentProfileRequest

public struct PostAgentProfileRequest : AWSShape

Undocumented

  • The key for the payload

    Declaration

    Swift

    public static let payloadPath: String?
  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The submitted profiling data.

    Declaration

    Swift

    public let agentProfile: Data
  • 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/&quot;&gt;Amazon Ion</a>. </p> </li> </ul>

    Declaration

    Swift

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

    Declaration

    Swift

    public let profileToken: String?
  • The name of the profiling group with the aggregated profile that receives the submitted profiling data.

    Declaration

    Swift

    public let profilingGroupName: String
  • Undocumented

    Declaration

    Swift

    public init(agentProfile: Data, contentType: String, profileToken: String? = PostAgentProfileRequest.idempotencyToken(), profilingGroupName: String)
  • Declaration

    Swift

    public func validate(name: String) throws