aws-sdk-cloudwatchlogs 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa0d45c9c1c3a7f744a4de5670ca5ee556beb592
|
4
|
+
data.tar.gz: bfb7ba4a8e3d4bd88d84749eeec63730e611de9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb276ffc5faee4a0daad056963d548420c126e93042bfd59849bd120bf52c5a890cd7df6262a6b313b5ea6e0bb0ad7ef1a74dfc45a9a3010f74dc8a7521f85da
|
7
|
+
data.tar.gz: f764ae0c7235dc12b9608d6984c87e08c2308a55f946bcee4268e2bfe2df99711c363d8dd7e5b70c191e73659001c306d81afa3a1c9828ac01f9e60ffa700532
|
@@ -749,7 +749,7 @@ module Aws::CloudWatchLogs
|
|
749
749
|
# @option params [String] :log_stream_name_prefix
|
750
750
|
# The prefix to match.
|
751
751
|
#
|
752
|
-
#
|
752
|
+
# If `orderBy` is `LastEventTime`,you cannot specify this parameter.
|
753
753
|
#
|
754
754
|
# @option params [String] :order_by
|
755
755
|
# If the value is `LogStreamName`, the results are ordered by log stream
|
@@ -836,12 +836,14 @@ module Aws::CloudWatchLogs
|
|
836
836
|
# the default is up to 50 items.
|
837
837
|
#
|
838
838
|
# @option params [String] :metric_name
|
839
|
-
#
|
840
|
-
#
|
841
|
-
#
|
839
|
+
# Filters results to include only those with the specified metric name.
|
840
|
+
# If you include this parameter in your request, you must also include
|
841
|
+
# the `metricNamespace` parameter.
|
842
842
|
#
|
843
843
|
# @option params [String] :metric_namespace
|
844
|
-
#
|
844
|
+
# Filters results to include only those in the specified namespace. If
|
845
|
+
# you include this parameter in your request, you must also include the
|
846
|
+
# `metricName` parameter.
|
845
847
|
#
|
846
848
|
# @return [Types::DescribeMetricFiltersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
847
849
|
#
|
@@ -1107,13 +1109,14 @@ module Aws::CloudWatchLogs
|
|
1107
1109
|
#
|
1108
1110
|
# @option params [Integer] :start_time
|
1109
1111
|
# The start of the time range, expressed as the number of milliseconds
|
1110
|
-
# after Jan 1, 1970 00:00:00 UTC. Events with a time stamp
|
1111
|
-
# this time are
|
1112
|
+
# after Jan 1, 1970 00:00:00 UTC. Events with a time stamp equal to this
|
1113
|
+
# time or later than this time are included. Events with a time stamp
|
1114
|
+
# earlier than this time are not included.
|
1112
1115
|
#
|
1113
1116
|
# @option params [Integer] :end_time
|
1114
1117
|
# The end of the time range, expressed as the number of milliseconds
|
1115
|
-
# after Jan 1, 1970 00:00:00 UTC. Events with a time stamp
|
1116
|
-
# this time are not included.
|
1118
|
+
# after Jan 1, 1970 00:00:00 UTC. Events with a time stamp equal to or
|
1119
|
+
# later than this time are not included.
|
1117
1120
|
#
|
1118
1121
|
# @option params [String] :next_token
|
1119
1122
|
# The token for the next set of items to return. (You received this
|
@@ -1305,14 +1308,20 @@ module Aws::CloudWatchLogs
|
|
1305
1308
|
# retention period of the log group.
|
1306
1309
|
#
|
1307
1310
|
# * The log events in the batch must be in chronological ordered by
|
1308
|
-
# their time stamp
|
1309
|
-
# number of milliseconds after Jan 1, 1970 00:00:00
|
1311
|
+
# their time stamp. The time stamp is the time the event occurred,
|
1312
|
+
# expressed as the number of milliseconds after Jan 1, 1970 00:00:00
|
1313
|
+
# UTC. (In AWS Tools for PowerShell and the AWS SDK for .NET, the
|
1314
|
+
# timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. For
|
1315
|
+
# example, 2017-09-15T13:45:30.)
|
1310
1316
|
#
|
1311
1317
|
# * The maximum number of log events in a batch is 10,000.
|
1312
1318
|
#
|
1313
1319
|
# * A batch of log events in a single request cannot span more than 24
|
1314
1320
|
# hours. Otherwise, the operation fails.
|
1315
1321
|
#
|
1322
|
+
# If a call to PutLogEvents returns "UnrecognizedClientException" the
|
1323
|
+
# most likely cause is an invalid AWS access key ID or secret key.
|
1324
|
+
#
|
1316
1325
|
# @option params [required, String] :log_group_name
|
1317
1326
|
# The name of the log group.
|
1318
1327
|
#
|
@@ -1414,7 +1423,7 @@ module Aws::CloudWatchLogs
|
|
1414
1423
|
|
1415
1424
|
# Creates or updates a resource policy allowing other AWS services to
|
1416
1425
|
# put log events to this account, such as Amazon Route 53. An account
|
1417
|
-
# can have up to
|
1426
|
+
# can have up to 10 resource policies per region.
|
1418
1427
|
#
|
1419
1428
|
# @option params [String] :policy_name
|
1420
1429
|
# Name of the new policy. This parameter is required.
|
@@ -1429,10 +1438,10 @@ module Aws::CloudWatchLogs
|
|
1429
1438
|
# "logArn" with the ARN of your CloudWatch Logs resource, such as a
|
1430
1439
|
# log group or log stream.
|
1431
1440
|
#
|
1432
|
-
#
|
1433
|
-
# "Route53LogsToCloudWatchLogs", "Effect": "Allow", "Principal":
|
1434
|
-
#
|
1435
|
-
# "Action":"logs:PutLogEvents", "Resource": logArn
|
1441
|
+
# `\{ "Version": "2012-10-17", "Statement": [ \{ "Sid":
|
1442
|
+
# "Route53LogsToCloudWatchLogs", "Effect": "Allow", "Principal": \{
|
1443
|
+
# "Service": [ "route53.amazonaws.com" ] \},
|
1444
|
+
# "Action":"logs:PutLogEvents", "Resource": "logArn" \} ] \} `
|
1436
1445
|
#
|
1437
1446
|
# @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1438
1447
|
#
|
@@ -1697,7 +1706,7 @@ module Aws::CloudWatchLogs
|
|
1697
1706
|
params: params,
|
1698
1707
|
config: config)
|
1699
1708
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
1700
|
-
context[:gem_version] = '1.
|
1709
|
+
context[:gem_version] = '1.5.0'
|
1701
1710
|
Seahorse::Client::Request.new(handlers, context)
|
1702
1711
|
end
|
1703
1712
|
|
@@ -145,6 +145,7 @@ module Aws::CloudWatchLogs
|
|
145
145
|
TestMetricFilterResponse = Shapes::StructureShape.new(name: 'TestMetricFilterResponse')
|
146
146
|
Timestamp = Shapes::IntegerShape.new(name: 'Timestamp')
|
147
147
|
Token = Shapes::StringShape.new(name: 'Token')
|
148
|
+
UnrecognizedClientException = Shapes::StructureShape.new(name: 'UnrecognizedClientException')
|
148
149
|
UntagLogGroupRequest = Shapes::StructureShape.new(name: 'UntagLogGroupRequest')
|
149
150
|
Value = Shapes::StringShape.new(name: 'Value')
|
150
151
|
|
@@ -864,6 +865,7 @@ module Aws::CloudWatchLogs
|
|
864
865
|
o.errors << Shapes::ShapeRef.new(shape: DataAlreadyAcceptedException)
|
865
866
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
866
867
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
868
|
+
o.errors << Shapes::ShapeRef.new(shape: UnrecognizedClientException)
|
867
869
|
end)
|
868
870
|
|
869
871
|
api.add_operation(:put_metric_filter, Seahorse::Model::Operation.new.tap do |o|
|
@@ -509,7 +509,7 @@ module Aws::CloudWatchLogs
|
|
509
509
|
# @!attribute [rw] log_stream_name_prefix
|
510
510
|
# The prefix to match.
|
511
511
|
#
|
512
|
-
#
|
512
|
+
# If `orderBy` is `LastEventTime`,you cannot specify this parameter.
|
513
513
|
# @return [String]
|
514
514
|
#
|
515
515
|
# @!attribute [rw] order_by
|
@@ -604,13 +604,15 @@ module Aws::CloudWatchLogs
|
|
604
604
|
# @return [Integer]
|
605
605
|
#
|
606
606
|
# @!attribute [rw] metric_name
|
607
|
-
#
|
608
|
-
#
|
609
|
-
#
|
607
|
+
# Filters results to include only those with the specified metric
|
608
|
+
# name. If you include this parameter in your request, you must also
|
609
|
+
# include the `metricNamespace` parameter.
|
610
610
|
# @return [String]
|
611
611
|
#
|
612
612
|
# @!attribute [rw] metric_namespace
|
613
|
-
#
|
613
|
+
# Filters results to include only those in the specified namespace. If
|
614
|
+
# you include this parameter in your request, you must also include
|
615
|
+
# the `metricName` parameter.
|
614
616
|
# @return [String]
|
615
617
|
#
|
616
618
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFiltersRequest AWS API Documentation
|
@@ -1051,14 +1053,15 @@ module Aws::CloudWatchLogs
|
|
1051
1053
|
#
|
1052
1054
|
# @!attribute [rw] start_time
|
1053
1055
|
# The start of the time range, expressed as the number of milliseconds
|
1054
|
-
# after Jan 1, 1970 00:00:00 UTC. Events with a time stamp
|
1055
|
-
# than this time are
|
1056
|
+
# after Jan 1, 1970 00:00:00 UTC. Events with a time stamp equal to
|
1057
|
+
# this time or later than this time are included. Events with a time
|
1058
|
+
# stamp earlier than this time are not included.
|
1056
1059
|
# @return [Integer]
|
1057
1060
|
#
|
1058
1061
|
# @!attribute [rw] end_time
|
1059
1062
|
# The end of the time range, expressed as the number of milliseconds
|
1060
|
-
# after Jan 1, 1970 00:00:00 UTC. Events with a time stamp
|
1061
|
-
# this time are not included.
|
1063
|
+
# after Jan 1, 1970 00:00:00 UTC. Events with a time stamp equal to or
|
1064
|
+
# later than this time are not included.
|
1062
1065
|
# @return [Integer]
|
1063
1066
|
#
|
1064
1067
|
# @!attribute [rw] next_token
|
@@ -1097,12 +1100,15 @@ module Aws::CloudWatchLogs
|
|
1097
1100
|
#
|
1098
1101
|
# @!attribute [rw] next_forward_token
|
1099
1102
|
# The token for the next set of items in the forward direction. The
|
1100
|
-
# token expires after 24 hours.
|
1103
|
+
# token expires after 24 hours. If you have reached the end of the
|
1104
|
+
# stream, it will return the same token you passed in.
|
1101
1105
|
# @return [String]
|
1102
1106
|
#
|
1103
1107
|
# @!attribute [rw] next_backward_token
|
1104
1108
|
# The token for the next set of items in the backward direction. The
|
1105
|
-
# token expires after 24 hours.
|
1109
|
+
# token expires after 24 hours. This token will never be null. If you
|
1110
|
+
# have reached the end of the stream, it will return the same token
|
1111
|
+
# you passed in.
|
1106
1112
|
# @return [String]
|
1107
1113
|
#
|
1108
1114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEventsResponse AWS API Documentation
|
@@ -1127,7 +1133,7 @@ module Aws::CloudWatchLogs
|
|
1127
1133
|
#
|
1128
1134
|
# @!attribute [rw] timestamp
|
1129
1135
|
# The time the event occurred, expressed as the number of milliseconds
|
1130
|
-
#
|
1136
|
+
# after Jan 1, 1970 00:00:00 UTC.
|
1131
1137
|
# @return [Integer]
|
1132
1138
|
#
|
1133
1139
|
# @!attribute [rw] message
|
@@ -1600,11 +1606,10 @@ module Aws::CloudWatchLogs
|
|
1600
1606
|
# Replace "logArn" with the ARN of your CloudWatch Logs resource,
|
1601
1607
|
# such as a log group or log stream.
|
1602
1608
|
#
|
1603
|
-
#
|
1604
|
-
# "Route53LogsToCloudWatchLogs", "Effect": "Allow",
|
1605
|
-
# "
|
1606
|
-
#
|
1607
|
-
# \\}
|
1609
|
+
# `\{ "Version": "2012-10-17", "Statement": [ \{ "Sid":
|
1610
|
+
# "Route53LogsToCloudWatchLogs", "Effect": "Allow", "Principal": \{
|
1611
|
+
# "Service": [ "route53.amazonaws.com" ] \},
|
1612
|
+
# "Action":"logs:PutLogEvents", "Resource": "logArn" \} ] \} `
|
1608
1613
|
# @return [String]
|
1609
1614
|
#
|
1610
1615
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicyRequest AWS API Documentation
|
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.
|
4
|
+
version: 1.5.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-
|
11
|
+
date: 2018-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|