aws-sdk-cloudwatchlogs 1.28.0 → 1.33.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 +5 -5
- data/lib/aws-sdk-cloudwatchlogs.rb +9 -4
- data/lib/aws-sdk-cloudwatchlogs/client.rb +255 -37
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +94 -0
- data/lib/aws-sdk-cloudwatchlogs/customizations.rb +1 -0
- data/lib/aws-sdk-cloudwatchlogs/errors.rb +112 -0
- data/lib/aws-sdk-cloudwatchlogs/resource.rb +3 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +314 -8
- metadata +5 -5
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -26,6 +28,8 @@ module Aws::CloudWatchLogs
|
|
26
28
|
DeleteLogGroupRequest = Shapes::StructureShape.new(name: 'DeleteLogGroupRequest')
|
27
29
|
DeleteLogStreamRequest = Shapes::StructureShape.new(name: 'DeleteLogStreamRequest')
|
28
30
|
DeleteMetricFilterRequest = Shapes::StructureShape.new(name: 'DeleteMetricFilterRequest')
|
31
|
+
DeleteQueryDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteQueryDefinitionRequest')
|
32
|
+
DeleteQueryDefinitionResponse = Shapes::StructureShape.new(name: 'DeleteQueryDefinitionResponse')
|
29
33
|
DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
|
30
34
|
DeleteRetentionPolicyRequest = Shapes::StructureShape.new(name: 'DeleteRetentionPolicyRequest')
|
31
35
|
DeleteSubscriptionFilterRequest = Shapes::StructureShape.new(name: 'DeleteSubscriptionFilterRequest')
|
@@ -44,6 +48,8 @@ module Aws::CloudWatchLogs
|
|
44
48
|
DescribeQueriesMaxResults = Shapes::IntegerShape.new(name: 'DescribeQueriesMaxResults')
|
45
49
|
DescribeQueriesRequest = Shapes::StructureShape.new(name: 'DescribeQueriesRequest')
|
46
50
|
DescribeQueriesResponse = Shapes::StructureShape.new(name: 'DescribeQueriesResponse')
|
51
|
+
DescribeQueryDefinitionsRequest = Shapes::StructureShape.new(name: 'DescribeQueryDefinitionsRequest')
|
52
|
+
DescribeQueryDefinitionsResponse = Shapes::StructureShape.new(name: 'DescribeQueryDefinitionsResponse')
|
47
53
|
DescribeResourcePoliciesRequest = Shapes::StructureShape.new(name: 'DescribeResourcePoliciesRequest')
|
48
54
|
DescribeResourcePoliciesResponse = Shapes::StructureShape.new(name: 'DescribeResourcePoliciesResponse')
|
49
55
|
DescribeSubscriptionFiltersRequest = Shapes::StructureShape.new(name: 'DescribeSubscriptionFiltersRequest')
|
@@ -134,6 +140,8 @@ module Aws::CloudWatchLogs
|
|
134
140
|
PutLogEventsRequest = Shapes::StructureShape.new(name: 'PutLogEventsRequest')
|
135
141
|
PutLogEventsResponse = Shapes::StructureShape.new(name: 'PutLogEventsResponse')
|
136
142
|
PutMetricFilterRequest = Shapes::StructureShape.new(name: 'PutMetricFilterRequest')
|
143
|
+
PutQueryDefinitionRequest = Shapes::StructureShape.new(name: 'PutQueryDefinitionRequest')
|
144
|
+
PutQueryDefinitionResponse = Shapes::StructureShape.new(name: 'PutQueryDefinitionResponse')
|
137
145
|
PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
|
138
146
|
PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
|
139
147
|
PutRetentionPolicyRequest = Shapes::StructureShape.new(name: 'PutRetentionPolicyRequest')
|
@@ -141,9 +149,14 @@ module Aws::CloudWatchLogs
|
|
141
149
|
QueryCharOffset = Shapes::IntegerShape.new(name: 'QueryCharOffset')
|
142
150
|
QueryCompileError = Shapes::StructureShape.new(name: 'QueryCompileError')
|
143
151
|
QueryCompileErrorLocation = Shapes::StructureShape.new(name: 'QueryCompileErrorLocation')
|
152
|
+
QueryDefinition = Shapes::StructureShape.new(name: 'QueryDefinition')
|
153
|
+
QueryDefinitionList = Shapes::ListShape.new(name: 'QueryDefinitionList')
|
154
|
+
QueryDefinitionName = Shapes::StringShape.new(name: 'QueryDefinitionName')
|
155
|
+
QueryDefinitionString = Shapes::StringShape.new(name: 'QueryDefinitionString')
|
144
156
|
QueryId = Shapes::StringShape.new(name: 'QueryId')
|
145
157
|
QueryInfo = Shapes::StructureShape.new(name: 'QueryInfo')
|
146
158
|
QueryInfoList = Shapes::ListShape.new(name: 'QueryInfoList')
|
159
|
+
QueryListMaxResults = Shapes::IntegerShape.new(name: 'QueryListMaxResults')
|
147
160
|
QueryResults = Shapes::ListShape.new(name: 'QueryResults')
|
148
161
|
QueryStatistics = Shapes::StructureShape.new(name: 'QueryStatistics')
|
149
162
|
QueryStatus = Shapes::StringShape.new(name: 'QueryStatus')
|
@@ -230,6 +243,12 @@ module Aws::CloudWatchLogs
|
|
230
243
|
DeleteMetricFilterRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "filterName"))
|
231
244
|
DeleteMetricFilterRequest.struct_class = Types::DeleteMetricFilterRequest
|
232
245
|
|
246
|
+
DeleteQueryDefinitionRequest.add_member(:query_definition_id, Shapes::ShapeRef.new(shape: QueryId, required: true, location_name: "queryDefinitionId"))
|
247
|
+
DeleteQueryDefinitionRequest.struct_class = Types::DeleteQueryDefinitionRequest
|
248
|
+
|
249
|
+
DeleteQueryDefinitionResponse.add_member(:success, Shapes::ShapeRef.new(shape: Success, location_name: "success"))
|
250
|
+
DeleteQueryDefinitionResponse.struct_class = Types::DeleteQueryDefinitionResponse
|
251
|
+
|
233
252
|
DeleteResourcePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
|
234
253
|
DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
|
235
254
|
|
@@ -302,6 +321,15 @@ module Aws::CloudWatchLogs
|
|
302
321
|
DescribeQueriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
303
322
|
DescribeQueriesResponse.struct_class = Types::DescribeQueriesResponse
|
304
323
|
|
324
|
+
DescribeQueryDefinitionsRequest.add_member(:query_definition_name_prefix, Shapes::ShapeRef.new(shape: QueryDefinitionName, location_name: "queryDefinitionNamePrefix"))
|
325
|
+
DescribeQueryDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: QueryListMaxResults, location_name: "maxResults"))
|
326
|
+
DescribeQueryDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
327
|
+
DescribeQueryDefinitionsRequest.struct_class = Types::DescribeQueryDefinitionsRequest
|
328
|
+
|
329
|
+
DescribeQueryDefinitionsResponse.add_member(:query_definitions, Shapes::ShapeRef.new(shape: QueryDefinitionList, location_name: "queryDefinitions"))
|
330
|
+
DescribeQueryDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
331
|
+
DescribeQueryDefinitionsResponse.struct_class = Types::DescribeQueryDefinitionsResponse
|
332
|
+
|
305
333
|
DescribeResourcePoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
306
334
|
DescribeResourcePoliciesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
|
307
335
|
DescribeResourcePoliciesRequest.struct_class = Types::DescribeResourcePoliciesRequest
|
@@ -425,9 +453,15 @@ module Aws::CloudWatchLogs
|
|
425
453
|
|
426
454
|
InputLogStreamNames.member = Shapes::ShapeRef.new(shape: LogStreamName)
|
427
455
|
|
456
|
+
InvalidOperationException.struct_class = Types::InvalidOperationException
|
457
|
+
|
458
|
+
InvalidParameterException.struct_class = Types::InvalidParameterException
|
459
|
+
|
428
460
|
InvalidSequenceTokenException.add_member(:expected_sequence_token, Shapes::ShapeRef.new(shape: SequenceToken, location_name: "expectedSequenceToken"))
|
429
461
|
InvalidSequenceTokenException.struct_class = Types::InvalidSequenceTokenException
|
430
462
|
|
463
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
464
|
+
|
431
465
|
ListTagsLogGroupRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
432
466
|
ListTagsLogGroupRequest.struct_class = Types::ListTagsLogGroupRequest
|
433
467
|
|
@@ -495,6 +529,8 @@ module Aws::CloudWatchLogs
|
|
495
529
|
|
496
530
|
MetricTransformations.member = Shapes::ShapeRef.new(shape: MetricTransformation)
|
497
531
|
|
532
|
+
OperationAbortedException.struct_class = Types::OperationAbortedException
|
533
|
+
|
498
534
|
OutputLogEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
|
499
535
|
OutputLogEvent.add_member(:message, Shapes::ShapeRef.new(shape: EventMessage, location_name: "message"))
|
500
536
|
OutputLogEvent.add_member(:ingestion_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ingestionTime"))
|
@@ -530,6 +566,15 @@ module Aws::CloudWatchLogs
|
|
530
566
|
PutMetricFilterRequest.add_member(:metric_transformations, Shapes::ShapeRef.new(shape: MetricTransformations, required: true, location_name: "metricTransformations"))
|
531
567
|
PutMetricFilterRequest.struct_class = Types::PutMetricFilterRequest
|
532
568
|
|
569
|
+
PutQueryDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: QueryDefinitionName, required: true, location_name: "name"))
|
570
|
+
PutQueryDefinitionRequest.add_member(:query_definition_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryDefinitionId"))
|
571
|
+
PutQueryDefinitionRequest.add_member(:log_group_names, Shapes::ShapeRef.new(shape: LogGroupNames, location_name: "logGroupNames"))
|
572
|
+
PutQueryDefinitionRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryDefinitionString, required: true, location_name: "queryString"))
|
573
|
+
PutQueryDefinitionRequest.struct_class = Types::PutQueryDefinitionRequest
|
574
|
+
|
575
|
+
PutQueryDefinitionResponse.add_member(:query_definition_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryDefinitionId"))
|
576
|
+
PutQueryDefinitionResponse.struct_class = Types::PutQueryDefinitionResponse
|
577
|
+
|
533
578
|
PutResourcePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
|
534
579
|
PutResourcePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
|
535
580
|
PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
|
@@ -557,6 +602,15 @@ module Aws::CloudWatchLogs
|
|
557
602
|
QueryCompileErrorLocation.add_member(:end_char_offset, Shapes::ShapeRef.new(shape: QueryCharOffset, location_name: "endCharOffset"))
|
558
603
|
QueryCompileErrorLocation.struct_class = Types::QueryCompileErrorLocation
|
559
604
|
|
605
|
+
QueryDefinition.add_member(:query_definition_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryDefinitionId"))
|
606
|
+
QueryDefinition.add_member(:name, Shapes::ShapeRef.new(shape: QueryDefinitionName, location_name: "name"))
|
607
|
+
QueryDefinition.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryDefinitionString, location_name: "queryString"))
|
608
|
+
QueryDefinition.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModified"))
|
609
|
+
QueryDefinition.add_member(:log_group_names, Shapes::ShapeRef.new(shape: LogGroupNames, location_name: "logGroupNames"))
|
610
|
+
QueryDefinition.struct_class = Types::QueryDefinition
|
611
|
+
|
612
|
+
QueryDefinitionList.member = Shapes::ShapeRef.new(shape: QueryDefinition)
|
613
|
+
|
560
614
|
QueryInfo.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryId"))
|
561
615
|
QueryInfo.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, location_name: "queryString"))
|
562
616
|
QueryInfo.add_member(:status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "status"))
|
@@ -578,6 +632,10 @@ module Aws::CloudWatchLogs
|
|
578
632
|
RejectedLogEventsInfo.add_member(:expired_log_event_end_index, Shapes::ShapeRef.new(shape: LogEventIndex, location_name: "expiredLogEventEndIndex"))
|
579
633
|
RejectedLogEventsInfo.struct_class = Types::RejectedLogEventsInfo
|
580
634
|
|
635
|
+
ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
|
636
|
+
|
637
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
638
|
+
|
581
639
|
ResourcePolicies.member = Shapes::ShapeRef.new(shape: ResourcePolicy)
|
582
640
|
|
583
641
|
ResourcePolicy.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
|
@@ -597,6 +655,8 @@ module Aws::CloudWatchLogs
|
|
597
655
|
|
598
656
|
SearchedLogStreams.member = Shapes::ShapeRef.new(shape: SearchedLogStream)
|
599
657
|
|
658
|
+
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
659
|
+
|
600
660
|
StartQueryRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
|
601
661
|
StartQueryRequest.add_member(:log_group_names, Shapes::ShapeRef.new(shape: LogGroupNames, location_name: "logGroupNames"))
|
602
662
|
StartQueryRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
|
@@ -643,6 +703,8 @@ module Aws::CloudWatchLogs
|
|
643
703
|
TestMetricFilterResponse.add_member(:matches, Shapes::ShapeRef.new(shape: MetricFilterMatches, location_name: "matches"))
|
644
704
|
TestMetricFilterResponse.struct_class = Types::TestMetricFilterResponse
|
645
705
|
|
706
|
+
UnrecognizedClientException.struct_class = Types::UnrecognizedClientException
|
707
|
+
|
646
708
|
UntagLogGroupRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
647
709
|
UntagLogGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
|
648
710
|
UntagLogGroupRequest.struct_class = Types::UntagLogGroupRequest
|
@@ -776,6 +838,17 @@ module Aws::CloudWatchLogs
|
|
776
838
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
777
839
|
end)
|
778
840
|
|
841
|
+
api.add_operation(:delete_query_definition, Seahorse::Model::Operation.new.tap do |o|
|
842
|
+
o.name = "DeleteQueryDefinition"
|
843
|
+
o.http_method = "POST"
|
844
|
+
o.http_request_uri = "/"
|
845
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteQueryDefinitionRequest)
|
846
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteQueryDefinitionResponse)
|
847
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
848
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
849
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
850
|
+
end)
|
851
|
+
|
779
852
|
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
780
853
|
o.name = "DeleteResourcePolicy"
|
781
854
|
o.http_method = "POST"
|
@@ -898,6 +971,16 @@ module Aws::CloudWatchLogs
|
|
898
971
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
899
972
|
end)
|
900
973
|
|
974
|
+
api.add_operation(:describe_query_definitions, Seahorse::Model::Operation.new.tap do |o|
|
975
|
+
o.name = "DescribeQueryDefinitions"
|
976
|
+
o.http_method = "POST"
|
977
|
+
o.http_request_uri = "/"
|
978
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeQueryDefinitionsRequest)
|
979
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeQueryDefinitionsResponse)
|
980
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
981
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
982
|
+
end)
|
983
|
+
|
901
984
|
api.add_operation(:describe_resource_policies, Seahorse::Model::Operation.new.tap do |o|
|
902
985
|
o.name = "DescribeResourcePolicies"
|
903
986
|
o.http_method = "POST"
|
@@ -1065,6 +1148,17 @@ module Aws::CloudWatchLogs
|
|
1065
1148
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1066
1149
|
end)
|
1067
1150
|
|
1151
|
+
api.add_operation(:put_query_definition, Seahorse::Model::Operation.new.tap do |o|
|
1152
|
+
o.name = "PutQueryDefinition"
|
1153
|
+
o.http_method = "POST"
|
1154
|
+
o.http_request_uri = "/"
|
1155
|
+
o.input = Shapes::ShapeRef.new(shape: PutQueryDefinitionRequest)
|
1156
|
+
o.output = Shapes::ShapeRef.new(shape: PutQueryDefinitionResponse)
|
1157
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1158
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1159
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1160
|
+
end)
|
1161
|
+
|
1068
1162
|
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1069
1163
|
o.name = "PutResourcePolicy"
|
1070
1164
|
o.http_method = "POST"
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,39 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::CloudWatchLogs
|
11
|
+
|
12
|
+
# When CloudWatchLogs returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::CloudWatchLogs::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all CloudWatchLogs errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::CloudWatchLogs::Errors::ServiceError
|
20
|
+
# # rescues all CloudWatchLogs API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {DataAlreadyAcceptedException}
|
31
|
+
# * {InvalidOperationException}
|
32
|
+
# * {InvalidParameterException}
|
33
|
+
# * {InvalidSequenceTokenException}
|
34
|
+
# * {LimitExceededException}
|
35
|
+
# * {MalformedQueryException}
|
36
|
+
# * {OperationAbortedException}
|
37
|
+
# * {ResourceAlreadyExistsException}
|
38
|
+
# * {ResourceNotFoundException}
|
39
|
+
# * {ServiceUnavailableException}
|
40
|
+
# * {UnrecognizedClientException}
|
41
|
+
#
|
42
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
43
|
+
# if they are not defined above.
|
9
44
|
module Errors
|
10
45
|
|
11
46
|
extend Aws::Errors::DynamicErrors
|
@@ -23,7 +58,26 @@ module Aws::CloudWatchLogs
|
|
23
58
|
def expected_sequence_token
|
24
59
|
@data[:expected_sequence_token]
|
25
60
|
end
|
61
|
+
end
|
62
|
+
|
63
|
+
class InvalidOperationException < ServiceError
|
64
|
+
|
65
|
+
# @param [Seahorse::Client::RequestContext] context
|
66
|
+
# @param [String] message
|
67
|
+
# @param [Aws::CloudWatchLogs::Types::InvalidOperationException] data
|
68
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
69
|
+
super(context, message, data)
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
class InvalidParameterException < ServiceError
|
26
74
|
|
75
|
+
# @param [Seahorse::Client::RequestContext] context
|
76
|
+
# @param [String] message
|
77
|
+
# @param [Aws::CloudWatchLogs::Types::InvalidParameterException] data
|
78
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
79
|
+
super(context, message, data)
|
80
|
+
end
|
27
81
|
end
|
28
82
|
|
29
83
|
class InvalidSequenceTokenException < ServiceError
|
@@ -39,7 +93,16 @@ module Aws::CloudWatchLogs
|
|
39
93
|
def expected_sequence_token
|
40
94
|
@data[:expected_sequence_token]
|
41
95
|
end
|
96
|
+
end
|
42
97
|
|
98
|
+
class LimitExceededException < ServiceError
|
99
|
+
|
100
|
+
# @param [Seahorse::Client::RequestContext] context
|
101
|
+
# @param [String] message
|
102
|
+
# @param [Aws::CloudWatchLogs::Types::LimitExceededException] data
|
103
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
104
|
+
super(context, message, data)
|
105
|
+
end
|
43
106
|
end
|
44
107
|
|
45
108
|
class MalformedQueryException < ServiceError
|
@@ -55,7 +118,56 @@ module Aws::CloudWatchLogs
|
|
55
118
|
def query_compile_error
|
56
119
|
@data[:query_compile_error]
|
57
120
|
end
|
121
|
+
end
|
122
|
+
|
123
|
+
class OperationAbortedException < ServiceError
|
58
124
|
|
125
|
+
# @param [Seahorse::Client::RequestContext] context
|
126
|
+
# @param [String] message
|
127
|
+
# @param [Aws::CloudWatchLogs::Types::OperationAbortedException] data
|
128
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
129
|
+
super(context, message, data)
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
class ResourceAlreadyExistsException < ServiceError
|
134
|
+
|
135
|
+
# @param [Seahorse::Client::RequestContext] context
|
136
|
+
# @param [String] message
|
137
|
+
# @param [Aws::CloudWatchLogs::Types::ResourceAlreadyExistsException] data
|
138
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
139
|
+
super(context, message, data)
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
class ResourceNotFoundException < ServiceError
|
144
|
+
|
145
|
+
# @param [Seahorse::Client::RequestContext] context
|
146
|
+
# @param [String] message
|
147
|
+
# @param [Aws::CloudWatchLogs::Types::ResourceNotFoundException] data
|
148
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
149
|
+
super(context, message, data)
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
class ServiceUnavailableException < ServiceError
|
154
|
+
|
155
|
+
# @param [Seahorse::Client::RequestContext] context
|
156
|
+
# @param [String] message
|
157
|
+
# @param [Aws::CloudWatchLogs::Types::ServiceUnavailableException] data
|
158
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
159
|
+
super(context, message, data)
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
class UnrecognizedClientException < ServiceError
|
164
|
+
|
165
|
+
# @param [Seahorse::Client::RequestContext] context
|
166
|
+
# @param [String] message
|
167
|
+
# @param [Aws::CloudWatchLogs::Types::UnrecognizedClientException] data
|
168
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
169
|
+
super(context, message, data)
|
170
|
+
end
|
59
171
|
end
|
60
172
|
|
61
173
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::CloudWatchLogs
|
11
|
+
|
9
12
|
class Resource
|
10
13
|
|
11
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -37,6 +39,7 @@ module Aws::CloudWatchLogs
|
|
37
39
|
class AssociateKmsKeyRequest < Struct.new(
|
38
40
|
:log_group_name,
|
39
41
|
:kms_key_id)
|
42
|
+
SENSITIVE = []
|
40
43
|
include Aws::Structure
|
41
44
|
end
|
42
45
|
|
@@ -55,6 +58,7 @@ module Aws::CloudWatchLogs
|
|
55
58
|
#
|
56
59
|
class CancelExportTaskRequest < Struct.new(
|
57
60
|
:task_id)
|
61
|
+
SENSITIVE = []
|
58
62
|
include Aws::Structure
|
59
63
|
end
|
60
64
|
|
@@ -116,6 +120,7 @@ module Aws::CloudWatchLogs
|
|
116
120
|
:to,
|
117
121
|
:destination,
|
118
122
|
:destination_prefix)
|
123
|
+
SENSITIVE = []
|
119
124
|
include Aws::Structure
|
120
125
|
end
|
121
126
|
|
@@ -127,6 +132,7 @@ module Aws::CloudWatchLogs
|
|
127
132
|
#
|
128
133
|
class CreateExportTaskResponse < Struct.new(
|
129
134
|
:task_id)
|
135
|
+
SENSITIVE = []
|
130
136
|
include Aws::Structure
|
131
137
|
end
|
132
138
|
|
@@ -165,6 +171,7 @@ module Aws::CloudWatchLogs
|
|
165
171
|
:log_group_name,
|
166
172
|
:kms_key_id,
|
167
173
|
:tags)
|
174
|
+
SENSITIVE = []
|
168
175
|
include Aws::Structure
|
169
176
|
end
|
170
177
|
|
@@ -189,6 +196,7 @@ module Aws::CloudWatchLogs
|
|
189
196
|
class CreateLogStreamRequest < Struct.new(
|
190
197
|
:log_group_name,
|
191
198
|
:log_stream_name)
|
199
|
+
SENSITIVE = []
|
192
200
|
include Aws::Structure
|
193
201
|
end
|
194
202
|
|
@@ -201,6 +209,7 @@ module Aws::CloudWatchLogs
|
|
201
209
|
#
|
202
210
|
class DataAlreadyAcceptedException < Struct.new(
|
203
211
|
:expected_sequence_token)
|
212
|
+
SENSITIVE = []
|
204
213
|
include Aws::Structure
|
205
214
|
end
|
206
215
|
|
@@ -219,6 +228,7 @@ module Aws::CloudWatchLogs
|
|
219
228
|
#
|
220
229
|
class DeleteDestinationRequest < Struct.new(
|
221
230
|
:destination_name)
|
231
|
+
SENSITIVE = []
|
222
232
|
include Aws::Structure
|
223
233
|
end
|
224
234
|
|
@@ -237,6 +247,7 @@ module Aws::CloudWatchLogs
|
|
237
247
|
#
|
238
248
|
class DeleteLogGroupRequest < Struct.new(
|
239
249
|
:log_group_name)
|
250
|
+
SENSITIVE = []
|
240
251
|
include Aws::Structure
|
241
252
|
end
|
242
253
|
|
@@ -261,6 +272,7 @@ module Aws::CloudWatchLogs
|
|
261
272
|
class DeleteLogStreamRequest < Struct.new(
|
262
273
|
:log_group_name,
|
263
274
|
:log_stream_name)
|
275
|
+
SENSITIVE = []
|
264
276
|
include Aws::Structure
|
265
277
|
end
|
266
278
|
|
@@ -285,6 +297,36 @@ module Aws::CloudWatchLogs
|
|
285
297
|
class DeleteMetricFilterRequest < Struct.new(
|
286
298
|
:log_group_name,
|
287
299
|
:filter_name)
|
300
|
+
SENSITIVE = []
|
301
|
+
include Aws::Structure
|
302
|
+
end
|
303
|
+
|
304
|
+
# @note When making an API call, you may pass DeleteQueryDefinitionRequest
|
305
|
+
# data as a hash:
|
306
|
+
#
|
307
|
+
# {
|
308
|
+
# query_definition_id: "QueryId", # required
|
309
|
+
# }
|
310
|
+
#
|
311
|
+
# @!attribute [rw] query_definition_id
|
312
|
+
# @return [String]
|
313
|
+
#
|
314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteQueryDefinitionRequest AWS API Documentation
|
315
|
+
#
|
316
|
+
class DeleteQueryDefinitionRequest < Struct.new(
|
317
|
+
:query_definition_id)
|
318
|
+
SENSITIVE = []
|
319
|
+
include Aws::Structure
|
320
|
+
end
|
321
|
+
|
322
|
+
# @!attribute [rw] success
|
323
|
+
# @return [Boolean]
|
324
|
+
#
|
325
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteQueryDefinitionResponse AWS API Documentation
|
326
|
+
#
|
327
|
+
class DeleteQueryDefinitionResponse < Struct.new(
|
328
|
+
:success)
|
329
|
+
SENSITIVE = []
|
288
330
|
include Aws::Structure
|
289
331
|
end
|
290
332
|
|
@@ -303,6 +345,7 @@ module Aws::CloudWatchLogs
|
|
303
345
|
#
|
304
346
|
class DeleteResourcePolicyRequest < Struct.new(
|
305
347
|
:policy_name)
|
348
|
+
SENSITIVE = []
|
306
349
|
include Aws::Structure
|
307
350
|
end
|
308
351
|
|
@@ -321,6 +364,7 @@ module Aws::CloudWatchLogs
|
|
321
364
|
#
|
322
365
|
class DeleteRetentionPolicyRequest < Struct.new(
|
323
366
|
:log_group_name)
|
367
|
+
SENSITIVE = []
|
324
368
|
include Aws::Structure
|
325
369
|
end
|
326
370
|
|
@@ -345,6 +389,7 @@ module Aws::CloudWatchLogs
|
|
345
389
|
class DeleteSubscriptionFilterRequest < Struct.new(
|
346
390
|
:log_group_name,
|
347
391
|
:filter_name)
|
392
|
+
SENSITIVE = []
|
348
393
|
include Aws::Structure
|
349
394
|
end
|
350
395
|
|
@@ -378,6 +423,7 @@ module Aws::CloudWatchLogs
|
|
378
423
|
:destination_name_prefix,
|
379
424
|
:next_token,
|
380
425
|
:limit)
|
426
|
+
SENSITIVE = []
|
381
427
|
include Aws::Structure
|
382
428
|
end
|
383
429
|
|
@@ -395,6 +441,7 @@ module Aws::CloudWatchLogs
|
|
395
441
|
class DescribeDestinationsResponse < Struct.new(
|
396
442
|
:destinations,
|
397
443
|
:next_token)
|
444
|
+
SENSITIVE = []
|
398
445
|
include Aws::Structure
|
399
446
|
end
|
400
447
|
|
@@ -435,6 +482,7 @@ module Aws::CloudWatchLogs
|
|
435
482
|
:status_code,
|
436
483
|
:next_token,
|
437
484
|
:limit)
|
485
|
+
SENSITIVE = []
|
438
486
|
include Aws::Structure
|
439
487
|
end
|
440
488
|
|
@@ -452,6 +500,7 @@ module Aws::CloudWatchLogs
|
|
452
500
|
class DescribeExportTasksResponse < Struct.new(
|
453
501
|
:export_tasks,
|
454
502
|
:next_token)
|
503
|
+
SENSITIVE = []
|
455
504
|
include Aws::Structure
|
456
505
|
end
|
457
506
|
|
@@ -484,6 +533,7 @@ module Aws::CloudWatchLogs
|
|
484
533
|
:log_group_name_prefix,
|
485
534
|
:next_token,
|
486
535
|
:limit)
|
536
|
+
SENSITIVE = []
|
487
537
|
include Aws::Structure
|
488
538
|
end
|
489
539
|
|
@@ -501,6 +551,7 @@ module Aws::CloudWatchLogs
|
|
501
551
|
class DescribeLogGroupsResponse < Struct.new(
|
502
552
|
:log_groups,
|
503
553
|
:next_token)
|
554
|
+
SENSITIVE = []
|
504
555
|
include Aws::Structure
|
505
556
|
end
|
506
557
|
|
@@ -567,6 +618,7 @@ module Aws::CloudWatchLogs
|
|
567
618
|
:descending,
|
568
619
|
:next_token,
|
569
620
|
:limit)
|
621
|
+
SENSITIVE = []
|
570
622
|
include Aws::Structure
|
571
623
|
end
|
572
624
|
|
@@ -584,6 +636,7 @@ module Aws::CloudWatchLogs
|
|
584
636
|
class DescribeLogStreamsResponse < Struct.new(
|
585
637
|
:log_streams,
|
586
638
|
:next_token)
|
639
|
+
SENSITIVE = []
|
587
640
|
include Aws::Structure
|
588
641
|
end
|
589
642
|
|
@@ -638,6 +691,7 @@ module Aws::CloudWatchLogs
|
|
638
691
|
:limit,
|
639
692
|
:metric_name,
|
640
693
|
:metric_namespace)
|
694
|
+
SENSITIVE = []
|
641
695
|
include Aws::Structure
|
642
696
|
end
|
643
697
|
|
@@ -655,6 +709,7 @@ module Aws::CloudWatchLogs
|
|
655
709
|
class DescribeMetricFiltersResponse < Struct.new(
|
656
710
|
:metric_filters,
|
657
711
|
:next_token)
|
712
|
+
SENSITIVE = []
|
658
713
|
include Aws::Structure
|
659
714
|
end
|
660
715
|
|
@@ -695,6 +750,7 @@ module Aws::CloudWatchLogs
|
|
695
750
|
:status,
|
696
751
|
:max_results,
|
697
752
|
:next_token)
|
753
|
+
SENSITIVE = []
|
698
754
|
include Aws::Structure
|
699
755
|
end
|
700
756
|
|
@@ -712,6 +768,54 @@ module Aws::CloudWatchLogs
|
|
712
768
|
class DescribeQueriesResponse < Struct.new(
|
713
769
|
:queries,
|
714
770
|
:next_token)
|
771
|
+
SENSITIVE = []
|
772
|
+
include Aws::Structure
|
773
|
+
end
|
774
|
+
|
775
|
+
# @note When making an API call, you may pass DescribeQueryDefinitionsRequest
|
776
|
+
# data as a hash:
|
777
|
+
#
|
778
|
+
# {
|
779
|
+
# query_definition_name_prefix: "QueryDefinitionName",
|
780
|
+
# max_results: 1,
|
781
|
+
# next_token: "NextToken",
|
782
|
+
# }
|
783
|
+
#
|
784
|
+
# @!attribute [rw] query_definition_name_prefix
|
785
|
+
# @return [String]
|
786
|
+
#
|
787
|
+
# @!attribute [rw] max_results
|
788
|
+
# @return [Integer]
|
789
|
+
#
|
790
|
+
# @!attribute [rw] next_token
|
791
|
+
# The token for the next set of items to return. The token expires
|
792
|
+
# after 24 hours.
|
793
|
+
# @return [String]
|
794
|
+
#
|
795
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeQueryDefinitionsRequest AWS API Documentation
|
796
|
+
#
|
797
|
+
class DescribeQueryDefinitionsRequest < Struct.new(
|
798
|
+
:query_definition_name_prefix,
|
799
|
+
:max_results,
|
800
|
+
:next_token)
|
801
|
+
SENSITIVE = []
|
802
|
+
include Aws::Structure
|
803
|
+
end
|
804
|
+
|
805
|
+
# @!attribute [rw] query_definitions
|
806
|
+
# @return [Array<Types::QueryDefinition>]
|
807
|
+
#
|
808
|
+
# @!attribute [rw] next_token
|
809
|
+
# The token for the next set of items to return. The token expires
|
810
|
+
# after 24 hours.
|
811
|
+
# @return [String]
|
812
|
+
#
|
813
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeQueryDefinitionsResponse AWS API Documentation
|
814
|
+
#
|
815
|
+
class DescribeQueryDefinitionsResponse < Struct.new(
|
816
|
+
:query_definitions,
|
817
|
+
:next_token)
|
818
|
+
SENSITIVE = []
|
715
819
|
include Aws::Structure
|
716
820
|
end
|
717
821
|
|
@@ -738,6 +842,7 @@ module Aws::CloudWatchLogs
|
|
738
842
|
class DescribeResourcePoliciesRequest < Struct.new(
|
739
843
|
:next_token,
|
740
844
|
:limit)
|
845
|
+
SENSITIVE = []
|
741
846
|
include Aws::Structure
|
742
847
|
end
|
743
848
|
|
@@ -755,6 +860,7 @@ module Aws::CloudWatchLogs
|
|
755
860
|
class DescribeResourcePoliciesResponse < Struct.new(
|
756
861
|
:resource_policies,
|
757
862
|
:next_token)
|
863
|
+
SENSITIVE = []
|
758
864
|
include Aws::Structure
|
759
865
|
end
|
760
866
|
|
@@ -794,6 +900,7 @@ module Aws::CloudWatchLogs
|
|
794
900
|
:filter_name_prefix,
|
795
901
|
:next_token,
|
796
902
|
:limit)
|
903
|
+
SENSITIVE = []
|
797
904
|
include Aws::Structure
|
798
905
|
end
|
799
906
|
|
@@ -811,6 +918,7 @@ module Aws::CloudWatchLogs
|
|
811
918
|
class DescribeSubscriptionFiltersResponse < Struct.new(
|
812
919
|
:subscription_filters,
|
813
920
|
:next_token)
|
921
|
+
SENSITIVE = []
|
814
922
|
include Aws::Structure
|
815
923
|
end
|
816
924
|
|
@@ -854,6 +962,7 @@ module Aws::CloudWatchLogs
|
|
854
962
|
:access_policy,
|
855
963
|
:arn,
|
856
964
|
:creation_time)
|
965
|
+
SENSITIVE = []
|
857
966
|
include Aws::Structure
|
858
967
|
end
|
859
968
|
|
@@ -872,6 +981,7 @@ module Aws::CloudWatchLogs
|
|
872
981
|
#
|
873
982
|
class DisassociateKmsKeyRequest < Struct.new(
|
874
983
|
:log_group_name)
|
984
|
+
SENSITIVE = []
|
875
985
|
include Aws::Structure
|
876
986
|
end
|
877
987
|
|
@@ -930,6 +1040,7 @@ module Aws::CloudWatchLogs
|
|
930
1040
|
:destination_prefix,
|
931
1041
|
:status,
|
932
1042
|
:execution_info)
|
1043
|
+
SENSITIVE = []
|
933
1044
|
include Aws::Structure
|
934
1045
|
end
|
935
1046
|
|
@@ -950,6 +1061,7 @@ module Aws::CloudWatchLogs
|
|
950
1061
|
class ExportTaskExecutionInfo < Struct.new(
|
951
1062
|
:creation_time,
|
952
1063
|
:completion_time)
|
1064
|
+
SENSITIVE = []
|
953
1065
|
include Aws::Structure
|
954
1066
|
end
|
955
1067
|
|
@@ -968,6 +1080,7 @@ module Aws::CloudWatchLogs
|
|
968
1080
|
class ExportTaskStatus < Struct.new(
|
969
1081
|
:code,
|
970
1082
|
:message)
|
1083
|
+
SENSITIVE = []
|
971
1084
|
include Aws::Structure
|
972
1085
|
end
|
973
1086
|
|
@@ -1067,6 +1180,7 @@ module Aws::CloudWatchLogs
|
|
1067
1180
|
:next_token,
|
1068
1181
|
:limit,
|
1069
1182
|
:interleaved)
|
1183
|
+
SENSITIVE = []
|
1070
1184
|
include Aws::Structure
|
1071
1185
|
end
|
1072
1186
|
|
@@ -1090,6 +1204,7 @@ module Aws::CloudWatchLogs
|
|
1090
1204
|
:events,
|
1091
1205
|
:searched_log_streams,
|
1092
1206
|
:next_token)
|
1207
|
+
SENSITIVE = []
|
1093
1208
|
include Aws::Structure
|
1094
1209
|
end
|
1095
1210
|
|
@@ -1125,6 +1240,7 @@ module Aws::CloudWatchLogs
|
|
1125
1240
|
:message,
|
1126
1241
|
:ingestion_time,
|
1127
1242
|
:event_id)
|
1243
|
+
SENSITIVE = []
|
1128
1244
|
include Aws::Structure
|
1129
1245
|
end
|
1130
1246
|
|
@@ -1195,6 +1311,7 @@ module Aws::CloudWatchLogs
|
|
1195
1311
|
:next_token,
|
1196
1312
|
:limit,
|
1197
1313
|
:start_from_head)
|
1314
|
+
SENSITIVE = []
|
1198
1315
|
include Aws::Structure
|
1199
1316
|
end
|
1200
1317
|
|
@@ -1221,6 +1338,7 @@ module Aws::CloudWatchLogs
|
|
1221
1338
|
:events,
|
1222
1339
|
:next_forward_token,
|
1223
1340
|
:next_backward_token)
|
1341
|
+
SENSITIVE = []
|
1224
1342
|
include Aws::Structure
|
1225
1343
|
end
|
1226
1344
|
|
@@ -1250,6 +1368,7 @@ module Aws::CloudWatchLogs
|
|
1250
1368
|
class GetLogGroupFieldsRequest < Struct.new(
|
1251
1369
|
:log_group_name,
|
1252
1370
|
:time)
|
1371
|
+
SENSITIVE = []
|
1253
1372
|
include Aws::Structure
|
1254
1373
|
end
|
1255
1374
|
|
@@ -1263,6 +1382,7 @@ module Aws::CloudWatchLogs
|
|
1263
1382
|
#
|
1264
1383
|
class GetLogGroupFieldsResponse < Struct.new(
|
1265
1384
|
:log_group_fields)
|
1385
|
+
SENSITIVE = []
|
1266
1386
|
include Aws::Structure
|
1267
1387
|
end
|
1268
1388
|
|
@@ -1285,6 +1405,7 @@ module Aws::CloudWatchLogs
|
|
1285
1405
|
#
|
1286
1406
|
class GetLogRecordRequest < Struct.new(
|
1287
1407
|
:log_record_pointer)
|
1408
|
+
SENSITIVE = []
|
1288
1409
|
include Aws::Structure
|
1289
1410
|
end
|
1290
1411
|
|
@@ -1296,6 +1417,7 @@ module Aws::CloudWatchLogs
|
|
1296
1417
|
#
|
1297
1418
|
class GetLogRecordResponse < Struct.new(
|
1298
1419
|
:log_record)
|
1420
|
+
SENSITIVE = []
|
1299
1421
|
include Aws::Structure
|
1300
1422
|
end
|
1301
1423
|
|
@@ -1314,6 +1436,7 @@ module Aws::CloudWatchLogs
|
|
1314
1436
|
#
|
1315
1437
|
class GetQueryResultsRequest < Struct.new(
|
1316
1438
|
:query_id)
|
1439
|
+
SENSITIVE = []
|
1317
1440
|
include Aws::Structure
|
1318
1441
|
end
|
1319
1442
|
|
@@ -1348,6 +1471,7 @@ module Aws::CloudWatchLogs
|
|
1348
1471
|
:results,
|
1349
1472
|
:statistics,
|
1350
1473
|
:status)
|
1474
|
+
SENSITIVE = []
|
1351
1475
|
include Aws::Structure
|
1352
1476
|
end
|
1353
1477
|
|
@@ -1376,9 +1500,22 @@ module Aws::CloudWatchLogs
|
|
1376
1500
|
class InputLogEvent < Struct.new(
|
1377
1501
|
:timestamp,
|
1378
1502
|
:message)
|
1503
|
+
SENSITIVE = []
|
1379
1504
|
include Aws::Structure
|
1380
1505
|
end
|
1381
1506
|
|
1507
|
+
# The operation is not valid on the specified resource.
|
1508
|
+
#
|
1509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/InvalidOperationException AWS API Documentation
|
1510
|
+
#
|
1511
|
+
class InvalidOperationException < Aws::EmptyStructure; end
|
1512
|
+
|
1513
|
+
# A parameter is specified incorrectly.
|
1514
|
+
#
|
1515
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/InvalidParameterException AWS API Documentation
|
1516
|
+
#
|
1517
|
+
class InvalidParameterException < Aws::EmptyStructure; end
|
1518
|
+
|
1382
1519
|
# The sequence token is not valid. You can get the correct sequence
|
1383
1520
|
# token in the `expectedSequenceToken` field in the
|
1384
1521
|
# `InvalidSequenceTokenException` message.
|
@@ -1390,9 +1527,16 @@ module Aws::CloudWatchLogs
|
|
1390
1527
|
#
|
1391
1528
|
class InvalidSequenceTokenException < Struct.new(
|
1392
1529
|
:expected_sequence_token)
|
1530
|
+
SENSITIVE = []
|
1393
1531
|
include Aws::Structure
|
1394
1532
|
end
|
1395
1533
|
|
1534
|
+
# You have reached the maximum number of resources that can be created.
|
1535
|
+
#
|
1536
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LimitExceededException AWS API Documentation
|
1537
|
+
#
|
1538
|
+
class LimitExceededException < Aws::EmptyStructure; end
|
1539
|
+
|
1396
1540
|
# @note When making an API call, you may pass ListTagsLogGroupRequest
|
1397
1541
|
# data as a hash:
|
1398
1542
|
#
|
@@ -1408,6 +1552,7 @@ module Aws::CloudWatchLogs
|
|
1408
1552
|
#
|
1409
1553
|
class ListTagsLogGroupRequest < Struct.new(
|
1410
1554
|
:log_group_name)
|
1555
|
+
SENSITIVE = []
|
1411
1556
|
include Aws::Structure
|
1412
1557
|
end
|
1413
1558
|
|
@@ -1419,6 +1564,7 @@ module Aws::CloudWatchLogs
|
|
1419
1564
|
#
|
1420
1565
|
class ListTagsLogGroupResponse < Struct.new(
|
1421
1566
|
:tags)
|
1567
|
+
SENSITIVE = []
|
1422
1568
|
include Aws::Structure
|
1423
1569
|
end
|
1424
1570
|
|
@@ -1466,6 +1612,7 @@ module Aws::CloudWatchLogs
|
|
1466
1612
|
:arn,
|
1467
1613
|
:stored_bytes,
|
1468
1614
|
:kms_key_id)
|
1615
|
+
SENSITIVE = []
|
1469
1616
|
include Aws::Structure
|
1470
1617
|
end
|
1471
1618
|
|
@@ -1486,6 +1633,7 @@ module Aws::CloudWatchLogs
|
|
1486
1633
|
class LogGroupField < Struct.new(
|
1487
1634
|
:name,
|
1488
1635
|
:percent)
|
1636
|
+
SENSITIVE = []
|
1489
1637
|
include Aws::Structure
|
1490
1638
|
end
|
1491
1639
|
|
@@ -1548,18 +1696,21 @@ module Aws::CloudWatchLogs
|
|
1548
1696
|
:upload_sequence_token,
|
1549
1697
|
:arn,
|
1550
1698
|
:stored_bytes)
|
1699
|
+
SENSITIVE = []
|
1551
1700
|
include Aws::Structure
|
1552
1701
|
end
|
1553
1702
|
|
1554
1703
|
# The query string is not valid. Details about this error are displayed
|
1555
|
-
# in a `QueryCompileError` object. For more information, see
|
1704
|
+
# in a `QueryCompileError` object. For more information, see
|
1705
|
+
# [QueryCompileError][1]"/>.
|
1556
1706
|
#
|
1557
1707
|
# For more information about valid query syntax, see [CloudWatch Logs
|
1558
|
-
# Insights Query Syntax][
|
1708
|
+
# Insights Query Syntax][2].
|
1559
1709
|
#
|
1560
1710
|
#
|
1561
1711
|
#
|
1562
|
-
# [1]: https://docs.aws.amazon.com/
|
1712
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_QueryCompileError.html
|
1713
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html
|
1563
1714
|
#
|
1564
1715
|
# @!attribute [rw] query_compile_error
|
1565
1716
|
# Reserved.
|
@@ -1569,6 +1720,7 @@ module Aws::CloudWatchLogs
|
|
1569
1720
|
#
|
1570
1721
|
class MalformedQueryException < Struct.new(
|
1571
1722
|
:query_compile_error)
|
1723
|
+
SENSITIVE = []
|
1572
1724
|
include Aws::Structure
|
1573
1725
|
end
|
1574
1726
|
|
@@ -1608,6 +1760,7 @@ module Aws::CloudWatchLogs
|
|
1608
1760
|
:metric_transformations,
|
1609
1761
|
:creation_time,
|
1610
1762
|
:log_group_name)
|
1763
|
+
SENSITIVE = []
|
1611
1764
|
include Aws::Structure
|
1612
1765
|
end
|
1613
1766
|
|
@@ -1631,6 +1784,7 @@ module Aws::CloudWatchLogs
|
|
1631
1784
|
:event_number,
|
1632
1785
|
:event_message,
|
1633
1786
|
:extracted_values)
|
1787
|
+
SENSITIVE = []
|
1634
1788
|
include Aws::Structure
|
1635
1789
|
end
|
1636
1790
|
|
@@ -1652,7 +1806,13 @@ module Aws::CloudWatchLogs
|
|
1652
1806
|
# @return [String]
|
1653
1807
|
#
|
1654
1808
|
# @!attribute [rw] metric_namespace
|
1655
|
-
#
|
1809
|
+
# A custom namespace to contain your metric in CloudWatch. Use
|
1810
|
+
# namespaces to group together metrics that are similar. For more
|
1811
|
+
# information, see [Namespaces][1].
|
1812
|
+
#
|
1813
|
+
#
|
1814
|
+
#
|
1815
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace
|
1656
1816
|
# @return [String]
|
1657
1817
|
#
|
1658
1818
|
# @!attribute [rw] metric_value
|
@@ -1672,9 +1832,16 @@ module Aws::CloudWatchLogs
|
|
1672
1832
|
:metric_namespace,
|
1673
1833
|
:metric_value,
|
1674
1834
|
:default_value)
|
1835
|
+
SENSITIVE = []
|
1675
1836
|
include Aws::Structure
|
1676
1837
|
end
|
1677
1838
|
|
1839
|
+
# Multiple requests to update the same resource were in conflict.
|
1840
|
+
#
|
1841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/OperationAbortedException AWS API Documentation
|
1842
|
+
#
|
1843
|
+
class OperationAbortedException < Aws::EmptyStructure; end
|
1844
|
+
|
1678
1845
|
# Represents a log event.
|
1679
1846
|
#
|
1680
1847
|
# @!attribute [rw] timestamp
|
@@ -1697,6 +1864,7 @@ module Aws::CloudWatchLogs
|
|
1697
1864
|
:timestamp,
|
1698
1865
|
:message,
|
1699
1866
|
:ingestion_time)
|
1867
|
+
SENSITIVE = []
|
1700
1868
|
include Aws::Structure
|
1701
1869
|
end
|
1702
1870
|
|
@@ -1722,6 +1890,7 @@ module Aws::CloudWatchLogs
|
|
1722
1890
|
class PutDestinationPolicyRequest < Struct.new(
|
1723
1891
|
:destination_name,
|
1724
1892
|
:access_policy)
|
1893
|
+
SENSITIVE = []
|
1725
1894
|
include Aws::Structure
|
1726
1895
|
end
|
1727
1896
|
|
@@ -1755,6 +1924,7 @@ module Aws::CloudWatchLogs
|
|
1755
1924
|
:destination_name,
|
1756
1925
|
:target_arn,
|
1757
1926
|
:role_arn)
|
1927
|
+
SENSITIVE = []
|
1758
1928
|
include Aws::Structure
|
1759
1929
|
end
|
1760
1930
|
|
@@ -1766,6 +1936,7 @@ module Aws::CloudWatchLogs
|
|
1766
1936
|
#
|
1767
1937
|
class PutDestinationResponse < Struct.new(
|
1768
1938
|
:destination)
|
1939
|
+
SENSITIVE = []
|
1769
1940
|
include Aws::Structure
|
1770
1941
|
end
|
1771
1942
|
|
@@ -1800,9 +1971,14 @@ module Aws::CloudWatchLogs
|
|
1800
1971
|
# The sequence token obtained from the response of the previous
|
1801
1972
|
# `PutLogEvents` call. An upload in a newly created log stream does
|
1802
1973
|
# not require a sequence token. You can also get the sequence token
|
1803
|
-
# using DescribeLogStreams. If you call `PutLogEvents` twice
|
1804
|
-
# narrow time period using the same value for
|
1805
|
-
# calls may be successful, or one may be
|
1974
|
+
# using [DescribeLogStreams][1]. If you call `PutLogEvents` twice
|
1975
|
+
# within a narrow time period using the same value for
|
1976
|
+
# `sequenceToken`, both calls may be successful, or one may be
|
1977
|
+
# rejected.
|
1978
|
+
#
|
1979
|
+
#
|
1980
|
+
#
|
1981
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogStreams.html
|
1806
1982
|
# @return [String]
|
1807
1983
|
#
|
1808
1984
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsRequest AWS API Documentation
|
@@ -1812,6 +1988,7 @@ module Aws::CloudWatchLogs
|
|
1812
1988
|
:log_stream_name,
|
1813
1989
|
:log_events,
|
1814
1990
|
:sequence_token)
|
1991
|
+
SENSITIVE = []
|
1815
1992
|
include Aws::Structure
|
1816
1993
|
end
|
1817
1994
|
|
@@ -1828,6 +2005,7 @@ module Aws::CloudWatchLogs
|
|
1828
2005
|
class PutLogEventsResponse < Struct.new(
|
1829
2006
|
:next_sequence_token,
|
1830
2007
|
:rejected_log_events_info)
|
2008
|
+
SENSITIVE = []
|
1831
2009
|
include Aws::Structure
|
1832
2010
|
end
|
1833
2011
|
|
@@ -1873,6 +2051,51 @@ module Aws::CloudWatchLogs
|
|
1873
2051
|
:filter_name,
|
1874
2052
|
:filter_pattern,
|
1875
2053
|
:metric_transformations)
|
2054
|
+
SENSITIVE = []
|
2055
|
+
include Aws::Structure
|
2056
|
+
end
|
2057
|
+
|
2058
|
+
# @note When making an API call, you may pass PutQueryDefinitionRequest
|
2059
|
+
# data as a hash:
|
2060
|
+
#
|
2061
|
+
# {
|
2062
|
+
# name: "QueryDefinitionName", # required
|
2063
|
+
# query_definition_id: "QueryId",
|
2064
|
+
# log_group_names: ["LogGroupName"],
|
2065
|
+
# query_string: "QueryDefinitionString", # required
|
2066
|
+
# }
|
2067
|
+
#
|
2068
|
+
# @!attribute [rw] name
|
2069
|
+
# @return [String]
|
2070
|
+
#
|
2071
|
+
# @!attribute [rw] query_definition_id
|
2072
|
+
# @return [String]
|
2073
|
+
#
|
2074
|
+
# @!attribute [rw] log_group_names
|
2075
|
+
# @return [Array<String>]
|
2076
|
+
#
|
2077
|
+
# @!attribute [rw] query_string
|
2078
|
+
# @return [String]
|
2079
|
+
#
|
2080
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutQueryDefinitionRequest AWS API Documentation
|
2081
|
+
#
|
2082
|
+
class PutQueryDefinitionRequest < Struct.new(
|
2083
|
+
:name,
|
2084
|
+
:query_definition_id,
|
2085
|
+
:log_group_names,
|
2086
|
+
:query_string)
|
2087
|
+
SENSITIVE = []
|
2088
|
+
include Aws::Structure
|
2089
|
+
end
|
2090
|
+
|
2091
|
+
# @!attribute [rw] query_definition_id
|
2092
|
+
# @return [String]
|
2093
|
+
#
|
2094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutQueryDefinitionResponse AWS API Documentation
|
2095
|
+
#
|
2096
|
+
class PutQueryDefinitionResponse < Struct.new(
|
2097
|
+
:query_definition_id)
|
2098
|
+
SENSITIVE = []
|
1876
2099
|
include Aws::Structure
|
1877
2100
|
end
|
1878
2101
|
|
@@ -1909,6 +2132,7 @@ module Aws::CloudWatchLogs
|
|
1909
2132
|
class PutResourcePolicyRequest < Struct.new(
|
1910
2133
|
:policy_name,
|
1911
2134
|
:policy_document)
|
2135
|
+
SENSITIVE = []
|
1912
2136
|
include Aws::Structure
|
1913
2137
|
end
|
1914
2138
|
|
@@ -1920,6 +2144,7 @@ module Aws::CloudWatchLogs
|
|
1920
2144
|
#
|
1921
2145
|
class PutResourcePolicyResponse < Struct.new(
|
1922
2146
|
:resource_policy)
|
2147
|
+
SENSITIVE = []
|
1923
2148
|
include Aws::Structure
|
1924
2149
|
end
|
1925
2150
|
|
@@ -1946,6 +2171,7 @@ module Aws::CloudWatchLogs
|
|
1946
2171
|
class PutRetentionPolicyRequest < Struct.new(
|
1947
2172
|
:log_group_name,
|
1948
2173
|
:retention_in_days)
|
2174
|
+
SENSITIVE = []
|
1949
2175
|
include Aws::Structure
|
1950
2176
|
end
|
1951
2177
|
|
@@ -1970,7 +2196,11 @@ module Aws::CloudWatchLogs
|
|
1970
2196
|
# filter, you must specify the correct name in `filterName`.
|
1971
2197
|
# Otherwise, the call fails because you cannot associate a second
|
1972
2198
|
# filter with a log group. To find the name of the filter currently
|
1973
|
-
# associated with a log group, use DescribeSubscriptionFilters.
|
2199
|
+
# associated with a log group, use [DescribeSubscriptionFilters][1].
|
2200
|
+
#
|
2201
|
+
#
|
2202
|
+
#
|
2203
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeSubscriptionFilters.html
|
1974
2204
|
# @return [String]
|
1975
2205
|
#
|
1976
2206
|
# @!attribute [rw] filter_pattern
|
@@ -2017,6 +2247,7 @@ module Aws::CloudWatchLogs
|
|
2017
2247
|
:destination_arn,
|
2018
2248
|
:role_arn,
|
2019
2249
|
:distribution)
|
2250
|
+
SENSITIVE = []
|
2020
2251
|
include Aws::Structure
|
2021
2252
|
end
|
2022
2253
|
|
@@ -2035,6 +2266,7 @@ module Aws::CloudWatchLogs
|
|
2035
2266
|
class QueryCompileError < Struct.new(
|
2036
2267
|
:location,
|
2037
2268
|
:message)
|
2269
|
+
SENSITIVE = []
|
2038
2270
|
include Aws::Structure
|
2039
2271
|
end
|
2040
2272
|
|
@@ -2053,6 +2285,34 @@ module Aws::CloudWatchLogs
|
|
2053
2285
|
class QueryCompileErrorLocation < Struct.new(
|
2054
2286
|
:start_char_offset,
|
2055
2287
|
:end_char_offset)
|
2288
|
+
SENSITIVE = []
|
2289
|
+
include Aws::Structure
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
# @!attribute [rw] query_definition_id
|
2293
|
+
# @return [String]
|
2294
|
+
#
|
2295
|
+
# @!attribute [rw] name
|
2296
|
+
# @return [String]
|
2297
|
+
#
|
2298
|
+
# @!attribute [rw] query_string
|
2299
|
+
# @return [String]
|
2300
|
+
#
|
2301
|
+
# @!attribute [rw] last_modified
|
2302
|
+
# @return [Integer]
|
2303
|
+
#
|
2304
|
+
# @!attribute [rw] log_group_names
|
2305
|
+
# @return [Array<String>]
|
2306
|
+
#
|
2307
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/QueryDefinition AWS API Documentation
|
2308
|
+
#
|
2309
|
+
class QueryDefinition < Struct.new(
|
2310
|
+
:query_definition_id,
|
2311
|
+
:name,
|
2312
|
+
:query_string,
|
2313
|
+
:last_modified,
|
2314
|
+
:log_group_names)
|
2315
|
+
SENSITIVE = []
|
2056
2316
|
include Aws::Structure
|
2057
2317
|
end
|
2058
2318
|
|
@@ -2088,6 +2348,7 @@ module Aws::CloudWatchLogs
|
|
2088
2348
|
:status,
|
2089
2349
|
:create_time,
|
2090
2350
|
:log_group_name)
|
2351
|
+
SENSITIVE = []
|
2091
2352
|
include Aws::Structure
|
2092
2353
|
end
|
2093
2354
|
|
@@ -2114,6 +2375,7 @@ module Aws::CloudWatchLogs
|
|
2114
2375
|
:records_matched,
|
2115
2376
|
:records_scanned,
|
2116
2377
|
:bytes_scanned)
|
2378
|
+
SENSITIVE = []
|
2117
2379
|
include Aws::Structure
|
2118
2380
|
end
|
2119
2381
|
|
@@ -2137,9 +2399,22 @@ module Aws::CloudWatchLogs
|
|
2137
2399
|
:too_new_log_event_start_index,
|
2138
2400
|
:too_old_log_event_end_index,
|
2139
2401
|
:expired_log_event_end_index)
|
2402
|
+
SENSITIVE = []
|
2140
2403
|
include Aws::Structure
|
2141
2404
|
end
|
2142
2405
|
|
2406
|
+
# The specified resource already exists.
|
2407
|
+
#
|
2408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ResourceAlreadyExistsException AWS API Documentation
|
2409
|
+
#
|
2410
|
+
class ResourceAlreadyExistsException < Aws::EmptyStructure; end
|
2411
|
+
|
2412
|
+
# The specified resource does not exist.
|
2413
|
+
#
|
2414
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ResourceNotFoundException AWS API Documentation
|
2415
|
+
#
|
2416
|
+
class ResourceNotFoundException < Aws::EmptyStructure; end
|
2417
|
+
|
2143
2418
|
# A policy enabling one or more entities to put logs to a log group in
|
2144
2419
|
# this account.
|
2145
2420
|
#
|
@@ -2162,12 +2437,20 @@ module Aws::CloudWatchLogs
|
|
2162
2437
|
:policy_name,
|
2163
2438
|
:policy_document,
|
2164
2439
|
:last_updated_time)
|
2440
|
+
SENSITIVE = []
|
2165
2441
|
include Aws::Structure
|
2166
2442
|
end
|
2167
2443
|
|
2168
2444
|
# Contains one field from one log event returned by a CloudWatch Logs
|
2169
2445
|
# Insights query, along with the value of that field.
|
2170
2446
|
#
|
2447
|
+
# For more information about the fields that are generated by CloudWatch
|
2448
|
+
# logs, see [Supported Logs and Discovered Fields][1].
|
2449
|
+
#
|
2450
|
+
#
|
2451
|
+
#
|
2452
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData-discoverable-fields.html
|
2453
|
+
#
|
2171
2454
|
# @!attribute [rw] field
|
2172
2455
|
# The log event field.
|
2173
2456
|
# @return [String]
|
@@ -2181,6 +2464,7 @@ module Aws::CloudWatchLogs
|
|
2181
2464
|
class ResultField < Struct.new(
|
2182
2465
|
:field,
|
2183
2466
|
:value)
|
2467
|
+
SENSITIVE = []
|
2184
2468
|
include Aws::Structure
|
2185
2469
|
end
|
2186
2470
|
|
@@ -2199,9 +2483,16 @@ module Aws::CloudWatchLogs
|
|
2199
2483
|
class SearchedLogStream < Struct.new(
|
2200
2484
|
:log_stream_name,
|
2201
2485
|
:searched_completely)
|
2486
|
+
SENSITIVE = []
|
2202
2487
|
include Aws::Structure
|
2203
2488
|
end
|
2204
2489
|
|
2490
|
+
# The service cannot complete the request.
|
2491
|
+
#
|
2492
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ServiceUnavailableException AWS API Documentation
|
2493
|
+
#
|
2494
|
+
class ServiceUnavailableException < Aws::EmptyStructure; end
|
2495
|
+
|
2205
2496
|
# @note When making an API call, you may pass StartQueryRequest
|
2206
2497
|
# data as a hash:
|
2207
2498
|
#
|
@@ -2266,6 +2557,7 @@ module Aws::CloudWatchLogs
|
|
2266
2557
|
:end_time,
|
2267
2558
|
:query_string,
|
2268
2559
|
:limit)
|
2560
|
+
SENSITIVE = []
|
2269
2561
|
include Aws::Structure
|
2270
2562
|
end
|
2271
2563
|
|
@@ -2277,6 +2569,7 @@ module Aws::CloudWatchLogs
|
|
2277
2569
|
#
|
2278
2570
|
class StartQueryResponse < Struct.new(
|
2279
2571
|
:query_id)
|
2572
|
+
SENSITIVE = []
|
2280
2573
|
include Aws::Structure
|
2281
2574
|
end
|
2282
2575
|
|
@@ -2296,6 +2589,7 @@ module Aws::CloudWatchLogs
|
|
2296
2589
|
#
|
2297
2590
|
class StopQueryRequest < Struct.new(
|
2298
2591
|
:query_id)
|
2592
|
+
SENSITIVE = []
|
2299
2593
|
include Aws::Structure
|
2300
2594
|
end
|
2301
2595
|
|
@@ -2307,6 +2601,7 @@ module Aws::CloudWatchLogs
|
|
2307
2601
|
#
|
2308
2602
|
class StopQueryResponse < Struct.new(
|
2309
2603
|
:success)
|
2604
|
+
SENSITIVE = []
|
2310
2605
|
include Aws::Structure
|
2311
2606
|
end
|
2312
2607
|
|
@@ -2354,6 +2649,7 @@ module Aws::CloudWatchLogs
|
|
2354
2649
|
:role_arn,
|
2355
2650
|
:distribution,
|
2356
2651
|
:creation_time)
|
2652
|
+
SENSITIVE = []
|
2357
2653
|
include Aws::Structure
|
2358
2654
|
end
|
2359
2655
|
|
@@ -2380,6 +2676,7 @@ module Aws::CloudWatchLogs
|
|
2380
2676
|
class TagLogGroupRequest < Struct.new(
|
2381
2677
|
:log_group_name,
|
2382
2678
|
:tags)
|
2679
|
+
SENSITIVE = []
|
2383
2680
|
include Aws::Structure
|
2384
2681
|
end
|
2385
2682
|
|
@@ -2407,6 +2704,7 @@ module Aws::CloudWatchLogs
|
|
2407
2704
|
class TestMetricFilterRequest < Struct.new(
|
2408
2705
|
:filter_pattern,
|
2409
2706
|
:log_event_messages)
|
2707
|
+
SENSITIVE = []
|
2410
2708
|
include Aws::Structure
|
2411
2709
|
end
|
2412
2710
|
|
@@ -2418,9 +2716,16 @@ module Aws::CloudWatchLogs
|
|
2418
2716
|
#
|
2419
2717
|
class TestMetricFilterResponse < Struct.new(
|
2420
2718
|
:matches)
|
2719
|
+
SENSITIVE = []
|
2421
2720
|
include Aws::Structure
|
2422
2721
|
end
|
2423
2722
|
|
2723
|
+
# The most likely cause is an invalid AWS access key ID or secret key.
|
2724
|
+
#
|
2725
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UnrecognizedClientException AWS API Documentation
|
2726
|
+
#
|
2727
|
+
class UnrecognizedClientException < Aws::EmptyStructure; end
|
2728
|
+
|
2424
2729
|
# @note When making an API call, you may pass UntagLogGroupRequest
|
2425
2730
|
# data as a hash:
|
2426
2731
|
#
|
@@ -2442,6 +2747,7 @@ module Aws::CloudWatchLogs
|
|
2442
2747
|
class UntagLogGroupRequest < Struct.new(
|
2443
2748
|
:log_group_name,
|
2444
2749
|
:tags)
|
2750
|
+
SENSITIVE = []
|
2445
2751
|
include Aws::Structure
|
2446
2752
|
end
|
2447
2753
|
|