aws-sdk-cloudwatchevents 1.41.0 → 1.42.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: 3f9e768480073910b9434d4802e42a38e5631ebfb447a2c795d9fe7be75cb9a8
4
- data.tar.gz: ae28fd626f074b1bd6235456b6f4a112a5587314968ace34831c5ef9ec083979
3
+ metadata.gz: dde1a3ff189313184aea77d25b9399cbcbca6d6526fd7dadf1146e17593d7fed
4
+ data.tar.gz: 89d2ed9fe9bc3980690c739547f8ac8503a934564c7a2d69d2d425bf85f91d6e
5
5
  SHA512:
6
- metadata.gz: 4ad2b0451a20a4a2ca6dc75ca9d7a648f89418331c470c659a1046afc84c553568613cb52449d4c3fc7ad1548eb25c7e65982f5a9c04f3380c7b8486947a924d
7
- data.tar.gz: a500d975e064c6512da9a28650608457bf18e2ad21fe0df7c4a7449c3b825e025d608674d1c489f40b6371569070354e068bba305bcae295772835aebb0577a9
6
+ metadata.gz: 2bf8bd62007f6ce42d7ed1d1d9f0056c318161b25fd04c9808e756898a78e6bc01c82523e2800ab013592489044366f6a86b5095fd0dbc89a918e0bd3536c25e
7
+ data.tar.gz: 715856e6e781f574d1dad487ad6727ac1da18f61967ad662d8e21596a6f559ad7d23a072cea4278f335c49362c0c7accf5107670788e516a9f5328a791c3c59c
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-cloudwatchevents/customizations'
48
48
  # @!group service
49
49
  module Aws::CloudWatchEvents
50
50
 
51
- GEM_VERSION = '1.41.0'
51
+ GEM_VERSION = '1.42.0'
52
52
 
53
53
  end
@@ -1613,6 +1613,7 @@ module Aws::CloudWatchEvents
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::CloudWatchEvents
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::CloudWatchEvents
2494
2515
  params: params,
2495
2516
  config: config)
2496
2517
  context[:gem_name] = 'aws-sdk-cloudwatchevents'
2497
- context[:gem_version] = '1.41.0'
2518
+ context[:gem_version] = '1.42.0'
2498
2519
  Seahorse::Client::Request.new(handlers, context)
2499
2520
  end
2500
2521
 
@@ -221,6 +221,7 @@ module Aws::CloudWatchEvents
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::CloudWatchEvents
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::CloudWatchEvents
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::CloudWatchEvents
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::CloudWatchEvents
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/events-2015-10-07/PutEventsRequestEntry AWS API Documentation
2172
2186
  #
2173
2187
  class PutEventsRequestEntry < Struct.new(
@@ -2176,7 +2190,8 @@ module Aws::CloudWatchEvents
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::CloudWatchEvents
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/events-2015-10-07/TestEventPatternRequest AWS API Documentation
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.41.0
4
+ version: 1.42.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-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core