aws-sdk-codeguruprofiler 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,14 +14,30 @@ module Aws::CodeGuruProfiler
14
14
  include Seahorse::Model
15
15
 
16
16
  ActionGroup = Shapes::StringShape.new(name: 'ActionGroup')
17
+ AddNotificationChannelsRequest = Shapes::StructureShape.new(name: 'AddNotificationChannelsRequest')
18
+ AddNotificationChannelsResponse = Shapes::StructureShape.new(name: 'AddNotificationChannelsResponse')
17
19
  AgentConfiguration = Shapes::StructureShape.new(name: 'AgentConfiguration')
18
20
  AgentOrchestrationConfig = Shapes::StructureShape.new(name: 'AgentOrchestrationConfig')
21
+ AgentParameterField = Shapes::StringShape.new(name: 'AgentParameterField')
22
+ AgentParameters = Shapes::MapShape.new(name: 'AgentParameters')
19
23
  AgentProfile = Shapes::BlobShape.new(name: 'AgentProfile')
20
24
  AggregatedProfile = Shapes::BlobShape.new(name: 'AggregatedProfile')
21
25
  AggregatedProfileTime = Shapes::StructureShape.new(name: 'AggregatedProfileTime')
22
26
  AggregationPeriod = Shapes::StringShape.new(name: 'AggregationPeriod')
27
+ Anomalies = Shapes::ListShape.new(name: 'Anomalies')
28
+ Anomaly = Shapes::StructureShape.new(name: 'Anomaly')
29
+ AnomalyInstance = Shapes::StructureShape.new(name: 'AnomalyInstance')
30
+ AnomalyInstanceId = Shapes::StringShape.new(name: 'AnomalyInstanceId')
31
+ AnomalyInstances = Shapes::ListShape.new(name: 'AnomalyInstances')
32
+ BatchGetFrameMetricDataRequest = Shapes::StructureShape.new(name: 'BatchGetFrameMetricDataRequest')
33
+ BatchGetFrameMetricDataResponse = Shapes::StructureShape.new(name: 'BatchGetFrameMetricDataResponse')
23
34
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
35
+ Channel = Shapes::StructureShape.new(name: 'Channel')
36
+ ChannelId = Shapes::StringShape.new(name: 'ChannelId')
37
+ ChannelUri = Shapes::StringShape.new(name: 'ChannelUri')
38
+ Channels = Shapes::ListShape.new(name: 'Channels')
24
39
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
40
+ ComputePlatform = Shapes::StringShape.new(name: 'ComputePlatform')
25
41
  ConfigureAgentRequest = Shapes::StructureShape.new(name: 'ConfigureAgentRequest')
26
42
  ConfigureAgentResponse = Shapes::StructureShape.new(name: 'ConfigureAgentResponse')
27
43
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -31,21 +47,52 @@ module Aws::CodeGuruProfiler
31
47
  DeleteProfilingGroupResponse = Shapes::StructureShape.new(name: 'DeleteProfilingGroupResponse')
32
48
  DescribeProfilingGroupRequest = Shapes::StructureShape.new(name: 'DescribeProfilingGroupRequest')
33
49
  DescribeProfilingGroupResponse = Shapes::StructureShape.new(name: 'DescribeProfilingGroupResponse')
50
+ Double = Shapes::FloatShape.new(name: 'Double')
51
+ EventPublisher = Shapes::StringShape.new(name: 'EventPublisher')
52
+ EventPublishers = Shapes::ListShape.new(name: 'EventPublishers')
53
+ FeedbackType = Shapes::StringShape.new(name: 'FeedbackType')
54
+ FindingsReportId = Shapes::StringShape.new(name: 'FindingsReportId')
55
+ FindingsReportSummaries = Shapes::ListShape.new(name: 'FindingsReportSummaries')
56
+ FindingsReportSummary = Shapes::StructureShape.new(name: 'FindingsReportSummary')
34
57
  FleetInstanceId = Shapes::StringShape.new(name: 'FleetInstanceId')
58
+ FrameMetric = Shapes::StructureShape.new(name: 'FrameMetric')
59
+ FrameMetricData = Shapes::ListShape.new(name: 'FrameMetricData')
60
+ FrameMetricDatum = Shapes::StructureShape.new(name: 'FrameMetricDatum')
61
+ FrameMetricValues = Shapes::ListShape.new(name: 'FrameMetricValues')
62
+ FrameMetrics = Shapes::ListShape.new(name: 'FrameMetrics')
63
+ GetFindingsReportAccountSummaryRequest = Shapes::StructureShape.new(name: 'GetFindingsReportAccountSummaryRequest')
64
+ GetFindingsReportAccountSummaryResponse = Shapes::StructureShape.new(name: 'GetFindingsReportAccountSummaryResponse')
65
+ GetNotificationConfigurationRequest = Shapes::StructureShape.new(name: 'GetNotificationConfigurationRequest')
66
+ GetNotificationConfigurationResponse = Shapes::StructureShape.new(name: 'GetNotificationConfigurationResponse')
35
67
  GetPolicyRequest = Shapes::StructureShape.new(name: 'GetPolicyRequest')
36
68
  GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
37
69
  GetProfileRequest = Shapes::StructureShape.new(name: 'GetProfileRequest')
38
70
  GetProfileResponse = Shapes::StructureShape.new(name: 'GetProfileResponse')
71
+ GetRecommendationsRequest = Shapes::StructureShape.new(name: 'GetRecommendationsRequest')
72
+ GetRecommendationsResponse = Shapes::StructureShape.new(name: 'GetRecommendationsResponse')
39
73
  Integer = Shapes::IntegerShape.new(name: 'Integer')
40
74
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
75
+ ListFindingsReportsRequest = Shapes::StructureShape.new(name: 'ListFindingsReportsRequest')
76
+ ListFindingsReportsResponse = Shapes::StructureShape.new(name: 'ListFindingsReportsResponse')
77
+ ListOfTimestamps = Shapes::ListShape.new(name: 'ListOfTimestamps')
41
78
  ListProfileTimesRequest = Shapes::StructureShape.new(name: 'ListProfileTimesRequest')
42
79
  ListProfileTimesResponse = Shapes::StructureShape.new(name: 'ListProfileTimesResponse')
43
80
  ListProfilingGroupsRequest = Shapes::StructureShape.new(name: 'ListProfilingGroupsRequest')
44
81
  ListProfilingGroupsResponse = Shapes::StructureShape.new(name: 'ListProfilingGroupsResponse')
82
+ Locale = Shapes::StringShape.new(name: 'Locale')
83
+ Match = Shapes::StructureShape.new(name: 'Match')
84
+ Matches = Shapes::ListShape.new(name: 'Matches')
45
85
  MaxDepth = Shapes::IntegerShape.new(name: 'MaxDepth')
46
86
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
87
+ Metadata = Shapes::MapShape.new(name: 'Metadata')
88
+ MetadataField = Shapes::StringShape.new(name: 'MetadataField')
89
+ Metric = Shapes::StructureShape.new(name: 'Metric')
90
+ MetricType = Shapes::StringShape.new(name: 'MetricType')
91
+ NotificationConfiguration = Shapes::StructureShape.new(name: 'NotificationConfiguration')
47
92
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
48
93
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
94
+ Pattern = Shapes::StructureShape.new(name: 'Pattern')
95
+ Percentage = Shapes::FloatShape.new(name: 'Percentage')
49
96
  Period = Shapes::StringShape.new(name: 'Period')
50
97
  PostAgentProfileRequest = Shapes::StructureShape.new(name: 'PostAgentProfileRequest')
51
98
  PostAgentProfileResponse = Shapes::StructureShape.new(name: 'PostAgentProfileResponse')
@@ -61,18 +108,39 @@ module Aws::CodeGuruProfiler
61
108
  ProfilingStatus = Shapes::StructureShape.new(name: 'ProfilingStatus')
62
109
  PutPermissionRequest = Shapes::StructureShape.new(name: 'PutPermissionRequest')
63
110
  PutPermissionResponse = Shapes::StructureShape.new(name: 'PutPermissionResponse')
111
+ Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
112
+ Recommendations = Shapes::ListShape.new(name: 'Recommendations')
113
+ RemoveNotificationChannelRequest = Shapes::StructureShape.new(name: 'RemoveNotificationChannelRequest')
114
+ RemoveNotificationChannelResponse = Shapes::StructureShape.new(name: 'RemoveNotificationChannelResponse')
64
115
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
65
116
  RemovePermissionResponse = Shapes::StructureShape.new(name: 'RemovePermissionResponse')
66
117
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
67
118
  RevisionId = Shapes::StringShape.new(name: 'RevisionId')
68
119
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
69
120
  String = Shapes::StringShape.new(name: 'String')
121
+ Strings = Shapes::ListShape.new(name: 'Strings')
122
+ SubmitFeedbackRequest = Shapes::StructureShape.new(name: 'SubmitFeedbackRequest')
123
+ SubmitFeedbackResponse = Shapes::StructureShape.new(name: 'SubmitFeedbackResponse')
124
+ TargetFrame = Shapes::ListShape.new(name: 'TargetFrame')
125
+ TargetFrames = Shapes::ListShape.new(name: 'TargetFrames')
126
+ ThreadStates = Shapes::ListShape.new(name: 'ThreadStates')
70
127
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
71
128
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
129
+ TimestampStructure = Shapes::StructureShape.new(name: 'TimestampStructure')
130
+ UnprocessedEndTimeMap = Shapes::MapShape.new(name: 'UnprocessedEndTimeMap')
72
131
  UpdateProfilingGroupRequest = Shapes::StructureShape.new(name: 'UpdateProfilingGroupRequest')
73
132
  UpdateProfilingGroupResponse = Shapes::StructureShape.new(name: 'UpdateProfilingGroupResponse')
133
+ UserFeedback = Shapes::StructureShape.new(name: 'UserFeedback')
74
134
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
75
135
 
136
+ AddNotificationChannelsRequest.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, required: true, location_name: "channels"))
137
+ AddNotificationChannelsRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
138
+ AddNotificationChannelsRequest.struct_class = Types::AddNotificationChannelsRequest
139
+
140
+ AddNotificationChannelsResponse.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, location_name: "notificationConfiguration"))
141
+ AddNotificationChannelsResponse.struct_class = Types::AddNotificationChannelsResponse
142
+
143
+ AgentConfiguration.add_member(:agent_parameters, Shapes::ShapeRef.new(shape: AgentParameters, location_name: "agentParameters"))
76
144
  AgentConfiguration.add_member(:period_in_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "periodInSeconds"))
77
145
  AgentConfiguration.add_member(:should_profile, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "shouldProfile"))
78
146
  AgentConfiguration.struct_class = Types::AgentConfiguration
@@ -80,11 +148,53 @@ module Aws::CodeGuruProfiler
80
148
  AgentOrchestrationConfig.add_member(:profiling_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "profilingEnabled"))
81
149
  AgentOrchestrationConfig.struct_class = Types::AgentOrchestrationConfig
82
150
 
151
+ AgentParameters.key = Shapes::ShapeRef.new(shape: AgentParameterField)
152
+ AgentParameters.value = Shapes::ShapeRef.new(shape: String)
153
+
83
154
  AggregatedProfileTime.add_member(:period, Shapes::ShapeRef.new(shape: AggregationPeriod, location_name: "period"))
84
155
  AggregatedProfileTime.add_member(:start, Shapes::ShapeRef.new(shape: Timestamp, location_name: "start"))
85
156
  AggregatedProfileTime.struct_class = Types::AggregatedProfileTime
86
157
 
158
+ Anomalies.member = Shapes::ShapeRef.new(shape: Anomaly)
159
+
160
+ Anomaly.add_member(:instances, Shapes::ShapeRef.new(shape: AnomalyInstances, required: true, location_name: "instances"))
161
+ Anomaly.add_member(:metric, Shapes::ShapeRef.new(shape: Metric, required: true, location_name: "metric"))
162
+ Anomaly.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
163
+ Anomaly.struct_class = Types::Anomaly
164
+
165
+ AnomalyInstance.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
166
+ AnomalyInstance.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
167
+ AnomalyInstance.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
168
+ AnomalyInstance.add_member(:user_feedback, Shapes::ShapeRef.new(shape: UserFeedback, location_name: "userFeedback"))
169
+ AnomalyInstance.struct_class = Types::AnomalyInstance
170
+
171
+ AnomalyInstances.member = Shapes::ShapeRef.new(shape: AnomalyInstance)
172
+
173
+ BatchGetFrameMetricDataRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "endTime"))
174
+ BatchGetFrameMetricDataRequest.add_member(:frame_metrics, Shapes::ShapeRef.new(shape: FrameMetrics, location_name: "frameMetrics"))
175
+ BatchGetFrameMetricDataRequest.add_member(:period, Shapes::ShapeRef.new(shape: Period, location: "querystring", location_name: "period"))
176
+ BatchGetFrameMetricDataRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
177
+ BatchGetFrameMetricDataRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "startTime"))
178
+ BatchGetFrameMetricDataRequest.add_member(:target_resolution, Shapes::ShapeRef.new(shape: AggregationPeriod, location: "querystring", location_name: "targetResolution"))
179
+ BatchGetFrameMetricDataRequest.struct_class = Types::BatchGetFrameMetricDataRequest
180
+
181
+ BatchGetFrameMetricDataResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "endTime"))
182
+ BatchGetFrameMetricDataResponse.add_member(:end_times, Shapes::ShapeRef.new(shape: ListOfTimestamps, required: true, location_name: "endTimes"))
183
+ BatchGetFrameMetricDataResponse.add_member(:frame_metric_data, Shapes::ShapeRef.new(shape: FrameMetricData, required: true, location_name: "frameMetricData"))
184
+ BatchGetFrameMetricDataResponse.add_member(:resolution, Shapes::ShapeRef.new(shape: AggregationPeriod, required: true, location_name: "resolution"))
185
+ BatchGetFrameMetricDataResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
186
+ BatchGetFrameMetricDataResponse.add_member(:unprocessed_end_times, Shapes::ShapeRef.new(shape: UnprocessedEndTimeMap, required: true, location_name: "unprocessedEndTimes"))
187
+ BatchGetFrameMetricDataResponse.struct_class = Types::BatchGetFrameMetricDataResponse
188
+
189
+ Channel.add_member(:event_publishers, Shapes::ShapeRef.new(shape: EventPublishers, required: true, location_name: "eventPublishers"))
190
+ Channel.add_member(:id, Shapes::ShapeRef.new(shape: ChannelId, location_name: "id"))
191
+ Channel.add_member(:uri, Shapes::ShapeRef.new(shape: ChannelUri, required: true, location_name: "uri"))
192
+ Channel.struct_class = Types::Channel
193
+
194
+ Channels.member = Shapes::ShapeRef.new(shape: Channel)
195
+
87
196
  ConfigureAgentRequest.add_member(:fleet_instance_id, Shapes::ShapeRef.new(shape: FleetInstanceId, location_name: "fleetInstanceId"))
197
+ ConfigureAgentRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
88
198
  ConfigureAgentRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
89
199
  ConfigureAgentRequest.struct_class = Types::ConfigureAgentRequest
90
200
 
@@ -98,6 +208,7 @@ module Aws::CodeGuruProfiler
98
208
 
99
209
  CreateProfilingGroupRequest.add_member(:agent_orchestration_config, Shapes::ShapeRef.new(shape: AgentOrchestrationConfig, location_name: "agentOrchestrationConfig"))
100
210
  CreateProfilingGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
211
+ CreateProfilingGroupRequest.add_member(:compute_platform, Shapes::ShapeRef.new(shape: ComputePlatform, location_name: "computePlatform"))
101
212
  CreateProfilingGroupRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location_name: "profilingGroupName"))
102
213
  CreateProfilingGroupRequest.struct_class = Types::CreateProfilingGroupRequest
103
214
 
@@ -119,6 +230,47 @@ module Aws::CodeGuruProfiler
119
230
  DescribeProfilingGroupResponse[:payload] = :profiling_group
120
231
  DescribeProfilingGroupResponse[:payload_member] = DescribeProfilingGroupResponse.member(:profiling_group)
121
232
 
233
+ EventPublishers.member = Shapes::ShapeRef.new(shape: EventPublisher)
234
+
235
+ FindingsReportSummaries.member = Shapes::ShapeRef.new(shape: FindingsReportSummary)
236
+
237
+ FindingsReportSummary.add_member(:id, Shapes::ShapeRef.new(shape: FindingsReportId, location_name: "id"))
238
+ FindingsReportSummary.add_member(:profile_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "profileEndTime"))
239
+ FindingsReportSummary.add_member(:profile_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "profileStartTime"))
240
+ FindingsReportSummary.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: String, location_name: "profilingGroupName"))
241
+ FindingsReportSummary.add_member(:total_number_of_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalNumberOfFindings"))
242
+ FindingsReportSummary.struct_class = Types::FindingsReportSummary
243
+
244
+ FrameMetric.add_member(:frame_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "frameName"))
245
+ FrameMetric.add_member(:thread_states, Shapes::ShapeRef.new(shape: ThreadStates, required: true, location_name: "threadStates"))
246
+ FrameMetric.add_member(:type, Shapes::ShapeRef.new(shape: MetricType, required: true, location_name: "type"))
247
+ FrameMetric.struct_class = Types::FrameMetric
248
+
249
+ FrameMetricData.member = Shapes::ShapeRef.new(shape: FrameMetricDatum)
250
+
251
+ FrameMetricDatum.add_member(:frame_metric, Shapes::ShapeRef.new(shape: FrameMetric, required: true, location_name: "frameMetric"))
252
+ FrameMetricDatum.add_member(:values, Shapes::ShapeRef.new(shape: FrameMetricValues, required: true, location_name: "values"))
253
+ FrameMetricDatum.struct_class = Types::FrameMetricDatum
254
+
255
+ FrameMetricValues.member = Shapes::ShapeRef.new(shape: Double)
256
+
257
+ FrameMetrics.member = Shapes::ShapeRef.new(shape: FrameMetric)
258
+
259
+ GetFindingsReportAccountSummaryRequest.add_member(:daily_reports_only, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "dailyReportsOnly"))
260
+ GetFindingsReportAccountSummaryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
261
+ GetFindingsReportAccountSummaryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
262
+ GetFindingsReportAccountSummaryRequest.struct_class = Types::GetFindingsReportAccountSummaryRequest
263
+
264
+ GetFindingsReportAccountSummaryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
265
+ GetFindingsReportAccountSummaryResponse.add_member(:report_summaries, Shapes::ShapeRef.new(shape: FindingsReportSummaries, required: true, location_name: "reportSummaries"))
266
+ GetFindingsReportAccountSummaryResponse.struct_class = Types::GetFindingsReportAccountSummaryResponse
267
+
268
+ GetNotificationConfigurationRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
269
+ GetNotificationConfigurationRequest.struct_class = Types::GetNotificationConfigurationRequest
270
+
271
+ GetNotificationConfigurationResponse.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, required: true, location_name: "notificationConfiguration"))
272
+ GetNotificationConfigurationResponse.struct_class = Types::GetNotificationConfigurationResponse
273
+
122
274
  GetPolicyRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
123
275
  GetPolicyRequest.struct_class = Types::GetPolicyRequest
124
276
 
@@ -141,9 +293,36 @@ module Aws::CodeGuruProfiler
141
293
  GetProfileResponse[:payload] = :profile
142
294
  GetProfileResponse[:payload_member] = GetProfileResponse.member(:profile)
143
295
 
296
+ GetRecommendationsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "endTime"))
297
+ GetRecommendationsRequest.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, location: "querystring", location_name: "locale"))
298
+ GetRecommendationsRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
299
+ GetRecommendationsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "startTime"))
300
+ GetRecommendationsRequest.struct_class = Types::GetRecommendationsRequest
301
+
302
+ GetRecommendationsResponse.add_member(:anomalies, Shapes::ShapeRef.new(shape: Anomalies, required: true, location_name: "anomalies"))
303
+ GetRecommendationsResponse.add_member(:profile_end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "profileEndTime"))
304
+ GetRecommendationsResponse.add_member(:profile_start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "profileStartTime"))
305
+ GetRecommendationsResponse.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location_name: "profilingGroupName"))
306
+ GetRecommendationsResponse.add_member(:recommendations, Shapes::ShapeRef.new(shape: Recommendations, required: true, location_name: "recommendations"))
307
+ GetRecommendationsResponse.struct_class = Types::GetRecommendationsResponse
308
+
144
309
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
145
310
  InternalServerException.struct_class = Types::InternalServerException
146
311
 
312
+ ListFindingsReportsRequest.add_member(:daily_reports_only, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "dailyReportsOnly"))
313
+ ListFindingsReportsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "endTime"))
314
+ ListFindingsReportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
315
+ ListFindingsReportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
316
+ ListFindingsReportsRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
317
+ ListFindingsReportsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "startTime"))
318
+ ListFindingsReportsRequest.struct_class = Types::ListFindingsReportsRequest
319
+
320
+ ListFindingsReportsResponse.add_member(:findings_report_summaries, Shapes::ShapeRef.new(shape: FindingsReportSummaries, required: true, location_name: "findingsReportSummaries"))
321
+ ListFindingsReportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
322
+ ListFindingsReportsResponse.struct_class = Types::ListFindingsReportsResponse
323
+
324
+ ListOfTimestamps.member = Shapes::ShapeRef.new(shape: TimestampStructure)
325
+
147
326
  ListProfileTimesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "endTime"))
148
327
  ListProfileTimesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
149
328
  ListProfileTimesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
@@ -167,6 +346,33 @@ module Aws::CodeGuruProfiler
167
346
  ListProfilingGroupsResponse.add_member(:profiling_groups, Shapes::ShapeRef.new(shape: ProfilingGroupDescriptions, location_name: "profilingGroups"))
168
347
  ListProfilingGroupsResponse.struct_class = Types::ListProfilingGroupsResponse
169
348
 
349
+ Match.add_member(:frame_address, Shapes::ShapeRef.new(shape: String, location_name: "frameAddress"))
350
+ Match.add_member(:target_frames_index, Shapes::ShapeRef.new(shape: Integer, location_name: "targetFramesIndex"))
351
+ Match.add_member(:threshold_breach_value, Shapes::ShapeRef.new(shape: Double, location_name: "thresholdBreachValue"))
352
+ Match.struct_class = Types::Match
353
+
354
+ Matches.member = Shapes::ShapeRef.new(shape: Match)
355
+
356
+ Metadata.key = Shapes::ShapeRef.new(shape: MetadataField)
357
+ Metadata.value = Shapes::ShapeRef.new(shape: String)
358
+
359
+ Metric.add_member(:frame_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "frameName"))
360
+ Metric.add_member(:thread_states, Shapes::ShapeRef.new(shape: Strings, required: true, location_name: "threadStates"))
361
+ Metric.add_member(:type, Shapes::ShapeRef.new(shape: MetricType, required: true, location_name: "type"))
362
+ Metric.struct_class = Types::Metric
363
+
364
+ NotificationConfiguration.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "channels"))
365
+ NotificationConfiguration.struct_class = Types::NotificationConfiguration
366
+
367
+ Pattern.add_member(:counters_to_aggregate, Shapes::ShapeRef.new(shape: Strings, location_name: "countersToAggregate"))
368
+ Pattern.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
369
+ Pattern.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
370
+ Pattern.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
371
+ Pattern.add_member(:resolution_steps, Shapes::ShapeRef.new(shape: String, location_name: "resolutionSteps"))
372
+ Pattern.add_member(:target_frames, Shapes::ShapeRef.new(shape: TargetFrames, location_name: "targetFrames"))
373
+ Pattern.add_member(:threshold_percent, Shapes::ShapeRef.new(shape: Percentage, location_name: "thresholdPercent"))
374
+ Pattern.struct_class = Types::Pattern
375
+
170
376
  PostAgentProfileRequest.add_member(:agent_profile, Shapes::ShapeRef.new(shape: AgentProfile, required: true, location_name: "agentProfile"))
171
377
  PostAgentProfileRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "Content-Type"))
172
378
  PostAgentProfileRequest.add_member(:profile_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "profileToken", metadata: {"idempotencyToken"=>true}))
@@ -186,6 +392,7 @@ module Aws::CodeGuruProfiler
186
392
 
187
393
  ProfilingGroupDescription.add_member(:agent_orchestration_config, Shapes::ShapeRef.new(shape: AgentOrchestrationConfig, location_name: "agentOrchestrationConfig"))
188
394
  ProfilingGroupDescription.add_member(:arn, Shapes::ShapeRef.new(shape: ProfilingGroupArn, location_name: "arn"))
395
+ ProfilingGroupDescription.add_member(:compute_platform, Shapes::ShapeRef.new(shape: ComputePlatform, location_name: "computePlatform"))
189
396
  ProfilingGroupDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
190
397
  ProfilingGroupDescription.add_member(:name, Shapes::ShapeRef.new(shape: ProfilingGroupName, location_name: "name"))
191
398
  ProfilingGroupDescription.add_member(:profiling_status, Shapes::ShapeRef.new(shape: ProfilingStatus, location_name: "profilingStatus"))
@@ -211,6 +418,23 @@ module Aws::CodeGuruProfiler
211
418
  PutPermissionResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
212
419
  PutPermissionResponse.struct_class = Types::PutPermissionResponse
213
420
 
421
+ Recommendation.add_member(:all_matches_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "allMatchesCount"))
422
+ Recommendation.add_member(:all_matches_sum, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "allMatchesSum"))
423
+ Recommendation.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "endTime"))
424
+ Recommendation.add_member(:pattern, Shapes::ShapeRef.new(shape: Pattern, required: true, location_name: "pattern"))
425
+ Recommendation.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
426
+ Recommendation.add_member(:top_matches, Shapes::ShapeRef.new(shape: Matches, required: true, location_name: "topMatches"))
427
+ Recommendation.struct_class = Types::Recommendation
428
+
429
+ Recommendations.member = Shapes::ShapeRef.new(shape: Recommendation)
430
+
431
+ RemoveNotificationChannelRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, required: true, location: "uri", location_name: "channelId"))
432
+ RemoveNotificationChannelRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
433
+ RemoveNotificationChannelRequest.struct_class = Types::RemoveNotificationChannelRequest
434
+
435
+ RemoveNotificationChannelResponse.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, location_name: "notificationConfiguration"))
436
+ RemoveNotificationChannelResponse.struct_class = Types::RemoveNotificationChannelResponse
437
+
214
438
  RemovePermissionRequest.add_member(:action_group, Shapes::ShapeRef.new(shape: ActionGroup, required: true, location: "uri", location_name: "actionGroup"))
215
439
  RemovePermissionRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
216
440
  RemovePermissionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location: "querystring", location_name: "revisionId"))
@@ -226,9 +450,31 @@ module Aws::CodeGuruProfiler
226
450
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
227
451
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
228
452
 
453
+ Strings.member = Shapes::ShapeRef.new(shape: String)
454
+
455
+ SubmitFeedbackRequest.add_member(:anomaly_instance_id, Shapes::ShapeRef.new(shape: AnomalyInstanceId, required: true, location: "uri", location_name: "anomalyInstanceId"))
456
+ SubmitFeedbackRequest.add_member(:comment, Shapes::ShapeRef.new(shape: String, location_name: "comment"))
457
+ SubmitFeedbackRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
458
+ SubmitFeedbackRequest.add_member(:type, Shapes::ShapeRef.new(shape: FeedbackType, required: true, location_name: "type"))
459
+ SubmitFeedbackRequest.struct_class = Types::SubmitFeedbackRequest
460
+
461
+ SubmitFeedbackResponse.struct_class = Types::SubmitFeedbackResponse
462
+
463
+ TargetFrame.member = Shapes::ShapeRef.new(shape: String)
464
+
465
+ TargetFrames.member = Shapes::ShapeRef.new(shape: TargetFrame)
466
+
467
+ ThreadStates.member = Shapes::ShapeRef.new(shape: String)
468
+
229
469
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
230
470
  ThrottlingException.struct_class = Types::ThrottlingException
231
471
 
472
+ TimestampStructure.add_member(:value, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "value"))
473
+ TimestampStructure.struct_class = Types::TimestampStructure
474
+
475
+ UnprocessedEndTimeMap.key = Shapes::ShapeRef.new(shape: String)
476
+ UnprocessedEndTimeMap.value = Shapes::ShapeRef.new(shape: ListOfTimestamps)
477
+
232
478
  UpdateProfilingGroupRequest.add_member(:agent_orchestration_config, Shapes::ShapeRef.new(shape: AgentOrchestrationConfig, required: true, location_name: "agentOrchestrationConfig"))
233
479
  UpdateProfilingGroupRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
234
480
  UpdateProfilingGroupRequest.struct_class = Types::UpdateProfilingGroupRequest
@@ -238,6 +484,9 @@ module Aws::CodeGuruProfiler
238
484
  UpdateProfilingGroupResponse[:payload] = :profiling_group
239
485
  UpdateProfilingGroupResponse[:payload_member] = UpdateProfilingGroupResponse.member(:profiling_group)
240
486
 
487
+ UserFeedback.add_member(:type, Shapes::ShapeRef.new(shape: FeedbackType, required: true, location_name: "type"))
488
+ UserFeedback.struct_class = Types::UserFeedback
489
+
241
490
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
242
491
  ValidationException.struct_class = Types::ValidationException
243
492
 
@@ -259,6 +508,32 @@ module Aws::CodeGuruProfiler
259
508
  "uid" => "codeguruprofiler-2019-07-18",
260
509
  }
261
510
 
511
+ api.add_operation(:add_notification_channels, Seahorse::Model::Operation.new.tap do |o|
512
+ o.name = "AddNotificationChannels"
513
+ o.http_method = "POST"
514
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/notificationConfiguration"
515
+ o.input = Shapes::ShapeRef.new(shape: AddNotificationChannelsRequest)
516
+ o.output = Shapes::ShapeRef.new(shape: AddNotificationChannelsResponse)
517
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
518
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
519
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
520
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
521
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
522
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
523
+ end)
524
+
525
+ api.add_operation(:batch_get_frame_metric_data, Seahorse::Model::Operation.new.tap do |o|
526
+ o.name = "BatchGetFrameMetricData"
527
+ o.http_method = "POST"
528
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/frames/-/metrics"
529
+ o.input = Shapes::ShapeRef.new(shape: BatchGetFrameMetricDataRequest)
530
+ o.output = Shapes::ShapeRef.new(shape: BatchGetFrameMetricDataResponse)
531
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
532
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
533
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
534
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
535
+ end)
536
+
262
537
  api.add_operation(:configure_agent, Seahorse::Model::Operation.new.tap do |o|
263
538
  o.name = "ConfigureAgent"
264
539
  o.http_method = "POST"
@@ -308,6 +583,35 @@ module Aws::CodeGuruProfiler
308
583
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
309
584
  end)
310
585
 
586
+ api.add_operation(:get_findings_report_account_summary, Seahorse::Model::Operation.new.tap do |o|
587
+ o.name = "GetFindingsReportAccountSummary"
588
+ o.http_method = "GET"
589
+ o.http_request_uri = "/internal/findingsReports"
590
+ o.input = Shapes::ShapeRef.new(shape: GetFindingsReportAccountSummaryRequest)
591
+ o.output = Shapes::ShapeRef.new(shape: GetFindingsReportAccountSummaryResponse)
592
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
593
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
594
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
595
+ o[:pager] = Aws::Pager.new(
596
+ limit_key: "max_results",
597
+ tokens: {
598
+ "next_token" => "next_token"
599
+ }
600
+ )
601
+ end)
602
+
603
+ api.add_operation(:get_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
604
+ o.name = "GetNotificationConfiguration"
605
+ o.http_method = "GET"
606
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/notificationConfiguration"
607
+ o.input = Shapes::ShapeRef.new(shape: GetNotificationConfigurationRequest)
608
+ o.output = Shapes::ShapeRef.new(shape: GetNotificationConfigurationResponse)
609
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
610
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
611
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
612
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
613
+ end)
614
+
311
615
  api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
312
616
  o.name = "GetPolicy"
313
617
  o.http_method = "GET"
@@ -331,6 +635,36 @@ module Aws::CodeGuruProfiler
331
635
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
332
636
  end)
333
637
 
638
+ api.add_operation(:get_recommendations, Seahorse::Model::Operation.new.tap do |o|
639
+ o.name = "GetRecommendations"
640
+ o.http_method = "GET"
641
+ o.http_request_uri = "/internal/profilingGroups/{profilingGroupName}/recommendations"
642
+ o.input = Shapes::ShapeRef.new(shape: GetRecommendationsRequest)
643
+ o.output = Shapes::ShapeRef.new(shape: GetRecommendationsResponse)
644
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
645
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
646
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
647
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
648
+ end)
649
+
650
+ api.add_operation(:list_findings_reports, Seahorse::Model::Operation.new.tap do |o|
651
+ o.name = "ListFindingsReports"
652
+ o.http_method = "GET"
653
+ o.http_request_uri = "/internal/profilingGroups/{profilingGroupName}/findingsReports"
654
+ o.input = Shapes::ShapeRef.new(shape: ListFindingsReportsRequest)
655
+ o.output = Shapes::ShapeRef.new(shape: ListFindingsReportsResponse)
656
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
657
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
658
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
659
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
660
+ o[:pager] = Aws::Pager.new(
661
+ limit_key: "max_results",
662
+ tokens: {
663
+ "next_token" => "next_token"
664
+ }
665
+ )
666
+ end)
667
+
334
668
  api.add_operation(:list_profile_times, Seahorse::Model::Operation.new.tap do |o|
335
669
  o.name = "ListProfileTimes"
336
670
  o.http_method = "GET"
@@ -390,6 +724,18 @@ module Aws::CodeGuruProfiler
390
724
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
391
725
  end)
392
726
 
727
+ api.add_operation(:remove_notification_channel, Seahorse::Model::Operation.new.tap do |o|
728
+ o.name = "RemoveNotificationChannel"
729
+ o.http_method = "DELETE"
730
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/notificationConfiguration/{channelId}"
731
+ o.input = Shapes::ShapeRef.new(shape: RemoveNotificationChannelRequest)
732
+ o.output = Shapes::ShapeRef.new(shape: RemoveNotificationChannelResponse)
733
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
734
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
735
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
736
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
737
+ end)
738
+
393
739
  api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
394
740
  o.name = "RemovePermission"
395
741
  o.http_method = "DELETE"
@@ -403,6 +749,18 @@ module Aws::CodeGuruProfiler
403
749
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
404
750
  end)
405
751
 
752
+ api.add_operation(:submit_feedback, Seahorse::Model::Operation.new.tap do |o|
753
+ o.name = "SubmitFeedback"
754
+ o.http_method = "POST"
755
+ o.http_request_uri = "/internal/profilingGroups/{profilingGroupName}/anomalies/{anomalyInstanceId}/feedback"
756
+ o.input = Shapes::ShapeRef.new(shape: SubmitFeedbackRequest)
757
+ o.output = Shapes::ShapeRef.new(shape: SubmitFeedbackResponse)
758
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
759
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
760
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
761
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
762
+ end)
763
+
406
764
  api.add_operation(:update_profiling_group, Seahorse::Model::Operation.new.tap do |o|
407
765
  o.name = "UpdateProfilingGroup"
408
766
  o.http_method = "PUT"