aws-sdk-applicationinsights 1.37.0 → 1.39.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationinsights/client.rb +356 -8
- data/lib/aws-sdk-applicationinsights/client_api.rb +189 -0
- data/lib/aws-sdk-applicationinsights/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-applicationinsights/endpoints.rb +84 -0
- data/lib/aws-sdk-applicationinsights/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-applicationinsights/types.rb +454 -16
- data/lib/aws-sdk-applicationinsights.rb +2 -2
- metadata +2 -2
@@ -216,6 +216,10 @@ module Aws::ApplicationInsights
|
|
216
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
217
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
218
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
|
+
#
|
219
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
220
224
|
# The log formatter.
|
221
225
|
#
|
@@ -394,6 +398,52 @@ module Aws::ApplicationInsights
|
|
394
398
|
|
395
399
|
# @!group API Operations
|
396
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
|
+
|
397
447
|
# Adds an application that is created from a resource group.
|
398
448
|
#
|
399
449
|
# @option params [String] :resource_group_name
|
@@ -455,6 +505,7 @@ module Aws::ApplicationInsights
|
|
455
505
|
#
|
456
506
|
# @example Response structure
|
457
507
|
#
|
508
|
+
# resp.application_info.account_id #=> String
|
458
509
|
# resp.application_info.resource_group_name #=> String
|
459
510
|
# resp.application_info.life_cycle #=> String
|
460
511
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
@@ -650,6 +701,9 @@ module Aws::ApplicationInsights
|
|
650
701
|
# @option params [required, String] :resource_group_name
|
651
702
|
# The name of the resource group.
|
652
703
|
#
|
704
|
+
# @option params [String] :account_id
|
705
|
+
# The AWS account ID for the resource group owner.
|
706
|
+
#
|
653
707
|
# @return [Types::DescribeApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
654
708
|
#
|
655
709
|
# * {Types::DescribeApplicationResponse#application_info #application_info} => Types::ApplicationInfo
|
@@ -658,10 +712,12 @@ module Aws::ApplicationInsights
|
|
658
712
|
#
|
659
713
|
# resp = client.describe_application({
|
660
714
|
# resource_group_name: "ResourceGroupName", # required
|
715
|
+
# account_id: "AccountId",
|
661
716
|
# })
|
662
717
|
#
|
663
718
|
# @example Response structure
|
664
719
|
#
|
720
|
+
# resp.application_info.account_id #=> String
|
665
721
|
# resp.application_info.resource_group_name #=> String
|
666
722
|
# resp.application_info.life_cycle #=> String
|
667
723
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
@@ -689,6 +745,9 @@ module Aws::ApplicationInsights
|
|
689
745
|
# @option params [required, String] :component_name
|
690
746
|
# The name of the component.
|
691
747
|
#
|
748
|
+
# @option params [String] :account_id
|
749
|
+
# The AWS account ID for the resource group owner.
|
750
|
+
#
|
692
751
|
# @return [Types::DescribeComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
693
752
|
#
|
694
753
|
# * {Types::DescribeComponentResponse#application_component #application_component} => Types::ApplicationComponent
|
@@ -699,6 +758,7 @@ module Aws::ApplicationInsights
|
|
699
758
|
# resp = client.describe_component({
|
700
759
|
# resource_group_name: "ResourceGroupName", # required
|
701
760
|
# component_name: "ComponentName", # required
|
761
|
+
# account_id: "AccountId",
|
702
762
|
# })
|
703
763
|
#
|
704
764
|
# @example Response structure
|
@@ -707,7 +767,7 @@ module Aws::ApplicationInsights
|
|
707
767
|
# resp.application_component.component_remarks #=> String
|
708
768
|
# resp.application_component.resource_type #=> String
|
709
769
|
# resp.application_component.os_type #=> String, one of "WINDOWS", "LINUX"
|
710
|
-
# 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"
|
770
|
+
# 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"
|
711
771
|
# resp.application_component.monitor #=> Boolean
|
712
772
|
# resp.application_component.detected_workload #=> Hash
|
713
773
|
# resp.application_component.detected_workload["Tier"] #=> Hash
|
@@ -732,6 +792,9 @@ module Aws::ApplicationInsights
|
|
732
792
|
# @option params [required, String] :component_name
|
733
793
|
# The name of the component.
|
734
794
|
#
|
795
|
+
# @option params [String] :account_id
|
796
|
+
# The AWS account ID for the resource group owner.
|
797
|
+
#
|
735
798
|
# @return [Types::DescribeComponentConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
736
799
|
#
|
737
800
|
# * {Types::DescribeComponentConfigurationResponse#monitor #monitor} => Boolean
|
@@ -743,12 +806,13 @@ module Aws::ApplicationInsights
|
|
743
806
|
# resp = client.describe_component_configuration({
|
744
807
|
# resource_group_name: "ResourceGroupName", # required
|
745
808
|
# component_name: "ComponentName", # required
|
809
|
+
# account_id: "AccountId",
|
746
810
|
# })
|
747
811
|
#
|
748
812
|
# @example Response structure
|
749
813
|
#
|
750
814
|
# resp.monitor #=> Boolean
|
751
|
-
# 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"
|
815
|
+
# 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"
|
752
816
|
# resp.component_configuration #=> String
|
753
817
|
#
|
754
818
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfiguration AWS API Documentation
|
@@ -771,6 +835,9 @@ module Aws::ApplicationInsights
|
|
771
835
|
# @option params [required, String] :tier
|
772
836
|
# The tier of the application component.
|
773
837
|
#
|
838
|
+
# @option params [String] :recommendation_type
|
839
|
+
# The recommended configuration type.
|
840
|
+
#
|
774
841
|
# @return [Types::DescribeComponentConfigurationRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
775
842
|
#
|
776
843
|
# * {Types::DescribeComponentConfigurationRecommendationResponse#component_configuration #component_configuration} => String
|
@@ -780,7 +847,8 @@ module Aws::ApplicationInsights
|
|
780
847
|
# resp = client.describe_component_configuration_recommendation({
|
781
848
|
# resource_group_name: "ResourceGroupName", # required
|
782
849
|
# component_name: "ComponentName", # required
|
783
|
-
# 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
|
850
|
+
# 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
|
851
|
+
# recommendation_type: "INFRA_ONLY", # accepts INFRA_ONLY, WORKLOAD_ONLY, ALL
|
784
852
|
# })
|
785
853
|
#
|
786
854
|
# @example Response structure
|
@@ -807,9 +875,13 @@ module Aws::ApplicationInsights
|
|
807
875
|
# @option params [required, String] :pattern_name
|
808
876
|
# The name of the log pattern.
|
809
877
|
#
|
878
|
+
# @option params [String] :account_id
|
879
|
+
# The AWS account ID for the resource group owner.
|
880
|
+
#
|
810
881
|
# @return [Types::DescribeLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
811
882
|
#
|
812
883
|
# * {Types::DescribeLogPatternResponse#resource_group_name #resource_group_name} => String
|
884
|
+
# * {Types::DescribeLogPatternResponse#account_id #account_id} => String
|
813
885
|
# * {Types::DescribeLogPatternResponse#log_pattern #log_pattern} => Types::LogPattern
|
814
886
|
#
|
815
887
|
# @example Request syntax with placeholder values
|
@@ -818,11 +890,13 @@ module Aws::ApplicationInsights
|
|
818
890
|
# resource_group_name: "ResourceGroupName", # required
|
819
891
|
# pattern_set_name: "LogPatternSetName", # required
|
820
892
|
# pattern_name: "LogPatternName", # required
|
893
|
+
# account_id: "AccountId",
|
821
894
|
# })
|
822
895
|
#
|
823
896
|
# @example Response structure
|
824
897
|
#
|
825
898
|
# resp.resource_group_name #=> String
|
899
|
+
# resp.account_id #=> String
|
826
900
|
# resp.log_pattern.pattern_set_name #=> String
|
827
901
|
# resp.log_pattern.pattern_name #=> String
|
828
902
|
# resp.log_pattern.pattern #=> String
|
@@ -842,6 +916,9 @@ module Aws::ApplicationInsights
|
|
842
916
|
# @option params [required, String] :observation_id
|
843
917
|
# The ID of the observation.
|
844
918
|
#
|
919
|
+
# @option params [String] :account_id
|
920
|
+
# The AWS account ID for the resource group owner.
|
921
|
+
#
|
845
922
|
# @return [Types::DescribeObservationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
846
923
|
#
|
847
924
|
# * {Types::DescribeObservationResponse#observation #observation} => Types::Observation
|
@@ -850,6 +927,7 @@ module Aws::ApplicationInsights
|
|
850
927
|
#
|
851
928
|
# resp = client.describe_observation({
|
852
929
|
# observation_id: "ObservationId", # required
|
930
|
+
# account_id: "AccountId",
|
853
931
|
# })
|
854
932
|
#
|
855
933
|
# @example Response structure
|
@@ -914,6 +992,10 @@ module Aws::ApplicationInsights
|
|
914
992
|
# @option params [required, String] :problem_id
|
915
993
|
# The ID of the problem.
|
916
994
|
#
|
995
|
+
# @option params [String] :account_id
|
996
|
+
# The AWS account ID for the owner of the resource group affected by the
|
997
|
+
# problem.
|
998
|
+
#
|
917
999
|
# @return [Types::DescribeProblemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
918
1000
|
#
|
919
1001
|
# * {Types::DescribeProblemResponse#problem #problem} => Types::Problem
|
@@ -922,6 +1004,7 @@ module Aws::ApplicationInsights
|
|
922
1004
|
#
|
923
1005
|
# resp = client.describe_problem({
|
924
1006
|
# problem_id: "ProblemId", # required
|
1007
|
+
# account_id: "AccountId",
|
925
1008
|
# })
|
926
1009
|
#
|
927
1010
|
# @example Response structure
|
@@ -929,16 +1012,19 @@ module Aws::ApplicationInsights
|
|
929
1012
|
# resp.problem.id #=> String
|
930
1013
|
# resp.problem.title #=> String
|
931
1014
|
# resp.problem.insights #=> String
|
932
|
-
# resp.problem.status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING"
|
1015
|
+
# resp.problem.status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING", "RECOVERING"
|
933
1016
|
# resp.problem.affected_resource #=> String
|
934
1017
|
# resp.problem.start_time #=> Time
|
935
1018
|
# resp.problem.end_time #=> Time
|
936
1019
|
# resp.problem.severity_level #=> String, one of "Informative", "Low", "Medium", "High"
|
1020
|
+
# resp.problem.account_id #=> String
|
937
1021
|
# resp.problem.resource_group_name #=> String
|
938
1022
|
# resp.problem.feedback #=> Hash
|
939
1023
|
# resp.problem.feedback["FeedbackKey"] #=> String, one of "NOT_SPECIFIED", "USEFUL", "NOT_USEFUL"
|
940
1024
|
# resp.problem.recurring_count #=> Integer
|
941
1025
|
# resp.problem.last_recurrence_time #=> Time
|
1026
|
+
# resp.problem.visibility #=> String, one of "IGNORED", "VISIBLE"
|
1027
|
+
# resp.problem.resolution_method #=> String, one of "MANUAL", "AUTOMATIC", "UNRESOLVED"
|
942
1028
|
#
|
943
1029
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblem AWS API Documentation
|
944
1030
|
#
|
@@ -954,6 +1040,9 @@ module Aws::ApplicationInsights
|
|
954
1040
|
# @option params [required, String] :problem_id
|
955
1041
|
# The ID of the problem.
|
956
1042
|
#
|
1043
|
+
# @option params [String] :account_id
|
1044
|
+
# The AWS account ID for the resource group owner.
|
1045
|
+
#
|
957
1046
|
# @return [Types::DescribeProblemObservationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
958
1047
|
#
|
959
1048
|
# * {Types::DescribeProblemObservationsResponse#related_observations #related_observations} => Types::RelatedObservations
|
@@ -962,6 +1051,7 @@ module Aws::ApplicationInsights
|
|
962
1051
|
#
|
963
1052
|
# resp = client.describe_problem_observations({
|
964
1053
|
# problem_id: "ProblemId", # required
|
1054
|
+
# account_id: "AccountId",
|
965
1055
|
# })
|
966
1056
|
#
|
967
1057
|
# @example Response structure
|
@@ -1022,6 +1112,52 @@ module Aws::ApplicationInsights
|
|
1022
1112
|
req.send_request(options)
|
1023
1113
|
end
|
1024
1114
|
|
1115
|
+
# Describes a workload and its configuration.
|
1116
|
+
#
|
1117
|
+
# @option params [required, String] :resource_group_name
|
1118
|
+
# The name of the resource group.
|
1119
|
+
#
|
1120
|
+
# @option params [required, String] :component_name
|
1121
|
+
# The name of the component.
|
1122
|
+
#
|
1123
|
+
# @option params [required, String] :workload_id
|
1124
|
+
# The ID of the workload.
|
1125
|
+
#
|
1126
|
+
# @option params [String] :account_id
|
1127
|
+
# The AWS account ID for the workload owner.
|
1128
|
+
#
|
1129
|
+
# @return [Types::DescribeWorkloadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1130
|
+
#
|
1131
|
+
# * {Types::DescribeWorkloadResponse#workload_id #workload_id} => String
|
1132
|
+
# * {Types::DescribeWorkloadResponse#workload_remarks #workload_remarks} => String
|
1133
|
+
# * {Types::DescribeWorkloadResponse#workload_configuration #workload_configuration} => Types::WorkloadConfiguration
|
1134
|
+
#
|
1135
|
+
# @example Request syntax with placeholder values
|
1136
|
+
#
|
1137
|
+
# resp = client.describe_workload({
|
1138
|
+
# resource_group_name: "ResourceGroupName", # required
|
1139
|
+
# component_name: "ComponentName", # required
|
1140
|
+
# workload_id: "WorkloadId", # required
|
1141
|
+
# account_id: "AccountId",
|
1142
|
+
# })
|
1143
|
+
#
|
1144
|
+
# @example Response structure
|
1145
|
+
#
|
1146
|
+
# resp.workload_id #=> String
|
1147
|
+
# resp.workload_remarks #=> String
|
1148
|
+
# resp.workload_configuration.workload_name #=> String
|
1149
|
+
# 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"
|
1150
|
+
# resp.workload_configuration.configuration #=> String
|
1151
|
+
#
|
1152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeWorkload AWS API Documentation
|
1153
|
+
#
|
1154
|
+
# @overload describe_workload(params = {})
|
1155
|
+
# @param [Hash] params ({})
|
1156
|
+
def describe_workload(params = {}, options = {})
|
1157
|
+
req = build_request(:describe_workload, params)
|
1158
|
+
req.send_request(options)
|
1159
|
+
end
|
1160
|
+
|
1025
1161
|
# Lists the IDs of the applications that you are monitoring.
|
1026
1162
|
#
|
1027
1163
|
# @option params [Integer] :max_results
|
@@ -1032,6 +1168,9 @@ module Aws::ApplicationInsights
|
|
1032
1168
|
# @option params [String] :next_token
|
1033
1169
|
# The token to request the next page of results.
|
1034
1170
|
#
|
1171
|
+
# @option params [String] :account_id
|
1172
|
+
# The AWS account ID for the resource group owner.
|
1173
|
+
#
|
1035
1174
|
# @return [Types::ListApplicationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1036
1175
|
#
|
1037
1176
|
# * {Types::ListApplicationsResponse#application_info_list #application_info_list} => Array<Types::ApplicationInfo>
|
@@ -1044,11 +1183,13 @@ module Aws::ApplicationInsights
|
|
1044
1183
|
# resp = client.list_applications({
|
1045
1184
|
# max_results: 1,
|
1046
1185
|
# next_token: "PaginationToken",
|
1186
|
+
# account_id: "AccountId",
|
1047
1187
|
# })
|
1048
1188
|
#
|
1049
1189
|
# @example Response structure
|
1050
1190
|
#
|
1051
1191
|
# resp.application_info_list #=> Array
|
1192
|
+
# resp.application_info_list[0].account_id #=> String
|
1052
1193
|
# resp.application_info_list[0].resource_group_name #=> String
|
1053
1194
|
# resp.application_info_list[0].life_cycle #=> String
|
1054
1195
|
# resp.application_info_list[0].ops_item_sns_topic_arn #=> String
|
@@ -1082,6 +1223,9 @@ module Aws::ApplicationInsights
|
|
1082
1223
|
# @option params [String] :next_token
|
1083
1224
|
# The token to request the next page of results.
|
1084
1225
|
#
|
1226
|
+
# @option params [String] :account_id
|
1227
|
+
# The AWS account ID for the resource group owner.
|
1228
|
+
#
|
1085
1229
|
# @return [Types::ListComponentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1086
1230
|
#
|
1087
1231
|
# * {Types::ListComponentsResponse#application_component_list #application_component_list} => Array<Types::ApplicationComponent>
|
@@ -1095,6 +1239,7 @@ module Aws::ApplicationInsights
|
|
1095
1239
|
# resource_group_name: "ResourceGroupName", # required
|
1096
1240
|
# max_results: 1,
|
1097
1241
|
# next_token: "PaginationToken",
|
1242
|
+
# account_id: "AccountId",
|
1098
1243
|
# })
|
1099
1244
|
#
|
1100
1245
|
# @example Response structure
|
@@ -1104,7 +1249,7 @@ module Aws::ApplicationInsights
|
|
1104
1249
|
# resp.application_component_list[0].component_remarks #=> String
|
1105
1250
|
# resp.application_component_list[0].resource_type #=> String
|
1106
1251
|
# resp.application_component_list[0].os_type #=> String, one of "WINDOWS", "LINUX"
|
1107
|
-
# 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"
|
1252
|
+
# 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"
|
1108
1253
|
# resp.application_component_list[0].monitor #=> Boolean
|
1109
1254
|
# resp.application_component_list[0].detected_workload #=> Hash
|
1110
1255
|
# resp.application_component_list[0].detected_workload["Tier"] #=> Hash
|
@@ -1162,6 +1307,9 @@ module Aws::ApplicationInsights
|
|
1162
1307
|
# from the end of the previous results that returned the `NextToken`
|
1163
1308
|
# value. This value is `null` when there are no more results to return.
|
1164
1309
|
#
|
1310
|
+
# @option params [String] :account_id
|
1311
|
+
# The AWS account ID for the resource group owner.
|
1312
|
+
#
|
1165
1313
|
# @return [Types::ListConfigurationHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1166
1314
|
#
|
1167
1315
|
# * {Types::ListConfigurationHistoryResponse#event_list #event_list} => Array<Types::ConfigurationEvent>
|
@@ -1178,11 +1326,14 @@ module Aws::ApplicationInsights
|
|
1178
1326
|
# event_status: "INFO", # accepts INFO, WARN, ERROR
|
1179
1327
|
# max_results: 1,
|
1180
1328
|
# next_token: "PaginationToken",
|
1329
|
+
# account_id: "AccountId",
|
1181
1330
|
# })
|
1182
1331
|
#
|
1183
1332
|
# @example Response structure
|
1184
1333
|
#
|
1185
1334
|
# resp.event_list #=> Array
|
1335
|
+
# resp.event_list[0].resource_group_name #=> String
|
1336
|
+
# resp.event_list[0].account_id #=> String
|
1186
1337
|
# resp.event_list[0].monitored_resource_arn #=> String
|
1187
1338
|
# resp.event_list[0].event_status #=> String, one of "INFO", "WARN", "ERROR"
|
1188
1339
|
# resp.event_list[0].event_resource_type #=> String, one of "CLOUDWATCH_ALARM", "CLOUDWATCH_LOG", "CLOUDFORMATION", "SSM_ASSOCIATION"
|
@@ -1213,9 +1364,13 @@ module Aws::ApplicationInsights
|
|
1213
1364
|
# @option params [String] :next_token
|
1214
1365
|
# The token to request the next page of results.
|
1215
1366
|
#
|
1367
|
+
# @option params [String] :account_id
|
1368
|
+
# The AWS account ID for the resource group owner.
|
1369
|
+
#
|
1216
1370
|
# @return [Types::ListLogPatternSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1217
1371
|
#
|
1218
1372
|
# * {Types::ListLogPatternSetsResponse#resource_group_name #resource_group_name} => String
|
1373
|
+
# * {Types::ListLogPatternSetsResponse#account_id #account_id} => String
|
1219
1374
|
# * {Types::ListLogPatternSetsResponse#log_pattern_sets #log_pattern_sets} => Array<String>
|
1220
1375
|
# * {Types::ListLogPatternSetsResponse#next_token #next_token} => String
|
1221
1376
|
#
|
@@ -1227,11 +1382,13 @@ module Aws::ApplicationInsights
|
|
1227
1382
|
# resource_group_name: "ResourceGroupName", # required
|
1228
1383
|
# max_results: 1,
|
1229
1384
|
# next_token: "PaginationToken",
|
1385
|
+
# account_id: "AccountId",
|
1230
1386
|
# })
|
1231
1387
|
#
|
1232
1388
|
# @example Response structure
|
1233
1389
|
#
|
1234
1390
|
# resp.resource_group_name #=> String
|
1391
|
+
# resp.account_id #=> String
|
1235
1392
|
# resp.log_pattern_sets #=> Array
|
1236
1393
|
# resp.log_pattern_sets[0] #=> String
|
1237
1394
|
# resp.next_token #=> String
|
@@ -1261,9 +1418,13 @@ module Aws::ApplicationInsights
|
|
1261
1418
|
# @option params [String] :next_token
|
1262
1419
|
# The token to request the next page of results.
|
1263
1420
|
#
|
1421
|
+
# @option params [String] :account_id
|
1422
|
+
# The AWS account ID for the resource group owner.
|
1423
|
+
#
|
1264
1424
|
# @return [Types::ListLogPatternsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1265
1425
|
#
|
1266
1426
|
# * {Types::ListLogPatternsResponse#resource_group_name #resource_group_name} => String
|
1427
|
+
# * {Types::ListLogPatternsResponse#account_id #account_id} => String
|
1267
1428
|
# * {Types::ListLogPatternsResponse#log_patterns #log_patterns} => Array<Types::LogPattern>
|
1268
1429
|
# * {Types::ListLogPatternsResponse#next_token #next_token} => String
|
1269
1430
|
#
|
@@ -1276,11 +1437,13 @@ module Aws::ApplicationInsights
|
|
1276
1437
|
# pattern_set_name: "LogPatternSetName",
|
1277
1438
|
# max_results: 1,
|
1278
1439
|
# next_token: "PaginationToken",
|
1440
|
+
# account_id: "AccountId",
|
1279
1441
|
# })
|
1280
1442
|
#
|
1281
1443
|
# @example Response structure
|
1282
1444
|
#
|
1283
1445
|
# resp.resource_group_name #=> String
|
1446
|
+
# resp.account_id #=> String
|
1284
1447
|
# resp.log_patterns #=> Array
|
1285
1448
|
# resp.log_patterns[0].pattern_set_name #=> String
|
1286
1449
|
# resp.log_patterns[0].pattern_name #=> String
|
@@ -1299,6 +1462,9 @@ module Aws::ApplicationInsights
|
|
1299
1462
|
|
1300
1463
|
# Lists the problems with your application.
|
1301
1464
|
#
|
1465
|
+
# @option params [String] :account_id
|
1466
|
+
# The AWS account ID for the resource group owner.
|
1467
|
+
#
|
1302
1468
|
# @option params [String] :resource_group_name
|
1303
1469
|
# The name of the resource group.
|
1304
1470
|
#
|
@@ -1322,23 +1488,30 @@ module Aws::ApplicationInsights
|
|
1322
1488
|
# @option params [String] :component_name
|
1323
1489
|
# The name of the component.
|
1324
1490
|
#
|
1491
|
+
# @option params [String] :visibility
|
1492
|
+
# Specifies whether or not you can view the problem. If not specified,
|
1493
|
+
# visible and ignored problems are returned.
|
1494
|
+
#
|
1325
1495
|
# @return [Types::ListProblemsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1326
1496
|
#
|
1327
1497
|
# * {Types::ListProblemsResponse#problem_list #problem_list} => Array<Types::Problem>
|
1328
1498
|
# * {Types::ListProblemsResponse#next_token #next_token} => String
|
1329
1499
|
# * {Types::ListProblemsResponse#resource_group_name #resource_group_name} => String
|
1500
|
+
# * {Types::ListProblemsResponse#account_id #account_id} => String
|
1330
1501
|
#
|
1331
1502
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1332
1503
|
#
|
1333
1504
|
# @example Request syntax with placeholder values
|
1334
1505
|
#
|
1335
1506
|
# resp = client.list_problems({
|
1507
|
+
# account_id: "AccountId",
|
1336
1508
|
# resource_group_name: "ResourceGroupName",
|
1337
1509
|
# start_time: Time.now,
|
1338
1510
|
# end_time: Time.now,
|
1339
1511
|
# max_results: 1,
|
1340
1512
|
# next_token: "PaginationToken",
|
1341
1513
|
# component_name: "ComponentName",
|
1514
|
+
# visibility: "IGNORED", # accepts IGNORED, VISIBLE
|
1342
1515
|
# })
|
1343
1516
|
#
|
1344
1517
|
# @example Response structure
|
@@ -1347,18 +1520,22 @@ module Aws::ApplicationInsights
|
|
1347
1520
|
# resp.problem_list[0].id #=> String
|
1348
1521
|
# resp.problem_list[0].title #=> String
|
1349
1522
|
# resp.problem_list[0].insights #=> String
|
1350
|
-
# resp.problem_list[0].status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING"
|
1523
|
+
# resp.problem_list[0].status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING", "RECOVERING"
|
1351
1524
|
# resp.problem_list[0].affected_resource #=> String
|
1352
1525
|
# resp.problem_list[0].start_time #=> Time
|
1353
1526
|
# resp.problem_list[0].end_time #=> Time
|
1354
1527
|
# resp.problem_list[0].severity_level #=> String, one of "Informative", "Low", "Medium", "High"
|
1528
|
+
# resp.problem_list[0].account_id #=> String
|
1355
1529
|
# resp.problem_list[0].resource_group_name #=> String
|
1356
1530
|
# resp.problem_list[0].feedback #=> Hash
|
1357
1531
|
# resp.problem_list[0].feedback["FeedbackKey"] #=> String, one of "NOT_SPECIFIED", "USEFUL", "NOT_USEFUL"
|
1358
1532
|
# resp.problem_list[0].recurring_count #=> Integer
|
1359
1533
|
# resp.problem_list[0].last_recurrence_time #=> Time
|
1534
|
+
# resp.problem_list[0].visibility #=> String, one of "IGNORED", "VISIBLE"
|
1535
|
+
# resp.problem_list[0].resolution_method #=> String, one of "MANUAL", "AUTOMATIC", "UNRESOLVED"
|
1360
1536
|
# resp.next_token #=> String
|
1361
1537
|
# resp.resource_group_name #=> String
|
1538
|
+
# resp.account_id #=> String
|
1362
1539
|
#
|
1363
1540
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblems AWS API Documentation
|
1364
1541
|
#
|
@@ -1405,6 +1582,91 @@ module Aws::ApplicationInsights
|
|
1405
1582
|
req.send_request(options)
|
1406
1583
|
end
|
1407
1584
|
|
1585
|
+
# Lists the workloads that are configured on a given component.
|
1586
|
+
#
|
1587
|
+
# @option params [required, String] :resource_group_name
|
1588
|
+
# The name of the resource group.
|
1589
|
+
#
|
1590
|
+
# @option params [required, String] :component_name
|
1591
|
+
# The name of the component.
|
1592
|
+
#
|
1593
|
+
# @option params [Integer] :max_results
|
1594
|
+
# The maximum number of results to return in a single call. To retrieve
|
1595
|
+
# the remaining results, make another call with the returned `NextToken`
|
1596
|
+
# value.
|
1597
|
+
#
|
1598
|
+
# @option params [String] :next_token
|
1599
|
+
# The token to request the next page of results.
|
1600
|
+
#
|
1601
|
+
# @option params [String] :account_id
|
1602
|
+
# The AWS account ID of the owner of the workload.
|
1603
|
+
#
|
1604
|
+
# @return [Types::ListWorkloadsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1605
|
+
#
|
1606
|
+
# * {Types::ListWorkloadsResponse#workload_list #workload_list} => Array<Types::Workload>
|
1607
|
+
# * {Types::ListWorkloadsResponse#next_token #next_token} => String
|
1608
|
+
#
|
1609
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1610
|
+
#
|
1611
|
+
# @example Request syntax with placeholder values
|
1612
|
+
#
|
1613
|
+
# resp = client.list_workloads({
|
1614
|
+
# resource_group_name: "ResourceGroupName", # required
|
1615
|
+
# component_name: "ComponentName", # required
|
1616
|
+
# max_results: 1,
|
1617
|
+
# next_token: "PaginationToken",
|
1618
|
+
# account_id: "AccountId",
|
1619
|
+
# })
|
1620
|
+
#
|
1621
|
+
# @example Response structure
|
1622
|
+
#
|
1623
|
+
# resp.workload_list #=> Array
|
1624
|
+
# resp.workload_list[0].workload_id #=> String
|
1625
|
+
# resp.workload_list[0].component_name #=> String
|
1626
|
+
# resp.workload_list[0].workload_name #=> String
|
1627
|
+
# 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"
|
1628
|
+
# resp.workload_list[0].workload_remarks #=> String
|
1629
|
+
# resp.next_token #=> String
|
1630
|
+
#
|
1631
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListWorkloads AWS API Documentation
|
1632
|
+
#
|
1633
|
+
# @overload list_workloads(params = {})
|
1634
|
+
# @param [Hash] params ({})
|
1635
|
+
def list_workloads(params = {}, options = {})
|
1636
|
+
req = build_request(:list_workloads, params)
|
1637
|
+
req.send_request(options)
|
1638
|
+
end
|
1639
|
+
|
1640
|
+
# Remove workload from a component.
|
1641
|
+
#
|
1642
|
+
# @option params [required, String] :resource_group_name
|
1643
|
+
# The name of the resource group.
|
1644
|
+
#
|
1645
|
+
# @option params [required, String] :component_name
|
1646
|
+
# The name of the component.
|
1647
|
+
#
|
1648
|
+
# @option params [required, String] :workload_id
|
1649
|
+
# The ID of the workload.
|
1650
|
+
#
|
1651
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1652
|
+
#
|
1653
|
+
# @example Request syntax with placeholder values
|
1654
|
+
#
|
1655
|
+
# resp = client.remove_workload({
|
1656
|
+
# resource_group_name: "ResourceGroupName", # required
|
1657
|
+
# component_name: "ComponentName", # required
|
1658
|
+
# workload_id: "WorkloadId", # required
|
1659
|
+
# })
|
1660
|
+
#
|
1661
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/RemoveWorkload AWS API Documentation
|
1662
|
+
#
|
1663
|
+
# @overload remove_workload(params = {})
|
1664
|
+
# @param [Hash] params ({})
|
1665
|
+
def remove_workload(params = {}, options = {})
|
1666
|
+
req = build_request(:remove_workload, params)
|
1667
|
+
req.send_request(options)
|
1668
|
+
end
|
1669
|
+
|
1408
1670
|
# Add one or more tags (keys and values) to a specified application. A
|
1409
1671
|
# *tag* is a label that you optionally define and associate with an
|
1410
1672
|
# application. Tags can help you categorize and manage application in
|
@@ -1526,6 +1788,7 @@ module Aws::ApplicationInsights
|
|
1526
1788
|
#
|
1527
1789
|
# @example Response structure
|
1528
1790
|
#
|
1791
|
+
# resp.application_info.account_id #=> String
|
1529
1792
|
# resp.application_info.resource_group_name #=> String
|
1530
1793
|
# resp.application_info.life_cycle #=> String
|
1531
1794
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
@@ -1621,7 +1884,7 @@ module Aws::ApplicationInsights
|
|
1621
1884
|
# resource_group_name: "ResourceGroupName", # required
|
1622
1885
|
# component_name: "ComponentName", # required
|
1623
1886
|
# monitor: false,
|
1624
|
-
# 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
|
1887
|
+
# 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
|
1625
1888
|
# component_configuration: "ComponentConfiguration",
|
1626
1889
|
# auto_config_enabled: false,
|
1627
1890
|
# })
|
@@ -1695,6 +1958,91 @@ module Aws::ApplicationInsights
|
|
1695
1958
|
req.send_request(options)
|
1696
1959
|
end
|
1697
1960
|
|
1961
|
+
# Updates the visibility of the problem or specifies the problem as
|
1962
|
+
# `RESOLVED`.
|
1963
|
+
#
|
1964
|
+
# @option params [required, String] :problem_id
|
1965
|
+
# The ID of the problem.
|
1966
|
+
#
|
1967
|
+
# @option params [String] :update_status
|
1968
|
+
# The status of the problem. Arguments can be passed for only problems
|
1969
|
+
# that show a status of `RECOVERING`.
|
1970
|
+
#
|
1971
|
+
# @option params [String] :visibility
|
1972
|
+
# The visibility of a problem. When you pass a value of `IGNORED`, the
|
1973
|
+
# problem is removed from the default view, and all notifications for
|
1974
|
+
# the problem are suspended. When `VISIBLE` is passed, the `IGNORED`
|
1975
|
+
# action is reversed.
|
1976
|
+
#
|
1977
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1978
|
+
#
|
1979
|
+
# @example Request syntax with placeholder values
|
1980
|
+
#
|
1981
|
+
# resp = client.update_problem({
|
1982
|
+
# problem_id: "ProblemId", # required
|
1983
|
+
# update_status: "RESOLVED", # accepts RESOLVED
|
1984
|
+
# visibility: "IGNORED", # accepts IGNORED, VISIBLE
|
1985
|
+
# })
|
1986
|
+
#
|
1987
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateProblem AWS API Documentation
|
1988
|
+
#
|
1989
|
+
# @overload update_problem(params = {})
|
1990
|
+
# @param [Hash] params ({})
|
1991
|
+
def update_problem(params = {}, options = {})
|
1992
|
+
req = build_request(:update_problem, params)
|
1993
|
+
req.send_request(options)
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
# Adds a workload to a component. Each component can have at most five
|
1997
|
+
# workloads.
|
1998
|
+
#
|
1999
|
+
# @option params [required, String] :resource_group_name
|
2000
|
+
# The name of the resource group.
|
2001
|
+
#
|
2002
|
+
# @option params [required, String] :component_name
|
2003
|
+
# The name of the component.
|
2004
|
+
#
|
2005
|
+
# @option params [String] :workload_id
|
2006
|
+
# The ID of the workload.
|
2007
|
+
#
|
2008
|
+
# @option params [required, Types::WorkloadConfiguration] :workload_configuration
|
2009
|
+
# The configuration settings of the workload. The value is the escaped
|
2010
|
+
# JSON of the configuration.
|
2011
|
+
#
|
2012
|
+
# @return [Types::UpdateWorkloadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2013
|
+
#
|
2014
|
+
# * {Types::UpdateWorkloadResponse#workload_id #workload_id} => String
|
2015
|
+
# * {Types::UpdateWorkloadResponse#workload_configuration #workload_configuration} => Types::WorkloadConfiguration
|
2016
|
+
#
|
2017
|
+
# @example Request syntax with placeholder values
|
2018
|
+
#
|
2019
|
+
# resp = client.update_workload({
|
2020
|
+
# resource_group_name: "ResourceGroupName", # required
|
2021
|
+
# component_name: "ComponentName", # required
|
2022
|
+
# workload_id: "WorkloadId",
|
2023
|
+
# workload_configuration: { # required
|
2024
|
+
# workload_name: "WorkloadName",
|
2025
|
+
# 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
|
2026
|
+
# configuration: "ComponentConfiguration",
|
2027
|
+
# },
|
2028
|
+
# })
|
2029
|
+
#
|
2030
|
+
# @example Response structure
|
2031
|
+
#
|
2032
|
+
# resp.workload_id #=> String
|
2033
|
+
# resp.workload_configuration.workload_name #=> String
|
2034
|
+
# 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"
|
2035
|
+
# resp.workload_configuration.configuration #=> String
|
2036
|
+
#
|
2037
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateWorkload AWS API Documentation
|
2038
|
+
#
|
2039
|
+
# @overload update_workload(params = {})
|
2040
|
+
# @param [Hash] params ({})
|
2041
|
+
def update_workload(params = {}, options = {})
|
2042
|
+
req = build_request(:update_workload, params)
|
2043
|
+
req.send_request(options)
|
2044
|
+
end
|
2045
|
+
|
1698
2046
|
# @!endgroup
|
1699
2047
|
|
1700
2048
|
# @param params ({})
|
@@ -1708,7 +2056,7 @@ module Aws::ApplicationInsights
|
|
1708
2056
|
params: params,
|
1709
2057
|
config: config)
|
1710
2058
|
context[:gem_name] = 'aws-sdk-applicationinsights'
|
1711
|
-
context[:gem_version] = '1.
|
2059
|
+
context[:gem_version] = '1.39.0'
|
1712
2060
|
Seahorse::Client::Request.new(handlers, context)
|
1713
2061
|
end
|
1714
2062
|
|