aws-sdk-applicationinsights 1.4.0 → 1.5.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 +4 -4
- data/lib/aws-sdk-applicationinsights.rb +1 -1
- data/lib/aws-sdk-applicationinsights/client.rb +402 -11
- data/lib/aws-sdk-applicationinsights/client_api.rb +250 -0
- data/lib/aws-sdk-applicationinsights/errors.rb +37 -0
- data/lib/aws-sdk-applicationinsights/types.rb +559 -7
- metadata +2 -2
@@ -12,6 +12,7 @@ module Aws::ApplicationInsights
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
14
|
AffectedResource = Shapes::StringShape.new(name: 'AffectedResource')
|
15
|
+
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
15
16
|
ApplicationComponent = Shapes::StructureShape.new(name: 'ApplicationComponent')
|
16
17
|
ApplicationComponentList = Shapes::ListShape.new(name: 'ApplicationComponentList')
|
17
18
|
ApplicationInfo = Shapes::StructureShape.new(name: 'ApplicationInfo')
|
@@ -23,10 +24,14 @@ module Aws::ApplicationInsights
|
|
23
24
|
CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
|
24
25
|
CreateComponentRequest = Shapes::StructureShape.new(name: 'CreateComponentRequest')
|
25
26
|
CreateComponentResponse = Shapes::StructureShape.new(name: 'CreateComponentResponse')
|
27
|
+
CreateLogPatternRequest = Shapes::StructureShape.new(name: 'CreateLogPatternRequest')
|
28
|
+
CreateLogPatternResponse = Shapes::StructureShape.new(name: 'CreateLogPatternResponse')
|
26
29
|
DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
|
27
30
|
DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse')
|
28
31
|
DeleteComponentRequest = Shapes::StructureShape.new(name: 'DeleteComponentRequest')
|
29
32
|
DeleteComponentResponse = Shapes::StructureShape.new(name: 'DeleteComponentResponse')
|
33
|
+
DeleteLogPatternRequest = Shapes::StructureShape.new(name: 'DeleteLogPatternRequest')
|
34
|
+
DeleteLogPatternResponse = Shapes::StructureShape.new(name: 'DeleteLogPatternResponse')
|
30
35
|
DescribeApplicationRequest = Shapes::StructureShape.new(name: 'DescribeApplicationRequest')
|
31
36
|
DescribeApplicationResponse = Shapes::StructureShape.new(name: 'DescribeApplicationResponse')
|
32
37
|
DescribeComponentConfigurationRecommendationRequest = Shapes::StructureShape.new(name: 'DescribeComponentConfigurationRecommendationRequest')
|
@@ -35,6 +40,8 @@ module Aws::ApplicationInsights
|
|
35
40
|
DescribeComponentConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeComponentConfigurationResponse')
|
36
41
|
DescribeComponentRequest = Shapes::StructureShape.new(name: 'DescribeComponentRequest')
|
37
42
|
DescribeComponentResponse = Shapes::StructureShape.new(name: 'DescribeComponentResponse')
|
43
|
+
DescribeLogPatternRequest = Shapes::StructureShape.new(name: 'DescribeLogPatternRequest')
|
44
|
+
DescribeLogPatternResponse = Shapes::StructureShape.new(name: 'DescribeLogPatternResponse')
|
38
45
|
DescribeObservationRequest = Shapes::StructureShape.new(name: 'DescribeObservationRequest')
|
39
46
|
DescribeObservationResponse = Shapes::StructureShape.new(name: 'DescribeObservationResponse')
|
40
47
|
DescribeProblemObservationsRequest = Shapes::StructureShape.new(name: 'DescribeProblemObservationsRequest')
|
@@ -43,6 +50,7 @@ module Aws::ApplicationInsights
|
|
43
50
|
DescribeProblemResponse = Shapes::StructureShape.new(name: 'DescribeProblemResponse')
|
44
51
|
EndTime = Shapes::TimestampShape.new(name: 'EndTime')
|
45
52
|
ErrorMsg = Shapes::StringShape.new(name: 'ErrorMsg')
|
53
|
+
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
46
54
|
Feedback = Shapes::MapShape.new(name: 'Feedback')
|
47
55
|
FeedbackKey = Shapes::StringShape.new(name: 'FeedbackKey')
|
48
56
|
FeedbackValue = Shapes::StringShape.new(name: 'FeedbackValue')
|
@@ -54,10 +62,23 @@ module Aws::ApplicationInsights
|
|
54
62
|
ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
|
55
63
|
ListComponentsRequest = Shapes::StructureShape.new(name: 'ListComponentsRequest')
|
56
64
|
ListComponentsResponse = Shapes::StructureShape.new(name: 'ListComponentsResponse')
|
65
|
+
ListLogPatternSetsRequest = Shapes::StructureShape.new(name: 'ListLogPatternSetsRequest')
|
66
|
+
ListLogPatternSetsResponse = Shapes::StructureShape.new(name: 'ListLogPatternSetsResponse')
|
67
|
+
ListLogPatternsRequest = Shapes::StructureShape.new(name: 'ListLogPatternsRequest')
|
68
|
+
ListLogPatternsResponse = Shapes::StructureShape.new(name: 'ListLogPatternsResponse')
|
57
69
|
ListProblemsRequest = Shapes::StructureShape.new(name: 'ListProblemsRequest')
|
58
70
|
ListProblemsResponse = Shapes::StructureShape.new(name: 'ListProblemsResponse')
|
71
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
72
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
59
73
|
LogFilter = Shapes::StringShape.new(name: 'LogFilter')
|
60
74
|
LogGroup = Shapes::StringShape.new(name: 'LogGroup')
|
75
|
+
LogPattern = Shapes::StructureShape.new(name: 'LogPattern')
|
76
|
+
LogPatternList = Shapes::ListShape.new(name: 'LogPatternList')
|
77
|
+
LogPatternName = Shapes::StringShape.new(name: 'LogPatternName')
|
78
|
+
LogPatternRank = Shapes::IntegerShape.new(name: 'LogPatternRank')
|
79
|
+
LogPatternRegex = Shapes::StringShape.new(name: 'LogPatternRegex')
|
80
|
+
LogPatternSetList = Shapes::ListShape.new(name: 'LogPatternSetList')
|
81
|
+
LogPatternSetName = Shapes::StringShape.new(name: 'LogPatternSetName')
|
61
82
|
LogText = Shapes::StringShape.new(name: 'LogText')
|
62
83
|
MaxEntities = Shapes::IntegerShape.new(name: 'MaxEntities')
|
63
84
|
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
@@ -87,15 +108,28 @@ module Aws::ApplicationInsights
|
|
87
108
|
SourceType = Shapes::StringShape.new(name: 'SourceType')
|
88
109
|
StartTime = Shapes::TimestampShape.new(name: 'StartTime')
|
89
110
|
Status = Shapes::StringShape.new(name: 'Status')
|
111
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
112
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
113
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
114
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
115
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
116
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
117
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
118
|
+
TagsAlreadyExistException = Shapes::StructureShape.new(name: 'TagsAlreadyExistException')
|
90
119
|
Tier = Shapes::StringShape.new(name: 'Tier')
|
91
120
|
Title = Shapes::StringShape.new(name: 'Title')
|
121
|
+
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
92
122
|
Unit = Shapes::StringShape.new(name: 'Unit')
|
123
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
124
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
93
125
|
UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
|
94
126
|
UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
|
95
127
|
UpdateComponentConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateComponentConfigurationRequest')
|
96
128
|
UpdateComponentConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateComponentConfigurationResponse')
|
97
129
|
UpdateComponentRequest = Shapes::StructureShape.new(name: 'UpdateComponentRequest')
|
98
130
|
UpdateComponentResponse = Shapes::StructureShape.new(name: 'UpdateComponentResponse')
|
131
|
+
UpdateLogPatternRequest = Shapes::StructureShape.new(name: 'UpdateLogPatternRequest')
|
132
|
+
UpdateLogPatternResponse = Shapes::StructureShape.new(name: 'UpdateLogPatternResponse')
|
99
133
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
100
134
|
Value = Shapes::FloatShape.new(name: 'Value')
|
101
135
|
|
@@ -122,6 +156,7 @@ module Aws::ApplicationInsights
|
|
122
156
|
CreateApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
123
157
|
CreateApplicationRequest.add_member(:ops_center_enabled, Shapes::ShapeRef.new(shape: OpsCenterEnabled, location_name: "OpsCenterEnabled"))
|
124
158
|
CreateApplicationRequest.add_member(:ops_item_sns_topic_arn, Shapes::ShapeRef.new(shape: OpsItemSNSTopicArn, location_name: "OpsItemSNSTopicArn"))
|
159
|
+
CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
125
160
|
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
126
161
|
|
127
162
|
CreateApplicationResponse.add_member(:application_info, Shapes::ShapeRef.new(shape: ApplicationInfo, location_name: "ApplicationInfo"))
|
@@ -134,6 +169,17 @@ module Aws::ApplicationInsights
|
|
134
169
|
|
135
170
|
CreateComponentResponse.struct_class = Types::CreateComponentResponse
|
136
171
|
|
172
|
+
CreateLogPatternRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
173
|
+
CreateLogPatternRequest.add_member(:pattern_set_name, Shapes::ShapeRef.new(shape: LogPatternSetName, required: true, location_name: "PatternSetName"))
|
174
|
+
CreateLogPatternRequest.add_member(:pattern_name, Shapes::ShapeRef.new(shape: LogPatternName, required: true, location_name: "PatternName"))
|
175
|
+
CreateLogPatternRequest.add_member(:pattern, Shapes::ShapeRef.new(shape: LogPatternRegex, required: true, location_name: "Pattern"))
|
176
|
+
CreateLogPatternRequest.add_member(:rank, Shapes::ShapeRef.new(shape: LogPatternRank, required: true, location_name: "Rank"))
|
177
|
+
CreateLogPatternRequest.struct_class = Types::CreateLogPatternRequest
|
178
|
+
|
179
|
+
CreateLogPatternResponse.add_member(:log_pattern, Shapes::ShapeRef.new(shape: LogPattern, location_name: "LogPattern"))
|
180
|
+
CreateLogPatternResponse.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
181
|
+
CreateLogPatternResponse.struct_class = Types::CreateLogPatternResponse
|
182
|
+
|
137
183
|
DeleteApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
138
184
|
DeleteApplicationRequest.struct_class = Types::DeleteApplicationRequest
|
139
185
|
|
@@ -145,6 +191,13 @@ module Aws::ApplicationInsights
|
|
145
191
|
|
146
192
|
DeleteComponentResponse.struct_class = Types::DeleteComponentResponse
|
147
193
|
|
194
|
+
DeleteLogPatternRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
195
|
+
DeleteLogPatternRequest.add_member(:pattern_set_name, Shapes::ShapeRef.new(shape: LogPatternSetName, required: true, location_name: "PatternSetName"))
|
196
|
+
DeleteLogPatternRequest.add_member(:pattern_name, Shapes::ShapeRef.new(shape: LogPatternName, required: true, location_name: "PatternName"))
|
197
|
+
DeleteLogPatternRequest.struct_class = Types::DeleteLogPatternRequest
|
198
|
+
|
199
|
+
DeleteLogPatternResponse.struct_class = Types::DeleteLogPatternResponse
|
200
|
+
|
148
201
|
DescribeApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
149
202
|
DescribeApplicationRequest.struct_class = Types::DescribeApplicationRequest
|
150
203
|
|
@@ -176,6 +229,15 @@ module Aws::ApplicationInsights
|
|
176
229
|
DescribeComponentResponse.add_member(:resource_list, Shapes::ShapeRef.new(shape: ResourceList, location_name: "ResourceList"))
|
177
230
|
DescribeComponentResponse.struct_class = Types::DescribeComponentResponse
|
178
231
|
|
232
|
+
DescribeLogPatternRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
233
|
+
DescribeLogPatternRequest.add_member(:pattern_set_name, Shapes::ShapeRef.new(shape: LogPatternSetName, required: true, location_name: "PatternSetName"))
|
234
|
+
DescribeLogPatternRequest.add_member(:pattern_name, Shapes::ShapeRef.new(shape: LogPatternName, required: true, location_name: "PatternName"))
|
235
|
+
DescribeLogPatternRequest.struct_class = Types::DescribeLogPatternRequest
|
236
|
+
|
237
|
+
DescribeLogPatternResponse.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
238
|
+
DescribeLogPatternResponse.add_member(:log_pattern, Shapes::ShapeRef.new(shape: LogPattern, location_name: "LogPattern"))
|
239
|
+
DescribeLogPatternResponse.struct_class = Types::DescribeLogPatternResponse
|
240
|
+
|
179
241
|
DescribeObservationRequest.add_member(:observation_id, Shapes::ShapeRef.new(shape: ObservationId, required: true, location_name: "ObservationId"))
|
180
242
|
DescribeObservationRequest.struct_class = Types::DescribeObservationRequest
|
181
243
|
|
@@ -217,6 +279,27 @@ module Aws::ApplicationInsights
|
|
217
279
|
ListComponentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
218
280
|
ListComponentsResponse.struct_class = Types::ListComponentsResponse
|
219
281
|
|
282
|
+
ListLogPatternSetsRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
283
|
+
ListLogPatternSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxEntities, location_name: "MaxResults"))
|
284
|
+
ListLogPatternSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
285
|
+
ListLogPatternSetsRequest.struct_class = Types::ListLogPatternSetsRequest
|
286
|
+
|
287
|
+
ListLogPatternSetsResponse.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
288
|
+
ListLogPatternSetsResponse.add_member(:log_pattern_sets, Shapes::ShapeRef.new(shape: LogPatternSetList, location_name: "LogPatternSets"))
|
289
|
+
ListLogPatternSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
290
|
+
ListLogPatternSetsResponse.struct_class = Types::ListLogPatternSetsResponse
|
291
|
+
|
292
|
+
ListLogPatternsRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
293
|
+
ListLogPatternsRequest.add_member(:pattern_set_name, Shapes::ShapeRef.new(shape: LogPatternSetName, location_name: "PatternSetName"))
|
294
|
+
ListLogPatternsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxEntities, location_name: "MaxResults"))
|
295
|
+
ListLogPatternsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
296
|
+
ListLogPatternsRequest.struct_class = Types::ListLogPatternsRequest
|
297
|
+
|
298
|
+
ListLogPatternsResponse.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
299
|
+
ListLogPatternsResponse.add_member(:log_patterns, Shapes::ShapeRef.new(shape: LogPatternList, location_name: "LogPatterns"))
|
300
|
+
ListLogPatternsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
301
|
+
ListLogPatternsResponse.struct_class = Types::ListLogPatternsResponse
|
302
|
+
|
220
303
|
ListProblemsRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
221
304
|
ListProblemsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, location_name: "StartTime"))
|
222
305
|
ListProblemsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "EndTime"))
|
@@ -228,6 +311,22 @@ module Aws::ApplicationInsights
|
|
228
311
|
ListProblemsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
229
312
|
ListProblemsResponse.struct_class = Types::ListProblemsResponse
|
230
313
|
|
314
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
315
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
316
|
+
|
317
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
318
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
319
|
+
|
320
|
+
LogPattern.add_member(:pattern_set_name, Shapes::ShapeRef.new(shape: LogPatternSetName, location_name: "PatternSetName"))
|
321
|
+
LogPattern.add_member(:pattern_name, Shapes::ShapeRef.new(shape: LogPatternName, location_name: "PatternName"))
|
322
|
+
LogPattern.add_member(:pattern, Shapes::ShapeRef.new(shape: LogPatternRegex, location_name: "Pattern"))
|
323
|
+
LogPattern.add_member(:rank, Shapes::ShapeRef.new(shape: LogPatternRank, location_name: "Rank"))
|
324
|
+
LogPattern.struct_class = Types::LogPattern
|
325
|
+
|
326
|
+
LogPatternList.member = Shapes::ShapeRef.new(shape: LogPattern)
|
327
|
+
|
328
|
+
LogPatternSetList.member = Shapes::ShapeRef.new(shape: LogPatternSetName)
|
329
|
+
|
231
330
|
Observation.add_member(:id, Shapes::ShapeRef.new(shape: ObservationId, location_name: "Id"))
|
232
331
|
Observation.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, location_name: "StartTime"))
|
233
332
|
Observation.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "EndTime"))
|
@@ -270,6 +369,33 @@ module Aws::ApplicationInsights
|
|
270
369
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
|
271
370
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
272
371
|
|
372
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
373
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
374
|
+
Tag.struct_class = Types::Tag
|
375
|
+
|
376
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
377
|
+
|
378
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
379
|
+
|
380
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
381
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
382
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
383
|
+
|
384
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
385
|
+
|
386
|
+
TagsAlreadyExistException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
387
|
+
TagsAlreadyExistException.struct_class = Types::TagsAlreadyExistException
|
388
|
+
|
389
|
+
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
390
|
+
TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ResourceName"))
|
391
|
+
TooManyTagsException.struct_class = Types::TooManyTagsException
|
392
|
+
|
393
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
394
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
395
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
396
|
+
|
397
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
398
|
+
|
273
399
|
UpdateApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
274
400
|
UpdateApplicationRequest.add_member(:ops_center_enabled, Shapes::ShapeRef.new(shape: OpsCenterEnabled, location_name: "OpsCenterEnabled"))
|
275
401
|
UpdateApplicationRequest.add_member(:ops_item_sns_topic_arn, Shapes::ShapeRef.new(shape: OpsItemSNSTopicArn, location_name: "OpsItemSNSTopicArn"))
|
@@ -296,6 +422,17 @@ module Aws::ApplicationInsights
|
|
296
422
|
|
297
423
|
UpdateComponentResponse.struct_class = Types::UpdateComponentResponse
|
298
424
|
|
425
|
+
UpdateLogPatternRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
426
|
+
UpdateLogPatternRequest.add_member(:pattern_set_name, Shapes::ShapeRef.new(shape: LogPatternSetName, required: true, location_name: "PatternSetName"))
|
427
|
+
UpdateLogPatternRequest.add_member(:pattern_name, Shapes::ShapeRef.new(shape: LogPatternName, required: true, location_name: "PatternName"))
|
428
|
+
UpdateLogPatternRequest.add_member(:pattern, Shapes::ShapeRef.new(shape: LogPatternRegex, location_name: "Pattern"))
|
429
|
+
UpdateLogPatternRequest.add_member(:rank, Shapes::ShapeRef.new(shape: LogPatternRank, location_name: "Rank"))
|
430
|
+
UpdateLogPatternRequest.struct_class = Types::UpdateLogPatternRequest
|
431
|
+
|
432
|
+
UpdateLogPatternResponse.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
433
|
+
UpdateLogPatternResponse.add_member(:log_pattern, Shapes::ShapeRef.new(shape: LogPattern, location_name: "LogPattern"))
|
434
|
+
UpdateLogPatternResponse.struct_class = Types::UpdateLogPatternResponse
|
435
|
+
|
299
436
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
|
300
437
|
ValidationException.struct_class = Types::ValidationException
|
301
438
|
|
@@ -329,6 +466,7 @@ module Aws::ApplicationInsights
|
|
329
466
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
330
467
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
331
468
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: TagsAlreadyExistException)
|
332
470
|
end)
|
333
471
|
|
334
472
|
api.add_operation(:create_component, Seahorse::Model::Operation.new.tap do |o|
|
@@ -343,6 +481,18 @@ module Aws::ApplicationInsights
|
|
343
481
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
344
482
|
end)
|
345
483
|
|
484
|
+
api.add_operation(:create_log_pattern, Seahorse::Model::Operation.new.tap do |o|
|
485
|
+
o.name = "CreateLogPattern"
|
486
|
+
o.http_method = "POST"
|
487
|
+
o.http_request_uri = "/"
|
488
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLogPatternRequest)
|
489
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLogPatternResponse)
|
490
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
492
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
493
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
494
|
+
end)
|
495
|
+
|
346
496
|
api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
|
347
497
|
o.name = "DeleteApplication"
|
348
498
|
o.http_method = "POST"
|
@@ -366,6 +516,18 @@ module Aws::ApplicationInsights
|
|
366
516
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
367
517
|
end)
|
368
518
|
|
519
|
+
api.add_operation(:delete_log_pattern, Seahorse::Model::Operation.new.tap do |o|
|
520
|
+
o.name = "DeleteLogPattern"
|
521
|
+
o.http_method = "POST"
|
522
|
+
o.http_request_uri = "/"
|
523
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteLogPatternRequest)
|
524
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteLogPatternResponse)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
526
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
527
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
529
|
+
end)
|
530
|
+
|
369
531
|
api.add_operation(:describe_application, Seahorse::Model::Operation.new.tap do |o|
|
370
532
|
o.name = "DescribeApplication"
|
371
533
|
o.http_method = "POST"
|
@@ -410,6 +572,17 @@ module Aws::ApplicationInsights
|
|
410
572
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
411
573
|
end)
|
412
574
|
|
575
|
+
api.add_operation(:describe_log_pattern, Seahorse::Model::Operation.new.tap do |o|
|
576
|
+
o.name = "DescribeLogPattern"
|
577
|
+
o.http_method = "POST"
|
578
|
+
o.http_request_uri = "/"
|
579
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLogPatternRequest)
|
580
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLogPatternResponse)
|
581
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
582
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
583
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
584
|
+
end)
|
585
|
+
|
413
586
|
api.add_operation(:describe_observation, Seahorse::Model::Operation.new.tap do |o|
|
414
587
|
o.name = "DescribeObservation"
|
415
588
|
o.http_method = "POST"
|
@@ -476,6 +649,40 @@ module Aws::ApplicationInsights
|
|
476
649
|
)
|
477
650
|
end)
|
478
651
|
|
652
|
+
api.add_operation(:list_log_pattern_sets, Seahorse::Model::Operation.new.tap do |o|
|
653
|
+
o.name = "ListLogPatternSets"
|
654
|
+
o.http_method = "POST"
|
655
|
+
o.http_request_uri = "/"
|
656
|
+
o.input = Shapes::ShapeRef.new(shape: ListLogPatternSetsRequest)
|
657
|
+
o.output = Shapes::ShapeRef.new(shape: ListLogPatternSetsResponse)
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
659
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
660
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
661
|
+
o[:pager] = Aws::Pager.new(
|
662
|
+
limit_key: "max_results",
|
663
|
+
tokens: {
|
664
|
+
"next_token" => "next_token"
|
665
|
+
}
|
666
|
+
)
|
667
|
+
end)
|
668
|
+
|
669
|
+
api.add_operation(:list_log_patterns, Seahorse::Model::Operation.new.tap do |o|
|
670
|
+
o.name = "ListLogPatterns"
|
671
|
+
o.http_method = "POST"
|
672
|
+
o.http_request_uri = "/"
|
673
|
+
o.input = Shapes::ShapeRef.new(shape: ListLogPatternsRequest)
|
674
|
+
o.output = Shapes::ShapeRef.new(shape: ListLogPatternsResponse)
|
675
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
676
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
677
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
678
|
+
o[:pager] = Aws::Pager.new(
|
679
|
+
limit_key: "max_results",
|
680
|
+
tokens: {
|
681
|
+
"next_token" => "next_token"
|
682
|
+
}
|
683
|
+
)
|
684
|
+
end)
|
685
|
+
|
479
686
|
api.add_operation(:list_problems, Seahorse::Model::Operation.new.tap do |o|
|
480
687
|
o.name = "ListProblems"
|
481
688
|
o.http_method = "POST"
|
@@ -493,6 +700,37 @@ module Aws::ApplicationInsights
|
|
493
700
|
)
|
494
701
|
end)
|
495
702
|
|
703
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
704
|
+
o.name = "ListTagsForResource"
|
705
|
+
o.http_method = "POST"
|
706
|
+
o.http_request_uri = "/"
|
707
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
708
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
709
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
710
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
711
|
+
end)
|
712
|
+
|
713
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
714
|
+
o.name = "TagResource"
|
715
|
+
o.http_method = "POST"
|
716
|
+
o.http_request_uri = "/"
|
717
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
718
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
721
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
722
|
+
end)
|
723
|
+
|
724
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
725
|
+
o.name = "UntagResource"
|
726
|
+
o.http_method = "POST"
|
727
|
+
o.http_request_uri = "/"
|
728
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
729
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
730
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
731
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
732
|
+
end)
|
733
|
+
|
496
734
|
api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
|
497
735
|
o.name = "UpdateApplication"
|
498
736
|
o.http_method = "POST"
|
@@ -526,6 +764,18 @@ module Aws::ApplicationInsights
|
|
526
764
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
527
765
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
528
766
|
end)
|
767
|
+
|
768
|
+
api.add_operation(:update_log_pattern, Seahorse::Model::Operation.new.tap do |o|
|
769
|
+
o.name = "UpdateLogPattern"
|
770
|
+
o.http_method = "POST"
|
771
|
+
o.http_request_uri = "/"
|
772
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateLogPatternRequest)
|
773
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateLogPatternResponse)
|
774
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
775
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
776
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
777
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
778
|
+
end)
|
529
779
|
end
|
530
780
|
|
531
781
|
end
|
@@ -74,6 +74,43 @@ module Aws::ApplicationInsights
|
|
74
74
|
|
75
75
|
end
|
76
76
|
|
77
|
+
class TagsAlreadyExistException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::ApplicationInsights::Types::TagsAlreadyExistException] 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
|
+
class TooManyTagsException < ServiceError
|
94
|
+
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
96
|
+
# @param [String] message
|
97
|
+
# @param [Aws::ApplicationInsights::Types::TooManyTagsException] data
|
98
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
99
|
+
super(context, message, data)
|
100
|
+
end
|
101
|
+
|
102
|
+
# @return [String]
|
103
|
+
def message
|
104
|
+
@message || @data[:message]
|
105
|
+
end
|
106
|
+
|
107
|
+
# @return [String]
|
108
|
+
def resource_name
|
109
|
+
@data[:resource_name]
|
110
|
+
end
|
111
|
+
|
112
|
+
end
|
113
|
+
|
77
114
|
class ValidationException < ServiceError
|
78
115
|
|
79
116
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -94,6 +94,12 @@ module Aws::ApplicationInsights
|
|
94
94
|
# resource_group_name: "ResourceGroupName", # required
|
95
95
|
# ops_center_enabled: false,
|
96
96
|
# ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
|
97
|
+
# tags: [
|
98
|
+
# {
|
99
|
+
# key: "TagKey", # required
|
100
|
+
# value: "TagValue", # required
|
101
|
+
# },
|
102
|
+
# ],
|
97
103
|
# }
|
98
104
|
#
|
99
105
|
# @!attribute [rw] resource_group_name
|
@@ -111,12 +117,19 @@ module Aws::ApplicationInsights
|
|
111
117
|
# to the opsItem.
|
112
118
|
# @return [String]
|
113
119
|
#
|
120
|
+
# @!attribute [rw] tags
|
121
|
+
# List of tags to add to the application. tag key (`Key`) and an
|
122
|
+
# associated tag value (`Value`). The maximum length of a tag key is
|
123
|
+
# 128 characters. The maximum length of a tag value is 256 characters.
|
124
|
+
# @return [Array<Types::Tag>]
|
125
|
+
#
|
114
126
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplicationRequest AWS API Documentation
|
115
127
|
#
|
116
128
|
class CreateApplicationRequest < Struct.new(
|
117
129
|
:resource_group_name,
|
118
130
|
:ops_center_enabled,
|
119
|
-
:ops_item_sns_topic_arn
|
131
|
+
:ops_item_sns_topic_arn,
|
132
|
+
:tags)
|
120
133
|
include Aws::Structure
|
121
134
|
end
|
122
135
|
|
@@ -165,6 +178,64 @@ module Aws::ApplicationInsights
|
|
165
178
|
#
|
166
179
|
class CreateComponentResponse < Aws::EmptyStructure; end
|
167
180
|
|
181
|
+
# @note When making an API call, you may pass CreateLogPatternRequest
|
182
|
+
# data as a hash:
|
183
|
+
#
|
184
|
+
# {
|
185
|
+
# resource_group_name: "ResourceGroupName", # required
|
186
|
+
# pattern_set_name: "LogPatternSetName", # required
|
187
|
+
# pattern_name: "LogPatternName", # required
|
188
|
+
# pattern: "LogPatternRegex", # required
|
189
|
+
# rank: 1, # required
|
190
|
+
# }
|
191
|
+
#
|
192
|
+
# @!attribute [rw] resource_group_name
|
193
|
+
# The name of the resource group.
|
194
|
+
# @return [String]
|
195
|
+
#
|
196
|
+
# @!attribute [rw] pattern_set_name
|
197
|
+
# The name of the log pattern set.
|
198
|
+
# @return [String]
|
199
|
+
#
|
200
|
+
# @!attribute [rw] pattern_name
|
201
|
+
# The name of the log pattern.
|
202
|
+
# @return [String]
|
203
|
+
#
|
204
|
+
# @!attribute [rw] pattern
|
205
|
+
# The log pattern.
|
206
|
+
# @return [String]
|
207
|
+
#
|
208
|
+
# @!attribute [rw] rank
|
209
|
+
# Rank of the log pattern.
|
210
|
+
# @return [Integer]
|
211
|
+
#
|
212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateLogPatternRequest AWS API Documentation
|
213
|
+
#
|
214
|
+
class CreateLogPatternRequest < Struct.new(
|
215
|
+
:resource_group_name,
|
216
|
+
:pattern_set_name,
|
217
|
+
:pattern_name,
|
218
|
+
:pattern,
|
219
|
+
:rank)
|
220
|
+
include Aws::Structure
|
221
|
+
end
|
222
|
+
|
223
|
+
# @!attribute [rw] log_pattern
|
224
|
+
# The successfully created log pattern.
|
225
|
+
# @return [Types::LogPattern]
|
226
|
+
#
|
227
|
+
# @!attribute [rw] resource_group_name
|
228
|
+
# The name of the resource group.
|
229
|
+
# @return [String]
|
230
|
+
#
|
231
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateLogPatternResponse AWS API Documentation
|
232
|
+
#
|
233
|
+
class CreateLogPatternResponse < Struct.new(
|
234
|
+
:log_pattern,
|
235
|
+
:resource_group_name)
|
236
|
+
include Aws::Structure
|
237
|
+
end
|
238
|
+
|
168
239
|
# @note When making an API call, you may pass DeleteApplicationRequest
|
169
240
|
# data as a hash:
|
170
241
|
#
|
@@ -215,6 +286,40 @@ module Aws::ApplicationInsights
|
|
215
286
|
#
|
216
287
|
class DeleteComponentResponse < Aws::EmptyStructure; end
|
217
288
|
|
289
|
+
# @note When making an API call, you may pass DeleteLogPatternRequest
|
290
|
+
# data as a hash:
|
291
|
+
#
|
292
|
+
# {
|
293
|
+
# resource_group_name: "ResourceGroupName", # required
|
294
|
+
# pattern_set_name: "LogPatternSetName", # required
|
295
|
+
# pattern_name: "LogPatternName", # required
|
296
|
+
# }
|
297
|
+
#
|
298
|
+
# @!attribute [rw] resource_group_name
|
299
|
+
# The name of the resource group.
|
300
|
+
# @return [String]
|
301
|
+
#
|
302
|
+
# @!attribute [rw] pattern_set_name
|
303
|
+
# The name of the log pattern set.
|
304
|
+
# @return [String]
|
305
|
+
#
|
306
|
+
# @!attribute [rw] pattern_name
|
307
|
+
# The name of the log pattern.
|
308
|
+
# @return [String]
|
309
|
+
#
|
310
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteLogPatternRequest AWS API Documentation
|
311
|
+
#
|
312
|
+
class DeleteLogPatternRequest < Struct.new(
|
313
|
+
:resource_group_name,
|
314
|
+
:pattern_set_name,
|
315
|
+
:pattern_name)
|
316
|
+
include Aws::Structure
|
317
|
+
end
|
318
|
+
|
319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteLogPatternResponse AWS API Documentation
|
320
|
+
#
|
321
|
+
class DeleteLogPatternResponse < Aws::EmptyStructure; end
|
322
|
+
|
218
323
|
# @note When making an API call, you may pass DescribeApplicationRequest
|
219
324
|
# data as a hash:
|
220
325
|
#
|
@@ -250,7 +355,7 @@ module Aws::ApplicationInsights
|
|
250
355
|
# {
|
251
356
|
# resource_group_name: "ResourceGroupName", # required
|
252
357
|
# component_name: "ComponentName", # required
|
253
|
-
# tier: "
|
358
|
+
# tier: "DEFAULT", # required, accepts DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER
|
254
359
|
# }
|
255
360
|
#
|
256
361
|
# @!attribute [rw] resource_group_name
|
@@ -263,7 +368,8 @@ module Aws::ApplicationInsights
|
|
263
368
|
#
|
264
369
|
# @!attribute [rw] tier
|
265
370
|
# The tier of the application component. Supported tiers include
|
266
|
-
# `DOT_NET_WORKER`, `DOT_NET_WEB`, `SQL_SERVER`, and
|
371
|
+
# `DOT_NET_CORE`, `DOT_NET_WORKER`, `DOT_NET_WEB`, `SQL_SERVER`, and
|
372
|
+
# `DEFAULT`.
|
267
373
|
# @return [String]
|
268
374
|
#
|
269
375
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfigurationRecommendationRequest AWS API Documentation
|
@@ -317,7 +423,8 @@ module Aws::ApplicationInsights
|
|
317
423
|
#
|
318
424
|
# @!attribute [rw] tier
|
319
425
|
# The tier of the application component. Supported tiers include
|
320
|
-
# `DOT_NET_WORKER`, `DOT_NET_WEB`, `SQL_SERVER`, and
|
426
|
+
# `DOT_NET_CORE`, `DOT_NET_WORKER`, `DOT_NET_WEB`, `SQL_SERVER`, and
|
427
|
+
# `DEFAULT`
|
321
428
|
# @return [String]
|
322
429
|
#
|
323
430
|
# @!attribute [rw] component_configuration
|
@@ -375,6 +482,52 @@ module Aws::ApplicationInsights
|
|
375
482
|
include Aws::Structure
|
376
483
|
end
|
377
484
|
|
485
|
+
# @note When making an API call, you may pass DescribeLogPatternRequest
|
486
|
+
# data as a hash:
|
487
|
+
#
|
488
|
+
# {
|
489
|
+
# resource_group_name: "ResourceGroupName", # required
|
490
|
+
# pattern_set_name: "LogPatternSetName", # required
|
491
|
+
# pattern_name: "LogPatternName", # required
|
492
|
+
# }
|
493
|
+
#
|
494
|
+
# @!attribute [rw] resource_group_name
|
495
|
+
# The name of the resource group.
|
496
|
+
# @return [String]
|
497
|
+
#
|
498
|
+
# @!attribute [rw] pattern_set_name
|
499
|
+
# The name of the log pattern set.
|
500
|
+
# @return [String]
|
501
|
+
#
|
502
|
+
# @!attribute [rw] pattern_name
|
503
|
+
# The name of the log pattern.
|
504
|
+
# @return [String]
|
505
|
+
#
|
506
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeLogPatternRequest AWS API Documentation
|
507
|
+
#
|
508
|
+
class DescribeLogPatternRequest < Struct.new(
|
509
|
+
:resource_group_name,
|
510
|
+
:pattern_set_name,
|
511
|
+
:pattern_name)
|
512
|
+
include Aws::Structure
|
513
|
+
end
|
514
|
+
|
515
|
+
# @!attribute [rw] resource_group_name
|
516
|
+
# The name of the resource group.
|
517
|
+
# @return [String]
|
518
|
+
#
|
519
|
+
# @!attribute [rw] log_pattern
|
520
|
+
# The successfully created log pattern.
|
521
|
+
# @return [Types::LogPattern]
|
522
|
+
#
|
523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeLogPatternResponse AWS API Documentation
|
524
|
+
#
|
525
|
+
class DescribeLogPatternResponse < Struct.new(
|
526
|
+
:resource_group_name,
|
527
|
+
:log_pattern)
|
528
|
+
include Aws::Structure
|
529
|
+
end
|
530
|
+
|
378
531
|
# @note When making an API call, you may pass DescribeObservationRequest
|
379
532
|
# data as a hash:
|
380
533
|
#
|
@@ -566,6 +719,120 @@ module Aws::ApplicationInsights
|
|
566
719
|
include Aws::Structure
|
567
720
|
end
|
568
721
|
|
722
|
+
# @note When making an API call, you may pass ListLogPatternSetsRequest
|
723
|
+
# data as a hash:
|
724
|
+
#
|
725
|
+
# {
|
726
|
+
# resource_group_name: "ResourceGroupName", # required
|
727
|
+
# max_results: 1,
|
728
|
+
# next_token: "PaginationToken",
|
729
|
+
# }
|
730
|
+
#
|
731
|
+
# @!attribute [rw] resource_group_name
|
732
|
+
# The name of the resource group.
|
733
|
+
# @return [String]
|
734
|
+
#
|
735
|
+
# @!attribute [rw] max_results
|
736
|
+
# The maximum number of results to return in a single call. To
|
737
|
+
# retrieve the remaining results, make another call with the returned
|
738
|
+
# `NextToken` value.
|
739
|
+
# @return [Integer]
|
740
|
+
#
|
741
|
+
# @!attribute [rw] next_token
|
742
|
+
# The token to request the next page of results.
|
743
|
+
# @return [String]
|
744
|
+
#
|
745
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatternSetsRequest AWS API Documentation
|
746
|
+
#
|
747
|
+
class ListLogPatternSetsRequest < Struct.new(
|
748
|
+
:resource_group_name,
|
749
|
+
:max_results,
|
750
|
+
:next_token)
|
751
|
+
include Aws::Structure
|
752
|
+
end
|
753
|
+
|
754
|
+
# @!attribute [rw] resource_group_name
|
755
|
+
# The name of the resource group.
|
756
|
+
# @return [String]
|
757
|
+
#
|
758
|
+
# @!attribute [rw] log_pattern_sets
|
759
|
+
# The list of log pattern sets.
|
760
|
+
# @return [Array<String>]
|
761
|
+
#
|
762
|
+
# @!attribute [rw] next_token
|
763
|
+
# The token used to retrieve the next page of results. This value is
|
764
|
+
# `null` when there are no more results to return.
|
765
|
+
# @return [String]
|
766
|
+
#
|
767
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatternSetsResponse AWS API Documentation
|
768
|
+
#
|
769
|
+
class ListLogPatternSetsResponse < Struct.new(
|
770
|
+
:resource_group_name,
|
771
|
+
:log_pattern_sets,
|
772
|
+
:next_token)
|
773
|
+
include Aws::Structure
|
774
|
+
end
|
775
|
+
|
776
|
+
# @note When making an API call, you may pass ListLogPatternsRequest
|
777
|
+
# data as a hash:
|
778
|
+
#
|
779
|
+
# {
|
780
|
+
# resource_group_name: "ResourceGroupName", # required
|
781
|
+
# pattern_set_name: "LogPatternSetName",
|
782
|
+
# max_results: 1,
|
783
|
+
# next_token: "PaginationToken",
|
784
|
+
# }
|
785
|
+
#
|
786
|
+
# @!attribute [rw] resource_group_name
|
787
|
+
# The name of the resource group.
|
788
|
+
# @return [String]
|
789
|
+
#
|
790
|
+
# @!attribute [rw] pattern_set_name
|
791
|
+
# The name of the log pattern set.
|
792
|
+
# @return [String]
|
793
|
+
#
|
794
|
+
# @!attribute [rw] max_results
|
795
|
+
# The maximum number of results to return in a single call. To
|
796
|
+
# retrieve the remaining results, make another call with the returned
|
797
|
+
# `NextToken` value.
|
798
|
+
# @return [Integer]
|
799
|
+
#
|
800
|
+
# @!attribute [rw] next_token
|
801
|
+
# The token to request the next page of results.
|
802
|
+
# @return [String]
|
803
|
+
#
|
804
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatternsRequest AWS API Documentation
|
805
|
+
#
|
806
|
+
class ListLogPatternsRequest < Struct.new(
|
807
|
+
:resource_group_name,
|
808
|
+
:pattern_set_name,
|
809
|
+
:max_results,
|
810
|
+
:next_token)
|
811
|
+
include Aws::Structure
|
812
|
+
end
|
813
|
+
|
814
|
+
# @!attribute [rw] resource_group_name
|
815
|
+
# The name of the resource group.
|
816
|
+
# @return [String]
|
817
|
+
#
|
818
|
+
# @!attribute [rw] log_patterns
|
819
|
+
# The list of log patterns.
|
820
|
+
# @return [Array<Types::LogPattern>]
|
821
|
+
#
|
822
|
+
# @!attribute [rw] next_token
|
823
|
+
# The token used to retrieve the next page of results. This value is
|
824
|
+
# `null` when there are no more results to return.
|
825
|
+
# @return [String]
|
826
|
+
#
|
827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatternsResponse AWS API Documentation
|
828
|
+
#
|
829
|
+
class ListLogPatternsResponse < Struct.new(
|
830
|
+
:resource_group_name,
|
831
|
+
:log_patterns,
|
832
|
+
:next_token)
|
833
|
+
include Aws::Structure
|
834
|
+
end
|
835
|
+
|
569
836
|
# @note When making an API call, you may pass ListProblemsRequest
|
570
837
|
# data as a hash:
|
571
838
|
#
|
@@ -630,6 +897,74 @@ module Aws::ApplicationInsights
|
|
630
897
|
include Aws::Structure
|
631
898
|
end
|
632
899
|
|
900
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
901
|
+
# data as a hash:
|
902
|
+
#
|
903
|
+
# {
|
904
|
+
# resource_arn: "AmazonResourceName", # required
|
905
|
+
# }
|
906
|
+
#
|
907
|
+
# @!attribute [rw] resource_arn
|
908
|
+
# The Amazon Resource Name (ARN) of the application that you want to
|
909
|
+
# retrieve tag information for.
|
910
|
+
# @return [String]
|
911
|
+
#
|
912
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListTagsForResourceRequest AWS API Documentation
|
913
|
+
#
|
914
|
+
class ListTagsForResourceRequest < Struct.new(
|
915
|
+
:resource_arn)
|
916
|
+
include Aws::Structure
|
917
|
+
end
|
918
|
+
|
919
|
+
# @!attribute [rw] tags
|
920
|
+
# An array that lists all the tags that are associated with the
|
921
|
+
# application. Each tag consists of a required tag key (`Key`) and an
|
922
|
+
# associated tag value (`Value`).
|
923
|
+
# @return [Array<Types::Tag>]
|
924
|
+
#
|
925
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListTagsForResourceResponse AWS API Documentation
|
926
|
+
#
|
927
|
+
class ListTagsForResourceResponse < Struct.new(
|
928
|
+
:tags)
|
929
|
+
include Aws::Structure
|
930
|
+
end
|
931
|
+
|
932
|
+
# An object that defines the log patterns that belongs to a
|
933
|
+
# `LogPatternSet`.
|
934
|
+
#
|
935
|
+
# @!attribute [rw] pattern_set_name
|
936
|
+
# The name of the log pattern. A log pattern name can contains at many
|
937
|
+
# as 30 characters, and it cannot be empty. The characters can be
|
938
|
+
# Unicode letters, digits or one of the following symbols: period,
|
939
|
+
# dash, underscore.
|
940
|
+
# @return [String]
|
941
|
+
#
|
942
|
+
# @!attribute [rw] pattern_name
|
943
|
+
# The name of the log pattern. A log pattern name can contains at many
|
944
|
+
# as 50 characters, and it cannot be empty. The characters can be
|
945
|
+
# Unicode letters, digits or one of the following symbols: period,
|
946
|
+
# dash, underscore.
|
947
|
+
# @return [String]
|
948
|
+
#
|
949
|
+
# @!attribute [rw] pattern
|
950
|
+
# A regular expression that defines the log pattern. A log pattern can
|
951
|
+
# contains at many as 50 characters, and it cannot be empty.
|
952
|
+
# @return [String]
|
953
|
+
#
|
954
|
+
# @!attribute [rw] rank
|
955
|
+
# Rank of the log pattern.
|
956
|
+
# @return [Integer]
|
957
|
+
#
|
958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/LogPattern AWS API Documentation
|
959
|
+
#
|
960
|
+
class LogPattern < Struct.new(
|
961
|
+
:pattern_set_name,
|
962
|
+
:pattern_name,
|
963
|
+
:pattern,
|
964
|
+
:rank)
|
965
|
+
include Aws::Structure
|
966
|
+
end
|
967
|
+
|
633
968
|
# Describes an anomaly or error with the application.
|
634
969
|
#
|
635
970
|
# @!attribute [rw] id
|
@@ -799,6 +1134,161 @@ module Aws::ApplicationInsights
|
|
799
1134
|
include Aws::Structure
|
800
1135
|
end
|
801
1136
|
|
1137
|
+
# An object that defines the tags associated with an application. A
|
1138
|
+
# *tag* is a label that you optionally define and associate with an
|
1139
|
+
# application. Tags can help you categorize and manage resources in
|
1140
|
+
# different ways, such as by purpose, owner, environment, or other
|
1141
|
+
# criteria.
|
1142
|
+
#
|
1143
|
+
# Each tag consists of a required *tag key* and an associated *tag
|
1144
|
+
# value*, both of which you define. A tag key is a general label that
|
1145
|
+
# acts as a category for a more specific tag value. A tag value acts as
|
1146
|
+
# a descriptor within a tag key. A tag key can contain as many as 128
|
1147
|
+
# characters. A tag value can contain as many as 256 characters. The
|
1148
|
+
# characters can be Unicode letters, digits, white space, or one of the
|
1149
|
+
# following symbols: \_ . : / = + -. The following additional
|
1150
|
+
# restrictions apply to tags:
|
1151
|
+
#
|
1152
|
+
# * Tag keys and values are case sensitive.
|
1153
|
+
#
|
1154
|
+
# * For each associated resource, each tag key must be unique and it can
|
1155
|
+
# have only one value.
|
1156
|
+
#
|
1157
|
+
# * The `aws:` prefix is reserved for use by AWS; you can’t use it in
|
1158
|
+
# any tag keys or values that you define. In addition, you can't edit
|
1159
|
+
# or remove tag keys or values that use this prefix.
|
1160
|
+
#
|
1161
|
+
# @note When making an API call, you may pass Tag
|
1162
|
+
# data as a hash:
|
1163
|
+
#
|
1164
|
+
# {
|
1165
|
+
# key: "TagKey", # required
|
1166
|
+
# value: "TagValue", # required
|
1167
|
+
# }
|
1168
|
+
#
|
1169
|
+
# @!attribute [rw] key
|
1170
|
+
# One part of a key-value pair that defines a tag. The maximum length
|
1171
|
+
# of a tag key is 128 characters. The minimum length is 1 character.
|
1172
|
+
# @return [String]
|
1173
|
+
#
|
1174
|
+
# @!attribute [rw] value
|
1175
|
+
# The optional part of a key-value pair that defines a tag. The
|
1176
|
+
# maximum length of a tag value is 256 characters. The minimum length
|
1177
|
+
# is 0 characters. If you don't want an application to have a
|
1178
|
+
# specific tag value, don't specify a value for this parameter.
|
1179
|
+
# @return [String]
|
1180
|
+
#
|
1181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/Tag AWS API Documentation
|
1182
|
+
#
|
1183
|
+
class Tag < Struct.new(
|
1184
|
+
:key,
|
1185
|
+
:value)
|
1186
|
+
include Aws::Structure
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
# @note When making an API call, you may pass TagResourceRequest
|
1190
|
+
# data as a hash:
|
1191
|
+
#
|
1192
|
+
# {
|
1193
|
+
# resource_arn: "AmazonResourceName", # required
|
1194
|
+
# tags: [ # required
|
1195
|
+
# {
|
1196
|
+
# key: "TagKey", # required
|
1197
|
+
# value: "TagValue", # required
|
1198
|
+
# },
|
1199
|
+
# ],
|
1200
|
+
# }
|
1201
|
+
#
|
1202
|
+
# @!attribute [rw] resource_arn
|
1203
|
+
# The Amazon Resource Name (ARN) of the application that you want to
|
1204
|
+
# add one or more tags to.
|
1205
|
+
# @return [String]
|
1206
|
+
#
|
1207
|
+
# @!attribute [rw] tags
|
1208
|
+
# A list of tags that to add to the application. A tag consists of a
|
1209
|
+
# required tag key (`Key`) and an associated tag value (`Value`). The
|
1210
|
+
# maximum length of a tag key is 128 characters. The maximum length of
|
1211
|
+
# a tag value is 256 characters.
|
1212
|
+
# @return [Array<Types::Tag>]
|
1213
|
+
#
|
1214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/TagResourceRequest AWS API Documentation
|
1215
|
+
#
|
1216
|
+
class TagResourceRequest < Struct.new(
|
1217
|
+
:resource_arn,
|
1218
|
+
:tags)
|
1219
|
+
include Aws::Structure
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/TagResourceResponse AWS API Documentation
|
1223
|
+
#
|
1224
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
1225
|
+
|
1226
|
+
# Tags are already registered for the specified application ARN.
|
1227
|
+
#
|
1228
|
+
# @!attribute [rw] message
|
1229
|
+
# @return [String]
|
1230
|
+
#
|
1231
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/TagsAlreadyExistException AWS API Documentation
|
1232
|
+
#
|
1233
|
+
class TagsAlreadyExistException < Struct.new(
|
1234
|
+
:message)
|
1235
|
+
include Aws::Structure
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# The number of the provided tags is beyond the limit, or the number of
|
1239
|
+
# total tags you are trying to attach to the specified resource exceeds
|
1240
|
+
# the limit.
|
1241
|
+
#
|
1242
|
+
# @!attribute [rw] message
|
1243
|
+
# @return [String]
|
1244
|
+
#
|
1245
|
+
# @!attribute [rw] resource_name
|
1246
|
+
# The name of the resource with too many tags.
|
1247
|
+
# @return [String]
|
1248
|
+
#
|
1249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/TooManyTagsException AWS API Documentation
|
1250
|
+
#
|
1251
|
+
class TooManyTagsException < Struct.new(
|
1252
|
+
:message,
|
1253
|
+
:resource_name)
|
1254
|
+
include Aws::Structure
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
1258
|
+
# data as a hash:
|
1259
|
+
#
|
1260
|
+
# {
|
1261
|
+
# resource_arn: "AmazonResourceName", # required
|
1262
|
+
# tag_keys: ["TagKey"], # required
|
1263
|
+
# }
|
1264
|
+
#
|
1265
|
+
# @!attribute [rw] resource_arn
|
1266
|
+
# The Amazon Resource Name (ARN) of the application that you want to
|
1267
|
+
# remove one or more tags from.
|
1268
|
+
# @return [String]
|
1269
|
+
#
|
1270
|
+
# @!attribute [rw] tag_keys
|
1271
|
+
# The tags (tag keys) that you want to remove from the resource. When
|
1272
|
+
# you specify a tag key, the action removes both that key and its
|
1273
|
+
# associated tag value.
|
1274
|
+
#
|
1275
|
+
# To remove more than one tag from the application, append the
|
1276
|
+
# `TagKeys` parameter and argument for each additional tag to remove,
|
1277
|
+
# separated by an ampersand.
|
1278
|
+
# @return [Array<String>]
|
1279
|
+
#
|
1280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UntagResourceRequest AWS API Documentation
|
1281
|
+
#
|
1282
|
+
class UntagResourceRequest < Struct.new(
|
1283
|
+
:resource_arn,
|
1284
|
+
:tag_keys)
|
1285
|
+
include Aws::Structure
|
1286
|
+
end
|
1287
|
+
|
1288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UntagResourceResponse AWS API Documentation
|
1289
|
+
#
|
1290
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
1291
|
+
|
802
1292
|
# @note When making an API call, you may pass UpdateApplicationRequest
|
803
1293
|
# data as a hash:
|
804
1294
|
#
|
@@ -857,7 +1347,7 @@ module Aws::ApplicationInsights
|
|
857
1347
|
# resource_group_name: "ResourceGroupName", # required
|
858
1348
|
# component_name: "ComponentName", # required
|
859
1349
|
# monitor: false,
|
860
|
-
# tier: "
|
1350
|
+
# tier: "DEFAULT", # accepts DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER
|
861
1351
|
# component_configuration: "ComponentConfiguration",
|
862
1352
|
# }
|
863
1353
|
#
|
@@ -875,7 +1365,8 @@ module Aws::ApplicationInsights
|
|
875
1365
|
#
|
876
1366
|
# @!attribute [rw] tier
|
877
1367
|
# The tier of the application component. Supported tiers include
|
878
|
-
# `DOT_NET_WORKER`, `DOT_NET_WEB`, `SQL_SERVER`, and
|
1368
|
+
# `DOT_NET_WORKER`, `DOT_NET_WEB`, `DOT_NET_CORE`, `SQL_SERVER`, and
|
1369
|
+
# `DEFAULT`.
|
879
1370
|
# @return [String]
|
880
1371
|
#
|
881
1372
|
# @!attribute [rw] component_configuration
|
@@ -883,11 +1374,14 @@ module Aws::ApplicationInsights
|
|
883
1374
|
# escaped JSON of the configuration. For more information about the
|
884
1375
|
# JSON format, see [Working with JSON][1]. You can send a request to
|
885
1376
|
# `DescribeComponentConfigurationRecommendation` to see the
|
886
|
-
# recommended configuration for a component.
|
1377
|
+
# recommended configuration for a component. For the complete format
|
1378
|
+
# of the component configuration file, see [Component
|
1379
|
+
# Configuration][2].
|
887
1380
|
#
|
888
1381
|
#
|
889
1382
|
#
|
890
1383
|
# [1]: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/working-with-json.html
|
1384
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/component-config.html
|
891
1385
|
# @return [String]
|
892
1386
|
#
|
893
1387
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentConfigurationRequest AWS API Documentation
|
@@ -945,6 +1439,64 @@ module Aws::ApplicationInsights
|
|
945
1439
|
#
|
946
1440
|
class UpdateComponentResponse < Aws::EmptyStructure; end
|
947
1441
|
|
1442
|
+
# @note When making an API call, you may pass UpdateLogPatternRequest
|
1443
|
+
# data as a hash:
|
1444
|
+
#
|
1445
|
+
# {
|
1446
|
+
# resource_group_name: "ResourceGroupName", # required
|
1447
|
+
# pattern_set_name: "LogPatternSetName", # required
|
1448
|
+
# pattern_name: "LogPatternName", # required
|
1449
|
+
# pattern: "LogPatternRegex",
|
1450
|
+
# rank: 1,
|
1451
|
+
# }
|
1452
|
+
#
|
1453
|
+
# @!attribute [rw] resource_group_name
|
1454
|
+
# The name of the resource group.
|
1455
|
+
# @return [String]
|
1456
|
+
#
|
1457
|
+
# @!attribute [rw] pattern_set_name
|
1458
|
+
# The name of the log pattern set.
|
1459
|
+
# @return [String]
|
1460
|
+
#
|
1461
|
+
# @!attribute [rw] pattern_name
|
1462
|
+
# The name of the log pattern.
|
1463
|
+
# @return [String]
|
1464
|
+
#
|
1465
|
+
# @!attribute [rw] pattern
|
1466
|
+
# The log pattern.
|
1467
|
+
# @return [String]
|
1468
|
+
#
|
1469
|
+
# @!attribute [rw] rank
|
1470
|
+
# Rank of the log pattern.
|
1471
|
+
# @return [Integer]
|
1472
|
+
#
|
1473
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateLogPatternRequest AWS API Documentation
|
1474
|
+
#
|
1475
|
+
class UpdateLogPatternRequest < Struct.new(
|
1476
|
+
:resource_group_name,
|
1477
|
+
:pattern_set_name,
|
1478
|
+
:pattern_name,
|
1479
|
+
:pattern,
|
1480
|
+
:rank)
|
1481
|
+
include Aws::Structure
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
# @!attribute [rw] resource_group_name
|
1485
|
+
# The name of the resource group.
|
1486
|
+
# @return [String]
|
1487
|
+
#
|
1488
|
+
# @!attribute [rw] log_pattern
|
1489
|
+
# The successfully created log pattern.
|
1490
|
+
# @return [Types::LogPattern]
|
1491
|
+
#
|
1492
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateLogPatternResponse AWS API Documentation
|
1493
|
+
#
|
1494
|
+
class UpdateLogPatternResponse < Struct.new(
|
1495
|
+
:resource_group_name,
|
1496
|
+
:log_pattern)
|
1497
|
+
include Aws::Structure
|
1498
|
+
end
|
1499
|
+
|
948
1500
|
# The parameter is not valid.
|
949
1501
|
#
|
950
1502
|
# @!attribute [rw] message
|