aws-sdk-codeguruprofiler 1.7.0 → 1.12.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,54 @@ 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
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
83
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
84
+ Locale = Shapes::StringShape.new(name: 'Locale')
85
+ Match = Shapes::StructureShape.new(name: 'Match')
86
+ Matches = Shapes::ListShape.new(name: 'Matches')
45
87
  MaxDepth = Shapes::IntegerShape.new(name: 'MaxDepth')
46
88
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
89
+ Metadata = Shapes::MapShape.new(name: 'Metadata')
90
+ MetadataField = Shapes::StringShape.new(name: 'MetadataField')
91
+ Metric = Shapes::StructureShape.new(name: 'Metric')
92
+ MetricType = Shapes::StringShape.new(name: 'MetricType')
93
+ NotificationConfiguration = Shapes::StructureShape.new(name: 'NotificationConfiguration')
47
94
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
48
95
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
96
+ Pattern = Shapes::StructureShape.new(name: 'Pattern')
97
+ Percentage = Shapes::FloatShape.new(name: 'Percentage')
49
98
  Period = Shapes::StringShape.new(name: 'Period')
50
99
  PostAgentProfileRequest = Shapes::StructureShape.new(name: 'PostAgentProfileRequest')
51
100
  PostAgentProfileResponse = Shapes::StructureShape.new(name: 'PostAgentProfileResponse')
@@ -61,18 +110,45 @@ module Aws::CodeGuruProfiler
61
110
  ProfilingStatus = Shapes::StructureShape.new(name: 'ProfilingStatus')
62
111
  PutPermissionRequest = Shapes::StructureShape.new(name: 'PutPermissionRequest')
63
112
  PutPermissionResponse = Shapes::StructureShape.new(name: 'PutPermissionResponse')
113
+ Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
114
+ Recommendations = Shapes::ListShape.new(name: 'Recommendations')
115
+ RemoveNotificationChannelRequest = Shapes::StructureShape.new(name: 'RemoveNotificationChannelRequest')
116
+ RemoveNotificationChannelResponse = Shapes::StructureShape.new(name: 'RemoveNotificationChannelResponse')
64
117
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
65
118
  RemovePermissionResponse = Shapes::StructureShape.new(name: 'RemovePermissionResponse')
66
119
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
67
120
  RevisionId = Shapes::StringShape.new(name: 'RevisionId')
68
121
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
69
122
  String = Shapes::StringShape.new(name: 'String')
123
+ Strings = Shapes::ListShape.new(name: 'Strings')
124
+ SubmitFeedbackRequest = Shapes::StructureShape.new(name: 'SubmitFeedbackRequest')
125
+ SubmitFeedbackResponse = Shapes::StructureShape.new(name: 'SubmitFeedbackResponse')
126
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
127
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
128
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
129
+ TagsMap = Shapes::MapShape.new(name: 'TagsMap')
130
+ TargetFrame = Shapes::ListShape.new(name: 'TargetFrame')
131
+ TargetFrames = Shapes::ListShape.new(name: 'TargetFrames')
132
+ ThreadStates = Shapes::ListShape.new(name: 'ThreadStates')
70
133
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
71
134
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
135
+ TimestampStructure = Shapes::StructureShape.new(name: 'TimestampStructure')
136
+ UnprocessedEndTimeMap = Shapes::MapShape.new(name: 'UnprocessedEndTimeMap')
137
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
138
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
72
139
  UpdateProfilingGroupRequest = Shapes::StructureShape.new(name: 'UpdateProfilingGroupRequest')
73
140
  UpdateProfilingGroupResponse = Shapes::StructureShape.new(name: 'UpdateProfilingGroupResponse')
141
+ UserFeedback = Shapes::StructureShape.new(name: 'UserFeedback')
74
142
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
75
143
 
144
+ AddNotificationChannelsRequest.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, required: true, location_name: "channels"))
145
+ AddNotificationChannelsRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
146
+ AddNotificationChannelsRequest.struct_class = Types::AddNotificationChannelsRequest
147
+
148
+ AddNotificationChannelsResponse.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, location_name: "notificationConfiguration"))
149
+ AddNotificationChannelsResponse.struct_class = Types::AddNotificationChannelsResponse
150
+
151
+ AgentConfiguration.add_member(:agent_parameters, Shapes::ShapeRef.new(shape: AgentParameters, location_name: "agentParameters"))
76
152
  AgentConfiguration.add_member(:period_in_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "periodInSeconds"))
77
153
  AgentConfiguration.add_member(:should_profile, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "shouldProfile"))
78
154
  AgentConfiguration.struct_class = Types::AgentConfiguration
@@ -80,11 +156,53 @@ module Aws::CodeGuruProfiler
80
156
  AgentOrchestrationConfig.add_member(:profiling_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "profilingEnabled"))
81
157
  AgentOrchestrationConfig.struct_class = Types::AgentOrchestrationConfig
82
158
 
159
+ AgentParameters.key = Shapes::ShapeRef.new(shape: AgentParameterField)
160
+ AgentParameters.value = Shapes::ShapeRef.new(shape: String)
161
+
83
162
  AggregatedProfileTime.add_member(:period, Shapes::ShapeRef.new(shape: AggregationPeriod, location_name: "period"))
84
163
  AggregatedProfileTime.add_member(:start, Shapes::ShapeRef.new(shape: Timestamp, location_name: "start"))
85
164
  AggregatedProfileTime.struct_class = Types::AggregatedProfileTime
86
165
 
166
+ Anomalies.member = Shapes::ShapeRef.new(shape: Anomaly)
167
+
168
+ Anomaly.add_member(:instances, Shapes::ShapeRef.new(shape: AnomalyInstances, required: true, location_name: "instances"))
169
+ Anomaly.add_member(:metric, Shapes::ShapeRef.new(shape: Metric, required: true, location_name: "metric"))
170
+ Anomaly.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
171
+ Anomaly.struct_class = Types::Anomaly
172
+
173
+ AnomalyInstance.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
174
+ AnomalyInstance.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
175
+ AnomalyInstance.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
176
+ AnomalyInstance.add_member(:user_feedback, Shapes::ShapeRef.new(shape: UserFeedback, location_name: "userFeedback"))
177
+ AnomalyInstance.struct_class = Types::AnomalyInstance
178
+
179
+ AnomalyInstances.member = Shapes::ShapeRef.new(shape: AnomalyInstance)
180
+
181
+ BatchGetFrameMetricDataRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "endTime"))
182
+ BatchGetFrameMetricDataRequest.add_member(:frame_metrics, Shapes::ShapeRef.new(shape: FrameMetrics, location_name: "frameMetrics"))
183
+ BatchGetFrameMetricDataRequest.add_member(:period, Shapes::ShapeRef.new(shape: Period, location: "querystring", location_name: "period"))
184
+ BatchGetFrameMetricDataRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
185
+ BatchGetFrameMetricDataRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "startTime"))
186
+ BatchGetFrameMetricDataRequest.add_member(:target_resolution, Shapes::ShapeRef.new(shape: AggregationPeriod, location: "querystring", location_name: "targetResolution"))
187
+ BatchGetFrameMetricDataRequest.struct_class = Types::BatchGetFrameMetricDataRequest
188
+
189
+ BatchGetFrameMetricDataResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "endTime"))
190
+ BatchGetFrameMetricDataResponse.add_member(:end_times, Shapes::ShapeRef.new(shape: ListOfTimestamps, required: true, location_name: "endTimes"))
191
+ BatchGetFrameMetricDataResponse.add_member(:frame_metric_data, Shapes::ShapeRef.new(shape: FrameMetricData, required: true, location_name: "frameMetricData"))
192
+ BatchGetFrameMetricDataResponse.add_member(:resolution, Shapes::ShapeRef.new(shape: AggregationPeriod, required: true, location_name: "resolution"))
193
+ BatchGetFrameMetricDataResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
194
+ BatchGetFrameMetricDataResponse.add_member(:unprocessed_end_times, Shapes::ShapeRef.new(shape: UnprocessedEndTimeMap, required: true, location_name: "unprocessedEndTimes"))
195
+ BatchGetFrameMetricDataResponse.struct_class = Types::BatchGetFrameMetricDataResponse
196
+
197
+ Channel.add_member(:event_publishers, Shapes::ShapeRef.new(shape: EventPublishers, required: true, location_name: "eventPublishers"))
198
+ Channel.add_member(:id, Shapes::ShapeRef.new(shape: ChannelId, location_name: "id"))
199
+ Channel.add_member(:uri, Shapes::ShapeRef.new(shape: ChannelUri, required: true, location_name: "uri"))
200
+ Channel.struct_class = Types::Channel
201
+
202
+ Channels.member = Shapes::ShapeRef.new(shape: Channel)
203
+
87
204
  ConfigureAgentRequest.add_member(:fleet_instance_id, Shapes::ShapeRef.new(shape: FleetInstanceId, location_name: "fleetInstanceId"))
205
+ ConfigureAgentRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
88
206
  ConfigureAgentRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
89
207
  ConfigureAgentRequest.struct_class = Types::ConfigureAgentRequest
90
208
 
@@ -98,7 +216,9 @@ module Aws::CodeGuruProfiler
98
216
 
99
217
  CreateProfilingGroupRequest.add_member(:agent_orchestration_config, Shapes::ShapeRef.new(shape: AgentOrchestrationConfig, location_name: "agentOrchestrationConfig"))
100
218
  CreateProfilingGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
219
+ CreateProfilingGroupRequest.add_member(:compute_platform, Shapes::ShapeRef.new(shape: ComputePlatform, location_name: "computePlatform"))
101
220
  CreateProfilingGroupRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location_name: "profilingGroupName"))
221
+ CreateProfilingGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
102
222
  CreateProfilingGroupRequest.struct_class = Types::CreateProfilingGroupRequest
103
223
 
104
224
  CreateProfilingGroupResponse.add_member(:profiling_group, Shapes::ShapeRef.new(shape: ProfilingGroupDescription, required: true, location_name: "profilingGroup"))
@@ -119,6 +239,47 @@ module Aws::CodeGuruProfiler
119
239
  DescribeProfilingGroupResponse[:payload] = :profiling_group
120
240
  DescribeProfilingGroupResponse[:payload_member] = DescribeProfilingGroupResponse.member(:profiling_group)
121
241
 
242
+ EventPublishers.member = Shapes::ShapeRef.new(shape: EventPublisher)
243
+
244
+ FindingsReportSummaries.member = Shapes::ShapeRef.new(shape: FindingsReportSummary)
245
+
246
+ FindingsReportSummary.add_member(:id, Shapes::ShapeRef.new(shape: FindingsReportId, location_name: "id"))
247
+ FindingsReportSummary.add_member(:profile_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "profileEndTime"))
248
+ FindingsReportSummary.add_member(:profile_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "profileStartTime"))
249
+ FindingsReportSummary.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: String, location_name: "profilingGroupName"))
250
+ FindingsReportSummary.add_member(:total_number_of_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalNumberOfFindings"))
251
+ FindingsReportSummary.struct_class = Types::FindingsReportSummary
252
+
253
+ FrameMetric.add_member(:frame_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "frameName"))
254
+ FrameMetric.add_member(:thread_states, Shapes::ShapeRef.new(shape: ThreadStates, required: true, location_name: "threadStates"))
255
+ FrameMetric.add_member(:type, Shapes::ShapeRef.new(shape: MetricType, required: true, location_name: "type"))
256
+ FrameMetric.struct_class = Types::FrameMetric
257
+
258
+ FrameMetricData.member = Shapes::ShapeRef.new(shape: FrameMetricDatum)
259
+
260
+ FrameMetricDatum.add_member(:frame_metric, Shapes::ShapeRef.new(shape: FrameMetric, required: true, location_name: "frameMetric"))
261
+ FrameMetricDatum.add_member(:values, Shapes::ShapeRef.new(shape: FrameMetricValues, required: true, location_name: "values"))
262
+ FrameMetricDatum.struct_class = Types::FrameMetricDatum
263
+
264
+ FrameMetricValues.member = Shapes::ShapeRef.new(shape: Double)
265
+
266
+ FrameMetrics.member = Shapes::ShapeRef.new(shape: FrameMetric)
267
+
268
+ GetFindingsReportAccountSummaryRequest.add_member(:daily_reports_only, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "dailyReportsOnly"))
269
+ GetFindingsReportAccountSummaryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
270
+ GetFindingsReportAccountSummaryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
271
+ GetFindingsReportAccountSummaryRequest.struct_class = Types::GetFindingsReportAccountSummaryRequest
272
+
273
+ GetFindingsReportAccountSummaryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
274
+ GetFindingsReportAccountSummaryResponse.add_member(:report_summaries, Shapes::ShapeRef.new(shape: FindingsReportSummaries, required: true, location_name: "reportSummaries"))
275
+ GetFindingsReportAccountSummaryResponse.struct_class = Types::GetFindingsReportAccountSummaryResponse
276
+
277
+ GetNotificationConfigurationRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
278
+ GetNotificationConfigurationRequest.struct_class = Types::GetNotificationConfigurationRequest
279
+
280
+ GetNotificationConfigurationResponse.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, required: true, location_name: "notificationConfiguration"))
281
+ GetNotificationConfigurationResponse.struct_class = Types::GetNotificationConfigurationResponse
282
+
122
283
  GetPolicyRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
123
284
  GetPolicyRequest.struct_class = Types::GetPolicyRequest
124
285
 
@@ -141,9 +302,36 @@ module Aws::CodeGuruProfiler
141
302
  GetProfileResponse[:payload] = :profile
142
303
  GetProfileResponse[:payload_member] = GetProfileResponse.member(:profile)
143
304
 
305
+ GetRecommendationsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "endTime"))
306
+ GetRecommendationsRequest.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, location: "querystring", location_name: "locale"))
307
+ GetRecommendationsRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
308
+ GetRecommendationsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "startTime"))
309
+ GetRecommendationsRequest.struct_class = Types::GetRecommendationsRequest
310
+
311
+ GetRecommendationsResponse.add_member(:anomalies, Shapes::ShapeRef.new(shape: Anomalies, required: true, location_name: "anomalies"))
312
+ GetRecommendationsResponse.add_member(:profile_end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "profileEndTime"))
313
+ GetRecommendationsResponse.add_member(:profile_start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "profileStartTime"))
314
+ GetRecommendationsResponse.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location_name: "profilingGroupName"))
315
+ GetRecommendationsResponse.add_member(:recommendations, Shapes::ShapeRef.new(shape: Recommendations, required: true, location_name: "recommendations"))
316
+ GetRecommendationsResponse.struct_class = Types::GetRecommendationsResponse
317
+
144
318
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
145
319
  InternalServerException.struct_class = Types::InternalServerException
146
320
 
321
+ ListFindingsReportsRequest.add_member(:daily_reports_only, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "dailyReportsOnly"))
322
+ ListFindingsReportsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "endTime"))
323
+ ListFindingsReportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
324
+ ListFindingsReportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
325
+ ListFindingsReportsRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
326
+ ListFindingsReportsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "startTime"))
327
+ ListFindingsReportsRequest.struct_class = Types::ListFindingsReportsRequest
328
+
329
+ ListFindingsReportsResponse.add_member(:findings_report_summaries, Shapes::ShapeRef.new(shape: FindingsReportSummaries, required: true, location_name: "findingsReportSummaries"))
330
+ ListFindingsReportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
331
+ ListFindingsReportsResponse.struct_class = Types::ListFindingsReportsResponse
332
+
333
+ ListOfTimestamps.member = Shapes::ShapeRef.new(shape: TimestampStructure)
334
+
147
335
  ListProfileTimesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "endTime"))
148
336
  ListProfileTimesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
149
337
  ListProfileTimesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
@@ -167,6 +355,39 @@ module Aws::CodeGuruProfiler
167
355
  ListProfilingGroupsResponse.add_member(:profiling_groups, Shapes::ShapeRef.new(shape: ProfilingGroupDescriptions, location_name: "profilingGroups"))
168
356
  ListProfilingGroupsResponse.struct_class = Types::ListProfilingGroupsResponse
169
357
 
358
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ProfilingGroupArn, required: true, location: "uri", location_name: "resourceArn"))
359
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
360
+
361
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
362
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
363
+
364
+ Match.add_member(:frame_address, Shapes::ShapeRef.new(shape: String, location_name: "frameAddress"))
365
+ Match.add_member(:target_frames_index, Shapes::ShapeRef.new(shape: Integer, location_name: "targetFramesIndex"))
366
+ Match.add_member(:threshold_breach_value, Shapes::ShapeRef.new(shape: Double, location_name: "thresholdBreachValue"))
367
+ Match.struct_class = Types::Match
368
+
369
+ Matches.member = Shapes::ShapeRef.new(shape: Match)
370
+
371
+ Metadata.key = Shapes::ShapeRef.new(shape: MetadataField)
372
+ Metadata.value = Shapes::ShapeRef.new(shape: String)
373
+
374
+ Metric.add_member(:frame_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "frameName"))
375
+ Metric.add_member(:thread_states, Shapes::ShapeRef.new(shape: Strings, required: true, location_name: "threadStates"))
376
+ Metric.add_member(:type, Shapes::ShapeRef.new(shape: MetricType, required: true, location_name: "type"))
377
+ Metric.struct_class = Types::Metric
378
+
379
+ NotificationConfiguration.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "channels"))
380
+ NotificationConfiguration.struct_class = Types::NotificationConfiguration
381
+
382
+ Pattern.add_member(:counters_to_aggregate, Shapes::ShapeRef.new(shape: Strings, location_name: "countersToAggregate"))
383
+ Pattern.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
384
+ Pattern.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
385
+ Pattern.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
386
+ Pattern.add_member(:resolution_steps, Shapes::ShapeRef.new(shape: String, location_name: "resolutionSteps"))
387
+ Pattern.add_member(:target_frames, Shapes::ShapeRef.new(shape: TargetFrames, location_name: "targetFrames"))
388
+ Pattern.add_member(:threshold_percent, Shapes::ShapeRef.new(shape: Percentage, location_name: "thresholdPercent"))
389
+ Pattern.struct_class = Types::Pattern
390
+
170
391
  PostAgentProfileRequest.add_member(:agent_profile, Shapes::ShapeRef.new(shape: AgentProfile, required: true, location_name: "agentProfile"))
171
392
  PostAgentProfileRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "Content-Type"))
172
393
  PostAgentProfileRequest.add_member(:profile_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "profileToken", metadata: {"idempotencyToken"=>true}))
@@ -186,9 +407,11 @@ module Aws::CodeGuruProfiler
186
407
 
187
408
  ProfilingGroupDescription.add_member(:agent_orchestration_config, Shapes::ShapeRef.new(shape: AgentOrchestrationConfig, location_name: "agentOrchestrationConfig"))
188
409
  ProfilingGroupDescription.add_member(:arn, Shapes::ShapeRef.new(shape: ProfilingGroupArn, location_name: "arn"))
410
+ ProfilingGroupDescription.add_member(:compute_platform, Shapes::ShapeRef.new(shape: ComputePlatform, location_name: "computePlatform"))
189
411
  ProfilingGroupDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
190
412
  ProfilingGroupDescription.add_member(:name, Shapes::ShapeRef.new(shape: ProfilingGroupName, location_name: "name"))
191
413
  ProfilingGroupDescription.add_member(:profiling_status, Shapes::ShapeRef.new(shape: ProfilingStatus, location_name: "profilingStatus"))
414
+ ProfilingGroupDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
192
415
  ProfilingGroupDescription.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
193
416
  ProfilingGroupDescription.struct_class = Types::ProfilingGroupDescription
194
417
 
@@ -211,6 +434,23 @@ module Aws::CodeGuruProfiler
211
434
  PutPermissionResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
212
435
  PutPermissionResponse.struct_class = Types::PutPermissionResponse
213
436
 
437
+ Recommendation.add_member(:all_matches_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "allMatchesCount"))
438
+ Recommendation.add_member(:all_matches_sum, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "allMatchesSum"))
439
+ Recommendation.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "endTime"))
440
+ Recommendation.add_member(:pattern, Shapes::ShapeRef.new(shape: Pattern, required: true, location_name: "pattern"))
441
+ Recommendation.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
442
+ Recommendation.add_member(:top_matches, Shapes::ShapeRef.new(shape: Matches, required: true, location_name: "topMatches"))
443
+ Recommendation.struct_class = Types::Recommendation
444
+
445
+ Recommendations.member = Shapes::ShapeRef.new(shape: Recommendation)
446
+
447
+ RemoveNotificationChannelRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, required: true, location: "uri", location_name: "channelId"))
448
+ RemoveNotificationChannelRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
449
+ RemoveNotificationChannelRequest.struct_class = Types::RemoveNotificationChannelRequest
450
+
451
+ RemoveNotificationChannelResponse.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, location_name: "notificationConfiguration"))
452
+ RemoveNotificationChannelResponse.struct_class = Types::RemoveNotificationChannelResponse
453
+
214
454
  RemovePermissionRequest.add_member(:action_group, Shapes::ShapeRef.new(shape: ActionGroup, required: true, location: "uri", location_name: "actionGroup"))
215
455
  RemovePermissionRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
216
456
  RemovePermissionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location: "querystring", location_name: "revisionId"))
@@ -226,9 +466,48 @@ module Aws::CodeGuruProfiler
226
466
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
227
467
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
228
468
 
469
+ Strings.member = Shapes::ShapeRef.new(shape: String)
470
+
471
+ SubmitFeedbackRequest.add_member(:anomaly_instance_id, Shapes::ShapeRef.new(shape: AnomalyInstanceId, required: true, location: "uri", location_name: "anomalyInstanceId"))
472
+ SubmitFeedbackRequest.add_member(:comment, Shapes::ShapeRef.new(shape: String, location_name: "comment"))
473
+ SubmitFeedbackRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
474
+ SubmitFeedbackRequest.add_member(:type, Shapes::ShapeRef.new(shape: FeedbackType, required: true, location_name: "type"))
475
+ SubmitFeedbackRequest.struct_class = Types::SubmitFeedbackRequest
476
+
477
+ SubmitFeedbackResponse.struct_class = Types::SubmitFeedbackResponse
478
+
479
+ TagKeys.member = Shapes::ShapeRef.new(shape: String)
480
+
481
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ProfilingGroupArn, required: true, location: "uri", location_name: "resourceArn"))
482
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, required: true, location_name: "tags"))
483
+ TagResourceRequest.struct_class = Types::TagResourceRequest
484
+
485
+ TagResourceResponse.struct_class = Types::TagResourceResponse
486
+
487
+ TagsMap.key = Shapes::ShapeRef.new(shape: String)
488
+ TagsMap.value = Shapes::ShapeRef.new(shape: String)
489
+
490
+ TargetFrame.member = Shapes::ShapeRef.new(shape: String)
491
+
492
+ TargetFrames.member = Shapes::ShapeRef.new(shape: TargetFrame)
493
+
494
+ ThreadStates.member = Shapes::ShapeRef.new(shape: String)
495
+
229
496
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
230
497
  ThrottlingException.struct_class = Types::ThrottlingException
231
498
 
499
+ TimestampStructure.add_member(:value, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "value"))
500
+ TimestampStructure.struct_class = Types::TimestampStructure
501
+
502
+ UnprocessedEndTimeMap.key = Shapes::ShapeRef.new(shape: String)
503
+ UnprocessedEndTimeMap.value = Shapes::ShapeRef.new(shape: ListOfTimestamps)
504
+
505
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ProfilingGroupArn, required: true, location: "uri", location_name: "resourceArn"))
506
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
507
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
508
+
509
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
510
+
232
511
  UpdateProfilingGroupRequest.add_member(:agent_orchestration_config, Shapes::ShapeRef.new(shape: AgentOrchestrationConfig, required: true, location_name: "agentOrchestrationConfig"))
233
512
  UpdateProfilingGroupRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
234
513
  UpdateProfilingGroupRequest.struct_class = Types::UpdateProfilingGroupRequest
@@ -238,6 +517,9 @@ module Aws::CodeGuruProfiler
238
517
  UpdateProfilingGroupResponse[:payload] = :profiling_group
239
518
  UpdateProfilingGroupResponse[:payload_member] = UpdateProfilingGroupResponse.member(:profiling_group)
240
519
 
520
+ UserFeedback.add_member(:type, Shapes::ShapeRef.new(shape: FeedbackType, required: true, location_name: "type"))
521
+ UserFeedback.struct_class = Types::UserFeedback
522
+
241
523
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
242
524
  ValidationException.struct_class = Types::ValidationException
243
525
 
@@ -259,6 +541,32 @@ module Aws::CodeGuruProfiler
259
541
  "uid" => "codeguruprofiler-2019-07-18",
260
542
  }
261
543
 
544
+ api.add_operation(:add_notification_channels, Seahorse::Model::Operation.new.tap do |o|
545
+ o.name = "AddNotificationChannels"
546
+ o.http_method = "POST"
547
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/notificationConfiguration"
548
+ o.input = Shapes::ShapeRef.new(shape: AddNotificationChannelsRequest)
549
+ o.output = Shapes::ShapeRef.new(shape: AddNotificationChannelsResponse)
550
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
551
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
552
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
553
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
554
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
555
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
556
+ end)
557
+
558
+ api.add_operation(:batch_get_frame_metric_data, Seahorse::Model::Operation.new.tap do |o|
559
+ o.name = "BatchGetFrameMetricData"
560
+ o.http_method = "POST"
561
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/frames/-/metrics"
562
+ o.input = Shapes::ShapeRef.new(shape: BatchGetFrameMetricDataRequest)
563
+ o.output = Shapes::ShapeRef.new(shape: BatchGetFrameMetricDataResponse)
564
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
565
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
566
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
567
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
568
+ end)
569
+
262
570
  api.add_operation(:configure_agent, Seahorse::Model::Operation.new.tap do |o|
263
571
  o.name = "ConfigureAgent"
264
572
  o.http_method = "POST"
@@ -308,6 +616,35 @@ module Aws::CodeGuruProfiler
308
616
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
309
617
  end)
310
618
 
619
+ api.add_operation(:get_findings_report_account_summary, Seahorse::Model::Operation.new.tap do |o|
620
+ o.name = "GetFindingsReportAccountSummary"
621
+ o.http_method = "GET"
622
+ o.http_request_uri = "/internal/findingsReports"
623
+ o.input = Shapes::ShapeRef.new(shape: GetFindingsReportAccountSummaryRequest)
624
+ o.output = Shapes::ShapeRef.new(shape: GetFindingsReportAccountSummaryResponse)
625
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
626
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
627
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
628
+ o[:pager] = Aws::Pager.new(
629
+ limit_key: "max_results",
630
+ tokens: {
631
+ "next_token" => "next_token"
632
+ }
633
+ )
634
+ end)
635
+
636
+ api.add_operation(:get_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
637
+ o.name = "GetNotificationConfiguration"
638
+ o.http_method = "GET"
639
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/notificationConfiguration"
640
+ o.input = Shapes::ShapeRef.new(shape: GetNotificationConfigurationRequest)
641
+ o.output = Shapes::ShapeRef.new(shape: GetNotificationConfigurationResponse)
642
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
643
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
644
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
645
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
646
+ end)
647
+
311
648
  api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
312
649
  o.name = "GetPolicy"
313
650
  o.http_method = "GET"
@@ -331,6 +668,36 @@ module Aws::CodeGuruProfiler
331
668
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
332
669
  end)
333
670
 
671
+ api.add_operation(:get_recommendations, Seahorse::Model::Operation.new.tap do |o|
672
+ o.name = "GetRecommendations"
673
+ o.http_method = "GET"
674
+ o.http_request_uri = "/internal/profilingGroups/{profilingGroupName}/recommendations"
675
+ o.input = Shapes::ShapeRef.new(shape: GetRecommendationsRequest)
676
+ o.output = Shapes::ShapeRef.new(shape: GetRecommendationsResponse)
677
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
678
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
679
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
680
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
681
+ end)
682
+
683
+ api.add_operation(:list_findings_reports, Seahorse::Model::Operation.new.tap do |o|
684
+ o.name = "ListFindingsReports"
685
+ o.http_method = "GET"
686
+ o.http_request_uri = "/internal/profilingGroups/{profilingGroupName}/findingsReports"
687
+ o.input = Shapes::ShapeRef.new(shape: ListFindingsReportsRequest)
688
+ o.output = Shapes::ShapeRef.new(shape: ListFindingsReportsResponse)
689
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
690
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
691
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
692
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
693
+ o[:pager] = Aws::Pager.new(
694
+ limit_key: "max_results",
695
+ tokens: {
696
+ "next_token" => "next_token"
697
+ }
698
+ )
699
+ end)
700
+
334
701
  api.add_operation(:list_profile_times, Seahorse::Model::Operation.new.tap do |o|
335
702
  o.name = "ListProfileTimes"
336
703
  o.http_method = "GET"
@@ -365,6 +732,17 @@ module Aws::CodeGuruProfiler
365
732
  )
366
733
  end)
367
734
 
735
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
736
+ o.name = "ListTagsForResource"
737
+ o.http_method = "GET"
738
+ o.http_request_uri = "/tags/{resourceArn}"
739
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
740
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
741
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
742
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
743
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
744
+ end)
745
+
368
746
  api.add_operation(:post_agent_profile, Seahorse::Model::Operation.new.tap do |o|
369
747
  o.name = "PostAgentProfile"
370
748
  o.http_method = "POST"
@@ -390,6 +768,18 @@ module Aws::CodeGuruProfiler
390
768
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
391
769
  end)
392
770
 
771
+ api.add_operation(:remove_notification_channel, Seahorse::Model::Operation.new.tap do |o|
772
+ o.name = "RemoveNotificationChannel"
773
+ o.http_method = "DELETE"
774
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/notificationConfiguration/{channelId}"
775
+ o.input = Shapes::ShapeRef.new(shape: RemoveNotificationChannelRequest)
776
+ o.output = Shapes::ShapeRef.new(shape: RemoveNotificationChannelResponse)
777
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
778
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
779
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
780
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
781
+ end)
782
+
393
783
  api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
394
784
  o.name = "RemovePermission"
395
785
  o.http_method = "DELETE"
@@ -403,6 +793,40 @@ module Aws::CodeGuruProfiler
403
793
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
404
794
  end)
405
795
 
796
+ api.add_operation(:submit_feedback, Seahorse::Model::Operation.new.tap do |o|
797
+ o.name = "SubmitFeedback"
798
+ o.http_method = "POST"
799
+ o.http_request_uri = "/internal/profilingGroups/{profilingGroupName}/anomalies/{anomalyInstanceId}/feedback"
800
+ o.input = Shapes::ShapeRef.new(shape: SubmitFeedbackRequest)
801
+ o.output = Shapes::ShapeRef.new(shape: SubmitFeedbackResponse)
802
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
803
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
804
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
805
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
806
+ end)
807
+
808
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
809
+ o.name = "TagResource"
810
+ o.http_method = "POST"
811
+ o.http_request_uri = "/tags/{resourceArn}"
812
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
813
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
814
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
815
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
816
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
817
+ end)
818
+
819
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
820
+ o.name = "UntagResource"
821
+ o.http_method = "DELETE"
822
+ o.http_request_uri = "/tags/{resourceArn}"
823
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
824
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
825
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
826
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
827
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
828
+ end)
829
+
406
830
  api.add_operation(:update_profiling_group, Seahorse::Model::Operation.new.tap do |o|
407
831
  o.name = "UpdateProfilingGroup"
408
832
  o.http_method = "PUT"