aws-sdk-applicationinsights 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
File without changes
|
@@ -0,0 +1,94 @@
|
|
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
|
+
module Errors
|
10
|
+
|
11
|
+
extend Aws::Errors::DynamicErrors
|
12
|
+
|
13
|
+
class BadRequestException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::ApplicationInsights::Types::BadRequestException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class InternalServerException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::ApplicationInsights::Types::InternalServerException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class ResourceInUseException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::ApplicationInsights::Types::ResourceInUseException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class ResourceNotFoundException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::ApplicationInsights::Types::ResourceNotFoundException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def message
|
72
|
+
@message || @data[:message]
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
class ValidationException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::ApplicationInsights::Types::ValidationException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
93
|
+
end
|
94
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::ApplicationInsights
|
9
|
+
class Resource
|
10
|
+
|
11
|
+
# @param options ({})
|
12
|
+
# @option options [Client] :client
|
13
|
+
def initialize(options = {})
|
14
|
+
@client = options[:client] || Client.new(options)
|
15
|
+
end
|
16
|
+
|
17
|
+
# @return [Client]
|
18
|
+
def client
|
19
|
+
@client
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,882 @@
|
|
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
|
+
module Types
|
10
|
+
|
11
|
+
# Describes a standalone resource or similarly grouped resources that
|
12
|
+
# the application is made up of.
|
13
|
+
#
|
14
|
+
# @!attribute [rw] component_name
|
15
|
+
# The name of the component.
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute [rw] resource_type
|
19
|
+
# The resource type. Supported resource types include EC2 instances,
|
20
|
+
# Auto Scaling group, Classic ELB, Application ELB, and SQS Queue.
|
21
|
+
# @return [String]
|
22
|
+
#
|
23
|
+
# @!attribute [rw] tier
|
24
|
+
# The stack tier of the application component.
|
25
|
+
# @return [String]
|
26
|
+
#
|
27
|
+
# @!attribute [rw] monitor
|
28
|
+
# Indicates whether the application component is monitored.
|
29
|
+
# @return [Boolean]
|
30
|
+
#
|
31
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ApplicationComponent AWS API Documentation
|
32
|
+
#
|
33
|
+
class ApplicationComponent < Struct.new(
|
34
|
+
:component_name,
|
35
|
+
:resource_type,
|
36
|
+
:tier,
|
37
|
+
:monitor)
|
38
|
+
include Aws::Structure
|
39
|
+
end
|
40
|
+
|
41
|
+
# Describes the status of the application.
|
42
|
+
#
|
43
|
+
# @!attribute [rw] resource_group_name
|
44
|
+
# The name of the resource group used for the application.
|
45
|
+
# @return [String]
|
46
|
+
#
|
47
|
+
# @!attribute [rw] life_cycle
|
48
|
+
# The lifecycle of the application.
|
49
|
+
# @return [String]
|
50
|
+
#
|
51
|
+
# @!attribute [rw] remarks
|
52
|
+
# The issues on the user side that are blocking Application Insights
|
53
|
+
# from fully monitoring the application.
|
54
|
+
# @return [String]
|
55
|
+
#
|
56
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ApplicationInfo AWS API Documentation
|
57
|
+
#
|
58
|
+
class ApplicationInfo < Struct.new(
|
59
|
+
:resource_group_name,
|
60
|
+
:life_cycle,
|
61
|
+
:remarks)
|
62
|
+
include Aws::Structure
|
63
|
+
end
|
64
|
+
|
65
|
+
# The request is not understood by the server.
|
66
|
+
#
|
67
|
+
# @!attribute [rw] message
|
68
|
+
# @return [String]
|
69
|
+
#
|
70
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/BadRequestException AWS API Documentation
|
71
|
+
#
|
72
|
+
class BadRequestException < Struct.new(
|
73
|
+
:message)
|
74
|
+
include Aws::Structure
|
75
|
+
end
|
76
|
+
|
77
|
+
# @note When making an API call, you may pass CreateApplicationRequest
|
78
|
+
# data as a hash:
|
79
|
+
#
|
80
|
+
# {
|
81
|
+
# resource_group_name: "ResourceGroupName", # required
|
82
|
+
# }
|
83
|
+
#
|
84
|
+
# @!attribute [rw] resource_group_name
|
85
|
+
# The name of the resource group.
|
86
|
+
# @return [String]
|
87
|
+
#
|
88
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplicationRequest AWS API Documentation
|
89
|
+
#
|
90
|
+
class CreateApplicationRequest < Struct.new(
|
91
|
+
:resource_group_name)
|
92
|
+
include Aws::Structure
|
93
|
+
end
|
94
|
+
|
95
|
+
# @!attribute [rw] application_info
|
96
|
+
# Information about the application.
|
97
|
+
# @return [Types::ApplicationInfo]
|
98
|
+
#
|
99
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplicationResponse AWS API Documentation
|
100
|
+
#
|
101
|
+
class CreateApplicationResponse < Struct.new(
|
102
|
+
:application_info)
|
103
|
+
include Aws::Structure
|
104
|
+
end
|
105
|
+
|
106
|
+
# @note When making an API call, you may pass CreateComponentRequest
|
107
|
+
# data as a hash:
|
108
|
+
#
|
109
|
+
# {
|
110
|
+
# resource_group_name: "ResourceGroupName", # required
|
111
|
+
# component_name: "ComponentName", # required
|
112
|
+
# resource_list: ["ResourceARN"], # required
|
113
|
+
# }
|
114
|
+
#
|
115
|
+
# @!attribute [rw] resource_group_name
|
116
|
+
# The name of the resource group.
|
117
|
+
# @return [String]
|
118
|
+
#
|
119
|
+
# @!attribute [rw] component_name
|
120
|
+
# The name of the component.
|
121
|
+
# @return [String]
|
122
|
+
#
|
123
|
+
# @!attribute [rw] resource_list
|
124
|
+
# The list of resource ARNs that belong to the component.
|
125
|
+
# @return [Array<String>]
|
126
|
+
#
|
127
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateComponentRequest AWS API Documentation
|
128
|
+
#
|
129
|
+
class CreateComponentRequest < Struct.new(
|
130
|
+
:resource_group_name,
|
131
|
+
:component_name,
|
132
|
+
:resource_list)
|
133
|
+
include Aws::Structure
|
134
|
+
end
|
135
|
+
|
136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateComponentResponse AWS API Documentation
|
137
|
+
#
|
138
|
+
class CreateComponentResponse < Aws::EmptyStructure; end
|
139
|
+
|
140
|
+
# @note When making an API call, you may pass DeleteApplicationRequest
|
141
|
+
# data as a hash:
|
142
|
+
#
|
143
|
+
# {
|
144
|
+
# resource_group_name: "ResourceGroupName", # required
|
145
|
+
# }
|
146
|
+
#
|
147
|
+
# @!attribute [rw] resource_group_name
|
148
|
+
# The name of the resource group.
|
149
|
+
# @return [String]
|
150
|
+
#
|
151
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteApplicationRequest AWS API Documentation
|
152
|
+
#
|
153
|
+
class DeleteApplicationRequest < Struct.new(
|
154
|
+
:resource_group_name)
|
155
|
+
include Aws::Structure
|
156
|
+
end
|
157
|
+
|
158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteApplicationResponse AWS API Documentation
|
159
|
+
#
|
160
|
+
class DeleteApplicationResponse < Aws::EmptyStructure; end
|
161
|
+
|
162
|
+
# @note When making an API call, you may pass DeleteComponentRequest
|
163
|
+
# data as a hash:
|
164
|
+
#
|
165
|
+
# {
|
166
|
+
# resource_group_name: "ResourceGroupName", # required
|
167
|
+
# component_name: "ComponentName", # required
|
168
|
+
# }
|
169
|
+
#
|
170
|
+
# @!attribute [rw] resource_group_name
|
171
|
+
# The name of the resource group.
|
172
|
+
# @return [String]
|
173
|
+
#
|
174
|
+
# @!attribute [rw] component_name
|
175
|
+
# The name of the component.
|
176
|
+
# @return [String]
|
177
|
+
#
|
178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteComponentRequest AWS API Documentation
|
179
|
+
#
|
180
|
+
class DeleteComponentRequest < Struct.new(
|
181
|
+
:resource_group_name,
|
182
|
+
:component_name)
|
183
|
+
include Aws::Structure
|
184
|
+
end
|
185
|
+
|
186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteComponentResponse AWS API Documentation
|
187
|
+
#
|
188
|
+
class DeleteComponentResponse < Aws::EmptyStructure; end
|
189
|
+
|
190
|
+
# @note When making an API call, you may pass DescribeApplicationRequest
|
191
|
+
# data as a hash:
|
192
|
+
#
|
193
|
+
# {
|
194
|
+
# resource_group_name: "ResourceGroupName", # required
|
195
|
+
# }
|
196
|
+
#
|
197
|
+
# @!attribute [rw] resource_group_name
|
198
|
+
# The name of the resource group.
|
199
|
+
# @return [String]
|
200
|
+
#
|
201
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplicationRequest AWS API Documentation
|
202
|
+
#
|
203
|
+
class DescribeApplicationRequest < Struct.new(
|
204
|
+
:resource_group_name)
|
205
|
+
include Aws::Structure
|
206
|
+
end
|
207
|
+
|
208
|
+
# @!attribute [rw] application_info
|
209
|
+
# Information about the application.
|
210
|
+
# @return [Types::ApplicationInfo]
|
211
|
+
#
|
212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplicationResponse AWS API Documentation
|
213
|
+
#
|
214
|
+
class DescribeApplicationResponse < Struct.new(
|
215
|
+
:application_info)
|
216
|
+
include Aws::Structure
|
217
|
+
end
|
218
|
+
|
219
|
+
# @note When making an API call, you may pass DescribeComponentConfigurationRecommendationRequest
|
220
|
+
# data as a hash:
|
221
|
+
#
|
222
|
+
# {
|
223
|
+
# resource_group_name: "ResourceGroupName", # required
|
224
|
+
# component_name: "ComponentName", # required
|
225
|
+
# tier: "Tier", # required
|
226
|
+
# }
|
227
|
+
#
|
228
|
+
# @!attribute [rw] resource_group_name
|
229
|
+
# The name of the resource group.
|
230
|
+
# @return [String]
|
231
|
+
#
|
232
|
+
# @!attribute [rw] component_name
|
233
|
+
# The name of the component.
|
234
|
+
# @return [String]
|
235
|
+
#
|
236
|
+
# @!attribute [rw] tier
|
237
|
+
# The tier of the application component. Supported tiers include
|
238
|
+
# `DOT_NET_WORKER`, `DOT_NET_WEB_TIER`, `SQL_SERVER`, and `DEFAULT`.
|
239
|
+
# @return [String]
|
240
|
+
#
|
241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfigurationRecommendationRequest AWS API Documentation
|
242
|
+
#
|
243
|
+
class DescribeComponentConfigurationRecommendationRequest < Struct.new(
|
244
|
+
:resource_group_name,
|
245
|
+
:component_name,
|
246
|
+
:tier)
|
247
|
+
include Aws::Structure
|
248
|
+
end
|
249
|
+
|
250
|
+
# @!attribute [rw] component_configuration
|
251
|
+
# The recommended configuration settings of the component. The value
|
252
|
+
# is the escaped JSON of the configuration.
|
253
|
+
# @return [String]
|
254
|
+
#
|
255
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfigurationRecommendationResponse AWS API Documentation
|
256
|
+
#
|
257
|
+
class DescribeComponentConfigurationRecommendationResponse < Struct.new(
|
258
|
+
:component_configuration)
|
259
|
+
include Aws::Structure
|
260
|
+
end
|
261
|
+
|
262
|
+
# @note When making an API call, you may pass DescribeComponentConfigurationRequest
|
263
|
+
# data as a hash:
|
264
|
+
#
|
265
|
+
# {
|
266
|
+
# resource_group_name: "ResourceGroupName", # required
|
267
|
+
# component_name: "ComponentName", # required
|
268
|
+
# }
|
269
|
+
#
|
270
|
+
# @!attribute [rw] resource_group_name
|
271
|
+
# The name of the resource group.
|
272
|
+
# @return [String]
|
273
|
+
#
|
274
|
+
# @!attribute [rw] component_name
|
275
|
+
# The name of the component.
|
276
|
+
# @return [String]
|
277
|
+
#
|
278
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfigurationRequest AWS API Documentation
|
279
|
+
#
|
280
|
+
class DescribeComponentConfigurationRequest < Struct.new(
|
281
|
+
:resource_group_name,
|
282
|
+
:component_name)
|
283
|
+
include Aws::Structure
|
284
|
+
end
|
285
|
+
|
286
|
+
# @!attribute [rw] monitor
|
287
|
+
# Indicates whether the application component is monitored.
|
288
|
+
# @return [Boolean]
|
289
|
+
#
|
290
|
+
# @!attribute [rw] tier
|
291
|
+
# The tier of the application component. Supported tiers include
|
292
|
+
# `DOT_NET_WORKER`, `DOT_NET_WEB_TIER`, `SQL_SERVER`, and `DEFAULT`
|
293
|
+
# @return [String]
|
294
|
+
#
|
295
|
+
# @!attribute [rw] component_configuration
|
296
|
+
# The configuration settings of the component. The value is the
|
297
|
+
# escaped JSON of the configuration.
|
298
|
+
# @return [String]
|
299
|
+
#
|
300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfigurationResponse AWS API Documentation
|
301
|
+
#
|
302
|
+
class DescribeComponentConfigurationResponse < Struct.new(
|
303
|
+
:monitor,
|
304
|
+
:tier,
|
305
|
+
:component_configuration)
|
306
|
+
include Aws::Structure
|
307
|
+
end
|
308
|
+
|
309
|
+
# @note When making an API call, you may pass DescribeComponentRequest
|
310
|
+
# data as a hash:
|
311
|
+
#
|
312
|
+
# {
|
313
|
+
# resource_group_name: "ResourceGroupName", # required
|
314
|
+
# component_name: "ComponentName", # required
|
315
|
+
# }
|
316
|
+
#
|
317
|
+
# @!attribute [rw] resource_group_name
|
318
|
+
# The name of the resource group.
|
319
|
+
# @return [String]
|
320
|
+
#
|
321
|
+
# @!attribute [rw] component_name
|
322
|
+
# The name of the component.
|
323
|
+
# @return [String]
|
324
|
+
#
|
325
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentRequest AWS API Documentation
|
326
|
+
#
|
327
|
+
class DescribeComponentRequest < Struct.new(
|
328
|
+
:resource_group_name,
|
329
|
+
:component_name)
|
330
|
+
include Aws::Structure
|
331
|
+
end
|
332
|
+
|
333
|
+
# @!attribute [rw] application_component
|
334
|
+
# Describes a standalone resource or similarly grouped resources that
|
335
|
+
# the application is made up of.
|
336
|
+
# @return [Types::ApplicationComponent]
|
337
|
+
#
|
338
|
+
# @!attribute [rw] resource_list
|
339
|
+
# The list of resource ARNs that belong to the component.
|
340
|
+
# @return [Array<String>]
|
341
|
+
#
|
342
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentResponse AWS API Documentation
|
343
|
+
#
|
344
|
+
class DescribeComponentResponse < Struct.new(
|
345
|
+
:application_component,
|
346
|
+
:resource_list)
|
347
|
+
include Aws::Structure
|
348
|
+
end
|
349
|
+
|
350
|
+
# @note When making an API call, you may pass DescribeObservationRequest
|
351
|
+
# data as a hash:
|
352
|
+
#
|
353
|
+
# {
|
354
|
+
# observation_id: "ObservationId", # required
|
355
|
+
# }
|
356
|
+
#
|
357
|
+
# @!attribute [rw] observation_id
|
358
|
+
# The ID of the observation.
|
359
|
+
# @return [String]
|
360
|
+
#
|
361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeObservationRequest AWS API Documentation
|
362
|
+
#
|
363
|
+
class DescribeObservationRequest < Struct.new(
|
364
|
+
:observation_id)
|
365
|
+
include Aws::Structure
|
366
|
+
end
|
367
|
+
|
368
|
+
# @!attribute [rw] observation
|
369
|
+
# Information about the observation.
|
370
|
+
# @return [Types::Observation]
|
371
|
+
#
|
372
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeObservationResponse AWS API Documentation
|
373
|
+
#
|
374
|
+
class DescribeObservationResponse < Struct.new(
|
375
|
+
:observation)
|
376
|
+
include Aws::Structure
|
377
|
+
end
|
378
|
+
|
379
|
+
# @note When making an API call, you may pass DescribeProblemObservationsRequest
|
380
|
+
# data as a hash:
|
381
|
+
#
|
382
|
+
# {
|
383
|
+
# problem_id: "ProblemId", # required
|
384
|
+
# }
|
385
|
+
#
|
386
|
+
# @!attribute [rw] problem_id
|
387
|
+
# The ID of the problem.
|
388
|
+
# @return [String]
|
389
|
+
#
|
390
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemObservationsRequest AWS API Documentation
|
391
|
+
#
|
392
|
+
class DescribeProblemObservationsRequest < Struct.new(
|
393
|
+
:problem_id)
|
394
|
+
include Aws::Structure
|
395
|
+
end
|
396
|
+
|
397
|
+
# @!attribute [rw] related_observations
|
398
|
+
# Observations related to the problem.
|
399
|
+
# @return [Types::RelatedObservations]
|
400
|
+
#
|
401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemObservationsResponse AWS API Documentation
|
402
|
+
#
|
403
|
+
class DescribeProblemObservationsResponse < Struct.new(
|
404
|
+
:related_observations)
|
405
|
+
include Aws::Structure
|
406
|
+
end
|
407
|
+
|
408
|
+
# @note When making an API call, you may pass DescribeProblemRequest
|
409
|
+
# data as a hash:
|
410
|
+
#
|
411
|
+
# {
|
412
|
+
# problem_id: "ProblemId", # required
|
413
|
+
# }
|
414
|
+
#
|
415
|
+
# @!attribute [rw] problem_id
|
416
|
+
# The ID of the problem.
|
417
|
+
# @return [String]
|
418
|
+
#
|
419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemRequest AWS API Documentation
|
420
|
+
#
|
421
|
+
class DescribeProblemRequest < Struct.new(
|
422
|
+
:problem_id)
|
423
|
+
include Aws::Structure
|
424
|
+
end
|
425
|
+
|
426
|
+
# @!attribute [rw] problem
|
427
|
+
# Information about the problem.
|
428
|
+
# @return [Types::Problem]
|
429
|
+
#
|
430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemResponse AWS API Documentation
|
431
|
+
#
|
432
|
+
class DescribeProblemResponse < Struct.new(
|
433
|
+
:problem)
|
434
|
+
include Aws::Structure
|
435
|
+
end
|
436
|
+
|
437
|
+
# The server encountered an internal error and is unable to complete the
|
438
|
+
# request.
|
439
|
+
#
|
440
|
+
# @!attribute [rw] message
|
441
|
+
# @return [String]
|
442
|
+
#
|
443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/InternalServerException AWS API Documentation
|
444
|
+
#
|
445
|
+
class InternalServerException < Struct.new(
|
446
|
+
:message)
|
447
|
+
include Aws::Structure
|
448
|
+
end
|
449
|
+
|
450
|
+
# @note When making an API call, you may pass ListApplicationsRequest
|
451
|
+
# data as a hash:
|
452
|
+
#
|
453
|
+
# {
|
454
|
+
# max_results: 1,
|
455
|
+
# next_token: "PaginationToken",
|
456
|
+
# }
|
457
|
+
#
|
458
|
+
# @!attribute [rw] max_results
|
459
|
+
# The maximum number of results to return in a single call. To
|
460
|
+
# retrieve the remaining results, make another call with the returned
|
461
|
+
# `NextToken` value.
|
462
|
+
# @return [Integer]
|
463
|
+
#
|
464
|
+
# @!attribute [rw] next_token
|
465
|
+
# The token to request the next page of results.
|
466
|
+
# @return [String]
|
467
|
+
#
|
468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplicationsRequest AWS API Documentation
|
469
|
+
#
|
470
|
+
class ListApplicationsRequest < Struct.new(
|
471
|
+
:max_results,
|
472
|
+
:next_token)
|
473
|
+
include Aws::Structure
|
474
|
+
end
|
475
|
+
|
476
|
+
# @!attribute [rw] application_info_list
|
477
|
+
# The list of applications.
|
478
|
+
# @return [Array<Types::ApplicationInfo>]
|
479
|
+
#
|
480
|
+
# @!attribute [rw] next_token
|
481
|
+
# The token used to retrieve the next page of results. This value is
|
482
|
+
# `null` when there are no more results to return.
|
483
|
+
# @return [String]
|
484
|
+
#
|
485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplicationsResponse AWS API Documentation
|
486
|
+
#
|
487
|
+
class ListApplicationsResponse < Struct.new(
|
488
|
+
:application_info_list,
|
489
|
+
:next_token)
|
490
|
+
include Aws::Structure
|
491
|
+
end
|
492
|
+
|
493
|
+
# @note When making an API call, you may pass ListComponentsRequest
|
494
|
+
# data as a hash:
|
495
|
+
#
|
496
|
+
# {
|
497
|
+
# resource_group_name: "ResourceGroupName", # required
|
498
|
+
# max_results: 1,
|
499
|
+
# next_token: "PaginationToken",
|
500
|
+
# }
|
501
|
+
#
|
502
|
+
# @!attribute [rw] resource_group_name
|
503
|
+
# The name of the resource group.
|
504
|
+
# @return [String]
|
505
|
+
#
|
506
|
+
# @!attribute [rw] max_results
|
507
|
+
# The maximum number of results to return in a single call. To
|
508
|
+
# retrieve the remaining results, make another call with the returned
|
509
|
+
# `NextToken` value.
|
510
|
+
# @return [Integer]
|
511
|
+
#
|
512
|
+
# @!attribute [rw] next_token
|
513
|
+
# The token to request the next page of results.
|
514
|
+
# @return [String]
|
515
|
+
#
|
516
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListComponentsRequest AWS API Documentation
|
517
|
+
#
|
518
|
+
class ListComponentsRequest < Struct.new(
|
519
|
+
:resource_group_name,
|
520
|
+
:max_results,
|
521
|
+
:next_token)
|
522
|
+
include Aws::Structure
|
523
|
+
end
|
524
|
+
|
525
|
+
# @!attribute [rw] application_component_list
|
526
|
+
# The list of application components.
|
527
|
+
# @return [Array<Types::ApplicationComponent>]
|
528
|
+
#
|
529
|
+
# @!attribute [rw] next_token
|
530
|
+
# The token to request the next page of results.
|
531
|
+
# @return [String]
|
532
|
+
#
|
533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListComponentsResponse AWS API Documentation
|
534
|
+
#
|
535
|
+
class ListComponentsResponse < Struct.new(
|
536
|
+
:application_component_list,
|
537
|
+
:next_token)
|
538
|
+
include Aws::Structure
|
539
|
+
end
|
540
|
+
|
541
|
+
# @note When making an API call, you may pass ListProblemsRequest
|
542
|
+
# data as a hash:
|
543
|
+
#
|
544
|
+
# {
|
545
|
+
# resource_group_name: "ResourceGroupName",
|
546
|
+
# start_time: Time.now,
|
547
|
+
# end_time: Time.now,
|
548
|
+
# max_results: 1,
|
549
|
+
# next_token: "PaginationToken",
|
550
|
+
# }
|
551
|
+
#
|
552
|
+
# @!attribute [rw] resource_group_name
|
553
|
+
# The name of the resource group.
|
554
|
+
# @return [String]
|
555
|
+
#
|
556
|
+
# @!attribute [rw] start_time
|
557
|
+
# The time when the problem was detected, in epoch seconds. If you
|
558
|
+
# don't specify a time frame for the request, problems within the
|
559
|
+
# past seven days are returned.
|
560
|
+
# @return [Time]
|
561
|
+
#
|
562
|
+
# @!attribute [rw] end_time
|
563
|
+
# The time when the problem ended, in epoch seconds. If not specified,
|
564
|
+
# problems within the past seven days are returned.
|
565
|
+
# @return [Time]
|
566
|
+
#
|
567
|
+
# @!attribute [rw] max_results
|
568
|
+
# The maximum number of results to return in a single call. To
|
569
|
+
# retrieve the remaining results, make another call with the returned
|
570
|
+
# `NextToken` value.
|
571
|
+
# @return [Integer]
|
572
|
+
#
|
573
|
+
# @!attribute [rw] next_token
|
574
|
+
# The token to request the next page of results.
|
575
|
+
# @return [String]
|
576
|
+
#
|
577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblemsRequest AWS API Documentation
|
578
|
+
#
|
579
|
+
class ListProblemsRequest < Struct.new(
|
580
|
+
:resource_group_name,
|
581
|
+
:start_time,
|
582
|
+
:end_time,
|
583
|
+
:max_results,
|
584
|
+
:next_token)
|
585
|
+
include Aws::Structure
|
586
|
+
end
|
587
|
+
|
588
|
+
# @!attribute [rw] problem_list
|
589
|
+
# The list of problems.
|
590
|
+
# @return [Array<Types::Problem>]
|
591
|
+
#
|
592
|
+
# @!attribute [rw] next_token
|
593
|
+
# The token used to retrieve the next page of results. This value is
|
594
|
+
# `null` when there are no more results to return.
|
595
|
+
# @return [String]
|
596
|
+
#
|
597
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblemsResponse AWS API Documentation
|
598
|
+
#
|
599
|
+
class ListProblemsResponse < Struct.new(
|
600
|
+
:problem_list,
|
601
|
+
:next_token)
|
602
|
+
include Aws::Structure
|
603
|
+
end
|
604
|
+
|
605
|
+
# Describes an anomaly or error with the application.
|
606
|
+
#
|
607
|
+
# @!attribute [rw] id
|
608
|
+
# The ID of the observation type.
|
609
|
+
# @return [String]
|
610
|
+
#
|
611
|
+
# @!attribute [rw] start_time
|
612
|
+
# The time when the observation was first detected, in epoch seconds.
|
613
|
+
# @return [Time]
|
614
|
+
#
|
615
|
+
# @!attribute [rw] end_time
|
616
|
+
# The time when the observation ended, in epoch seconds.
|
617
|
+
# @return [Time]
|
618
|
+
#
|
619
|
+
# @!attribute [rw] source_type
|
620
|
+
# The source type of the observation.
|
621
|
+
# @return [String]
|
622
|
+
#
|
623
|
+
# @!attribute [rw] source_arn
|
624
|
+
# The source resource ARN of the observation.
|
625
|
+
# @return [String]
|
626
|
+
#
|
627
|
+
# @!attribute [rw] log_group
|
628
|
+
# The log group name.
|
629
|
+
# @return [String]
|
630
|
+
#
|
631
|
+
# @!attribute [rw] line_time
|
632
|
+
# The timestamp in the CloudWatch Logs that specifies when the matched
|
633
|
+
# line occurred.
|
634
|
+
# @return [Time]
|
635
|
+
#
|
636
|
+
# @!attribute [rw] log_text
|
637
|
+
# The log text of the observation.
|
638
|
+
# @return [String]
|
639
|
+
#
|
640
|
+
# @!attribute [rw] log_filter
|
641
|
+
# The log filter of the observation.
|
642
|
+
# @return [String]
|
643
|
+
#
|
644
|
+
# @!attribute [rw] metric_namespace
|
645
|
+
# The namespace of the observation metric.
|
646
|
+
# @return [String]
|
647
|
+
#
|
648
|
+
# @!attribute [rw] metric_name
|
649
|
+
# The name of the observation metric.
|
650
|
+
# @return [String]
|
651
|
+
#
|
652
|
+
# @!attribute [rw] unit
|
653
|
+
# The unit of the source observation metric.
|
654
|
+
# @return [String]
|
655
|
+
#
|
656
|
+
# @!attribute [rw] value
|
657
|
+
# The value of the source observation metric.
|
658
|
+
# @return [Float]
|
659
|
+
#
|
660
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/Observation AWS API Documentation
|
661
|
+
#
|
662
|
+
class Observation < Struct.new(
|
663
|
+
:id,
|
664
|
+
:start_time,
|
665
|
+
:end_time,
|
666
|
+
:source_type,
|
667
|
+
:source_arn,
|
668
|
+
:log_group,
|
669
|
+
:line_time,
|
670
|
+
:log_text,
|
671
|
+
:log_filter,
|
672
|
+
:metric_namespace,
|
673
|
+
:metric_name,
|
674
|
+
:unit,
|
675
|
+
:value)
|
676
|
+
include Aws::Structure
|
677
|
+
end
|
678
|
+
|
679
|
+
# Describes a problem that is detected by correlating observations.
|
680
|
+
#
|
681
|
+
# @!attribute [rw] id
|
682
|
+
# The ID of the problem.
|
683
|
+
# @return [String]
|
684
|
+
#
|
685
|
+
# @!attribute [rw] title
|
686
|
+
# The name of the problem.
|
687
|
+
# @return [String]
|
688
|
+
#
|
689
|
+
# @!attribute [rw] insights
|
690
|
+
# A detailed analysis of the problem using machine learning.
|
691
|
+
# @return [String]
|
692
|
+
#
|
693
|
+
# @!attribute [rw] status
|
694
|
+
# The status of the problem.
|
695
|
+
# @return [String]
|
696
|
+
#
|
697
|
+
# @!attribute [rw] affected_resource
|
698
|
+
# The resource affected by the problem.
|
699
|
+
# @return [String]
|
700
|
+
#
|
701
|
+
# @!attribute [rw] start_time
|
702
|
+
# The time when the problem started, in epoch seconds.
|
703
|
+
# @return [Time]
|
704
|
+
#
|
705
|
+
# @!attribute [rw] end_time
|
706
|
+
# The time when the problem ended, in epoch seconds.
|
707
|
+
# @return [Time]
|
708
|
+
#
|
709
|
+
# @!attribute [rw] severity_level
|
710
|
+
# A measure of the level of impact of the problem.
|
711
|
+
# @return [String]
|
712
|
+
#
|
713
|
+
# @!attribute [rw] resource_group_name
|
714
|
+
# The name of the resource group affected by the problem.
|
715
|
+
# @return [String]
|
716
|
+
#
|
717
|
+
# @!attribute [rw] feedback
|
718
|
+
# Feedback provided by the user about the problem.
|
719
|
+
# @return [Hash<String,String>]
|
720
|
+
#
|
721
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/Problem AWS API Documentation
|
722
|
+
#
|
723
|
+
class Problem < Struct.new(
|
724
|
+
:id,
|
725
|
+
:title,
|
726
|
+
:insights,
|
727
|
+
:status,
|
728
|
+
:affected_resource,
|
729
|
+
:start_time,
|
730
|
+
:end_time,
|
731
|
+
:severity_level,
|
732
|
+
:resource_group_name,
|
733
|
+
:feedback)
|
734
|
+
include Aws::Structure
|
735
|
+
end
|
736
|
+
|
737
|
+
# Describes observations related to the problem.
|
738
|
+
#
|
739
|
+
# @!attribute [rw] observation_list
|
740
|
+
# The list of observations related to the problem.
|
741
|
+
# @return [Array<Types::Observation>]
|
742
|
+
#
|
743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/RelatedObservations AWS API Documentation
|
744
|
+
#
|
745
|
+
class RelatedObservations < Struct.new(
|
746
|
+
:observation_list)
|
747
|
+
include Aws::Structure
|
748
|
+
end
|
749
|
+
|
750
|
+
# The resource is already created or in use.
|
751
|
+
#
|
752
|
+
# @!attribute [rw] message
|
753
|
+
# @return [String]
|
754
|
+
#
|
755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ResourceInUseException AWS API Documentation
|
756
|
+
#
|
757
|
+
class ResourceInUseException < Struct.new(
|
758
|
+
:message)
|
759
|
+
include Aws::Structure
|
760
|
+
end
|
761
|
+
|
762
|
+
# The resource does not exist in the customer account.
|
763
|
+
#
|
764
|
+
# @!attribute [rw] message
|
765
|
+
# @return [String]
|
766
|
+
#
|
767
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ResourceNotFoundException AWS API Documentation
|
768
|
+
#
|
769
|
+
class ResourceNotFoundException < Struct.new(
|
770
|
+
:message)
|
771
|
+
include Aws::Structure
|
772
|
+
end
|
773
|
+
|
774
|
+
# @note When making an API call, you may pass UpdateComponentConfigurationRequest
|
775
|
+
# data as a hash:
|
776
|
+
#
|
777
|
+
# {
|
778
|
+
# resource_group_name: "ResourceGroupName", # required
|
779
|
+
# component_name: "ComponentName", # required
|
780
|
+
# monitor: false,
|
781
|
+
# tier: "Tier",
|
782
|
+
# component_configuration: "ComponentConfiguration",
|
783
|
+
# }
|
784
|
+
#
|
785
|
+
# @!attribute [rw] resource_group_name
|
786
|
+
# The name of the resource group.
|
787
|
+
# @return [String]
|
788
|
+
#
|
789
|
+
# @!attribute [rw] component_name
|
790
|
+
# The name of the component.
|
791
|
+
# @return [String]
|
792
|
+
#
|
793
|
+
# @!attribute [rw] monitor
|
794
|
+
# Indicates whether the application component is monitored.
|
795
|
+
# @return [Boolean]
|
796
|
+
#
|
797
|
+
# @!attribute [rw] tier
|
798
|
+
# The tier of the application component. Supported tiers include
|
799
|
+
# `DOT_NET_WORKER`, `DOT_NET_WEB_TIER`, `SQL_SERVER`, and `DEFAULT`.
|
800
|
+
# @return [String]
|
801
|
+
#
|
802
|
+
# @!attribute [rw] component_configuration
|
803
|
+
# The configuration settings of the component. The value is the
|
804
|
+
# escaped JSON of the configuration. For more information about the
|
805
|
+
# JSON format, see [Working with JSON][1]. You can send a request to
|
806
|
+
# `DescribeComponentConfigurationRecommendation` to see the
|
807
|
+
# recommended configuration for a component.
|
808
|
+
#
|
809
|
+
#
|
810
|
+
#
|
811
|
+
# [1]: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/working-with-json.html
|
812
|
+
# @return [String]
|
813
|
+
#
|
814
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentConfigurationRequest AWS API Documentation
|
815
|
+
#
|
816
|
+
class UpdateComponentConfigurationRequest < Struct.new(
|
817
|
+
:resource_group_name,
|
818
|
+
:component_name,
|
819
|
+
:monitor,
|
820
|
+
:tier,
|
821
|
+
:component_configuration)
|
822
|
+
include Aws::Structure
|
823
|
+
end
|
824
|
+
|
825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentConfigurationResponse AWS API Documentation
|
826
|
+
#
|
827
|
+
class UpdateComponentConfigurationResponse < Aws::EmptyStructure; end
|
828
|
+
|
829
|
+
# @note When making an API call, you may pass UpdateComponentRequest
|
830
|
+
# data as a hash:
|
831
|
+
#
|
832
|
+
# {
|
833
|
+
# resource_group_name: "ResourceGroupName", # required
|
834
|
+
# component_name: "ComponentName", # required
|
835
|
+
# new_component_name: "NewComponentName",
|
836
|
+
# resource_list: ["ResourceARN"],
|
837
|
+
# }
|
838
|
+
#
|
839
|
+
# @!attribute [rw] resource_group_name
|
840
|
+
# The name of the resource group.
|
841
|
+
# @return [String]
|
842
|
+
#
|
843
|
+
# @!attribute [rw] component_name
|
844
|
+
# The name of the component.
|
845
|
+
# @return [String]
|
846
|
+
#
|
847
|
+
# @!attribute [rw] new_component_name
|
848
|
+
# The new name of the component.
|
849
|
+
# @return [String]
|
850
|
+
#
|
851
|
+
# @!attribute [rw] resource_list
|
852
|
+
# The list of resource ARNs that belong to the component.
|
853
|
+
# @return [Array<String>]
|
854
|
+
#
|
855
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentRequest AWS API Documentation
|
856
|
+
#
|
857
|
+
class UpdateComponentRequest < Struct.new(
|
858
|
+
:resource_group_name,
|
859
|
+
:component_name,
|
860
|
+
:new_component_name,
|
861
|
+
:resource_list)
|
862
|
+
include Aws::Structure
|
863
|
+
end
|
864
|
+
|
865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentResponse AWS API Documentation
|
866
|
+
#
|
867
|
+
class UpdateComponentResponse < Aws::EmptyStructure; end
|
868
|
+
|
869
|
+
# The parameter is not valid.
|
870
|
+
#
|
871
|
+
# @!attribute [rw] message
|
872
|
+
# @return [String]
|
873
|
+
#
|
874
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ValidationException AWS API Documentation
|
875
|
+
#
|
876
|
+
class ValidationException < Struct.new(
|
877
|
+
:message)
|
878
|
+
include Aws::Structure
|
879
|
+
end
|
880
|
+
|
881
|
+
end
|
882
|
+
end
|