aws-sdk-cloudwatchevents 1.69.0 → 1.70.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchevents/client.rb +1 -1
- data/lib/aws-sdk-cloudwatchevents/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-cloudwatchevents.rb +1 -1
- data/sig/client.rbs +1015 -0
- data/sig/errors.rbs +38 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +1136 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,1015 @@
|
|
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 CloudWatchEvents
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> instance
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
74
|
+
|
75
|
+
|
76
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#activate_event_source-instance_method
|
77
|
+
def activate_event_source: (
|
78
|
+
name: ::String
|
79
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
80
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
81
|
+
|
82
|
+
interface _CancelReplayResponseSuccess
|
83
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelReplayResponse]
|
84
|
+
def replay_arn: () -> ::String
|
85
|
+
def state: () -> ("STARTING" | "RUNNING" | "CANCELLING" | "COMPLETED" | "CANCELLED" | "FAILED")
|
86
|
+
def state_reason: () -> ::String
|
87
|
+
end
|
88
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#cancel_replay-instance_method
|
89
|
+
def cancel_replay: (
|
90
|
+
replay_name: ::String
|
91
|
+
) -> _CancelReplayResponseSuccess
|
92
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelReplayResponseSuccess
|
93
|
+
|
94
|
+
interface _CreateApiDestinationResponseSuccess
|
95
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateApiDestinationResponse]
|
96
|
+
def api_destination_arn: () -> ::String
|
97
|
+
def api_destination_state: () -> ("ACTIVE" | "INACTIVE")
|
98
|
+
def creation_time: () -> ::Time
|
99
|
+
def last_modified_time: () -> ::Time
|
100
|
+
end
|
101
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#create_api_destination-instance_method
|
102
|
+
def create_api_destination: (
|
103
|
+
name: ::String,
|
104
|
+
?description: ::String,
|
105
|
+
connection_arn: ::String,
|
106
|
+
invocation_endpoint: ::String,
|
107
|
+
http_method: ("POST" | "GET" | "HEAD" | "OPTIONS" | "PUT" | "PATCH" | "DELETE"),
|
108
|
+
?invocation_rate_limit_per_second: ::Integer
|
109
|
+
) -> _CreateApiDestinationResponseSuccess
|
110
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApiDestinationResponseSuccess
|
111
|
+
|
112
|
+
interface _CreateArchiveResponseSuccess
|
113
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateArchiveResponse]
|
114
|
+
def archive_arn: () -> ::String
|
115
|
+
def state: () -> ("ENABLED" | "DISABLED" | "CREATING" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED")
|
116
|
+
def state_reason: () -> ::String
|
117
|
+
def creation_time: () -> ::Time
|
118
|
+
end
|
119
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#create_archive-instance_method
|
120
|
+
def create_archive: (
|
121
|
+
archive_name: ::String,
|
122
|
+
event_source_arn: ::String,
|
123
|
+
?description: ::String,
|
124
|
+
?event_pattern: ::String,
|
125
|
+
?retention_days: ::Integer
|
126
|
+
) -> _CreateArchiveResponseSuccess
|
127
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateArchiveResponseSuccess
|
128
|
+
|
129
|
+
interface _CreateConnectionResponseSuccess
|
130
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateConnectionResponse]
|
131
|
+
def connection_arn: () -> ::String
|
132
|
+
def connection_state: () -> ("CREATING" | "UPDATING" | "DELETING" | "AUTHORIZED" | "DEAUTHORIZED" | "AUTHORIZING" | "DEAUTHORIZING")
|
133
|
+
def creation_time: () -> ::Time
|
134
|
+
def last_modified_time: () -> ::Time
|
135
|
+
end
|
136
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#create_connection-instance_method
|
137
|
+
def create_connection: (
|
138
|
+
name: ::String,
|
139
|
+
?description: ::String,
|
140
|
+
authorization_type: ("BASIC" | "OAUTH_CLIENT_CREDENTIALS" | "API_KEY"),
|
141
|
+
auth_parameters: {
|
142
|
+
basic_auth_parameters: {
|
143
|
+
username: ::String,
|
144
|
+
password: ::String
|
145
|
+
}?,
|
146
|
+
o_auth_parameters: {
|
147
|
+
client_parameters: {
|
148
|
+
client_id: ::String,
|
149
|
+
client_secret: ::String
|
150
|
+
},
|
151
|
+
authorization_endpoint: ::String,
|
152
|
+
http_method: ("GET" | "POST" | "PUT"),
|
153
|
+
o_auth_http_parameters: {
|
154
|
+
header_parameters: Array[
|
155
|
+
{
|
156
|
+
key: ::String?,
|
157
|
+
value: ::String?,
|
158
|
+
is_value_secret: bool?
|
159
|
+
},
|
160
|
+
]?,
|
161
|
+
query_string_parameters: Array[
|
162
|
+
{
|
163
|
+
key: ::String?,
|
164
|
+
value: ::String?,
|
165
|
+
is_value_secret: bool?
|
166
|
+
},
|
167
|
+
]?,
|
168
|
+
body_parameters: Array[
|
169
|
+
{
|
170
|
+
key: ::String?,
|
171
|
+
value: ::String?,
|
172
|
+
is_value_secret: bool?
|
173
|
+
},
|
174
|
+
]?
|
175
|
+
}?
|
176
|
+
}?,
|
177
|
+
api_key_auth_parameters: {
|
178
|
+
api_key_name: ::String,
|
179
|
+
api_key_value: ::String
|
180
|
+
}?,
|
181
|
+
invocation_http_parameters: {
|
182
|
+
header_parameters: Array[
|
183
|
+
{
|
184
|
+
key: ::String?,
|
185
|
+
value: ::String?,
|
186
|
+
is_value_secret: bool?
|
187
|
+
},
|
188
|
+
]?,
|
189
|
+
query_string_parameters: Array[
|
190
|
+
{
|
191
|
+
key: ::String?,
|
192
|
+
value: ::String?,
|
193
|
+
is_value_secret: bool?
|
194
|
+
},
|
195
|
+
]?,
|
196
|
+
body_parameters: Array[
|
197
|
+
{
|
198
|
+
key: ::String?,
|
199
|
+
value: ::String?,
|
200
|
+
is_value_secret: bool?
|
201
|
+
},
|
202
|
+
]?
|
203
|
+
}?
|
204
|
+
}
|
205
|
+
) -> _CreateConnectionResponseSuccess
|
206
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConnectionResponseSuccess
|
207
|
+
|
208
|
+
interface _CreateEventBusResponseSuccess
|
209
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateEventBusResponse]
|
210
|
+
def event_bus_arn: () -> ::String
|
211
|
+
end
|
212
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#create_event_bus-instance_method
|
213
|
+
def create_event_bus: (
|
214
|
+
name: ::String,
|
215
|
+
?event_source_name: ::String,
|
216
|
+
?tags: Array[
|
217
|
+
{
|
218
|
+
key: ::String,
|
219
|
+
value: ::String
|
220
|
+
},
|
221
|
+
]
|
222
|
+
) -> _CreateEventBusResponseSuccess
|
223
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventBusResponseSuccess
|
224
|
+
|
225
|
+
interface _CreatePartnerEventSourceResponseSuccess
|
226
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePartnerEventSourceResponse]
|
227
|
+
def event_source_arn: () -> ::String
|
228
|
+
end
|
229
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#create_partner_event_source-instance_method
|
230
|
+
def create_partner_event_source: (
|
231
|
+
name: ::String,
|
232
|
+
account: ::String
|
233
|
+
) -> _CreatePartnerEventSourceResponseSuccess
|
234
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePartnerEventSourceResponseSuccess
|
235
|
+
|
236
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#deactivate_event_source-instance_method
|
237
|
+
def deactivate_event_source: (
|
238
|
+
name: ::String
|
239
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
240
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
241
|
+
|
242
|
+
interface _DeauthorizeConnectionResponseSuccess
|
243
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeauthorizeConnectionResponse]
|
244
|
+
def connection_arn: () -> ::String
|
245
|
+
def connection_state: () -> ("CREATING" | "UPDATING" | "DELETING" | "AUTHORIZED" | "DEAUTHORIZED" | "AUTHORIZING" | "DEAUTHORIZING")
|
246
|
+
def creation_time: () -> ::Time
|
247
|
+
def last_modified_time: () -> ::Time
|
248
|
+
def last_authorized_time: () -> ::Time
|
249
|
+
end
|
250
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#deauthorize_connection-instance_method
|
251
|
+
def deauthorize_connection: (
|
252
|
+
name: ::String
|
253
|
+
) -> _DeauthorizeConnectionResponseSuccess
|
254
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeauthorizeConnectionResponseSuccess
|
255
|
+
|
256
|
+
interface _DeleteApiDestinationResponseSuccess
|
257
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApiDestinationResponse]
|
258
|
+
end
|
259
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#delete_api_destination-instance_method
|
260
|
+
def delete_api_destination: (
|
261
|
+
name: ::String
|
262
|
+
) -> _DeleteApiDestinationResponseSuccess
|
263
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApiDestinationResponseSuccess
|
264
|
+
|
265
|
+
interface _DeleteArchiveResponseSuccess
|
266
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteArchiveResponse]
|
267
|
+
end
|
268
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#delete_archive-instance_method
|
269
|
+
def delete_archive: (
|
270
|
+
archive_name: ::String
|
271
|
+
) -> _DeleteArchiveResponseSuccess
|
272
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteArchiveResponseSuccess
|
273
|
+
|
274
|
+
interface _DeleteConnectionResponseSuccess
|
275
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConnectionResponse]
|
276
|
+
def connection_arn: () -> ::String
|
277
|
+
def connection_state: () -> ("CREATING" | "UPDATING" | "DELETING" | "AUTHORIZED" | "DEAUTHORIZED" | "AUTHORIZING" | "DEAUTHORIZING")
|
278
|
+
def creation_time: () -> ::Time
|
279
|
+
def last_modified_time: () -> ::Time
|
280
|
+
def last_authorized_time: () -> ::Time
|
281
|
+
end
|
282
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#delete_connection-instance_method
|
283
|
+
def delete_connection: (
|
284
|
+
name: ::String
|
285
|
+
) -> _DeleteConnectionResponseSuccess
|
286
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteConnectionResponseSuccess
|
287
|
+
|
288
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#delete_event_bus-instance_method
|
289
|
+
def delete_event_bus: (
|
290
|
+
name: ::String
|
291
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
292
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
293
|
+
|
294
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#delete_partner_event_source-instance_method
|
295
|
+
def delete_partner_event_source: (
|
296
|
+
name: ::String,
|
297
|
+
account: ::String
|
298
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
299
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
300
|
+
|
301
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#delete_rule-instance_method
|
302
|
+
def delete_rule: (
|
303
|
+
name: ::String,
|
304
|
+
?event_bus_name: ::String,
|
305
|
+
?force: bool
|
306
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
307
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
308
|
+
|
309
|
+
interface _DescribeApiDestinationResponseSuccess
|
310
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeApiDestinationResponse]
|
311
|
+
def api_destination_arn: () -> ::String
|
312
|
+
def name: () -> ::String
|
313
|
+
def description: () -> ::String
|
314
|
+
def api_destination_state: () -> ("ACTIVE" | "INACTIVE")
|
315
|
+
def connection_arn: () -> ::String
|
316
|
+
def invocation_endpoint: () -> ::String
|
317
|
+
def http_method: () -> ("POST" | "GET" | "HEAD" | "OPTIONS" | "PUT" | "PATCH" | "DELETE")
|
318
|
+
def invocation_rate_limit_per_second: () -> ::Integer
|
319
|
+
def creation_time: () -> ::Time
|
320
|
+
def last_modified_time: () -> ::Time
|
321
|
+
end
|
322
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#describe_api_destination-instance_method
|
323
|
+
def describe_api_destination: (
|
324
|
+
name: ::String
|
325
|
+
) -> _DescribeApiDestinationResponseSuccess
|
326
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeApiDestinationResponseSuccess
|
327
|
+
|
328
|
+
interface _DescribeArchiveResponseSuccess
|
329
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeArchiveResponse]
|
330
|
+
def archive_arn: () -> ::String
|
331
|
+
def archive_name: () -> ::String
|
332
|
+
def event_source_arn: () -> ::String
|
333
|
+
def description: () -> ::String
|
334
|
+
def event_pattern: () -> ::String
|
335
|
+
def state: () -> ("ENABLED" | "DISABLED" | "CREATING" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED")
|
336
|
+
def state_reason: () -> ::String
|
337
|
+
def retention_days: () -> ::Integer
|
338
|
+
def size_bytes: () -> ::Integer
|
339
|
+
def event_count: () -> ::Integer
|
340
|
+
def creation_time: () -> ::Time
|
341
|
+
end
|
342
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#describe_archive-instance_method
|
343
|
+
def describe_archive: (
|
344
|
+
archive_name: ::String
|
345
|
+
) -> _DescribeArchiveResponseSuccess
|
346
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeArchiveResponseSuccess
|
347
|
+
|
348
|
+
interface _DescribeConnectionResponseSuccess
|
349
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeConnectionResponse]
|
350
|
+
def connection_arn: () -> ::String
|
351
|
+
def name: () -> ::String
|
352
|
+
def description: () -> ::String
|
353
|
+
def connection_state: () -> ("CREATING" | "UPDATING" | "DELETING" | "AUTHORIZED" | "DEAUTHORIZED" | "AUTHORIZING" | "DEAUTHORIZING")
|
354
|
+
def state_reason: () -> ::String
|
355
|
+
def authorization_type: () -> ("BASIC" | "OAUTH_CLIENT_CREDENTIALS" | "API_KEY")
|
356
|
+
def secret_arn: () -> ::String
|
357
|
+
def auth_parameters: () -> Types::ConnectionAuthResponseParameters
|
358
|
+
def creation_time: () -> ::Time
|
359
|
+
def last_modified_time: () -> ::Time
|
360
|
+
def last_authorized_time: () -> ::Time
|
361
|
+
end
|
362
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#describe_connection-instance_method
|
363
|
+
def describe_connection: (
|
364
|
+
name: ::String
|
365
|
+
) -> _DescribeConnectionResponseSuccess
|
366
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeConnectionResponseSuccess
|
367
|
+
|
368
|
+
interface _DescribeEventBusResponseSuccess
|
369
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEventBusResponse]
|
370
|
+
def name: () -> ::String
|
371
|
+
def arn: () -> ::String
|
372
|
+
def policy: () -> ::String
|
373
|
+
end
|
374
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#describe_event_bus-instance_method
|
375
|
+
def describe_event_bus: (
|
376
|
+
?name: ::String
|
377
|
+
) -> _DescribeEventBusResponseSuccess
|
378
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEventBusResponseSuccess
|
379
|
+
|
380
|
+
interface _DescribeEventSourceResponseSuccess
|
381
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEventSourceResponse]
|
382
|
+
def arn: () -> ::String
|
383
|
+
def created_by: () -> ::String
|
384
|
+
def creation_time: () -> ::Time
|
385
|
+
def expiration_time: () -> ::Time
|
386
|
+
def name: () -> ::String
|
387
|
+
def state: () -> ("PENDING" | "ACTIVE" | "DELETED")
|
388
|
+
end
|
389
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#describe_event_source-instance_method
|
390
|
+
def describe_event_source: (
|
391
|
+
name: ::String
|
392
|
+
) -> _DescribeEventSourceResponseSuccess
|
393
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEventSourceResponseSuccess
|
394
|
+
|
395
|
+
interface _DescribePartnerEventSourceResponseSuccess
|
396
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribePartnerEventSourceResponse]
|
397
|
+
def arn: () -> ::String
|
398
|
+
def name: () -> ::String
|
399
|
+
end
|
400
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#describe_partner_event_source-instance_method
|
401
|
+
def describe_partner_event_source: (
|
402
|
+
name: ::String
|
403
|
+
) -> _DescribePartnerEventSourceResponseSuccess
|
404
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePartnerEventSourceResponseSuccess
|
405
|
+
|
406
|
+
interface _DescribeReplayResponseSuccess
|
407
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeReplayResponse]
|
408
|
+
def replay_name: () -> ::String
|
409
|
+
def replay_arn: () -> ::String
|
410
|
+
def description: () -> ::String
|
411
|
+
def state: () -> ("STARTING" | "RUNNING" | "CANCELLING" | "COMPLETED" | "CANCELLED" | "FAILED")
|
412
|
+
def state_reason: () -> ::String
|
413
|
+
def event_source_arn: () -> ::String
|
414
|
+
def destination: () -> Types::ReplayDestination
|
415
|
+
def event_start_time: () -> ::Time
|
416
|
+
def event_end_time: () -> ::Time
|
417
|
+
def event_last_replayed_time: () -> ::Time
|
418
|
+
def replay_start_time: () -> ::Time
|
419
|
+
def replay_end_time: () -> ::Time
|
420
|
+
end
|
421
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#describe_replay-instance_method
|
422
|
+
def describe_replay: (
|
423
|
+
replay_name: ::String
|
424
|
+
) -> _DescribeReplayResponseSuccess
|
425
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeReplayResponseSuccess
|
426
|
+
|
427
|
+
interface _DescribeRuleResponseSuccess
|
428
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRuleResponse]
|
429
|
+
def name: () -> ::String
|
430
|
+
def arn: () -> ::String
|
431
|
+
def event_pattern: () -> ::String
|
432
|
+
def schedule_expression: () -> ::String
|
433
|
+
def state: () -> ("ENABLED" | "DISABLED")
|
434
|
+
def description: () -> ::String
|
435
|
+
def role_arn: () -> ::String
|
436
|
+
def managed_by: () -> ::String
|
437
|
+
def event_bus_name: () -> ::String
|
438
|
+
def created_by: () -> ::String
|
439
|
+
end
|
440
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#describe_rule-instance_method
|
441
|
+
def describe_rule: (
|
442
|
+
name: ::String,
|
443
|
+
?event_bus_name: ::String
|
444
|
+
) -> _DescribeRuleResponseSuccess
|
445
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRuleResponseSuccess
|
446
|
+
|
447
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#disable_rule-instance_method
|
448
|
+
def disable_rule: (
|
449
|
+
name: ::String,
|
450
|
+
?event_bus_name: ::String
|
451
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
452
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
453
|
+
|
454
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#enable_rule-instance_method
|
455
|
+
def enable_rule: (
|
456
|
+
name: ::String,
|
457
|
+
?event_bus_name: ::String
|
458
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
459
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
460
|
+
|
461
|
+
interface _ListApiDestinationsResponseSuccess
|
462
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListApiDestinationsResponse]
|
463
|
+
def api_destinations: () -> ::Array[Types::ApiDestination]
|
464
|
+
def next_token: () -> ::String
|
465
|
+
end
|
466
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#list_api_destinations-instance_method
|
467
|
+
def list_api_destinations: (
|
468
|
+
?name_prefix: ::String,
|
469
|
+
?connection_arn: ::String,
|
470
|
+
?next_token: ::String,
|
471
|
+
?limit: ::Integer
|
472
|
+
) -> _ListApiDestinationsResponseSuccess
|
473
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApiDestinationsResponseSuccess
|
474
|
+
|
475
|
+
interface _ListArchivesResponseSuccess
|
476
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListArchivesResponse]
|
477
|
+
def archives: () -> ::Array[Types::Archive]
|
478
|
+
def next_token: () -> ::String
|
479
|
+
end
|
480
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#list_archives-instance_method
|
481
|
+
def list_archives: (
|
482
|
+
?name_prefix: ::String,
|
483
|
+
?event_source_arn: ::String,
|
484
|
+
?state: ("ENABLED" | "DISABLED" | "CREATING" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED"),
|
485
|
+
?next_token: ::String,
|
486
|
+
?limit: ::Integer
|
487
|
+
) -> _ListArchivesResponseSuccess
|
488
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListArchivesResponseSuccess
|
489
|
+
|
490
|
+
interface _ListConnectionsResponseSuccess
|
491
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListConnectionsResponse]
|
492
|
+
def connections: () -> ::Array[Types::Connection]
|
493
|
+
def next_token: () -> ::String
|
494
|
+
end
|
495
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#list_connections-instance_method
|
496
|
+
def list_connections: (
|
497
|
+
?name_prefix: ::String,
|
498
|
+
?connection_state: ("CREATING" | "UPDATING" | "DELETING" | "AUTHORIZED" | "DEAUTHORIZED" | "AUTHORIZING" | "DEAUTHORIZING"),
|
499
|
+
?next_token: ::String,
|
500
|
+
?limit: ::Integer
|
501
|
+
) -> _ListConnectionsResponseSuccess
|
502
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConnectionsResponseSuccess
|
503
|
+
|
504
|
+
interface _ListEventBusesResponseSuccess
|
505
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEventBusesResponse]
|
506
|
+
def event_buses: () -> ::Array[Types::EventBus]
|
507
|
+
def next_token: () -> ::String
|
508
|
+
end
|
509
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#list_event_buses-instance_method
|
510
|
+
def list_event_buses: (
|
511
|
+
?name_prefix: ::String,
|
512
|
+
?next_token: ::String,
|
513
|
+
?limit: ::Integer
|
514
|
+
) -> _ListEventBusesResponseSuccess
|
515
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventBusesResponseSuccess
|
516
|
+
|
517
|
+
interface _ListEventSourcesResponseSuccess
|
518
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEventSourcesResponse]
|
519
|
+
def event_sources: () -> ::Array[Types::EventSource]
|
520
|
+
def next_token: () -> ::String
|
521
|
+
end
|
522
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#list_event_sources-instance_method
|
523
|
+
def list_event_sources: (
|
524
|
+
?name_prefix: ::String,
|
525
|
+
?next_token: ::String,
|
526
|
+
?limit: ::Integer
|
527
|
+
) -> _ListEventSourcesResponseSuccess
|
528
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventSourcesResponseSuccess
|
529
|
+
|
530
|
+
interface _ListPartnerEventSourceAccountsResponseSuccess
|
531
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPartnerEventSourceAccountsResponse]
|
532
|
+
def partner_event_source_accounts: () -> ::Array[Types::PartnerEventSourceAccount]
|
533
|
+
def next_token: () -> ::String
|
534
|
+
end
|
535
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#list_partner_event_source_accounts-instance_method
|
536
|
+
def list_partner_event_source_accounts: (
|
537
|
+
event_source_name: ::String,
|
538
|
+
?next_token: ::String,
|
539
|
+
?limit: ::Integer
|
540
|
+
) -> _ListPartnerEventSourceAccountsResponseSuccess
|
541
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPartnerEventSourceAccountsResponseSuccess
|
542
|
+
|
543
|
+
interface _ListPartnerEventSourcesResponseSuccess
|
544
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPartnerEventSourcesResponse]
|
545
|
+
def partner_event_sources: () -> ::Array[Types::PartnerEventSource]
|
546
|
+
def next_token: () -> ::String
|
547
|
+
end
|
548
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#list_partner_event_sources-instance_method
|
549
|
+
def list_partner_event_sources: (
|
550
|
+
name_prefix: ::String,
|
551
|
+
?next_token: ::String,
|
552
|
+
?limit: ::Integer
|
553
|
+
) -> _ListPartnerEventSourcesResponseSuccess
|
554
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPartnerEventSourcesResponseSuccess
|
555
|
+
|
556
|
+
interface _ListReplaysResponseSuccess
|
557
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListReplaysResponse]
|
558
|
+
def replays: () -> ::Array[Types::Replay]
|
559
|
+
def next_token: () -> ::String
|
560
|
+
end
|
561
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#list_replays-instance_method
|
562
|
+
def list_replays: (
|
563
|
+
?name_prefix: ::String,
|
564
|
+
?state: ("STARTING" | "RUNNING" | "CANCELLING" | "COMPLETED" | "CANCELLED" | "FAILED"),
|
565
|
+
?event_source_arn: ::String,
|
566
|
+
?next_token: ::String,
|
567
|
+
?limit: ::Integer
|
568
|
+
) -> _ListReplaysResponseSuccess
|
569
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReplaysResponseSuccess
|
570
|
+
|
571
|
+
interface _ListRuleNamesByTargetResponseSuccess
|
572
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleNamesByTargetResponse]
|
573
|
+
def rule_names: () -> ::Array[::String]
|
574
|
+
def next_token: () -> ::String
|
575
|
+
end
|
576
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#list_rule_names_by_target-instance_method
|
577
|
+
def list_rule_names_by_target: (
|
578
|
+
target_arn: ::String,
|
579
|
+
?event_bus_name: ::String,
|
580
|
+
?next_token: ::String,
|
581
|
+
?limit: ::Integer
|
582
|
+
) -> _ListRuleNamesByTargetResponseSuccess
|
583
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRuleNamesByTargetResponseSuccess
|
584
|
+
|
585
|
+
interface _ListRulesResponseSuccess
|
586
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRulesResponse]
|
587
|
+
def rules: () -> ::Array[Types::Rule]
|
588
|
+
def next_token: () -> ::String
|
589
|
+
end
|
590
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#list_rules-instance_method
|
591
|
+
def list_rules: (
|
592
|
+
?name_prefix: ::String,
|
593
|
+
?event_bus_name: ::String,
|
594
|
+
?next_token: ::String,
|
595
|
+
?limit: ::Integer
|
596
|
+
) -> _ListRulesResponseSuccess
|
597
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRulesResponseSuccess
|
598
|
+
|
599
|
+
interface _ListTagsForResourceResponseSuccess
|
600
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
601
|
+
def tags: () -> ::Array[Types::Tag]
|
602
|
+
end
|
603
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#list_tags_for_resource-instance_method
|
604
|
+
def list_tags_for_resource: (
|
605
|
+
resource_arn: ::String
|
606
|
+
) -> _ListTagsForResourceResponseSuccess
|
607
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
608
|
+
|
609
|
+
interface _ListTargetsByRuleResponseSuccess
|
610
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTargetsByRuleResponse]
|
611
|
+
def targets: () -> ::Array[Types::Target]
|
612
|
+
def next_token: () -> ::String
|
613
|
+
end
|
614
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#list_targets_by_rule-instance_method
|
615
|
+
def list_targets_by_rule: (
|
616
|
+
rule: ::String,
|
617
|
+
?event_bus_name: ::String,
|
618
|
+
?next_token: ::String,
|
619
|
+
?limit: ::Integer
|
620
|
+
) -> _ListTargetsByRuleResponseSuccess
|
621
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTargetsByRuleResponseSuccess
|
622
|
+
|
623
|
+
interface _PutEventsResponseSuccess
|
624
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutEventsResponse]
|
625
|
+
def failed_entry_count: () -> ::Integer
|
626
|
+
def entries: () -> ::Array[Types::PutEventsResultEntry]
|
627
|
+
end
|
628
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#put_events-instance_method
|
629
|
+
def put_events: (
|
630
|
+
entries: Array[
|
631
|
+
{
|
632
|
+
time: ::Time?,
|
633
|
+
source: ::String?,
|
634
|
+
resources: Array[::String]?,
|
635
|
+
detail_type: ::String?,
|
636
|
+
detail: ::String?,
|
637
|
+
event_bus_name: ::String?,
|
638
|
+
trace_header: ::String?
|
639
|
+
},
|
640
|
+
]
|
641
|
+
) -> _PutEventsResponseSuccess
|
642
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEventsResponseSuccess
|
643
|
+
|
644
|
+
interface _PutPartnerEventsResponseSuccess
|
645
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutPartnerEventsResponse]
|
646
|
+
def failed_entry_count: () -> ::Integer
|
647
|
+
def entries: () -> ::Array[Types::PutPartnerEventsResultEntry]
|
648
|
+
end
|
649
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#put_partner_events-instance_method
|
650
|
+
def put_partner_events: (
|
651
|
+
entries: Array[
|
652
|
+
{
|
653
|
+
time: ::Time?,
|
654
|
+
source: ::String?,
|
655
|
+
resources: Array[::String]?,
|
656
|
+
detail_type: ::String?,
|
657
|
+
detail: ::String?
|
658
|
+
},
|
659
|
+
]
|
660
|
+
) -> _PutPartnerEventsResponseSuccess
|
661
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutPartnerEventsResponseSuccess
|
662
|
+
|
663
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#put_permission-instance_method
|
664
|
+
def put_permission: (
|
665
|
+
?event_bus_name: ::String,
|
666
|
+
?action: ::String,
|
667
|
+
?principal: ::String,
|
668
|
+
?statement_id: ::String,
|
669
|
+
?condition: {
|
670
|
+
type: ::String,
|
671
|
+
key: ::String,
|
672
|
+
value: ::String
|
673
|
+
},
|
674
|
+
?policy: ::String
|
675
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
676
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
677
|
+
|
678
|
+
interface _PutRuleResponseSuccess
|
679
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutRuleResponse]
|
680
|
+
def rule_arn: () -> ::String
|
681
|
+
end
|
682
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#put_rule-instance_method
|
683
|
+
def put_rule: (
|
684
|
+
name: ::String,
|
685
|
+
?schedule_expression: ::String,
|
686
|
+
?event_pattern: ::String,
|
687
|
+
?state: ("ENABLED" | "DISABLED"),
|
688
|
+
?description: ::String,
|
689
|
+
?role_arn: ::String,
|
690
|
+
?tags: Array[
|
691
|
+
{
|
692
|
+
key: ::String,
|
693
|
+
value: ::String
|
694
|
+
},
|
695
|
+
],
|
696
|
+
?event_bus_name: ::String
|
697
|
+
) -> _PutRuleResponseSuccess
|
698
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRuleResponseSuccess
|
699
|
+
|
700
|
+
interface _PutTargetsResponseSuccess
|
701
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutTargetsResponse]
|
702
|
+
def failed_entry_count: () -> ::Integer
|
703
|
+
def failed_entries: () -> ::Array[Types::PutTargetsResultEntry]
|
704
|
+
end
|
705
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#put_targets-instance_method
|
706
|
+
def put_targets: (
|
707
|
+
rule: ::String,
|
708
|
+
?event_bus_name: ::String,
|
709
|
+
targets: Array[
|
710
|
+
{
|
711
|
+
id: ::String,
|
712
|
+
arn: ::String,
|
713
|
+
role_arn: ::String?,
|
714
|
+
input: ::String?,
|
715
|
+
input_path: ::String?,
|
716
|
+
input_transformer: {
|
717
|
+
input_paths_map: Hash[::String, ::String]?,
|
718
|
+
input_template: ::String
|
719
|
+
}?,
|
720
|
+
kinesis_parameters: {
|
721
|
+
partition_key_path: ::String
|
722
|
+
}?,
|
723
|
+
run_command_parameters: {
|
724
|
+
run_command_targets: Array[
|
725
|
+
{
|
726
|
+
key: ::String,
|
727
|
+
values: Array[::String]
|
728
|
+
},
|
729
|
+
]
|
730
|
+
}?,
|
731
|
+
ecs_parameters: {
|
732
|
+
task_definition_arn: ::String,
|
733
|
+
task_count: ::Integer?,
|
734
|
+
launch_type: ("EC2" | "FARGATE" | "EXTERNAL")?,
|
735
|
+
network_configuration: {
|
736
|
+
awsvpc_configuration: {
|
737
|
+
subnets: Array[::String],
|
738
|
+
security_groups: Array[::String]?,
|
739
|
+
assign_public_ip: ("ENABLED" | "DISABLED")?
|
740
|
+
}?
|
741
|
+
}?,
|
742
|
+
platform_version: ::String?,
|
743
|
+
group: ::String?,
|
744
|
+
capacity_provider_strategy: Array[
|
745
|
+
{
|
746
|
+
capacity_provider: ::String,
|
747
|
+
weight: ::Integer?,
|
748
|
+
base: ::Integer?
|
749
|
+
},
|
750
|
+
]?,
|
751
|
+
enable_ecs_managed_tags: bool?,
|
752
|
+
enable_execute_command: bool?,
|
753
|
+
placement_constraints: Array[
|
754
|
+
{
|
755
|
+
type: ("distinctInstance" | "memberOf")?,
|
756
|
+
expression: ::String?
|
757
|
+
},
|
758
|
+
]?,
|
759
|
+
placement_strategy: Array[
|
760
|
+
{
|
761
|
+
type: ("random" | "spread" | "binpack")?,
|
762
|
+
field: ::String?
|
763
|
+
},
|
764
|
+
]?,
|
765
|
+
propagate_tags: ("TASK_DEFINITION")?,
|
766
|
+
reference_id: ::String?,
|
767
|
+
tags: Array[
|
768
|
+
{
|
769
|
+
key: ::String,
|
770
|
+
value: ::String
|
771
|
+
},
|
772
|
+
]?
|
773
|
+
}?,
|
774
|
+
batch_parameters: {
|
775
|
+
job_definition: ::String,
|
776
|
+
job_name: ::String,
|
777
|
+
array_properties: {
|
778
|
+
size: ::Integer?
|
779
|
+
}?,
|
780
|
+
retry_strategy: {
|
781
|
+
attempts: ::Integer?
|
782
|
+
}?
|
783
|
+
}?,
|
784
|
+
sqs_parameters: {
|
785
|
+
message_group_id: ::String?
|
786
|
+
}?,
|
787
|
+
http_parameters: {
|
788
|
+
path_parameter_values: Array[::String]?,
|
789
|
+
header_parameters: Hash[::String, ::String]?,
|
790
|
+
query_string_parameters: Hash[::String, ::String]?
|
791
|
+
}?,
|
792
|
+
redshift_data_parameters: {
|
793
|
+
secret_manager_arn: ::String?,
|
794
|
+
database: ::String,
|
795
|
+
db_user: ::String?,
|
796
|
+
sql: ::String,
|
797
|
+
statement_name: ::String?,
|
798
|
+
with_event: bool?
|
799
|
+
}?,
|
800
|
+
sage_maker_pipeline_parameters: {
|
801
|
+
pipeline_parameter_list: Array[
|
802
|
+
{
|
803
|
+
name: ::String,
|
804
|
+
value: ::String
|
805
|
+
},
|
806
|
+
]?
|
807
|
+
}?,
|
808
|
+
dead_letter_config: {
|
809
|
+
arn: ::String?
|
810
|
+
}?,
|
811
|
+
retry_policy: {
|
812
|
+
maximum_retry_attempts: ::Integer?,
|
813
|
+
maximum_event_age_in_seconds: ::Integer?
|
814
|
+
}?
|
815
|
+
},
|
816
|
+
]
|
817
|
+
) -> _PutTargetsResponseSuccess
|
818
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutTargetsResponseSuccess
|
819
|
+
|
820
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#remove_permission-instance_method
|
821
|
+
def remove_permission: (
|
822
|
+
?statement_id: ::String,
|
823
|
+
?remove_all_permissions: bool,
|
824
|
+
?event_bus_name: ::String
|
825
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
826
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
827
|
+
|
828
|
+
interface _RemoveTargetsResponseSuccess
|
829
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RemoveTargetsResponse]
|
830
|
+
def failed_entry_count: () -> ::Integer
|
831
|
+
def failed_entries: () -> ::Array[Types::RemoveTargetsResultEntry]
|
832
|
+
end
|
833
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#remove_targets-instance_method
|
834
|
+
def remove_targets: (
|
835
|
+
rule: ::String,
|
836
|
+
?event_bus_name: ::String,
|
837
|
+
ids: Array[::String],
|
838
|
+
?force: bool
|
839
|
+
) -> _RemoveTargetsResponseSuccess
|
840
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveTargetsResponseSuccess
|
841
|
+
|
842
|
+
interface _StartReplayResponseSuccess
|
843
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartReplayResponse]
|
844
|
+
def replay_arn: () -> ::String
|
845
|
+
def state: () -> ("STARTING" | "RUNNING" | "CANCELLING" | "COMPLETED" | "CANCELLED" | "FAILED")
|
846
|
+
def state_reason: () -> ::String
|
847
|
+
def replay_start_time: () -> ::Time
|
848
|
+
end
|
849
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#start_replay-instance_method
|
850
|
+
def start_replay: (
|
851
|
+
replay_name: ::String,
|
852
|
+
?description: ::String,
|
853
|
+
event_source_arn: ::String,
|
854
|
+
event_start_time: ::Time,
|
855
|
+
event_end_time: ::Time,
|
856
|
+
destination: {
|
857
|
+
arn: ::String,
|
858
|
+
filter_arns: Array[::String]?
|
859
|
+
}
|
860
|
+
) -> _StartReplayResponseSuccess
|
861
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartReplayResponseSuccess
|
862
|
+
|
863
|
+
interface _TagResourceResponseSuccess
|
864
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
865
|
+
end
|
866
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#tag_resource-instance_method
|
867
|
+
def tag_resource: (
|
868
|
+
resource_arn: ::String,
|
869
|
+
tags: Array[
|
870
|
+
{
|
871
|
+
key: ::String,
|
872
|
+
value: ::String
|
873
|
+
},
|
874
|
+
]
|
875
|
+
) -> _TagResourceResponseSuccess
|
876
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
877
|
+
|
878
|
+
interface _TestEventPatternResponseSuccess
|
879
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TestEventPatternResponse]
|
880
|
+
def result: () -> bool
|
881
|
+
end
|
882
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#test_event_pattern-instance_method
|
883
|
+
def test_event_pattern: (
|
884
|
+
event_pattern: ::String,
|
885
|
+
event: ::String
|
886
|
+
) -> _TestEventPatternResponseSuccess
|
887
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestEventPatternResponseSuccess
|
888
|
+
|
889
|
+
interface _UntagResourceResponseSuccess
|
890
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
891
|
+
end
|
892
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#untag_resource-instance_method
|
893
|
+
def untag_resource: (
|
894
|
+
resource_arn: ::String,
|
895
|
+
tag_keys: Array[::String]
|
896
|
+
) -> _UntagResourceResponseSuccess
|
897
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
898
|
+
|
899
|
+
interface _UpdateApiDestinationResponseSuccess
|
900
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApiDestinationResponse]
|
901
|
+
def api_destination_arn: () -> ::String
|
902
|
+
def api_destination_state: () -> ("ACTIVE" | "INACTIVE")
|
903
|
+
def creation_time: () -> ::Time
|
904
|
+
def last_modified_time: () -> ::Time
|
905
|
+
end
|
906
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#update_api_destination-instance_method
|
907
|
+
def update_api_destination: (
|
908
|
+
name: ::String,
|
909
|
+
?description: ::String,
|
910
|
+
?connection_arn: ::String,
|
911
|
+
?invocation_endpoint: ::String,
|
912
|
+
?http_method: ("POST" | "GET" | "HEAD" | "OPTIONS" | "PUT" | "PATCH" | "DELETE"),
|
913
|
+
?invocation_rate_limit_per_second: ::Integer
|
914
|
+
) -> _UpdateApiDestinationResponseSuccess
|
915
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApiDestinationResponseSuccess
|
916
|
+
|
917
|
+
interface _UpdateArchiveResponseSuccess
|
918
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateArchiveResponse]
|
919
|
+
def archive_arn: () -> ::String
|
920
|
+
def state: () -> ("ENABLED" | "DISABLED" | "CREATING" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED")
|
921
|
+
def state_reason: () -> ::String
|
922
|
+
def creation_time: () -> ::Time
|
923
|
+
end
|
924
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#update_archive-instance_method
|
925
|
+
def update_archive: (
|
926
|
+
archive_name: ::String,
|
927
|
+
?description: ::String,
|
928
|
+
?event_pattern: ::String,
|
929
|
+
?retention_days: ::Integer
|
930
|
+
) -> _UpdateArchiveResponseSuccess
|
931
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateArchiveResponseSuccess
|
932
|
+
|
933
|
+
interface _UpdateConnectionResponseSuccess
|
934
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectionResponse]
|
935
|
+
def connection_arn: () -> ::String
|
936
|
+
def connection_state: () -> ("CREATING" | "UPDATING" | "DELETING" | "AUTHORIZED" | "DEAUTHORIZED" | "AUTHORIZING" | "DEAUTHORIZING")
|
937
|
+
def creation_time: () -> ::Time
|
938
|
+
def last_modified_time: () -> ::Time
|
939
|
+
def last_authorized_time: () -> ::Time
|
940
|
+
end
|
941
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvents/Client.html#update_connection-instance_method
|
942
|
+
def update_connection: (
|
943
|
+
name: ::String,
|
944
|
+
?description: ::String,
|
945
|
+
?authorization_type: ("BASIC" | "OAUTH_CLIENT_CREDENTIALS" | "API_KEY"),
|
946
|
+
?auth_parameters: {
|
947
|
+
basic_auth_parameters: {
|
948
|
+
username: ::String?,
|
949
|
+
password: ::String?
|
950
|
+
}?,
|
951
|
+
o_auth_parameters: {
|
952
|
+
client_parameters: {
|
953
|
+
client_id: ::String?,
|
954
|
+
client_secret: ::String?
|
955
|
+
}?,
|
956
|
+
authorization_endpoint: ::String?,
|
957
|
+
http_method: ("GET" | "POST" | "PUT")?,
|
958
|
+
o_auth_http_parameters: {
|
959
|
+
header_parameters: Array[
|
960
|
+
{
|
961
|
+
key: ::String?,
|
962
|
+
value: ::String?,
|
963
|
+
is_value_secret: bool?
|
964
|
+
},
|
965
|
+
]?,
|
966
|
+
query_string_parameters: Array[
|
967
|
+
{
|
968
|
+
key: ::String?,
|
969
|
+
value: ::String?,
|
970
|
+
is_value_secret: bool?
|
971
|
+
},
|
972
|
+
]?,
|
973
|
+
body_parameters: Array[
|
974
|
+
{
|
975
|
+
key: ::String?,
|
976
|
+
value: ::String?,
|
977
|
+
is_value_secret: bool?
|
978
|
+
},
|
979
|
+
]?
|
980
|
+
}?
|
981
|
+
}?,
|
982
|
+
api_key_auth_parameters: {
|
983
|
+
api_key_name: ::String?,
|
984
|
+
api_key_value: ::String?
|
985
|
+
}?,
|
986
|
+
invocation_http_parameters: {
|
987
|
+
header_parameters: Array[
|
988
|
+
{
|
989
|
+
key: ::String?,
|
990
|
+
value: ::String?,
|
991
|
+
is_value_secret: bool?
|
992
|
+
},
|
993
|
+
]?,
|
994
|
+
query_string_parameters: Array[
|
995
|
+
{
|
996
|
+
key: ::String?,
|
997
|
+
value: ::String?,
|
998
|
+
is_value_secret: bool?
|
999
|
+
},
|
1000
|
+
]?,
|
1001
|
+
body_parameters: Array[
|
1002
|
+
{
|
1003
|
+
key: ::String?,
|
1004
|
+
value: ::String?,
|
1005
|
+
is_value_secret: bool?
|
1006
|
+
},
|
1007
|
+
]?
|
1008
|
+
}?
|
1009
|
+
}
|
1010
|
+
) -> _UpdateConnectionResponseSuccess
|
1011
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConnectionResponseSuccess
|
1012
|
+
end
|
1013
|
+
end
|
1014
|
+
end
|
1015
|
+
|