{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-profiler/refs/heads/main/json-structure/amazon-codeguru-profiler-agent-configuration-structure.json", "name": "AgentConfiguration", "description": " The response of ConfigureAgent that specifies if an agent profiles or not and for how long to return profiling data. ", "type": "object", "properties": { "agentParameters": { "allOf": [ { "$ref": "#/components/schemas/AgentParameters" }, { "description": "

Parameters used by the profiler. The valid parameters are:

" } ] }, "periodInSeconds": { "allOf": [ { "$ref": "#/components/schemas/Integer" }, { "description": " How long a profiling agent should send profiling data using ConfigureAgent . For example, if this is set to 300, the profiling agent calls ConfigureAgent every 5 minutes to submit the profiled data collected during that period. " } ] }, "shouldProfile": { "allOf": [ { "$ref": "#/components/schemas/Boolean" }, { "description": " A Boolean that specifies whether the profiling agent collects profiling data or not. Set to true to enable profiling. " } ] } }, "required": [ "periodInSeconds", "shouldProfile" ] }