aws-sdk-applicationinsights 1.38.0 → 1.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationinsights/client.rb +352 -8
- data/lib/aws-sdk-applicationinsights/client_api.rb +189 -0
- data/lib/aws-sdk-applicationinsights/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-applicationinsights/endpoints.rb +84 -0
- data/lib/aws-sdk-applicationinsights/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-applicationinsights/types.rb +454 -16
- data/lib/aws-sdk-applicationinsights.rb +2 -2
- metadata +2 -2
@@ -14,6 +14,9 @@ module Aws::ApplicationInsights
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
18
|
+
AddWorkloadRequest = Shapes::StructureShape.new(name: 'AddWorkloadRequest')
|
19
|
+
AddWorkloadResponse = Shapes::StructureShape.new(name: 'AddWorkloadResponse')
|
17
20
|
AffectedResource = Shapes::StringShape.new(name: 'AffectedResource')
|
18
21
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
19
22
|
ApplicationComponent = Shapes::StructureShape.new(name: 'ApplicationComponent')
|
@@ -71,6 +74,8 @@ module Aws::ApplicationInsights
|
|
71
74
|
DescribeProblemObservationsResponse = Shapes::StructureShape.new(name: 'DescribeProblemObservationsResponse')
|
72
75
|
DescribeProblemRequest = Shapes::StructureShape.new(name: 'DescribeProblemRequest')
|
73
76
|
DescribeProblemResponse = Shapes::StructureShape.new(name: 'DescribeProblemResponse')
|
77
|
+
DescribeWorkloadRequest = Shapes::StructureShape.new(name: 'DescribeWorkloadRequest')
|
78
|
+
DescribeWorkloadResponse = Shapes::StructureShape.new(name: 'DescribeWorkloadResponse')
|
74
79
|
DetectedWorkload = Shapes::MapShape.new(name: 'DetectedWorkload')
|
75
80
|
DiscoveryType = Shapes::StringShape.new(name: 'DiscoveryType')
|
76
81
|
EbsCause = Shapes::StringShape.new(name: 'EbsCause')
|
@@ -109,6 +114,8 @@ module Aws::ApplicationInsights
|
|
109
114
|
ListProblemsResponse = Shapes::StructureShape.new(name: 'ListProblemsResponse')
|
110
115
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
111
116
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
117
|
+
ListWorkloadsRequest = Shapes::StructureShape.new(name: 'ListWorkloadsRequest')
|
118
|
+
ListWorkloadsResponse = Shapes::StructureShape.new(name: 'ListWorkloadsResponse')
|
112
119
|
LogFilter = Shapes::StringShape.new(name: 'LogFilter')
|
113
120
|
LogGroup = Shapes::StringShape.new(name: 'LogGroup')
|
114
121
|
LogPattern = Shapes::StructureShape.new(name: 'LogPattern')
|
@@ -137,10 +144,14 @@ module Aws::ApplicationInsights
|
|
137
144
|
ProblemList = Shapes::ListShape.new(name: 'ProblemList')
|
138
145
|
RdsEventCategories = Shapes::StringShape.new(name: 'RdsEventCategories')
|
139
146
|
RdsEventMessage = Shapes::StringShape.new(name: 'RdsEventMessage')
|
147
|
+
RecommendationType = Shapes::StringShape.new(name: 'RecommendationType')
|
140
148
|
RecurringCount = Shapes::IntegerShape.new(name: 'RecurringCount')
|
141
149
|
RelatedObservations = Shapes::StructureShape.new(name: 'RelatedObservations')
|
142
150
|
Remarks = Shapes::StringShape.new(name: 'Remarks')
|
143
151
|
RemoveSNSTopic = Shapes::BooleanShape.new(name: 'RemoveSNSTopic')
|
152
|
+
RemoveWorkloadRequest = Shapes::StructureShape.new(name: 'RemoveWorkloadRequest')
|
153
|
+
RemoveWorkloadResponse = Shapes::StructureShape.new(name: 'RemoveWorkloadResponse')
|
154
|
+
ResolutionMethod = Shapes::StringShape.new(name: 'ResolutionMethod')
|
144
155
|
ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
|
145
156
|
ResourceGroupName = Shapes::StringShape.new(name: 'ResourceGroupName')
|
146
157
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
@@ -179,9 +190,20 @@ module Aws::ApplicationInsights
|
|
179
190
|
UpdateComponentResponse = Shapes::StructureShape.new(name: 'UpdateComponentResponse')
|
180
191
|
UpdateLogPatternRequest = Shapes::StructureShape.new(name: 'UpdateLogPatternRequest')
|
181
192
|
UpdateLogPatternResponse = Shapes::StructureShape.new(name: 'UpdateLogPatternResponse')
|
193
|
+
UpdateProblemRequest = Shapes::StructureShape.new(name: 'UpdateProblemRequest')
|
194
|
+
UpdateProblemResponse = Shapes::StructureShape.new(name: 'UpdateProblemResponse')
|
195
|
+
UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
|
196
|
+
UpdateWorkloadRequest = Shapes::StructureShape.new(name: 'UpdateWorkloadRequest')
|
197
|
+
UpdateWorkloadResponse = Shapes::StructureShape.new(name: 'UpdateWorkloadResponse')
|
182
198
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
183
199
|
Value = Shapes::FloatShape.new(name: 'Value')
|
200
|
+
Visibility = Shapes::StringShape.new(name: 'Visibility')
|
201
|
+
Workload = Shapes::StructureShape.new(name: 'Workload')
|
202
|
+
WorkloadConfiguration = Shapes::StructureShape.new(name: 'WorkloadConfiguration')
|
203
|
+
WorkloadId = Shapes::StringShape.new(name: 'WorkloadId')
|
204
|
+
WorkloadList = Shapes::ListShape.new(name: 'WorkloadList')
|
184
205
|
WorkloadMetaData = Shapes::MapShape.new(name: 'WorkloadMetaData')
|
206
|
+
WorkloadName = Shapes::StringShape.new(name: 'WorkloadName')
|
185
207
|
XRayErrorPercent = Shapes::IntegerShape.new(name: 'XRayErrorPercent')
|
186
208
|
XRayFaultPercent = Shapes::IntegerShape.new(name: 'XRayFaultPercent')
|
187
209
|
XRayNodeName = Shapes::StringShape.new(name: 'XRayNodeName')
|
@@ -193,6 +215,15 @@ module Aws::ApplicationInsights
|
|
193
215
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
|
194
216
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
195
217
|
|
218
|
+
AddWorkloadRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
219
|
+
AddWorkloadRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
220
|
+
AddWorkloadRequest.add_member(:workload_configuration, Shapes::ShapeRef.new(shape: WorkloadConfiguration, required: true, location_name: "WorkloadConfiguration"))
|
221
|
+
AddWorkloadRequest.struct_class = Types::AddWorkloadRequest
|
222
|
+
|
223
|
+
AddWorkloadResponse.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
|
224
|
+
AddWorkloadResponse.add_member(:workload_configuration, Shapes::ShapeRef.new(shape: WorkloadConfiguration, location_name: "WorkloadConfiguration"))
|
225
|
+
AddWorkloadResponse.struct_class = Types::AddWorkloadResponse
|
226
|
+
|
196
227
|
ApplicationComponent.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, location_name: "ComponentName"))
|
197
228
|
ApplicationComponent.add_member(:component_remarks, Shapes::ShapeRef.new(shape: Remarks, location_name: "ComponentRemarks"))
|
198
229
|
ApplicationComponent.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
@@ -204,6 +235,7 @@ module Aws::ApplicationInsights
|
|
204
235
|
|
205
236
|
ApplicationComponentList.member = Shapes::ShapeRef.new(shape: ApplicationComponent)
|
206
237
|
|
238
|
+
ApplicationInfo.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
207
239
|
ApplicationInfo.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
208
240
|
ApplicationInfo.add_member(:life_cycle, Shapes::ShapeRef.new(shape: LifeCycle, location_name: "LifeCycle"))
|
209
241
|
ApplicationInfo.add_member(:ops_item_sns_topic_arn, Shapes::ShapeRef.new(shape: OpsItemSNSTopicArn, location_name: "OpsItemSNSTopicArn"))
|
@@ -219,6 +251,8 @@ module Aws::ApplicationInsights
|
|
219
251
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
|
220
252
|
BadRequestException.struct_class = Types::BadRequestException
|
221
253
|
|
254
|
+
ConfigurationEvent.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
255
|
+
ConfigurationEvent.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
222
256
|
ConfigurationEvent.add_member(:monitored_resource_arn, Shapes::ShapeRef.new(shape: ConfigurationEventMonitoredResourceARN, location_name: "MonitoredResourceARN"))
|
223
257
|
ConfigurationEvent.add_member(:event_status, Shapes::ShapeRef.new(shape: ConfigurationEventStatus, location_name: "EventStatus"))
|
224
258
|
ConfigurationEvent.add_member(:event_resource_type, Shapes::ShapeRef.new(shape: ConfigurationEventResourceType, location_name: "EventResourceType"))
|
@@ -279,6 +313,7 @@ module Aws::ApplicationInsights
|
|
279
313
|
DeleteLogPatternResponse.struct_class = Types::DeleteLogPatternResponse
|
280
314
|
|
281
315
|
DescribeApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
316
|
+
DescribeApplicationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
282
317
|
DescribeApplicationRequest.struct_class = Types::DescribeApplicationRequest
|
283
318
|
|
284
319
|
DescribeApplicationResponse.add_member(:application_info, Shapes::ShapeRef.new(shape: ApplicationInfo, location_name: "ApplicationInfo"))
|
@@ -287,6 +322,7 @@ module Aws::ApplicationInsights
|
|
287
322
|
DescribeComponentConfigurationRecommendationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
288
323
|
DescribeComponentConfigurationRecommendationRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
289
324
|
DescribeComponentConfigurationRecommendationRequest.add_member(:tier, Shapes::ShapeRef.new(shape: Tier, required: true, location_name: "Tier"))
|
325
|
+
DescribeComponentConfigurationRecommendationRequest.add_member(:recommendation_type, Shapes::ShapeRef.new(shape: RecommendationType, location_name: "RecommendationType"))
|
290
326
|
DescribeComponentConfigurationRecommendationRequest.struct_class = Types::DescribeComponentConfigurationRecommendationRequest
|
291
327
|
|
292
328
|
DescribeComponentConfigurationRecommendationResponse.add_member(:component_configuration, Shapes::ShapeRef.new(shape: ComponentConfiguration, location_name: "ComponentConfiguration"))
|
@@ -294,6 +330,7 @@ module Aws::ApplicationInsights
|
|
294
330
|
|
295
331
|
DescribeComponentConfigurationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
296
332
|
DescribeComponentConfigurationRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
333
|
+
DescribeComponentConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
297
334
|
DescribeComponentConfigurationRequest.struct_class = Types::DescribeComponentConfigurationRequest
|
298
335
|
|
299
336
|
DescribeComponentConfigurationResponse.add_member(:monitor, Shapes::ShapeRef.new(shape: Monitor, location_name: "Monitor"))
|
@@ -303,6 +340,7 @@ module Aws::ApplicationInsights
|
|
303
340
|
|
304
341
|
DescribeComponentRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
305
342
|
DescribeComponentRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
343
|
+
DescribeComponentRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
306
344
|
DescribeComponentRequest.struct_class = Types::DescribeComponentRequest
|
307
345
|
|
308
346
|
DescribeComponentResponse.add_member(:application_component, Shapes::ShapeRef.new(shape: ApplicationComponent, location_name: "ApplicationComponent"))
|
@@ -312,30 +350,46 @@ module Aws::ApplicationInsights
|
|
312
350
|
DescribeLogPatternRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
313
351
|
DescribeLogPatternRequest.add_member(:pattern_set_name, Shapes::ShapeRef.new(shape: LogPatternSetName, required: true, location_name: "PatternSetName"))
|
314
352
|
DescribeLogPatternRequest.add_member(:pattern_name, Shapes::ShapeRef.new(shape: LogPatternName, required: true, location_name: "PatternName"))
|
353
|
+
DescribeLogPatternRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
315
354
|
DescribeLogPatternRequest.struct_class = Types::DescribeLogPatternRequest
|
316
355
|
|
317
356
|
DescribeLogPatternResponse.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
357
|
+
DescribeLogPatternResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
318
358
|
DescribeLogPatternResponse.add_member(:log_pattern, Shapes::ShapeRef.new(shape: LogPattern, location_name: "LogPattern"))
|
319
359
|
DescribeLogPatternResponse.struct_class = Types::DescribeLogPatternResponse
|
320
360
|
|
321
361
|
DescribeObservationRequest.add_member(:observation_id, Shapes::ShapeRef.new(shape: ObservationId, required: true, location_name: "ObservationId"))
|
362
|
+
DescribeObservationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
322
363
|
DescribeObservationRequest.struct_class = Types::DescribeObservationRequest
|
323
364
|
|
324
365
|
DescribeObservationResponse.add_member(:observation, Shapes::ShapeRef.new(shape: Observation, location_name: "Observation"))
|
325
366
|
DescribeObservationResponse.struct_class = Types::DescribeObservationResponse
|
326
367
|
|
327
368
|
DescribeProblemObservationsRequest.add_member(:problem_id, Shapes::ShapeRef.new(shape: ProblemId, required: true, location_name: "ProblemId"))
|
369
|
+
DescribeProblemObservationsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
328
370
|
DescribeProblemObservationsRequest.struct_class = Types::DescribeProblemObservationsRequest
|
329
371
|
|
330
372
|
DescribeProblemObservationsResponse.add_member(:related_observations, Shapes::ShapeRef.new(shape: RelatedObservations, location_name: "RelatedObservations"))
|
331
373
|
DescribeProblemObservationsResponse.struct_class = Types::DescribeProblemObservationsResponse
|
332
374
|
|
333
375
|
DescribeProblemRequest.add_member(:problem_id, Shapes::ShapeRef.new(shape: ProblemId, required: true, location_name: "ProblemId"))
|
376
|
+
DescribeProblemRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
334
377
|
DescribeProblemRequest.struct_class = Types::DescribeProblemRequest
|
335
378
|
|
336
379
|
DescribeProblemResponse.add_member(:problem, Shapes::ShapeRef.new(shape: Problem, location_name: "Problem"))
|
337
380
|
DescribeProblemResponse.struct_class = Types::DescribeProblemResponse
|
338
381
|
|
382
|
+
DescribeWorkloadRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
383
|
+
DescribeWorkloadRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
384
|
+
DescribeWorkloadRequest.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, required: true, location_name: "WorkloadId"))
|
385
|
+
DescribeWorkloadRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
386
|
+
DescribeWorkloadRequest.struct_class = Types::DescribeWorkloadRequest
|
387
|
+
|
388
|
+
DescribeWorkloadResponse.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
|
389
|
+
DescribeWorkloadResponse.add_member(:workload_remarks, Shapes::ShapeRef.new(shape: Remarks, location_name: "WorkloadRemarks"))
|
390
|
+
DescribeWorkloadResponse.add_member(:workload_configuration, Shapes::ShapeRef.new(shape: WorkloadConfiguration, location_name: "WorkloadConfiguration"))
|
391
|
+
DescribeWorkloadResponse.struct_class = Types::DescribeWorkloadResponse
|
392
|
+
|
339
393
|
DetectedWorkload.key = Shapes::ShapeRef.new(shape: Tier)
|
340
394
|
DetectedWorkload.value = Shapes::ShapeRef.new(shape: WorkloadMetaData)
|
341
395
|
|
@@ -347,6 +401,7 @@ module Aws::ApplicationInsights
|
|
347
401
|
|
348
402
|
ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxEntities, location_name: "MaxResults"))
|
349
403
|
ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
404
|
+
ListApplicationsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
350
405
|
ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
|
351
406
|
|
352
407
|
ListApplicationsResponse.add_member(:application_info_list, Shapes::ShapeRef.new(shape: ApplicationInfoList, location_name: "ApplicationInfoList"))
|
@@ -356,6 +411,7 @@ module Aws::ApplicationInsights
|
|
356
411
|
ListComponentsRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
357
412
|
ListComponentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxEntities, location_name: "MaxResults"))
|
358
413
|
ListComponentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
414
|
+
ListComponentsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
359
415
|
ListComponentsRequest.struct_class = Types::ListComponentsRequest
|
360
416
|
|
361
417
|
ListComponentsResponse.add_member(:application_component_list, Shapes::ShapeRef.new(shape: ApplicationComponentList, location_name: "ApplicationComponentList"))
|
@@ -368,6 +424,7 @@ module Aws::ApplicationInsights
|
|
368
424
|
ListConfigurationHistoryRequest.add_member(:event_status, Shapes::ShapeRef.new(shape: ConfigurationEventStatus, location_name: "EventStatus"))
|
369
425
|
ListConfigurationHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxEntities, location_name: "MaxResults"))
|
370
426
|
ListConfigurationHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
427
|
+
ListConfigurationHistoryRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
371
428
|
ListConfigurationHistoryRequest.struct_class = Types::ListConfigurationHistoryRequest
|
372
429
|
|
373
430
|
ListConfigurationHistoryResponse.add_member(:event_list, Shapes::ShapeRef.new(shape: ConfigurationEventList, location_name: "EventList"))
|
@@ -377,9 +434,11 @@ module Aws::ApplicationInsights
|
|
377
434
|
ListLogPatternSetsRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
378
435
|
ListLogPatternSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxEntities, location_name: "MaxResults"))
|
379
436
|
ListLogPatternSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
437
|
+
ListLogPatternSetsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
380
438
|
ListLogPatternSetsRequest.struct_class = Types::ListLogPatternSetsRequest
|
381
439
|
|
382
440
|
ListLogPatternSetsResponse.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
441
|
+
ListLogPatternSetsResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
383
442
|
ListLogPatternSetsResponse.add_member(:log_pattern_sets, Shapes::ShapeRef.new(shape: LogPatternSetList, location_name: "LogPatternSets"))
|
384
443
|
ListLogPatternSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
385
444
|
ListLogPatternSetsResponse.struct_class = Types::ListLogPatternSetsResponse
|
@@ -388,24 +447,29 @@ module Aws::ApplicationInsights
|
|
388
447
|
ListLogPatternsRequest.add_member(:pattern_set_name, Shapes::ShapeRef.new(shape: LogPatternSetName, location_name: "PatternSetName"))
|
389
448
|
ListLogPatternsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxEntities, location_name: "MaxResults"))
|
390
449
|
ListLogPatternsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
450
|
+
ListLogPatternsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
391
451
|
ListLogPatternsRequest.struct_class = Types::ListLogPatternsRequest
|
392
452
|
|
393
453
|
ListLogPatternsResponse.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
454
|
+
ListLogPatternsResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
394
455
|
ListLogPatternsResponse.add_member(:log_patterns, Shapes::ShapeRef.new(shape: LogPatternList, location_name: "LogPatterns"))
|
395
456
|
ListLogPatternsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
396
457
|
ListLogPatternsResponse.struct_class = Types::ListLogPatternsResponse
|
397
458
|
|
459
|
+
ListProblemsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
398
460
|
ListProblemsRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
399
461
|
ListProblemsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, location_name: "StartTime"))
|
400
462
|
ListProblemsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "EndTime"))
|
401
463
|
ListProblemsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxEntities, location_name: "MaxResults"))
|
402
464
|
ListProblemsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
403
465
|
ListProblemsRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, location_name: "ComponentName"))
|
466
|
+
ListProblemsRequest.add_member(:visibility, Shapes::ShapeRef.new(shape: Visibility, location_name: "Visibility"))
|
404
467
|
ListProblemsRequest.struct_class = Types::ListProblemsRequest
|
405
468
|
|
406
469
|
ListProblemsResponse.add_member(:problem_list, Shapes::ShapeRef.new(shape: ProblemList, location_name: "ProblemList"))
|
407
470
|
ListProblemsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
408
471
|
ListProblemsResponse.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
472
|
+
ListProblemsResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
409
473
|
ListProblemsResponse.struct_class = Types::ListProblemsResponse
|
410
474
|
|
411
475
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
@@ -414,6 +478,17 @@ module Aws::ApplicationInsights
|
|
414
478
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
415
479
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
416
480
|
|
481
|
+
ListWorkloadsRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
482
|
+
ListWorkloadsRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
483
|
+
ListWorkloadsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxEntities, location_name: "MaxResults"))
|
484
|
+
ListWorkloadsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
485
|
+
ListWorkloadsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
486
|
+
ListWorkloadsRequest.struct_class = Types::ListWorkloadsRequest
|
487
|
+
|
488
|
+
ListWorkloadsResponse.add_member(:workload_list, Shapes::ShapeRef.new(shape: WorkloadList, location_name: "WorkloadList"))
|
489
|
+
ListWorkloadsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
490
|
+
ListWorkloadsResponse.struct_class = Types::ListWorkloadsResponse
|
491
|
+
|
417
492
|
LogPattern.add_member(:pattern_set_name, Shapes::ShapeRef.new(shape: LogPatternSetName, location_name: "PatternSetName"))
|
418
493
|
LogPattern.add_member(:pattern_name, Shapes::ShapeRef.new(shape: LogPatternName, location_name: "PatternName"))
|
419
494
|
LogPattern.add_member(:pattern, Shapes::ShapeRef.new(shape: LogPatternRegex, location_name: "Pattern"))
|
@@ -481,10 +556,13 @@ module Aws::ApplicationInsights
|
|
481
556
|
Problem.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, location_name: "StartTime"))
|
482
557
|
Problem.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "EndTime"))
|
483
558
|
Problem.add_member(:severity_level, Shapes::ShapeRef.new(shape: SeverityLevel, location_name: "SeverityLevel"))
|
559
|
+
Problem.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
484
560
|
Problem.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
|
485
561
|
Problem.add_member(:feedback, Shapes::ShapeRef.new(shape: Feedback, location_name: "Feedback"))
|
486
562
|
Problem.add_member(:recurring_count, Shapes::ShapeRef.new(shape: RecurringCount, location_name: "RecurringCount"))
|
487
563
|
Problem.add_member(:last_recurrence_time, Shapes::ShapeRef.new(shape: LastRecurrenceTime, location_name: "LastRecurrenceTime"))
|
564
|
+
Problem.add_member(:visibility, Shapes::ShapeRef.new(shape: Visibility, location_name: "Visibility"))
|
565
|
+
Problem.add_member(:resolution_method, Shapes::ShapeRef.new(shape: ResolutionMethod, location_name: "ResolutionMethod"))
|
488
566
|
Problem.struct_class = Types::Problem
|
489
567
|
|
490
568
|
ProblemList.member = Shapes::ShapeRef.new(shape: Problem)
|
@@ -492,6 +570,13 @@ module Aws::ApplicationInsights
|
|
492
570
|
RelatedObservations.add_member(:observation_list, Shapes::ShapeRef.new(shape: ObservationList, location_name: "ObservationList"))
|
493
571
|
RelatedObservations.struct_class = Types::RelatedObservations
|
494
572
|
|
573
|
+
RemoveWorkloadRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
574
|
+
RemoveWorkloadRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
575
|
+
RemoveWorkloadRequest.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, required: true, location_name: "WorkloadId"))
|
576
|
+
RemoveWorkloadRequest.struct_class = Types::RemoveWorkloadRequest
|
577
|
+
|
578
|
+
RemoveWorkloadResponse.struct_class = Types::RemoveWorkloadResponse
|
579
|
+
|
495
580
|
ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
|
496
581
|
ResourceInUseException.struct_class = Types::ResourceInUseException
|
497
582
|
|
@@ -567,9 +652,40 @@ module Aws::ApplicationInsights
|
|
567
652
|
UpdateLogPatternResponse.add_member(:log_pattern, Shapes::ShapeRef.new(shape: LogPattern, location_name: "LogPattern"))
|
568
653
|
UpdateLogPatternResponse.struct_class = Types::UpdateLogPatternResponse
|
569
654
|
|
655
|
+
UpdateProblemRequest.add_member(:problem_id, Shapes::ShapeRef.new(shape: ProblemId, required: true, location_name: "ProblemId"))
|
656
|
+
UpdateProblemRequest.add_member(:update_status, Shapes::ShapeRef.new(shape: UpdateStatus, location_name: "UpdateStatus"))
|
657
|
+
UpdateProblemRequest.add_member(:visibility, Shapes::ShapeRef.new(shape: Visibility, location_name: "Visibility"))
|
658
|
+
UpdateProblemRequest.struct_class = Types::UpdateProblemRequest
|
659
|
+
|
660
|
+
UpdateProblemResponse.struct_class = Types::UpdateProblemResponse
|
661
|
+
|
662
|
+
UpdateWorkloadRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
663
|
+
UpdateWorkloadRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
664
|
+
UpdateWorkloadRequest.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
|
665
|
+
UpdateWorkloadRequest.add_member(:workload_configuration, Shapes::ShapeRef.new(shape: WorkloadConfiguration, required: true, location_name: "WorkloadConfiguration"))
|
666
|
+
UpdateWorkloadRequest.struct_class = Types::UpdateWorkloadRequest
|
667
|
+
|
668
|
+
UpdateWorkloadResponse.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
|
669
|
+
UpdateWorkloadResponse.add_member(:workload_configuration, Shapes::ShapeRef.new(shape: WorkloadConfiguration, location_name: "WorkloadConfiguration"))
|
670
|
+
UpdateWorkloadResponse.struct_class = Types::UpdateWorkloadResponse
|
671
|
+
|
570
672
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
|
571
673
|
ValidationException.struct_class = Types::ValidationException
|
572
674
|
|
675
|
+
Workload.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
|
676
|
+
Workload.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, location_name: "ComponentName"))
|
677
|
+
Workload.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadName, location_name: "WorkloadName"))
|
678
|
+
Workload.add_member(:tier, Shapes::ShapeRef.new(shape: Tier, location_name: "Tier"))
|
679
|
+
Workload.add_member(:workload_remarks, Shapes::ShapeRef.new(shape: Remarks, location_name: "WorkloadRemarks"))
|
680
|
+
Workload.struct_class = Types::Workload
|
681
|
+
|
682
|
+
WorkloadConfiguration.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadName, location_name: "WorkloadName"))
|
683
|
+
WorkloadConfiguration.add_member(:tier, Shapes::ShapeRef.new(shape: Tier, location_name: "Tier"))
|
684
|
+
WorkloadConfiguration.add_member(:configuration, Shapes::ShapeRef.new(shape: ComponentConfiguration, location_name: "Configuration"))
|
685
|
+
WorkloadConfiguration.struct_class = Types::WorkloadConfiguration
|
686
|
+
|
687
|
+
WorkloadList.member = Shapes::ShapeRef.new(shape: Workload)
|
688
|
+
|
573
689
|
WorkloadMetaData.key = Shapes::ShapeRef.new(shape: MetaDataKey)
|
574
690
|
WorkloadMetaData.value = Shapes::ShapeRef.new(shape: MetaDataValue)
|
575
691
|
|
@@ -593,6 +709,18 @@ module Aws::ApplicationInsights
|
|
593
709
|
"uid" => "application-insights-2018-11-25",
|
594
710
|
}
|
595
711
|
|
712
|
+
api.add_operation(:add_workload, Seahorse::Model::Operation.new.tap do |o|
|
713
|
+
o.name = "AddWorkload"
|
714
|
+
o.http_method = "POST"
|
715
|
+
o.http_request_uri = "/"
|
716
|
+
o.input = Shapes::ShapeRef.new(shape: AddWorkloadRequest)
|
717
|
+
o.output = Shapes::ShapeRef.new(shape: AddWorkloadResponse)
|
718
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
721
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
722
|
+
end)
|
723
|
+
|
596
724
|
api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
|
597
725
|
o.name = "CreateApplication"
|
598
726
|
o.http_method = "POST"
|
@@ -754,6 +882,17 @@ module Aws::ApplicationInsights
|
|
754
882
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
755
883
|
end)
|
756
884
|
|
885
|
+
api.add_operation(:describe_workload, Seahorse::Model::Operation.new.tap do |o|
|
886
|
+
o.name = "DescribeWorkload"
|
887
|
+
o.http_method = "POST"
|
888
|
+
o.http_request_uri = "/"
|
889
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeWorkloadRequest)
|
890
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeWorkloadResponse)
|
891
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
892
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
893
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
894
|
+
end)
|
895
|
+
|
757
896
|
api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
|
758
897
|
o.name = "ListApplications"
|
759
898
|
o.http_method = "POST"
|
@@ -865,6 +1004,34 @@ module Aws::ApplicationInsights
|
|
865
1004
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
866
1005
|
end)
|
867
1006
|
|
1007
|
+
api.add_operation(:list_workloads, Seahorse::Model::Operation.new.tap do |o|
|
1008
|
+
o.name = "ListWorkloads"
|
1009
|
+
o.http_method = "POST"
|
1010
|
+
o.http_request_uri = "/"
|
1011
|
+
o.input = Shapes::ShapeRef.new(shape: ListWorkloadsRequest)
|
1012
|
+
o.output = Shapes::ShapeRef.new(shape: ListWorkloadsResponse)
|
1013
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1014
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1015
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1016
|
+
o[:pager] = Aws::Pager.new(
|
1017
|
+
limit_key: "max_results",
|
1018
|
+
tokens: {
|
1019
|
+
"next_token" => "next_token"
|
1020
|
+
}
|
1021
|
+
)
|
1022
|
+
end)
|
1023
|
+
|
1024
|
+
api.add_operation(:remove_workload, Seahorse::Model::Operation.new.tap do |o|
|
1025
|
+
o.name = "RemoveWorkload"
|
1026
|
+
o.http_method = "POST"
|
1027
|
+
o.http_request_uri = "/"
|
1028
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveWorkloadRequest)
|
1029
|
+
o.output = Shapes::ShapeRef.new(shape: RemoveWorkloadResponse)
|
1030
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1031
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1032
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1033
|
+
end)
|
1034
|
+
|
868
1035
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
869
1036
|
o.name = "TagResource"
|
870
1037
|
o.http_method = "POST"
|
@@ -931,6 +1098,28 @@ module Aws::ApplicationInsights
|
|
931
1098
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
932
1099
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
933
1100
|
end)
|
1101
|
+
|
1102
|
+
api.add_operation(:update_problem, Seahorse::Model::Operation.new.tap do |o|
|
1103
|
+
o.name = "UpdateProblem"
|
1104
|
+
o.http_method = "POST"
|
1105
|
+
o.http_request_uri = "/"
|
1106
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateProblemRequest)
|
1107
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateProblemResponse)
|
1108
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1109
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1110
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1111
|
+
end)
|
1112
|
+
|
1113
|
+
api.add_operation(:update_workload, Seahorse::Model::Operation.new.tap do |o|
|
1114
|
+
o.name = "UpdateWorkload"
|
1115
|
+
o.http_method = "POST"
|
1116
|
+
o.http_request_uri = "/"
|
1117
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateWorkloadRequest)
|
1118
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateWorkloadResponse)
|
1119
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1120
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1121
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1122
|
+
end)
|
934
1123
|
end
|
935
1124
|
|
936
1125
|
end
|
@@ -14,36 +14,39 @@ module Aws::ApplicationInsights
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://applicationinsights-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://applicationinsights-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://applicationinsights-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://applicationinsights-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://applicationinsights.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://applicationinsights.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://applicationinsights.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -12,6 +12,20 @@ module Aws::ApplicationInsights
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
+
class AddWorkload
|
16
|
+
def self.build(context)
|
17
|
+
unless context.config.regional_endpoint
|
18
|
+
endpoint = context.config.endpoint.to_s
|
19
|
+
end
|
20
|
+
Aws::ApplicationInsights::EndpointParameters.new(
|
21
|
+
region: context.config.region,
|
22
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
23
|
+
use_fips: context.config.use_fips_endpoint,
|
24
|
+
endpoint: endpoint,
|
25
|
+
)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
15
29
|
class CreateApplication
|
16
30
|
def self.build(context)
|
17
31
|
unless context.config.regional_endpoint
|
@@ -208,6 +222,20 @@ module Aws::ApplicationInsights
|
|
208
222
|
end
|
209
223
|
end
|
210
224
|
|
225
|
+
class DescribeWorkload
|
226
|
+
def self.build(context)
|
227
|
+
unless context.config.regional_endpoint
|
228
|
+
endpoint = context.config.endpoint.to_s
|
229
|
+
end
|
230
|
+
Aws::ApplicationInsights::EndpointParameters.new(
|
231
|
+
region: context.config.region,
|
232
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
233
|
+
use_fips: context.config.use_fips_endpoint,
|
234
|
+
endpoint: endpoint,
|
235
|
+
)
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
211
239
|
class ListApplications
|
212
240
|
def self.build(context)
|
213
241
|
unless context.config.regional_endpoint
|
@@ -306,6 +334,34 @@ module Aws::ApplicationInsights
|
|
306
334
|
end
|
307
335
|
end
|
308
336
|
|
337
|
+
class ListWorkloads
|
338
|
+
def self.build(context)
|
339
|
+
unless context.config.regional_endpoint
|
340
|
+
endpoint = context.config.endpoint.to_s
|
341
|
+
end
|
342
|
+
Aws::ApplicationInsights::EndpointParameters.new(
|
343
|
+
region: context.config.region,
|
344
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
345
|
+
use_fips: context.config.use_fips_endpoint,
|
346
|
+
endpoint: endpoint,
|
347
|
+
)
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
351
|
+
class RemoveWorkload
|
352
|
+
def self.build(context)
|
353
|
+
unless context.config.regional_endpoint
|
354
|
+
endpoint = context.config.endpoint.to_s
|
355
|
+
end
|
356
|
+
Aws::ApplicationInsights::EndpointParameters.new(
|
357
|
+
region: context.config.region,
|
358
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
359
|
+
use_fips: context.config.use_fips_endpoint,
|
360
|
+
endpoint: endpoint,
|
361
|
+
)
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
309
365
|
class TagResource
|
310
366
|
def self.build(context)
|
311
367
|
unless context.config.regional_endpoint
|
@@ -390,5 +446,33 @@ module Aws::ApplicationInsights
|
|
390
446
|
end
|
391
447
|
end
|
392
448
|
|
449
|
+
class UpdateProblem
|
450
|
+
def self.build(context)
|
451
|
+
unless context.config.regional_endpoint
|
452
|
+
endpoint = context.config.endpoint.to_s
|
453
|
+
end
|
454
|
+
Aws::ApplicationInsights::EndpointParameters.new(
|
455
|
+
region: context.config.region,
|
456
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
457
|
+
use_fips: context.config.use_fips_endpoint,
|
458
|
+
endpoint: endpoint,
|
459
|
+
)
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
463
|
+
class UpdateWorkload
|
464
|
+
def self.build(context)
|
465
|
+
unless context.config.regional_endpoint
|
466
|
+
endpoint = context.config.endpoint.to_s
|
467
|
+
end
|
468
|
+
Aws::ApplicationInsights::EndpointParameters.new(
|
469
|
+
region: context.config.region,
|
470
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
471
|
+
use_fips: context.config.use_fips_endpoint,
|
472
|
+
endpoint: endpoint,
|
473
|
+
)
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
393
477
|
end
|
394
478
|
end
|
@@ -56,6 +56,8 @@ module Aws::ApplicationInsights
|
|
56
56
|
|
57
57
|
def parameters_for_operation(context)
|
58
58
|
case context.operation_name
|
59
|
+
when :add_workload
|
60
|
+
Aws::ApplicationInsights::Endpoints::AddWorkload.build(context)
|
59
61
|
when :create_application
|
60
62
|
Aws::ApplicationInsights::Endpoints::CreateApplication.build(context)
|
61
63
|
when :create_component
|
@@ -84,6 +86,8 @@ module Aws::ApplicationInsights
|
|
84
86
|
Aws::ApplicationInsights::Endpoints::DescribeProblem.build(context)
|
85
87
|
when :describe_problem_observations
|
86
88
|
Aws::ApplicationInsights::Endpoints::DescribeProblemObservations.build(context)
|
89
|
+
when :describe_workload
|
90
|
+
Aws::ApplicationInsights::Endpoints::DescribeWorkload.build(context)
|
87
91
|
when :list_applications
|
88
92
|
Aws::ApplicationInsights::Endpoints::ListApplications.build(context)
|
89
93
|
when :list_components
|
@@ -98,6 +102,10 @@ module Aws::ApplicationInsights
|
|
98
102
|
Aws::ApplicationInsights::Endpoints::ListProblems.build(context)
|
99
103
|
when :list_tags_for_resource
|
100
104
|
Aws::ApplicationInsights::Endpoints::ListTagsForResource.build(context)
|
105
|
+
when :list_workloads
|
106
|
+
Aws::ApplicationInsights::Endpoints::ListWorkloads.build(context)
|
107
|
+
when :remove_workload
|
108
|
+
Aws::ApplicationInsights::Endpoints::RemoveWorkload.build(context)
|
101
109
|
when :tag_resource
|
102
110
|
Aws::ApplicationInsights::Endpoints::TagResource.build(context)
|
103
111
|
when :untag_resource
|
@@ -110,6 +118,10 @@ module Aws::ApplicationInsights
|
|
110
118
|
Aws::ApplicationInsights::Endpoints::UpdateComponentConfiguration.build(context)
|
111
119
|
when :update_log_pattern
|
112
120
|
Aws::ApplicationInsights::Endpoints::UpdateLogPattern.build(context)
|
121
|
+
when :update_problem
|
122
|
+
Aws::ApplicationInsights::Endpoints::UpdateProblem.build(context)
|
123
|
+
when :update_workload
|
124
|
+
Aws::ApplicationInsights::Endpoints::UpdateWorkload.build(context)
|
113
125
|
end
|
114
126
|
end
|
115
127
|
end
|