aws-sdk-applicationinsights 1.38.0 → 1.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationinsights/client.rb +352 -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
@@ -398,6 +398,52 @@ module Aws::ApplicationInsights
|
|
398
398
|
|
399
399
|
# @!group API Operations
|
400
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
|
+
|
401
447
|
# Adds an application that is created from a resource group.
|
402
448
|
#
|
403
449
|
# @option params [String] :resource_group_name
|
@@ -459,6 +505,7 @@ module Aws::ApplicationInsights
|
|
459
505
|
#
|
460
506
|
# @example Response structure
|
461
507
|
#
|
508
|
+
# resp.application_info.account_id #=> String
|
462
509
|
# resp.application_info.resource_group_name #=> String
|
463
510
|
# resp.application_info.life_cycle #=> String
|
464
511
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
@@ -654,6 +701,9 @@ module Aws::ApplicationInsights
|
|
654
701
|
# @option params [required, String] :resource_group_name
|
655
702
|
# The name of the resource group.
|
656
703
|
#
|
704
|
+
# @option params [String] :account_id
|
705
|
+
# The AWS account ID for the resource group owner.
|
706
|
+
#
|
657
707
|
# @return [Types::DescribeApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
658
708
|
#
|
659
709
|
# * {Types::DescribeApplicationResponse#application_info #application_info} => Types::ApplicationInfo
|
@@ -662,10 +712,12 @@ module Aws::ApplicationInsights
|
|
662
712
|
#
|
663
713
|
# resp = client.describe_application({
|
664
714
|
# resource_group_name: "ResourceGroupName", # required
|
715
|
+
# account_id: "AccountId",
|
665
716
|
# })
|
666
717
|
#
|
667
718
|
# @example Response structure
|
668
719
|
#
|
720
|
+
# resp.application_info.account_id #=> String
|
669
721
|
# resp.application_info.resource_group_name #=> String
|
670
722
|
# resp.application_info.life_cycle #=> String
|
671
723
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
@@ -693,6 +745,9 @@ module Aws::ApplicationInsights
|
|
693
745
|
# @option params [required, String] :component_name
|
694
746
|
# The name of the component.
|
695
747
|
#
|
748
|
+
# @option params [String] :account_id
|
749
|
+
# The AWS account ID for the resource group owner.
|
750
|
+
#
|
696
751
|
# @return [Types::DescribeComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
697
752
|
#
|
698
753
|
# * {Types::DescribeComponentResponse#application_component #application_component} => Types::ApplicationComponent
|
@@ -703,6 +758,7 @@ module Aws::ApplicationInsights
|
|
703
758
|
# resp = client.describe_component({
|
704
759
|
# resource_group_name: "ResourceGroupName", # required
|
705
760
|
# component_name: "ComponentName", # required
|
761
|
+
# account_id: "AccountId",
|
706
762
|
# })
|
707
763
|
#
|
708
764
|
# @example Response structure
|
@@ -711,7 +767,7 @@ module Aws::ApplicationInsights
|
|
711
767
|
# resp.application_component.component_remarks #=> String
|
712
768
|
# resp.application_component.resource_type #=> String
|
713
769
|
# resp.application_component.os_type #=> String, one of "WINDOWS", "LINUX"
|
714
|
-
# 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"
|
715
771
|
# resp.application_component.monitor #=> Boolean
|
716
772
|
# resp.application_component.detected_workload #=> Hash
|
717
773
|
# resp.application_component.detected_workload["Tier"] #=> Hash
|
@@ -736,6 +792,9 @@ module Aws::ApplicationInsights
|
|
736
792
|
# @option params [required, String] :component_name
|
737
793
|
# The name of the component.
|
738
794
|
#
|
795
|
+
# @option params [String] :account_id
|
796
|
+
# The AWS account ID for the resource group owner.
|
797
|
+
#
|
739
798
|
# @return [Types::DescribeComponentConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
740
799
|
#
|
741
800
|
# * {Types::DescribeComponentConfigurationResponse#monitor #monitor} => Boolean
|
@@ -747,12 +806,13 @@ module Aws::ApplicationInsights
|
|
747
806
|
# resp = client.describe_component_configuration({
|
748
807
|
# resource_group_name: "ResourceGroupName", # required
|
749
808
|
# component_name: "ComponentName", # required
|
809
|
+
# account_id: "AccountId",
|
750
810
|
# })
|
751
811
|
#
|
752
812
|
# @example Response structure
|
753
813
|
#
|
754
814
|
# resp.monitor #=> Boolean
|
755
|
-
# 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"
|
756
816
|
# resp.component_configuration #=> String
|
757
817
|
#
|
758
818
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfiguration AWS API Documentation
|
@@ -775,6 +835,9 @@ module Aws::ApplicationInsights
|
|
775
835
|
# @option params [required, String] :tier
|
776
836
|
# The tier of the application component.
|
777
837
|
#
|
838
|
+
# @option params [String] :recommendation_type
|
839
|
+
# The recommended configuration type.
|
840
|
+
#
|
778
841
|
# @return [Types::DescribeComponentConfigurationRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
779
842
|
#
|
780
843
|
# * {Types::DescribeComponentConfigurationRecommendationResponse#component_configuration #component_configuration} => String
|
@@ -784,7 +847,8 @@ module Aws::ApplicationInsights
|
|
784
847
|
# resp = client.describe_component_configuration_recommendation({
|
785
848
|
# resource_group_name: "ResourceGroupName", # required
|
786
849
|
# component_name: "ComponentName", # required
|
787
|
-
# 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
|
788
852
|
# })
|
789
853
|
#
|
790
854
|
# @example Response structure
|
@@ -811,9 +875,13 @@ module Aws::ApplicationInsights
|
|
811
875
|
# @option params [required, String] :pattern_name
|
812
876
|
# The name of the log pattern.
|
813
877
|
#
|
878
|
+
# @option params [String] :account_id
|
879
|
+
# The AWS account ID for the resource group owner.
|
880
|
+
#
|
814
881
|
# @return [Types::DescribeLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
815
882
|
#
|
816
883
|
# * {Types::DescribeLogPatternResponse#resource_group_name #resource_group_name} => String
|
884
|
+
# * {Types::DescribeLogPatternResponse#account_id #account_id} => String
|
817
885
|
# * {Types::DescribeLogPatternResponse#log_pattern #log_pattern} => Types::LogPattern
|
818
886
|
#
|
819
887
|
# @example Request syntax with placeholder values
|
@@ -822,11 +890,13 @@ module Aws::ApplicationInsights
|
|
822
890
|
# resource_group_name: "ResourceGroupName", # required
|
823
891
|
# pattern_set_name: "LogPatternSetName", # required
|
824
892
|
# pattern_name: "LogPatternName", # required
|
893
|
+
# account_id: "AccountId",
|
825
894
|
# })
|
826
895
|
#
|
827
896
|
# @example Response structure
|
828
897
|
#
|
829
898
|
# resp.resource_group_name #=> String
|
899
|
+
# resp.account_id #=> String
|
830
900
|
# resp.log_pattern.pattern_set_name #=> String
|
831
901
|
# resp.log_pattern.pattern_name #=> String
|
832
902
|
# resp.log_pattern.pattern #=> String
|
@@ -846,6 +916,9 @@ module Aws::ApplicationInsights
|
|
846
916
|
# @option params [required, String] :observation_id
|
847
917
|
# The ID of the observation.
|
848
918
|
#
|
919
|
+
# @option params [String] :account_id
|
920
|
+
# The AWS account ID for the resource group owner.
|
921
|
+
#
|
849
922
|
# @return [Types::DescribeObservationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
850
923
|
#
|
851
924
|
# * {Types::DescribeObservationResponse#observation #observation} => Types::Observation
|
@@ -854,6 +927,7 @@ module Aws::ApplicationInsights
|
|
854
927
|
#
|
855
928
|
# resp = client.describe_observation({
|
856
929
|
# observation_id: "ObservationId", # required
|
930
|
+
# account_id: "AccountId",
|
857
931
|
# })
|
858
932
|
#
|
859
933
|
# @example Response structure
|
@@ -918,6 +992,10 @@ module Aws::ApplicationInsights
|
|
918
992
|
# @option params [required, String] :problem_id
|
919
993
|
# The ID of the problem.
|
920
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
|
+
#
|
921
999
|
# @return [Types::DescribeProblemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
922
1000
|
#
|
923
1001
|
# * {Types::DescribeProblemResponse#problem #problem} => Types::Problem
|
@@ -926,6 +1004,7 @@ module Aws::ApplicationInsights
|
|
926
1004
|
#
|
927
1005
|
# resp = client.describe_problem({
|
928
1006
|
# problem_id: "ProblemId", # required
|
1007
|
+
# account_id: "AccountId",
|
929
1008
|
# })
|
930
1009
|
#
|
931
1010
|
# @example Response structure
|
@@ -933,16 +1012,19 @@ module Aws::ApplicationInsights
|
|
933
1012
|
# resp.problem.id #=> String
|
934
1013
|
# resp.problem.title #=> String
|
935
1014
|
# resp.problem.insights #=> String
|
936
|
-
# resp.problem.status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING"
|
1015
|
+
# resp.problem.status #=> String, one of "IGNORE", "RESOLVED", "PENDING", "RECURRING", "RECOVERING"
|
937
1016
|
# resp.problem.affected_resource #=> String
|
938
1017
|
# resp.problem.start_time #=> Time
|
939
1018
|
# resp.problem.end_time #=> Time
|
940
1019
|
# resp.problem.severity_level #=> String, one of "Informative", "Low", "Medium", "High"
|
1020
|
+
# resp.problem.account_id #=> String
|
941
1021
|
# resp.problem.resource_group_name #=> String
|
942
1022
|
# resp.problem.feedback #=> Hash
|
943
1023
|
# resp.problem.feedback["FeedbackKey"] #=> String, one of "NOT_SPECIFIED", "USEFUL", "NOT_USEFUL"
|
944
1024
|
# resp.problem.recurring_count #=> Integer
|
945
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"
|
946
1028
|
#
|
947
1029
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblem AWS API Documentation
|
948
1030
|
#
|
@@ -958,6 +1040,9 @@ module Aws::ApplicationInsights
|
|
958
1040
|
# @option params [required, String] :problem_id
|
959
1041
|
# The ID of the problem.
|
960
1042
|
#
|
1043
|
+
# @option params [String] :account_id
|
1044
|
+
# The AWS account ID for the resource group owner.
|
1045
|
+
#
|
961
1046
|
# @return [Types::DescribeProblemObservationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
962
1047
|
#
|
963
1048
|
# * {Types::DescribeProblemObservationsResponse#related_observations #related_observations} => Types::RelatedObservations
|
@@ -966,6 +1051,7 @@ module Aws::ApplicationInsights
|
|
966
1051
|
#
|
967
1052
|
# resp = client.describe_problem_observations({
|
968
1053
|
# problem_id: "ProblemId", # required
|
1054
|
+
# account_id: "AccountId",
|
969
1055
|
# })
|
970
1056
|
#
|
971
1057
|
# @example Response structure
|
@@ -1026,6 +1112,52 @@ module Aws::ApplicationInsights
|
|
1026
1112
|
req.send_request(options)
|
1027
1113
|
end
|
1028
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
|
+
|
1029
1161
|
# Lists the IDs of the applications that you are monitoring.
|
1030
1162
|
#
|
1031
1163
|
# @option params [Integer] :max_results
|
@@ -1036,6 +1168,9 @@ module Aws::ApplicationInsights
|
|
1036
1168
|
# @option params [String] :next_token
|
1037
1169
|
# The token to request the next page of results.
|
1038
1170
|
#
|
1171
|
+
# @option params [String] :account_id
|
1172
|
+
# The AWS account ID for the resource group owner.
|
1173
|
+
#
|
1039
1174
|
# @return [Types::ListApplicationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1040
1175
|
#
|
1041
1176
|
# * {Types::ListApplicationsResponse#application_info_list #application_info_list} => Array<Types::ApplicationInfo>
|
@@ -1048,11 +1183,13 @@ module Aws::ApplicationInsights
|
|
1048
1183
|
# resp = client.list_applications({
|
1049
1184
|
# max_results: 1,
|
1050
1185
|
# next_token: "PaginationToken",
|
1186
|
+
# account_id: "AccountId",
|
1051
1187
|
# })
|
1052
1188
|
#
|
1053
1189
|
# @example Response structure
|
1054
1190
|
#
|
1055
1191
|
# resp.application_info_list #=> Array
|
1192
|
+
# resp.application_info_list[0].account_id #=> String
|
1056
1193
|
# resp.application_info_list[0].resource_group_name #=> String
|
1057
1194
|
# resp.application_info_list[0].life_cycle #=> String
|
1058
1195
|
# resp.application_info_list[0].ops_item_sns_topic_arn #=> String
|
@@ -1086,6 +1223,9 @@ module Aws::ApplicationInsights
|
|
1086
1223
|
# @option params [String] :next_token
|
1087
1224
|
# The token to request the next page of results.
|
1088
1225
|
#
|
1226
|
+
# @option params [String] :account_id
|
1227
|
+
# The AWS account ID for the resource group owner.
|
1228
|
+
#
|
1089
1229
|
# @return [Types::ListComponentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1090
1230
|
#
|
1091
1231
|
# * {Types::ListComponentsResponse#application_component_list #application_component_list} => Array<Types::ApplicationComponent>
|
@@ -1099,6 +1239,7 @@ module Aws::ApplicationInsights
|
|
1099
1239
|
# resource_group_name: "ResourceGroupName", # required
|
1100
1240
|
# max_results: 1,
|
1101
1241
|
# next_token: "PaginationToken",
|
1242
|
+
# account_id: "AccountId",
|
1102
1243
|
# })
|
1103
1244
|
#
|
1104
1245
|
# @example Response structure
|
@@ -1108,7 +1249,7 @@ module Aws::ApplicationInsights
|
|
1108
1249
|
# resp.application_component_list[0].component_remarks #=> String
|
1109
1250
|
# resp.application_component_list[0].resource_type #=> String
|
1110
1251
|
# resp.application_component_list[0].os_type #=> String, one of "WINDOWS", "LINUX"
|
1111
|
-
# 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"
|
1112
1253
|
# resp.application_component_list[0].monitor #=> Boolean
|
1113
1254
|
# resp.application_component_list[0].detected_workload #=> Hash
|
1114
1255
|
# resp.application_component_list[0].detected_workload["Tier"] #=> Hash
|
@@ -1166,6 +1307,9 @@ module Aws::ApplicationInsights
|
|
1166
1307
|
# from the end of the previous results that returned the `NextToken`
|
1167
1308
|
# value. This value is `null` when there are no more results to return.
|
1168
1309
|
#
|
1310
|
+
# @option params [String] :account_id
|
1311
|
+
# The AWS account ID for the resource group owner.
|
1312
|
+
#
|
1169
1313
|
# @return [Types::ListConfigurationHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1170
1314
|
#
|
1171
1315
|
# * {Types::ListConfigurationHistoryResponse#event_list #event_list} => Array<Types::ConfigurationEvent>
|
@@ -1182,11 +1326,14 @@ module Aws::ApplicationInsights
|
|
1182
1326
|
# event_status: "INFO", # accepts INFO, WARN, ERROR
|
1183
1327
|
# max_results: 1,
|
1184
1328
|
# next_token: "PaginationToken",
|
1329
|
+
# account_id: "AccountId",
|
1185
1330
|
# })
|
1186
1331
|
#
|
1187
1332
|
# @example Response structure
|
1188
1333
|
#
|
1189
1334
|
# resp.event_list #=> Array
|
1335
|
+
# resp.event_list[0].resource_group_name #=> String
|
1336
|
+
# resp.event_list[0].account_id #=> String
|
1190
1337
|
# resp.event_list[0].monitored_resource_arn #=> String
|
1191
1338
|
# resp.event_list[0].event_status #=> String, one of "INFO", "WARN", "ERROR"
|
1192
1339
|
# resp.event_list[0].event_resource_type #=> String, one of "CLOUDWATCH_ALARM", "CLOUDWATCH_LOG", "CLOUDFORMATION", "SSM_ASSOCIATION"
|
@@ -1217,9 +1364,13 @@ module Aws::ApplicationInsights
|
|
1217
1364
|
# @option params [String] :next_token
|
1218
1365
|
# The token to request the next page of results.
|
1219
1366
|
#
|
1367
|
+
# @option params [String] :account_id
|
1368
|
+
# The AWS account ID for the resource group owner.
|
1369
|
+
#
|
1220
1370
|
# @return [Types::ListLogPatternSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1221
1371
|
#
|
1222
1372
|
# * {Types::ListLogPatternSetsResponse#resource_group_name #resource_group_name} => String
|
1373
|
+
# * {Types::ListLogPatternSetsResponse#account_id #account_id} => String
|
1223
1374
|
# * {Types::ListLogPatternSetsResponse#log_pattern_sets #log_pattern_sets} => Array<String>
|
1224
1375
|
# * {Types::ListLogPatternSetsResponse#next_token #next_token} => String
|
1225
1376
|
#
|
@@ -1231,11 +1382,13 @@ module Aws::ApplicationInsights
|
|
1231
1382
|
# resource_group_name: "ResourceGroupName", # required
|
1232
1383
|
# max_results: 1,
|
1233
1384
|
# next_token: "PaginationToken",
|
1385
|
+
# account_id: "AccountId",
|
1234
1386
|
# })
|
1235
1387
|
#
|
1236
1388
|
# @example Response structure
|
1237
1389
|
#
|
1238
1390
|
# resp.resource_group_name #=> String
|
1391
|
+
# resp.account_id #=> String
|
1239
1392
|
# resp.log_pattern_sets #=> Array
|
1240
1393
|
# resp.log_pattern_sets[0] #=> String
|
1241
1394
|
# resp.next_token #=> String
|
@@ -1265,9 +1418,13 @@ module Aws::ApplicationInsights
|
|
1265
1418
|
# @option params [String] :next_token
|
1266
1419
|
# The token to request the next page of results.
|
1267
1420
|
#
|
1421
|
+
# @option params [String] :account_id
|
1422
|
+
# The AWS account ID for the resource group owner.
|
1423
|
+
#
|
1268
1424
|
# @return [Types::ListLogPatternsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1269
1425
|
#
|
1270
1426
|
# * {Types::ListLogPatternsResponse#resource_group_name #resource_group_name} => String
|
1427
|
+
# * {Types::ListLogPatternsResponse#account_id #account_id} => String
|
1271
1428
|
# * {Types::ListLogPatternsResponse#log_patterns #log_patterns} => Array<Types::LogPattern>
|
1272
1429
|
# * {Types::ListLogPatternsResponse#next_token #next_token} => String
|
1273
1430
|
#
|
@@ -1280,11 +1437,13 @@ module Aws::ApplicationInsights
|
|
1280
1437
|
# pattern_set_name: "LogPatternSetName",
|
1281
1438
|
# max_results: 1,
|
1282
1439
|
# next_token: "PaginationToken",
|
1440
|
+
# account_id: "AccountId",
|
1283
1441
|
# })
|
1284
1442
|
#
|
1285
1443
|
# @example Response structure
|
1286
1444
|
#
|
1287
1445
|
# resp.resource_group_name #=> String
|
1446
|
+
# resp.account_id #=> String
|
1288
1447
|
# resp.log_patterns #=> Array
|
1289
1448
|
# resp.log_patterns[0].pattern_set_name #=> String
|
1290
1449
|
# resp.log_patterns[0].pattern_name #=> String
|
@@ -1303,6 +1462,9 @@ module Aws::ApplicationInsights
|
|
1303
1462
|
|
1304
1463
|
# Lists the problems with your application.
|
1305
1464
|
#
|
1465
|
+
# @option params [String] :account_id
|
1466
|
+
# The AWS account ID for the resource group owner.
|
1467
|
+
#
|
1306
1468
|
# @option params [String] :resource_group_name
|
1307
1469
|
# The name of the resource group.
|
1308
1470
|
#
|
@@ -1326,23 +1488,30 @@ module Aws::ApplicationInsights
|
|
1326
1488
|
# @option params [String] :component_name
|
1327
1489
|
# The name of the component.
|
1328
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
|
+
#
|
1329
1495
|
# @return [Types::ListProblemsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1330
1496
|
#
|
1331
1497
|
# * {Types::ListProblemsResponse#problem_list #problem_list} => Array<Types::Problem>
|
1332
1498
|
# * {Types::ListProblemsResponse#next_token #next_token} => String
|
1333
1499
|
# * {Types::ListProblemsResponse#resource_group_name #resource_group_name} => String
|
1500
|
+
# * {Types::ListProblemsResponse#account_id #account_id} => String
|
1334
1501
|
#
|
1335
1502
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1336
1503
|
#
|
1337
1504
|
# @example Request syntax with placeholder values
|
1338
1505
|
#
|
1339
1506
|
# resp = client.list_problems({
|
1507
|
+
# account_id: "AccountId",
|
1340
1508
|
# resource_group_name: "ResourceGroupName",
|
1341
1509
|
# start_time: Time.now,
|
1342
1510
|
# end_time: Time.now,
|
1343
1511
|
# max_results: 1,
|
1344
1512
|
# next_token: "PaginationToken",
|
1345
1513
|
# component_name: "ComponentName",
|
1514
|
+
# visibility: "IGNORED", # accepts IGNORED, VISIBLE
|
1346
1515
|
# })
|
1347
1516
|
#
|
1348
1517
|
# @example Response structure
|
@@ -1351,18 +1520,22 @@ module Aws::ApplicationInsights
|
|
1351
1520
|
# resp.problem_list[0].id #=> String
|
1352
1521
|
# resp.problem_list[0].title #=> String
|
1353
1522
|
# resp.problem_list[0].insights #=> String
|
1354
|
-
# 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"
|
1355
1524
|
# resp.problem_list[0].affected_resource #=> String
|
1356
1525
|
# resp.problem_list[0].start_time #=> Time
|
1357
1526
|
# resp.problem_list[0].end_time #=> Time
|
1358
1527
|
# resp.problem_list[0].severity_level #=> String, one of "Informative", "Low", "Medium", "High"
|
1528
|
+
# resp.problem_list[0].account_id #=> String
|
1359
1529
|
# resp.problem_list[0].resource_group_name #=> String
|
1360
1530
|
# resp.problem_list[0].feedback #=> Hash
|
1361
1531
|
# resp.problem_list[0].feedback["FeedbackKey"] #=> String, one of "NOT_SPECIFIED", "USEFUL", "NOT_USEFUL"
|
1362
1532
|
# resp.problem_list[0].recurring_count #=> Integer
|
1363
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"
|
1364
1536
|
# resp.next_token #=> String
|
1365
1537
|
# resp.resource_group_name #=> String
|
1538
|
+
# resp.account_id #=> String
|
1366
1539
|
#
|
1367
1540
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblems AWS API Documentation
|
1368
1541
|
#
|
@@ -1409,6 +1582,91 @@ module Aws::ApplicationInsights
|
|
1409
1582
|
req.send_request(options)
|
1410
1583
|
end
|
1411
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
|
+
|
1412
1670
|
# Add one or more tags (keys and values) to a specified application. A
|
1413
1671
|
# *tag* is a label that you optionally define and associate with an
|
1414
1672
|
# application. Tags can help you categorize and manage application in
|
@@ -1530,6 +1788,7 @@ module Aws::ApplicationInsights
|
|
1530
1788
|
#
|
1531
1789
|
# @example Response structure
|
1532
1790
|
#
|
1791
|
+
# resp.application_info.account_id #=> String
|
1533
1792
|
# resp.application_info.resource_group_name #=> String
|
1534
1793
|
# resp.application_info.life_cycle #=> String
|
1535
1794
|
# resp.application_info.ops_item_sns_topic_arn #=> String
|
@@ -1625,7 +1884,7 @@ module Aws::ApplicationInsights
|
|
1625
1884
|
# resource_group_name: "ResourceGroupName", # required
|
1626
1885
|
# component_name: "ComponentName", # required
|
1627
1886
|
# monitor: false,
|
1628
|
-
# 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
|
1629
1888
|
# component_configuration: "ComponentConfiguration",
|
1630
1889
|
# auto_config_enabled: false,
|
1631
1890
|
# })
|
@@ -1699,6 +1958,91 @@ module Aws::ApplicationInsights
|
|
1699
1958
|
req.send_request(options)
|
1700
1959
|
end
|
1701
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
|
+
|
1702
2046
|
# @!endgroup
|
1703
2047
|
|
1704
2048
|
# @param params ({})
|
@@ -1712,7 +2056,7 @@ module Aws::ApplicationInsights
|
|
1712
2056
|
params: params,
|
1713
2057
|
config: config)
|
1714
2058
|
context[:gem_name] = 'aws-sdk-applicationinsights'
|
1715
|
-
context[:gem_version] = '1.
|
2059
|
+
context[:gem_version] = '1.39.0'
|
1716
2060
|
Seahorse::Client::Request.new(handlers, context)
|
1717
2061
|
end
|
1718
2062
|
|