aws-sdk-cloudwatchlogs 1.29.0 → 1.34.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 +3 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +211 -44
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +78 -0
- data/lib/aws-sdk-cloudwatchlogs/customizations.rb +1 -0
- data/lib/aws-sdk-cloudwatchlogs/errors.rb +2 -0
- data/lib/aws-sdk-cloudwatchlogs/resource.rb +3 -7
- data/lib/aws-sdk-cloudwatchlogs/types.rb +266 -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
|
@@ -538,6 +566,15 @@ module Aws::CloudWatchLogs
|
|
538
566
|
PutMetricFilterRequest.add_member(:metric_transformations, Shapes::ShapeRef.new(shape: MetricTransformations, required: true, location_name: "metricTransformations"))
|
539
567
|
PutMetricFilterRequest.struct_class = Types::PutMetricFilterRequest
|
540
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
|
+
|
541
578
|
PutResourcePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
|
542
579
|
PutResourcePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
|
543
580
|
PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
|
@@ -565,6 +602,15 @@ module Aws::CloudWatchLogs
|
|
565
602
|
QueryCompileErrorLocation.add_member(:end_char_offset, Shapes::ShapeRef.new(shape: QueryCharOffset, location_name: "endCharOffset"))
|
566
603
|
QueryCompileErrorLocation.struct_class = Types::QueryCompileErrorLocation
|
567
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
|
+
|
568
614
|
QueryInfo.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryId"))
|
569
615
|
QueryInfo.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, location_name: "queryString"))
|
570
616
|
QueryInfo.add_member(:status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "status"))
|
@@ -792,6 +838,17 @@ module Aws::CloudWatchLogs
|
|
792
838
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
793
839
|
end)
|
794
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
|
+
|
795
852
|
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
796
853
|
o.name = "DeleteResourcePolicy"
|
797
854
|
o.http_method = "POST"
|
@@ -914,6 +971,16 @@ module Aws::CloudWatchLogs
|
|
914
971
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
915
972
|
end)
|
916
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
|
+
|
917
984
|
api.add_operation(:describe_resource_policies, Seahorse::Model::Operation.new.tap do |o|
|
918
985
|
o.name = "DescribeResourcePolicies"
|
919
986
|
o.http_method = "POST"
|
@@ -1081,6 +1148,17 @@ module Aws::CloudWatchLogs
|
|
1081
1148
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1082
1149
|
end)
|
1083
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
|
+
|
1084
1162
|
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1085
1163
|
o.name = "PutResourcePolicy"
|
1086
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,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::CloudWatchLogs
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::CloudWatchLogs::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::CloudWatchLogs::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::CloudWatchLogs::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
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,6 +1500,7 @@ 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
|
|
@@ -1402,6 +1527,7 @@ module Aws::CloudWatchLogs
|
|
1402
1527
|
#
|
1403
1528
|
class InvalidSequenceTokenException < Struct.new(
|
1404
1529
|
:expected_sequence_token)
|
1530
|
+
SENSITIVE = []
|
1405
1531
|
include Aws::Structure
|
1406
1532
|
end
|
1407
1533
|
|
@@ -1426,6 +1552,7 @@ module Aws::CloudWatchLogs
|
|
1426
1552
|
#
|
1427
1553
|
class ListTagsLogGroupRequest < Struct.new(
|
1428
1554
|
:log_group_name)
|
1555
|
+
SENSITIVE = []
|
1429
1556
|
include Aws::Structure
|
1430
1557
|
end
|
1431
1558
|
|
@@ -1437,6 +1564,7 @@ module Aws::CloudWatchLogs
|
|
1437
1564
|
#
|
1438
1565
|
class ListTagsLogGroupResponse < Struct.new(
|
1439
1566
|
:tags)
|
1567
|
+
SENSITIVE = []
|
1440
1568
|
include Aws::Structure
|
1441
1569
|
end
|
1442
1570
|
|
@@ -1484,6 +1612,7 @@ module Aws::CloudWatchLogs
|
|
1484
1612
|
:arn,
|
1485
1613
|
:stored_bytes,
|
1486
1614
|
:kms_key_id)
|
1615
|
+
SENSITIVE = []
|
1487
1616
|
include Aws::Structure
|
1488
1617
|
end
|
1489
1618
|
|
@@ -1504,6 +1633,7 @@ module Aws::CloudWatchLogs
|
|
1504
1633
|
class LogGroupField < Struct.new(
|
1505
1634
|
:name,
|
1506
1635
|
:percent)
|
1636
|
+
SENSITIVE = []
|
1507
1637
|
include Aws::Structure
|
1508
1638
|
end
|
1509
1639
|
|
@@ -1566,18 +1696,21 @@ module Aws::CloudWatchLogs
|
|
1566
1696
|
:upload_sequence_token,
|
1567
1697
|
:arn,
|
1568
1698
|
:stored_bytes)
|
1699
|
+
SENSITIVE = []
|
1569
1700
|
include Aws::Structure
|
1570
1701
|
end
|
1571
1702
|
|
1572
1703
|
# The query string is not valid. Details about this error are displayed
|
1573
|
-
# in a `QueryCompileError` object. For more information, see
|
1704
|
+
# in a `QueryCompileError` object. For more information, see
|
1705
|
+
# [QueryCompileError][1]"/>.
|
1574
1706
|
#
|
1575
1707
|
# For more information about valid query syntax, see [CloudWatch Logs
|
1576
|
-
# Insights Query Syntax][
|
1708
|
+
# Insights Query Syntax][2].
|
1577
1709
|
#
|
1578
1710
|
#
|
1579
1711
|
#
|
1580
|
-
# [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
|
1581
1714
|
#
|
1582
1715
|
# @!attribute [rw] query_compile_error
|
1583
1716
|
# Reserved.
|
@@ -1587,6 +1720,7 @@ module Aws::CloudWatchLogs
|
|
1587
1720
|
#
|
1588
1721
|
class MalformedQueryException < Struct.new(
|
1589
1722
|
:query_compile_error)
|
1723
|
+
SENSITIVE = []
|
1590
1724
|
include Aws::Structure
|
1591
1725
|
end
|
1592
1726
|
|
@@ -1626,6 +1760,7 @@ module Aws::CloudWatchLogs
|
|
1626
1760
|
:metric_transformations,
|
1627
1761
|
:creation_time,
|
1628
1762
|
:log_group_name)
|
1763
|
+
SENSITIVE = []
|
1629
1764
|
include Aws::Structure
|
1630
1765
|
end
|
1631
1766
|
|
@@ -1649,6 +1784,7 @@ module Aws::CloudWatchLogs
|
|
1649
1784
|
:event_number,
|
1650
1785
|
:event_message,
|
1651
1786
|
:extracted_values)
|
1787
|
+
SENSITIVE = []
|
1652
1788
|
include Aws::Structure
|
1653
1789
|
end
|
1654
1790
|
|
@@ -1670,7 +1806,13 @@ module Aws::CloudWatchLogs
|
|
1670
1806
|
# @return [String]
|
1671
1807
|
#
|
1672
1808
|
# @!attribute [rw] metric_namespace
|
1673
|
-
#
|
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
|
1674
1816
|
# @return [String]
|
1675
1817
|
#
|
1676
1818
|
# @!attribute [rw] metric_value
|
@@ -1690,6 +1832,7 @@ module Aws::CloudWatchLogs
|
|
1690
1832
|
:metric_namespace,
|
1691
1833
|
:metric_value,
|
1692
1834
|
:default_value)
|
1835
|
+
SENSITIVE = []
|
1693
1836
|
include Aws::Structure
|
1694
1837
|
end
|
1695
1838
|
|
@@ -1721,6 +1864,7 @@ module Aws::CloudWatchLogs
|
|
1721
1864
|
:timestamp,
|
1722
1865
|
:message,
|
1723
1866
|
:ingestion_time)
|
1867
|
+
SENSITIVE = []
|
1724
1868
|
include Aws::Structure
|
1725
1869
|
end
|
1726
1870
|
|
@@ -1746,6 +1890,7 @@ module Aws::CloudWatchLogs
|
|
1746
1890
|
class PutDestinationPolicyRequest < Struct.new(
|
1747
1891
|
:destination_name,
|
1748
1892
|
:access_policy)
|
1893
|
+
SENSITIVE = []
|
1749
1894
|
include Aws::Structure
|
1750
1895
|
end
|
1751
1896
|
|
@@ -1779,6 +1924,7 @@ module Aws::CloudWatchLogs
|
|
1779
1924
|
:destination_name,
|
1780
1925
|
:target_arn,
|
1781
1926
|
:role_arn)
|
1927
|
+
SENSITIVE = []
|
1782
1928
|
include Aws::Structure
|
1783
1929
|
end
|
1784
1930
|
|
@@ -1790,6 +1936,7 @@ module Aws::CloudWatchLogs
|
|
1790
1936
|
#
|
1791
1937
|
class PutDestinationResponse < Struct.new(
|
1792
1938
|
:destination)
|
1939
|
+
SENSITIVE = []
|
1793
1940
|
include Aws::Structure
|
1794
1941
|
end
|
1795
1942
|
|
@@ -1824,9 +1971,14 @@ module Aws::CloudWatchLogs
|
|
1824
1971
|
# The sequence token obtained from the response of the previous
|
1825
1972
|
# `PutLogEvents` call. An upload in a newly created log stream does
|
1826
1973
|
# not require a sequence token. You can also get the sequence token
|
1827
|
-
# using DescribeLogStreams. If you call `PutLogEvents` twice
|
1828
|
-
# narrow time period using the same value for
|
1829
|
-
# 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
|
1830
1982
|
# @return [String]
|
1831
1983
|
#
|
1832
1984
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsRequest AWS API Documentation
|
@@ -1836,6 +1988,7 @@ module Aws::CloudWatchLogs
|
|
1836
1988
|
:log_stream_name,
|
1837
1989
|
:log_events,
|
1838
1990
|
:sequence_token)
|
1991
|
+
SENSITIVE = []
|
1839
1992
|
include Aws::Structure
|
1840
1993
|
end
|
1841
1994
|
|
@@ -1852,6 +2005,7 @@ module Aws::CloudWatchLogs
|
|
1852
2005
|
class PutLogEventsResponse < Struct.new(
|
1853
2006
|
:next_sequence_token,
|
1854
2007
|
:rejected_log_events_info)
|
2008
|
+
SENSITIVE = []
|
1855
2009
|
include Aws::Structure
|
1856
2010
|
end
|
1857
2011
|
|
@@ -1897,6 +2051,51 @@ module Aws::CloudWatchLogs
|
|
1897
2051
|
:filter_name,
|
1898
2052
|
:filter_pattern,
|
1899
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 = []
|
1900
2099
|
include Aws::Structure
|
1901
2100
|
end
|
1902
2101
|
|
@@ -1933,6 +2132,7 @@ module Aws::CloudWatchLogs
|
|
1933
2132
|
class PutResourcePolicyRequest < Struct.new(
|
1934
2133
|
:policy_name,
|
1935
2134
|
:policy_document)
|
2135
|
+
SENSITIVE = []
|
1936
2136
|
include Aws::Structure
|
1937
2137
|
end
|
1938
2138
|
|
@@ -1944,6 +2144,7 @@ module Aws::CloudWatchLogs
|
|
1944
2144
|
#
|
1945
2145
|
class PutResourcePolicyResponse < Struct.new(
|
1946
2146
|
:resource_policy)
|
2147
|
+
SENSITIVE = []
|
1947
2148
|
include Aws::Structure
|
1948
2149
|
end
|
1949
2150
|
|
@@ -1970,6 +2171,7 @@ module Aws::CloudWatchLogs
|
|
1970
2171
|
class PutRetentionPolicyRequest < Struct.new(
|
1971
2172
|
:log_group_name,
|
1972
2173
|
:retention_in_days)
|
2174
|
+
SENSITIVE = []
|
1973
2175
|
include Aws::Structure
|
1974
2176
|
end
|
1975
2177
|
|
@@ -1994,7 +2196,11 @@ module Aws::CloudWatchLogs
|
|
1994
2196
|
# filter, you must specify the correct name in `filterName`.
|
1995
2197
|
# Otherwise, the call fails because you cannot associate a second
|
1996
2198
|
# filter with a log group. To find the name of the filter currently
|
1997
|
-
# 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
|
1998
2204
|
# @return [String]
|
1999
2205
|
#
|
2000
2206
|
# @!attribute [rw] filter_pattern
|
@@ -2041,6 +2247,7 @@ module Aws::CloudWatchLogs
|
|
2041
2247
|
:destination_arn,
|
2042
2248
|
:role_arn,
|
2043
2249
|
:distribution)
|
2250
|
+
SENSITIVE = []
|
2044
2251
|
include Aws::Structure
|
2045
2252
|
end
|
2046
2253
|
|
@@ -2059,6 +2266,7 @@ module Aws::CloudWatchLogs
|
|
2059
2266
|
class QueryCompileError < Struct.new(
|
2060
2267
|
:location,
|
2061
2268
|
:message)
|
2269
|
+
SENSITIVE = []
|
2062
2270
|
include Aws::Structure
|
2063
2271
|
end
|
2064
2272
|
|
@@ -2077,6 +2285,34 @@ module Aws::CloudWatchLogs
|
|
2077
2285
|
class QueryCompileErrorLocation < Struct.new(
|
2078
2286
|
:start_char_offset,
|
2079
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 = []
|
2080
2316
|
include Aws::Structure
|
2081
2317
|
end
|
2082
2318
|
|
@@ -2112,6 +2348,7 @@ module Aws::CloudWatchLogs
|
|
2112
2348
|
:status,
|
2113
2349
|
:create_time,
|
2114
2350
|
:log_group_name)
|
2351
|
+
SENSITIVE = []
|
2115
2352
|
include Aws::Structure
|
2116
2353
|
end
|
2117
2354
|
|
@@ -2138,6 +2375,7 @@ module Aws::CloudWatchLogs
|
|
2138
2375
|
:records_matched,
|
2139
2376
|
:records_scanned,
|
2140
2377
|
:bytes_scanned)
|
2378
|
+
SENSITIVE = []
|
2141
2379
|
include Aws::Structure
|
2142
2380
|
end
|
2143
2381
|
|
@@ -2161,6 +2399,7 @@ module Aws::CloudWatchLogs
|
|
2161
2399
|
:too_new_log_event_start_index,
|
2162
2400
|
:too_old_log_event_end_index,
|
2163
2401
|
:expired_log_event_end_index)
|
2402
|
+
SENSITIVE = []
|
2164
2403
|
include Aws::Structure
|
2165
2404
|
end
|
2166
2405
|
|
@@ -2198,12 +2437,20 @@ module Aws::CloudWatchLogs
|
|
2198
2437
|
:policy_name,
|
2199
2438
|
:policy_document,
|
2200
2439
|
:last_updated_time)
|
2440
|
+
SENSITIVE = []
|
2201
2441
|
include Aws::Structure
|
2202
2442
|
end
|
2203
2443
|
|
2204
2444
|
# Contains one field from one log event returned by a CloudWatch Logs
|
2205
2445
|
# Insights query, along with the value of that field.
|
2206
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
|
+
#
|
2207
2454
|
# @!attribute [rw] field
|
2208
2455
|
# The log event field.
|
2209
2456
|
# @return [String]
|
@@ -2217,6 +2464,7 @@ module Aws::CloudWatchLogs
|
|
2217
2464
|
class ResultField < Struct.new(
|
2218
2465
|
:field,
|
2219
2466
|
:value)
|
2467
|
+
SENSITIVE = []
|
2220
2468
|
include Aws::Structure
|
2221
2469
|
end
|
2222
2470
|
|
@@ -2235,6 +2483,7 @@ module Aws::CloudWatchLogs
|
|
2235
2483
|
class SearchedLogStream < Struct.new(
|
2236
2484
|
:log_stream_name,
|
2237
2485
|
:searched_completely)
|
2486
|
+
SENSITIVE = []
|
2238
2487
|
include Aws::Structure
|
2239
2488
|
end
|
2240
2489
|
|
@@ -2308,6 +2557,7 @@ module Aws::CloudWatchLogs
|
|
2308
2557
|
:end_time,
|
2309
2558
|
:query_string,
|
2310
2559
|
:limit)
|
2560
|
+
SENSITIVE = []
|
2311
2561
|
include Aws::Structure
|
2312
2562
|
end
|
2313
2563
|
|
@@ -2319,6 +2569,7 @@ module Aws::CloudWatchLogs
|
|
2319
2569
|
#
|
2320
2570
|
class StartQueryResponse < Struct.new(
|
2321
2571
|
:query_id)
|
2572
|
+
SENSITIVE = []
|
2322
2573
|
include Aws::Structure
|
2323
2574
|
end
|
2324
2575
|
|
@@ -2338,6 +2589,7 @@ module Aws::CloudWatchLogs
|
|
2338
2589
|
#
|
2339
2590
|
class StopQueryRequest < Struct.new(
|
2340
2591
|
:query_id)
|
2592
|
+
SENSITIVE = []
|
2341
2593
|
include Aws::Structure
|
2342
2594
|
end
|
2343
2595
|
|
@@ -2349,6 +2601,7 @@ module Aws::CloudWatchLogs
|
|
2349
2601
|
#
|
2350
2602
|
class StopQueryResponse < Struct.new(
|
2351
2603
|
:success)
|
2604
|
+
SENSITIVE = []
|
2352
2605
|
include Aws::Structure
|
2353
2606
|
end
|
2354
2607
|
|
@@ -2396,6 +2649,7 @@ module Aws::CloudWatchLogs
|
|
2396
2649
|
:role_arn,
|
2397
2650
|
:distribution,
|
2398
2651
|
:creation_time)
|
2652
|
+
SENSITIVE = []
|
2399
2653
|
include Aws::Structure
|
2400
2654
|
end
|
2401
2655
|
|
@@ -2422,6 +2676,7 @@ module Aws::CloudWatchLogs
|
|
2422
2676
|
class TagLogGroupRequest < Struct.new(
|
2423
2677
|
:log_group_name,
|
2424
2678
|
:tags)
|
2679
|
+
SENSITIVE = []
|
2425
2680
|
include Aws::Structure
|
2426
2681
|
end
|
2427
2682
|
|
@@ -2449,6 +2704,7 @@ module Aws::CloudWatchLogs
|
|
2449
2704
|
class TestMetricFilterRequest < Struct.new(
|
2450
2705
|
:filter_pattern,
|
2451
2706
|
:log_event_messages)
|
2707
|
+
SENSITIVE = []
|
2452
2708
|
include Aws::Structure
|
2453
2709
|
end
|
2454
2710
|
|
@@ -2460,6 +2716,7 @@ module Aws::CloudWatchLogs
|
|
2460
2716
|
#
|
2461
2717
|
class TestMetricFilterResponse < Struct.new(
|
2462
2718
|
:matches)
|
2719
|
+
SENSITIVE = []
|
2463
2720
|
include Aws::Structure
|
2464
2721
|
end
|
2465
2722
|
|
@@ -2490,6 +2747,7 @@ module Aws::CloudWatchLogs
|
|
2490
2747
|
class UntagLogGroupRequest < Struct.new(
|
2491
2748
|
:log_group_name,
|
2492
2749
|
:tags)
|
2750
|
+
SENSITIVE = []
|
2493
2751
|
include Aws::Structure
|
2494
2752
|
end
|
2495
2753
|
|