aws-sdk-applicationinsights 1.46.0 → 1.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,11 +15,11 @@ module Aws::ApplicationInsights
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::ApplicationInsights::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::ApplicationInsights::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::ApplicationInsights::EndpointParameters`.
22
+ DOCS
23
23
  Aws::ApplicationInsights::EndpointProvider.new
24
24
  end
25
25
 
@@ -27,7 +27,7 @@ module Aws::ApplicationInsights
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::ApplicationInsights::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -40,11 +40,23 @@ module Aws::ApplicationInsights
40
40
  context[:auth_scheme] =
41
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
42
42
 
43
- @handler.call(context)
43
+ with_metrics(context) { @handler.call(context) }
44
44
  end
45
45
 
46
46
  private
47
47
 
48
+ def with_metrics(context, &block)
49
+ metrics = []
50
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
51
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
+ metrics << 'SIGV4A_SIGNING'
53
+ end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
57
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
58
+ end
59
+
48
60
  def apply_endpoint_headers(context, headers)
49
61
  headers.each do |key, values|
50
62
  value = values
@@ -55,77 +67,6 @@ module Aws::ApplicationInsights
55
67
  context.http_request.headers[key] = value
56
68
  end
57
69
  end
58
-
59
- def parameters_for_operation(context)
60
- case context.operation_name
61
- when :add_workload
62
- Aws::ApplicationInsights::Endpoints::AddWorkload.build(context)
63
- when :create_application
64
- Aws::ApplicationInsights::Endpoints::CreateApplication.build(context)
65
- when :create_component
66
- Aws::ApplicationInsights::Endpoints::CreateComponent.build(context)
67
- when :create_log_pattern
68
- Aws::ApplicationInsights::Endpoints::CreateLogPattern.build(context)
69
- when :delete_application
70
- Aws::ApplicationInsights::Endpoints::DeleteApplication.build(context)
71
- when :delete_component
72
- Aws::ApplicationInsights::Endpoints::DeleteComponent.build(context)
73
- when :delete_log_pattern
74
- Aws::ApplicationInsights::Endpoints::DeleteLogPattern.build(context)
75
- when :describe_application
76
- Aws::ApplicationInsights::Endpoints::DescribeApplication.build(context)
77
- when :describe_component
78
- Aws::ApplicationInsights::Endpoints::DescribeComponent.build(context)
79
- when :describe_component_configuration
80
- Aws::ApplicationInsights::Endpoints::DescribeComponentConfiguration.build(context)
81
- when :describe_component_configuration_recommendation
82
- Aws::ApplicationInsights::Endpoints::DescribeComponentConfigurationRecommendation.build(context)
83
- when :describe_log_pattern
84
- Aws::ApplicationInsights::Endpoints::DescribeLogPattern.build(context)
85
- when :describe_observation
86
- Aws::ApplicationInsights::Endpoints::DescribeObservation.build(context)
87
- when :describe_problem
88
- Aws::ApplicationInsights::Endpoints::DescribeProblem.build(context)
89
- when :describe_problem_observations
90
- Aws::ApplicationInsights::Endpoints::DescribeProblemObservations.build(context)
91
- when :describe_workload
92
- Aws::ApplicationInsights::Endpoints::DescribeWorkload.build(context)
93
- when :list_applications
94
- Aws::ApplicationInsights::Endpoints::ListApplications.build(context)
95
- when :list_components
96
- Aws::ApplicationInsights::Endpoints::ListComponents.build(context)
97
- when :list_configuration_history
98
- Aws::ApplicationInsights::Endpoints::ListConfigurationHistory.build(context)
99
- when :list_log_pattern_sets
100
- Aws::ApplicationInsights::Endpoints::ListLogPatternSets.build(context)
101
- when :list_log_patterns
102
- Aws::ApplicationInsights::Endpoints::ListLogPatterns.build(context)
103
- when :list_problems
104
- Aws::ApplicationInsights::Endpoints::ListProblems.build(context)
105
- when :list_tags_for_resource
106
- Aws::ApplicationInsights::Endpoints::ListTagsForResource.build(context)
107
- when :list_workloads
108
- Aws::ApplicationInsights::Endpoints::ListWorkloads.build(context)
109
- when :remove_workload
110
- Aws::ApplicationInsights::Endpoints::RemoveWorkload.build(context)
111
- when :tag_resource
112
- Aws::ApplicationInsights::Endpoints::TagResource.build(context)
113
- when :untag_resource
114
- Aws::ApplicationInsights::Endpoints::UntagResource.build(context)
115
- when :update_application
116
- Aws::ApplicationInsights::Endpoints::UpdateApplication.build(context)
117
- when :update_component
118
- Aws::ApplicationInsights::Endpoints::UpdateComponent.build(context)
119
- when :update_component_configuration
120
- Aws::ApplicationInsights::Endpoints::UpdateComponentConfiguration.build(context)
121
- when :update_log_pattern
122
- Aws::ApplicationInsights::Endpoints::UpdateLogPattern.build(context)
123
- when :update_problem
124
- Aws::ApplicationInsights::Endpoints::UpdateProblem.build(context)
125
- when :update_workload
126
- Aws::ApplicationInsights::Endpoints::UpdateWorkload.build(context)
127
- end
128
- end
129
70
  end
130
71
 
131
72
  def add_handlers(handlers, _config)
@@ -114,7 +114,7 @@ module Aws::ApplicationInsights
114
114
  # Describes the status of the application.
115
115
  #
116
116
  # @!attribute [rw] account_id
117
- # The AWS account ID for the owner of the application.
117
+ # The Amazon Web Services account ID for the owner of the application.
118
118
  # @return [String]
119
119
  #
120
120
  # @!attribute [rw] resource_group_name
@@ -131,6 +131,11 @@ module Aws::ApplicationInsights
131
131
  # updates.
132
132
  # @return [String]
133
133
  #
134
+ # @!attribute [rw] sns_notification_arn
135
+ # The SNS topic ARN that is associated with SNS notifications for
136
+ # updates or issues.
137
+ # @return [String]
138
+ #
134
139
  # @!attribute [rw] ops_center_enabled
135
140
  # Indicates whether Application Insights will create opsItems for any
136
141
  # problem detected by Application Insights for an application.
@@ -172,6 +177,7 @@ module Aws::ApplicationInsights
172
177
  :resource_group_name,
173
178
  :life_cycle,
174
179
  :ops_item_sns_topic_arn,
180
+ :sns_notification_arn,
175
181
  :ops_center_enabled,
176
182
  :cwe_monitor_enabled,
177
183
  :remarks,
@@ -203,8 +209,8 @@ module Aws::ApplicationInsights
203
209
  # @return [String]
204
210
  #
205
211
  # @!attribute [rw] account_id
206
- # The AWS account ID for the owner of the application to which the
207
- # configuration event belongs.
212
+ # The Amazon Web Services account ID for the owner of the application
213
+ # to which the configuration event belongs.
208
214
  # @return [String]
209
215
  #
210
216
  # @!attribute [rw] monitored_resource_arn
@@ -270,6 +276,10 @@ module Aws::ApplicationInsights
270
276
  # to the opsItem.
271
277
  # @return [String]
272
278
  #
279
+ # @!attribute [rw] sns_notification_arn
280
+ # The SNS notification topic ARN.
281
+ # @return [String]
282
+ #
273
283
  # @!attribute [rw] tags
274
284
  # List of tags to add to the application. tag key (`Key`) and an
275
285
  # associated tag value (`Value`). The maximum length of a tag key is
@@ -305,6 +315,7 @@ module Aws::ApplicationInsights
305
315
  :ops_center_enabled,
306
316
  :cwe_monitor_enabled,
307
317
  :ops_item_sns_topic_arn,
318
+ :sns_notification_arn,
308
319
  :tags,
309
320
  :auto_config_enabled,
310
321
  :auto_create,
@@ -380,7 +391,8 @@ module Aws::ApplicationInsights
380
391
  # pattern translates to a `750,000` rank. A `Medium` severity pattern
381
392
  # translates to a `500,000` rank. And a `High` severity pattern
382
393
  # translates to a `250,000` rank. Rank values less than `1` or greater
383
- # than `1,000,000` are reserved for AWS-provided patterns.
394
+ # than `1,000,000` are reserved for Amazon Web Services provided
395
+ # patterns.
384
396
  # @return [Integer]
385
397
  #
386
398
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateLogPatternRequest AWS API Documentation
@@ -480,7 +492,7 @@ module Aws::ApplicationInsights
480
492
  # @return [String]
481
493
  #
482
494
  # @!attribute [rw] account_id
483
- # The AWS account ID for the resource group owner.
495
+ # The Amazon Web Services account ID for the resource group owner.
484
496
  # @return [String]
485
497
  #
486
498
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplicationRequest AWS API Documentation
@@ -517,7 +529,9 @@ module Aws::ApplicationInsights
517
529
  # @return [String]
518
530
  #
519
531
  # @!attribute [rw] workload_name
520
- # The name of the workload.
532
+ # The name of the workload. The name of the workload is required when
533
+ # the tier of the application component is `SAP_ASE_SINGLE_NODE` or
534
+ # `SAP_ASE_HIGH_AVAILABILITY`.
521
535
  # @return [String]
522
536
  #
523
537
  # @!attribute [rw] recommendation_type
@@ -558,7 +572,7 @@ module Aws::ApplicationInsights
558
572
  # @return [String]
559
573
  #
560
574
  # @!attribute [rw] account_id
561
- # The AWS account ID for the resource group owner.
575
+ # The Amazon Web Services account ID for the resource group owner.
562
576
  # @return [String]
563
577
  #
564
578
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfigurationRequest AWS API Documentation
@@ -605,7 +619,7 @@ module Aws::ApplicationInsights
605
619
  # @return [String]
606
620
  #
607
621
  # @!attribute [rw] account_id
608
- # The AWS account ID for the resource group owner.
622
+ # The Amazon Web Services account ID for the resource group owner.
609
623
  # @return [String]
610
624
  #
611
625
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentRequest AWS API Documentation
@@ -649,7 +663,7 @@ module Aws::ApplicationInsights
649
663
  # @return [String]
650
664
  #
651
665
  # @!attribute [rw] account_id
652
- # The AWS account ID for the resource group owner.
666
+ # The Amazon Web Services account ID for the resource group owner.
653
667
  # @return [String]
654
668
  #
655
669
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeLogPatternRequest AWS API Documentation
@@ -668,7 +682,7 @@ module Aws::ApplicationInsights
668
682
  # @return [String]
669
683
  #
670
684
  # @!attribute [rw] account_id
671
- # The AWS account ID for the resource group owner.
685
+ # The Amazon Web Services account ID for the resource group owner.
672
686
  # @return [String]
673
687
  #
674
688
  # @!attribute [rw] log_pattern
@@ -690,7 +704,7 @@ module Aws::ApplicationInsights
690
704
  # @return [String]
691
705
  #
692
706
  # @!attribute [rw] account_id
693
- # The AWS account ID for the resource group owner.
707
+ # The Amazon Web Services account ID for the resource group owner.
694
708
  # @return [String]
695
709
  #
696
710
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeObservationRequest AWS API Documentation
@@ -719,7 +733,7 @@ module Aws::ApplicationInsights
719
733
  # @return [String]
720
734
  #
721
735
  # @!attribute [rw] account_id
722
- # The AWS account ID for the resource group owner.
736
+ # The Amazon Web Services account ID for the resource group owner.
723
737
  # @return [String]
724
738
  #
725
739
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemObservationsRequest AWS API Documentation
@@ -748,8 +762,8 @@ module Aws::ApplicationInsights
748
762
  # @return [String]
749
763
  #
750
764
  # @!attribute [rw] account_id
751
- # The AWS account ID for the owner of the resource group affected by
752
- # the problem.
765
+ # The Amazon Web Services account ID for the owner of the resource
766
+ # group affected by the problem.
753
767
  # @return [String]
754
768
  #
755
769
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemRequest AWS API Documentation
@@ -765,10 +779,15 @@ module Aws::ApplicationInsights
765
779
  # Information about the problem.
766
780
  # @return [Types::Problem]
767
781
  #
782
+ # @!attribute [rw] sns_notification_arn
783
+ # The SNS notification topic ARN of the problem.
784
+ # @return [String]
785
+ #
768
786
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemResponse AWS API Documentation
769
787
  #
770
788
  class DescribeProblemResponse < Struct.new(
771
- :problem)
789
+ :problem,
790
+ :sns_notification_arn)
772
791
  SENSITIVE = []
773
792
  include Aws::Structure
774
793
  end
@@ -786,7 +805,7 @@ module Aws::ApplicationInsights
786
805
  # @return [String]
787
806
  #
788
807
  # @!attribute [rw] account_id
789
- # The AWS account ID for the workload owner.
808
+ # The Amazon Web Services account ID for the workload owner.
790
809
  # @return [String]
791
810
  #
792
811
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeWorkloadRequest AWS API Documentation
@@ -849,7 +868,7 @@ module Aws::ApplicationInsights
849
868
  # @return [String]
850
869
  #
851
870
  # @!attribute [rw] account_id
852
- # The AWS account ID for the resource group owner.
871
+ # The Amazon Web Services account ID for the resource group owner.
853
872
  # @return [String]
854
873
  #
855
874
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplicationsRequest AWS API Documentation
@@ -895,7 +914,7 @@ module Aws::ApplicationInsights
895
914
  # @return [String]
896
915
  #
897
916
  # @!attribute [rw] account_id
898
- # The AWS account ID for the resource group owner.
917
+ # The Amazon Web Services account ID for the resource group owner.
899
918
  # @return [String]
900
919
  #
901
920
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListComponentsRequest AWS API Documentation
@@ -964,7 +983,7 @@ module Aws::ApplicationInsights
964
983
  # @return [String]
965
984
  #
966
985
  # @!attribute [rw] account_id
967
- # The AWS account ID for the resource group owner.
986
+ # The Amazon Web Services account ID for the resource group owner.
968
987
  # @return [String]
969
988
  #
970
989
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListConfigurationHistoryRequest AWS API Documentation
@@ -1017,7 +1036,7 @@ module Aws::ApplicationInsights
1017
1036
  # @return [String]
1018
1037
  #
1019
1038
  # @!attribute [rw] account_id
1020
- # The AWS account ID for the resource group owner.
1039
+ # The Amazon Web Services account ID for the resource group owner.
1021
1040
  # @return [String]
1022
1041
  #
1023
1042
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatternSetsRequest AWS API Documentation
@@ -1036,7 +1055,7 @@ module Aws::ApplicationInsights
1036
1055
  # @return [String]
1037
1056
  #
1038
1057
  # @!attribute [rw] account_id
1039
- # The AWS account ID for the resource group owner.
1058
+ # The Amazon Web Services account ID for the resource group owner.
1040
1059
  # @return [String]
1041
1060
  #
1042
1061
  # @!attribute [rw] log_pattern_sets
@@ -1078,7 +1097,7 @@ module Aws::ApplicationInsights
1078
1097
  # @return [String]
1079
1098
  #
1080
1099
  # @!attribute [rw] account_id
1081
- # The AWS account ID for the resource group owner.
1100
+ # The Amazon Web Services account ID for the resource group owner.
1082
1101
  # @return [String]
1083
1102
  #
1084
1103
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatternsRequest AWS API Documentation
@@ -1098,7 +1117,7 @@ module Aws::ApplicationInsights
1098
1117
  # @return [String]
1099
1118
  #
1100
1119
  # @!attribute [rw] account_id
1101
- # The AWS account ID for the resource group owner.
1120
+ # The Amazon Web Services account ID for the resource group owner.
1102
1121
  # @return [String]
1103
1122
  #
1104
1123
  # @!attribute [rw] log_patterns
@@ -1122,7 +1141,7 @@ module Aws::ApplicationInsights
1122
1141
  end
1123
1142
 
1124
1143
  # @!attribute [rw] account_id
1125
- # The AWS account ID for the resource group owner.
1144
+ # The Amazon Web Services account ID for the resource group owner.
1126
1145
  # @return [String]
1127
1146
  #
1128
1147
  # @!attribute [rw] resource_group_name
@@ -1188,7 +1207,7 @@ module Aws::ApplicationInsights
1188
1207
  # @return [String]
1189
1208
  #
1190
1209
  # @!attribute [rw] account_id
1191
- # The AWS account ID for the resource group owner.
1210
+ # The Amazon Web Services account ID for the resource group owner.
1192
1211
  # @return [String]
1193
1212
  #
1194
1213
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblemsResponse AWS API Documentation
@@ -1248,7 +1267,7 @@ module Aws::ApplicationInsights
1248
1267
  # @return [String]
1249
1268
  #
1250
1269
  # @!attribute [rw] account_id
1251
- # The AWS account ID of the owner of the workload.
1270
+ # The Amazon Web Services account ID of the owner of the workload.
1252
1271
  # @return [String]
1253
1272
  #
1254
1273
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListWorkloadsRequest AWS API Documentation
@@ -1314,7 +1333,8 @@ module Aws::ApplicationInsights
1314
1333
  # pattern translates to a `750,000` rank. A `Medium` severity pattern
1315
1334
  # translates to a `500,000` rank. And a `High` severity pattern
1316
1335
  # translates to a `250,000` rank. Rank values less than `1` or greater
1317
- # than `1,000,000` are reserved for AWS-provided patterns.
1336
+ # than `1,000,000` are reserved for Amazon Web Services provided
1337
+ # patterns.
1318
1338
  # @return [Integer]
1319
1339
  #
1320
1340
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/LogPattern AWS API Documentation
@@ -1398,26 +1418,26 @@ module Aws::ApplicationInsights
1398
1418
  # @return [String]
1399
1419
  #
1400
1420
  # @!attribute [rw] health_event_arn
1401
- # The Amazon Resource Name (ARN) of the AWS Health Event-based
1421
+ # The Amazon Resource Name (ARN) of the Health Event-based
1402
1422
  # observation.
1403
1423
  # @return [String]
1404
1424
  #
1405
1425
  # @!attribute [rw] health_service
1406
- # The service to which the AWS Health Event belongs, such as EC2.
1426
+ # The service to which the Health Event belongs, such as EC2.
1407
1427
  # @return [String]
1408
1428
  #
1409
1429
  # @!attribute [rw] health_event_type_code
1410
- # The type of the AWS Health event, for example,
1430
+ # The type of the Health event, for example,
1411
1431
  # `AWS_EC2_POWER_CONNECTIVITY_ISSUE`.
1412
1432
  # @return [String]
1413
1433
  #
1414
1434
  # @!attribute [rw] health_event_type_category
1415
- # The category of the AWS Health event, such as `issue`.
1435
+ # The category of the Health event, such as `issue`.
1416
1436
  # @return [String]
1417
1437
  #
1418
1438
  # @!attribute [rw] health_event_description
1419
- # The description of the AWS Health event provided by the service,
1420
- # such as Amazon EC2.
1439
+ # The description of the Health event provided by the service, such as
1440
+ # Amazon EC2.
1421
1441
  # @return [String]
1422
1442
  #
1423
1443
  # @!attribute [rw] code_deploy_deployment_id
@@ -1584,6 +1604,10 @@ module Aws::ApplicationInsights
1584
1604
  # The name of the problem.
1585
1605
  # @return [String]
1586
1606
  #
1607
+ # @!attribute [rw] short_name
1608
+ # The short name of the problem associated with the SNS notification.
1609
+ # @return [String]
1610
+ #
1587
1611
  # @!attribute [rw] insights
1588
1612
  # A detailed analysis of the problem using machine learning.
1589
1613
  # @return [String]
@@ -1609,8 +1633,8 @@ module Aws::ApplicationInsights
1609
1633
  # @return [String]
1610
1634
  #
1611
1635
  # @!attribute [rw] account_id
1612
- # The AWS account ID for the owner of the resource group affected by
1613
- # the problem.
1636
+ # The Amazon Web Services account ID for the owner of the resource
1637
+ # group affected by the problem.
1614
1638
  # @return [String]
1615
1639
  #
1616
1640
  # @!attribute [rw] resource_group_name
@@ -1647,6 +1671,7 @@ module Aws::ApplicationInsights
1647
1671
  class Problem < Struct.new(
1648
1672
  :id,
1649
1673
  :title,
1674
+ :short_name,
1650
1675
  :insights,
1651
1676
  :status,
1652
1677
  :affected_resource,
@@ -1750,9 +1775,9 @@ module Aws::ApplicationInsights
1750
1775
  # * For each associated resource, each tag key must be unique and it can
1751
1776
  # have only one value.
1752
1777
  #
1753
- # * The `aws:` prefix is reserved for use by AWS; you can’t use it in
1754
- # any tag keys or values that you define. In addition, you can't edit
1755
- # or remove tag keys or values that use this prefix.
1778
+ # * The `aws:` prefix is reserved for use by Amazon Web Services; you
1779
+ # can’t use it in any tag keys or values that you define. In addition,
1780
+ # you can't edit or remove tag keys or values that use this prefix.
1756
1781
  #
1757
1782
  # @!attribute [rw] key
1758
1783
  # One part of a key-value pair that defines a tag. The maximum length
@@ -1882,6 +1907,11 @@ module Aws::ApplicationInsights
1882
1907
  # to the opsItem.
1883
1908
  # @return [String]
1884
1909
  #
1910
+ # @!attribute [rw] sns_notification_arn
1911
+ # The SNS topic ARN. Allows you to receive SNS notifications for
1912
+ # updates and issues with an application.
1913
+ # @return [String]
1914
+ #
1885
1915
  # @!attribute [rw] remove_sns_topic
1886
1916
  # Disassociates the SNS topic from the opsItem created for detected
1887
1917
  # problems.
@@ -1903,6 +1933,7 @@ module Aws::ApplicationInsights
1903
1933
  :ops_center_enabled,
1904
1934
  :cwe_monitor_enabled,
1905
1935
  :ops_item_sns_topic_arn,
1936
+ :sns_notification_arn,
1906
1937
  :remove_sns_topic,
1907
1938
  :auto_config_enabled,
1908
1939
  :attach_missing_permission)
@@ -2034,7 +2065,8 @@ module Aws::ApplicationInsights
2034
2065
  # pattern translates to a `750,000` rank. A `Medium` severity pattern
2035
2066
  # translates to a `500,000` rank. And a `High` severity pattern
2036
2067
  # translates to a `250,000` rank. Rank values less than `1` or greater
2037
- # than `1,000,000` are reserved for AWS-provided patterns.
2068
+ # than `1,000,000` are reserved for Amazon Web Services provided
2069
+ # patterns.
2038
2070
  # @return [Integer]
2039
2071
  #
2040
2072
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateLogPatternRequest AWS API Documentation
@@ -2178,6 +2210,11 @@ module Aws::ApplicationInsights
2178
2210
  # component has configured logs to be monitored.
2179
2211
  # @return [String]
2180
2212
  #
2213
+ # @!attribute [rw] missing_workload_config
2214
+ # Indicates whether all of the component configurations required to
2215
+ # monitor a workload were provided.
2216
+ # @return [Boolean]
2217
+ #
2181
2218
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/Workload AWS API Documentation
2182
2219
  #
2183
2220
  class Workload < Struct.new(
@@ -2185,7 +2222,8 @@ module Aws::ApplicationInsights
2185
2222
  :component_name,
2186
2223
  :workload_name,
2187
2224
  :tier,
2188
- :workload_remarks)
2225
+ :workload_remarks,
2226
+ :missing_workload_config)
2189
2227
  SENSITIVE = []
2190
2228
  include Aws::Structure
2191
2229
  end
@@ -2216,3 +2254,4 @@ module Aws::ApplicationInsights
2216
2254
 
2217
2255
  end
2218
2256
  end
2257
+
@@ -11,16 +11,7 @@
11
11
  require 'aws-sdk-core'
12
12
  require 'aws-sigv4'
13
13
 
14
- require_relative 'aws-sdk-applicationinsights/types'
15
- require_relative 'aws-sdk-applicationinsights/client_api'
16
- require_relative 'aws-sdk-applicationinsights/plugins/endpoints.rb'
17
- require_relative 'aws-sdk-applicationinsights/client'
18
- require_relative 'aws-sdk-applicationinsights/errors'
19
- require_relative 'aws-sdk-applicationinsights/resource'
20
- require_relative 'aws-sdk-applicationinsights/endpoint_parameters'
21
- require_relative 'aws-sdk-applicationinsights/endpoint_provider'
22
- require_relative 'aws-sdk-applicationinsights/endpoints'
23
- require_relative 'aws-sdk-applicationinsights/customizations'
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:applicationinsights)
24
15
 
25
16
  # This module provides support for Amazon CloudWatch Application Insights. This module is available in the
26
17
  # `aws-sdk-applicationinsights` gem.
@@ -51,7 +42,20 @@ require_relative 'aws-sdk-applicationinsights/customizations'
51
42
  #
52
43
  # @!group service
53
44
  module Aws::ApplicationInsights
45
+ autoload :Types, 'aws-sdk-applicationinsights/types'
46
+ autoload :ClientApi, 'aws-sdk-applicationinsights/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-applicationinsights/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-applicationinsights/client'
51
+ autoload :Errors, 'aws-sdk-applicationinsights/errors'
52
+ autoload :Resource, 'aws-sdk-applicationinsights/resource'
53
+ autoload :EndpointParameters, 'aws-sdk-applicationinsights/endpoint_parameters'
54
+ autoload :EndpointProvider, 'aws-sdk-applicationinsights/endpoint_provider'
55
+ autoload :Endpoints, 'aws-sdk-applicationinsights/endpoints'
54
56
 
55
- GEM_VERSION = '1.46.0'
57
+ GEM_VERSION = '1.82.0'
56
58
 
57
59
  end
60
+
61
+ require_relative 'aws-sdk-applicationinsights/customizations'