aws-sdk-applicationinsights 1.31.0 → 1.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,33 +7,34 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
- require 'seahorse/client/plugins/content_length.rb'
11
- require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
- require 'aws-sdk-core/plugins/logging.rb'
13
- require 'aws-sdk-core/plugins/param_converter.rb'
14
- require 'aws-sdk-core/plugins/param_validator.rb'
15
- require 'aws-sdk-core/plugins/user_agent.rb'
16
- require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
- require 'aws-sdk-core/plugins/retry_errors.rb'
18
- require 'aws-sdk-core/plugins/global_configuration.rb'
19
- require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
- require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
- require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
- require 'aws-sdk-core/plugins/response_paging.rb'
23
- require 'aws-sdk-core/plugins/stub_responses.rb'
24
- require 'aws-sdk-core/plugins/idempotency_token.rb'
25
- require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
- require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
- require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
- require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
- require 'aws-sdk-core/plugins/http_checksum.rb'
30
- require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
- require 'aws-sdk-core/plugins/defaults_mode.rb'
32
- require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
34
- require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
-
36
- Aws::Plugins::GlobalConfiguration.add_identifier(:applicationinsights)
10
+ require 'seahorse/client/plugins/content_length'
11
+ require 'aws-sdk-core/plugins/credentials_configuration'
12
+ require 'aws-sdk-core/plugins/logging'
13
+ require 'aws-sdk-core/plugins/param_converter'
14
+ require 'aws-sdk-core/plugins/param_validator'
15
+ require 'aws-sdk-core/plugins/user_agent'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors'
17
+ require 'aws-sdk-core/plugins/retry_errors'
18
+ require 'aws-sdk-core/plugins/global_configuration'
19
+ require 'aws-sdk-core/plugins/regional_endpoint'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern'
22
+ require 'aws-sdk-core/plugins/response_paging'
23
+ require 'aws-sdk-core/plugins/stub_responses'
24
+ require 'aws-sdk-core/plugins/idempotency_token'
25
+ require 'aws-sdk-core/plugins/invocation_id'
26
+ require 'aws-sdk-core/plugins/jsonvalue_converter'
27
+ require 'aws-sdk-core/plugins/client_metrics_plugin'
28
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin'
29
+ require 'aws-sdk-core/plugins/transfer_encoding'
30
+ require 'aws-sdk-core/plugins/http_checksum'
31
+ require 'aws-sdk-core/plugins/checksum_algorithm'
32
+ require 'aws-sdk-core/plugins/request_compression'
33
+ require 'aws-sdk-core/plugins/defaults_mode'
34
+ require 'aws-sdk-core/plugins/recursion_detection'
35
+ require 'aws-sdk-core/plugins/telemetry'
36
+ require 'aws-sdk-core/plugins/sign'
37
+ require 'aws-sdk-core/plugins/protocols/json_rpc'
37
38
 
38
39
  module Aws::ApplicationInsights
39
40
  # An API client for ApplicationInsights. To construct a client, you need to configure a `:region` and `:credentials`.
@@ -71,22 +72,31 @@ module Aws::ApplicationInsights
71
72
  add_plugin(Aws::Plugins::ResponsePaging)
72
73
  add_plugin(Aws::Plugins::StubResponses)
73
74
  add_plugin(Aws::Plugins::IdempotencyToken)
75
+ add_plugin(Aws::Plugins::InvocationId)
74
76
  add_plugin(Aws::Plugins::JsonvalueConverter)
75
77
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
76
78
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
77
79
  add_plugin(Aws::Plugins::TransferEncoding)
78
80
  add_plugin(Aws::Plugins::HttpChecksum)
79
81
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
82
+ add_plugin(Aws::Plugins::RequestCompression)
80
83
  add_plugin(Aws::Plugins::DefaultsMode)
81
84
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
85
+ add_plugin(Aws::Plugins::Telemetry)
86
+ add_plugin(Aws::Plugins::Sign)
83
87
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
88
+ add_plugin(Aws::ApplicationInsights::Plugins::Endpoints)
84
89
 
85
90
  # @overload initialize(options)
86
91
  # @param [Hash] options
92
+ #
93
+ # @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
94
+ # A list of plugins to apply to the client. Each plugin is either a
95
+ # class name or an instance of a plugin class.
96
+ #
87
97
  # @option options [required, Aws::CredentialProvider] :credentials
88
- # Your AWS credentials. This can be an instance of any one of the
89
- # following classes:
98
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
99
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
90
100
  #
91
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
92
102
  # credentials.
@@ -114,20 +124,24 @@ module Aws::ApplicationInsights
114
124
  # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
115
125
  # from the Cognito Identity service.
116
126
  #
117
- # When `:credentials` are not configured directly, the following
118
- # locations will be searched for credentials:
127
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
119
128
  #
120
129
  # * `Aws.config[:credentials]`
121
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
122
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
130
+ #
131
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
+ # `:account_id` options.
133
+ #
134
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
135
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
136
+ #
123
137
  # * `~/.aws/credentials`
138
+ #
124
139
  # * `~/.aws/config`
125
- # * EC2/ECS IMDS instance profile - When used by default, the timeouts
126
- # are very aggressive. Construct and pass an instance of
127
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
128
- # enable retries and extended timeouts. Instance profile credential
129
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
130
- # to true.
140
+ #
141
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
142
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
143
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
144
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
131
145
  #
132
146
  # @option options [required, String] :region
133
147
  # The AWS region to connect to. The configured `:region` is
@@ -143,6 +157,8 @@ module Aws::ApplicationInsights
143
157
  #
144
158
  # @option options [String] :access_key_id
145
159
  #
160
+ # @option options [String] :account_id
161
+ #
146
162
  # @option options [Boolean] :active_endpoint_cache (false)
147
163
  # When set to `true`, a thread polling for endpoints will be running in
148
164
  # the background every 60 secs (default). Defaults to `false`.
@@ -153,6 +169,11 @@ module Aws::ApplicationInsights
153
169
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
154
170
  # not retry instead of sleeping.
155
171
  #
172
+ # @option options [Array<String>] :auth_scheme_preference
173
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
174
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
175
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
176
+ #
156
177
  # @option options [Boolean] :client_side_monitoring (false)
157
178
  # When `true`, client-side metrics will be collected for all API requests from
158
179
  # this client.
@@ -178,7 +199,7 @@ module Aws::ApplicationInsights
178
199
  # the required types.
179
200
  #
180
201
  # @option options [Boolean] :correct_clock_skew (true)
181
- # Used only in `standard` and adaptive retry modes. Specifies whether to apply
202
+ # Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
182
203
  # a clock skew correction and retry requests with skewed client clocks.
183
204
  #
184
205
  # @option options [String] :defaults_mode ("legacy")
@@ -186,13 +207,22 @@ module Aws::ApplicationInsights
186
207
  # accepted modes and the configuration defaults that are included.
187
208
  #
188
209
  # @option options [Boolean] :disable_host_prefix_injection (false)
189
- # Set to true to disable SDK automatically adding host prefix
190
- # to default service endpoint when available.
210
+ # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
191
211
  #
192
- # @option options [String] :endpoint
193
- # The client endpoint is normally constructed from the `:region`
194
- # option. You should only configure an `:endpoint` when connecting
195
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
212
+ # @option options [Boolean] :disable_request_compression (false)
213
+ # When set to 'true' the request body will not be compressed
214
+ # for supported operations.
215
+ #
216
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
217
+ # Normally you should not configure the `:endpoint` option
218
+ # directly. This is normally constructed from the `:region`
219
+ # option. Configuring `:endpoint` is normally reserved for
220
+ # connecting to test or custom endpoints. The endpoint should
221
+ # be a URI formatted like:
222
+ #
223
+ # 'http://example.com'
224
+ # 'https://example.com'
225
+ # 'http://example.com:123'
196
226
  #
197
227
  # @option options [Integer] :endpoint_cache_max_entries (1000)
198
228
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -209,6 +239,10 @@ module Aws::ApplicationInsights
209
239
  # @option options [Boolean] :endpoint_discovery (false)
210
240
  # When set to `true`, endpoint discovery will be enabled for operations when available.
211
241
  #
242
+ # @option options [Boolean] :ignore_configured_endpoint_urls
243
+ # Setting to true disables use of endpoint URLs provided via environment
244
+ # variables and the shared configuration file.
245
+ #
212
246
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
213
247
  # The log formatter.
214
248
  #
@@ -226,8 +260,36 @@ module Aws::ApplicationInsights
226
260
  # 4 times. Used in `standard` and `adaptive` retry modes.
227
261
  #
228
262
  # @option options [String] :profile ("default")
229
- # Used when loading credentials from the shared credentials file
230
- # at HOME/.aws/credentials. When not specified, 'default' is used.
263
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
264
+ # When not specified, 'default' is used.
265
+ #
266
+ # @option options [String] :request_checksum_calculation ("when_supported")
267
+ # Determines when a checksum will be calculated for request payloads. Values are:
268
+ #
269
+ # * `when_supported` - (default) When set, a checksum will be
270
+ # calculated for all request payloads of operations modeled with the
271
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
272
+ # `requestAlgorithmMember` is modeled.
273
+ # * `when_required` - When set, a checksum will only be calculated for
274
+ # request payloads of operations modeled with the `httpChecksum` trait where
275
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
276
+ # is modeled and supplied.
277
+ #
278
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
279
+ # The minimum size in bytes that triggers compression for request
280
+ # bodies. The value must be non-negative integer value between 0
281
+ # and 10485780 bytes inclusive.
282
+ #
283
+ # @option options [String] :response_checksum_validation ("when_supported")
284
+ # Determines when checksum validation will be performed on response payloads. Values are:
285
+ #
286
+ # * `when_supported` - (default) When set, checksum validation is performed on all
287
+ # response payloads of operations modeled with the `httpChecksum` trait where
288
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
289
+ # are supported.
290
+ # * `when_required` - When set, checksum validation is not performed on
291
+ # response payloads of operations unless the checksum algorithm is supported and
292
+ # the `requestValidationModeMember` member is set to `ENABLED`.
231
293
  #
232
294
  # @option options [Proc] :retry_backoff
233
295
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
@@ -261,32 +323,41 @@ module Aws::ApplicationInsights
261
323
  # @option options [String] :retry_mode ("legacy")
262
324
  # Specifies which retry algorithm to use. Values are:
263
325
  #
264
- # * `legacy` - The pre-existing retry behavior. This is default value if
265
- # no retry mode is provided.
326
+ # * `legacy` - The pre-existing retry behavior. This is the default
327
+ # value if no retry mode is provided.
266
328
  #
267
329
  # * `standard` - A standardized set of retry rules across the AWS SDKs.
268
330
  # This includes support for retry quotas, which limit the number of
269
331
  # unsuccessful retries a client can make.
270
332
  #
271
- # * `adaptive` - An experimental retry mode that includes all the
272
- # functionality of `standard` mode along with automatic client side
273
- # throttling. This is a provisional mode that may change behavior
274
- # in the future.
333
+ # * `adaptive` - A retry mode that includes all the functionality of
334
+ # `standard` mode along with automatic client side throttling.
275
335
  #
336
+ # @option options [String] :sdk_ua_app_id
337
+ # A unique and opaque application ID that is appended to the
338
+ # User-Agent header as app/sdk_ua_app_id. It should have a
339
+ # maximum length of 50. This variable is sourced from environment
340
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
276
341
  #
277
342
  # @option options [String] :secret_access_key
278
343
  #
279
344
  # @option options [String] :session_token
280
345
  #
346
+ # @option options [Array] :sigv4a_signing_region_set
347
+ # A list of regions that should be signed with SigV4a signing. When
348
+ # not passed, a default `:sigv4a_signing_region_set` is searched for
349
+ # in the following locations:
350
+ #
351
+ # * `Aws.config[:sigv4a_signing_region_set]`
352
+ # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
353
+ # * `~/.aws/config`
354
+ #
281
355
  # @option options [Boolean] :simple_json (false)
282
356
  # Disables request parameter conversion, validation, and formatting.
283
- # Also disable response data type conversions. This option is useful
284
- # when you want to ensure the highest level of performance by
285
- # avoiding overhead of walking request parameters and response data
286
- # structures.
287
- #
288
- # When `:simple_json` is enabled, the request parameters hash must
289
- # be formatted exactly as the DynamoDB API expects.
357
+ # Also disables response data type conversions. The request parameters
358
+ # hash must be formatted exactly as the API expects.This option is useful
359
+ # when you want to ensure the highest level of performance by avoiding
360
+ # overhead of walking request parameters and response data structures.
290
361
  #
291
362
  # @option options [Boolean] :stub_responses (false)
292
363
  # Causes the client to return stubbed responses. By default
@@ -297,6 +368,29 @@ module Aws::ApplicationInsights
297
368
  # ** Please note ** When response stubbing is enabled, no HTTP
298
369
  # requests are made, and retries are disabled.
299
370
  #
371
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
372
+ # Allows you to provide a telemetry provider, which is used to
373
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
374
+ # will not record or emit any telemetry data. The SDK supports the
375
+ # following telemetry providers:
376
+ #
377
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
378
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
379
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
380
+ #
381
+ # @option options [Aws::TokenProvider] :token_provider
382
+ # Your Bearer token used for authentication. This can be any class that includes and implements
383
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
384
+ #
385
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
386
+ # tokens.
387
+ #
388
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
389
+ # access token generated from `aws login`.
390
+ #
391
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
392
+ # will be used to search for tokens configured for your profile in shared configuration files.
393
+ #
300
394
  # @option options [Boolean] :use_dualstack_endpoint
301
395
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
396
  # will be used if available.
@@ -310,50 +404,76 @@ module Aws::ApplicationInsights
310
404
  # When `true`, request parameters are validated before
311
405
  # sending the request.
312
406
  #
313
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
- # requests through. Formatted like 'http://proxy.com:123'.
315
- #
316
- # @option options [Float] :http_open_timeout (15) The number of
317
- # seconds to wait when opening a HTTP session before raising a
318
- # `Timeout::Error`.
319
- #
320
- # @option options [Float] :http_read_timeout (60) The default
321
- # number of seconds to wait for response data. This value can
322
- # safely be set per-request on the session.
323
- #
324
- # @option options [Float] :http_idle_timeout (5) The number of
325
- # seconds a connection is allowed to sit idle before it is
326
- # considered stale. Stale connections are closed and removed
327
- # from the pool before making a request.
407
+ # @option options [Aws::ApplicationInsights::EndpointProvider] :endpoint_provider
408
+ # The endpoint provider used to resolve endpoints. Any object that responds to
409
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
410
+ # `Aws::ApplicationInsights::EndpointParameters`.
411
+ #
412
+ # @option options [Float] :http_continue_timeout (1)
413
+ # The number of seconds to wait for a 100-continue response before sending the
414
+ # request body. This option has no effect unless the request has "Expect"
415
+ # header set to "100-continue". Defaults to `nil` which disables this
416
+ # behaviour. This value can safely be set per request on the session.
417
+ #
418
+ # @option options [Float] :http_idle_timeout (5)
419
+ # The number of seconds a connection is allowed to sit idle before it
420
+ # is considered stale. Stale connections are closed and removed from the
421
+ # pool before making a request.
422
+ #
423
+ # @option options [Float] :http_open_timeout (15)
424
+ # The default number of seconds to wait for response data.
425
+ # This value can safely be set per-request on the session.
426
+ #
427
+ # @option options [URI::HTTP,String] :http_proxy
428
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
429
+ #
430
+ # @option options [Float] :http_read_timeout (60)
431
+ # The default number of seconds to wait for response data.
432
+ # This value can safely be set per-request on the session.
433
+ #
434
+ # @option options [Boolean] :http_wire_trace (false)
435
+ # When `true`, HTTP debug output will be sent to the `:logger`.
436
+ #
437
+ # @option options [Proc] :on_chunk_received
438
+ # When a Proc object is provided, it will be used as callback when each chunk
439
+ # of the response body is received. It provides three arguments: the chunk,
440
+ # the number of bytes received, and the total number of
441
+ # bytes in the response (or nil if the server did not send a `content-length`).
442
+ #
443
+ # @option options [Proc] :on_chunk_sent
444
+ # When a Proc object is provided, it will be used as callback when each chunk
445
+ # of the request body is sent. It provides three arguments: the chunk,
446
+ # the number of bytes read from the body, and the total number of
447
+ # bytes in the body.
448
+ #
449
+ # @option options [Boolean] :raise_response_errors (true)
450
+ # When `true`, response errors are raised.
451
+ #
452
+ # @option options [String] :ssl_ca_bundle
453
+ # Full path to the SSL certificate authority bundle file that should be used when
454
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
455
+ # `:ssl_ca_directory` the the system default will be used if available.
456
+ #
457
+ # @option options [String] :ssl_ca_directory
458
+ # Full path of the directory that contains the unbundled SSL certificate
459
+ # authority files for verifying peer certificates. If you do
460
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
461
+ # default will be used if available.
328
462
  #
329
- # @option options [Float] :http_continue_timeout (1) The number of
330
- # seconds to wait for a 100-continue response before sending the
331
- # request body. This option has no effect unless the request has
332
- # "Expect" header set to "100-continue". Defaults to `nil` which
333
- # disables this behaviour. This value can safely be set per
334
- # request on the session.
463
+ # @option options [String] :ssl_ca_store
464
+ # Sets the X509::Store to verify peer certificate.
335
465
  #
336
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
337
- # in seconds.
466
+ # @option options [OpenSSL::X509::Certificate] :ssl_cert
467
+ # Sets a client certificate when creating http connections.
338
468
  #
339
- # @option options [Boolean] :http_wire_trace (false) When `true`,
340
- # HTTP debug output will be sent to the `:logger`.
469
+ # @option options [OpenSSL::PKey] :ssl_key
470
+ # Sets a client key when creating http connections.
341
471
  #
342
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
343
- # SSL peer certificates are verified when establishing a
344
- # connection.
472
+ # @option options [Float] :ssl_timeout
473
+ # Sets the SSL timeout in seconds
345
474
  #
346
- # @option options [String] :ssl_ca_bundle Full path to the SSL
347
- # certificate authority bundle file that should be used when
348
- # verifying peer certificates. If you do not pass
349
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
350
- # will be used if available.
351
- #
352
- # @option options [String] :ssl_ca_directory Full path of the
353
- # directory that contains the unbundled SSL certificate
354
- # authority files for verifying peer certificates. If you do
355
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
356
- # system default will be used if available.
475
+ # @option options [Boolean] :ssl_verify_peer (true)
476
+ # When `true`, SSL peer certificates are verified when establishing a connection.
357
477
  #
358
478
  def initialize(*args)
359
479
  super
@@ -361,6 +481,52 @@ module Aws::ApplicationInsights
361
481
 
362
482
  # @!group API Operations
363
483
 
484
+ # Adds a workload to a component. Each component can have at most five
485
+ # workloads.
486
+ #
487
+ # @option params [required, String] :resource_group_name
488
+ # The name of the resource group.
489
+ #
490
+ # @option params [required, String] :component_name
491
+ # The name of the component.
492
+ #
493
+ # @option params [required, Types::WorkloadConfiguration] :workload_configuration
494
+ # The configuration settings of the workload. The value is the escaped
495
+ # JSON of the configuration.
496
+ #
497
+ # @return [Types::AddWorkloadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
498
+ #
499
+ # * {Types::AddWorkloadResponse#workload_id #workload_id} => String
500
+ # * {Types::AddWorkloadResponse#workload_configuration #workload_configuration} => Types::WorkloadConfiguration
501
+ #
502
+ # @example Request syntax with placeholder values
503
+ #
504
+ # resp = client.add_workload({
505
+ # resource_group_name: "ResourceGroupName", # required
506
+ # component_name: "ComponentName", # required
507
+ # workload_configuration: { # required
508
+ # workload_name: "WorkloadName",
509
+ # tier: "CUSTOM", # accepts CUSTOM, DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB_TIER, DOT_NET_WEB, SQL_SERVER, SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP, MYSQL, POSTGRESQL, JAVA_JMX, ORACLE, SAP_HANA_MULTI_NODE, SAP_HANA_SINGLE_NODE, SAP_HANA_HIGH_AVAILABILITY, SAP_ASE_SINGLE_NODE, SAP_ASE_HIGH_AVAILABILITY, SQL_SERVER_FAILOVER_CLUSTER_INSTANCE, SHAREPOINT, ACTIVE_DIRECTORY, SAP_NETWEAVER_STANDARD, SAP_NETWEAVER_DISTRIBUTED, SAP_NETWEAVER_HIGH_AVAILABILITY
510
+ # configuration: "ComponentConfiguration",
511
+ # },
512
+ # })
513
+ #
514
+ # @example Response structure
515
+ #
516
+ # resp.workload_id #=> String
517
+ # resp.workload_configuration.workload_name #=> String
518
+ # resp.workload_configuration.tier #=> String, one of "CUSTOM", "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB_TIER", "DOT_NET_WEB", "SQL_SERVER", "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP", "MYSQL", "POSTGRESQL", "JAVA_JMX", "ORACLE", "SAP_HANA_MULTI_NODE", "SAP_HANA_SINGLE_NODE", "SAP_HANA_HIGH_AVAILABILITY", "SAP_ASE_SINGLE_NODE", "SAP_ASE_HIGH_AVAILABILITY", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
519
+ # resp.workload_configuration.configuration #=> String
520
+ #
521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/AddWorkload AWS API Documentation
522
+ #
523
+ # @overload add_workload(params = {})
524
+ # @param [Hash] params ({})
525
+ def add_workload(params = {}, options = {})
526
+ req = build_request(:add_workload, params)
527
+ req.send_request(options)
528
+ end
529
+
364
530
  # Adds an application that is created from a resource group.
365
531
  #
366
532
  # @option params [String] :resource_group_name
@@ -380,6 +546,9 @@ module Aws::ApplicationInsights
380
546
  # the created opsItem. Allows you to receive notifications for updates
381
547
  # to the opsItem.
382
548
  #
549
+ # @option params [String] :sns_notification_arn
550
+ # The SNS notification topic ARN.
551
+ #
383
552
  # @option params [Array<Types::Tag>] :tags
384
553
  # List of tags to add to the application. tag key (`Key`) and an
385
554
  # associated tag value (`Value`). The maximum length of a tag key is 128
@@ -398,6 +567,10 @@ module Aws::ApplicationInsights
398
567
  # or on an account. To create an account-based application using all of
399
568
  # the resources in the account, set this parameter to `ACCOUNT_BASED`.
400
569
  #
570
+ # @option params [Boolean] :attach_missing_permission
571
+ # If set to true, the managed policies for SSM and CW will be attached
572
+ # to the instance roles if they are missing.
573
+ #
401
574
  # @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
402
575
  #
403
576
  # * {Types::CreateApplicationResponse#application_info #application_info} => Types::ApplicationInfo
@@ -409,6 +582,7 @@ module Aws::ApplicationInsights
409
582
  # ops_center_enabled: false,
410
583
  # cwe_monitor_enabled: false,
411
584
  # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
585
+ # sns_notification_arn: "SNSNotificationArn",
412
586
  # tags: [
413
587
  # {
414
588
  # key: "TagKey", # required
@@ -418,18 +592,22 @@ module Aws::ApplicationInsights
418
592
  # auto_config_enabled: false,
419
593
  # auto_create: false,
420
594
  # grouping_type: "ACCOUNT_BASED", # accepts ACCOUNT_BASED
595
+ # attach_missing_permission: false,
421
596
  # })
422
597
  #
423
598
  # @example Response structure
424
599
  #
600
+ # resp.application_info.account_id #=> String
425
601
  # resp.application_info.resource_group_name #=> String
426
602
  # resp.application_info.life_cycle #=> String
427
603
  # resp.application_info.ops_item_sns_topic_arn #=> String
604
+ # resp.application_info.sns_notification_arn #=> String
428
605
  # resp.application_info.ops_center_enabled #=> Boolean
429
606
  # resp.application_info.cwe_monitor_enabled #=> Boolean
430
607
  # resp.application_info.remarks #=> String
431
608
  # resp.application_info.auto_config_enabled #=> Boolean
432
609
  # resp.application_info.discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
610
+ # resp.application_info.attach_missing_permission #=> Boolean
433
611
  #
434
612
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication AWS API Documentation
435
613
  #
@@ -497,7 +675,7 @@ module Aws::ApplicationInsights
497
675
  # `750,000` rank. A `Medium` severity pattern translates to a `500,000`
498
676
  # rank. And a `High` severity pattern translates to a `250,000` rank.
499
677
  # Rank values less than `1` or greater than `1,000,000` are reserved for
500
- # AWS-provided patterns.
678
+ # Amazon Web Services provided patterns.
501
679
  #
502
680
  # @return [Types::CreateLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
503
681
  #
@@ -617,6 +795,9 @@ module Aws::ApplicationInsights
617
795
  # @option params [required, String] :resource_group_name
618
796
  # The name of the resource group.
619
797
  #
798
+ # @option params [String] :account_id
799
+ # The Amazon Web Services account ID for the resource group owner.
800
+ #
620
801
  # @return [Types::DescribeApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
621
802
  #
622
803
  # * {Types::DescribeApplicationResponse#application_info #application_info} => Types::ApplicationInfo
@@ -625,18 +806,22 @@ module Aws::ApplicationInsights
625
806
  #
626
807
  # resp = client.describe_application({
627
808
  # resource_group_name: "ResourceGroupName", # required
809
+ # account_id: "AccountId",
628
810
  # })
629
811
  #
630
812
  # @example Response structure
631
813
  #
814
+ # resp.application_info.account_id #=> String
632
815
  # resp.application_info.resource_group_name #=> String
633
816
  # resp.application_info.life_cycle #=> String
634
817
  # resp.application_info.ops_item_sns_topic_arn #=> String
818
+ # resp.application_info.sns_notification_arn #=> String
635
819
  # resp.application_info.ops_center_enabled #=> Boolean
636
820
  # resp.application_info.cwe_monitor_enabled #=> Boolean
637
821
  # resp.application_info.remarks #=> String
638
822
  # resp.application_info.auto_config_enabled #=> Boolean
639
823
  # resp.application_info.discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
824
+ # resp.application_info.attach_missing_permission #=> Boolean
640
825
  #
641
826
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication AWS API Documentation
642
827
  #
@@ -656,6 +841,9 @@ module Aws::ApplicationInsights
656
841
  # @option params [required, String] :component_name
657
842
  # The name of the component.
658
843
  #
844
+ # @option params [String] :account_id
845
+ # The Amazon Web Services account ID for the resource group owner.
846
+ #
659
847
  # @return [Types::DescribeComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
660
848
  #
661
849
  # * {Types::DescribeComponentResponse#application_component #application_component} => Types::ApplicationComponent
@@ -666,6 +854,7 @@ module Aws::ApplicationInsights
666
854
  # resp = client.describe_component({
667
855
  # resource_group_name: "ResourceGroupName", # required
668
856
  # component_name: "ComponentName", # required
857
+ # account_id: "AccountId",
669
858
  # })
670
859
  #
671
860
  # @example Response structure
@@ -674,7 +863,7 @@ module Aws::ApplicationInsights
674
863
  # resp.application_component.component_remarks #=> String
675
864
  # resp.application_component.resource_type #=> String
676
865
  # resp.application_component.os_type #=> String, one of "WINDOWS", "LINUX"
677
- # resp.application_component.tier #=> String, one of "CUSTOM", "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB_TIER", "DOT_NET_WEB", "SQL_SERVER", "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP", "MYSQL", "POSTGRESQL", "JAVA_JMX", "ORACLE", "SAP_HANA_MULTI_NODE", "SAP_HANA_SINGLE_NODE", "SAP_HANA_HIGH_AVAILABILITY", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY"
866
+ # resp.application_component.tier #=> String, one of "CUSTOM", "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB_TIER", "DOT_NET_WEB", "SQL_SERVER", "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP", "MYSQL", "POSTGRESQL", "JAVA_JMX", "ORACLE", "SAP_HANA_MULTI_NODE", "SAP_HANA_SINGLE_NODE", "SAP_HANA_HIGH_AVAILABILITY", "SAP_ASE_SINGLE_NODE", "SAP_ASE_HIGH_AVAILABILITY", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
678
867
  # resp.application_component.monitor #=> Boolean
679
868
  # resp.application_component.detected_workload #=> Hash
680
869
  # resp.application_component.detected_workload["Tier"] #=> Hash
@@ -699,6 +888,9 @@ module Aws::ApplicationInsights
699
888
  # @option params [required, String] :component_name
700
889
  # The name of the component.
701
890
  #
891
+ # @option params [String] :account_id
892
+ # The Amazon Web Services account ID for the resource group owner.
893
+ #
702
894
  # @return [Types::DescribeComponentConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
703
895
  #
704
896
  # * {Types::DescribeComponentConfigurationResponse#monitor #monitor} => Boolean
@@ -710,12 +902,13 @@ module Aws::ApplicationInsights
710
902
  # resp = client.describe_component_configuration({
711
903
  # resource_group_name: "ResourceGroupName", # required
712
904
  # component_name: "ComponentName", # required
905
+ # account_id: "AccountId",
713
906
  # })
714
907
  #
715
908
  # @example Response structure
716
909
  #
717
910
  # resp.monitor #=> Boolean
718
- # resp.tier #=> String, one of "CUSTOM", "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB_TIER", "DOT_NET_WEB", "SQL_SERVER", "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP", "MYSQL", "POSTGRESQL", "JAVA_JMX", "ORACLE", "SAP_HANA_MULTI_NODE", "SAP_HANA_SINGLE_NODE", "SAP_HANA_HIGH_AVAILABILITY", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY"
911
+ # resp.tier #=> String, one of "CUSTOM", "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB_TIER", "DOT_NET_WEB", "SQL_SERVER", "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP", "MYSQL", "POSTGRESQL", "JAVA_JMX", "ORACLE", "SAP_HANA_MULTI_NODE", "SAP_HANA_SINGLE_NODE", "SAP_HANA_HIGH_AVAILABILITY", "SAP_ASE_SINGLE_NODE", "SAP_ASE_HIGH_AVAILABILITY", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
719
912
  # resp.component_configuration #=> String
720
913
  #
721
914
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfiguration AWS API Documentation
@@ -738,6 +931,14 @@ module Aws::ApplicationInsights
738
931
  # @option params [required, String] :tier
739
932
  # The tier of the application component.
740
933
  #
934
+ # @option params [String] :workload_name
935
+ # The name of the workload. The name of the workload is required when
936
+ # the tier of the application component is `SAP_ASE_SINGLE_NODE` or
937
+ # `SAP_ASE_HIGH_AVAILABILITY`.
938
+ #
939
+ # @option params [String] :recommendation_type
940
+ # The recommended configuration type.
941
+ #
741
942
  # @return [Types::DescribeComponentConfigurationRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
742
943
  #
743
944
  # * {Types::DescribeComponentConfigurationRecommendationResponse#component_configuration #component_configuration} => String
@@ -747,7 +948,9 @@ module Aws::ApplicationInsights
747
948
  # resp = client.describe_component_configuration_recommendation({
748
949
  # resource_group_name: "ResourceGroupName", # required
749
950
  # component_name: "ComponentName", # required
750
- # tier: "CUSTOM", # required, accepts CUSTOM, DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB_TIER, DOT_NET_WEB, SQL_SERVER, SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP, MYSQL, POSTGRESQL, JAVA_JMX, ORACLE, SAP_HANA_MULTI_NODE, SAP_HANA_SINGLE_NODE, SAP_HANA_HIGH_AVAILABILITY, SQL_SERVER_FAILOVER_CLUSTER_INSTANCE, SHAREPOINT, ACTIVE_DIRECTORY
951
+ # tier: "CUSTOM", # required, accepts CUSTOM, DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB_TIER, DOT_NET_WEB, SQL_SERVER, SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP, MYSQL, POSTGRESQL, JAVA_JMX, ORACLE, SAP_HANA_MULTI_NODE, SAP_HANA_SINGLE_NODE, SAP_HANA_HIGH_AVAILABILITY, SAP_ASE_SINGLE_NODE, SAP_ASE_HIGH_AVAILABILITY, SQL_SERVER_FAILOVER_CLUSTER_INSTANCE, SHAREPOINT, ACTIVE_DIRECTORY, SAP_NETWEAVER_STANDARD, SAP_NETWEAVER_DISTRIBUTED, SAP_NETWEAVER_HIGH_AVAILABILITY
952
+ # workload_name: "WorkloadName",
953
+ # recommendation_type: "INFRA_ONLY", # accepts INFRA_ONLY, WORKLOAD_ONLY, ALL
751
954
  # })
752
955
  #
753
956
  # @example Response structure
@@ -774,9 +977,13 @@ module Aws::ApplicationInsights
774
977
  # @option params [required, String] :pattern_name
775
978
  # The name of the log pattern.
776
979
  #
980
+ # @option params [String] :account_id
981
+ # The Amazon Web Services account ID for the resource group owner.
982
+ #
777
983
  # @return [Types::DescribeLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
778
984
  #
779
985
  # * {Types::DescribeLogPatternResponse#resource_group_name #resource_group_name} => String
986
+ # * {Types::DescribeLogPatternResponse#account_id #account_id} => String
780
987
  # * {Types::DescribeLogPatternResponse#log_pattern #log_pattern} => Types::LogPattern
781
988
  #
782
989
  # @example Request syntax with placeholder values
@@ -785,11 +992,13 @@ module Aws::ApplicationInsights
785
992
  # resource_group_name: "ResourceGroupName", # required
786
993
  # pattern_set_name: "LogPatternSetName", # required
787
994
  # pattern_name: "LogPatternName", # required
995
+ # account_id: "AccountId",
788
996
  # })
789
997
  #
790
998
  # @example Response structure
791
999
  #
792
1000
  # resp.resource_group_name #=> String
1001
+ # resp.account_id #=> String
793
1002
  # resp.log_pattern.pattern_set_name #=> String
794
1003
  # resp.log_pattern.pattern_name #=> String
795
1004
  # resp.log_pattern.pattern #=> String
@@ -809,6 +1018,9 @@ module Aws::ApplicationInsights
809
1018
  # @option params [required, String] :observation_id
810
1019
  # The ID of the observation.
811
1020
  #
1021
+ # @option params [String] :account_id
1022
+ # The Amazon Web Services account ID for the resource group owner.
1023
+ #
812
1024
  # @return [Types::DescribeObservationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
813
1025
  #
814
1026
  # * {Types::DescribeObservationResponse#observation #observation} => Types::Observation
@@ -817,6 +1029,7 @@ module Aws::ApplicationInsights
817
1029
  #
818
1030
  # resp = client.describe_observation({
819
1031
  # observation_id: "ObservationId", # required
1032
+ # account_id: "AccountId",
820
1033
  # })
821
1034
  #
822
1035
  # @example Response structure
@@ -881,31 +1094,42 @@ module Aws::ApplicationInsights
881
1094
  # @option params [required, String] :problem_id
882
1095
  # The ID of the problem.
883
1096
  #
1097
+ # @option params [String] :account_id
1098
+ # The Amazon Web Services account ID for the owner of the resource group
1099
+ # affected by the problem.
1100
+ #
884
1101
  # @return [Types::DescribeProblemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
885
1102
  #
886
1103
  # * {Types::DescribeProblemResponse#problem #problem} => Types::Problem
1104
+ # * {Types::DescribeProblemResponse#sns_notification_arn #sns_notification_arn} => String
887
1105
  #
888
1106
  # @example Request syntax with placeholder values
889
1107
  #
890
1108
  # resp = client.describe_problem({
891
1109
  # problem_id: "ProblemId", # required
1110
+ # account_id: "AccountId",
892
1111
  # })
893
1112
  #
894
1113
  # @example Response structure
895
1114
  #
896
1115
  # resp.problem.id #=> String
897
1116
  # resp.problem.title #=> String
1117
+ # resp.problem.short_name #=> String
898
1118
  # resp.problem.insights #=> String
899
- # resp.problem.status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING"
1119
+ # resp.problem.status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING", "RECOVERING"
900
1120
  # resp.problem.affected_resource #=> String
901
1121
  # resp.problem.start_time #=> Time
902
1122
  # resp.problem.end_time #=> Time
903
1123
  # resp.problem.severity_level #=> String, one of "Informative", "Low", "Medium", "High"
1124
+ # resp.problem.account_id #=> String
904
1125
  # resp.problem.resource_group_name #=> String
905
1126
  # resp.problem.feedback #=> Hash
906
1127
  # resp.problem.feedback["FeedbackKey"] #=> String, one of "NOT_SPECIFIED", "USEFUL", "NOT_USEFUL"
907
1128
  # resp.problem.recurring_count #=> Integer
908
1129
  # resp.problem.last_recurrence_time #=> Time
1130
+ # resp.problem.visibility #=> String, one of "IGNORED", "VISIBLE"
1131
+ # resp.problem.resolution_method #=> String, one of "MANUAL", "AUTOMATIC", "UNRESOLVED"
1132
+ # resp.sns_notification_arn #=> String
909
1133
  #
910
1134
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblem AWS API Documentation
911
1135
  #
@@ -921,6 +1145,9 @@ module Aws::ApplicationInsights
921
1145
  # @option params [required, String] :problem_id
922
1146
  # The ID of the problem.
923
1147
  #
1148
+ # @option params [String] :account_id
1149
+ # The Amazon Web Services account ID for the resource group owner.
1150
+ #
924
1151
  # @return [Types::DescribeProblemObservationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
925
1152
  #
926
1153
  # * {Types::DescribeProblemObservationsResponse#related_observations #related_observations} => Types::RelatedObservations
@@ -929,6 +1156,7 @@ module Aws::ApplicationInsights
929
1156
  #
930
1157
  # resp = client.describe_problem_observations({
931
1158
  # problem_id: "ProblemId", # required
1159
+ # account_id: "AccountId",
932
1160
  # })
933
1161
  #
934
1162
  # @example Response structure
@@ -989,6 +1217,52 @@ module Aws::ApplicationInsights
989
1217
  req.send_request(options)
990
1218
  end
991
1219
 
1220
+ # Describes a workload and its configuration.
1221
+ #
1222
+ # @option params [required, String] :resource_group_name
1223
+ # The name of the resource group.
1224
+ #
1225
+ # @option params [required, String] :component_name
1226
+ # The name of the component.
1227
+ #
1228
+ # @option params [required, String] :workload_id
1229
+ # The ID of the workload.
1230
+ #
1231
+ # @option params [String] :account_id
1232
+ # The Amazon Web Services account ID for the workload owner.
1233
+ #
1234
+ # @return [Types::DescribeWorkloadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1235
+ #
1236
+ # * {Types::DescribeWorkloadResponse#workload_id #workload_id} => String
1237
+ # * {Types::DescribeWorkloadResponse#workload_remarks #workload_remarks} => String
1238
+ # * {Types::DescribeWorkloadResponse#workload_configuration #workload_configuration} => Types::WorkloadConfiguration
1239
+ #
1240
+ # @example Request syntax with placeholder values
1241
+ #
1242
+ # resp = client.describe_workload({
1243
+ # resource_group_name: "ResourceGroupName", # required
1244
+ # component_name: "ComponentName", # required
1245
+ # workload_id: "WorkloadId", # required
1246
+ # account_id: "AccountId",
1247
+ # })
1248
+ #
1249
+ # @example Response structure
1250
+ #
1251
+ # resp.workload_id #=> String
1252
+ # resp.workload_remarks #=> String
1253
+ # resp.workload_configuration.workload_name #=> String
1254
+ # resp.workload_configuration.tier #=> String, one of "CUSTOM", "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB_TIER", "DOT_NET_WEB", "SQL_SERVER", "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP", "MYSQL", "POSTGRESQL", "JAVA_JMX", "ORACLE", "SAP_HANA_MULTI_NODE", "SAP_HANA_SINGLE_NODE", "SAP_HANA_HIGH_AVAILABILITY", "SAP_ASE_SINGLE_NODE", "SAP_ASE_HIGH_AVAILABILITY", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
1255
+ # resp.workload_configuration.configuration #=> String
1256
+ #
1257
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeWorkload AWS API Documentation
1258
+ #
1259
+ # @overload describe_workload(params = {})
1260
+ # @param [Hash] params ({})
1261
+ def describe_workload(params = {}, options = {})
1262
+ req = build_request(:describe_workload, params)
1263
+ req.send_request(options)
1264
+ end
1265
+
992
1266
  # Lists the IDs of the applications that you are monitoring.
993
1267
  #
994
1268
  # @option params [Integer] :max_results
@@ -999,6 +1273,9 @@ module Aws::ApplicationInsights
999
1273
  # @option params [String] :next_token
1000
1274
  # The token to request the next page of results.
1001
1275
  #
1276
+ # @option params [String] :account_id
1277
+ # The Amazon Web Services account ID for the resource group owner.
1278
+ #
1002
1279
  # @return [Types::ListApplicationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1003
1280
  #
1004
1281
  # * {Types::ListApplicationsResponse#application_info_list #application_info_list} => Array&lt;Types::ApplicationInfo&gt;
@@ -1011,19 +1288,23 @@ module Aws::ApplicationInsights
1011
1288
  # resp = client.list_applications({
1012
1289
  # max_results: 1,
1013
1290
  # next_token: "PaginationToken",
1291
+ # account_id: "AccountId",
1014
1292
  # })
1015
1293
  #
1016
1294
  # @example Response structure
1017
1295
  #
1018
1296
  # resp.application_info_list #=> Array
1297
+ # resp.application_info_list[0].account_id #=> String
1019
1298
  # resp.application_info_list[0].resource_group_name #=> String
1020
1299
  # resp.application_info_list[0].life_cycle #=> String
1021
1300
  # resp.application_info_list[0].ops_item_sns_topic_arn #=> String
1301
+ # resp.application_info_list[0].sns_notification_arn #=> String
1022
1302
  # resp.application_info_list[0].ops_center_enabled #=> Boolean
1023
1303
  # resp.application_info_list[0].cwe_monitor_enabled #=> Boolean
1024
1304
  # resp.application_info_list[0].remarks #=> String
1025
1305
  # resp.application_info_list[0].auto_config_enabled #=> Boolean
1026
1306
  # resp.application_info_list[0].discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
1307
+ # resp.application_info_list[0].attach_missing_permission #=> Boolean
1027
1308
  # resp.next_token #=> String
1028
1309
  #
1029
1310
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplications AWS API Documentation
@@ -1049,6 +1330,9 @@ module Aws::ApplicationInsights
1049
1330
  # @option params [String] :next_token
1050
1331
  # The token to request the next page of results.
1051
1332
  #
1333
+ # @option params [String] :account_id
1334
+ # The Amazon Web Services account ID for the resource group owner.
1335
+ #
1052
1336
  # @return [Types::ListComponentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1053
1337
  #
1054
1338
  # * {Types::ListComponentsResponse#application_component_list #application_component_list} => Array&lt;Types::ApplicationComponent&gt;
@@ -1062,6 +1346,7 @@ module Aws::ApplicationInsights
1062
1346
  # resource_group_name: "ResourceGroupName", # required
1063
1347
  # max_results: 1,
1064
1348
  # next_token: "PaginationToken",
1349
+ # account_id: "AccountId",
1065
1350
  # })
1066
1351
  #
1067
1352
  # @example Response structure
@@ -1071,7 +1356,7 @@ module Aws::ApplicationInsights
1071
1356
  # resp.application_component_list[0].component_remarks #=> String
1072
1357
  # resp.application_component_list[0].resource_type #=> String
1073
1358
  # resp.application_component_list[0].os_type #=> String, one of "WINDOWS", "LINUX"
1074
- # resp.application_component_list[0].tier #=> String, one of "CUSTOM", "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB_TIER", "DOT_NET_WEB", "SQL_SERVER", "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP", "MYSQL", "POSTGRESQL", "JAVA_JMX", "ORACLE", "SAP_HANA_MULTI_NODE", "SAP_HANA_SINGLE_NODE", "SAP_HANA_HIGH_AVAILABILITY", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY"
1359
+ # resp.application_component_list[0].tier #=> String, one of "CUSTOM", "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB_TIER", "DOT_NET_WEB", "SQL_SERVER", "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP", "MYSQL", "POSTGRESQL", "JAVA_JMX", "ORACLE", "SAP_HANA_MULTI_NODE", "SAP_HANA_SINGLE_NODE", "SAP_HANA_HIGH_AVAILABILITY", "SAP_ASE_SINGLE_NODE", "SAP_ASE_HIGH_AVAILABILITY", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
1075
1360
  # resp.application_component_list[0].monitor #=> Boolean
1076
1361
  # resp.application_component_list[0].detected_workload #=> Hash
1077
1362
  # resp.application_component_list[0].detected_workload["Tier"] #=> Hash
@@ -1129,6 +1414,9 @@ module Aws::ApplicationInsights
1129
1414
  # from the end of the previous results that returned the `NextToken`
1130
1415
  # value. This value is `null` when there are no more results to return.
1131
1416
  #
1417
+ # @option params [String] :account_id
1418
+ # The Amazon Web Services account ID for the resource group owner.
1419
+ #
1132
1420
  # @return [Types::ListConfigurationHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1133
1421
  #
1134
1422
  # * {Types::ListConfigurationHistoryResponse#event_list #event_list} => Array&lt;Types::ConfigurationEvent&gt;
@@ -1145,11 +1433,14 @@ module Aws::ApplicationInsights
1145
1433
  # event_status: "INFO", # accepts INFO, WARN, ERROR
1146
1434
  # max_results: 1,
1147
1435
  # next_token: "PaginationToken",
1436
+ # account_id: "AccountId",
1148
1437
  # })
1149
1438
  #
1150
1439
  # @example Response structure
1151
1440
  #
1152
1441
  # resp.event_list #=> Array
1442
+ # resp.event_list[0].resource_group_name #=> String
1443
+ # resp.event_list[0].account_id #=> String
1153
1444
  # resp.event_list[0].monitored_resource_arn #=> String
1154
1445
  # resp.event_list[0].event_status #=> String, one of "INFO", "WARN", "ERROR"
1155
1446
  # resp.event_list[0].event_resource_type #=> String, one of "CLOUDWATCH_ALARM", "CLOUDWATCH_LOG", "CLOUDFORMATION", "SSM_ASSOCIATION"
@@ -1180,9 +1471,13 @@ module Aws::ApplicationInsights
1180
1471
  # @option params [String] :next_token
1181
1472
  # The token to request the next page of results.
1182
1473
  #
1474
+ # @option params [String] :account_id
1475
+ # The Amazon Web Services account ID for the resource group owner.
1476
+ #
1183
1477
  # @return [Types::ListLogPatternSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1184
1478
  #
1185
1479
  # * {Types::ListLogPatternSetsResponse#resource_group_name #resource_group_name} => String
1480
+ # * {Types::ListLogPatternSetsResponse#account_id #account_id} => String
1186
1481
  # * {Types::ListLogPatternSetsResponse#log_pattern_sets #log_pattern_sets} => Array&lt;String&gt;
1187
1482
  # * {Types::ListLogPatternSetsResponse#next_token #next_token} => String
1188
1483
  #
@@ -1194,11 +1489,13 @@ module Aws::ApplicationInsights
1194
1489
  # resource_group_name: "ResourceGroupName", # required
1195
1490
  # max_results: 1,
1196
1491
  # next_token: "PaginationToken",
1492
+ # account_id: "AccountId",
1197
1493
  # })
1198
1494
  #
1199
1495
  # @example Response structure
1200
1496
  #
1201
1497
  # resp.resource_group_name #=> String
1498
+ # resp.account_id #=> String
1202
1499
  # resp.log_pattern_sets #=> Array
1203
1500
  # resp.log_pattern_sets[0] #=> String
1204
1501
  # resp.next_token #=> String
@@ -1228,9 +1525,13 @@ module Aws::ApplicationInsights
1228
1525
  # @option params [String] :next_token
1229
1526
  # The token to request the next page of results.
1230
1527
  #
1528
+ # @option params [String] :account_id
1529
+ # The Amazon Web Services account ID for the resource group owner.
1530
+ #
1231
1531
  # @return [Types::ListLogPatternsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1232
1532
  #
1233
1533
  # * {Types::ListLogPatternsResponse#resource_group_name #resource_group_name} => String
1534
+ # * {Types::ListLogPatternsResponse#account_id #account_id} => String
1234
1535
  # * {Types::ListLogPatternsResponse#log_patterns #log_patterns} => Array&lt;Types::LogPattern&gt;
1235
1536
  # * {Types::ListLogPatternsResponse#next_token #next_token} => String
1236
1537
  #
@@ -1243,11 +1544,13 @@ module Aws::ApplicationInsights
1243
1544
  # pattern_set_name: "LogPatternSetName",
1244
1545
  # max_results: 1,
1245
1546
  # next_token: "PaginationToken",
1547
+ # account_id: "AccountId",
1246
1548
  # })
1247
1549
  #
1248
1550
  # @example Response structure
1249
1551
  #
1250
1552
  # resp.resource_group_name #=> String
1553
+ # resp.account_id #=> String
1251
1554
  # resp.log_patterns #=> Array
1252
1555
  # resp.log_patterns[0].pattern_set_name #=> String
1253
1556
  # resp.log_patterns[0].pattern_name #=> String
@@ -1266,6 +1569,9 @@ module Aws::ApplicationInsights
1266
1569
 
1267
1570
  # Lists the problems with your application.
1268
1571
  #
1572
+ # @option params [String] :account_id
1573
+ # The Amazon Web Services account ID for the resource group owner.
1574
+ #
1269
1575
  # @option params [String] :resource_group_name
1270
1576
  # The name of the resource group.
1271
1577
  #
@@ -1289,23 +1595,30 @@ module Aws::ApplicationInsights
1289
1595
  # @option params [String] :component_name
1290
1596
  # The name of the component.
1291
1597
  #
1598
+ # @option params [String] :visibility
1599
+ # Specifies whether or not you can view the problem. If not specified,
1600
+ # visible and ignored problems are returned.
1601
+ #
1292
1602
  # @return [Types::ListProblemsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1293
1603
  #
1294
1604
  # * {Types::ListProblemsResponse#problem_list #problem_list} => Array&lt;Types::Problem&gt;
1295
1605
  # * {Types::ListProblemsResponse#next_token #next_token} => String
1296
1606
  # * {Types::ListProblemsResponse#resource_group_name #resource_group_name} => String
1607
+ # * {Types::ListProblemsResponse#account_id #account_id} => String
1297
1608
  #
1298
1609
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1299
1610
  #
1300
1611
  # @example Request syntax with placeholder values
1301
1612
  #
1302
1613
  # resp = client.list_problems({
1614
+ # account_id: "AccountId",
1303
1615
  # resource_group_name: "ResourceGroupName",
1304
1616
  # start_time: Time.now,
1305
1617
  # end_time: Time.now,
1306
1618
  # max_results: 1,
1307
1619
  # next_token: "PaginationToken",
1308
1620
  # component_name: "ComponentName",
1621
+ # visibility: "IGNORED", # accepts IGNORED, VISIBLE
1309
1622
  # })
1310
1623
  #
1311
1624
  # @example Response structure
@@ -1313,19 +1626,24 @@ module Aws::ApplicationInsights
1313
1626
  # resp.problem_list #=> Array
1314
1627
  # resp.problem_list[0].id #=> String
1315
1628
  # resp.problem_list[0].title #=> String
1629
+ # resp.problem_list[0].short_name #=> String
1316
1630
  # resp.problem_list[0].insights #=> String
1317
- # resp.problem_list[0].status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING"
1631
+ # resp.problem_list[0].status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING", "RECOVERING"
1318
1632
  # resp.problem_list[0].affected_resource #=> String
1319
1633
  # resp.problem_list[0].start_time #=> Time
1320
1634
  # resp.problem_list[0].end_time #=> Time
1321
1635
  # resp.problem_list[0].severity_level #=> String, one of "Informative", "Low", "Medium", "High"
1636
+ # resp.problem_list[0].account_id #=> String
1322
1637
  # resp.problem_list[0].resource_group_name #=> String
1323
1638
  # resp.problem_list[0].feedback #=> Hash
1324
1639
  # resp.problem_list[0].feedback["FeedbackKey"] #=> String, one of "NOT_SPECIFIED", "USEFUL", "NOT_USEFUL"
1325
1640
  # resp.problem_list[0].recurring_count #=> Integer
1326
1641
  # resp.problem_list[0].last_recurrence_time #=> Time
1642
+ # resp.problem_list[0].visibility #=> String, one of "IGNORED", "VISIBLE"
1643
+ # resp.problem_list[0].resolution_method #=> String, one of "MANUAL", "AUTOMATIC", "UNRESOLVED"
1327
1644
  # resp.next_token #=> String
1328
1645
  # resp.resource_group_name #=> String
1646
+ # resp.account_id #=> String
1329
1647
  #
1330
1648
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblems AWS API Documentation
1331
1649
  #
@@ -1372,6 +1690,92 @@ module Aws::ApplicationInsights
1372
1690
  req.send_request(options)
1373
1691
  end
1374
1692
 
1693
+ # Lists the workloads that are configured on a given component.
1694
+ #
1695
+ # @option params [required, String] :resource_group_name
1696
+ # The name of the resource group.
1697
+ #
1698
+ # @option params [required, String] :component_name
1699
+ # The name of the component.
1700
+ #
1701
+ # @option params [Integer] :max_results
1702
+ # The maximum number of results to return in a single call. To retrieve
1703
+ # the remaining results, make another call with the returned `NextToken`
1704
+ # value.
1705
+ #
1706
+ # @option params [String] :next_token
1707
+ # The token to request the next page of results.
1708
+ #
1709
+ # @option params [String] :account_id
1710
+ # The Amazon Web Services account ID of the owner of the workload.
1711
+ #
1712
+ # @return [Types::ListWorkloadsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1713
+ #
1714
+ # * {Types::ListWorkloadsResponse#workload_list #workload_list} => Array&lt;Types::Workload&gt;
1715
+ # * {Types::ListWorkloadsResponse#next_token #next_token} => String
1716
+ #
1717
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1718
+ #
1719
+ # @example Request syntax with placeholder values
1720
+ #
1721
+ # resp = client.list_workloads({
1722
+ # resource_group_name: "ResourceGroupName", # required
1723
+ # component_name: "ComponentName", # required
1724
+ # max_results: 1,
1725
+ # next_token: "PaginationToken",
1726
+ # account_id: "AccountId",
1727
+ # })
1728
+ #
1729
+ # @example Response structure
1730
+ #
1731
+ # resp.workload_list #=> Array
1732
+ # resp.workload_list[0].workload_id #=> String
1733
+ # resp.workload_list[0].component_name #=> String
1734
+ # resp.workload_list[0].workload_name #=> String
1735
+ # resp.workload_list[0].tier #=> String, one of "CUSTOM", "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB_TIER", "DOT_NET_WEB", "SQL_SERVER", "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP", "MYSQL", "POSTGRESQL", "JAVA_JMX", "ORACLE", "SAP_HANA_MULTI_NODE", "SAP_HANA_SINGLE_NODE", "SAP_HANA_HIGH_AVAILABILITY", "SAP_ASE_SINGLE_NODE", "SAP_ASE_HIGH_AVAILABILITY", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
1736
+ # resp.workload_list[0].workload_remarks #=> String
1737
+ # resp.workload_list[0].missing_workload_config #=> Boolean
1738
+ # resp.next_token #=> String
1739
+ #
1740
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListWorkloads AWS API Documentation
1741
+ #
1742
+ # @overload list_workloads(params = {})
1743
+ # @param [Hash] params ({})
1744
+ def list_workloads(params = {}, options = {})
1745
+ req = build_request(:list_workloads, params)
1746
+ req.send_request(options)
1747
+ end
1748
+
1749
+ # Remove workload from a component.
1750
+ #
1751
+ # @option params [required, String] :resource_group_name
1752
+ # The name of the resource group.
1753
+ #
1754
+ # @option params [required, String] :component_name
1755
+ # The name of the component.
1756
+ #
1757
+ # @option params [required, String] :workload_id
1758
+ # The ID of the workload.
1759
+ #
1760
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1761
+ #
1762
+ # @example Request syntax with placeholder values
1763
+ #
1764
+ # resp = client.remove_workload({
1765
+ # resource_group_name: "ResourceGroupName", # required
1766
+ # component_name: "ComponentName", # required
1767
+ # workload_id: "WorkloadId", # required
1768
+ # })
1769
+ #
1770
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/RemoveWorkload AWS API Documentation
1771
+ #
1772
+ # @overload remove_workload(params = {})
1773
+ # @param [Hash] params ({})
1774
+ def remove_workload(params = {}, options = {})
1775
+ req = build_request(:remove_workload, params)
1776
+ req.send_request(options)
1777
+ end
1778
+
1375
1779
  # Add one or more tags (keys and values) to a specified application. A
1376
1780
  # *tag* is a label that you optionally define and associate with an
1377
1781
  # application. Tags can help you categorize and manage application in
@@ -1469,6 +1873,10 @@ module Aws::ApplicationInsights
1469
1873
  # the created opsItem. Allows you to receive notifications for updates
1470
1874
  # to the opsItem.
1471
1875
  #
1876
+ # @option params [String] :sns_notification_arn
1877
+ # The SNS topic ARN. Allows you to receive SNS notifications for updates
1878
+ # and issues with an application.
1879
+ #
1472
1880
  # @option params [Boolean] :remove_sns_topic
1473
1881
  # Disassociates the SNS topic from the opsItem created for detected
1474
1882
  # problems.
@@ -1476,6 +1884,10 @@ module Aws::ApplicationInsights
1476
1884
  # @option params [Boolean] :auto_config_enabled
1477
1885
  # Turns auto-configuration on or off.
1478
1886
  #
1887
+ # @option params [Boolean] :attach_missing_permission
1888
+ # If set to true, the managed policies for SSM and CW will be attached
1889
+ # to the instance roles if they are missing.
1890
+ #
1479
1891
  # @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1480
1892
  #
1481
1893
  # * {Types::UpdateApplicationResponse#application_info #application_info} => Types::ApplicationInfo
@@ -1487,20 +1899,25 @@ module Aws::ApplicationInsights
1487
1899
  # ops_center_enabled: false,
1488
1900
  # cwe_monitor_enabled: false,
1489
1901
  # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
1902
+ # sns_notification_arn: "SNSNotificationArn",
1490
1903
  # remove_sns_topic: false,
1491
1904
  # auto_config_enabled: false,
1905
+ # attach_missing_permission: false,
1492
1906
  # })
1493
1907
  #
1494
1908
  # @example Response structure
1495
1909
  #
1910
+ # resp.application_info.account_id #=> String
1496
1911
  # resp.application_info.resource_group_name #=> String
1497
1912
  # resp.application_info.life_cycle #=> String
1498
1913
  # resp.application_info.ops_item_sns_topic_arn #=> String
1914
+ # resp.application_info.sns_notification_arn #=> String
1499
1915
  # resp.application_info.ops_center_enabled #=> Boolean
1500
1916
  # resp.application_info.cwe_monitor_enabled #=> Boolean
1501
1917
  # resp.application_info.remarks #=> String
1502
1918
  # resp.application_info.auto_config_enabled #=> Boolean
1503
1919
  # resp.application_info.discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
1920
+ # resp.application_info.attach_missing_permission #=> Boolean
1504
1921
  #
1505
1922
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication AWS API Documentation
1506
1923
  #
@@ -1588,7 +2005,7 @@ module Aws::ApplicationInsights
1588
2005
  # resource_group_name: "ResourceGroupName", # required
1589
2006
  # component_name: "ComponentName", # required
1590
2007
  # monitor: false,
1591
- # tier: "CUSTOM", # accepts CUSTOM, DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB_TIER, DOT_NET_WEB, SQL_SERVER, SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP, MYSQL, POSTGRESQL, JAVA_JMX, ORACLE, SAP_HANA_MULTI_NODE, SAP_HANA_SINGLE_NODE, SAP_HANA_HIGH_AVAILABILITY, SQL_SERVER_FAILOVER_CLUSTER_INSTANCE, SHAREPOINT, ACTIVE_DIRECTORY
2008
+ # tier: "CUSTOM", # accepts CUSTOM, DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB_TIER, DOT_NET_WEB, SQL_SERVER, SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP, MYSQL, POSTGRESQL, JAVA_JMX, ORACLE, SAP_HANA_MULTI_NODE, SAP_HANA_SINGLE_NODE, SAP_HANA_HIGH_AVAILABILITY, SAP_ASE_SINGLE_NODE, SAP_ASE_HIGH_AVAILABILITY, SQL_SERVER_FAILOVER_CLUSTER_INSTANCE, SHAREPOINT, ACTIVE_DIRECTORY, SAP_NETWEAVER_STANDARD, SAP_NETWEAVER_DISTRIBUTED, SAP_NETWEAVER_HIGH_AVAILABILITY
1592
2009
  # component_configuration: "ComponentConfiguration",
1593
2010
  # auto_config_enabled: false,
1594
2011
  # })
@@ -1628,7 +2045,7 @@ module Aws::ApplicationInsights
1628
2045
  # `750,000` rank. A `Medium` severity pattern translates to a `500,000`
1629
2046
  # rank. And a `High` severity pattern translates to a `250,000` rank.
1630
2047
  # Rank values less than `1` or greater than `1,000,000` are reserved for
1631
- # AWS-provided patterns.
2048
+ # Amazon Web Services provided patterns.
1632
2049
  #
1633
2050
  # @return [Types::UpdateLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1634
2051
  #
@@ -1662,20 +2079,110 @@ module Aws::ApplicationInsights
1662
2079
  req.send_request(options)
1663
2080
  end
1664
2081
 
2082
+ # Updates the visibility of the problem or specifies the problem as
2083
+ # `RESOLVED`.
2084
+ #
2085
+ # @option params [required, String] :problem_id
2086
+ # The ID of the problem.
2087
+ #
2088
+ # @option params [String] :update_status
2089
+ # The status of the problem. Arguments can be passed for only problems
2090
+ # that show a status of `RECOVERING`.
2091
+ #
2092
+ # @option params [String] :visibility
2093
+ # The visibility of a problem. When you pass a value of `IGNORED`, the
2094
+ # problem is removed from the default view, and all notifications for
2095
+ # the problem are suspended. When `VISIBLE` is passed, the `IGNORED`
2096
+ # action is reversed.
2097
+ #
2098
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2099
+ #
2100
+ # @example Request syntax with placeholder values
2101
+ #
2102
+ # resp = client.update_problem({
2103
+ # problem_id: "ProblemId", # required
2104
+ # update_status: "RESOLVED", # accepts RESOLVED
2105
+ # visibility: "IGNORED", # accepts IGNORED, VISIBLE
2106
+ # })
2107
+ #
2108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateProblem AWS API Documentation
2109
+ #
2110
+ # @overload update_problem(params = {})
2111
+ # @param [Hash] params ({})
2112
+ def update_problem(params = {}, options = {})
2113
+ req = build_request(:update_problem, params)
2114
+ req.send_request(options)
2115
+ end
2116
+
2117
+ # Adds a workload to a component. Each component can have at most five
2118
+ # workloads.
2119
+ #
2120
+ # @option params [required, String] :resource_group_name
2121
+ # The name of the resource group.
2122
+ #
2123
+ # @option params [required, String] :component_name
2124
+ # The name of the component.
2125
+ #
2126
+ # @option params [String] :workload_id
2127
+ # The ID of the workload.
2128
+ #
2129
+ # @option params [required, Types::WorkloadConfiguration] :workload_configuration
2130
+ # The configuration settings of the workload. The value is the escaped
2131
+ # JSON of the configuration.
2132
+ #
2133
+ # @return [Types::UpdateWorkloadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2134
+ #
2135
+ # * {Types::UpdateWorkloadResponse#workload_id #workload_id} => String
2136
+ # * {Types::UpdateWorkloadResponse#workload_configuration #workload_configuration} => Types::WorkloadConfiguration
2137
+ #
2138
+ # @example Request syntax with placeholder values
2139
+ #
2140
+ # resp = client.update_workload({
2141
+ # resource_group_name: "ResourceGroupName", # required
2142
+ # component_name: "ComponentName", # required
2143
+ # workload_id: "WorkloadId",
2144
+ # workload_configuration: { # required
2145
+ # workload_name: "WorkloadName",
2146
+ # tier: "CUSTOM", # accepts CUSTOM, DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB_TIER, DOT_NET_WEB, SQL_SERVER, SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP, MYSQL, POSTGRESQL, JAVA_JMX, ORACLE, SAP_HANA_MULTI_NODE, SAP_HANA_SINGLE_NODE, SAP_HANA_HIGH_AVAILABILITY, SAP_ASE_SINGLE_NODE, SAP_ASE_HIGH_AVAILABILITY, SQL_SERVER_FAILOVER_CLUSTER_INSTANCE, SHAREPOINT, ACTIVE_DIRECTORY, SAP_NETWEAVER_STANDARD, SAP_NETWEAVER_DISTRIBUTED, SAP_NETWEAVER_HIGH_AVAILABILITY
2147
+ # configuration: "ComponentConfiguration",
2148
+ # },
2149
+ # })
2150
+ #
2151
+ # @example Response structure
2152
+ #
2153
+ # resp.workload_id #=> String
2154
+ # resp.workload_configuration.workload_name #=> String
2155
+ # resp.workload_configuration.tier #=> String, one of "CUSTOM", "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB_TIER", "DOT_NET_WEB", "SQL_SERVER", "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP", "MYSQL", "POSTGRESQL", "JAVA_JMX", "ORACLE", "SAP_HANA_MULTI_NODE", "SAP_HANA_SINGLE_NODE", "SAP_HANA_HIGH_AVAILABILITY", "SAP_ASE_SINGLE_NODE", "SAP_ASE_HIGH_AVAILABILITY", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
2156
+ # resp.workload_configuration.configuration #=> String
2157
+ #
2158
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateWorkload AWS API Documentation
2159
+ #
2160
+ # @overload update_workload(params = {})
2161
+ # @param [Hash] params ({})
2162
+ def update_workload(params = {}, options = {})
2163
+ req = build_request(:update_workload, params)
2164
+ req.send_request(options)
2165
+ end
2166
+
1665
2167
  # @!endgroup
1666
2168
 
1667
2169
  # @param params ({})
1668
2170
  # @api private
1669
2171
  def build_request(operation_name, params = {})
1670
2172
  handlers = @handlers.for(operation_name)
2173
+ tracer = config.telemetry_provider.tracer_provider.tracer(
2174
+ Aws::Telemetry.module_to_tracer_name('Aws::ApplicationInsights')
2175
+ )
1671
2176
  context = Seahorse::Client::RequestContext.new(
1672
2177
  operation_name: operation_name,
1673
2178
  operation: config.api.operation(operation_name),
1674
2179
  client: self,
1675
2180
  params: params,
1676
- config: config)
2181
+ config: config,
2182
+ tracer: tracer
2183
+ )
1677
2184
  context[:gem_name] = 'aws-sdk-applicationinsights'
1678
- context[:gem_version] = '1.31.0'
2185
+ context[:gem_version] = '1.82.0'
1679
2186
  Seahorse::Client::Request.new(handlers, context)
1680
2187
  end
1681
2188