aws-sdk-applicationinsights 1.26.0 → 1.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +78 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationinsights/client.rb +441 -19
- data/lib/aws-sdk-applicationinsights/client_api.rb +197 -0
- data/lib/aws-sdk-applicationinsights/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-applicationinsights/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-applicationinsights/endpoints.rb +478 -0
- data/lib/aws-sdk-applicationinsights/plugins/endpoints.rb +134 -0
- data/lib/aws-sdk-applicationinsights/types.rb +504 -289
- data/lib/aws-sdk-applicationinsights.rb +6 -2
- metadata +8 -4
@@ -27,7 +27,11 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
-
require 'aws-sdk-core/plugins/
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
32
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
33
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
34
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
31
35
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
36
|
|
33
37
|
Aws::Plugins::GlobalConfiguration.add_identifier(:applicationinsights)
|
@@ -73,8 +77,13 @@ module Aws::ApplicationInsights
|
|
73
77
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
76
|
-
add_plugin(Aws::Plugins::
|
80
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
82
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
83
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
84
|
+
add_plugin(Aws::Plugins::Sign)
|
77
85
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
86
|
+
add_plugin(Aws::ApplicationInsights::Plugins::Endpoints)
|
78
87
|
|
79
88
|
# @overload initialize(options)
|
80
89
|
# @param [Hash] options
|
@@ -175,10 +184,18 @@ module Aws::ApplicationInsights
|
|
175
184
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
176
185
|
# a clock skew correction and retry requests with skewed client clocks.
|
177
186
|
#
|
187
|
+
# @option options [String] :defaults_mode ("legacy")
|
188
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
189
|
+
# accepted modes and the configuration defaults that are included.
|
190
|
+
#
|
178
191
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
179
192
|
# Set to true to disable SDK automatically adding host prefix
|
180
193
|
# to default service endpoint when available.
|
181
194
|
#
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
196
|
+
# When set to 'true' the request body will not be compressed
|
197
|
+
# for supported operations.
|
198
|
+
#
|
182
199
|
# @option options [String] :endpoint
|
183
200
|
# The client endpoint is normally constructed from the `:region`
|
184
201
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -199,6 +216,10 @@ module Aws::ApplicationInsights
|
|
199
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
200
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
201
218
|
#
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
221
|
+
# variables and the shared configuration file.
|
222
|
+
#
|
202
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
203
224
|
# The log formatter.
|
204
225
|
#
|
@@ -219,6 +240,11 @@ module Aws::ApplicationInsights
|
|
219
240
|
# Used when loading credentials from the shared credentials file
|
220
241
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
221
242
|
#
|
243
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
244
|
+
# The minimum size in bytes that triggers compression for request
|
245
|
+
# bodies. The value must be non-negative integer value between 0
|
246
|
+
# and 10485780 bytes inclusive.
|
247
|
+
#
|
222
248
|
# @option options [Proc] :retry_backoff
|
223
249
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
224
250
|
# This option is only used in the `legacy` retry mode.
|
@@ -264,6 +290,11 @@ module Aws::ApplicationInsights
|
|
264
290
|
# in the future.
|
265
291
|
#
|
266
292
|
#
|
293
|
+
# @option options [String] :sdk_ua_app_id
|
294
|
+
# A unique and opaque application ID that is appended to the
|
295
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
296
|
+
# maximum length of 50.
|
297
|
+
#
|
267
298
|
# @option options [String] :secret_access_key
|
268
299
|
#
|
269
300
|
# @option options [String] :session_token
|
@@ -287,6 +318,19 @@ module Aws::ApplicationInsights
|
|
287
318
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
288
319
|
# requests are made, and retries are disabled.
|
289
320
|
#
|
321
|
+
# @option options [Aws::TokenProvider] :token_provider
|
322
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
323
|
+
# following classes:
|
324
|
+
#
|
325
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
326
|
+
# tokens.
|
327
|
+
#
|
328
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
329
|
+
# access token generated from `aws login`.
|
330
|
+
#
|
331
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
332
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
333
|
+
#
|
290
334
|
# @option options [Boolean] :use_dualstack_endpoint
|
291
335
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
336
|
# will be used if available.
|
@@ -300,6 +344,9 @@ module Aws::ApplicationInsights
|
|
300
344
|
# When `true`, request parameters are validated before
|
301
345
|
# sending the request.
|
302
346
|
#
|
347
|
+
# @option options [Aws::ApplicationInsights::EndpointProvider] :endpoint_provider
|
348
|
+
# 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`
|
349
|
+
#
|
303
350
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
304
351
|
# requests through. Formatted like 'http://proxy.com:123'.
|
305
352
|
#
|
@@ -307,7 +354,7 @@ module Aws::ApplicationInsights
|
|
307
354
|
# seconds to wait when opening a HTTP session before raising a
|
308
355
|
# `Timeout::Error`.
|
309
356
|
#
|
310
|
-
# @option options [
|
357
|
+
# @option options [Float] :http_read_timeout (60) The default
|
311
358
|
# number of seconds to wait for response data. This value can
|
312
359
|
# safely be set per-request on the session.
|
313
360
|
#
|
@@ -323,6 +370,9 @@ module Aws::ApplicationInsights
|
|
323
370
|
# disables this behaviour. This value can safely be set per
|
324
371
|
# request on the session.
|
325
372
|
#
|
373
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
374
|
+
# in seconds.
|
375
|
+
#
|
326
376
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
327
377
|
# HTTP debug output will be sent to the `:logger`.
|
328
378
|
#
|
@@ -348,6 +398,52 @@ module Aws::ApplicationInsights
|
|
348
398
|
|
349
399
|
# @!group API Operations
|
350
400
|
|
401
|
+
# Adds a workload to a component. Each component can have at most five
|
402
|
+
# workloads.
|
403
|
+
#
|
404
|
+
# @option params [required, String] :resource_group_name
|
405
|
+
# The name of the resource group.
|
406
|
+
#
|
407
|
+
# @option params [required, String] :component_name
|
408
|
+
# The name of the component.
|
409
|
+
#
|
410
|
+
# @option params [required, Types::WorkloadConfiguration] :workload_configuration
|
411
|
+
# The configuration settings of the workload. The value is the escaped
|
412
|
+
# JSON of the configuration.
|
413
|
+
#
|
414
|
+
# @return [Types::AddWorkloadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
415
|
+
#
|
416
|
+
# * {Types::AddWorkloadResponse#workload_id #workload_id} => String
|
417
|
+
# * {Types::AddWorkloadResponse#workload_configuration #workload_configuration} => Types::WorkloadConfiguration
|
418
|
+
#
|
419
|
+
# @example Request syntax with placeholder values
|
420
|
+
#
|
421
|
+
# resp = client.add_workload({
|
422
|
+
# resource_group_name: "ResourceGroupName", # required
|
423
|
+
# component_name: "ComponentName", # required
|
424
|
+
# workload_configuration: { # required
|
425
|
+
# workload_name: "WorkloadName",
|
426
|
+
# 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
|
427
|
+
# configuration: "ComponentConfiguration",
|
428
|
+
# },
|
429
|
+
# })
|
430
|
+
#
|
431
|
+
# @example Response structure
|
432
|
+
#
|
433
|
+
# resp.workload_id #=> String
|
434
|
+
# resp.workload_configuration.workload_name #=> String
|
435
|
+
# 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"
|
436
|
+
# resp.workload_configuration.configuration #=> String
|
437
|
+
#
|
438
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/AddWorkload AWS API Documentation
|
439
|
+
#
|
440
|
+
# @overload add_workload(params = {})
|
441
|
+
# @param [Hash] params ({})
|
442
|
+
def add_workload(params = {}, options = {})
|
443
|
+
req = build_request(:add_workload, params)
|
444
|
+
req.send_request(options)
|
445
|
+
end
|
446
|
+
|
351
447
|
# Adds an application that is created from a resource group.
|
352
448
|
#
|
353
449
|
# @option params [String] :resource_group_name
|
@@ -373,8 +469,21 @@ module Aws::ApplicationInsights
|
|
373
469
|
# characters. The maximum length of a tag value is 256 characters.
|
374
470
|
#
|
375
471
|
# @option params [Boolean] :auto_config_enabled
|
472
|
+
# Indicates whether Application Insights automatically configures
|
473
|
+
# unmonitored resources in the resource group.
|
376
474
|
#
|
377
475
|
# @option params [Boolean] :auto_create
|
476
|
+
# Configures all of the resources in the resource group by applying the
|
477
|
+
# recommended configurations.
|
478
|
+
#
|
479
|
+
# @option params [String] :grouping_type
|
480
|
+
# Application Insights can create applications based on a resource group
|
481
|
+
# or on an account. To create an account-based application using all of
|
482
|
+
# the resources in the account, set this parameter to `ACCOUNT_BASED`.
|
483
|
+
#
|
484
|
+
# @option params [Boolean] :attach_missing_permission
|
485
|
+
# If set to true, the managed policies for SSM and CW will be attached
|
486
|
+
# to the instance roles if they are missing.
|
378
487
|
#
|
379
488
|
# @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
380
489
|
#
|
@@ -395,10 +504,13 @@ module Aws::ApplicationInsights
|
|
395
504
|
# ],
|
396
505
|
# auto_config_enabled: false,
|
397
506
|
# auto_create: false,
|
507
|
+
# grouping_type: "ACCOUNT_BASED", # accepts ACCOUNT_BASED
|
508
|
+
# attach_missing_permission: false,
|
398
509
|
# })
|
399
510
|
#
|
400
511
|
# @example Response structure
|
401
512
|
#
|
513
|
+
# resp.application_info.account_id #=> String
|
402
514
|
# resp.application_info.resource_group_name #=> String
|
403
515
|
# resp.application_info.life_cycle #=> String
|
404
516
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
@@ -407,6 +519,7 @@ module Aws::ApplicationInsights
|
|
407
519
|
# resp.application_info.remarks #=> String
|
408
520
|
# resp.application_info.auto_config_enabled #=> Boolean
|
409
521
|
# resp.application_info.discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
|
522
|
+
# resp.application_info.attach_missing_permission #=> Boolean
|
410
523
|
#
|
411
524
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication AWS API Documentation
|
412
525
|
#
|
@@ -594,6 +707,9 @@ module Aws::ApplicationInsights
|
|
594
707
|
# @option params [required, String] :resource_group_name
|
595
708
|
# The name of the resource group.
|
596
709
|
#
|
710
|
+
# @option params [String] :account_id
|
711
|
+
# The AWS account ID for the resource group owner.
|
712
|
+
#
|
597
713
|
# @return [Types::DescribeApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
598
714
|
#
|
599
715
|
# * {Types::DescribeApplicationResponse#application_info #application_info} => Types::ApplicationInfo
|
@@ -602,10 +718,12 @@ module Aws::ApplicationInsights
|
|
602
718
|
#
|
603
719
|
# resp = client.describe_application({
|
604
720
|
# resource_group_name: "ResourceGroupName", # required
|
721
|
+
# account_id: "AccountId",
|
605
722
|
# })
|
606
723
|
#
|
607
724
|
# @example Response structure
|
608
725
|
#
|
726
|
+
# resp.application_info.account_id #=> String
|
609
727
|
# resp.application_info.resource_group_name #=> String
|
610
728
|
# resp.application_info.life_cycle #=> String
|
611
729
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
@@ -614,6 +732,7 @@ module Aws::ApplicationInsights
|
|
614
732
|
# resp.application_info.remarks #=> String
|
615
733
|
# resp.application_info.auto_config_enabled #=> Boolean
|
616
734
|
# resp.application_info.discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
|
735
|
+
# resp.application_info.attach_missing_permission #=> Boolean
|
617
736
|
#
|
618
737
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication AWS API Documentation
|
619
738
|
#
|
@@ -633,6 +752,9 @@ module Aws::ApplicationInsights
|
|
633
752
|
# @option params [required, String] :component_name
|
634
753
|
# The name of the component.
|
635
754
|
#
|
755
|
+
# @option params [String] :account_id
|
756
|
+
# The AWS account ID for the resource group owner.
|
757
|
+
#
|
636
758
|
# @return [Types::DescribeComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
637
759
|
#
|
638
760
|
# * {Types::DescribeComponentResponse#application_component #application_component} => Types::ApplicationComponent
|
@@ -643,6 +765,7 @@ module Aws::ApplicationInsights
|
|
643
765
|
# resp = client.describe_component({
|
644
766
|
# resource_group_name: "ResourceGroupName", # required
|
645
767
|
# component_name: "ComponentName", # required
|
768
|
+
# account_id: "AccountId",
|
646
769
|
# })
|
647
770
|
#
|
648
771
|
# @example Response structure
|
@@ -651,7 +774,7 @@ module Aws::ApplicationInsights
|
|
651
774
|
# resp.application_component.component_remarks #=> String
|
652
775
|
# resp.application_component.resource_type #=> String
|
653
776
|
# resp.application_component.os_type #=> String, one of "WINDOWS", "LINUX"
|
654
|
-
# 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"
|
777
|
+
# 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"
|
655
778
|
# resp.application_component.monitor #=> Boolean
|
656
779
|
# resp.application_component.detected_workload #=> Hash
|
657
780
|
# resp.application_component.detected_workload["Tier"] #=> Hash
|
@@ -676,6 +799,9 @@ module Aws::ApplicationInsights
|
|
676
799
|
# @option params [required, String] :component_name
|
677
800
|
# The name of the component.
|
678
801
|
#
|
802
|
+
# @option params [String] :account_id
|
803
|
+
# The AWS account ID for the resource group owner.
|
804
|
+
#
|
679
805
|
# @return [Types::DescribeComponentConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
680
806
|
#
|
681
807
|
# * {Types::DescribeComponentConfigurationResponse#monitor #monitor} => Boolean
|
@@ -687,12 +813,13 @@ module Aws::ApplicationInsights
|
|
687
813
|
# resp = client.describe_component_configuration({
|
688
814
|
# resource_group_name: "ResourceGroupName", # required
|
689
815
|
# component_name: "ComponentName", # required
|
816
|
+
# account_id: "AccountId",
|
690
817
|
# })
|
691
818
|
#
|
692
819
|
# @example Response structure
|
693
820
|
#
|
694
821
|
# resp.monitor #=> Boolean
|
695
|
-
# 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"
|
822
|
+
# 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"
|
696
823
|
# resp.component_configuration #=> String
|
697
824
|
#
|
698
825
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfiguration AWS API Documentation
|
@@ -713,9 +840,13 @@ module Aws::ApplicationInsights
|
|
713
840
|
# The name of the component.
|
714
841
|
#
|
715
842
|
# @option params [required, String] :tier
|
716
|
-
# The tier of the application component.
|
717
|
-
#
|
718
|
-
#
|
843
|
+
# The tier of the application component.
|
844
|
+
#
|
845
|
+
# @option params [String] :workload_name
|
846
|
+
# The name of the workload.
|
847
|
+
#
|
848
|
+
# @option params [String] :recommendation_type
|
849
|
+
# The recommended configuration type.
|
719
850
|
#
|
720
851
|
# @return [Types::DescribeComponentConfigurationRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
721
852
|
#
|
@@ -726,7 +857,9 @@ module Aws::ApplicationInsights
|
|
726
857
|
# resp = client.describe_component_configuration_recommendation({
|
727
858
|
# resource_group_name: "ResourceGroupName", # required
|
728
859
|
# component_name: "ComponentName", # required
|
729
|
-
# 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
|
860
|
+
# 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
|
861
|
+
# workload_name: "WorkloadName",
|
862
|
+
# recommendation_type: "INFRA_ONLY", # accepts INFRA_ONLY, WORKLOAD_ONLY, ALL
|
730
863
|
# })
|
731
864
|
#
|
732
865
|
# @example Response structure
|
@@ -753,9 +886,13 @@ module Aws::ApplicationInsights
|
|
753
886
|
# @option params [required, String] :pattern_name
|
754
887
|
# The name of the log pattern.
|
755
888
|
#
|
889
|
+
# @option params [String] :account_id
|
890
|
+
# The AWS account ID for the resource group owner.
|
891
|
+
#
|
756
892
|
# @return [Types::DescribeLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
757
893
|
#
|
758
894
|
# * {Types::DescribeLogPatternResponse#resource_group_name #resource_group_name} => String
|
895
|
+
# * {Types::DescribeLogPatternResponse#account_id #account_id} => String
|
759
896
|
# * {Types::DescribeLogPatternResponse#log_pattern #log_pattern} => Types::LogPattern
|
760
897
|
#
|
761
898
|
# @example Request syntax with placeholder values
|
@@ -764,11 +901,13 @@ module Aws::ApplicationInsights
|
|
764
901
|
# resource_group_name: "ResourceGroupName", # required
|
765
902
|
# pattern_set_name: "LogPatternSetName", # required
|
766
903
|
# pattern_name: "LogPatternName", # required
|
904
|
+
# account_id: "AccountId",
|
767
905
|
# })
|
768
906
|
#
|
769
907
|
# @example Response structure
|
770
908
|
#
|
771
909
|
# resp.resource_group_name #=> String
|
910
|
+
# resp.account_id #=> String
|
772
911
|
# resp.log_pattern.pattern_set_name #=> String
|
773
912
|
# resp.log_pattern.pattern_name #=> String
|
774
913
|
# resp.log_pattern.pattern #=> String
|
@@ -788,6 +927,9 @@ module Aws::ApplicationInsights
|
|
788
927
|
# @option params [required, String] :observation_id
|
789
928
|
# The ID of the observation.
|
790
929
|
#
|
930
|
+
# @option params [String] :account_id
|
931
|
+
# The AWS account ID for the resource group owner.
|
932
|
+
#
|
791
933
|
# @return [Types::DescribeObservationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
792
934
|
#
|
793
935
|
# * {Types::DescribeObservationResponse#observation #observation} => Types::Observation
|
@@ -796,6 +938,7 @@ module Aws::ApplicationInsights
|
|
796
938
|
#
|
797
939
|
# resp = client.describe_observation({
|
798
940
|
# observation_id: "ObservationId", # required
|
941
|
+
# account_id: "AccountId",
|
799
942
|
# })
|
800
943
|
#
|
801
944
|
# @example Response structure
|
@@ -860,6 +1003,10 @@ module Aws::ApplicationInsights
|
|
860
1003
|
# @option params [required, String] :problem_id
|
861
1004
|
# The ID of the problem.
|
862
1005
|
#
|
1006
|
+
# @option params [String] :account_id
|
1007
|
+
# The AWS account ID for the owner of the resource group affected by the
|
1008
|
+
# problem.
|
1009
|
+
#
|
863
1010
|
# @return [Types::DescribeProblemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
864
1011
|
#
|
865
1012
|
# * {Types::DescribeProblemResponse#problem #problem} => Types::Problem
|
@@ -868,6 +1015,7 @@ module Aws::ApplicationInsights
|
|
868
1015
|
#
|
869
1016
|
# resp = client.describe_problem({
|
870
1017
|
# problem_id: "ProblemId", # required
|
1018
|
+
# account_id: "AccountId",
|
871
1019
|
# })
|
872
1020
|
#
|
873
1021
|
# @example Response structure
|
@@ -875,16 +1023,19 @@ module Aws::ApplicationInsights
|
|
875
1023
|
# resp.problem.id #=> String
|
876
1024
|
# resp.problem.title #=> String
|
877
1025
|
# resp.problem.insights #=> String
|
878
|
-
# resp.problem.status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING"
|
1026
|
+
# resp.problem.status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING", "RECOVERING"
|
879
1027
|
# resp.problem.affected_resource #=> String
|
880
1028
|
# resp.problem.start_time #=> Time
|
881
1029
|
# resp.problem.end_time #=> Time
|
882
|
-
# resp.problem.severity_level #=> String, one of "Low", "Medium", "High"
|
1030
|
+
# resp.problem.severity_level #=> String, one of "Informative", "Low", "Medium", "High"
|
1031
|
+
# resp.problem.account_id #=> String
|
883
1032
|
# resp.problem.resource_group_name #=> String
|
884
1033
|
# resp.problem.feedback #=> Hash
|
885
1034
|
# resp.problem.feedback["FeedbackKey"] #=> String, one of "NOT_SPECIFIED", "USEFUL", "NOT_USEFUL"
|
886
1035
|
# resp.problem.recurring_count #=> Integer
|
887
1036
|
# resp.problem.last_recurrence_time #=> Time
|
1037
|
+
# resp.problem.visibility #=> String, one of "IGNORED", "VISIBLE"
|
1038
|
+
# resp.problem.resolution_method #=> String, one of "MANUAL", "AUTOMATIC", "UNRESOLVED"
|
888
1039
|
#
|
889
1040
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblem AWS API Documentation
|
890
1041
|
#
|
@@ -900,6 +1051,9 @@ module Aws::ApplicationInsights
|
|
900
1051
|
# @option params [required, String] :problem_id
|
901
1052
|
# The ID of the problem.
|
902
1053
|
#
|
1054
|
+
# @option params [String] :account_id
|
1055
|
+
# The AWS account ID for the resource group owner.
|
1056
|
+
#
|
903
1057
|
# @return [Types::DescribeProblemObservationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
904
1058
|
#
|
905
1059
|
# * {Types::DescribeProblemObservationsResponse#related_observations #related_observations} => Types::RelatedObservations
|
@@ -908,6 +1062,7 @@ module Aws::ApplicationInsights
|
|
908
1062
|
#
|
909
1063
|
# resp = client.describe_problem_observations({
|
910
1064
|
# problem_id: "ProblemId", # required
|
1065
|
+
# account_id: "AccountId",
|
911
1066
|
# })
|
912
1067
|
#
|
913
1068
|
# @example Response structure
|
@@ -968,6 +1123,52 @@ module Aws::ApplicationInsights
|
|
968
1123
|
req.send_request(options)
|
969
1124
|
end
|
970
1125
|
|
1126
|
+
# Describes a workload and its configuration.
|
1127
|
+
#
|
1128
|
+
# @option params [required, String] :resource_group_name
|
1129
|
+
# The name of the resource group.
|
1130
|
+
#
|
1131
|
+
# @option params [required, String] :component_name
|
1132
|
+
# The name of the component.
|
1133
|
+
#
|
1134
|
+
# @option params [required, String] :workload_id
|
1135
|
+
# The ID of the workload.
|
1136
|
+
#
|
1137
|
+
# @option params [String] :account_id
|
1138
|
+
# The AWS account ID for the workload owner.
|
1139
|
+
#
|
1140
|
+
# @return [Types::DescribeWorkloadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1141
|
+
#
|
1142
|
+
# * {Types::DescribeWorkloadResponse#workload_id #workload_id} => String
|
1143
|
+
# * {Types::DescribeWorkloadResponse#workload_remarks #workload_remarks} => String
|
1144
|
+
# * {Types::DescribeWorkloadResponse#workload_configuration #workload_configuration} => Types::WorkloadConfiguration
|
1145
|
+
#
|
1146
|
+
# @example Request syntax with placeholder values
|
1147
|
+
#
|
1148
|
+
# resp = client.describe_workload({
|
1149
|
+
# resource_group_name: "ResourceGroupName", # required
|
1150
|
+
# component_name: "ComponentName", # required
|
1151
|
+
# workload_id: "WorkloadId", # required
|
1152
|
+
# account_id: "AccountId",
|
1153
|
+
# })
|
1154
|
+
#
|
1155
|
+
# @example Response structure
|
1156
|
+
#
|
1157
|
+
# resp.workload_id #=> String
|
1158
|
+
# resp.workload_remarks #=> String
|
1159
|
+
# resp.workload_configuration.workload_name #=> String
|
1160
|
+
# 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"
|
1161
|
+
# resp.workload_configuration.configuration #=> String
|
1162
|
+
#
|
1163
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeWorkload AWS API Documentation
|
1164
|
+
#
|
1165
|
+
# @overload describe_workload(params = {})
|
1166
|
+
# @param [Hash] params ({})
|
1167
|
+
def describe_workload(params = {}, options = {})
|
1168
|
+
req = build_request(:describe_workload, params)
|
1169
|
+
req.send_request(options)
|
1170
|
+
end
|
1171
|
+
|
971
1172
|
# Lists the IDs of the applications that you are monitoring.
|
972
1173
|
#
|
973
1174
|
# @option params [Integer] :max_results
|
@@ -978,6 +1179,9 @@ module Aws::ApplicationInsights
|
|
978
1179
|
# @option params [String] :next_token
|
979
1180
|
# The token to request the next page of results.
|
980
1181
|
#
|
1182
|
+
# @option params [String] :account_id
|
1183
|
+
# The AWS account ID for the resource group owner.
|
1184
|
+
#
|
981
1185
|
# @return [Types::ListApplicationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
982
1186
|
#
|
983
1187
|
# * {Types::ListApplicationsResponse#application_info_list #application_info_list} => Array<Types::ApplicationInfo>
|
@@ -990,11 +1194,13 @@ module Aws::ApplicationInsights
|
|
990
1194
|
# resp = client.list_applications({
|
991
1195
|
# max_results: 1,
|
992
1196
|
# next_token: "PaginationToken",
|
1197
|
+
# account_id: "AccountId",
|
993
1198
|
# })
|
994
1199
|
#
|
995
1200
|
# @example Response structure
|
996
1201
|
#
|
997
1202
|
# resp.application_info_list #=> Array
|
1203
|
+
# resp.application_info_list[0].account_id #=> String
|
998
1204
|
# resp.application_info_list[0].resource_group_name #=> String
|
999
1205
|
# resp.application_info_list[0].life_cycle #=> String
|
1000
1206
|
# resp.application_info_list[0].ops_item_sns_topic_arn #=> String
|
@@ -1003,6 +1209,7 @@ module Aws::ApplicationInsights
|
|
1003
1209
|
# resp.application_info_list[0].remarks #=> String
|
1004
1210
|
# resp.application_info_list[0].auto_config_enabled #=> Boolean
|
1005
1211
|
# resp.application_info_list[0].discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
|
1212
|
+
# resp.application_info_list[0].attach_missing_permission #=> Boolean
|
1006
1213
|
# resp.next_token #=> String
|
1007
1214
|
#
|
1008
1215
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplications AWS API Documentation
|
@@ -1028,6 +1235,9 @@ module Aws::ApplicationInsights
|
|
1028
1235
|
# @option params [String] :next_token
|
1029
1236
|
# The token to request the next page of results.
|
1030
1237
|
#
|
1238
|
+
# @option params [String] :account_id
|
1239
|
+
# The AWS account ID for the resource group owner.
|
1240
|
+
#
|
1031
1241
|
# @return [Types::ListComponentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1032
1242
|
#
|
1033
1243
|
# * {Types::ListComponentsResponse#application_component_list #application_component_list} => Array<Types::ApplicationComponent>
|
@@ -1041,6 +1251,7 @@ module Aws::ApplicationInsights
|
|
1041
1251
|
# resource_group_name: "ResourceGroupName", # required
|
1042
1252
|
# max_results: 1,
|
1043
1253
|
# next_token: "PaginationToken",
|
1254
|
+
# account_id: "AccountId",
|
1044
1255
|
# })
|
1045
1256
|
#
|
1046
1257
|
# @example Response structure
|
@@ -1050,7 +1261,7 @@ module Aws::ApplicationInsights
|
|
1050
1261
|
# resp.application_component_list[0].component_remarks #=> String
|
1051
1262
|
# resp.application_component_list[0].resource_type #=> String
|
1052
1263
|
# resp.application_component_list[0].os_type #=> String, one of "WINDOWS", "LINUX"
|
1053
|
-
# 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"
|
1264
|
+
# 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"
|
1054
1265
|
# resp.application_component_list[0].monitor #=> Boolean
|
1055
1266
|
# resp.application_component_list[0].detected_workload #=> Hash
|
1056
1267
|
# resp.application_component_list[0].detected_workload["Tier"] #=> Hash
|
@@ -1108,6 +1319,9 @@ module Aws::ApplicationInsights
|
|
1108
1319
|
# from the end of the previous results that returned the `NextToken`
|
1109
1320
|
# value. This value is `null` when there are no more results to return.
|
1110
1321
|
#
|
1322
|
+
# @option params [String] :account_id
|
1323
|
+
# The AWS account ID for the resource group owner.
|
1324
|
+
#
|
1111
1325
|
# @return [Types::ListConfigurationHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1112
1326
|
#
|
1113
1327
|
# * {Types::ListConfigurationHistoryResponse#event_list #event_list} => Array<Types::ConfigurationEvent>
|
@@ -1124,11 +1338,14 @@ module Aws::ApplicationInsights
|
|
1124
1338
|
# event_status: "INFO", # accepts INFO, WARN, ERROR
|
1125
1339
|
# max_results: 1,
|
1126
1340
|
# next_token: "PaginationToken",
|
1341
|
+
# account_id: "AccountId",
|
1127
1342
|
# })
|
1128
1343
|
#
|
1129
1344
|
# @example Response structure
|
1130
1345
|
#
|
1131
1346
|
# resp.event_list #=> Array
|
1347
|
+
# resp.event_list[0].resource_group_name #=> String
|
1348
|
+
# resp.event_list[0].account_id #=> String
|
1132
1349
|
# resp.event_list[0].monitored_resource_arn #=> String
|
1133
1350
|
# resp.event_list[0].event_status #=> String, one of "INFO", "WARN", "ERROR"
|
1134
1351
|
# resp.event_list[0].event_resource_type #=> String, one of "CLOUDWATCH_ALARM", "CLOUDWATCH_LOG", "CLOUDFORMATION", "SSM_ASSOCIATION"
|
@@ -1159,9 +1376,13 @@ module Aws::ApplicationInsights
|
|
1159
1376
|
# @option params [String] :next_token
|
1160
1377
|
# The token to request the next page of results.
|
1161
1378
|
#
|
1379
|
+
# @option params [String] :account_id
|
1380
|
+
# The AWS account ID for the resource group owner.
|
1381
|
+
#
|
1162
1382
|
# @return [Types::ListLogPatternSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1163
1383
|
#
|
1164
1384
|
# * {Types::ListLogPatternSetsResponse#resource_group_name #resource_group_name} => String
|
1385
|
+
# * {Types::ListLogPatternSetsResponse#account_id #account_id} => String
|
1165
1386
|
# * {Types::ListLogPatternSetsResponse#log_pattern_sets #log_pattern_sets} => Array<String>
|
1166
1387
|
# * {Types::ListLogPatternSetsResponse#next_token #next_token} => String
|
1167
1388
|
#
|
@@ -1173,11 +1394,13 @@ module Aws::ApplicationInsights
|
|
1173
1394
|
# resource_group_name: "ResourceGroupName", # required
|
1174
1395
|
# max_results: 1,
|
1175
1396
|
# next_token: "PaginationToken",
|
1397
|
+
# account_id: "AccountId",
|
1176
1398
|
# })
|
1177
1399
|
#
|
1178
1400
|
# @example Response structure
|
1179
1401
|
#
|
1180
1402
|
# resp.resource_group_name #=> String
|
1403
|
+
# resp.account_id #=> String
|
1181
1404
|
# resp.log_pattern_sets #=> Array
|
1182
1405
|
# resp.log_pattern_sets[0] #=> String
|
1183
1406
|
# resp.next_token #=> String
|
@@ -1207,9 +1430,13 @@ module Aws::ApplicationInsights
|
|
1207
1430
|
# @option params [String] :next_token
|
1208
1431
|
# The token to request the next page of results.
|
1209
1432
|
#
|
1433
|
+
# @option params [String] :account_id
|
1434
|
+
# The AWS account ID for the resource group owner.
|
1435
|
+
#
|
1210
1436
|
# @return [Types::ListLogPatternsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1211
1437
|
#
|
1212
1438
|
# * {Types::ListLogPatternsResponse#resource_group_name #resource_group_name} => String
|
1439
|
+
# * {Types::ListLogPatternsResponse#account_id #account_id} => String
|
1213
1440
|
# * {Types::ListLogPatternsResponse#log_patterns #log_patterns} => Array<Types::LogPattern>
|
1214
1441
|
# * {Types::ListLogPatternsResponse#next_token #next_token} => String
|
1215
1442
|
#
|
@@ -1222,11 +1449,13 @@ module Aws::ApplicationInsights
|
|
1222
1449
|
# pattern_set_name: "LogPatternSetName",
|
1223
1450
|
# max_results: 1,
|
1224
1451
|
# next_token: "PaginationToken",
|
1452
|
+
# account_id: "AccountId",
|
1225
1453
|
# })
|
1226
1454
|
#
|
1227
1455
|
# @example Response structure
|
1228
1456
|
#
|
1229
1457
|
# resp.resource_group_name #=> String
|
1458
|
+
# resp.account_id #=> String
|
1230
1459
|
# resp.log_patterns #=> Array
|
1231
1460
|
# resp.log_patterns[0].pattern_set_name #=> String
|
1232
1461
|
# resp.log_patterns[0].pattern_name #=> String
|
@@ -1245,6 +1474,9 @@ module Aws::ApplicationInsights
|
|
1245
1474
|
|
1246
1475
|
# Lists the problems with your application.
|
1247
1476
|
#
|
1477
|
+
# @option params [String] :account_id
|
1478
|
+
# The AWS account ID for the resource group owner.
|
1479
|
+
#
|
1248
1480
|
# @option params [String] :resource_group_name
|
1249
1481
|
# The name of the resource group.
|
1250
1482
|
#
|
@@ -1266,24 +1498,32 @@ module Aws::ApplicationInsights
|
|
1266
1498
|
# The token to request the next page of results.
|
1267
1499
|
#
|
1268
1500
|
# @option params [String] :component_name
|
1501
|
+
# The name of the component.
|
1502
|
+
#
|
1503
|
+
# @option params [String] :visibility
|
1504
|
+
# Specifies whether or not you can view the problem. If not specified,
|
1505
|
+
# visible and ignored problems are returned.
|
1269
1506
|
#
|
1270
1507
|
# @return [Types::ListProblemsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1271
1508
|
#
|
1272
1509
|
# * {Types::ListProblemsResponse#problem_list #problem_list} => Array<Types::Problem>
|
1273
1510
|
# * {Types::ListProblemsResponse#next_token #next_token} => String
|
1274
1511
|
# * {Types::ListProblemsResponse#resource_group_name #resource_group_name} => String
|
1512
|
+
# * {Types::ListProblemsResponse#account_id #account_id} => String
|
1275
1513
|
#
|
1276
1514
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1277
1515
|
#
|
1278
1516
|
# @example Request syntax with placeholder values
|
1279
1517
|
#
|
1280
1518
|
# resp = client.list_problems({
|
1519
|
+
# account_id: "AccountId",
|
1281
1520
|
# resource_group_name: "ResourceGroupName",
|
1282
1521
|
# start_time: Time.now,
|
1283
1522
|
# end_time: Time.now,
|
1284
1523
|
# max_results: 1,
|
1285
1524
|
# next_token: "PaginationToken",
|
1286
1525
|
# component_name: "ComponentName",
|
1526
|
+
# visibility: "IGNORED", # accepts IGNORED, VISIBLE
|
1287
1527
|
# })
|
1288
1528
|
#
|
1289
1529
|
# @example Response structure
|
@@ -1292,18 +1532,22 @@ module Aws::ApplicationInsights
|
|
1292
1532
|
# resp.problem_list[0].id #=> String
|
1293
1533
|
# resp.problem_list[0].title #=> String
|
1294
1534
|
# resp.problem_list[0].insights #=> String
|
1295
|
-
# resp.problem_list[0].status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING"
|
1535
|
+
# resp.problem_list[0].status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING", "RECOVERING"
|
1296
1536
|
# resp.problem_list[0].affected_resource #=> String
|
1297
1537
|
# resp.problem_list[0].start_time #=> Time
|
1298
1538
|
# resp.problem_list[0].end_time #=> Time
|
1299
|
-
# resp.problem_list[0].severity_level #=> String, one of "Low", "Medium", "High"
|
1539
|
+
# resp.problem_list[0].severity_level #=> String, one of "Informative", "Low", "Medium", "High"
|
1540
|
+
# resp.problem_list[0].account_id #=> String
|
1300
1541
|
# resp.problem_list[0].resource_group_name #=> String
|
1301
1542
|
# resp.problem_list[0].feedback #=> Hash
|
1302
1543
|
# resp.problem_list[0].feedback["FeedbackKey"] #=> String, one of "NOT_SPECIFIED", "USEFUL", "NOT_USEFUL"
|
1303
1544
|
# resp.problem_list[0].recurring_count #=> Integer
|
1304
1545
|
# resp.problem_list[0].last_recurrence_time #=> Time
|
1546
|
+
# resp.problem_list[0].visibility #=> String, one of "IGNORED", "VISIBLE"
|
1547
|
+
# resp.problem_list[0].resolution_method #=> String, one of "MANUAL", "AUTOMATIC", "UNRESOLVED"
|
1305
1548
|
# resp.next_token #=> String
|
1306
1549
|
# resp.resource_group_name #=> String
|
1550
|
+
# resp.account_id #=> String
|
1307
1551
|
#
|
1308
1552
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblems AWS API Documentation
|
1309
1553
|
#
|
@@ -1350,6 +1594,91 @@ module Aws::ApplicationInsights
|
|
1350
1594
|
req.send_request(options)
|
1351
1595
|
end
|
1352
1596
|
|
1597
|
+
# Lists the workloads that are configured on a given component.
|
1598
|
+
#
|
1599
|
+
# @option params [required, String] :resource_group_name
|
1600
|
+
# The name of the resource group.
|
1601
|
+
#
|
1602
|
+
# @option params [required, String] :component_name
|
1603
|
+
# The name of the component.
|
1604
|
+
#
|
1605
|
+
# @option params [Integer] :max_results
|
1606
|
+
# The maximum number of results to return in a single call. To retrieve
|
1607
|
+
# the remaining results, make another call with the returned `NextToken`
|
1608
|
+
# value.
|
1609
|
+
#
|
1610
|
+
# @option params [String] :next_token
|
1611
|
+
# The token to request the next page of results.
|
1612
|
+
#
|
1613
|
+
# @option params [String] :account_id
|
1614
|
+
# The AWS account ID of the owner of the workload.
|
1615
|
+
#
|
1616
|
+
# @return [Types::ListWorkloadsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1617
|
+
#
|
1618
|
+
# * {Types::ListWorkloadsResponse#workload_list #workload_list} => Array<Types::Workload>
|
1619
|
+
# * {Types::ListWorkloadsResponse#next_token #next_token} => String
|
1620
|
+
#
|
1621
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1622
|
+
#
|
1623
|
+
# @example Request syntax with placeholder values
|
1624
|
+
#
|
1625
|
+
# resp = client.list_workloads({
|
1626
|
+
# resource_group_name: "ResourceGroupName", # required
|
1627
|
+
# component_name: "ComponentName", # required
|
1628
|
+
# max_results: 1,
|
1629
|
+
# next_token: "PaginationToken",
|
1630
|
+
# account_id: "AccountId",
|
1631
|
+
# })
|
1632
|
+
#
|
1633
|
+
# @example Response structure
|
1634
|
+
#
|
1635
|
+
# resp.workload_list #=> Array
|
1636
|
+
# resp.workload_list[0].workload_id #=> String
|
1637
|
+
# resp.workload_list[0].component_name #=> String
|
1638
|
+
# resp.workload_list[0].workload_name #=> String
|
1639
|
+
# 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"
|
1640
|
+
# resp.workload_list[0].workload_remarks #=> String
|
1641
|
+
# resp.next_token #=> String
|
1642
|
+
#
|
1643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListWorkloads AWS API Documentation
|
1644
|
+
#
|
1645
|
+
# @overload list_workloads(params = {})
|
1646
|
+
# @param [Hash] params ({})
|
1647
|
+
def list_workloads(params = {}, options = {})
|
1648
|
+
req = build_request(:list_workloads, params)
|
1649
|
+
req.send_request(options)
|
1650
|
+
end
|
1651
|
+
|
1652
|
+
# Remove workload from a component.
|
1653
|
+
#
|
1654
|
+
# @option params [required, String] :resource_group_name
|
1655
|
+
# The name of the resource group.
|
1656
|
+
#
|
1657
|
+
# @option params [required, String] :component_name
|
1658
|
+
# The name of the component.
|
1659
|
+
#
|
1660
|
+
# @option params [required, String] :workload_id
|
1661
|
+
# The ID of the workload.
|
1662
|
+
#
|
1663
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1664
|
+
#
|
1665
|
+
# @example Request syntax with placeholder values
|
1666
|
+
#
|
1667
|
+
# resp = client.remove_workload({
|
1668
|
+
# resource_group_name: "ResourceGroupName", # required
|
1669
|
+
# component_name: "ComponentName", # required
|
1670
|
+
# workload_id: "WorkloadId", # required
|
1671
|
+
# })
|
1672
|
+
#
|
1673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/RemoveWorkload AWS API Documentation
|
1674
|
+
#
|
1675
|
+
# @overload remove_workload(params = {})
|
1676
|
+
# @param [Hash] params ({})
|
1677
|
+
def remove_workload(params = {}, options = {})
|
1678
|
+
req = build_request(:remove_workload, params)
|
1679
|
+
req.send_request(options)
|
1680
|
+
end
|
1681
|
+
|
1353
1682
|
# Add one or more tags (keys and values) to a specified application. A
|
1354
1683
|
# *tag* is a label that you optionally define and associate with an
|
1355
1684
|
# application. Tags can help you categorize and manage application in
|
@@ -1452,6 +1781,11 @@ module Aws::ApplicationInsights
|
|
1452
1781
|
# problems.
|
1453
1782
|
#
|
1454
1783
|
# @option params [Boolean] :auto_config_enabled
|
1784
|
+
# Turns auto-configuration on or off.
|
1785
|
+
#
|
1786
|
+
# @option params [Boolean] :attach_missing_permission
|
1787
|
+
# If set to true, the managed policies for SSM and CW will be attached
|
1788
|
+
# to the instance roles if they are missing.
|
1455
1789
|
#
|
1456
1790
|
# @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1457
1791
|
#
|
@@ -1466,10 +1800,12 @@ module Aws::ApplicationInsights
|
|
1466
1800
|
# ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
|
1467
1801
|
# remove_sns_topic: false,
|
1468
1802
|
# auto_config_enabled: false,
|
1803
|
+
# attach_missing_permission: false,
|
1469
1804
|
# })
|
1470
1805
|
#
|
1471
1806
|
# @example Response structure
|
1472
1807
|
#
|
1808
|
+
# resp.application_info.account_id #=> String
|
1473
1809
|
# resp.application_info.resource_group_name #=> String
|
1474
1810
|
# resp.application_info.life_cycle #=> String
|
1475
1811
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
@@ -1478,6 +1814,7 @@ module Aws::ApplicationInsights
|
|
1478
1814
|
# resp.application_info.remarks #=> String
|
1479
1815
|
# resp.application_info.auto_config_enabled #=> Boolean
|
1480
1816
|
# resp.application_info.discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
|
1817
|
+
# resp.application_info.attach_missing_permission #=> Boolean
|
1481
1818
|
#
|
1482
1819
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication AWS API Documentation
|
1483
1820
|
#
|
@@ -1538,9 +1875,7 @@ module Aws::ApplicationInsights
|
|
1538
1875
|
# Indicates whether the application component is monitored.
|
1539
1876
|
#
|
1540
1877
|
# @option params [String] :tier
|
1541
|
-
# The tier of the application component.
|
1542
|
-
# `DOT_NET_WORKER`, `DOT_NET_WEB`, `DOT_NET_CORE`, `SQL_SERVER`, and
|
1543
|
-
# `DEFAULT`.
|
1878
|
+
# The tier of the application component.
|
1544
1879
|
#
|
1545
1880
|
# @option params [String] :component_configuration
|
1546
1881
|
# The configuration settings of the component. The value is the escaped
|
@@ -1556,6 +1891,8 @@ module Aws::ApplicationInsights
|
|
1556
1891
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/component-config.html
|
1557
1892
|
#
|
1558
1893
|
# @option params [Boolean] :auto_config_enabled
|
1894
|
+
# Automatically configures the component by applying the recommended
|
1895
|
+
# configurations.
|
1559
1896
|
#
|
1560
1897
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1561
1898
|
#
|
@@ -1565,7 +1902,7 @@ module Aws::ApplicationInsights
|
|
1565
1902
|
# resource_group_name: "ResourceGroupName", # required
|
1566
1903
|
# component_name: "ComponentName", # required
|
1567
1904
|
# monitor: false,
|
1568
|
-
# 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
|
1905
|
+
# 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
|
1569
1906
|
# component_configuration: "ComponentConfiguration",
|
1570
1907
|
# auto_config_enabled: false,
|
1571
1908
|
# })
|
@@ -1639,6 +1976,91 @@ module Aws::ApplicationInsights
|
|
1639
1976
|
req.send_request(options)
|
1640
1977
|
end
|
1641
1978
|
|
1979
|
+
# Updates the visibility of the problem or specifies the problem as
|
1980
|
+
# `RESOLVED`.
|
1981
|
+
#
|
1982
|
+
# @option params [required, String] :problem_id
|
1983
|
+
# The ID of the problem.
|
1984
|
+
#
|
1985
|
+
# @option params [String] :update_status
|
1986
|
+
# The status of the problem. Arguments can be passed for only problems
|
1987
|
+
# that show a status of `RECOVERING`.
|
1988
|
+
#
|
1989
|
+
# @option params [String] :visibility
|
1990
|
+
# The visibility of a problem. When you pass a value of `IGNORED`, the
|
1991
|
+
# problem is removed from the default view, and all notifications for
|
1992
|
+
# the problem are suspended. When `VISIBLE` is passed, the `IGNORED`
|
1993
|
+
# action is reversed.
|
1994
|
+
#
|
1995
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1996
|
+
#
|
1997
|
+
# @example Request syntax with placeholder values
|
1998
|
+
#
|
1999
|
+
# resp = client.update_problem({
|
2000
|
+
# problem_id: "ProblemId", # required
|
2001
|
+
# update_status: "RESOLVED", # accepts RESOLVED
|
2002
|
+
# visibility: "IGNORED", # accepts IGNORED, VISIBLE
|
2003
|
+
# })
|
2004
|
+
#
|
2005
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateProblem AWS API Documentation
|
2006
|
+
#
|
2007
|
+
# @overload update_problem(params = {})
|
2008
|
+
# @param [Hash] params ({})
|
2009
|
+
def update_problem(params = {}, options = {})
|
2010
|
+
req = build_request(:update_problem, params)
|
2011
|
+
req.send_request(options)
|
2012
|
+
end
|
2013
|
+
|
2014
|
+
# Adds a workload to a component. Each component can have at most five
|
2015
|
+
# workloads.
|
2016
|
+
#
|
2017
|
+
# @option params [required, String] :resource_group_name
|
2018
|
+
# The name of the resource group.
|
2019
|
+
#
|
2020
|
+
# @option params [required, String] :component_name
|
2021
|
+
# The name of the component.
|
2022
|
+
#
|
2023
|
+
# @option params [String] :workload_id
|
2024
|
+
# The ID of the workload.
|
2025
|
+
#
|
2026
|
+
# @option params [required, Types::WorkloadConfiguration] :workload_configuration
|
2027
|
+
# The configuration settings of the workload. The value is the escaped
|
2028
|
+
# JSON of the configuration.
|
2029
|
+
#
|
2030
|
+
# @return [Types::UpdateWorkloadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2031
|
+
#
|
2032
|
+
# * {Types::UpdateWorkloadResponse#workload_id #workload_id} => String
|
2033
|
+
# * {Types::UpdateWorkloadResponse#workload_configuration #workload_configuration} => Types::WorkloadConfiguration
|
2034
|
+
#
|
2035
|
+
# @example Request syntax with placeholder values
|
2036
|
+
#
|
2037
|
+
# resp = client.update_workload({
|
2038
|
+
# resource_group_name: "ResourceGroupName", # required
|
2039
|
+
# component_name: "ComponentName", # required
|
2040
|
+
# workload_id: "WorkloadId",
|
2041
|
+
# workload_configuration: { # required
|
2042
|
+
# workload_name: "WorkloadName",
|
2043
|
+
# 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
|
2044
|
+
# configuration: "ComponentConfiguration",
|
2045
|
+
# },
|
2046
|
+
# })
|
2047
|
+
#
|
2048
|
+
# @example Response structure
|
2049
|
+
#
|
2050
|
+
# resp.workload_id #=> String
|
2051
|
+
# resp.workload_configuration.workload_name #=> String
|
2052
|
+
# 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"
|
2053
|
+
# resp.workload_configuration.configuration #=> String
|
2054
|
+
#
|
2055
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateWorkload AWS API Documentation
|
2056
|
+
#
|
2057
|
+
# @overload update_workload(params = {})
|
2058
|
+
# @param [Hash] params ({})
|
2059
|
+
def update_workload(params = {}, options = {})
|
2060
|
+
req = build_request(:update_workload, params)
|
2061
|
+
req.send_request(options)
|
2062
|
+
end
|
2063
|
+
|
1642
2064
|
# @!endgroup
|
1643
2065
|
|
1644
2066
|
# @param params ({})
|
@@ -1652,7 +2074,7 @@ module Aws::ApplicationInsights
|
|
1652
2074
|
params: params,
|
1653
2075
|
config: config)
|
1654
2076
|
context[:gem_name] = 'aws-sdk-applicationinsights'
|
1655
|
-
context[:gem_version] = '1.
|
2077
|
+
context[:gem_version] = '1.41.0'
|
1656
2078
|
Seahorse::Client::Request.new(handlers, context)
|
1657
2079
|
end
|
1658
2080
|
|