aws-sdk-schemas 1.15.0 → 1.16.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: 93ff9c14b2a0d40b920f2b317cb68fdb94f884e6e883db045c191c312697a484
4
- data.tar.gz: e20a3236fdeb46e4a48ef7976416a5972eafcfd897de4f0407b839acc7755580
3
+ metadata.gz: f750795429e517521207f5c63802cb4613621508d540be1d8eb52742349b9302
4
+ data.tar.gz: ee4b51e42ee3ada56464b3540bd91ac9475c7f4f18fc159789f332129fb321d8
5
5
  SHA512:
6
- metadata.gz: ca1219d9732350282188d913f36d68a99b3338a248a64126a4718b70a2dccdfc9f2bd2cc9e1d993b6d141692e6893ca2d75b97d19186fd598a835e033664439c
7
- data.tar.gz: d2e262a06cbaa0cd1ecc04ce0a6a87639940bf298ebd0a7871c1511f12d7003e7693b089ff451f8f7d8ce5ee84e210e27ab8dd57cac05ec1b2fe1a32d67f645b
6
+ metadata.gz: e9da2c8ca8916fb93f0d8bb75f32e83b95f2c8218fd13528b15c91c8e39a169297647928993970630b75e6efe4bdb315c41f9d30fd62f65a13be20785e68a24c
7
+ data.tar.gz: 7d73d6dae58650308ecb662f3dad32215ce2a5504cd63b61be700e538e370f7b2310da764dc147656cec611aed1d21215cdfb1c122ff3c95071697dafa958e62
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.0 (2021-09-02)
5
+ ------------------
6
+
7
+ * Feature - This update include the support for Schema Discoverer to discover the events sent to the bus from another account. The feature will be enabled by default when discoverer is created or updated but can also be opt-in or opt-out by specifying the value for crossAccount.
8
+
4
9
  1.15.0 (2021-09-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.16.0
@@ -333,6 +333,8 @@ module Aws::Schemas
333
333
  #
334
334
  # @option params [required, String] :source_arn
335
335
  #
336
+ # @option params [Boolean] :cross_account
337
+ #
336
338
  # @option params [Hash<String,String>] :tags
337
339
  # Key-value pairs associated with a resource.
338
340
  #
@@ -343,6 +345,7 @@ module Aws::Schemas
343
345
  # * {Types::CreateDiscovererResponse#discoverer_id #discoverer_id} => String
344
346
  # * {Types::CreateDiscovererResponse#source_arn #source_arn} => String
345
347
  # * {Types::CreateDiscovererResponse#state #state} => String
348
+ # * {Types::CreateDiscovererResponse#cross_account #cross_account} => Boolean
346
349
  # * {Types::CreateDiscovererResponse#tags #tags} => Hash&lt;String,String&gt;
347
350
  #
348
351
  # @example Request syntax with placeholder values
@@ -350,6 +353,7 @@ module Aws::Schemas
350
353
  # resp = client.create_discoverer({
351
354
  # description: "__stringMin0Max256",
352
355
  # source_arn: "__stringMin20Max1600", # required
356
+ # cross_account: false,
353
357
  # tags: {
354
358
  # "__string" => "__string",
355
359
  # },
@@ -362,6 +366,7 @@ module Aws::Schemas
362
366
  # resp.discoverer_id #=> String
363
367
  # resp.source_arn #=> String
364
368
  # resp.state #=> String, one of "STARTED", "STOPPED"
369
+ # resp.cross_account #=> Boolean
365
370
  # resp.tags #=> Hash
366
371
  # resp.tags["__string"] #=> String
367
372
  #
@@ -653,6 +658,7 @@ module Aws::Schemas
653
658
  # * {Types::DescribeDiscovererResponse#discoverer_id #discoverer_id} => String
654
659
  # * {Types::DescribeDiscovererResponse#source_arn #source_arn} => String
655
660
  # * {Types::DescribeDiscovererResponse#state #state} => String
661
+ # * {Types::DescribeDiscovererResponse#cross_account #cross_account} => Boolean
656
662
  # * {Types::DescribeDiscovererResponse#tags #tags} => Hash&lt;String,String&gt;
657
663
  #
658
664
  # @example Request syntax with placeholder values
@@ -668,6 +674,7 @@ module Aws::Schemas
668
674
  # resp.discoverer_id #=> String
669
675
  # resp.source_arn #=> String
670
676
  # resp.state #=> String, one of "STARTED", "STOPPED"
677
+ # resp.cross_account #=> Boolean
671
678
  # resp.tags #=> Hash
672
679
  # resp.tags["__string"] #=> String
673
680
  #
@@ -892,6 +899,7 @@ module Aws::Schemas
892
899
  # resp.discoverers[0].discoverer_id #=> String
893
900
  # resp.discoverers[0].source_arn #=> String
894
901
  # resp.discoverers[0].state #=> String, one of "STARTED", "STOPPED"
902
+ # resp.discoverers[0].cross_account #=> Boolean
895
903
  # resp.discoverers[0].tags #=> Hash
896
904
  # resp.discoverers[0].tags["__string"] #=> String
897
905
  # resp.next_token #=> String
@@ -1309,6 +1317,8 @@ module Aws::Schemas
1309
1317
  #
1310
1318
  # @option params [required, String] :discoverer_id
1311
1319
  #
1320
+ # @option params [Boolean] :cross_account
1321
+ #
1312
1322
  # @return [Types::UpdateDiscovererResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1313
1323
  #
1314
1324
  # * {Types::UpdateDiscovererResponse#description #description} => String
@@ -1316,6 +1326,7 @@ module Aws::Schemas
1316
1326
  # * {Types::UpdateDiscovererResponse#discoverer_id #discoverer_id} => String
1317
1327
  # * {Types::UpdateDiscovererResponse#source_arn #source_arn} => String
1318
1328
  # * {Types::UpdateDiscovererResponse#state #state} => String
1329
+ # * {Types::UpdateDiscovererResponse#cross_account #cross_account} => Boolean
1319
1330
  # * {Types::UpdateDiscovererResponse#tags #tags} => Hash&lt;String,String&gt;
1320
1331
  #
1321
1332
  # @example Request syntax with placeholder values
@@ -1323,6 +1334,7 @@ module Aws::Schemas
1323
1334
  # resp = client.update_discoverer({
1324
1335
  # description: "__stringMin0Max256",
1325
1336
  # discoverer_id: "__string", # required
1337
+ # cross_account: false,
1326
1338
  # })
1327
1339
  #
1328
1340
  # @example Response structure
@@ -1332,6 +1344,7 @@ module Aws::Schemas
1332
1344
  # resp.discoverer_id #=> String
1333
1345
  # resp.source_arn #=> String
1334
1346
  # resp.state #=> String, one of "STARTED", "STOPPED"
1347
+ # resp.cross_account #=> Boolean
1335
1348
  # resp.tags #=> Hash
1336
1349
  # resp.tags["__string"] #=> String
1337
1350
  #
@@ -1501,7 +1514,7 @@ module Aws::Schemas
1501
1514
  params: params,
1502
1515
  config: config)
1503
1516
  context[:gem_name] = 'aws-sdk-schemas'
1504
- context[:gem_version] = '1.15.0'
1517
+ context[:gem_version] = '1.16.0'
1505
1518
  Seahorse::Client::Request.new(handlers, context)
1506
1519
  end
1507
1520
 
@@ -163,11 +163,13 @@ module Aws::Schemas
163
163
 
164
164
  CreateDiscovererInput.add_member(:description, Shapes::ShapeRef.new(shape: __stringMin0Max256, location_name: "Description"))
165
165
  CreateDiscovererInput.add_member(:source_arn, Shapes::ShapeRef.new(shape: __stringMin20Max1600, required: true, location_name: "SourceArn"))
166
+ CreateDiscovererInput.add_member(:cross_account, Shapes::ShapeRef.new(shape: __boolean, location_name: "CrossAccount"))
166
167
  CreateDiscovererInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
167
168
  CreateDiscovererInput.struct_class = Types::CreateDiscovererInput
168
169
 
169
170
  CreateDiscovererRequest.add_member(:description, Shapes::ShapeRef.new(shape: __stringMin0Max256, location_name: "Description"))
170
171
  CreateDiscovererRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: __stringMin20Max1600, required: true, location_name: "SourceArn"))
172
+ CreateDiscovererRequest.add_member(:cross_account, Shapes::ShapeRef.new(shape: __boolean, location_name: "CrossAccount"))
171
173
  CreateDiscovererRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
172
174
  CreateDiscovererRequest.struct_class = Types::CreateDiscovererRequest
173
175
 
@@ -176,6 +178,7 @@ module Aws::Schemas
176
178
  CreateDiscovererResponse.add_member(:discoverer_id, Shapes::ShapeRef.new(shape: __string, location_name: "DiscovererId"))
177
179
  CreateDiscovererResponse.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "SourceArn"))
178
180
  CreateDiscovererResponse.add_member(:state, Shapes::ShapeRef.new(shape: DiscovererState, location_name: "State"))
181
+ CreateDiscovererResponse.add_member(:cross_account, Shapes::ShapeRef.new(shape: __boolean, location_name: "CrossAccount"))
179
182
  CreateDiscovererResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
180
183
  CreateDiscovererResponse.struct_class = Types::CreateDiscovererResponse
181
184
 
@@ -256,6 +259,7 @@ module Aws::Schemas
256
259
  DescribeDiscovererResponse.add_member(:discoverer_id, Shapes::ShapeRef.new(shape: __string, location_name: "DiscovererId"))
257
260
  DescribeDiscovererResponse.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "SourceArn"))
258
261
  DescribeDiscovererResponse.add_member(:state, Shapes::ShapeRef.new(shape: DiscovererState, location_name: "State"))
262
+ DescribeDiscovererResponse.add_member(:cross_account, Shapes::ShapeRef.new(shape: __boolean, location_name: "CrossAccount"))
259
263
  DescribeDiscovererResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
260
264
  DescribeDiscovererResponse.struct_class = Types::DescribeDiscovererResponse
261
265
 
@@ -300,6 +304,7 @@ module Aws::Schemas
300
304
  DiscovererOutput.add_member(:discoverer_id, Shapes::ShapeRef.new(shape: __string, location_name: "DiscovererId"))
301
305
  DiscovererOutput.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "SourceArn"))
302
306
  DiscovererOutput.add_member(:state, Shapes::ShapeRef.new(shape: DiscovererState, location_name: "State"))
307
+ DiscovererOutput.add_member(:cross_account, Shapes::ShapeRef.new(shape: __boolean, location_name: "CrossAccount"))
303
308
  DiscovererOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
304
309
  DiscovererOutput.struct_class = Types::DiscovererOutput
305
310
 
@@ -311,6 +316,7 @@ module Aws::Schemas
311
316
  DiscovererSummary.add_member(:discoverer_id, Shapes::ShapeRef.new(shape: __string, location_name: "DiscovererId"))
312
317
  DiscovererSummary.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "SourceArn"))
313
318
  DiscovererSummary.add_member(:state, Shapes::ShapeRef.new(shape: DiscovererState, location_name: "State"))
319
+ DiscovererSummary.add_member(:cross_account, Shapes::ShapeRef.new(shape: __boolean, location_name: "CrossAccount"))
314
320
  DiscovererSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
315
321
  DiscovererSummary.struct_class = Types::DiscovererSummary
316
322
 
@@ -614,10 +620,12 @@ module Aws::Schemas
614
620
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
615
621
 
616
622
  UpdateDiscovererInput.add_member(:description, Shapes::ShapeRef.new(shape: __stringMin0Max256, location_name: "Description"))
623
+ UpdateDiscovererInput.add_member(:cross_account, Shapes::ShapeRef.new(shape: __boolean, location_name: "CrossAccount"))
617
624
  UpdateDiscovererInput.struct_class = Types::UpdateDiscovererInput
618
625
 
619
626
  UpdateDiscovererRequest.add_member(:description, Shapes::ShapeRef.new(shape: __stringMin0Max256, location_name: "Description"))
620
627
  UpdateDiscovererRequest.add_member(:discoverer_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "discovererId"))
628
+ UpdateDiscovererRequest.add_member(:cross_account, Shapes::ShapeRef.new(shape: __boolean, location_name: "CrossAccount"))
621
629
  UpdateDiscovererRequest.struct_class = Types::UpdateDiscovererRequest
622
630
 
623
631
  UpdateDiscovererResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
@@ -625,6 +633,7 @@ module Aws::Schemas
625
633
  UpdateDiscovererResponse.add_member(:discoverer_id, Shapes::ShapeRef.new(shape: __string, location_name: "DiscovererId"))
626
634
  UpdateDiscovererResponse.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "SourceArn"))
627
635
  UpdateDiscovererResponse.add_member(:state, Shapes::ShapeRef.new(shape: DiscovererState, location_name: "State"))
636
+ UpdateDiscovererResponse.add_member(:cross_account, Shapes::ShapeRef.new(shape: __boolean, location_name: "CrossAccount"))
628
637
  UpdateDiscovererResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
629
638
  UpdateDiscovererResponse.struct_class = Types::UpdateDiscovererResponse
630
639
 
@@ -75,6 +75,11 @@ module Aws::Schemas
75
75
  # The ARN of the event bus.
76
76
  # @return [String]
77
77
  #
78
+ # @!attribute [rw] cross_account
79
+ # Support discovery of schemas in events sent to the bus from another
80
+ # account. (default: true)
81
+ # @return [Boolean]
82
+ #
78
83
  # @!attribute [rw] tags
79
84
  # Tags associated with the resource.
80
85
  # @return [Hash<String,String>]
@@ -84,6 +89,7 @@ module Aws::Schemas
84
89
  class CreateDiscovererInput < Struct.new(
85
90
  :description,
86
91
  :source_arn,
92
+ :cross_account,
87
93
  :tags)
88
94
  SENSITIVE = []
89
95
  include Aws::Structure
@@ -95,6 +101,7 @@ module Aws::Schemas
95
101
  # {
96
102
  # description: "__stringMin0Max256",
97
103
  # source_arn: "__stringMin20Max1600", # required
104
+ # cross_account: false,
98
105
  # tags: {
99
106
  # "__string" => "__string",
100
107
  # },
@@ -106,6 +113,9 @@ module Aws::Schemas
106
113
  # @!attribute [rw] source_arn
107
114
  # @return [String]
108
115
  #
116
+ # @!attribute [rw] cross_account
117
+ # @return [Boolean]
118
+ #
109
119
  # @!attribute [rw] tags
110
120
  # Key-value pairs associated with a resource.
111
121
  # @return [Hash<String,String>]
@@ -115,6 +125,7 @@ module Aws::Schemas
115
125
  class CreateDiscovererRequest < Struct.new(
116
126
  :description,
117
127
  :source_arn,
128
+ :cross_account,
118
129
  :tags)
119
130
  SENSITIVE = []
120
131
  include Aws::Structure
@@ -135,6 +146,9 @@ module Aws::Schemas
135
146
  # @!attribute [rw] state
136
147
  # @return [String]
137
148
  #
149
+ # @!attribute [rw] cross_account
150
+ # @return [Boolean]
151
+ #
138
152
  # @!attribute [rw] tags
139
153
  # Key-value pairs associated with a resource.
140
154
  # @return [Hash<String,String>]
@@ -147,6 +161,7 @@ module Aws::Schemas
147
161
  :discoverer_id,
148
162
  :source_arn,
149
163
  :state,
164
+ :cross_account,
150
165
  :tags)
151
166
  SENSITIVE = []
152
167
  include Aws::Structure
@@ -531,6 +546,9 @@ module Aws::Schemas
531
546
  # @!attribute [rw] state
532
547
  # @return [String]
533
548
  #
549
+ # @!attribute [rw] cross_account
550
+ # @return [Boolean]
551
+ #
534
552
  # @!attribute [rw] tags
535
553
  # Key-value pairs associated with a resource.
536
554
  # @return [Hash<String,String>]
@@ -543,6 +561,7 @@ module Aws::Schemas
543
561
  :discoverer_id,
544
562
  :source_arn,
545
563
  :state,
564
+ :cross_account,
546
565
  :tags)
547
566
  SENSITIVE = []
548
567
  include Aws::Structure
@@ -734,6 +753,11 @@ module Aws::Schemas
734
753
  # The state of the discoverer.
735
754
  # @return [String]
736
755
  #
756
+ # @!attribute [rw] cross_account
757
+ # The Status if the discoverer will discover schemas from events sent
758
+ # from another account.
759
+ # @return [Boolean]
760
+ #
737
761
  # @!attribute [rw] tags
738
762
  # Tags associated with the resource.
739
763
  # @return [Hash<String,String>]
@@ -746,6 +770,7 @@ module Aws::Schemas
746
770
  :discoverer_id,
747
771
  :source_arn,
748
772
  :state,
773
+ :cross_account,
749
774
  :tags)
750
775
  SENSITIVE = []
751
776
  include Aws::Structure
@@ -784,6 +809,11 @@ module Aws::Schemas
784
809
  # The state of the discoverer.
785
810
  # @return [String]
786
811
  #
812
+ # @!attribute [rw] cross_account
813
+ # The Status if the discoverer will discover schemas from events sent
814
+ # from another account.
815
+ # @return [Boolean]
816
+ #
787
817
  # @!attribute [rw] tags
788
818
  # Tags associated with the resource.
789
819
  # @return [Hash<String,String>]
@@ -795,6 +825,7 @@ module Aws::Schemas
795
825
  :discoverer_id,
796
826
  :source_arn,
797
827
  :state,
828
+ :cross_account,
798
829
  :tags)
799
830
  SENSITIVE = []
800
831
  include Aws::Structure
@@ -2045,10 +2076,16 @@ module Aws::Schemas
2045
2076
  # The description of the discoverer to update.
2046
2077
  # @return [String]
2047
2078
  #
2079
+ # @!attribute [rw] cross_account
2080
+ # Support discovery of schemas in events sent to the bus from another
2081
+ # account. (default: true)
2082
+ # @return [Boolean]
2083
+ #
2048
2084
  # @see http://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateDiscovererInput AWS API Documentation
2049
2085
  #
2050
2086
  class UpdateDiscovererInput < Struct.new(
2051
- :description)
2087
+ :description,
2088
+ :cross_account)
2052
2089
  SENSITIVE = []
2053
2090
  include Aws::Structure
2054
2091
  end
@@ -2059,6 +2096,7 @@ module Aws::Schemas
2059
2096
  # {
2060
2097
  # description: "__stringMin0Max256",
2061
2098
  # discoverer_id: "__string", # required
2099
+ # cross_account: false,
2062
2100
  # }
2063
2101
  #
2064
2102
  # @!attribute [rw] description
@@ -2067,11 +2105,15 @@ module Aws::Schemas
2067
2105
  # @!attribute [rw] discoverer_id
2068
2106
  # @return [String]
2069
2107
  #
2108
+ # @!attribute [rw] cross_account
2109
+ # @return [Boolean]
2110
+ #
2070
2111
  # @see http://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateDiscovererRequest AWS API Documentation
2071
2112
  #
2072
2113
  class UpdateDiscovererRequest < Struct.new(
2073
2114
  :description,
2074
- :discoverer_id)
2115
+ :discoverer_id,
2116
+ :cross_account)
2075
2117
  SENSITIVE = []
2076
2118
  include Aws::Structure
2077
2119
  end
@@ -2091,6 +2133,9 @@ module Aws::Schemas
2091
2133
  # @!attribute [rw] state
2092
2134
  # @return [String]
2093
2135
  #
2136
+ # @!attribute [rw] cross_account
2137
+ # @return [Boolean]
2138
+ #
2094
2139
  # @!attribute [rw] tags
2095
2140
  # Key-value pairs associated with a resource.
2096
2141
  # @return [Hash<String,String>]
@@ -2103,6 +2148,7 @@ module Aws::Schemas
2103
2148
  :discoverer_id,
2104
2149
  :source_arn,
2105
2150
  :state,
2151
+ :cross_account,
2106
2152
  :tags)
2107
2153
  SENSITIVE = []
2108
2154
  include Aws::Structure
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-schemas/customizations'
49
49
  # @!group service
50
50
  module Aws::Schemas
51
51
 
52
- GEM_VERSION = '1.15.0'
52
+ GEM_VERSION = '1.16.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-schemas
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.16.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-09-01 00:00:00.000000000 Z
11
+ date: 2021-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core