aws-sdk-cloudwatchlogs 1.155.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +180 -3
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +80 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +153 -3
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +29 -0
- data/sig/types.rbs +35 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d22610d0a2acce80ef350f0ed1b241b6336091b2728797d4439bac7949e7c807
|
|
4
|
+
data.tar.gz: ebf234e86cbc3b9bf0ee35fe410158fff656833b1bc0aac9f7757153ecba7cea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efcab91ac78bbd074ca0bbfcc4631d373809d39397aaac7fd1e832dbb427969a549741f1180f80eea74660ffeb675b073467bdc256a8378595a90026ec223cb3
|
|
7
|
+
data.tar.gz: e17bc1cf609691db280fb5f6dce506b5c6caa4067045c5fd65a761dc6ae8a202ca69e51aef776cb885af9df0f1a327d11735387eff62a119b08316f444dc72f9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
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
|
+
|
|
9
|
+
1.156.0 (2026-06-18)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Added optional startFromHead parameter to FilterLogEvents enabling descending timestamp order (newest first) when set to false. Default true preserves existing ascending order. Reverse sorting requires a startTime on or after Jan 1, 2024.
|
|
13
|
+
|
|
4
14
|
1.155.0 (2026-06-15)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
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
|
|
@@ -3626,7 +3655,10 @@ module Aws::CloudWatchLogs
|
|
|
3626
3655
|
#
|
|
3627
3656
|
# The returned log events are sorted by event timestamp, the timestamp
|
|
3628
3657
|
# when the event was ingested by CloudWatch Logs, and the ID of the
|
|
3629
|
-
# `PutLogEvents` request.
|
|
3658
|
+
# `PutLogEvents` request. By default, the events are returned in
|
|
3659
|
+
# ascending timestamp order (oldest first). To return events in
|
|
3660
|
+
# descending timestamp order (newest first), set the `startFromHead`
|
|
3661
|
+
# parameter to `false`.
|
|
3630
3662
|
#
|
|
3631
3663
|
# If you are using CloudWatch cross-account observability, you can use
|
|
3632
3664
|
# this operation in a monitoring account and view data from the linked
|
|
@@ -3706,6 +3738,24 @@ module Aws::CloudWatchLogs
|
|
|
3706
3738
|
# @option params [Integer] :limit
|
|
3707
3739
|
# The maximum number of events to return. The default is 10,000 events.
|
|
3708
3740
|
#
|
|
3741
|
+
# @option params [Boolean] :start_from_head
|
|
3742
|
+
# If the value is true, the earliest log events are returned first. If
|
|
3743
|
+
# the value is false, the latest log events are returned first. The
|
|
3744
|
+
# default value is true.
|
|
3745
|
+
#
|
|
3746
|
+
# The `startFromHead` parameter sets the sort direction on the first
|
|
3747
|
+
# request. On subsequent requests, the `nextToken` determines the sort
|
|
3748
|
+
# direction. To continue paginating in the same direction, provide the
|
|
3749
|
+
# returned `nextToken`. If you provide both `nextToken` and
|
|
3750
|
+
# `startFromHead`, the direction of the `nextToken` is used.
|
|
3751
|
+
#
|
|
3752
|
+
# <note markdown="1"> Setting `startFromHead` to `false` is supported only when `startTime`
|
|
3753
|
+
# is on or after `Jan 1, 2024 00:00:00 UTC`. A request with
|
|
3754
|
+
# `startFromHead` set to `false` and a `startTime` before this date
|
|
3755
|
+
# returns an `InvalidParameterException`.
|
|
3756
|
+
#
|
|
3757
|
+
# </note>
|
|
3758
|
+
#
|
|
3709
3759
|
# @option params [Boolean] :interleaved
|
|
3710
3760
|
# If the value is true, the operation attempts to provide responses that
|
|
3711
3761
|
# contain events from multiple log streams within the log group,
|
|
@@ -3744,6 +3794,7 @@ module Aws::CloudWatchLogs
|
|
|
3744
3794
|
# filter_pattern: "FilterPattern",
|
|
3745
3795
|
# next_token: "NextToken",
|
|
3746
3796
|
# limit: 1,
|
|
3797
|
+
# start_from_head: false,
|
|
3747
3798
|
# interleaved: false,
|
|
3748
3799
|
# unmask: false,
|
|
3749
3800
|
# })
|
|
@@ -5590,6 +5641,54 @@ module Aws::CloudWatchLogs
|
|
|
5590
5641
|
req.send_request(options)
|
|
5591
5642
|
end
|
|
5592
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
|
+
|
|
5593
5692
|
# Displays the tags associated with a CloudWatch Logs resource.
|
|
5594
5693
|
# Currently, log groups and destinations support tagging.
|
|
5595
5694
|
#
|
|
@@ -5674,6 +5773,44 @@ module Aws::CloudWatchLogs
|
|
|
5674
5773
|
# policy that applies to all log groups, a subset of log groups, or a
|
|
5675
5774
|
# data source name and type combination in the account.
|
|
5676
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
|
+
#
|
|
5677
5814
|
# For field index policies, you can configure indexed fields as *facets*
|
|
5678
5815
|
# to enable interactive exploration of your logs. Facets provide value
|
|
5679
5816
|
# distributions and counts for indexed fields in the CloudWatch Logs
|
|
@@ -6671,6 +6808,9 @@ module Aws::CloudWatchLogs
|
|
|
6671
6808
|
# * For Amazon Bedrock AgentCore Gateway, the valid values are
|
|
6672
6809
|
# `APPLICATION_LOGS` and `TRACES`.
|
|
6673
6810
|
#
|
|
6811
|
+
# * For Amazon Bedrock AgentCore Payments, the valid values are
|
|
6812
|
+
# `APPLICATION_LOGS` and `TRACES`.
|
|
6813
|
+
#
|
|
6674
6814
|
# * For CloudFront, the valid value is `ACCESS_LOGS`.
|
|
6675
6815
|
#
|
|
6676
6816
|
# * For DevOps Agent, the valid value is `APPLICATION_LOGS`.
|
|
@@ -6688,6 +6828,13 @@ module Aws::CloudWatchLogs
|
|
|
6688
6828
|
# `AUTO_MODE_BLOCK_STORAGE_LOGS`, `AUTO_MODE_COMPUTE_LOGS`,
|
|
6689
6829
|
# `AUTO_MODE_IPAM_LOGS`, and `AUTO_MODE_LOAD_BALANCING_LOGS`.
|
|
6690
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
|
+
#
|
|
6691
6838
|
# * For Entity Resolution, the valid value is `WORKFLOW_LOGS`.
|
|
6692
6839
|
#
|
|
6693
6840
|
# * For IAM Identity Center, the valid value is `ERROR_LOGS`.
|
|
@@ -6700,7 +6847,8 @@ module Aws::CloudWatchLogs
|
|
|
6700
6847
|
# * For PCS, the valid values are `PCS_SCHEDULER_LOGS`,
|
|
6701
6848
|
# `PCS_JOBCOMP_LOGS`, and `PCS_SCHEDULER_AUDIT_LOGS`.
|
|
6702
6849
|
#
|
|
6703
|
-
# * For Quick, the valid values are `
|
|
6850
|
+
# * For Quick, the valid values are `AGENT_HOURS_LOGS`, `CHAT_LOGS`,
|
|
6851
|
+
# `FEEDBACK_LOGS`, and `INDEX_USAGE_LOGS`.
|
|
6704
6852
|
#
|
|
6705
6853
|
# * For Amazon Web Services RTB Fabric, the valid values is
|
|
6706
6854
|
# `APPLICATION_LOGS`.
|
|
@@ -7809,6 +7957,35 @@ module Aws::CloudWatchLogs
|
|
|
7809
7957
|
req.send_request(options)
|
|
7810
7958
|
end
|
|
7811
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
|
+
|
|
7812
7989
|
# Creates or updates a *log transformer* for a single log group. You use
|
|
7813
7990
|
# log transformers to transform log events into a different format,
|
|
7814
7991
|
# making them easier for you to process and analyze. You can also
|
|
@@ -9325,7 +9502,7 @@ module Aws::CloudWatchLogs
|
|
|
9325
9502
|
tracer: tracer
|
|
9326
9503
|
)
|
|
9327
9504
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
|
9328
|
-
context[:gem_version] = '1.
|
|
9505
|
+
context[:gem_version] = '1.157.0'
|
|
9329
9506
|
Seahorse::Client::Request.new(handlers, context)
|
|
9330
9507
|
end
|
|
9331
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
|
|
|
@@ -1373,6 +1386,7 @@ module Aws::CloudWatchLogs
|
|
|
1373
1386
|
FilterLogEventsRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
|
|
1374
1387
|
FilterLogEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
1375
1388
|
FilterLogEventsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: EventsLimit, location_name: "limit"))
|
|
1389
|
+
FilterLogEventsRequest.add_member(:start_from_head, Shapes::ShapeRef.new(shape: StartFromHead, location_name: "startFromHead"))
|
|
1376
1390
|
FilterLogEventsRequest.add_member(:interleaved, Shapes::ShapeRef.new(shape: Interleaved, deprecated: true, location_name: "interleaved", metadata: {"deprecatedMessage" => "Starting on June 17, 2019, this parameter will be ignored and the value will be assumed to be true. The response from this operation will always interleave events from multiple log streams within a log group."}))
|
|
1377
1391
|
FilterLogEventsRequest.add_member(:unmask, Shapes::ShapeRef.new(shape: Unmask, location_name: "unmask"))
|
|
1378
1392
|
FilterLogEventsRequest.struct_class = Types::FilterLogEventsRequest
|
|
@@ -1740,6 +1754,16 @@ module Aws::CloudWatchLogs
|
|
|
1740
1754
|
ListSourcesForS3TableIntegrationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
1741
1755
|
ListSourcesForS3TableIntegrationResponse.struct_class = Types::ListSourcesForS3TableIntegrationResponse
|
|
1742
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
|
+
|
|
1743
1767
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "resourceArn"))
|
|
1744
1768
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
|
1745
1769
|
|
|
@@ -2197,6 +2221,10 @@ module Aws::CloudWatchLogs
|
|
|
2197
2221
|
PutSubscriptionFilterRequest.add_member(:emit_system_fields, Shapes::ShapeRef.new(shape: EmitSystemFields, location_name: "emitSystemFields"))
|
|
2198
2222
|
PutSubscriptionFilterRequest.struct_class = Types::PutSubscriptionFilterRequest
|
|
2199
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
|
+
|
|
2200
2228
|
PutTransformerRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, required: true, location_name: "logGroupIdentifier"))
|
|
2201
2229
|
PutTransformerRequest.add_member(:transformer_config, Shapes::ShapeRef.new(shape: Processors, required: true, location_name: "transformerConfig"))
|
|
2202
2230
|
PutTransformerRequest.struct_class = Types::PutTransformerRequest
|
|
@@ -2443,6 +2471,14 @@ module Aws::CloudWatchLogs
|
|
|
2443
2471
|
SuppressionPeriod.add_member(:suppression_unit, Shapes::ShapeRef.new(shape: SuppressionUnit, location_name: "suppressionUnit"))
|
|
2444
2472
|
SuppressionPeriod.struct_class = Types::SuppressionPeriod
|
|
2445
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
|
+
|
|
2446
2482
|
TableFields.member = Shapes::ShapeRef.new(shape: String)
|
|
2447
2483
|
|
|
2448
2484
|
TagFilter.add_member(:key, Shapes::ShapeRef.new(shape: TagFilterKey, required: true, location_name: "key"))
|
|
@@ -3026,6 +3062,21 @@ module Aws::CloudWatchLogs
|
|
|
3026
3062
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
3027
3063
|
end)
|
|
3028
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
|
+
|
|
3029
3080
|
api.add_operation(:delete_transformer, Seahorse::Model::Operation.new.tap do |o|
|
|
3030
3081
|
o.name = "DeleteTransformer"
|
|
3031
3082
|
o.http_method = "POST"
|
|
@@ -3702,6 +3753,20 @@ module Aws::CloudWatchLogs
|
|
|
3702
3753
|
)
|
|
3703
3754
|
end)
|
|
3704
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
|
+
|
|
3705
3770
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
3706
3771
|
o.name = "ListTagsForResource"
|
|
3707
3772
|
o.http_method = "POST"
|
|
@@ -3943,6 +4008,21 @@ module Aws::CloudWatchLogs
|
|
|
3943
4008
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
|
|
3944
4009
|
end)
|
|
3945
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
|
+
|
|
3946
4026
|
api.add_operation(:put_transformer, Seahorse::Model::Operation.new.tap do |o|
|
|
3947
4027
|
o.name = "PutTransformer"
|
|
3948
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
|
|
@@ -3572,6 +3591,25 @@ module Aws::CloudWatchLogs
|
|
|
3572
3591
|
# events.
|
|
3573
3592
|
# @return [Integer]
|
|
3574
3593
|
#
|
|
3594
|
+
# @!attribute [rw] start_from_head
|
|
3595
|
+
# If the value is true, the earliest log events are returned first. If
|
|
3596
|
+
# the value is false, the latest log events are returned first. The
|
|
3597
|
+
# default value is true.
|
|
3598
|
+
#
|
|
3599
|
+
# The `startFromHead` parameter sets the sort direction on the first
|
|
3600
|
+
# request. On subsequent requests, the `nextToken` determines the sort
|
|
3601
|
+
# direction. To continue paginating in the same direction, provide the
|
|
3602
|
+
# returned `nextToken`. If you provide both `nextToken` and
|
|
3603
|
+
# `startFromHead`, the direction of the `nextToken` is used.
|
|
3604
|
+
#
|
|
3605
|
+
# <note markdown="1"> Setting `startFromHead` to `false` is supported only when
|
|
3606
|
+
# `startTime` is on or after `Jan 1, 2024 00:00:00 UTC`. A request
|
|
3607
|
+
# with `startFromHead` set to `false` and a `startTime` before this
|
|
3608
|
+
# date returns an `InvalidParameterException`.
|
|
3609
|
+
#
|
|
3610
|
+
# </note>
|
|
3611
|
+
# @return [Boolean]
|
|
3612
|
+
#
|
|
3575
3613
|
# @!attribute [rw] interleaved
|
|
3576
3614
|
# If the value is true, the operation attempts to provide responses
|
|
3577
3615
|
# that contain events from multiple log streams within the log group,
|
|
@@ -3604,6 +3642,7 @@ module Aws::CloudWatchLogs
|
|
|
3604
3642
|
:filter_pattern,
|
|
3605
3643
|
:next_token,
|
|
3606
3644
|
:limit,
|
|
3645
|
+
:start_from_head,
|
|
3607
3646
|
:interleaved,
|
|
3608
3647
|
:unmask)
|
|
3609
3648
|
SENSITIVE = []
|
|
@@ -3623,8 +3662,9 @@ module Aws::CloudWatchLogs
|
|
|
3623
3662
|
# @return [Array<Types::SearchedLogStream>]
|
|
3624
3663
|
#
|
|
3625
3664
|
# @!attribute [rw] next_token
|
|
3626
|
-
# The token
|
|
3627
|
-
#
|
|
3665
|
+
# The token for the next set of items in the sorting direction
|
|
3666
|
+
# specified by the `startFromHead` parameter in the first request. The
|
|
3667
|
+
# token expires after 24 hours.
|
|
3628
3668
|
#
|
|
3629
3669
|
# If the results don't include a `nextToken`, then pagination is
|
|
3630
3670
|
# finished.
|
|
@@ -5444,6 +5484,54 @@ module Aws::CloudWatchLogs
|
|
|
5444
5484
|
include Aws::Structure
|
|
5445
5485
|
end
|
|
5446
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
|
+
|
|
5447
5535
|
# @!attribute [rw] resource_arn
|
|
5448
5536
|
# The ARN of the resource that you want to view tags for.
|
|
5449
5537
|
#
|
|
@@ -7893,6 +7981,9 @@ module Aws::CloudWatchLogs
|
|
|
7893
7981
|
# * For Amazon Bedrock AgentCore Gateway, the valid values are
|
|
7894
7982
|
# `APPLICATION_LOGS` and `TRACES`.
|
|
7895
7983
|
#
|
|
7984
|
+
# * For Amazon Bedrock AgentCore Payments, the valid values are
|
|
7985
|
+
# `APPLICATION_LOGS` and `TRACES`.
|
|
7986
|
+
#
|
|
7896
7987
|
# * For CloudFront, the valid value is `ACCESS_LOGS`.
|
|
7897
7988
|
#
|
|
7898
7989
|
# * For DevOps Agent, the valid value is `APPLICATION_LOGS`.
|
|
@@ -7910,6 +8001,15 @@ module Aws::CloudWatchLogs
|
|
|
7910
8001
|
# `AUTO_MODE_BLOCK_STORAGE_LOGS`, `AUTO_MODE_COMPUTE_LOGS`,
|
|
7911
8002
|
# `AUTO_MODE_IPAM_LOGS`, and `AUTO_MODE_LOAD_BALANCING_LOGS`.
|
|
7912
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
|
+
#
|
|
7913
8013
|
# * For Entity Resolution, the valid value is `WORKFLOW_LOGS`.
|
|
7914
8014
|
#
|
|
7915
8015
|
# * For IAM Identity Center, the valid value is `ERROR_LOGS`.
|
|
@@ -7922,7 +8022,8 @@ module Aws::CloudWatchLogs
|
|
|
7922
8022
|
# * For PCS, the valid values are `PCS_SCHEDULER_LOGS`,
|
|
7923
8023
|
# `PCS_JOBCOMP_LOGS`, and `PCS_SCHEDULER_AUDIT_LOGS`.
|
|
7924
8024
|
#
|
|
7925
|
-
# * For Quick, the valid values are `
|
|
8025
|
+
# * For Quick, the valid values are `AGENT_HOURS_LOGS`, `CHAT_LOGS`,
|
|
8026
|
+
# `FEEDBACK_LOGS`, and `INDEX_USAGE_LOGS`.
|
|
7926
8027
|
#
|
|
7927
8028
|
# * For Amazon Web Services RTB Fabric, the valid values is
|
|
7928
8029
|
# `APPLICATION_LOGS`.
|
|
@@ -8650,6 +8751,24 @@ module Aws::CloudWatchLogs
|
|
|
8650
8751
|
include Aws::Structure
|
|
8651
8752
|
end
|
|
8652
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
|
+
|
|
8653
8772
|
# @!attribute [rw] log_group_identifier
|
|
8654
8773
|
# Specify either the name or ARN of the log group to create the
|
|
8655
8774
|
# transformer for.
|
|
@@ -9878,6 +9997,37 @@ module Aws::CloudWatchLogs
|
|
|
9878
9997
|
include Aws::Structure
|
|
9879
9998
|
end
|
|
9880
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
|
+
|
|
9881
10031
|
# A tag filter that specifies a tag key and optional tag values for
|
|
9882
10032
|
# filtering log groups by tags.
|
|
9883
10033
|
#
|
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
|
|
@@ -691,6 +698,7 @@ module Aws
|
|
|
691
698
|
?filter_pattern: ::String,
|
|
692
699
|
?next_token: ::String,
|
|
693
700
|
?limit: ::Integer,
|
|
701
|
+
?start_from_head: bool,
|
|
694
702
|
?interleaved: bool,
|
|
695
703
|
?unmask: bool
|
|
696
704
|
) -> _FilterLogEventsResponseSuccess
|
|
@@ -1068,6 +1076,20 @@ module Aws
|
|
|
1068
1076
|
) -> _ListSourcesForS3TableIntegrationResponseSuccess
|
|
1069
1077
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSourcesForS3TableIntegrationResponseSuccess
|
|
1070
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
|
+
|
|
1071
1093
|
interface _ListTagsForResourceResponseSuccess
|
|
1072
1094
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
|
1073
1095
|
def tags: () -> ::Hash[::String, ::String]
|
|
@@ -1325,6 +1347,13 @@ module Aws
|
|
|
1325
1347
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1326
1348
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1327
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
|
+
|
|
1328
1357
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_transformer-instance_method
|
|
1329
1358
|
def put_transformer: (
|
|
1330
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: []
|
|
@@ -839,6 +845,7 @@ module Aws::CloudWatchLogs
|
|
|
839
845
|
attr_accessor filter_pattern: ::String
|
|
840
846
|
attr_accessor next_token: ::String
|
|
841
847
|
attr_accessor limit: ::Integer
|
|
848
|
+
attr_accessor start_from_head: bool
|
|
842
849
|
attr_accessor interleaved: bool
|
|
843
850
|
attr_accessor unmask: bool
|
|
844
851
|
SENSITIVE: []
|
|
@@ -1316,6 +1323,20 @@ module Aws::CloudWatchLogs
|
|
|
1316
1323
|
SENSITIVE: []
|
|
1317
1324
|
end
|
|
1318
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
|
+
|
|
1319
1340
|
class ListTagsForResourceRequest
|
|
1320
1341
|
attr_accessor resource_arn: ::String
|
|
1321
1342
|
SENSITIVE: []
|
|
@@ -1879,6 +1900,12 @@ module Aws::CloudWatchLogs
|
|
|
1879
1900
|
SENSITIVE: []
|
|
1880
1901
|
end
|
|
1881
1902
|
|
|
1903
|
+
class PutSyslogConfigurationRequest
|
|
1904
|
+
attr_accessor log_group_identifier: ::String
|
|
1905
|
+
attr_accessor vpc_endpoint_id: ::String
|
|
1906
|
+
SENSITIVE: []
|
|
1907
|
+
end
|
|
1908
|
+
|
|
1882
1909
|
class PutTransformerRequest
|
|
1883
1910
|
attr_accessor log_group_identifier: ::String
|
|
1884
1911
|
attr_accessor transformer_config: ::Array[Types::Processor]
|
|
@@ -2162,6 +2189,14 @@ module Aws::CloudWatchLogs
|
|
|
2162
2189
|
SENSITIVE: []
|
|
2163
2190
|
end
|
|
2164
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
|
+
|
|
2165
2200
|
class TagFilter
|
|
2166
2201
|
attr_accessor key: ::String
|
|
2167
2202
|
attr_accessor values: ::Array[::String]
|