aws-sdk-applicationinsights 1.31.0 → 1.51.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.
@@ -22,15 +22,17 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
29
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
30
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
31
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
+ require 'aws-sdk-core/plugins/request_compression.rb'
31
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
35
+ require 'aws-sdk-core/plugins/sign.rb'
34
36
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
37
 
36
38
  Aws::Plugins::GlobalConfiguration.add_identifier(:applicationinsights)
@@ -71,19 +73,27 @@ module Aws::ApplicationInsights
71
73
  add_plugin(Aws::Plugins::ResponsePaging)
72
74
  add_plugin(Aws::Plugins::StubResponses)
73
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
74
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
75
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
76
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
77
80
  add_plugin(Aws::Plugins::TransferEncoding)
78
81
  add_plugin(Aws::Plugins::HttpChecksum)
79
82
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
83
+ add_plugin(Aws::Plugins::RequestCompression)
80
84
  add_plugin(Aws::Plugins::DefaultsMode)
81
85
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
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
98
  # Your AWS credentials. This can be an instance of any one of the
89
99
  # following classes:
@@ -189,10 +199,20 @@ module Aws::ApplicationInsights
189
199
  # Set to true to disable SDK automatically adding host prefix
190
200
  # to default service endpoint when available.
191
201
  #
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.
202
+ # @option options [Boolean] :disable_request_compression (false)
203
+ # When set to 'true' the request body will not be compressed
204
+ # for supported operations.
205
+ #
206
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
207
+ # Normally you should not configure the `:endpoint` option
208
+ # directly. This is normally constructed from the `:region`
209
+ # option. Configuring `:endpoint` is normally reserved for
210
+ # connecting to test or custom endpoints. The endpoint should
211
+ # be a URI formatted like:
212
+ #
213
+ # 'http://example.com'
214
+ # 'https://example.com'
215
+ # 'http://example.com:123'
196
216
  #
197
217
  # @option options [Integer] :endpoint_cache_max_entries (1000)
198
218
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -209,6 +229,10 @@ module Aws::ApplicationInsights
209
229
  # @option options [Boolean] :endpoint_discovery (false)
210
230
  # When set to `true`, endpoint discovery will be enabled for operations when available.
211
231
  #
232
+ # @option options [Boolean] :ignore_configured_endpoint_urls
233
+ # Setting to true disables use of endpoint URLs provided via environment
234
+ # variables and the shared configuration file.
235
+ #
212
236
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
213
237
  # The log formatter.
214
238
  #
@@ -229,6 +253,11 @@ module Aws::ApplicationInsights
229
253
  # Used when loading credentials from the shared credentials file
230
254
  # at HOME/.aws/credentials. When not specified, 'default' is used.
231
255
  #
256
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
257
+ # The minimum size in bytes that triggers compression for request
258
+ # bodies. The value must be non-negative integer value between 0
259
+ # and 10485780 bytes inclusive.
260
+ #
232
261
  # @option options [Proc] :retry_backoff
233
262
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
234
263
  # This option is only used in the `legacy` retry mode.
@@ -273,20 +302,31 @@ module Aws::ApplicationInsights
273
302
  # throttling. This is a provisional mode that may change behavior
274
303
  # in the future.
275
304
  #
305
+ # @option options [String] :sdk_ua_app_id
306
+ # A unique and opaque application ID that is appended to the
307
+ # User-Agent header as app/sdk_ua_app_id. It should have a
308
+ # maximum length of 50. This variable is sourced from environment
309
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
276
310
  #
277
311
  # @option options [String] :secret_access_key
278
312
  #
279
313
  # @option options [String] :session_token
280
314
  #
315
+ # @option options [Array] :sigv4a_signing_region_set
316
+ # A list of regions that should be signed with SigV4a signing. When
317
+ # not passed, a default `:sigv4a_signing_region_set` is searched for
318
+ # in the following locations:
319
+ #
320
+ # * `Aws.config[:sigv4a_signing_region_set]`
321
+ # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
322
+ # * `~/.aws/config`
323
+ #
281
324
  # @option options [Boolean] :simple_json (false)
282
325
  # 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.
326
+ # Also disables response data type conversions. The request parameters
327
+ # hash must be formatted exactly as the API expects.This option is useful
328
+ # when you want to ensure the highest level of performance by avoiding
329
+ # overhead of walking request parameters and response data structures.
290
330
  #
291
331
  # @option options [Boolean] :stub_responses (false)
292
332
  # Causes the client to return stubbed responses. By default
@@ -297,6 +337,19 @@ module Aws::ApplicationInsights
297
337
  # ** Please note ** When response stubbing is enabled, no HTTP
298
338
  # requests are made, and retries are disabled.
299
339
  #
340
+ # @option options [Aws::TokenProvider] :token_provider
341
+ # A Bearer Token Provider. This can be an instance of any one of the
342
+ # following classes:
343
+ #
344
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
345
+ # tokens.
346
+ #
347
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
348
+ # access token generated from `aws login`.
349
+ #
350
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
351
+ # will be used to search for tokens configured for your profile in shared configuration files.
352
+ #
300
353
  # @option options [Boolean] :use_dualstack_endpoint
301
354
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
355
  # will be used if available.
@@ -310,50 +363,68 @@ module Aws::ApplicationInsights
310
363
  # When `true`, request parameters are validated before
311
364
  # sending the request.
312
365
  #
313
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
- # requests through. Formatted like 'http://proxy.com:123'.
366
+ # @option options [Aws::ApplicationInsights::EndpointProvider] :endpoint_provider
367
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ApplicationInsights::EndpointParameters`
315
368
  #
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`.
369
+ # @option options [Float] :http_continue_timeout (1)
370
+ # The number of seconds to wait for a 100-continue response before sending the
371
+ # request body. This option has no effect unless the request has "Expect"
372
+ # header set to "100-continue". Defaults to `nil` which disables this
373
+ # behaviour. This value can safely be set per request on the session.
319
374
  #
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.
375
+ # @option options [Float] :http_idle_timeout (5)
376
+ # The number of seconds a connection is allowed to sit idle before it
377
+ # is considered stale. Stale connections are closed and removed from the
378
+ # pool before making a request.
323
379
  #
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.
380
+ # @option options [Float] :http_open_timeout (15)
381
+ # The default number of seconds to wait for response data.
382
+ # This value can safely be set per-request on the session.
328
383
  #
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.
384
+ # @option options [URI::HTTP,String] :http_proxy
385
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
335
386
  #
336
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
337
- # in seconds.
387
+ # @option options [Float] :http_read_timeout (60)
388
+ # The default number of seconds to wait for response data.
389
+ # This value can safely be set per-request on the session.
338
390
  #
339
- # @option options [Boolean] :http_wire_trace (false) When `true`,
340
- # HTTP debug output will be sent to the `:logger`.
391
+ # @option options [Boolean] :http_wire_trace (false)
392
+ # When `true`, HTTP debug output will be sent to the `:logger`.
341
393
  #
342
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
343
- # SSL peer certificates are verified when establishing a
344
- # connection.
394
+ # @option options [Proc] :on_chunk_received
395
+ # When a Proc object is provided, it will be used as callback when each chunk
396
+ # of the response body is received. It provides three arguments: the chunk,
397
+ # the number of bytes received, and the total number of
398
+ # bytes in the response (or nil if the server did not send a `content-length`).
345
399
  #
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.
400
+ # @option options [Proc] :on_chunk_sent
401
+ # When a Proc object is provided, it will be used as callback when each chunk
402
+ # of the request body is sent. It provides three arguments: the chunk,
403
+ # the number of bytes read from the body, and the total number of
404
+ # bytes in the body.
405
+ #
406
+ # @option options [Boolean] :raise_response_errors (true)
407
+ # When `true`, response errors are raised.
351
408
  #
352
- # @option options [String] :ssl_ca_directory Full path of the
353
- # directory that contains the unbundled SSL certificate
409
+ # @option options [String] :ssl_ca_bundle
410
+ # Full path to the SSL certificate authority bundle file that should be used when
411
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
412
+ # `:ssl_ca_directory` the the system default will be used if available.
413
+ #
414
+ # @option options [String] :ssl_ca_directory
415
+ # Full path of the directory that contains the unbundled SSL certificate
354
416
  # 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.
417
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
418
+ # default will be used if available.
419
+ #
420
+ # @option options [String] :ssl_ca_store
421
+ # Sets the X509::Store to verify peer certificate.
422
+ #
423
+ # @option options [Float] :ssl_timeout
424
+ # Sets the SSL timeout in seconds
425
+ #
426
+ # @option options [Boolean] :ssl_verify_peer (true)
427
+ # When `true`, SSL peer certificates are verified when establishing a connection.
357
428
  #
358
429
  def initialize(*args)
359
430
  super
@@ -361,6 +432,52 @@ module Aws::ApplicationInsights
361
432
 
362
433
  # @!group API Operations
363
434
 
435
+ # Adds a workload to a component. Each component can have at most five
436
+ # workloads.
437
+ #
438
+ # @option params [required, String] :resource_group_name
439
+ # The name of the resource group.
440
+ #
441
+ # @option params [required, String] :component_name
442
+ # The name of the component.
443
+ #
444
+ # @option params [required, Types::WorkloadConfiguration] :workload_configuration
445
+ # The configuration settings of the workload. The value is the escaped
446
+ # JSON of the configuration.
447
+ #
448
+ # @return [Types::AddWorkloadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
449
+ #
450
+ # * {Types::AddWorkloadResponse#workload_id #workload_id} => String
451
+ # * {Types::AddWorkloadResponse#workload_configuration #workload_configuration} => Types::WorkloadConfiguration
452
+ #
453
+ # @example Request syntax with placeholder values
454
+ #
455
+ # resp = client.add_workload({
456
+ # resource_group_name: "ResourceGroupName", # required
457
+ # component_name: "ComponentName", # required
458
+ # workload_configuration: { # required
459
+ # workload_name: "WorkloadName",
460
+ # 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, SAP_NETWEAVER_STANDARD, SAP_NETWEAVER_DISTRIBUTED, SAP_NETWEAVER_HIGH_AVAILABILITY
461
+ # configuration: "ComponentConfiguration",
462
+ # },
463
+ # })
464
+ #
465
+ # @example Response structure
466
+ #
467
+ # resp.workload_id #=> String
468
+ # resp.workload_configuration.workload_name #=> String
469
+ # 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", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
470
+ # resp.workload_configuration.configuration #=> String
471
+ #
472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/AddWorkload AWS API Documentation
473
+ #
474
+ # @overload add_workload(params = {})
475
+ # @param [Hash] params ({})
476
+ def add_workload(params = {}, options = {})
477
+ req = build_request(:add_workload, params)
478
+ req.send_request(options)
479
+ end
480
+
364
481
  # Adds an application that is created from a resource group.
365
482
  #
366
483
  # @option params [String] :resource_group_name
@@ -398,6 +515,10 @@ module Aws::ApplicationInsights
398
515
  # or on an account. To create an account-based application using all of
399
516
  # the resources in the account, set this parameter to `ACCOUNT_BASED`.
400
517
  #
518
+ # @option params [Boolean] :attach_missing_permission
519
+ # If set to true, the managed policies for SSM and CW will be attached
520
+ # to the instance roles if they are missing.
521
+ #
401
522
  # @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
402
523
  #
403
524
  # * {Types::CreateApplicationResponse#application_info #application_info} => Types::ApplicationInfo
@@ -418,10 +539,12 @@ module Aws::ApplicationInsights
418
539
  # auto_config_enabled: false,
419
540
  # auto_create: false,
420
541
  # grouping_type: "ACCOUNT_BASED", # accepts ACCOUNT_BASED
542
+ # attach_missing_permission: false,
421
543
  # })
422
544
  #
423
545
  # @example Response structure
424
546
  #
547
+ # resp.application_info.account_id #=> String
425
548
  # resp.application_info.resource_group_name #=> String
426
549
  # resp.application_info.life_cycle #=> String
427
550
  # resp.application_info.ops_item_sns_topic_arn #=> String
@@ -430,6 +553,7 @@ module Aws::ApplicationInsights
430
553
  # resp.application_info.remarks #=> String
431
554
  # resp.application_info.auto_config_enabled #=> Boolean
432
555
  # resp.application_info.discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
556
+ # resp.application_info.attach_missing_permission #=> Boolean
433
557
  #
434
558
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication AWS API Documentation
435
559
  #
@@ -617,6 +741,9 @@ module Aws::ApplicationInsights
617
741
  # @option params [required, String] :resource_group_name
618
742
  # The name of the resource group.
619
743
  #
744
+ # @option params [String] :account_id
745
+ # The AWS account ID for the resource group owner.
746
+ #
620
747
  # @return [Types::DescribeApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
621
748
  #
622
749
  # * {Types::DescribeApplicationResponse#application_info #application_info} => Types::ApplicationInfo
@@ -625,10 +752,12 @@ module Aws::ApplicationInsights
625
752
  #
626
753
  # resp = client.describe_application({
627
754
  # resource_group_name: "ResourceGroupName", # required
755
+ # account_id: "AccountId",
628
756
  # })
629
757
  #
630
758
  # @example Response structure
631
759
  #
760
+ # resp.application_info.account_id #=> String
632
761
  # resp.application_info.resource_group_name #=> String
633
762
  # resp.application_info.life_cycle #=> String
634
763
  # resp.application_info.ops_item_sns_topic_arn #=> String
@@ -637,6 +766,7 @@ module Aws::ApplicationInsights
637
766
  # resp.application_info.remarks #=> String
638
767
  # resp.application_info.auto_config_enabled #=> Boolean
639
768
  # resp.application_info.discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
769
+ # resp.application_info.attach_missing_permission #=> Boolean
640
770
  #
641
771
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication AWS API Documentation
642
772
  #
@@ -656,6 +786,9 @@ module Aws::ApplicationInsights
656
786
  # @option params [required, String] :component_name
657
787
  # The name of the component.
658
788
  #
789
+ # @option params [String] :account_id
790
+ # The AWS account ID for the resource group owner.
791
+ #
659
792
  # @return [Types::DescribeComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
660
793
  #
661
794
  # * {Types::DescribeComponentResponse#application_component #application_component} => Types::ApplicationComponent
@@ -666,6 +799,7 @@ module Aws::ApplicationInsights
666
799
  # resp = client.describe_component({
667
800
  # resource_group_name: "ResourceGroupName", # required
668
801
  # component_name: "ComponentName", # required
802
+ # account_id: "AccountId",
669
803
  # })
670
804
  #
671
805
  # @example Response structure
@@ -674,7 +808,7 @@ module Aws::ApplicationInsights
674
808
  # resp.application_component.component_remarks #=> String
675
809
  # resp.application_component.resource_type #=> String
676
810
  # 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"
811
+ # 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", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
678
812
  # resp.application_component.monitor #=> Boolean
679
813
  # resp.application_component.detected_workload #=> Hash
680
814
  # resp.application_component.detected_workload["Tier"] #=> Hash
@@ -699,6 +833,9 @@ module Aws::ApplicationInsights
699
833
  # @option params [required, String] :component_name
700
834
  # The name of the component.
701
835
  #
836
+ # @option params [String] :account_id
837
+ # The AWS account ID for the resource group owner.
838
+ #
702
839
  # @return [Types::DescribeComponentConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
703
840
  #
704
841
  # * {Types::DescribeComponentConfigurationResponse#monitor #monitor} => Boolean
@@ -710,12 +847,13 @@ module Aws::ApplicationInsights
710
847
  # resp = client.describe_component_configuration({
711
848
  # resource_group_name: "ResourceGroupName", # required
712
849
  # component_name: "ComponentName", # required
850
+ # account_id: "AccountId",
713
851
  # })
714
852
  #
715
853
  # @example Response structure
716
854
  #
717
855
  # 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"
856
+ # 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", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
719
857
  # resp.component_configuration #=> String
720
858
  #
721
859
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfiguration AWS API Documentation
@@ -738,6 +876,12 @@ module Aws::ApplicationInsights
738
876
  # @option params [required, String] :tier
739
877
  # The tier of the application component.
740
878
  #
879
+ # @option params [String] :workload_name
880
+ # The name of the workload.
881
+ #
882
+ # @option params [String] :recommendation_type
883
+ # The recommended configuration type.
884
+ #
741
885
  # @return [Types::DescribeComponentConfigurationRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
742
886
  #
743
887
  # * {Types::DescribeComponentConfigurationRecommendationResponse#component_configuration #component_configuration} => String
@@ -747,7 +891,9 @@ module Aws::ApplicationInsights
747
891
  # resp = client.describe_component_configuration_recommendation({
748
892
  # resource_group_name: "ResourceGroupName", # required
749
893
  # 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
894
+ # 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, SAP_NETWEAVER_STANDARD, SAP_NETWEAVER_DISTRIBUTED, SAP_NETWEAVER_HIGH_AVAILABILITY
895
+ # workload_name: "WorkloadName",
896
+ # recommendation_type: "INFRA_ONLY", # accepts INFRA_ONLY, WORKLOAD_ONLY, ALL
751
897
  # })
752
898
  #
753
899
  # @example Response structure
@@ -774,9 +920,13 @@ module Aws::ApplicationInsights
774
920
  # @option params [required, String] :pattern_name
775
921
  # The name of the log pattern.
776
922
  #
923
+ # @option params [String] :account_id
924
+ # The AWS account ID for the resource group owner.
925
+ #
777
926
  # @return [Types::DescribeLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
778
927
  #
779
928
  # * {Types::DescribeLogPatternResponse#resource_group_name #resource_group_name} => String
929
+ # * {Types::DescribeLogPatternResponse#account_id #account_id} => String
780
930
  # * {Types::DescribeLogPatternResponse#log_pattern #log_pattern} => Types::LogPattern
781
931
  #
782
932
  # @example Request syntax with placeholder values
@@ -785,11 +935,13 @@ module Aws::ApplicationInsights
785
935
  # resource_group_name: "ResourceGroupName", # required
786
936
  # pattern_set_name: "LogPatternSetName", # required
787
937
  # pattern_name: "LogPatternName", # required
938
+ # account_id: "AccountId",
788
939
  # })
789
940
  #
790
941
  # @example Response structure
791
942
  #
792
943
  # resp.resource_group_name #=> String
944
+ # resp.account_id #=> String
793
945
  # resp.log_pattern.pattern_set_name #=> String
794
946
  # resp.log_pattern.pattern_name #=> String
795
947
  # resp.log_pattern.pattern #=> String
@@ -809,6 +961,9 @@ module Aws::ApplicationInsights
809
961
  # @option params [required, String] :observation_id
810
962
  # The ID of the observation.
811
963
  #
964
+ # @option params [String] :account_id
965
+ # The AWS account ID for the resource group owner.
966
+ #
812
967
  # @return [Types::DescribeObservationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
813
968
  #
814
969
  # * {Types::DescribeObservationResponse#observation #observation} => Types::Observation
@@ -817,6 +972,7 @@ module Aws::ApplicationInsights
817
972
  #
818
973
  # resp = client.describe_observation({
819
974
  # observation_id: "ObservationId", # required
975
+ # account_id: "AccountId",
820
976
  # })
821
977
  #
822
978
  # @example Response structure
@@ -881,6 +1037,10 @@ module Aws::ApplicationInsights
881
1037
  # @option params [required, String] :problem_id
882
1038
  # The ID of the problem.
883
1039
  #
1040
+ # @option params [String] :account_id
1041
+ # The AWS account ID for the owner of the resource group affected by the
1042
+ # problem.
1043
+ #
884
1044
  # @return [Types::DescribeProblemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
885
1045
  #
886
1046
  # * {Types::DescribeProblemResponse#problem #problem} => Types::Problem
@@ -889,6 +1049,7 @@ module Aws::ApplicationInsights
889
1049
  #
890
1050
  # resp = client.describe_problem({
891
1051
  # problem_id: "ProblemId", # required
1052
+ # account_id: "AccountId",
892
1053
  # })
893
1054
  #
894
1055
  # @example Response structure
@@ -896,16 +1057,19 @@ module Aws::ApplicationInsights
896
1057
  # resp.problem.id #=> String
897
1058
  # resp.problem.title #=> String
898
1059
  # resp.problem.insights #=> String
899
- # resp.problem.status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING"
1060
+ # resp.problem.status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING", "RECOVERING"
900
1061
  # resp.problem.affected_resource #=> String
901
1062
  # resp.problem.start_time #=> Time
902
1063
  # resp.problem.end_time #=> Time
903
1064
  # resp.problem.severity_level #=> String, one of "Informative", "Low", "Medium", "High"
1065
+ # resp.problem.account_id #=> String
904
1066
  # resp.problem.resource_group_name #=> String
905
1067
  # resp.problem.feedback #=> Hash
906
1068
  # resp.problem.feedback["FeedbackKey"] #=> String, one of "NOT_SPECIFIED", "USEFUL", "NOT_USEFUL"
907
1069
  # resp.problem.recurring_count #=> Integer
908
1070
  # resp.problem.last_recurrence_time #=> Time
1071
+ # resp.problem.visibility #=> String, one of "IGNORED", "VISIBLE"
1072
+ # resp.problem.resolution_method #=> String, one of "MANUAL", "AUTOMATIC", "UNRESOLVED"
909
1073
  #
910
1074
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblem AWS API Documentation
911
1075
  #
@@ -921,6 +1085,9 @@ module Aws::ApplicationInsights
921
1085
  # @option params [required, String] :problem_id
922
1086
  # The ID of the problem.
923
1087
  #
1088
+ # @option params [String] :account_id
1089
+ # The AWS account ID for the resource group owner.
1090
+ #
924
1091
  # @return [Types::DescribeProblemObservationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
925
1092
  #
926
1093
  # * {Types::DescribeProblemObservationsResponse#related_observations #related_observations} => Types::RelatedObservations
@@ -929,6 +1096,7 @@ module Aws::ApplicationInsights
929
1096
  #
930
1097
  # resp = client.describe_problem_observations({
931
1098
  # problem_id: "ProblemId", # required
1099
+ # account_id: "AccountId",
932
1100
  # })
933
1101
  #
934
1102
  # @example Response structure
@@ -989,6 +1157,52 @@ module Aws::ApplicationInsights
989
1157
  req.send_request(options)
990
1158
  end
991
1159
 
1160
+ # Describes a workload and its configuration.
1161
+ #
1162
+ # @option params [required, String] :resource_group_name
1163
+ # The name of the resource group.
1164
+ #
1165
+ # @option params [required, String] :component_name
1166
+ # The name of the component.
1167
+ #
1168
+ # @option params [required, String] :workload_id
1169
+ # The ID of the workload.
1170
+ #
1171
+ # @option params [String] :account_id
1172
+ # The AWS account ID for the workload owner.
1173
+ #
1174
+ # @return [Types::DescribeWorkloadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1175
+ #
1176
+ # * {Types::DescribeWorkloadResponse#workload_id #workload_id} => String
1177
+ # * {Types::DescribeWorkloadResponse#workload_remarks #workload_remarks} => String
1178
+ # * {Types::DescribeWorkloadResponse#workload_configuration #workload_configuration} => Types::WorkloadConfiguration
1179
+ #
1180
+ # @example Request syntax with placeholder values
1181
+ #
1182
+ # resp = client.describe_workload({
1183
+ # resource_group_name: "ResourceGroupName", # required
1184
+ # component_name: "ComponentName", # required
1185
+ # workload_id: "WorkloadId", # required
1186
+ # account_id: "AccountId",
1187
+ # })
1188
+ #
1189
+ # @example Response structure
1190
+ #
1191
+ # resp.workload_id #=> String
1192
+ # resp.workload_remarks #=> String
1193
+ # resp.workload_configuration.workload_name #=> String
1194
+ # 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", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
1195
+ # resp.workload_configuration.configuration #=> String
1196
+ #
1197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeWorkload AWS API Documentation
1198
+ #
1199
+ # @overload describe_workload(params = {})
1200
+ # @param [Hash] params ({})
1201
+ def describe_workload(params = {}, options = {})
1202
+ req = build_request(:describe_workload, params)
1203
+ req.send_request(options)
1204
+ end
1205
+
992
1206
  # Lists the IDs of the applications that you are monitoring.
993
1207
  #
994
1208
  # @option params [Integer] :max_results
@@ -999,6 +1213,9 @@ module Aws::ApplicationInsights
999
1213
  # @option params [String] :next_token
1000
1214
  # The token to request the next page of results.
1001
1215
  #
1216
+ # @option params [String] :account_id
1217
+ # The AWS account ID for the resource group owner.
1218
+ #
1002
1219
  # @return [Types::ListApplicationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1003
1220
  #
1004
1221
  # * {Types::ListApplicationsResponse#application_info_list #application_info_list} => Array&lt;Types::ApplicationInfo&gt;
@@ -1011,11 +1228,13 @@ module Aws::ApplicationInsights
1011
1228
  # resp = client.list_applications({
1012
1229
  # max_results: 1,
1013
1230
  # next_token: "PaginationToken",
1231
+ # account_id: "AccountId",
1014
1232
  # })
1015
1233
  #
1016
1234
  # @example Response structure
1017
1235
  #
1018
1236
  # resp.application_info_list #=> Array
1237
+ # resp.application_info_list[0].account_id #=> String
1019
1238
  # resp.application_info_list[0].resource_group_name #=> String
1020
1239
  # resp.application_info_list[0].life_cycle #=> String
1021
1240
  # resp.application_info_list[0].ops_item_sns_topic_arn #=> String
@@ -1024,6 +1243,7 @@ module Aws::ApplicationInsights
1024
1243
  # resp.application_info_list[0].remarks #=> String
1025
1244
  # resp.application_info_list[0].auto_config_enabled #=> Boolean
1026
1245
  # resp.application_info_list[0].discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
1246
+ # resp.application_info_list[0].attach_missing_permission #=> Boolean
1027
1247
  # resp.next_token #=> String
1028
1248
  #
1029
1249
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplications AWS API Documentation
@@ -1049,6 +1269,9 @@ module Aws::ApplicationInsights
1049
1269
  # @option params [String] :next_token
1050
1270
  # The token to request the next page of results.
1051
1271
  #
1272
+ # @option params [String] :account_id
1273
+ # The AWS account ID for the resource group owner.
1274
+ #
1052
1275
  # @return [Types::ListComponentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1053
1276
  #
1054
1277
  # * {Types::ListComponentsResponse#application_component_list #application_component_list} => Array&lt;Types::ApplicationComponent&gt;
@@ -1062,6 +1285,7 @@ module Aws::ApplicationInsights
1062
1285
  # resource_group_name: "ResourceGroupName", # required
1063
1286
  # max_results: 1,
1064
1287
  # next_token: "PaginationToken",
1288
+ # account_id: "AccountId",
1065
1289
  # })
1066
1290
  #
1067
1291
  # @example Response structure
@@ -1071,7 +1295,7 @@ module Aws::ApplicationInsights
1071
1295
  # resp.application_component_list[0].component_remarks #=> String
1072
1296
  # resp.application_component_list[0].resource_type #=> String
1073
1297
  # 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"
1298
+ # 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", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
1075
1299
  # resp.application_component_list[0].monitor #=> Boolean
1076
1300
  # resp.application_component_list[0].detected_workload #=> Hash
1077
1301
  # resp.application_component_list[0].detected_workload["Tier"] #=> Hash
@@ -1129,6 +1353,9 @@ module Aws::ApplicationInsights
1129
1353
  # from the end of the previous results that returned the `NextToken`
1130
1354
  # value. This value is `null` when there are no more results to return.
1131
1355
  #
1356
+ # @option params [String] :account_id
1357
+ # The AWS account ID for the resource group owner.
1358
+ #
1132
1359
  # @return [Types::ListConfigurationHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1133
1360
  #
1134
1361
  # * {Types::ListConfigurationHistoryResponse#event_list #event_list} => Array&lt;Types::ConfigurationEvent&gt;
@@ -1145,11 +1372,14 @@ module Aws::ApplicationInsights
1145
1372
  # event_status: "INFO", # accepts INFO, WARN, ERROR
1146
1373
  # max_results: 1,
1147
1374
  # next_token: "PaginationToken",
1375
+ # account_id: "AccountId",
1148
1376
  # })
1149
1377
  #
1150
1378
  # @example Response structure
1151
1379
  #
1152
1380
  # resp.event_list #=> Array
1381
+ # resp.event_list[0].resource_group_name #=> String
1382
+ # resp.event_list[0].account_id #=> String
1153
1383
  # resp.event_list[0].monitored_resource_arn #=> String
1154
1384
  # resp.event_list[0].event_status #=> String, one of "INFO", "WARN", "ERROR"
1155
1385
  # resp.event_list[0].event_resource_type #=> String, one of "CLOUDWATCH_ALARM", "CLOUDWATCH_LOG", "CLOUDFORMATION", "SSM_ASSOCIATION"
@@ -1180,9 +1410,13 @@ module Aws::ApplicationInsights
1180
1410
  # @option params [String] :next_token
1181
1411
  # The token to request the next page of results.
1182
1412
  #
1413
+ # @option params [String] :account_id
1414
+ # The AWS account ID for the resource group owner.
1415
+ #
1183
1416
  # @return [Types::ListLogPatternSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1184
1417
  #
1185
1418
  # * {Types::ListLogPatternSetsResponse#resource_group_name #resource_group_name} => String
1419
+ # * {Types::ListLogPatternSetsResponse#account_id #account_id} => String
1186
1420
  # * {Types::ListLogPatternSetsResponse#log_pattern_sets #log_pattern_sets} => Array&lt;String&gt;
1187
1421
  # * {Types::ListLogPatternSetsResponse#next_token #next_token} => String
1188
1422
  #
@@ -1194,11 +1428,13 @@ module Aws::ApplicationInsights
1194
1428
  # resource_group_name: "ResourceGroupName", # required
1195
1429
  # max_results: 1,
1196
1430
  # next_token: "PaginationToken",
1431
+ # account_id: "AccountId",
1197
1432
  # })
1198
1433
  #
1199
1434
  # @example Response structure
1200
1435
  #
1201
1436
  # resp.resource_group_name #=> String
1437
+ # resp.account_id #=> String
1202
1438
  # resp.log_pattern_sets #=> Array
1203
1439
  # resp.log_pattern_sets[0] #=> String
1204
1440
  # resp.next_token #=> String
@@ -1228,9 +1464,13 @@ module Aws::ApplicationInsights
1228
1464
  # @option params [String] :next_token
1229
1465
  # The token to request the next page of results.
1230
1466
  #
1467
+ # @option params [String] :account_id
1468
+ # The AWS account ID for the resource group owner.
1469
+ #
1231
1470
  # @return [Types::ListLogPatternsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1232
1471
  #
1233
1472
  # * {Types::ListLogPatternsResponse#resource_group_name #resource_group_name} => String
1473
+ # * {Types::ListLogPatternsResponse#account_id #account_id} => String
1234
1474
  # * {Types::ListLogPatternsResponse#log_patterns #log_patterns} => Array&lt;Types::LogPattern&gt;
1235
1475
  # * {Types::ListLogPatternsResponse#next_token #next_token} => String
1236
1476
  #
@@ -1243,11 +1483,13 @@ module Aws::ApplicationInsights
1243
1483
  # pattern_set_name: "LogPatternSetName",
1244
1484
  # max_results: 1,
1245
1485
  # next_token: "PaginationToken",
1486
+ # account_id: "AccountId",
1246
1487
  # })
1247
1488
  #
1248
1489
  # @example Response structure
1249
1490
  #
1250
1491
  # resp.resource_group_name #=> String
1492
+ # resp.account_id #=> String
1251
1493
  # resp.log_patterns #=> Array
1252
1494
  # resp.log_patterns[0].pattern_set_name #=> String
1253
1495
  # resp.log_patterns[0].pattern_name #=> String
@@ -1266,6 +1508,9 @@ module Aws::ApplicationInsights
1266
1508
 
1267
1509
  # Lists the problems with your application.
1268
1510
  #
1511
+ # @option params [String] :account_id
1512
+ # The AWS account ID for the resource group owner.
1513
+ #
1269
1514
  # @option params [String] :resource_group_name
1270
1515
  # The name of the resource group.
1271
1516
  #
@@ -1289,23 +1534,30 @@ module Aws::ApplicationInsights
1289
1534
  # @option params [String] :component_name
1290
1535
  # The name of the component.
1291
1536
  #
1537
+ # @option params [String] :visibility
1538
+ # Specifies whether or not you can view the problem. If not specified,
1539
+ # visible and ignored problems are returned.
1540
+ #
1292
1541
  # @return [Types::ListProblemsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1293
1542
  #
1294
1543
  # * {Types::ListProblemsResponse#problem_list #problem_list} => Array&lt;Types::Problem&gt;
1295
1544
  # * {Types::ListProblemsResponse#next_token #next_token} => String
1296
1545
  # * {Types::ListProblemsResponse#resource_group_name #resource_group_name} => String
1546
+ # * {Types::ListProblemsResponse#account_id #account_id} => String
1297
1547
  #
1298
1548
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1299
1549
  #
1300
1550
  # @example Request syntax with placeholder values
1301
1551
  #
1302
1552
  # resp = client.list_problems({
1553
+ # account_id: "AccountId",
1303
1554
  # resource_group_name: "ResourceGroupName",
1304
1555
  # start_time: Time.now,
1305
1556
  # end_time: Time.now,
1306
1557
  # max_results: 1,
1307
1558
  # next_token: "PaginationToken",
1308
1559
  # component_name: "ComponentName",
1560
+ # visibility: "IGNORED", # accepts IGNORED, VISIBLE
1309
1561
  # })
1310
1562
  #
1311
1563
  # @example Response structure
@@ -1314,18 +1566,22 @@ module Aws::ApplicationInsights
1314
1566
  # resp.problem_list[0].id #=> String
1315
1567
  # resp.problem_list[0].title #=> String
1316
1568
  # resp.problem_list[0].insights #=> String
1317
- # resp.problem_list[0].status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING"
1569
+ # resp.problem_list[0].status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING", "RECOVERING"
1318
1570
  # resp.problem_list[0].affected_resource #=> String
1319
1571
  # resp.problem_list[0].start_time #=> Time
1320
1572
  # resp.problem_list[0].end_time #=> Time
1321
1573
  # resp.problem_list[0].severity_level #=> String, one of "Informative", "Low", "Medium", "High"
1574
+ # resp.problem_list[0].account_id #=> String
1322
1575
  # resp.problem_list[0].resource_group_name #=> String
1323
1576
  # resp.problem_list[0].feedback #=> Hash
1324
1577
  # resp.problem_list[0].feedback["FeedbackKey"] #=> String, one of "NOT_SPECIFIED", "USEFUL", "NOT_USEFUL"
1325
1578
  # resp.problem_list[0].recurring_count #=> Integer
1326
1579
  # resp.problem_list[0].last_recurrence_time #=> Time
1580
+ # resp.problem_list[0].visibility #=> String, one of "IGNORED", "VISIBLE"
1581
+ # resp.problem_list[0].resolution_method #=> String, one of "MANUAL", "AUTOMATIC", "UNRESOLVED"
1327
1582
  # resp.next_token #=> String
1328
1583
  # resp.resource_group_name #=> String
1584
+ # resp.account_id #=> String
1329
1585
  #
1330
1586
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblems AWS API Documentation
1331
1587
  #
@@ -1372,6 +1628,91 @@ module Aws::ApplicationInsights
1372
1628
  req.send_request(options)
1373
1629
  end
1374
1630
 
1631
+ # Lists the workloads that are configured on a given component.
1632
+ #
1633
+ # @option params [required, String] :resource_group_name
1634
+ # The name of the resource group.
1635
+ #
1636
+ # @option params [required, String] :component_name
1637
+ # The name of the component.
1638
+ #
1639
+ # @option params [Integer] :max_results
1640
+ # The maximum number of results to return in a single call. To retrieve
1641
+ # the remaining results, make another call with the returned `NextToken`
1642
+ # value.
1643
+ #
1644
+ # @option params [String] :next_token
1645
+ # The token to request the next page of results.
1646
+ #
1647
+ # @option params [String] :account_id
1648
+ # The AWS account ID of the owner of the workload.
1649
+ #
1650
+ # @return [Types::ListWorkloadsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1651
+ #
1652
+ # * {Types::ListWorkloadsResponse#workload_list #workload_list} => Array&lt;Types::Workload&gt;
1653
+ # * {Types::ListWorkloadsResponse#next_token #next_token} => String
1654
+ #
1655
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1656
+ #
1657
+ # @example Request syntax with placeholder values
1658
+ #
1659
+ # resp = client.list_workloads({
1660
+ # resource_group_name: "ResourceGroupName", # required
1661
+ # component_name: "ComponentName", # required
1662
+ # max_results: 1,
1663
+ # next_token: "PaginationToken",
1664
+ # account_id: "AccountId",
1665
+ # })
1666
+ #
1667
+ # @example Response structure
1668
+ #
1669
+ # resp.workload_list #=> Array
1670
+ # resp.workload_list[0].workload_id #=> String
1671
+ # resp.workload_list[0].component_name #=> String
1672
+ # resp.workload_list[0].workload_name #=> String
1673
+ # 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", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
1674
+ # resp.workload_list[0].workload_remarks #=> String
1675
+ # resp.next_token #=> String
1676
+ #
1677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListWorkloads AWS API Documentation
1678
+ #
1679
+ # @overload list_workloads(params = {})
1680
+ # @param [Hash] params ({})
1681
+ def list_workloads(params = {}, options = {})
1682
+ req = build_request(:list_workloads, params)
1683
+ req.send_request(options)
1684
+ end
1685
+
1686
+ # Remove workload from a component.
1687
+ #
1688
+ # @option params [required, String] :resource_group_name
1689
+ # The name of the resource group.
1690
+ #
1691
+ # @option params [required, String] :component_name
1692
+ # The name of the component.
1693
+ #
1694
+ # @option params [required, String] :workload_id
1695
+ # The ID of the workload.
1696
+ #
1697
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1698
+ #
1699
+ # @example Request syntax with placeholder values
1700
+ #
1701
+ # resp = client.remove_workload({
1702
+ # resource_group_name: "ResourceGroupName", # required
1703
+ # component_name: "ComponentName", # required
1704
+ # workload_id: "WorkloadId", # required
1705
+ # })
1706
+ #
1707
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/RemoveWorkload AWS API Documentation
1708
+ #
1709
+ # @overload remove_workload(params = {})
1710
+ # @param [Hash] params ({})
1711
+ def remove_workload(params = {}, options = {})
1712
+ req = build_request(:remove_workload, params)
1713
+ req.send_request(options)
1714
+ end
1715
+
1375
1716
  # Add one or more tags (keys and values) to a specified application. A
1376
1717
  # *tag* is a label that you optionally define and associate with an
1377
1718
  # application. Tags can help you categorize and manage application in
@@ -1476,6 +1817,10 @@ module Aws::ApplicationInsights
1476
1817
  # @option params [Boolean] :auto_config_enabled
1477
1818
  # Turns auto-configuration on or off.
1478
1819
  #
1820
+ # @option params [Boolean] :attach_missing_permission
1821
+ # If set to true, the managed policies for SSM and CW will be attached
1822
+ # to the instance roles if they are missing.
1823
+ #
1479
1824
  # @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1480
1825
  #
1481
1826
  # * {Types::UpdateApplicationResponse#application_info #application_info} => Types::ApplicationInfo
@@ -1489,10 +1834,12 @@ module Aws::ApplicationInsights
1489
1834
  # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
1490
1835
  # remove_sns_topic: false,
1491
1836
  # auto_config_enabled: false,
1837
+ # attach_missing_permission: false,
1492
1838
  # })
1493
1839
  #
1494
1840
  # @example Response structure
1495
1841
  #
1842
+ # resp.application_info.account_id #=> String
1496
1843
  # resp.application_info.resource_group_name #=> String
1497
1844
  # resp.application_info.life_cycle #=> String
1498
1845
  # resp.application_info.ops_item_sns_topic_arn #=> String
@@ -1501,6 +1848,7 @@ module Aws::ApplicationInsights
1501
1848
  # resp.application_info.remarks #=> String
1502
1849
  # resp.application_info.auto_config_enabled #=> Boolean
1503
1850
  # resp.application_info.discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
1851
+ # resp.application_info.attach_missing_permission #=> Boolean
1504
1852
  #
1505
1853
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication AWS API Documentation
1506
1854
  #
@@ -1588,7 +1936,7 @@ module Aws::ApplicationInsights
1588
1936
  # resource_group_name: "ResourceGroupName", # required
1589
1937
  # component_name: "ComponentName", # required
1590
1938
  # 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
1939
+ # 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, SAP_NETWEAVER_STANDARD, SAP_NETWEAVER_DISTRIBUTED, SAP_NETWEAVER_HIGH_AVAILABILITY
1592
1940
  # component_configuration: "ComponentConfiguration",
1593
1941
  # auto_config_enabled: false,
1594
1942
  # })
@@ -1662,6 +2010,91 @@ module Aws::ApplicationInsights
1662
2010
  req.send_request(options)
1663
2011
  end
1664
2012
 
2013
+ # Updates the visibility of the problem or specifies the problem as
2014
+ # `RESOLVED`.
2015
+ #
2016
+ # @option params [required, String] :problem_id
2017
+ # The ID of the problem.
2018
+ #
2019
+ # @option params [String] :update_status
2020
+ # The status of the problem. Arguments can be passed for only problems
2021
+ # that show a status of `RECOVERING`.
2022
+ #
2023
+ # @option params [String] :visibility
2024
+ # The visibility of a problem. When you pass a value of `IGNORED`, the
2025
+ # problem is removed from the default view, and all notifications for
2026
+ # the problem are suspended. When `VISIBLE` is passed, the `IGNORED`
2027
+ # action is reversed.
2028
+ #
2029
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2030
+ #
2031
+ # @example Request syntax with placeholder values
2032
+ #
2033
+ # resp = client.update_problem({
2034
+ # problem_id: "ProblemId", # required
2035
+ # update_status: "RESOLVED", # accepts RESOLVED
2036
+ # visibility: "IGNORED", # accepts IGNORED, VISIBLE
2037
+ # })
2038
+ #
2039
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateProblem AWS API Documentation
2040
+ #
2041
+ # @overload update_problem(params = {})
2042
+ # @param [Hash] params ({})
2043
+ def update_problem(params = {}, options = {})
2044
+ req = build_request(:update_problem, params)
2045
+ req.send_request(options)
2046
+ end
2047
+
2048
+ # Adds a workload to a component. Each component can have at most five
2049
+ # workloads.
2050
+ #
2051
+ # @option params [required, String] :resource_group_name
2052
+ # The name of the resource group.
2053
+ #
2054
+ # @option params [required, String] :component_name
2055
+ # The name of the component.
2056
+ #
2057
+ # @option params [String] :workload_id
2058
+ # The ID of the workload.
2059
+ #
2060
+ # @option params [required, Types::WorkloadConfiguration] :workload_configuration
2061
+ # The configuration settings of the workload. The value is the escaped
2062
+ # JSON of the configuration.
2063
+ #
2064
+ # @return [Types::UpdateWorkloadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2065
+ #
2066
+ # * {Types::UpdateWorkloadResponse#workload_id #workload_id} => String
2067
+ # * {Types::UpdateWorkloadResponse#workload_configuration #workload_configuration} => Types::WorkloadConfiguration
2068
+ #
2069
+ # @example Request syntax with placeholder values
2070
+ #
2071
+ # resp = client.update_workload({
2072
+ # resource_group_name: "ResourceGroupName", # required
2073
+ # component_name: "ComponentName", # required
2074
+ # workload_id: "WorkloadId",
2075
+ # workload_configuration: { # required
2076
+ # workload_name: "WorkloadName",
2077
+ # 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, SAP_NETWEAVER_STANDARD, SAP_NETWEAVER_DISTRIBUTED, SAP_NETWEAVER_HIGH_AVAILABILITY
2078
+ # configuration: "ComponentConfiguration",
2079
+ # },
2080
+ # })
2081
+ #
2082
+ # @example Response structure
2083
+ #
2084
+ # resp.workload_id #=> String
2085
+ # resp.workload_configuration.workload_name #=> String
2086
+ # 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", "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE", "SHAREPOINT", "ACTIVE_DIRECTORY", "SAP_NETWEAVER_STANDARD", "SAP_NETWEAVER_DISTRIBUTED", "SAP_NETWEAVER_HIGH_AVAILABILITY"
2087
+ # resp.workload_configuration.configuration #=> String
2088
+ #
2089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateWorkload AWS API Documentation
2090
+ #
2091
+ # @overload update_workload(params = {})
2092
+ # @param [Hash] params ({})
2093
+ def update_workload(params = {}, options = {})
2094
+ req = build_request(:update_workload, params)
2095
+ req.send_request(options)
2096
+ end
2097
+
1665
2098
  # @!endgroup
1666
2099
 
1667
2100
  # @param params ({})
@@ -1675,7 +2108,7 @@ module Aws::ApplicationInsights
1675
2108
  params: params,
1676
2109
  config: config)
1677
2110
  context[:gem_name] = 'aws-sdk-applicationinsights'
1678
- context[:gem_version] = '1.31.0'
2111
+ context[:gem_version] = '1.51.0'
1679
2112
  Seahorse::Client::Request.new(handlers, context)
1680
2113
  end
1681
2114