aws-sdk-eventbridgev2 1.0.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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-eventbridgev2/client.rb +2322 -0
- data/lib/aws-sdk-eventbridgev2/client_api.rb +1266 -0
- data/lib/aws-sdk-eventbridgev2/customizations.rb +0 -0
- data/lib/aws-sdk-eventbridgev2/endpoint_parameters.rb +98 -0
- data/lib/aws-sdk-eventbridgev2/endpoint_provider.rb +95 -0
- data/lib/aws-sdk-eventbridgev2/endpoints.rb +166 -0
- data/lib/aws-sdk-eventbridgev2/errors.rb +298 -0
- data/lib/aws-sdk-eventbridgev2/plugins/endpoints.rb +102 -0
- data/lib/aws-sdk-eventbridgev2/resource.rb +26 -0
- data/lib/aws-sdk-eventbridgev2/types.rb +3185 -0
- data/lib/aws-sdk-eventbridgev2/waiters.rb +178 -0
- data/lib/aws-sdk-eventbridgev2.rb +62 -0
- data/sig/client.rbs +641 -0
- data/sig/errors.rbs +61 -0
- data/sig/params.rbs +72 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +787 -0
- data/sig/waiters.rbs +33 -0
- metadata +98 -0
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,641 @@
|
|
|
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 EventBridgeV2
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#initialize-instance_method
|
|
14
|
+
def self.new: (
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?account_id: String,
|
|
19
|
+
?active_endpoint_cache: bool,
|
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
21
|
+
?auth_scheme_preference: Array[String],
|
|
22
|
+
?client_side_monitoring: bool,
|
|
23
|
+
?client_side_monitoring_client_id: String,
|
|
24
|
+
?client_side_monitoring_host: String,
|
|
25
|
+
?client_side_monitoring_port: Integer,
|
|
26
|
+
?client_side_monitoring_publisher: untyped,
|
|
27
|
+
?convert_params: bool,
|
|
28
|
+
?correct_clock_skew: bool,
|
|
29
|
+
?defaults_mode: String,
|
|
30
|
+
?disable_host_prefix_injection: bool,
|
|
31
|
+
?disable_request_compression: bool,
|
|
32
|
+
?endpoint: String,
|
|
33
|
+
?endpoint_cache_max_entries: Integer,
|
|
34
|
+
?endpoint_cache_max_threads: Integer,
|
|
35
|
+
?endpoint_cache_poll_interval: Integer,
|
|
36
|
+
?endpoint_discovery: bool,
|
|
37
|
+
?ignore_configured_endpoint_urls: bool,
|
|
38
|
+
?log_formatter: untyped,
|
|
39
|
+
?log_level: Symbol,
|
|
40
|
+
?logger: untyped,
|
|
41
|
+
?max_attempts: Integer,
|
|
42
|
+
?profile: String,
|
|
43
|
+
?request_checksum_calculation: String,
|
|
44
|
+
?request_min_compression_size_bytes: Integer,
|
|
45
|
+
?response_checksum_validation: String,
|
|
46
|
+
?retry_backoff: Proc,
|
|
47
|
+
?retry_base_delay: Float,
|
|
48
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
49
|
+
?retry_limit: Integer,
|
|
50
|
+
?retry_max_delay: Integer,
|
|
51
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
52
|
+
?sdk_ua_app_id: String,
|
|
53
|
+
?secret_access_key: String,
|
|
54
|
+
?session_token: String,
|
|
55
|
+
?sigv4a_signing_region_set: Array[String],
|
|
56
|
+
?stub_responses: untyped,
|
|
57
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
58
|
+
?token_provider: untyped,
|
|
59
|
+
?use_dualstack_endpoint: bool,
|
|
60
|
+
?use_fips_endpoint: bool,
|
|
61
|
+
?validate_params: bool,
|
|
62
|
+
?account_id_endpoint_mode: String,
|
|
63
|
+
?endpoint_provider: untyped,
|
|
64
|
+
?http_proxy: String,
|
|
65
|
+
?http_open_timeout: (Float | Integer),
|
|
66
|
+
?http_read_timeout: (Float | Integer),
|
|
67
|
+
?http_idle_timeout: (Float | Integer),
|
|
68
|
+
?http_continue_timeout: (Float | Integer),
|
|
69
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
70
|
+
?http_wire_trace: bool,
|
|
71
|
+
?ssl_verify_peer: bool,
|
|
72
|
+
?ssl_ca_bundle: String,
|
|
73
|
+
?ssl_ca_directory: String,
|
|
74
|
+
?ssl_ca_store: String,
|
|
75
|
+
?on_chunk_received: Proc,
|
|
76
|
+
?on_chunk_sent: Proc,
|
|
77
|
+
?raise_response_errors: bool
|
|
78
|
+
) -> instance
|
|
79
|
+
| (?Hash[Symbol, untyped]) -> instance
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
interface _CreateEventBusResponseSuccess
|
|
83
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateEventBusResponse]
|
|
84
|
+
def event_bus_arn: () -> ::String
|
|
85
|
+
def name: () -> ::String
|
|
86
|
+
def description: () -> ::String
|
|
87
|
+
def encryption_configuration: () -> Types::EncryptionConfiguration
|
|
88
|
+
def storage_configuration: () -> Types::StorageConfigurationOutput
|
|
89
|
+
def state: () -> ("CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING" | "ACTIVE" | "DELETE_FAILED")
|
|
90
|
+
def state_reason: () -> ::String
|
|
91
|
+
def creation_time: () -> ::Time
|
|
92
|
+
end
|
|
93
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#create_event_bus-instance_method
|
|
94
|
+
def create_event_bus: (
|
|
95
|
+
name: ::String,
|
|
96
|
+
?description: ::String,
|
|
97
|
+
?encryption_configuration: {
|
|
98
|
+
kms_key_identifier: ::String?
|
|
99
|
+
},
|
|
100
|
+
?storage_configuration: {
|
|
101
|
+
retention_period_in_days: ::Integer?
|
|
102
|
+
},
|
|
103
|
+
?tags: Hash[::String, ::String],
|
|
104
|
+
?client_token: ::String
|
|
105
|
+
) -> _CreateEventBusResponseSuccess
|
|
106
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventBusResponseSuccess
|
|
107
|
+
|
|
108
|
+
interface _CreateEventSourceResponseSuccess
|
|
109
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateEventSourceResponse]
|
|
110
|
+
def event_source_arn: () -> ::String
|
|
111
|
+
def name: () -> ::String
|
|
112
|
+
def event_bus_arn: () -> ::String
|
|
113
|
+
def state: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETING" | "DELETE_FAILED")
|
|
114
|
+
def creation_time: () -> ::Time
|
|
115
|
+
end
|
|
116
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#create_event_source-instance_method
|
|
117
|
+
def create_event_source: (
|
|
118
|
+
name: ::String,
|
|
119
|
+
event_bus_arn: ::String,
|
|
120
|
+
configuration: Params::event_source_configuration,
|
|
121
|
+
?description: ::String,
|
|
122
|
+
?tags: Hash[::String, ::String],
|
|
123
|
+
?client_token: ::String
|
|
124
|
+
) -> _CreateEventSourceResponseSuccess
|
|
125
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventSourceResponseSuccess
|
|
126
|
+
|
|
127
|
+
interface _CreateSubscriberResponseSuccess
|
|
128
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSubscriberResponse]
|
|
129
|
+
def subscriber_arn: () -> ::String
|
|
130
|
+
def name: () -> ::String
|
|
131
|
+
def event_bus_arn: () -> ::String
|
|
132
|
+
def type: () -> ("FIFO" | "UNORDERED")
|
|
133
|
+
def starting_position: () -> ("LATEST" | "POINT_IN_TIME")
|
|
134
|
+
def point_in_time_configuration: () -> Types::PointInTimeConfiguration
|
|
135
|
+
def state: () -> ("RUNNING" | "STOPPED")
|
|
136
|
+
def creation_time: () -> ::Time
|
|
137
|
+
end
|
|
138
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#create_subscriber-instance_method
|
|
139
|
+
def create_subscriber: (
|
|
140
|
+
name: ::String,
|
|
141
|
+
event_bus_arn: ::String,
|
|
142
|
+
invoke_configuration: {
|
|
143
|
+
role_arn: ::String,
|
|
144
|
+
lambda_parameters: {
|
|
145
|
+
invocation_type: ("EVENT" | "REQUEST_RESPONSE")?,
|
|
146
|
+
qualifier: ::String?,
|
|
147
|
+
durable_execution_name: ::String?,
|
|
148
|
+
tenant_id: ::String?,
|
|
149
|
+
invocation_timeout_seconds: ::String?
|
|
150
|
+
}?,
|
|
151
|
+
sqs_parameters: Params::sqs_parameters?,
|
|
152
|
+
sns_parameters: Params::sns_parameters?,
|
|
153
|
+
kinesis_parameters: {
|
|
154
|
+
partition_key: ::String?,
|
|
155
|
+
explicit_hash_key: ::String?
|
|
156
|
+
}?,
|
|
157
|
+
step_functions_parameters: {
|
|
158
|
+
invocation_type: ("EVENT" | "REQUEST_RESPONSE")?,
|
|
159
|
+
name: ::String?,
|
|
160
|
+
trace_header: ::String?,
|
|
161
|
+
invocation_timeout_seconds: ::String?
|
|
162
|
+
}?,
|
|
163
|
+
http_parameters: {
|
|
164
|
+
path_parameter_values: Array[::String]?,
|
|
165
|
+
header_parameters: Hash[::String, ::String]?,
|
|
166
|
+
query_string_parameters: Hash[::String, ::String]?,
|
|
167
|
+
invocation_timeout_seconds: ::String?
|
|
168
|
+
}?,
|
|
169
|
+
universal_target_parameters: {
|
|
170
|
+
input: ::String,
|
|
171
|
+
invocation_timeout_seconds: ::String?
|
|
172
|
+
}?,
|
|
173
|
+
event_bus_v2_parameters: Params::event_bus_v2_parameters?,
|
|
174
|
+
target_arn: ::String
|
|
175
|
+
},
|
|
176
|
+
?description: ::String,
|
|
177
|
+
?filter_configuration: {
|
|
178
|
+
language: ("EVENT_BRIDGE_PATTERN")?,
|
|
179
|
+
filters: Array[
|
|
180
|
+
{
|
|
181
|
+
pattern: ::String,
|
|
182
|
+
scope: ("DATA" | "METADATA" | "SYSTEM_METADATA")
|
|
183
|
+
}
|
|
184
|
+
]?
|
|
185
|
+
},
|
|
186
|
+
?type: ("FIFO" | "UNORDERED"),
|
|
187
|
+
?starting_position: ("LATEST" | "POINT_IN_TIME"),
|
|
188
|
+
?point_in_time_configuration: {
|
|
189
|
+
point_type: ("HORIZON" | "TIMESTAMP"),
|
|
190
|
+
starting_point: ::Time?,
|
|
191
|
+
end_point: ::Time?
|
|
192
|
+
},
|
|
193
|
+
?batch_configuration: {
|
|
194
|
+
max_batch_size: ::Integer?,
|
|
195
|
+
max_batch_window_in_seconds: ::Integer?
|
|
196
|
+
},
|
|
197
|
+
?transformer: {
|
|
198
|
+
type: ("RAW" | "WITH_METADATA" | "JSONATA")?,
|
|
199
|
+
jsonata_configuration: {
|
|
200
|
+
expression: ::String
|
|
201
|
+
}?
|
|
202
|
+
},
|
|
203
|
+
?retry_policy: {
|
|
204
|
+
max_retry_attempts: ::Integer?,
|
|
205
|
+
max_event_age_in_seconds: ::Integer?,
|
|
206
|
+
retry_strategy: ("ALL")?
|
|
207
|
+
},
|
|
208
|
+
?on_failure_configuration: {
|
|
209
|
+
arn: ::String?
|
|
210
|
+
},
|
|
211
|
+
?log_configuration: {
|
|
212
|
+
level: ("OFF" | "ERROR" | "INFO")?,
|
|
213
|
+
include_payload: ("FULL" | "ON_ERROR_ONLY")?
|
|
214
|
+
},
|
|
215
|
+
?state: ("RUNNING" | "STOPPED"),
|
|
216
|
+
?tags: Hash[::String, ::String],
|
|
217
|
+
?client_token: ::String
|
|
218
|
+
) -> _CreateSubscriberResponseSuccess
|
|
219
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSubscriberResponseSuccess
|
|
220
|
+
|
|
221
|
+
interface _DeleteEventBusResponseSuccess
|
|
222
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEventBusResponse]
|
|
223
|
+
end
|
|
224
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#delete_event_bus-instance_method
|
|
225
|
+
def delete_event_bus: (
|
|
226
|
+
event_bus_arn: ::String
|
|
227
|
+
) -> _DeleteEventBusResponseSuccess
|
|
228
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEventBusResponseSuccess
|
|
229
|
+
|
|
230
|
+
interface _DeleteEventSourceResponseSuccess
|
|
231
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEventSourceResponse]
|
|
232
|
+
end
|
|
233
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#delete_event_source-instance_method
|
|
234
|
+
def delete_event_source: (
|
|
235
|
+
event_source_arn: ::String
|
|
236
|
+
) -> _DeleteEventSourceResponseSuccess
|
|
237
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEventSourceResponseSuccess
|
|
238
|
+
|
|
239
|
+
interface _DeleteResourcePolicyResponseSuccess
|
|
240
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyResponse]
|
|
241
|
+
def revision_id: () -> ::String
|
|
242
|
+
end
|
|
243
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#delete_resource_policy-instance_method
|
|
244
|
+
def delete_resource_policy: (
|
|
245
|
+
resource_arn: ::String,
|
|
246
|
+
?policy_name: ::String,
|
|
247
|
+
?expected_revision_id: ::String
|
|
248
|
+
) -> _DeleteResourcePolicyResponseSuccess
|
|
249
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
|
|
250
|
+
|
|
251
|
+
interface _DeleteSubscriberResponseSuccess
|
|
252
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSubscriberResponse]
|
|
253
|
+
end
|
|
254
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#delete_subscriber-instance_method
|
|
255
|
+
def delete_subscriber: (
|
|
256
|
+
subscriber_arn: ::String
|
|
257
|
+
) -> _DeleteSubscriberResponseSuccess
|
|
258
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSubscriberResponseSuccess
|
|
259
|
+
|
|
260
|
+
interface _DescribeEventBusResponseSuccess
|
|
261
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEventBusResponse]
|
|
262
|
+
def event_bus_arn: () -> ::String
|
|
263
|
+
def name: () -> ::String
|
|
264
|
+
def description: () -> ::String
|
|
265
|
+
def encryption_configuration: () -> Types::EncryptionConfiguration
|
|
266
|
+
def storage_configuration: () -> Types::StorageConfigurationOutput
|
|
267
|
+
def creation_time: () -> ::Time
|
|
268
|
+
def last_modified_time: () -> ::Time
|
|
269
|
+
def state: () -> ("CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING" | "ACTIVE" | "DELETE_FAILED")
|
|
270
|
+
def state_reason: () -> ::String
|
|
271
|
+
end
|
|
272
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#describe_event_bus-instance_method
|
|
273
|
+
def describe_event_bus: (
|
|
274
|
+
event_bus_arn: ::String
|
|
275
|
+
) -> _DescribeEventBusResponseSuccess
|
|
276
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEventBusResponseSuccess
|
|
277
|
+
|
|
278
|
+
interface _DescribeEventSourceResponseSuccess
|
|
279
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEventSourceResponse]
|
|
280
|
+
def event_source_arn: () -> ::String
|
|
281
|
+
def name: () -> ::String
|
|
282
|
+
def event_bus_arn: () -> ::String
|
|
283
|
+
def configuration: () -> Types::EventSourceConfiguration
|
|
284
|
+
def description: () -> ::String
|
|
285
|
+
def state: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETING" | "DELETE_FAILED")
|
|
286
|
+
def revoked: () -> bool
|
|
287
|
+
def creation_time: () -> ::Time
|
|
288
|
+
def last_modified_time: () -> ::Time
|
|
289
|
+
end
|
|
290
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#describe_event_source-instance_method
|
|
291
|
+
def describe_event_source: (
|
|
292
|
+
event_source_arn: ::String
|
|
293
|
+
) -> _DescribeEventSourceResponseSuccess
|
|
294
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEventSourceResponseSuccess
|
|
295
|
+
|
|
296
|
+
interface _DescribeSubscriberResponseSuccess
|
|
297
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSubscriberResponse]
|
|
298
|
+
def subscriber_arn: () -> ::String
|
|
299
|
+
def name: () -> ::String
|
|
300
|
+
def event_bus_arn: () -> ::String
|
|
301
|
+
def invoke_configuration: () -> Types::InvokeConfiguration
|
|
302
|
+
def description: () -> ::String
|
|
303
|
+
def filter_configuration: () -> Types::FilterConfiguration
|
|
304
|
+
def type: () -> ("FIFO" | "UNORDERED")
|
|
305
|
+
def starting_position: () -> ("LATEST" | "POINT_IN_TIME")
|
|
306
|
+
def point_in_time_configuration: () -> Types::PointInTimeConfiguration
|
|
307
|
+
def batch_configuration: () -> Types::BatchConfiguration
|
|
308
|
+
def transformer: () -> Types::Transformer
|
|
309
|
+
def retry_policy: () -> Types::RetryPolicy
|
|
310
|
+
def on_failure_configuration: () -> Types::OnFailureConfiguration
|
|
311
|
+
def log_configuration: () -> Types::LogConfiguration
|
|
312
|
+
def state: () -> ("RUNNING" | "STOPPED")
|
|
313
|
+
def revoked: () -> bool
|
|
314
|
+
def creation_time: () -> ::Time
|
|
315
|
+
def last_modified_time: () -> ::Time
|
|
316
|
+
end
|
|
317
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#describe_subscriber-instance_method
|
|
318
|
+
def describe_subscriber: (
|
|
319
|
+
subscriber_arn: ::String
|
|
320
|
+
) -> _DescribeSubscriberResponseSuccess
|
|
321
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSubscriberResponseSuccess
|
|
322
|
+
|
|
323
|
+
interface _GetResourcePolicyResponseSuccess
|
|
324
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
|
|
325
|
+
def resource_arn: () -> ::String
|
|
326
|
+
def policy_document: () -> ::String
|
|
327
|
+
def policy_name: () -> ::String
|
|
328
|
+
def revision_id: () -> ::String
|
|
329
|
+
end
|
|
330
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#get_resource_policy-instance_method
|
|
331
|
+
def get_resource_policy: (
|
|
332
|
+
resource_arn: ::String,
|
|
333
|
+
?policy_name: ::String
|
|
334
|
+
) -> _GetResourcePolicyResponseSuccess
|
|
335
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
|
|
336
|
+
|
|
337
|
+
interface _ListEventBusesResponseSuccess
|
|
338
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEventBusesResponse]
|
|
339
|
+
def event_buses: () -> ::Array[Types::EventBusSummary]
|
|
340
|
+
def next_token: () -> ::String
|
|
341
|
+
end
|
|
342
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#list_event_buses-instance_method
|
|
343
|
+
def list_event_buses: (
|
|
344
|
+
?name_prefix: ::String,
|
|
345
|
+
?event_bus_account_id: ::String,
|
|
346
|
+
?next_token: ::String,
|
|
347
|
+
?max_results: ::Integer
|
|
348
|
+
) -> _ListEventBusesResponseSuccess
|
|
349
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventBusesResponseSuccess
|
|
350
|
+
|
|
351
|
+
interface _ListEventSourcesResponseSuccess
|
|
352
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEventSourcesResponse]
|
|
353
|
+
def event_sources: () -> ::Array[Types::EventSourceSummary]
|
|
354
|
+
def next_token: () -> ::String
|
|
355
|
+
end
|
|
356
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#list_event_sources-instance_method
|
|
357
|
+
def list_event_sources: (
|
|
358
|
+
?event_bus_arn: ::String,
|
|
359
|
+
?name_prefix: ::String,
|
|
360
|
+
?next_token: ::String,
|
|
361
|
+
?max_results: ::Integer
|
|
362
|
+
) -> _ListEventSourcesResponseSuccess
|
|
363
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventSourcesResponseSuccess
|
|
364
|
+
|
|
365
|
+
interface _ListResourcePoliciesResponseSuccess
|
|
366
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListResourcePoliciesResponse]
|
|
367
|
+
def policy_summaries: () -> ::Array[Types::ResourcePolicySummary]
|
|
368
|
+
def next_token: () -> ::String
|
|
369
|
+
end
|
|
370
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#list_resource_policies-instance_method
|
|
371
|
+
def list_resource_policies: (
|
|
372
|
+
resource_arn: ::String,
|
|
373
|
+
?next_token: ::String,
|
|
374
|
+
?max_results: ::Integer
|
|
375
|
+
) -> _ListResourcePoliciesResponseSuccess
|
|
376
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourcePoliciesResponseSuccess
|
|
377
|
+
|
|
378
|
+
interface _ListSubscribersResponseSuccess
|
|
379
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSubscribersResponse]
|
|
380
|
+
def subscribers: () -> ::Array[Types::SubscriberSummary]
|
|
381
|
+
def next_token: () -> ::String
|
|
382
|
+
end
|
|
383
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#list_subscribers-instance_method
|
|
384
|
+
def list_subscribers: (
|
|
385
|
+
?event_bus_arn: ::String,
|
|
386
|
+
?name_prefix: ::String,
|
|
387
|
+
?next_token: ::String,
|
|
388
|
+
?max_results: ::Integer
|
|
389
|
+
) -> _ListSubscribersResponseSuccess
|
|
390
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSubscribersResponseSuccess
|
|
391
|
+
|
|
392
|
+
interface _ListTagsForResourceResponseSuccess
|
|
393
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
|
394
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
395
|
+
end
|
|
396
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#list_tags_for_resource-instance_method
|
|
397
|
+
def list_tags_for_resource: (
|
|
398
|
+
resource_arn: ::String
|
|
399
|
+
) -> _ListTagsForResourceResponseSuccess
|
|
400
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
|
401
|
+
|
|
402
|
+
interface _PutEventsResponseSuccess
|
|
403
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutEventsResponse]
|
|
404
|
+
def failed_entry_count: () -> ::Integer
|
|
405
|
+
def entries: () -> ::Array[Types::PutEventsResultEntry]
|
|
406
|
+
end
|
|
407
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#put_events-instance_method
|
|
408
|
+
def put_events: (
|
|
409
|
+
event_bus_arn: ::String,
|
|
410
|
+
entries: Array[
|
|
411
|
+
{
|
|
412
|
+
source: ::String,
|
|
413
|
+
detail_type: ::String,
|
|
414
|
+
detail: ::String?,
|
|
415
|
+
resources: Array[::String]?,
|
|
416
|
+
time: ::Time?,
|
|
417
|
+
system_metadata: {
|
|
418
|
+
event_group_id: ::String?,
|
|
419
|
+
deduplication_id: ::String?
|
|
420
|
+
}?
|
|
421
|
+
}
|
|
422
|
+
],
|
|
423
|
+
?deduplication_configuration: {
|
|
424
|
+
deduplication_type: ("CONTENT_BASED")
|
|
425
|
+
}
|
|
426
|
+
) -> _PutEventsResponseSuccess
|
|
427
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEventsResponseSuccess
|
|
428
|
+
|
|
429
|
+
interface _PutRawEventsResponseSuccess
|
|
430
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutRawEventsResponse]
|
|
431
|
+
def failed_entry_count: () -> ::Integer
|
|
432
|
+
def entries: () -> ::Array[Types::PutRawEventsResultEntry]
|
|
433
|
+
end
|
|
434
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#put_raw_events-instance_method
|
|
435
|
+
def put_raw_events: (
|
|
436
|
+
event_bus_arn: ::String,
|
|
437
|
+
entries: Array[
|
|
438
|
+
{
|
|
439
|
+
data: ::String,
|
|
440
|
+
metadata: Hash[::String, ::String]?,
|
|
441
|
+
system_metadata: {
|
|
442
|
+
content_type: ::String,
|
|
443
|
+
deduplication_id: ::String?,
|
|
444
|
+
event_group_id: ::String?
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
],
|
|
448
|
+
?schema_registry_configuration: {
|
|
449
|
+
registry_uri: ::String,
|
|
450
|
+
confluent_public_registry_configuration: {
|
|
451
|
+
connection_arn: ::String
|
|
452
|
+
}?
|
|
453
|
+
},
|
|
454
|
+
?deduplication_configuration: {
|
|
455
|
+
deduplication_type: ("CONTENT_BASED")
|
|
456
|
+
}
|
|
457
|
+
) -> _PutRawEventsResponseSuccess
|
|
458
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRawEventsResponseSuccess
|
|
459
|
+
|
|
460
|
+
interface _PutResourcePolicyResponseSuccess
|
|
461
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
|
|
462
|
+
def resource_arn: () -> ::String
|
|
463
|
+
def policy_name: () -> ::String
|
|
464
|
+
def revision_id: () -> ::String
|
|
465
|
+
end
|
|
466
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#put_resource_policy-instance_method
|
|
467
|
+
def put_resource_policy: (
|
|
468
|
+
resource_arn: ::String,
|
|
469
|
+
policy_document: ::String,
|
|
470
|
+
?policy_name: ::String,
|
|
471
|
+
?expected_revision_id: ::String
|
|
472
|
+
) -> _PutResourcePolicyResponseSuccess
|
|
473
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
|
474
|
+
|
|
475
|
+
interface _RevokeResourceResponseSuccess
|
|
476
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RevokeResourceResponse]
|
|
477
|
+
def arn: () -> ::String
|
|
478
|
+
end
|
|
479
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#revoke_resource-instance_method
|
|
480
|
+
def revoke_resource: (
|
|
481
|
+
arn: ::String
|
|
482
|
+
) -> _RevokeResourceResponseSuccess
|
|
483
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RevokeResourceResponseSuccess
|
|
484
|
+
|
|
485
|
+
interface _TagResourceResponseSuccess
|
|
486
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
|
487
|
+
end
|
|
488
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#tag_resource-instance_method
|
|
489
|
+
def tag_resource: (
|
|
490
|
+
resource_arn: ::String,
|
|
491
|
+
tags: Hash[::String, ::String]
|
|
492
|
+
) -> _TagResourceResponseSuccess
|
|
493
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
|
494
|
+
|
|
495
|
+
interface _UntagResourceResponseSuccess
|
|
496
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
|
497
|
+
end
|
|
498
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#untag_resource-instance_method
|
|
499
|
+
def untag_resource: (
|
|
500
|
+
resource_arn: ::String,
|
|
501
|
+
tag_keys: Array[::String]
|
|
502
|
+
) -> _UntagResourceResponseSuccess
|
|
503
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
|
504
|
+
|
|
505
|
+
interface _UpdateEventBusResponseSuccess
|
|
506
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEventBusResponse]
|
|
507
|
+
def event_bus_arn: () -> ::String
|
|
508
|
+
def name: () -> ::String
|
|
509
|
+
def description: () -> ::String
|
|
510
|
+
def encryption_configuration: () -> Types::EncryptionConfiguration
|
|
511
|
+
def storage_configuration: () -> Types::StorageConfigurationOutput
|
|
512
|
+
def state: () -> ("CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING" | "ACTIVE" | "DELETE_FAILED")
|
|
513
|
+
def state_reason: () -> ::String
|
|
514
|
+
def last_modified_time: () -> ::Time
|
|
515
|
+
end
|
|
516
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#update_event_bus-instance_method
|
|
517
|
+
def update_event_bus: (
|
|
518
|
+
event_bus_arn: ::String,
|
|
519
|
+
?description: ::String,
|
|
520
|
+
?encryption_configuration: {
|
|
521
|
+
kms_key_identifier: ::String?
|
|
522
|
+
},
|
|
523
|
+
?storage_configuration: {
|
|
524
|
+
retention_period_in_days: ::Integer?
|
|
525
|
+
}
|
|
526
|
+
) -> _UpdateEventBusResponseSuccess
|
|
527
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventBusResponseSuccess
|
|
528
|
+
|
|
529
|
+
interface _UpdateEventSourceResponseSuccess
|
|
530
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEventSourceResponse]
|
|
531
|
+
def event_source_arn: () -> ::String
|
|
532
|
+
def name: () -> ::String
|
|
533
|
+
def event_bus_arn: () -> ::String
|
|
534
|
+
def state: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETING" | "DELETE_FAILED")
|
|
535
|
+
def last_modified_time: () -> ::Time
|
|
536
|
+
end
|
|
537
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#update_event_source-instance_method
|
|
538
|
+
def update_event_source: (
|
|
539
|
+
event_source_arn: ::String,
|
|
540
|
+
?configuration: Params::event_source_configuration,
|
|
541
|
+
?description: ::String
|
|
542
|
+
) -> _UpdateEventSourceResponseSuccess
|
|
543
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventSourceResponseSuccess
|
|
544
|
+
|
|
545
|
+
interface _UpdateSubscriberResponseSuccess
|
|
546
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSubscriberResponse]
|
|
547
|
+
def subscriber_arn: () -> ::String
|
|
548
|
+
def name: () -> ::String
|
|
549
|
+
def event_bus_arn: () -> ::String
|
|
550
|
+
def type: () -> ("FIFO" | "UNORDERED")
|
|
551
|
+
def starting_position: () -> ("LATEST" | "POINT_IN_TIME")
|
|
552
|
+
def point_in_time_configuration: () -> Types::PointInTimeConfiguration
|
|
553
|
+
def state: () -> ("RUNNING" | "STOPPED")
|
|
554
|
+
def last_modified_time: () -> ::Time
|
|
555
|
+
end
|
|
556
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#update_subscriber-instance_method
|
|
557
|
+
def update_subscriber: (
|
|
558
|
+
subscriber_arn: ::String,
|
|
559
|
+
?description: ::String,
|
|
560
|
+
?state: ("RUNNING" | "STOPPED"),
|
|
561
|
+
?resume_position: ("LAST_PROCESSED" | "LATEST"),
|
|
562
|
+
?invoke_configuration: {
|
|
563
|
+
role_arn: ::String,
|
|
564
|
+
lambda_parameters: {
|
|
565
|
+
invocation_type: ("EVENT" | "REQUEST_RESPONSE")?,
|
|
566
|
+
qualifier: ::String?,
|
|
567
|
+
durable_execution_name: ::String?,
|
|
568
|
+
tenant_id: ::String?,
|
|
569
|
+
invocation_timeout_seconds: ::String?
|
|
570
|
+
}?,
|
|
571
|
+
sqs_parameters: Params::sqs_parameters?,
|
|
572
|
+
sns_parameters: Params::sns_parameters?,
|
|
573
|
+
kinesis_parameters: {
|
|
574
|
+
partition_key: ::String?,
|
|
575
|
+
explicit_hash_key: ::String?
|
|
576
|
+
}?,
|
|
577
|
+
step_functions_parameters: {
|
|
578
|
+
invocation_type: ("EVENT" | "REQUEST_RESPONSE")?,
|
|
579
|
+
name: ::String?,
|
|
580
|
+
trace_header: ::String?,
|
|
581
|
+
invocation_timeout_seconds: ::String?
|
|
582
|
+
}?,
|
|
583
|
+
http_parameters: {
|
|
584
|
+
path_parameter_values: Array[::String]?,
|
|
585
|
+
header_parameters: Hash[::String, ::String]?,
|
|
586
|
+
query_string_parameters: Hash[::String, ::String]?,
|
|
587
|
+
invocation_timeout_seconds: ::String?
|
|
588
|
+
}?,
|
|
589
|
+
universal_target_parameters: {
|
|
590
|
+
input: ::String,
|
|
591
|
+
invocation_timeout_seconds: ::String?
|
|
592
|
+
}?,
|
|
593
|
+
event_bus_v2_parameters: Params::event_bus_v2_parameters?
|
|
594
|
+
},
|
|
595
|
+
?filter_configuration: {
|
|
596
|
+
language: ("EVENT_BRIDGE_PATTERN")?,
|
|
597
|
+
filters: Array[
|
|
598
|
+
{
|
|
599
|
+
pattern: ::String,
|
|
600
|
+
scope: ("DATA" | "METADATA" | "SYSTEM_METADATA")
|
|
601
|
+
}
|
|
602
|
+
]?
|
|
603
|
+
},
|
|
604
|
+
?batch_configuration: {
|
|
605
|
+
max_batch_size: ::Integer?,
|
|
606
|
+
max_batch_window_in_seconds: ::Integer?
|
|
607
|
+
},
|
|
608
|
+
?transformer: {
|
|
609
|
+
type: ("RAW" | "WITH_METADATA" | "JSONATA")?,
|
|
610
|
+
jsonata_configuration: {
|
|
611
|
+
expression: ::String
|
|
612
|
+
}?
|
|
613
|
+
},
|
|
614
|
+
?retry_policy: {
|
|
615
|
+
max_retry_attempts: ::Integer?,
|
|
616
|
+
max_event_age_in_seconds: ::Integer?,
|
|
617
|
+
retry_strategy: ("ALL")?
|
|
618
|
+
},
|
|
619
|
+
?on_failure_configuration: {
|
|
620
|
+
arn: ::String?
|
|
621
|
+
},
|
|
622
|
+
?log_configuration: {
|
|
623
|
+
level: ("OFF" | "ERROR" | "INFO")?,
|
|
624
|
+
include_payload: ("FULL" | "ON_ERROR_ONLY")?
|
|
625
|
+
}
|
|
626
|
+
) -> _UpdateSubscriberResponseSuccess
|
|
627
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSubscriberResponseSuccess
|
|
628
|
+
|
|
629
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EventBridgeV2/Client.html#wait_until-instance_method
|
|
630
|
+
def wait_until: (:event_bus_active waiter_name,
|
|
631
|
+
event_bus_arn: ::String
|
|
632
|
+
) -> Client::_DescribeEventBusResponseSuccess
|
|
633
|
+
| (:event_bus_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeEventBusResponseSuccess
|
|
634
|
+
| (:event_bus_deleted waiter_name,
|
|
635
|
+
event_bus_arn: ::String
|
|
636
|
+
) -> Client::_DescribeEventBusResponseSuccess
|
|
637
|
+
| (:event_bus_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeEventBusResponseSuccess
|
|
638
|
+
end
|
|
639
|
+
end
|
|
640
|
+
end
|
|
641
|
+
|