aws-sdk-applicationinsights 1.15.0 → 1.16.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7b7c8ec8265c0f2b4925d9fd307965992f7a96d36203ac421e763219d0ac8da
4
- data.tar.gz: d42ecf77a500a3438117f79656206b9307dc51411d58433bdac9a6bcb93b9eb2
3
+ metadata.gz: e740fe6a6dc91ba6befb36c53c55db9c23a710f2b83e0c73be72c9f68a24e5d0
4
+ data.tar.gz: 3065f04e69b13e3596cc293280196a939e5a19385647b133deebeb093f533462
5
5
  SHA512:
6
- metadata.gz: 2ce1815f7f23ad00aede1f844cbdd2ba5f9c9b92755be5bef634f6f4512ef5c20fad8f8b61511e28c5b5753221691d54fcf3fe7f1065b316c5124a35573d0f2c
7
- data.tar.gz: ba2ff7a56ec766d30306ea3a4c9fb62e19e6e268ecd4c2d25cb98821d24d986083cd9238effc59d87b215dfbc3bc33affc82f94f5449084aa3531ba18bafb3f0
6
+ metadata.gz: ccfd4fbf07cdc232df365b2b52f15c4eda9fa7e4f01c6c2750c32248a25ca11c17769bc0c24647c42a0dbc38644bcd2b843026cd2aab27c68e2ba2864b0be6d5
7
+ data.tar.gz: 2d15389d9273297d6d67d72df10300c9e60c63318db3faa56e9f5b0b2cc7239bbb45cdfaa98f6c7bc44ed0326f3e10850361fdde51adee6bcfd1e993c85be1d8
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-applicationinsights/customizations'
48
48
  # @!group service
49
49
  module Aws::ApplicationInsights
50
50
 
51
- GEM_VERSION = '1.15.0'
51
+ GEM_VERSION = '1.16.0'
52
52
 
53
53
  end
@@ -416,7 +416,7 @@ module Aws::ApplicationInsights
416
416
  #
417
417
  # resp = client.create_component({
418
418
  # resource_group_name: "ResourceGroupName", # required
419
- # component_name: "ComponentName", # required
419
+ # component_name: "CustomComponentName", # required
420
420
  # resource_list: ["ResourceARN"], # required
421
421
  # })
422
422
  #
@@ -441,10 +441,21 @@ module Aws::ApplicationInsights
441
441
  # The name of the log pattern.
442
442
  #
443
443
  # @option params [required, String] :pattern
444
- # 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.
445
447
  #
446
448
  # @option params [required, Integer] :rank
447
- # 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.
448
459
  #
449
460
  # @return [Types::CreateLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
450
461
  #
@@ -517,7 +528,7 @@ module Aws::ApplicationInsights
517
528
  #
518
529
  # resp = client.delete_component({
519
530
  # resource_group_name: "ResourceGroupName", # required
520
- # component_name: "ComponentName", # required
531
+ # component_name: "CustomComponentName", # required
521
532
  # })
522
533
  #
523
534
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteComponent AWS API Documentation
@@ -616,9 +627,14 @@ module Aws::ApplicationInsights
616
627
  # @example Response structure
617
628
  #
618
629
  # resp.application_component.component_name #=> String
630
+ # resp.application_component.component_remarks #=> String
619
631
  # resp.application_component.resource_type #=> String
620
- # resp.application_component.tier #=> String, one of "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB", "SQL_SERVER"
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"
621
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
622
638
  # resp.resource_list #=> Array
623
639
  # resp.resource_list[0] #=> String
624
640
  #
@@ -655,7 +671,7 @@ module Aws::ApplicationInsights
655
671
  # @example Response structure
656
672
  #
657
673
  # resp.monitor #=> Boolean
658
- # 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"
659
675
  # resp.component_configuration #=> String
660
676
  #
661
677
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfiguration AWS API Documentation
@@ -689,7 +705,7 @@ module Aws::ApplicationInsights
689
705
  # resp = client.describe_component_configuration_recommendation({
690
706
  # resource_group_name: "ResourceGroupName", # required
691
707
  # component_name: "ComponentName", # required
692
- # tier: "DEFAULT", # required, accepts DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER
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
693
709
  # })
694
710
  #
695
711
  # @example Response structure
@@ -777,7 +793,7 @@ module Aws::ApplicationInsights
777
793
  # resp.observation.unit #=> String
778
794
  # resp.observation.value #=> Float
779
795
  # resp.observation.cloud_watch_event_id #=> String
780
- # 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"
781
797
  # resp.observation.cloud_watch_event_detail_type #=> String
782
798
  # resp.observation.health_event_arn #=> String
783
799
  # resp.observation.health_service #=> String
@@ -790,6 +806,17 @@ module Aws::ApplicationInsights
790
806
  # resp.observation.code_deploy_application #=> String
791
807
  # resp.observation.code_deploy_instance_group_id #=> String
792
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
793
820
  # resp.observation.x_ray_fault_percent #=> Integer
794
821
  # resp.observation.x_ray_throttle_percent #=> Integer
795
822
  # resp.observation.x_ray_error_percent #=> Integer
@@ -877,7 +904,7 @@ module Aws::ApplicationInsights
877
904
  # resp.related_observations.observation_list[0].unit #=> String
878
905
  # resp.related_observations.observation_list[0].value #=> Float
879
906
  # resp.related_observations.observation_list[0].cloud_watch_event_id #=> String
880
- # 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"
881
908
  # resp.related_observations.observation_list[0].cloud_watch_event_detail_type #=> String
882
909
  # resp.related_observations.observation_list[0].health_event_arn #=> String
883
910
  # resp.related_observations.observation_list[0].health_service #=> String
@@ -890,6 +917,17 @@ module Aws::ApplicationInsights
890
917
  # resp.related_observations.observation_list[0].code_deploy_application #=> String
891
918
  # resp.related_observations.observation_list[0].code_deploy_instance_group_id #=> String
892
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
893
931
  # resp.related_observations.observation_list[0].x_ray_fault_percent #=> Integer
894
932
  # resp.related_observations.observation_list[0].x_ray_throttle_percent #=> Integer
895
933
  # resp.related_observations.observation_list[0].x_ray_error_percent #=> Integer
@@ -984,9 +1022,14 @@ module Aws::ApplicationInsights
984
1022
  #
985
1023
  # resp.application_component_list #=> Array
986
1024
  # resp.application_component_list[0].component_name #=> String
1025
+ # resp.application_component_list[0].component_remarks #=> String
987
1026
  # resp.application_component_list[0].resource_type #=> String
988
- # resp.application_component_list[0].tier #=> String, one of "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB", "SQL_SERVER"
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"
989
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
990
1033
  # resp.next_token #=> String
991
1034
  #
992
1035
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListComponents AWS API Documentation
@@ -1063,7 +1106,7 @@ module Aws::ApplicationInsights
1063
1106
  # resp.event_list #=> Array
1064
1107
  # resp.event_list[0].monitored_resource_arn #=> String
1065
1108
  # resp.event_list[0].event_status #=> String, one of "INFO", "WARN", "ERROR"
1066
- # 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"
1067
1110
  # resp.event_list[0].event_time #=> Time
1068
1111
  # resp.event_list[0].event_detail #=> String
1069
1112
  # resp.event_list[0].event_resource_name #=> String
@@ -1429,8 +1472,8 @@ module Aws::ApplicationInsights
1429
1472
  #
1430
1473
  # resp = client.update_component({
1431
1474
  # resource_group_name: "ResourceGroupName", # required
1432
- # component_name: "ComponentName", # required
1433
- # new_component_name: "NewComponentName",
1475
+ # component_name: "CustomComponentName", # required
1476
+ # new_component_name: "CustomComponentName",
1434
1477
  # resource_list: ["ResourceARN"],
1435
1478
  # })
1436
1479
  #
@@ -1483,7 +1526,7 @@ module Aws::ApplicationInsights
1483
1526
  # resource_group_name: "ResourceGroupName", # required
1484
1527
  # component_name: "ComponentName", # required
1485
1528
  # monitor: false,
1486
- # tier: "DEFAULT", # accepts DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER
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
1487
1530
  # component_configuration: "ComponentConfiguration",
1488
1531
  # })
1489
1532
  #
@@ -1508,10 +1551,21 @@ module Aws::ApplicationInsights
1508
1551
  # The name of the log pattern.
1509
1552
  #
1510
1553
  # @option params [String] :pattern
1511
- # 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.
1512
1557
  #
1513
1558
  # @option params [Integer] :rank
1514
- # 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.
1515
1569
  #
1516
1570
  # @return [Types::UpdateLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1517
1571
  #
@@ -1558,7 +1612,7 @@ module Aws::ApplicationInsights
1558
1612
  params: params,
1559
1613
  config: config)
1560
1614
  context[:gem_name] = 'aws-sdk-applicationinsights'
1561
- context[:gem_version] = '1.15.0'
1615
+ context[:gem_version] = '1.16.0'
1562
1616
  Seahorse::Client::Request.new(handlers, context)
1563
1617
  end
1564
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: ComponentName, required: true, location_name: "ComponentName"))
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: ComponentName, required: true, location_name: "ComponentName"))
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: ComponentName, required: true, location_name: "ComponentName"))
499
- UpdateComponentRequest.add_member(:new_component_name, Shapes::ShapeRef.new(shape: NewComponentName, location_name: "NewComponentName"))
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: "ComponentName", # required
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: "ComponentName", # required
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: "DEFAULT", # required, accepts DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER
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 contains at many
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 contains at many
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
- # contains at many as 50 characters, and it cannot be empty.
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: "DEFAULT", # accepts DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER
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: "ComponentName", # required
1728
- # new_component_name: "NewComponentName",
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.15.0
4
+ version: 1.16.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: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core