aws-sdk-observabilityadmin 1.8.0 → 1.9.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-observabilityadmin/client.rb +572 -16
- data/lib/aws-sdk-observabilityadmin/client_api.rb +369 -0
- data/lib/aws-sdk-observabilityadmin/errors.rb +69 -0
- data/lib/aws-sdk-observabilityadmin/types.rb +616 -9
- data/lib/aws-sdk-observabilityadmin.rb +2 -2
- data/sig/client.rbs +198 -0
- data/sig/errors.rbs +13 -0
- data/sig/types.rbs +189 -0
- metadata +1 -1
data/sig/client.rbs
CHANGED
@@ -78,6 +78,72 @@ module Aws
|
|
78
78
|
| (?Hash[Symbol, untyped]) -> instance
|
79
79
|
|
80
80
|
|
81
|
+
interface _CreateTelemetryRuleResponseSuccess
|
82
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTelemetryRuleOutput]
|
83
|
+
def rule_arn: () -> ::String
|
84
|
+
end
|
85
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#create_telemetry_rule-instance_method
|
86
|
+
def create_telemetry_rule: (
|
87
|
+
rule_name: ::String,
|
88
|
+
rule: {
|
89
|
+
resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")?,
|
90
|
+
telemetry_type: ("Logs" | "Metrics" | "Traces"),
|
91
|
+
destination_configuration: {
|
92
|
+
destination_type: ("cloud-watch-logs")?,
|
93
|
+
destination_pattern: ::String?,
|
94
|
+
retention_in_days: ::Integer?,
|
95
|
+
vpc_flow_log_parameters: {
|
96
|
+
log_format: ::String?,
|
97
|
+
traffic_type: ::String?,
|
98
|
+
max_aggregation_interval: ::Integer?
|
99
|
+
}?
|
100
|
+
}?,
|
101
|
+
scope: ::String?,
|
102
|
+
selection_criteria: ::String?
|
103
|
+
},
|
104
|
+
?tags: Hash[::String, ::String]
|
105
|
+
) -> _CreateTelemetryRuleResponseSuccess
|
106
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTelemetryRuleResponseSuccess
|
107
|
+
|
108
|
+
interface _CreateTelemetryRuleForOrganizationResponseSuccess
|
109
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTelemetryRuleForOrganizationOutput]
|
110
|
+
def rule_arn: () -> ::String
|
111
|
+
end
|
112
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#create_telemetry_rule_for_organization-instance_method
|
113
|
+
def create_telemetry_rule_for_organization: (
|
114
|
+
rule_name: ::String,
|
115
|
+
rule: {
|
116
|
+
resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")?,
|
117
|
+
telemetry_type: ("Logs" | "Metrics" | "Traces"),
|
118
|
+
destination_configuration: {
|
119
|
+
destination_type: ("cloud-watch-logs")?,
|
120
|
+
destination_pattern: ::String?,
|
121
|
+
retention_in_days: ::Integer?,
|
122
|
+
vpc_flow_log_parameters: {
|
123
|
+
log_format: ::String?,
|
124
|
+
traffic_type: ::String?,
|
125
|
+
max_aggregation_interval: ::Integer?
|
126
|
+
}?
|
127
|
+
}?,
|
128
|
+
scope: ::String?,
|
129
|
+
selection_criteria: ::String?
|
130
|
+
},
|
131
|
+
?tags: Hash[::String, ::String]
|
132
|
+
) -> _CreateTelemetryRuleForOrganizationResponseSuccess
|
133
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTelemetryRuleForOrganizationResponseSuccess
|
134
|
+
|
135
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#delete_telemetry_rule-instance_method
|
136
|
+
def delete_telemetry_rule: (
|
137
|
+
rule_identifier: ::String
|
138
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
139
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
140
|
+
|
141
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#delete_telemetry_rule_for_organization-instance_method
|
142
|
+
def delete_telemetry_rule_for_organization: (
|
143
|
+
rule_identifier: ::String
|
144
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
145
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
146
|
+
|
81
147
|
interface _GetTelemetryEvaluationStatusResponseSuccess
|
82
148
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTelemetryEvaluationStatusOutput]
|
83
149
|
def status: () -> ("NOT_STARTED" | "STARTING" | "FAILED_START" | "RUNNING" | "STOPPING" | "FAILED_STOP" | "STOPPED")
|
@@ -96,6 +162,34 @@ module Aws
|
|
96
162
|
def get_telemetry_evaluation_status_for_organization: () -> _GetTelemetryEvaluationStatusForOrganizationResponseSuccess
|
97
163
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTelemetryEvaluationStatusForOrganizationResponseSuccess
|
98
164
|
|
165
|
+
interface _GetTelemetryRuleResponseSuccess
|
166
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTelemetryRuleOutput]
|
167
|
+
def rule_name: () -> ::String
|
168
|
+
def rule_arn: () -> ::String
|
169
|
+
def created_time_stamp: () -> ::Integer
|
170
|
+
def last_update_time_stamp: () -> ::Integer
|
171
|
+
def telemetry_rule: () -> Types::TelemetryRule
|
172
|
+
end
|
173
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#get_telemetry_rule-instance_method
|
174
|
+
def get_telemetry_rule: (
|
175
|
+
rule_identifier: ::String
|
176
|
+
) -> _GetTelemetryRuleResponseSuccess
|
177
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTelemetryRuleResponseSuccess
|
178
|
+
|
179
|
+
interface _GetTelemetryRuleForOrganizationResponseSuccess
|
180
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTelemetryRuleForOrganizationOutput]
|
181
|
+
def rule_name: () -> ::String
|
182
|
+
def rule_arn: () -> ::String
|
183
|
+
def created_time_stamp: () -> ::Integer
|
184
|
+
def last_update_time_stamp: () -> ::Integer
|
185
|
+
def telemetry_rule: () -> Types::TelemetryRule
|
186
|
+
end
|
187
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#get_telemetry_rule_for_organization-instance_method
|
188
|
+
def get_telemetry_rule_for_organization: (
|
189
|
+
rule_identifier: ::String
|
190
|
+
) -> _GetTelemetryRuleForOrganizationResponseSuccess
|
191
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTelemetryRuleForOrganizationResponseSuccess
|
192
|
+
|
99
193
|
interface _ListResourceTelemetryResponseSuccess
|
100
194
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceTelemetryOutput]
|
101
195
|
def telemetry_configurations: () -> ::Array[Types::TelemetryConfiguration]
|
@@ -129,6 +223,44 @@ module Aws
|
|
129
223
|
) -> _ListResourceTelemetryForOrganizationResponseSuccess
|
130
224
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceTelemetryForOrganizationResponseSuccess
|
131
225
|
|
226
|
+
interface _ListTagsForResourceResponseSuccess
|
227
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
|
228
|
+
def tags: () -> ::Hash[::String, ::String]
|
229
|
+
end
|
230
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#list_tags_for_resource-instance_method
|
231
|
+
def list_tags_for_resource: (
|
232
|
+
resource_arn: ::String
|
233
|
+
) -> _ListTagsForResourceResponseSuccess
|
234
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
235
|
+
|
236
|
+
interface _ListTelemetryRulesResponseSuccess
|
237
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTelemetryRulesOutput]
|
238
|
+
def telemetry_rule_summaries: () -> ::Array[Types::TelemetryRuleSummary]
|
239
|
+
def next_token: () -> ::String
|
240
|
+
end
|
241
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#list_telemetry_rules-instance_method
|
242
|
+
def list_telemetry_rules: (
|
243
|
+
?rule_name_prefix: ::String,
|
244
|
+
?max_results: ::Integer,
|
245
|
+
?next_token: ::String
|
246
|
+
) -> _ListTelemetryRulesResponseSuccess
|
247
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTelemetryRulesResponseSuccess
|
248
|
+
|
249
|
+
interface _ListTelemetryRulesForOrganizationResponseSuccess
|
250
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTelemetryRulesForOrganizationOutput]
|
251
|
+
def telemetry_rule_summaries: () -> ::Array[Types::TelemetryRuleSummary]
|
252
|
+
def next_token: () -> ::String
|
253
|
+
end
|
254
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#list_telemetry_rules_for_organization-instance_method
|
255
|
+
def list_telemetry_rules_for_organization: (
|
256
|
+
?rule_name_prefix: ::String,
|
257
|
+
?source_account_ids: Array[::String],
|
258
|
+
?source_organization_unit_ids: Array[::String],
|
259
|
+
?max_results: ::Integer,
|
260
|
+
?next_token: ::String
|
261
|
+
) -> _ListTelemetryRulesForOrganizationResponseSuccess
|
262
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTelemetryRulesForOrganizationResponseSuccess
|
263
|
+
|
132
264
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#start_telemetry_evaluation-instance_method
|
133
265
|
def start_telemetry_evaluation: () -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
134
266
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
@@ -144,6 +276,72 @@ module Aws
|
|
144
276
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#stop_telemetry_evaluation_for_organization-instance_method
|
145
277
|
def stop_telemetry_evaluation_for_organization: () -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
146
278
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
279
|
+
|
280
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#tag_resource-instance_method
|
281
|
+
def tag_resource: (
|
282
|
+
resource_arn: ::String,
|
283
|
+
tags: Hash[::String, ::String]
|
284
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
285
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
286
|
+
|
287
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#untag_resource-instance_method
|
288
|
+
def untag_resource: (
|
289
|
+
resource_arn: ::String,
|
290
|
+
tag_keys: Array[::String]
|
291
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
292
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
293
|
+
|
294
|
+
interface _UpdateTelemetryRuleResponseSuccess
|
295
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTelemetryRuleOutput]
|
296
|
+
def rule_arn: () -> ::String
|
297
|
+
end
|
298
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#update_telemetry_rule-instance_method
|
299
|
+
def update_telemetry_rule: (
|
300
|
+
rule_identifier: ::String,
|
301
|
+
rule: {
|
302
|
+
resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")?,
|
303
|
+
telemetry_type: ("Logs" | "Metrics" | "Traces"),
|
304
|
+
destination_configuration: {
|
305
|
+
destination_type: ("cloud-watch-logs")?,
|
306
|
+
destination_pattern: ::String?,
|
307
|
+
retention_in_days: ::Integer?,
|
308
|
+
vpc_flow_log_parameters: {
|
309
|
+
log_format: ::String?,
|
310
|
+
traffic_type: ::String?,
|
311
|
+
max_aggregation_interval: ::Integer?
|
312
|
+
}?
|
313
|
+
}?,
|
314
|
+
scope: ::String?,
|
315
|
+
selection_criteria: ::String?
|
316
|
+
}
|
317
|
+
) -> _UpdateTelemetryRuleResponseSuccess
|
318
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTelemetryRuleResponseSuccess
|
319
|
+
|
320
|
+
interface _UpdateTelemetryRuleForOrganizationResponseSuccess
|
321
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTelemetryRuleForOrganizationOutput]
|
322
|
+
def rule_arn: () -> ::String
|
323
|
+
end
|
324
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#update_telemetry_rule_for_organization-instance_method
|
325
|
+
def update_telemetry_rule_for_organization: (
|
326
|
+
rule_identifier: ::String,
|
327
|
+
rule: {
|
328
|
+
resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")?,
|
329
|
+
telemetry_type: ("Logs" | "Metrics" | "Traces"),
|
330
|
+
destination_configuration: {
|
331
|
+
destination_type: ("cloud-watch-logs")?,
|
332
|
+
destination_pattern: ::String?,
|
333
|
+
retention_in_days: ::Integer?,
|
334
|
+
vpc_flow_log_parameters: {
|
335
|
+
log_format: ::String?,
|
336
|
+
traffic_type: ::String?,
|
337
|
+
max_aggregation_interval: ::Integer?
|
338
|
+
}?
|
339
|
+
}?,
|
340
|
+
scope: ::String?,
|
341
|
+
selection_criteria: ::String?
|
342
|
+
}
|
343
|
+
) -> _UpdateTelemetryRuleForOrganizationResponseSuccess
|
344
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTelemetryRuleForOrganizationResponseSuccess
|
147
345
|
end
|
148
346
|
end
|
149
347
|
end
|
data/sig/errors.rbs
CHANGED
@@ -15,10 +15,23 @@ module Aws
|
|
15
15
|
def message: () -> ::String
|
16
16
|
def amzn_error_type: () -> ::String
|
17
17
|
end
|
18
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
19
|
+
def message: () -> ::String
|
20
|
+
end
|
18
21
|
class InternalServerException < ::Aws::Errors::ServiceError
|
19
22
|
def message: () -> ::String
|
20
23
|
def amzn_error_type: () -> ::String
|
21
24
|
end
|
25
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
26
|
+
def message: () -> ::String
|
27
|
+
end
|
28
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
29
|
+
def message: () -> ::String
|
30
|
+
def amzn_error_type: () -> ::String
|
31
|
+
end
|
32
|
+
class TooManyRequestsException < ::Aws::Errors::ServiceError
|
33
|
+
def message: () -> ::String
|
34
|
+
end
|
22
35
|
class ValidationException < ::Aws::Errors::ServiceError
|
23
36
|
def message: () -> ::String
|
24
37
|
end
|
data/sig/types.rbs
CHANGED
@@ -14,6 +14,45 @@ module Aws::ObservabilityAdmin
|
|
14
14
|
SENSITIVE: []
|
15
15
|
end
|
16
16
|
|
17
|
+
class ConflictException
|
18
|
+
attr_accessor message: ::String
|
19
|
+
SENSITIVE: []
|
20
|
+
end
|
21
|
+
|
22
|
+
class CreateTelemetryRuleForOrganizationInput
|
23
|
+
attr_accessor rule_name: ::String
|
24
|
+
attr_accessor rule: Types::TelemetryRule
|
25
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
26
|
+
SENSITIVE: []
|
27
|
+
end
|
28
|
+
|
29
|
+
class CreateTelemetryRuleForOrganizationOutput
|
30
|
+
attr_accessor rule_arn: ::String
|
31
|
+
SENSITIVE: []
|
32
|
+
end
|
33
|
+
|
34
|
+
class CreateTelemetryRuleInput
|
35
|
+
attr_accessor rule_name: ::String
|
36
|
+
attr_accessor rule: Types::TelemetryRule
|
37
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
38
|
+
SENSITIVE: []
|
39
|
+
end
|
40
|
+
|
41
|
+
class CreateTelemetryRuleOutput
|
42
|
+
attr_accessor rule_arn: ::String
|
43
|
+
SENSITIVE: []
|
44
|
+
end
|
45
|
+
|
46
|
+
class DeleteTelemetryRuleForOrganizationInput
|
47
|
+
attr_accessor rule_identifier: ::String
|
48
|
+
SENSITIVE: []
|
49
|
+
end
|
50
|
+
|
51
|
+
class DeleteTelemetryRuleInput
|
52
|
+
attr_accessor rule_identifier: ::String
|
53
|
+
SENSITIVE: []
|
54
|
+
end
|
55
|
+
|
17
56
|
class GetTelemetryEvaluationStatusForOrganizationOutput
|
18
57
|
attr_accessor status: ("NOT_STARTED" | "STARTING" | "FAILED_START" | "RUNNING" | "STOPPING" | "FAILED_STOP" | "STOPPED")
|
19
58
|
attr_accessor failure_reason: ::String
|
@@ -26,6 +65,34 @@ module Aws::ObservabilityAdmin
|
|
26
65
|
SENSITIVE: []
|
27
66
|
end
|
28
67
|
|
68
|
+
class GetTelemetryRuleForOrganizationInput
|
69
|
+
attr_accessor rule_identifier: ::String
|
70
|
+
SENSITIVE: []
|
71
|
+
end
|
72
|
+
|
73
|
+
class GetTelemetryRuleForOrganizationOutput
|
74
|
+
attr_accessor rule_name: ::String
|
75
|
+
attr_accessor rule_arn: ::String
|
76
|
+
attr_accessor created_time_stamp: ::Integer
|
77
|
+
attr_accessor last_update_time_stamp: ::Integer
|
78
|
+
attr_accessor telemetry_rule: Types::TelemetryRule
|
79
|
+
SENSITIVE: []
|
80
|
+
end
|
81
|
+
|
82
|
+
class GetTelemetryRuleInput
|
83
|
+
attr_accessor rule_identifier: ::String
|
84
|
+
SENSITIVE: []
|
85
|
+
end
|
86
|
+
|
87
|
+
class GetTelemetryRuleOutput
|
88
|
+
attr_accessor rule_name: ::String
|
89
|
+
attr_accessor rule_arn: ::String
|
90
|
+
attr_accessor created_time_stamp: ::Integer
|
91
|
+
attr_accessor last_update_time_stamp: ::Integer
|
92
|
+
attr_accessor telemetry_rule: Types::TelemetryRule
|
93
|
+
SENSITIVE: []
|
94
|
+
end
|
95
|
+
|
29
96
|
class InternalServerException
|
30
97
|
attr_accessor message: ::String
|
31
98
|
attr_accessor amzn_error_type: ::String
|
@@ -65,6 +132,61 @@ module Aws::ObservabilityAdmin
|
|
65
132
|
SENSITIVE: []
|
66
133
|
end
|
67
134
|
|
135
|
+
class ListTagsForResourceInput
|
136
|
+
attr_accessor resource_arn: ::String
|
137
|
+
SENSITIVE: []
|
138
|
+
end
|
139
|
+
|
140
|
+
class ListTagsForResourceOutput
|
141
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
142
|
+
SENSITIVE: []
|
143
|
+
end
|
144
|
+
|
145
|
+
class ListTelemetryRulesForOrganizationInput
|
146
|
+
attr_accessor rule_name_prefix: ::String
|
147
|
+
attr_accessor source_account_ids: ::Array[::String]
|
148
|
+
attr_accessor source_organization_unit_ids: ::Array[::String]
|
149
|
+
attr_accessor max_results: ::Integer
|
150
|
+
attr_accessor next_token: ::String
|
151
|
+
SENSITIVE: []
|
152
|
+
end
|
153
|
+
|
154
|
+
class ListTelemetryRulesForOrganizationOutput
|
155
|
+
attr_accessor telemetry_rule_summaries: ::Array[Types::TelemetryRuleSummary]
|
156
|
+
attr_accessor next_token: ::String
|
157
|
+
SENSITIVE: []
|
158
|
+
end
|
159
|
+
|
160
|
+
class ListTelemetryRulesInput
|
161
|
+
attr_accessor rule_name_prefix: ::String
|
162
|
+
attr_accessor max_results: ::Integer
|
163
|
+
attr_accessor next_token: ::String
|
164
|
+
SENSITIVE: []
|
165
|
+
end
|
166
|
+
|
167
|
+
class ListTelemetryRulesOutput
|
168
|
+
attr_accessor telemetry_rule_summaries: ::Array[Types::TelemetryRuleSummary]
|
169
|
+
attr_accessor next_token: ::String
|
170
|
+
SENSITIVE: []
|
171
|
+
end
|
172
|
+
|
173
|
+
class ResourceNotFoundException
|
174
|
+
attr_accessor message: ::String
|
175
|
+
SENSITIVE: []
|
176
|
+
end
|
177
|
+
|
178
|
+
class ServiceQuotaExceededException
|
179
|
+
attr_accessor message: ::String
|
180
|
+
attr_accessor amzn_error_type: ::String
|
181
|
+
SENSITIVE: []
|
182
|
+
end
|
183
|
+
|
184
|
+
class TagResourceInput
|
185
|
+
attr_accessor resource_arn: ::String
|
186
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
187
|
+
SENSITIVE: []
|
188
|
+
end
|
189
|
+
|
68
190
|
class TelemetryConfiguration
|
69
191
|
attr_accessor account_identifier: ::String
|
70
192
|
attr_accessor telemetry_configuration_state: ::Hash[("Logs" | "Metrics" | "Traces"), ("Enabled" | "Disabled" | "NotApplicable")]
|
@@ -75,6 +197,73 @@ module Aws::ObservabilityAdmin
|
|
75
197
|
SENSITIVE: []
|
76
198
|
end
|
77
199
|
|
200
|
+
class TelemetryDestinationConfiguration
|
201
|
+
attr_accessor destination_type: ("cloud-watch-logs")
|
202
|
+
attr_accessor destination_pattern: ::String
|
203
|
+
attr_accessor retention_in_days: ::Integer
|
204
|
+
attr_accessor vpc_flow_log_parameters: Types::VPCFlowLogParameters
|
205
|
+
SENSITIVE: []
|
206
|
+
end
|
207
|
+
|
208
|
+
class TelemetryRule
|
209
|
+
attr_accessor resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")
|
210
|
+
attr_accessor telemetry_type: ("Logs" | "Metrics" | "Traces")
|
211
|
+
attr_accessor destination_configuration: Types::TelemetryDestinationConfiguration
|
212
|
+
attr_accessor scope: ::String
|
213
|
+
attr_accessor selection_criteria: ::String
|
214
|
+
SENSITIVE: []
|
215
|
+
end
|
216
|
+
|
217
|
+
class TelemetryRuleSummary
|
218
|
+
attr_accessor rule_name: ::String
|
219
|
+
attr_accessor rule_arn: ::String
|
220
|
+
attr_accessor created_time_stamp: ::Integer
|
221
|
+
attr_accessor last_update_time_stamp: ::Integer
|
222
|
+
attr_accessor resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")
|
223
|
+
attr_accessor telemetry_type: ("Logs" | "Metrics" | "Traces")
|
224
|
+
SENSITIVE: []
|
225
|
+
end
|
226
|
+
|
227
|
+
class TooManyRequestsException
|
228
|
+
attr_accessor message: ::String
|
229
|
+
SENSITIVE: []
|
230
|
+
end
|
231
|
+
|
232
|
+
class UntagResourceInput
|
233
|
+
attr_accessor resource_arn: ::String
|
234
|
+
attr_accessor tag_keys: ::Array[::String]
|
235
|
+
SENSITIVE: []
|
236
|
+
end
|
237
|
+
|
238
|
+
class UpdateTelemetryRuleForOrganizationInput
|
239
|
+
attr_accessor rule_identifier: ::String
|
240
|
+
attr_accessor rule: Types::TelemetryRule
|
241
|
+
SENSITIVE: []
|
242
|
+
end
|
243
|
+
|
244
|
+
class UpdateTelemetryRuleForOrganizationOutput
|
245
|
+
attr_accessor rule_arn: ::String
|
246
|
+
SENSITIVE: []
|
247
|
+
end
|
248
|
+
|
249
|
+
class UpdateTelemetryRuleInput
|
250
|
+
attr_accessor rule_identifier: ::String
|
251
|
+
attr_accessor rule: Types::TelemetryRule
|
252
|
+
SENSITIVE: []
|
253
|
+
end
|
254
|
+
|
255
|
+
class UpdateTelemetryRuleOutput
|
256
|
+
attr_accessor rule_arn: ::String
|
257
|
+
SENSITIVE: []
|
258
|
+
end
|
259
|
+
|
260
|
+
class VPCFlowLogParameters
|
261
|
+
attr_accessor log_format: ::String
|
262
|
+
attr_accessor traffic_type: ::String
|
263
|
+
attr_accessor max_aggregation_interval: ::Integer
|
264
|
+
SENSITIVE: []
|
265
|
+
end
|
266
|
+
|
78
267
|
class ValidationException
|
79
268
|
attr_accessor message: ::String
|
80
269
|
SENSITIVE: []
|