aws-sdk-cloudwatchlogs 1.89.0 → 1.91.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 291d433b3c173334e692ff0b137bea60e9da6b6958a48af558789dd94378d3e0
4
- data.tar.gz: 82b110be23b1b22668038741850a17ee4b35b84edbe25159248bbb2afb032077
3
+ metadata.gz: 721262079eca168c092dcf133149107db32a61ac290a9a71b6073076efa751e4
4
+ data.tar.gz: 623a69944d8d72d16f0756e9ee610097c1a57b56d38975c98083b8288838caf7
5
5
  SHA512:
6
- metadata.gz: '02688e40bb4777891f030e65b8071f8222ab425c08ff5db01e2155ec4980ff82f5c1c6c67173a8d175d7beea785d2a4c4c8f5c742c25bb27be052d19a2a6b0e2'
7
- data.tar.gz: 62e3237cb8d51b353f4dbfd35cb27370e3bfa13bc91e6294833d53cc18eae48a048b90652290a21c25fb177e4f7bc44688a2a84671a546176d48f2096001561f
6
+ metadata.gz: dcffba4f4ddcab3cb2d06bcce44f6085dc4a5982713909c929993967c295fe159364f4d338574a17df86ba2a554afc3335cf2f02fe71c4f3610cb5d1ce563c0b
7
+ data.tar.gz: 81c1b56bfad077b03a0abee47314f6850ba8d1beedb61b1a958e3726318fab903017624785518a234f1ad4b1ba8d64a996bb84a5e64210eaaacbac365189133f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.91.0 (2024-09-04)
5
+ ------------------
6
+
7
+ * Feature - Update to support new APIs for delivery of logs from AWS services.
8
+
9
+ 1.90.0 (2024-09-03)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.89.0 (2024-08-30)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.89.0
1
+ 1.91.0
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
37
38
  require 'aws-sdk-core/plugins/event_stream_configuration.rb'
@@ -84,6 +85,7 @@ module Aws::CloudWatchLogs
84
85
  add_plugin(Aws::Plugins::RequestCompression)
85
86
  add_plugin(Aws::Plugins::DefaultsMode)
86
87
  add_plugin(Aws::Plugins::RecursionDetection)
88
+ add_plugin(Aws::Plugins::Telemetry)
87
89
  add_plugin(Aws::Plugins::Sign)
88
90
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
89
91
  add_plugin(Aws::Plugins::EventStreamConfiguration)
@@ -348,6 +350,16 @@ module Aws::CloudWatchLogs
348
350
  # ** Please note ** When response stubbing is enabled, no HTTP
349
351
  # requests are made, and retries are disabled.
350
352
  #
353
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
354
+ # Allows you to provide a telemetry provider, which is used to
355
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
356
+ # will not record or emit any telemetry data. The SDK supports the
357
+ # following telemetry providers:
358
+ #
359
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
360
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
361
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
362
+ #
351
363
  # @option options [Aws::TokenProvider] :token_provider
352
364
  # A Bearer Token Provider. This can be an instance of any one of the
353
365
  # following classes:
@@ -645,6 +657,19 @@ module Aws::CloudWatchLogs
645
657
  # @option params [required, String] :delivery_destination_arn
646
658
  # The ARN of the delivery destination to use for this delivery.
647
659
  #
660
+ # @option params [Array<String>] :record_fields
661
+ # The list of record fields to be delivered to the destination, in
662
+ # order. If the delivery’s log source has mandatory fields, they must be
663
+ # included in this list.
664
+ #
665
+ # @option params [String] :field_delimiter
666
+ # The field delimiter to use between record fields when the final output
667
+ # format of a delivery is in `Plain`, `W3C`, or `Raw` format.
668
+ #
669
+ # @option params [Types::S3DeliveryConfiguration] :s3_delivery_configuration
670
+ # This structure contains parameters that are valid only when the
671
+ # delivery’s delivery destination is an S3 bucket.
672
+ #
648
673
  # @option params [Hash<String,String>] :tags
649
674
  # An optional list of key-value pairs to associate with the resource.
650
675
  #
@@ -664,6 +689,12 @@ module Aws::CloudWatchLogs
664
689
  # resp = client.create_delivery({
665
690
  # delivery_source_name: "DeliverySourceName", # required
666
691
  # delivery_destination_arn: "Arn", # required
692
+ # record_fields: ["FieldHeader"],
693
+ # field_delimiter: "FieldDelimiter",
694
+ # s3_delivery_configuration: {
695
+ # suffix_path: "DeliverySuffixPath",
696
+ # enable_hive_compatible_path: false,
697
+ # },
667
698
  # tags: {
668
699
  # "TagKey" => "TagValue",
669
700
  # },
@@ -676,6 +707,11 @@ module Aws::CloudWatchLogs
676
707
  # resp.delivery.delivery_source_name #=> String
677
708
  # resp.delivery.delivery_destination_arn #=> String
678
709
  # resp.delivery.delivery_destination_type #=> String, one of "S3", "CWL", "FH"
710
+ # resp.delivery.record_fields #=> Array
711
+ # resp.delivery.record_fields[0] #=> String
712
+ # resp.delivery.field_delimiter #=> String
713
+ # resp.delivery.s3_delivery_configuration.suffix_path #=> String
714
+ # resp.delivery.s3_delivery_configuration.enable_hive_compatible_path #=> Boolean
679
715
  # resp.delivery.tags #=> Hash
680
716
  # resp.delivery.tags["TagKey"] #=> String
681
717
  #
@@ -1552,6 +1588,94 @@ module Aws::CloudWatchLogs
1552
1588
  req.send_request(options)
1553
1589
  end
1554
1590
 
1591
+ # Use this operation to return the valid and default values that are
1592
+ # used when creating delivery sources, delivery destinations, and
1593
+ # deliveries. For more information about deliveries, see
1594
+ # [CreateDelivery][1].
1595
+ #
1596
+ #
1597
+ #
1598
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html
1599
+ #
1600
+ # @option params [String] :service
1601
+ # Use this parameter to filter the response to include only the
1602
+ # configuration templates that apply to the Amazon Web Services service
1603
+ # that you specify here.
1604
+ #
1605
+ # @option params [Array<String>] :log_types
1606
+ # Use this parameter to filter the response to include only the
1607
+ # configuration templates that apply to the log types that you specify
1608
+ # here.
1609
+ #
1610
+ # @option params [Array<String>] :resource_types
1611
+ # Use this parameter to filter the response to include only the
1612
+ # configuration templates that apply to the resource types that you
1613
+ # specify here.
1614
+ #
1615
+ # @option params [Array<String>] :delivery_destination_types
1616
+ # Use this parameter to filter the response to include only the
1617
+ # configuration templates that apply to the delivery destination types
1618
+ # that you specify here.
1619
+ #
1620
+ # @option params [String] :next_token
1621
+ # The token for the next set of items to return. The token expires after
1622
+ # 24 hours.
1623
+ #
1624
+ # @option params [Integer] :limit
1625
+ # Use this parameter to limit the number of configuration templates that
1626
+ # are returned in the response.
1627
+ #
1628
+ # @return [Types::DescribeConfigurationTemplatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1629
+ #
1630
+ # * {Types::DescribeConfigurationTemplatesResponse#configuration_templates #configuration_templates} => Array&lt;Types::ConfigurationTemplate&gt;
1631
+ # * {Types::DescribeConfigurationTemplatesResponse#next_token #next_token} => String
1632
+ #
1633
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1634
+ #
1635
+ # @example Request syntax with placeholder values
1636
+ #
1637
+ # resp = client.describe_configuration_templates({
1638
+ # service: "Service",
1639
+ # log_types: ["LogType"],
1640
+ # resource_types: ["ResourceType"],
1641
+ # delivery_destination_types: ["S3"], # accepts S3, CWL, FH
1642
+ # next_token: "NextToken",
1643
+ # limit: 1,
1644
+ # })
1645
+ #
1646
+ # @example Response structure
1647
+ #
1648
+ # resp.configuration_templates #=> Array
1649
+ # resp.configuration_templates[0].service #=> String
1650
+ # resp.configuration_templates[0].log_type #=> String
1651
+ # resp.configuration_templates[0].resource_type #=> String
1652
+ # resp.configuration_templates[0].delivery_destination_type #=> String, one of "S3", "CWL", "FH"
1653
+ # resp.configuration_templates[0].default_delivery_config_values.record_fields #=> Array
1654
+ # resp.configuration_templates[0].default_delivery_config_values.record_fields[0] #=> String
1655
+ # resp.configuration_templates[0].default_delivery_config_values.field_delimiter #=> String
1656
+ # resp.configuration_templates[0].default_delivery_config_values.s3_delivery_configuration.suffix_path #=> String
1657
+ # resp.configuration_templates[0].default_delivery_config_values.s3_delivery_configuration.enable_hive_compatible_path #=> Boolean
1658
+ # resp.configuration_templates[0].allowed_fields #=> Array
1659
+ # resp.configuration_templates[0].allowed_fields[0].name #=> String
1660
+ # resp.configuration_templates[0].allowed_fields[0].mandatory #=> Boolean
1661
+ # resp.configuration_templates[0].allowed_output_formats #=> Array
1662
+ # resp.configuration_templates[0].allowed_output_formats[0] #=> String, one of "json", "plain", "w3c", "raw", "parquet"
1663
+ # resp.configuration_templates[0].allowed_action_for_allow_vended_logs_delivery_for_resource #=> String
1664
+ # resp.configuration_templates[0].allowed_field_delimiters #=> Array
1665
+ # resp.configuration_templates[0].allowed_field_delimiters[0] #=> String
1666
+ # resp.configuration_templates[0].allowed_suffix_path_fields #=> Array
1667
+ # resp.configuration_templates[0].allowed_suffix_path_fields[0] #=> String
1668
+ # resp.next_token #=> String
1669
+ #
1670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeConfigurationTemplates AWS API Documentation
1671
+ #
1672
+ # @overload describe_configuration_templates(params = {})
1673
+ # @param [Hash] params ({})
1674
+ def describe_configuration_templates(params = {}, options = {})
1675
+ req = build_request(:describe_configuration_templates, params)
1676
+ req.send_request(options)
1677
+ end
1678
+
1555
1679
  # Retrieves a list of the deliveries that have been created in the
1556
1680
  # account.
1557
1681
  #
@@ -1600,6 +1724,11 @@ module Aws::CloudWatchLogs
1600
1724
  # resp.deliveries[0].delivery_source_name #=> String
1601
1725
  # resp.deliveries[0].delivery_destination_arn #=> String
1602
1726
  # resp.deliveries[0].delivery_destination_type #=> String, one of "S3", "CWL", "FH"
1727
+ # resp.deliveries[0].record_fields #=> Array
1728
+ # resp.deliveries[0].record_fields[0] #=> String
1729
+ # resp.deliveries[0].field_delimiter #=> String
1730
+ # resp.deliveries[0].s3_delivery_configuration.suffix_path #=> String
1731
+ # resp.deliveries[0].s3_delivery_configuration.enable_hive_compatible_path #=> Boolean
1603
1732
  # resp.deliveries[0].tags #=> Hash
1604
1733
  # resp.deliveries[0].tags["TagKey"] #=> String
1605
1734
  # resp.next_token #=> String
@@ -2640,6 +2769,11 @@ module Aws::CloudWatchLogs
2640
2769
  # resp.delivery.delivery_source_name #=> String
2641
2770
  # resp.delivery.delivery_destination_arn #=> String
2642
2771
  # resp.delivery.delivery_destination_type #=> String, one of "S3", "CWL", "FH"
2772
+ # resp.delivery.record_fields #=> Array
2773
+ # resp.delivery.record_fields[0] #=> String
2774
+ # resp.delivery.field_delimiter #=> String
2775
+ # resp.delivery.s3_delivery_configuration.suffix_path #=> String
2776
+ # resp.delivery.s3_delivery_configuration.enable_hive_compatible_path #=> Boolean
2643
2777
  # resp.delivery.tags #=> Hash
2644
2778
  # resp.delivery.tags["TagKey"] #=> String
2645
2779
  #
@@ -4144,7 +4278,7 @@ module Aws::CloudWatchLogs
4144
4278
  # if the sequence token is not valid.
4145
4279
  #
4146
4280
  # @option params [Types::Entity] :entity
4147
- # Reserved for future use.
4281
+ # Reserved for internal use.
4148
4282
  #
4149
4283
  # @return [Types::PutLogEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4150
4284
  #
@@ -5351,6 +5485,54 @@ module Aws::CloudWatchLogs
5351
5485
  req.send_request(options)
5352
5486
  end
5353
5487
 
5488
+ # Use this operation to update the configuration of a [delivery][1] to
5489
+ # change either the S3 path pattern or the format of the delivered logs.
5490
+ # You can't use this operation to change the source or destination of
5491
+ # the delivery.
5492
+ #
5493
+ #
5494
+ #
5495
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_Delivery.html
5496
+ #
5497
+ # @option params [required, String] :id
5498
+ # The ID of the delivery to be updated by this request.
5499
+ #
5500
+ # @option params [Array<String>] :record_fields
5501
+ # The list of record fields to be delivered to the destination, in
5502
+ # order. If the delivery’s log source has mandatory fields, they must be
5503
+ # included in this list.
5504
+ #
5505
+ # @option params [String] :field_delimiter
5506
+ # The field delimiter to use between record fields when the final output
5507
+ # format of a delivery is in `Plain`, `W3C`, or `Raw` format.
5508
+ #
5509
+ # @option params [Types::S3DeliveryConfiguration] :s3_delivery_configuration
5510
+ # This structure contains parameters that are valid only when the
5511
+ # delivery’s delivery destination is an S3 bucket.
5512
+ #
5513
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5514
+ #
5515
+ # @example Request syntax with placeholder values
5516
+ #
5517
+ # resp = client.update_delivery_configuration({
5518
+ # id: "DeliveryId", # required
5519
+ # record_fields: ["FieldHeader"],
5520
+ # field_delimiter: "FieldDelimiter",
5521
+ # s3_delivery_configuration: {
5522
+ # suffix_path: "DeliverySuffixPath",
5523
+ # enable_hive_compatible_path: false,
5524
+ # },
5525
+ # })
5526
+ #
5527
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateDeliveryConfiguration AWS API Documentation
5528
+ #
5529
+ # @overload update_delivery_configuration(params = {})
5530
+ # @param [Hash] params ({})
5531
+ def update_delivery_configuration(params = {}, options = {})
5532
+ req = build_request(:update_delivery_configuration, params)
5533
+ req.send_request(options)
5534
+ end
5535
+
5354
5536
  # Updates an existing log anomaly detector.
5355
5537
  #
5356
5538
  # @option params [required, String] :anomaly_detector_arn
@@ -5407,14 +5589,19 @@ module Aws::CloudWatchLogs
5407
5589
  # @api private
5408
5590
  def build_request(operation_name, params = {})
5409
5591
  handlers = @handlers.for(operation_name)
5592
+ tracer = config.telemetry_provider.tracer_provider.tracer(
5593
+ Aws::Telemetry.module_to_tracer_name('Aws::CloudWatchLogs')
5594
+ )
5410
5595
  context = Seahorse::Client::RequestContext.new(
5411
5596
  operation_name: operation_name,
5412
5597
  operation: config.api.operation(operation_name),
5413
5598
  client: self,
5414
5599
  params: params,
5415
- config: config)
5600
+ config: config,
5601
+ tracer: tracer
5602
+ )
5416
5603
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
5417
- context[:gem_version] = '1.89.0'
5604
+ context[:gem_version] = '1.91.0'
5418
5605
  Seahorse::Client::Request.new(handlers, context)
5419
5606
  end
5420
5607
 
@@ -20,6 +20,9 @@ module Aws::CloudWatchLogs
20
20
  AccountPolicies = Shapes::ListShape.new(name: 'AccountPolicies')
21
21
  AccountPolicy = Shapes::StructureShape.new(name: 'AccountPolicy')
22
22
  AccountPolicyDocument = Shapes::StringShape.new(name: 'AccountPolicyDocument')
23
+ AllowedActionForAllowVendedLogsDeliveryForResource = Shapes::StringShape.new(name: 'AllowedActionForAllowVendedLogsDeliveryForResource')
24
+ AllowedFieldDelimiters = Shapes::ListShape.new(name: 'AllowedFieldDelimiters')
25
+ AllowedFields = Shapes::ListShape.new(name: 'AllowedFields')
23
26
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
24
27
  Anomalies = Shapes::ListShape.new(name: 'Anomalies')
25
28
  Anomaly = Shapes::StructureShape.new(name: 'Anomaly')
@@ -34,6 +37,9 @@ module Aws::CloudWatchLogs
34
37
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
35
38
  CancelExportTaskRequest = Shapes::StructureShape.new(name: 'CancelExportTaskRequest')
36
39
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
40
+ ConfigurationTemplate = Shapes::StructureShape.new(name: 'ConfigurationTemplate')
41
+ ConfigurationTemplateDeliveryConfigValues = Shapes::StructureShape.new(name: 'ConfigurationTemplateDeliveryConfigValues')
42
+ ConfigurationTemplates = Shapes::ListShape.new(name: 'ConfigurationTemplates')
37
43
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
38
44
  Count = Shapes::IntegerShape.new(name: 'Count')
39
45
  CreateDeliveryRequest = Shapes::StructureShape.new(name: 'CreateDeliveryRequest')
@@ -72,14 +78,18 @@ module Aws::CloudWatchLogs
72
78
  DeliveryDestinationName = Shapes::StringShape.new(name: 'DeliveryDestinationName')
73
79
  DeliveryDestinationPolicy = Shapes::StringShape.new(name: 'DeliveryDestinationPolicy')
74
80
  DeliveryDestinationType = Shapes::StringShape.new(name: 'DeliveryDestinationType')
81
+ DeliveryDestinationTypes = Shapes::ListShape.new(name: 'DeliveryDestinationTypes')
75
82
  DeliveryDestinations = Shapes::ListShape.new(name: 'DeliveryDestinations')
76
83
  DeliveryId = Shapes::StringShape.new(name: 'DeliveryId')
77
84
  DeliverySource = Shapes::StructureShape.new(name: 'DeliverySource')
78
85
  DeliverySourceName = Shapes::StringShape.new(name: 'DeliverySourceName')
79
86
  DeliverySources = Shapes::ListShape.new(name: 'DeliverySources')
87
+ DeliverySuffixPath = Shapes::StringShape.new(name: 'DeliverySuffixPath')
80
88
  Descending = Shapes::BooleanShape.new(name: 'Descending')
81
89
  DescribeAccountPoliciesRequest = Shapes::StructureShape.new(name: 'DescribeAccountPoliciesRequest')
82
90
  DescribeAccountPoliciesResponse = Shapes::StructureShape.new(name: 'DescribeAccountPoliciesResponse')
91
+ DescribeConfigurationTemplatesRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationTemplatesRequest')
92
+ DescribeConfigurationTemplatesResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationTemplatesResponse')
83
93
  DescribeDeliveriesRequest = Shapes::StructureShape.new(name: 'DescribeDeliveriesRequest')
84
94
  DescribeDeliveriesResponse = Shapes::StructureShape.new(name: 'DescribeDeliveriesResponse')
85
95
  DescribeDeliveryDestinationsRequest = Shapes::StructureShape.new(name: 'DescribeDeliveryDestinationsRequest')
@@ -146,6 +156,8 @@ module Aws::CloudWatchLogs
146
156
  ExportTasks = Shapes::ListShape.new(name: 'ExportTasks')
147
157
  ExtractedValues = Shapes::MapShape.new(name: 'ExtractedValues')
148
158
  Field = Shapes::StringShape.new(name: 'Field')
159
+ FieldDelimiter = Shapes::StringShape.new(name: 'FieldDelimiter')
160
+ FieldHeader = Shapes::StringShape.new(name: 'FieldHeader')
149
161
  FilterCount = Shapes::IntegerShape.new(name: 'FilterCount')
150
162
  FilterLogEventsRequest = Shapes::StructureShape.new(name: 'FilterLogEventsRequest')
151
163
  FilterLogEventsResponse = Shapes::StructureShape.new(name: 'FilterLogEventsResponse')
@@ -226,6 +238,7 @@ module Aws::CloudWatchLogs
226
238
  LogStreamSearchedCompletely = Shapes::BooleanShape.new(name: 'LogStreamSearchedCompletely')
227
239
  LogStreams = Shapes::ListShape.new(name: 'LogStreams')
228
240
  LogType = Shapes::StringShape.new(name: 'LogType')
241
+ LogTypes = Shapes::ListShape.new(name: 'LogTypes')
229
242
  MalformedQueryException = Shapes::StructureShape.new(name: 'MalformedQueryException')
230
243
  Message = Shapes::StringShape.new(name: 'Message')
231
244
  MetricFilter = Shapes::StructureShape.new(name: 'MetricFilter')
@@ -241,6 +254,7 @@ module Aws::CloudWatchLogs
241
254
  OperationAbortedException = Shapes::StructureShape.new(name: 'OperationAbortedException')
242
255
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
243
256
  OutputFormat = Shapes::StringShape.new(name: 'OutputFormat')
257
+ OutputFormats = Shapes::ListShape.new(name: 'OutputFormats')
244
258
  OutputLogEvent = Shapes::StructureShape.new(name: 'OutputLogEvent')
245
259
  OutputLogEvents = Shapes::ListShape.new(name: 'OutputLogEvents')
246
260
  PatternId = Shapes::StringShape.new(name: 'PatternId')
@@ -291,6 +305,8 @@ module Aws::CloudWatchLogs
291
305
  QueryStatistics = Shapes::StructureShape.new(name: 'QueryStatistics')
292
306
  QueryStatus = Shapes::StringShape.new(name: 'QueryStatus')
293
307
  QueryString = Shapes::StringShape.new(name: 'QueryString')
308
+ RecordField = Shapes::StructureShape.new(name: 'RecordField')
309
+ RecordFields = Shapes::ListShape.new(name: 'RecordFields')
294
310
  RejectedEntityInfo = Shapes::StructureShape.new(name: 'RejectedEntityInfo')
295
311
  RejectedLogEventsInfo = Shapes::StructureShape.new(name: 'RejectedLogEventsInfo')
296
312
  RequestId = Shapes::StringShape.new(name: 'RequestId')
@@ -300,9 +316,12 @@ module Aws::CloudWatchLogs
300
316
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
301
317
  ResourcePolicies = Shapes::ListShape.new(name: 'ResourcePolicies')
302
318
  ResourcePolicy = Shapes::StructureShape.new(name: 'ResourcePolicy')
319
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
320
+ ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
303
321
  ResultField = Shapes::StructureShape.new(name: 'ResultField')
304
322
  ResultRows = Shapes::ListShape.new(name: 'ResultRows')
305
323
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
324
+ S3DeliveryConfiguration = Shapes::StructureShape.new(name: 'S3DeliveryConfiguration')
306
325
  Scope = Shapes::StringShape.new(name: 'Scope')
307
326
  SearchedLogStream = Shapes::StructureShape.new(name: 'SearchedLogStream')
308
327
  SearchedLogStreams = Shapes::ListShape.new(name: 'SearchedLogStreams')
@@ -357,6 +376,8 @@ module Aws::CloudWatchLogs
357
376
  UntagLogGroupRequest = Shapes::StructureShape.new(name: 'UntagLogGroupRequest')
358
377
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
359
378
  UpdateAnomalyRequest = Shapes::StructureShape.new(name: 'UpdateAnomalyRequest')
379
+ UpdateDeliveryConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateDeliveryConfigurationRequest')
380
+ UpdateDeliveryConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateDeliveryConfigurationResponse')
360
381
  UpdateLogAnomalyDetectorRequest = Shapes::StructureShape.new(name: 'UpdateLogAnomalyDetectorRequest')
361
382
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
362
383
  Value = Shapes::StringShape.new(name: 'Value')
@@ -376,6 +397,10 @@ module Aws::CloudWatchLogs
376
397
  AccountPolicy.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
377
398
  AccountPolicy.struct_class = Types::AccountPolicy
378
399
 
400
+ AllowedFieldDelimiters.member = Shapes::ShapeRef.new(shape: FieldDelimiter)
401
+
402
+ AllowedFields.member = Shapes::ShapeRef.new(shape: RecordField)
403
+
379
404
  Anomalies.member = Shapes::ShapeRef.new(shape: Anomaly)
380
405
 
381
406
  Anomaly.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: AnomalyId, required: true, location_name: "anomalyId"))
@@ -421,10 +446,32 @@ module Aws::CloudWatchLogs
421
446
  CancelExportTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: ExportTaskId, required: true, location_name: "taskId"))
422
447
  CancelExportTaskRequest.struct_class = Types::CancelExportTaskRequest
423
448
 
449
+ ConfigurationTemplate.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
450
+ ConfigurationTemplate.add_member(:log_type, Shapes::ShapeRef.new(shape: LogType, location_name: "logType"))
451
+ ConfigurationTemplate.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
452
+ ConfigurationTemplate.add_member(:delivery_destination_type, Shapes::ShapeRef.new(shape: DeliveryDestinationType, location_name: "deliveryDestinationType"))
453
+ ConfigurationTemplate.add_member(:default_delivery_config_values, Shapes::ShapeRef.new(shape: ConfigurationTemplateDeliveryConfigValues, location_name: "defaultDeliveryConfigValues"))
454
+ ConfigurationTemplate.add_member(:allowed_fields, Shapes::ShapeRef.new(shape: AllowedFields, location_name: "allowedFields"))
455
+ ConfigurationTemplate.add_member(:allowed_output_formats, Shapes::ShapeRef.new(shape: OutputFormats, location_name: "allowedOutputFormats"))
456
+ ConfigurationTemplate.add_member(:allowed_action_for_allow_vended_logs_delivery_for_resource, Shapes::ShapeRef.new(shape: AllowedActionForAllowVendedLogsDeliveryForResource, location_name: "allowedActionForAllowVendedLogsDeliveryForResource"))
457
+ ConfigurationTemplate.add_member(:allowed_field_delimiters, Shapes::ShapeRef.new(shape: AllowedFieldDelimiters, location_name: "allowedFieldDelimiters"))
458
+ ConfigurationTemplate.add_member(:allowed_suffix_path_fields, Shapes::ShapeRef.new(shape: RecordFields, location_name: "allowedSuffixPathFields"))
459
+ ConfigurationTemplate.struct_class = Types::ConfigurationTemplate
460
+
461
+ ConfigurationTemplateDeliveryConfigValues.add_member(:record_fields, Shapes::ShapeRef.new(shape: RecordFields, location_name: "recordFields"))
462
+ ConfigurationTemplateDeliveryConfigValues.add_member(:field_delimiter, Shapes::ShapeRef.new(shape: FieldDelimiter, location_name: "fieldDelimiter"))
463
+ ConfigurationTemplateDeliveryConfigValues.add_member(:s3_delivery_configuration, Shapes::ShapeRef.new(shape: S3DeliveryConfiguration, location_name: "s3DeliveryConfiguration"))
464
+ ConfigurationTemplateDeliveryConfigValues.struct_class = Types::ConfigurationTemplateDeliveryConfigValues
465
+
466
+ ConfigurationTemplates.member = Shapes::ShapeRef.new(shape: ConfigurationTemplate)
467
+
424
468
  ConflictException.struct_class = Types::ConflictException
425
469
 
426
470
  CreateDeliveryRequest.add_member(:delivery_source_name, Shapes::ShapeRef.new(shape: DeliverySourceName, required: true, location_name: "deliverySourceName"))
427
471
  CreateDeliveryRequest.add_member(:delivery_destination_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "deliveryDestinationArn"))
472
+ CreateDeliveryRequest.add_member(:record_fields, Shapes::ShapeRef.new(shape: RecordFields, location_name: "recordFields"))
473
+ CreateDeliveryRequest.add_member(:field_delimiter, Shapes::ShapeRef.new(shape: FieldDelimiter, location_name: "fieldDelimiter"))
474
+ CreateDeliveryRequest.add_member(:s3_delivery_configuration, Shapes::ShapeRef.new(shape: S3DeliveryConfiguration, location_name: "s3DeliveryConfiguration"))
428
475
  CreateDeliveryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
429
476
  CreateDeliveryRequest.struct_class = Types::CreateDeliveryRequest
430
477
 
@@ -527,6 +574,9 @@ module Aws::CloudWatchLogs
527
574
  Delivery.add_member(:delivery_source_name, Shapes::ShapeRef.new(shape: DeliverySourceName, location_name: "deliverySourceName"))
528
575
  Delivery.add_member(:delivery_destination_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "deliveryDestinationArn"))
529
576
  Delivery.add_member(:delivery_destination_type, Shapes::ShapeRef.new(shape: DeliveryDestinationType, location_name: "deliveryDestinationType"))
577
+ Delivery.add_member(:record_fields, Shapes::ShapeRef.new(shape: RecordFields, location_name: "recordFields"))
578
+ Delivery.add_member(:field_delimiter, Shapes::ShapeRef.new(shape: FieldDelimiter, location_name: "fieldDelimiter"))
579
+ Delivery.add_member(:s3_delivery_configuration, Shapes::ShapeRef.new(shape: S3DeliveryConfiguration, location_name: "s3DeliveryConfiguration"))
530
580
  Delivery.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
531
581
  Delivery.struct_class = Types::Delivery
532
582
 
@@ -541,6 +591,8 @@ module Aws::CloudWatchLogs
541
591
  DeliveryDestinationConfiguration.add_member(:destination_resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "destinationResourceArn"))
542
592
  DeliveryDestinationConfiguration.struct_class = Types::DeliveryDestinationConfiguration
543
593
 
594
+ DeliveryDestinationTypes.member = Shapes::ShapeRef.new(shape: DeliveryDestinationType)
595
+
544
596
  DeliveryDestinations.member = Shapes::ShapeRef.new(shape: DeliveryDestination)
545
597
 
546
598
  DeliverySource.add_member(:name, Shapes::ShapeRef.new(shape: DeliverySourceName, location_name: "name"))
@@ -561,6 +613,18 @@ module Aws::CloudWatchLogs
561
613
  DescribeAccountPoliciesResponse.add_member(:account_policies, Shapes::ShapeRef.new(shape: AccountPolicies, location_name: "accountPolicies"))
562
614
  DescribeAccountPoliciesResponse.struct_class = Types::DescribeAccountPoliciesResponse
563
615
 
616
+ DescribeConfigurationTemplatesRequest.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
617
+ DescribeConfigurationTemplatesRequest.add_member(:log_types, Shapes::ShapeRef.new(shape: LogTypes, location_name: "logTypes"))
618
+ DescribeConfigurationTemplatesRequest.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "resourceTypes"))
619
+ DescribeConfigurationTemplatesRequest.add_member(:delivery_destination_types, Shapes::ShapeRef.new(shape: DeliveryDestinationTypes, location_name: "deliveryDestinationTypes"))
620
+ DescribeConfigurationTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
621
+ DescribeConfigurationTemplatesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
622
+ DescribeConfigurationTemplatesRequest.struct_class = Types::DescribeConfigurationTemplatesRequest
623
+
624
+ DescribeConfigurationTemplatesResponse.add_member(:configuration_templates, Shapes::ShapeRef.new(shape: ConfigurationTemplates, location_name: "configurationTemplates"))
625
+ DescribeConfigurationTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
626
+ DescribeConfigurationTemplatesResponse.struct_class = Types::DescribeConfigurationTemplatesResponse
627
+
564
628
  DescribeDeliveriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
565
629
  DescribeDeliveriesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
566
630
  DescribeDeliveriesRequest.struct_class = Types::DescribeDeliveriesRequest
@@ -971,6 +1035,8 @@ module Aws::CloudWatchLogs
971
1035
 
972
1036
  LogStreams.member = Shapes::ShapeRef.new(shape: LogStream)
973
1037
 
1038
+ LogTypes.member = Shapes::ShapeRef.new(shape: LogType)
1039
+
974
1040
  MalformedQueryException.add_member(:query_compile_error, Shapes::ShapeRef.new(shape: QueryCompileError, location_name: "queryCompileError"))
975
1041
  MalformedQueryException.struct_class = Types::MalformedQueryException
976
1042
 
@@ -1002,6 +1068,8 @@ module Aws::CloudWatchLogs
1002
1068
 
1003
1069
  OperationAbortedException.struct_class = Types::OperationAbortedException
1004
1070
 
1071
+ OutputFormats.member = Shapes::ShapeRef.new(shape: OutputFormat)
1072
+
1005
1073
  OutputLogEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
1006
1074
  OutputLogEvent.add_member(:message, Shapes::ShapeRef.new(shape: EventMessage, location_name: "message"))
1007
1075
  OutputLogEvent.add_member(:ingestion_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ingestionTime"))
@@ -1158,6 +1226,12 @@ module Aws::CloudWatchLogs
1158
1226
  QueryStatistics.add_member(:bytes_scanned, Shapes::ShapeRef.new(shape: StatsValue, location_name: "bytesScanned"))
1159
1227
  QueryStatistics.struct_class = Types::QueryStatistics
1160
1228
 
1229
+ RecordField.add_member(:name, Shapes::ShapeRef.new(shape: FieldHeader, location_name: "name"))
1230
+ RecordField.add_member(:mandatory, Shapes::ShapeRef.new(shape: Boolean, location_name: "mandatory"))
1231
+ RecordField.struct_class = Types::RecordField
1232
+
1233
+ RecordFields.member = Shapes::ShapeRef.new(shape: FieldHeader)
1234
+
1161
1235
  RejectedEntityInfo.add_member(:error_type, Shapes::ShapeRef.new(shape: EntityRejectionErrorType, required: true, location_name: "errorType"))
1162
1236
  RejectedEntityInfo.struct_class = Types::RejectedEntityInfo
1163
1237
 
@@ -1179,12 +1253,18 @@ module Aws::CloudWatchLogs
1179
1253
  ResourcePolicy.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
1180
1254
  ResourcePolicy.struct_class = Types::ResourcePolicy
1181
1255
 
1256
+ ResourceTypes.member = Shapes::ShapeRef.new(shape: ResourceType)
1257
+
1182
1258
  ResultField.add_member(:field, Shapes::ShapeRef.new(shape: Field, location_name: "field"))
1183
1259
  ResultField.add_member(:value, Shapes::ShapeRef.new(shape: Value, location_name: "value"))
1184
1260
  ResultField.struct_class = Types::ResultField
1185
1261
 
1186
1262
  ResultRows.member = Shapes::ShapeRef.new(shape: ResultField)
1187
1263
 
1264
+ S3DeliveryConfiguration.add_member(:suffix_path, Shapes::ShapeRef.new(shape: DeliverySuffixPath, location_name: "suffixPath"))
1265
+ S3DeliveryConfiguration.add_member(:enable_hive_compatible_path, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableHiveCompatiblePath", metadata: {"box"=>true}))
1266
+ S3DeliveryConfiguration.struct_class = Types::S3DeliveryConfiguration
1267
+
1188
1268
  SearchedLogStream.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "logStreamName"))
1189
1269
  SearchedLogStream.add_member(:searched_completely, Shapes::ShapeRef.new(shape: LogStreamSearchedCompletely, location_name: "searchedCompletely"))
1190
1270
  SearchedLogStream.struct_class = Types::SearchedLogStream
@@ -1298,6 +1378,14 @@ module Aws::CloudWatchLogs
1298
1378
  UpdateAnomalyRequest.add_member(:suppression_period, Shapes::ShapeRef.new(shape: SuppressionPeriod, location_name: "suppressionPeriod"))
1299
1379
  UpdateAnomalyRequest.struct_class = Types::UpdateAnomalyRequest
1300
1380
 
1381
+ UpdateDeliveryConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: DeliveryId, required: true, location_name: "id"))
1382
+ UpdateDeliveryConfigurationRequest.add_member(:record_fields, Shapes::ShapeRef.new(shape: RecordFields, location_name: "recordFields"))
1383
+ UpdateDeliveryConfigurationRequest.add_member(:field_delimiter, Shapes::ShapeRef.new(shape: FieldDelimiter, location_name: "fieldDelimiter"))
1384
+ UpdateDeliveryConfigurationRequest.add_member(:s3_delivery_configuration, Shapes::ShapeRef.new(shape: S3DeliveryConfiguration, location_name: "s3DeliveryConfiguration"))
1385
+ UpdateDeliveryConfigurationRequest.struct_class = Types::UpdateDeliveryConfigurationRequest
1386
+
1387
+ UpdateDeliveryConfigurationResponse.struct_class = Types::UpdateDeliveryConfigurationResponse
1388
+
1301
1389
  UpdateLogAnomalyDetectorRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: AnomalyDetectorArn, required: true, location_name: "anomalyDetectorArn"))
1302
1390
  UpdateLogAnomalyDetectorRequest.add_member(:evaluation_frequency, Shapes::ShapeRef.new(shape: EvaluationFrequency, location_name: "evaluationFrequency"))
1303
1391
  UpdateLogAnomalyDetectorRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
@@ -1614,6 +1702,24 @@ module Aws::CloudWatchLogs
1614
1702
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1615
1703
  end)
1616
1704
 
1705
+ api.add_operation(:describe_configuration_templates, Seahorse::Model::Operation.new.tap do |o|
1706
+ o.name = "DescribeConfigurationTemplates"
1707
+ o.http_method = "POST"
1708
+ o.http_request_uri = "/"
1709
+ o.input = Shapes::ShapeRef.new(shape: DescribeConfigurationTemplatesRequest)
1710
+ o.output = Shapes::ShapeRef.new(shape: DescribeConfigurationTemplatesResponse)
1711
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1712
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1713
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1714
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1715
+ o[:pager] = Aws::Pager.new(
1716
+ limit_key: "limit",
1717
+ tokens: {
1718
+ "next_token" => "next_token"
1719
+ }
1720
+ )
1721
+ end)
1722
+
1617
1723
  api.add_operation(:describe_deliveries, Seahorse::Model::Operation.new.tap do |o|
1618
1724
  o.name = "DescribeDeliveries"
1619
1725
  o.http_method = "POST"
@@ -2273,6 +2379,20 @@ module Aws::CloudWatchLogs
2273
2379
  o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
2274
2380
  end)
2275
2381
 
2382
+ api.add_operation(:update_delivery_configuration, Seahorse::Model::Operation.new.tap do |o|
2383
+ o.name = "UpdateDeliveryConfiguration"
2384
+ o.http_method = "POST"
2385
+ o.http_request_uri = "/"
2386
+ o.input = Shapes::ShapeRef.new(shape: UpdateDeliveryConfigurationRequest)
2387
+ o.output = Shapes::ShapeRef.new(shape: UpdateDeliveryConfigurationResponse)
2388
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2389
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2390
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2391
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2392
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2393
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2394
+ end)
2395
+
2276
2396
  api.add_operation(:update_log_anomaly_detector, Seahorse::Model::Operation.new.tap do |o|
2277
2397
  o.name = "UpdateLogAnomalyDetector"
2278
2398
  o.http_method = "POST"
@@ -334,6 +334,20 @@ module Aws::CloudWatchLogs
334
334
  end
335
335
  end
336
336
 
337
+ class DescribeConfigurationTemplates
338
+ def self.build(context)
339
+ unless context.config.regional_endpoint
340
+ endpoint = context.config.endpoint.to_s
341
+ end
342
+ Aws::CloudWatchLogs::EndpointParameters.new(
343
+ region: context.config.region,
344
+ use_dual_stack: context.config.use_dualstack_endpoint,
345
+ use_fips: context.config.use_fips_endpoint,
346
+ endpoint: endpoint,
347
+ )
348
+ end
349
+ end
350
+
337
351
  class DescribeDeliveries
338
352
  def self.build(context)
339
353
  unless context.config.regional_endpoint
@@ -1034,6 +1048,20 @@ module Aws::CloudWatchLogs
1034
1048
  end
1035
1049
  end
1036
1050
 
1051
+ class UpdateDeliveryConfiguration
1052
+ def self.build(context)
1053
+ unless context.config.regional_endpoint
1054
+ endpoint = context.config.endpoint.to_s
1055
+ end
1056
+ Aws::CloudWatchLogs::EndpointParameters.new(
1057
+ region: context.config.region,
1058
+ use_dual_stack: context.config.use_dualstack_endpoint,
1059
+ use_fips: context.config.use_fips_endpoint,
1060
+ endpoint: endpoint,
1061
+ )
1062
+ end
1063
+ end
1064
+
1037
1065
  class UpdateLogAnomalyDetector
1038
1066
  def self.build(context)
1039
1067
  unless context.config.regional_endpoint
@@ -104,6 +104,8 @@ module Aws::CloudWatchLogs
104
104
  Aws::CloudWatchLogs::Endpoints::DeleteSubscriptionFilter.build(context)
105
105
  when :describe_account_policies
106
106
  Aws::CloudWatchLogs::Endpoints::DescribeAccountPolicies.build(context)
107
+ when :describe_configuration_templates
108
+ Aws::CloudWatchLogs::Endpoints::DescribeConfigurationTemplates.build(context)
107
109
  when :describe_deliveries
108
110
  Aws::CloudWatchLogs::Endpoints::DescribeDeliveries.build(context)
109
111
  when :describe_delivery_destinations
@@ -204,6 +206,8 @@ module Aws::CloudWatchLogs
204
206
  Aws::CloudWatchLogs::Endpoints::UntagResource.build(context)
205
207
  when :update_anomaly
206
208
  Aws::CloudWatchLogs::Endpoints::UpdateAnomaly.build(context)
209
+ when :update_delivery_configuration
210
+ Aws::CloudWatchLogs::Endpoints::UpdateDeliveryConfiguration.build(context)
207
211
  when :update_log_anomaly_detector
208
212
  Aws::CloudWatchLogs::Endpoints::UpdateLogAnomalyDetector.build(context)
209
213
  end
@@ -351,6 +351,147 @@ module Aws::CloudWatchLogs
351
351
  include Aws::Structure
352
352
  end
353
353
 
354
+ # A structure containing information about the deafult settings and
355
+ # available settings that you can use to configure a [delivery][1] or a
356
+ # [delivery destination][2].
357
+ #
358
+ #
359
+ #
360
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_Delivery.html
361
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeliveryDestination.html
362
+ #
363
+ # @!attribute [rw] service
364
+ # A string specifying which service this configuration template
365
+ # applies to. For more information about supported services see
366
+ # [Enable logging from Amazon Web Services services.][1].
367
+ #
368
+ #
369
+ #
370
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html
371
+ # @return [String]
372
+ #
373
+ # @!attribute [rw] log_type
374
+ # A string specifying which log type this configuration template
375
+ # applies to.
376
+ # @return [String]
377
+ #
378
+ # @!attribute [rw] resource_type
379
+ # A string specifying which resource type this configuration template
380
+ # applies to.
381
+ # @return [String]
382
+ #
383
+ # @!attribute [rw] delivery_destination_type
384
+ # A string specifying which destination type this configuration
385
+ # template applies to.
386
+ # @return [String]
387
+ #
388
+ # @!attribute [rw] default_delivery_config_values
389
+ # A mapping that displays the default value of each property within a
390
+ # delivery’s configuration, if it is not specified in the request.
391
+ # @return [Types::ConfigurationTemplateDeliveryConfigValues]
392
+ #
393
+ # @!attribute [rw] allowed_fields
394
+ # The allowed fields that a caller can use in the `recordFields`
395
+ # parameter of a [CreateDelivery][1] or
396
+ # [UpdateDeliveryConfiguration][2] operation.
397
+ #
398
+ #
399
+ #
400
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html
401
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html
402
+ # @return [Array<Types::RecordField>]
403
+ #
404
+ # @!attribute [rw] allowed_output_formats
405
+ # The list of delivery destination output formats that are supported
406
+ # by this log source.
407
+ # @return [Array<String>]
408
+ #
409
+ # @!attribute [rw] allowed_action_for_allow_vended_logs_delivery_for_resource
410
+ # The action permissions that a caller needs to have to be able to
411
+ # successfully create a delivery source on the desired resource type
412
+ # when calling [PutDeliverySource][1].
413
+ #
414
+ #
415
+ #
416
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html
417
+ # @return [String]
418
+ #
419
+ # @!attribute [rw] allowed_field_delimiters
420
+ # The valid values that a caller can use as field delimiters when
421
+ # calling [CreateDelivery][1] or [UpdateDeliveryConfiguration][2] on a
422
+ # delivery that delivers in `Plain`, `W3C`, or `Raw` format.
423
+ #
424
+ #
425
+ #
426
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html
427
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html
428
+ # @return [Array<String>]
429
+ #
430
+ # @!attribute [rw] allowed_suffix_path_fields
431
+ # The list of variable fields that can be used in the suffix path of a
432
+ # delivery that delivers to an S3 bucket.
433
+ # @return [Array<String>]
434
+ #
435
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ConfigurationTemplate AWS API Documentation
436
+ #
437
+ class ConfigurationTemplate < Struct.new(
438
+ :service,
439
+ :log_type,
440
+ :resource_type,
441
+ :delivery_destination_type,
442
+ :default_delivery_config_values,
443
+ :allowed_fields,
444
+ :allowed_output_formats,
445
+ :allowed_action_for_allow_vended_logs_delivery_for_resource,
446
+ :allowed_field_delimiters,
447
+ :allowed_suffix_path_fields)
448
+ SENSITIVE = []
449
+ include Aws::Structure
450
+ end
451
+
452
+ # This structure contains the default values that are used for each
453
+ # configuration parameter when you use [CreateDelivery][1] to create a
454
+ # deliver under the current service type, resource type, and log type.
455
+ #
456
+ #
457
+ #
458
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html
459
+ #
460
+ # @!attribute [rw] record_fields
461
+ # The default record fields that will be delivered when a list of
462
+ # record fields is not provided in a [CreateDelivery][1] operation.
463
+ #
464
+ #
465
+ #
466
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html
467
+ # @return [Array<String>]
468
+ #
469
+ # @!attribute [rw] field_delimiter
470
+ # The default field delimiter that is used in a [CreateDelivery][1]
471
+ # operation when the field delimiter is not specified in that
472
+ # operation. The field delimiter is used only when the final output
473
+ # delivery is in `Plain`, `W3C`, or `Raw` format.
474
+ #
475
+ #
476
+ #
477
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html
478
+ # @return [String]
479
+ #
480
+ # @!attribute [rw] s3_delivery_configuration
481
+ # The delivery parameters that are used when you create a delivery to
482
+ # a delivery destination that is an S3 Bucket.
483
+ # @return [Types::S3DeliveryConfiguration]
484
+ #
485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ConfigurationTemplateDeliveryConfigValues AWS API Documentation
486
+ #
487
+ class ConfigurationTemplateDeliveryConfigValues < Struct.new(
488
+ :record_fields,
489
+ :field_delimiter,
490
+ :s3_delivery_configuration)
491
+ SENSITIVE = []
492
+ include Aws::Structure
493
+ end
494
+
354
495
  # This operation attempted to create a resource that already exists.
355
496
  #
356
497
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ConflictException AWS API Documentation
@@ -365,6 +506,22 @@ module Aws::CloudWatchLogs
365
506
  # The ARN of the delivery destination to use for this delivery.
366
507
  # @return [String]
367
508
  #
509
+ # @!attribute [rw] record_fields
510
+ # The list of record fields to be delivered to the destination, in
511
+ # order. If the delivery’s log source has mandatory fields, they must
512
+ # be included in this list.
513
+ # @return [Array<String>]
514
+ #
515
+ # @!attribute [rw] field_delimiter
516
+ # The field delimiter to use between record fields when the final
517
+ # output format of a delivery is in `Plain`, `W3C`, or `Raw` format.
518
+ # @return [String]
519
+ #
520
+ # @!attribute [rw] s3_delivery_configuration
521
+ # This structure contains parameters that are valid only when the
522
+ # delivery’s delivery destination is an S3 bucket.
523
+ # @return [Types::S3DeliveryConfiguration]
524
+ #
368
525
  # @!attribute [rw] tags
369
526
  # An optional list of key-value pairs to associate with the resource.
370
527
  #
@@ -381,6 +538,9 @@ module Aws::CloudWatchLogs
381
538
  class CreateDeliveryRequest < Struct.new(
382
539
  :delivery_source_name,
383
540
  :delivery_destination_arn,
541
+ :record_fields,
542
+ :field_delimiter,
543
+ :s3_delivery_configuration,
384
544
  :tags)
385
545
  SENSITIVE = []
386
546
  include Aws::Structure
@@ -928,6 +1088,21 @@ module Aws::CloudWatchLogs
928
1088
  # delivery is CloudWatch Logs, Amazon S3, or Firehose.
929
1089
  # @return [String]
930
1090
  #
1091
+ # @!attribute [rw] record_fields
1092
+ # The record fields used in this delivery.
1093
+ # @return [Array<String>]
1094
+ #
1095
+ # @!attribute [rw] field_delimiter
1096
+ # The field delimiter that is used between record fields when the
1097
+ # final output format of a delivery is in `Plain`, `W3C`, or `Raw`
1098
+ # format.
1099
+ # @return [String]
1100
+ #
1101
+ # @!attribute [rw] s3_delivery_configuration
1102
+ # This structure contains delivery configurations that apply only when
1103
+ # the delivery destination resource is an S3 bucket.
1104
+ # @return [Types::S3DeliveryConfiguration]
1105
+ #
931
1106
  # @!attribute [rw] tags
932
1107
  # The tags that have been assigned to this delivery.
933
1108
  # @return [Hash<String,String>]
@@ -940,6 +1115,9 @@ module Aws::CloudWatchLogs
940
1115
  :delivery_source_name,
941
1116
  :delivery_destination_arn,
942
1117
  :delivery_destination_type,
1118
+ :record_fields,
1119
+ :field_delimiter,
1120
+ :s3_delivery_configuration,
943
1121
  :tags)
944
1122
  SENSITIVE = []
945
1123
  include Aws::Structure
@@ -1165,6 +1343,72 @@ module Aws::CloudWatchLogs
1165
1343
  include Aws::Structure
1166
1344
  end
1167
1345
 
1346
+ # @!attribute [rw] service
1347
+ # Use this parameter to filter the response to include only the
1348
+ # configuration templates that apply to the Amazon Web Services
1349
+ # service that you specify here.
1350
+ # @return [String]
1351
+ #
1352
+ # @!attribute [rw] log_types
1353
+ # Use this parameter to filter the response to include only the
1354
+ # configuration templates that apply to the log types that you specify
1355
+ # here.
1356
+ # @return [Array<String>]
1357
+ #
1358
+ # @!attribute [rw] resource_types
1359
+ # Use this parameter to filter the response to include only the
1360
+ # configuration templates that apply to the resource types that you
1361
+ # specify here.
1362
+ # @return [Array<String>]
1363
+ #
1364
+ # @!attribute [rw] delivery_destination_types
1365
+ # Use this parameter to filter the response to include only the
1366
+ # configuration templates that apply to the delivery destination types
1367
+ # that you specify here.
1368
+ # @return [Array<String>]
1369
+ #
1370
+ # @!attribute [rw] next_token
1371
+ # The token for the next set of items to return. The token expires
1372
+ # after 24 hours.
1373
+ # @return [String]
1374
+ #
1375
+ # @!attribute [rw] limit
1376
+ # Use this parameter to limit the number of configuration templates
1377
+ # that are returned in the response.
1378
+ # @return [Integer]
1379
+ #
1380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeConfigurationTemplatesRequest AWS API Documentation
1381
+ #
1382
+ class DescribeConfigurationTemplatesRequest < Struct.new(
1383
+ :service,
1384
+ :log_types,
1385
+ :resource_types,
1386
+ :delivery_destination_types,
1387
+ :next_token,
1388
+ :limit)
1389
+ SENSITIVE = []
1390
+ include Aws::Structure
1391
+ end
1392
+
1393
+ # @!attribute [rw] configuration_templates
1394
+ # An array of objects, where each object describes one configuration
1395
+ # template that matches the filters that you specified in the request.
1396
+ # @return [Array<Types::ConfigurationTemplate>]
1397
+ #
1398
+ # @!attribute [rw] next_token
1399
+ # The token for the next set of items to return. The token expires
1400
+ # after 24 hours.
1401
+ # @return [String]
1402
+ #
1403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeConfigurationTemplatesResponse AWS API Documentation
1404
+ #
1405
+ class DescribeConfigurationTemplatesResponse < Struct.new(
1406
+ :configuration_templates,
1407
+ :next_token)
1408
+ SENSITIVE = []
1409
+ include Aws::Structure
1410
+ end
1411
+
1168
1412
  # @!attribute [rw] next_token
1169
1413
  # The token for the next set of items to return. The token expires
1170
1414
  # after 24 hours.
@@ -1896,14 +2140,14 @@ module Aws::CloudWatchLogs
1896
2140
  include Aws::Structure
1897
2141
  end
1898
2142
 
1899
- # Reserved for future use.
2143
+ # Reserved for internal use.
1900
2144
  #
1901
2145
  # @!attribute [rw] key_attributes
1902
- # Reserved for future use.
2146
+ # Reserved for internal use.
1903
2147
  # @return [Hash<String,String>]
1904
2148
  #
1905
2149
  # @!attribute [rw] attributes
1906
- # Reserved for future use.
2150
+ # Reserved for internal use.
1907
2151
  # @return [Hash<String,String>]
1908
2152
  #
1909
2153
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/Entity AWS API Documentation
@@ -3980,7 +4224,7 @@ module Aws::CloudWatchLogs
3980
4224
  # @return [String]
3981
4225
  #
3982
4226
  # @!attribute [rw] entity
3983
- # Reserved for future use.
4227
+ # Reserved for internal use.
3984
4228
  # @return [Types::Entity]
3985
4229
  #
3986
4230
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsRequest AWS API Documentation
@@ -4013,7 +4257,7 @@ module Aws::CloudWatchLogs
4013
4257
  # @return [Types::RejectedLogEventsInfo]
4014
4258
  #
4015
4259
  # @!attribute [rw] rejected_entity_info
4016
- # Reserved for future use.
4260
+ # Reserved for internal use.
4017
4261
  # @return [Types::RejectedEntityInfo]
4018
4262
  #
4019
4263
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsResponse AWS API Documentation
@@ -4431,10 +4675,43 @@ module Aws::CloudWatchLogs
4431
4675
  include Aws::Structure
4432
4676
  end
4433
4677
 
4434
- # Reserved for future use.
4678
+ # A structure that represents a valid record field header and whether it
4679
+ # is mandatory.
4680
+ #
4681
+ # @!attribute [rw] name
4682
+ # The name to use when specifying this record field in a
4683
+ # [CreateDelivery][1] or [UpdateDeliveryConfiguration][2] operation.
4684
+ #
4685
+ #
4686
+ #
4687
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html
4688
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html
4689
+ # @return [String]
4690
+ #
4691
+ # @!attribute [rw] mandatory
4692
+ # If this is `true`, the record field must be present in the
4693
+ # `recordFields` parameter provided to a [CreateDelivery][1] or
4694
+ # [UpdateDeliveryConfiguration][2] operation.
4695
+ #
4696
+ #
4697
+ #
4698
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html
4699
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html
4700
+ # @return [Boolean]
4701
+ #
4702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/RecordField AWS API Documentation
4703
+ #
4704
+ class RecordField < Struct.new(
4705
+ :name,
4706
+ :mandatory)
4707
+ SENSITIVE = []
4708
+ include Aws::Structure
4709
+ end
4710
+
4711
+ # Reserved for internal use.
4435
4712
  #
4436
4713
  # @!attribute [rw] error_type
4437
- # Reserved for future use.
4714
+ # Reserved for internal use.
4438
4715
  # @return [String]
4439
4716
  #
4440
4717
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/RejectedEntityInfo AWS API Documentation
@@ -4536,6 +4813,31 @@ module Aws::CloudWatchLogs
4536
4813
  include Aws::Structure
4537
4814
  end
4538
4815
 
4816
+ # This structure contains delivery configurations that apply only when
4817
+ # the delivery destination resource is an S3 bucket.
4818
+ #
4819
+ # @!attribute [rw] suffix_path
4820
+ # This string allows re-configuring the S3 object prefix to contain
4821
+ # either static or variable sections. The valid variables to use in
4822
+ # the suffix path will vary by each log source. See
4823
+ # ConfigurationTemplate$allowedSuffixPathFields for more info on what
4824
+ # values are supported in the suffix path for each log source.
4825
+ # @return [String]
4826
+ #
4827
+ # @!attribute [rw] enable_hive_compatible_path
4828
+ # This parameter causes the S3 objects that contain delivered logs to
4829
+ # use a prefix structure that allows for integration with Apache Hive.
4830
+ # @return [Boolean]
4831
+ #
4832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/S3DeliveryConfiguration AWS API Documentation
4833
+ #
4834
+ class S3DeliveryConfiguration < Struct.new(
4835
+ :suffix_path,
4836
+ :enable_hive_compatible_path)
4837
+ SENSITIVE = []
4838
+ include Aws::Structure
4839
+ end
4840
+
4539
4841
  # Represents the search status of a log stream.
4540
4842
  #
4541
4843
  # @!attribute [rw] log_stream_name
@@ -5069,6 +5371,41 @@ module Aws::CloudWatchLogs
5069
5371
  include Aws::Structure
5070
5372
  end
5071
5373
 
5374
+ # @!attribute [rw] id
5375
+ # The ID of the delivery to be updated by this request.
5376
+ # @return [String]
5377
+ #
5378
+ # @!attribute [rw] record_fields
5379
+ # The list of record fields to be delivered to the destination, in
5380
+ # order. If the delivery’s log source has mandatory fields, they must
5381
+ # be included in this list.
5382
+ # @return [Array<String>]
5383
+ #
5384
+ # @!attribute [rw] field_delimiter
5385
+ # The field delimiter to use between record fields when the final
5386
+ # output format of a delivery is in `Plain`, `W3C`, or `Raw` format.
5387
+ # @return [String]
5388
+ #
5389
+ # @!attribute [rw] s3_delivery_configuration
5390
+ # This structure contains parameters that are valid only when the
5391
+ # delivery’s delivery destination is an S3 bucket.
5392
+ # @return [Types::S3DeliveryConfiguration]
5393
+ #
5394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateDeliveryConfigurationRequest AWS API Documentation
5395
+ #
5396
+ class UpdateDeliveryConfigurationRequest < Struct.new(
5397
+ :id,
5398
+ :record_fields,
5399
+ :field_delimiter,
5400
+ :s3_delivery_configuration)
5401
+ SENSITIVE = []
5402
+ include Aws::Structure
5403
+ end
5404
+
5405
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateDeliveryConfigurationResponse AWS API Documentation
5406
+ #
5407
+ class UpdateDeliveryConfigurationResponse < Aws::EmptyStructure; end
5408
+
5072
5409
  # @!attribute [rw] anomaly_detector_arn
5073
5410
  # The ARN of the anomaly detector that you want to update.
5074
5411
  # @return [String]
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-cloudwatchlogs/event_streams'
53
53
  # @!group service
54
54
  module Aws::CloudWatchLogs
55
55
 
56
- GEM_VERSION = '1.89.0'
56
+ GEM_VERSION = '1.91.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -54,6 +54,7 @@ module Aws
54
54
  ?sigv4a_signing_region_set: Array[String],
55
55
  ?simple_json: bool,
56
56
  ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
57
58
  ?token_provider: untyped,
58
59
  ?use_dualstack_endpoint: bool,
59
60
  ?use_fips_endpoint: bool,
@@ -99,6 +100,12 @@ module Aws
99
100
  def create_delivery: (
100
101
  delivery_source_name: ::String,
101
102
  delivery_destination_arn: ::String,
103
+ ?record_fields: Array[::String],
104
+ ?field_delimiter: ::String,
105
+ ?s3_delivery_configuration: {
106
+ suffix_path: ::String?,
107
+ enable_hive_compatible_path: bool?
108
+ },
102
109
  ?tags: Hash[::String, ::String]
103
110
  ) -> _CreateDeliveryResponseSuccess
104
111
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeliveryResponseSuccess
@@ -261,6 +268,22 @@ module Aws
261
268
  ) -> _DescribeAccountPoliciesResponseSuccess
262
269
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountPoliciesResponseSuccess
263
270
 
271
+ interface _DescribeConfigurationTemplatesResponseSuccess
272
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeConfigurationTemplatesResponse]
273
+ def configuration_templates: () -> ::Array[Types::ConfigurationTemplate]
274
+ def next_token: () -> ::String
275
+ end
276
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_configuration_templates-instance_method
277
+ def describe_configuration_templates: (
278
+ ?service: ::String,
279
+ ?log_types: Array[::String],
280
+ ?resource_types: Array[::String],
281
+ ?delivery_destination_types: Array[("S3" | "CWL" | "FH")],
282
+ ?next_token: ::String,
283
+ ?limit: ::Integer
284
+ ) -> _DescribeConfigurationTemplatesResponseSuccess
285
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeConfigurationTemplatesResponseSuccess
286
+
264
287
  interface _DescribeDeliveriesResponseSuccess
265
288
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDeliveriesResponse]
266
289
  def deliveries: () -> ::Array[Types::Delivery]
@@ -892,6 +915,21 @@ module Aws
892
915
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
893
916
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
894
917
 
918
+ interface _UpdateDeliveryConfigurationResponseSuccess
919
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDeliveryConfigurationResponse]
920
+ end
921
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#update_delivery_configuration-instance_method
922
+ def update_delivery_configuration: (
923
+ id: ::String,
924
+ ?record_fields: Array[::String],
925
+ ?field_delimiter: ::String,
926
+ ?s3_delivery_configuration: {
927
+ suffix_path: ::String?,
928
+ enable_hive_compatible_path: bool?
929
+ }
930
+ ) -> _UpdateDeliveryConfigurationResponseSuccess
931
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDeliveryConfigurationResponseSuccess
932
+
895
933
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#update_log_anomaly_detector-instance_method
896
934
  def update_log_anomaly_detector: (
897
935
  anomaly_detector_arn: ::String,
data/sig/resource.rbs CHANGED
@@ -54,6 +54,7 @@ module Aws
54
54
  ?sigv4a_signing_region_set: Array[String],
55
55
  ?simple_json: bool,
56
56
  ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
57
58
  ?token_provider: untyped,
58
59
  ?use_dualstack_endpoint: bool,
59
60
  ?use_fips_endpoint: bool,
data/sig/types.rbs CHANGED
@@ -71,12 +71,36 @@ module Aws::CloudWatchLogs
71
71
  SENSITIVE: []
72
72
  end
73
73
 
74
+ class ConfigurationTemplate
75
+ attr_accessor service: ::String
76
+ attr_accessor log_type: ::String
77
+ attr_accessor resource_type: ::String
78
+ attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH")
79
+ attr_accessor default_delivery_config_values: Types::ConfigurationTemplateDeliveryConfigValues
80
+ attr_accessor allowed_fields: ::Array[Types::RecordField]
81
+ attr_accessor allowed_output_formats: ::Array[("json" | "plain" | "w3c" | "raw" | "parquet")]
82
+ attr_accessor allowed_action_for_allow_vended_logs_delivery_for_resource: ::String
83
+ attr_accessor allowed_field_delimiters: ::Array[::String]
84
+ attr_accessor allowed_suffix_path_fields: ::Array[::String]
85
+ SENSITIVE: []
86
+ end
87
+
88
+ class ConfigurationTemplateDeliveryConfigValues
89
+ attr_accessor record_fields: ::Array[::String]
90
+ attr_accessor field_delimiter: ::String
91
+ attr_accessor s3_delivery_configuration: Types::S3DeliveryConfiguration
92
+ SENSITIVE: []
93
+ end
94
+
74
95
  class ConflictException < Aws::EmptyStructure
75
96
  end
76
97
 
77
98
  class CreateDeliveryRequest
78
99
  attr_accessor delivery_source_name: ::String
79
100
  attr_accessor delivery_destination_arn: ::String
101
+ attr_accessor record_fields: ::Array[::String]
102
+ attr_accessor field_delimiter: ::String
103
+ attr_accessor s3_delivery_configuration: Types::S3DeliveryConfiguration
80
104
  attr_accessor tags: ::Hash[::String, ::String]
81
105
  SENSITIVE: []
82
106
  end
@@ -227,6 +251,9 @@ module Aws::CloudWatchLogs
227
251
  attr_accessor delivery_source_name: ::String
228
252
  attr_accessor delivery_destination_arn: ::String
229
253
  attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH")
254
+ attr_accessor record_fields: ::Array[::String]
255
+ attr_accessor field_delimiter: ::String
256
+ attr_accessor s3_delivery_configuration: Types::S3DeliveryConfiguration
230
257
  attr_accessor tags: ::Hash[::String, ::String]
231
258
  SENSITIVE: []
232
259
  end
@@ -268,6 +295,22 @@ module Aws::CloudWatchLogs
268
295
  SENSITIVE: []
269
296
  end
270
297
 
298
+ class DescribeConfigurationTemplatesRequest
299
+ attr_accessor service: ::String
300
+ attr_accessor log_types: ::Array[::String]
301
+ attr_accessor resource_types: ::Array[::String]
302
+ attr_accessor delivery_destination_types: ::Array[("S3" | "CWL" | "FH")]
303
+ attr_accessor next_token: ::String
304
+ attr_accessor limit: ::Integer
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class DescribeConfigurationTemplatesResponse
309
+ attr_accessor configuration_templates: ::Array[Types::ConfigurationTemplate]
310
+ attr_accessor next_token: ::String
311
+ SENSITIVE: []
312
+ end
313
+
271
314
  class DescribeDeliveriesRequest
272
315
  attr_accessor next_token: ::String
273
316
  attr_accessor limit: ::Integer
@@ -1016,6 +1059,12 @@ module Aws::CloudWatchLogs
1016
1059
  SENSITIVE: []
1017
1060
  end
1018
1061
 
1062
+ class RecordField
1063
+ attr_accessor name: ::String
1064
+ attr_accessor mandatory: bool
1065
+ SENSITIVE: []
1066
+ end
1067
+
1019
1068
  class RejectedEntityInfo
1020
1069
  attr_accessor error_type: ("InvalidEntity" | "InvalidTypeValue" | "InvalidKeyAttributes" | "InvalidAttributes" | "EntitySizeTooLarge" | "UnsupportedLogGroupType" | "MissingRequiredFields")
1021
1070
  SENSITIVE: []
@@ -1047,6 +1096,12 @@ module Aws::CloudWatchLogs
1047
1096
  SENSITIVE: []
1048
1097
  end
1049
1098
 
1099
+ class S3DeliveryConfiguration
1100
+ attr_accessor suffix_path: ::String
1101
+ attr_accessor enable_hive_compatible_path: bool
1102
+ SENSITIVE: []
1103
+ end
1104
+
1050
1105
  class SearchedLogStream
1051
1106
  attr_accessor log_stream_name: ::String
1052
1107
  attr_accessor searched_completely: bool
@@ -1183,6 +1238,17 @@ module Aws::CloudWatchLogs
1183
1238
  SENSITIVE: []
1184
1239
  end
1185
1240
 
1241
+ class UpdateDeliveryConfigurationRequest
1242
+ attr_accessor id: ::String
1243
+ attr_accessor record_fields: ::Array[::String]
1244
+ attr_accessor field_delimiter: ::String
1245
+ attr_accessor s3_delivery_configuration: Types::S3DeliveryConfiguration
1246
+ SENSITIVE: []
1247
+ end
1248
+
1249
+ class UpdateDeliveryConfigurationResponse < Aws::EmptyStructure
1250
+ end
1251
+
1186
1252
  class UpdateLogAnomalyDetectorRequest
1187
1253
  attr_accessor anomaly_detector_arn: ::String
1188
1254
  attr_accessor evaluation_frequency: ("ONE_MIN" | "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchlogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.89.0
4
+ version: 1.91.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-30 00:00:00.000000000 Z
11
+ date: 2024-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.201.0
22
+ version: 3.203.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement