aws-sdk-cloudwatchlogs 1.141.0 → 1.142.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e8a10a5c4d8f895f5f19f8f593dc6bbee2a37ca4ca53ba0772e8ea2edff0d17
4
- data.tar.gz: 9ae34f8edf5d58641ce1a1c1cc65507312651891e4ab8258237c07fe1b044111
3
+ metadata.gz: cc0fc317811316e6011fb38f57641a3c68c18225ef5be28d2058cc29b29c61c7
4
+ data.tar.gz: 2fdf519ac5f7da4d74a3be56caf4469aca13b58394ad3fa6dd383e3e069da2c0
5
5
  SHA512:
6
- metadata.gz: 847fa5d00d0ffa8ba5ccb9e03cf5da5de91a86ac6eb4f747d76786d651254191b50862d94f9ca7cb6844e6c856adca7793531340b41b2a059f1b0185fa495c23
7
- data.tar.gz: 69f539032626e620974e406ba14f6d39922341729d02753d61bd0838ad9a611ace8ea871644d242be58cd7fdbb9483b66210cc6a601e8434f78b8eb2548af0d0
6
+ metadata.gz: 284d59099761374515942d4140ffbcfbfdede49e0c5cf707c6392f728cddf12fc1f5cec4359ac766a55e0fcd5ff0b53e1226318f3d8303fed55daaf6cfc1ef78
7
+ data.tar.gz: c540d281307d1f713514f80abbc85f45c3fb6ca43e4077a15200728c2ea74e4883578754464940bf51b077307cac6d7671b1632e34d97f0846d0622a7679bfb4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.142.0 (2026-03-30)
5
+ ------------------
6
+
7
+ * Feature - Adds Lookup Tables to CloudWatch Logs for log enrichment using CSV key-value data with KMS encryption support.
8
+
4
9
  1.141.0 (2026-03-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.141.0
1
+ 1.142.0
@@ -1346,6 +1346,70 @@ module Aws::CloudWatchLogs
1346
1346
  req.send_request(options)
1347
1347
  end
1348
1348
 
1349
+ # Creates a lookup table by uploading CSV data. You can use lookup
1350
+ # tables to enrich log data in CloudWatch Logs Insights queries with
1351
+ # reference data such as user details, application names, or error
1352
+ # descriptions.
1353
+ #
1354
+ # The table name must be unique within your account and Region. The CSV
1355
+ # content must include a header row with column names, use UTF-8
1356
+ # encoding, and not exceed 10 MB.
1357
+ #
1358
+ # @option params [required, String] :lookup_table_name
1359
+ # The name of the lookup table. The name must be unique within your
1360
+ # account and Region. The name can contain only alphanumeric characters
1361
+ # and underscores, and can be up to 256 characters long.
1362
+ #
1363
+ # @option params [String] :description
1364
+ # A description of the lookup table. The description can be up to 1024
1365
+ # characters long.
1366
+ #
1367
+ # @option params [required, String] :table_body
1368
+ # The CSV content of the lookup table. The first row must be a header
1369
+ # row with column names. The content must use UTF-8 encoding and not
1370
+ # exceed 10 MB.
1371
+ #
1372
+ # @option params [String] :kms_key_id
1373
+ # The ARN of the KMS key to use to encrypt the lookup table data. If you
1374
+ # don't specify a key, the data is encrypted with an Amazon Web
1375
+ # Services-owned key.
1376
+ #
1377
+ # @option params [Hash<String,String>] :tags
1378
+ # A list of key-value pairs to associate with the lookup table. You can
1379
+ # associate as many as 50 tags with a lookup table. Tags can help you
1380
+ # organize and categorize your resources.
1381
+ #
1382
+ # @return [Types::CreateLookupTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1383
+ #
1384
+ # * {Types::CreateLookupTableResponse#lookup_table_arn #lookup_table_arn} => String
1385
+ # * {Types::CreateLookupTableResponse#created_at #created_at} => Integer
1386
+ #
1387
+ # @example Request syntax with placeholder values
1388
+ #
1389
+ # resp = client.create_lookup_table({
1390
+ # lookup_table_name: "LookupTableName", # required
1391
+ # description: "LookupTableDescription",
1392
+ # table_body: "TableBody", # required
1393
+ # kms_key_id: "KmsKeyId",
1394
+ # tags: {
1395
+ # "TagKey" => "TagValue",
1396
+ # },
1397
+ # })
1398
+ #
1399
+ # @example Response structure
1400
+ #
1401
+ # resp.lookup_table_arn #=> String
1402
+ # resp.created_at #=> Integer
1403
+ #
1404
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLookupTable AWS API Documentation
1405
+ #
1406
+ # @overload create_lookup_table(params = {})
1407
+ # @param [Hash] params ({})
1408
+ def create_lookup_table(params = {}, options = {})
1409
+ req = build_request(:create_lookup_table, params)
1410
+ req.send_request(options)
1411
+ end
1412
+
1349
1413
  # Creates a scheduled query that runs CloudWatch Logs Insights queries
1350
1414
  # at regular intervals. Scheduled queries enable proactive monitoring by
1351
1415
  # automatically executing queries to detect patterns and anomalies in
@@ -1864,6 +1928,32 @@ module Aws::CloudWatchLogs
1864
1928
  req.send_request(options)
1865
1929
  end
1866
1930
 
1931
+ # Deletes a lookup table permanently. This operation cannot be undone.
1932
+ #
1933
+ # Queries that reference a deleted table will return an error. Before
1934
+ # deleting a lookup table, review any saved queries or dashboards that
1935
+ # may reference it.
1936
+ #
1937
+ # @option params [required, String] :lookup_table_arn
1938
+ # The ARN of the lookup table to delete.
1939
+ #
1940
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1941
+ #
1942
+ # @example Request syntax with placeholder values
1943
+ #
1944
+ # resp = client.delete_lookup_table({
1945
+ # lookup_table_arn: "Arn", # required
1946
+ # })
1947
+ #
1948
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLookupTable AWS API Documentation
1949
+ #
1950
+ # @overload delete_lookup_table(params = {})
1951
+ # @param [Hash] params ({})
1952
+ def delete_lookup_table(params = {}, options = {})
1953
+ req = build_request(:delete_lookup_table, params)
1954
+ req.send_request(options)
1955
+ end
1956
+
1867
1957
  # Deletes the specified metric filter.
1868
1958
  #
1869
1959
  # @option params [required, String] :log_group_name
@@ -2993,6 +3083,59 @@ module Aws::CloudWatchLogs
2993
3083
  req.send_request(options)
2994
3084
  end
2995
3085
 
3086
+ # Retrieves metadata about lookup tables in your account. You can
3087
+ # optionally filter the results by table name prefix. Results are sorted
3088
+ # by table name in ascending order.
3089
+ #
3090
+ # @option params [String] :lookup_table_name_prefix
3091
+ # A prefix to filter lookup tables by name. Only tables whose names
3092
+ # start with this prefix are returned. If you don't specify a prefix,
3093
+ # all tables in the account and Region are returned.
3094
+ #
3095
+ # @option params [Integer] :max_results
3096
+ # The maximum number of lookup tables to return in the response. The
3097
+ # default value is 50 and the maximum value is 100.
3098
+ #
3099
+ # @option params [String] :next_token
3100
+ # The token for the next set of items to return. (You received this
3101
+ # token from a previous call.)
3102
+ #
3103
+ # @return [Types::DescribeLookupTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3104
+ #
3105
+ # * {Types::DescribeLookupTablesResponse#lookup_tables #lookup_tables} => Array&lt;Types::LookupTable&gt;
3106
+ # * {Types::DescribeLookupTablesResponse#next_token #next_token} => String
3107
+ #
3108
+ # @example Request syntax with placeholder values
3109
+ #
3110
+ # resp = client.describe_lookup_tables({
3111
+ # lookup_table_name_prefix: "LookupTableName",
3112
+ # max_results: 1,
3113
+ # next_token: "NextToken",
3114
+ # })
3115
+ #
3116
+ # @example Response structure
3117
+ #
3118
+ # resp.lookup_tables #=> Array
3119
+ # resp.lookup_tables[0].lookup_table_arn #=> String
3120
+ # resp.lookup_tables[0].lookup_table_name #=> String
3121
+ # resp.lookup_tables[0].description #=> String
3122
+ # resp.lookup_tables[0].table_fields #=> Array
3123
+ # resp.lookup_tables[0].table_fields[0] #=> String
3124
+ # resp.lookup_tables[0].records_count #=> Integer
3125
+ # resp.lookup_tables[0].size_bytes #=> Integer
3126
+ # resp.lookup_tables[0].last_updated_time #=> Integer
3127
+ # resp.lookup_tables[0].kms_key_id #=> String
3128
+ # resp.next_token #=> String
3129
+ #
3130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLookupTables AWS API Documentation
3131
+ #
3132
+ # @overload describe_lookup_tables(params = {})
3133
+ # @param [Hash] params ({})
3134
+ def describe_lookup_tables(params = {}, options = {})
3135
+ req = build_request(:describe_lookup_tables, params)
3136
+ req.send_request(options)
3137
+ end
3138
+
2996
3139
  # Lists the specified metric filters. You can list all of the metric
2997
3140
  # filters or filter the results by log name, prefix, metric name, or
2998
3141
  # metric namespace. The results are ASCII-sorted by filter name.
@@ -4425,6 +4568,46 @@ module Aws::CloudWatchLogs
4425
4568
  req.send_request(options)
4426
4569
  end
4427
4570
 
4571
+ # Retrieves the full content of a lookup table, including the CSV data.
4572
+ #
4573
+ # @option params [required, String] :lookup_table_arn
4574
+ # The ARN of the lookup table to retrieve.
4575
+ #
4576
+ # @return [Types::GetLookupTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4577
+ #
4578
+ # * {Types::GetLookupTableResponse#lookup_table_arn #lookup_table_arn} => String
4579
+ # * {Types::GetLookupTableResponse#lookup_table_name #lookup_table_name} => String
4580
+ # * {Types::GetLookupTableResponse#description #description} => String
4581
+ # * {Types::GetLookupTableResponse#table_body #table_body} => String
4582
+ # * {Types::GetLookupTableResponse#size_bytes #size_bytes} => Integer
4583
+ # * {Types::GetLookupTableResponse#last_updated_time #last_updated_time} => Integer
4584
+ # * {Types::GetLookupTableResponse#kms_key_id #kms_key_id} => String
4585
+ #
4586
+ # @example Request syntax with placeholder values
4587
+ #
4588
+ # resp = client.get_lookup_table({
4589
+ # lookup_table_arn: "Arn", # required
4590
+ # })
4591
+ #
4592
+ # @example Response structure
4593
+ #
4594
+ # resp.lookup_table_arn #=> String
4595
+ # resp.lookup_table_name #=> String
4596
+ # resp.description #=> String
4597
+ # resp.table_body #=> String
4598
+ # resp.size_bytes #=> Integer
4599
+ # resp.last_updated_time #=> Integer
4600
+ # resp.kms_key_id #=> String
4601
+ #
4602
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLookupTable AWS API Documentation
4603
+ #
4604
+ # @overload get_lookup_table(params = {})
4605
+ # @param [Hash] params ({})
4606
+ def get_lookup_table(params = {}, options = {})
4607
+ req = build_request(:get_lookup_table, params)
4608
+ req.send_request(options)
4609
+ end
4610
+
4428
4611
  # Returns the results from the specified query.
4429
4612
  #
4430
4613
  # Only the fields requested in the query are returned, along with a
@@ -8838,6 +9021,58 @@ module Aws::CloudWatchLogs
8838
9021
  req.send_request(options)
8839
9022
  end
8840
9023
 
9024
+ # Updates an existing lookup table by replacing all of its CSV content.
9025
+ # After the update completes, queries that use this table will use the
9026
+ # new data.
9027
+ #
9028
+ # This is a full replacement operation. All existing content is replaced
9029
+ # with the new CSV data.
9030
+ #
9031
+ # @option params [required, String] :lookup_table_arn
9032
+ # The ARN of the lookup table to update.
9033
+ #
9034
+ # @option params [String] :description
9035
+ # An updated description of the lookup table.
9036
+ #
9037
+ # @option params [required, String] :table_body
9038
+ # The new CSV content to replace the existing data. The first row must
9039
+ # be a header row with column names. The content must use UTF-8 encoding
9040
+ # and not exceed 10 MB.
9041
+ #
9042
+ # @option params [String] :kms_key_id
9043
+ # The ARN of the KMS key to use to encrypt the lookup table data. You
9044
+ # can use this parameter to add, update, or remove the KMS key. To
9045
+ # remove the KMS key and use an Amazon Web Services-owned key instead,
9046
+ # specify an empty string.
9047
+ #
9048
+ # @return [Types::UpdateLookupTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9049
+ #
9050
+ # * {Types::UpdateLookupTableResponse#lookup_table_arn #lookup_table_arn} => String
9051
+ # * {Types::UpdateLookupTableResponse#last_updated_time #last_updated_time} => Integer
9052
+ #
9053
+ # @example Request syntax with placeholder values
9054
+ #
9055
+ # resp = client.update_lookup_table({
9056
+ # lookup_table_arn: "Arn", # required
9057
+ # description: "LookupTableDescription",
9058
+ # table_body: "TableBody", # required
9059
+ # kms_key_id: "KmsKeyId",
9060
+ # })
9061
+ #
9062
+ # @example Response structure
9063
+ #
9064
+ # resp.lookup_table_arn #=> String
9065
+ # resp.last_updated_time #=> Integer
9066
+ #
9067
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateLookupTable AWS API Documentation
9068
+ #
9069
+ # @overload update_lookup_table(params = {})
9070
+ # @param [Hash] params ({})
9071
+ def update_lookup_table(params = {}, options = {})
9072
+ req = build_request(:update_lookup_table, params)
9073
+ req.send_request(options)
9074
+ end
9075
+
8841
9076
  # Updates an existing scheduled query with new configuration. This
8842
9077
  # operation uses PUT semantics, allowing modification of query
8843
9078
  # parameters, schedule, and destinations.
@@ -8982,7 +9217,7 @@ module Aws::CloudWatchLogs
8982
9217
  tracer: tracer
8983
9218
  )
8984
9219
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
8985
- context[:gem_version] = '1.141.0'
9220
+ context[:gem_version] = '1.142.0'
8986
9221
  Seahorse::Client::Request.new(handlers, context)
8987
9222
  end
8988
9223
 
@@ -75,6 +75,8 @@ module Aws::CloudWatchLogs
75
75
  CreateLogAnomalyDetectorResponse = Shapes::StructureShape.new(name: 'CreateLogAnomalyDetectorResponse')
76
76
  CreateLogGroupRequest = Shapes::StructureShape.new(name: 'CreateLogGroupRequest')
77
77
  CreateLogStreamRequest = Shapes::StructureShape.new(name: 'CreateLogStreamRequest')
78
+ CreateLookupTableRequest = Shapes::StructureShape.new(name: 'CreateLookupTableRequest')
79
+ CreateLookupTableResponse = Shapes::StructureShape.new(name: 'CreateLookupTableResponse')
78
80
  CreateScheduledQueryRequest = Shapes::StructureShape.new(name: 'CreateScheduledQueryRequest')
79
81
  CreateScheduledQueryResponse = Shapes::StructureShape.new(name: 'CreateScheduledQueryResponse')
80
82
  DashboardViewerPrincipals = Shapes::ListShape.new(name: 'DashboardViewerPrincipals')
@@ -106,6 +108,7 @@ module Aws::CloudWatchLogs
106
108
  DeleteLogAnomalyDetectorRequest = Shapes::StructureShape.new(name: 'DeleteLogAnomalyDetectorRequest')
107
109
  DeleteLogGroupRequest = Shapes::StructureShape.new(name: 'DeleteLogGroupRequest')
108
110
  DeleteLogStreamRequest = Shapes::StructureShape.new(name: 'DeleteLogStreamRequest')
111
+ DeleteLookupTableRequest = Shapes::StructureShape.new(name: 'DeleteLookupTableRequest')
109
112
  DeleteMetricFilterRequest = Shapes::StructureShape.new(name: 'DeleteMetricFilterRequest')
110
113
  DeleteQueryDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteQueryDefinitionRequest')
111
114
  DeleteQueryDefinitionResponse = Shapes::StructureShape.new(name: 'DeleteQueryDefinitionResponse')
@@ -163,6 +166,9 @@ module Aws::CloudWatchLogs
163
166
  DescribeLogGroupsResponse = Shapes::StructureShape.new(name: 'DescribeLogGroupsResponse')
164
167
  DescribeLogStreamsRequest = Shapes::StructureShape.new(name: 'DescribeLogStreamsRequest')
165
168
  DescribeLogStreamsResponse = Shapes::StructureShape.new(name: 'DescribeLogStreamsResponse')
169
+ DescribeLookupTablesMaxResults = Shapes::IntegerShape.new(name: 'DescribeLookupTablesMaxResults')
170
+ DescribeLookupTablesRequest = Shapes::StructureShape.new(name: 'DescribeLookupTablesRequest')
171
+ DescribeLookupTablesResponse = Shapes::StructureShape.new(name: 'DescribeLookupTablesResponse')
166
172
  DescribeMetricFiltersRequest = Shapes::StructureShape.new(name: 'DescribeMetricFiltersRequest')
167
173
  DescribeMetricFiltersResponse = Shapes::StructureShape.new(name: 'DescribeMetricFiltersResponse')
168
174
  DescribeQueriesMaxResults = Shapes::IntegerShape.new(name: 'DescribeQueriesMaxResults')
@@ -270,6 +276,8 @@ module Aws::CloudWatchLogs
270
276
  GetLogObjectResponseStream = Shapes::StructureShape.new(name: 'GetLogObjectResponseStream')
271
277
  GetLogRecordRequest = Shapes::StructureShape.new(name: 'GetLogRecordRequest')
272
278
  GetLogRecordResponse = Shapes::StructureShape.new(name: 'GetLogRecordResponse')
279
+ GetLookupTableRequest = Shapes::StructureShape.new(name: 'GetLookupTableRequest')
280
+ GetLookupTableResponse = Shapes::StructureShape.new(name: 'GetLookupTableResponse')
273
281
  GetQueryResultsRequest = Shapes::StructureShape.new(name: 'GetQueryResultsRequest')
274
282
  GetQueryResultsResponse = Shapes::StructureShape.new(name: 'GetQueryResultsResponse')
275
283
  GetScheduledQueryHistoryMaxResults = Shapes::IntegerShape.new(name: 'GetScheduledQueryHistoryMaxResults')
@@ -394,6 +402,10 @@ module Aws::CloudWatchLogs
394
402
  LogStreams = Shapes::ListShape.new(name: 'LogStreams')
395
403
  LogType = Shapes::StringShape.new(name: 'LogType')
396
404
  LogTypes = Shapes::ListShape.new(name: 'LogTypes')
405
+ LookupTable = Shapes::StructureShape.new(name: 'LookupTable')
406
+ LookupTableDescription = Shapes::StringShape.new(name: 'LookupTableDescription')
407
+ LookupTableName = Shapes::StringShape.new(name: 'LookupTableName')
408
+ LookupTables = Shapes::ListShape.new(name: 'LookupTables')
397
409
  LowerCaseString = Shapes::StructureShape.new(name: 'LowerCaseString')
398
410
  LowerCaseStringWithKeys = Shapes::ListShape.new(name: 'LowerCaseStringWithKeys')
399
411
  MalformedQueryException = Shapes::StructureShape.new(name: 'MalformedQueryException')
@@ -517,6 +529,7 @@ module Aws::CloudWatchLogs
517
529
  QuoteCharacter = Shapes::StringShape.new(name: 'QuoteCharacter')
518
530
  RecordField = Shapes::StructureShape.new(name: 'RecordField')
519
531
  RecordFields = Shapes::ListShape.new(name: 'RecordFields')
532
+ RecordsCount = Shapes::IntegerShape.new(name: 'RecordsCount')
520
533
  RejectedEntityInfo = Shapes::StructureShape.new(name: 'RejectedEntityInfo')
521
534
  RejectedLogEventsInfo = Shapes::StructureShape.new(name: 'RejectedLogEventsInfo')
522
535
  RenameKeyEntries = Shapes::ListShape.new(name: 'RenameKeyEntries')
@@ -599,6 +612,8 @@ module Aws::CloudWatchLogs
599
612
  SuppressionType = Shapes::StringShape.new(name: 'SuppressionType')
600
613
  SuppressionUnit = Shapes::StringShape.new(name: 'SuppressionUnit')
601
614
  SystemField = Shapes::StringShape.new(name: 'SystemField')
615
+ TableBody = Shapes::StringShape.new(name: 'TableBody')
616
+ TableFields = Shapes::ListShape.new(name: 'TableFields')
602
617
  TagKey = Shapes::StringShape.new(name: 'TagKey')
603
618
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
604
619
  TagList = Shapes::ListShape.new(name: 'TagList')
@@ -642,6 +657,8 @@ module Aws::CloudWatchLogs
642
657
  UpdateDeliveryConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateDeliveryConfigurationRequest')
643
658
  UpdateDeliveryConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateDeliveryConfigurationResponse')
644
659
  UpdateLogAnomalyDetectorRequest = Shapes::StructureShape.new(name: 'UpdateLogAnomalyDetectorRequest')
660
+ UpdateLookupTableRequest = Shapes::StructureShape.new(name: 'UpdateLookupTableRequest')
661
+ UpdateLookupTableResponse = Shapes::StructureShape.new(name: 'UpdateLookupTableResponse')
645
662
  UpdateScheduledQueryRequest = Shapes::StructureShape.new(name: 'UpdateScheduledQueryRequest')
646
663
  UpdateScheduledQueryResponse = Shapes::StructureShape.new(name: 'UpdateScheduledQueryResponse')
647
664
  UpperCaseString = Shapes::StructureShape.new(name: 'UpperCaseString')
@@ -843,6 +860,17 @@ module Aws::CloudWatchLogs
843
860
  CreateLogStreamRequest.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, required: true, location_name: "logStreamName"))
844
861
  CreateLogStreamRequest.struct_class = Types::CreateLogStreamRequest
845
862
 
863
+ CreateLookupTableRequest.add_member(:lookup_table_name, Shapes::ShapeRef.new(shape: LookupTableName, required: true, location_name: "lookupTableName"))
864
+ CreateLookupTableRequest.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
865
+ CreateLookupTableRequest.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody, required: true, location_name: "tableBody"))
866
+ CreateLookupTableRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
867
+ CreateLookupTableRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
868
+ CreateLookupTableRequest.struct_class = Types::CreateLookupTableRequest
869
+
870
+ CreateLookupTableResponse.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "lookupTableArn"))
871
+ CreateLookupTableResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
872
+ CreateLookupTableResponse.struct_class = Types::CreateLookupTableResponse
873
+
846
874
  CreateScheduledQueryRequest.add_member(:name, Shapes::ShapeRef.new(shape: ScheduledQueryName, required: true, location_name: "name"))
847
875
  CreateScheduledQueryRequest.add_member(:description, Shapes::ShapeRef.new(shape: ScheduledQueryDescription, location_name: "description"))
848
876
  CreateScheduledQueryRequest.add_member(:query_language, Shapes::ShapeRef.new(shape: QueryLanguage, required: true, location_name: "queryLanguage"))
@@ -933,6 +961,9 @@ module Aws::CloudWatchLogs
933
961
  DeleteLogStreamRequest.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, required: true, location_name: "logStreamName"))
934
962
  DeleteLogStreamRequest.struct_class = Types::DeleteLogStreamRequest
935
963
 
964
+ DeleteLookupTableRequest.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "lookupTableArn"))
965
+ DeleteLookupTableRequest.struct_class = Types::DeleteLookupTableRequest
966
+
936
967
  DeleteMetricFilterRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
937
968
  DeleteMetricFilterRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "filterName"))
938
969
  DeleteMetricFilterRequest.struct_class = Types::DeleteMetricFilterRequest
@@ -1140,6 +1171,15 @@ module Aws::CloudWatchLogs
1140
1171
  DescribeLogStreamsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1141
1172
  DescribeLogStreamsResponse.struct_class = Types::DescribeLogStreamsResponse
1142
1173
 
1174
+ DescribeLookupTablesRequest.add_member(:lookup_table_name_prefix, Shapes::ShapeRef.new(shape: LookupTableName, location_name: "lookupTableNamePrefix"))
1175
+ DescribeLookupTablesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeLookupTablesMaxResults, location_name: "maxResults"))
1176
+ DescribeLookupTablesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1177
+ DescribeLookupTablesRequest.struct_class = Types::DescribeLookupTablesRequest
1178
+
1179
+ DescribeLookupTablesResponse.add_member(:lookup_tables, Shapes::ShapeRef.new(shape: LookupTables, location_name: "lookupTables"))
1180
+ DescribeLookupTablesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1181
+ DescribeLookupTablesResponse.struct_class = Types::DescribeLookupTablesResponse
1182
+
1143
1183
  DescribeMetricFiltersRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
1144
1184
  DescribeMetricFiltersRequest.add_member(:filter_name_prefix, Shapes::ShapeRef.new(shape: FilterName, location_name: "filterNamePrefix"))
1145
1185
  DescribeMetricFiltersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -1406,6 +1446,18 @@ module Aws::CloudWatchLogs
1406
1446
  GetLogRecordResponse.add_member(:log_record, Shapes::ShapeRef.new(shape: LogRecord, location_name: "logRecord"))
1407
1447
  GetLogRecordResponse.struct_class = Types::GetLogRecordResponse
1408
1448
 
1449
+ GetLookupTableRequest.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "lookupTableArn"))
1450
+ GetLookupTableRequest.struct_class = Types::GetLookupTableRequest
1451
+
1452
+ GetLookupTableResponse.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "lookupTableArn"))
1453
+ GetLookupTableResponse.add_member(:lookup_table_name, Shapes::ShapeRef.new(shape: LookupTableName, location_name: "lookupTableName"))
1454
+ GetLookupTableResponse.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
1455
+ GetLookupTableResponse.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody, location_name: "tableBody"))
1456
+ GetLookupTableResponse.add_member(:size_bytes, Shapes::ShapeRef.new(shape: StoredBytes, location_name: "sizeBytes"))
1457
+ GetLookupTableResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
1458
+ GetLookupTableResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
1459
+ GetLookupTableResponse.struct_class = Types::GetLookupTableResponse
1460
+
1409
1461
  GetQueryResultsRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, required: true, location_name: "queryId"))
1410
1462
  GetQueryResultsRequest.struct_class = Types::GetQueryResultsRequest
1411
1463
 
@@ -1746,6 +1798,18 @@ module Aws::CloudWatchLogs
1746
1798
 
1747
1799
  LogTypes.member = Shapes::ShapeRef.new(shape: LogType)
1748
1800
 
1801
+ LookupTable.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "lookupTableArn"))
1802
+ LookupTable.add_member(:lookup_table_name, Shapes::ShapeRef.new(shape: LookupTableName, location_name: "lookupTableName"))
1803
+ LookupTable.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
1804
+ LookupTable.add_member(:table_fields, Shapes::ShapeRef.new(shape: TableFields, location_name: "tableFields"))
1805
+ LookupTable.add_member(:records_count, Shapes::ShapeRef.new(shape: RecordsCount, location_name: "recordsCount"))
1806
+ LookupTable.add_member(:size_bytes, Shapes::ShapeRef.new(shape: StoredBytes, location_name: "sizeBytes"))
1807
+ LookupTable.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
1808
+ LookupTable.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
1809
+ LookupTable.struct_class = Types::LookupTable
1810
+
1811
+ LookupTables.member = Shapes::ShapeRef.new(shape: LookupTable)
1812
+
1749
1813
  LowerCaseString.add_member(:with_keys, Shapes::ShapeRef.new(shape: LowerCaseStringWithKeys, required: true, location_name: "withKeys"))
1750
1814
  LowerCaseString.struct_class = Types::LowerCaseString
1751
1815
 
@@ -2313,6 +2377,8 @@ module Aws::CloudWatchLogs
2313
2377
  SuppressionPeriod.add_member(:suppression_unit, Shapes::ShapeRef.new(shape: SuppressionUnit, location_name: "suppressionUnit"))
2314
2378
  SuppressionPeriod.struct_class = Types::SuppressionPeriod
2315
2379
 
2380
+ TableFields.member = Shapes::ShapeRef.new(shape: String)
2381
+
2316
2382
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
2317
2383
 
2318
2384
  TagList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -2413,6 +2479,16 @@ module Aws::CloudWatchLogs
2413
2479
  UpdateLogAnomalyDetectorRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
2414
2480
  UpdateLogAnomalyDetectorRequest.struct_class = Types::UpdateLogAnomalyDetectorRequest
2415
2481
 
2482
+ UpdateLookupTableRequest.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "lookupTableArn"))
2483
+ UpdateLookupTableRequest.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
2484
+ UpdateLookupTableRequest.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody, required: true, location_name: "tableBody"))
2485
+ UpdateLookupTableRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
2486
+ UpdateLookupTableRequest.struct_class = Types::UpdateLookupTableRequest
2487
+
2488
+ UpdateLookupTableResponse.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "lookupTableArn"))
2489
+ UpdateLookupTableResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
2490
+ UpdateLookupTableResponse.struct_class = Types::UpdateLookupTableResponse
2491
+
2416
2492
  UpdateScheduledQueryRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: ScheduledQueryIdentifier, required: true, location_name: "identifier"))
2417
2493
  UpdateScheduledQueryRequest.add_member(:description, Shapes::ShapeRef.new(shape: ScheduledQueryDescription, location_name: "description"))
2418
2494
  UpdateScheduledQueryRequest.add_member(:query_language, Shapes::ShapeRef.new(shape: QueryLanguage, required: true, location_name: "queryLanguage"))
@@ -2607,6 +2683,20 @@ module Aws::CloudWatchLogs
2607
2683
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2608
2684
  end)
2609
2685
 
2686
+ api.add_operation(:create_lookup_table, Seahorse::Model::Operation.new.tap do |o|
2687
+ o.name = "CreateLookupTable"
2688
+ o.http_method = "POST"
2689
+ o.http_request_uri = "/"
2690
+ o.input = Shapes::ShapeRef.new(shape: CreateLookupTableRequest)
2691
+ o.output = Shapes::ShapeRef.new(shape: CreateLookupTableResponse)
2692
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2693
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
2694
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2695
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2696
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2697
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2698
+ end)
2699
+
2610
2700
  api.add_operation(:create_scheduled_query, Seahorse::Model::Operation.new.tap do |o|
2611
2701
  o.name = "CreateScheduledQuery"
2612
2702
  o.http_method = "POST"
@@ -2775,6 +2865,18 @@ module Aws::CloudWatchLogs
2775
2865
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2776
2866
  end)
2777
2867
 
2868
+ api.add_operation(:delete_lookup_table, Seahorse::Model::Operation.new.tap do |o|
2869
+ o.name = "DeleteLookupTable"
2870
+ o.http_method = "POST"
2871
+ o.http_request_uri = "/"
2872
+ o.input = Shapes::ShapeRef.new(shape: DeleteLookupTableRequest)
2873
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2874
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2875
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2876
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2877
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2878
+ end)
2879
+
2778
2880
  api.add_operation(:delete_metric_filter, Seahorse::Model::Operation.new.tap do |o|
2779
2881
  o.name = "DeleteMetricFilter"
2780
2882
  o.http_method = "POST"
@@ -3055,6 +3157,18 @@ module Aws::CloudWatchLogs
3055
3157
  )
3056
3158
  end)
3057
3159
 
3160
+ api.add_operation(:describe_lookup_tables, Seahorse::Model::Operation.new.tap do |o|
3161
+ o.name = "DescribeLookupTables"
3162
+ o.http_method = "POST"
3163
+ o.http_request_uri = "/"
3164
+ o.input = Shapes::ShapeRef.new(shape: DescribeLookupTablesRequest)
3165
+ o.output = Shapes::ShapeRef.new(shape: DescribeLookupTablesResponse)
3166
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3167
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3168
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3169
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3170
+ end)
3171
+
3058
3172
  api.add_operation(:describe_metric_filters, Seahorse::Model::Operation.new.tap do |o|
3059
3173
  o.name = "DescribeMetricFilters"
3060
3174
  o.http_method = "POST"
@@ -3316,6 +3430,18 @@ module Aws::CloudWatchLogs
3316
3430
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3317
3431
  end)
3318
3432
 
3433
+ api.add_operation(:get_lookup_table, Seahorse::Model::Operation.new.tap do |o|
3434
+ o.name = "GetLookupTable"
3435
+ o.http_method = "POST"
3436
+ o.http_request_uri = "/"
3437
+ o.input = Shapes::ShapeRef.new(shape: GetLookupTableRequest)
3438
+ o.output = Shapes::ShapeRef.new(shape: GetLookupTableResponse)
3439
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3440
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3441
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3442
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3443
+ end)
3444
+
3319
3445
  api.add_operation(:get_query_results, Seahorse::Model::Operation.new.tap do |o|
3320
3446
  o.name = "GetQueryResults"
3321
3447
  o.http_method = "POST"
@@ -3897,6 +4023,19 @@ module Aws::CloudWatchLogs
3897
4023
  o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
3898
4024
  end)
3899
4025
 
4026
+ api.add_operation(:update_lookup_table, Seahorse::Model::Operation.new.tap do |o|
4027
+ o.name = "UpdateLookupTable"
4028
+ o.http_method = "POST"
4029
+ o.http_request_uri = "/"
4030
+ o.input = Shapes::ShapeRef.new(shape: UpdateLookupTableRequest)
4031
+ o.output = Shapes::ShapeRef.new(shape: UpdateLookupTableResponse)
4032
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4033
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4034
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4035
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4036
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
4037
+ end)
4038
+
3900
4039
  api.add_operation(:update_scheduled_query, Seahorse::Model::Operation.new.tap do |o|
3901
4040
  o.name = "UpdateScheduledQuery"
3902
4041
  o.http_method = "POST"
@@ -1119,6 +1119,65 @@ module Aws::CloudWatchLogs
1119
1119
  include Aws::Structure
1120
1120
  end
1121
1121
 
1122
+ # @!attribute [rw] lookup_table_name
1123
+ # The name of the lookup table. The name must be unique within your
1124
+ # account and Region. The name can contain only alphanumeric
1125
+ # characters and underscores, and can be up to 256 characters long.
1126
+ # @return [String]
1127
+ #
1128
+ # @!attribute [rw] description
1129
+ # A description of the lookup table. The description can be up to 1024
1130
+ # characters long.
1131
+ # @return [String]
1132
+ #
1133
+ # @!attribute [rw] table_body
1134
+ # The CSV content of the lookup table. The first row must be a header
1135
+ # row with column names. The content must use UTF-8 encoding and not
1136
+ # exceed 10 MB.
1137
+ # @return [String]
1138
+ #
1139
+ # @!attribute [rw] kms_key_id
1140
+ # The ARN of the KMS key to use to encrypt the lookup table data. If
1141
+ # you don't specify a key, the data is encrypted with an Amazon Web
1142
+ # Services-owned key.
1143
+ # @return [String]
1144
+ #
1145
+ # @!attribute [rw] tags
1146
+ # A list of key-value pairs to associate with the lookup table. You
1147
+ # can associate as many as 50 tags with a lookup table. Tags can help
1148
+ # you organize and categorize your resources.
1149
+ # @return [Hash<String,String>]
1150
+ #
1151
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLookupTableRequest AWS API Documentation
1152
+ #
1153
+ class CreateLookupTableRequest < Struct.new(
1154
+ :lookup_table_name,
1155
+ :description,
1156
+ :table_body,
1157
+ :kms_key_id,
1158
+ :tags)
1159
+ SENSITIVE = []
1160
+ include Aws::Structure
1161
+ end
1162
+
1163
+ # @!attribute [rw] lookup_table_arn
1164
+ # The ARN of the lookup table that was created.
1165
+ # @return [String]
1166
+ #
1167
+ # @!attribute [rw] created_at
1168
+ # The time when the lookup table was created, expressed as the number
1169
+ # of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
1170
+ # @return [Integer]
1171
+ #
1172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLookupTableResponse AWS API Documentation
1173
+ #
1174
+ class CreateLookupTableResponse < Struct.new(
1175
+ :lookup_table_arn,
1176
+ :created_at)
1177
+ SENSITIVE = []
1178
+ include Aws::Structure
1179
+ end
1180
+
1122
1181
  # @!attribute [rw] name
1123
1182
  # The name of the scheduled query. The name must be unique within your
1124
1183
  # account and region. Valid characters are alphanumeric characters,
@@ -1569,6 +1628,18 @@ module Aws::CloudWatchLogs
1569
1628
  include Aws::Structure
1570
1629
  end
1571
1630
 
1631
+ # @!attribute [rw] lookup_table_arn
1632
+ # The ARN of the lookup table to delete.
1633
+ # @return [String]
1634
+ #
1635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLookupTableRequest AWS API Documentation
1636
+ #
1637
+ class DeleteLookupTableRequest < Struct.new(
1638
+ :lookup_table_arn)
1639
+ SENSITIVE = []
1640
+ include Aws::Structure
1641
+ end
1642
+
1572
1643
  # @!attribute [rw] log_group_name
1573
1644
  # The name of the log group.
1574
1645
  # @return [String]
@@ -2683,6 +2754,50 @@ module Aws::CloudWatchLogs
2683
2754
  include Aws::Structure
2684
2755
  end
2685
2756
 
2757
+ # @!attribute [rw] lookup_table_name_prefix
2758
+ # A prefix to filter lookup tables by name. Only tables whose names
2759
+ # start with this prefix are returned. If you don't specify a prefix,
2760
+ # all tables in the account and Region are returned.
2761
+ # @return [String]
2762
+ #
2763
+ # @!attribute [rw] max_results
2764
+ # The maximum number of lookup tables to return in the response. The
2765
+ # default value is 50 and the maximum value is 100.
2766
+ # @return [Integer]
2767
+ #
2768
+ # @!attribute [rw] next_token
2769
+ # The token for the next set of items to return. (You received this
2770
+ # token from a previous call.)
2771
+ # @return [String]
2772
+ #
2773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLookupTablesRequest AWS API Documentation
2774
+ #
2775
+ class DescribeLookupTablesRequest < Struct.new(
2776
+ :lookup_table_name_prefix,
2777
+ :max_results,
2778
+ :next_token)
2779
+ SENSITIVE = []
2780
+ include Aws::Structure
2781
+ end
2782
+
2783
+ # @!attribute [rw] lookup_tables
2784
+ # An array of structures, where each structure contains metadata about
2785
+ # one lookup table.
2786
+ # @return [Array<Types::LookupTable>]
2787
+ #
2788
+ # @!attribute [rw] next_token
2789
+ # The token to use when requesting the next set of items.
2790
+ # @return [String]
2791
+ #
2792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLookupTablesResponse AWS API Documentation
2793
+ #
2794
+ class DescribeLookupTablesResponse < Struct.new(
2795
+ :lookup_tables,
2796
+ :next_token)
2797
+ SENSITIVE = []
2798
+ include Aws::Structure
2799
+ end
2800
+
2686
2801
  # @!attribute [rw] log_group_name
2687
2802
  # The name of the log group.
2688
2803
  # @return [String]
@@ -3997,6 +4112,62 @@ module Aws::CloudWatchLogs
3997
4112
  include Aws::Structure
3998
4113
  end
3999
4114
 
4115
+ # @!attribute [rw] lookup_table_arn
4116
+ # The ARN of the lookup table to retrieve.
4117
+ # @return [String]
4118
+ #
4119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLookupTableRequest AWS API Documentation
4120
+ #
4121
+ class GetLookupTableRequest < Struct.new(
4122
+ :lookup_table_arn)
4123
+ SENSITIVE = []
4124
+ include Aws::Structure
4125
+ end
4126
+
4127
+ # @!attribute [rw] lookup_table_arn
4128
+ # The ARN of the lookup table.
4129
+ # @return [String]
4130
+ #
4131
+ # @!attribute [rw] lookup_table_name
4132
+ # The name of the lookup table.
4133
+ # @return [String]
4134
+ #
4135
+ # @!attribute [rw] description
4136
+ # The description of the lookup table.
4137
+ # @return [String]
4138
+ #
4139
+ # @!attribute [rw] table_body
4140
+ # The full CSV content of the lookup table.
4141
+ # @return [String]
4142
+ #
4143
+ # @!attribute [rw] size_bytes
4144
+ # The size of the lookup table in bytes.
4145
+ # @return [Integer]
4146
+ #
4147
+ # @!attribute [rw] last_updated_time
4148
+ # The time when the lookup table was last updated, expressed as the
4149
+ # number of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
4150
+ # @return [Integer]
4151
+ #
4152
+ # @!attribute [rw] kms_key_id
4153
+ # The ARN of the KMS key used to encrypt the lookup table data, if
4154
+ # applicable.
4155
+ # @return [String]
4156
+ #
4157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLookupTableResponse AWS API Documentation
4158
+ #
4159
+ class GetLookupTableResponse < Struct.new(
4160
+ :lookup_table_arn,
4161
+ :lookup_table_name,
4162
+ :description,
4163
+ :table_body,
4164
+ :size_bytes,
4165
+ :last_updated_time,
4166
+ :kms_key_id)
4167
+ SENSITIVE = []
4168
+ include Aws::Structure
4169
+ end
4170
+
4000
4171
  # @!attribute [rw] query_id
4001
4172
  # The ID number of the query.
4002
4173
  # @return [String]
@@ -5719,6 +5890,59 @@ module Aws::CloudWatchLogs
5719
5890
  include Aws::Structure
5720
5891
  end
5721
5892
 
5893
+ # Contains metadata about a lookup table returned by
5894
+ # `DescribeLookupTables`.
5895
+ #
5896
+ # @!attribute [rw] lookup_table_arn
5897
+ # The ARN of the lookup table.
5898
+ # @return [String]
5899
+ #
5900
+ # @!attribute [rw] lookup_table_name
5901
+ # The name of the lookup table.
5902
+ # @return [String]
5903
+ #
5904
+ # @!attribute [rw] description
5905
+ # The description of the lookup table.
5906
+ # @return [String]
5907
+ #
5908
+ # @!attribute [rw] table_fields
5909
+ # The column headers from the first row of the CSV file.
5910
+ # @return [Array<String>]
5911
+ #
5912
+ # @!attribute [rw] records_count
5913
+ # The number of data rows in the lookup table, excluding the header
5914
+ # row.
5915
+ # @return [Integer]
5916
+ #
5917
+ # @!attribute [rw] size_bytes
5918
+ # The size of the lookup table in bytes.
5919
+ # @return [Integer]
5920
+ #
5921
+ # @!attribute [rw] last_updated_time
5922
+ # The time when the lookup table was last updated, expressed as the
5923
+ # number of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
5924
+ # @return [Integer]
5925
+ #
5926
+ # @!attribute [rw] kms_key_id
5927
+ # The ARN of the KMS key used to encrypt the lookup table data, if
5928
+ # applicable.
5929
+ # @return [String]
5930
+ #
5931
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LookupTable AWS API Documentation
5932
+ #
5933
+ class LookupTable < Struct.new(
5934
+ :lookup_table_arn,
5935
+ :lookup_table_name,
5936
+ :description,
5937
+ :table_fields,
5938
+ :records_count,
5939
+ :size_bytes,
5940
+ :last_updated_time,
5941
+ :kms_key_id)
5942
+ SENSITIVE = []
5943
+ include Aws::Structure
5944
+ end
5945
+
5722
5946
  # This processor converts a string to lowercase.
5723
5947
  #
5724
5948
  # For more information about this processor including examples, see [
@@ -9894,6 +10118,56 @@ module Aws::CloudWatchLogs
9894
10118
  include Aws::Structure
9895
10119
  end
9896
10120
 
10121
+ # @!attribute [rw] lookup_table_arn
10122
+ # The ARN of the lookup table to update.
10123
+ # @return [String]
10124
+ #
10125
+ # @!attribute [rw] description
10126
+ # An updated description of the lookup table.
10127
+ # @return [String]
10128
+ #
10129
+ # @!attribute [rw] table_body
10130
+ # The new CSV content to replace the existing data. The first row must
10131
+ # be a header row with column names. The content must use UTF-8
10132
+ # encoding and not exceed 10 MB.
10133
+ # @return [String]
10134
+ #
10135
+ # @!attribute [rw] kms_key_id
10136
+ # The ARN of the KMS key to use to encrypt the lookup table data. You
10137
+ # can use this parameter to add, update, or remove the KMS key. To
10138
+ # remove the KMS key and use an Amazon Web Services-owned key instead,
10139
+ # specify an empty string.
10140
+ # @return [String]
10141
+ #
10142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateLookupTableRequest AWS API Documentation
10143
+ #
10144
+ class UpdateLookupTableRequest < Struct.new(
10145
+ :lookup_table_arn,
10146
+ :description,
10147
+ :table_body,
10148
+ :kms_key_id)
10149
+ SENSITIVE = []
10150
+ include Aws::Structure
10151
+ end
10152
+
10153
+ # @!attribute [rw] lookup_table_arn
10154
+ # The ARN of the lookup table that was updated.
10155
+ # @return [String]
10156
+ #
10157
+ # @!attribute [rw] last_updated_time
10158
+ # The time when the lookup table was last updated, expressed as the
10159
+ # number of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
10160
+ # @return [Integer]
10161
+ #
10162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateLookupTableResponse AWS API Documentation
10163
+ #
10164
+ class UpdateLookupTableResponse < Struct.new(
10165
+ :lookup_table_arn,
10166
+ :last_updated_time)
10167
+ SENSITIVE = []
10168
+ include Aws::Structure
10169
+ end
10170
+
9897
10171
  # @!attribute [rw] identifier
9898
10172
  # The ARN or name of the scheduled query to update.
9899
10173
  # @return [String]
@@ -55,7 +55,7 @@ module Aws::CloudWatchLogs
55
55
  autoload :Endpoints, 'aws-sdk-cloudwatchlogs/endpoints'
56
56
  autoload :EventStreams, 'aws-sdk-cloudwatchlogs/event_streams'
57
57
 
58
- GEM_VERSION = '1.141.0'
58
+ GEM_VERSION = '1.142.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -208,6 +208,21 @@ module Aws
208
208
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
209
209
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
210
210
 
211
+ interface _CreateLookupTableResponseSuccess
212
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLookupTableResponse]
213
+ def lookup_table_arn: () -> ::String
214
+ def created_at: () -> ::Integer
215
+ end
216
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#create_lookup_table-instance_method
217
+ def create_lookup_table: (
218
+ lookup_table_name: ::String,
219
+ ?description: ::String,
220
+ table_body: ::String,
221
+ ?kms_key_id: ::String,
222
+ ?tags: Hash[::String, ::String]
223
+ ) -> _CreateLookupTableResponseSuccess
224
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLookupTableResponseSuccess
225
+
211
226
  interface _CreateScheduledQueryResponseSuccess
212
227
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateScheduledQueryResponse]
213
228
  def scheduled_query_arn: () -> ::String
@@ -320,6 +335,12 @@ module Aws
320
335
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
321
336
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
322
337
 
338
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_lookup_table-instance_method
339
+ def delete_lookup_table: (
340
+ lookup_table_arn: ::String
341
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
342
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
343
+
323
344
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_metric_filter-instance_method
324
345
  def delete_metric_filter: (
325
346
  log_group_name: ::String,
@@ -556,6 +577,19 @@ module Aws
556
577
  ) -> _DescribeLogStreamsResponseSuccess
557
578
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLogStreamsResponseSuccess
558
579
 
580
+ interface _DescribeLookupTablesResponseSuccess
581
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLookupTablesResponse]
582
+ def lookup_tables: () -> ::Array[Types::LookupTable]
583
+ def next_token: () -> ::String
584
+ end
585
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_lookup_tables-instance_method
586
+ def describe_lookup_tables: (
587
+ ?lookup_table_name_prefix: ::String,
588
+ ?max_results: ::Integer,
589
+ ?next_token: ::String
590
+ ) -> _DescribeLookupTablesResponseSuccess
591
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLookupTablesResponseSuccess
592
+
559
593
  interface _DescribeMetricFiltersResponseSuccess
560
594
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMetricFiltersResponse]
561
595
  def metric_filters: () -> ::Array[Types::MetricFilter]
@@ -816,6 +850,22 @@ module Aws
816
850
  ) -> _GetLogRecordResponseSuccess
817
851
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogRecordResponseSuccess
818
852
 
853
+ interface _GetLookupTableResponseSuccess
854
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetLookupTableResponse]
855
+ def lookup_table_arn: () -> ::String
856
+ def lookup_table_name: () -> ::String
857
+ def description: () -> ::String
858
+ def table_body: () -> ::String
859
+ def size_bytes: () -> ::Integer
860
+ def last_updated_time: () -> ::Integer
861
+ def kms_key_id: () -> ::String
862
+ end
863
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_lookup_table-instance_method
864
+ def get_lookup_table: (
865
+ lookup_table_arn: ::String
866
+ ) -> _GetLookupTableResponseSuccess
867
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLookupTableResponseSuccess
868
+
819
869
  interface _GetQueryResultsResponseSuccess
820
870
  include ::Seahorse::Client::_ResponseSuccess[Types::GetQueryResultsResponse]
821
871
  def query_language: () -> ("CWLI" | "SQL" | "PPL")
@@ -1678,6 +1728,20 @@ module Aws
1678
1728
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1679
1729
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1680
1730
 
1731
+ interface _UpdateLookupTableResponseSuccess
1732
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLookupTableResponse]
1733
+ def lookup_table_arn: () -> ::String
1734
+ def last_updated_time: () -> ::Integer
1735
+ end
1736
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#update_lookup_table-instance_method
1737
+ def update_lookup_table: (
1738
+ lookup_table_arn: ::String,
1739
+ ?description: ::String,
1740
+ table_body: ::String,
1741
+ ?kms_key_id: ::String
1742
+ ) -> _UpdateLookupTableResponseSuccess
1743
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLookupTableResponseSuccess
1744
+
1681
1745
  interface _UpdateScheduledQueryResponseSuccess
1682
1746
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateScheduledQueryResponse]
1683
1747
  def scheduled_query_arn: () -> ::String
data/sig/types.rbs CHANGED
@@ -234,6 +234,21 @@ module Aws::CloudWatchLogs
234
234
  SENSITIVE: []
235
235
  end
236
236
 
237
+ class CreateLookupTableRequest
238
+ attr_accessor lookup_table_name: ::String
239
+ attr_accessor description: ::String
240
+ attr_accessor table_body: ::String
241
+ attr_accessor kms_key_id: ::String
242
+ attr_accessor tags: ::Hash[::String, ::String]
243
+ SENSITIVE: []
244
+ end
245
+
246
+ class CreateLookupTableResponse
247
+ attr_accessor lookup_table_arn: ::String
248
+ attr_accessor created_at: ::Integer
249
+ SENSITIVE: []
250
+ end
251
+
237
252
  class CreateScheduledQueryRequest
238
253
  attr_accessor name: ::String
239
254
  attr_accessor description: ::String
@@ -360,6 +375,11 @@ module Aws::CloudWatchLogs
360
375
  SENSITIVE: []
361
376
  end
362
377
 
378
+ class DeleteLookupTableRequest
379
+ attr_accessor lookup_table_arn: ::String
380
+ SENSITIVE: []
381
+ end
382
+
363
383
  class DeleteMetricFilterRequest
364
384
  attr_accessor log_group_name: ::String
365
385
  attr_accessor filter_name: ::String
@@ -628,6 +648,19 @@ module Aws::CloudWatchLogs
628
648
  SENSITIVE: []
629
649
  end
630
650
 
651
+ class DescribeLookupTablesRequest
652
+ attr_accessor lookup_table_name_prefix: ::String
653
+ attr_accessor max_results: ::Integer
654
+ attr_accessor next_token: ::String
655
+ SENSITIVE: []
656
+ end
657
+
658
+ class DescribeLookupTablesResponse
659
+ attr_accessor lookup_tables: ::Array[Types::LookupTable]
660
+ attr_accessor next_token: ::String
661
+ SENSITIVE: []
662
+ end
663
+
631
664
  class DescribeMetricFiltersRequest
632
665
  attr_accessor log_group_name: ::String
633
666
  attr_accessor filter_name_prefix: ::String
@@ -958,6 +991,22 @@ module Aws::CloudWatchLogs
958
991
  SENSITIVE: []
959
992
  end
960
993
 
994
+ class GetLookupTableRequest
995
+ attr_accessor lookup_table_arn: ::String
996
+ SENSITIVE: []
997
+ end
998
+
999
+ class GetLookupTableResponse
1000
+ attr_accessor lookup_table_arn: ::String
1001
+ attr_accessor lookup_table_name: ::String
1002
+ attr_accessor description: ::String
1003
+ attr_accessor table_body: ::String
1004
+ attr_accessor size_bytes: ::Integer
1005
+ attr_accessor last_updated_time: ::Integer
1006
+ attr_accessor kms_key_id: ::String
1007
+ SENSITIVE: []
1008
+ end
1009
+
961
1010
  class GetQueryResultsRequest
962
1011
  attr_accessor query_id: ::String
963
1012
  SENSITIVE: []
@@ -1366,6 +1415,18 @@ module Aws::CloudWatchLogs
1366
1415
  SENSITIVE: []
1367
1416
  end
1368
1417
 
1418
+ class LookupTable
1419
+ attr_accessor lookup_table_arn: ::String
1420
+ attr_accessor lookup_table_name: ::String
1421
+ attr_accessor description: ::String
1422
+ attr_accessor table_fields: ::Array[::String]
1423
+ attr_accessor records_count: ::Integer
1424
+ attr_accessor size_bytes: ::Integer
1425
+ attr_accessor last_updated_time: ::Integer
1426
+ attr_accessor kms_key_id: ::String
1427
+ SENSITIVE: []
1428
+ end
1429
+
1369
1430
  class LowerCaseString
1370
1431
  attr_accessor with_keys: ::Array[::String]
1371
1432
  SENSITIVE: []
@@ -2185,6 +2246,20 @@ module Aws::CloudWatchLogs
2185
2246
  SENSITIVE: []
2186
2247
  end
2187
2248
 
2249
+ class UpdateLookupTableRequest
2250
+ attr_accessor lookup_table_arn: ::String
2251
+ attr_accessor description: ::String
2252
+ attr_accessor table_body: ::String
2253
+ attr_accessor kms_key_id: ::String
2254
+ SENSITIVE: []
2255
+ end
2256
+
2257
+ class UpdateLookupTableResponse
2258
+ attr_accessor lookup_table_arn: ::String
2259
+ attr_accessor last_updated_time: ::Integer
2260
+ SENSITIVE: []
2261
+ end
2262
+
2188
2263
  class UpdateScheduledQueryRequest
2189
2264
  attr_accessor identifier: ::String
2190
2265
  attr_accessor description: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchlogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.141.0
4
+ version: 1.142.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services