aws-sdk-applicationinsights 1.6.0 → 1.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-applicationinsights.rb +7 -4
- data/lib/aws-sdk-applicationinsights/client.rb +140 -14
- data/lib/aws-sdk-applicationinsights/client_api.rb +46 -0
- data/lib/aws-sdk-applicationinsights/errors.rb +29 -7
- data/lib/aws-sdk-applicationinsights/resource.rb +1 -0
- data/lib/aws-sdk-applicationinsights/types.rb +136 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 89e8be8efd9a412f4a7e70496c543259d424259676578d95788379fc06637261
|
4
|
+
data.tar.gz: 4c1fb3d9538105e723d26a009f54daba433e9a8f2ea1e6c992bb060504e48e76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f648bc9fa2cfb5883900652a376ddc253175e14fd7eb65d5b468a170c4e1edd348d8e73fd18f8313f927f7d14bb07f0f3d7396c8bdb44b26bcbd8a931f30fc0f
|
7
|
+
data.tar.gz: a03dedc83d51f1ea101bb51ba0b2c27bf0ce33ab742056b3cb69e462da44dcdca0e8606d1ab60b4070eade2d4a2272ba6eb17fa73bcb96b6b2c2913201e26a05
|
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-applicationinsights/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# application_insights = Aws::ApplicationInsights::Client.new
|
28
|
+
# resp = application_insights.create_application(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from Amazon CloudWatch Application Insights
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from Amazon CloudWatch Application Insights are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::ApplicationInsights::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all Amazon CloudWatch Application Insights API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-applicationinsights/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::ApplicationInsights
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.11.1'
|
46
49
|
|
47
50
|
end
|
@@ -24,12 +24,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
30
|
|
30
31
|
Aws::Plugins::GlobalConfiguration.add_identifier(:applicationinsights)
|
31
32
|
|
32
33
|
module Aws::ApplicationInsights
|
34
|
+
# An API client for ApplicationInsights. To construct a client, you need to configure a `:region` and `:credentials`.
|
35
|
+
#
|
36
|
+
# client = Aws::ApplicationInsights::Client.new(
|
37
|
+
# region: region_name,
|
38
|
+
# credentials: credentials,
|
39
|
+
# # ...
|
40
|
+
# )
|
41
|
+
#
|
42
|
+
# For details on configuring region and credentials see
|
43
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
44
|
+
#
|
45
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
46
|
class Client < Seahorse::Client::Base
|
34
47
|
|
35
48
|
include Aws::ClientStubs
|
@@ -57,6 +70,7 @@ module Aws::ApplicationInsights
|
|
57
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
75
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
62
76
|
|
@@ -93,7 +107,7 @@ module Aws::ApplicationInsights
|
|
93
107
|
# @option options [required, String] :region
|
94
108
|
# The AWS region to connect to. The configured `:region` is
|
95
109
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
97
111
|
#
|
98
112
|
# * `Aws.config[:region]`
|
99
113
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +122,12 @@ module Aws::ApplicationInsights
|
|
108
122
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
123
|
# the background every 60 secs (default). Defaults to `false`.
|
110
124
|
#
|
125
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
126
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
127
|
+
# until there is sufficent client side capacity to retry the request.
|
128
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
129
|
+
# not retry instead of sleeping.
|
130
|
+
#
|
111
131
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
132
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
133
|
# this client.
|
@@ -132,6 +152,10 @@ module Aws::ApplicationInsights
|
|
132
152
|
# When `true`, an attempt is made to coerce request parameters into
|
133
153
|
# the required types.
|
134
154
|
#
|
155
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
156
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
157
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
158
|
+
#
|
135
159
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
160
|
# Set to true to disable SDK automatically adding host prefix
|
137
161
|
# to default service endpoint when available.
|
@@ -139,7 +163,7 @@ module Aws::ApplicationInsights
|
|
139
163
|
# @option options [String] :endpoint
|
140
164
|
# The client endpoint is normally constructed from the `:region`
|
141
165
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
167
|
#
|
144
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +178,7 @@ module Aws::ApplicationInsights
|
|
154
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
179
|
#
|
156
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
182
|
#
|
159
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
184
|
# The log formatter.
|
@@ -166,15 +190,29 @@ module Aws::ApplicationInsights
|
|
166
190
|
# The Logger instance to send log messages to. If this option
|
167
191
|
# is not set, logging will be disabled.
|
168
192
|
#
|
193
|
+
# @option options [Integer] :max_attempts (3)
|
194
|
+
# An integer representing the maximum number attempts that will be made for
|
195
|
+
# a single request, including the initial attempt. For example,
|
196
|
+
# setting this value to 5 will result in a request being retried up to
|
197
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
198
|
+
#
|
169
199
|
# @option options [String] :profile ("default")
|
170
200
|
# Used when loading credentials from the shared credentials file
|
171
201
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
202
|
#
|
203
|
+
# @option options [Proc] :retry_backoff
|
204
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
205
|
+
# This option is only used in the `legacy` retry mode.
|
206
|
+
#
|
173
207
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
208
|
+
# The base delay in seconds used by the default backoff function. This option
|
209
|
+
# is only used in the `legacy` retry mode.
|
175
210
|
#
|
176
211
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
212
|
+
# A delay randomiser function used by the default backoff function.
|
213
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
214
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
215
|
+
# in the `legacy` retry mode.
|
178
216
|
#
|
179
217
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
218
|
#
|
@@ -182,11 +220,30 @@ module Aws::ApplicationInsights
|
|
182
220
|
# The maximum number of times to retry failed requests. Only
|
183
221
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
222
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
223
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
224
|
+
# endpoint discovery, and errors from expired credentials.
|
225
|
+
# This option is only used in the `legacy` retry mode.
|
187
226
|
#
|
188
227
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
228
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
229
|
+
# used by the default backoff function. This option is only used in the
|
230
|
+
# `legacy` retry mode.
|
231
|
+
#
|
232
|
+
# @option options [String] :retry_mode ("legacy")
|
233
|
+
# Specifies which retry algorithm to use. Values are:
|
234
|
+
#
|
235
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
236
|
+
# no retry mode is provided.
|
237
|
+
#
|
238
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
239
|
+
# This includes support for retry quotas, which limit the number of
|
240
|
+
# unsuccessful retries a client can make.
|
241
|
+
#
|
242
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
243
|
+
# functionality of `standard` mode along with automatic client side
|
244
|
+
# throttling. This is a provisional mode that may change behavior
|
245
|
+
# in the future.
|
246
|
+
#
|
190
247
|
#
|
191
248
|
# @option options [String] :secret_access_key
|
192
249
|
#
|
@@ -219,16 +276,15 @@ module Aws::ApplicationInsights
|
|
219
276
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
277
|
#
|
221
278
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
279
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
280
|
# `Timeout::Error`.
|
224
281
|
#
|
225
282
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
283
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
284
|
+
# safely be set per-request on the session.
|
229
285
|
#
|
230
286
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
287
|
+
# seconds a connection is allowed to sit idle before it is
|
232
288
|
# considered stale. Stale connections are closed and removed
|
233
289
|
# from the pool before making a request.
|
234
290
|
#
|
@@ -237,7 +293,7 @@ module Aws::ApplicationInsights
|
|
237
293
|
# request body. This option has no effect unless the request has
|
238
294
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
295
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
296
|
+
# request on the session.
|
241
297
|
#
|
242
298
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
299
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -273,6 +329,11 @@ module Aws::ApplicationInsights
|
|
273
329
|
# When set to `true`, creates opsItems for any problems detected on an
|
274
330
|
# application.
|
275
331
|
#
|
332
|
+
# @option params [Boolean] :cwe_monitor_enabled
|
333
|
+
# Indicates whether Application Insights can listen to CloudWatch events
|
334
|
+
# for the application resources, such as `instance terminated`, `failed
|
335
|
+
# deployment`, and others.
|
336
|
+
#
|
276
337
|
# @option params [String] :ops_item_sns_topic_arn
|
277
338
|
# The SNS topic provided to Application Insights that is associated to
|
278
339
|
# the created opsItem. Allows you to receive notifications for updates
|
@@ -292,6 +353,7 @@ module Aws::ApplicationInsights
|
|
292
353
|
# resp = client.create_application({
|
293
354
|
# resource_group_name: "ResourceGroupName", # required
|
294
355
|
# ops_center_enabled: false,
|
356
|
+
# cwe_monitor_enabled: false,
|
295
357
|
# ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
|
296
358
|
# tags: [
|
297
359
|
# {
|
@@ -307,6 +369,7 @@ module Aws::ApplicationInsights
|
|
307
369
|
# resp.application_info.life_cycle #=> String
|
308
370
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
309
371
|
# resp.application_info.ops_center_enabled #=> Boolean
|
372
|
+
# resp.application_info.cwe_monitor_enabled #=> Boolean
|
310
373
|
# resp.application_info.remarks #=> String
|
311
374
|
#
|
312
375
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication AWS API Documentation
|
@@ -500,6 +563,7 @@ module Aws::ApplicationInsights
|
|
500
563
|
# resp.application_info.life_cycle #=> String
|
501
564
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
502
565
|
# resp.application_info.ops_center_enabled #=> Boolean
|
566
|
+
# resp.application_info.cwe_monitor_enabled #=> Boolean
|
503
567
|
# resp.application_info.remarks #=> String
|
504
568
|
#
|
505
569
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication AWS API Documentation
|
@@ -695,6 +759,27 @@ module Aws::ApplicationInsights
|
|
695
759
|
# resp.observation.metric_name #=> String
|
696
760
|
# resp.observation.unit #=> String
|
697
761
|
# resp.observation.value #=> Float
|
762
|
+
# resp.observation.cloud_watch_event_id #=> String
|
763
|
+
# resp.observation.cloud_watch_event_source #=> String, one of "EC2", "CODE_DEPLOY", "HEALTH"
|
764
|
+
# resp.observation.cloud_watch_event_detail_type #=> String
|
765
|
+
# resp.observation.health_event_arn #=> String
|
766
|
+
# resp.observation.health_service #=> String
|
767
|
+
# resp.observation.health_event_type_code #=> String
|
768
|
+
# resp.observation.health_event_type_category #=> String
|
769
|
+
# resp.observation.health_event_description #=> String
|
770
|
+
# resp.observation.code_deploy_deployment_id #=> String
|
771
|
+
# resp.observation.code_deploy_deployment_group #=> String
|
772
|
+
# resp.observation.code_deploy_state #=> String
|
773
|
+
# resp.observation.code_deploy_application #=> String
|
774
|
+
# resp.observation.code_deploy_instance_group_id #=> String
|
775
|
+
# resp.observation.ec2_state #=> String
|
776
|
+
# resp.observation.x_ray_fault_percent #=> Integer
|
777
|
+
# resp.observation.x_ray_throttle_percent #=> Integer
|
778
|
+
# resp.observation.x_ray_error_percent #=> Integer
|
779
|
+
# resp.observation.x_ray_request_count #=> Integer
|
780
|
+
# resp.observation.x_ray_request_average_latency #=> Integer
|
781
|
+
# resp.observation.x_ray_node_name #=> String
|
782
|
+
# resp.observation.x_ray_node_type #=> String
|
698
783
|
#
|
699
784
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeObservation AWS API Documentation
|
700
785
|
#
|
@@ -774,6 +859,27 @@ module Aws::ApplicationInsights
|
|
774
859
|
# resp.related_observations.observation_list[0].metric_name #=> String
|
775
860
|
# resp.related_observations.observation_list[0].unit #=> String
|
776
861
|
# resp.related_observations.observation_list[0].value #=> Float
|
862
|
+
# resp.related_observations.observation_list[0].cloud_watch_event_id #=> String
|
863
|
+
# resp.related_observations.observation_list[0].cloud_watch_event_source #=> String, one of "EC2", "CODE_DEPLOY", "HEALTH"
|
864
|
+
# resp.related_observations.observation_list[0].cloud_watch_event_detail_type #=> String
|
865
|
+
# resp.related_observations.observation_list[0].health_event_arn #=> String
|
866
|
+
# resp.related_observations.observation_list[0].health_service #=> String
|
867
|
+
# resp.related_observations.observation_list[0].health_event_type_code #=> String
|
868
|
+
# resp.related_observations.observation_list[0].health_event_type_category #=> String
|
869
|
+
# resp.related_observations.observation_list[0].health_event_description #=> String
|
870
|
+
# resp.related_observations.observation_list[0].code_deploy_deployment_id #=> String
|
871
|
+
# resp.related_observations.observation_list[0].code_deploy_deployment_group #=> String
|
872
|
+
# resp.related_observations.observation_list[0].code_deploy_state #=> String
|
873
|
+
# resp.related_observations.observation_list[0].code_deploy_application #=> String
|
874
|
+
# resp.related_observations.observation_list[0].code_deploy_instance_group_id #=> String
|
875
|
+
# resp.related_observations.observation_list[0].ec2_state #=> String
|
876
|
+
# resp.related_observations.observation_list[0].x_ray_fault_percent #=> Integer
|
877
|
+
# resp.related_observations.observation_list[0].x_ray_throttle_percent #=> Integer
|
878
|
+
# resp.related_observations.observation_list[0].x_ray_error_percent #=> Integer
|
879
|
+
# resp.related_observations.observation_list[0].x_ray_request_count #=> Integer
|
880
|
+
# resp.related_observations.observation_list[0].x_ray_request_average_latency #=> Integer
|
881
|
+
# resp.related_observations.observation_list[0].x_ray_node_name #=> String
|
882
|
+
# resp.related_observations.observation_list[0].x_ray_node_type #=> String
|
777
883
|
#
|
778
884
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemObservations AWS API Documentation
|
779
885
|
#
|
@@ -799,6 +905,8 @@ module Aws::ApplicationInsights
|
|
799
905
|
# * {Types::ListApplicationsResponse#application_info_list #application_info_list} => Array<Types::ApplicationInfo>
|
800
906
|
# * {Types::ListApplicationsResponse#next_token #next_token} => String
|
801
907
|
#
|
908
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
909
|
+
#
|
802
910
|
# @example Request syntax with placeholder values
|
803
911
|
#
|
804
912
|
# resp = client.list_applications({
|
@@ -813,6 +921,7 @@ module Aws::ApplicationInsights
|
|
813
921
|
# resp.application_info_list[0].life_cycle #=> String
|
814
922
|
# resp.application_info_list[0].ops_item_sns_topic_arn #=> String
|
815
923
|
# resp.application_info_list[0].ops_center_enabled #=> Boolean
|
924
|
+
# resp.application_info_list[0].cwe_monitor_enabled #=> Boolean
|
816
925
|
# resp.application_info_list[0].remarks #=> String
|
817
926
|
# resp.next_token #=> String
|
818
927
|
#
|
@@ -844,6 +953,8 @@ module Aws::ApplicationInsights
|
|
844
953
|
# * {Types::ListComponentsResponse#application_component_list #application_component_list} => Array<Types::ApplicationComponent>
|
845
954
|
# * {Types::ListComponentsResponse#next_token #next_token} => String
|
846
955
|
#
|
956
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
957
|
+
#
|
847
958
|
# @example Request syntax with placeholder values
|
848
959
|
#
|
849
960
|
# resp = client.list_components({
|
@@ -917,6 +1028,8 @@ module Aws::ApplicationInsights
|
|
917
1028
|
# * {Types::ListConfigurationHistoryResponse#event_list #event_list} => Array<Types::ConfigurationEvent>
|
918
1029
|
# * {Types::ListConfigurationHistoryResponse#next_token #next_token} => String
|
919
1030
|
#
|
1031
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1032
|
+
#
|
920
1033
|
# @example Request syntax with placeholder values
|
921
1034
|
#
|
922
1035
|
# resp = client.list_configuration_history({
|
@@ -967,6 +1080,8 @@ module Aws::ApplicationInsights
|
|
967
1080
|
# * {Types::ListLogPatternSetsResponse#log_pattern_sets #log_pattern_sets} => Array<String>
|
968
1081
|
# * {Types::ListLogPatternSetsResponse#next_token #next_token} => String
|
969
1082
|
#
|
1083
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1084
|
+
#
|
970
1085
|
# @example Request syntax with placeholder values
|
971
1086
|
#
|
972
1087
|
# resp = client.list_log_pattern_sets({
|
@@ -1013,6 +1128,8 @@ module Aws::ApplicationInsights
|
|
1013
1128
|
# * {Types::ListLogPatternsResponse#log_patterns #log_patterns} => Array<Types::LogPattern>
|
1014
1129
|
# * {Types::ListLogPatternsResponse#next_token #next_token} => String
|
1015
1130
|
#
|
1131
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1132
|
+
#
|
1016
1133
|
# @example Request syntax with placeholder values
|
1017
1134
|
#
|
1018
1135
|
# resp = client.list_log_patterns({
|
@@ -1068,6 +1185,8 @@ module Aws::ApplicationInsights
|
|
1068
1185
|
# * {Types::ListProblemsResponse#problem_list #problem_list} => Array<Types::Problem>
|
1069
1186
|
# * {Types::ListProblemsResponse#next_token #next_token} => String
|
1070
1187
|
#
|
1188
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1189
|
+
#
|
1071
1190
|
# @example Request syntax with placeholder values
|
1072
1191
|
#
|
1073
1192
|
# resp = client.list_problems({
|
@@ -1226,6 +1345,11 @@ module Aws::ApplicationInsights
|
|
1226
1345
|
# When set to `true`, creates opsItems for any problems detected on an
|
1227
1346
|
# application.
|
1228
1347
|
#
|
1348
|
+
# @option params [Boolean] :cwe_monitor_enabled
|
1349
|
+
# Indicates whether Application Insights can listen to CloudWatch events
|
1350
|
+
# for the application resources, such as `instance terminated`, `failed
|
1351
|
+
# deployment`, and others.
|
1352
|
+
#
|
1229
1353
|
# @option params [String] :ops_item_sns_topic_arn
|
1230
1354
|
# The SNS topic provided to Application Insights that is associated to
|
1231
1355
|
# the created opsItem. Allows you to receive notifications for updates
|
@@ -1244,6 +1368,7 @@ module Aws::ApplicationInsights
|
|
1244
1368
|
# resp = client.update_application({
|
1245
1369
|
# resource_group_name: "ResourceGroupName", # required
|
1246
1370
|
# ops_center_enabled: false,
|
1371
|
+
# cwe_monitor_enabled: false,
|
1247
1372
|
# ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
|
1248
1373
|
# remove_sns_topic: false,
|
1249
1374
|
# })
|
@@ -1254,6 +1379,7 @@ module Aws::ApplicationInsights
|
|
1254
1379
|
# resp.application_info.life_cycle #=> String
|
1255
1380
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
1256
1381
|
# resp.application_info.ops_center_enabled #=> Boolean
|
1382
|
+
# resp.application_info.cwe_monitor_enabled #=> Boolean
|
1257
1383
|
# resp.application_info.remarks #=> String
|
1258
1384
|
#
|
1259
1385
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication AWS API Documentation
|
@@ -1415,7 +1541,7 @@ module Aws::ApplicationInsights
|
|
1415
1541
|
params: params,
|
1416
1542
|
config: config)
|
1417
1543
|
context[:gem_name] = 'aws-sdk-applicationinsights'
|
1418
|
-
context[:gem_version] = '1.
|
1544
|
+
context[:gem_version] = '1.11.1'
|
1419
1545
|
Seahorse::Client::Request.new(handlers, context)
|
1420
1546
|
end
|
1421
1547
|
|
@@ -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,6 +6,35 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::ApplicationInsights
|
9
|
+
|
10
|
+
# When ApplicationInsights returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::ApplicationInsights::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all ApplicationInsights errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::ApplicationInsights::Errors::ServiceError
|
18
|
+
# # rescues all ApplicationInsights API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {BadRequestException}
|
29
|
+
# * {InternalServerException}
|
30
|
+
# * {ResourceInUseException}
|
31
|
+
# * {ResourceNotFoundException}
|
32
|
+
# * {TagsAlreadyExistException}
|
33
|
+
# * {TooManyTagsException}
|
34
|
+
# * {ValidationException}
|
35
|
+
#
|
36
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
37
|
+
# if they are not defined above.
|
9
38
|
module Errors
|
10
39
|
|
11
40
|
extend Aws::Errors::DynamicErrors
|
@@ -23,7 +52,6 @@ module Aws::ApplicationInsights
|
|
23
52
|
def message
|
24
53
|
@message || @data[:message]
|
25
54
|
end
|
26
|
-
|
27
55
|
end
|
28
56
|
|
29
57
|
class InternalServerException < ServiceError
|
@@ -39,7 +67,6 @@ module Aws::ApplicationInsights
|
|
39
67
|
def message
|
40
68
|
@message || @data[:message]
|
41
69
|
end
|
42
|
-
|
43
70
|
end
|
44
71
|
|
45
72
|
class ResourceInUseException < ServiceError
|
@@ -55,7 +82,6 @@ module Aws::ApplicationInsights
|
|
55
82
|
def message
|
56
83
|
@message || @data[:message]
|
57
84
|
end
|
58
|
-
|
59
85
|
end
|
60
86
|
|
61
87
|
class ResourceNotFoundException < ServiceError
|
@@ -71,7 +97,6 @@ module Aws::ApplicationInsights
|
|
71
97
|
def message
|
72
98
|
@message || @data[:message]
|
73
99
|
end
|
74
|
-
|
75
100
|
end
|
76
101
|
|
77
102
|
class TagsAlreadyExistException < ServiceError
|
@@ -87,7 +112,6 @@ module Aws::ApplicationInsights
|
|
87
112
|
def message
|
88
113
|
@message || @data[:message]
|
89
114
|
end
|
90
|
-
|
91
115
|
end
|
92
116
|
|
93
117
|
class TooManyTagsException < ServiceError
|
@@ -108,7 +132,6 @@ module Aws::ApplicationInsights
|
|
108
132
|
def resource_name
|
109
133
|
@data[:resource_name]
|
110
134
|
end
|
111
|
-
|
112
135
|
end
|
113
136
|
|
114
137
|
class ValidationException < ServiceError
|
@@ -124,7 +147,6 @@ module Aws::ApplicationInsights
|
|
124
147
|
def message
|
125
148
|
@message || @data[:message]
|
126
149
|
end
|
127
|
-
|
128
150
|
end
|
129
151
|
|
130
152
|
end
|
@@ -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.11.1
|
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-
|
11
|
+
date: 2020-06-11 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.
|
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.
|
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.
|
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
|