aws-sdk-cloudwatchlogs 1.78.0 → 1.172.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 +470 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +4948 -482
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +2072 -13
- data/lib/aws-sdk-cloudwatchlogs/customizations.rb +0 -8
- data/lib/aws-sdk-cloudwatchlogs/endpoint_parameters.rb +13 -10
- data/lib/aws-sdk-cloudwatchlogs/endpoint_provider.rb +15 -19
- data/lib/aws-sdk-cloudwatchlogs/endpoints.rb +2 -1034
- data/lib/aws-sdk-cloudwatchlogs/errors.rb +27 -0
- data/lib/aws-sdk-cloudwatchlogs/event_streams.rb +39 -0
- data/lib/aws-sdk-cloudwatchlogs/plugins/endpoints.rb +19 -160
- data/lib/aws-sdk-cloudwatchlogs/types.rb +6986 -752
- data/lib/aws-sdk-cloudwatchlogs.rb +16 -12
- data/sig/client.rbs +716 -26
- data/sig/errors.rbs +24 -19
- data/sig/params.rbs +173 -0
- data/sig/resource.rbs +7 -0
- data/sig/types.rbs +1302 -19
- metadata +9 -11
data/sig/errors.rbs
CHANGED
|
@@ -11,50 +11,55 @@ module Aws
|
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
class AccessDeniedException <
|
|
14
|
+
class AccessDeniedException < ServiceError
|
|
15
15
|
end
|
|
16
|
-
class ConflictException <
|
|
16
|
+
class ConflictException < ServiceError
|
|
17
17
|
end
|
|
18
|
-
class DataAlreadyAcceptedException <
|
|
18
|
+
class DataAlreadyAcceptedException < ServiceError
|
|
19
19
|
def expected_sequence_token: () -> ::String
|
|
20
20
|
end
|
|
21
|
-
class
|
|
21
|
+
class InternalServerException < ServiceError
|
|
22
22
|
end
|
|
23
|
-
class
|
|
23
|
+
class InternalStreamingException < ServiceError
|
|
24
|
+
def message: () -> ::String
|
|
25
|
+
end
|
|
26
|
+
class InvalidOperationException < ServiceError
|
|
27
|
+
end
|
|
28
|
+
class InvalidParameterException < ServiceError
|
|
24
29
|
end
|
|
25
|
-
class InvalidSequenceTokenException <
|
|
30
|
+
class InvalidSequenceTokenException < ServiceError
|
|
26
31
|
def expected_sequence_token: () -> ::String
|
|
27
32
|
end
|
|
28
|
-
class LimitExceededException <
|
|
33
|
+
class LimitExceededException < ServiceError
|
|
29
34
|
end
|
|
30
|
-
class MalformedQueryException <
|
|
35
|
+
class MalformedQueryException < ServiceError
|
|
31
36
|
def query_compile_error: () -> ::String
|
|
32
37
|
end
|
|
33
|
-
class OperationAbortedException <
|
|
38
|
+
class OperationAbortedException < ServiceError
|
|
34
39
|
end
|
|
35
|
-
class ResourceAlreadyExistsException <
|
|
40
|
+
class ResourceAlreadyExistsException < ServiceError
|
|
36
41
|
end
|
|
37
|
-
class ResourceNotFoundException <
|
|
42
|
+
class ResourceNotFoundException < ServiceError
|
|
38
43
|
end
|
|
39
|
-
class ServiceQuotaExceededException <
|
|
44
|
+
class ServiceQuotaExceededException < ServiceError
|
|
40
45
|
end
|
|
41
|
-
class ServiceUnavailableException <
|
|
46
|
+
class ServiceUnavailableException < ServiceError
|
|
42
47
|
end
|
|
43
|
-
class SessionStreamingException <
|
|
48
|
+
class SessionStreamingException < ServiceError
|
|
44
49
|
def message: () -> ::String
|
|
45
50
|
end
|
|
46
|
-
class SessionTimeoutException <
|
|
51
|
+
class SessionTimeoutException < ServiceError
|
|
47
52
|
def message: () -> ::String
|
|
48
53
|
end
|
|
49
|
-
class ThrottlingException <
|
|
54
|
+
class ThrottlingException < ServiceError
|
|
50
55
|
end
|
|
51
|
-
class TooManyTagsException <
|
|
56
|
+
class TooManyTagsException < ServiceError
|
|
52
57
|
def message: () -> ::String
|
|
53
58
|
def resource_name: () -> ::String
|
|
54
59
|
end
|
|
55
|
-
class UnrecognizedClientException <
|
|
60
|
+
class UnrecognizedClientException < ServiceError
|
|
56
61
|
end
|
|
57
|
-
class ValidationException <
|
|
62
|
+
class ValidationException < ServiceError
|
|
58
63
|
end
|
|
59
64
|
end
|
|
60
65
|
end
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module CloudWatchLogs
|
|
10
|
+
module Params
|
|
11
|
+
type destination_configuration = {
|
|
12
|
+
s3_configuration: {
|
|
13
|
+
destination_identifier: ::String,
|
|
14
|
+
role_arn: ::String,
|
|
15
|
+
owner_account_id: ::String?,
|
|
16
|
+
kms_key_id: ::String?
|
|
17
|
+
}?,
|
|
18
|
+
lookup_table_configuration: {
|
|
19
|
+
table_name: ::String,
|
|
20
|
+
role_arn: ::String,
|
|
21
|
+
description: ::String?,
|
|
22
|
+
kms_key_id: ::String?,
|
|
23
|
+
tags: Hash[::String, ::String]?
|
|
24
|
+
}?
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
type date_time_converter = {
|
|
28
|
+
source: ::String,
|
|
29
|
+
target: ::String,
|
|
30
|
+
target_format: ::String?,
|
|
31
|
+
match_patterns: Array[::String],
|
|
32
|
+
source_timezone: ::String?,
|
|
33
|
+
target_timezone: ::String?,
|
|
34
|
+
locale: ::String?
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
type list_to_map = {
|
|
38
|
+
source: ::String,
|
|
39
|
+
key: ::String,
|
|
40
|
+
value_key: ::String?,
|
|
41
|
+
target: ::String?,
|
|
42
|
+
flatten: bool?,
|
|
43
|
+
flattened_element: ("first" | "last")?
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
type parse_key_value = {
|
|
47
|
+
source: ::String?,
|
|
48
|
+
destination: ::String?,
|
|
49
|
+
field_delimiter: ::String?,
|
|
50
|
+
key_value_delimiter: ::String?,
|
|
51
|
+
key_prefix: ::String?,
|
|
52
|
+
non_match_value: ::String?,
|
|
53
|
+
overwrite_if_exists: bool?
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
type processor = {
|
|
57
|
+
add_keys: {
|
|
58
|
+
entries: Array[
|
|
59
|
+
{
|
|
60
|
+
key: ::String,
|
|
61
|
+
value: ::String,
|
|
62
|
+
overwrite_if_exists: bool?
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}?,
|
|
66
|
+
copy_value: {
|
|
67
|
+
entries: Array[
|
|
68
|
+
{
|
|
69
|
+
source: ::String,
|
|
70
|
+
target: ::String,
|
|
71
|
+
overwrite_if_exists: bool?
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}?,
|
|
75
|
+
csv: {
|
|
76
|
+
quote_character: ::String?,
|
|
77
|
+
delimiter: ::String?,
|
|
78
|
+
columns: Array[::String]?,
|
|
79
|
+
source: ::String?,
|
|
80
|
+
destination: ::String?
|
|
81
|
+
}?,
|
|
82
|
+
date_time_converter: Params::date_time_converter?,
|
|
83
|
+
delete_keys: {
|
|
84
|
+
with_keys: Array[::String]
|
|
85
|
+
}?,
|
|
86
|
+
grok: {
|
|
87
|
+
source: ::String?,
|
|
88
|
+
match: ::String
|
|
89
|
+
}?,
|
|
90
|
+
list_to_map: Params::list_to_map?,
|
|
91
|
+
lower_case_string: {
|
|
92
|
+
with_keys: Array[::String]
|
|
93
|
+
}?,
|
|
94
|
+
move_keys: {
|
|
95
|
+
entries: Array[
|
|
96
|
+
{
|
|
97
|
+
source: ::String,
|
|
98
|
+
target: ::String,
|
|
99
|
+
overwrite_if_exists: bool?
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}?,
|
|
103
|
+
parse_cloudfront: {
|
|
104
|
+
source: ::String?
|
|
105
|
+
}?,
|
|
106
|
+
parse_json: {
|
|
107
|
+
source: ::String?,
|
|
108
|
+
destination: ::String?
|
|
109
|
+
}?,
|
|
110
|
+
parse_key_value: Params::parse_key_value?,
|
|
111
|
+
parse_route_53: {
|
|
112
|
+
source: ::String?
|
|
113
|
+
}?,
|
|
114
|
+
parse_to_ocsf: {
|
|
115
|
+
source: ::String?,
|
|
116
|
+
event_source: ("CloudTrail" | "Route53Resolver" | "VPCFlow" | "EKSAudit" | "AWSWAF"),
|
|
117
|
+
ocsf_version: ("V1.1" | "V1.5"),
|
|
118
|
+
mapping_version: ::String?
|
|
119
|
+
}?,
|
|
120
|
+
parse_postgres: {
|
|
121
|
+
source: ::String?
|
|
122
|
+
}?,
|
|
123
|
+
parse_vpc: {
|
|
124
|
+
source: ::String?
|
|
125
|
+
}?,
|
|
126
|
+
parse_waf: {
|
|
127
|
+
source: ::String?
|
|
128
|
+
}?,
|
|
129
|
+
rename_keys: {
|
|
130
|
+
entries: Array[
|
|
131
|
+
{
|
|
132
|
+
key: ::String,
|
|
133
|
+
rename_to: ::String,
|
|
134
|
+
overwrite_if_exists: bool?
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}?,
|
|
138
|
+
split_string: {
|
|
139
|
+
entries: Array[
|
|
140
|
+
{
|
|
141
|
+
source: ::String,
|
|
142
|
+
delimiter: ::String
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}?,
|
|
146
|
+
substitute_string: {
|
|
147
|
+
entries: Array[
|
|
148
|
+
{
|
|
149
|
+
source: ::String,
|
|
150
|
+
from: ::String,
|
|
151
|
+
to: ::String
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
}?,
|
|
155
|
+
trim_string: {
|
|
156
|
+
with_keys: Array[::String]
|
|
157
|
+
}?,
|
|
158
|
+
type_converter: {
|
|
159
|
+
entries: Array[
|
|
160
|
+
{
|
|
161
|
+
key: ::String,
|
|
162
|
+
type: ("boolean" | "integer" | "double" | "string")
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
}?,
|
|
166
|
+
upper_case_string: {
|
|
167
|
+
with_keys: Array[::String]
|
|
168
|
+
}?
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
end
|
data/sig/resource.rbs
CHANGED
|
@@ -15,8 +15,10 @@ module Aws
|
|
|
15
15
|
?credentials: untyped,
|
|
16
16
|
?region: String,
|
|
17
17
|
?access_key_id: String,
|
|
18
|
+
?account_id: String,
|
|
18
19
|
?active_endpoint_cache: bool,
|
|
19
20
|
?adaptive_retry_wait_to_fill: bool,
|
|
21
|
+
?auth_scheme_preference: Array[String],
|
|
20
22
|
?client_side_monitoring: bool,
|
|
21
23
|
?client_side_monitoring_client_id: String,
|
|
22
24
|
?client_side_monitoring_host: String,
|
|
@@ -25,6 +27,7 @@ module Aws
|
|
|
25
27
|
?convert_params: bool,
|
|
26
28
|
?correct_clock_skew: bool,
|
|
27
29
|
?defaults_mode: String,
|
|
30
|
+
?disable_clock_skew_correction: bool,
|
|
28
31
|
?disable_host_prefix_injection: bool,
|
|
29
32
|
?disable_request_compression: bool,
|
|
30
33
|
?endpoint: String,
|
|
@@ -41,7 +44,9 @@ module Aws
|
|
|
41
44
|
?max_attempts: Integer,
|
|
42
45
|
?output_event_stream_handler: Proc,
|
|
43
46
|
?profile: String,
|
|
47
|
+
?request_checksum_calculation: String,
|
|
44
48
|
?request_min_compression_size_bytes: Integer,
|
|
49
|
+
?response_checksum_validation: String,
|
|
45
50
|
?retry_backoff: Proc,
|
|
46
51
|
?retry_base_delay: Float,
|
|
47
52
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
@@ -51,8 +56,10 @@ module Aws
|
|
|
51
56
|
?sdk_ua_app_id: String,
|
|
52
57
|
?secret_access_key: String,
|
|
53
58
|
?session_token: String,
|
|
59
|
+
?sigv4a_signing_region_set: Array[String],
|
|
54
60
|
?simple_json: bool,
|
|
55
61
|
?stub_responses: untyped,
|
|
62
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
56
63
|
?token_provider: untyped,
|
|
57
64
|
?use_dualstack_endpoint: bool,
|
|
58
65
|
?use_fips_endpoint: bool,
|