aws-sdk-applicationinsights 1.12.0 → 1.17.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/lib/aws-sdk-applicationinsights.rb +3 -2
- data/lib/aws-sdk-applicationinsights/client.rb +93 -24
- data/lib/aws-sdk-applicationinsights/client_api.rb +46 -5
- data/lib/aws-sdk-applicationinsights/errors.rb +16 -0
- data/lib/aws-sdk-applicationinsights/types.rb +138 -17
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08fadcd9ab233b6fad24aaf69958cb971c2a74e3fc83b1488291c0807f8803ff'
|
4
|
+
data.tar.gz: 37ccb228f6b360e1d7f09a6bb31057a337cf6a899cafaafa65e41b05a267b8a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a46250ffd5328f98d41a4e41bf37778ff1430d66e011e9ea16ed47e8bf92b96853886eed0b58894b1641fa401a6191d7ec83f3338789783861f70be54b93010b
|
7
|
+
data.tar.gz: 38dcaffd9a7ea5259059d35d88b35fe3b3b9cf0b27460f42bb9bea626015a34ab165d5fdf065a6b8eb3ab88e649d42737628eeb994563aa0a60b79c2d1ebfe7b
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-applicationinsights/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::ApplicationInsights
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.17.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::ApplicationInsights
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::ApplicationInsights
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -401,7 +416,7 @@ module Aws::ApplicationInsights
|
|
401
416
|
#
|
402
417
|
# resp = client.create_component({
|
403
418
|
# resource_group_name: "ResourceGroupName", # required
|
404
|
-
# component_name: "
|
419
|
+
# component_name: "CustomComponentName", # required
|
405
420
|
# resource_list: ["ResourceARN"], # required
|
406
421
|
# })
|
407
422
|
#
|
@@ -426,10 +441,21 @@ module Aws::ApplicationInsights
|
|
426
441
|
# The name of the log pattern.
|
427
442
|
#
|
428
443
|
# @option params [required, String] :pattern
|
429
|
-
# The log pattern.
|
444
|
+
# The log pattern. The pattern must be DFA compatible. Patterns that
|
445
|
+
# utilize forward lookahead or backreference constructions are not
|
446
|
+
# supported.
|
430
447
|
#
|
431
448
|
# @option params [required, Integer] :rank
|
432
|
-
# Rank of the log pattern.
|
449
|
+
# Rank of the log pattern. Must be a value between `1` and `1,000,000`.
|
450
|
+
# The patterns are sorted by rank, so we recommend that you set your
|
451
|
+
# highest priority patterns with the lowest rank. A pattern of rank `1`
|
452
|
+
# will be the first to get matched to a log line. A pattern of rank
|
453
|
+
# `1,000,000` will be last to get matched. When you configure custom log
|
454
|
+
# patterns from the console, a `Low` severity pattern translates to a
|
455
|
+
# `750,000` rank. A `Medium` severity pattern translates to a `500,000`
|
456
|
+
# rank. And a `High` severity pattern translates to a `250,000` rank.
|
457
|
+
# Rank values less than `1` or greater than `1,000,000` are reserved for
|
458
|
+
# AWS-provided patterns.
|
433
459
|
#
|
434
460
|
# @return [Types::CreateLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
435
461
|
#
|
@@ -502,7 +528,7 @@ module Aws::ApplicationInsights
|
|
502
528
|
#
|
503
529
|
# resp = client.delete_component({
|
504
530
|
# resource_group_name: "ResourceGroupName", # required
|
505
|
-
# component_name: "
|
531
|
+
# component_name: "CustomComponentName", # required
|
506
532
|
# })
|
507
533
|
#
|
508
534
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteComponent AWS API Documentation
|
@@ -601,9 +627,14 @@ module Aws::ApplicationInsights
|
|
601
627
|
# @example Response structure
|
602
628
|
#
|
603
629
|
# resp.application_component.component_name #=> String
|
630
|
+
# resp.application_component.component_remarks #=> String
|
604
631
|
# resp.application_component.resource_type #=> String
|
605
|
-
# resp.application_component.
|
632
|
+
# resp.application_component.os_type #=> String, one of "WINDOWS", "LINUX"
|
633
|
+
# 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"
|
606
634
|
# resp.application_component.monitor #=> Boolean
|
635
|
+
# resp.application_component.detected_workload #=> Hash
|
636
|
+
# resp.application_component.detected_workload["Tier"] #=> Hash
|
637
|
+
# resp.application_component.detected_workload["Tier"]["MetaDataKey"] #=> String
|
607
638
|
# resp.resource_list #=> Array
|
608
639
|
# resp.resource_list[0] #=> String
|
609
640
|
#
|
@@ -640,7 +671,7 @@ module Aws::ApplicationInsights
|
|
640
671
|
# @example Response structure
|
641
672
|
#
|
642
673
|
# resp.monitor #=> Boolean
|
643
|
-
# resp.tier #=> String, one of "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB", "SQL_SERVER"
|
674
|
+
# 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"
|
644
675
|
# resp.component_configuration #=> String
|
645
676
|
#
|
646
677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfiguration AWS API Documentation
|
@@ -674,7 +705,7 @@ module Aws::ApplicationInsights
|
|
674
705
|
# resp = client.describe_component_configuration_recommendation({
|
675
706
|
# resource_group_name: "ResourceGroupName", # required
|
676
707
|
# component_name: "ComponentName", # required
|
677
|
-
# tier: "
|
708
|
+
# 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
|
678
709
|
# })
|
679
710
|
#
|
680
711
|
# @example Response structure
|
@@ -762,7 +793,7 @@ module Aws::ApplicationInsights
|
|
762
793
|
# resp.observation.unit #=> String
|
763
794
|
# resp.observation.value #=> Float
|
764
795
|
# resp.observation.cloud_watch_event_id #=> String
|
765
|
-
# resp.observation.cloud_watch_event_source #=> String, one of "EC2", "CODE_DEPLOY", "HEALTH"
|
796
|
+
# resp.observation.cloud_watch_event_source #=> String, one of "EC2", "CODE_DEPLOY", "HEALTH", "RDS"
|
766
797
|
# resp.observation.cloud_watch_event_detail_type #=> String
|
767
798
|
# resp.observation.health_event_arn #=> String
|
768
799
|
# resp.observation.health_service #=> String
|
@@ -775,6 +806,17 @@ module Aws::ApplicationInsights
|
|
775
806
|
# resp.observation.code_deploy_application #=> String
|
776
807
|
# resp.observation.code_deploy_instance_group_id #=> String
|
777
808
|
# resp.observation.ec2_state #=> String
|
809
|
+
# resp.observation.rds_event_categories #=> String
|
810
|
+
# resp.observation.rds_event_message #=> String
|
811
|
+
# resp.observation.s3_event_name #=> String
|
812
|
+
# resp.observation.states_execution_arn #=> String
|
813
|
+
# resp.observation.states_arn #=> String
|
814
|
+
# resp.observation.states_status #=> String
|
815
|
+
# resp.observation.states_input #=> String
|
816
|
+
# resp.observation.ebs_event #=> String
|
817
|
+
# resp.observation.ebs_result #=> String
|
818
|
+
# resp.observation.ebs_cause #=> String
|
819
|
+
# resp.observation.ebs_request_id #=> String
|
778
820
|
# resp.observation.x_ray_fault_percent #=> Integer
|
779
821
|
# resp.observation.x_ray_throttle_percent #=> Integer
|
780
822
|
# resp.observation.x_ray_error_percent #=> Integer
|
@@ -862,7 +904,7 @@ module Aws::ApplicationInsights
|
|
862
904
|
# resp.related_observations.observation_list[0].unit #=> String
|
863
905
|
# resp.related_observations.observation_list[0].value #=> Float
|
864
906
|
# resp.related_observations.observation_list[0].cloud_watch_event_id #=> String
|
865
|
-
# resp.related_observations.observation_list[0].cloud_watch_event_source #=> String, one of "EC2", "CODE_DEPLOY", "HEALTH"
|
907
|
+
# resp.related_observations.observation_list[0].cloud_watch_event_source #=> String, one of "EC2", "CODE_DEPLOY", "HEALTH", "RDS"
|
866
908
|
# resp.related_observations.observation_list[0].cloud_watch_event_detail_type #=> String
|
867
909
|
# resp.related_observations.observation_list[0].health_event_arn #=> String
|
868
910
|
# resp.related_observations.observation_list[0].health_service #=> String
|
@@ -875,6 +917,17 @@ module Aws::ApplicationInsights
|
|
875
917
|
# resp.related_observations.observation_list[0].code_deploy_application #=> String
|
876
918
|
# resp.related_observations.observation_list[0].code_deploy_instance_group_id #=> String
|
877
919
|
# resp.related_observations.observation_list[0].ec2_state #=> String
|
920
|
+
# resp.related_observations.observation_list[0].rds_event_categories #=> String
|
921
|
+
# resp.related_observations.observation_list[0].rds_event_message #=> String
|
922
|
+
# resp.related_observations.observation_list[0].s3_event_name #=> String
|
923
|
+
# resp.related_observations.observation_list[0].states_execution_arn #=> String
|
924
|
+
# resp.related_observations.observation_list[0].states_arn #=> String
|
925
|
+
# resp.related_observations.observation_list[0].states_status #=> String
|
926
|
+
# resp.related_observations.observation_list[0].states_input #=> String
|
927
|
+
# resp.related_observations.observation_list[0].ebs_event #=> String
|
928
|
+
# resp.related_observations.observation_list[0].ebs_result #=> String
|
929
|
+
# resp.related_observations.observation_list[0].ebs_cause #=> String
|
930
|
+
# resp.related_observations.observation_list[0].ebs_request_id #=> String
|
878
931
|
# resp.related_observations.observation_list[0].x_ray_fault_percent #=> Integer
|
879
932
|
# resp.related_observations.observation_list[0].x_ray_throttle_percent #=> Integer
|
880
933
|
# resp.related_observations.observation_list[0].x_ray_error_percent #=> Integer
|
@@ -969,9 +1022,14 @@ module Aws::ApplicationInsights
|
|
969
1022
|
#
|
970
1023
|
# resp.application_component_list #=> Array
|
971
1024
|
# resp.application_component_list[0].component_name #=> String
|
1025
|
+
# resp.application_component_list[0].component_remarks #=> String
|
972
1026
|
# resp.application_component_list[0].resource_type #=> String
|
973
|
-
# resp.application_component_list[0].
|
1027
|
+
# resp.application_component_list[0].os_type #=> String, one of "WINDOWS", "LINUX"
|
1028
|
+
# 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"
|
974
1029
|
# resp.application_component_list[0].monitor #=> Boolean
|
1030
|
+
# resp.application_component_list[0].detected_workload #=> Hash
|
1031
|
+
# resp.application_component_list[0].detected_workload["Tier"] #=> Hash
|
1032
|
+
# resp.application_component_list[0].detected_workload["Tier"]["MetaDataKey"] #=> String
|
975
1033
|
# resp.next_token #=> String
|
976
1034
|
#
|
977
1035
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListComponents AWS API Documentation
|
@@ -1048,7 +1106,7 @@ module Aws::ApplicationInsights
|
|
1048
1106
|
# resp.event_list #=> Array
|
1049
1107
|
# resp.event_list[0].monitored_resource_arn #=> String
|
1050
1108
|
# resp.event_list[0].event_status #=> String, one of "INFO", "WARN", "ERROR"
|
1051
|
-
# resp.event_list[0].event_resource_type #=> String, one of "CLOUDWATCH_ALARM", "CLOUDFORMATION", "SSM_ASSOCIATION"
|
1109
|
+
# resp.event_list[0].event_resource_type #=> String, one of "CLOUDWATCH_ALARM", "CLOUDWATCH_LOG", "CLOUDFORMATION", "SSM_ASSOCIATION"
|
1052
1110
|
# resp.event_list[0].event_time #=> Time
|
1053
1111
|
# resp.event_list[0].event_detail #=> String
|
1054
1112
|
# resp.event_list[0].event_resource_name #=> String
|
@@ -1414,8 +1472,8 @@ module Aws::ApplicationInsights
|
|
1414
1472
|
#
|
1415
1473
|
# resp = client.update_component({
|
1416
1474
|
# resource_group_name: "ResourceGroupName", # required
|
1417
|
-
# component_name: "
|
1418
|
-
# new_component_name: "
|
1475
|
+
# component_name: "CustomComponentName", # required
|
1476
|
+
# new_component_name: "CustomComponentName",
|
1419
1477
|
# resource_list: ["ResourceARN"],
|
1420
1478
|
# })
|
1421
1479
|
#
|
@@ -1468,7 +1526,7 @@ module Aws::ApplicationInsights
|
|
1468
1526
|
# resource_group_name: "ResourceGroupName", # required
|
1469
1527
|
# component_name: "ComponentName", # required
|
1470
1528
|
# monitor: false,
|
1471
|
-
# tier: "
|
1529
|
+
# 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
|
1472
1530
|
# component_configuration: "ComponentConfiguration",
|
1473
1531
|
# })
|
1474
1532
|
#
|
@@ -1493,10 +1551,21 @@ module Aws::ApplicationInsights
|
|
1493
1551
|
# The name of the log pattern.
|
1494
1552
|
#
|
1495
1553
|
# @option params [String] :pattern
|
1496
|
-
# The log pattern.
|
1554
|
+
# The log pattern. The pattern must be DFA compatible. Patterns that
|
1555
|
+
# utilize forward lookahead or backreference constructions are not
|
1556
|
+
# supported.
|
1497
1557
|
#
|
1498
1558
|
# @option params [Integer] :rank
|
1499
|
-
# Rank of the log pattern.
|
1559
|
+
# Rank of the log pattern. Must be a value between `1` and `1,000,000`.
|
1560
|
+
# The patterns are sorted by rank, so we recommend that you set your
|
1561
|
+
# highest priority patterns with the lowest rank. A pattern of rank `1`
|
1562
|
+
# will be the first to get matched to a log line. A pattern of rank
|
1563
|
+
# `1,000,000` will be last to get matched. When you configure custom log
|
1564
|
+
# patterns from the console, a `Low` severity pattern translates to a
|
1565
|
+
# `750,000` rank. A `Medium` severity pattern translates to a `500,000`
|
1566
|
+
# rank. And a `High` severity pattern translates to a `250,000` rank.
|
1567
|
+
# Rank values less than `1` or greater than `1,000,000` are reserved for
|
1568
|
+
# AWS-provided patterns.
|
1500
1569
|
#
|
1501
1570
|
# @return [Types::UpdateLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1502
1571
|
#
|
@@ -1543,7 +1612,7 @@ module Aws::ApplicationInsights
|
|
1543
1612
|
params: params,
|
1544
1613
|
config: config)
|
1545
1614
|
context[:gem_name] = 'aws-sdk-applicationinsights'
|
1546
|
-
context[:gem_version] = '1.
|
1615
|
+
context[:gem_version] = '1.17.0'
|
1547
1616
|
Seahorse::Client::Request.new(handlers, context)
|
1548
1617
|
end
|
1549
1618
|
|
@@ -13,6 +13,7 @@ module Aws::ApplicationInsights
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
16
17
|
AffectedResource = Shapes::StringShape.new(name: 'AffectedResource')
|
17
18
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
18
19
|
ApplicationComponent = Shapes::StructureShape.new(name: 'ApplicationComponent')
|
@@ -45,6 +46,7 @@ module Aws::ApplicationInsights
|
|
45
46
|
CreateComponentResponse = Shapes::StructureShape.new(name: 'CreateComponentResponse')
|
46
47
|
CreateLogPatternRequest = Shapes::StructureShape.new(name: 'CreateLogPatternRequest')
|
47
48
|
CreateLogPatternResponse = Shapes::StructureShape.new(name: 'CreateLogPatternResponse')
|
49
|
+
CustomComponentName = Shapes::StringShape.new(name: 'CustomComponentName')
|
48
50
|
DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
|
49
51
|
DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse')
|
50
52
|
DeleteComponentRequest = Shapes::StructureShape.new(name: 'DeleteComponentRequest')
|
@@ -67,6 +69,11 @@ module Aws::ApplicationInsights
|
|
67
69
|
DescribeProblemObservationsResponse = Shapes::StructureShape.new(name: 'DescribeProblemObservationsResponse')
|
68
70
|
DescribeProblemRequest = Shapes::StructureShape.new(name: 'DescribeProblemRequest')
|
69
71
|
DescribeProblemResponse = Shapes::StructureShape.new(name: 'DescribeProblemResponse')
|
72
|
+
DetectedWorkload = Shapes::MapShape.new(name: 'DetectedWorkload')
|
73
|
+
EbsCause = Shapes::StringShape.new(name: 'EbsCause')
|
74
|
+
EbsEvent = Shapes::StringShape.new(name: 'EbsEvent')
|
75
|
+
EbsRequestId = Shapes::StringShape.new(name: 'EbsRequestId')
|
76
|
+
EbsResult = Shapes::StringShape.new(name: 'EbsResult')
|
70
77
|
Ec2State = Shapes::StringShape.new(name: 'Ec2State')
|
71
78
|
EndTime = Shapes::TimestampShape.new(name: 'EndTime')
|
72
79
|
ErrorMsg = Shapes::StringShape.new(name: 'ErrorMsg')
|
@@ -108,19 +115,23 @@ module Aws::ApplicationInsights
|
|
108
115
|
LogPatternSetName = Shapes::StringShape.new(name: 'LogPatternSetName')
|
109
116
|
LogText = Shapes::StringShape.new(name: 'LogText')
|
110
117
|
MaxEntities = Shapes::IntegerShape.new(name: 'MaxEntities')
|
118
|
+
MetaDataKey = Shapes::StringShape.new(name: 'MetaDataKey')
|
119
|
+
MetaDataValue = Shapes::StringShape.new(name: 'MetaDataValue')
|
111
120
|
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
112
121
|
MetricNamespace = Shapes::StringShape.new(name: 'MetricNamespace')
|
113
122
|
Monitor = Shapes::BooleanShape.new(name: 'Monitor')
|
114
|
-
NewComponentName = Shapes::StringShape.new(name: 'NewComponentName')
|
115
123
|
Observation = Shapes::StructureShape.new(name: 'Observation')
|
116
124
|
ObservationId = Shapes::StringShape.new(name: 'ObservationId')
|
117
125
|
ObservationList = Shapes::ListShape.new(name: 'ObservationList')
|
118
126
|
OpsCenterEnabled = Shapes::BooleanShape.new(name: 'OpsCenterEnabled')
|
119
127
|
OpsItemSNSTopicArn = Shapes::StringShape.new(name: 'OpsItemSNSTopicArn')
|
128
|
+
OsType = Shapes::StringShape.new(name: 'OsType')
|
120
129
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
121
130
|
Problem = Shapes::StructureShape.new(name: 'Problem')
|
122
131
|
ProblemId = Shapes::StringShape.new(name: 'ProblemId')
|
123
132
|
ProblemList = Shapes::ListShape.new(name: 'ProblemList')
|
133
|
+
RdsEventCategories = Shapes::StringShape.new(name: 'RdsEventCategories')
|
134
|
+
RdsEventMessage = Shapes::StringShape.new(name: 'RdsEventMessage')
|
124
135
|
RelatedObservations = Shapes::StructureShape.new(name: 'RelatedObservations')
|
125
136
|
Remarks = Shapes::StringShape.new(name: 'Remarks')
|
126
137
|
RemoveSNSTopic = Shapes::BooleanShape.new(name: 'RemoveSNSTopic')
|
@@ -130,10 +141,15 @@ module Aws::ApplicationInsights
|
|
130
141
|
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
|
131
142
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
132
143
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
144
|
+
S3EventName = Shapes::StringShape.new(name: 'S3EventName')
|
133
145
|
SeverityLevel = Shapes::StringShape.new(name: 'SeverityLevel')
|
134
146
|
SourceARN = Shapes::StringShape.new(name: 'SourceARN')
|
135
147
|
SourceType = Shapes::StringShape.new(name: 'SourceType')
|
136
148
|
StartTime = Shapes::TimestampShape.new(name: 'StartTime')
|
149
|
+
StatesArn = Shapes::StringShape.new(name: 'StatesArn')
|
150
|
+
StatesExecutionArn = Shapes::StringShape.new(name: 'StatesExecutionArn')
|
151
|
+
StatesInput = Shapes::StringShape.new(name: 'StatesInput')
|
152
|
+
StatesStatus = Shapes::StringShape.new(name: 'StatesStatus')
|
137
153
|
Status = Shapes::StringShape.new(name: 'Status')
|
138
154
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
139
155
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -159,6 +175,7 @@ module Aws::ApplicationInsights
|
|
159
175
|
UpdateLogPatternResponse = Shapes::StructureShape.new(name: 'UpdateLogPatternResponse')
|
160
176
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
161
177
|
Value = Shapes::FloatShape.new(name: 'Value')
|
178
|
+
WorkloadMetaData = Shapes::MapShape.new(name: 'WorkloadMetaData')
|
162
179
|
XRayErrorPercent = Shapes::IntegerShape.new(name: 'XRayErrorPercent')
|
163
180
|
XRayFaultPercent = Shapes::IntegerShape.new(name: 'XRayFaultPercent')
|
164
181
|
XRayNodeName = Shapes::StringShape.new(name: 'XRayNodeName')
|
@@ -167,10 +184,16 @@ module Aws::ApplicationInsights
|
|
167
184
|
XRayRequestCount = Shapes::IntegerShape.new(name: 'XRayRequestCount')
|
168
185
|
XRayThrottlePercent = Shapes::IntegerShape.new(name: 'XRayThrottlePercent')
|
169
186
|
|
187
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
|
188
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
189
|
+
|
170
190
|
ApplicationComponent.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, location_name: "ComponentName"))
|
191
|
+
ApplicationComponent.add_member(:component_remarks, Shapes::ShapeRef.new(shape: Remarks, location_name: "ComponentRemarks"))
|
171
192
|
ApplicationComponent.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
193
|
+
ApplicationComponent.add_member(:os_type, Shapes::ShapeRef.new(shape: OsType, location_name: "OsType"))
|
172
194
|
ApplicationComponent.add_member(:tier, Shapes::ShapeRef.new(shape: Tier, location_name: "Tier"))
|
173
195
|
ApplicationComponent.add_member(:monitor, Shapes::ShapeRef.new(shape: Monitor, location_name: "Monitor"))
|
196
|
+
ApplicationComponent.add_member(:detected_workload, Shapes::ShapeRef.new(shape: DetectedWorkload, location_name: "DetectedWorkload"))
|
174
197
|
ApplicationComponent.struct_class = Types::ApplicationComponent
|
175
198
|
|
176
199
|
ApplicationComponentList.member = Shapes::ShapeRef.new(shape: ApplicationComponent)
|
@@ -209,7 +232,7 @@ module Aws::ApplicationInsights
|
|
209
232
|
CreateApplicationResponse.struct_class = Types::CreateApplicationResponse
|
210
233
|
|
211
234
|
CreateComponentRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
212
|
-
CreateComponentRequest.add_member(:component_name, Shapes::ShapeRef.new(shape:
|
235
|
+
CreateComponentRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: CustomComponentName, required: true, location_name: "ComponentName"))
|
213
236
|
CreateComponentRequest.add_member(:resource_list, Shapes::ShapeRef.new(shape: ResourceList, required: true, location_name: "ResourceList"))
|
214
237
|
CreateComponentRequest.struct_class = Types::CreateComponentRequest
|
215
238
|
|
@@ -232,7 +255,7 @@ module Aws::ApplicationInsights
|
|
232
255
|
DeleteApplicationResponse.struct_class = Types::DeleteApplicationResponse
|
233
256
|
|
234
257
|
DeleteComponentRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
235
|
-
DeleteComponentRequest.add_member(:component_name, Shapes::ShapeRef.new(shape:
|
258
|
+
DeleteComponentRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: CustomComponentName, required: true, location_name: "ComponentName"))
|
236
259
|
DeleteComponentRequest.struct_class = Types::DeleteComponentRequest
|
237
260
|
|
238
261
|
DeleteComponentResponse.struct_class = Types::DeleteComponentResponse
|
@@ -302,6 +325,9 @@ module Aws::ApplicationInsights
|
|
302
325
|
DescribeProblemResponse.add_member(:problem, Shapes::ShapeRef.new(shape: Problem, location_name: "Problem"))
|
303
326
|
DescribeProblemResponse.struct_class = Types::DescribeProblemResponse
|
304
327
|
|
328
|
+
DetectedWorkload.key = Shapes::ShapeRef.new(shape: Tier)
|
329
|
+
DetectedWorkload.value = Shapes::ShapeRef.new(shape: WorkloadMetaData)
|
330
|
+
|
305
331
|
Feedback.key = Shapes::ShapeRef.new(shape: FeedbackKey)
|
306
332
|
Feedback.value = Shapes::ShapeRef.new(shape: FeedbackValue)
|
307
333
|
|
@@ -412,6 +438,17 @@ module Aws::ApplicationInsights
|
|
412
438
|
Observation.add_member(:code_deploy_application, Shapes::ShapeRef.new(shape: CodeDeployApplication, location_name: "CodeDeployApplication"))
|
413
439
|
Observation.add_member(:code_deploy_instance_group_id, Shapes::ShapeRef.new(shape: CodeDeployInstanceGroupId, location_name: "CodeDeployInstanceGroupId"))
|
414
440
|
Observation.add_member(:ec2_state, Shapes::ShapeRef.new(shape: Ec2State, location_name: "Ec2State"))
|
441
|
+
Observation.add_member(:rds_event_categories, Shapes::ShapeRef.new(shape: RdsEventCategories, location_name: "RdsEventCategories"))
|
442
|
+
Observation.add_member(:rds_event_message, Shapes::ShapeRef.new(shape: RdsEventMessage, location_name: "RdsEventMessage"))
|
443
|
+
Observation.add_member(:s3_event_name, Shapes::ShapeRef.new(shape: S3EventName, location_name: "S3EventName"))
|
444
|
+
Observation.add_member(:states_execution_arn, Shapes::ShapeRef.new(shape: StatesExecutionArn, location_name: "StatesExecutionArn"))
|
445
|
+
Observation.add_member(:states_arn, Shapes::ShapeRef.new(shape: StatesArn, location_name: "StatesArn"))
|
446
|
+
Observation.add_member(:states_status, Shapes::ShapeRef.new(shape: StatesStatus, location_name: "StatesStatus"))
|
447
|
+
Observation.add_member(:states_input, Shapes::ShapeRef.new(shape: StatesInput, location_name: "StatesInput"))
|
448
|
+
Observation.add_member(:ebs_event, Shapes::ShapeRef.new(shape: EbsEvent, location_name: "EbsEvent"))
|
449
|
+
Observation.add_member(:ebs_result, Shapes::ShapeRef.new(shape: EbsResult, location_name: "EbsResult"))
|
450
|
+
Observation.add_member(:ebs_cause, Shapes::ShapeRef.new(shape: EbsCause, location_name: "EbsCause"))
|
451
|
+
Observation.add_member(:ebs_request_id, Shapes::ShapeRef.new(shape: EbsRequestId, location_name: "EbsRequestId"))
|
415
452
|
Observation.add_member(:x_ray_fault_percent, Shapes::ShapeRef.new(shape: XRayFaultPercent, location_name: "XRayFaultPercent"))
|
416
453
|
Observation.add_member(:x_ray_throttle_percent, Shapes::ShapeRef.new(shape: XRayThrottlePercent, location_name: "XRayThrottlePercent"))
|
417
454
|
Observation.add_member(:x_ray_error_percent, Shapes::ShapeRef.new(shape: XRayErrorPercent, location_name: "XRayErrorPercent"))
|
@@ -495,8 +532,8 @@ module Aws::ApplicationInsights
|
|
495
532
|
UpdateComponentConfigurationResponse.struct_class = Types::UpdateComponentConfigurationResponse
|
496
533
|
|
497
534
|
UpdateComponentRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
498
|
-
UpdateComponentRequest.add_member(:component_name, Shapes::ShapeRef.new(shape:
|
499
|
-
UpdateComponentRequest.add_member(:new_component_name, Shapes::ShapeRef.new(shape:
|
535
|
+
UpdateComponentRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: CustomComponentName, required: true, location_name: "ComponentName"))
|
536
|
+
UpdateComponentRequest.add_member(:new_component_name, Shapes::ShapeRef.new(shape: CustomComponentName, location_name: "NewComponentName"))
|
500
537
|
UpdateComponentRequest.add_member(:resource_list, Shapes::ShapeRef.new(shape: ResourceList, location_name: "ResourceList"))
|
501
538
|
UpdateComponentRequest.struct_class = Types::UpdateComponentRequest
|
502
539
|
|
@@ -516,6 +553,9 @@ module Aws::ApplicationInsights
|
|
516
553
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
|
517
554
|
ValidationException.struct_class = Types::ValidationException
|
518
555
|
|
556
|
+
WorkloadMetaData.key = Shapes::ShapeRef.new(shape: MetaDataKey)
|
557
|
+
WorkloadMetaData.value = Shapes::ShapeRef.new(shape: MetaDataValue)
|
558
|
+
|
519
559
|
|
520
560
|
# @api private
|
521
561
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -547,6 +587,7 @@ module Aws::ApplicationInsights
|
|
547
587
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
548
588
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
549
589
|
o.errors << Shapes::ShapeRef.new(shape: TagsAlreadyExistException)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
550
591
|
end)
|
551
592
|
|
552
593
|
api.add_operation(:create_component, Seahorse::Model::Operation.new.tap do |o|
|
@@ -27,6 +27,7 @@ module Aws::ApplicationInsights
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {AccessDeniedException}
|
30
31
|
# * {BadRequestException}
|
31
32
|
# * {InternalServerException}
|
32
33
|
# * {ResourceInUseException}
|
@@ -41,6 +42,21 @@ module Aws::ApplicationInsights
|
|
41
42
|
|
42
43
|
extend Aws::Errors::DynamicErrors
|
43
44
|
|
45
|
+
class AccessDeniedException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::ApplicationInsights::Types::AccessDeniedException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
44
60
|
class BadRequestException < ServiceError
|
45
61
|
|
46
62
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -10,6 +10,19 @@
|
|
10
10
|
module Aws::ApplicationInsights
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# User does not have permissions to perform this action.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/AccessDeniedException AWS API Documentation
|
19
|
+
#
|
20
|
+
class AccessDeniedException < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = []
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
25
|
+
|
13
26
|
# Describes a standalone resource or similarly grouped resources that
|
14
27
|
# the application is made up of.
|
15
28
|
#
|
@@ -17,11 +30,20 @@ module Aws::ApplicationInsights
|
|
17
30
|
# The name of the component.
|
18
31
|
# @return [String]
|
19
32
|
#
|
33
|
+
# @!attribute [rw] component_remarks
|
34
|
+
# If logging is supported for the resource type, indicates whether the
|
35
|
+
# component has configured logs to be monitored.
|
36
|
+
# @return [String]
|
37
|
+
#
|
20
38
|
# @!attribute [rw] resource_type
|
21
39
|
# The resource type. Supported resource types include EC2 instances,
|
22
40
|
# Auto Scaling group, Classic ELB, Application ELB, and SQS Queue.
|
23
41
|
# @return [String]
|
24
42
|
#
|
43
|
+
# @!attribute [rw] os_type
|
44
|
+
# The operating system of the component.
|
45
|
+
# @return [String]
|
46
|
+
#
|
25
47
|
# @!attribute [rw] tier
|
26
48
|
# The stack tier of the application component.
|
27
49
|
# @return [String]
|
@@ -30,13 +52,20 @@ module Aws::ApplicationInsights
|
|
30
52
|
# Indicates whether the application component is monitored.
|
31
53
|
# @return [Boolean]
|
32
54
|
#
|
55
|
+
# @!attribute [rw] detected_workload
|
56
|
+
# Workloads detected in the application component.
|
57
|
+
# @return [Hash<String,Hash<String,String>>]
|
58
|
+
#
|
33
59
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ApplicationComponent AWS API Documentation
|
34
60
|
#
|
35
61
|
class ApplicationComponent < Struct.new(
|
36
62
|
:component_name,
|
63
|
+
:component_remarks,
|
37
64
|
:resource_type,
|
65
|
+
:os_type,
|
38
66
|
:tier,
|
39
|
-
:monitor
|
67
|
+
:monitor,
|
68
|
+
:detected_workload)
|
40
69
|
SENSITIVE = []
|
41
70
|
include Aws::Structure
|
42
71
|
end
|
@@ -217,7 +246,7 @@ module Aws::ApplicationInsights
|
|
217
246
|
#
|
218
247
|
# {
|
219
248
|
# resource_group_name: "ResourceGroupName", # required
|
220
|
-
# component_name: "
|
249
|
+
# component_name: "CustomComponentName", # required
|
221
250
|
# resource_list: ["ResourceARN"], # required
|
222
251
|
# }
|
223
252
|
#
|
@@ -271,11 +300,22 @@ module Aws::ApplicationInsights
|
|
271
300
|
# @return [String]
|
272
301
|
#
|
273
302
|
# @!attribute [rw] pattern
|
274
|
-
# The log pattern.
|
303
|
+
# The log pattern. The pattern must be DFA compatible. Patterns that
|
304
|
+
# utilize forward lookahead or backreference constructions are not
|
305
|
+
# supported.
|
275
306
|
# @return [String]
|
276
307
|
#
|
277
308
|
# @!attribute [rw] rank
|
278
|
-
# Rank of the log pattern.
|
309
|
+
# Rank of the log pattern. Must be a value between `1` and
|
310
|
+
# `1,000,000`. The patterns are sorted by rank, so we recommend that
|
311
|
+
# you set your highest priority patterns with the lowest rank. A
|
312
|
+
# pattern of rank `1` will be the first to get matched to a log line.
|
313
|
+
# A pattern of rank `1,000,000` will be last to get matched. When you
|
314
|
+
# configure custom log patterns from the console, a `Low` severity
|
315
|
+
# pattern translates to a `750,000` rank. A `Medium` severity pattern
|
316
|
+
# translates to a `500,000` rank. And a `High` severity pattern
|
317
|
+
# translates to a `250,000` rank. Rank values less than `1` or greater
|
318
|
+
# than `1,000,000` are reserved for AWS-provided patterns.
|
279
319
|
# @return [Integer]
|
280
320
|
#
|
281
321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateLogPatternRequest AWS API Documentation
|
@@ -335,7 +375,7 @@ module Aws::ApplicationInsights
|
|
335
375
|
#
|
336
376
|
# {
|
337
377
|
# resource_group_name: "ResourceGroupName", # required
|
338
|
-
# component_name: "
|
378
|
+
# component_name: "CustomComponentName", # required
|
339
379
|
# }
|
340
380
|
#
|
341
381
|
# @!attribute [rw] resource_group_name
|
@@ -431,7 +471,7 @@ module Aws::ApplicationInsights
|
|
431
471
|
# {
|
432
472
|
# resource_group_name: "ResourceGroupName", # required
|
433
473
|
# component_name: "ComponentName", # required
|
434
|
-
# tier: "
|
474
|
+
# 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
|
435
475
|
# }
|
436
476
|
#
|
437
477
|
# @!attribute [rw] resource_group_name
|
@@ -1119,26 +1159,37 @@ module Aws::ApplicationInsights
|
|
1119
1159
|
# `LogPatternSet`.
|
1120
1160
|
#
|
1121
1161
|
# @!attribute [rw] pattern_set_name
|
1122
|
-
# The name of the log pattern. A log pattern name can
|
1162
|
+
# The name of the log pattern. A log pattern name can contain as many
|
1123
1163
|
# as 30 characters, and it cannot be empty. The characters can be
|
1124
|
-
# Unicode letters, digits or one of the following symbols: period,
|
1164
|
+
# Unicode letters, digits, or one of the following symbols: period,
|
1125
1165
|
# dash, underscore.
|
1126
1166
|
# @return [String]
|
1127
1167
|
#
|
1128
1168
|
# @!attribute [rw] pattern_name
|
1129
|
-
# The name of the log pattern. A log pattern name can
|
1169
|
+
# The name of the log pattern. A log pattern name can contain as many
|
1130
1170
|
# as 50 characters, and it cannot be empty. The characters can be
|
1131
|
-
# Unicode letters, digits or one of the following symbols: period,
|
1171
|
+
# Unicode letters, digits, or one of the following symbols: period,
|
1132
1172
|
# dash, underscore.
|
1133
1173
|
# @return [String]
|
1134
1174
|
#
|
1135
1175
|
# @!attribute [rw] pattern
|
1136
1176
|
# A regular expression that defines the log pattern. A log pattern can
|
1137
|
-
#
|
1177
|
+
# contain as many as 50 characters, and it cannot be empty. The
|
1178
|
+
# pattern must be DFA compatible. Patterns that utilize forward
|
1179
|
+
# lookahead or backreference constructions are not supported.
|
1138
1180
|
# @return [String]
|
1139
1181
|
#
|
1140
1182
|
# @!attribute [rw] rank
|
1141
|
-
# Rank of the log pattern.
|
1183
|
+
# Rank of the log pattern. Must be a value between `1` and
|
1184
|
+
# `1,000,000`. The patterns are sorted by rank, so we recommend that
|
1185
|
+
# you set your highest priority patterns with the lowest rank. A
|
1186
|
+
# pattern of rank `1` will be the first to get matched to a log line.
|
1187
|
+
# A pattern of rank `1,000,000` will be last to get matched. When you
|
1188
|
+
# configure custom log patterns from the console, a `Low` severity
|
1189
|
+
# pattern translates to a `750,000` rank. A `Medium` severity pattern
|
1190
|
+
# translates to a `500,000` rank. And a `High` severity pattern
|
1191
|
+
# translates to a `250,000` rank. Rank values less than `1` or greater
|
1192
|
+
# than `1,000,000` are reserved for AWS-provided patterns.
|
1142
1193
|
# @return [Integer]
|
1143
1194
|
#
|
1144
1195
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/LogPattern AWS API Documentation
|
@@ -1270,6 +1321,54 @@ module Aws::ApplicationInsights
|
|
1270
1321
|
# The state of the instance, such as `STOPPING` or `TERMINATING`.
|
1271
1322
|
# @return [String]
|
1272
1323
|
#
|
1324
|
+
# @!attribute [rw] rds_event_categories
|
1325
|
+
# The category of an RDS event.
|
1326
|
+
# @return [String]
|
1327
|
+
#
|
1328
|
+
# @!attribute [rw] rds_event_message
|
1329
|
+
# The message of an RDS event.
|
1330
|
+
# @return [String]
|
1331
|
+
#
|
1332
|
+
# @!attribute [rw] s3_event_name
|
1333
|
+
# The name of the S3 CloudWatch Event-based observation.
|
1334
|
+
# @return [String]
|
1335
|
+
#
|
1336
|
+
# @!attribute [rw] states_execution_arn
|
1337
|
+
# The Amazon Resource Name (ARN) of the step function execution-based
|
1338
|
+
# observation.
|
1339
|
+
# @return [String]
|
1340
|
+
#
|
1341
|
+
# @!attribute [rw] states_arn
|
1342
|
+
# The Amazon Resource Name (ARN) of the step function-based
|
1343
|
+
# observation.
|
1344
|
+
# @return [String]
|
1345
|
+
#
|
1346
|
+
# @!attribute [rw] states_status
|
1347
|
+
# The status of the step function-related observation.
|
1348
|
+
# @return [String]
|
1349
|
+
#
|
1350
|
+
# @!attribute [rw] states_input
|
1351
|
+
# The input to the step function-based observation.
|
1352
|
+
# @return [String]
|
1353
|
+
#
|
1354
|
+
# @!attribute [rw] ebs_event
|
1355
|
+
# The type of EBS CloudWatch event, such as `createVolume`,
|
1356
|
+
# `deleteVolume` or `attachVolume`.
|
1357
|
+
# @return [String]
|
1358
|
+
#
|
1359
|
+
# @!attribute [rw] ebs_result
|
1360
|
+
# The result of an EBS CloudWatch event, such as `failed` or
|
1361
|
+
# `succeeded`.
|
1362
|
+
# @return [String]
|
1363
|
+
#
|
1364
|
+
# @!attribute [rw] ebs_cause
|
1365
|
+
# The cause of an EBS CloudWatch event.
|
1366
|
+
# @return [String]
|
1367
|
+
#
|
1368
|
+
# @!attribute [rw] ebs_request_id
|
1369
|
+
# The request ID of an EBS CloudWatch event.
|
1370
|
+
# @return [String]
|
1371
|
+
#
|
1273
1372
|
# @!attribute [rw] x_ray_fault_percent
|
1274
1373
|
# The X-Ray request fault percentage for this node.
|
1275
1374
|
# @return [Integer]
|
@@ -1328,6 +1427,17 @@ module Aws::ApplicationInsights
|
|
1328
1427
|
:code_deploy_application,
|
1329
1428
|
:code_deploy_instance_group_id,
|
1330
1429
|
:ec2_state,
|
1430
|
+
:rds_event_categories,
|
1431
|
+
:rds_event_message,
|
1432
|
+
:s3_event_name,
|
1433
|
+
:states_execution_arn,
|
1434
|
+
:states_arn,
|
1435
|
+
:states_status,
|
1436
|
+
:states_input,
|
1437
|
+
:ebs_event,
|
1438
|
+
:ebs_result,
|
1439
|
+
:ebs_cause,
|
1440
|
+
:ebs_request_id,
|
1331
1441
|
:x_ray_fault_percent,
|
1332
1442
|
:x_ray_throttle_percent,
|
1333
1443
|
:x_ray_error_percent,
|
@@ -1666,7 +1776,7 @@ module Aws::ApplicationInsights
|
|
1666
1776
|
# resource_group_name: "ResourceGroupName", # required
|
1667
1777
|
# component_name: "ComponentName", # required
|
1668
1778
|
# monitor: false,
|
1669
|
-
# tier: "
|
1779
|
+
# 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
|
1670
1780
|
# component_configuration: "ComponentConfiguration",
|
1671
1781
|
# }
|
1672
1782
|
#
|
@@ -1724,8 +1834,8 @@ module Aws::ApplicationInsights
|
|
1724
1834
|
#
|
1725
1835
|
# {
|
1726
1836
|
# resource_group_name: "ResourceGroupName", # required
|
1727
|
-
# component_name: "
|
1728
|
-
# new_component_name: "
|
1837
|
+
# component_name: "CustomComponentName", # required
|
1838
|
+
# new_component_name: "CustomComponentName",
|
1729
1839
|
# resource_list: ["ResourceARN"],
|
1730
1840
|
# }
|
1731
1841
|
#
|
@@ -1784,11 +1894,22 @@ module Aws::ApplicationInsights
|
|
1784
1894
|
# @return [String]
|
1785
1895
|
#
|
1786
1896
|
# @!attribute [rw] pattern
|
1787
|
-
# The log pattern.
|
1897
|
+
# The log pattern. The pattern must be DFA compatible. Patterns that
|
1898
|
+
# utilize forward lookahead or backreference constructions are not
|
1899
|
+
# supported.
|
1788
1900
|
# @return [String]
|
1789
1901
|
#
|
1790
1902
|
# @!attribute [rw] rank
|
1791
|
-
# Rank of the log pattern.
|
1903
|
+
# Rank of the log pattern. Must be a value between `1` and
|
1904
|
+
# `1,000,000`. The patterns are sorted by rank, so we recommend that
|
1905
|
+
# you set your highest priority patterns with the lowest rank. A
|
1906
|
+
# pattern of rank `1` will be the first to get matched to a log line.
|
1907
|
+
# A pattern of rank `1,000,000` will be last to get matched. When you
|
1908
|
+
# configure custom log patterns from the console, a `Low` severity
|
1909
|
+
# pattern translates to a `750,000` rank. A `Medium` severity pattern
|
1910
|
+
# translates to a `500,000` rank. And a `High` severity pattern
|
1911
|
+
# translates to a `250,000` rank. Rank values less than `1` or greater
|
1912
|
+
# than `1,000,000` are reserved for AWS-provided patterns.
|
1792
1913
|
# @return [Integer]
|
1793
1914
|
#
|
1794
1915
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateLogPatternRequest AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-applicationinsights
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.112.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|