aws-sdk-codeguruprofiler 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,845 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::CodeGuruProfiler
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ ActionGroup = Shapes::StringShape.new(name: 'ActionGroup')
17
+ AddNotificationChannelsRequest = Shapes::StructureShape.new(name: 'AddNotificationChannelsRequest')
18
+ AddNotificationChannelsResponse = Shapes::StructureShape.new(name: 'AddNotificationChannelsResponse')
19
+ AgentConfiguration = Shapes::StructureShape.new(name: 'AgentConfiguration')
20
+ AgentOrchestrationConfig = Shapes::StructureShape.new(name: 'AgentOrchestrationConfig')
21
+ AgentParameterField = Shapes::StringShape.new(name: 'AgentParameterField')
22
+ AgentParameters = Shapes::MapShape.new(name: 'AgentParameters')
23
+ AgentProfile = Shapes::BlobShape.new(name: 'AgentProfile')
24
+ AggregatedProfile = Shapes::BlobShape.new(name: 'AggregatedProfile')
25
+ AggregatedProfileTime = Shapes::StructureShape.new(name: 'AggregatedProfileTime')
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')
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')
39
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
40
+ ComputePlatform = Shapes::StringShape.new(name: 'ComputePlatform')
41
+ ConfigureAgentRequest = Shapes::StructureShape.new(name: 'ConfigureAgentRequest')
42
+ ConfigureAgentResponse = Shapes::StructureShape.new(name: 'ConfigureAgentResponse')
43
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
44
+ CreateProfilingGroupRequest = Shapes::StructureShape.new(name: 'CreateProfilingGroupRequest')
45
+ CreateProfilingGroupResponse = Shapes::StructureShape.new(name: 'CreateProfilingGroupResponse')
46
+ DeleteProfilingGroupRequest = Shapes::StructureShape.new(name: 'DeleteProfilingGroupRequest')
47
+ DeleteProfilingGroupResponse = Shapes::StructureShape.new(name: 'DeleteProfilingGroupResponse')
48
+ DescribeProfilingGroupRequest = Shapes::StructureShape.new(name: 'DescribeProfilingGroupRequest')
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')
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')
67
+ GetPolicyRequest = Shapes::StructureShape.new(name: 'GetPolicyRequest')
68
+ GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
69
+ GetProfileRequest = Shapes::StructureShape.new(name: 'GetProfileRequest')
70
+ GetProfileResponse = Shapes::StructureShape.new(name: 'GetProfileResponse')
71
+ GetRecommendationsRequest = Shapes::StructureShape.new(name: 'GetRecommendationsRequest')
72
+ GetRecommendationsResponse = Shapes::StructureShape.new(name: 'GetRecommendationsResponse')
73
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
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')
78
+ ListProfileTimesRequest = Shapes::StructureShape.new(name: 'ListProfileTimesRequest')
79
+ ListProfileTimesResponse = Shapes::StructureShape.new(name: 'ListProfileTimesResponse')
80
+ ListProfilingGroupsRequest = Shapes::StructureShape.new(name: 'ListProfilingGroupsRequest')
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')
87
+ MaxDepth = Shapes::IntegerShape.new(name: 'MaxDepth')
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')
94
+ OrderBy = Shapes::StringShape.new(name: 'OrderBy')
95
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
96
+ Pattern = Shapes::StructureShape.new(name: 'Pattern')
97
+ Percentage = Shapes::FloatShape.new(name: 'Percentage')
98
+ Period = Shapes::StringShape.new(name: 'Period')
99
+ PostAgentProfileRequest = Shapes::StructureShape.new(name: 'PostAgentProfileRequest')
100
+ PostAgentProfileResponse = Shapes::StructureShape.new(name: 'PostAgentProfileResponse')
101
+ Principal = Shapes::StringShape.new(name: 'Principal')
102
+ Principals = Shapes::ListShape.new(name: 'Principals')
103
+ ProfileTime = Shapes::StructureShape.new(name: 'ProfileTime')
104
+ ProfileTimes = Shapes::ListShape.new(name: 'ProfileTimes')
105
+ ProfilingGroupArn = Shapes::StringShape.new(name: 'ProfilingGroupArn')
106
+ ProfilingGroupDescription = Shapes::StructureShape.new(name: 'ProfilingGroupDescription')
107
+ ProfilingGroupDescriptions = Shapes::ListShape.new(name: 'ProfilingGroupDescriptions')
108
+ ProfilingGroupName = Shapes::StringShape.new(name: 'ProfilingGroupName')
109
+ ProfilingGroupNames = Shapes::ListShape.new(name: 'ProfilingGroupNames')
110
+ ProfilingStatus = Shapes::StructureShape.new(name: 'ProfilingStatus')
111
+ PutPermissionRequest = Shapes::StructureShape.new(name: 'PutPermissionRequest')
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')
117
+ RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
118
+ RemovePermissionResponse = Shapes::StructureShape.new(name: 'RemovePermissionResponse')
119
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
120
+ RevisionId = Shapes::StringShape.new(name: 'RevisionId')
121
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
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')
133
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
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')
139
+ UpdateProfilingGroupRequest = Shapes::StructureShape.new(name: 'UpdateProfilingGroupRequest')
140
+ UpdateProfilingGroupResponse = Shapes::StructureShape.new(name: 'UpdateProfilingGroupResponse')
141
+ UserFeedback = Shapes::StructureShape.new(name: 'UserFeedback')
142
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
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"))
152
+ AgentConfiguration.add_member(:period_in_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "periodInSeconds"))
153
+ AgentConfiguration.add_member(:should_profile, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "shouldProfile"))
154
+ AgentConfiguration.struct_class = Types::AgentConfiguration
155
+
156
+ AgentOrchestrationConfig.add_member(:profiling_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "profilingEnabled"))
157
+ AgentOrchestrationConfig.struct_class = Types::AgentOrchestrationConfig
158
+
159
+ AgentParameters.key = Shapes::ShapeRef.new(shape: AgentParameterField)
160
+ AgentParameters.value = Shapes::ShapeRef.new(shape: String)
161
+
162
+ AggregatedProfileTime.add_member(:period, Shapes::ShapeRef.new(shape: AggregationPeriod, location_name: "period"))
163
+ AggregatedProfileTime.add_member(:start, Shapes::ShapeRef.new(shape: Timestamp, location_name: "start"))
164
+ AggregatedProfileTime.struct_class = Types::AggregatedProfileTime
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
+
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"))
206
+ ConfigureAgentRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
207
+ ConfigureAgentRequest.struct_class = Types::ConfigureAgentRequest
208
+
209
+ ConfigureAgentResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: AgentConfiguration, required: true, location_name: "configuration"))
210
+ ConfigureAgentResponse.struct_class = Types::ConfigureAgentResponse
211
+ ConfigureAgentResponse[:payload] = :configuration
212
+ ConfigureAgentResponse[:payload_member] = ConfigureAgentResponse.member(:configuration)
213
+
214
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
215
+ ConflictException.struct_class = Types::ConflictException
216
+
217
+ CreateProfilingGroupRequest.add_member(:agent_orchestration_config, Shapes::ShapeRef.new(shape: AgentOrchestrationConfig, location_name: "agentOrchestrationConfig"))
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"))
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"))
222
+ CreateProfilingGroupRequest.struct_class = Types::CreateProfilingGroupRequest
223
+
224
+ CreateProfilingGroupResponse.add_member(:profiling_group, Shapes::ShapeRef.new(shape: ProfilingGroupDescription, required: true, location_name: "profilingGroup"))
225
+ CreateProfilingGroupResponse.struct_class = Types::CreateProfilingGroupResponse
226
+ CreateProfilingGroupResponse[:payload] = :profiling_group
227
+ CreateProfilingGroupResponse[:payload_member] = CreateProfilingGroupResponse.member(:profiling_group)
228
+
229
+ DeleteProfilingGroupRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
230
+ DeleteProfilingGroupRequest.struct_class = Types::DeleteProfilingGroupRequest
231
+
232
+ DeleteProfilingGroupResponse.struct_class = Types::DeleteProfilingGroupResponse
233
+
234
+ DescribeProfilingGroupRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
235
+ DescribeProfilingGroupRequest.struct_class = Types::DescribeProfilingGroupRequest
236
+
237
+ DescribeProfilingGroupResponse.add_member(:profiling_group, Shapes::ShapeRef.new(shape: ProfilingGroupDescription, required: true, location_name: "profilingGroup"))
238
+ DescribeProfilingGroupResponse.struct_class = Types::DescribeProfilingGroupResponse
239
+ DescribeProfilingGroupResponse[:payload] = :profiling_group
240
+ DescribeProfilingGroupResponse[:payload_member] = DescribeProfilingGroupResponse.member(:profiling_group)
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
+
283
+ GetPolicyRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
284
+ GetPolicyRequest.struct_class = Types::GetPolicyRequest
285
+
286
+ GetPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: String, required: true, location_name: "policy"))
287
+ GetPolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
288
+ GetPolicyResponse.struct_class = Types::GetPolicyResponse
289
+
290
+ GetProfileRequest.add_member(:accept, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Accept"))
291
+ GetProfileRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "endTime"))
292
+ GetProfileRequest.add_member(:max_depth, Shapes::ShapeRef.new(shape: MaxDepth, location: "querystring", location_name: "maxDepth"))
293
+ GetProfileRequest.add_member(:period, Shapes::ShapeRef.new(shape: Period, location: "querystring", location_name: "period"))
294
+ GetProfileRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
295
+ GetProfileRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "startTime"))
296
+ GetProfileRequest.struct_class = Types::GetProfileRequest
297
+
298
+ GetProfileResponse.add_member(:content_encoding, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Encoding"))
299
+ GetProfileResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "Content-Type"))
300
+ GetProfileResponse.add_member(:profile, Shapes::ShapeRef.new(shape: AggregatedProfile, required: true, location_name: "profile"))
301
+ GetProfileResponse.struct_class = Types::GetProfileResponse
302
+ GetProfileResponse[:payload] = :profile
303
+ GetProfileResponse[:payload_member] = GetProfileResponse.member(:profile)
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
+
318
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
319
+ InternalServerException.struct_class = Types::InternalServerException
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
+
335
+ ListProfileTimesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "endTime"))
336
+ ListProfileTimesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
337
+ ListProfileTimesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
338
+ ListProfileTimesRequest.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location: "querystring", location_name: "orderBy"))
339
+ ListProfileTimesRequest.add_member(:period, Shapes::ShapeRef.new(shape: AggregationPeriod, required: true, location: "querystring", location_name: "period"))
340
+ ListProfileTimesRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
341
+ ListProfileTimesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "startTime"))
342
+ ListProfileTimesRequest.struct_class = Types::ListProfileTimesRequest
343
+
344
+ ListProfileTimesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
345
+ ListProfileTimesResponse.add_member(:profile_times, Shapes::ShapeRef.new(shape: ProfileTimes, required: true, location_name: "profileTimes"))
346
+ ListProfileTimesResponse.struct_class = Types::ListProfileTimesResponse
347
+
348
+ ListProfilingGroupsRequest.add_member(:include_description, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "includeDescription"))
349
+ ListProfilingGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
350
+ ListProfilingGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
351
+ ListProfilingGroupsRequest.struct_class = Types::ListProfilingGroupsRequest
352
+
353
+ ListProfilingGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
354
+ ListProfilingGroupsResponse.add_member(:profiling_group_names, Shapes::ShapeRef.new(shape: ProfilingGroupNames, required: true, location_name: "profilingGroupNames"))
355
+ ListProfilingGroupsResponse.add_member(:profiling_groups, Shapes::ShapeRef.new(shape: ProfilingGroupDescriptions, location_name: "profilingGroups"))
356
+ ListProfilingGroupsResponse.struct_class = Types::ListProfilingGroupsResponse
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
+
391
+ PostAgentProfileRequest.add_member(:agent_profile, Shapes::ShapeRef.new(shape: AgentProfile, required: true, location_name: "agentProfile"))
392
+ PostAgentProfileRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "Content-Type"))
393
+ PostAgentProfileRequest.add_member(:profile_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "profileToken", metadata: {"idempotencyToken"=>true}))
394
+ PostAgentProfileRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
395
+ PostAgentProfileRequest.struct_class = Types::PostAgentProfileRequest
396
+ PostAgentProfileRequest[:payload] = :agent_profile
397
+ PostAgentProfileRequest[:payload_member] = PostAgentProfileRequest.member(:agent_profile)
398
+
399
+ PostAgentProfileResponse.struct_class = Types::PostAgentProfileResponse
400
+
401
+ Principals.member = Shapes::ShapeRef.new(shape: Principal)
402
+
403
+ ProfileTime.add_member(:start, Shapes::ShapeRef.new(shape: Timestamp, location_name: "start"))
404
+ ProfileTime.struct_class = Types::ProfileTime
405
+
406
+ ProfileTimes.member = Shapes::ShapeRef.new(shape: ProfileTime)
407
+
408
+ ProfilingGroupDescription.add_member(:agent_orchestration_config, Shapes::ShapeRef.new(shape: AgentOrchestrationConfig, location_name: "agentOrchestrationConfig"))
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"))
411
+ ProfilingGroupDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
412
+ ProfilingGroupDescription.add_member(:name, Shapes::ShapeRef.new(shape: ProfilingGroupName, location_name: "name"))
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"))
415
+ ProfilingGroupDescription.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
416
+ ProfilingGroupDescription.struct_class = Types::ProfilingGroupDescription
417
+
418
+ ProfilingGroupDescriptions.member = Shapes::ShapeRef.new(shape: ProfilingGroupDescription)
419
+
420
+ ProfilingGroupNames.member = Shapes::ShapeRef.new(shape: ProfilingGroupName)
421
+
422
+ ProfilingStatus.add_member(:latest_agent_orchestrated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "latestAgentOrchestratedAt"))
423
+ ProfilingStatus.add_member(:latest_agent_profile_reported_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "latestAgentProfileReportedAt"))
424
+ ProfilingStatus.add_member(:latest_aggregated_profile, Shapes::ShapeRef.new(shape: AggregatedProfileTime, location_name: "latestAggregatedProfile"))
425
+ ProfilingStatus.struct_class = Types::ProfilingStatus
426
+
427
+ PutPermissionRequest.add_member(:action_group, Shapes::ShapeRef.new(shape: ActionGroup, required: true, location: "uri", location_name: "actionGroup"))
428
+ PutPermissionRequest.add_member(:principals, Shapes::ShapeRef.new(shape: Principals, required: true, location_name: "principals"))
429
+ PutPermissionRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
430
+ PutPermissionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
431
+ PutPermissionRequest.struct_class = Types::PutPermissionRequest
432
+
433
+ PutPermissionResponse.add_member(:policy, Shapes::ShapeRef.new(shape: String, required: true, location_name: "policy"))
434
+ PutPermissionResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
435
+ PutPermissionResponse.struct_class = Types::PutPermissionResponse
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
+
454
+ RemovePermissionRequest.add_member(:action_group, Shapes::ShapeRef.new(shape: ActionGroup, required: true, location: "uri", location_name: "actionGroup"))
455
+ RemovePermissionRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
456
+ RemovePermissionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location: "querystring", location_name: "revisionId"))
457
+ RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
458
+
459
+ RemovePermissionResponse.add_member(:policy, Shapes::ShapeRef.new(shape: String, required: true, location_name: "policy"))
460
+ RemovePermissionResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
461
+ RemovePermissionResponse.struct_class = Types::RemovePermissionResponse
462
+
463
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
464
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
465
+
466
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
467
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
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
+
496
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
497
+ ThrottlingException.struct_class = Types::ThrottlingException
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
+
511
+ UpdateProfilingGroupRequest.add_member(:agent_orchestration_config, Shapes::ShapeRef.new(shape: AgentOrchestrationConfig, required: true, location_name: "agentOrchestrationConfig"))
512
+ UpdateProfilingGroupRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
513
+ UpdateProfilingGroupRequest.struct_class = Types::UpdateProfilingGroupRequest
514
+
515
+ UpdateProfilingGroupResponse.add_member(:profiling_group, Shapes::ShapeRef.new(shape: ProfilingGroupDescription, required: true, location_name: "profilingGroup"))
516
+ UpdateProfilingGroupResponse.struct_class = Types::UpdateProfilingGroupResponse
517
+ UpdateProfilingGroupResponse[:payload] = :profiling_group
518
+ UpdateProfilingGroupResponse[:payload_member] = UpdateProfilingGroupResponse.member(:profiling_group)
519
+
520
+ UserFeedback.add_member(:type, Shapes::ShapeRef.new(shape: FeedbackType, required: true, location_name: "type"))
521
+ UserFeedback.struct_class = Types::UserFeedback
522
+
523
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
524
+ ValidationException.struct_class = Types::ValidationException
525
+
526
+
527
+ # @api private
528
+ API = Seahorse::Model::Api.new.tap do |api|
529
+
530
+ api.version = "2019-07-18"
531
+
532
+ api.metadata = {
533
+ "apiVersion" => "2019-07-18",
534
+ "endpointPrefix" => "codeguru-profiler",
535
+ "jsonVersion" => "1.1",
536
+ "protocol" => "rest-json",
537
+ "serviceFullName" => "Amazon CodeGuru Profiler",
538
+ "serviceId" => "CodeGuruProfiler",
539
+ "signatureVersion" => "v4",
540
+ "signingName" => "codeguru-profiler",
541
+ "uid" => "codeguruprofiler-2019-07-18",
542
+ }
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
+
570
+ api.add_operation(:configure_agent, Seahorse::Model::Operation.new.tap do |o|
571
+ o.name = "ConfigureAgent"
572
+ o.http_method = "POST"
573
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/configureAgent"
574
+ o.input = Shapes::ShapeRef.new(shape: ConfigureAgentRequest)
575
+ o.output = Shapes::ShapeRef.new(shape: ConfigureAgentResponse)
576
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
577
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
578
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
579
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
580
+ end)
581
+
582
+ api.add_operation(:create_profiling_group, Seahorse::Model::Operation.new.tap do |o|
583
+ o.name = "CreateProfilingGroup"
584
+ o.http_method = "POST"
585
+ o.http_request_uri = "/profilingGroups"
586
+ o.input = Shapes::ShapeRef.new(shape: CreateProfilingGroupRequest)
587
+ o.output = Shapes::ShapeRef.new(shape: CreateProfilingGroupResponse)
588
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
589
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
590
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
591
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
592
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
593
+ end)
594
+
595
+ api.add_operation(:delete_profiling_group, Seahorse::Model::Operation.new.tap do |o|
596
+ o.name = "DeleteProfilingGroup"
597
+ o.http_method = "DELETE"
598
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}"
599
+ o.input = Shapes::ShapeRef.new(shape: DeleteProfilingGroupRequest)
600
+ o.output = Shapes::ShapeRef.new(shape: DeleteProfilingGroupResponse)
601
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
602
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
603
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
604
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
605
+ end)
606
+
607
+ api.add_operation(:describe_profiling_group, Seahorse::Model::Operation.new.tap do |o|
608
+ o.name = "DescribeProfilingGroup"
609
+ o.http_method = "GET"
610
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}"
611
+ o.input = Shapes::ShapeRef.new(shape: DescribeProfilingGroupRequest)
612
+ o.output = Shapes::ShapeRef.new(shape: DescribeProfilingGroupResponse)
613
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
614
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
615
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
616
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
617
+ end)
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
+
648
+ api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
649
+ o.name = "GetPolicy"
650
+ o.http_method = "GET"
651
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/policy"
652
+ o.input = Shapes::ShapeRef.new(shape: GetPolicyRequest)
653
+ o.output = Shapes::ShapeRef.new(shape: GetPolicyResponse)
654
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
655
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
656
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
657
+ end)
658
+
659
+ api.add_operation(:get_profile, Seahorse::Model::Operation.new.tap do |o|
660
+ o.name = "GetProfile"
661
+ o.http_method = "GET"
662
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/profile"
663
+ o.input = Shapes::ShapeRef.new(shape: GetProfileRequest)
664
+ o.output = Shapes::ShapeRef.new(shape: GetProfileResponse)
665
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
666
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
667
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
668
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
669
+ end)
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
+
701
+ api.add_operation(:list_profile_times, Seahorse::Model::Operation.new.tap do |o|
702
+ o.name = "ListProfileTimes"
703
+ o.http_method = "GET"
704
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/profileTimes"
705
+ o.input = Shapes::ShapeRef.new(shape: ListProfileTimesRequest)
706
+ o.output = Shapes::ShapeRef.new(shape: ListProfileTimesResponse)
707
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
708
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
709
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
710
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
711
+ o[:pager] = Aws::Pager.new(
712
+ limit_key: "max_results",
713
+ tokens: {
714
+ "next_token" => "next_token"
715
+ }
716
+ )
717
+ end)
718
+
719
+ api.add_operation(:list_profiling_groups, Seahorse::Model::Operation.new.tap do |o|
720
+ o.name = "ListProfilingGroups"
721
+ o.http_method = "GET"
722
+ o.http_request_uri = "/profilingGroups"
723
+ o.input = Shapes::ShapeRef.new(shape: ListProfilingGroupsRequest)
724
+ o.output = Shapes::ShapeRef.new(shape: ListProfilingGroupsResponse)
725
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
726
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
727
+ o[:pager] = Aws::Pager.new(
728
+ limit_key: "max_results",
729
+ tokens: {
730
+ "next_token" => "next_token"
731
+ }
732
+ )
733
+ end)
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
+
746
+ api.add_operation(:post_agent_profile, Seahorse::Model::Operation.new.tap do |o|
747
+ o.name = "PostAgentProfile"
748
+ o.http_method = "POST"
749
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/agentProfile"
750
+ o.input = Shapes::ShapeRef.new(shape: PostAgentProfileRequest)
751
+ o.output = Shapes::ShapeRef.new(shape: PostAgentProfileResponse)
752
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
753
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
754
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
755
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
756
+ end)
757
+
758
+ api.add_operation(:put_permission, Seahorse::Model::Operation.new.tap do |o|
759
+ o.name = "PutPermission"
760
+ o.http_method = "PUT"
761
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/policy/{actionGroup}"
762
+ o.input = Shapes::ShapeRef.new(shape: PutPermissionRequest)
763
+ o.output = Shapes::ShapeRef.new(shape: PutPermissionResponse)
764
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
765
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
766
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
767
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
768
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
769
+ end)
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
+
783
+ api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
784
+ o.name = "RemovePermission"
785
+ o.http_method = "DELETE"
786
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}/policy/{actionGroup}"
787
+ o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
788
+ o.output = Shapes::ShapeRef.new(shape: RemovePermissionResponse)
789
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
790
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
791
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
792
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
793
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
794
+ end)
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
+
830
+ api.add_operation(:update_profiling_group, Seahorse::Model::Operation.new.tap do |o|
831
+ o.name = "UpdateProfilingGroup"
832
+ o.http_method = "PUT"
833
+ o.http_request_uri = "/profilingGroups/{profilingGroupName}"
834
+ o.input = Shapes::ShapeRef.new(shape: UpdateProfilingGroupRequest)
835
+ o.output = Shapes::ShapeRef.new(shape: UpdateProfilingGroupResponse)
836
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
837
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
838
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
839
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
840
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
841
+ end)
842
+ end
843
+
844
+ end
845
+ end