aws-sdk-cloudwatchlogs 1.156.0 → 1.157.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: d22610d0a2acce80ef350f0ed1b241b6336091b2728797d4439bac7949e7c807
4
+ data.tar.gz: ebf234e86cbc3b9bf0ee35fe410158fff656833b1bc0aac9f7757153ecba7cea
5
5
  SHA512:
6
- metadata.gz: 4050525b4cb469868446a2e193a4b3ed21f99a68faffec806f38ae0e632be1c0caa376ed55fd9fedc1e1ff585e76c5b443ca40060b6f9dea39ed670f08fbb4db
7
- data.tar.gz: b885687169b410826ded26e838f9967837536e3b1c3e9b82e0b6a974278883f9b87b264f061e1b37dba2d448d93bd5b1dc265b56b017fae4009056662ab95f25
6
+ metadata.gz: efcab91ac78bbd074ca0bbfcc4631d373809d39397aaac7fd1e832dbb427969a549741f1180f80eea74660ffeb675b073467bdc256a8378595a90026ec223cb3
7
+ data.tar.gz: e17bc1cf609691db280fb5f6dce506b5c6caa4067045c5fd65a761dc6ae8a202ca69e51aef776cb885af9df0f1a327d11735387eff62a119b08316f444dc72f9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.157.0 (2026-06-22)
5
+ ------------------
6
+
7
+ * Feature - CloudWatch Logs Updates - New APIs introduced to support syslog ingestion to a log group. For more information, see CloudWatch Logs API documentation.
8
+
4
9
  1.156.0 (2026-06-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.156.0
1
+ 1.157.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
@@ -5612,6 +5641,54 @@ module Aws::CloudWatchLogs
5612
5641
  req.send_request(options)
5613
5642
  end
5614
5643
 
5644
+ # Returns a list of syslog configurations. You can optionally filter the
5645
+ # results by log group or VPC endpoint.
5646
+ #
5647
+ # @option params [String] :log_group_identifier
5648
+ # The name or ARN of the log group to filter syslog configurations for.
5649
+ #
5650
+ # @option params [String] :vpc_endpoint_id
5651
+ # The ID of the VPC endpoint to filter syslog configurations for.
5652
+ #
5653
+ # @option params [String] :next_token
5654
+ # The token for the next set of items to return. You received this token
5655
+ # from a previous call.
5656
+ #
5657
+ # @option params [Integer] :max_results
5658
+ # The maximum number of syslog configurations to return in the response.
5659
+ #
5660
+ # @return [Types::ListSyslogConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5661
+ #
5662
+ # * {Types::ListSyslogConfigurationsResponse#syslog_configurations #syslog_configurations} => Array<Types::SyslogConfiguration>
5663
+ # * {Types::ListSyslogConfigurationsResponse#next_token #next_token} => String
5664
+ #
5665
+ # @example Request syntax with placeholder values
5666
+ #
5667
+ # resp = client.list_syslog_configurations({
5668
+ # log_group_identifier: "LogGroupIdentifier",
5669
+ # vpc_endpoint_id: "VpcEndpointId",
5670
+ # next_token: "NextToken",
5671
+ # max_results: 1,
5672
+ # })
5673
+ #
5674
+ # @example Response structure
5675
+ #
5676
+ # resp.syslog_configurations #=> Array
5677
+ # resp.syslog_configurations[0].log_group_arn #=> String
5678
+ # resp.syslog_configurations[0].source_type #=> String, one of "VPCE"
5679
+ # resp.syslog_configurations[0].vpc_endpoint_id #=> String
5680
+ # resp.syslog_configurations[0].created_at #=> Integer
5681
+ # resp.next_token #=> String
5682
+ #
5683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListSyslogConfigurations AWS API Documentation
5684
+ #
5685
+ # @overload list_syslog_configurations(params = {})
5686
+ # @param [Hash] params ({})
5687
+ def list_syslog_configurations(params = {}, options = {})
5688
+ req = build_request(:list_syslog_configurations, params)
5689
+ req.send_request(options)
5690
+ end
5691
+
5615
5692
  # Displays the tags associated with a CloudWatch Logs resource.
5616
5693
  # Currently, log groups and destinations support tagging.
5617
5694
  #
@@ -5696,6 +5773,44 @@ module Aws::CloudWatchLogs
5696
5773
  # policy that applies to all log groups, a subset of log groups, or a
5697
5774
  # data source name and type combination in the account.
5698
5775
  #
5776
+ # `PutAccountPolicy` is an account-wide administrative operation
5777
+ # intended for CloudWatch Logs administrators. Because it affects all
5778
+ # log groups (or a broad subset) in the account, you should grant
5779
+ # `logs:PutAccountPolicy` permissions only to administrators who manage
5780
+ # logging configuration across the account, not to application teams or
5781
+ # individual log group owners.
5782
+ #
5783
+ # **Conflict resolution between account-level and log-group-level
5784
+ # policies**
5785
+ #
5786
+ # When both an account-level policy and a log-group-level policy of the
5787
+ # same type apply to a log group, the resolution depends on the policy
5788
+ # type:
5789
+ #
5790
+ # * *Data protection* — The two policies are cumulative. Any sensitive
5791
+ # term specified in either the account-level or the log-group-level
5792
+ # policy is masked.
5793
+ #
5794
+ # * *Subscription filters* — Account-level and log-group-level
5795
+ # subscription filters are additive. A log group can have up to 1
5796
+ # account-level and up to 2 log-group-level subscription filters.
5797
+ #
5798
+ # * *Transformers* — A log-group-level transformer overrides the
5799
+ # account-level transformer. If a log group has its own transformer,
5800
+ # it ignores the account-level transformer policy.
5801
+ #
5802
+ # * *Field index policies* — If a log group has its own field index
5803
+ # policy (created with `PutIndexPolicy`), any account-level policy
5804
+ # that uses `LogGroupNamePrefix` selection criteria or has no
5805
+ # selection criteria is ignored for that log group. However,
5806
+ # account-level policies that use `DataSourceName` and
5807
+ # `DataSourceType` selection criteria still apply alongside the
5808
+ # log-group-level policy.
5809
+ #
5810
+ # * *Metric extraction policies* — Metric extraction policies are
5811
+ # account-level only and have no log-group-level equivalent, so no
5812
+ # conflict resolution applies.
5813
+ #
5699
5814
  # For field index policies, you can configure indexed fields as *facets*
5700
5815
  # to enable interactive exploration of your logs. Facets provide value
5701
5816
  # distributions and counts for indexed fields in the CloudWatch Logs
@@ -6693,6 +6808,9 @@ module Aws::CloudWatchLogs
6693
6808
  # * For Amazon Bedrock AgentCore Gateway, the valid values are
6694
6809
  # `APPLICATION_LOGS` and `TRACES`.
6695
6810
  #
6811
+ # * For Amazon Bedrock AgentCore Payments, the valid values are
6812
+ # `APPLICATION_LOGS` and `TRACES`.
6813
+ #
6696
6814
  # * For CloudFront, the valid value is `ACCESS_LOGS`.
6697
6815
  #
6698
6816
  # * For DevOps Agent, the valid value is `APPLICATION_LOGS`.
@@ -6710,6 +6828,13 @@ module Aws::CloudWatchLogs
6710
6828
  # `AUTO_MODE_BLOCK_STORAGE_LOGS`, `AUTO_MODE_COMPUTE_LOGS`,
6711
6829
  # `AUTO_MODE_IPAM_LOGS`, and `AUTO_MODE_LOAD_BALANCING_LOGS`.
6712
6830
  #
6831
+ # * For Amazon EKS Capability Logs, the valid values are
6832
+ # `EKS_CAPABILITY_ACK_LOGS`, `EKS_CAPABILITY_ARGOCD_APPLICATION_LOGS`,
6833
+ # `EKS_CAPABILITY_ARGOCD_APPLICATIONSET_LOGS`,
6834
+ # `EKS_CAPABILITY_ARGOCD_COMMITSERVER_LOGS`,
6835
+ # `EKS_CAPABILITY_ARGOCD_REPOSERVER_LOGS`,
6836
+ # `EKS_CAPABILITY_ARGOCD_SERVER_LOGS`, and `EKS_CAPABILITY_KRO_LOGS`.
6837
+ #
6713
6838
  # * For Entity Resolution, the valid value is `WORKFLOW_LOGS`.
6714
6839
  #
6715
6840
  # * For IAM Identity Center, the valid value is `ERROR_LOGS`.
@@ -6722,7 +6847,8 @@ module Aws::CloudWatchLogs
6722
6847
  # * For PCS, the valid values are `PCS_SCHEDULER_LOGS`,
6723
6848
  # `PCS_JOBCOMP_LOGS`, and `PCS_SCHEDULER_AUDIT_LOGS`.
6724
6849
  #
6725
- # * For Quick, the valid values are `CHAT_LOGS` and `FEEDBACK_LOGS`.
6850
+ # * For Quick, the valid values are `AGENT_HOURS_LOGS`, `CHAT_LOGS`,
6851
+ # `FEEDBACK_LOGS`, and `INDEX_USAGE_LOGS`.
6726
6852
  #
6727
6853
  # * For Amazon Web Services RTB Fabric, the valid values is
6728
6854
  # `APPLICATION_LOGS`.
@@ -7831,6 +7957,35 @@ module Aws::CloudWatchLogs
7831
7957
  req.send_request(options)
7832
7958
  end
7833
7959
 
7960
+ # Creates or updates a syslog configuration for a log group. This
7961
+ # enables ingestion of syslog data through the specified VPC endpoint
7962
+ # into the log group.
7963
+ #
7964
+ # @option params [required, String] :log_group_identifier
7965
+ # The name or ARN of the log group to associate with the syslog
7966
+ # configuration.
7967
+ #
7968
+ # @option params [String] :vpc_endpoint_id
7969
+ # The ID of the VPC endpoint to use for syslog ingestion.
7970
+ #
7971
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7972
+ #
7973
+ # @example Request syntax with placeholder values
7974
+ #
7975
+ # resp = client.put_syslog_configuration({
7976
+ # log_group_identifier: "LogGroupIdentifier", # required
7977
+ # vpc_endpoint_id: "VpcEndpointId",
7978
+ # })
7979
+ #
7980
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSyslogConfiguration AWS API Documentation
7981
+ #
7982
+ # @overload put_syslog_configuration(params = {})
7983
+ # @param [Hash] params ({})
7984
+ def put_syslog_configuration(params = {}, options = {})
7985
+ req = build_request(:put_syslog_configuration, params)
7986
+ req.send_request(options)
7987
+ end
7988
+
7834
7989
  # Creates or updates a *log transformer* for a single log group. You use
7835
7990
  # log transformers to transform log events into a different format,
7836
7991
  # making them easier for you to process and analyze. You can also
@@ -9347,7 +9502,7 @@ module Aws::CloudWatchLogs
9347
9502
  tracer: tracer
9348
9503
  )
9349
9504
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
9350
- context[:gem_version] = '1.156.0'
9505
+ context[:gem_version] = '1.157.0'
9351
9506
  Seahorse::Client::Request.new(handlers, context)
9352
9507
  end
9353
9508
 
@@ -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')
@@ -375,6 +376,9 @@ module Aws::CloudWatchLogs
375
376
  ListSourcesForS3TableIntegrationMaxResults = Shapes::IntegerShape.new(name: 'ListSourcesForS3TableIntegrationMaxResults')
376
377
  ListSourcesForS3TableIntegrationRequest = Shapes::StructureShape.new(name: 'ListSourcesForS3TableIntegrationRequest')
377
378
  ListSourcesForS3TableIntegrationResponse = Shapes::StructureShape.new(name: 'ListSourcesForS3TableIntegrationResponse')
379
+ ListSyslogConfigurationsMaxResults = Shapes::IntegerShape.new(name: 'ListSyslogConfigurationsMaxResults')
380
+ ListSyslogConfigurationsRequest = Shapes::StructureShape.new(name: 'ListSyslogConfigurationsRequest')
381
+ ListSyslogConfigurationsResponse = Shapes::StructureShape.new(name: 'ListSyslogConfigurationsResponse')
378
382
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
379
383
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
380
384
  ListTagsLogGroupRequest = Shapes::StructureShape.new(name: 'ListTagsLogGroupRequest')
@@ -520,6 +524,7 @@ module Aws::CloudWatchLogs
520
524
  PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
521
525
  PutRetentionPolicyRequest = Shapes::StructureShape.new(name: 'PutRetentionPolicyRequest')
522
526
  PutSubscriptionFilterRequest = Shapes::StructureShape.new(name: 'PutSubscriptionFilterRequest')
527
+ PutSyslogConfigurationRequest = Shapes::StructureShape.new(name: 'PutSyslogConfigurationRequest')
523
528
  PutTransformerRequest = Shapes::StructureShape.new(name: 'PutTransformerRequest')
524
529
  QueryCharOffset = Shapes::IntegerShape.new(name: 'QueryCharOffset')
525
530
  QueryCompileError = Shapes::StructureShape.new(name: 'QueryCompileError')
@@ -632,6 +637,9 @@ module Aws::CloudWatchLogs
632
637
  SuppressionState = Shapes::StringShape.new(name: 'SuppressionState')
633
638
  SuppressionType = Shapes::StringShape.new(name: 'SuppressionType')
634
639
  SuppressionUnit = Shapes::StringShape.new(name: 'SuppressionUnit')
640
+ SyslogConfiguration = Shapes::StructureShape.new(name: 'SyslogConfiguration')
641
+ SyslogConfigurations = Shapes::ListShape.new(name: 'SyslogConfigurations')
642
+ SyslogSourceType = Shapes::StringShape.new(name: 'SyslogSourceType')
635
643
  SystemField = Shapes::StringShape.new(name: 'SystemField')
636
644
  TableBody = Shapes::StringShape.new(name: 'TableBody')
637
645
  TableFields = Shapes::ListShape.new(name: 'TableFields')
@@ -693,6 +701,7 @@ module Aws::CloudWatchLogs
693
701
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
694
702
  Value = Shapes::StringShape.new(name: 'Value')
695
703
  ValueKey = Shapes::StringShape.new(name: 'ValueKey')
704
+ VpcEndpointId = Shapes::StringShape.new(name: 'VpcEndpointId')
696
705
  WithKey = Shapes::StringShape.new(name: 'WithKey')
697
706
 
698
707
  AccessDeniedException.struct_class = Types::AccessDeniedException
@@ -1022,6 +1031,10 @@ module Aws::CloudWatchLogs
1022
1031
  DeleteSubscriptionFilterRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "filterName"))
1023
1032
  DeleteSubscriptionFilterRequest.struct_class = Types::DeleteSubscriptionFilterRequest
1024
1033
 
1034
+ DeleteSyslogConfigurationRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, required: true, location_name: "logGroupIdentifier"))
1035
+ DeleteSyslogConfigurationRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
1036
+ DeleteSyslogConfigurationRequest.struct_class = Types::DeleteSyslogConfigurationRequest
1037
+
1025
1038
  DeleteTransformerRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, required: true, location_name: "logGroupIdentifier"))
1026
1039
  DeleteTransformerRequest.struct_class = Types::DeleteTransformerRequest
1027
1040
 
@@ -1741,6 +1754,16 @@ module Aws::CloudWatchLogs
1741
1754
  ListSourcesForS3TableIntegrationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1742
1755
  ListSourcesForS3TableIntegrationResponse.struct_class = Types::ListSourcesForS3TableIntegrationResponse
1743
1756
 
1757
+ ListSyslogConfigurationsRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, location_name: "logGroupIdentifier"))
1758
+ ListSyslogConfigurationsRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
1759
+ ListSyslogConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1760
+ ListSyslogConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSyslogConfigurationsMaxResults, location_name: "maxResults"))
1761
+ ListSyslogConfigurationsRequest.struct_class = Types::ListSyslogConfigurationsRequest
1762
+
1763
+ ListSyslogConfigurationsResponse.add_member(:syslog_configurations, Shapes::ShapeRef.new(shape: SyslogConfigurations, location_name: "syslogConfigurations"))
1764
+ ListSyslogConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1765
+ ListSyslogConfigurationsResponse.struct_class = Types::ListSyslogConfigurationsResponse
1766
+
1744
1767
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "resourceArn"))
1745
1768
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
1746
1769
 
@@ -2198,6 +2221,10 @@ module Aws::CloudWatchLogs
2198
2221
  PutSubscriptionFilterRequest.add_member(:emit_system_fields, Shapes::ShapeRef.new(shape: EmitSystemFields, location_name: "emitSystemFields"))
2199
2222
  PutSubscriptionFilterRequest.struct_class = Types::PutSubscriptionFilterRequest
2200
2223
 
2224
+ PutSyslogConfigurationRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, required: true, location_name: "logGroupIdentifier"))
2225
+ PutSyslogConfigurationRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
2226
+ PutSyslogConfigurationRequest.struct_class = Types::PutSyslogConfigurationRequest
2227
+
2201
2228
  PutTransformerRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, required: true, location_name: "logGroupIdentifier"))
2202
2229
  PutTransformerRequest.add_member(:transformer_config, Shapes::ShapeRef.new(shape: Processors, required: true, location_name: "transformerConfig"))
2203
2230
  PutTransformerRequest.struct_class = Types::PutTransformerRequest
@@ -2444,6 +2471,14 @@ module Aws::CloudWatchLogs
2444
2471
  SuppressionPeriod.add_member(:suppression_unit, Shapes::ShapeRef.new(shape: SuppressionUnit, location_name: "suppressionUnit"))
2445
2472
  SuppressionPeriod.struct_class = Types::SuppressionPeriod
2446
2473
 
2474
+ SyslogConfiguration.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "logGroupArn"))
2475
+ SyslogConfiguration.add_member(:source_type, Shapes::ShapeRef.new(shape: SyslogSourceType, location_name: "sourceType"))
2476
+ SyslogConfiguration.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
2477
+ SyslogConfiguration.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
2478
+ SyslogConfiguration.struct_class = Types::SyslogConfiguration
2479
+
2480
+ SyslogConfigurations.member = Shapes::ShapeRef.new(shape: SyslogConfiguration)
2481
+
2447
2482
  TableFields.member = Shapes::ShapeRef.new(shape: String)
2448
2483
 
2449
2484
  TagFilter.add_member(:key, Shapes::ShapeRef.new(shape: TagFilterKey, required: true, location_name: "key"))
@@ -3027,6 +3062,21 @@ module Aws::CloudWatchLogs
3027
3062
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3028
3063
  end)
3029
3064
 
3065
+ api.add_operation(:delete_syslog_configuration, Seahorse::Model::Operation.new.tap do |o|
3066
+ o.name = "DeleteSyslogConfiguration"
3067
+ o.http_method = "POST"
3068
+ o.http_request_uri = "/"
3069
+ o.input = Shapes::ShapeRef.new(shape: DeleteSyslogConfigurationRequest)
3070
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3071
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3072
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3073
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
3074
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
3075
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3076
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3077
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3078
+ end)
3079
+
3030
3080
  api.add_operation(:delete_transformer, Seahorse::Model::Operation.new.tap do |o|
3031
3081
  o.name = "DeleteTransformer"
3032
3082
  o.http_method = "POST"
@@ -3703,6 +3753,20 @@ module Aws::CloudWatchLogs
3703
3753
  )
3704
3754
  end)
3705
3755
 
3756
+ api.add_operation(:list_syslog_configurations, Seahorse::Model::Operation.new.tap do |o|
3757
+ o.name = "ListSyslogConfigurations"
3758
+ o.http_method = "POST"
3759
+ o.http_request_uri = "/"
3760
+ o.input = Shapes::ShapeRef.new(shape: ListSyslogConfigurationsRequest)
3761
+ o.output = Shapes::ShapeRef.new(shape: ListSyslogConfigurationsResponse)
3762
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3763
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3764
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
3765
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3766
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3767
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3768
+ end)
3769
+
3706
3770
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
3707
3771
  o.name = "ListTagsForResource"
3708
3772
  o.http_method = "POST"
@@ -3944,6 +4008,21 @@ module Aws::CloudWatchLogs
3944
4008
  o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
3945
4009
  end)
3946
4010
 
4011
+ api.add_operation(:put_syslog_configuration, Seahorse::Model::Operation.new.tap do |o|
4012
+ o.name = "PutSyslogConfiguration"
4013
+ o.http_method = "POST"
4014
+ o.http_request_uri = "/"
4015
+ o.input = Shapes::ShapeRef.new(shape: PutSyslogConfigurationRequest)
4016
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
4017
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4018
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4019
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
4020
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
4021
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4022
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4023
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
4024
+ end)
4025
+
3947
4026
  api.add_operation(:put_transformer, Seahorse::Model::Operation.new.tap do |o|
3948
4027
  o.name = "PutTransformer"
3949
4028
  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
@@ -5465,6 +5484,54 @@ module Aws::CloudWatchLogs
5465
5484
  include Aws::Structure
5466
5485
  end
5467
5486
 
5487
+ # @!attribute [rw] log_group_identifier
5488
+ # The name or ARN of the log group to filter syslog configurations
5489
+ # for.
5490
+ # @return [String]
5491
+ #
5492
+ # @!attribute [rw] vpc_endpoint_id
5493
+ # The ID of the VPC endpoint to filter syslog configurations for.
5494
+ # @return [String]
5495
+ #
5496
+ # @!attribute [rw] next_token
5497
+ # The token for the next set of items to return. You received this
5498
+ # token from a previous call.
5499
+ # @return [String]
5500
+ #
5501
+ # @!attribute [rw] max_results
5502
+ # The maximum number of syslog configurations to return in the
5503
+ # response.
5504
+ # @return [Integer]
5505
+ #
5506
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListSyslogConfigurationsRequest AWS API Documentation
5507
+ #
5508
+ class ListSyslogConfigurationsRequest < Struct.new(
5509
+ :log_group_identifier,
5510
+ :vpc_endpoint_id,
5511
+ :next_token,
5512
+ :max_results)
5513
+ SENSITIVE = []
5514
+ include Aws::Structure
5515
+ end
5516
+
5517
+ # @!attribute [rw] syslog_configurations
5518
+ # The list of syslog configurations.
5519
+ # @return [Array<Types::SyslogConfiguration>]
5520
+ #
5521
+ # @!attribute [rw] next_token
5522
+ # The token for the next set of items to return. The token expires
5523
+ # after 24 hours.
5524
+ # @return [String]
5525
+ #
5526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListSyslogConfigurationsResponse AWS API Documentation
5527
+ #
5528
+ class ListSyslogConfigurationsResponse < Struct.new(
5529
+ :syslog_configurations,
5530
+ :next_token)
5531
+ SENSITIVE = []
5532
+ include Aws::Structure
5533
+ end
5534
+
5468
5535
  # @!attribute [rw] resource_arn
5469
5536
  # The ARN of the resource that you want to view tags for.
5470
5537
  #
@@ -7914,6 +7981,9 @@ module Aws::CloudWatchLogs
7914
7981
  # * For Amazon Bedrock AgentCore Gateway, the valid values are
7915
7982
  # `APPLICATION_LOGS` and `TRACES`.
7916
7983
  #
7984
+ # * For Amazon Bedrock AgentCore Payments, the valid values are
7985
+ # `APPLICATION_LOGS` and `TRACES`.
7986
+ #
7917
7987
  # * For CloudFront, the valid value is `ACCESS_LOGS`.
7918
7988
  #
7919
7989
  # * For DevOps Agent, the valid value is `APPLICATION_LOGS`.
@@ -7931,6 +8001,15 @@ module Aws::CloudWatchLogs
7931
8001
  # `AUTO_MODE_BLOCK_STORAGE_LOGS`, `AUTO_MODE_COMPUTE_LOGS`,
7932
8002
  # `AUTO_MODE_IPAM_LOGS`, and `AUTO_MODE_LOAD_BALANCING_LOGS`.
7933
8003
  #
8004
+ # * For Amazon EKS Capability Logs, the valid values are
8005
+ # `EKS_CAPABILITY_ACK_LOGS`,
8006
+ # `EKS_CAPABILITY_ARGOCD_APPLICATION_LOGS`,
8007
+ # `EKS_CAPABILITY_ARGOCD_APPLICATIONSET_LOGS`,
8008
+ # `EKS_CAPABILITY_ARGOCD_COMMITSERVER_LOGS`,
8009
+ # `EKS_CAPABILITY_ARGOCD_REPOSERVER_LOGS`,
8010
+ # `EKS_CAPABILITY_ARGOCD_SERVER_LOGS`, and
8011
+ # `EKS_CAPABILITY_KRO_LOGS`.
8012
+ #
7934
8013
  # * For Entity Resolution, the valid value is `WORKFLOW_LOGS`.
7935
8014
  #
7936
8015
  # * For IAM Identity Center, the valid value is `ERROR_LOGS`.
@@ -7943,7 +8022,8 @@ module Aws::CloudWatchLogs
7943
8022
  # * For PCS, the valid values are `PCS_SCHEDULER_LOGS`,
7944
8023
  # `PCS_JOBCOMP_LOGS`, and `PCS_SCHEDULER_AUDIT_LOGS`.
7945
8024
  #
7946
- # * For Quick, the valid values are `CHAT_LOGS` and `FEEDBACK_LOGS`.
8025
+ # * For Quick, the valid values are `AGENT_HOURS_LOGS`, `CHAT_LOGS`,
8026
+ # `FEEDBACK_LOGS`, and `INDEX_USAGE_LOGS`.
7947
8027
  #
7948
8028
  # * For Amazon Web Services RTB Fabric, the valid values is
7949
8029
  # `APPLICATION_LOGS`.
@@ -8671,6 +8751,24 @@ module Aws::CloudWatchLogs
8671
8751
  include Aws::Structure
8672
8752
  end
8673
8753
 
8754
+ # @!attribute [rw] log_group_identifier
8755
+ # The name or ARN of the log group to associate with the syslog
8756
+ # configuration.
8757
+ # @return [String]
8758
+ #
8759
+ # @!attribute [rw] vpc_endpoint_id
8760
+ # The ID of the VPC endpoint to use for syslog ingestion.
8761
+ # @return [String]
8762
+ #
8763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSyslogConfigurationRequest AWS API Documentation
8764
+ #
8765
+ class PutSyslogConfigurationRequest < Struct.new(
8766
+ :log_group_identifier,
8767
+ :vpc_endpoint_id)
8768
+ SENSITIVE = []
8769
+ include Aws::Structure
8770
+ end
8771
+
8674
8772
  # @!attribute [rw] log_group_identifier
8675
8773
  # Specify either the name or ARN of the log group to create the
8676
8774
  # transformer for.
@@ -9899,6 +9997,37 @@ module Aws::CloudWatchLogs
9899
9997
  include Aws::Structure
9900
9998
  end
9901
9999
 
10000
+ # Contains information about a syslog configuration associated with a
10001
+ # log group.
10002
+ #
10003
+ # @!attribute [rw] log_group_arn
10004
+ # The ARN of the log group associated with this syslog configuration.
10005
+ # @return [String]
10006
+ #
10007
+ # @!attribute [rw] source_type
10008
+ # The source type for the syslog configuration.
10009
+ # @return [String]
10010
+ #
10011
+ # @!attribute [rw] vpc_endpoint_id
10012
+ # The ID of the VPC endpoint used for syslog ingestion.
10013
+ # @return [String]
10014
+ #
10015
+ # @!attribute [rw] created_at
10016
+ # The time when the syslog configuration was created, expressed as the
10017
+ # number of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
10018
+ # @return [Integer]
10019
+ #
10020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/SyslogConfiguration AWS API Documentation
10021
+ #
10022
+ class SyslogConfiguration < Struct.new(
10023
+ :log_group_arn,
10024
+ :source_type,
10025
+ :vpc_endpoint_id,
10026
+ :created_at)
10027
+ SENSITIVE = []
10028
+ include Aws::Structure
10029
+ end
10030
+
9902
10031
  # A tag filter that specifies a tag key and optional tag values for
9903
10032
  # filtering log groups by tags.
9904
10033
  #
@@ -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.157.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
@@ -1069,6 +1076,20 @@ module Aws
1069
1076
  ) -> _ListSourcesForS3TableIntegrationResponseSuccess
1070
1077
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSourcesForS3TableIntegrationResponseSuccess
1071
1078
 
1079
+ interface _ListSyslogConfigurationsResponseSuccess
1080
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSyslogConfigurationsResponse]
1081
+ def syslog_configurations: () -> ::Array[Types::SyslogConfiguration]
1082
+ def next_token: () -> ::String
1083
+ end
1084
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_syslog_configurations-instance_method
1085
+ def list_syslog_configurations: (
1086
+ ?log_group_identifier: ::String,
1087
+ ?vpc_endpoint_id: ::String,
1088
+ ?next_token: ::String,
1089
+ ?max_results: ::Integer
1090
+ ) -> _ListSyslogConfigurationsResponseSuccess
1091
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSyslogConfigurationsResponseSuccess
1092
+
1072
1093
  interface _ListTagsForResourceResponseSuccess
1073
1094
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
1074
1095
  def tags: () -> ::Hash[::String, ::String]
@@ -1326,6 +1347,13 @@ module Aws
1326
1347
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1327
1348
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1328
1349
 
1350
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_syslog_configuration-instance_method
1351
+ def put_syslog_configuration: (
1352
+ log_group_identifier: ::String,
1353
+ ?vpc_endpoint_id: ::String
1354
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1355
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1356
+
1329
1357
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_transformer-instance_method
1330
1358
  def put_transformer: (
1331
1359
  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: []
@@ -1317,6 +1323,20 @@ module Aws::CloudWatchLogs
1317
1323
  SENSITIVE: []
1318
1324
  end
1319
1325
 
1326
+ class ListSyslogConfigurationsRequest
1327
+ attr_accessor log_group_identifier: ::String
1328
+ attr_accessor vpc_endpoint_id: ::String
1329
+ attr_accessor next_token: ::String
1330
+ attr_accessor max_results: ::Integer
1331
+ SENSITIVE: []
1332
+ end
1333
+
1334
+ class ListSyslogConfigurationsResponse
1335
+ attr_accessor syslog_configurations: ::Array[Types::SyslogConfiguration]
1336
+ attr_accessor next_token: ::String
1337
+ SENSITIVE: []
1338
+ end
1339
+
1320
1340
  class ListTagsForResourceRequest
1321
1341
  attr_accessor resource_arn: ::String
1322
1342
  SENSITIVE: []
@@ -1880,6 +1900,12 @@ module Aws::CloudWatchLogs
1880
1900
  SENSITIVE: []
1881
1901
  end
1882
1902
 
1903
+ class PutSyslogConfigurationRequest
1904
+ attr_accessor log_group_identifier: ::String
1905
+ attr_accessor vpc_endpoint_id: ::String
1906
+ SENSITIVE: []
1907
+ end
1908
+
1883
1909
  class PutTransformerRequest
1884
1910
  attr_accessor log_group_identifier: ::String
1885
1911
  attr_accessor transformer_config: ::Array[Types::Processor]
@@ -2163,6 +2189,14 @@ module Aws::CloudWatchLogs
2163
2189
  SENSITIVE: []
2164
2190
  end
2165
2191
 
2192
+ class SyslogConfiguration
2193
+ attr_accessor log_group_arn: ::String
2194
+ attr_accessor source_type: ("VPCE")
2195
+ attr_accessor vpc_endpoint_id: ::String
2196
+ attr_accessor created_at: ::Integer
2197
+ SENSITIVE: []
2198
+ end
2199
+
2166
2200
  class TagFilter
2167
2201
  attr_accessor key: ::String
2168
2202
  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.157.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services