1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2019-07-18", 5 "endpointPrefix":"codeguru-profiler", 6 "jsonVersion":"1.1", 7 "protocol":"rest-json", 8 "serviceFullName":"Amazon CodeGuru Profiler", 9 "serviceId":"CodeGuruProfiler", 10 "signatureVersion":"v4", 11 "signingName":"codeguru-profiler", 12 "uid":"codeguruprofiler-2019-07-18" 13 }, 14 "operations":{ 15 "AddNotificationChannels":{ 16 "name":"AddNotificationChannels", 17 "http":{ 18 "method":"POST", 19 "requestUri":"/profilingGroups/{profilingGroupName}/notificationConfiguration", 20 "responseCode":200 21 }, 22 "input":{"shape":"AddNotificationChannelsRequest"}, 23 "output":{"shape":"AddNotificationChannelsResponse"}, 24 "errors":[ 25 {"shape":"ServiceQuotaExceededException"}, 26 {"shape":"InternalServerException"}, 27 {"shape":"ConflictException"}, 28 {"shape":"ValidationException"}, 29 {"shape":"ThrottlingException"}, 30 {"shape":"ResourceNotFoundException"} 31 ], 32 "documentation":"<p>Add up to 2 anomaly notifications channels for a profiling group.</p>" 33 }, 34 "BatchGetFrameMetricData":{ 35 "name":"BatchGetFrameMetricData", 36 "http":{ 37 "method":"POST", 38 "requestUri":"/profilingGroups/{profilingGroupName}/frames/-/metrics", 39 "responseCode":200 40 }, 41 "input":{"shape":"BatchGetFrameMetricDataRequest"}, 42 "output":{"shape":"BatchGetFrameMetricDataResponse"}, 43 "errors":[ 44 {"shape":"InternalServerException"}, 45 {"shape":"ValidationException"}, 46 {"shape":"ThrottlingException"}, 47 {"shape":"ResourceNotFoundException"} 48 ], 49 "documentation":"<p> Returns the time series of values for a requested list of frame metrics from a time period.</p>" 50 }, 51 "ConfigureAgent":{ 52 "name":"ConfigureAgent", 53 "http":{ 54 "method":"POST", 55 "requestUri":"/profilingGroups/{profilingGroupName}/configureAgent", 56 "responseCode":200 57 }, 58 "input":{"shape":"ConfigureAgentRequest"}, 59 "output":{"shape":"ConfigureAgentResponse"}, 60 "errors":[ 61 {"shape":"InternalServerException"}, 62 {"shape":"ValidationException"}, 63 {"shape":"ThrottlingException"}, 64 {"shape":"ResourceNotFoundException"} 65 ], 66 "documentation":"<p> Used by profiler agents to report their current state and to receive remote configuration updates. For example, <code>ConfigureAgent</code> can be used to tell an agent whether to profile or not and for how long to return profiling data. </p>" 67 }, 68 "CreateProfilingGroup":{ 69 "name":"CreateProfilingGroup", 70 "http":{ 71 "method":"POST", 72 "requestUri":"/profilingGroups", 73 "responseCode":201 74 }, 75 "input":{"shape":"CreateProfilingGroupRequest"}, 76 "output":{"shape":"CreateProfilingGroupResponse"}, 77 "errors":[ 78 {"shape":"ServiceQuotaExceededException"}, 79 {"shape":"InternalServerException"}, 80 {"shape":"ConflictException"}, 81 {"shape":"ValidationException"}, 82 {"shape":"ThrottlingException"} 83 ], 84 "documentation":"<p>Creates a profiling group.</p>", 85 "idempotent":true 86 }, 87 "DeleteProfilingGroup":{ 88 "name":"DeleteProfilingGroup", 89 "http":{ 90 "method":"DELETE", 91 "requestUri":"/profilingGroups/{profilingGroupName}", 92 "responseCode":204 93 }, 94 "input":{"shape":"DeleteProfilingGroupRequest"}, 95 "output":{"shape":"DeleteProfilingGroupResponse"}, 96 "errors":[ 97 {"shape":"InternalServerException"}, 98 {"shape":"ConflictException"}, 99 {"shape":"ValidationException"}, 100 {"shape":"ThrottlingException"}, 101 {"shape":"ResourceNotFoundException"} 102 ], 103 "documentation":"<p>Deletes a profiling group.</p>", 104 "idempotent":true 105 }, 106 "DescribeProfilingGroup":{ 107 "name":"DescribeProfilingGroup", 108 "http":{ 109 "method":"GET", 110 "requestUri":"/profilingGroups/{profilingGroupName}", 111 "responseCode":200 112 }, 113 "input":{"shape":"DescribeProfilingGroupRequest"}, 114 "output":{"shape":"DescribeProfilingGroupResponse"}, 115 "errors":[ 116 {"shape":"InternalServerException"}, 117 {"shape":"ValidationException"}, 118 {"shape":"ThrottlingException"}, 119 {"shape":"ResourceNotFoundException"} 120 ], 121 "documentation":"<p> Returns a <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html\"> <code>ProfilingGroupDescription</code> </a> object that contains information about the requested profiling group. </p>" 122 }, 123 "GetFindingsReportAccountSummary":{ 124 "name":"GetFindingsReportAccountSummary", 125 "http":{ 126 "method":"GET", 127 "requestUri":"/internal/findingsReports", 128 "responseCode":200 129 }, 130 "input":{"shape":"GetFindingsReportAccountSummaryRequest"}, 131 "output":{"shape":"GetFindingsReportAccountSummaryResponse"}, 132 "errors":[ 133 {"shape":"InternalServerException"}, 134 {"shape":"ValidationException"}, 135 {"shape":"ThrottlingException"} 136 ], 137 "documentation":"<p> Returns a list of <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_FindingsReportSummary.html\"> <code>FindingsReportSummary</code> </a> objects that contain analysis results for all profiling groups in your AWS account. </p>" 138 }, 139 "GetNotificationConfiguration":{ 140 "name":"GetNotificationConfiguration", 141 "http":{ 142 "method":"GET", 143 "requestUri":"/profilingGroups/{profilingGroupName}/notificationConfiguration", 144 "responseCode":200 145 }, 146 "input":{"shape":"GetNotificationConfigurationRequest"}, 147 "output":{"shape":"GetNotificationConfigurationResponse"}, 148 "errors":[ 149 {"shape":"InternalServerException"}, 150 {"shape":"ValidationException"}, 151 {"shape":"ThrottlingException"}, 152 {"shape":"ResourceNotFoundException"} 153 ], 154 "documentation":"<p>Get the current configuration for anomaly notifications for a profiling group.</p>" 155 }, 156 "GetPolicy":{ 157 "name":"GetPolicy", 158 "http":{ 159 "method":"GET", 160 "requestUri":"/profilingGroups/{profilingGroupName}/policy", 161 "responseCode":200 162 }, 163 "input":{"shape":"GetPolicyRequest"}, 164 "output":{"shape":"GetPolicyResponse"}, 165 "errors":[ 166 {"shape":"InternalServerException"}, 167 {"shape":"ThrottlingException"}, 168 {"shape":"ResourceNotFoundException"} 169 ], 170 "documentation":"<p> Returns the JSON-formatted resource-based policy on a profiling group. </p>" 171 }, 172 "GetProfile":{ 173 "name":"GetProfile", 174 "http":{ 175 "method":"GET", 176 "requestUri":"/profilingGroups/{profilingGroupName}/profile", 177 "responseCode":200 178 }, 179 "input":{"shape":"GetProfileRequest"}, 180 "output":{"shape":"GetProfileResponse"}, 181 "errors":[ 182 {"shape":"InternalServerException"}, 183 {"shape":"ValidationException"}, 184 {"shape":"ThrottlingException"}, 185 {"shape":"ResourceNotFoundException"} 186 ], 187 "documentation":"<p> Gets the aggregated profile of a profiling group for a specified time range. Amazon CodeGuru Profiler collects posted agent profiles for a profiling group into aggregated profiles. </p> <pre><code> <note> <p> Because aggregated profiles expire over time <code>GetProfile</code> is not idempotent. </p> </note> <p> Specify the time range for the requested aggregated profile using 1 or 2 of the following parameters: <code>startTime</code>, <code>endTime</code>, <code>period</code>. The maximum time range allowed is 7 days. If you specify all 3 parameters, an exception is thrown. If you specify only <code>period</code>, the latest aggregated profile is returned. </p> <p> Aggregated profiles are available with aggregation periods of 5 minutes, 1 hour, and 1 day, aligned to UTC. The aggregation period of an aggregated profile determines how long it is retained. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AggregatedProfileTime.html"> <code>AggregatedProfileTime</code> </a>. The aggregated profile's aggregation period determines how long it is retained by CodeGuru Profiler. </p> <ul> <li> <p> If the aggregation period is 5 minutes, the aggregated profile is retained for 15 days. </p> </li> <li> <p> If the aggregation period is 1 hour, the aggregated profile is retained for 60 days. </p> </li> <li> <p> If the aggregation period is 1 day, the aggregated profile is retained for 3 years. </p> </li> </ul> <p>There are two use cases for calling <code>GetProfile</code>.</p> <ol> <li> <p> If you want to return an aggregated profile that already exists, use <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ListProfileTimes.html"> <code>ListProfileTimes</code> </a> to view the time ranges of existing aggregated profiles. Use them in a <code>GetProfile</code> request to return a specific, existing aggregated profile. </p> </li> <li> <p> If you want to return an aggregated profile for a time range that doesn't align with an existing aggregated profile, then CodeGuru Profiler makes a best effort to combine existing aggregated profiles from the requested time range and return them as one aggregated profile. </p> <p> If aggregated profiles do not exist for the full time range requested, then aggregated profiles for a smaller time range are returned. For example, if the requested time range is from 00:00 to 00:20, and the existing aggregated profiles are from 00:15 and 00:25, then the aggregated profiles from 00:15 to 00:20 are returned. </p> </li> </ol> </code></pre>" 188 }, 189 "GetRecommendations":{ 190 "name":"GetRecommendations", 191 "http":{ 192 "method":"GET", 193 "requestUri":"/internal/profilingGroups/{profilingGroupName}/recommendations", 194 "responseCode":200 195 }, 196 "input":{"shape":"GetRecommendationsRequest"}, 197 "output":{"shape":"GetRecommendationsResponse"}, 198 "errors":[ 199 {"shape":"InternalServerException"}, 200 {"shape":"ValidationException"}, 201 {"shape":"ThrottlingException"}, 202 {"shape":"ResourceNotFoundException"} 203 ], 204 "documentation":"<p> Returns a list of <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Recommendation.html\"> <code>Recommendation</code> </a> objects that contain recommendations for a profiling group for a given time period. A list of <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Anomaly.html\"> <code>Anomaly</code> </a> objects that contains details about anomalies detected in the profiling group for the same time period is also returned. </p>" 205 }, 206 "ListFindingsReports":{ 207 "name":"ListFindingsReports", 208 "http":{ 209 "method":"GET", 210 "requestUri":"/internal/profilingGroups/{profilingGroupName}/findingsReports", 211 "responseCode":200 212 }, 213 "input":{"shape":"ListFindingsReportsRequest"}, 214 "output":{"shape":"ListFindingsReportsResponse"}, 215 "errors":[ 216 {"shape":"InternalServerException"}, 217 {"shape":"ValidationException"}, 218 {"shape":"ThrottlingException"}, 219 {"shape":"ResourceNotFoundException"} 220 ], 221 "documentation":"<p>List the available reports for a given profiling group and time range.</p>" 222 }, 223 "ListProfileTimes":{ 224 "name":"ListProfileTimes", 225 "http":{ 226 "method":"GET", 227 "requestUri":"/profilingGroups/{profilingGroupName}/profileTimes", 228 "responseCode":200 229 }, 230 "input":{"shape":"ListProfileTimesRequest"}, 231 "output":{"shape":"ListProfileTimesResponse"}, 232 "errors":[ 233 {"shape":"InternalServerException"}, 234 {"shape":"ValidationException"}, 235 {"shape":"ThrottlingException"}, 236 {"shape":"ResourceNotFoundException"} 237 ], 238 "documentation":"<p>Lists the start times of the available aggregated profiles of a profiling group for an aggregation period within the specified time range.</p>" 239 }, 240 "ListProfilingGroups":{ 241 "name":"ListProfilingGroups", 242 "http":{ 243 "method":"GET", 244 "requestUri":"/profilingGroups", 245 "responseCode":200 246 }, 247 "input":{"shape":"ListProfilingGroupsRequest"}, 248 "output":{"shape":"ListProfilingGroupsResponse"}, 249 "errors":[ 250 {"shape":"InternalServerException"}, 251 {"shape":"ThrottlingException"} 252 ], 253 "documentation":"<p> Returns a list of profiling groups. The profiling groups are returned as <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html\"> <code>ProfilingGroupDescription</code> </a> objects. </p>" 254 }, 255 "ListTagsForResource":{ 256 "name":"ListTagsForResource", 257 "http":{ 258 "method":"GET", 259 "requestUri":"/tags/{resourceArn}", 260 "responseCode":200 261 }, 262 "input":{"shape":"ListTagsForResourceRequest"}, 263 "output":{"shape":"ListTagsForResourceResponse"}, 264 "errors":[ 265 {"shape":"InternalServerException"}, 266 {"shape":"ValidationException"}, 267 {"shape":"ResourceNotFoundException"} 268 ], 269 "documentation":"<p> Returns a list of the tags that are assigned to a specified resource. </p>" 270 }, 271 "PostAgentProfile":{ 272 "name":"PostAgentProfile", 273 "http":{ 274 "method":"POST", 275 "requestUri":"/profilingGroups/{profilingGroupName}/agentProfile", 276 "responseCode":204 277 }, 278 "input":{"shape":"PostAgentProfileRequest"}, 279 "output":{"shape":"PostAgentProfileResponse"}, 280 "errors":[ 281 {"shape":"InternalServerException"}, 282 {"shape":"ValidationException"}, 283 {"shape":"ThrottlingException"}, 284 {"shape":"ResourceNotFoundException"} 285 ], 286 "documentation":"<p> Submits profiling data to an aggregated profile of a profiling group. To get an aggregated profile that is created with this profiling data, use <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_GetProfile.html\"> <code>GetProfile</code> </a>. </p>" 287 }, 288 "PutPermission":{ 289 "name":"PutPermission", 290 "http":{ 291 "method":"PUT", 292 "requestUri":"/profilingGroups/{profilingGroupName}/policy/{actionGroup}", 293 "responseCode":200 294 }, 295 "input":{"shape":"PutPermissionRequest"}, 296 "output":{"shape":"PutPermissionResponse"}, 297 "errors":[ 298 {"shape":"InternalServerException"}, 299 {"shape":"ConflictException"}, 300 {"shape":"ValidationException"}, 301 {"shape":"ThrottlingException"}, 302 {"shape":"ResourceNotFoundException"} 303 ], 304 "documentation":"<p> Adds permissions to a profiling group's resource-based policy that are provided using an action group. If a profiling group doesn't have a resource-based policy, one is created for it using the permissions in the action group and the roles and users in the <code>principals</code> parameter. </p> <pre><code> <p> The one supported action group that can be added is <code>agentPermission</code> which grants <code>ConfigureAgent</code> and <code>PostAgent</code> permissions. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html">Resource-based policies in CodeGuru Profiler</a> in the <i>Amazon CodeGuru Profiler User Guide</i>, <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html"> <code>ConfigureAgent</code> </a>, and <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html"> <code>PostAgentProfile</code> </a>. </p> <p> The first time you call <code>PutPermission</code> on a profiling group, do not specify a <code>revisionId</code> because it doesn't have a resource-based policy. Subsequent calls must provide a <code>revisionId</code> to specify which revision of the resource-based policy to add the permissions to. </p> <p> The response contains the profiling group's JSON-formatted resource policy. </p> </code></pre>", 305 "idempotent":true 306 }, 307 "RemoveNotificationChannel":{ 308 "name":"RemoveNotificationChannel", 309 "http":{ 310 "method":"DELETE", 311 "requestUri":"/profilingGroups/{profilingGroupName}/notificationConfiguration/{channelId}", 312 "responseCode":200 313 }, 314 "input":{"shape":"RemoveNotificationChannelRequest"}, 315 "output":{"shape":"RemoveNotificationChannelResponse"}, 316 "errors":[ 317 {"shape":"InternalServerException"}, 318 {"shape":"ValidationException"}, 319 {"shape":"ThrottlingException"}, 320 {"shape":"ResourceNotFoundException"} 321 ], 322 "documentation":"<p>Remove one anomaly notifications channel for a profiling group.</p>", 323 "idempotent":true 324 }, 325 "RemovePermission":{ 326 "name":"RemovePermission", 327 "http":{ 328 "method":"DELETE", 329 "requestUri":"/profilingGroups/{profilingGroupName}/policy/{actionGroup}", 330 "responseCode":200 331 }, 332 "input":{"shape":"RemovePermissionRequest"}, 333 "output":{"shape":"RemovePermissionResponse"}, 334 "errors":[ 335 {"shape":"InternalServerException"}, 336 {"shape":"ConflictException"}, 337 {"shape":"ValidationException"}, 338 {"shape":"ThrottlingException"}, 339 {"shape":"ResourceNotFoundException"} 340 ], 341 "documentation":"<p> Removes permissions from a profiling group's resource-based policy that are provided using an action group. The one supported action group that can be removed is <code>agentPermission</code> which grants <code>ConfigureAgent</code> and <code>PostAgent</code> permissions. For more information, see <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html\">Resource-based policies in CodeGuru Profiler</a> in the <i>Amazon CodeGuru Profiler User Guide</i>, <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html\"> <code>ConfigureAgent</code> </a>, and <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html\"> <code>PostAgentProfile</code> </a>. </p>" 342 }, 343 "SubmitFeedback":{ 344 "name":"SubmitFeedback", 345 "http":{ 346 "method":"POST", 347 "requestUri":"/internal/profilingGroups/{profilingGroupName}/anomalies/{anomalyInstanceId}/feedback", 348 "responseCode":204 349 }, 350 "input":{"shape":"SubmitFeedbackRequest"}, 351 "output":{"shape":"SubmitFeedbackResponse"}, 352 "errors":[ 353 {"shape":"InternalServerException"}, 354 {"shape":"ValidationException"}, 355 {"shape":"ThrottlingException"}, 356 {"shape":"ResourceNotFoundException"} 357 ], 358 "documentation":"<p>Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is useful or not.</p>" 359 }, 360 "TagResource":{ 361 "name":"TagResource", 362 "http":{ 363 "method":"POST", 364 "requestUri":"/tags/{resourceArn}", 365 "responseCode":204 366 }, 367 "input":{"shape":"TagResourceRequest"}, 368 "output":{"shape":"TagResourceResponse"}, 369 "errors":[ 370 {"shape":"InternalServerException"}, 371 {"shape":"ValidationException"}, 372 {"shape":"ResourceNotFoundException"} 373 ], 374 "documentation":"<p> Use to assign one or more tags to a resource. </p>" 375 }, 376 "UntagResource":{ 377 "name":"UntagResource", 378 "http":{ 379 "method":"DELETE", 380 "requestUri":"/tags/{resourceArn}", 381 "responseCode":204 382 }, 383 "input":{"shape":"UntagResourceRequest"}, 384 "output":{"shape":"UntagResourceResponse"}, 385 "errors":[ 386 {"shape":"InternalServerException"}, 387 {"shape":"ValidationException"}, 388 {"shape":"ResourceNotFoundException"} 389 ], 390 "documentation":"<p> Use to remove one or more tags from a resource. </p>", 391 "idempotent":true 392 }, 393 "UpdateProfilingGroup":{ 394 "name":"UpdateProfilingGroup", 395 "http":{ 396 "method":"PUT", 397 "requestUri":"/profilingGroups/{profilingGroupName}", 398 "responseCode":200 399 }, 400 "input":{"shape":"UpdateProfilingGroupRequest"}, 401 "output":{"shape":"UpdateProfilingGroupResponse"}, 402 "errors":[ 403 {"shape":"InternalServerException"}, 404 {"shape":"ConflictException"}, 405 {"shape":"ValidationException"}, 406 {"shape":"ThrottlingException"}, 407 {"shape":"ResourceNotFoundException"} 408 ], 409 "documentation":"<p>Updates a profiling group.</p>", 410 "idempotent":true 411 } 412 }, 413 "shapes":{ 414 "ActionGroup":{ 415 "type":"string", 416 "enum":["agentPermissions"] 417 }, 418 "AddNotificationChannelsRequest":{ 419 "type":"structure", 420 "required":[ 421 "channels", 422 "profilingGroupName" 423 ], 424 "members":{ 425 "channels":{ 426 "shape":"Channels", 427 "documentation":"<p>One or 2 channels to report to when anomalies are detected.</p>" 428 }, 429 "profilingGroupName":{ 430 "shape":"ProfilingGroupName", 431 "documentation":"<p>The name of the profiling group that we are setting up notifications for.</p>", 432 "location":"uri", 433 "locationName":"profilingGroupName" 434 } 435 }, 436 "documentation":"<p>The structure representing the AddNotificationChannelsRequest.</p>" 437 }, 438 "AddNotificationChannelsResponse":{ 439 "type":"structure", 440 "members":{ 441 "notificationConfiguration":{ 442 "shape":"NotificationConfiguration", 443 "documentation":"<p>The new notification configuration for this profiling group.</p>" 444 } 445 }, 446 "documentation":"<p>The structure representing the AddNotificationChannelsResponse.</p>" 447 }, 448 "AgentConfiguration":{ 449 "type":"structure", 450 "required":[ 451 "periodInSeconds", 452 "shouldProfile" 453 ], 454 "members":{ 455 "agentParameters":{ 456 "shape":"AgentParameters", 457 "documentation":"<p> Parameters used by the profiler. The valid parameters are: </p> <ul> <li> <p> <code>MaxStackDepth</code> - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method <code>A</code>, which calls method <code>B</code>, which calls method <code>C</code>, which calls method <code>D</code>, then the depth is 4. If the <code>maxDepth</code> is set to 2, then the profiler evaluates <code>A</code> and <code>B</code>. </p> </li> <li> <p> <code>MemoryUsageLimitPercent</code> - The percentage of memory that is used by the profiler.</p> </li> <li> <p> <code>MinimumTimeForReportingInMilliseconds</code> - The minimum time in milliseconds between sending reports. </p> </li> <li> <p> <code>ReportingIntervalInMilliseconds</code> - The reporting interval in milliseconds used to report profiles. </p> </li> <li> <p> <code>SamplingIntervalInMilliseconds</code> - The sampling interval in milliseconds that is used to profile samples. </p> </li> </ul>" 458 }, 459 "periodInSeconds":{ 460 "shape":"Integer", 461 "documentation":"<p> How long a profiling agent should send profiling data using <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html\"> <code>ConfigureAgent</code> </a>. For example, if this is set to 300, the profiling agent calls <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html\"> <code>ConfigureAgent</code> </a> every 5 minutes to submit the profiled data collected during that period. </p>" 462 }, 463 "shouldProfile":{ 464 "shape":"Boolean", 465 "documentation":"<p> A <code>Boolean</code> that specifies whether the profiling agent collects profiling data or not. Set to <code>true</code> to enable profiling. </p>" 466 } 467 }, 468 "documentation":"<p> The response of <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html\"> <code>ConfigureAgent</code> </a> that specifies if an agent profiles or not and for how long to return profiling data. </p>" 469 }, 470 "AgentOrchestrationConfig":{ 471 "type":"structure", 472 "required":["profilingEnabled"], 473 "members":{ 474 "profilingEnabled":{ 475 "shape":"Boolean", 476 "documentation":"<p> A <code>Boolean</code> that specifies whether the profiling agent collects profiling data or not. Set to <code>true</code> to enable profiling. </p>" 477 } 478 }, 479 "documentation":"<p> Specifies whether profiling is enabled or disabled for a profiling group. It is used by <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html\"> <code>ConfigureAgent</code> </a> to enable or disable profiling for a profiling group. </p>" 480 }, 481 "AgentParameterField":{ 482 "type":"string", 483 "enum":[ 484 "SamplingIntervalInMilliseconds", 485 "ReportingIntervalInMilliseconds", 486 "MinimumTimeForReportingInMilliseconds", 487 "MemoryUsageLimitPercent", 488 "MaxStackDepth" 489 ] 490 }, 491 "AgentParameters":{ 492 "type":"map", 493 "key":{"shape":"AgentParameterField"}, 494 "value":{"shape":"String"} 495 }, 496 "AgentProfile":{"type":"blob"}, 497 "AggregatedProfile":{"type":"blob"}, 498 "AggregatedProfileTime":{ 499 "type":"structure", 500 "members":{ 501 "period":{ 502 "shape":"AggregationPeriod", 503 "documentation":"<p> The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format. </p> <ul> <li> <p> <code>P1D</code> — 1 day </p> </li> <li> <p> <code>PT1H</code> — 1 hour </p> </li> <li> <p> <code>PT5M</code> — 5 minutes </p> </li> </ul>" 504 }, 505 "start":{ 506 "shape":"Timestamp", 507 "documentation":"<p> The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains profiles posted by the agent starting at this time for an aggregation period specified by the <code>period</code> property of the <code>AggregatedProfileTime</code> object. </p> <p> Specify <code>start</code> using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>" 508 } 509 }, 510 "documentation":"<p> Specifies the aggregation period and aggregation start time for an aggregated profile. An aggregated profile is used to collect posted agent profiles during an aggregation period. There are three possible aggregation periods (1 day, 1 hour, or 5 minutes). </p>" 511 }, 512 "AggregationPeriod":{ 513 "type":"string", 514 "enum":[ 515 "PT5M", 516 "PT1H", 517 "P1D" 518 ] 519 }, 520 "Anomalies":{ 521 "type":"list", 522 "member":{"shape":"Anomaly"} 523 }, 524 "Anomaly":{ 525 "type":"structure", 526 "required":[ 527 "instances", 528 "metric", 529 "reason" 530 ], 531 "members":{ 532 "instances":{ 533 "shape":"AnomalyInstances", 534 "documentation":"<p> A list of the instances of the detected anomalies during the requested period. </p>" 535 }, 536 "metric":{ 537 "shape":"Metric", 538 "documentation":"<p> Details about the metric that the analysis used when it detected the anomaly. The metric includes the name of the frame that was analyzed with the type and thread states used to derive the metric value for that frame. </p>" 539 }, 540 "reason":{ 541 "shape":"String", 542 "documentation":"<p>The reason for which metric was flagged as anomalous.</p>" 543 } 544 }, 545 "documentation":"<p> Details about an anomaly in a specific metric of application profile. The anomaly is detected using analysis of the metric data over a period of time. </p>" 546 }, 547 "AnomalyInstance":{ 548 "type":"structure", 549 "required":[ 550 "id", 551 "startTime" 552 ], 553 "members":{ 554 "endTime":{ 555 "shape":"Timestamp", 556 "documentation":"<p> The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>" 557 }, 558 "id":{ 559 "shape":"String", 560 "documentation":"<p> The universally unique identifier (UUID) of an instance of an anomaly in a metric. </p>" 561 }, 562 "startTime":{ 563 "shape":"Timestamp", 564 "documentation":"<p> The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>" 565 }, 566 "userFeedback":{ 567 "shape":"UserFeedback", 568 "documentation":"<p>Feedback type on a specific instance of anomaly submitted by the user.</p>" 569 } 570 }, 571 "documentation":"<p>The specific duration in which the metric is flagged as anomalous.</p>" 572 }, 573 "AnomalyInstanceId":{ 574 "type":"string", 575 "pattern":"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" 576 }, 577 "AnomalyInstances":{ 578 "type":"list", 579 "member":{"shape":"AnomalyInstance"} 580 }, 581 "BatchGetFrameMetricDataRequest":{ 582 "type":"structure", 583 "required":["profilingGroupName"], 584 "members":{ 585 "endTime":{ 586 "shape":"Timestamp", 587 "documentation":"<p> The end time of the time period for the returned time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>", 588 "location":"querystring", 589 "locationName":"endTime" 590 }, 591 "frameMetrics":{ 592 "shape":"FrameMetrics", 593 "documentation":"<p> The details of the metrics that are used to request a time series of values. The metric includes the name of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to use to get the count for the metric value of the frame.</p>" 594 }, 595 "period":{ 596 "shape":"Period", 597 "documentation":"<p> The duration of the frame metrics used to return the time series values. Specify using the ISO 8601 format. The maximum period duration is one day (<code>PT24H</code> or <code>P1D</code>). </p>", 598 "location":"querystring", 599 "locationName":"period" 600 }, 601 "profilingGroupName":{ 602 "shape":"ProfilingGroupName", 603 "documentation":"<p> The name of the profiling group associated with the the frame metrics used to return the time series values. </p>", 604 "location":"uri", 605 "locationName":"profilingGroupName" 606 }, 607 "startTime":{ 608 "shape":"Timestamp", 609 "documentation":"<p> The start time of the time period for the frame metrics used to return the time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>", 610 "location":"querystring", 611 "locationName":"startTime" 612 }, 613 "targetResolution":{ 614 "shape":"AggregationPeriod", 615 "documentation":"<p>The requested resolution of time steps for the returned time series of values. If the requested target resolution is not available due to data not being retained we provide a best effort result by falling back to the most granular available resolution after the target resolution. There are 3 valid values. </p> <ul> <li> <p> <code>P1D</code> — 1 day </p> </li> <li> <p> <code>PT1H</code> — 1 hour </p> </li> <li> <p> <code>PT5M</code> — 5 minutes </p> </li> </ul>", 616 "location":"querystring", 617 "locationName":"targetResolution" 618 } 619 }, 620 "documentation":"<p>The structure representing the BatchGetFrameMetricDataRequest.</p>" 621 }, 622 "BatchGetFrameMetricDataResponse":{ 623 "type":"structure", 624 "required":[ 625 "endTime", 626 "endTimes", 627 "frameMetricData", 628 "resolution", 629 "startTime", 630 "unprocessedEndTimes" 631 ], 632 "members":{ 633 "endTime":{ 634 "shape":"Timestamp", 635 "documentation":"<p> The end time of the time period for the returned time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>" 636 }, 637 "endTimes":{ 638 "shape":"ListOfTimestamps", 639 "documentation":"<p> List of instances, or time steps, in the time series. For example, if the <code>period</code> is one day (<code>PT24H)</code>), and the <code>resolution</code> is five minutes (<code>PT5M</code>), then there are 288 <code>endTimes</code> in the list that are each five minutes appart. </p>" 640 }, 641 "frameMetricData":{ 642 "shape":"FrameMetricData", 643 "documentation":"<p>Details of the metrics to request a time series of values. The metric includes the name of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to use to get the count for the metric value of the frame.</p>" 644 }, 645 "resolution":{ 646 "shape":"AggregationPeriod", 647 "documentation":"<p>Resolution or granularity of the profile data used to generate the time series. This is the value used to jump through time steps in a time series. There are 3 valid values. </p> <ul> <li> <p> <code>P1D</code> — 1 day </p> </li> <li> <p> <code>PT1H</code> — 1 hour </p> </li> <li> <p> <code>PT5M</code> — 5 minutes </p> </li> </ul>" 648 }, 649 "startTime":{ 650 "shape":"Timestamp", 651 "documentation":"<p> The start time of the time period for the returned time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>" 652 }, 653 "unprocessedEndTimes":{ 654 "shape":"UnprocessedEndTimeMap", 655 "documentation":"<p>List of instances which remained unprocessed. This will create a missing time step in the list of end times.</p>" 656 } 657 }, 658 "documentation":"<p>The structure representing the BatchGetFrameMetricDataResponse.</p>" 659 }, 660 "Boolean":{ 661 "type":"boolean", 662 "box":true 663 }, 664 "Channel":{ 665 "type":"structure", 666 "required":[ 667 "eventPublishers", 668 "uri" 669 ], 670 "members":{ 671 "eventPublishers":{ 672 "shape":"EventPublishers", 673 "documentation":"<p>List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.</p>" 674 }, 675 "id":{ 676 "shape":"ChannelId", 677 "documentation":"<p>Unique identifier for each <code>Channel</code> in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request.</p>" 678 }, 679 "uri":{ 680 "shape":"ChannelUri", 681 "documentation":"<p>Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.</p>" 682 } 683 }, 684 "documentation":"<p>Notification medium for users to get alerted for events that occur in application profile. We support SNS topic as a notification channel.</p>" 685 }, 686 "ChannelId":{ 687 "type":"string", 688 "pattern":"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" 689 }, 690 "ChannelUri":{ 691 "type":"string", 692 "documentation":"<p>Channel URI uniquely identifies a Notification Channel. TopicArn is the uri for an SNS channel, emailId is uri for an email channel etc. Currently we only support SNS channels and thus required to be an ARN</p>" 693 }, 694 "Channels":{ 695 "type":"list", 696 "member":{"shape":"Channel"}, 697 "max":2, 698 "min":1 699 }, 700 "ClientToken":{ 701 "type":"string", 702 "max":64, 703 "min":1, 704 "pattern":"^[\\w-]+$" 705 }, 706 "ComputePlatform":{ 707 "type":"string", 708 "enum":[ 709 "Default", 710 "AWSLambda" 711 ] 712 }, 713 "ConfigureAgentRequest":{ 714 "type":"structure", 715 "required":["profilingGroupName"], 716 "members":{ 717 "fleetInstanceId":{ 718 "shape":"FleetInstanceId", 719 "documentation":"<p> A universally unique identifier (UUID) for a profiling instance. For example, if the profiling instance is an Amazon EC2 instance, it is the instance ID. If it is an AWS Fargate container, it is the container's task ID. </p>" 720 }, 721 "metadata":{ 722 "shape":"Metadata", 723 "documentation":"<p> Metadata captured about the compute platform the agent is running on. It includes information about sampling and reporting. The valid fields are:</p> <ul> <li> <p> <code>COMPUTE_PLATFORM</code> - The compute platform on which the agent is running </p> </li> <li> <p> <code>AGENT_ID</code> - The ID for an agent instance. </p> </li> <li> <p> <code>AWS_REQUEST_ID</code> - The AWS request ID of a Lambda invocation. </p> </li> <li> <p> <code>EXECUTION_ENVIRONMENT</code> - The execution environment a Lambda function is running on. </p> </li> <li> <p> <code>LAMBDA_FUNCTION_ARN</code> - The Amazon Resource Name (ARN) that is used to invoke a Lambda function. </p> </li> <li> <p> <code>LAMBDA_MEMORY_LIMIT_IN_MB</code> - The memory allocated to a Lambda function. </p> </li> <li> <p> <code>LAMBDA_REMAINING_TIME_IN_MILLISECONDS</code> - The time in milliseconds before execution of a Lambda function times out. </p> </li> <li> <p> <code>LAMBDA_TIME_GAP_BETWEEN_INVOKES_IN_MILLISECONDS</code> - The time in milliseconds between two invocations of a Lambda function. </p> </li> <li> <p> <code>LAMBDA_PREVIOUS_EXECUTION_TIME_IN_MILLISECONDS</code> - The time in milliseconds for the previous Lambda invocation. </p> </li> </ul>" 724 }, 725 "profilingGroupName":{ 726 "shape":"ProfilingGroupName", 727 "documentation":"<p> The name of the profiling group for which the configured agent is collecting profiling data. </p>", 728 "location":"uri", 729 "locationName":"profilingGroupName" 730 } 731 }, 732 "documentation":"<p>The structure representing the configureAgentRequest.</p>" 733 }, 734 "ConfigureAgentResponse":{ 735 "type":"structure", 736 "required":["configuration"], 737 "members":{ 738 "configuration":{ 739 "shape":"AgentConfiguration", 740 "documentation":"<p> An <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AgentConfiguration.html\"> <code>AgentConfiguration</code> </a> object that specifies if an agent profiles or not and for how long to return profiling data. </p>" 741 } 742 }, 743 "documentation":"<p>The structure representing the configureAgentResponse.</p>", 744 "payload":"configuration" 745 }, 746 "ConflictException":{ 747 "type":"structure", 748 "required":["message"], 749 "members":{ 750 "message":{"shape":"String"} 751 }, 752 "documentation":"<p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>", 753 "error":{ 754 "httpStatusCode":409, 755 "senderFault":true 756 }, 757 "exception":true 758 }, 759 "CreateProfilingGroupRequest":{ 760 "type":"structure", 761 "required":[ 762 "clientToken", 763 "profilingGroupName" 764 ], 765 "members":{ 766 "agentOrchestrationConfig":{ 767 "shape":"AgentOrchestrationConfig", 768 "documentation":"<p> Specifies whether profiling is enabled or disabled for the created profiling group. </p>" 769 }, 770 "clientToken":{ 771 "shape":"ClientToken", 772 "documentation":"<p> Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries. </p>", 773 "idempotencyToken":true, 774 "location":"querystring", 775 "locationName":"clientToken" 776 }, 777 "computePlatform":{ 778 "shape":"ComputePlatform", 779 "documentation":"<p> The compute platform of the profiling group. Use <code>AWSLambda</code> if your application runs on AWS Lambda. Use <code>Default</code> 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, <code>Default</code> is used. </p>" 780 }, 781 "profilingGroupName":{ 782 "shape":"ProfilingGroupName", 783 "documentation":"<p>The name of the profiling group to create.</p>" 784 }, 785 "tags":{ 786 "shape":"TagsMap", 787 "documentation":"<p> A list of tags to add to the created profiling group. </p>" 788 } 789 }, 790 "documentation":"<p>The structure representing the createProfiliingGroupRequest.</p>" 791 }, 792 "CreateProfilingGroupResponse":{ 793 "type":"structure", 794 "required":["profilingGroup"], 795 "members":{ 796 "profilingGroup":{ 797 "shape":"ProfilingGroupDescription", 798 "documentation":"<p> The returned <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html\"> <code>ProfilingGroupDescription</code> </a> object that contains information about the created profiling group. </p>" 799 } 800 }, 801 "documentation":"<p>The structure representing the createProfilingGroupResponse.</p>", 802 "payload":"profilingGroup" 803 }, 804 "DeleteProfilingGroupRequest":{ 805 "type":"structure", 806 "required":["profilingGroupName"], 807 "members":{ 808 "profilingGroupName":{ 809 "shape":"ProfilingGroupName", 810 "documentation":"<p>The name of the profiling group to delete.</p>", 811 "location":"uri", 812 "locationName":"profilingGroupName" 813 } 814 }, 815 "documentation":"<p>The structure representing the deleteProfilingGroupRequest.</p>" 816 }, 817 "DeleteProfilingGroupResponse":{ 818 "type":"structure", 819 "members":{ 820 }, 821 "documentation":"<p>The structure representing the deleteProfilingGroupResponse.</p>" 822 }, 823 "DescribeProfilingGroupRequest":{ 824 "type":"structure", 825 "required":["profilingGroupName"], 826 "members":{ 827 "profilingGroupName":{ 828 "shape":"ProfilingGroupName", 829 "documentation":"<p> The name of the profiling group to get information about. </p>", 830 "location":"uri", 831 "locationName":"profilingGroupName" 832 } 833 }, 834 "documentation":"<p>The structure representing the describeProfilingGroupRequest.</p>" 835 }, 836 "DescribeProfilingGroupResponse":{ 837 "type":"structure", 838 "required":["profilingGroup"], 839 "members":{ 840 "profilingGroup":{ 841 "shape":"ProfilingGroupDescription", 842 "documentation":"<p> The returned <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html\"> <code>ProfilingGroupDescription</code> </a> object that contains information about the requested profiling group. </p>" 843 } 844 }, 845 "documentation":"<p>The structure representing the describeProfilingGroupResponse.</p>", 846 "payload":"profilingGroup" 847 }, 848 "Double":{ 849 "type":"double", 850 "box":true 851 }, 852 "EventPublisher":{ 853 "type":"string", 854 "enum":["AnomalyDetection"] 855 }, 856 "EventPublishers":{ 857 "type":"list", 858 "member":{"shape":"EventPublisher"}, 859 "max":1, 860 "min":1 861 }, 862 "FeedbackType":{ 863 "type":"string", 864 "enum":[ 865 "Positive", 866 "Negative" 867 ] 868 }, 869 "FindingsReportId":{ 870 "type":"string", 871 "pattern":"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" 872 }, 873 "FindingsReportSummaries":{ 874 "type":"list", 875 "member":{"shape":"FindingsReportSummary"} 876 }, 877 "FindingsReportSummary":{ 878 "type":"structure", 879 "members":{ 880 "id":{ 881 "shape":"FindingsReportId", 882 "documentation":"<p>The universally unique identifier (UUID) of the recommendation report.</p>" 883 }, 884 "profileEndTime":{ 885 "shape":"Timestamp", 886 "documentation":"<p> The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>" 887 }, 888 "profileStartTime":{ 889 "shape":"Timestamp", 890 "documentation":"<p>The start time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p>" 891 }, 892 "profilingGroupName":{ 893 "shape":"String", 894 "documentation":"<p>The name of the profiling group that is associated with the analysis data.</p>" 895 }, 896 "totalNumberOfFindings":{ 897 "shape":"Integer", 898 "documentation":"<p>The total number of different recommendations that were found by the analysis.</p>" 899 } 900 }, 901 "documentation":"<p> Information about potential recommendations that might be created from the analysis of profiling data. </p>" 902 }, 903 "FleetInstanceId":{ 904 "type":"string", 905 "max":255, 906 "min":1 907 }, 908 "FrameMetric":{ 909 "type":"structure", 910 "required":[ 911 "frameName", 912 "threadStates", 913 "type" 914 ], 915 "members":{ 916 "frameName":{ 917 "shape":"String", 918 "documentation":"<p> Name of the method common across the multiple occurrences of a frame in an application profile.</p>" 919 }, 920 "threadStates":{ 921 "shape":"ThreadStates", 922 "documentation":"<p>List of application runtime thread states used to get the counts for a frame a derive a metric value.</p>" 923 }, 924 "type":{ 925 "shape":"MetricType", 926 "documentation":"<p> A type of aggregation that specifies how a metric for a frame is analyzed. The supported value <code>AggregatedRelativeTotalTime</code> is an aggregation of the metric value for one frame that is calculated across the occurrences of all frames in a profile. </p>" 927 } 928 }, 929 "documentation":"<p> The frame name, metric type, and thread states. These are used to derive the value of the metric for the frame.</p>" 930 }, 931 "FrameMetricData":{ 932 "type":"list", 933 "member":{"shape":"FrameMetricDatum"} 934 }, 935 "FrameMetricDatum":{ 936 "type":"structure", 937 "required":[ 938 "frameMetric", 939 "values" 940 ], 941 "members":{ 942 "frameMetric":{"shape":"FrameMetric"}, 943 "values":{ 944 "shape":"FrameMetricValues", 945 "documentation":"<p> A list of values that are associated with a frame metric. </p>" 946 } 947 }, 948 "documentation":"<p> Information about a frame metric and its values. </p>" 949 }, 950 "FrameMetricValue":{ 951 "type":"double", 952 "box":true 953 }, 954 "FrameMetricValues":{ 955 "type":"list", 956 "member":{"shape":"FrameMetricValue"} 957 }, 958 "FrameMetrics":{ 959 "type":"list", 960 "member":{"shape":"FrameMetric"} 961 }, 962 "GetFindingsReportAccountSummaryRequest":{ 963 "type":"structure", 964 "members":{ 965 "dailyReportsOnly":{ 966 "shape":"Boolean", 967 "documentation":"<p>A <code>Boolean</code> value indicating whether to only return reports from daily profiles. If set to <code>True</code>, only analysis data from daily profiles is returned. If set to <code>False</code>, analysis data is returned from smaller time windows (for example, one hour).</p>", 968 "location":"querystring", 969 "locationName":"dailyReportsOnly" 970 }, 971 "maxResults":{ 972 "shape":"MaxResults", 973 "documentation":"<p>The maximum number of results returned by <code> GetFindingsReportAccountSummary</code> in paginated output. When this parameter is used, <code>GetFindingsReportAccountSummary</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>GetFindingsReportAccountSummary</code> request with the returned <code>nextToken</code> value.</p>", 974 "location":"querystring", 975 "locationName":"maxResults" 976 }, 977 "nextToken":{ 978 "shape":"PaginationToken", 979 "documentation":"<p>The <code>nextToken</code> value returned from a previous paginated <code>GetFindingsReportAccountSummary</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. </p> <note> <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p> </note>", 980 "location":"querystring", 981 "locationName":"nextToken" 982 } 983 }, 984 "documentation":"<p>The structure representing the GetFindingsReportAccountSummaryRequest.</p>" 985 }, 986 "GetFindingsReportAccountSummaryResponse":{ 987 "type":"structure", 988 "required":["reportSummaries"], 989 "members":{ 990 "nextToken":{ 991 "shape":"PaginationToken", 992 "documentation":"<p>The <code>nextToken</code> value to include in a future <code>GetFindingsReportAccountSummary</code> request. When the results of a <code>GetFindingsReportAccountSummary</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>" 993 }, 994 "reportSummaries":{ 995 "shape":"FindingsReportSummaries", 996 "documentation":"<p>The return list of <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_FindingsReportSummary.html\"> <code>FindingsReportSummary</code> </a> objects taht contain summaries of analysis results for all profiling groups in your AWS account.</p>" 997 } 998 }, 999 "documentation":"<p>The structure representing the GetFindingsReportAccountSummaryResponse.</p>" 1000 }, 1001 "GetNotificationConfigurationRequest":{ 1002 "type":"structure", 1003 "required":["profilingGroupName"], 1004 "members":{ 1005 "profilingGroupName":{ 1006 "shape":"ProfilingGroupName", 1007 "documentation":"<p>The name of the profiling group we want to get the notification configuration for.</p>", 1008 "location":"uri", 1009 "locationName":"profilingGroupName" 1010 } 1011 }, 1012 "documentation":"<p>The structure representing the GetNotificationConfigurationRequest.</p>" 1013 }, 1014 "GetNotificationConfigurationResponse":{ 1015 "type":"structure", 1016 "required":["notificationConfiguration"], 1017 "members":{ 1018 "notificationConfiguration":{ 1019 "shape":"NotificationConfiguration", 1020 "documentation":"<p>The current notification configuration for this profiling group.</p>" 1021 } 1022 }, 1023 "documentation":"<p>The structure representing the GetNotificationConfigurationResponse.</p>" 1024 }, 1025 "GetPolicyRequest":{ 1026 "type":"structure", 1027 "required":["profilingGroupName"], 1028 "members":{ 1029 "profilingGroupName":{ 1030 "shape":"ProfilingGroupName", 1031 "documentation":"<p>The name of the profiling group.</p>", 1032 "location":"uri", 1033 "locationName":"profilingGroupName" 1034 } 1035 }, 1036 "documentation":"<p> The structure representing the <code>getPolicyRequest</code>. </p>" 1037 }, 1038 "GetPolicyResponse":{ 1039 "type":"structure", 1040 "required":[ 1041 "policy", 1042 "revisionId" 1043 ], 1044 "members":{ 1045 "policy":{ 1046 "shape":"String", 1047 "documentation":"<p>The JSON-formatted resource-based policy attached to the <code>ProfilingGroup</code>.</p>" 1048 }, 1049 "revisionId":{ 1050 "shape":"RevisionId", 1051 "documentation":"<p>A unique identifier for the current revision of the returned policy.</p>" 1052 } 1053 }, 1054 "documentation":"<p>The structure representing the <code>getPolicyResponse</code>.</p>" 1055 }, 1056 "GetProfileRequest":{ 1057 "type":"structure", 1058 "required":["profilingGroupName"], 1059 "members":{ 1060 "accept":{ 1061 "shape":"String", 1062 "documentation":"<p> The format of the returned profiling data. The format maps to the <code>Accept</code> and <code>Content-Type</code> headers of the HTTP request. You can specify one of the following: or the default . </p> <pre><code> <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> </code></pre>", 1063 "location":"header", 1064 "locationName":"Accept" 1065 }, 1066 "endTime":{ 1067 "shape":"Timestamp", 1068 "documentation":"<p> The end time of the requested profile. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p> <p> If you specify <code>endTime</code>, then you must also specify <code>period</code> or <code>startTime</code>, but not both. </p>", 1069 "location":"querystring", 1070 "locationName":"endTime" 1071 }, 1072 "maxDepth":{ 1073 "shape":"MaxDepth", 1074 "documentation":"<p> The maximum depth of the stacks in the code that is represented in the aggregated profile. For example, if CodeGuru Profiler finds a method <code>A</code>, which calls method <code>B</code>, which calls method <code>C</code>, which calls method <code>D</code>, then the depth is 4. If the <code>maxDepth</code> is set to 2, then the aggregated profile contains representations of methods <code>A</code> and <code>B</code>. </p>", 1075 "location":"querystring", 1076 "locationName":"maxDepth" 1077 }, 1078 "period":{ 1079 "shape":"Period", 1080 "documentation":"<p> Used with <code>startTime</code> or <code>endTime</code> to specify the time range for the returned aggregated profile. Specify using the ISO 8601 format. For example, <code>P1DT1H1M1S</code>. </p> <pre><code> <p> To get the latest aggregated profile, specify only <code>period</code>. </p> </code></pre>", 1081 "location":"querystring", 1082 "locationName":"period" 1083 }, 1084 "profilingGroupName":{ 1085 "shape":"ProfilingGroupName", 1086 "documentation":"<p>The name of the profiling group to get.</p>", 1087 "location":"uri", 1088 "locationName":"profilingGroupName" 1089 }, 1090 "startTime":{ 1091 "shape":"Timestamp", 1092 "documentation":"<p>The start time of the profile to get. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p> <pre><code> <p> If you specify <code>startTime</code>, then you must also specify <code>period</code> or <code>endTime</code>, but not both. </p> </code></pre>", 1093 "location":"querystring", 1094 "locationName":"startTime" 1095 } 1096 }, 1097 "documentation":"<p>The structure representing the getProfileRequest.</p>" 1098 }, 1099 "GetProfileResponse":{ 1100 "type":"structure", 1101 "required":[ 1102 "contentType", 1103 "profile" 1104 ], 1105 "members":{ 1106 "contentEncoding":{ 1107 "shape":"String", 1108 "documentation":"<p>The content encoding of the profile.</p>", 1109 "location":"header", 1110 "locationName":"Content-Encoding" 1111 }, 1112 "contentType":{ 1113 "shape":"String", 1114 "documentation":"<p>The content type of the profile in the payload. It is either <code>application/json</code> or the default <code>application/x-amzn-ion</code>.</p>", 1115 "location":"header", 1116 "locationName":"Content-Type" 1117 }, 1118 "profile":{ 1119 "shape":"AggregatedProfile", 1120 "documentation":"<p>Information about the profile.</p>" 1121 } 1122 }, 1123 "documentation":"<p>The structure representing the getProfileResponse.</p>", 1124 "payload":"profile" 1125 }, 1126 "GetRecommendationsRequest":{ 1127 "type":"structure", 1128 "required":[ 1129 "endTime", 1130 "profilingGroupName", 1131 "startTime" 1132 ], 1133 "members":{ 1134 "endTime":{ 1135 "shape":"Timestamp", 1136 "documentation":"<p> The start time of the profile to get analysis data about. You must specify <code>startTime</code> and <code>endTime</code>. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>", 1137 "location":"querystring", 1138 "locationName":"endTime" 1139 }, 1140 "locale":{ 1141 "shape":"Locale", 1142 "documentation":"<p> The language used to provide analysis. Specify using a string that is one of the following <code>BCP 47</code> language codes. </p> <ul> <li> <p> <code>de-DE</code> - German, Germany </p> </li> <li> <p> <code>en-GB</code> - English, United Kingdom </p> </li> <li> <p> <code>en-US</code> - English, United States </p> </li> <li> <p> <code>es-ES</code> - Spanish, Spain </p> </li> <li> <p> <code>fr-FR</code> - French, France </p> </li> <li> <p> <code>it-IT</code> - Italian, Italy </p> </li> <li> <p> <code>ja-JP</code> - Japanese, Japan </p> </li> <li> <p> <code>ko-KR</code> - Korean, Republic of Korea </p> </li> <li> <p> <code>pt-BR</code> - Portugese, Brazil </p> </li> <li> <p> <code>zh-CN</code> - Chinese, China </p> </li> <li> <p> <code>zh-TW</code> - Chinese, Taiwan </p> </li> </ul>", 1143 "location":"querystring", 1144 "locationName":"locale" 1145 }, 1146 "profilingGroupName":{ 1147 "shape":"ProfilingGroupName", 1148 "documentation":"<p> The name of the profiling group to get analysis data about. </p>", 1149 "location":"uri", 1150 "locationName":"profilingGroupName" 1151 }, 1152 "startTime":{ 1153 "shape":"Timestamp", 1154 "documentation":"<p> The end time of the profile to get analysis data about. You must specify <code>startTime</code> and <code>endTime</code>. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>", 1155 "location":"querystring", 1156 "locationName":"startTime" 1157 } 1158 }, 1159 "documentation":"<p>The structure representing the GetRecommendationsRequest.</p>" 1160 }, 1161 "GetRecommendationsResponse":{ 1162 "type":"structure", 1163 "required":[ 1164 "anomalies", 1165 "profileEndTime", 1166 "profileStartTime", 1167 "profilingGroupName", 1168 "recommendations" 1169 ], 1170 "members":{ 1171 "anomalies":{ 1172 "shape":"Anomalies", 1173 "documentation":"<p> The list of anomalies that the analysis has found for this profile. </p>" 1174 }, 1175 "profileEndTime":{ 1176 "shape":"Timestamp", 1177 "documentation":"<p> The end time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>" 1178 }, 1179 "profileStartTime":{ 1180 "shape":"Timestamp", 1181 "documentation":"<p> The start time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>" 1182 }, 1183 "profilingGroupName":{ 1184 "shape":"ProfilingGroupName", 1185 "documentation":"<p>The name of the profiling group the analysis data is about.</p>" 1186 }, 1187 "recommendations":{ 1188 "shape":"Recommendations", 1189 "documentation":"<p>The list of recommendations that the analysis found for this profile.</p>" 1190 } 1191 }, 1192 "documentation":"<p>The structure representing the GetRecommendationsResponse.</p>" 1193 }, 1194 "Integer":{ 1195 "type":"integer", 1196 "box":true 1197 }, 1198 "InternalServerException":{ 1199 "type":"structure", 1200 "required":["message"], 1201 "members":{ 1202 "message":{"shape":"String"} 1203 }, 1204 "documentation":"<p>The server encountered an internal error and is unable to complete the request.</p>", 1205 "error":{"httpStatusCode":500}, 1206 "exception":true, 1207 "fault":true, 1208 "retryable":{"throttling":false} 1209 }, 1210 "ListFindingsReportsRequest":{ 1211 "type":"structure", 1212 "required":[ 1213 "endTime", 1214 "profilingGroupName", 1215 "startTime" 1216 ], 1217 "members":{ 1218 "dailyReportsOnly":{ 1219 "shape":"Boolean", 1220 "documentation":"<p>A <code>Boolean</code> value indicating whether to only return reports from daily profiles. If set to <code>True</code>, only analysis data from daily profiles is returned. If set to <code>False</code>, analysis data is returned from smaller time windows (for example, one hour).</p>", 1221 "location":"querystring", 1222 "locationName":"dailyReportsOnly" 1223 }, 1224 "endTime":{ 1225 "shape":"Timestamp", 1226 "documentation":"<p> The end time of the profile to get analysis data about. You must specify <code>startTime</code> and <code>endTime</code>. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>", 1227 "location":"querystring", 1228 "locationName":"endTime" 1229 }, 1230 "maxResults":{ 1231 "shape":"MaxResults", 1232 "documentation":"<p>The maximum number of report results returned by <code>ListFindingsReports</code> in paginated output. When this parameter is used, <code>ListFindingsReports</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>ListFindingsReports</code> request with the returned <code>nextToken</code> value.</p>", 1233 "location":"querystring", 1234 "locationName":"maxResults" 1235 }, 1236 "nextToken":{ 1237 "shape":"PaginationToken", 1238 "documentation":"<p>The <code>nextToken</code> value returned from a previous paginated <code>ListFindingsReportsRequest</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. </p> <note> <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p> </note>", 1239 "location":"querystring", 1240 "locationName":"nextToken" 1241 }, 1242 "profilingGroupName":{ 1243 "shape":"ProfilingGroupName", 1244 "documentation":"<p>The name of the profiling group from which to search for analysis data.</p>", 1245 "location":"uri", 1246 "locationName":"profilingGroupName" 1247 }, 1248 "startTime":{ 1249 "shape":"Timestamp", 1250 "documentation":"<p> The start time of the profile to get analysis data about. You must specify <code>startTime</code> and <code>endTime</code>. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>", 1251 "location":"querystring", 1252 "locationName":"startTime" 1253 } 1254 }, 1255 "documentation":"<p>The structure representing the ListFindingsReportsRequest.</p>" 1256 }, 1257 "ListFindingsReportsResponse":{ 1258 "type":"structure", 1259 "required":["findingsReportSummaries"], 1260 "members":{ 1261 "findingsReportSummaries":{ 1262 "shape":"FindingsReportSummaries", 1263 "documentation":"<p>The list of analysis results summaries.</p>" 1264 }, 1265 "nextToken":{ 1266 "shape":"PaginationToken", 1267 "documentation":"<p>The <code>nextToken</code> value to include in a future <code>ListFindingsReports</code> request. When the results of a <code>ListFindingsReports</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>" 1268 } 1269 }, 1270 "documentation":"<p>The structure representing the ListFindingsReportsResponse.</p>" 1271 }, 1272 "ListOfTimestamps":{ 1273 "type":"list", 1274 "member":{"shape":"TimestampStructure"} 1275 }, 1276 "ListProfileTimesRequest":{ 1277 "type":"structure", 1278 "required":[ 1279 "endTime", 1280 "period", 1281 "profilingGroupName", 1282 "startTime" 1283 ], 1284 "members":{ 1285 "endTime":{ 1286 "shape":"Timestamp", 1287 "documentation":"<p>The end time of the time range from which to list the profiles.</p>", 1288 "location":"querystring", 1289 "locationName":"endTime" 1290 }, 1291 "maxResults":{ 1292 "shape":"MaxResults", 1293 "documentation":"<p>The maximum number of profile time results returned by <code>ListProfileTimes</code> in paginated output. When this parameter is used, <code>ListProfileTimes</code> only returns <code>maxResults</code> results in a single page with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>ListProfileTimes</code> request with the returned <code>nextToken</code> value. </p>", 1294 "location":"querystring", 1295 "locationName":"maxResults" 1296 }, 1297 "nextToken":{ 1298 "shape":"PaginationToken", 1299 "documentation":"<p>The <code>nextToken</code> value returned from a previous paginated <code>ListProfileTimes</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. </p> <note> <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p> </note>", 1300 "location":"querystring", 1301 "locationName":"nextToken" 1302 }, 1303 "orderBy":{ 1304 "shape":"OrderBy", 1305 "documentation":"<p>The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults to <code>TIMESTAMP_DESCENDING</code>. </p>", 1306 "location":"querystring", 1307 "locationName":"orderBy" 1308 }, 1309 "period":{ 1310 "shape":"AggregationPeriod", 1311 "documentation":"<p> The aggregation period. This specifies the period during which an aggregation profile collects posted agent profiles for a profiling group. There are 3 valid values. </p> <ul> <li> <p> <code>P1D</code> — 1 day </p> </li> <li> <p> <code>PT1H</code> — 1 hour </p> </li> <li> <p> <code>PT5M</code> — 5 minutes </p> </li> </ul>", 1312 "location":"querystring", 1313 "locationName":"period" 1314 }, 1315 "profilingGroupName":{ 1316 "shape":"ProfilingGroupName", 1317 "documentation":"<p>The name of the profiling group.</p>", 1318 "location":"uri", 1319 "locationName":"profilingGroupName" 1320 }, 1321 "startTime":{ 1322 "shape":"Timestamp", 1323 "documentation":"<p>The start time of the time range from which to list the profiles.</p>", 1324 "location":"querystring", 1325 "locationName":"startTime" 1326 } 1327 }, 1328 "documentation":"<p>The structure representing the listProfileTimesRequest.</p>" 1329 }, 1330 "ListProfileTimesResponse":{ 1331 "type":"structure", 1332 "required":["profileTimes"], 1333 "members":{ 1334 "nextToken":{ 1335 "shape":"PaginationToken", 1336 "documentation":"<p>The <code>nextToken</code> value to include in a future <code>ListProfileTimes</code> request. When the results of a <code>ListProfileTimes</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return. </p>" 1337 }, 1338 "profileTimes":{ 1339 "shape":"ProfileTimes", 1340 "documentation":"<p>The list of start times of the available profiles for the aggregation period in the specified time range. </p>" 1341 } 1342 }, 1343 "documentation":"<p>The structure representing the listProfileTimesResponse.</p>" 1344 }, 1345 "ListProfilingGroupsRequest":{ 1346 "type":"structure", 1347 "members":{ 1348 "includeDescription":{ 1349 "shape":"Boolean", 1350 "documentation":"<p>A <code>Boolean</code> value indicating whether to include a description. If <code>true</code>, then a list of <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html\"> <code>ProfilingGroupDescription</code> </a> objects that contain detailed information about profiling groups is returned. If <code>false</code>, then a list of profiling group names is returned.</p>", 1351 "location":"querystring", 1352 "locationName":"includeDescription" 1353 }, 1354 "maxResults":{ 1355 "shape":"MaxResults", 1356 "documentation":"<p>The maximum number of profiling groups results returned by <code>ListProfilingGroups</code> in paginated output. When this parameter is used, <code>ListProfilingGroups</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>ListProfilingGroups</code> request with the returned <code>nextToken</code> value. </p>", 1357 "location":"querystring", 1358 "locationName":"maxResults" 1359 }, 1360 "nextToken":{ 1361 "shape":"PaginationToken", 1362 "documentation":"<p>The <code>nextToken</code> value returned from a previous paginated <code>ListProfilingGroups</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. </p> <note> <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p> </note>", 1363 "location":"querystring", 1364 "locationName":"nextToken" 1365 } 1366 }, 1367 "documentation":"<p>The structure representing the listProfilingGroupsRequest.</p>" 1368 }, 1369 "ListProfilingGroupsResponse":{ 1370 "type":"structure", 1371 "required":["profilingGroupNames"], 1372 "members":{ 1373 "nextToken":{ 1374 "shape":"PaginationToken", 1375 "documentation":"<p>The <code>nextToken</code> value to include in a future <code>ListProfilingGroups</code> request. When the results of a <code>ListProfilingGroups</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return. </p>" 1376 }, 1377 "profilingGroupNames":{ 1378 "shape":"ProfilingGroupNames", 1379 "documentation":"<p> A returned list of profiling group names. A list of the names is returned only if <code>includeDescription</code> is <code>false</code>, otherwise a list of <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html\"> <code>ProfilingGroupDescription</code> </a> objects is returned. </p>" 1380 }, 1381 "profilingGroups":{ 1382 "shape":"ProfilingGroupDescriptions", 1383 "documentation":"<p> A returned list <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html\"> <code>ProfilingGroupDescription</code> </a> objects. A list of <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html\"> <code>ProfilingGroupDescription</code> </a> objects is returned only if <code>includeDescription</code> is <code>true</code>, otherwise a list of profiling group names is returned. </p>" 1384 } 1385 }, 1386 "documentation":"<p>The structure representing the listProfilingGroupsResponse.</p>" 1387 }, 1388 "ListTagsForResourceRequest":{ 1389 "type":"structure", 1390 "required":["resourceArn"], 1391 "members":{ 1392 "resourceArn":{ 1393 "shape":"ProfilingGroupArn", 1394 "documentation":"<p> The Amazon Resource Name (ARN) of the resource that contains the tags to return. </p>", 1395 "location":"uri", 1396 "locationName":"resourceArn" 1397 } 1398 } 1399 }, 1400 "ListTagsForResourceResponse":{ 1401 "type":"structure", 1402 "members":{ 1403 "tags":{ 1404 "shape":"TagsMap", 1405 "documentation":"<p> The list of tags assigned to the specified resource. This is the list of tags returned in the response. </p>" 1406 } 1407 } 1408 }, 1409 "Locale":{ 1410 "type":"string", 1411 "documentation":"<p>BCP47 language code. Supported locales: de-DE, en-GB, en-US, es-ES, fr-FR, it-IT, ja-JP, ko-KR, pt-BR, zh-CN, zh-TW</p>" 1412 }, 1413 "Match":{ 1414 "type":"structure", 1415 "members":{ 1416 "frameAddress":{ 1417 "shape":"String", 1418 "documentation":"<p>The location in the profiling graph that contains a recommendation found during analysis.</p>" 1419 }, 1420 "targetFramesIndex":{ 1421 "shape":"Integer", 1422 "documentation":"<p>The target frame that triggered a match.</p>" 1423 }, 1424 "thresholdBreachValue":{ 1425 "shape":"Double", 1426 "documentation":"<p>The value in the profile data that exceeded the recommendation threshold.</p>" 1427 } 1428 }, 1429 "documentation":"<p>The part of a profile that contains a recommendation found during analysis.</p>" 1430 }, 1431 "Matches":{ 1432 "type":"list", 1433 "member":{"shape":"Match"} 1434 }, 1435 "MaxDepth":{ 1436 "type":"integer", 1437 "box":true, 1438 "max":10000, 1439 "min":1 1440 }, 1441 "MaxResults":{ 1442 "type":"integer", 1443 "box":true, 1444 "max":1000, 1445 "min":1 1446 }, 1447 "Metadata":{ 1448 "type":"map", 1449 "key":{"shape":"MetadataField"}, 1450 "value":{"shape":"String"} 1451 }, 1452 "MetadataField":{ 1453 "type":"string", 1454 "enum":[ 1455 "ComputePlatform", 1456 "AgentId", 1457 "AwsRequestId", 1458 "ExecutionEnvironment", 1459 "LambdaFunctionArn", 1460 "LambdaMemoryLimitInMB", 1461 "LambdaRemainingTimeInMilliseconds", 1462 "LambdaTimeGapBetweenInvokesInMilliseconds", 1463 "LambdaPreviousExecutionTimeInMilliseconds" 1464 ] 1465 }, 1466 "Metric":{ 1467 "type":"structure", 1468 "required":[ 1469 "frameName", 1470 "threadStates", 1471 "type" 1472 ], 1473 "members":{ 1474 "frameName":{ 1475 "shape":"String", 1476 "documentation":"<p> The name of the method that appears as a frame in any stack in a profile. </p>" 1477 }, 1478 "threadStates":{ 1479 "shape":"Strings", 1480 "documentation":"<p> The list of application runtime thread states that is used to calculate the metric value for the frame. </p>" 1481 }, 1482 "type":{ 1483 "shape":"MetricType", 1484 "documentation":"<p> A type that specifies how a metric for a frame is analyzed. The supported value <code>AggregatedRelativeTotalTime</code> is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.</p>" 1485 } 1486 }, 1487 "documentation":"<p> Details about the metric that the analysis used when it detected the anomaly. The metric what is analyzed to create recommendations. It includes the name of the frame that was analyzed and the type and thread states used to derive the metric value for that frame. </p>" 1488 }, 1489 "MetricType":{ 1490 "type":"string", 1491 "enum":["AggregatedRelativeTotalTime"] 1492 }, 1493 "NotificationConfiguration":{ 1494 "type":"structure", 1495 "members":{ 1496 "channels":{ 1497 "shape":"Channels", 1498 "documentation":"<p>List of up to two channels to be used for sending notifications for events detected from the application profile.</p>" 1499 } 1500 }, 1501 "documentation":"<p>The configuration for notifications stored for each profiling group. This includes up to to two channels and a list of event publishers associated with each channel.</p>" 1502 }, 1503 "OrderBy":{ 1504 "type":"string", 1505 "enum":[ 1506 "TimestampDescending", 1507 "TimestampAscending" 1508 ] 1509 }, 1510 "PaginationToken":{ 1511 "type":"string", 1512 "max":64, 1513 "min":1, 1514 "pattern":"^[\\w-]+$" 1515 }, 1516 "Pattern":{ 1517 "type":"structure", 1518 "members":{ 1519 "countersToAggregate":{ 1520 "shape":"Strings", 1521 "documentation":"<p> A list of the different counters used to determine if there is a match. </p>" 1522 }, 1523 "description":{ 1524 "shape":"String", 1525 "documentation":"<p>The description of the recommendation. This explains a potential inefficiency in a profiled application.</p>" 1526 }, 1527 "id":{ 1528 "shape":"String", 1529 "documentation":"<p>The universally unique identifier (UUID) of this pattern.</p>" 1530 }, 1531 "name":{ 1532 "shape":"String", 1533 "documentation":"<p>The name for this pattern.</p>" 1534 }, 1535 "resolutionSteps":{ 1536 "shape":"String", 1537 "documentation":"<p> A string that contains the steps recommended to address the potential inefficiency. </p>" 1538 }, 1539 "targetFrames":{ 1540 "shape":"TargetFrames", 1541 "documentation":"<p>A list of frame names that were searched during the analysis that generated a recommendation.</p>" 1542 }, 1543 "thresholdPercent":{ 1544 "shape":"Percentage", 1545 "documentation":"<p> The percentage of time an application spends in one method that triggers a recommendation. The percentage of time is the same as the percentage of the total gathered sample counts during analysis. </p>" 1546 } 1547 }, 1548 "documentation":"<p> A set of rules used to make a recommendation during an analysis. </p>" 1549 }, 1550 "Percentage":{ 1551 "type":"double", 1552 "max":100, 1553 "min":0 1554 }, 1555 "Period":{ 1556 "type":"string", 1557 "max":64, 1558 "min":1 1559 }, 1560 "PostAgentProfileRequest":{ 1561 "type":"structure", 1562 "required":[ 1563 "agentProfile", 1564 "contentType", 1565 "profilingGroupName" 1566 ], 1567 "members":{ 1568 "agentProfile":{ 1569 "shape":"AgentProfile", 1570 "documentation":"<p> The submitted profiling data. </p>" 1571 }, 1572 "contentType":{ 1573 "shape":"String", 1574 "documentation":"<p> The format of the submitted profiling data. The format maps to the <code>Accept</code> and <code>Content-Type</code> headers of the HTTP request. You can specify one of the following: or the default . </p> <pre><code> <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> </code></pre>", 1575 "location":"header", 1576 "locationName":"Content-Type" 1577 }, 1578 "profileToken":{ 1579 "shape":"ClientToken", 1580 "documentation":"<p> Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries. </p>", 1581 "idempotencyToken":true, 1582 "location":"querystring", 1583 "locationName":"profileToken" 1584 }, 1585 "profilingGroupName":{ 1586 "shape":"ProfilingGroupName", 1587 "documentation":"<p> The name of the profiling group with the aggregated profile that receives the submitted profiling data. </p>", 1588 "location":"uri", 1589 "locationName":"profilingGroupName" 1590 } 1591 }, 1592 "documentation":"<p>The structure representing the postAgentProfileRequest.</p>", 1593 "payload":"agentProfile" 1594 }, 1595 "PostAgentProfileResponse":{ 1596 "type":"structure", 1597 "members":{ 1598 }, 1599 "documentation":"<p>The structure representing the postAgentProfileResponse.</p>" 1600 }, 1601 "Principal":{"type":"string"}, 1602 "Principals":{ 1603 "type":"list", 1604 "member":{"shape":"Principal"}, 1605 "max":50, 1606 "min":1 1607 }, 1608 "ProfileTime":{ 1609 "type":"structure", 1610 "members":{ 1611 "start":{ 1612 "shape":"Timestamp", 1613 "documentation":"<p>The start time of a profile. It is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p>" 1614 } 1615 }, 1616 "documentation":"<p> Contains the start time of a profile. </p>" 1617 }, 1618 "ProfileTimes":{ 1619 "type":"list", 1620 "member":{"shape":"ProfileTime"} 1621 }, 1622 "ProfilingGroupArn":{"type":"string"}, 1623 "ProfilingGroupDescription":{ 1624 "type":"structure", 1625 "members":{ 1626 "agentOrchestrationConfig":{ 1627 "shape":"AgentOrchestrationConfig", 1628 "documentation":"<p> An <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AgentOrchestrationConfig.html\"> <code>AgentOrchestrationConfig</code> </a> object that indicates if the profiling group is enabled for profiled or not. </p>" 1629 }, 1630 "arn":{ 1631 "shape":"ProfilingGroupArn", 1632 "documentation":"<p>The Amazon Resource Name (ARN) identifying the profiling group resource.</p>" 1633 }, 1634 "computePlatform":{ 1635 "shape":"ComputePlatform", 1636 "documentation":"<p> The compute platform of the profiling group. If it is set to <code>AWSLambda</code>, then the profiled application runs on AWS Lambda. If it is set to <code>Default</code>, then the profiled application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. The default is <code>Default</code>. </p>" 1637 }, 1638 "createdAt":{ 1639 "shape":"Timestamp", 1640 "documentation":"<p>The time when the profiling group was created. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>" 1641 }, 1642 "name":{ 1643 "shape":"ProfilingGroupName", 1644 "documentation":"<p>The name of the profiling group.</p>" 1645 }, 1646 "profilingStatus":{ 1647 "shape":"ProfilingStatus", 1648 "documentation":"<p> A <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingStatus.html\"> <code>ProfilingStatus</code> </a> object that includes information about the last time a profile agent pinged back, the last time a profile was received, and the aggregation period and start time for the most recent aggregated profile. </p>" 1649 }, 1650 "tags":{ 1651 "shape":"TagsMap", 1652 "documentation":"<p> A list of the tags that belong to this profiling group. </p>" 1653 }, 1654 "updatedAt":{ 1655 "shape":"Timestamp", 1656 "documentation":"<p> The date and time when the profiling group was last updated. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>" 1657 } 1658 }, 1659 "documentation":"<p> Contains information about a profiling group. </p>" 1660 }, 1661 "ProfilingGroupDescriptions":{ 1662 "type":"list", 1663 "member":{"shape":"ProfilingGroupDescription"} 1664 }, 1665 "ProfilingGroupName":{ 1666 "type":"string", 1667 "max":255, 1668 "min":1, 1669 "pattern":"^[\\w-]+$" 1670 }, 1671 "ProfilingGroupNames":{ 1672 "type":"list", 1673 "member":{"shape":"ProfilingGroupName"} 1674 }, 1675 "ProfilingStatus":{ 1676 "type":"structure", 1677 "members":{ 1678 "latestAgentOrchestratedAt":{ 1679 "shape":"Timestamp", 1680 "documentation":"<p>The date and time when the profiling agent most recently pinged back. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p>" 1681 }, 1682 "latestAgentProfileReportedAt":{ 1683 "shape":"Timestamp", 1684 "documentation":"<p>The date and time when the most recent profile was received. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p>" 1685 }, 1686 "latestAggregatedProfile":{ 1687 "shape":"AggregatedProfileTime", 1688 "documentation":"<p> An <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AggregatedProfileTime.html\"> <code>AggregatedProfileTime</code> </a> object that contains the aggregation period and start time for an aggregated profile. </p>" 1689 } 1690 }, 1691 "documentation":"<p> Profiling status includes information about the last time a profile agent pinged back, the last time a profile was received, and the aggregation period and start time for the most recent aggregated profile. </p>" 1692 }, 1693 "PutPermissionRequest":{ 1694 "type":"structure", 1695 "required":[ 1696 "actionGroup", 1697 "principals", 1698 "profilingGroupName" 1699 ], 1700 "members":{ 1701 "actionGroup":{ 1702 "shape":"ActionGroup", 1703 "documentation":"<p> Specifies an action group that contains permissions to add to a profiling group resource. One action group is supported, <code>agentPermissions</code>, which grants permission to perform actions required by the profiling agent, <code>ConfigureAgent</code> and <code>PostAgentProfile</code> permissions. </p>", 1704 "location":"uri", 1705 "locationName":"actionGroup" 1706 }, 1707 "principals":{ 1708 "shape":"Principals", 1709 "documentation":"<p> A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs. </p>" 1710 }, 1711 "profilingGroupName":{ 1712 "shape":"ProfilingGroupName", 1713 "documentation":"<p>The name of the profiling group to grant access to.</p>", 1714 "location":"uri", 1715 "locationName":"profilingGroupName" 1716 }, 1717 "revisionId":{ 1718 "shape":"RevisionId", 1719 "documentation":"<p> A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group. Do not specify this when you add permissions to a profiling group for the first time. If a policy already exists on the profiling group, you must specify the <code>revisionId</code>. </p>" 1720 } 1721 }, 1722 "documentation":"<p>The structure representing the <code>putPermissionRequest</code>.</p>" 1723 }, 1724 "PutPermissionResponse":{ 1725 "type":"structure", 1726 "required":[ 1727 "policy", 1728 "revisionId" 1729 ], 1730 "members":{ 1731 "policy":{ 1732 "shape":"String", 1733 "documentation":"<p> The JSON-formatted resource-based policy on the profiling group that includes the added permissions. </p>" 1734 }, 1735 "revisionId":{ 1736 "shape":"RevisionId", 1737 "documentation":"<p> A universally unique identifier (UUID) for the revision of the resource-based policy that includes the added permissions. The JSON-formatted policy is in the <code>policy</code> element of the response. </p>" 1738 } 1739 }, 1740 "documentation":"<p>The structure representing the <code>putPermissionResponse</code>.</p>" 1741 }, 1742 "Recommendation":{ 1743 "type":"structure", 1744 "required":[ 1745 "allMatchesCount", 1746 "allMatchesSum", 1747 "endTime", 1748 "pattern", 1749 "startTime", 1750 "topMatches" 1751 ], 1752 "members":{ 1753 "allMatchesCount":{ 1754 "shape":"Integer", 1755 "documentation":"<p>How many different places in the profile graph triggered a match.</p>" 1756 }, 1757 "allMatchesSum":{ 1758 "shape":"Double", 1759 "documentation":"<p>How much of the total sample count is potentially affected.</p>" 1760 }, 1761 "endTime":{ 1762 "shape":"Timestamp", 1763 "documentation":"<p>End time of the profile that was used by this analysis. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p>" 1764 }, 1765 "pattern":{ 1766 "shape":"Pattern", 1767 "documentation":"<p>The pattern that analysis recognized in the profile to make this recommendation.</p>" 1768 }, 1769 "startTime":{ 1770 "shape":"Timestamp", 1771 "documentation":"<p>The start time of the profile that was used by this analysis. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p>" 1772 }, 1773 "topMatches":{ 1774 "shape":"Matches", 1775 "documentation":"<p>List of the matches with most impact. </p>" 1776 } 1777 }, 1778 "documentation":"<p>A potential improvement that was found from analyzing the profiling data.</p>" 1779 }, 1780 "Recommendations":{ 1781 "type":"list", 1782 "member":{"shape":"Recommendation"} 1783 }, 1784 "RemoveNotificationChannelRequest":{ 1785 "type":"structure", 1786 "required":[ 1787 "channelId", 1788 "profilingGroupName" 1789 ], 1790 "members":{ 1791 "channelId":{ 1792 "shape":"ChannelId", 1793 "documentation":"<p>The id of the channel that we want to stop receiving notifications.</p>", 1794 "location":"uri", 1795 "locationName":"channelId" 1796 }, 1797 "profilingGroupName":{ 1798 "shape":"ProfilingGroupName", 1799 "documentation":"<p>The name of the profiling group we want to change notification configuration for.</p>", 1800 "location":"uri", 1801 "locationName":"profilingGroupName" 1802 } 1803 }, 1804 "documentation":"<p>The structure representing the RemoveNotificationChannelRequest.</p>" 1805 }, 1806 "RemoveNotificationChannelResponse":{ 1807 "type":"structure", 1808 "members":{ 1809 "notificationConfiguration":{ 1810 "shape":"NotificationConfiguration", 1811 "documentation":"<p>The new notification configuration for this profiling group.</p>" 1812 } 1813 }, 1814 "documentation":"<p>The structure representing the RemoveNotificationChannelResponse.</p>" 1815 }, 1816 "RemovePermissionRequest":{ 1817 "type":"structure", 1818 "required":[ 1819 "actionGroup", 1820 "profilingGroupName", 1821 "revisionId" 1822 ], 1823 "members":{ 1824 "actionGroup":{ 1825 "shape":"ActionGroup", 1826 "documentation":"<p> Specifies an action group that contains the permissions to remove from a profiling group's resource-based policy. One action group is supported, <code>agentPermissions</code>, which grants <code>ConfigureAgent</code> and <code>PostAgentProfile</code> permissions. </p>", 1827 "location":"uri", 1828 "locationName":"actionGroup" 1829 }, 1830 "profilingGroupName":{ 1831 "shape":"ProfilingGroupName", 1832 "documentation":"<p>The name of the profiling group.</p>", 1833 "location":"uri", 1834 "locationName":"profilingGroupName" 1835 }, 1836 "revisionId":{ 1837 "shape":"RevisionId", 1838 "documentation":"<p> A universally unique identifier (UUID) for the revision of the resource-based policy from which you want to remove permissions. </p>", 1839 "location":"querystring", 1840 "locationName":"revisionId" 1841 } 1842 }, 1843 "documentation":"<p> <pre><code> The structure representing the <code>removePermissionRequest</code>.</p> </code></pre>" 1844 }, 1845 "RemovePermissionResponse":{ 1846 "type":"structure", 1847 "required":[ 1848 "policy", 1849 "revisionId" 1850 ], 1851 "members":{ 1852 "policy":{ 1853 "shape":"String", 1854 "documentation":"<p> The JSON-formatted resource-based policy on the profiling group after the specified permissions were removed. </p>" 1855 }, 1856 "revisionId":{ 1857 "shape":"RevisionId", 1858 "documentation":"<p> A universally unique identifier (UUID) for the revision of the resource-based policy after the specified permissions were removed. The updated JSON-formatted policy is in the <code>policy</code> element of the response. </p>" 1859 } 1860 }, 1861 "documentation":"<p>The structure representing the <code>removePermissionResponse</code>.</p>" 1862 }, 1863 "ResourceNotFoundException":{ 1864 "type":"structure", 1865 "required":["message"], 1866 "members":{ 1867 "message":{"shape":"String"} 1868 }, 1869 "documentation":"<p>The resource specified in the request does not exist.</p>", 1870 "error":{ 1871 "httpStatusCode":404, 1872 "senderFault":true 1873 }, 1874 "exception":true 1875 }, 1876 "RevisionId":{ 1877 "type":"string", 1878 "pattern":"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" 1879 }, 1880 "ServiceQuotaExceededException":{ 1881 "type":"structure", 1882 "required":["message"], 1883 "members":{ 1884 "message":{"shape":"String"} 1885 }, 1886 "documentation":"<p>You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use <a href=\"https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html\">Service Quotas</a> to request a service quota increase. </p>", 1887 "error":{ 1888 "httpStatusCode":402, 1889 "senderFault":true 1890 }, 1891 "exception":true, 1892 "retryable":{"throttling":false} 1893 }, 1894 "String":{"type":"string"}, 1895 "Strings":{ 1896 "type":"list", 1897 "member":{"shape":"String"} 1898 }, 1899 "SubmitFeedbackRequest":{ 1900 "type":"structure", 1901 "required":[ 1902 "anomalyInstanceId", 1903 "profilingGroupName", 1904 "type" 1905 ], 1906 "members":{ 1907 "anomalyInstanceId":{ 1908 "shape":"AnomalyInstanceId", 1909 "documentation":"<p>The universally unique identifier (UUID) of the <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AnomalyInstance.html\"> <code>AnomalyInstance</code> </a> object that is included in the analysis data.</p>", 1910 "location":"uri", 1911 "locationName":"anomalyInstanceId" 1912 }, 1913 "comment":{ 1914 "shape":"String", 1915 "documentation":"<p>Optional feedback about this anomaly.</p>" 1916 }, 1917 "profilingGroupName":{ 1918 "shape":"ProfilingGroupName", 1919 "documentation":"<p>The name of the profiling group that is associated with the analysis data.</p>", 1920 "location":"uri", 1921 "locationName":"profilingGroupName" 1922 }, 1923 "type":{ 1924 "shape":"FeedbackType", 1925 "documentation":"<p> The feedback tpye. Thee are two valid values, <code>Positive</code> and <code>Negative</code>. </p>" 1926 } 1927 }, 1928 "documentation":"<p>The structure representing the SubmitFeedbackRequest.</p>" 1929 }, 1930 "SubmitFeedbackResponse":{ 1931 "type":"structure", 1932 "members":{ 1933 }, 1934 "documentation":"<p>The structure representing the SubmitFeedbackResponse.</p>" 1935 }, 1936 "TagKeys":{ 1937 "type":"list", 1938 "member":{"shape":"String"} 1939 }, 1940 "TagResourceRequest":{ 1941 "type":"structure", 1942 "required":[ 1943 "resourceArn", 1944 "tags" 1945 ], 1946 "members":{ 1947 "resourceArn":{ 1948 "shape":"ProfilingGroupArn", 1949 "documentation":"<p> The Amazon Resource Name (ARN) of the resource that the tags are added to. </p>", 1950 "location":"uri", 1951 "locationName":"resourceArn" 1952 }, 1953 "tags":{ 1954 "shape":"TagsMap", 1955 "documentation":"<p> The list of tags that are added to the specified resource. </p>" 1956 } 1957 } 1958 }, 1959 "TagResourceResponse":{ 1960 "type":"structure", 1961 "members":{ 1962 } 1963 }, 1964 "TagsMap":{ 1965 "type":"map", 1966 "key":{"shape":"String"}, 1967 "value":{"shape":"String"} 1968 }, 1969 "TargetFrame":{ 1970 "type":"list", 1971 "member":{"shape":"String"} 1972 }, 1973 "TargetFrames":{ 1974 "type":"list", 1975 "member":{"shape":"TargetFrame"} 1976 }, 1977 "ThreadStates":{ 1978 "type":"list", 1979 "member":{"shape":"String"} 1980 }, 1981 "ThrottlingException":{ 1982 "type":"structure", 1983 "required":["message"], 1984 "members":{ 1985 "message":{"shape":"String"} 1986 }, 1987 "documentation":"<p>The request was denied due to request throttling.</p>", 1988 "error":{ 1989 "httpStatusCode":429, 1990 "senderFault":true 1991 }, 1992 "exception":true, 1993 "retryable":{"throttling":false} 1994 }, 1995 "Timestamp":{ 1996 "type":"timestamp", 1997 "timestampFormat":"iso8601" 1998 }, 1999 "TimestampStructure":{ 2000 "type":"structure", 2001 "required":["value"], 2002 "members":{ 2003 "value":{ 2004 "shape":"Timestamp", 2005 "documentation":"<p> A <code>Timestamp</code>. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>" 2006 } 2007 }, 2008 "documentation":"<p> A data type that contains a <code>Timestamp</code> object. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. </p>" 2009 }, 2010 "UnprocessedEndTimeMap":{ 2011 "type":"map", 2012 "key":{"shape":"String"}, 2013 "value":{"shape":"ListOfTimestamps"} 2014 }, 2015 "UntagResourceRequest":{ 2016 "type":"structure", 2017 "required":[ 2018 "resourceArn", 2019 "tagKeys" 2020 ], 2021 "members":{ 2022 "resourceArn":{ 2023 "shape":"ProfilingGroupArn", 2024 "documentation":"<p> The Amazon Resource Name (ARN) of the resource that contains the tags to remove. </p>", 2025 "location":"uri", 2026 "locationName":"resourceArn" 2027 }, 2028 "tagKeys":{ 2029 "shape":"TagKeys", 2030 "documentation":"<p> A list of tag keys. Existing tags of resources with keys in this list are removed from the specified resource. </p>", 2031 "location":"querystring", 2032 "locationName":"tagKeys" 2033 } 2034 } 2035 }, 2036 "UntagResourceResponse":{ 2037 "type":"structure", 2038 "members":{ 2039 } 2040 }, 2041 "UpdateProfilingGroupRequest":{ 2042 "type":"structure", 2043 "required":[ 2044 "agentOrchestrationConfig", 2045 "profilingGroupName" 2046 ], 2047 "members":{ 2048 "agentOrchestrationConfig":{ 2049 "shape":"AgentOrchestrationConfig", 2050 "documentation":"<p> Specifies whether profiling is enabled or disabled for a profiling group. </p>" 2051 }, 2052 "profilingGroupName":{ 2053 "shape":"ProfilingGroupName", 2054 "documentation":"<p>The name of the profiling group to update.</p>", 2055 "location":"uri", 2056 "locationName":"profilingGroupName" 2057 } 2058 }, 2059 "documentation":"<p>The structure representing the updateProfilingGroupRequest.</p>" 2060 }, 2061 "UpdateProfilingGroupResponse":{ 2062 "type":"structure", 2063 "required":["profilingGroup"], 2064 "members":{ 2065 "profilingGroup":{ 2066 "shape":"ProfilingGroupDescription", 2067 "documentation":"<p> A <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html\"> <code>ProfilingGroupDescription</code> </a> that contains information about the returned updated profiling group. </p>" 2068 } 2069 }, 2070 "documentation":"<p>The structure representing the updateProfilingGroupResponse.</p>", 2071 "payload":"profilingGroup" 2072 }, 2073 "UserFeedback":{ 2074 "type":"structure", 2075 "required":["type"], 2076 "members":{ 2077 "type":{ 2078 "shape":"FeedbackType", 2079 "documentation":"<p>Optional <code>Positive</code> or <code>Negative</code> feedback submitted by the user about whether the recommendation is useful or not.</p>" 2080 } 2081 }, 2082 "documentation":"<p>Feedback that can be submitted for each instance of an anomaly by the user. Feedback is be used for improvements in generating recommendations for the application.</p>" 2083 }, 2084 "ValidationException":{ 2085 "type":"structure", 2086 "required":["message"], 2087 "members":{ 2088 "message":{"shape":"String"} 2089 }, 2090 "documentation":"<p>The parameter is not valid.</p>", 2091 "error":{ 2092 "httpStatusCode":400, 2093 "senderFault":true 2094 }, 2095 "exception":true 2096 } 2097 }, 2098 "documentation":"<p> This section provides documentation for the Amazon CodeGuru Profiler API operations. </p> <p> Amazon CodeGuru Profiler collects runtime performance data from your live applications, and provides recommendations that can help you fine-tune your application performance. Using machine learning algorithms, CodeGuru Profiler can help you find your most expensive lines of code and suggest ways you can improve efficiency and remove CPU bottlenecks. </p> <p> Amazon CodeGuru Profiler provides different visualizations of profiling data to help you identify what code is running on the CPU, see how much time is consumed, and suggest ways to reduce CPU utilization. </p> <note> <p>Amazon CodeGuru Profiler currently supports applications written in all Java virtual machine (JVM) languages and Python. While CodeGuru Profiler supports both visualizations and recommendations for applications written in Java, it can also generate visualizations and a subset of recommendations for applications written in other JVM languages and Python.</p> </note> <p> For more information, see <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-ug/what-is-codeguru-profiler.html\">What is Amazon CodeGuru Profiler</a> in the <i>Amazon CodeGuru Profiler User Guide</i>. </p>" 2099} 2100