aws-sdk-applicationinsights 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-applicationinsights.rb +1 -1
- data/lib/aws-sdk-applicationinsights/client.rb +91 -18
- data/lib/aws-sdk-applicationinsights/client_api.rb +46 -0
- data/lib/aws-sdk-applicationinsights/resource.rb +1 -7
- data/lib/aws-sdk-applicationinsights/types.rb +136 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df41c2cdcc4ffb7f93ff56c8fc68162b4182449d
|
4
|
+
data.tar.gz: 0ab379fb75b274fa086da21b5f81a1f964524bbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0fe662214ce3f99a730e87f37ebd85d5d1eb89e4ee8e273e5c7eeaa411c315d19479547bb6a2b06f9c13f310ddec74ec4972ae4702f79d85906b4e43b31c1fb
|
7
|
+
data.tar.gz: 7690bc399bfe058de0a457abdb533890492e440f9e8efd7536ad92a9ed55dc002533595f9a93d7441ed216192d5f38de603f392b903dfcca099bbd4a89532ca1
|
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:applicationinsights)
|
|
32
32
|
module Aws::ApplicationInsights
|
33
33
|
# An API client for ApplicationInsights. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::ApplicationInsights::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -229,15 +229,19 @@ module Aws::ApplicationInsights
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -275,8 +279,7 @@ module Aws::ApplicationInsights
|
|
275
279
|
#
|
276
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
281
|
# number of seconds to wait for response data. This value can
|
278
|
-
# safely be set
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
280
283
|
#
|
281
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
285
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +291,7 @@ module Aws::ApplicationInsights
|
|
288
291
|
# request body. This option has no effect unless the request has
|
289
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
293
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
294
|
+
# request on the session.
|
292
295
|
#
|
293
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -324,6 +327,11 @@ module Aws::ApplicationInsights
|
|
324
327
|
# When set to `true`, creates opsItems for any problems detected on an
|
325
328
|
# application.
|
326
329
|
#
|
330
|
+
# @option params [Boolean] :cwe_monitor_enabled
|
331
|
+
# Indicates whether Application Insights can listen to CloudWatch events
|
332
|
+
# for the application resources, such as `instance terminated`, `failed
|
333
|
+
# deployment`, and others.
|
334
|
+
#
|
327
335
|
# @option params [String] :ops_item_sns_topic_arn
|
328
336
|
# The SNS topic provided to Application Insights that is associated to
|
329
337
|
# the created opsItem. Allows you to receive notifications for updates
|
@@ -343,6 +351,7 @@ module Aws::ApplicationInsights
|
|
343
351
|
# resp = client.create_application({
|
344
352
|
# resource_group_name: "ResourceGroupName", # required
|
345
353
|
# ops_center_enabled: false,
|
354
|
+
# cwe_monitor_enabled: false,
|
346
355
|
# ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
|
347
356
|
# tags: [
|
348
357
|
# {
|
@@ -358,6 +367,7 @@ module Aws::ApplicationInsights
|
|
358
367
|
# resp.application_info.life_cycle #=> String
|
359
368
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
360
369
|
# resp.application_info.ops_center_enabled #=> Boolean
|
370
|
+
# resp.application_info.cwe_monitor_enabled #=> Boolean
|
361
371
|
# resp.application_info.remarks #=> String
|
362
372
|
#
|
363
373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication AWS API Documentation
|
@@ -551,6 +561,7 @@ module Aws::ApplicationInsights
|
|
551
561
|
# resp.application_info.life_cycle #=> String
|
552
562
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
553
563
|
# resp.application_info.ops_center_enabled #=> Boolean
|
564
|
+
# resp.application_info.cwe_monitor_enabled #=> Boolean
|
554
565
|
# resp.application_info.remarks #=> String
|
555
566
|
#
|
556
567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication AWS API Documentation
|
@@ -746,6 +757,27 @@ module Aws::ApplicationInsights
|
|
746
757
|
# resp.observation.metric_name #=> String
|
747
758
|
# resp.observation.unit #=> String
|
748
759
|
# resp.observation.value #=> Float
|
760
|
+
# resp.observation.cloud_watch_event_id #=> String
|
761
|
+
# resp.observation.cloud_watch_event_source #=> String, one of "EC2", "CODE_DEPLOY", "HEALTH"
|
762
|
+
# resp.observation.cloud_watch_event_detail_type #=> String
|
763
|
+
# resp.observation.health_event_arn #=> String
|
764
|
+
# resp.observation.health_service #=> String
|
765
|
+
# resp.observation.health_event_type_code #=> String
|
766
|
+
# resp.observation.health_event_type_category #=> String
|
767
|
+
# resp.observation.health_event_description #=> String
|
768
|
+
# resp.observation.code_deploy_deployment_id #=> String
|
769
|
+
# resp.observation.code_deploy_deployment_group #=> String
|
770
|
+
# resp.observation.code_deploy_state #=> String
|
771
|
+
# resp.observation.code_deploy_application #=> String
|
772
|
+
# resp.observation.code_deploy_instance_group_id #=> String
|
773
|
+
# resp.observation.ec2_state #=> String
|
774
|
+
# resp.observation.x_ray_fault_percent #=> Integer
|
775
|
+
# resp.observation.x_ray_throttle_percent #=> Integer
|
776
|
+
# resp.observation.x_ray_error_percent #=> Integer
|
777
|
+
# resp.observation.x_ray_request_count #=> Integer
|
778
|
+
# resp.observation.x_ray_request_average_latency #=> Integer
|
779
|
+
# resp.observation.x_ray_node_name #=> String
|
780
|
+
# resp.observation.x_ray_node_type #=> String
|
749
781
|
#
|
750
782
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeObservation AWS API Documentation
|
751
783
|
#
|
@@ -825,6 +857,27 @@ module Aws::ApplicationInsights
|
|
825
857
|
# resp.related_observations.observation_list[0].metric_name #=> String
|
826
858
|
# resp.related_observations.observation_list[0].unit #=> String
|
827
859
|
# resp.related_observations.observation_list[0].value #=> Float
|
860
|
+
# resp.related_observations.observation_list[0].cloud_watch_event_id #=> String
|
861
|
+
# resp.related_observations.observation_list[0].cloud_watch_event_source #=> String, one of "EC2", "CODE_DEPLOY", "HEALTH"
|
862
|
+
# resp.related_observations.observation_list[0].cloud_watch_event_detail_type #=> String
|
863
|
+
# resp.related_observations.observation_list[0].health_event_arn #=> String
|
864
|
+
# resp.related_observations.observation_list[0].health_service #=> String
|
865
|
+
# resp.related_observations.observation_list[0].health_event_type_code #=> String
|
866
|
+
# resp.related_observations.observation_list[0].health_event_type_category #=> String
|
867
|
+
# resp.related_observations.observation_list[0].health_event_description #=> String
|
868
|
+
# resp.related_observations.observation_list[0].code_deploy_deployment_id #=> String
|
869
|
+
# resp.related_observations.observation_list[0].code_deploy_deployment_group #=> String
|
870
|
+
# resp.related_observations.observation_list[0].code_deploy_state #=> String
|
871
|
+
# resp.related_observations.observation_list[0].code_deploy_application #=> String
|
872
|
+
# resp.related_observations.observation_list[0].code_deploy_instance_group_id #=> String
|
873
|
+
# resp.related_observations.observation_list[0].ec2_state #=> String
|
874
|
+
# resp.related_observations.observation_list[0].x_ray_fault_percent #=> Integer
|
875
|
+
# resp.related_observations.observation_list[0].x_ray_throttle_percent #=> Integer
|
876
|
+
# resp.related_observations.observation_list[0].x_ray_error_percent #=> Integer
|
877
|
+
# resp.related_observations.observation_list[0].x_ray_request_count #=> Integer
|
878
|
+
# resp.related_observations.observation_list[0].x_ray_request_average_latency #=> Integer
|
879
|
+
# resp.related_observations.observation_list[0].x_ray_node_name #=> String
|
880
|
+
# resp.related_observations.observation_list[0].x_ray_node_type #=> String
|
828
881
|
#
|
829
882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemObservations AWS API Documentation
|
830
883
|
#
|
@@ -850,6 +903,8 @@ module Aws::ApplicationInsights
|
|
850
903
|
# * {Types::ListApplicationsResponse#application_info_list #application_info_list} => Array<Types::ApplicationInfo>
|
851
904
|
# * {Types::ListApplicationsResponse#next_token #next_token} => String
|
852
905
|
#
|
906
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
907
|
+
#
|
853
908
|
# @example Request syntax with placeholder values
|
854
909
|
#
|
855
910
|
# resp = client.list_applications({
|
@@ -864,6 +919,7 @@ module Aws::ApplicationInsights
|
|
864
919
|
# resp.application_info_list[0].life_cycle #=> String
|
865
920
|
# resp.application_info_list[0].ops_item_sns_topic_arn #=> String
|
866
921
|
# resp.application_info_list[0].ops_center_enabled #=> Boolean
|
922
|
+
# resp.application_info_list[0].cwe_monitor_enabled #=> Boolean
|
867
923
|
# resp.application_info_list[0].remarks #=> String
|
868
924
|
# resp.next_token #=> String
|
869
925
|
#
|
@@ -895,6 +951,8 @@ module Aws::ApplicationInsights
|
|
895
951
|
# * {Types::ListComponentsResponse#application_component_list #application_component_list} => Array<Types::ApplicationComponent>
|
896
952
|
# * {Types::ListComponentsResponse#next_token #next_token} => String
|
897
953
|
#
|
954
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
955
|
+
#
|
898
956
|
# @example Request syntax with placeholder values
|
899
957
|
#
|
900
958
|
# resp = client.list_components({
|
@@ -968,6 +1026,8 @@ module Aws::ApplicationInsights
|
|
968
1026
|
# * {Types::ListConfigurationHistoryResponse#event_list #event_list} => Array<Types::ConfigurationEvent>
|
969
1027
|
# * {Types::ListConfigurationHistoryResponse#next_token #next_token} => String
|
970
1028
|
#
|
1029
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1030
|
+
#
|
971
1031
|
# @example Request syntax with placeholder values
|
972
1032
|
#
|
973
1033
|
# resp = client.list_configuration_history({
|
@@ -1018,6 +1078,8 @@ module Aws::ApplicationInsights
|
|
1018
1078
|
# * {Types::ListLogPatternSetsResponse#log_pattern_sets #log_pattern_sets} => Array<String>
|
1019
1079
|
# * {Types::ListLogPatternSetsResponse#next_token #next_token} => String
|
1020
1080
|
#
|
1081
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1082
|
+
#
|
1021
1083
|
# @example Request syntax with placeholder values
|
1022
1084
|
#
|
1023
1085
|
# resp = client.list_log_pattern_sets({
|
@@ -1064,6 +1126,8 @@ module Aws::ApplicationInsights
|
|
1064
1126
|
# * {Types::ListLogPatternsResponse#log_patterns #log_patterns} => Array<Types::LogPattern>
|
1065
1127
|
# * {Types::ListLogPatternsResponse#next_token #next_token} => String
|
1066
1128
|
#
|
1129
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1130
|
+
#
|
1067
1131
|
# @example Request syntax with placeholder values
|
1068
1132
|
#
|
1069
1133
|
# resp = client.list_log_patterns({
|
@@ -1119,6 +1183,8 @@ module Aws::ApplicationInsights
|
|
1119
1183
|
# * {Types::ListProblemsResponse#problem_list #problem_list} => Array<Types::Problem>
|
1120
1184
|
# * {Types::ListProblemsResponse#next_token #next_token} => String
|
1121
1185
|
#
|
1186
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1187
|
+
#
|
1122
1188
|
# @example Request syntax with placeholder values
|
1123
1189
|
#
|
1124
1190
|
# resp = client.list_problems({
|
@@ -1277,6 +1343,11 @@ module Aws::ApplicationInsights
|
|
1277
1343
|
# When set to `true`, creates opsItems for any problems detected on an
|
1278
1344
|
# application.
|
1279
1345
|
#
|
1346
|
+
# @option params [Boolean] :cwe_monitor_enabled
|
1347
|
+
# Indicates whether Application Insights can listen to CloudWatch events
|
1348
|
+
# for the application resources, such as `instance terminated`, `failed
|
1349
|
+
# deployment`, and others.
|
1350
|
+
#
|
1280
1351
|
# @option params [String] :ops_item_sns_topic_arn
|
1281
1352
|
# The SNS topic provided to Application Insights that is associated to
|
1282
1353
|
# the created opsItem. Allows you to receive notifications for updates
|
@@ -1295,6 +1366,7 @@ module Aws::ApplicationInsights
|
|
1295
1366
|
# resp = client.update_application({
|
1296
1367
|
# resource_group_name: "ResourceGroupName", # required
|
1297
1368
|
# ops_center_enabled: false,
|
1369
|
+
# cwe_monitor_enabled: false,
|
1298
1370
|
# ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
|
1299
1371
|
# remove_sns_topic: false,
|
1300
1372
|
# })
|
@@ -1305,6 +1377,7 @@ module Aws::ApplicationInsights
|
|
1305
1377
|
# resp.application_info.life_cycle #=> String
|
1306
1378
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
1307
1379
|
# resp.application_info.ops_center_enabled #=> Boolean
|
1380
|
+
# resp.application_info.cwe_monitor_enabled #=> Boolean
|
1308
1381
|
# resp.application_info.remarks #=> String
|
1309
1382
|
#
|
1310
1383
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication AWS API Documentation
|
@@ -1466,7 +1539,7 @@ module Aws::ApplicationInsights
|
|
1466
1539
|
params: params,
|
1467
1540
|
config: config)
|
1468
1541
|
context[:gem_name] = 'aws-sdk-applicationinsights'
|
1469
|
-
context[:gem_version] = '1.
|
1542
|
+
context[:gem_version] = '1.8.0'
|
1470
1543
|
Seahorse::Client::Request.new(handlers, context)
|
1471
1544
|
end
|
1472
1545
|
|
@@ -18,6 +18,15 @@ module Aws::ApplicationInsights
|
|
18
18
|
ApplicationInfo = Shapes::StructureShape.new(name: 'ApplicationInfo')
|
19
19
|
ApplicationInfoList = Shapes::ListShape.new(name: 'ApplicationInfoList')
|
20
20
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
21
|
+
CWEMonitorEnabled = Shapes::BooleanShape.new(name: 'CWEMonitorEnabled')
|
22
|
+
CloudWatchEventDetailType = Shapes::StringShape.new(name: 'CloudWatchEventDetailType')
|
23
|
+
CloudWatchEventId = Shapes::StringShape.new(name: 'CloudWatchEventId')
|
24
|
+
CloudWatchEventSource = Shapes::StringShape.new(name: 'CloudWatchEventSource')
|
25
|
+
CodeDeployApplication = Shapes::StringShape.new(name: 'CodeDeployApplication')
|
26
|
+
CodeDeployDeploymentGroup = Shapes::StringShape.new(name: 'CodeDeployDeploymentGroup')
|
27
|
+
CodeDeployDeploymentId = Shapes::StringShape.new(name: 'CodeDeployDeploymentId')
|
28
|
+
CodeDeployInstanceGroupId = Shapes::StringShape.new(name: 'CodeDeployInstanceGroupId')
|
29
|
+
CodeDeployState = Shapes::StringShape.new(name: 'CodeDeployState')
|
21
30
|
ComponentConfiguration = Shapes::StringShape.new(name: 'ComponentConfiguration')
|
22
31
|
ComponentName = Shapes::StringShape.new(name: 'ComponentName')
|
23
32
|
ConfigurationEvent = Shapes::StructureShape.new(name: 'ConfigurationEvent')
|
@@ -56,12 +65,18 @@ module Aws::ApplicationInsights
|
|
56
65
|
DescribeProblemObservationsResponse = Shapes::StructureShape.new(name: 'DescribeProblemObservationsResponse')
|
57
66
|
DescribeProblemRequest = Shapes::StructureShape.new(name: 'DescribeProblemRequest')
|
58
67
|
DescribeProblemResponse = Shapes::StructureShape.new(name: 'DescribeProblemResponse')
|
68
|
+
Ec2State = Shapes::StringShape.new(name: 'Ec2State')
|
59
69
|
EndTime = Shapes::TimestampShape.new(name: 'EndTime')
|
60
70
|
ErrorMsg = Shapes::StringShape.new(name: 'ErrorMsg')
|
61
71
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
62
72
|
Feedback = Shapes::MapShape.new(name: 'Feedback')
|
63
73
|
FeedbackKey = Shapes::StringShape.new(name: 'FeedbackKey')
|
64
74
|
FeedbackValue = Shapes::StringShape.new(name: 'FeedbackValue')
|
75
|
+
HealthEventArn = Shapes::StringShape.new(name: 'HealthEventArn')
|
76
|
+
HealthEventDescription = Shapes::StringShape.new(name: 'HealthEventDescription')
|
77
|
+
HealthEventTypeCategory = Shapes::StringShape.new(name: 'HealthEventTypeCategory')
|
78
|
+
HealthEventTypeCode = Shapes::StringShape.new(name: 'HealthEventTypeCode')
|
79
|
+
HealthService = Shapes::StringShape.new(name: 'HealthService')
|
65
80
|
Insights = Shapes::StringShape.new(name: 'Insights')
|
66
81
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
67
82
|
LifeCycle = Shapes::StringShape.new(name: 'LifeCycle')
|
@@ -142,6 +157,13 @@ module Aws::ApplicationInsights
|
|
142
157
|
UpdateLogPatternResponse = Shapes::StructureShape.new(name: 'UpdateLogPatternResponse')
|
143
158
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
144
159
|
Value = Shapes::FloatShape.new(name: 'Value')
|
160
|
+
XRayErrorPercent = Shapes::IntegerShape.new(name: 'XRayErrorPercent')
|
161
|
+
XRayFaultPercent = Shapes::IntegerShape.new(name: 'XRayFaultPercent')
|
162
|
+
XRayNodeName = Shapes::StringShape.new(name: 'XRayNodeName')
|
163
|
+
XRayNodeType = Shapes::StringShape.new(name: 'XRayNodeType')
|
164
|
+
XRayRequestAverageLatency = Shapes::IntegerShape.new(name: 'XRayRequestAverageLatency')
|
165
|
+
XRayRequestCount = Shapes::IntegerShape.new(name: 'XRayRequestCount')
|
166
|
+
XRayThrottlePercent = Shapes::IntegerShape.new(name: 'XRayThrottlePercent')
|
145
167
|
|
146
168
|
ApplicationComponent.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, location_name: "ComponentName"))
|
147
169
|
ApplicationComponent.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
@@ -155,6 +177,7 @@ module Aws::ApplicationInsights
|
|
155
177
|
ApplicationInfo.add_member(:life_cycle, Shapes::ShapeRef.new(shape: LifeCycle, location_name: "LifeCycle"))
|
156
178
|
ApplicationInfo.add_member(:ops_item_sns_topic_arn, Shapes::ShapeRef.new(shape: OpsItemSNSTopicArn, location_name: "OpsItemSNSTopicArn"))
|
157
179
|
ApplicationInfo.add_member(:ops_center_enabled, Shapes::ShapeRef.new(shape: OpsCenterEnabled, location_name: "OpsCenterEnabled"))
|
180
|
+
ApplicationInfo.add_member(:cwe_monitor_enabled, Shapes::ShapeRef.new(shape: CWEMonitorEnabled, location_name: "CWEMonitorEnabled"))
|
158
181
|
ApplicationInfo.add_member(:remarks, Shapes::ShapeRef.new(shape: Remarks, location_name: "Remarks"))
|
159
182
|
ApplicationInfo.struct_class = Types::ApplicationInfo
|
160
183
|
|
@@ -175,6 +198,7 @@ module Aws::ApplicationInsights
|
|
175
198
|
|
176
199
|
CreateApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
177
200
|
CreateApplicationRequest.add_member(:ops_center_enabled, Shapes::ShapeRef.new(shape: OpsCenterEnabled, location_name: "OpsCenterEnabled"))
|
201
|
+
CreateApplicationRequest.add_member(:cwe_monitor_enabled, Shapes::ShapeRef.new(shape: CWEMonitorEnabled, location_name: "CWEMonitorEnabled"))
|
178
202
|
CreateApplicationRequest.add_member(:ops_item_sns_topic_arn, Shapes::ShapeRef.new(shape: OpsItemSNSTopicArn, location_name: "OpsItemSNSTopicArn"))
|
179
203
|
CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
180
204
|
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
@@ -372,6 +396,27 @@ module Aws::ApplicationInsights
|
|
372
396
|
Observation.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, location_name: "MetricName"))
|
373
397
|
Observation.add_member(:unit, Shapes::ShapeRef.new(shape: Unit, location_name: "Unit"))
|
374
398
|
Observation.add_member(:value, Shapes::ShapeRef.new(shape: Value, location_name: "Value"))
|
399
|
+
Observation.add_member(:cloud_watch_event_id, Shapes::ShapeRef.new(shape: CloudWatchEventId, location_name: "CloudWatchEventId"))
|
400
|
+
Observation.add_member(:cloud_watch_event_source, Shapes::ShapeRef.new(shape: CloudWatchEventSource, location_name: "CloudWatchEventSource"))
|
401
|
+
Observation.add_member(:cloud_watch_event_detail_type, Shapes::ShapeRef.new(shape: CloudWatchEventDetailType, location_name: "CloudWatchEventDetailType"))
|
402
|
+
Observation.add_member(:health_event_arn, Shapes::ShapeRef.new(shape: HealthEventArn, location_name: "HealthEventArn"))
|
403
|
+
Observation.add_member(:health_service, Shapes::ShapeRef.new(shape: HealthService, location_name: "HealthService"))
|
404
|
+
Observation.add_member(:health_event_type_code, Shapes::ShapeRef.new(shape: HealthEventTypeCode, location_name: "HealthEventTypeCode"))
|
405
|
+
Observation.add_member(:health_event_type_category, Shapes::ShapeRef.new(shape: HealthEventTypeCategory, location_name: "HealthEventTypeCategory"))
|
406
|
+
Observation.add_member(:health_event_description, Shapes::ShapeRef.new(shape: HealthEventDescription, location_name: "HealthEventDescription"))
|
407
|
+
Observation.add_member(:code_deploy_deployment_id, Shapes::ShapeRef.new(shape: CodeDeployDeploymentId, location_name: "CodeDeployDeploymentId"))
|
408
|
+
Observation.add_member(:code_deploy_deployment_group, Shapes::ShapeRef.new(shape: CodeDeployDeploymentGroup, location_name: "CodeDeployDeploymentGroup"))
|
409
|
+
Observation.add_member(:code_deploy_state, Shapes::ShapeRef.new(shape: CodeDeployState, location_name: "CodeDeployState"))
|
410
|
+
Observation.add_member(:code_deploy_application, Shapes::ShapeRef.new(shape: CodeDeployApplication, location_name: "CodeDeployApplication"))
|
411
|
+
Observation.add_member(:code_deploy_instance_group_id, Shapes::ShapeRef.new(shape: CodeDeployInstanceGroupId, location_name: "CodeDeployInstanceGroupId"))
|
412
|
+
Observation.add_member(:ec2_state, Shapes::ShapeRef.new(shape: Ec2State, location_name: "Ec2State"))
|
413
|
+
Observation.add_member(:x_ray_fault_percent, Shapes::ShapeRef.new(shape: XRayFaultPercent, location_name: "XRayFaultPercent"))
|
414
|
+
Observation.add_member(:x_ray_throttle_percent, Shapes::ShapeRef.new(shape: XRayThrottlePercent, location_name: "XRayThrottlePercent"))
|
415
|
+
Observation.add_member(:x_ray_error_percent, Shapes::ShapeRef.new(shape: XRayErrorPercent, location_name: "XRayErrorPercent"))
|
416
|
+
Observation.add_member(:x_ray_request_count, Shapes::ShapeRef.new(shape: XRayRequestCount, location_name: "XRayRequestCount"))
|
417
|
+
Observation.add_member(:x_ray_request_average_latency, Shapes::ShapeRef.new(shape: XRayRequestAverageLatency, location_name: "XRayRequestAverageLatency"))
|
418
|
+
Observation.add_member(:x_ray_node_name, Shapes::ShapeRef.new(shape: XRayNodeName, location_name: "XRayNodeName"))
|
419
|
+
Observation.add_member(:x_ray_node_type, Shapes::ShapeRef.new(shape: XRayNodeType, location_name: "XRayNodeType"))
|
375
420
|
Observation.struct_class = Types::Observation
|
376
421
|
|
377
422
|
ObservationList.member = Shapes::ShapeRef.new(shape: Observation)
|
@@ -430,6 +475,7 @@ module Aws::ApplicationInsights
|
|
430
475
|
|
431
476
|
UpdateApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
432
477
|
UpdateApplicationRequest.add_member(:ops_center_enabled, Shapes::ShapeRef.new(shape: OpsCenterEnabled, location_name: "OpsCenterEnabled"))
|
478
|
+
UpdateApplicationRequest.add_member(:cwe_monitor_enabled, Shapes::ShapeRef.new(shape: CWEMonitorEnabled, location_name: "CWEMonitorEnabled"))
|
433
479
|
UpdateApplicationRequest.add_member(:ops_item_sns_topic_arn, Shapes::ShapeRef.new(shape: OpsItemSNSTopicArn, location_name: "OpsItemSNSTopicArn"))
|
434
480
|
UpdateApplicationRequest.add_member(:remove_sns_topic, Shapes::ShapeRef.new(shape: RemoveSNSTopic, location_name: "RemoveSNSTopic"))
|
435
481
|
UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::ApplicationInsights
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::ApplicationInsights::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::ApplicationInsights::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::ApplicationInsights::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -59,6 +59,12 @@ module Aws::ApplicationInsights
|
|
59
59
|
# problem detected by Application Insights for an application.
|
60
60
|
# @return [Boolean]
|
61
61
|
#
|
62
|
+
# @!attribute [rw] cwe_monitor_enabled
|
63
|
+
# Indicates whether Application Insights can listen to CloudWatch
|
64
|
+
# events for the application resources, such as `instance terminated`,
|
65
|
+
# `failed deployment`, and others.
|
66
|
+
# @return [Boolean]
|
67
|
+
#
|
62
68
|
# @!attribute [rw] remarks
|
63
69
|
# The issues on the user side that block Application Insights from
|
64
70
|
# successfully monitoring an application. Example remarks include:
|
@@ -75,6 +81,7 @@ module Aws::ApplicationInsights
|
|
75
81
|
:life_cycle,
|
76
82
|
:ops_item_sns_topic_arn,
|
77
83
|
:ops_center_enabled,
|
84
|
+
:cwe_monitor_enabled,
|
78
85
|
:remarks)
|
79
86
|
include Aws::Structure
|
80
87
|
end
|
@@ -138,6 +145,7 @@ module Aws::ApplicationInsights
|
|
138
145
|
# {
|
139
146
|
# resource_group_name: "ResourceGroupName", # required
|
140
147
|
# ops_center_enabled: false,
|
148
|
+
# cwe_monitor_enabled: false,
|
141
149
|
# ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
|
142
150
|
# tags: [
|
143
151
|
# {
|
@@ -156,6 +164,12 @@ module Aws::ApplicationInsights
|
|
156
164
|
# application.
|
157
165
|
# @return [Boolean]
|
158
166
|
#
|
167
|
+
# @!attribute [rw] cwe_monitor_enabled
|
168
|
+
# Indicates whether Application Insights can listen to CloudWatch
|
169
|
+
# events for the application resources, such as `instance terminated`,
|
170
|
+
# `failed deployment`, and others.
|
171
|
+
# @return [Boolean]
|
172
|
+
#
|
159
173
|
# @!attribute [rw] ops_item_sns_topic_arn
|
160
174
|
# The SNS topic provided to Application Insights that is associated to
|
161
175
|
# the created opsItem. Allows you to receive notifications for updates
|
@@ -173,6 +187,7 @@ module Aws::ApplicationInsights
|
|
173
187
|
class CreateApplicationRequest < Struct.new(
|
174
188
|
:resource_group_name,
|
175
189
|
:ops_center_enabled,
|
190
|
+
:cwe_monitor_enabled,
|
176
191
|
:ops_item_sns_topic_arn,
|
177
192
|
:tags)
|
178
193
|
include Aws::Structure
|
@@ -1146,6 +1161,97 @@ module Aws::ApplicationInsights
|
|
1146
1161
|
# The value of the source observation metric.
|
1147
1162
|
# @return [Float]
|
1148
1163
|
#
|
1164
|
+
# @!attribute [rw] cloud_watch_event_id
|
1165
|
+
# The ID of the CloudWatch Event-based observation related to the
|
1166
|
+
# detected problem.
|
1167
|
+
# @return [String]
|
1168
|
+
#
|
1169
|
+
# @!attribute [rw] cloud_watch_event_source
|
1170
|
+
# The source of the CloudWatch Event.
|
1171
|
+
# @return [String]
|
1172
|
+
#
|
1173
|
+
# @!attribute [rw] cloud_watch_event_detail_type
|
1174
|
+
# The detail type of the CloudWatch Event-based observation, for
|
1175
|
+
# example, `EC2 Instance State-change Notification`.
|
1176
|
+
# @return [String]
|
1177
|
+
#
|
1178
|
+
# @!attribute [rw] health_event_arn
|
1179
|
+
# The Amazon Resource Name (ARN) of the AWS Health Event-based
|
1180
|
+
# observation.
|
1181
|
+
# @return [String]
|
1182
|
+
#
|
1183
|
+
# @!attribute [rw] health_service
|
1184
|
+
# The service to which the AWS Health Event belongs, such as EC2.
|
1185
|
+
# @return [String]
|
1186
|
+
#
|
1187
|
+
# @!attribute [rw] health_event_type_code
|
1188
|
+
# The type of the AWS Health event, for example,
|
1189
|
+
# `AWS_EC2_POWER_CONNECTIVITY_ISSUE`.
|
1190
|
+
# @return [String]
|
1191
|
+
#
|
1192
|
+
# @!attribute [rw] health_event_type_category
|
1193
|
+
# The category of the AWS Health event, such as `issue`.
|
1194
|
+
# @return [String]
|
1195
|
+
#
|
1196
|
+
# @!attribute [rw] health_event_description
|
1197
|
+
# The description of the AWS Health event provided by the service,
|
1198
|
+
# such as Amazon EC2.
|
1199
|
+
# @return [String]
|
1200
|
+
#
|
1201
|
+
# @!attribute [rw] code_deploy_deployment_id
|
1202
|
+
# The deployment ID of the CodeDeploy-based observation related to the
|
1203
|
+
# detected problem.
|
1204
|
+
# @return [String]
|
1205
|
+
#
|
1206
|
+
# @!attribute [rw] code_deploy_deployment_group
|
1207
|
+
# The deployment group to which the CodeDeploy deployment belongs.
|
1208
|
+
# @return [String]
|
1209
|
+
#
|
1210
|
+
# @!attribute [rw] code_deploy_state
|
1211
|
+
# The status of the CodeDeploy deployment, for example `SUCCESS` or `
|
1212
|
+
# FAILURE`.
|
1213
|
+
# @return [String]
|
1214
|
+
#
|
1215
|
+
# @!attribute [rw] code_deploy_application
|
1216
|
+
# The CodeDeploy application to which the deployment belongs.
|
1217
|
+
# @return [String]
|
1218
|
+
#
|
1219
|
+
# @!attribute [rw] code_deploy_instance_group_id
|
1220
|
+
# The instance group to which the CodeDeploy instance belongs.
|
1221
|
+
# @return [String]
|
1222
|
+
#
|
1223
|
+
# @!attribute [rw] ec2_state
|
1224
|
+
# The state of the instance, such as `STOPPING` or `TERMINATING`.
|
1225
|
+
# @return [String]
|
1226
|
+
#
|
1227
|
+
# @!attribute [rw] x_ray_fault_percent
|
1228
|
+
# The X-Ray request fault percentage for this node.
|
1229
|
+
# @return [Integer]
|
1230
|
+
#
|
1231
|
+
# @!attribute [rw] x_ray_throttle_percent
|
1232
|
+
# The X-Ray request throttle percentage for this node.
|
1233
|
+
# @return [Integer]
|
1234
|
+
#
|
1235
|
+
# @!attribute [rw] x_ray_error_percent
|
1236
|
+
# The X-Ray request error percentage for this node.
|
1237
|
+
# @return [Integer]
|
1238
|
+
#
|
1239
|
+
# @!attribute [rw] x_ray_request_count
|
1240
|
+
# The X-Ray request count for this node.
|
1241
|
+
# @return [Integer]
|
1242
|
+
#
|
1243
|
+
# @!attribute [rw] x_ray_request_average_latency
|
1244
|
+
# The X-Ray node request average latency for this node.
|
1245
|
+
# @return [Integer]
|
1246
|
+
#
|
1247
|
+
# @!attribute [rw] x_ray_node_name
|
1248
|
+
# The name of the X-Ray node.
|
1249
|
+
# @return [String]
|
1250
|
+
#
|
1251
|
+
# @!attribute [rw] x_ray_node_type
|
1252
|
+
# The type of the X-Ray node.
|
1253
|
+
# @return [String]
|
1254
|
+
#
|
1149
1255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/Observation AWS API Documentation
|
1150
1256
|
#
|
1151
1257
|
class Observation < Struct.new(
|
@@ -1161,7 +1267,28 @@ module Aws::ApplicationInsights
|
|
1161
1267
|
:metric_namespace,
|
1162
1268
|
:metric_name,
|
1163
1269
|
:unit,
|
1164
|
-
:value
|
1270
|
+
:value,
|
1271
|
+
:cloud_watch_event_id,
|
1272
|
+
:cloud_watch_event_source,
|
1273
|
+
:cloud_watch_event_detail_type,
|
1274
|
+
:health_event_arn,
|
1275
|
+
:health_service,
|
1276
|
+
:health_event_type_code,
|
1277
|
+
:health_event_type_category,
|
1278
|
+
:health_event_description,
|
1279
|
+
:code_deploy_deployment_id,
|
1280
|
+
:code_deploy_deployment_group,
|
1281
|
+
:code_deploy_state,
|
1282
|
+
:code_deploy_application,
|
1283
|
+
:code_deploy_instance_group_id,
|
1284
|
+
:ec2_state,
|
1285
|
+
:x_ray_fault_percent,
|
1286
|
+
:x_ray_throttle_percent,
|
1287
|
+
:x_ray_error_percent,
|
1288
|
+
:x_ray_request_count,
|
1289
|
+
:x_ray_request_average_latency,
|
1290
|
+
:x_ray_node_name,
|
1291
|
+
:x_ray_node_type)
|
1165
1292
|
include Aws::Structure
|
1166
1293
|
end
|
1167
1294
|
|
@@ -1421,6 +1548,7 @@ module Aws::ApplicationInsights
|
|
1421
1548
|
# {
|
1422
1549
|
# resource_group_name: "ResourceGroupName", # required
|
1423
1550
|
# ops_center_enabled: false,
|
1551
|
+
# cwe_monitor_enabled: false,
|
1424
1552
|
# ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
|
1425
1553
|
# remove_sns_topic: false,
|
1426
1554
|
# }
|
@@ -1434,6 +1562,12 @@ module Aws::ApplicationInsights
|
|
1434
1562
|
# application.
|
1435
1563
|
# @return [Boolean]
|
1436
1564
|
#
|
1565
|
+
# @!attribute [rw] cwe_monitor_enabled
|
1566
|
+
# Indicates whether Application Insights can listen to CloudWatch
|
1567
|
+
# events for the application resources, such as `instance terminated`,
|
1568
|
+
# `failed deployment`, and others.
|
1569
|
+
# @return [Boolean]
|
1570
|
+
#
|
1437
1571
|
# @!attribute [rw] ops_item_sns_topic_arn
|
1438
1572
|
# The SNS topic provided to Application Insights that is associated to
|
1439
1573
|
# the created opsItem. Allows you to receive notifications for updates
|
@@ -1450,6 +1584,7 @@ module Aws::ApplicationInsights
|
|
1450
1584
|
class UpdateApplicationRequest < Struct.new(
|
1451
1585
|
:resource_group_name,
|
1452
1586
|
:ops_center_enabled,
|
1587
|
+
:cwe_monitor_enabled,
|
1453
1588
|
:ops_item_sns_topic_arn,
|
1454
1589
|
:remove_sns_topic)
|
1455
1590
|
include Aws::Structure
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-applicationinsights
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|