aws-sdk-eventbridge 1.19.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-eventbridge.rb +1 -1
- data/lib/aws-sdk-eventbridge/client.rb +23 -2
- data/lib/aws-sdk-eventbridge/client_api.rb +2 -0
- data/lib/aws-sdk-eventbridge/types.rb +37 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 947917368c376790c98610f36254a1e2fec0b23dad8217d41e191539b0e96fab
|
4
|
+
data.tar.gz: 9cae525ce35aba3f7ee34559dcb3e11303d18c73ae6cf7141be2e73f4782239b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a067cbdb2658dcfcf80c6a72b07aa53ae7454ecaaeaa01e13feaad24b6cd9f5a77756297fc52448e98046ee40485f841e434b261cc761d41250eca86e7891ae
|
7
|
+
data.tar.gz: 218bbc20086f41d34f3f0ab2707473a2c5337cfdb185fd3e90876155f4a7e76d4b495c6bca6646a2feb1411419175f5b92c90ebee147a4e7903e90b27d83bd6e
|
data/lib/aws-sdk-eventbridge.rb
CHANGED
@@ -1613,6 +1613,7 @@ module Aws::EventBridge
|
|
1613
1613
|
# detail_type: "String",
|
1614
1614
|
# detail: "String",
|
1615
1615
|
# event_bus_name: "NonPartnerEventBusNameOrArn",
|
1616
|
+
# trace_header: "TraceHeader",
|
1616
1617
|
# },
|
1617
1618
|
# ],
|
1618
1619
|
# })
|
@@ -2381,7 +2382,27 @@ module Aws::EventBridge
|
|
2381
2382
|
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html
|
2382
2383
|
#
|
2383
2384
|
# @option params [required, String] :event
|
2384
|
-
# The event, in JSON format, to test against the event pattern.
|
2385
|
+
# The event, in JSON format, to test against the event pattern. The JSON
|
2386
|
+
# must follow the format specified in [AWS Events][1], and the following
|
2387
|
+
# fields are mandatory:
|
2388
|
+
#
|
2389
|
+
# * `id`
|
2390
|
+
#
|
2391
|
+
# * `account`
|
2392
|
+
#
|
2393
|
+
# * `source`
|
2394
|
+
#
|
2395
|
+
# * `time`
|
2396
|
+
#
|
2397
|
+
# * `region`
|
2398
|
+
#
|
2399
|
+
# * `resources`
|
2400
|
+
#
|
2401
|
+
# * `detail-type`
|
2402
|
+
#
|
2403
|
+
#
|
2404
|
+
#
|
2405
|
+
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/aws-events.html
|
2385
2406
|
#
|
2386
2407
|
# @return [Types::TestEventPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2387
2408
|
#
|
@@ -2494,7 +2515,7 @@ module Aws::EventBridge
|
|
2494
2515
|
params: params,
|
2495
2516
|
config: config)
|
2496
2517
|
context[:gem_name] = 'aws-sdk-eventbridge'
|
2497
|
-
context[:gem_version] = '1.
|
2518
|
+
context[:gem_version] = '1.20.0'
|
2498
2519
|
Seahorse::Client::Request.new(handlers, context)
|
2499
2520
|
end
|
2500
2521
|
|
@@ -221,6 +221,7 @@ module Aws::EventBridge
|
|
221
221
|
TestEventPatternRequest = Shapes::StructureShape.new(name: 'TestEventPatternRequest')
|
222
222
|
TestEventPatternResponse = Shapes::StructureShape.new(name: 'TestEventPatternResponse')
|
223
223
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
224
|
+
TraceHeader = Shapes::StringShape.new(name: 'TraceHeader')
|
224
225
|
TransformerInput = Shapes::StringShape.new(name: 'TransformerInput')
|
225
226
|
TransformerPaths = Shapes::MapShape.new(name: 'TransformerPaths')
|
226
227
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
@@ -589,6 +590,7 @@ module Aws::EventBridge
|
|
589
590
|
PutEventsRequestEntry.add_member(:detail_type, Shapes::ShapeRef.new(shape: String, location_name: "DetailType"))
|
590
591
|
PutEventsRequestEntry.add_member(:detail, Shapes::ShapeRef.new(shape: String, location_name: "Detail"))
|
591
592
|
PutEventsRequestEntry.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusNameOrArn, location_name: "EventBusName"))
|
593
|
+
PutEventsRequestEntry.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "TraceHeader"))
|
592
594
|
PutEventsRequestEntry.struct_class = Types::PutEventsRequestEntry
|
593
595
|
|
594
596
|
PutEventsRequestEntryList.member = Shapes::ShapeRef.new(shape: PutEventsRequestEntry)
|
@@ -2101,6 +2101,7 @@ module Aws::EventBridge
|
|
2101
2101
|
# detail_type: "String",
|
2102
2102
|
# detail: "String",
|
2103
2103
|
# event_bus_name: "NonPartnerEventBusNameOrArn",
|
2104
|
+
# trace_header: "TraceHeader",
|
2104
2105
|
# },
|
2105
2106
|
# ],
|
2106
2107
|
# }
|
@@ -2131,6 +2132,7 @@ module Aws::EventBridge
|
|
2131
2132
|
# detail_type: "String",
|
2132
2133
|
# detail: "String",
|
2133
2134
|
# event_bus_name: "NonPartnerEventBusNameOrArn",
|
2135
|
+
# trace_header: "TraceHeader",
|
2134
2136
|
# }
|
2135
2137
|
#
|
2136
2138
|
# @!attribute [rw] time
|
@@ -2168,6 +2170,18 @@ module Aws::EventBridge
|
|
2168
2170
|
# event. If you omit this, the default event bus is used.
|
2169
2171
|
# @return [String]
|
2170
2172
|
#
|
2173
|
+
# @!attribute [rw] trace_header
|
2174
|
+
# An AWS X-Ray trade header, which is an http header (X-Amzn-Trace-Id)
|
2175
|
+
# that contains the trace-id associated with the event.
|
2176
|
+
#
|
2177
|
+
# To learn more about X-Ray trace headers, see [Tracing header][1] in
|
2178
|
+
# the AWS X-Ray Developer Guide.
|
2179
|
+
#
|
2180
|
+
#
|
2181
|
+
#
|
2182
|
+
# [1]: https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader
|
2183
|
+
# @return [String]
|
2184
|
+
#
|
2171
2185
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutEventsRequestEntry AWS API Documentation
|
2172
2186
|
#
|
2173
2187
|
class PutEventsRequestEntry < Struct.new(
|
@@ -2176,7 +2190,8 @@ module Aws::EventBridge
|
|
2176
2190
|
:resources,
|
2177
2191
|
:detail_type,
|
2178
2192
|
:detail,
|
2179
|
-
:event_bus_name
|
2193
|
+
:event_bus_name,
|
2194
|
+
:trace_header)
|
2180
2195
|
SENSITIVE = []
|
2181
2196
|
include Aws::Structure
|
2182
2197
|
end
|
@@ -3509,7 +3524,27 @@ module Aws::EventBridge
|
|
3509
3524
|
# @return [String]
|
3510
3525
|
#
|
3511
3526
|
# @!attribute [rw] event
|
3512
|
-
# The event, in JSON format, to test against the event pattern.
|
3527
|
+
# The event, in JSON format, to test against the event pattern. The
|
3528
|
+
# JSON must follow the format specified in [AWS Events][1], and the
|
3529
|
+
# following fields are mandatory:
|
3530
|
+
#
|
3531
|
+
# * `id`
|
3532
|
+
#
|
3533
|
+
# * `account`
|
3534
|
+
#
|
3535
|
+
# * `source`
|
3536
|
+
#
|
3537
|
+
# * `time`
|
3538
|
+
#
|
3539
|
+
# * `region`
|
3540
|
+
#
|
3541
|
+
# * `resources`
|
3542
|
+
#
|
3543
|
+
# * `detail-type`
|
3544
|
+
#
|
3545
|
+
#
|
3546
|
+
#
|
3547
|
+
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/aws-events.html
|
3513
3548
|
# @return [String]
|
3514
3549
|
#
|
3515
3550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/TestEventPatternRequest AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-eventbridge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.20.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: 2021-
|
11
|
+
date: 2021-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|