aws-sdk-codeguruprofiler 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-codeguruprofiler.rb +47 -0
- data/lib/aws-sdk-codeguruprofiler/client.rb +693 -0
- data/lib/aws-sdk-codeguruprofiler/client_api.rb +344 -0
- data/lib/aws-sdk-codeguruprofiler/customizations.rb +0 -0
- data/lib/aws-sdk-codeguruprofiler/errors.rb +110 -0
- data/lib/aws-sdk-codeguruprofiler/resource.rb +23 -0
- data/lib/aws-sdk-codeguruprofiler/types.rb +679 -0
- metadata +88 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::CodeGuruProfiler
|
9
|
+
class Resource
|
10
|
+
|
11
|
+
# @param options ({})
|
12
|
+
# @option options [Client] :client
|
13
|
+
def initialize(options = {})
|
14
|
+
@client = options[:client] || Client.new(options)
|
15
|
+
end
|
16
|
+
|
17
|
+
# @return [Client]
|
18
|
+
def client
|
19
|
+
@client
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,679 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::CodeGuruProfiler
|
9
|
+
module Types
|
10
|
+
|
11
|
+
# The configuration for the agent to use.
|
12
|
+
#
|
13
|
+
# @!attribute [rw] period_in_seconds
|
14
|
+
# Specifies the period to follow the configuration (to profile or not)
|
15
|
+
# and call back to get a new configuration.
|
16
|
+
# @return [Integer]
|
17
|
+
#
|
18
|
+
# @!attribute [rw] should_profile
|
19
|
+
# Specifies if the profiling should be enabled by the agent.
|
20
|
+
# @return [Boolean]
|
21
|
+
#
|
22
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/AgentConfiguration AWS API Documentation
|
23
|
+
#
|
24
|
+
class AgentConfiguration < Struct.new(
|
25
|
+
:period_in_seconds,
|
26
|
+
:should_profile)
|
27
|
+
include Aws::Structure
|
28
|
+
end
|
29
|
+
|
30
|
+
# Configuration to orchestrate agents to create and report agent
|
31
|
+
# profiles of the profiling group. Agents are orchestrated if they
|
32
|
+
# follow the agent orchestration protocol.
|
33
|
+
#
|
34
|
+
# @note When making an API call, you may pass AgentOrchestrationConfig
|
35
|
+
# data as a hash:
|
36
|
+
#
|
37
|
+
# {
|
38
|
+
# profiling_enabled: false, # required
|
39
|
+
# }
|
40
|
+
#
|
41
|
+
# @!attribute [rw] profiling_enabled
|
42
|
+
# If the agents should be enabled to create and report profiles.
|
43
|
+
# @return [Boolean]
|
44
|
+
#
|
45
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/AgentOrchestrationConfig AWS API Documentation
|
46
|
+
#
|
47
|
+
class AgentOrchestrationConfig < Struct.new(
|
48
|
+
:profiling_enabled)
|
49
|
+
include Aws::Structure
|
50
|
+
end
|
51
|
+
|
52
|
+
# The time range of an aggregated profile.
|
53
|
+
#
|
54
|
+
# @!attribute [rw] period
|
55
|
+
# The aggregation period of the aggregated profile.
|
56
|
+
# @return [String]
|
57
|
+
#
|
58
|
+
# @!attribute [rw] start
|
59
|
+
# The start time of the aggregated profile.
|
60
|
+
# @return [Time]
|
61
|
+
#
|
62
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/AggregatedProfileTime AWS API Documentation
|
63
|
+
#
|
64
|
+
class AggregatedProfileTime < Struct.new(
|
65
|
+
:period,
|
66
|
+
:start)
|
67
|
+
include Aws::Structure
|
68
|
+
end
|
69
|
+
|
70
|
+
# Request for ConfigureAgent operation.
|
71
|
+
#
|
72
|
+
# @note When making an API call, you may pass ConfigureAgentRequest
|
73
|
+
# data as a hash:
|
74
|
+
#
|
75
|
+
# {
|
76
|
+
# fleet_instance_id: "FleetInstanceId",
|
77
|
+
# profiling_group_name: "ProfilingGroupName", # required
|
78
|
+
# }
|
79
|
+
#
|
80
|
+
# @!attribute [rw] fleet_instance_id
|
81
|
+
# Identifier of the instance of compute fleet being profiled by the
|
82
|
+
# agent. For instance, host name in EC2, task id for ECS, function
|
83
|
+
# name for AWS Lambda
|
84
|
+
# @return [String]
|
85
|
+
#
|
86
|
+
# @!attribute [rw] profiling_group_name
|
87
|
+
# The name of the profiling group.
|
88
|
+
# @return [String]
|
89
|
+
#
|
90
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ConfigureAgentRequest AWS API Documentation
|
91
|
+
#
|
92
|
+
class ConfigureAgentRequest < Struct.new(
|
93
|
+
:fleet_instance_id,
|
94
|
+
:profiling_group_name)
|
95
|
+
include Aws::Structure
|
96
|
+
end
|
97
|
+
|
98
|
+
# Response for ConfigureAgent operation.
|
99
|
+
#
|
100
|
+
# @!attribute [rw] configuration
|
101
|
+
# The configuration for the agent to use.
|
102
|
+
# @return [Types::AgentConfiguration]
|
103
|
+
#
|
104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ConfigureAgentResponse AWS API Documentation
|
105
|
+
#
|
106
|
+
class ConfigureAgentResponse < Struct.new(
|
107
|
+
:configuration)
|
108
|
+
include Aws::Structure
|
109
|
+
end
|
110
|
+
|
111
|
+
# Request can can cause an inconsistent state for the resource.
|
112
|
+
#
|
113
|
+
# @!attribute [rw] message
|
114
|
+
# @return [String]
|
115
|
+
#
|
116
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ConflictException AWS API Documentation
|
117
|
+
#
|
118
|
+
class ConflictException < Struct.new(
|
119
|
+
:message)
|
120
|
+
include Aws::Structure
|
121
|
+
end
|
122
|
+
|
123
|
+
# Request for CreateProfilingGroup operation.
|
124
|
+
#
|
125
|
+
# @note When making an API call, you may pass CreateProfilingGroupRequest
|
126
|
+
# data as a hash:
|
127
|
+
#
|
128
|
+
# {
|
129
|
+
# agent_orchestration_config: {
|
130
|
+
# profiling_enabled: false, # required
|
131
|
+
# },
|
132
|
+
# client_token: "ClientToken", # required
|
133
|
+
# profiling_group_name: "ProfilingGroupName", # required
|
134
|
+
# }
|
135
|
+
#
|
136
|
+
# @!attribute [rw] agent_orchestration_config
|
137
|
+
# Configuration to orchestrate agents to create and report agent
|
138
|
+
# profiles of the profiling group. Agents are orchestrated if they
|
139
|
+
# follow the agent orchestration protocol.
|
140
|
+
# @return [Types::AgentOrchestrationConfig]
|
141
|
+
#
|
142
|
+
# @!attribute [rw] client_token
|
143
|
+
# Client token for the request.
|
144
|
+
#
|
145
|
+
# **A suitable default value is auto-generated.** You should normally
|
146
|
+
# not need to pass this option.
|
147
|
+
# @return [String]
|
148
|
+
#
|
149
|
+
# @!attribute [rw] profiling_group_name
|
150
|
+
# The name of the profiling group.
|
151
|
+
# @return [String]
|
152
|
+
#
|
153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/CreateProfilingGroupRequest AWS API Documentation
|
154
|
+
#
|
155
|
+
class CreateProfilingGroupRequest < Struct.new(
|
156
|
+
:agent_orchestration_config,
|
157
|
+
:client_token,
|
158
|
+
:profiling_group_name)
|
159
|
+
include Aws::Structure
|
160
|
+
end
|
161
|
+
|
162
|
+
# Response for CreateProfilingGroup operation.
|
163
|
+
#
|
164
|
+
# @!attribute [rw] profiling_group
|
165
|
+
# The description of a profiling group.
|
166
|
+
# @return [Types::ProfilingGroupDescription]
|
167
|
+
#
|
168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/CreateProfilingGroupResponse AWS API Documentation
|
169
|
+
#
|
170
|
+
class CreateProfilingGroupResponse < Struct.new(
|
171
|
+
:profiling_group)
|
172
|
+
include Aws::Structure
|
173
|
+
end
|
174
|
+
|
175
|
+
# Request for DeleteProfilingGroup operation.
|
176
|
+
#
|
177
|
+
# @note When making an API call, you may pass DeleteProfilingGroupRequest
|
178
|
+
# data as a hash:
|
179
|
+
#
|
180
|
+
# {
|
181
|
+
# profiling_group_name: "ProfilingGroupName", # required
|
182
|
+
# }
|
183
|
+
#
|
184
|
+
# @!attribute [rw] profiling_group_name
|
185
|
+
# The name of the profiling group.
|
186
|
+
# @return [String]
|
187
|
+
#
|
188
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/DeleteProfilingGroupRequest AWS API Documentation
|
189
|
+
#
|
190
|
+
class DeleteProfilingGroupRequest < Struct.new(
|
191
|
+
:profiling_group_name)
|
192
|
+
include Aws::Structure
|
193
|
+
end
|
194
|
+
|
195
|
+
# Response for DeleteProfilingGroup operation.
|
196
|
+
#
|
197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/DeleteProfilingGroupResponse AWS API Documentation
|
198
|
+
#
|
199
|
+
class DeleteProfilingGroupResponse < Aws::EmptyStructure; end
|
200
|
+
|
201
|
+
# Request for DescribeProfilingGroup operation.
|
202
|
+
#
|
203
|
+
# @note When making an API call, you may pass DescribeProfilingGroupRequest
|
204
|
+
# data as a hash:
|
205
|
+
#
|
206
|
+
# {
|
207
|
+
# profiling_group_name: "ProfilingGroupName", # required
|
208
|
+
# }
|
209
|
+
#
|
210
|
+
# @!attribute [rw] profiling_group_name
|
211
|
+
# The name of the profiling group.
|
212
|
+
# @return [String]
|
213
|
+
#
|
214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/DescribeProfilingGroupRequest AWS API Documentation
|
215
|
+
#
|
216
|
+
class DescribeProfilingGroupRequest < Struct.new(
|
217
|
+
:profiling_group_name)
|
218
|
+
include Aws::Structure
|
219
|
+
end
|
220
|
+
|
221
|
+
# Response for DescribeProfilingGroup operation.
|
222
|
+
#
|
223
|
+
# @!attribute [rw] profiling_group
|
224
|
+
# The description of a profiling group.
|
225
|
+
# @return [Types::ProfilingGroupDescription]
|
226
|
+
#
|
227
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/DescribeProfilingGroupResponse AWS API Documentation
|
228
|
+
#
|
229
|
+
class DescribeProfilingGroupResponse < Struct.new(
|
230
|
+
:profiling_group)
|
231
|
+
include Aws::Structure
|
232
|
+
end
|
233
|
+
|
234
|
+
# Request for GetProfile operation.
|
235
|
+
#
|
236
|
+
# @note When making an API call, you may pass GetProfileRequest
|
237
|
+
# data as a hash:
|
238
|
+
#
|
239
|
+
# {
|
240
|
+
# accept: "String",
|
241
|
+
# end_time: Time.now,
|
242
|
+
# max_depth: 1,
|
243
|
+
# period: "Period",
|
244
|
+
# profiling_group_name: "ProfilingGroupName", # required
|
245
|
+
# start_time: Time.now,
|
246
|
+
# }
|
247
|
+
#
|
248
|
+
# @!attribute [rw] accept
|
249
|
+
# The format of the profile to return. Supports application/json or
|
250
|
+
# application/x-amzn-ion. Defaults to application/x-amzn-ion.
|
251
|
+
# @return [String]
|
252
|
+
#
|
253
|
+
# @!attribute [rw] end_time
|
254
|
+
# The end time of the profile to get. Either period or endTime must be
|
255
|
+
# specified. Must be greater than start and the overall time range to
|
256
|
+
# be in the past and not larger than a week.
|
257
|
+
# @return [Time]
|
258
|
+
#
|
259
|
+
# @!attribute [rw] max_depth
|
260
|
+
# Limit the max depth of the profile.
|
261
|
+
# @return [Integer]
|
262
|
+
#
|
263
|
+
# @!attribute [rw] period
|
264
|
+
# The period of the profile to get. Exactly two of `startTime`,
|
265
|
+
# `period` and `endTime` must be specified. Must be positive and the
|
266
|
+
# overall time range to be in the past and not larger than a week.
|
267
|
+
# @return [String]
|
268
|
+
#
|
269
|
+
# @!attribute [rw] profiling_group_name
|
270
|
+
# The name of the profiling group.
|
271
|
+
# @return [String]
|
272
|
+
#
|
273
|
+
# @!attribute [rw] start_time
|
274
|
+
# The start time of the profile to get.
|
275
|
+
# @return [Time]
|
276
|
+
#
|
277
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetProfileRequest AWS API Documentation
|
278
|
+
#
|
279
|
+
class GetProfileRequest < Struct.new(
|
280
|
+
:accept,
|
281
|
+
:end_time,
|
282
|
+
:max_depth,
|
283
|
+
:period,
|
284
|
+
:profiling_group_name,
|
285
|
+
:start_time)
|
286
|
+
include Aws::Structure
|
287
|
+
end
|
288
|
+
|
289
|
+
# Response for GetProfile operation.
|
290
|
+
#
|
291
|
+
# @!attribute [rw] content_encoding
|
292
|
+
# The content encoding of the profile in the payload.
|
293
|
+
# @return [String]
|
294
|
+
#
|
295
|
+
# @!attribute [rw] content_type
|
296
|
+
# The content type of the profile in the payload. Will be
|
297
|
+
# application/json or application/x-amzn-ion based on Accept header in
|
298
|
+
# the request.
|
299
|
+
# @return [String]
|
300
|
+
#
|
301
|
+
# @!attribute [rw] profile
|
302
|
+
# The profile representing the aggregation of agent profiles of the
|
303
|
+
# profiling group for a time range.
|
304
|
+
# @return [String]
|
305
|
+
#
|
306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetProfileResponse AWS API Documentation
|
307
|
+
#
|
308
|
+
class GetProfileResponse < Struct.new(
|
309
|
+
:content_encoding,
|
310
|
+
:content_type,
|
311
|
+
:profile)
|
312
|
+
include Aws::Structure
|
313
|
+
end
|
314
|
+
|
315
|
+
# Unexpected error during processing of request.
|
316
|
+
#
|
317
|
+
# @!attribute [rw] message
|
318
|
+
# @return [String]
|
319
|
+
#
|
320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/InternalServerException AWS API Documentation
|
321
|
+
#
|
322
|
+
class InternalServerException < Struct.new(
|
323
|
+
:message)
|
324
|
+
include Aws::Structure
|
325
|
+
end
|
326
|
+
|
327
|
+
# Request for ListProfileTimes operation.
|
328
|
+
#
|
329
|
+
# @note When making an API call, you may pass ListProfileTimesRequest
|
330
|
+
# data as a hash:
|
331
|
+
#
|
332
|
+
# {
|
333
|
+
# end_time: Time.now, # required
|
334
|
+
# max_results: 1,
|
335
|
+
# next_token: "PaginationToken",
|
336
|
+
# order_by: "TimestampAscending", # accepts TimestampAscending, TimestampDescending
|
337
|
+
# period: "P1D", # required, accepts P1D, PT1H, PT5M
|
338
|
+
# profiling_group_name: "ProfilingGroupName", # required
|
339
|
+
# start_time: Time.now, # required
|
340
|
+
# }
|
341
|
+
#
|
342
|
+
# @!attribute [rw] end_time
|
343
|
+
# The end time of the time range to list profiles until.
|
344
|
+
# @return [Time]
|
345
|
+
#
|
346
|
+
# @!attribute [rw] max_results
|
347
|
+
# Upper bound on the number of results to list in a single call.
|
348
|
+
# @return [Integer]
|
349
|
+
#
|
350
|
+
# @!attribute [rw] next_token
|
351
|
+
# Token for paginating results.
|
352
|
+
# @return [String]
|
353
|
+
#
|
354
|
+
# @!attribute [rw] order_by
|
355
|
+
# The order (ascending or descending by start time of the profile) to
|
356
|
+
# list the profiles by. Defaults to TIMESTAMP\_DESCENDING.
|
357
|
+
# @return [String]
|
358
|
+
#
|
359
|
+
# @!attribute [rw] period
|
360
|
+
# The aggregation period to list the profiles for.
|
361
|
+
# @return [String]
|
362
|
+
#
|
363
|
+
# @!attribute [rw] profiling_group_name
|
364
|
+
# The name of the profiling group.
|
365
|
+
# @return [String]
|
366
|
+
#
|
367
|
+
# @!attribute [rw] start_time
|
368
|
+
# The start time of the time range to list the profiles from.
|
369
|
+
# @return [Time]
|
370
|
+
#
|
371
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListProfileTimesRequest AWS API Documentation
|
372
|
+
#
|
373
|
+
class ListProfileTimesRequest < Struct.new(
|
374
|
+
:end_time,
|
375
|
+
:max_results,
|
376
|
+
:next_token,
|
377
|
+
:order_by,
|
378
|
+
:period,
|
379
|
+
:profiling_group_name,
|
380
|
+
:start_time)
|
381
|
+
include Aws::Structure
|
382
|
+
end
|
383
|
+
|
384
|
+
# Response for ListProfileTimes operation.
|
385
|
+
#
|
386
|
+
# @!attribute [rw] next_token
|
387
|
+
# Token for paginating results.
|
388
|
+
# @return [String]
|
389
|
+
#
|
390
|
+
# @!attribute [rw] profile_times
|
391
|
+
# List of start times of the available profiles for the aggregation
|
392
|
+
# period in the specified time range.
|
393
|
+
# @return [Array<Types::ProfileTime>]
|
394
|
+
#
|
395
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListProfileTimesResponse AWS API Documentation
|
396
|
+
#
|
397
|
+
class ListProfileTimesResponse < Struct.new(
|
398
|
+
:next_token,
|
399
|
+
:profile_times)
|
400
|
+
include Aws::Structure
|
401
|
+
end
|
402
|
+
|
403
|
+
# Request for ListProfilingGroups operation.
|
404
|
+
#
|
405
|
+
# @note When making an API call, you may pass ListProfilingGroupsRequest
|
406
|
+
# data as a hash:
|
407
|
+
#
|
408
|
+
# {
|
409
|
+
# include_description: false,
|
410
|
+
# max_results: 1,
|
411
|
+
# next_token: "PaginationToken",
|
412
|
+
# }
|
413
|
+
#
|
414
|
+
# @!attribute [rw] include_description
|
415
|
+
# If set to true, returns the full description of the profiling groups
|
416
|
+
# instead of the names. Defaults to false.
|
417
|
+
# @return [Boolean]
|
418
|
+
#
|
419
|
+
# @!attribute [rw] max_results
|
420
|
+
# Upper bound on the number of results to list in a single call.
|
421
|
+
# @return [Integer]
|
422
|
+
#
|
423
|
+
# @!attribute [rw] next_token
|
424
|
+
# Token for paginating results.
|
425
|
+
# @return [String]
|
426
|
+
#
|
427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListProfilingGroupsRequest AWS API Documentation
|
428
|
+
#
|
429
|
+
class ListProfilingGroupsRequest < Struct.new(
|
430
|
+
:include_description,
|
431
|
+
:max_results,
|
432
|
+
:next_token)
|
433
|
+
include Aws::Structure
|
434
|
+
end
|
435
|
+
|
436
|
+
# Response for ListProfilingGroups operation.
|
437
|
+
#
|
438
|
+
# @!attribute [rw] next_token
|
439
|
+
# Token for paginating results.
|
440
|
+
# @return [String]
|
441
|
+
#
|
442
|
+
# @!attribute [rw] profiling_group_names
|
443
|
+
# List of profiling group names.
|
444
|
+
# @return [Array<String>]
|
445
|
+
#
|
446
|
+
# @!attribute [rw] profiling_groups
|
447
|
+
# List of profiling group descriptions.
|
448
|
+
# @return [Array<Types::ProfilingGroupDescription>]
|
449
|
+
#
|
450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListProfilingGroupsResponse AWS API Documentation
|
451
|
+
#
|
452
|
+
class ListProfilingGroupsResponse < Struct.new(
|
453
|
+
:next_token,
|
454
|
+
:profiling_group_names,
|
455
|
+
:profiling_groups)
|
456
|
+
include Aws::Structure
|
457
|
+
end
|
458
|
+
|
459
|
+
# Request for PostAgentProfile operation.
|
460
|
+
#
|
461
|
+
# @note When making an API call, you may pass PostAgentProfileRequest
|
462
|
+
# data as a hash:
|
463
|
+
#
|
464
|
+
# {
|
465
|
+
# agent_profile: "data", # required
|
466
|
+
# content_type: "String", # required
|
467
|
+
# profile_token: "ClientToken",
|
468
|
+
# profiling_group_name: "ProfilingGroupName", # required
|
469
|
+
# }
|
470
|
+
#
|
471
|
+
# @!attribute [rw] agent_profile
|
472
|
+
# The profile collected by an agent for a time range.
|
473
|
+
# @return [String]
|
474
|
+
#
|
475
|
+
# @!attribute [rw] content_type
|
476
|
+
# The content type of the agent profile in the payload. Recommended to
|
477
|
+
# send the profile gzipped with content-type application/octet-stream.
|
478
|
+
# Other accepted values are application/x-amzn-ion and
|
479
|
+
# application/json for unzipped Ion and JSON respectively.
|
480
|
+
# @return [String]
|
481
|
+
#
|
482
|
+
# @!attribute [rw] profile_token
|
483
|
+
# Client generated token to deduplicate the agent profile during
|
484
|
+
# aggregation.
|
485
|
+
#
|
486
|
+
# **A suitable default value is auto-generated.** You should normally
|
487
|
+
# not need to pass this option.
|
488
|
+
# @return [String]
|
489
|
+
#
|
490
|
+
# @!attribute [rw] profiling_group_name
|
491
|
+
# The name of the profiling group.
|
492
|
+
# @return [String]
|
493
|
+
#
|
494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/PostAgentProfileRequest AWS API Documentation
|
495
|
+
#
|
496
|
+
class PostAgentProfileRequest < Struct.new(
|
497
|
+
:agent_profile,
|
498
|
+
:content_type,
|
499
|
+
:profile_token,
|
500
|
+
:profiling_group_name)
|
501
|
+
include Aws::Structure
|
502
|
+
end
|
503
|
+
|
504
|
+
# Response for PostAgentProfile operation.
|
505
|
+
#
|
506
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/PostAgentProfileResponse AWS API Documentation
|
507
|
+
#
|
508
|
+
class PostAgentProfileResponse < Aws::EmptyStructure; end
|
509
|
+
|
510
|
+
# Periods of time used for aggregation of profiles, represented using
|
511
|
+
# ISO 8601 format.
|
512
|
+
#
|
513
|
+
# @!attribute [rw] start
|
514
|
+
# The start time of the profile.
|
515
|
+
# @return [Time]
|
516
|
+
#
|
517
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ProfileTime AWS API Documentation
|
518
|
+
#
|
519
|
+
class ProfileTime < Struct.new(
|
520
|
+
:start)
|
521
|
+
include Aws::Structure
|
522
|
+
end
|
523
|
+
|
524
|
+
# The description of a profiling group.
|
525
|
+
#
|
526
|
+
# @!attribute [rw] agent_orchestration_config
|
527
|
+
# Configuration to orchestrate agents to create and report agent
|
528
|
+
# profiles of the profiling group. Agents are orchestrated if they
|
529
|
+
# follow the agent orchestration protocol.
|
530
|
+
# @return [Types::AgentOrchestrationConfig]
|
531
|
+
#
|
532
|
+
# @!attribute [rw] arn
|
533
|
+
# The ARN of the profiling group.
|
534
|
+
# @return [String]
|
535
|
+
#
|
536
|
+
# @!attribute [rw] created_at
|
537
|
+
# The timestamp of when the profiling group was created.
|
538
|
+
# @return [Time]
|
539
|
+
#
|
540
|
+
# @!attribute [rw] name
|
541
|
+
# The name of the profiling group.
|
542
|
+
# @return [String]
|
543
|
+
#
|
544
|
+
# @!attribute [rw] profiling_status
|
545
|
+
# The status of profiling of a profiling group.
|
546
|
+
# @return [Types::ProfilingStatus]
|
547
|
+
#
|
548
|
+
# @!attribute [rw] updated_at
|
549
|
+
# The timestamp of when the profiling group was last updated.
|
550
|
+
# @return [Time]
|
551
|
+
#
|
552
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ProfilingGroupDescription AWS API Documentation
|
553
|
+
#
|
554
|
+
class ProfilingGroupDescription < Struct.new(
|
555
|
+
:agent_orchestration_config,
|
556
|
+
:arn,
|
557
|
+
:created_at,
|
558
|
+
:name,
|
559
|
+
:profiling_status,
|
560
|
+
:updated_at)
|
561
|
+
include Aws::Structure
|
562
|
+
end
|
563
|
+
|
564
|
+
# The status of profiling of a profiling group.
|
565
|
+
#
|
566
|
+
# @!attribute [rw] latest_agent_orchestrated_at
|
567
|
+
# Timestamp of when the last interaction of the agent with
|
568
|
+
# configureAgent API for orchestration.
|
569
|
+
# @return [Time]
|
570
|
+
#
|
571
|
+
# @!attribute [rw] latest_agent_profile_reported_at
|
572
|
+
# Timestamp of when the latest agent profile was successfully
|
573
|
+
# reported.
|
574
|
+
# @return [Time]
|
575
|
+
#
|
576
|
+
# @!attribute [rw] latest_aggregated_profile
|
577
|
+
# The time range of latest aggregated profile available.
|
578
|
+
# @return [Types::AggregatedProfileTime]
|
579
|
+
#
|
580
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ProfilingStatus AWS API Documentation
|
581
|
+
#
|
582
|
+
class ProfilingStatus < Struct.new(
|
583
|
+
:latest_agent_orchestrated_at,
|
584
|
+
:latest_agent_profile_reported_at,
|
585
|
+
:latest_aggregated_profile)
|
586
|
+
include Aws::Structure
|
587
|
+
end
|
588
|
+
|
589
|
+
# Request references a resource which does not exist.
|
590
|
+
#
|
591
|
+
# @!attribute [rw] message
|
592
|
+
# @return [String]
|
593
|
+
#
|
594
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ResourceNotFoundException AWS API Documentation
|
595
|
+
#
|
596
|
+
class ResourceNotFoundException < Struct.new(
|
597
|
+
:message)
|
598
|
+
include Aws::Structure
|
599
|
+
end
|
600
|
+
|
601
|
+
# Request would cause a service quota to be exceeded.
|
602
|
+
#
|
603
|
+
# @!attribute [rw] message
|
604
|
+
# @return [String]
|
605
|
+
#
|
606
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ServiceQuotaExceededException AWS API Documentation
|
607
|
+
#
|
608
|
+
class ServiceQuotaExceededException < Struct.new(
|
609
|
+
:message)
|
610
|
+
include Aws::Structure
|
611
|
+
end
|
612
|
+
|
613
|
+
# Request was denied due to request throttling.
|
614
|
+
#
|
615
|
+
# @!attribute [rw] message
|
616
|
+
# @return [String]
|
617
|
+
#
|
618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ThrottlingException AWS API Documentation
|
619
|
+
#
|
620
|
+
class ThrottlingException < Struct.new(
|
621
|
+
:message)
|
622
|
+
include Aws::Structure
|
623
|
+
end
|
624
|
+
|
625
|
+
# Request for UpdateProfilingGroup operation.
|
626
|
+
#
|
627
|
+
# @note When making an API call, you may pass UpdateProfilingGroupRequest
|
628
|
+
# data as a hash:
|
629
|
+
#
|
630
|
+
# {
|
631
|
+
# agent_orchestration_config: { # required
|
632
|
+
# profiling_enabled: false, # required
|
633
|
+
# },
|
634
|
+
# profiling_group_name: "ProfilingGroupName", # required
|
635
|
+
# }
|
636
|
+
#
|
637
|
+
# @!attribute [rw] agent_orchestration_config
|
638
|
+
# Remote configuration to configure the agents of the profiling group.
|
639
|
+
# @return [Types::AgentOrchestrationConfig]
|
640
|
+
#
|
641
|
+
# @!attribute [rw] profiling_group_name
|
642
|
+
# The name of the profiling group.
|
643
|
+
# @return [String]
|
644
|
+
#
|
645
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UpdateProfilingGroupRequest AWS API Documentation
|
646
|
+
#
|
647
|
+
class UpdateProfilingGroupRequest < Struct.new(
|
648
|
+
:agent_orchestration_config,
|
649
|
+
:profiling_group_name)
|
650
|
+
include Aws::Structure
|
651
|
+
end
|
652
|
+
|
653
|
+
# Response for UpdateProfilingGroup operation.
|
654
|
+
#
|
655
|
+
# @!attribute [rw] profiling_group
|
656
|
+
# The description of a profiling group.
|
657
|
+
# @return [Types::ProfilingGroupDescription]
|
658
|
+
#
|
659
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UpdateProfilingGroupResponse AWS API Documentation
|
660
|
+
#
|
661
|
+
class UpdateProfilingGroupResponse < Struct.new(
|
662
|
+
:profiling_group)
|
663
|
+
include Aws::Structure
|
664
|
+
end
|
665
|
+
|
666
|
+
# The input fails to satisfy the constraints of the API.
|
667
|
+
#
|
668
|
+
# @!attribute [rw] message
|
669
|
+
# @return [String]
|
670
|
+
#
|
671
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ValidationException AWS API Documentation
|
672
|
+
#
|
673
|
+
class ValidationException < Struct.new(
|
674
|
+
:message)
|
675
|
+
include Aws::Structure
|
676
|
+
end
|
677
|
+
|
678
|
+
end
|
679
|
+
end
|