aws-sdk-cloudwatchlogs 1.156.0 → 1.158.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: ab5f10c38ad4b140617f81629c5c33fe31a425a7b29d0398c453c58d744ac83b
4
- data.tar.gz: 2634cd67d159f34c96a1d507798ce93ac9ba928e7286015bb77c0c940cee3cce
3
+ metadata.gz: 56bade4ae9d31dfafc7961984f2a1e873236bb288d03baf825708138f5ddfa2b
4
+ data.tar.gz: 58593add3632dee13b3997a9965a69d1a92e9aaaa5408ca7c51d35fde2a77d70
5
5
  SHA512:
6
- metadata.gz: 4050525b4cb469868446a2e193a4b3ed21f99a68faffec806f38ae0e632be1c0caa376ed55fd9fedc1e1ff585e76c5b443ca40060b6f9dea39ed670f08fbb4db
7
- data.tar.gz: b885687169b410826ded26e838f9967837536e3b1c3e9b82e0b6a974278883f9b87b264f061e1b37dba2d448d93bd5b1dc265b56b017fae4009056662ab95f25
6
+ metadata.gz: d6c3cef4e178e320f4ee545a4f2ecef8553a3ac640237ffd4ef16376aff91bbd4ef78b8dbb528571cccef074db7e734f3c866d4b256bf74341267eba56b938b8
7
+ data.tar.gz: 810138b7add92b0ba590c8738efc24dd9510de287d538c096102557280a89236fc79743dcb07234b530fa439d4f7091f2fa172173f883c221bf155a88987b697
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.158.0 (2026-07-06)
5
+ ------------------
6
+
7
+ * Feature - Added PutStorageTierPolicy and GetStorageTierPolicy APIs to Amazon CloudWatch Logs. Customers can now configure account-level Intelligent Tiering to automatically optimize log storage costs by moving infrequently accessed data to lower-cost storage tiers.
8
+
9
+ 1.157.0 (2026-06-22)
10
+ ------------------
11
+
12
+ * Feature - CloudWatch Logs Updates - New APIs introduced to support syslog ingestion to a log group. For more information, see CloudWatch Logs API documentation.
13
+
4
14
  1.156.0 (2026-06-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.156.0
1
+ 1.158.0
@@ -2132,6 +2132,35 @@ module Aws::CloudWatchLogs
2132
2132
  req.send_request(options)
2133
2133
  end
2134
2134
 
2135
+ # Deletes a syslog configuration for a log group. After deletion, syslog
2136
+ # data is no longer ingested through the specified VPC endpoint.
2137
+ #
2138
+ # @option params [required, String] :log_group_identifier
2139
+ # The name or ARN of the log group to remove the syslog configuration
2140
+ # from.
2141
+ #
2142
+ # @option params [String] :vpc_endpoint_id
2143
+ # The ID of the VPC endpoint associated with the syslog configuration to
2144
+ # delete.
2145
+ #
2146
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2147
+ #
2148
+ # @example Request syntax with placeholder values
2149
+ #
2150
+ # resp = client.delete_syslog_configuration({
2151
+ # log_group_identifier: "LogGroupIdentifier", # required
2152
+ # vpc_endpoint_id: "VpcEndpointId",
2153
+ # })
2154
+ #
2155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSyslogConfiguration AWS API Documentation
2156
+ #
2157
+ # @overload delete_syslog_configuration(params = {})
2158
+ # @param [Hash] params ({})
2159
+ def delete_syslog_configuration(params = {}, options = {})
2160
+ req = build_request(:delete_syslog_configuration, params)
2161
+ req.send_request(options)
2162
+ end
2163
+
2135
2164
  # Deletes the log transformer for the specified log group. As soon as
2136
2165
  # you do this, the transformation of incoming log events according to
2137
2166
  # that transformer stops. If this account has an account-level
@@ -4891,6 +4920,27 @@ module Aws::CloudWatchLogs
4891
4920
  req.send_request(options)
4892
4921
  end
4893
4922
 
4923
+ # Returns the storage tier policy for your account.
4924
+ #
4925
+ # @return [Types::GetStorageTierPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4926
+ #
4927
+ # * {Types::GetStorageTierPolicyResponse#storage_tier #storage_tier} => String
4928
+ # * {Types::GetStorageTierPolicyResponse#last_updated_time #last_updated_time} => Integer
4929
+ #
4930
+ # @example Response structure
4931
+ #
4932
+ # resp.storage_tier #=> String, one of "STANDARD", "INTELLIGENT_TIERING"
4933
+ # resp.last_updated_time #=> Integer
4934
+ #
4935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetStorageTierPolicy AWS API Documentation
4936
+ #
4937
+ # @overload get_storage_tier_policy(params = {})
4938
+ # @param [Hash] params ({})
4939
+ def get_storage_tier_policy(params = {}, options = {})
4940
+ req = build_request(:get_storage_tier_policy, params)
4941
+ req.send_request(options)
4942
+ end
4943
+
4894
4944
  # Returns the information about the log transformer associated with this
4895
4945
  # log group.
4896
4946
  #
@@ -5612,6 +5662,54 @@ module Aws::CloudWatchLogs
5612
5662
  req.send_request(options)
5613
5663
  end
5614
5664
 
5665
+ # Returns a list of syslog configurations. You can optionally filter the
5666
+ # results by log group or VPC endpoint.
5667
+ #
5668
+ # @option params [String] :log_group_identifier
5669
+ # The name or ARN of the log group to filter syslog configurations for.
5670
+ #
5671
+ # @option params [String] :vpc_endpoint_id
5672
+ # The ID of the VPC endpoint to filter syslog configurations for.
5673
+ #
5674
+ # @option params [String] :next_token
5675
+ # The token for the next set of items to return. You received this token
5676
+ # from a previous call.
5677
+ #
5678
+ # @option params [Integer] :max_results
5679
+ # The maximum number of syslog configurations to return in the response.
5680
+ #
5681
+ # @return [Types::ListSyslogConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5682
+ #
5683
+ # * {Types::ListSyslogConfigurationsResponse#syslog_configurations #syslog_configurations} => Array<Types::SyslogConfiguration>
5684
+ # * {Types::ListSyslogConfigurationsResponse#next_token #next_token} => String
5685
+ #
5686
+ # @example Request syntax with placeholder values
5687
+ #
5688
+ # resp = client.list_syslog_configurations({
5689
+ # log_group_identifier: "LogGroupIdentifier",
5690
+ # vpc_endpoint_id: "VpcEndpointId",
5691
+ # next_token: "NextToken",
5692
+ # max_results: 1,
5693
+ # })
5694
+ #
5695
+ # @example Response structure
5696
+ #
5697
+ # resp.syslog_configurations #=> Array
5698
+ # resp.syslog_configurations[0].log_group_arn #=> String
5699
+ # resp.syslog_configurations[0].source_type #=> String, one of "VPCE"
5700
+ # resp.syslog_configurations[0].vpc_endpoint_id #=> String
5701
+ # resp.syslog_configurations[0].created_at #=> Integer
5702
+ # resp.next_token #=> String
5703
+ #
5704
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListSyslogConfigurations AWS API Documentation
5705
+ #
5706
+ # @overload list_syslog_configurations(params = {})
5707
+ # @param [Hash] params ({})
5708
+ def list_syslog_configurations(params = {}, options = {})
5709
+ req = build_request(:list_syslog_configurations, params)
5710
+ req.send_request(options)
5711
+ end
5712
+
5615
5713
  # Displays the tags associated with a CloudWatch Logs resource.
5616
5714
  # Currently, log groups and destinations support tagging.
5617
5715
  #
@@ -5696,6 +5794,44 @@ module Aws::CloudWatchLogs
5696
5794
  # policy that applies to all log groups, a subset of log groups, or a
5697
5795
  # data source name and type combination in the account.
5698
5796
  #
5797
+ # `PutAccountPolicy` is an account-wide administrative operation
5798
+ # intended for CloudWatch Logs administrators. Because it affects all
5799
+ # log groups (or a broad subset) in the account, you should grant
5800
+ # `logs:PutAccountPolicy` permissions only to administrators who manage
5801
+ # logging configuration across the account, not to application teams or
5802
+ # individual log group owners.
5803
+ #
5804
+ # **Conflict resolution between account-level and log-group-level
5805
+ # policies**
5806
+ #
5807
+ # When both an account-level policy and a log-group-level policy of the
5808
+ # same type apply to a log group, the resolution depends on the policy
5809
+ # type:
5810
+ #
5811
+ # * *Data protection* — The two policies are cumulative. Any sensitive
5812
+ # term specified in either the account-level or the log-group-level
5813
+ # policy is masked.
5814
+ #
5815
+ # * *Subscription filters* — Account-level and log-group-level
5816
+ # subscription filters are additive. A log group can have up to 1
5817
+ # account-level and up to 2 log-group-level subscription filters.
5818
+ #
5819
+ # * *Transformers* — A log-group-level transformer overrides the
5820
+ # account-level transformer. If a log group has its own transformer,
5821
+ # it ignores the account-level transformer policy.
5822
+ #
5823
+ # * *Field index policies* — If a log group has its own field index
5824
+ # policy (created with `PutIndexPolicy`), any account-level policy
5825
+ # that uses `LogGroupNamePrefix` selection criteria or has no
5826
+ # selection criteria is ignored for that log group. However,
5827
+ # account-level policies that use `DataSourceName` and
5828
+ # `DataSourceType` selection criteria still apply alongside the
5829
+ # log-group-level policy.
5830
+ #
5831
+ # * *Metric extraction policies* — Metric extraction policies are
5832
+ # account-level only and have no log-group-level equivalent, so no
5833
+ # conflict resolution applies.
5834
+ #
5699
5835
  # For field index policies, you can configure indexed fields as *facets*
5700
5836
  # to enable interactive exploration of your logs. Facets provide value
5701
5837
  # distributions and counts for indexed fields in the CloudWatch Logs
@@ -6675,8 +6811,8 @@ module Aws::CloudWatchLogs
6675
6811
  # * For Amazon Bedrock Agents, the valid values are `APPLICATION_LOGS`
6676
6812
  # and `EVENT_LOGS`.
6677
6813
  #
6678
- # * For Amazon Bedrock Knowledge Bases, the valid value is
6679
- # `APPLICATION_LOGS`.
6814
+ # * For Amazon Bedrock Knowledge Bases, the valid values are
6815
+ # `APPLICATION_LOGS` and `TRACES`.
6680
6816
  #
6681
6817
  # * For Amazon Bedrock AgentCore Runtime, the valid values are
6682
6818
  # `APPLICATION_LOGS`, `USAGE_LOGS` and `TRACES`.
@@ -6693,6 +6829,9 @@ module Aws::CloudWatchLogs
6693
6829
  # * For Amazon Bedrock AgentCore Gateway, the valid values are
6694
6830
  # `APPLICATION_LOGS` and `TRACES`.
6695
6831
  #
6832
+ # * For Amazon Bedrock AgentCore Payments, the valid values are
6833
+ # `APPLICATION_LOGS` and `TRACES`.
6834
+ #
6696
6835
  # * For CloudFront, the valid value is `ACCESS_LOGS`.
6697
6836
  #
6698
6837
  # * For DevOps Agent, the valid value is `APPLICATION_LOGS`.
@@ -6710,6 +6849,13 @@ module Aws::CloudWatchLogs
6710
6849
  # `AUTO_MODE_BLOCK_STORAGE_LOGS`, `AUTO_MODE_COMPUTE_LOGS`,
6711
6850
  # `AUTO_MODE_IPAM_LOGS`, and `AUTO_MODE_LOAD_BALANCING_LOGS`.
6712
6851
  #
6852
+ # * For Amazon EKS Capability Logs, the valid values are
6853
+ # `EKS_CAPABILITY_ACK_LOGS`, `EKS_CAPABILITY_ARGOCD_APPLICATION_LOGS`,
6854
+ # `EKS_CAPABILITY_ARGOCD_APPLICATIONSET_LOGS`,
6855
+ # `EKS_CAPABILITY_ARGOCD_COMMITSERVER_LOGS`,
6856
+ # `EKS_CAPABILITY_ARGOCD_REPOSERVER_LOGS`,
6857
+ # `EKS_CAPABILITY_ARGOCD_SERVER_LOGS`, and `EKS_CAPABILITY_KRO_LOGS`.
6858
+ #
6713
6859
  # * For Entity Resolution, the valid value is `WORKFLOW_LOGS`.
6714
6860
  #
6715
6861
  # * For IAM Identity Center, the valid value is `ERROR_LOGS`.
@@ -6722,13 +6868,16 @@ module Aws::CloudWatchLogs
6722
6868
  # * For PCS, the valid values are `PCS_SCHEDULER_LOGS`,
6723
6869
  # `PCS_JOBCOMP_LOGS`, and `PCS_SCHEDULER_AUDIT_LOGS`.
6724
6870
  #
6725
- # * For Quick, the valid values are `CHAT_LOGS` and `FEEDBACK_LOGS`.
6871
+ # * For Quick, the valid values are `AGENT_HOURS_LOGS`, `CHAT_LOGS`,
6872
+ # `FEEDBACK_LOGS`, and `INDEX_USAGE_LOGS`.
6726
6873
  #
6727
6874
  # * For Amazon Web Services RTB Fabric, the valid values is
6728
6875
  # `APPLICATION_LOGS`.
6729
6876
  #
6730
6877
  # * For Amazon Q, the valid values are `EVENT_LOGS` and `SYNC_JOB_LOGS`.
6731
6878
  #
6879
+ # * For Amazon S3, the valid value is `S3_SERVER_ACCESS_LOGS`.
6880
+ #
6732
6881
  # * For Amazon Web Services Security Hub CSPM, the valid value is
6733
6882
  # `SECURITY_FINDING_LOGS`.
6734
6883
  #
@@ -7681,6 +7830,40 @@ module Aws::CloudWatchLogs
7681
7830
  req.send_request(options)
7682
7831
  end
7683
7832
 
7833
+ # Sets the storage tier policy for your account. When you set the
7834
+ # storage tier to `INTELLIGENT_TIERING`, CloudWatch Logs automatically
7835
+ # moves your log data between storage tiers based on access patterns to
7836
+ # optimize costs.
7837
+ #
7838
+ # @option params [required, String] :storage_tier
7839
+ # The storage tier to set for the account. Valid values are `STANDARD`
7840
+ # and `INTELLIGENT_TIERING`.
7841
+ #
7842
+ # @return [Types::PutStorageTierPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7843
+ #
7844
+ # * {Types::PutStorageTierPolicyResponse#storage_tier #storage_tier} => String
7845
+ # * {Types::PutStorageTierPolicyResponse#last_updated_time #last_updated_time} => Integer
7846
+ #
7847
+ # @example Request syntax with placeholder values
7848
+ #
7849
+ # resp = client.put_storage_tier_policy({
7850
+ # storage_tier: "STANDARD", # required, accepts STANDARD, INTELLIGENT_TIERING
7851
+ # })
7852
+ #
7853
+ # @example Response structure
7854
+ #
7855
+ # resp.storage_tier #=> String, one of "STANDARD", "INTELLIGENT_TIERING"
7856
+ # resp.last_updated_time #=> Integer
7857
+ #
7858
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutStorageTierPolicy AWS API Documentation
7859
+ #
7860
+ # @overload put_storage_tier_policy(params = {})
7861
+ # @param [Hash] params ({})
7862
+ def put_storage_tier_policy(params = {}, options = {})
7863
+ req = build_request(:put_storage_tier_policy, params)
7864
+ req.send_request(options)
7865
+ end
7866
+
7684
7867
  # Creates or updates a subscription filter and associates it with the
7685
7868
  # specified log group. With subscription filters, you can subscribe to a
7686
7869
  # real-time stream of log events ingested through [PutLogEvents][1] and
@@ -7831,6 +8014,35 @@ module Aws::CloudWatchLogs
7831
8014
  req.send_request(options)
7832
8015
  end
7833
8016
 
8017
+ # Creates or updates a syslog configuration for a log group. This
8018
+ # enables ingestion of syslog data through the specified VPC endpoint
8019
+ # into the log group.
8020
+ #
8021
+ # @option params [required, String] :log_group_identifier
8022
+ # The name or ARN of the log group to associate with the syslog
8023
+ # configuration.
8024
+ #
8025
+ # @option params [String] :vpc_endpoint_id
8026
+ # The ID of the VPC endpoint to use for syslog ingestion.
8027
+ #
8028
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
8029
+ #
8030
+ # @example Request syntax with placeholder values
8031
+ #
8032
+ # resp = client.put_syslog_configuration({
8033
+ # log_group_identifier: "LogGroupIdentifier", # required
8034
+ # vpc_endpoint_id: "VpcEndpointId",
8035
+ # })
8036
+ #
8037
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSyslogConfiguration AWS API Documentation
8038
+ #
8039
+ # @overload put_syslog_configuration(params = {})
8040
+ # @param [Hash] params ({})
8041
+ def put_syslog_configuration(params = {}, options = {})
8042
+ req = build_request(:put_syslog_configuration, params)
8043
+ req.send_request(options)
8044
+ end
8045
+
7834
8046
  # Creates or updates a *log transformer* for a single log group. You use
7835
8047
  # log transformers to transform log events into a different format,
7836
8048
  # making them easier for you to process and analyze. You can also
@@ -9347,7 +9559,7 @@ module Aws::CloudWatchLogs
9347
9559
  tracer: tracer
9348
9560
  )
9349
9561
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
9350
- context[:gem_version] = '1.156.0'
9562
+ context[:gem_version] = '1.158.0'
9351
9563
  Seahorse::Client::Request.new(handlers, context)
9352
9564
  end
9353
9565
 
@@ -118,6 +118,7 @@ module Aws::CloudWatchLogs
118
118
  DeleteScheduledQueryRequest = Shapes::StructureShape.new(name: 'DeleteScheduledQueryRequest')
119
119
  DeleteScheduledQueryResponse = Shapes::StructureShape.new(name: 'DeleteScheduledQueryResponse')
120
120
  DeleteSubscriptionFilterRequest = Shapes::StructureShape.new(name: 'DeleteSubscriptionFilterRequest')
121
+ DeleteSyslogConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteSyslogConfigurationRequest')
121
122
  DeleteTransformerRequest = Shapes::StructureShape.new(name: 'DeleteTransformerRequest')
122
123
  DeleteWithKeys = Shapes::ListShape.new(name: 'DeleteWithKeys')
123
124
  DeletionProtectionEnabled = Shapes::BooleanShape.new(name: 'DeletionProtectionEnabled')
@@ -301,6 +302,8 @@ module Aws::CloudWatchLogs
301
302
  GetScheduledQueryHistoryResponse = Shapes::StructureShape.new(name: 'GetScheduledQueryHistoryResponse')
302
303
  GetScheduledQueryRequest = Shapes::StructureShape.new(name: 'GetScheduledQueryRequest')
303
304
  GetScheduledQueryResponse = Shapes::StructureShape.new(name: 'GetScheduledQueryResponse')
305
+ GetStorageTierPolicyRequest = Shapes::StructureShape.new(name: 'GetStorageTierPolicyRequest')
306
+ GetStorageTierPolicyResponse = Shapes::StructureShape.new(name: 'GetStorageTierPolicyResponse')
304
307
  GetTransformerRequest = Shapes::StructureShape.new(name: 'GetTransformerRequest')
305
308
  GetTransformerResponse = Shapes::StructureShape.new(name: 'GetTransformerResponse')
306
309
  Grok = Shapes::StructureShape.new(name: 'Grok')
@@ -375,6 +378,9 @@ module Aws::CloudWatchLogs
375
378
  ListSourcesForS3TableIntegrationMaxResults = Shapes::IntegerShape.new(name: 'ListSourcesForS3TableIntegrationMaxResults')
376
379
  ListSourcesForS3TableIntegrationRequest = Shapes::StructureShape.new(name: 'ListSourcesForS3TableIntegrationRequest')
377
380
  ListSourcesForS3TableIntegrationResponse = Shapes::StructureShape.new(name: 'ListSourcesForS3TableIntegrationResponse')
381
+ ListSyslogConfigurationsMaxResults = Shapes::IntegerShape.new(name: 'ListSyslogConfigurationsMaxResults')
382
+ ListSyslogConfigurationsRequest = Shapes::StructureShape.new(name: 'ListSyslogConfigurationsRequest')
383
+ ListSyslogConfigurationsResponse = Shapes::StructureShape.new(name: 'ListSyslogConfigurationsResponse')
378
384
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
379
385
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
380
386
  ListTagsLogGroupRequest = Shapes::StructureShape.new(name: 'ListTagsLogGroupRequest')
@@ -519,7 +525,10 @@ module Aws::CloudWatchLogs
519
525
  PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
520
526
  PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
521
527
  PutRetentionPolicyRequest = Shapes::StructureShape.new(name: 'PutRetentionPolicyRequest')
528
+ PutStorageTierPolicyRequest = Shapes::StructureShape.new(name: 'PutStorageTierPolicyRequest')
529
+ PutStorageTierPolicyResponse = Shapes::StructureShape.new(name: 'PutStorageTierPolicyResponse')
522
530
  PutSubscriptionFilterRequest = Shapes::StructureShape.new(name: 'PutSubscriptionFilterRequest')
531
+ PutSyslogConfigurationRequest = Shapes::StructureShape.new(name: 'PutSyslogConfigurationRequest')
523
532
  PutTransformerRequest = Shapes::StructureShape.new(name: 'PutTransformerRequest')
524
533
  QueryCharOffset = Shapes::IntegerShape.new(name: 'QueryCharOffset')
525
534
  QueryCompileError = Shapes::StructureShape.new(name: 'QueryCompileError')
@@ -620,6 +629,7 @@ module Aws::CloudWatchLogs
620
629
  StatsValue = Shapes::FloatShape.new(name: 'StatsValue')
621
630
  StopQueryRequest = Shapes::StructureShape.new(name: 'StopQueryRequest')
622
631
  StopQueryResponse = Shapes::StructureShape.new(name: 'StopQueryResponse')
632
+ StorageTier = Shapes::StringShape.new(name: 'StorageTier')
623
633
  StoredBytes = Shapes::IntegerShape.new(name: 'StoredBytes')
624
634
  String = Shapes::StringShape.new(name: 'String')
625
635
  SubscriptionFilter = Shapes::StructureShape.new(name: 'SubscriptionFilter')
@@ -632,6 +642,9 @@ module Aws::CloudWatchLogs
632
642
  SuppressionState = Shapes::StringShape.new(name: 'SuppressionState')
633
643
  SuppressionType = Shapes::StringShape.new(name: 'SuppressionType')
634
644
  SuppressionUnit = Shapes::StringShape.new(name: 'SuppressionUnit')
645
+ SyslogConfiguration = Shapes::StructureShape.new(name: 'SyslogConfiguration')
646
+ SyslogConfigurations = Shapes::ListShape.new(name: 'SyslogConfigurations')
647
+ SyslogSourceType = Shapes::StringShape.new(name: 'SyslogSourceType')
635
648
  SystemField = Shapes::StringShape.new(name: 'SystemField')
636
649
  TableBody = Shapes::StringShape.new(name: 'TableBody')
637
650
  TableFields = Shapes::ListShape.new(name: 'TableFields')
@@ -693,6 +706,7 @@ module Aws::CloudWatchLogs
693
706
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
694
707
  Value = Shapes::StringShape.new(name: 'Value')
695
708
  ValueKey = Shapes::StringShape.new(name: 'ValueKey')
709
+ VpcEndpointId = Shapes::StringShape.new(name: 'VpcEndpointId')
696
710
  WithKey = Shapes::StringShape.new(name: 'WithKey')
697
711
 
698
712
  AccessDeniedException.struct_class = Types::AccessDeniedException
@@ -1022,6 +1036,10 @@ module Aws::CloudWatchLogs
1022
1036
  DeleteSubscriptionFilterRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "filterName"))
1023
1037
  DeleteSubscriptionFilterRequest.struct_class = Types::DeleteSubscriptionFilterRequest
1024
1038
 
1039
+ DeleteSyslogConfigurationRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, required: true, location_name: "logGroupIdentifier"))
1040
+ DeleteSyslogConfigurationRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
1041
+ DeleteSyslogConfigurationRequest.struct_class = Types::DeleteSyslogConfigurationRequest
1042
+
1025
1043
  DeleteTransformerRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, required: true, location_name: "logGroupIdentifier"))
1026
1044
  DeleteTransformerRequest.struct_class = Types::DeleteTransformerRequest
1027
1045
 
@@ -1560,6 +1578,12 @@ module Aws::CloudWatchLogs
1560
1578
  GetScheduledQueryResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
1561
1579
  GetScheduledQueryResponse.struct_class = Types::GetScheduledQueryResponse
1562
1580
 
1581
+ GetStorageTierPolicyRequest.struct_class = Types::GetStorageTierPolicyRequest
1582
+
1583
+ GetStorageTierPolicyResponse.add_member(:storage_tier, Shapes::ShapeRef.new(shape: StorageTier, location_name: "storageTier"))
1584
+ GetStorageTierPolicyResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
1585
+ GetStorageTierPolicyResponse.struct_class = Types::GetStorageTierPolicyResponse
1586
+
1563
1587
  GetTransformerRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, required: true, location_name: "logGroupIdentifier"))
1564
1588
  GetTransformerRequest.struct_class = Types::GetTransformerRequest
1565
1589
 
@@ -1741,6 +1765,16 @@ module Aws::CloudWatchLogs
1741
1765
  ListSourcesForS3TableIntegrationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1742
1766
  ListSourcesForS3TableIntegrationResponse.struct_class = Types::ListSourcesForS3TableIntegrationResponse
1743
1767
 
1768
+ ListSyslogConfigurationsRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, location_name: "logGroupIdentifier"))
1769
+ ListSyslogConfigurationsRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
1770
+ ListSyslogConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1771
+ ListSyslogConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSyslogConfigurationsMaxResults, location_name: "maxResults"))
1772
+ ListSyslogConfigurationsRequest.struct_class = Types::ListSyslogConfigurationsRequest
1773
+
1774
+ ListSyslogConfigurationsResponse.add_member(:syslog_configurations, Shapes::ShapeRef.new(shape: SyslogConfigurations, location_name: "syslogConfigurations"))
1775
+ ListSyslogConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1776
+ ListSyslogConfigurationsResponse.struct_class = Types::ListSyslogConfigurationsResponse
1777
+
1744
1778
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "resourceArn"))
1745
1779
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
1746
1780
 
@@ -2187,6 +2221,13 @@ module Aws::CloudWatchLogs
2187
2221
  PutRetentionPolicyRequest.add_member(:retention_in_days, Shapes::ShapeRef.new(shape: Days, required: true, location_name: "retentionInDays"))
2188
2222
  PutRetentionPolicyRequest.struct_class = Types::PutRetentionPolicyRequest
2189
2223
 
2224
+ PutStorageTierPolicyRequest.add_member(:storage_tier, Shapes::ShapeRef.new(shape: StorageTier, required: true, location_name: "storageTier"))
2225
+ PutStorageTierPolicyRequest.struct_class = Types::PutStorageTierPolicyRequest
2226
+
2227
+ PutStorageTierPolicyResponse.add_member(:storage_tier, Shapes::ShapeRef.new(shape: StorageTier, location_name: "storageTier"))
2228
+ PutStorageTierPolicyResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
2229
+ PutStorageTierPolicyResponse.struct_class = Types::PutStorageTierPolicyResponse
2230
+
2190
2231
  PutSubscriptionFilterRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
2191
2232
  PutSubscriptionFilterRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "filterName"))
2192
2233
  PutSubscriptionFilterRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, required: true, location_name: "filterPattern"))
@@ -2198,6 +2239,10 @@ module Aws::CloudWatchLogs
2198
2239
  PutSubscriptionFilterRequest.add_member(:emit_system_fields, Shapes::ShapeRef.new(shape: EmitSystemFields, location_name: "emitSystemFields"))
2199
2240
  PutSubscriptionFilterRequest.struct_class = Types::PutSubscriptionFilterRequest
2200
2241
 
2242
+ PutSyslogConfigurationRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, required: true, location_name: "logGroupIdentifier"))
2243
+ PutSyslogConfigurationRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
2244
+ PutSyslogConfigurationRequest.struct_class = Types::PutSyslogConfigurationRequest
2245
+
2201
2246
  PutTransformerRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, required: true, location_name: "logGroupIdentifier"))
2202
2247
  PutTransformerRequest.add_member(:transformer_config, Shapes::ShapeRef.new(shape: Processors, required: true, location_name: "transformerConfig"))
2203
2248
  PutTransformerRequest.struct_class = Types::PutTransformerRequest
@@ -2444,6 +2489,14 @@ module Aws::CloudWatchLogs
2444
2489
  SuppressionPeriod.add_member(:suppression_unit, Shapes::ShapeRef.new(shape: SuppressionUnit, location_name: "suppressionUnit"))
2445
2490
  SuppressionPeriod.struct_class = Types::SuppressionPeriod
2446
2491
 
2492
+ SyslogConfiguration.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "logGroupArn"))
2493
+ SyslogConfiguration.add_member(:source_type, Shapes::ShapeRef.new(shape: SyslogSourceType, location_name: "sourceType"))
2494
+ SyslogConfiguration.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
2495
+ SyslogConfiguration.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
2496
+ SyslogConfiguration.struct_class = Types::SyslogConfiguration
2497
+
2498
+ SyslogConfigurations.member = Shapes::ShapeRef.new(shape: SyslogConfiguration)
2499
+
2447
2500
  TableFields.member = Shapes::ShapeRef.new(shape: String)
2448
2501
 
2449
2502
  TagFilter.add_member(:key, Shapes::ShapeRef.new(shape: TagFilterKey, required: true, location_name: "key"))
@@ -3027,6 +3080,21 @@ module Aws::CloudWatchLogs
3027
3080
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3028
3081
  end)
3029
3082
 
3083
+ api.add_operation(:delete_syslog_configuration, Seahorse::Model::Operation.new.tap do |o|
3084
+ o.name = "DeleteSyslogConfiguration"
3085
+ o.http_method = "POST"
3086
+ o.http_request_uri = "/"
3087
+ o.input = Shapes::ShapeRef.new(shape: DeleteSyslogConfigurationRequest)
3088
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3089
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3090
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3091
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
3092
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
3093
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3094
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3095
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3096
+ end)
3097
+
3030
3098
  api.add_operation(:delete_transformer, Seahorse::Model::Operation.new.tap do |o|
3031
3099
  o.name = "DeleteTransformer"
3032
3100
  o.http_method = "POST"
@@ -3563,6 +3631,19 @@ module Aws::CloudWatchLogs
3563
3631
  )
3564
3632
  end)
3565
3633
 
3634
+ api.add_operation(:get_storage_tier_policy, Seahorse::Model::Operation.new.tap do |o|
3635
+ o.name = "GetStorageTierPolicy"
3636
+ o.http_method = "POST"
3637
+ o.http_request_uri = "/"
3638
+ o.input = Shapes::ShapeRef.new(shape: GetStorageTierPolicyRequest)
3639
+ o.output = Shapes::ShapeRef.new(shape: GetStorageTierPolicyResponse)
3640
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3641
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3642
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3643
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
3644
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3645
+ end)
3646
+
3566
3647
  api.add_operation(:get_transformer, Seahorse::Model::Operation.new.tap do |o|
3567
3648
  o.name = "GetTransformer"
3568
3649
  o.http_method = "POST"
@@ -3703,6 +3784,20 @@ module Aws::CloudWatchLogs
3703
3784
  )
3704
3785
  end)
3705
3786
 
3787
+ api.add_operation(:list_syslog_configurations, Seahorse::Model::Operation.new.tap do |o|
3788
+ o.name = "ListSyslogConfigurations"
3789
+ o.http_method = "POST"
3790
+ o.http_request_uri = "/"
3791
+ o.input = Shapes::ShapeRef.new(shape: ListSyslogConfigurationsRequest)
3792
+ o.output = Shapes::ShapeRef.new(shape: ListSyslogConfigurationsResponse)
3793
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3794
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3795
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
3796
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3797
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3798
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3799
+ end)
3800
+
3706
3801
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
3707
3802
  o.name = "ListTagsForResource"
3708
3803
  o.http_method = "POST"
@@ -3930,6 +4025,19 @@ module Aws::CloudWatchLogs
3930
4025
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3931
4026
  end)
3932
4027
 
4028
+ api.add_operation(:put_storage_tier_policy, Seahorse::Model::Operation.new.tap do |o|
4029
+ o.name = "PutStorageTierPolicy"
4030
+ o.http_method = "POST"
4031
+ o.http_request_uri = "/"
4032
+ o.input = Shapes::ShapeRef.new(shape: PutStorageTierPolicyRequest)
4033
+ o.output = Shapes::ShapeRef.new(shape: PutStorageTierPolicyResponse)
4034
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4035
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
4036
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4037
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
4038
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4039
+ end)
4040
+
3933
4041
  api.add_operation(:put_subscription_filter, Seahorse::Model::Operation.new.tap do |o|
3934
4042
  o.name = "PutSubscriptionFilter"
3935
4043
  o.http_method = "POST"
@@ -3944,6 +4052,21 @@ module Aws::CloudWatchLogs
3944
4052
  o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
3945
4053
  end)
3946
4054
 
4055
+ api.add_operation(:put_syslog_configuration, Seahorse::Model::Operation.new.tap do |o|
4056
+ o.name = "PutSyslogConfiguration"
4057
+ o.http_method = "POST"
4058
+ o.http_request_uri = "/"
4059
+ o.input = Shapes::ShapeRef.new(shape: PutSyslogConfigurationRequest)
4060
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
4061
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4062
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4063
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
4064
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
4065
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4066
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4067
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
4068
+ end)
4069
+
3947
4070
  api.add_operation(:put_transformer, Seahorse::Model::Operation.new.tap do |o|
3948
4071
  o.name = "PutTransformer"
3949
4072
  o.http_method = "POST"
@@ -1789,6 +1789,25 @@ module Aws::CloudWatchLogs
1789
1789
  include Aws::Structure
1790
1790
  end
1791
1791
 
1792
+ # @!attribute [rw] log_group_identifier
1793
+ # The name or ARN of the log group to remove the syslog configuration
1794
+ # from.
1795
+ # @return [String]
1796
+ #
1797
+ # @!attribute [rw] vpc_endpoint_id
1798
+ # The ID of the VPC endpoint associated with the syslog configuration
1799
+ # to delete.
1800
+ # @return [String]
1801
+ #
1802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSyslogConfigurationRequest AWS API Documentation
1803
+ #
1804
+ class DeleteSyslogConfigurationRequest < Struct.new(
1805
+ :log_group_identifier,
1806
+ :vpc_endpoint_id)
1807
+ SENSITIVE = []
1808
+ include Aws::Structure
1809
+ end
1810
+
1792
1811
  # @!attribute [rw] log_group_identifier
1793
1812
  # Specify either the name or ARN of the log group to delete the
1794
1813
  # transformer for. If the log group is in a source account and you are
@@ -4576,6 +4595,30 @@ module Aws::CloudWatchLogs
4576
4595
  include Aws::Structure
4577
4596
  end
4578
4597
 
4598
+ # @api private
4599
+ #
4600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetStorageTierPolicyRequest AWS API Documentation
4601
+ #
4602
+ class GetStorageTierPolicyRequest < Aws::EmptyStructure; end
4603
+
4604
+ # @!attribute [rw] storage_tier
4605
+ # The current storage tier for the account.
4606
+ # @return [String]
4607
+ #
4608
+ # @!attribute [rw] last_updated_time
4609
+ # The time when the storage tier policy was last updated, expressed as
4610
+ # the number of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
4611
+ # @return [Integer]
4612
+ #
4613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetStorageTierPolicyResponse AWS API Documentation
4614
+ #
4615
+ class GetStorageTierPolicyResponse < Struct.new(
4616
+ :storage_tier,
4617
+ :last_updated_time)
4618
+ SENSITIVE = []
4619
+ include Aws::Structure
4620
+ end
4621
+
4579
4622
  # @!attribute [rw] log_group_identifier
4580
4623
  # Specify either the name or ARN of the log group to return
4581
4624
  # transformer information for. If the log group is in a source account
@@ -5465,6 +5508,54 @@ module Aws::CloudWatchLogs
5465
5508
  include Aws::Structure
5466
5509
  end
5467
5510
 
5511
+ # @!attribute [rw] log_group_identifier
5512
+ # The name or ARN of the log group to filter syslog configurations
5513
+ # for.
5514
+ # @return [String]
5515
+ #
5516
+ # @!attribute [rw] vpc_endpoint_id
5517
+ # The ID of the VPC endpoint to filter syslog configurations for.
5518
+ # @return [String]
5519
+ #
5520
+ # @!attribute [rw] next_token
5521
+ # The token for the next set of items to return. You received this
5522
+ # token from a previous call.
5523
+ # @return [String]
5524
+ #
5525
+ # @!attribute [rw] max_results
5526
+ # The maximum number of syslog configurations to return in the
5527
+ # response.
5528
+ # @return [Integer]
5529
+ #
5530
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListSyslogConfigurationsRequest AWS API Documentation
5531
+ #
5532
+ class ListSyslogConfigurationsRequest < Struct.new(
5533
+ :log_group_identifier,
5534
+ :vpc_endpoint_id,
5535
+ :next_token,
5536
+ :max_results)
5537
+ SENSITIVE = []
5538
+ include Aws::Structure
5539
+ end
5540
+
5541
+ # @!attribute [rw] syslog_configurations
5542
+ # The list of syslog configurations.
5543
+ # @return [Array<Types::SyslogConfiguration>]
5544
+ #
5545
+ # @!attribute [rw] next_token
5546
+ # The token for the next set of items to return. The token expires
5547
+ # after 24 hours.
5548
+ # @return [String]
5549
+ #
5550
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListSyslogConfigurationsResponse AWS API Documentation
5551
+ #
5552
+ class ListSyslogConfigurationsResponse < Struct.new(
5553
+ :syslog_configurations,
5554
+ :next_token)
5555
+ SENSITIVE = []
5556
+ include Aws::Structure
5557
+ end
5558
+
5468
5559
  # @!attribute [rw] resource_arn
5469
5560
  # The ARN of the resource that you want to view tags for.
5470
5561
  #
@@ -7896,8 +7987,8 @@ module Aws::CloudWatchLogs
7896
7987
  # * For Amazon Bedrock Agents, the valid values are `APPLICATION_LOGS`
7897
7988
  # and `EVENT_LOGS`.
7898
7989
  #
7899
- # * For Amazon Bedrock Knowledge Bases, the valid value is
7900
- # `APPLICATION_LOGS`.
7990
+ # * For Amazon Bedrock Knowledge Bases, the valid values are
7991
+ # `APPLICATION_LOGS` and `TRACES`.
7901
7992
  #
7902
7993
  # * For Amazon Bedrock AgentCore Runtime, the valid values are
7903
7994
  # `APPLICATION_LOGS`, `USAGE_LOGS` and `TRACES`.
@@ -7914,6 +8005,9 @@ module Aws::CloudWatchLogs
7914
8005
  # * For Amazon Bedrock AgentCore Gateway, the valid values are
7915
8006
  # `APPLICATION_LOGS` and `TRACES`.
7916
8007
  #
8008
+ # * For Amazon Bedrock AgentCore Payments, the valid values are
8009
+ # `APPLICATION_LOGS` and `TRACES`.
8010
+ #
7917
8011
  # * For CloudFront, the valid value is `ACCESS_LOGS`.
7918
8012
  #
7919
8013
  # * For DevOps Agent, the valid value is `APPLICATION_LOGS`.
@@ -7931,6 +8025,15 @@ module Aws::CloudWatchLogs
7931
8025
  # `AUTO_MODE_BLOCK_STORAGE_LOGS`, `AUTO_MODE_COMPUTE_LOGS`,
7932
8026
  # `AUTO_MODE_IPAM_LOGS`, and `AUTO_MODE_LOAD_BALANCING_LOGS`.
7933
8027
  #
8028
+ # * For Amazon EKS Capability Logs, the valid values are
8029
+ # `EKS_CAPABILITY_ACK_LOGS`,
8030
+ # `EKS_CAPABILITY_ARGOCD_APPLICATION_LOGS`,
8031
+ # `EKS_CAPABILITY_ARGOCD_APPLICATIONSET_LOGS`,
8032
+ # `EKS_CAPABILITY_ARGOCD_COMMITSERVER_LOGS`,
8033
+ # `EKS_CAPABILITY_ARGOCD_REPOSERVER_LOGS`,
8034
+ # `EKS_CAPABILITY_ARGOCD_SERVER_LOGS`, and
8035
+ # `EKS_CAPABILITY_KRO_LOGS`.
8036
+ #
7934
8037
  # * For Entity Resolution, the valid value is `WORKFLOW_LOGS`.
7935
8038
  #
7936
8039
  # * For IAM Identity Center, the valid value is `ERROR_LOGS`.
@@ -7943,7 +8046,8 @@ module Aws::CloudWatchLogs
7943
8046
  # * For PCS, the valid values are `PCS_SCHEDULER_LOGS`,
7944
8047
  # `PCS_JOBCOMP_LOGS`, and `PCS_SCHEDULER_AUDIT_LOGS`.
7945
8048
  #
7946
- # * For Quick, the valid values are `CHAT_LOGS` and `FEEDBACK_LOGS`.
8049
+ # * For Quick, the valid values are `AGENT_HOURS_LOGS`, `CHAT_LOGS`,
8050
+ # `FEEDBACK_LOGS`, and `INDEX_USAGE_LOGS`.
7947
8051
  #
7948
8052
  # * For Amazon Web Services RTB Fabric, the valid values is
7949
8053
  # `APPLICATION_LOGS`.
@@ -7951,6 +8055,8 @@ module Aws::CloudWatchLogs
7951
8055
  # * For Amazon Q, the valid values are `EVENT_LOGS` and
7952
8056
  # `SYNC_JOB_LOGS`.
7953
8057
  #
8058
+ # * For Amazon S3, the valid value is `S3_SERVER_ACCESS_LOGS`.
8059
+ #
7954
8060
  # * For Amazon Web Services Security Hub CSPM, the valid value is
7955
8061
  # `SECURITY_FINDING_LOGS`.
7956
8062
  #
@@ -8564,6 +8670,37 @@ module Aws::CloudWatchLogs
8564
8670
  include Aws::Structure
8565
8671
  end
8566
8672
 
8673
+ # @!attribute [rw] storage_tier
8674
+ # The storage tier to set for the account. Valid values are `STANDARD`
8675
+ # and `INTELLIGENT_TIERING`.
8676
+ # @return [String]
8677
+ #
8678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutStorageTierPolicyRequest AWS API Documentation
8679
+ #
8680
+ class PutStorageTierPolicyRequest < Struct.new(
8681
+ :storage_tier)
8682
+ SENSITIVE = []
8683
+ include Aws::Structure
8684
+ end
8685
+
8686
+ # @!attribute [rw] storage_tier
8687
+ # The storage tier that was set.
8688
+ # @return [String]
8689
+ #
8690
+ # @!attribute [rw] last_updated_time
8691
+ # The time when the storage tier policy was last updated, expressed as
8692
+ # the number of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
8693
+ # @return [Integer]
8694
+ #
8695
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutStorageTierPolicyResponse AWS API Documentation
8696
+ #
8697
+ class PutStorageTierPolicyResponse < Struct.new(
8698
+ :storage_tier,
8699
+ :last_updated_time)
8700
+ SENSITIVE = []
8701
+ include Aws::Structure
8702
+ end
8703
+
8567
8704
  # @!attribute [rw] log_group_name
8568
8705
  # The name of the log group.
8569
8706
  # @return [String]
@@ -8671,6 +8808,24 @@ module Aws::CloudWatchLogs
8671
8808
  include Aws::Structure
8672
8809
  end
8673
8810
 
8811
+ # @!attribute [rw] log_group_identifier
8812
+ # The name or ARN of the log group to associate with the syslog
8813
+ # configuration.
8814
+ # @return [String]
8815
+ #
8816
+ # @!attribute [rw] vpc_endpoint_id
8817
+ # The ID of the VPC endpoint to use for syslog ingestion.
8818
+ # @return [String]
8819
+ #
8820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSyslogConfigurationRequest AWS API Documentation
8821
+ #
8822
+ class PutSyslogConfigurationRequest < Struct.new(
8823
+ :log_group_identifier,
8824
+ :vpc_endpoint_id)
8825
+ SENSITIVE = []
8826
+ include Aws::Structure
8827
+ end
8828
+
8674
8829
  # @!attribute [rw] log_group_identifier
8675
8830
  # Specify either the name or ARN of the log group to create the
8676
8831
  # transformer for.
@@ -9899,6 +10054,37 @@ module Aws::CloudWatchLogs
9899
10054
  include Aws::Structure
9900
10055
  end
9901
10056
 
10057
+ # Contains information about a syslog configuration associated with a
10058
+ # log group.
10059
+ #
10060
+ # @!attribute [rw] log_group_arn
10061
+ # The ARN of the log group associated with this syslog configuration.
10062
+ # @return [String]
10063
+ #
10064
+ # @!attribute [rw] source_type
10065
+ # The source type for the syslog configuration.
10066
+ # @return [String]
10067
+ #
10068
+ # @!attribute [rw] vpc_endpoint_id
10069
+ # The ID of the VPC endpoint used for syslog ingestion.
10070
+ # @return [String]
10071
+ #
10072
+ # @!attribute [rw] created_at
10073
+ # The time when the syslog configuration was created, expressed as the
10074
+ # number of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
10075
+ # @return [Integer]
10076
+ #
10077
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/SyslogConfiguration AWS API Documentation
10078
+ #
10079
+ class SyslogConfiguration < Struct.new(
10080
+ :log_group_arn,
10081
+ :source_type,
10082
+ :vpc_endpoint_id,
10083
+ :created_at)
10084
+ SENSITIVE = []
10085
+ include Aws::Structure
10086
+ end
10087
+
9902
10088
  # A tag filter that specifies a tag key and optional tag values for
9903
10089
  # filtering log groups by tags.
9904
10090
  #
@@ -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.156.0'
58
+ GEM_VERSION = '1.158.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -382,6 +382,13 @@ module Aws
382
382
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
383
383
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
384
384
 
385
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_syslog_configuration-instance_method
386
+ def delete_syslog_configuration: (
387
+ log_group_identifier: ::String,
388
+ ?vpc_endpoint_id: ::String
389
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
390
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
391
+
385
392
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_transformer-instance_method
386
393
  def delete_transformer: (
387
394
  log_group_identifier: ::String
@@ -925,6 +932,16 @@ module Aws
925
932
  ) -> _GetScheduledQueryHistoryResponseSuccess
926
933
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetScheduledQueryHistoryResponseSuccess
927
934
 
935
+ interface _GetStorageTierPolicyResponseSuccess
936
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetStorageTierPolicyResponse]
937
+ def storage_tier: () -> ("STANDARD" | "INTELLIGENT_TIERING")
938
+ def last_updated_time: () -> ::Integer
939
+ end
940
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_storage_tier_policy-instance_method
941
+ def get_storage_tier_policy: (
942
+ ) -> _GetStorageTierPolicyResponseSuccess
943
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStorageTierPolicyResponseSuccess
944
+
928
945
  interface _GetTransformerResponseSuccess
929
946
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTransformerResponse]
930
947
  def log_group_identifier: () -> ::String
@@ -1069,6 +1086,20 @@ module Aws
1069
1086
  ) -> _ListSourcesForS3TableIntegrationResponseSuccess
1070
1087
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSourcesForS3TableIntegrationResponseSuccess
1071
1088
 
1089
+ interface _ListSyslogConfigurationsResponseSuccess
1090
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSyslogConfigurationsResponse]
1091
+ def syslog_configurations: () -> ::Array[Types::SyslogConfiguration]
1092
+ def next_token: () -> ::String
1093
+ end
1094
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_syslog_configurations-instance_method
1095
+ def list_syslog_configurations: (
1096
+ ?log_group_identifier: ::String,
1097
+ ?vpc_endpoint_id: ::String,
1098
+ ?next_token: ::String,
1099
+ ?max_results: ::Integer
1100
+ ) -> _ListSyslogConfigurationsResponseSuccess
1101
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSyslogConfigurationsResponseSuccess
1102
+
1072
1103
  interface _ListTagsForResourceResponseSuccess
1073
1104
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
1074
1105
  def tags: () -> ::Hash[::String, ::String]
@@ -1312,6 +1343,17 @@ module Aws
1312
1343
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1313
1344
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1314
1345
 
1346
+ interface _PutStorageTierPolicyResponseSuccess
1347
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutStorageTierPolicyResponse]
1348
+ def storage_tier: () -> ("STANDARD" | "INTELLIGENT_TIERING")
1349
+ def last_updated_time: () -> ::Integer
1350
+ end
1351
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_storage_tier_policy-instance_method
1352
+ def put_storage_tier_policy: (
1353
+ storage_tier: ("STANDARD" | "INTELLIGENT_TIERING")
1354
+ ) -> _PutStorageTierPolicyResponseSuccess
1355
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutStorageTierPolicyResponseSuccess
1356
+
1315
1357
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_subscription_filter-instance_method
1316
1358
  def put_subscription_filter: (
1317
1359
  log_group_name: ::String,
@@ -1326,6 +1368,13 @@ module Aws
1326
1368
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1327
1369
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1328
1370
 
1371
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_syslog_configuration-instance_method
1372
+ def put_syslog_configuration: (
1373
+ log_group_identifier: ::String,
1374
+ ?vpc_endpoint_id: ::String
1375
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1376
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1377
+
1329
1378
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_transformer-instance_method
1330
1379
  def put_transformer: (
1331
1380
  log_group_identifier: ::String,
data/sig/types.rbs CHANGED
@@ -426,6 +426,12 @@ module Aws::CloudWatchLogs
426
426
  SENSITIVE: []
427
427
  end
428
428
 
429
+ class DeleteSyslogConfigurationRequest
430
+ attr_accessor log_group_identifier: ::String
431
+ attr_accessor vpc_endpoint_id: ::String
432
+ SENSITIVE: []
433
+ end
434
+
429
435
  class DeleteTransformerRequest
430
436
  attr_accessor log_group_identifier: ::String
431
437
  SENSITIVE: []
@@ -1089,6 +1095,15 @@ module Aws::CloudWatchLogs
1089
1095
  SENSITIVE: []
1090
1096
  end
1091
1097
 
1098
+ class GetStorageTierPolicyRequest < Aws::EmptyStructure
1099
+ end
1100
+
1101
+ class GetStorageTierPolicyResponse
1102
+ attr_accessor storage_tier: ("STANDARD" | "INTELLIGENT_TIERING")
1103
+ attr_accessor last_updated_time: ::Integer
1104
+ SENSITIVE: []
1105
+ end
1106
+
1092
1107
  class GetTransformerRequest
1093
1108
  attr_accessor log_group_identifier: ::String
1094
1109
  SENSITIVE: []
@@ -1317,6 +1332,20 @@ module Aws::CloudWatchLogs
1317
1332
  SENSITIVE: []
1318
1333
  end
1319
1334
 
1335
+ class ListSyslogConfigurationsRequest
1336
+ attr_accessor log_group_identifier: ::String
1337
+ attr_accessor vpc_endpoint_id: ::String
1338
+ attr_accessor next_token: ::String
1339
+ attr_accessor max_results: ::Integer
1340
+ SENSITIVE: []
1341
+ end
1342
+
1343
+ class ListSyslogConfigurationsResponse
1344
+ attr_accessor syslog_configurations: ::Array[Types::SyslogConfiguration]
1345
+ attr_accessor next_token: ::String
1346
+ SENSITIVE: []
1347
+ end
1348
+
1320
1349
  class ListTagsForResourceRequest
1321
1350
  attr_accessor resource_arn: ::String
1322
1351
  SENSITIVE: []
@@ -1867,6 +1896,17 @@ module Aws::CloudWatchLogs
1867
1896
  SENSITIVE: []
1868
1897
  end
1869
1898
 
1899
+ class PutStorageTierPolicyRequest
1900
+ attr_accessor storage_tier: ("STANDARD" | "INTELLIGENT_TIERING")
1901
+ SENSITIVE: []
1902
+ end
1903
+
1904
+ class PutStorageTierPolicyResponse
1905
+ attr_accessor storage_tier: ("STANDARD" | "INTELLIGENT_TIERING")
1906
+ attr_accessor last_updated_time: ::Integer
1907
+ SENSITIVE: []
1908
+ end
1909
+
1870
1910
  class PutSubscriptionFilterRequest
1871
1911
  attr_accessor log_group_name: ::String
1872
1912
  attr_accessor filter_name: ::String
@@ -1880,6 +1920,12 @@ module Aws::CloudWatchLogs
1880
1920
  SENSITIVE: []
1881
1921
  end
1882
1922
 
1923
+ class PutSyslogConfigurationRequest
1924
+ attr_accessor log_group_identifier: ::String
1925
+ attr_accessor vpc_endpoint_id: ::String
1926
+ SENSITIVE: []
1927
+ end
1928
+
1883
1929
  class PutTransformerRequest
1884
1930
  attr_accessor log_group_identifier: ::String
1885
1931
  attr_accessor transformer_config: ::Array[Types::Processor]
@@ -2163,6 +2209,14 @@ module Aws::CloudWatchLogs
2163
2209
  SENSITIVE: []
2164
2210
  end
2165
2211
 
2212
+ class SyslogConfiguration
2213
+ attr_accessor log_group_arn: ::String
2214
+ attr_accessor source_type: ("VPCE")
2215
+ attr_accessor vpc_endpoint_id: ::String
2216
+ attr_accessor created_at: ::Integer
2217
+ SENSITIVE: []
2218
+ end
2219
+
2166
2220
  class TagFilter
2167
2221
  attr_accessor key: ::String
2168
2222
  attr_accessor values: ::Array[::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.156.0
4
+ version: 1.158.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services