aws-sdk-applicationinsights 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8c42ca30ffbca6b7c5a1a08abc79166cb999fcb
4
- data.tar.gz: 1e8e3c7a9391097116637a898fdbb91a9a66e18d
3
+ metadata.gz: d18f2879a6975ece31e48f31c2a9c703f7f8b88c
4
+ data.tar.gz: 64ff7f5ba1a6609ca2f035ef7039777f9a7de84b
5
5
  SHA512:
6
- metadata.gz: c48105cc436c15a585a48e6c70c460d41dec14df2c0ac21b79c6c5f479b711eebc485d74610ea4f133db1eb01540969a63be3bee4f486a453a685b3ba44c7267
7
- data.tar.gz: 93abc2c8074264ece9f9160e3fc56c3654236ebbeeef97a6adf23dba5b7c418df5ca4914124305b423e63722477db532ae99b726accd9bf5fc2797663661c1a8
6
+ metadata.gz: 973f4127369b76203417c6a0acaa57af1b96fe2bdc3dc71370eb97af3086ead541c7111f477ca1cd1684902c9d57d4b12a1aea288ac99aa5329b26f79c55b11d
7
+ data.tar.gz: 38e8d4e5f195590aa513b0d7d17e642c5dee027314025ea9ad5e5d00eb667fce4214cdf5c24adf796eb8a150f43a65365f20267de75da92504cf5cc88b2804ea
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-applicationinsights/customizations'
42
42
  # @service
43
43
  module Aws::ApplicationInsights
44
44
 
45
- GEM_VERSION = '1.4.0'
45
+ GEM_VERSION = '1.5.0'
46
46
 
47
47
  end
@@ -278,6 +278,11 @@ module Aws::ApplicationInsights
278
278
  # the created opsItem. Allows you to receive notifications for updates
279
279
  # to the opsItem.
280
280
  #
281
+ # @option params [Array<Types::Tag>] :tags
282
+ # List of tags to add to the application. tag key (`Key`) and an
283
+ # associated tag value (`Value`). The maximum length of a tag key is 128
284
+ # characters. The maximum length of a tag value is 256 characters.
285
+ #
281
286
  # @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
282
287
  #
283
288
  # * {Types::CreateApplicationResponse#application_info #application_info} => Types::ApplicationInfo
@@ -288,6 +293,12 @@ module Aws::ApplicationInsights
288
293
  # resource_group_name: "ResourceGroupName", # required
289
294
  # ops_center_enabled: false,
290
295
  # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
296
+ # tags: [
297
+ # {
298
+ # key: "TagKey", # required
299
+ # value: "TagValue", # required
300
+ # },
301
+ # ],
291
302
  # })
292
303
  #
293
304
  # @example Response structure
@@ -338,6 +349,55 @@ module Aws::ApplicationInsights
338
349
  req.send_request(options)
339
350
  end
340
351
 
352
+ # Adds an log pattern to a `LogPatternSet`.
353
+ #
354
+ # @option params [required, String] :resource_group_name
355
+ # The name of the resource group.
356
+ #
357
+ # @option params [required, String] :pattern_set_name
358
+ # The name of the log pattern set.
359
+ #
360
+ # @option params [required, String] :pattern_name
361
+ # The name of the log pattern.
362
+ #
363
+ # @option params [required, String] :pattern
364
+ # The log pattern.
365
+ #
366
+ # @option params [required, Integer] :rank
367
+ # Rank of the log pattern.
368
+ #
369
+ # @return [Types::CreateLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
370
+ #
371
+ # * {Types::CreateLogPatternResponse#log_pattern #log_pattern} => Types::LogPattern
372
+ # * {Types::CreateLogPatternResponse#resource_group_name #resource_group_name} => String
373
+ #
374
+ # @example Request syntax with placeholder values
375
+ #
376
+ # resp = client.create_log_pattern({
377
+ # resource_group_name: "ResourceGroupName", # required
378
+ # pattern_set_name: "LogPatternSetName", # required
379
+ # pattern_name: "LogPatternName", # required
380
+ # pattern: "LogPatternRegex", # required
381
+ # rank: 1, # required
382
+ # })
383
+ #
384
+ # @example Response structure
385
+ #
386
+ # resp.log_pattern.pattern_set_name #=> String
387
+ # resp.log_pattern.pattern_name #=> String
388
+ # resp.log_pattern.pattern #=> String
389
+ # resp.log_pattern.rank #=> Integer
390
+ # resp.resource_group_name #=> String
391
+ #
392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateLogPattern AWS API Documentation
393
+ #
394
+ # @overload create_log_pattern(params = {})
395
+ # @param [Hash] params ({})
396
+ def create_log_pattern(params = {}, options = {})
397
+ req = build_request(:create_log_pattern, params)
398
+ req.send_request(options)
399
+ end
400
+
341
401
  # Removes the specified application from monitoring. Does not delete the
342
402
  # application.
343
403
  #
@@ -389,6 +449,36 @@ module Aws::ApplicationInsights
389
449
  req.send_request(options)
390
450
  end
391
451
 
452
+ # Removes the specified log pattern from a `LogPatternSet`.
453
+ #
454
+ # @option params [required, String] :resource_group_name
455
+ # The name of the resource group.
456
+ #
457
+ # @option params [required, String] :pattern_set_name
458
+ # The name of the log pattern set.
459
+ #
460
+ # @option params [required, String] :pattern_name
461
+ # The name of the log pattern.
462
+ #
463
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
464
+ #
465
+ # @example Request syntax with placeholder values
466
+ #
467
+ # resp = client.delete_log_pattern({
468
+ # resource_group_name: "ResourceGroupName", # required
469
+ # pattern_set_name: "LogPatternSetName", # required
470
+ # pattern_name: "LogPatternName", # required
471
+ # })
472
+ #
473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteLogPattern AWS API Documentation
474
+ #
475
+ # @overload delete_log_pattern(params = {})
476
+ # @param [Hash] params ({})
477
+ def delete_log_pattern(params = {}, options = {})
478
+ req = build_request(:delete_log_pattern, params)
479
+ req.send_request(options)
480
+ end
481
+
392
482
  # Describes the application.
393
483
  #
394
484
  # @option params [required, String] :resource_group_name
@@ -446,7 +536,7 @@ module Aws::ApplicationInsights
446
536
  #
447
537
  # resp.application_component.component_name #=> String
448
538
  # resp.application_component.resource_type #=> String
449
- # resp.application_component.tier #=> String
539
+ # resp.application_component.tier #=> String, one of "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB", "SQL_SERVER"
450
540
  # resp.application_component.monitor #=> Boolean
451
541
  # resp.resource_list #=> Array
452
542
  # resp.resource_list[0] #=> String
@@ -484,7 +574,7 @@ module Aws::ApplicationInsights
484
574
  # @example Response structure
485
575
  #
486
576
  # resp.monitor #=> Boolean
487
- # resp.tier #=> String
577
+ # resp.tier #=> String, one of "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB", "SQL_SERVER"
488
578
  # resp.component_configuration #=> String
489
579
  #
490
580
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfiguration AWS API Documentation
@@ -506,7 +596,8 @@ module Aws::ApplicationInsights
506
596
  #
507
597
  # @option params [required, String] :tier
508
598
  # The tier of the application component. Supported tiers include
509
- # `DOT_NET_WORKER`, `DOT_NET_WEB`, `SQL_SERVER`, and `DEFAULT`.
599
+ # `DOT_NET_CORE`, `DOT_NET_WORKER`, `DOT_NET_WEB`, `SQL_SERVER`, and
600
+ # `DEFAULT`.
510
601
  #
511
602
  # @return [Types::DescribeComponentConfigurationRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
512
603
  #
@@ -517,7 +608,7 @@ module Aws::ApplicationInsights
517
608
  # resp = client.describe_component_configuration_recommendation({
518
609
  # resource_group_name: "ResourceGroupName", # required
519
610
  # component_name: "ComponentName", # required
520
- # tier: "Tier", # required
611
+ # tier: "DEFAULT", # required, accepts DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER
521
612
  # })
522
613
  #
523
614
  # @example Response structure
@@ -533,6 +624,47 @@ module Aws::ApplicationInsights
533
624
  req.send_request(options)
534
625
  end
535
626
 
627
+ # Describe a specific log pattern from a `LogPatternSet`.
628
+ #
629
+ # @option params [required, String] :resource_group_name
630
+ # The name of the resource group.
631
+ #
632
+ # @option params [required, String] :pattern_set_name
633
+ # The name of the log pattern set.
634
+ #
635
+ # @option params [required, String] :pattern_name
636
+ # The name of the log pattern.
637
+ #
638
+ # @return [Types::DescribeLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
639
+ #
640
+ # * {Types::DescribeLogPatternResponse#resource_group_name #resource_group_name} => String
641
+ # * {Types::DescribeLogPatternResponse#log_pattern #log_pattern} => Types::LogPattern
642
+ #
643
+ # @example Request syntax with placeholder values
644
+ #
645
+ # resp = client.describe_log_pattern({
646
+ # resource_group_name: "ResourceGroupName", # required
647
+ # pattern_set_name: "LogPatternSetName", # required
648
+ # pattern_name: "LogPatternName", # required
649
+ # })
650
+ #
651
+ # @example Response structure
652
+ #
653
+ # resp.resource_group_name #=> String
654
+ # resp.log_pattern.pattern_set_name #=> String
655
+ # resp.log_pattern.pattern_name #=> String
656
+ # resp.log_pattern.pattern #=> String
657
+ # resp.log_pattern.rank #=> Integer
658
+ #
659
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeLogPattern AWS API Documentation
660
+ #
661
+ # @overload describe_log_pattern(params = {})
662
+ # @param [Hash] params ({})
663
+ def describe_log_pattern(params = {}, options = {})
664
+ req = build_request(:describe_log_pattern, params)
665
+ req.send_request(options)
666
+ end
667
+
536
668
  # Describes an anomaly or error with the application.
537
669
  #
538
670
  # @option params [required, String] :observation_id
@@ -597,7 +729,7 @@ module Aws::ApplicationInsights
597
729
  # resp.problem.affected_resource #=> String
598
730
  # resp.problem.start_time #=> Time
599
731
  # resp.problem.end_time #=> Time
600
- # resp.problem.severity_level #=> String, one of "LOW", "MEDIUM", "HIGH"
732
+ # resp.problem.severity_level #=> String, one of "Low", "Medium", "High"
601
733
  # resp.problem.resource_group_name #=> String
602
734
  # resp.problem.feedback #=> Hash
603
735
  # resp.problem.feedback["FeedbackKey"] #=> String, one of "NOT_SPECIFIED", "USEFUL", "NOT_USEFUL"
@@ -725,7 +857,7 @@ module Aws::ApplicationInsights
725
857
  # resp.application_component_list #=> Array
726
858
  # resp.application_component_list[0].component_name #=> String
727
859
  # resp.application_component_list[0].resource_type #=> String
728
- # resp.application_component_list[0].tier #=> String
860
+ # resp.application_component_list[0].tier #=> String, one of "DEFAULT", "DOT_NET_CORE", "DOT_NET_WORKER", "DOT_NET_WEB", "SQL_SERVER"
729
861
  # resp.application_component_list[0].monitor #=> Boolean
730
862
  # resp.next_token #=> String
731
863
  #
@@ -738,6 +870,99 @@ module Aws::ApplicationInsights
738
870
  req.send_request(options)
739
871
  end
740
872
 
873
+ # Lists the log pattern sets in the specific application.
874
+ #
875
+ # @option params [required, String] :resource_group_name
876
+ # The name of the resource group.
877
+ #
878
+ # @option params [Integer] :max_results
879
+ # The maximum number of results to return in a single call. To retrieve
880
+ # the remaining results, make another call with the returned `NextToken`
881
+ # value.
882
+ #
883
+ # @option params [String] :next_token
884
+ # The token to request the next page of results.
885
+ #
886
+ # @return [Types::ListLogPatternSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
887
+ #
888
+ # * {Types::ListLogPatternSetsResponse#resource_group_name #resource_group_name} => String
889
+ # * {Types::ListLogPatternSetsResponse#log_pattern_sets #log_pattern_sets} => Array&lt;String&gt;
890
+ # * {Types::ListLogPatternSetsResponse#next_token #next_token} => String
891
+ #
892
+ # @example Request syntax with placeholder values
893
+ #
894
+ # resp = client.list_log_pattern_sets({
895
+ # resource_group_name: "ResourceGroupName", # required
896
+ # max_results: 1,
897
+ # next_token: "PaginationToken",
898
+ # })
899
+ #
900
+ # @example Response structure
901
+ #
902
+ # resp.resource_group_name #=> String
903
+ # resp.log_pattern_sets #=> Array
904
+ # resp.log_pattern_sets[0] #=> String
905
+ # resp.next_token #=> String
906
+ #
907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatternSets AWS API Documentation
908
+ #
909
+ # @overload list_log_pattern_sets(params = {})
910
+ # @param [Hash] params ({})
911
+ def list_log_pattern_sets(params = {}, options = {})
912
+ req = build_request(:list_log_pattern_sets, params)
913
+ req.send_request(options)
914
+ end
915
+
916
+ # Lists the log patterns in the specific log `LogPatternSet`.
917
+ #
918
+ # @option params [required, String] :resource_group_name
919
+ # The name of the resource group.
920
+ #
921
+ # @option params [String] :pattern_set_name
922
+ # The name of the log pattern set.
923
+ #
924
+ # @option params [Integer] :max_results
925
+ # The maximum number of results to return in a single call. To retrieve
926
+ # the remaining results, make another call with the returned `NextToken`
927
+ # value.
928
+ #
929
+ # @option params [String] :next_token
930
+ # The token to request the next page of results.
931
+ #
932
+ # @return [Types::ListLogPatternsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
933
+ #
934
+ # * {Types::ListLogPatternsResponse#resource_group_name #resource_group_name} => String
935
+ # * {Types::ListLogPatternsResponse#log_patterns #log_patterns} => Array&lt;Types::LogPattern&gt;
936
+ # * {Types::ListLogPatternsResponse#next_token #next_token} => String
937
+ #
938
+ # @example Request syntax with placeholder values
939
+ #
940
+ # resp = client.list_log_patterns({
941
+ # resource_group_name: "ResourceGroupName", # required
942
+ # pattern_set_name: "LogPatternSetName",
943
+ # max_results: 1,
944
+ # next_token: "PaginationToken",
945
+ # })
946
+ #
947
+ # @example Response structure
948
+ #
949
+ # resp.resource_group_name #=> String
950
+ # resp.log_patterns #=> Array
951
+ # resp.log_patterns[0].pattern_set_name #=> String
952
+ # resp.log_patterns[0].pattern_name #=> String
953
+ # resp.log_patterns[0].pattern #=> String
954
+ # resp.log_patterns[0].rank #=> Integer
955
+ # resp.next_token #=> String
956
+ #
957
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatterns AWS API Documentation
958
+ #
959
+ # @overload list_log_patterns(params = {})
960
+ # @param [Hash] params ({})
961
+ def list_log_patterns(params = {}, options = {})
962
+ req = build_request(:list_log_patterns, params)
963
+ req.send_request(options)
964
+ end
965
+
741
966
  # Lists the problems with your application.
742
967
  #
743
968
  # @option params [String] :resource_group_name
@@ -785,7 +1010,7 @@ module Aws::ApplicationInsights
785
1010
  # resp.problem_list[0].affected_resource #=> String
786
1011
  # resp.problem_list[0].start_time #=> Time
787
1012
  # resp.problem_list[0].end_time #=> Time
788
- # resp.problem_list[0].severity_level #=> String, one of "LOW", "MEDIUM", "HIGH"
1013
+ # resp.problem_list[0].severity_level #=> String, one of "Low", "Medium", "High"
789
1014
  # resp.problem_list[0].resource_group_name #=> String
790
1015
  # resp.problem_list[0].feedback #=> Hash
791
1016
  # resp.problem_list[0].feedback["FeedbackKey"] #=> String, one of "NOT_SPECIFIED", "USEFUL", "NOT_USEFUL"
@@ -800,6 +1025,120 @@ module Aws::ApplicationInsights
800
1025
  req.send_request(options)
801
1026
  end
802
1027
 
1028
+ # Retrieve a list of the tags (keys and values) that are associated with
1029
+ # a specified application. A *tag* is a label that you optionally define
1030
+ # and associate with an application. Each tag consists of a required
1031
+ # *tag key* and an optional associated *tag value*. A tag key is a
1032
+ # general label that acts as a category for more specific tag values. A
1033
+ # tag value acts as a descriptor within a tag key.
1034
+ #
1035
+ # @option params [required, String] :resource_arn
1036
+ # The Amazon Resource Name (ARN) of the application that you want to
1037
+ # retrieve tag information for.
1038
+ #
1039
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1040
+ #
1041
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
1042
+ #
1043
+ # @example Request syntax with placeholder values
1044
+ #
1045
+ # resp = client.list_tags_for_resource({
1046
+ # resource_arn: "AmazonResourceName", # required
1047
+ # })
1048
+ #
1049
+ # @example Response structure
1050
+ #
1051
+ # resp.tags #=> Array
1052
+ # resp.tags[0].key #=> String
1053
+ # resp.tags[0].value #=> String
1054
+ #
1055
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListTagsForResource AWS API Documentation
1056
+ #
1057
+ # @overload list_tags_for_resource(params = {})
1058
+ # @param [Hash] params ({})
1059
+ def list_tags_for_resource(params = {}, options = {})
1060
+ req = build_request(:list_tags_for_resource, params)
1061
+ req.send_request(options)
1062
+ end
1063
+
1064
+ # Add one or more tags (keys and values) to a specified application. A
1065
+ # *tag* is a label that you optionally define and associate with an
1066
+ # application. Tags can help you categorize and manage application in
1067
+ # different ways, such as by purpose, owner, environment, or other
1068
+ # criteria.
1069
+ #
1070
+ # Each tag consists of a required *tag key* and an associated *tag
1071
+ # value*, both of which you define. A tag key is a general label that
1072
+ # acts as a category for more specific tag values. A tag value acts as a
1073
+ # descriptor within a tag key.
1074
+ #
1075
+ # @option params [required, String] :resource_arn
1076
+ # The Amazon Resource Name (ARN) of the application that you want to add
1077
+ # one or more tags to.
1078
+ #
1079
+ # @option params [required, Array<Types::Tag>] :tags
1080
+ # A list of tags that to add to the application. A tag consists of a
1081
+ # required tag key (`Key`) and an associated tag value (`Value`). The
1082
+ # maximum length of a tag key is 128 characters. The maximum length of a
1083
+ # tag value is 256 characters.
1084
+ #
1085
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1086
+ #
1087
+ # @example Request syntax with placeholder values
1088
+ #
1089
+ # resp = client.tag_resource({
1090
+ # resource_arn: "AmazonResourceName", # required
1091
+ # tags: [ # required
1092
+ # {
1093
+ # key: "TagKey", # required
1094
+ # value: "TagValue", # required
1095
+ # },
1096
+ # ],
1097
+ # })
1098
+ #
1099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/TagResource AWS API Documentation
1100
+ #
1101
+ # @overload tag_resource(params = {})
1102
+ # @param [Hash] params ({})
1103
+ def tag_resource(params = {}, options = {})
1104
+ req = build_request(:tag_resource, params)
1105
+ req.send_request(options)
1106
+ end
1107
+
1108
+ # Remove one or more tags (keys and values) from a specified
1109
+ # application.
1110
+ #
1111
+ # @option params [required, String] :resource_arn
1112
+ # The Amazon Resource Name (ARN) of the application that you want to
1113
+ # remove one or more tags from.
1114
+ #
1115
+ # @option params [required, Array<String>] :tag_keys
1116
+ # The tags (tag keys) that you want to remove from the resource. When
1117
+ # you specify a tag key, the action removes both that key and its
1118
+ # associated tag value.
1119
+ #
1120
+ # To remove more than one tag from the application, append the `TagKeys`
1121
+ # parameter and argument for each additional tag to remove, separated by
1122
+ # an ampersand.
1123
+ #
1124
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1125
+ #
1126
+ # @example Request syntax with placeholder values
1127
+ #
1128
+ # resp = client.untag_resource({
1129
+ # resource_arn: "AmazonResourceName", # required
1130
+ # tag_keys: ["TagKey"], # required
1131
+ # })
1132
+ #
1133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UntagResource AWS API Documentation
1134
+ #
1135
+ # @overload untag_resource(params = {})
1136
+ # @param [Hash] params ({})
1137
+ def untag_resource(params = {}, options = {})
1138
+ req = build_request(:untag_resource, params)
1139
+ req.send_request(options)
1140
+ end
1141
+
803
1142
  # Updates the application.
804
1143
  #
805
1144
  # @option params [required, String] :resource_group_name
@@ -899,18 +1238,21 @@ module Aws::ApplicationInsights
899
1238
  #
900
1239
  # @option params [String] :tier
901
1240
  # The tier of the application component. Supported tiers include
902
- # `DOT_NET_WORKER`, `DOT_NET_WEB`, `SQL_SERVER`, and `DEFAULT`.
1241
+ # `DOT_NET_WORKER`, `DOT_NET_WEB`, `DOT_NET_CORE`, `SQL_SERVER`, and
1242
+ # `DEFAULT`.
903
1243
  #
904
1244
  # @option params [String] :component_configuration
905
1245
  # The configuration settings of the component. The value is the escaped
906
1246
  # JSON of the configuration. For more information about the JSON format,
907
1247
  # see [Working with JSON][1]. You can send a request to
908
1248
  # `DescribeComponentConfigurationRecommendation` to see the recommended
909
- # configuration for a component.
1249
+ # configuration for a component. For the complete format of the
1250
+ # component configuration file, see [Component Configuration][2].
910
1251
  #
911
1252
  #
912
1253
  #
913
1254
  # [1]: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/working-with-json.html
1255
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/component-config.html
914
1256
  #
915
1257
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
916
1258
  #
@@ -920,7 +1262,7 @@ module Aws::ApplicationInsights
920
1262
  # resource_group_name: "ResourceGroupName", # required
921
1263
  # component_name: "ComponentName", # required
922
1264
  # monitor: false,
923
- # tier: "Tier",
1265
+ # tier: "DEFAULT", # accepts DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER
924
1266
  # component_configuration: "ComponentConfiguration",
925
1267
  # })
926
1268
  #
@@ -933,6 +1275,55 @@ module Aws::ApplicationInsights
933
1275
  req.send_request(options)
934
1276
  end
935
1277
 
1278
+ # Adds a log pattern to a `LogPatternSet`.
1279
+ #
1280
+ # @option params [required, String] :resource_group_name
1281
+ # The name of the resource group.
1282
+ #
1283
+ # @option params [required, String] :pattern_set_name
1284
+ # The name of the log pattern set.
1285
+ #
1286
+ # @option params [required, String] :pattern_name
1287
+ # The name of the log pattern.
1288
+ #
1289
+ # @option params [String] :pattern
1290
+ # The log pattern.
1291
+ #
1292
+ # @option params [Integer] :rank
1293
+ # Rank of the log pattern.
1294
+ #
1295
+ # @return [Types::UpdateLogPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1296
+ #
1297
+ # * {Types::UpdateLogPatternResponse#resource_group_name #resource_group_name} => String
1298
+ # * {Types::UpdateLogPatternResponse#log_pattern #log_pattern} => Types::LogPattern
1299
+ #
1300
+ # @example Request syntax with placeholder values
1301
+ #
1302
+ # resp = client.update_log_pattern({
1303
+ # resource_group_name: "ResourceGroupName", # required
1304
+ # pattern_set_name: "LogPatternSetName", # required
1305
+ # pattern_name: "LogPatternName", # required
1306
+ # pattern: "LogPatternRegex",
1307
+ # rank: 1,
1308
+ # })
1309
+ #
1310
+ # @example Response structure
1311
+ #
1312
+ # resp.resource_group_name #=> String
1313
+ # resp.log_pattern.pattern_set_name #=> String
1314
+ # resp.log_pattern.pattern_name #=> String
1315
+ # resp.log_pattern.pattern #=> String
1316
+ # resp.log_pattern.rank #=> Integer
1317
+ #
1318
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateLogPattern AWS API Documentation
1319
+ #
1320
+ # @overload update_log_pattern(params = {})
1321
+ # @param [Hash] params ({})
1322
+ def update_log_pattern(params = {}, options = {})
1323
+ req = build_request(:update_log_pattern, params)
1324
+ req.send_request(options)
1325
+ end
1326
+
936
1327
  # @!endgroup
937
1328
 
938
1329
  # @param params ({})
@@ -946,7 +1337,7 @@ module Aws::ApplicationInsights
946
1337
  params: params,
947
1338
  config: config)
948
1339
  context[:gem_name] = 'aws-sdk-applicationinsights'
949
- context[:gem_version] = '1.4.0'
1340
+ context[:gem_version] = '1.5.0'
950
1341
  Seahorse::Client::Request.new(handlers, context)
951
1342
  end
952
1343