aws-sdk-cloudwatchlogs 1.157.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +60 -3
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +44 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +59 -2
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +21 -0
- data/sig/types.rbs +20 -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: 56bade4ae9d31dfafc7961984f2a1e873236bb288d03baf825708138f5ddfa2b
|
|
4
|
+
data.tar.gz: 58593add3632dee13b3997a9965a69d1a92e9aaaa5408ca7c51d35fde2a77d70
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d6c3cef4e178e320f4ee545a4f2ecef8553a3ac640237ffd4ef16376aff91bbd4ef78b8dbb528571cccef074db7e734f3c866d4b256bf74341267eba56b938b8
|
|
7
|
+
data.tar.gz: 810138b7add92b0ba590c8738efc24dd9510de287d538c096102557280a89236fc79743dcb07234b530fa439d4f7091f2fa172173f883c221bf155a88987b697
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
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
|
+
|
|
4
9
|
1.157.0 (2026-06-22)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.158.0
|
|
@@ -4920,6 +4920,27 @@ module Aws::CloudWatchLogs
|
|
|
4920
4920
|
req.send_request(options)
|
|
4921
4921
|
end
|
|
4922
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
|
+
|
|
4923
4944
|
# Returns the information about the log transformer associated with this
|
|
4924
4945
|
# log group.
|
|
4925
4946
|
#
|
|
@@ -6790,8 +6811,8 @@ module Aws::CloudWatchLogs
|
|
|
6790
6811
|
# * For Amazon Bedrock Agents, the valid values are `APPLICATION_LOGS`
|
|
6791
6812
|
# and `EVENT_LOGS`.
|
|
6792
6813
|
#
|
|
6793
|
-
# * For Amazon Bedrock Knowledge Bases, the valid
|
|
6794
|
-
# `APPLICATION_LOGS`.
|
|
6814
|
+
# * For Amazon Bedrock Knowledge Bases, the valid values are
|
|
6815
|
+
# `APPLICATION_LOGS` and `TRACES`.
|
|
6795
6816
|
#
|
|
6796
6817
|
# * For Amazon Bedrock AgentCore Runtime, the valid values are
|
|
6797
6818
|
# `APPLICATION_LOGS`, `USAGE_LOGS` and `TRACES`.
|
|
@@ -6855,6 +6876,8 @@ module Aws::CloudWatchLogs
|
|
|
6855
6876
|
#
|
|
6856
6877
|
# * For Amazon Q, the valid values are `EVENT_LOGS` and `SYNC_JOB_LOGS`.
|
|
6857
6878
|
#
|
|
6879
|
+
# * For Amazon S3, the valid value is `S3_SERVER_ACCESS_LOGS`.
|
|
6880
|
+
#
|
|
6858
6881
|
# * For Amazon Web Services Security Hub CSPM, the valid value is
|
|
6859
6882
|
# `SECURITY_FINDING_LOGS`.
|
|
6860
6883
|
#
|
|
@@ -7807,6 +7830,40 @@ module Aws::CloudWatchLogs
|
|
|
7807
7830
|
req.send_request(options)
|
|
7808
7831
|
end
|
|
7809
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
|
+
|
|
7810
7867
|
# Creates or updates a subscription filter and associates it with the
|
|
7811
7868
|
# specified log group. With subscription filters, you can subscribe to a
|
|
7812
7869
|
# real-time stream of log events ingested through [PutLogEvents][1] and
|
|
@@ -9502,7 +9559,7 @@ module Aws::CloudWatchLogs
|
|
|
9502
9559
|
tracer: tracer
|
|
9503
9560
|
)
|
|
9504
9561
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
|
9505
|
-
context[:gem_version] = '1.
|
|
9562
|
+
context[:gem_version] = '1.158.0'
|
|
9506
9563
|
Seahorse::Client::Request.new(handlers, context)
|
|
9507
9564
|
end
|
|
9508
9565
|
|
|
@@ -302,6 +302,8 @@ module Aws::CloudWatchLogs
|
|
|
302
302
|
GetScheduledQueryHistoryResponse = Shapes::StructureShape.new(name: 'GetScheduledQueryHistoryResponse')
|
|
303
303
|
GetScheduledQueryRequest = Shapes::StructureShape.new(name: 'GetScheduledQueryRequest')
|
|
304
304
|
GetScheduledQueryResponse = Shapes::StructureShape.new(name: 'GetScheduledQueryResponse')
|
|
305
|
+
GetStorageTierPolicyRequest = Shapes::StructureShape.new(name: 'GetStorageTierPolicyRequest')
|
|
306
|
+
GetStorageTierPolicyResponse = Shapes::StructureShape.new(name: 'GetStorageTierPolicyResponse')
|
|
305
307
|
GetTransformerRequest = Shapes::StructureShape.new(name: 'GetTransformerRequest')
|
|
306
308
|
GetTransformerResponse = Shapes::StructureShape.new(name: 'GetTransformerResponse')
|
|
307
309
|
Grok = Shapes::StructureShape.new(name: 'Grok')
|
|
@@ -523,6 +525,8 @@ module Aws::CloudWatchLogs
|
|
|
523
525
|
PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
|
|
524
526
|
PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
|
|
525
527
|
PutRetentionPolicyRequest = Shapes::StructureShape.new(name: 'PutRetentionPolicyRequest')
|
|
528
|
+
PutStorageTierPolicyRequest = Shapes::StructureShape.new(name: 'PutStorageTierPolicyRequest')
|
|
529
|
+
PutStorageTierPolicyResponse = Shapes::StructureShape.new(name: 'PutStorageTierPolicyResponse')
|
|
526
530
|
PutSubscriptionFilterRequest = Shapes::StructureShape.new(name: 'PutSubscriptionFilterRequest')
|
|
527
531
|
PutSyslogConfigurationRequest = Shapes::StructureShape.new(name: 'PutSyslogConfigurationRequest')
|
|
528
532
|
PutTransformerRequest = Shapes::StructureShape.new(name: 'PutTransformerRequest')
|
|
@@ -625,6 +629,7 @@ module Aws::CloudWatchLogs
|
|
|
625
629
|
StatsValue = Shapes::FloatShape.new(name: 'StatsValue')
|
|
626
630
|
StopQueryRequest = Shapes::StructureShape.new(name: 'StopQueryRequest')
|
|
627
631
|
StopQueryResponse = Shapes::StructureShape.new(name: 'StopQueryResponse')
|
|
632
|
+
StorageTier = Shapes::StringShape.new(name: 'StorageTier')
|
|
628
633
|
StoredBytes = Shapes::IntegerShape.new(name: 'StoredBytes')
|
|
629
634
|
String = Shapes::StringShape.new(name: 'String')
|
|
630
635
|
SubscriptionFilter = Shapes::StructureShape.new(name: 'SubscriptionFilter')
|
|
@@ -1573,6 +1578,12 @@ module Aws::CloudWatchLogs
|
|
|
1573
1578
|
GetScheduledQueryResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
|
|
1574
1579
|
GetScheduledQueryResponse.struct_class = Types::GetScheduledQueryResponse
|
|
1575
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
|
+
|
|
1576
1587
|
GetTransformerRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, required: true, location_name: "logGroupIdentifier"))
|
|
1577
1588
|
GetTransformerRequest.struct_class = Types::GetTransformerRequest
|
|
1578
1589
|
|
|
@@ -2210,6 +2221,13 @@ module Aws::CloudWatchLogs
|
|
|
2210
2221
|
PutRetentionPolicyRequest.add_member(:retention_in_days, Shapes::ShapeRef.new(shape: Days, required: true, location_name: "retentionInDays"))
|
|
2211
2222
|
PutRetentionPolicyRequest.struct_class = Types::PutRetentionPolicyRequest
|
|
2212
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
|
+
|
|
2213
2231
|
PutSubscriptionFilterRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
|
2214
2232
|
PutSubscriptionFilterRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "filterName"))
|
|
2215
2233
|
PutSubscriptionFilterRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, required: true, location_name: "filterPattern"))
|
|
@@ -3613,6 +3631,19 @@ module Aws::CloudWatchLogs
|
|
|
3613
3631
|
)
|
|
3614
3632
|
end)
|
|
3615
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
|
+
|
|
3616
3647
|
api.add_operation(:get_transformer, Seahorse::Model::Operation.new.tap do |o|
|
|
3617
3648
|
o.name = "GetTransformer"
|
|
3618
3649
|
o.http_method = "POST"
|
|
@@ -3994,6 +4025,19 @@ module Aws::CloudWatchLogs
|
|
|
3994
4025
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
3995
4026
|
end)
|
|
3996
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
|
+
|
|
3997
4041
|
api.add_operation(:put_subscription_filter, Seahorse::Model::Operation.new.tap do |o|
|
|
3998
4042
|
o.name = "PutSubscriptionFilter"
|
|
3999
4043
|
o.http_method = "POST"
|
|
@@ -4595,6 +4595,30 @@ module Aws::CloudWatchLogs
|
|
|
4595
4595
|
include Aws::Structure
|
|
4596
4596
|
end
|
|
4597
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
|
+
|
|
4598
4622
|
# @!attribute [rw] log_group_identifier
|
|
4599
4623
|
# Specify either the name or ARN of the log group to return
|
|
4600
4624
|
# transformer information for. If the log group is in a source account
|
|
@@ -7963,8 +7987,8 @@ module Aws::CloudWatchLogs
|
|
|
7963
7987
|
# * For Amazon Bedrock Agents, the valid values are `APPLICATION_LOGS`
|
|
7964
7988
|
# and `EVENT_LOGS`.
|
|
7965
7989
|
#
|
|
7966
|
-
# * For Amazon Bedrock Knowledge Bases, the valid
|
|
7967
|
-
# `APPLICATION_LOGS`.
|
|
7990
|
+
# * For Amazon Bedrock Knowledge Bases, the valid values are
|
|
7991
|
+
# `APPLICATION_LOGS` and `TRACES`.
|
|
7968
7992
|
#
|
|
7969
7993
|
# * For Amazon Bedrock AgentCore Runtime, the valid values are
|
|
7970
7994
|
# `APPLICATION_LOGS`, `USAGE_LOGS` and `TRACES`.
|
|
@@ -8031,6 +8055,8 @@ module Aws::CloudWatchLogs
|
|
|
8031
8055
|
# * For Amazon Q, the valid values are `EVENT_LOGS` and
|
|
8032
8056
|
# `SYNC_JOB_LOGS`.
|
|
8033
8057
|
#
|
|
8058
|
+
# * For Amazon S3, the valid value is `S3_SERVER_ACCESS_LOGS`.
|
|
8059
|
+
#
|
|
8034
8060
|
# * For Amazon Web Services Security Hub CSPM, the valid value is
|
|
8035
8061
|
# `SECURITY_FINDING_LOGS`.
|
|
8036
8062
|
#
|
|
@@ -8644,6 +8670,37 @@ module Aws::CloudWatchLogs
|
|
|
8644
8670
|
include Aws::Structure
|
|
8645
8671
|
end
|
|
8646
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
|
+
|
|
8647
8704
|
# @!attribute [rw] log_group_name
|
|
8648
8705
|
# The name of the log group.
|
|
8649
8706
|
# @return [String]
|
data/sig/client.rbs
CHANGED
|
@@ -932,6 +932,16 @@ module Aws
|
|
|
932
932
|
) -> _GetScheduledQueryHistoryResponseSuccess
|
|
933
933
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetScheduledQueryHistoryResponseSuccess
|
|
934
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
|
+
|
|
935
945
|
interface _GetTransformerResponseSuccess
|
|
936
946
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTransformerResponse]
|
|
937
947
|
def log_group_identifier: () -> ::String
|
|
@@ -1333,6 +1343,17 @@ module Aws
|
|
|
1333
1343
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1334
1344
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1335
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
|
+
|
|
1336
1357
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_subscription_filter-instance_method
|
|
1337
1358
|
def put_subscription_filter: (
|
|
1338
1359
|
log_group_name: ::String,
|
data/sig/types.rbs
CHANGED
|
@@ -1095,6 +1095,15 @@ module Aws::CloudWatchLogs
|
|
|
1095
1095
|
SENSITIVE: []
|
|
1096
1096
|
end
|
|
1097
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
|
+
|
|
1098
1107
|
class GetTransformerRequest
|
|
1099
1108
|
attr_accessor log_group_identifier: ::String
|
|
1100
1109
|
SENSITIVE: []
|
|
@@ -1887,6 +1896,17 @@ module Aws::CloudWatchLogs
|
|
|
1887
1896
|
SENSITIVE: []
|
|
1888
1897
|
end
|
|
1889
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
|
+
|
|
1890
1910
|
class PutSubscriptionFilterRequest
|
|
1891
1911
|
attr_accessor log_group_name: ::String
|
|
1892
1912
|
attr_accessor filter_name: ::String
|