aws-sdk-cloudwatchlogs 1.7.0 → 1.8.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: 8b199124609efc9d1d82a9b28f3541e2241f2234
4
- data.tar.gz: 3f4c451b2e24b137fe19513aeb639b03184ed207
3
+ metadata.gz: 5f586e55577da55f3433531373568a97d53ccec4
4
+ data.tar.gz: 0a36ac160299892b0ba08bbb3676491dfe5ce487
5
5
  SHA512:
6
- metadata.gz: c6065ede2802112c354fa47ea316efc79361598b44f08660d7cdd182b1087e6d65adb07308ec0d2c26418156475c1b8646087fd7918f373b3c18fce0f58f4d61
7
- data.tar.gz: d0810f06a6848d958ba9c5a59510d1a44de45fa3033444717a58a796d2d5947896658b0eb43a99a4d69227f861ca3ca16fe356771be0e93d3a36b01e464f3ad9
6
+ metadata.gz: b6e7d3bd8179f1b490328f56e0b071f6c4e6add3db08a5f5d9baca347119539d45da986138900297627f1192d43c2d59ca0db33b5039f87eb212e65fd1fe45d7
7
+ data.tar.gz: ce991a842586ef7eb1c10b6009cbf67abfe0658d8f7e29e3c87a50c1c5104608398c5bd757e4fcb441939a21fb7a7851d25e8f1731480fcaffe8659eb1ee7508
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-cloudwatchlogs/customizations'
42
42
  # @service
43
43
  module Aws::CloudWatchLogs
44
44
 
45
- GEM_VERSION = '1.7.0'
45
+ GEM_VERSION = '1.8.0'
46
46
 
47
47
  end
@@ -1040,10 +1040,24 @@ module Aws::CloudWatchLogs
1040
1040
  # specifying the token in a subsequent call.
1041
1041
  #
1042
1042
  # @option params [required, String] :log_group_name
1043
- # The name of the log group.
1043
+ # The name of the log group to search.
1044
1044
  #
1045
1045
  # @option params [Array<String>] :log_stream_names
1046
- # Optional list of log stream names.
1046
+ # Filters the results to only logs from the log streams in this list.
1047
+ #
1048
+ # If you specify a value for both `logStreamNamePrefix` and
1049
+ # `logStreamNames`, but the value for `logStreamNamePrefix` does not
1050
+ # match any log stream names specified in `logStreamNames`, the action
1051
+ # returns an `InvalidParameterException` error.
1052
+ #
1053
+ # @option params [String] :log_stream_name_prefix
1054
+ # Filters the results to include only events from log streams that have
1055
+ # names starting with this prefix.
1056
+ #
1057
+ # If you specify a value for both `logStreamNamePrefix` and
1058
+ # `logStreamNames`, but the value for `logStreamNamePrefix` does not
1059
+ # match any log stream names specified in `logStreamNames`, the action
1060
+ # returns an `InvalidParameterException` error.
1047
1061
  #
1048
1062
  # @option params [Integer] :start_time
1049
1063
  # The start of the time range, expressed as the number of milliseconds
@@ -1056,8 +1070,14 @@ module Aws::CloudWatchLogs
1056
1070
  # this time are not returned.
1057
1071
  #
1058
1072
  # @option params [String] :filter_pattern
1059
- # The filter pattern to use. If not provided, all the events are
1060
- # matched.
1073
+ # The filter pattern to use. For more information, see [Filter and
1074
+ # Pattern Syntax][1].
1075
+ #
1076
+ # If not provided, all the events are matched.
1077
+ #
1078
+ #
1079
+ #
1080
+ # [1]: http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html
1061
1081
  #
1062
1082
  # @option params [String] :next_token
1063
1083
  # The token for the next set of events to return. (You received this
@@ -1084,6 +1104,7 @@ module Aws::CloudWatchLogs
1084
1104
  # resp = client.filter_log_events({
1085
1105
  # log_group_name: "LogGroupName", # required
1086
1106
  # log_stream_names: ["LogStreamName"],
1107
+ # log_stream_name_prefix: "LogStreamName",
1087
1108
  # start_time: 1,
1088
1109
  # end_time: 1,
1089
1110
  # filter_pattern: "FilterPattern",
@@ -1726,7 +1747,7 @@ module Aws::CloudWatchLogs
1726
1747
  params: params,
1727
1748
  config: config)
1728
1749
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
1729
- context[:gem_version] = '1.7.0'
1750
+ context[:gem_version] = '1.8.0'
1730
1751
  Seahorse::Client::Request.new(handlers, context)
1731
1752
  end
1732
1753
 
@@ -310,6 +310,7 @@ module Aws::CloudWatchLogs
310
310
 
311
311
  FilterLogEventsRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
312
312
  FilterLogEventsRequest.add_member(:log_stream_names, Shapes::ShapeRef.new(shape: InputLogStreamNames, location_name: "logStreamNames"))
313
+ FilterLogEventsRequest.add_member(:log_stream_name_prefix, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "logStreamNamePrefix"))
313
314
  FilterLogEventsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
314
315
  FilterLogEventsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
315
316
  FilterLogEventsRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
@@ -906,6 +906,7 @@ module Aws::CloudWatchLogs
906
906
  # {
907
907
  # log_group_name: "LogGroupName", # required
908
908
  # log_stream_names: ["LogStreamName"],
909
+ # log_stream_name_prefix: "LogStreamName",
909
910
  # start_time: 1,
910
911
  # end_time: 1,
911
912
  # filter_pattern: "FilterPattern",
@@ -915,13 +916,28 @@ module Aws::CloudWatchLogs
915
916
  # }
916
917
  #
917
918
  # @!attribute [rw] log_group_name
918
- # The name of the log group.
919
+ # The name of the log group to search.
919
920
  # @return [String]
920
921
  #
921
922
  # @!attribute [rw] log_stream_names
922
- # Optional list of log stream names.
923
+ # Filters the results to only logs from the log streams in this list.
924
+ #
925
+ # If you specify a value for both `logStreamNamePrefix` and
926
+ # `logStreamNames`, but the value for `logStreamNamePrefix` does not
927
+ # match any log stream names specified in `logStreamNames`, the action
928
+ # returns an `InvalidParameterException` error.
923
929
  # @return [Array<String>]
924
930
  #
931
+ # @!attribute [rw] log_stream_name_prefix
932
+ # Filters the results to include only events from log streams that
933
+ # have names starting with this prefix.
934
+ #
935
+ # If you specify a value for both `logStreamNamePrefix` and
936
+ # `logStreamNames`, but the value for `logStreamNamePrefix` does not
937
+ # match any log stream names specified in `logStreamNames`, the action
938
+ # returns an `InvalidParameterException` error.
939
+ # @return [String]
940
+ #
925
941
  # @!attribute [rw] start_time
926
942
  # The start of the time range, expressed as the number of milliseconds
927
943
  # after Jan 1, 1970 00:00:00 UTC. Events with a time stamp before this
@@ -935,8 +951,14 @@ module Aws::CloudWatchLogs
935
951
  # @return [Integer]
936
952
  #
937
953
  # @!attribute [rw] filter_pattern
938
- # The filter pattern to use. If not provided, all the events are
939
- # matched.
954
+ # The filter pattern to use. For more information, see [Filter and
955
+ # Pattern Syntax][1].
956
+ #
957
+ # If not provided, all the events are matched.
958
+ #
959
+ #
960
+ #
961
+ # [1]: http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html
940
962
  # @return [String]
941
963
  #
942
964
  # @!attribute [rw] next_token
@@ -963,6 +985,7 @@ module Aws::CloudWatchLogs
963
985
  class FilterLogEventsRequest < Struct.new(
964
986
  :log_group_name,
965
987
  :log_stream_names,
988
+ :log_stream_name_prefix,
966
989
  :start_time,
967
990
  :end_time,
968
991
  :filter_pattern,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchlogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.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: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core