aws-sdk-applicationinsights 1.7.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: acf219b1cbbd627f9c21ebf1c4e4fd4372f8a9ba
4
- data.tar.gz: 66dd0d648492b191e96305c412ab4ae3a08c5452
2
+ SHA256:
3
+ metadata.gz: 2c324ccaa28fa160295c04af29e20acd111b51f39e3502f5d1ebee4fee6a7083
4
+ data.tar.gz: f2869eaf9789f0bc87a513b6858cae750cae5783f6cd11fa16eba666be06c78b
5
5
  SHA512:
6
- metadata.gz: bfe4b80b2511690cf84666dd0e774a54ff309fb2f53a1b745126c206169382bf30b444e345d2321a2838f41941ca1dc9bd1d5dfc9d0fb6b8001b781c600051aa
7
- data.tar.gz: cdabb3d2d81b6b837cdebf5e95a51a697b0a88a940aacf8e32754faee9af4719be575498c30997ecca97179df9f319047522be6110de5e9fa2477dad0d745cc6
6
+ metadata.gz: e4a04eb9939db578562e50db5eacaf29a99546d029ff6cea2df6e27b52d377fd54ce104f4984318fe80cd416bc8bd7e1bdfd58e89aedbe53cbedf043c034f6ba
7
+ data.tar.gz: 455db6b000e32faf4ed02d309190ffea9e1a5eb91f14e5e9101fb473cceb722969b8341b28a00cf6cdb95016d6c90468c9596e6d5b4b20ecd999cac45e13805f
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-applicationinsights/customizations'
45
47
  # @service
46
48
  module Aws::ApplicationInsights
47
49
 
48
- GEM_VERSION = '1.7.0'
50
+ GEM_VERSION = '1.12.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:applicationinsights)
32
35
  module Aws::ApplicationInsights
33
36
  # An API client for ApplicationInsights. To construct a client, you need to configure a `:region` and `:credentials`.
34
37
  #
35
- # client = Aws::ApplicationInsights::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
38
+ # client = Aws::ApplicationInsights::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
40
43
  #
41
44
  # For details on configuring region and credentials see
42
45
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -69,6 +72,7 @@ module Aws::ApplicationInsights
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -105,7 +109,7 @@ module Aws::ApplicationInsights
105
109
  # @option options [required, String] :region
106
110
  # The AWS region to connect to. The configured `:region` is
107
111
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
109
113
  #
110
114
  # * `Aws.config[:region]`
111
115
  # * `ENV['AWS_REGION']`
@@ -161,7 +165,7 @@ module Aws::ApplicationInsights
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::ApplicationInsights
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -229,15 +233,19 @@ module Aws::ApplicationInsights
229
233
  #
230
234
  # @option options [String] :retry_mode ("legacy")
231
235
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
236
+ #
237
+ # * `legacy` - The pre-existing retry behavior. This is default value if
238
+ # no retry mode is provided.
239
+ #
240
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
241
+ # This includes support for retry quotas, which limit the number of
242
+ # unsuccessful retries a client can make.
243
+ #
244
+ # * `adaptive` - An experimental retry mode that includes all the
245
+ # functionality of `standard` mode along with automatic client side
246
+ # throttling. This is a provisional mode that may change behavior
247
+ # in the future.
248
+ #
241
249
  #
242
250
  # @option options [String] :secret_access_key
243
251
  #
@@ -275,8 +283,7 @@ module Aws::ApplicationInsights
275
283
  #
276
284
  # @option options [Integer] :http_read_timeout (60) The default
277
285
  # 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}.
286
+ # safely be set per-request on the session.
280
287
  #
281
288
  # @option options [Float] :http_idle_timeout (5) The number of
282
289
  # seconds a connection is allowed to sit idle before it is
@@ -288,7 +295,7 @@ module Aws::ApplicationInsights
288
295
  # request body. This option has no effect unless the request has
289
296
  # "Expect" header set to "100-continue". Defaults to `nil` which
290
297
  # disables this behaviour. This value can safely be set per
291
- # request on the session yielded by {#session_for}.
298
+ # request on the session.
292
299
  #
293
300
  # @option options [Boolean] :http_wire_trace (false) When `true`,
294
301
  # HTTP debug output will be sent to the `:logger`.
@@ -324,6 +331,11 @@ module Aws::ApplicationInsights
324
331
  # When set to `true`, creates opsItems for any problems detected on an
325
332
  # application.
326
333
  #
334
+ # @option params [Boolean] :cwe_monitor_enabled
335
+ # Indicates whether Application Insights can listen to CloudWatch events
336
+ # for the application resources, such as `instance terminated`, `failed
337
+ # deployment`, and others.
338
+ #
327
339
  # @option params [String] :ops_item_sns_topic_arn
328
340
  # The SNS topic provided to Application Insights that is associated to
329
341
  # the created opsItem. Allows you to receive notifications for updates
@@ -343,6 +355,7 @@ module Aws::ApplicationInsights
343
355
  # resp = client.create_application({
344
356
  # resource_group_name: "ResourceGroupName", # required
345
357
  # ops_center_enabled: false,
358
+ # cwe_monitor_enabled: false,
346
359
  # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
347
360
  # tags: [
348
361
  # {
@@ -358,6 +371,7 @@ module Aws::ApplicationInsights
358
371
  # resp.application_info.life_cycle #=> String
359
372
  # resp.application_info.ops_item_sns_topic_arn #=> String
360
373
  # resp.application_info.ops_center_enabled #=> Boolean
374
+ # resp.application_info.cwe_monitor_enabled #=> Boolean
361
375
  # resp.application_info.remarks #=> String
362
376
  #
363
377
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication AWS API Documentation
@@ -551,6 +565,7 @@ module Aws::ApplicationInsights
551
565
  # resp.application_info.life_cycle #=> String
552
566
  # resp.application_info.ops_item_sns_topic_arn #=> String
553
567
  # resp.application_info.ops_center_enabled #=> Boolean
568
+ # resp.application_info.cwe_monitor_enabled #=> Boolean
554
569
  # resp.application_info.remarks #=> String
555
570
  #
556
571
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication AWS API Documentation
@@ -746,6 +761,27 @@ module Aws::ApplicationInsights
746
761
  # resp.observation.metric_name #=> String
747
762
  # resp.observation.unit #=> String
748
763
  # resp.observation.value #=> Float
764
+ # resp.observation.cloud_watch_event_id #=> String
765
+ # resp.observation.cloud_watch_event_source #=> String, one of "EC2", "CODE_DEPLOY", "HEALTH"
766
+ # resp.observation.cloud_watch_event_detail_type #=> String
767
+ # resp.observation.health_event_arn #=> String
768
+ # resp.observation.health_service #=> String
769
+ # resp.observation.health_event_type_code #=> String
770
+ # resp.observation.health_event_type_category #=> String
771
+ # resp.observation.health_event_description #=> String
772
+ # resp.observation.code_deploy_deployment_id #=> String
773
+ # resp.observation.code_deploy_deployment_group #=> String
774
+ # resp.observation.code_deploy_state #=> String
775
+ # resp.observation.code_deploy_application #=> String
776
+ # resp.observation.code_deploy_instance_group_id #=> String
777
+ # resp.observation.ec2_state #=> String
778
+ # resp.observation.x_ray_fault_percent #=> Integer
779
+ # resp.observation.x_ray_throttle_percent #=> Integer
780
+ # resp.observation.x_ray_error_percent #=> Integer
781
+ # resp.observation.x_ray_request_count #=> Integer
782
+ # resp.observation.x_ray_request_average_latency #=> Integer
783
+ # resp.observation.x_ray_node_name #=> String
784
+ # resp.observation.x_ray_node_type #=> String
749
785
  #
750
786
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeObservation AWS API Documentation
751
787
  #
@@ -825,6 +861,27 @@ module Aws::ApplicationInsights
825
861
  # resp.related_observations.observation_list[0].metric_name #=> String
826
862
  # resp.related_observations.observation_list[0].unit #=> String
827
863
  # resp.related_observations.observation_list[0].value #=> Float
864
+ # resp.related_observations.observation_list[0].cloud_watch_event_id #=> String
865
+ # resp.related_observations.observation_list[0].cloud_watch_event_source #=> String, one of "EC2", "CODE_DEPLOY", "HEALTH"
866
+ # resp.related_observations.observation_list[0].cloud_watch_event_detail_type #=> String
867
+ # resp.related_observations.observation_list[0].health_event_arn #=> String
868
+ # resp.related_observations.observation_list[0].health_service #=> String
869
+ # resp.related_observations.observation_list[0].health_event_type_code #=> String
870
+ # resp.related_observations.observation_list[0].health_event_type_category #=> String
871
+ # resp.related_observations.observation_list[0].health_event_description #=> String
872
+ # resp.related_observations.observation_list[0].code_deploy_deployment_id #=> String
873
+ # resp.related_observations.observation_list[0].code_deploy_deployment_group #=> String
874
+ # resp.related_observations.observation_list[0].code_deploy_state #=> String
875
+ # resp.related_observations.observation_list[0].code_deploy_application #=> String
876
+ # resp.related_observations.observation_list[0].code_deploy_instance_group_id #=> String
877
+ # resp.related_observations.observation_list[0].ec2_state #=> String
878
+ # resp.related_observations.observation_list[0].x_ray_fault_percent #=> Integer
879
+ # resp.related_observations.observation_list[0].x_ray_throttle_percent #=> Integer
880
+ # resp.related_observations.observation_list[0].x_ray_error_percent #=> Integer
881
+ # resp.related_observations.observation_list[0].x_ray_request_count #=> Integer
882
+ # resp.related_observations.observation_list[0].x_ray_request_average_latency #=> Integer
883
+ # resp.related_observations.observation_list[0].x_ray_node_name #=> String
884
+ # resp.related_observations.observation_list[0].x_ray_node_type #=> String
828
885
  #
829
886
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemObservations AWS API Documentation
830
887
  #
@@ -850,6 +907,8 @@ module Aws::ApplicationInsights
850
907
  # * {Types::ListApplicationsResponse#application_info_list #application_info_list} => Array<Types::ApplicationInfo>
851
908
  # * {Types::ListApplicationsResponse#next_token #next_token} => String
852
909
  #
910
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
911
+ #
853
912
  # @example Request syntax with placeholder values
854
913
  #
855
914
  # resp = client.list_applications({
@@ -864,6 +923,7 @@ module Aws::ApplicationInsights
864
923
  # resp.application_info_list[0].life_cycle #=> String
865
924
  # resp.application_info_list[0].ops_item_sns_topic_arn #=> String
866
925
  # resp.application_info_list[0].ops_center_enabled #=> Boolean
926
+ # resp.application_info_list[0].cwe_monitor_enabled #=> Boolean
867
927
  # resp.application_info_list[0].remarks #=> String
868
928
  # resp.next_token #=> String
869
929
  #
@@ -895,6 +955,8 @@ module Aws::ApplicationInsights
895
955
  # * {Types::ListComponentsResponse#application_component_list #application_component_list} => Array<Types::ApplicationComponent>
896
956
  # * {Types::ListComponentsResponse#next_token #next_token} => String
897
957
  #
958
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
959
+ #
898
960
  # @example Request syntax with placeholder values
899
961
  #
900
962
  # resp = client.list_components({
@@ -968,6 +1030,8 @@ module Aws::ApplicationInsights
968
1030
  # * {Types::ListConfigurationHistoryResponse#event_list #event_list} => Array<Types::ConfigurationEvent>
969
1031
  # * {Types::ListConfigurationHistoryResponse#next_token #next_token} => String
970
1032
  #
1033
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1034
+ #
971
1035
  # @example Request syntax with placeholder values
972
1036
  #
973
1037
  # resp = client.list_configuration_history({
@@ -1018,6 +1082,8 @@ module Aws::ApplicationInsights
1018
1082
  # * {Types::ListLogPatternSetsResponse#log_pattern_sets #log_pattern_sets} => Array<String>
1019
1083
  # * {Types::ListLogPatternSetsResponse#next_token #next_token} => String
1020
1084
  #
1085
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1086
+ #
1021
1087
  # @example Request syntax with placeholder values
1022
1088
  #
1023
1089
  # resp = client.list_log_pattern_sets({
@@ -1064,6 +1130,8 @@ module Aws::ApplicationInsights
1064
1130
  # * {Types::ListLogPatternsResponse#log_patterns #log_patterns} => Array<Types::LogPattern>
1065
1131
  # * {Types::ListLogPatternsResponse#next_token #next_token} => String
1066
1132
  #
1133
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1134
+ #
1067
1135
  # @example Request syntax with placeholder values
1068
1136
  #
1069
1137
  # resp = client.list_log_patterns({
@@ -1119,6 +1187,8 @@ module Aws::ApplicationInsights
1119
1187
  # * {Types::ListProblemsResponse#problem_list #problem_list} => Array<Types::Problem>
1120
1188
  # * {Types::ListProblemsResponse#next_token #next_token} => String
1121
1189
  #
1190
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1191
+ #
1122
1192
  # @example Request syntax with placeholder values
1123
1193
  #
1124
1194
  # resp = client.list_problems({
@@ -1277,6 +1347,11 @@ module Aws::ApplicationInsights
1277
1347
  # When set to `true`, creates opsItems for any problems detected on an
1278
1348
  # application.
1279
1349
  #
1350
+ # @option params [Boolean] :cwe_monitor_enabled
1351
+ # Indicates whether Application Insights can listen to CloudWatch events
1352
+ # for the application resources, such as `instance terminated`, `failed
1353
+ # deployment`, and others.
1354
+ #
1280
1355
  # @option params [String] :ops_item_sns_topic_arn
1281
1356
  # The SNS topic provided to Application Insights that is associated to
1282
1357
  # the created opsItem. Allows you to receive notifications for updates
@@ -1295,6 +1370,7 @@ module Aws::ApplicationInsights
1295
1370
  # resp = client.update_application({
1296
1371
  # resource_group_name: "ResourceGroupName", # required
1297
1372
  # ops_center_enabled: false,
1373
+ # cwe_monitor_enabled: false,
1298
1374
  # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
1299
1375
  # remove_sns_topic: false,
1300
1376
  # })
@@ -1305,6 +1381,7 @@ module Aws::ApplicationInsights
1305
1381
  # resp.application_info.life_cycle #=> String
1306
1382
  # resp.application_info.ops_item_sns_topic_arn #=> String
1307
1383
  # resp.application_info.ops_center_enabled #=> Boolean
1384
+ # resp.application_info.cwe_monitor_enabled #=> Boolean
1308
1385
  # resp.application_info.remarks #=> String
1309
1386
  #
1310
1387
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication AWS API Documentation
@@ -1466,7 +1543,7 @@ module Aws::ApplicationInsights
1466
1543
  params: params,
1467
1544
  config: config)
1468
1545
  context[:gem_name] = 'aws-sdk-applicationinsights'
1469
- context[:gem_version] = '1.7.0'
1546
+ context[:gem_version] = '1.12.0'
1470
1547
  Seahorse::Client::Request.new(handlers, context)
1471
1548
  end
1472
1549
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -18,6 +20,15 @@ module Aws::ApplicationInsights
18
20
  ApplicationInfo = Shapes::StructureShape.new(name: 'ApplicationInfo')
19
21
  ApplicationInfoList = Shapes::ListShape.new(name: 'ApplicationInfoList')
20
22
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
23
+ CWEMonitorEnabled = Shapes::BooleanShape.new(name: 'CWEMonitorEnabled')
24
+ CloudWatchEventDetailType = Shapes::StringShape.new(name: 'CloudWatchEventDetailType')
25
+ CloudWatchEventId = Shapes::StringShape.new(name: 'CloudWatchEventId')
26
+ CloudWatchEventSource = Shapes::StringShape.new(name: 'CloudWatchEventSource')
27
+ CodeDeployApplication = Shapes::StringShape.new(name: 'CodeDeployApplication')
28
+ CodeDeployDeploymentGroup = Shapes::StringShape.new(name: 'CodeDeployDeploymentGroup')
29
+ CodeDeployDeploymentId = Shapes::StringShape.new(name: 'CodeDeployDeploymentId')
30
+ CodeDeployInstanceGroupId = Shapes::StringShape.new(name: 'CodeDeployInstanceGroupId')
31
+ CodeDeployState = Shapes::StringShape.new(name: 'CodeDeployState')
21
32
  ComponentConfiguration = Shapes::StringShape.new(name: 'ComponentConfiguration')
22
33
  ComponentName = Shapes::StringShape.new(name: 'ComponentName')
23
34
  ConfigurationEvent = Shapes::StructureShape.new(name: 'ConfigurationEvent')
@@ -56,12 +67,18 @@ module Aws::ApplicationInsights
56
67
  DescribeProblemObservationsResponse = Shapes::StructureShape.new(name: 'DescribeProblemObservationsResponse')
57
68
  DescribeProblemRequest = Shapes::StructureShape.new(name: 'DescribeProblemRequest')
58
69
  DescribeProblemResponse = Shapes::StructureShape.new(name: 'DescribeProblemResponse')
70
+ Ec2State = Shapes::StringShape.new(name: 'Ec2State')
59
71
  EndTime = Shapes::TimestampShape.new(name: 'EndTime')
60
72
  ErrorMsg = Shapes::StringShape.new(name: 'ErrorMsg')
61
73
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
62
74
  Feedback = Shapes::MapShape.new(name: 'Feedback')
63
75
  FeedbackKey = Shapes::StringShape.new(name: 'FeedbackKey')
64
76
  FeedbackValue = Shapes::StringShape.new(name: 'FeedbackValue')
77
+ HealthEventArn = Shapes::StringShape.new(name: 'HealthEventArn')
78
+ HealthEventDescription = Shapes::StringShape.new(name: 'HealthEventDescription')
79
+ HealthEventTypeCategory = Shapes::StringShape.new(name: 'HealthEventTypeCategory')
80
+ HealthEventTypeCode = Shapes::StringShape.new(name: 'HealthEventTypeCode')
81
+ HealthService = Shapes::StringShape.new(name: 'HealthService')
65
82
  Insights = Shapes::StringShape.new(name: 'Insights')
66
83
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
67
84
  LifeCycle = Shapes::StringShape.new(name: 'LifeCycle')
@@ -142,6 +159,13 @@ module Aws::ApplicationInsights
142
159
  UpdateLogPatternResponse = Shapes::StructureShape.new(name: 'UpdateLogPatternResponse')
143
160
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
144
161
  Value = Shapes::FloatShape.new(name: 'Value')
162
+ XRayErrorPercent = Shapes::IntegerShape.new(name: 'XRayErrorPercent')
163
+ XRayFaultPercent = Shapes::IntegerShape.new(name: 'XRayFaultPercent')
164
+ XRayNodeName = Shapes::StringShape.new(name: 'XRayNodeName')
165
+ XRayNodeType = Shapes::StringShape.new(name: 'XRayNodeType')
166
+ XRayRequestAverageLatency = Shapes::IntegerShape.new(name: 'XRayRequestAverageLatency')
167
+ XRayRequestCount = Shapes::IntegerShape.new(name: 'XRayRequestCount')
168
+ XRayThrottlePercent = Shapes::IntegerShape.new(name: 'XRayThrottlePercent')
145
169
 
146
170
  ApplicationComponent.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, location_name: "ComponentName"))
147
171
  ApplicationComponent.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
@@ -155,6 +179,7 @@ module Aws::ApplicationInsights
155
179
  ApplicationInfo.add_member(:life_cycle, Shapes::ShapeRef.new(shape: LifeCycle, location_name: "LifeCycle"))
156
180
  ApplicationInfo.add_member(:ops_item_sns_topic_arn, Shapes::ShapeRef.new(shape: OpsItemSNSTopicArn, location_name: "OpsItemSNSTopicArn"))
157
181
  ApplicationInfo.add_member(:ops_center_enabled, Shapes::ShapeRef.new(shape: OpsCenterEnabled, location_name: "OpsCenterEnabled"))
182
+ ApplicationInfo.add_member(:cwe_monitor_enabled, Shapes::ShapeRef.new(shape: CWEMonitorEnabled, location_name: "CWEMonitorEnabled"))
158
183
  ApplicationInfo.add_member(:remarks, Shapes::ShapeRef.new(shape: Remarks, location_name: "Remarks"))
159
184
  ApplicationInfo.struct_class = Types::ApplicationInfo
160
185
 
@@ -175,6 +200,7 @@ module Aws::ApplicationInsights
175
200
 
176
201
  CreateApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
177
202
  CreateApplicationRequest.add_member(:ops_center_enabled, Shapes::ShapeRef.new(shape: OpsCenterEnabled, location_name: "OpsCenterEnabled"))
203
+ CreateApplicationRequest.add_member(:cwe_monitor_enabled, Shapes::ShapeRef.new(shape: CWEMonitorEnabled, location_name: "CWEMonitorEnabled"))
178
204
  CreateApplicationRequest.add_member(:ops_item_sns_topic_arn, Shapes::ShapeRef.new(shape: OpsItemSNSTopicArn, location_name: "OpsItemSNSTopicArn"))
179
205
  CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
180
206
  CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
@@ -372,6 +398,27 @@ module Aws::ApplicationInsights
372
398
  Observation.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, location_name: "MetricName"))
373
399
  Observation.add_member(:unit, Shapes::ShapeRef.new(shape: Unit, location_name: "Unit"))
374
400
  Observation.add_member(:value, Shapes::ShapeRef.new(shape: Value, location_name: "Value"))
401
+ Observation.add_member(:cloud_watch_event_id, Shapes::ShapeRef.new(shape: CloudWatchEventId, location_name: "CloudWatchEventId"))
402
+ Observation.add_member(:cloud_watch_event_source, Shapes::ShapeRef.new(shape: CloudWatchEventSource, location_name: "CloudWatchEventSource"))
403
+ Observation.add_member(:cloud_watch_event_detail_type, Shapes::ShapeRef.new(shape: CloudWatchEventDetailType, location_name: "CloudWatchEventDetailType"))
404
+ Observation.add_member(:health_event_arn, Shapes::ShapeRef.new(shape: HealthEventArn, location_name: "HealthEventArn"))
405
+ Observation.add_member(:health_service, Shapes::ShapeRef.new(shape: HealthService, location_name: "HealthService"))
406
+ Observation.add_member(:health_event_type_code, Shapes::ShapeRef.new(shape: HealthEventTypeCode, location_name: "HealthEventTypeCode"))
407
+ Observation.add_member(:health_event_type_category, Shapes::ShapeRef.new(shape: HealthEventTypeCategory, location_name: "HealthEventTypeCategory"))
408
+ Observation.add_member(:health_event_description, Shapes::ShapeRef.new(shape: HealthEventDescription, location_name: "HealthEventDescription"))
409
+ Observation.add_member(:code_deploy_deployment_id, Shapes::ShapeRef.new(shape: CodeDeployDeploymentId, location_name: "CodeDeployDeploymentId"))
410
+ Observation.add_member(:code_deploy_deployment_group, Shapes::ShapeRef.new(shape: CodeDeployDeploymentGroup, location_name: "CodeDeployDeploymentGroup"))
411
+ Observation.add_member(:code_deploy_state, Shapes::ShapeRef.new(shape: CodeDeployState, location_name: "CodeDeployState"))
412
+ Observation.add_member(:code_deploy_application, Shapes::ShapeRef.new(shape: CodeDeployApplication, location_name: "CodeDeployApplication"))
413
+ Observation.add_member(:code_deploy_instance_group_id, Shapes::ShapeRef.new(shape: CodeDeployInstanceGroupId, location_name: "CodeDeployInstanceGroupId"))
414
+ Observation.add_member(:ec2_state, Shapes::ShapeRef.new(shape: Ec2State, location_name: "Ec2State"))
415
+ Observation.add_member(:x_ray_fault_percent, Shapes::ShapeRef.new(shape: XRayFaultPercent, location_name: "XRayFaultPercent"))
416
+ Observation.add_member(:x_ray_throttle_percent, Shapes::ShapeRef.new(shape: XRayThrottlePercent, location_name: "XRayThrottlePercent"))
417
+ Observation.add_member(:x_ray_error_percent, Shapes::ShapeRef.new(shape: XRayErrorPercent, location_name: "XRayErrorPercent"))
418
+ Observation.add_member(:x_ray_request_count, Shapes::ShapeRef.new(shape: XRayRequestCount, location_name: "XRayRequestCount"))
419
+ Observation.add_member(:x_ray_request_average_latency, Shapes::ShapeRef.new(shape: XRayRequestAverageLatency, location_name: "XRayRequestAverageLatency"))
420
+ Observation.add_member(:x_ray_node_name, Shapes::ShapeRef.new(shape: XRayNodeName, location_name: "XRayNodeName"))
421
+ Observation.add_member(:x_ray_node_type, Shapes::ShapeRef.new(shape: XRayNodeType, location_name: "XRayNodeType"))
375
422
  Observation.struct_class = Types::Observation
376
423
 
377
424
  ObservationList.member = Shapes::ShapeRef.new(shape: Observation)
@@ -430,6 +477,7 @@ module Aws::ApplicationInsights
430
477
 
431
478
  UpdateApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
432
479
  UpdateApplicationRequest.add_member(:ops_center_enabled, Shapes::ShapeRef.new(shape: OpsCenterEnabled, location_name: "OpsCenterEnabled"))
480
+ UpdateApplicationRequest.add_member(:cwe_monitor_enabled, Shapes::ShapeRef.new(shape: CWEMonitorEnabled, location_name: "CWEMonitorEnabled"))
433
481
  UpdateApplicationRequest.add_member(:ops_item_sns_topic_arn, Shapes::ShapeRef.new(shape: OpsItemSNSTopicArn, location_name: "OpsItemSNSTopicArn"))
434
482
  UpdateApplicationRequest.add_member(:remove_sns_topic, Shapes::ShapeRef.new(shape: RemoveSNSTopic, location_name: "RemoveSNSTopic"))
435
483
  UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,13 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::ApplicationInsights
9
- # This class provides a resource oriented interface for ApplicationInsights.
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)
11
+
16
12
  class Resource
17
13
 
18
14
  # @param options ({})
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -35,6 +37,7 @@ module Aws::ApplicationInsights
35
37
  :resource_type,
36
38
  :tier,
37
39
  :monitor)
40
+ SENSITIVE = []
38
41
  include Aws::Structure
39
42
  end
40
43
 
@@ -59,6 +62,12 @@ module Aws::ApplicationInsights
59
62
  # problem detected by Application Insights for an application.
60
63
  # @return [Boolean]
61
64
  #
65
+ # @!attribute [rw] cwe_monitor_enabled
66
+ # Indicates whether Application Insights can listen to CloudWatch
67
+ # events for the application resources, such as `instance terminated`,
68
+ # `failed deployment`, and others.
69
+ # @return [Boolean]
70
+ #
62
71
  # @!attribute [rw] remarks
63
72
  # The issues on the user side that block Application Insights from
64
73
  # successfully monitoring an application. Example remarks include:
@@ -75,7 +84,9 @@ module Aws::ApplicationInsights
75
84
  :life_cycle,
76
85
  :ops_item_sns_topic_arn,
77
86
  :ops_center_enabled,
87
+ :cwe_monitor_enabled,
78
88
  :remarks)
89
+ SENSITIVE = []
79
90
  include Aws::Structure
80
91
  end
81
92
 
@@ -88,6 +99,7 @@ module Aws::ApplicationInsights
88
99
  #
89
100
  class BadRequestException < Struct.new(
90
101
  :message)
102
+ SENSITIVE = []
91
103
  include Aws::Structure
92
104
  end
93
105
 
@@ -129,6 +141,7 @@ module Aws::ApplicationInsights
129
141
  :event_time,
130
142
  :event_detail,
131
143
  :event_resource_name)
144
+ SENSITIVE = []
132
145
  include Aws::Structure
133
146
  end
134
147
 
@@ -138,6 +151,7 @@ module Aws::ApplicationInsights
138
151
  # {
139
152
  # resource_group_name: "ResourceGroupName", # required
140
153
  # ops_center_enabled: false,
154
+ # cwe_monitor_enabled: false,
141
155
  # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
142
156
  # tags: [
143
157
  # {
@@ -156,6 +170,12 @@ module Aws::ApplicationInsights
156
170
  # application.
157
171
  # @return [Boolean]
158
172
  #
173
+ # @!attribute [rw] cwe_monitor_enabled
174
+ # Indicates whether Application Insights can listen to CloudWatch
175
+ # events for the application resources, such as `instance terminated`,
176
+ # `failed deployment`, and others.
177
+ # @return [Boolean]
178
+ #
159
179
  # @!attribute [rw] ops_item_sns_topic_arn
160
180
  # The SNS topic provided to Application Insights that is associated to
161
181
  # the created opsItem. Allows you to receive notifications for updates
@@ -173,8 +193,10 @@ module Aws::ApplicationInsights
173
193
  class CreateApplicationRequest < Struct.new(
174
194
  :resource_group_name,
175
195
  :ops_center_enabled,
196
+ :cwe_monitor_enabled,
176
197
  :ops_item_sns_topic_arn,
177
198
  :tags)
199
+ SENSITIVE = []
178
200
  include Aws::Structure
179
201
  end
180
202
 
@@ -186,6 +208,7 @@ module Aws::ApplicationInsights
186
208
  #
187
209
  class CreateApplicationResponse < Struct.new(
188
210
  :application_info)
211
+ SENSITIVE = []
189
212
  include Aws::Structure
190
213
  end
191
214
 
@@ -216,6 +239,7 @@ module Aws::ApplicationInsights
216
239
  :resource_group_name,
217
240
  :component_name,
218
241
  :resource_list)
242
+ SENSITIVE = []
219
243
  include Aws::Structure
220
244
  end
221
245
 
@@ -262,6 +286,7 @@ module Aws::ApplicationInsights
262
286
  :pattern_name,
263
287
  :pattern,
264
288
  :rank)
289
+ SENSITIVE = []
265
290
  include Aws::Structure
266
291
  end
267
292
 
@@ -278,6 +303,7 @@ module Aws::ApplicationInsights
278
303
  class CreateLogPatternResponse < Struct.new(
279
304
  :log_pattern,
280
305
  :resource_group_name)
306
+ SENSITIVE = []
281
307
  include Aws::Structure
282
308
  end
283
309
 
@@ -296,6 +322,7 @@ module Aws::ApplicationInsights
296
322
  #
297
323
  class DeleteApplicationRequest < Struct.new(
298
324
  :resource_group_name)
325
+ SENSITIVE = []
299
326
  include Aws::Structure
300
327
  end
301
328
 
@@ -324,6 +351,7 @@ module Aws::ApplicationInsights
324
351
  class DeleteComponentRequest < Struct.new(
325
352
  :resource_group_name,
326
353
  :component_name)
354
+ SENSITIVE = []
327
355
  include Aws::Structure
328
356
  end
329
357
 
@@ -358,6 +386,7 @@ module Aws::ApplicationInsights
358
386
  :resource_group_name,
359
387
  :pattern_set_name,
360
388
  :pattern_name)
389
+ SENSITIVE = []
361
390
  include Aws::Structure
362
391
  end
363
392
 
@@ -380,6 +409,7 @@ module Aws::ApplicationInsights
380
409
  #
381
410
  class DescribeApplicationRequest < Struct.new(
382
411
  :resource_group_name)
412
+ SENSITIVE = []
383
413
  include Aws::Structure
384
414
  end
385
415
 
@@ -391,6 +421,7 @@ module Aws::ApplicationInsights
391
421
  #
392
422
  class DescribeApplicationResponse < Struct.new(
393
423
  :application_info)
424
+ SENSITIVE = []
394
425
  include Aws::Structure
395
426
  end
396
427
 
@@ -423,6 +454,7 @@ module Aws::ApplicationInsights
423
454
  :resource_group_name,
424
455
  :component_name,
425
456
  :tier)
457
+ SENSITIVE = []
426
458
  include Aws::Structure
427
459
  end
428
460
 
@@ -435,6 +467,7 @@ module Aws::ApplicationInsights
435
467
  #
436
468
  class DescribeComponentConfigurationRecommendationResponse < Struct.new(
437
469
  :component_configuration)
470
+ SENSITIVE = []
438
471
  include Aws::Structure
439
472
  end
440
473
 
@@ -459,6 +492,7 @@ module Aws::ApplicationInsights
459
492
  class DescribeComponentConfigurationRequest < Struct.new(
460
493
  :resource_group_name,
461
494
  :component_name)
495
+ SENSITIVE = []
462
496
  include Aws::Structure
463
497
  end
464
498
 
@@ -483,6 +517,7 @@ module Aws::ApplicationInsights
483
517
  :monitor,
484
518
  :tier,
485
519
  :component_configuration)
520
+ SENSITIVE = []
486
521
  include Aws::Structure
487
522
  end
488
523
 
@@ -507,6 +542,7 @@ module Aws::ApplicationInsights
507
542
  class DescribeComponentRequest < Struct.new(
508
543
  :resource_group_name,
509
544
  :component_name)
545
+ SENSITIVE = []
510
546
  include Aws::Structure
511
547
  end
512
548
 
@@ -524,6 +560,7 @@ module Aws::ApplicationInsights
524
560
  class DescribeComponentResponse < Struct.new(
525
561
  :application_component,
526
562
  :resource_list)
563
+ SENSITIVE = []
527
564
  include Aws::Structure
528
565
  end
529
566
 
@@ -554,6 +591,7 @@ module Aws::ApplicationInsights
554
591
  :resource_group_name,
555
592
  :pattern_set_name,
556
593
  :pattern_name)
594
+ SENSITIVE = []
557
595
  include Aws::Structure
558
596
  end
559
597
 
@@ -570,6 +608,7 @@ module Aws::ApplicationInsights
570
608
  class DescribeLogPatternResponse < Struct.new(
571
609
  :resource_group_name,
572
610
  :log_pattern)
611
+ SENSITIVE = []
573
612
  include Aws::Structure
574
613
  end
575
614
 
@@ -588,6 +627,7 @@ module Aws::ApplicationInsights
588
627
  #
589
628
  class DescribeObservationRequest < Struct.new(
590
629
  :observation_id)
630
+ SENSITIVE = []
591
631
  include Aws::Structure
592
632
  end
593
633
 
@@ -599,6 +639,7 @@ module Aws::ApplicationInsights
599
639
  #
600
640
  class DescribeObservationResponse < Struct.new(
601
641
  :observation)
642
+ SENSITIVE = []
602
643
  include Aws::Structure
603
644
  end
604
645
 
@@ -617,6 +658,7 @@ module Aws::ApplicationInsights
617
658
  #
618
659
  class DescribeProblemObservationsRequest < Struct.new(
619
660
  :problem_id)
661
+ SENSITIVE = []
620
662
  include Aws::Structure
621
663
  end
622
664
 
@@ -628,6 +670,7 @@ module Aws::ApplicationInsights
628
670
  #
629
671
  class DescribeProblemObservationsResponse < Struct.new(
630
672
  :related_observations)
673
+ SENSITIVE = []
631
674
  include Aws::Structure
632
675
  end
633
676
 
@@ -646,6 +689,7 @@ module Aws::ApplicationInsights
646
689
  #
647
690
  class DescribeProblemRequest < Struct.new(
648
691
  :problem_id)
692
+ SENSITIVE = []
649
693
  include Aws::Structure
650
694
  end
651
695
 
@@ -657,6 +701,7 @@ module Aws::ApplicationInsights
657
701
  #
658
702
  class DescribeProblemResponse < Struct.new(
659
703
  :problem)
704
+ SENSITIVE = []
660
705
  include Aws::Structure
661
706
  end
662
707
 
@@ -670,6 +715,7 @@ module Aws::ApplicationInsights
670
715
  #
671
716
  class InternalServerException < Struct.new(
672
717
  :message)
718
+ SENSITIVE = []
673
719
  include Aws::Structure
674
720
  end
675
721
 
@@ -696,6 +742,7 @@ module Aws::ApplicationInsights
696
742
  class ListApplicationsRequest < Struct.new(
697
743
  :max_results,
698
744
  :next_token)
745
+ SENSITIVE = []
699
746
  include Aws::Structure
700
747
  end
701
748
 
@@ -713,6 +760,7 @@ module Aws::ApplicationInsights
713
760
  class ListApplicationsResponse < Struct.new(
714
761
  :application_info_list,
715
762
  :next_token)
763
+ SENSITIVE = []
716
764
  include Aws::Structure
717
765
  end
718
766
 
@@ -745,6 +793,7 @@ module Aws::ApplicationInsights
745
793
  :resource_group_name,
746
794
  :max_results,
747
795
  :next_token)
796
+ SENSITIVE = []
748
797
  include Aws::Structure
749
798
  end
750
799
 
@@ -761,6 +810,7 @@ module Aws::ApplicationInsights
761
810
  class ListComponentsResponse < Struct.new(
762
811
  :application_component_list,
763
812
  :next_token)
813
+ SENSITIVE = []
764
814
  include Aws::Structure
765
815
  end
766
816
 
@@ -822,6 +872,7 @@ module Aws::ApplicationInsights
822
872
  :event_status,
823
873
  :max_results,
824
874
  :next_token)
875
+ SENSITIVE = []
825
876
  include Aws::Structure
826
877
  end
827
878
 
@@ -842,6 +893,7 @@ module Aws::ApplicationInsights
842
893
  class ListConfigurationHistoryResponse < Struct.new(
843
894
  :event_list,
844
895
  :next_token)
896
+ SENSITIVE = []
845
897
  include Aws::Structure
846
898
  end
847
899
 
@@ -874,6 +926,7 @@ module Aws::ApplicationInsights
874
926
  :resource_group_name,
875
927
  :max_results,
876
928
  :next_token)
929
+ SENSITIVE = []
877
930
  include Aws::Structure
878
931
  end
879
932
 
@@ -896,6 +949,7 @@ module Aws::ApplicationInsights
896
949
  :resource_group_name,
897
950
  :log_pattern_sets,
898
951
  :next_token)
952
+ SENSITIVE = []
899
953
  include Aws::Structure
900
954
  end
901
955
 
@@ -934,6 +988,7 @@ module Aws::ApplicationInsights
934
988
  :pattern_set_name,
935
989
  :max_results,
936
990
  :next_token)
991
+ SENSITIVE = []
937
992
  include Aws::Structure
938
993
  end
939
994
 
@@ -956,6 +1011,7 @@ module Aws::ApplicationInsights
956
1011
  :resource_group_name,
957
1012
  :log_patterns,
958
1013
  :next_token)
1014
+ SENSITIVE = []
959
1015
  include Aws::Structure
960
1016
  end
961
1017
 
@@ -1003,6 +1059,7 @@ module Aws::ApplicationInsights
1003
1059
  :end_time,
1004
1060
  :max_results,
1005
1061
  :next_token)
1062
+ SENSITIVE = []
1006
1063
  include Aws::Structure
1007
1064
  end
1008
1065
 
@@ -1020,6 +1077,7 @@ module Aws::ApplicationInsights
1020
1077
  class ListProblemsResponse < Struct.new(
1021
1078
  :problem_list,
1022
1079
  :next_token)
1080
+ SENSITIVE = []
1023
1081
  include Aws::Structure
1024
1082
  end
1025
1083
 
@@ -1039,6 +1097,7 @@ module Aws::ApplicationInsights
1039
1097
  #
1040
1098
  class ListTagsForResourceRequest < Struct.new(
1041
1099
  :resource_arn)
1100
+ SENSITIVE = []
1042
1101
  include Aws::Structure
1043
1102
  end
1044
1103
 
@@ -1052,6 +1111,7 @@ module Aws::ApplicationInsights
1052
1111
  #
1053
1112
  class ListTagsForResourceResponse < Struct.new(
1054
1113
  :tags)
1114
+ SENSITIVE = []
1055
1115
  include Aws::Structure
1056
1116
  end
1057
1117
 
@@ -1088,6 +1148,7 @@ module Aws::ApplicationInsights
1088
1148
  :pattern_name,
1089
1149
  :pattern,
1090
1150
  :rank)
1151
+ SENSITIVE = []
1091
1152
  include Aws::Structure
1092
1153
  end
1093
1154
 
@@ -1146,6 +1207,97 @@ module Aws::ApplicationInsights
1146
1207
  # The value of the source observation metric.
1147
1208
  # @return [Float]
1148
1209
  #
1210
+ # @!attribute [rw] cloud_watch_event_id
1211
+ # The ID of the CloudWatch Event-based observation related to the
1212
+ # detected problem.
1213
+ # @return [String]
1214
+ #
1215
+ # @!attribute [rw] cloud_watch_event_source
1216
+ # The source of the CloudWatch Event.
1217
+ # @return [String]
1218
+ #
1219
+ # @!attribute [rw] cloud_watch_event_detail_type
1220
+ # The detail type of the CloudWatch Event-based observation, for
1221
+ # example, `EC2 Instance State-change Notification`.
1222
+ # @return [String]
1223
+ #
1224
+ # @!attribute [rw] health_event_arn
1225
+ # The Amazon Resource Name (ARN) of the AWS Health Event-based
1226
+ # observation.
1227
+ # @return [String]
1228
+ #
1229
+ # @!attribute [rw] health_service
1230
+ # The service to which the AWS Health Event belongs, such as EC2.
1231
+ # @return [String]
1232
+ #
1233
+ # @!attribute [rw] health_event_type_code
1234
+ # The type of the AWS Health event, for example,
1235
+ # `AWS_EC2_POWER_CONNECTIVITY_ISSUE`.
1236
+ # @return [String]
1237
+ #
1238
+ # @!attribute [rw] health_event_type_category
1239
+ # The category of the AWS Health event, such as `issue`.
1240
+ # @return [String]
1241
+ #
1242
+ # @!attribute [rw] health_event_description
1243
+ # The description of the AWS Health event provided by the service,
1244
+ # such as Amazon EC2.
1245
+ # @return [String]
1246
+ #
1247
+ # @!attribute [rw] code_deploy_deployment_id
1248
+ # The deployment ID of the CodeDeploy-based observation related to the
1249
+ # detected problem.
1250
+ # @return [String]
1251
+ #
1252
+ # @!attribute [rw] code_deploy_deployment_group
1253
+ # The deployment group to which the CodeDeploy deployment belongs.
1254
+ # @return [String]
1255
+ #
1256
+ # @!attribute [rw] code_deploy_state
1257
+ # The status of the CodeDeploy deployment, for example `SUCCESS` or `
1258
+ # FAILURE`.
1259
+ # @return [String]
1260
+ #
1261
+ # @!attribute [rw] code_deploy_application
1262
+ # The CodeDeploy application to which the deployment belongs.
1263
+ # @return [String]
1264
+ #
1265
+ # @!attribute [rw] code_deploy_instance_group_id
1266
+ # The instance group to which the CodeDeploy instance belongs.
1267
+ # @return [String]
1268
+ #
1269
+ # @!attribute [rw] ec2_state
1270
+ # The state of the instance, such as `STOPPING` or `TERMINATING`.
1271
+ # @return [String]
1272
+ #
1273
+ # @!attribute [rw] x_ray_fault_percent
1274
+ # The X-Ray request fault percentage for this node.
1275
+ # @return [Integer]
1276
+ #
1277
+ # @!attribute [rw] x_ray_throttle_percent
1278
+ # The X-Ray request throttle percentage for this node.
1279
+ # @return [Integer]
1280
+ #
1281
+ # @!attribute [rw] x_ray_error_percent
1282
+ # The X-Ray request error percentage for this node.
1283
+ # @return [Integer]
1284
+ #
1285
+ # @!attribute [rw] x_ray_request_count
1286
+ # The X-Ray request count for this node.
1287
+ # @return [Integer]
1288
+ #
1289
+ # @!attribute [rw] x_ray_request_average_latency
1290
+ # The X-Ray node request average latency for this node.
1291
+ # @return [Integer]
1292
+ #
1293
+ # @!attribute [rw] x_ray_node_name
1294
+ # The name of the X-Ray node.
1295
+ # @return [String]
1296
+ #
1297
+ # @!attribute [rw] x_ray_node_type
1298
+ # The type of the X-Ray node.
1299
+ # @return [String]
1300
+ #
1149
1301
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/Observation AWS API Documentation
1150
1302
  #
1151
1303
  class Observation < Struct.new(
@@ -1161,7 +1313,29 @@ module Aws::ApplicationInsights
1161
1313
  :metric_namespace,
1162
1314
  :metric_name,
1163
1315
  :unit,
1164
- :value)
1316
+ :value,
1317
+ :cloud_watch_event_id,
1318
+ :cloud_watch_event_source,
1319
+ :cloud_watch_event_detail_type,
1320
+ :health_event_arn,
1321
+ :health_service,
1322
+ :health_event_type_code,
1323
+ :health_event_type_category,
1324
+ :health_event_description,
1325
+ :code_deploy_deployment_id,
1326
+ :code_deploy_deployment_group,
1327
+ :code_deploy_state,
1328
+ :code_deploy_application,
1329
+ :code_deploy_instance_group_id,
1330
+ :ec2_state,
1331
+ :x_ray_fault_percent,
1332
+ :x_ray_throttle_percent,
1333
+ :x_ray_error_percent,
1334
+ :x_ray_request_count,
1335
+ :x_ray_request_average_latency,
1336
+ :x_ray_node_name,
1337
+ :x_ray_node_type)
1338
+ SENSITIVE = []
1165
1339
  include Aws::Structure
1166
1340
  end
1167
1341
 
@@ -1220,6 +1394,7 @@ module Aws::ApplicationInsights
1220
1394
  :severity_level,
1221
1395
  :resource_group_name,
1222
1396
  :feedback)
1397
+ SENSITIVE = []
1223
1398
  include Aws::Structure
1224
1399
  end
1225
1400
 
@@ -1233,6 +1408,7 @@ module Aws::ApplicationInsights
1233
1408
  #
1234
1409
  class RelatedObservations < Struct.new(
1235
1410
  :observation_list)
1411
+ SENSITIVE = []
1236
1412
  include Aws::Structure
1237
1413
  end
1238
1414
 
@@ -1245,6 +1421,7 @@ module Aws::ApplicationInsights
1245
1421
  #
1246
1422
  class ResourceInUseException < Struct.new(
1247
1423
  :message)
1424
+ SENSITIVE = []
1248
1425
  include Aws::Structure
1249
1426
  end
1250
1427
 
@@ -1257,6 +1434,7 @@ module Aws::ApplicationInsights
1257
1434
  #
1258
1435
  class ResourceNotFoundException < Struct.new(
1259
1436
  :message)
1437
+ SENSITIVE = []
1260
1438
  include Aws::Structure
1261
1439
  end
1262
1440
 
@@ -1309,6 +1487,7 @@ module Aws::ApplicationInsights
1309
1487
  class Tag < Struct.new(
1310
1488
  :key,
1311
1489
  :value)
1490
+ SENSITIVE = []
1312
1491
  include Aws::Structure
1313
1492
  end
1314
1493
 
@@ -1342,6 +1521,7 @@ module Aws::ApplicationInsights
1342
1521
  class TagResourceRequest < Struct.new(
1343
1522
  :resource_arn,
1344
1523
  :tags)
1524
+ SENSITIVE = []
1345
1525
  include Aws::Structure
1346
1526
  end
1347
1527
 
@@ -1358,6 +1538,7 @@ module Aws::ApplicationInsights
1358
1538
  #
1359
1539
  class TagsAlreadyExistException < Struct.new(
1360
1540
  :message)
1541
+ SENSITIVE = []
1361
1542
  include Aws::Structure
1362
1543
  end
1363
1544
 
@@ -1377,6 +1558,7 @@ module Aws::ApplicationInsights
1377
1558
  class TooManyTagsException < Struct.new(
1378
1559
  :message,
1379
1560
  :resource_name)
1561
+ SENSITIVE = []
1380
1562
  include Aws::Structure
1381
1563
  end
1382
1564
 
@@ -1408,6 +1590,7 @@ module Aws::ApplicationInsights
1408
1590
  class UntagResourceRequest < Struct.new(
1409
1591
  :resource_arn,
1410
1592
  :tag_keys)
1593
+ SENSITIVE = []
1411
1594
  include Aws::Structure
1412
1595
  end
1413
1596
 
@@ -1421,6 +1604,7 @@ module Aws::ApplicationInsights
1421
1604
  # {
1422
1605
  # resource_group_name: "ResourceGroupName", # required
1423
1606
  # ops_center_enabled: false,
1607
+ # cwe_monitor_enabled: false,
1424
1608
  # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
1425
1609
  # remove_sns_topic: false,
1426
1610
  # }
@@ -1434,6 +1618,12 @@ module Aws::ApplicationInsights
1434
1618
  # application.
1435
1619
  # @return [Boolean]
1436
1620
  #
1621
+ # @!attribute [rw] cwe_monitor_enabled
1622
+ # Indicates whether Application Insights can listen to CloudWatch
1623
+ # events for the application resources, such as `instance terminated`,
1624
+ # `failed deployment`, and others.
1625
+ # @return [Boolean]
1626
+ #
1437
1627
  # @!attribute [rw] ops_item_sns_topic_arn
1438
1628
  # The SNS topic provided to Application Insights that is associated to
1439
1629
  # the created opsItem. Allows you to receive notifications for updates
@@ -1450,8 +1640,10 @@ module Aws::ApplicationInsights
1450
1640
  class UpdateApplicationRequest < Struct.new(
1451
1641
  :resource_group_name,
1452
1642
  :ops_center_enabled,
1643
+ :cwe_monitor_enabled,
1453
1644
  :ops_item_sns_topic_arn,
1454
1645
  :remove_sns_topic)
1646
+ SENSITIVE = []
1455
1647
  include Aws::Structure
1456
1648
  end
1457
1649
 
@@ -1463,6 +1655,7 @@ module Aws::ApplicationInsights
1463
1655
  #
1464
1656
  class UpdateApplicationResponse < Struct.new(
1465
1657
  :application_info)
1658
+ SENSITIVE = []
1466
1659
  include Aws::Structure
1467
1660
  end
1468
1661
 
@@ -1518,6 +1711,7 @@ module Aws::ApplicationInsights
1518
1711
  :monitor,
1519
1712
  :tier,
1520
1713
  :component_configuration)
1714
+ SENSITIVE = []
1521
1715
  include Aws::Structure
1522
1716
  end
1523
1717
 
@@ -1558,6 +1752,7 @@ module Aws::ApplicationInsights
1558
1752
  :component_name,
1559
1753
  :new_component_name,
1560
1754
  :resource_list)
1755
+ SENSITIVE = []
1561
1756
  include Aws::Structure
1562
1757
  end
1563
1758
 
@@ -1604,6 +1799,7 @@ module Aws::ApplicationInsights
1604
1799
  :pattern_name,
1605
1800
  :pattern,
1606
1801
  :rank)
1802
+ SENSITIVE = []
1607
1803
  include Aws::Structure
1608
1804
  end
1609
1805
 
@@ -1620,6 +1816,7 @@ module Aws::ApplicationInsights
1620
1816
  class UpdateLogPatternResponse < Struct.new(
1621
1817
  :resource_group_name,
1622
1818
  :log_pattern)
1819
+ SENSITIVE = []
1623
1820
  include Aws::Structure
1624
1821
  end
1625
1822
 
@@ -1632,6 +1829,7 @@ module Aws::ApplicationInsights
1632
1829
  #
1633
1830
  class ValidationException < Struct.new(
1634
1831
  :message)
1832
+ SENSITIVE = []
1635
1833
  include Aws::Structure
1636
1834
  end
1637
1835
 
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.7.0
4
+ version: 1.12.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-09 00:00:00.000000000 Z
11
+ date: 2020-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.71.0
22
+ version: 3.99.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - Application Insights