aws-sdk-cloudwatchlogs 1.141.0 → 1.143.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: 52aa15b343b893456e017d9a4c5513cd73e074e597903f5a9e9d4ca8cb9b8f24
4
+ data.tar.gz: 74644e711b2c8d2b04c5f5bd6dba0198c3ad57ffac70c5ab634b28d0411785d6
5
5
  SHA512:
6
- metadata.gz: 847fa5d00d0ffa8ba5ccb9e03cf5da5de91a86ac6eb4f747d76786d651254191b50862d94f9ca7cb6844e6c856adca7793531340b41b2a059f1b0185fa495c23
7
- data.tar.gz: 69f539032626e620974e406ba14f6d39922341729d02753d61bd0838ad9a611ace8ea871644d242be58cd7fdbb9483b66210cc6a601e8434f78b8eb2548af0d0
6
+ metadata.gz: 95b033b245fe9b1e858b65472bef0efa986677e7bc61bbfa6abb5e6d00ecaaf888ada45c0971cd6dc98ef3dc23d97e3559b1b8501f852fbfca0f1339070c82b3
7
+ data.tar.gz: 4e998cca3419f3a15400791a1673a794b78acc5632bbe54b66c039e7f001c92d346f4f59df1b468ce1c265b4b1fa482e028e636ab8d4a31b3e25f3c0ae306011
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.143.0 (2026-04-02)
5
+ ------------------
6
+
7
+ * Feature - We are pleased to announce that our logs transformation csv processor now has a destination field, allowing you to specify under which parent node parsed columns be placed under.
8
+
9
+ 1.142.0 (2026-03-30)
10
+ ------------------
11
+
12
+ * Feature - Adds Lookup Tables to CloudWatch Logs for log enrichment using CSV key-value data with KMS encryption support.
13
+
4
14
  1.141.0 (2026-03-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.141.0
1
+ 1.143.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
@@ -4686,6 +4869,7 @@ module Aws::CloudWatchLogs
4686
4869
  # resp.transformer_config[0].csv.columns #=> Array
4687
4870
  # resp.transformer_config[0].csv.columns[0] #=> String
4688
4871
  # resp.transformer_config[0].csv.source #=> String
4872
+ # resp.transformer_config[0].csv.destination #=> String
4689
4873
  # resp.transformer_config[0].date_time_converter.source #=> String
4690
4874
  # resp.transformer_config[0].date_time_converter.target #=> String
4691
4875
  # resp.transformer_config[0].date_time_converter.target_format #=> String
@@ -6419,6 +6603,8 @@ module Aws::CloudWatchLogs
6419
6603
  #
6420
6604
  # * For CloudFront, the valid value is `ACCESS_LOGS`.
6421
6605
  #
6606
+ # * For DevOps Agent, the valid value is `APPLICATION_LOGS`.
6607
+ #
6422
6608
  # * For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`.
6423
6609
  #
6424
6610
  # * For Elemental MediaPackage, the valid values are
@@ -7622,6 +7808,7 @@ module Aws::CloudWatchLogs
7622
7808
  # delimiter: "Delimiter",
7623
7809
  # columns: ["Column"],
7624
7810
  # source: "Source",
7811
+ # destination: "DestinationField",
7625
7812
  # },
7626
7813
  # date_time_converter: {
7627
7814
  # source: "Source", # required
@@ -8446,6 +8633,7 @@ module Aws::CloudWatchLogs
8446
8633
  # delimiter: "Delimiter",
8447
8634
  # columns: ["Column"],
8448
8635
  # source: "Source",
8636
+ # destination: "DestinationField",
8449
8637
  # },
8450
8638
  # date_time_converter: {
8451
8639
  # source: "Source", # required
@@ -8838,6 +9026,58 @@ module Aws::CloudWatchLogs
8838
9026
  req.send_request(options)
8839
9027
  end
8840
9028
 
9029
+ # Updates an existing lookup table by replacing all of its CSV content.
9030
+ # After the update completes, queries that use this table will use the
9031
+ # new data.
9032
+ #
9033
+ # This is a full replacement operation. All existing content is replaced
9034
+ # with the new CSV data.
9035
+ #
9036
+ # @option params [required, String] :lookup_table_arn
9037
+ # The ARN of the lookup table to update.
9038
+ #
9039
+ # @option params [String] :description
9040
+ # An updated description of the lookup table.
9041
+ #
9042
+ # @option params [required, String] :table_body
9043
+ # The new CSV content to replace the existing data. The first row must
9044
+ # be a header row with column names. The content must use UTF-8 encoding
9045
+ # and not exceed 10 MB.
9046
+ #
9047
+ # @option params [String] :kms_key_id
9048
+ # The ARN of the KMS key to use to encrypt the lookup table data. You
9049
+ # can use this parameter to add, update, or remove the KMS key. To
9050
+ # remove the KMS key and use an Amazon Web Services-owned key instead,
9051
+ # specify an empty string.
9052
+ #
9053
+ # @return [Types::UpdateLookupTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9054
+ #
9055
+ # * {Types::UpdateLookupTableResponse#lookup_table_arn #lookup_table_arn} => String
9056
+ # * {Types::UpdateLookupTableResponse#last_updated_time #last_updated_time} => Integer
9057
+ #
9058
+ # @example Request syntax with placeholder values
9059
+ #
9060
+ # resp = client.update_lookup_table({
9061
+ # lookup_table_arn: "Arn", # required
9062
+ # description: "LookupTableDescription",
9063
+ # table_body: "TableBody", # required
9064
+ # kms_key_id: "KmsKeyId",
9065
+ # })
9066
+ #
9067
+ # @example Response structure
9068
+ #
9069
+ # resp.lookup_table_arn #=> String
9070
+ # resp.last_updated_time #=> Integer
9071
+ #
9072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateLookupTable AWS API Documentation
9073
+ #
9074
+ # @overload update_lookup_table(params = {})
9075
+ # @param [Hash] params ({})
9076
+ def update_lookup_table(params = {}, options = {})
9077
+ req = build_request(:update_lookup_table, params)
9078
+ req.send_request(options)
9079
+ end
9080
+
8841
9081
  # Updates an existing scheduled query with new configuration. This
8842
9082
  # operation uses PUT semantics, allowing modification of query
8843
9083
  # parameters, schedule, and destinations.
@@ -8982,7 +9222,7 @@ module Aws::CloudWatchLogs
8982
9222
  tracer: tracer
8983
9223
  )
8984
9224
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
8985
- context[:gem_version] = '1.141.0'
9225
+ context[:gem_version] = '1.143.0'
8986
9226
  Seahorse::Client::Request.new(handlers, context)
8987
9227
  end
8988
9228
 
@@ -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')
@@ -739,6 +756,7 @@ module Aws::CloudWatchLogs
739
756
  CSV.add_member(:delimiter, Shapes::ShapeRef.new(shape: Delimiter, location_name: "delimiter"))
740
757
  CSV.add_member(:columns, Shapes::ShapeRef.new(shape: Columns, location_name: "columns"))
741
758
  CSV.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
759
+ CSV.add_member(:destination, Shapes::ShapeRef.new(shape: DestinationField, location_name: "destination"))
742
760
  CSV.struct_class = Types::CSV
743
761
 
744
762
  CancelExportTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: ExportTaskId, required: true, location_name: "taskId"))
@@ -843,6 +861,17 @@ module Aws::CloudWatchLogs
843
861
  CreateLogStreamRequest.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, required: true, location_name: "logStreamName"))
844
862
  CreateLogStreamRequest.struct_class = Types::CreateLogStreamRequest
845
863
 
864
+ CreateLookupTableRequest.add_member(:lookup_table_name, Shapes::ShapeRef.new(shape: LookupTableName, required: true, location_name: "lookupTableName"))
865
+ CreateLookupTableRequest.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
866
+ CreateLookupTableRequest.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody, required: true, location_name: "tableBody"))
867
+ CreateLookupTableRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
868
+ CreateLookupTableRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
869
+ CreateLookupTableRequest.struct_class = Types::CreateLookupTableRequest
870
+
871
+ CreateLookupTableResponse.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "lookupTableArn"))
872
+ CreateLookupTableResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
873
+ CreateLookupTableResponse.struct_class = Types::CreateLookupTableResponse
874
+
846
875
  CreateScheduledQueryRequest.add_member(:name, Shapes::ShapeRef.new(shape: ScheduledQueryName, required: true, location_name: "name"))
847
876
  CreateScheduledQueryRequest.add_member(:description, Shapes::ShapeRef.new(shape: ScheduledQueryDescription, location_name: "description"))
848
877
  CreateScheduledQueryRequest.add_member(:query_language, Shapes::ShapeRef.new(shape: QueryLanguage, required: true, location_name: "queryLanguage"))
@@ -933,6 +962,9 @@ module Aws::CloudWatchLogs
933
962
  DeleteLogStreamRequest.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, required: true, location_name: "logStreamName"))
934
963
  DeleteLogStreamRequest.struct_class = Types::DeleteLogStreamRequest
935
964
 
965
+ DeleteLookupTableRequest.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "lookupTableArn"))
966
+ DeleteLookupTableRequest.struct_class = Types::DeleteLookupTableRequest
967
+
936
968
  DeleteMetricFilterRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
937
969
  DeleteMetricFilterRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "filterName"))
938
970
  DeleteMetricFilterRequest.struct_class = Types::DeleteMetricFilterRequest
@@ -1140,6 +1172,15 @@ module Aws::CloudWatchLogs
1140
1172
  DescribeLogStreamsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1141
1173
  DescribeLogStreamsResponse.struct_class = Types::DescribeLogStreamsResponse
1142
1174
 
1175
+ DescribeLookupTablesRequest.add_member(:lookup_table_name_prefix, Shapes::ShapeRef.new(shape: LookupTableName, location_name: "lookupTableNamePrefix"))
1176
+ DescribeLookupTablesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeLookupTablesMaxResults, location_name: "maxResults"))
1177
+ DescribeLookupTablesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1178
+ DescribeLookupTablesRequest.struct_class = Types::DescribeLookupTablesRequest
1179
+
1180
+ DescribeLookupTablesResponse.add_member(:lookup_tables, Shapes::ShapeRef.new(shape: LookupTables, location_name: "lookupTables"))
1181
+ DescribeLookupTablesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1182
+ DescribeLookupTablesResponse.struct_class = Types::DescribeLookupTablesResponse
1183
+
1143
1184
  DescribeMetricFiltersRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
1144
1185
  DescribeMetricFiltersRequest.add_member(:filter_name_prefix, Shapes::ShapeRef.new(shape: FilterName, location_name: "filterNamePrefix"))
1145
1186
  DescribeMetricFiltersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -1406,6 +1447,18 @@ module Aws::CloudWatchLogs
1406
1447
  GetLogRecordResponse.add_member(:log_record, Shapes::ShapeRef.new(shape: LogRecord, location_name: "logRecord"))
1407
1448
  GetLogRecordResponse.struct_class = Types::GetLogRecordResponse
1408
1449
 
1450
+ GetLookupTableRequest.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "lookupTableArn"))
1451
+ GetLookupTableRequest.struct_class = Types::GetLookupTableRequest
1452
+
1453
+ GetLookupTableResponse.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "lookupTableArn"))
1454
+ GetLookupTableResponse.add_member(:lookup_table_name, Shapes::ShapeRef.new(shape: LookupTableName, location_name: "lookupTableName"))
1455
+ GetLookupTableResponse.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
1456
+ GetLookupTableResponse.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody, location_name: "tableBody"))
1457
+ GetLookupTableResponse.add_member(:size_bytes, Shapes::ShapeRef.new(shape: StoredBytes, location_name: "sizeBytes"))
1458
+ GetLookupTableResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
1459
+ GetLookupTableResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
1460
+ GetLookupTableResponse.struct_class = Types::GetLookupTableResponse
1461
+
1409
1462
  GetQueryResultsRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, required: true, location_name: "queryId"))
1410
1463
  GetQueryResultsRequest.struct_class = Types::GetQueryResultsRequest
1411
1464
 
@@ -1746,6 +1799,18 @@ module Aws::CloudWatchLogs
1746
1799
 
1747
1800
  LogTypes.member = Shapes::ShapeRef.new(shape: LogType)
1748
1801
 
1802
+ LookupTable.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "lookupTableArn"))
1803
+ LookupTable.add_member(:lookup_table_name, Shapes::ShapeRef.new(shape: LookupTableName, location_name: "lookupTableName"))
1804
+ LookupTable.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
1805
+ LookupTable.add_member(:table_fields, Shapes::ShapeRef.new(shape: TableFields, location_name: "tableFields"))
1806
+ LookupTable.add_member(:records_count, Shapes::ShapeRef.new(shape: RecordsCount, location_name: "recordsCount"))
1807
+ LookupTable.add_member(:size_bytes, Shapes::ShapeRef.new(shape: StoredBytes, location_name: "sizeBytes"))
1808
+ LookupTable.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
1809
+ LookupTable.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
1810
+ LookupTable.struct_class = Types::LookupTable
1811
+
1812
+ LookupTables.member = Shapes::ShapeRef.new(shape: LookupTable)
1813
+
1749
1814
  LowerCaseString.add_member(:with_keys, Shapes::ShapeRef.new(shape: LowerCaseStringWithKeys, required: true, location_name: "withKeys"))
1750
1815
  LowerCaseString.struct_class = Types::LowerCaseString
1751
1816
 
@@ -2313,6 +2378,8 @@ module Aws::CloudWatchLogs
2313
2378
  SuppressionPeriod.add_member(:suppression_unit, Shapes::ShapeRef.new(shape: SuppressionUnit, location_name: "suppressionUnit"))
2314
2379
  SuppressionPeriod.struct_class = Types::SuppressionPeriod
2315
2380
 
2381
+ TableFields.member = Shapes::ShapeRef.new(shape: String)
2382
+
2316
2383
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
2317
2384
 
2318
2385
  TagList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -2413,6 +2480,16 @@ module Aws::CloudWatchLogs
2413
2480
  UpdateLogAnomalyDetectorRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
2414
2481
  UpdateLogAnomalyDetectorRequest.struct_class = Types::UpdateLogAnomalyDetectorRequest
2415
2482
 
2483
+ UpdateLookupTableRequest.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "lookupTableArn"))
2484
+ UpdateLookupTableRequest.add_member(:description, Shapes::ShapeRef.new(shape: LookupTableDescription, location_name: "description"))
2485
+ UpdateLookupTableRequest.add_member(:table_body, Shapes::ShapeRef.new(shape: TableBody, required: true, location_name: "tableBody"))
2486
+ UpdateLookupTableRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
2487
+ UpdateLookupTableRequest.struct_class = Types::UpdateLookupTableRequest
2488
+
2489
+ UpdateLookupTableResponse.add_member(:lookup_table_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "lookupTableArn"))
2490
+ UpdateLookupTableResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
2491
+ UpdateLookupTableResponse.struct_class = Types::UpdateLookupTableResponse
2492
+
2416
2493
  UpdateScheduledQueryRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: ScheduledQueryIdentifier, required: true, location_name: "identifier"))
2417
2494
  UpdateScheduledQueryRequest.add_member(:description, Shapes::ShapeRef.new(shape: ScheduledQueryDescription, location_name: "description"))
2418
2495
  UpdateScheduledQueryRequest.add_member(:query_language, Shapes::ShapeRef.new(shape: QueryLanguage, required: true, location_name: "queryLanguage"))
@@ -2607,6 +2684,20 @@ module Aws::CloudWatchLogs
2607
2684
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2608
2685
  end)
2609
2686
 
2687
+ api.add_operation(:create_lookup_table, Seahorse::Model::Operation.new.tap do |o|
2688
+ o.name = "CreateLookupTable"
2689
+ o.http_method = "POST"
2690
+ o.http_request_uri = "/"
2691
+ o.input = Shapes::ShapeRef.new(shape: CreateLookupTableRequest)
2692
+ o.output = Shapes::ShapeRef.new(shape: CreateLookupTableResponse)
2693
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2694
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
2695
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2696
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2697
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2698
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2699
+ end)
2700
+
2610
2701
  api.add_operation(:create_scheduled_query, Seahorse::Model::Operation.new.tap do |o|
2611
2702
  o.name = "CreateScheduledQuery"
2612
2703
  o.http_method = "POST"
@@ -2775,6 +2866,18 @@ module Aws::CloudWatchLogs
2775
2866
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2776
2867
  end)
2777
2868
 
2869
+ api.add_operation(:delete_lookup_table, Seahorse::Model::Operation.new.tap do |o|
2870
+ o.name = "DeleteLookupTable"
2871
+ o.http_method = "POST"
2872
+ o.http_request_uri = "/"
2873
+ o.input = Shapes::ShapeRef.new(shape: DeleteLookupTableRequest)
2874
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2875
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2876
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2877
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2878
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2879
+ end)
2880
+
2778
2881
  api.add_operation(:delete_metric_filter, Seahorse::Model::Operation.new.tap do |o|
2779
2882
  o.name = "DeleteMetricFilter"
2780
2883
  o.http_method = "POST"
@@ -3055,6 +3158,18 @@ module Aws::CloudWatchLogs
3055
3158
  )
3056
3159
  end)
3057
3160
 
3161
+ api.add_operation(:describe_lookup_tables, Seahorse::Model::Operation.new.tap do |o|
3162
+ o.name = "DescribeLookupTables"
3163
+ o.http_method = "POST"
3164
+ o.http_request_uri = "/"
3165
+ o.input = Shapes::ShapeRef.new(shape: DescribeLookupTablesRequest)
3166
+ o.output = Shapes::ShapeRef.new(shape: DescribeLookupTablesResponse)
3167
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3168
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3169
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3170
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3171
+ end)
3172
+
3058
3173
  api.add_operation(:describe_metric_filters, Seahorse::Model::Operation.new.tap do |o|
3059
3174
  o.name = "DescribeMetricFilters"
3060
3175
  o.http_method = "POST"
@@ -3316,6 +3431,18 @@ module Aws::CloudWatchLogs
3316
3431
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3317
3432
  end)
3318
3433
 
3434
+ api.add_operation(:get_lookup_table, Seahorse::Model::Operation.new.tap do |o|
3435
+ o.name = "GetLookupTable"
3436
+ o.http_method = "POST"
3437
+ o.http_request_uri = "/"
3438
+ o.input = Shapes::ShapeRef.new(shape: GetLookupTableRequest)
3439
+ o.output = Shapes::ShapeRef.new(shape: GetLookupTableResponse)
3440
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3441
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3442
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3443
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3444
+ end)
3445
+
3319
3446
  api.add_operation(:get_query_results, Seahorse::Model::Operation.new.tap do |o|
3320
3447
  o.name = "GetQueryResults"
3321
3448
  o.http_method = "POST"
@@ -3897,6 +4024,19 @@ module Aws::CloudWatchLogs
3897
4024
  o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
3898
4025
  end)
3899
4026
 
4027
+ api.add_operation(:update_lookup_table, Seahorse::Model::Operation.new.tap do |o|
4028
+ o.name = "UpdateLookupTable"
4029
+ o.http_method = "POST"
4030
+ o.http_request_uri = "/"
4031
+ o.input = Shapes::ShapeRef.new(shape: UpdateLookupTableRequest)
4032
+ o.output = Shapes::ShapeRef.new(shape: UpdateLookupTableResponse)
4033
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4034
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4035
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4036
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4037
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
4038
+ end)
4039
+
3900
4040
  api.add_operation(:update_scheduled_query, Seahorse::Model::Operation.new.tap do |o|
3901
4041
  o.name = "UpdateScheduledQuery"
3902
4042
  o.http_method = "POST"
@@ -483,13 +483,20 @@ module Aws::CloudWatchLogs
483
483
  # is processed.
484
484
  # @return [String]
485
485
  #
486
+ # @!attribute [rw] destination
487
+ # The path to the parent field to put transformed key value pairs
488
+ # under. If you omit this value, the key value pairs will be placed
489
+ # under the root node.
490
+ # @return [String]
491
+ #
486
492
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CSV AWS API Documentation
487
493
  #
488
494
  class CSV < Struct.new(
489
495
  :quote_character,
490
496
  :delimiter,
491
497
  :columns,
492
- :source)
498
+ :source,
499
+ :destination)
493
500
  SENSITIVE = []
494
501
  include Aws::Structure
495
502
  end
@@ -1119,6 +1126,65 @@ module Aws::CloudWatchLogs
1119
1126
  include Aws::Structure
1120
1127
  end
1121
1128
 
1129
+ # @!attribute [rw] lookup_table_name
1130
+ # The name of the lookup table. The name must be unique within your
1131
+ # account and Region. The name can contain only alphanumeric
1132
+ # characters and underscores, and can be up to 256 characters long.
1133
+ # @return [String]
1134
+ #
1135
+ # @!attribute [rw] description
1136
+ # A description of the lookup table. The description can be up to 1024
1137
+ # characters long.
1138
+ # @return [String]
1139
+ #
1140
+ # @!attribute [rw] table_body
1141
+ # The CSV content of the lookup table. The first row must be a header
1142
+ # row with column names. The content must use UTF-8 encoding and not
1143
+ # exceed 10 MB.
1144
+ # @return [String]
1145
+ #
1146
+ # @!attribute [rw] kms_key_id
1147
+ # The ARN of the KMS key to use to encrypt the lookup table data. If
1148
+ # you don't specify a key, the data is encrypted with an Amazon Web
1149
+ # Services-owned key.
1150
+ # @return [String]
1151
+ #
1152
+ # @!attribute [rw] tags
1153
+ # A list of key-value pairs to associate with the lookup table. You
1154
+ # can associate as many as 50 tags with a lookup table. Tags can help
1155
+ # you organize and categorize your resources.
1156
+ # @return [Hash<String,String>]
1157
+ #
1158
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLookupTableRequest AWS API Documentation
1159
+ #
1160
+ class CreateLookupTableRequest < Struct.new(
1161
+ :lookup_table_name,
1162
+ :description,
1163
+ :table_body,
1164
+ :kms_key_id,
1165
+ :tags)
1166
+ SENSITIVE = []
1167
+ include Aws::Structure
1168
+ end
1169
+
1170
+ # @!attribute [rw] lookup_table_arn
1171
+ # The ARN of the lookup table that was created.
1172
+ # @return [String]
1173
+ #
1174
+ # @!attribute [rw] created_at
1175
+ # The time when the lookup table was created, expressed as the number
1176
+ # of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
1177
+ # @return [Integer]
1178
+ #
1179
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLookupTableResponse AWS API Documentation
1180
+ #
1181
+ class CreateLookupTableResponse < Struct.new(
1182
+ :lookup_table_arn,
1183
+ :created_at)
1184
+ SENSITIVE = []
1185
+ include Aws::Structure
1186
+ end
1187
+
1122
1188
  # @!attribute [rw] name
1123
1189
  # The name of the scheduled query. The name must be unique within your
1124
1190
  # account and region. Valid characters are alphanumeric characters,
@@ -1569,6 +1635,18 @@ module Aws::CloudWatchLogs
1569
1635
  include Aws::Structure
1570
1636
  end
1571
1637
 
1638
+ # @!attribute [rw] lookup_table_arn
1639
+ # The ARN of the lookup table to delete.
1640
+ # @return [String]
1641
+ #
1642
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLookupTableRequest AWS API Documentation
1643
+ #
1644
+ class DeleteLookupTableRequest < Struct.new(
1645
+ :lookup_table_arn)
1646
+ SENSITIVE = []
1647
+ include Aws::Structure
1648
+ end
1649
+
1572
1650
  # @!attribute [rw] log_group_name
1573
1651
  # The name of the log group.
1574
1652
  # @return [String]
@@ -2683,6 +2761,50 @@ module Aws::CloudWatchLogs
2683
2761
  include Aws::Structure
2684
2762
  end
2685
2763
 
2764
+ # @!attribute [rw] lookup_table_name_prefix
2765
+ # A prefix to filter lookup tables by name. Only tables whose names
2766
+ # start with this prefix are returned. If you don't specify a prefix,
2767
+ # all tables in the account and Region are returned.
2768
+ # @return [String]
2769
+ #
2770
+ # @!attribute [rw] max_results
2771
+ # The maximum number of lookup tables to return in the response. The
2772
+ # default value is 50 and the maximum value is 100.
2773
+ # @return [Integer]
2774
+ #
2775
+ # @!attribute [rw] next_token
2776
+ # The token for the next set of items to return. (You received this
2777
+ # token from a previous call.)
2778
+ # @return [String]
2779
+ #
2780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLookupTablesRequest AWS API Documentation
2781
+ #
2782
+ class DescribeLookupTablesRequest < Struct.new(
2783
+ :lookup_table_name_prefix,
2784
+ :max_results,
2785
+ :next_token)
2786
+ SENSITIVE = []
2787
+ include Aws::Structure
2788
+ end
2789
+
2790
+ # @!attribute [rw] lookup_tables
2791
+ # An array of structures, where each structure contains metadata about
2792
+ # one lookup table.
2793
+ # @return [Array<Types::LookupTable>]
2794
+ #
2795
+ # @!attribute [rw] next_token
2796
+ # The token to use when requesting the next set of items.
2797
+ # @return [String]
2798
+ #
2799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLookupTablesResponse AWS API Documentation
2800
+ #
2801
+ class DescribeLookupTablesResponse < Struct.new(
2802
+ :lookup_tables,
2803
+ :next_token)
2804
+ SENSITIVE = []
2805
+ include Aws::Structure
2806
+ end
2807
+
2686
2808
  # @!attribute [rw] log_group_name
2687
2809
  # The name of the log group.
2688
2810
  # @return [String]
@@ -3997,6 +4119,62 @@ module Aws::CloudWatchLogs
3997
4119
  include Aws::Structure
3998
4120
  end
3999
4121
 
4122
+ # @!attribute [rw] lookup_table_arn
4123
+ # The ARN of the lookup table to retrieve.
4124
+ # @return [String]
4125
+ #
4126
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLookupTableRequest AWS API Documentation
4127
+ #
4128
+ class GetLookupTableRequest < Struct.new(
4129
+ :lookup_table_arn)
4130
+ SENSITIVE = []
4131
+ include Aws::Structure
4132
+ end
4133
+
4134
+ # @!attribute [rw] lookup_table_arn
4135
+ # The ARN of the lookup table.
4136
+ # @return [String]
4137
+ #
4138
+ # @!attribute [rw] lookup_table_name
4139
+ # The name of the lookup table.
4140
+ # @return [String]
4141
+ #
4142
+ # @!attribute [rw] description
4143
+ # The description of the lookup table.
4144
+ # @return [String]
4145
+ #
4146
+ # @!attribute [rw] table_body
4147
+ # The full CSV content of the lookup table.
4148
+ # @return [String]
4149
+ #
4150
+ # @!attribute [rw] size_bytes
4151
+ # The size of the lookup table in bytes.
4152
+ # @return [Integer]
4153
+ #
4154
+ # @!attribute [rw] last_updated_time
4155
+ # The time when the lookup table was last updated, expressed as the
4156
+ # number of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
4157
+ # @return [Integer]
4158
+ #
4159
+ # @!attribute [rw] kms_key_id
4160
+ # The ARN of the KMS key used to encrypt the lookup table data, if
4161
+ # applicable.
4162
+ # @return [String]
4163
+ #
4164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLookupTableResponse AWS API Documentation
4165
+ #
4166
+ class GetLookupTableResponse < Struct.new(
4167
+ :lookup_table_arn,
4168
+ :lookup_table_name,
4169
+ :description,
4170
+ :table_body,
4171
+ :size_bytes,
4172
+ :last_updated_time,
4173
+ :kms_key_id)
4174
+ SENSITIVE = []
4175
+ include Aws::Structure
4176
+ end
4177
+
4000
4178
  # @!attribute [rw] query_id
4001
4179
  # The ID number of the query.
4002
4180
  # @return [String]
@@ -5719,6 +5897,59 @@ module Aws::CloudWatchLogs
5719
5897
  include Aws::Structure
5720
5898
  end
5721
5899
 
5900
+ # Contains metadata about a lookup table returned by
5901
+ # `DescribeLookupTables`.
5902
+ #
5903
+ # @!attribute [rw] lookup_table_arn
5904
+ # The ARN of the lookup table.
5905
+ # @return [String]
5906
+ #
5907
+ # @!attribute [rw] lookup_table_name
5908
+ # The name of the lookup table.
5909
+ # @return [String]
5910
+ #
5911
+ # @!attribute [rw] description
5912
+ # The description of the lookup table.
5913
+ # @return [String]
5914
+ #
5915
+ # @!attribute [rw] table_fields
5916
+ # The column headers from the first row of the CSV file.
5917
+ # @return [Array<String>]
5918
+ #
5919
+ # @!attribute [rw] records_count
5920
+ # The number of data rows in the lookup table, excluding the header
5921
+ # row.
5922
+ # @return [Integer]
5923
+ #
5924
+ # @!attribute [rw] size_bytes
5925
+ # The size of the lookup table in bytes.
5926
+ # @return [Integer]
5927
+ #
5928
+ # @!attribute [rw] last_updated_time
5929
+ # The time when the lookup table was last updated, expressed as the
5930
+ # number of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
5931
+ # @return [Integer]
5932
+ #
5933
+ # @!attribute [rw] kms_key_id
5934
+ # The ARN of the KMS key used to encrypt the lookup table data, if
5935
+ # applicable.
5936
+ # @return [String]
5937
+ #
5938
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LookupTable AWS API Documentation
5939
+ #
5940
+ class LookupTable < Struct.new(
5941
+ :lookup_table_arn,
5942
+ :lookup_table_name,
5943
+ :description,
5944
+ :table_fields,
5945
+ :records_count,
5946
+ :size_bytes,
5947
+ :last_updated_time,
5948
+ :kms_key_id)
5949
+ SENSITIVE = []
5950
+ include Aws::Structure
5951
+ end
5952
+
5722
5953
  # This processor converts a string to lowercase.
5723
5954
  #
5724
5955
  # For more information about this processor including examples, see [
@@ -7515,6 +7746,8 @@ module Aws::CloudWatchLogs
7515
7746
  #
7516
7747
  # * For CloudFront, the valid value is `ACCESS_LOGS`.
7517
7748
  #
7749
+ # * For DevOps Agent, the valid value is `APPLICATION_LOGS`.
7750
+ #
7518
7751
  # * For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`.
7519
7752
  #
7520
7753
  # * For Elemental MediaPackage, the valid values are
@@ -8768,12 +9001,13 @@ module Aws::CloudWatchLogs
8768
9001
  # @return [String]
8769
9002
  #
8770
9003
  # @!attribute [rw] owner_account_id
8771
- # The AWS accountId for the bucket owning account.
9004
+ # The Amazon Web Services accountId for the bucket owning account.
8772
9005
  # @return [String]
8773
9006
  #
8774
9007
  # @!attribute [rw] kms_key_id
8775
9008
  # The Amazon Resource Name (ARN) of the KMS encryption key. Must
8776
- # belong to the same AWS Region as the destination Amazon S3 bucket.
9009
+ # belong to the same Amazon Web Services Region as the destination
9010
+ # Amazon S3 bucket.
8777
9011
  # @return [String]
8778
9012
  #
8779
9013
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/S3Configuration AWS API Documentation
@@ -9894,6 +10128,56 @@ module Aws::CloudWatchLogs
9894
10128
  include Aws::Structure
9895
10129
  end
9896
10130
 
10131
+ # @!attribute [rw] lookup_table_arn
10132
+ # The ARN of the lookup table to update.
10133
+ # @return [String]
10134
+ #
10135
+ # @!attribute [rw] description
10136
+ # An updated description of the lookup table.
10137
+ # @return [String]
10138
+ #
10139
+ # @!attribute [rw] table_body
10140
+ # The new CSV content to replace the existing data. The first row must
10141
+ # be a header row with column names. The content must use UTF-8
10142
+ # encoding and not exceed 10 MB.
10143
+ # @return [String]
10144
+ #
10145
+ # @!attribute [rw] kms_key_id
10146
+ # The ARN of the KMS key to use to encrypt the lookup table data. You
10147
+ # can use this parameter to add, update, or remove the KMS key. To
10148
+ # remove the KMS key and use an Amazon Web Services-owned key instead,
10149
+ # specify an empty string.
10150
+ # @return [String]
10151
+ #
10152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateLookupTableRequest AWS API Documentation
10153
+ #
10154
+ class UpdateLookupTableRequest < Struct.new(
10155
+ :lookup_table_arn,
10156
+ :description,
10157
+ :table_body,
10158
+ :kms_key_id)
10159
+ SENSITIVE = []
10160
+ include Aws::Structure
10161
+ end
10162
+
10163
+ # @!attribute [rw] lookup_table_arn
10164
+ # The ARN of the lookup table that was updated.
10165
+ # @return [String]
10166
+ #
10167
+ # @!attribute [rw] last_updated_time
10168
+ # The time when the lookup table was last updated, expressed as the
10169
+ # number of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
10170
+ # @return [Integer]
10171
+ #
10172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateLookupTableResponse AWS API Documentation
10173
+ #
10174
+ class UpdateLookupTableResponse < Struct.new(
10175
+ :lookup_table_arn,
10176
+ :last_updated_time)
10177
+ SENSITIVE = []
10178
+ include Aws::Structure
10179
+ end
10180
+
9897
10181
  # @!attribute [rw] identifier
9898
10182
  # The ARN or name of the scheduled query to update.
9899
10183
  # @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.143.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")
@@ -1295,7 +1345,8 @@ module Aws
1295
1345
  quote_character: ::String?,
1296
1346
  delimiter: ::String?,
1297
1347
  columns: Array[::String]?,
1298
- source: ::String?
1348
+ source: ::String?,
1349
+ destination: ::String?
1299
1350
  }?,
1300
1351
  date_time_converter: {
1301
1352
  source: ::String,
@@ -1507,7 +1558,8 @@ module Aws
1507
1558
  quote_character: ::String?,
1508
1559
  delimiter: ::String?,
1509
1560
  columns: Array[::String]?,
1510
- source: ::String?
1561
+ source: ::String?,
1562
+ destination: ::String?
1511
1563
  }?,
1512
1564
  date_time_converter: {
1513
1565
  source: ::String,
@@ -1678,6 +1730,20 @@ module Aws
1678
1730
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1679
1731
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1680
1732
 
1733
+ interface _UpdateLookupTableResponseSuccess
1734
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLookupTableResponse]
1735
+ def lookup_table_arn: () -> ::String
1736
+ def last_updated_time: () -> ::Integer
1737
+ end
1738
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#update_lookup_table-instance_method
1739
+ def update_lookup_table: (
1740
+ lookup_table_arn: ::String,
1741
+ ?description: ::String,
1742
+ table_body: ::String,
1743
+ ?kms_key_id: ::String
1744
+ ) -> _UpdateLookupTableResponseSuccess
1745
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLookupTableResponseSuccess
1746
+
1681
1747
  interface _UpdateScheduledQueryResponseSuccess
1682
1748
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateScheduledQueryResponse]
1683
1749
  def scheduled_query_arn: () -> ::String
data/sig/types.rbs CHANGED
@@ -100,6 +100,7 @@ module Aws::CloudWatchLogs
100
100
  attr_accessor delimiter: ::String
101
101
  attr_accessor columns: ::Array[::String]
102
102
  attr_accessor source: ::String
103
+ attr_accessor destination: ::String
103
104
  SENSITIVE: []
104
105
  end
105
106
 
@@ -234,6 +235,21 @@ module Aws::CloudWatchLogs
234
235
  SENSITIVE: []
235
236
  end
236
237
 
238
+ class CreateLookupTableRequest
239
+ attr_accessor lookup_table_name: ::String
240
+ attr_accessor description: ::String
241
+ attr_accessor table_body: ::String
242
+ attr_accessor kms_key_id: ::String
243
+ attr_accessor tags: ::Hash[::String, ::String]
244
+ SENSITIVE: []
245
+ end
246
+
247
+ class CreateLookupTableResponse
248
+ attr_accessor lookup_table_arn: ::String
249
+ attr_accessor created_at: ::Integer
250
+ SENSITIVE: []
251
+ end
252
+
237
253
  class CreateScheduledQueryRequest
238
254
  attr_accessor name: ::String
239
255
  attr_accessor description: ::String
@@ -360,6 +376,11 @@ module Aws::CloudWatchLogs
360
376
  SENSITIVE: []
361
377
  end
362
378
 
379
+ class DeleteLookupTableRequest
380
+ attr_accessor lookup_table_arn: ::String
381
+ SENSITIVE: []
382
+ end
383
+
363
384
  class DeleteMetricFilterRequest
364
385
  attr_accessor log_group_name: ::String
365
386
  attr_accessor filter_name: ::String
@@ -628,6 +649,19 @@ module Aws::CloudWatchLogs
628
649
  SENSITIVE: []
629
650
  end
630
651
 
652
+ class DescribeLookupTablesRequest
653
+ attr_accessor lookup_table_name_prefix: ::String
654
+ attr_accessor max_results: ::Integer
655
+ attr_accessor next_token: ::String
656
+ SENSITIVE: []
657
+ end
658
+
659
+ class DescribeLookupTablesResponse
660
+ attr_accessor lookup_tables: ::Array[Types::LookupTable]
661
+ attr_accessor next_token: ::String
662
+ SENSITIVE: []
663
+ end
664
+
631
665
  class DescribeMetricFiltersRequest
632
666
  attr_accessor log_group_name: ::String
633
667
  attr_accessor filter_name_prefix: ::String
@@ -958,6 +992,22 @@ module Aws::CloudWatchLogs
958
992
  SENSITIVE: []
959
993
  end
960
994
 
995
+ class GetLookupTableRequest
996
+ attr_accessor lookup_table_arn: ::String
997
+ SENSITIVE: []
998
+ end
999
+
1000
+ class GetLookupTableResponse
1001
+ attr_accessor lookup_table_arn: ::String
1002
+ attr_accessor lookup_table_name: ::String
1003
+ attr_accessor description: ::String
1004
+ attr_accessor table_body: ::String
1005
+ attr_accessor size_bytes: ::Integer
1006
+ attr_accessor last_updated_time: ::Integer
1007
+ attr_accessor kms_key_id: ::String
1008
+ SENSITIVE: []
1009
+ end
1010
+
961
1011
  class GetQueryResultsRequest
962
1012
  attr_accessor query_id: ::String
963
1013
  SENSITIVE: []
@@ -1366,6 +1416,18 @@ module Aws::CloudWatchLogs
1366
1416
  SENSITIVE: []
1367
1417
  end
1368
1418
 
1419
+ class LookupTable
1420
+ attr_accessor lookup_table_arn: ::String
1421
+ attr_accessor lookup_table_name: ::String
1422
+ attr_accessor description: ::String
1423
+ attr_accessor table_fields: ::Array[::String]
1424
+ attr_accessor records_count: ::Integer
1425
+ attr_accessor size_bytes: ::Integer
1426
+ attr_accessor last_updated_time: ::Integer
1427
+ attr_accessor kms_key_id: ::String
1428
+ SENSITIVE: []
1429
+ end
1430
+
1369
1431
  class LowerCaseString
1370
1432
  attr_accessor with_keys: ::Array[::String]
1371
1433
  SENSITIVE: []
@@ -2185,6 +2247,20 @@ module Aws::CloudWatchLogs
2185
2247
  SENSITIVE: []
2186
2248
  end
2187
2249
 
2250
+ class UpdateLookupTableRequest
2251
+ attr_accessor lookup_table_arn: ::String
2252
+ attr_accessor description: ::String
2253
+ attr_accessor table_body: ::String
2254
+ attr_accessor kms_key_id: ::String
2255
+ SENSITIVE: []
2256
+ end
2257
+
2258
+ class UpdateLookupTableResponse
2259
+ attr_accessor lookup_table_arn: ::String
2260
+ attr_accessor last_updated_time: ::Integer
2261
+ SENSITIVE: []
2262
+ end
2263
+
2188
2264
  class UpdateScheduledQueryRequest
2189
2265
  attr_accessor identifier: ::String
2190
2266
  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.143.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services