aws-sdk-cloudwatchevents 1.26.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-cloudwatchevents.rb +9 -4
- data/lib/aws-sdk-cloudwatchevents/client.rb +72 -14
- data/lib/aws-sdk-cloudwatchevents/client_api.rb +20 -0
- data/lib/aws-sdk-cloudwatchevents/customizations.rb +1 -0
- data/lib/aws-sdk-cloudwatchevents/errors.rb +123 -0
- data/lib/aws-sdk-cloudwatchevents/resource.rb +3 -0
- data/lib/aws-sdk-cloudwatchevents/types.rb +140 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1ea96c0bdee462af7c5db592694248b21f26887184ffabe63dee280377358bea
|
4
|
+
data.tar.gz: 9ffa829ef05e087593979099e9e408938f09264dbc1480846269d9f6c96f4742
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fdbed17311744db6a3ec6dddf5c00c358313e678effd2cee504f264eefcdd58fb3c4c1b0946d5447cb4d6480a914ab276976b37d28e889cffb43a09ca997394
|
7
|
+
data.tar.gz: 226fb5bf12a244841fcaa903d96ec35b55a32ab4eba7d59e206a83d4b8743e58e1036b0a2260332b3bd0c3d4e729edb067f3a9d760ff4ff4badcacca70f91140
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,17 +26,20 @@ require_relative 'aws-sdk-cloudwatchevents/customizations'
|
|
24
26
|
# methods each accept a hash of request parameters and return a response
|
25
27
|
# structure.
|
26
28
|
#
|
29
|
+
# cloud_watch_events = Aws::CloudWatchEvents::Client.new
|
30
|
+
# resp = cloud_watch_events.activate_event_source(params)
|
31
|
+
#
|
27
32
|
# See {Client} for more information.
|
28
33
|
#
|
29
34
|
# # Errors
|
30
35
|
#
|
31
|
-
# Errors returned from Amazon CloudWatch Events
|
32
|
-
# extend {Errors::ServiceError}.
|
36
|
+
# Errors returned from Amazon CloudWatch Events are defined in the
|
37
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
38
|
#
|
34
39
|
# begin
|
35
40
|
# # do stuff
|
36
41
|
# rescue Aws::CloudWatchEvents::Errors::ServiceError
|
37
|
-
# # rescues all
|
42
|
+
# # rescues all Amazon CloudWatch Events API errors
|
38
43
|
# end
|
39
44
|
#
|
40
45
|
# See {Errors} for more information.
|
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-cloudwatchevents/customizations'
|
|
42
47
|
# @service
|
43
48
|
module Aws::CloudWatchEvents
|
44
49
|
|
45
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.31.0'
|
46
51
|
|
47
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
30
33
|
Aws::Plugins::GlobalConfiguration.add_identifier(:cloudwatchevents)
|
31
34
|
|
32
35
|
module Aws::CloudWatchEvents
|
36
|
+
# An API client for CloudWatchEvents. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
38
|
+
# client = Aws::CloudWatchEvents::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
43
|
+
#
|
44
|
+
# For details on configuring region and credentials see
|
45
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
46
|
+
#
|
47
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
48
|
class Client < Seahorse::Client::Base
|
34
49
|
|
35
50
|
include Aws::ClientStubs
|
@@ -57,6 +72,7 @@ module Aws::CloudWatchEvents
|
|
57
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
62
78
|
|
@@ -93,7 +109,7 @@ module Aws::CloudWatchEvents
|
|
93
109
|
# @option options [required, String] :region
|
94
110
|
# The AWS region to connect to. The configured `:region` is
|
95
111
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
97
113
|
#
|
98
114
|
# * `Aws.config[:region]`
|
99
115
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +124,12 @@ module Aws::CloudWatchEvents
|
|
108
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
125
|
# the background every 60 secs (default). Defaults to `false`.
|
110
126
|
#
|
127
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
128
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
129
|
+
# until there is sufficent client side capacity to retry the request.
|
130
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
131
|
+
# not retry instead of sleeping.
|
132
|
+
#
|
111
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
135
|
# this client.
|
@@ -132,6 +154,10 @@ module Aws::CloudWatchEvents
|
|
132
154
|
# When `true`, an attempt is made to coerce request parameters into
|
133
155
|
# the required types.
|
134
156
|
#
|
157
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
158
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
159
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
160
|
+
#
|
135
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
162
|
# Set to true to disable SDK automatically adding host prefix
|
137
163
|
# to default service endpoint when available.
|
@@ -139,7 +165,7 @@ module Aws::CloudWatchEvents
|
|
139
165
|
# @option options [String] :endpoint
|
140
166
|
# The client endpoint is normally constructed from the `:region`
|
141
167
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
169
|
#
|
144
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +180,7 @@ module Aws::CloudWatchEvents
|
|
154
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
181
|
#
|
156
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
184
|
#
|
159
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
186
|
# The log formatter.
|
@@ -166,15 +192,29 @@ module Aws::CloudWatchEvents
|
|
166
192
|
# The Logger instance to send log messages to. If this option
|
167
193
|
# is not set, logging will be disabled.
|
168
194
|
#
|
195
|
+
# @option options [Integer] :max_attempts (3)
|
196
|
+
# An integer representing the maximum number attempts that will be made for
|
197
|
+
# a single request, including the initial attempt. For example,
|
198
|
+
# setting this value to 5 will result in a request being retried up to
|
199
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
200
|
+
#
|
169
201
|
# @option options [String] :profile ("default")
|
170
202
|
# Used when loading credentials from the shared credentials file
|
171
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
204
|
#
|
205
|
+
# @option options [Proc] :retry_backoff
|
206
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
207
|
+
# This option is only used in the `legacy` retry mode.
|
208
|
+
#
|
173
209
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
210
|
+
# The base delay in seconds used by the default backoff function. This option
|
211
|
+
# is only used in the `legacy` retry mode.
|
175
212
|
#
|
176
213
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
214
|
+
# A delay randomiser function used by the default backoff function.
|
215
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
216
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
217
|
+
# in the `legacy` retry mode.
|
178
218
|
#
|
179
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
220
|
#
|
@@ -182,11 +222,30 @@ module Aws::CloudWatchEvents
|
|
182
222
|
# The maximum number of times to retry failed requests. Only
|
183
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
224
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
225
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
226
|
+
# endpoint discovery, and errors from expired credentials.
|
227
|
+
# This option is only used in the `legacy` retry mode.
|
187
228
|
#
|
188
229
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
230
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
231
|
+
# used by the default backoff function. This option is only used in the
|
232
|
+
# `legacy` retry mode.
|
233
|
+
#
|
234
|
+
# @option options [String] :retry_mode ("legacy")
|
235
|
+
# Specifies which retry algorithm to use. Values are:
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
190
249
|
#
|
191
250
|
# @option options [String] :secret_access_key
|
192
251
|
#
|
@@ -219,16 +278,15 @@ module Aws::CloudWatchEvents
|
|
219
278
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
279
|
#
|
221
280
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
281
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
282
|
# `Timeout::Error`.
|
224
283
|
#
|
225
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
285
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
229
287
|
#
|
230
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
289
|
+
# seconds a connection is allowed to sit idle before it is
|
232
290
|
# considered stale. Stale connections are closed and removed
|
233
291
|
# from the pool before making a request.
|
234
292
|
#
|
@@ -237,7 +295,7 @@ module Aws::CloudWatchEvents
|
|
237
295
|
# request body. This option has no effect unless the request has
|
238
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
297
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
298
|
+
# request on the session.
|
241
299
|
#
|
242
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1913,7 +1971,7 @@ module Aws::CloudWatchEvents
|
|
1913
1971
|
params: params,
|
1914
1972
|
config: config)
|
1915
1973
|
context[:gem_name] = 'aws-sdk-cloudwatchevents'
|
1916
|
-
context[:gem_version] = '1.
|
1974
|
+
context[:gem_version] = '1.31.0'
|
1917
1975
|
Seahorse::Client::Request.new(handlers, context)
|
1918
1976
|
end
|
1919
1977
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -185,6 +187,8 @@ module Aws::CloudWatchEvents
|
|
185
187
|
BatchRetryStrategy.add_member(:attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "Attempts"))
|
186
188
|
BatchRetryStrategy.struct_class = Types::BatchRetryStrategy
|
187
189
|
|
190
|
+
ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
|
191
|
+
|
188
192
|
Condition.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Type"))
|
189
193
|
Condition.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Key"))
|
190
194
|
Condition.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
|
@@ -300,9 +304,17 @@ module Aws::CloudWatchEvents
|
|
300
304
|
InputTransformer.add_member(:input_template, Shapes::ShapeRef.new(shape: TransformerInput, required: true, location_name: "InputTemplate"))
|
301
305
|
InputTransformer.struct_class = Types::InputTransformer
|
302
306
|
|
307
|
+
InternalException.struct_class = Types::InternalException
|
308
|
+
|
309
|
+
InvalidEventPatternException.struct_class = Types::InvalidEventPatternException
|
310
|
+
|
311
|
+
InvalidStateException.struct_class = Types::InvalidStateException
|
312
|
+
|
303
313
|
KinesisParameters.add_member(:partition_key_path, Shapes::ShapeRef.new(shape: TargetPartitionKeyPath, required: true, location_name: "PartitionKeyPath"))
|
304
314
|
KinesisParameters.struct_class = Types::KinesisParameters
|
305
315
|
|
316
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
317
|
+
|
306
318
|
ListEventBusesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: EventBusName, location_name: "NamePrefix"))
|
307
319
|
ListEventBusesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
308
320
|
ListEventBusesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
|
@@ -375,6 +387,8 @@ module Aws::CloudWatchEvents
|
|
375
387
|
ListTargetsByRuleResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
376
388
|
ListTargetsByRuleResponse.struct_class = Types::ListTargetsByRuleResponse
|
377
389
|
|
390
|
+
ManagedRuleException.struct_class = Types::ManagedRuleException
|
391
|
+
|
378
392
|
NetworkConfiguration.add_member(:awsvpc_configuration, Shapes::ShapeRef.new(shape: AwsVpcConfiguration, location_name: "awsvpcConfiguration"))
|
379
393
|
NetworkConfiguration.struct_class = Types::NetworkConfiguration
|
380
394
|
|
@@ -392,6 +406,8 @@ module Aws::CloudWatchEvents
|
|
392
406
|
|
393
407
|
PartnerEventSourceList.member = Shapes::ShapeRef.new(shape: PartnerEventSource)
|
394
408
|
|
409
|
+
PolicyLengthExceededException.struct_class = Types::PolicyLengthExceededException
|
410
|
+
|
395
411
|
PutEventsRequest.add_member(:entries, Shapes::ShapeRef.new(shape: PutEventsRequestEntryList, required: true, location_name: "Entries"))
|
396
412
|
PutEventsRequest.struct_class = Types::PutEventsRequest
|
397
413
|
|
@@ -496,6 +512,10 @@ module Aws::CloudWatchEvents
|
|
496
512
|
|
497
513
|
RemoveTargetsResultEntryList.member = Shapes::ShapeRef.new(shape: RemoveTargetsResultEntry)
|
498
514
|
|
515
|
+
ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
|
516
|
+
|
517
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
518
|
+
|
499
519
|
Rule.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
|
500
520
|
Rule.add_member(:arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "Arn"))
|
501
521
|
Rule.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,9 +8,130 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::CloudWatchEvents
|
11
|
+
|
12
|
+
# When CloudWatchEvents returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::CloudWatchEvents::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all CloudWatchEvents errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::CloudWatchEvents::Errors::ServiceError
|
20
|
+
# # rescues all CloudWatchEvents API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {ConcurrentModificationException}
|
31
|
+
# * {InternalException}
|
32
|
+
# * {InvalidEventPatternException}
|
33
|
+
# * {InvalidStateException}
|
34
|
+
# * {LimitExceededException}
|
35
|
+
# * {ManagedRuleException}
|
36
|
+
# * {PolicyLengthExceededException}
|
37
|
+
# * {ResourceAlreadyExistsException}
|
38
|
+
# * {ResourceNotFoundException}
|
39
|
+
#
|
40
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
41
|
+
# if they are not defined above.
|
9
42
|
module Errors
|
10
43
|
|
11
44
|
extend Aws::Errors::DynamicErrors
|
12
45
|
|
46
|
+
class ConcurrentModificationException < ServiceError
|
47
|
+
|
48
|
+
# @param [Seahorse::Client::RequestContext] context
|
49
|
+
# @param [String] message
|
50
|
+
# @param [Aws::CloudWatchEvents::Types::ConcurrentModificationException] data
|
51
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
52
|
+
super(context, message, data)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class InternalException < ServiceError
|
57
|
+
|
58
|
+
# @param [Seahorse::Client::RequestContext] context
|
59
|
+
# @param [String] message
|
60
|
+
# @param [Aws::CloudWatchEvents::Types::InternalException] data
|
61
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
62
|
+
super(context, message, data)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
class InvalidEventPatternException < ServiceError
|
67
|
+
|
68
|
+
# @param [Seahorse::Client::RequestContext] context
|
69
|
+
# @param [String] message
|
70
|
+
# @param [Aws::CloudWatchEvents::Types::InvalidEventPatternException] data
|
71
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
72
|
+
super(context, message, data)
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
class InvalidStateException < ServiceError
|
77
|
+
|
78
|
+
# @param [Seahorse::Client::RequestContext] context
|
79
|
+
# @param [String] message
|
80
|
+
# @param [Aws::CloudWatchEvents::Types::InvalidStateException] data
|
81
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
82
|
+
super(context, message, data)
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
class LimitExceededException < ServiceError
|
87
|
+
|
88
|
+
# @param [Seahorse::Client::RequestContext] context
|
89
|
+
# @param [String] message
|
90
|
+
# @param [Aws::CloudWatchEvents::Types::LimitExceededException] data
|
91
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
92
|
+
super(context, message, data)
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
class ManagedRuleException < ServiceError
|
97
|
+
|
98
|
+
# @param [Seahorse::Client::RequestContext] context
|
99
|
+
# @param [String] message
|
100
|
+
# @param [Aws::CloudWatchEvents::Types::ManagedRuleException] data
|
101
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
102
|
+
super(context, message, data)
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
class PolicyLengthExceededException < ServiceError
|
107
|
+
|
108
|
+
# @param [Seahorse::Client::RequestContext] context
|
109
|
+
# @param [String] message
|
110
|
+
# @param [Aws::CloudWatchEvents::Types::PolicyLengthExceededException] data
|
111
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
112
|
+
super(context, message, data)
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
class ResourceAlreadyExistsException < ServiceError
|
117
|
+
|
118
|
+
# @param [Seahorse::Client::RequestContext] context
|
119
|
+
# @param [String] message
|
120
|
+
# @param [Aws::CloudWatchEvents::Types::ResourceAlreadyExistsException] data
|
121
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
122
|
+
super(context, message, data)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class ResourceNotFoundException < ServiceError
|
127
|
+
|
128
|
+
# @param [Seahorse::Client::RequestContext] context
|
129
|
+
# @param [String] message
|
130
|
+
# @param [Aws::CloudWatchEvents::Types::ResourceNotFoundException] data
|
131
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
132
|
+
super(context, message, data)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
13
136
|
end
|
14
137
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::CloudWatchEvents
|
11
|
+
|
9
12
|
class Resource
|
10
13
|
|
11
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -23,6 +25,7 @@ module Aws::CloudWatchEvents
|
|
23
25
|
#
|
24
26
|
class ActivateEventSourceRequest < Struct.new(
|
25
27
|
:name)
|
28
|
+
SENSITIVE = []
|
26
29
|
include Aws::Structure
|
27
30
|
end
|
28
31
|
|
@@ -63,6 +66,7 @@ module Aws::CloudWatchEvents
|
|
63
66
|
:subnets,
|
64
67
|
:security_groups,
|
65
68
|
:assign_public_ip)
|
69
|
+
SENSITIVE = []
|
66
70
|
include Aws::Structure
|
67
71
|
end
|
68
72
|
|
@@ -87,6 +91,7 @@ module Aws::CloudWatchEvents
|
|
87
91
|
#
|
88
92
|
class BatchArrayProperties < Struct.new(
|
89
93
|
:size)
|
94
|
+
SENSITIVE = []
|
90
95
|
include Aws::Structure
|
91
96
|
end
|
92
97
|
|
@@ -138,6 +143,7 @@ module Aws::CloudWatchEvents
|
|
138
143
|
:job_name,
|
139
144
|
:array_properties,
|
140
145
|
:retry_strategy)
|
146
|
+
SENSITIVE = []
|
141
147
|
include Aws::Structure
|
142
148
|
end
|
143
149
|
|
@@ -161,9 +167,16 @@ module Aws::CloudWatchEvents
|
|
161
167
|
#
|
162
168
|
class BatchRetryStrategy < Struct.new(
|
163
169
|
:attempts)
|
170
|
+
SENSITIVE = []
|
164
171
|
include Aws::Structure
|
165
172
|
end
|
166
173
|
|
174
|
+
# There is concurrent modification on a rule or target.
|
175
|
+
#
|
176
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ConcurrentModificationException AWS API Documentation
|
177
|
+
#
|
178
|
+
class ConcurrentModificationException < Aws::EmptyStructure; end
|
179
|
+
|
167
180
|
# A JSON string which you can use to limit the event bus permissions you
|
168
181
|
# are granting to only accounts that fulfill the condition. Currently,
|
169
182
|
# the only supported condition is membership in a certain AWS
|
@@ -204,6 +217,7 @@ module Aws::CloudWatchEvents
|
|
204
217
|
:type,
|
205
218
|
:key,
|
206
219
|
:value)
|
220
|
+
SENSITIVE = []
|
207
221
|
include Aws::Structure
|
208
222
|
end
|
209
223
|
|
@@ -247,6 +261,7 @@ module Aws::CloudWatchEvents
|
|
247
261
|
:name,
|
248
262
|
:event_source_name,
|
249
263
|
:tags)
|
264
|
+
SENSITIVE = []
|
250
265
|
include Aws::Structure
|
251
266
|
end
|
252
267
|
|
@@ -258,6 +273,7 @@ module Aws::CloudWatchEvents
|
|
258
273
|
#
|
259
274
|
class CreateEventBusResponse < Struct.new(
|
260
275
|
:event_bus_arn)
|
276
|
+
SENSITIVE = []
|
261
277
|
include Aws::Structure
|
262
278
|
end
|
263
279
|
|
@@ -287,6 +303,7 @@ module Aws::CloudWatchEvents
|
|
287
303
|
class CreatePartnerEventSourceRequest < Struct.new(
|
288
304
|
:name,
|
289
305
|
:account)
|
306
|
+
SENSITIVE = []
|
290
307
|
include Aws::Structure
|
291
308
|
end
|
292
309
|
|
@@ -298,6 +315,7 @@ module Aws::CloudWatchEvents
|
|
298
315
|
#
|
299
316
|
class CreatePartnerEventSourceResponse < Struct.new(
|
300
317
|
:event_source_arn)
|
318
|
+
SENSITIVE = []
|
301
319
|
include Aws::Structure
|
302
320
|
end
|
303
321
|
|
@@ -316,6 +334,7 @@ module Aws::CloudWatchEvents
|
|
316
334
|
#
|
317
335
|
class DeactivateEventSourceRequest < Struct.new(
|
318
336
|
:name)
|
337
|
+
SENSITIVE = []
|
319
338
|
include Aws::Structure
|
320
339
|
end
|
321
340
|
|
@@ -334,6 +353,7 @@ module Aws::CloudWatchEvents
|
|
334
353
|
#
|
335
354
|
class DeleteEventBusRequest < Struct.new(
|
336
355
|
:name)
|
356
|
+
SENSITIVE = []
|
337
357
|
include Aws::Structure
|
338
358
|
end
|
339
359
|
|
@@ -359,6 +379,7 @@ module Aws::CloudWatchEvents
|
|
359
379
|
class DeletePartnerEventSourceRequest < Struct.new(
|
360
380
|
:name,
|
361
381
|
:account)
|
382
|
+
SENSITIVE = []
|
362
383
|
include Aws::Structure
|
363
384
|
end
|
364
385
|
|
@@ -394,6 +415,7 @@ module Aws::CloudWatchEvents
|
|
394
415
|
:name,
|
395
416
|
:event_bus_name,
|
396
417
|
:force)
|
418
|
+
SENSITIVE = []
|
397
419
|
include Aws::Structure
|
398
420
|
end
|
399
421
|
|
@@ -413,6 +435,7 @@ module Aws::CloudWatchEvents
|
|
413
435
|
#
|
414
436
|
class DescribeEventBusRequest < Struct.new(
|
415
437
|
:name)
|
438
|
+
SENSITIVE = []
|
416
439
|
include Aws::Structure
|
417
440
|
end
|
418
441
|
|
@@ -436,6 +459,7 @@ module Aws::CloudWatchEvents
|
|
436
459
|
:name,
|
437
460
|
:arn,
|
438
461
|
:policy)
|
462
|
+
SENSITIVE = []
|
439
463
|
include Aws::Structure
|
440
464
|
end
|
441
465
|
|
@@ -454,6 +478,7 @@ module Aws::CloudWatchEvents
|
|
454
478
|
#
|
455
479
|
class DescribeEventSourceRequest < Struct.new(
|
456
480
|
:name)
|
481
|
+
SENSITIVE = []
|
457
482
|
include Aws::Structure
|
458
483
|
end
|
459
484
|
|
@@ -496,6 +521,7 @@ module Aws::CloudWatchEvents
|
|
496
521
|
:expiration_time,
|
497
522
|
:name,
|
498
523
|
:state)
|
524
|
+
SENSITIVE = []
|
499
525
|
include Aws::Structure
|
500
526
|
end
|
501
527
|
|
@@ -514,6 +540,7 @@ module Aws::CloudWatchEvents
|
|
514
540
|
#
|
515
541
|
class DescribePartnerEventSourceRequest < Struct.new(
|
516
542
|
:name)
|
543
|
+
SENSITIVE = []
|
517
544
|
include Aws::Structure
|
518
545
|
end
|
519
546
|
|
@@ -530,6 +557,7 @@ module Aws::CloudWatchEvents
|
|
530
557
|
class DescribePartnerEventSourceResponse < Struct.new(
|
531
558
|
:arn,
|
532
559
|
:name)
|
560
|
+
SENSITIVE = []
|
533
561
|
include Aws::Structure
|
534
562
|
end
|
535
563
|
|
@@ -555,6 +583,7 @@ module Aws::CloudWatchEvents
|
|
555
583
|
class DescribeRuleRequest < Struct.new(
|
556
584
|
:name,
|
557
585
|
:event_bus_name)
|
586
|
+
SENSITIVE = []
|
558
587
|
include Aws::Structure
|
559
588
|
end
|
560
589
|
|
@@ -615,6 +644,7 @@ module Aws::CloudWatchEvents
|
|
615
644
|
:role_arn,
|
616
645
|
:managed_by,
|
617
646
|
:event_bus_name)
|
647
|
+
SENSITIVE = []
|
618
648
|
include Aws::Structure
|
619
649
|
end
|
620
650
|
|
@@ -640,6 +670,7 @@ module Aws::CloudWatchEvents
|
|
640
670
|
class DisableRuleRequest < Struct.new(
|
641
671
|
:name,
|
642
672
|
:event_bus_name)
|
673
|
+
SENSITIVE = []
|
643
674
|
include Aws::Structure
|
644
675
|
end
|
645
676
|
|
@@ -726,6 +757,7 @@ module Aws::CloudWatchEvents
|
|
726
757
|
:network_configuration,
|
727
758
|
:platform_version,
|
728
759
|
:group)
|
760
|
+
SENSITIVE = []
|
729
761
|
include Aws::Structure
|
730
762
|
end
|
731
763
|
|
@@ -751,6 +783,7 @@ module Aws::CloudWatchEvents
|
|
751
783
|
class EnableRuleRequest < Struct.new(
|
752
784
|
:name,
|
753
785
|
:event_bus_name)
|
786
|
+
SENSITIVE = []
|
754
787
|
include Aws::Structure
|
755
788
|
end
|
756
789
|
|
@@ -781,6 +814,7 @@ module Aws::CloudWatchEvents
|
|
781
814
|
:name,
|
782
815
|
:arn,
|
783
816
|
:policy)
|
817
|
+
SENSITIVE = []
|
784
818
|
include Aws::Structure
|
785
819
|
end
|
786
820
|
|
@@ -828,6 +862,7 @@ module Aws::CloudWatchEvents
|
|
828
862
|
:expiration_time,
|
829
863
|
:name,
|
830
864
|
:state)
|
865
|
+
SENSITIVE = []
|
831
866
|
include Aws::Structure
|
832
867
|
end
|
833
868
|
|
@@ -904,9 +939,28 @@ module Aws::CloudWatchEvents
|
|
904
939
|
class InputTransformer < Struct.new(
|
905
940
|
:input_paths_map,
|
906
941
|
:input_template)
|
942
|
+
SENSITIVE = []
|
907
943
|
include Aws::Structure
|
908
944
|
end
|
909
945
|
|
946
|
+
# This exception occurs due to unexpected causes.
|
947
|
+
#
|
948
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/InternalException AWS API Documentation
|
949
|
+
#
|
950
|
+
class InternalException < Aws::EmptyStructure; end
|
951
|
+
|
952
|
+
# The event pattern is not valid.
|
953
|
+
#
|
954
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/InvalidEventPatternException AWS API Documentation
|
955
|
+
#
|
956
|
+
class InvalidEventPatternException < Aws::EmptyStructure; end
|
957
|
+
|
958
|
+
# The specified state is not a valid state for an event source.
|
959
|
+
#
|
960
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/InvalidStateException AWS API Documentation
|
961
|
+
#
|
962
|
+
class InvalidStateException < Aws::EmptyStructure; end
|
963
|
+
|
910
964
|
# This object enables you to specify a JSON path to extract from the
|
911
965
|
# event and use as the partition key for the Amazon Kinesis data stream,
|
912
966
|
# so that you can control the shard to which the event goes. If you do
|
@@ -934,9 +988,17 @@ module Aws::CloudWatchEvents
|
|
934
988
|
#
|
935
989
|
class KinesisParameters < Struct.new(
|
936
990
|
:partition_key_path)
|
991
|
+
SENSITIVE = []
|
937
992
|
include Aws::Structure
|
938
993
|
end
|
939
994
|
|
995
|
+
# You tried to create more rules or add more targets to a rule than is
|
996
|
+
# allowed.
|
997
|
+
#
|
998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/LimitExceededException AWS API Documentation
|
999
|
+
#
|
1000
|
+
class LimitExceededException < Aws::EmptyStructure; end
|
1001
|
+
|
940
1002
|
# @note When making an API call, you may pass ListEventBusesRequest
|
941
1003
|
# data as a hash:
|
942
1004
|
#
|
@@ -968,6 +1030,7 @@ module Aws::CloudWatchEvents
|
|
968
1030
|
:name_prefix,
|
969
1031
|
:next_token,
|
970
1032
|
:limit)
|
1033
|
+
SENSITIVE = []
|
971
1034
|
include Aws::Structure
|
972
1035
|
end
|
973
1036
|
|
@@ -985,6 +1048,7 @@ module Aws::CloudWatchEvents
|
|
985
1048
|
class ListEventBusesResponse < Struct.new(
|
986
1049
|
:event_buses,
|
987
1050
|
:next_token)
|
1051
|
+
SENSITIVE = []
|
988
1052
|
include Aws::Structure
|
989
1053
|
end
|
990
1054
|
|
@@ -1019,6 +1083,7 @@ module Aws::CloudWatchEvents
|
|
1019
1083
|
:name_prefix,
|
1020
1084
|
:next_token,
|
1021
1085
|
:limit)
|
1086
|
+
SENSITIVE = []
|
1022
1087
|
include Aws::Structure
|
1023
1088
|
end
|
1024
1089
|
|
@@ -1036,6 +1101,7 @@ module Aws::CloudWatchEvents
|
|
1036
1101
|
class ListEventSourcesResponse < Struct.new(
|
1037
1102
|
:event_sources,
|
1038
1103
|
:next_token)
|
1104
|
+
SENSITIVE = []
|
1039
1105
|
include Aws::Structure
|
1040
1106
|
end
|
1041
1107
|
|
@@ -1070,6 +1136,7 @@ module Aws::CloudWatchEvents
|
|
1070
1136
|
:event_source_name,
|
1071
1137
|
:next_token,
|
1072
1138
|
:limit)
|
1139
|
+
SENSITIVE = []
|
1073
1140
|
include Aws::Structure
|
1074
1141
|
end
|
1075
1142
|
|
@@ -1087,6 +1154,7 @@ module Aws::CloudWatchEvents
|
|
1087
1154
|
class ListPartnerEventSourceAccountsResponse < Struct.new(
|
1088
1155
|
:partner_event_source_accounts,
|
1089
1156
|
:next_token)
|
1157
|
+
SENSITIVE = []
|
1090
1158
|
include Aws::Structure
|
1091
1159
|
end
|
1092
1160
|
|
@@ -1121,6 +1189,7 @@ module Aws::CloudWatchEvents
|
|
1121
1189
|
:name_prefix,
|
1122
1190
|
:next_token,
|
1123
1191
|
:limit)
|
1192
|
+
SENSITIVE = []
|
1124
1193
|
include Aws::Structure
|
1125
1194
|
end
|
1126
1195
|
|
@@ -1138,6 +1207,7 @@ module Aws::CloudWatchEvents
|
|
1138
1207
|
class ListPartnerEventSourcesResponse < Struct.new(
|
1139
1208
|
:partner_event_sources,
|
1140
1209
|
:next_token)
|
1210
|
+
SENSITIVE = []
|
1141
1211
|
include Aws::Structure
|
1142
1212
|
end
|
1143
1213
|
|
@@ -1176,6 +1246,7 @@ module Aws::CloudWatchEvents
|
|
1176
1246
|
:event_bus_name,
|
1177
1247
|
:next_token,
|
1178
1248
|
:limit)
|
1249
|
+
SENSITIVE = []
|
1179
1250
|
include Aws::Structure
|
1180
1251
|
end
|
1181
1252
|
|
@@ -1193,6 +1264,7 @@ module Aws::CloudWatchEvents
|
|
1193
1264
|
class ListRuleNamesByTargetResponse < Struct.new(
|
1194
1265
|
:rule_names,
|
1195
1266
|
:next_token)
|
1267
|
+
SENSITIVE = []
|
1196
1268
|
include Aws::Structure
|
1197
1269
|
end
|
1198
1270
|
|
@@ -1231,6 +1303,7 @@ module Aws::CloudWatchEvents
|
|
1231
1303
|
:event_bus_name,
|
1232
1304
|
:next_token,
|
1233
1305
|
:limit)
|
1306
|
+
SENSITIVE = []
|
1234
1307
|
include Aws::Structure
|
1235
1308
|
end
|
1236
1309
|
|
@@ -1248,6 +1321,7 @@ module Aws::CloudWatchEvents
|
|
1248
1321
|
class ListRulesResponse < Struct.new(
|
1249
1322
|
:rules,
|
1250
1323
|
:next_token)
|
1324
|
+
SENSITIVE = []
|
1251
1325
|
include Aws::Structure
|
1252
1326
|
end
|
1253
1327
|
|
@@ -1266,6 +1340,7 @@ module Aws::CloudWatchEvents
|
|
1266
1340
|
#
|
1267
1341
|
class ListTagsForResourceRequest < Struct.new(
|
1268
1342
|
:resource_arn)
|
1343
|
+
SENSITIVE = []
|
1269
1344
|
include Aws::Structure
|
1270
1345
|
end
|
1271
1346
|
|
@@ -1278,6 +1353,7 @@ module Aws::CloudWatchEvents
|
|
1278
1353
|
#
|
1279
1354
|
class ListTagsForResourceResponse < Struct.new(
|
1280
1355
|
:tags)
|
1356
|
+
SENSITIVE = []
|
1281
1357
|
include Aws::Structure
|
1282
1358
|
end
|
1283
1359
|
|
@@ -1316,6 +1392,7 @@ module Aws::CloudWatchEvents
|
|
1316
1392
|
:event_bus_name,
|
1317
1393
|
:next_token,
|
1318
1394
|
:limit)
|
1395
|
+
SENSITIVE = []
|
1319
1396
|
include Aws::Structure
|
1320
1397
|
end
|
1321
1398
|
|
@@ -1333,9 +1410,22 @@ module Aws::CloudWatchEvents
|
|
1333
1410
|
class ListTargetsByRuleResponse < Struct.new(
|
1334
1411
|
:targets,
|
1335
1412
|
:next_token)
|
1413
|
+
SENSITIVE = []
|
1336
1414
|
include Aws::Structure
|
1337
1415
|
end
|
1338
1416
|
|
1417
|
+
# This rule was created by an AWS service on behalf of your account. It
|
1418
|
+
# is managed by that service. If you see this error in response to
|
1419
|
+
# `DeleteRule` or `RemoveTargets`, you can use the `Force` parameter in
|
1420
|
+
# those calls to delete the rule or remove targets from the rule. You
|
1421
|
+
# cannot modify these managed rules by using `DisableRule`,
|
1422
|
+
# `EnableRule`, `PutTargets`, `PutRule`, `TagResource`, or
|
1423
|
+
# `UntagResource`.
|
1424
|
+
#
|
1425
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ManagedRuleException AWS API Documentation
|
1426
|
+
#
|
1427
|
+
class ManagedRuleException < Aws::EmptyStructure; end
|
1428
|
+
|
1339
1429
|
# This structure specifies the network configuration for an ECS task.
|
1340
1430
|
#
|
1341
1431
|
# @note When making an API call, you may pass NetworkConfiguration
|
@@ -1360,6 +1450,7 @@ module Aws::CloudWatchEvents
|
|
1360
1450
|
#
|
1361
1451
|
class NetworkConfiguration < Struct.new(
|
1362
1452
|
:awsvpc_configuration)
|
1453
|
+
SENSITIVE = []
|
1363
1454
|
include Aws::Structure
|
1364
1455
|
end
|
1365
1456
|
|
@@ -1381,6 +1472,7 @@ module Aws::CloudWatchEvents
|
|
1381
1472
|
class PartnerEventSource < Struct.new(
|
1382
1473
|
:arn,
|
1383
1474
|
:name)
|
1475
|
+
SENSITIVE = []
|
1384
1476
|
include Aws::Structure
|
1385
1477
|
end
|
1386
1478
|
|
@@ -1415,9 +1507,17 @@ module Aws::CloudWatchEvents
|
|
1415
1507
|
:creation_time,
|
1416
1508
|
:expiration_time,
|
1417
1509
|
:state)
|
1510
|
+
SENSITIVE = []
|
1418
1511
|
include Aws::Structure
|
1419
1512
|
end
|
1420
1513
|
|
1514
|
+
# The event bus policy is too long. For more information, see the
|
1515
|
+
# limits.
|
1516
|
+
#
|
1517
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PolicyLengthExceededException AWS API Documentation
|
1518
|
+
#
|
1519
|
+
class PolicyLengthExceededException < Aws::EmptyStructure; end
|
1520
|
+
|
1421
1521
|
# @note When making an API call, you may pass PutEventsRequest
|
1422
1522
|
# data as a hash:
|
1423
1523
|
#
|
@@ -1444,6 +1544,7 @@ module Aws::CloudWatchEvents
|
|
1444
1544
|
#
|
1445
1545
|
class PutEventsRequest < Struct.new(
|
1446
1546
|
:entries)
|
1547
|
+
SENSITIVE = []
|
1447
1548
|
include Aws::Structure
|
1448
1549
|
end
|
1449
1550
|
|
@@ -1504,6 +1605,7 @@ module Aws::CloudWatchEvents
|
|
1504
1605
|
:detail_type,
|
1505
1606
|
:detail,
|
1506
1607
|
:event_bus_name)
|
1608
|
+
SENSITIVE = []
|
1507
1609
|
include Aws::Structure
|
1508
1610
|
end
|
1509
1611
|
|
@@ -1523,6 +1625,7 @@ module Aws::CloudWatchEvents
|
|
1523
1625
|
class PutEventsResponse < Struct.new(
|
1524
1626
|
:failed_entry_count,
|
1525
1627
|
:entries)
|
1628
|
+
SENSITIVE = []
|
1526
1629
|
include Aws::Structure
|
1527
1630
|
end
|
1528
1631
|
|
@@ -1546,6 +1649,7 @@ module Aws::CloudWatchEvents
|
|
1546
1649
|
:event_id,
|
1547
1650
|
:error_code,
|
1548
1651
|
:error_message)
|
1652
|
+
SENSITIVE = []
|
1549
1653
|
include Aws::Structure
|
1550
1654
|
end
|
1551
1655
|
|
@@ -1572,6 +1676,7 @@ module Aws::CloudWatchEvents
|
|
1572
1676
|
#
|
1573
1677
|
class PutPartnerEventsRequest < Struct.new(
|
1574
1678
|
:entries)
|
1679
|
+
SENSITIVE = []
|
1575
1680
|
include Aws::Structure
|
1576
1681
|
end
|
1577
1682
|
|
@@ -1620,6 +1725,7 @@ module Aws::CloudWatchEvents
|
|
1620
1725
|
:resources,
|
1621
1726
|
:detail_type,
|
1622
1727
|
:detail)
|
1728
|
+
SENSITIVE = []
|
1623
1729
|
include Aws::Structure
|
1624
1730
|
end
|
1625
1731
|
|
@@ -1638,6 +1744,7 @@ module Aws::CloudWatchEvents
|
|
1638
1744
|
class PutPartnerEventsResponse < Struct.new(
|
1639
1745
|
:failed_entry_count,
|
1640
1746
|
:entries)
|
1747
|
+
SENSITIVE = []
|
1641
1748
|
include Aws::Structure
|
1642
1749
|
end
|
1643
1750
|
|
@@ -1661,6 +1768,7 @@ module Aws::CloudWatchEvents
|
|
1661
1768
|
:event_id,
|
1662
1769
|
:error_code,
|
1663
1770
|
:error_message)
|
1771
|
+
SENSITIVE = []
|
1664
1772
|
include Aws::Structure
|
1665
1773
|
end
|
1666
1774
|
|
@@ -1736,6 +1844,7 @@ module Aws::CloudWatchEvents
|
|
1736
1844
|
:principal,
|
1737
1845
|
:statement_id,
|
1738
1846
|
:condition)
|
1847
|
+
SENSITIVE = []
|
1739
1848
|
include Aws::Structure
|
1740
1849
|
end
|
1741
1850
|
|
@@ -1809,6 +1918,7 @@ module Aws::CloudWatchEvents
|
|
1809
1918
|
:role_arn,
|
1810
1919
|
:tags,
|
1811
1920
|
:event_bus_name)
|
1921
|
+
SENSITIVE = []
|
1812
1922
|
include Aws::Structure
|
1813
1923
|
end
|
1814
1924
|
|
@@ -1820,6 +1930,7 @@ module Aws::CloudWatchEvents
|
|
1820
1930
|
#
|
1821
1931
|
class PutRuleResponse < Struct.new(
|
1822
1932
|
:rule_arn)
|
1933
|
+
SENSITIVE = []
|
1823
1934
|
include Aws::Structure
|
1824
1935
|
end
|
1825
1936
|
|
@@ -1903,6 +2014,7 @@ module Aws::CloudWatchEvents
|
|
1903
2014
|
:rule,
|
1904
2015
|
:event_bus_name,
|
1905
2016
|
:targets)
|
2017
|
+
SENSITIVE = []
|
1906
2018
|
include Aws::Structure
|
1907
2019
|
end
|
1908
2020
|
|
@@ -1919,6 +2031,7 @@ module Aws::CloudWatchEvents
|
|
1919
2031
|
class PutTargetsResponse < Struct.new(
|
1920
2032
|
:failed_entry_count,
|
1921
2033
|
:failed_entries)
|
2034
|
+
SENSITIVE = []
|
1922
2035
|
include Aws::Structure
|
1923
2036
|
end
|
1924
2037
|
|
@@ -1944,6 +2057,7 @@ module Aws::CloudWatchEvents
|
|
1944
2057
|
:target_id,
|
1945
2058
|
:error_code,
|
1946
2059
|
:error_message)
|
2060
|
+
SENSITIVE = []
|
1947
2061
|
include Aws::Structure
|
1948
2062
|
end
|
1949
2063
|
|
@@ -1970,6 +2084,7 @@ module Aws::CloudWatchEvents
|
|
1970
2084
|
class RemovePermissionRequest < Struct.new(
|
1971
2085
|
:statement_id,
|
1972
2086
|
:event_bus_name)
|
2087
|
+
SENSITIVE = []
|
1973
2088
|
include Aws::Structure
|
1974
2089
|
end
|
1975
2090
|
|
@@ -2010,6 +2125,7 @@ module Aws::CloudWatchEvents
|
|
2010
2125
|
:event_bus_name,
|
2011
2126
|
:ids,
|
2012
2127
|
:force)
|
2128
|
+
SENSITIVE = []
|
2013
2129
|
include Aws::Structure
|
2014
2130
|
end
|
2015
2131
|
|
@@ -2026,6 +2142,7 @@ module Aws::CloudWatchEvents
|
|
2026
2142
|
class RemoveTargetsResponse < Struct.new(
|
2027
2143
|
:failed_entry_count,
|
2028
2144
|
:failed_entries)
|
2145
|
+
SENSITIVE = []
|
2029
2146
|
include Aws::Structure
|
2030
2147
|
end
|
2031
2148
|
|
@@ -2051,9 +2168,22 @@ module Aws::CloudWatchEvents
|
|
2051
2168
|
:target_id,
|
2052
2169
|
:error_code,
|
2053
2170
|
:error_message)
|
2171
|
+
SENSITIVE = []
|
2054
2172
|
include Aws::Structure
|
2055
2173
|
end
|
2056
2174
|
|
2175
|
+
# The resource you are trying to create already exists.
|
2176
|
+
#
|
2177
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ResourceAlreadyExistsException AWS API Documentation
|
2178
|
+
#
|
2179
|
+
class ResourceAlreadyExistsException < Aws::EmptyStructure; end
|
2180
|
+
|
2181
|
+
# An entity that you specified does not exist.
|
2182
|
+
#
|
2183
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ResourceNotFoundException AWS API Documentation
|
2184
|
+
#
|
2185
|
+
class ResourceNotFoundException < Aws::EmptyStructure; end
|
2186
|
+
|
2057
2187
|
# Contains information about a rule in Amazon EventBridge.
|
2058
2188
|
#
|
2059
2189
|
# @!attribute [rw] name
|
@@ -2113,6 +2243,7 @@ module Aws::CloudWatchEvents
|
|
2113
2243
|
:role_arn,
|
2114
2244
|
:managed_by,
|
2115
2245
|
:event_bus_name)
|
2246
|
+
SENSITIVE = []
|
2116
2247
|
include Aws::Structure
|
2117
2248
|
end
|
2118
2249
|
|
@@ -2140,6 +2271,7 @@ module Aws::CloudWatchEvents
|
|
2140
2271
|
#
|
2141
2272
|
class RunCommandParameters < Struct.new(
|
2142
2273
|
:run_command_targets)
|
2274
|
+
SENSITIVE = []
|
2143
2275
|
include Aws::Structure
|
2144
2276
|
end
|
2145
2277
|
|
@@ -2170,6 +2302,7 @@ module Aws::CloudWatchEvents
|
|
2170
2302
|
class RunCommandTarget < Struct.new(
|
2171
2303
|
:key,
|
2172
2304
|
:values)
|
2305
|
+
SENSITIVE = []
|
2173
2306
|
include Aws::Structure
|
2174
2307
|
end
|
2175
2308
|
|
@@ -2191,6 +2324,7 @@ module Aws::CloudWatchEvents
|
|
2191
2324
|
#
|
2192
2325
|
class SqsParameters < Struct.new(
|
2193
2326
|
:message_group_id)
|
2327
|
+
SENSITIVE = []
|
2194
2328
|
include Aws::Structure
|
2195
2329
|
end
|
2196
2330
|
|
@@ -2219,6 +2353,7 @@ module Aws::CloudWatchEvents
|
|
2219
2353
|
class Tag < Struct.new(
|
2220
2354
|
:key,
|
2221
2355
|
:value)
|
2356
|
+
SENSITIVE = []
|
2222
2357
|
include Aws::Structure
|
2223
2358
|
end
|
2224
2359
|
|
@@ -2248,6 +2383,7 @@ module Aws::CloudWatchEvents
|
|
2248
2383
|
class TagResourceRequest < Struct.new(
|
2249
2384
|
:resource_arn,
|
2250
2385
|
:tags)
|
2386
|
+
SENSITIVE = []
|
2251
2387
|
include Aws::Structure
|
2252
2388
|
end
|
2253
2389
|
|
@@ -2421,6 +2557,7 @@ module Aws::CloudWatchEvents
|
|
2421
2557
|
:ecs_parameters,
|
2422
2558
|
:batch_parameters,
|
2423
2559
|
:sqs_parameters)
|
2560
|
+
SENSITIVE = []
|
2424
2561
|
include Aws::Structure
|
2425
2562
|
end
|
2426
2563
|
|
@@ -2450,6 +2587,7 @@ module Aws::CloudWatchEvents
|
|
2450
2587
|
class TestEventPatternRequest < Struct.new(
|
2451
2588
|
:event_pattern,
|
2452
2589
|
:event)
|
2590
|
+
SENSITIVE = []
|
2453
2591
|
include Aws::Structure
|
2454
2592
|
end
|
2455
2593
|
|
@@ -2461,6 +2599,7 @@ module Aws::CloudWatchEvents
|
|
2461
2599
|
#
|
2462
2600
|
class TestEventPatternResponse < Struct.new(
|
2463
2601
|
:result)
|
2602
|
+
SENSITIVE = []
|
2464
2603
|
include Aws::Structure
|
2465
2604
|
end
|
2466
2605
|
|
@@ -2486,6 +2625,7 @@ module Aws::CloudWatchEvents
|
|
2486
2625
|
class UntagResourceRequest < Struct.new(
|
2487
2626
|
:resource_arn,
|
2488
2627
|
:tag_keys)
|
2628
|
+
SENSITIVE = []
|
2489
2629
|
include Aws::Structure
|
2490
2630
|
end
|
2491
2631
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudwatchevents
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - Amazon CloudWatch Events
|