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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 762009df583349ea2d1dc89b5aa572cd7e64e77076a81279d3632791502b019b
4
- data.tar.gz: 4c600a4651f3fd966704ca8903dc7c6927d9c290327d0f97a2b46fd7f0c86c04
3
+ metadata.gz: 947917368c376790c98610f36254a1e2fec0b23dad8217d41e191539b0e96fab
4
+ data.tar.gz: 9cae525ce35aba3f7ee34559dcb3e11303d18c73ae6cf7141be2e73f4782239b
5
5
  SHA512:
6
- metadata.gz: 282e97b9af5fc13349092aa699448ed8295e6d72c0bddc37c4d8d460ff1e146d6b59fcba20bf1ebdb3d8949c2845269c2357098be8afe2030b56bb1435b94080
7
- data.tar.gz: 4b455938652454532e7d9666e24cb288ceed0e50766bc9e3d29add81de9b79fcd86acb9e176744947818d22e523b68090200cf0a694c93d283013d31c6e09275
6
+ metadata.gz: 2a067cbdb2658dcfcf80c6a72b07aa53ae7454ecaaeaa01e13feaad24b6cd9f5a77756297fc52448e98046ee40485f841e434b261cc761d41250eca86e7891ae
7
+ data.tar.gz: 218bbc20086f41d34f3f0ab2707473a2c5337cfdb185fd3e90876155f4a7e76d4b495c6bca6646a2feb1411419175f5b92c90ebee147a4e7903e90b27d83bd6e
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-eventbridge/customizations'
48
48
  # @!group service
49
49
  module Aws::EventBridge
50
50
 
51
- GEM_VERSION = '1.19.0'
51
+ GEM_VERSION = '1.20.0'
52
52
 
53
53
  end
@@ -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.19.0'
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.19.0
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-02-02 00:00:00.000000000 Z
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