aws-sdk-applicationinsights 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-applicationinsights.rb +47 -0
- data/lib/aws-sdk-applicationinsights/client.rb +906 -0
- data/lib/aws-sdk-applicationinsights/client_api.rb +503 -0
- data/lib/aws-sdk-applicationinsights/customizations.rb +0 -0
- data/lib/aws-sdk-applicationinsights/errors.rb +94 -0
- data/lib/aws-sdk-applicationinsights/resource.rb +23 -0
- data/lib/aws-sdk-applicationinsights/types.rb +882 -0
- metadata +88 -0
@@ -0,0 +1,503 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::ApplicationInsights
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AffectedResource = Shapes::StringShape.new(name: 'AffectedResource')
|
15
|
+
ApplicationComponent = Shapes::StructureShape.new(name: 'ApplicationComponent')
|
16
|
+
ApplicationComponentList = Shapes::ListShape.new(name: 'ApplicationComponentList')
|
17
|
+
ApplicationInfo = Shapes::StructureShape.new(name: 'ApplicationInfo')
|
18
|
+
ApplicationInfoList = Shapes::ListShape.new(name: 'ApplicationInfoList')
|
19
|
+
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
20
|
+
ComponentConfiguration = Shapes::StringShape.new(name: 'ComponentConfiguration')
|
21
|
+
ComponentName = Shapes::StringShape.new(name: 'ComponentName')
|
22
|
+
CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
|
23
|
+
CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
|
24
|
+
CreateComponentRequest = Shapes::StructureShape.new(name: 'CreateComponentRequest')
|
25
|
+
CreateComponentResponse = Shapes::StructureShape.new(name: 'CreateComponentResponse')
|
26
|
+
DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
|
27
|
+
DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse')
|
28
|
+
DeleteComponentRequest = Shapes::StructureShape.new(name: 'DeleteComponentRequest')
|
29
|
+
DeleteComponentResponse = Shapes::StructureShape.new(name: 'DeleteComponentResponse')
|
30
|
+
DescribeApplicationRequest = Shapes::StructureShape.new(name: 'DescribeApplicationRequest')
|
31
|
+
DescribeApplicationResponse = Shapes::StructureShape.new(name: 'DescribeApplicationResponse')
|
32
|
+
DescribeComponentConfigurationRecommendationRequest = Shapes::StructureShape.new(name: 'DescribeComponentConfigurationRecommendationRequest')
|
33
|
+
DescribeComponentConfigurationRecommendationResponse = Shapes::StructureShape.new(name: 'DescribeComponentConfigurationRecommendationResponse')
|
34
|
+
DescribeComponentConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeComponentConfigurationRequest')
|
35
|
+
DescribeComponentConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeComponentConfigurationResponse')
|
36
|
+
DescribeComponentRequest = Shapes::StructureShape.new(name: 'DescribeComponentRequest')
|
37
|
+
DescribeComponentResponse = Shapes::StructureShape.new(name: 'DescribeComponentResponse')
|
38
|
+
DescribeObservationRequest = Shapes::StructureShape.new(name: 'DescribeObservationRequest')
|
39
|
+
DescribeObservationResponse = Shapes::StructureShape.new(name: 'DescribeObservationResponse')
|
40
|
+
DescribeProblemObservationsRequest = Shapes::StructureShape.new(name: 'DescribeProblemObservationsRequest')
|
41
|
+
DescribeProblemObservationsResponse = Shapes::StructureShape.new(name: 'DescribeProblemObservationsResponse')
|
42
|
+
DescribeProblemRequest = Shapes::StructureShape.new(name: 'DescribeProblemRequest')
|
43
|
+
DescribeProblemResponse = Shapes::StructureShape.new(name: 'DescribeProblemResponse')
|
44
|
+
EndTime = Shapes::TimestampShape.new(name: 'EndTime')
|
45
|
+
ErrorMsg = Shapes::StringShape.new(name: 'ErrorMsg')
|
46
|
+
Feedback = Shapes::MapShape.new(name: 'Feedback')
|
47
|
+
FeedbackKey = Shapes::StringShape.new(name: 'FeedbackKey')
|
48
|
+
FeedbackValue = Shapes::StringShape.new(name: 'FeedbackValue')
|
49
|
+
Insights = Shapes::StringShape.new(name: 'Insights')
|
50
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
51
|
+
LifeCycle = Shapes::StringShape.new(name: 'LifeCycle')
|
52
|
+
LineTime = Shapes::TimestampShape.new(name: 'LineTime')
|
53
|
+
ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
|
54
|
+
ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
|
55
|
+
ListComponentsRequest = Shapes::StructureShape.new(name: 'ListComponentsRequest')
|
56
|
+
ListComponentsResponse = Shapes::StructureShape.new(name: 'ListComponentsResponse')
|
57
|
+
ListProblemsRequest = Shapes::StructureShape.new(name: 'ListProblemsRequest')
|
58
|
+
ListProblemsResponse = Shapes::StructureShape.new(name: 'ListProblemsResponse')
|
59
|
+
LogFilter = Shapes::StringShape.new(name: 'LogFilter')
|
60
|
+
LogGroup = Shapes::StringShape.new(name: 'LogGroup')
|
61
|
+
LogText = Shapes::StringShape.new(name: 'LogText')
|
62
|
+
MaxEntities = Shapes::IntegerShape.new(name: 'MaxEntities')
|
63
|
+
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
64
|
+
MetricNamespace = Shapes::StringShape.new(name: 'MetricNamespace')
|
65
|
+
Monitor = Shapes::BooleanShape.new(name: 'Monitor')
|
66
|
+
NewComponentName = Shapes::StringShape.new(name: 'NewComponentName')
|
67
|
+
Observation = Shapes::StructureShape.new(name: 'Observation')
|
68
|
+
ObservationId = Shapes::StringShape.new(name: 'ObservationId')
|
69
|
+
ObservationList = Shapes::ListShape.new(name: 'ObservationList')
|
70
|
+
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
71
|
+
Problem = Shapes::StructureShape.new(name: 'Problem')
|
72
|
+
ProblemId = Shapes::StringShape.new(name: 'ProblemId')
|
73
|
+
ProblemList = Shapes::ListShape.new(name: 'ProblemList')
|
74
|
+
RelatedObservations = Shapes::StructureShape.new(name: 'RelatedObservations')
|
75
|
+
Remarks = Shapes::StringShape.new(name: 'Remarks')
|
76
|
+
ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
|
77
|
+
ResourceGroupName = Shapes::StringShape.new(name: 'ResourceGroupName')
|
78
|
+
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
79
|
+
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
|
80
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
81
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
82
|
+
SeverityLevel = Shapes::StringShape.new(name: 'SeverityLevel')
|
83
|
+
SourceARN = Shapes::StringShape.new(name: 'SourceARN')
|
84
|
+
SourceType = Shapes::StringShape.new(name: 'SourceType')
|
85
|
+
StartTime = Shapes::TimestampShape.new(name: 'StartTime')
|
86
|
+
Status = Shapes::StringShape.new(name: 'Status')
|
87
|
+
Tier = Shapes::StringShape.new(name: 'Tier')
|
88
|
+
Title = Shapes::StringShape.new(name: 'Title')
|
89
|
+
Unit = Shapes::StringShape.new(name: 'Unit')
|
90
|
+
UpdateComponentConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateComponentConfigurationRequest')
|
91
|
+
UpdateComponentConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateComponentConfigurationResponse')
|
92
|
+
UpdateComponentRequest = Shapes::StructureShape.new(name: 'UpdateComponentRequest')
|
93
|
+
UpdateComponentResponse = Shapes::StructureShape.new(name: 'UpdateComponentResponse')
|
94
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
95
|
+
Value = Shapes::FloatShape.new(name: 'Value')
|
96
|
+
|
97
|
+
ApplicationComponent.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, location_name: "ComponentName"))
|
98
|
+
ApplicationComponent.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
99
|
+
ApplicationComponent.add_member(:tier, Shapes::ShapeRef.new(shape: Tier, location_name: "Tier"))
|
100
|
+
ApplicationComponent.add_member(:monitor, Shapes::ShapeRef.new(shape: Monitor, location_name: "Monitor"))
|
101
|
+
ApplicationComponent.struct_class = Types::ApplicationComponent
|
102
|
+
|
103
|
+
ApplicationComponentList.member = Shapes::ShapeRef.new(shape: ApplicationComponent)
|
104
|
+
|
105
|
+
ApplicationInfo.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
106
|
+
ApplicationInfo.add_member(:life_cycle, Shapes::ShapeRef.new(shape: LifeCycle, location_name: "LifeCycle"))
|
107
|
+
ApplicationInfo.add_member(:remarks, Shapes::ShapeRef.new(shape: Remarks, location_name: "Remarks"))
|
108
|
+
ApplicationInfo.struct_class = Types::ApplicationInfo
|
109
|
+
|
110
|
+
ApplicationInfoList.member = Shapes::ShapeRef.new(shape: ApplicationInfo)
|
111
|
+
|
112
|
+
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
|
113
|
+
BadRequestException.struct_class = Types::BadRequestException
|
114
|
+
|
115
|
+
CreateApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
116
|
+
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
117
|
+
|
118
|
+
CreateApplicationResponse.add_member(:application_info, Shapes::ShapeRef.new(shape: ApplicationInfo, location_name: "ApplicationInfo"))
|
119
|
+
CreateApplicationResponse.struct_class = Types::CreateApplicationResponse
|
120
|
+
|
121
|
+
CreateComponentRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
122
|
+
CreateComponentRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
123
|
+
CreateComponentRequest.add_member(:resource_list, Shapes::ShapeRef.new(shape: ResourceList, required: true, location_name: "ResourceList"))
|
124
|
+
CreateComponentRequest.struct_class = Types::CreateComponentRequest
|
125
|
+
|
126
|
+
CreateComponentResponse.struct_class = Types::CreateComponentResponse
|
127
|
+
|
128
|
+
DeleteApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
129
|
+
DeleteApplicationRequest.struct_class = Types::DeleteApplicationRequest
|
130
|
+
|
131
|
+
DeleteApplicationResponse.struct_class = Types::DeleteApplicationResponse
|
132
|
+
|
133
|
+
DeleteComponentRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
134
|
+
DeleteComponentRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
135
|
+
DeleteComponentRequest.struct_class = Types::DeleteComponentRequest
|
136
|
+
|
137
|
+
DeleteComponentResponse.struct_class = Types::DeleteComponentResponse
|
138
|
+
|
139
|
+
DescribeApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
140
|
+
DescribeApplicationRequest.struct_class = Types::DescribeApplicationRequest
|
141
|
+
|
142
|
+
DescribeApplicationResponse.add_member(:application_info, Shapes::ShapeRef.new(shape: ApplicationInfo, location_name: "ApplicationInfo"))
|
143
|
+
DescribeApplicationResponse.struct_class = Types::DescribeApplicationResponse
|
144
|
+
|
145
|
+
DescribeComponentConfigurationRecommendationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
146
|
+
DescribeComponentConfigurationRecommendationRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
147
|
+
DescribeComponentConfigurationRecommendationRequest.add_member(:tier, Shapes::ShapeRef.new(shape: Tier, required: true, location_name: "Tier"))
|
148
|
+
DescribeComponentConfigurationRecommendationRequest.struct_class = Types::DescribeComponentConfigurationRecommendationRequest
|
149
|
+
|
150
|
+
DescribeComponentConfigurationRecommendationResponse.add_member(:component_configuration, Shapes::ShapeRef.new(shape: ComponentConfiguration, location_name: "ComponentConfiguration"))
|
151
|
+
DescribeComponentConfigurationRecommendationResponse.struct_class = Types::DescribeComponentConfigurationRecommendationResponse
|
152
|
+
|
153
|
+
DescribeComponentConfigurationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
154
|
+
DescribeComponentConfigurationRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
155
|
+
DescribeComponentConfigurationRequest.struct_class = Types::DescribeComponentConfigurationRequest
|
156
|
+
|
157
|
+
DescribeComponentConfigurationResponse.add_member(:monitor, Shapes::ShapeRef.new(shape: Monitor, location_name: "Monitor"))
|
158
|
+
DescribeComponentConfigurationResponse.add_member(:tier, Shapes::ShapeRef.new(shape: Tier, location_name: "Tier"))
|
159
|
+
DescribeComponentConfigurationResponse.add_member(:component_configuration, Shapes::ShapeRef.new(shape: ComponentConfiguration, location_name: "ComponentConfiguration"))
|
160
|
+
DescribeComponentConfigurationResponse.struct_class = Types::DescribeComponentConfigurationResponse
|
161
|
+
|
162
|
+
DescribeComponentRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
163
|
+
DescribeComponentRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
164
|
+
DescribeComponentRequest.struct_class = Types::DescribeComponentRequest
|
165
|
+
|
166
|
+
DescribeComponentResponse.add_member(:application_component, Shapes::ShapeRef.new(shape: ApplicationComponent, location_name: "ApplicationComponent"))
|
167
|
+
DescribeComponentResponse.add_member(:resource_list, Shapes::ShapeRef.new(shape: ResourceList, location_name: "ResourceList"))
|
168
|
+
DescribeComponentResponse.struct_class = Types::DescribeComponentResponse
|
169
|
+
|
170
|
+
DescribeObservationRequest.add_member(:observation_id, Shapes::ShapeRef.new(shape: ObservationId, required: true, location_name: "ObservationId"))
|
171
|
+
DescribeObservationRequest.struct_class = Types::DescribeObservationRequest
|
172
|
+
|
173
|
+
DescribeObservationResponse.add_member(:observation, Shapes::ShapeRef.new(shape: Observation, location_name: "Observation"))
|
174
|
+
DescribeObservationResponse.struct_class = Types::DescribeObservationResponse
|
175
|
+
|
176
|
+
DescribeProblemObservationsRequest.add_member(:problem_id, Shapes::ShapeRef.new(shape: ProblemId, required: true, location_name: "ProblemId"))
|
177
|
+
DescribeProblemObservationsRequest.struct_class = Types::DescribeProblemObservationsRequest
|
178
|
+
|
179
|
+
DescribeProblemObservationsResponse.add_member(:related_observations, Shapes::ShapeRef.new(shape: RelatedObservations, location_name: "RelatedObservations"))
|
180
|
+
DescribeProblemObservationsResponse.struct_class = Types::DescribeProblemObservationsResponse
|
181
|
+
|
182
|
+
DescribeProblemRequest.add_member(:problem_id, Shapes::ShapeRef.new(shape: ProblemId, required: true, location_name: "ProblemId"))
|
183
|
+
DescribeProblemRequest.struct_class = Types::DescribeProblemRequest
|
184
|
+
|
185
|
+
DescribeProblemResponse.add_member(:problem, Shapes::ShapeRef.new(shape: Problem, location_name: "Problem"))
|
186
|
+
DescribeProblemResponse.struct_class = Types::DescribeProblemResponse
|
187
|
+
|
188
|
+
Feedback.key = Shapes::ShapeRef.new(shape: FeedbackKey)
|
189
|
+
Feedback.value = Shapes::ShapeRef.new(shape: FeedbackValue)
|
190
|
+
|
191
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
|
192
|
+
InternalServerException.struct_class = Types::InternalServerException
|
193
|
+
|
194
|
+
ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxEntities, location_name: "MaxResults"))
|
195
|
+
ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
196
|
+
ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
|
197
|
+
|
198
|
+
ListApplicationsResponse.add_member(:application_info_list, Shapes::ShapeRef.new(shape: ApplicationInfoList, location_name: "ApplicationInfoList"))
|
199
|
+
ListApplicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
200
|
+
ListApplicationsResponse.struct_class = Types::ListApplicationsResponse
|
201
|
+
|
202
|
+
ListComponentsRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
203
|
+
ListComponentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxEntities, location_name: "MaxResults"))
|
204
|
+
ListComponentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
205
|
+
ListComponentsRequest.struct_class = Types::ListComponentsRequest
|
206
|
+
|
207
|
+
ListComponentsResponse.add_member(:application_component_list, Shapes::ShapeRef.new(shape: ApplicationComponentList, location_name: "ApplicationComponentList"))
|
208
|
+
ListComponentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
209
|
+
ListComponentsResponse.struct_class = Types::ListComponentsResponse
|
210
|
+
|
211
|
+
ListProblemsRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
212
|
+
ListProblemsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, location_name: "StartTime"))
|
213
|
+
ListProblemsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "EndTime"))
|
214
|
+
ListProblemsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxEntities, location_name: "MaxResults"))
|
215
|
+
ListProblemsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
216
|
+
ListProblemsRequest.struct_class = Types::ListProblemsRequest
|
217
|
+
|
218
|
+
ListProblemsResponse.add_member(:problem_list, Shapes::ShapeRef.new(shape: ProblemList, location_name: "ProblemList"))
|
219
|
+
ListProblemsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
220
|
+
ListProblemsResponse.struct_class = Types::ListProblemsResponse
|
221
|
+
|
222
|
+
Observation.add_member(:id, Shapes::ShapeRef.new(shape: ObservationId, location_name: "Id"))
|
223
|
+
Observation.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, location_name: "StartTime"))
|
224
|
+
Observation.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "EndTime"))
|
225
|
+
Observation.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, location_name: "SourceType"))
|
226
|
+
Observation.add_member(:source_arn, Shapes::ShapeRef.new(shape: SourceARN, location_name: "SourceARN"))
|
227
|
+
Observation.add_member(:log_group, Shapes::ShapeRef.new(shape: LogGroup, location_name: "LogGroup"))
|
228
|
+
Observation.add_member(:line_time, Shapes::ShapeRef.new(shape: LineTime, location_name: "LineTime"))
|
229
|
+
Observation.add_member(:log_text, Shapes::ShapeRef.new(shape: LogText, location_name: "LogText"))
|
230
|
+
Observation.add_member(:log_filter, Shapes::ShapeRef.new(shape: LogFilter, location_name: "LogFilter"))
|
231
|
+
Observation.add_member(:metric_namespace, Shapes::ShapeRef.new(shape: MetricNamespace, location_name: "MetricNamespace"))
|
232
|
+
Observation.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, location_name: "MetricName"))
|
233
|
+
Observation.add_member(:unit, Shapes::ShapeRef.new(shape: Unit, location_name: "Unit"))
|
234
|
+
Observation.add_member(:value, Shapes::ShapeRef.new(shape: Value, location_name: "Value"))
|
235
|
+
Observation.struct_class = Types::Observation
|
236
|
+
|
237
|
+
ObservationList.member = Shapes::ShapeRef.new(shape: Observation)
|
238
|
+
|
239
|
+
Problem.add_member(:id, Shapes::ShapeRef.new(shape: ProblemId, location_name: "Id"))
|
240
|
+
Problem.add_member(:title, Shapes::ShapeRef.new(shape: Title, location_name: "Title"))
|
241
|
+
Problem.add_member(:insights, Shapes::ShapeRef.new(shape: Insights, location_name: "Insights"))
|
242
|
+
Problem.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
243
|
+
Problem.add_member(:affected_resource, Shapes::ShapeRef.new(shape: AffectedResource, location_name: "AffectedResource"))
|
244
|
+
Problem.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, location_name: "StartTime"))
|
245
|
+
Problem.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "EndTime"))
|
246
|
+
Problem.add_member(:severity_level, Shapes::ShapeRef.new(shape: SeverityLevel, location_name: "SeverityLevel"))
|
247
|
+
Problem.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
248
|
+
Problem.add_member(:feedback, Shapes::ShapeRef.new(shape: Feedback, location_name: "Feedback"))
|
249
|
+
Problem.struct_class = Types::Problem
|
250
|
+
|
251
|
+
ProblemList.member = Shapes::ShapeRef.new(shape: Problem)
|
252
|
+
|
253
|
+
RelatedObservations.add_member(:observation_list, Shapes::ShapeRef.new(shape: ObservationList, location_name: "ObservationList"))
|
254
|
+
RelatedObservations.struct_class = Types::RelatedObservations
|
255
|
+
|
256
|
+
ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
|
257
|
+
ResourceInUseException.struct_class = Types::ResourceInUseException
|
258
|
+
|
259
|
+
ResourceList.member = Shapes::ShapeRef.new(shape: ResourceARN)
|
260
|
+
|
261
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
|
262
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
263
|
+
|
264
|
+
UpdateComponentConfigurationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
265
|
+
UpdateComponentConfigurationRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
266
|
+
UpdateComponentConfigurationRequest.add_member(:monitor, Shapes::ShapeRef.new(shape: Monitor, location_name: "Monitor"))
|
267
|
+
UpdateComponentConfigurationRequest.add_member(:tier, Shapes::ShapeRef.new(shape: Tier, location_name: "Tier"))
|
268
|
+
UpdateComponentConfigurationRequest.add_member(:component_configuration, Shapes::ShapeRef.new(shape: ComponentConfiguration, location_name: "ComponentConfiguration"))
|
269
|
+
UpdateComponentConfigurationRequest.struct_class = Types::UpdateComponentConfigurationRequest
|
270
|
+
|
271
|
+
UpdateComponentConfigurationResponse.struct_class = Types::UpdateComponentConfigurationResponse
|
272
|
+
|
273
|
+
UpdateComponentRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
274
|
+
UpdateComponentRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
275
|
+
UpdateComponentRequest.add_member(:new_component_name, Shapes::ShapeRef.new(shape: NewComponentName, location_name: "NewComponentName"))
|
276
|
+
UpdateComponentRequest.add_member(:resource_list, Shapes::ShapeRef.new(shape: ResourceList, location_name: "ResourceList"))
|
277
|
+
UpdateComponentRequest.struct_class = Types::UpdateComponentRequest
|
278
|
+
|
279
|
+
UpdateComponentResponse.struct_class = Types::UpdateComponentResponse
|
280
|
+
|
281
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
|
282
|
+
ValidationException.struct_class = Types::ValidationException
|
283
|
+
|
284
|
+
|
285
|
+
# @api private
|
286
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
287
|
+
|
288
|
+
api.version = "2018-11-25"
|
289
|
+
|
290
|
+
api.metadata = {
|
291
|
+
"apiVersion" => "2018-11-25",
|
292
|
+
"endpointPrefix" => "applicationinsights",
|
293
|
+
"jsonVersion" => "1.1",
|
294
|
+
"protocol" => "json",
|
295
|
+
"serviceAbbreviation" => "Application Insights",
|
296
|
+
"serviceFullName" => "Amazon CloudWatch Application Insights",
|
297
|
+
"serviceId" => "Application Insights",
|
298
|
+
"signatureVersion" => "v4",
|
299
|
+
"signingName" => "applicationinsights",
|
300
|
+
"targetPrefix" => "EC2WindowsBarleyService",
|
301
|
+
"uid" => "application-insights-2018-11-25",
|
302
|
+
}
|
303
|
+
|
304
|
+
api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
|
305
|
+
o.name = "CreateApplication"
|
306
|
+
o.http_method = "POST"
|
307
|
+
o.http_request_uri = "/"
|
308
|
+
o.input = Shapes::ShapeRef.new(shape: CreateApplicationRequest)
|
309
|
+
o.output = Shapes::ShapeRef.new(shape: CreateApplicationResponse)
|
310
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
311
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
312
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
313
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
314
|
+
end)
|
315
|
+
|
316
|
+
api.add_operation(:create_component, Seahorse::Model::Operation.new.tap do |o|
|
317
|
+
o.name = "CreateComponent"
|
318
|
+
o.http_method = "POST"
|
319
|
+
o.http_request_uri = "/"
|
320
|
+
o.input = Shapes::ShapeRef.new(shape: CreateComponentRequest)
|
321
|
+
o.output = Shapes::ShapeRef.new(shape: CreateComponentResponse)
|
322
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
323
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
324
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
325
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
326
|
+
end)
|
327
|
+
|
328
|
+
api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
|
329
|
+
o.name = "DeleteApplication"
|
330
|
+
o.http_method = "POST"
|
331
|
+
o.http_request_uri = "/"
|
332
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteApplicationRequest)
|
333
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteApplicationResponse)
|
334
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
336
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
337
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
338
|
+
end)
|
339
|
+
|
340
|
+
api.add_operation(:delete_component, Seahorse::Model::Operation.new.tap do |o|
|
341
|
+
o.name = "DeleteComponent"
|
342
|
+
o.http_method = "POST"
|
343
|
+
o.http_request_uri = "/"
|
344
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteComponentRequest)
|
345
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteComponentResponse)
|
346
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
347
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
348
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
349
|
+
end)
|
350
|
+
|
351
|
+
api.add_operation(:describe_application, Seahorse::Model::Operation.new.tap do |o|
|
352
|
+
o.name = "DescribeApplication"
|
353
|
+
o.http_method = "POST"
|
354
|
+
o.http_request_uri = "/"
|
355
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeApplicationRequest)
|
356
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeApplicationResponse)
|
357
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
358
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
360
|
+
end)
|
361
|
+
|
362
|
+
api.add_operation(:describe_component, Seahorse::Model::Operation.new.tap do |o|
|
363
|
+
o.name = "DescribeComponent"
|
364
|
+
o.http_method = "POST"
|
365
|
+
o.http_request_uri = "/"
|
366
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeComponentRequest)
|
367
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeComponentResponse)
|
368
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
369
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
370
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
371
|
+
end)
|
372
|
+
|
373
|
+
api.add_operation(:describe_component_configuration, Seahorse::Model::Operation.new.tap do |o|
|
374
|
+
o.name = "DescribeComponentConfiguration"
|
375
|
+
o.http_method = "POST"
|
376
|
+
o.http_request_uri = "/"
|
377
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeComponentConfigurationRequest)
|
378
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeComponentConfigurationResponse)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
382
|
+
end)
|
383
|
+
|
384
|
+
api.add_operation(:describe_component_configuration_recommendation, Seahorse::Model::Operation.new.tap do |o|
|
385
|
+
o.name = "DescribeComponentConfigurationRecommendation"
|
386
|
+
o.http_method = "POST"
|
387
|
+
o.http_request_uri = "/"
|
388
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeComponentConfigurationRecommendationRequest)
|
389
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeComponentConfigurationRecommendationResponse)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
393
|
+
end)
|
394
|
+
|
395
|
+
api.add_operation(:describe_observation, Seahorse::Model::Operation.new.tap do |o|
|
396
|
+
o.name = "DescribeObservation"
|
397
|
+
o.http_method = "POST"
|
398
|
+
o.http_request_uri = "/"
|
399
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeObservationRequest)
|
400
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeObservationResponse)
|
401
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
403
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
404
|
+
end)
|
405
|
+
|
406
|
+
api.add_operation(:describe_problem, Seahorse::Model::Operation.new.tap do |o|
|
407
|
+
o.name = "DescribeProblem"
|
408
|
+
o.http_method = "POST"
|
409
|
+
o.http_request_uri = "/"
|
410
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeProblemRequest)
|
411
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeProblemResponse)
|
412
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
415
|
+
end)
|
416
|
+
|
417
|
+
api.add_operation(:describe_problem_observations, Seahorse::Model::Operation.new.tap do |o|
|
418
|
+
o.name = "DescribeProblemObservations"
|
419
|
+
o.http_method = "POST"
|
420
|
+
o.http_request_uri = "/"
|
421
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeProblemObservationsRequest)
|
422
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeProblemObservationsResponse)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
424
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
425
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
426
|
+
end)
|
427
|
+
|
428
|
+
api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
|
429
|
+
o.name = "ListApplications"
|
430
|
+
o.http_method = "POST"
|
431
|
+
o.http_request_uri = "/"
|
432
|
+
o.input = Shapes::ShapeRef.new(shape: ListApplicationsRequest)
|
433
|
+
o.output = Shapes::ShapeRef.new(shape: ListApplicationsResponse)
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
436
|
+
o[:pager] = Aws::Pager.new(
|
437
|
+
limit_key: "max_results",
|
438
|
+
tokens: {
|
439
|
+
"next_token" => "next_token"
|
440
|
+
}
|
441
|
+
)
|
442
|
+
end)
|
443
|
+
|
444
|
+
api.add_operation(:list_components, Seahorse::Model::Operation.new.tap do |o|
|
445
|
+
o.name = "ListComponents"
|
446
|
+
o.http_method = "POST"
|
447
|
+
o.http_request_uri = "/"
|
448
|
+
o.input = Shapes::ShapeRef.new(shape: ListComponentsRequest)
|
449
|
+
o.output = Shapes::ShapeRef.new(shape: ListComponentsResponse)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
453
|
+
o[:pager] = Aws::Pager.new(
|
454
|
+
limit_key: "max_results",
|
455
|
+
tokens: {
|
456
|
+
"next_token" => "next_token"
|
457
|
+
}
|
458
|
+
)
|
459
|
+
end)
|
460
|
+
|
461
|
+
api.add_operation(:list_problems, Seahorse::Model::Operation.new.tap do |o|
|
462
|
+
o.name = "ListProblems"
|
463
|
+
o.http_method = "POST"
|
464
|
+
o.http_request_uri = "/"
|
465
|
+
o.input = Shapes::ShapeRef.new(shape: ListProblemsRequest)
|
466
|
+
o.output = Shapes::ShapeRef.new(shape: ListProblemsResponse)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
470
|
+
o[:pager] = Aws::Pager.new(
|
471
|
+
limit_key: "max_results",
|
472
|
+
tokens: {
|
473
|
+
"next_token" => "next_token"
|
474
|
+
}
|
475
|
+
)
|
476
|
+
end)
|
477
|
+
|
478
|
+
api.add_operation(:update_component, Seahorse::Model::Operation.new.tap do |o|
|
479
|
+
o.name = "UpdateComponent"
|
480
|
+
o.http_method = "POST"
|
481
|
+
o.http_request_uri = "/"
|
482
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateComponentRequest)
|
483
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateComponentResponse)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
488
|
+
end)
|
489
|
+
|
490
|
+
api.add_operation(:update_component_configuration, Seahorse::Model::Operation.new.tap do |o|
|
491
|
+
o.name = "UpdateComponentConfiguration"
|
492
|
+
o.http_method = "POST"
|
493
|
+
o.http_request_uri = "/"
|
494
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateComponentConfigurationRequest)
|
495
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateComponentConfigurationResponse)
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
499
|
+
end)
|
500
|
+
end
|
501
|
+
|
502
|
+
end
|
503
|
+
end
|