aws-sdk-appmesh 1.36.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e117632a953b2d47016b9a79f238ab18c1e2be91458db38546a03a6d230e334
4
- data.tar.gz: f0210dd1eb9a5969e2d61081607c68754422da9a648d139074fb65859eae4a49
3
+ metadata.gz: b83638b2705d555c8f97ec839be49b78b0f3ab332b1d5e30a81e8a3c589eac87
4
+ data.tar.gz: 95ce96afb32d09b21ff1e49a4a7c7eb545fce10cac1f679e6e695228ea177a46
5
5
  SHA512:
6
- metadata.gz: 946b0c63739d4448cd3f80bb9a480f2866e125c81dadde58b86fce46bfee3969951fc2918701655d460f241c9bda4246681cfffdea5a036281dfa3906c8a935c
7
- data.tar.gz: 48bf8239924d9da9424aff2692a365dad9e43dc217d3bdde8ed10527da738ef2a2eed44aa3ab44d1d07e8b469c22a8b5d295be0d7d65b7432b5e6174e62e69d3
6
+ metadata.gz: 59d78b75f7e0a0a8110fea681b9550a6c40cf87835dd435ad5b4d92415eb814eb08fefcd8ffea653545fd9b0b517e3c964ad7d6b3995eb87fc2cdb772f5d4776
7
+ data.tar.gz: 342bde5c9f1a3eb5cde00740721396f708b22fcc300348067bb7ffde3d3b4e7d8bc20662bef80fcaceb0651b06bf130a45a3a8bb954ce28f70be05d70d6f23fd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2021-07-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.36.0 (2021-06-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.37.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-appmesh/customizations'
48
48
  # @!group service
49
49
  module Aws::AppMesh
50
50
 
51
- GEM_VERSION = '1.36.0'
51
+ GEM_VERSION = '1.37.0'
52
52
 
53
53
  end
@@ -5259,7 +5259,7 @@ module Aws::AppMesh
5259
5259
  params: params,
5260
5260
  config: config)
5261
5261
  context[:gem_name] = 'aws-sdk-appmesh'
5262
- context[:gem_version] = '1.36.0'
5262
+ context[:gem_version] = '1.37.0'
5263
5263
  Seahorse::Client::Request.new(handlers, context)
5264
5264
  end
5265
5265
 
@@ -13,7 +13,7 @@ module Aws::AppMesh
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
- AccessLog = Shapes::StructureShape.new(name: 'AccessLog')
16
+ AccessLog = Shapes::UnionShape.new(name: 'AccessLog')
17
17
  AccountId = Shapes::StringShape.new(name: 'AccountId')
18
18
  Arn = Shapes::StringShape.new(name: 'Arn')
19
19
  AwsCloudMapInstanceAttribute = Shapes::StructureShape.new(name: 'AwsCloudMapInstanceAttribute')
@@ -22,7 +22,7 @@ module Aws::AppMesh
22
22
  AwsCloudMapInstanceAttributes = Shapes::ListShape.new(name: 'AwsCloudMapInstanceAttributes')
23
23
  AwsCloudMapName = Shapes::StringShape.new(name: 'AwsCloudMapName')
24
24
  AwsCloudMapServiceDiscovery = Shapes::StructureShape.new(name: 'AwsCloudMapServiceDiscovery')
25
- Backend = Shapes::StructureShape.new(name: 'Backend')
25
+ Backend = Shapes::UnionShape.new(name: 'Backend')
26
26
  BackendDefaults = Shapes::StructureShape.new(name: 'BackendDefaults')
27
27
  Backends = Shapes::ListShape.new(name: 'Backends')
28
28
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
@@ -30,7 +30,7 @@ module Aws::AppMesh
30
30
  CertificateAuthorityArns = Shapes::ListShape.new(name: 'CertificateAuthorityArns')
31
31
  ClientPolicy = Shapes::StructureShape.new(name: 'ClientPolicy')
32
32
  ClientPolicyTls = Shapes::StructureShape.new(name: 'ClientPolicyTls')
33
- ClientTlsCertificate = Shapes::StructureShape.new(name: 'ClientTlsCertificate')
33
+ ClientTlsCertificate = Shapes::UnionShape.new(name: 'ClientTlsCertificate')
34
34
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
35
35
  CreateGatewayRouteInput = Shapes::StructureShape.new(name: 'CreateGatewayRouteInput')
36
36
  CreateGatewayRouteOutput = Shapes::StructureShape.new(name: 'CreateGatewayRouteOutput')
@@ -103,7 +103,7 @@ module Aws::AppMesh
103
103
  GrpcGatewayRouteMetadata = Shapes::StructureShape.new(name: 'GrpcGatewayRouteMetadata')
104
104
  GrpcGatewayRouteMetadataList = Shapes::ListShape.new(name: 'GrpcGatewayRouteMetadataList')
105
105
  GrpcGatewayRouteRewrite = Shapes::StructureShape.new(name: 'GrpcGatewayRouteRewrite')
106
- GrpcMetadataMatchMethod = Shapes::StructureShape.new(name: 'GrpcMetadataMatchMethod')
106
+ GrpcMetadataMatchMethod = Shapes::UnionShape.new(name: 'GrpcMetadataMatchMethod')
107
107
  GrpcRetryPolicy = Shapes::StructureShape.new(name: 'GrpcRetryPolicy')
108
108
  GrpcRetryPolicyEvent = Shapes::StringShape.new(name: 'GrpcRetryPolicyEvent')
109
109
  GrpcRetryPolicyEvents = Shapes::ListShape.new(name: 'GrpcRetryPolicyEvents')
@@ -112,10 +112,10 @@ module Aws::AppMesh
112
112
  GrpcRouteMatch = Shapes::StructureShape.new(name: 'GrpcRouteMatch')
113
113
  GrpcRouteMetadata = Shapes::StructureShape.new(name: 'GrpcRouteMetadata')
114
114
  GrpcRouteMetadataList = Shapes::ListShape.new(name: 'GrpcRouteMetadataList')
115
- GrpcRouteMetadataMatchMethod = Shapes::StructureShape.new(name: 'GrpcRouteMetadataMatchMethod')
115
+ GrpcRouteMetadataMatchMethod = Shapes::UnionShape.new(name: 'GrpcRouteMetadataMatchMethod')
116
116
  GrpcTimeout = Shapes::StructureShape.new(name: 'GrpcTimeout')
117
117
  HeaderMatch = Shapes::StringShape.new(name: 'HeaderMatch')
118
- HeaderMatchMethod = Shapes::StructureShape.new(name: 'HeaderMatchMethod')
118
+ HeaderMatchMethod = Shapes::UnionShape.new(name: 'HeaderMatchMethod')
119
119
  HeaderName = Shapes::StringShape.new(name: 'HeaderName')
120
120
  HealthCheckIntervalMillis = Shapes::IntegerShape.new(name: 'HealthCheckIntervalMillis')
121
121
  HealthCheckPolicy = Shapes::StructureShape.new(name: 'HealthCheckPolicy')
@@ -173,15 +173,15 @@ module Aws::AppMesh
173
173
  ListVirtualServicesLimit = Shapes::IntegerShape.new(name: 'ListVirtualServicesLimit')
174
174
  ListVirtualServicesOutput = Shapes::StructureShape.new(name: 'ListVirtualServicesOutput')
175
175
  Listener = Shapes::StructureShape.new(name: 'Listener')
176
- ListenerTimeout = Shapes::StructureShape.new(name: 'ListenerTimeout')
176
+ ListenerTimeout = Shapes::UnionShape.new(name: 'ListenerTimeout')
177
177
  ListenerTls = Shapes::StructureShape.new(name: 'ListenerTls')
178
178
  ListenerTlsAcmCertificate = Shapes::StructureShape.new(name: 'ListenerTlsAcmCertificate')
179
- ListenerTlsCertificate = Shapes::StructureShape.new(name: 'ListenerTlsCertificate')
179
+ ListenerTlsCertificate = Shapes::UnionShape.new(name: 'ListenerTlsCertificate')
180
180
  ListenerTlsFileCertificate = Shapes::StructureShape.new(name: 'ListenerTlsFileCertificate')
181
181
  ListenerTlsMode = Shapes::StringShape.new(name: 'ListenerTlsMode')
182
182
  ListenerTlsSdsCertificate = Shapes::StructureShape.new(name: 'ListenerTlsSdsCertificate')
183
183
  ListenerTlsValidationContext = Shapes::StructureShape.new(name: 'ListenerTlsValidationContext')
184
- ListenerTlsValidationContextTrust = Shapes::StructureShape.new(name: 'ListenerTlsValidationContextTrust')
184
+ ListenerTlsValidationContextTrust = Shapes::UnionShape.new(name: 'ListenerTlsValidationContextTrust')
185
185
  Listeners = Shapes::ListShape.new(name: 'Listeners')
186
186
  Logging = Shapes::StructureShape.new(name: 'Logging')
187
187
  Long = Shapes::IntegerShape.new(name: 'Long')
@@ -219,7 +219,7 @@ module Aws::AppMesh
219
219
  RouteStatus = Shapes::StructureShape.new(name: 'RouteStatus')
220
220
  RouteStatusCode = Shapes::StringShape.new(name: 'RouteStatusCode')
221
221
  SdsSecretName = Shapes::StringShape.new(name: 'SdsSecretName')
222
- ServiceDiscovery = Shapes::StructureShape.new(name: 'ServiceDiscovery')
222
+ ServiceDiscovery = Shapes::UnionShape.new(name: 'ServiceDiscovery')
223
223
  ServiceName = Shapes::StringShape.new(name: 'ServiceName')
224
224
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
225
225
  String = Shapes::StringShape.new(name: 'String')
@@ -246,7 +246,7 @@ module Aws::AppMesh
246
246
  TlsValidationContextAcmTrust = Shapes::StructureShape.new(name: 'TlsValidationContextAcmTrust')
247
247
  TlsValidationContextFileTrust = Shapes::StructureShape.new(name: 'TlsValidationContextFileTrust')
248
248
  TlsValidationContextSdsTrust = Shapes::StructureShape.new(name: 'TlsValidationContextSdsTrust')
249
- TlsValidationContextTrust = Shapes::StructureShape.new(name: 'TlsValidationContextTrust')
249
+ TlsValidationContextTrust = Shapes::UnionShape.new(name: 'TlsValidationContextTrust')
250
250
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
251
251
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
252
252
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
@@ -265,13 +265,13 @@ module Aws::AppMesh
265
265
  UpdateVirtualRouterOutput = Shapes::StructureShape.new(name: 'UpdateVirtualRouterOutput')
266
266
  UpdateVirtualServiceInput = Shapes::StructureShape.new(name: 'UpdateVirtualServiceInput')
267
267
  UpdateVirtualServiceOutput = Shapes::StructureShape.new(name: 'UpdateVirtualServiceOutput')
268
- VirtualGatewayAccessLog = Shapes::StructureShape.new(name: 'VirtualGatewayAccessLog')
268
+ VirtualGatewayAccessLog = Shapes::UnionShape.new(name: 'VirtualGatewayAccessLog')
269
269
  VirtualGatewayBackendDefaults = Shapes::StructureShape.new(name: 'VirtualGatewayBackendDefaults')
270
270
  VirtualGatewayCertificateAuthorityArns = Shapes::ListShape.new(name: 'VirtualGatewayCertificateAuthorityArns')
271
271
  VirtualGatewayClientPolicy = Shapes::StructureShape.new(name: 'VirtualGatewayClientPolicy')
272
272
  VirtualGatewayClientPolicyTls = Shapes::StructureShape.new(name: 'VirtualGatewayClientPolicyTls')
273
- VirtualGatewayClientTlsCertificate = Shapes::StructureShape.new(name: 'VirtualGatewayClientTlsCertificate')
274
- VirtualGatewayConnectionPool = Shapes::StructureShape.new(name: 'VirtualGatewayConnectionPool')
273
+ VirtualGatewayClientTlsCertificate = Shapes::UnionShape.new(name: 'VirtualGatewayClientTlsCertificate')
274
+ VirtualGatewayConnectionPool = Shapes::UnionShape.new(name: 'VirtualGatewayConnectionPool')
275
275
  VirtualGatewayData = Shapes::StructureShape.new(name: 'VirtualGatewayData')
276
276
  VirtualGatewayFileAccessLog = Shapes::StructureShape.new(name: 'VirtualGatewayFileAccessLog')
277
277
  VirtualGatewayGrpcConnectionPool = Shapes::StructureShape.new(name: 'VirtualGatewayGrpcConnectionPool')
@@ -285,12 +285,12 @@ module Aws::AppMesh
285
285
  VirtualGatewayListener = Shapes::StructureShape.new(name: 'VirtualGatewayListener')
286
286
  VirtualGatewayListenerTls = Shapes::StructureShape.new(name: 'VirtualGatewayListenerTls')
287
287
  VirtualGatewayListenerTlsAcmCertificate = Shapes::StructureShape.new(name: 'VirtualGatewayListenerTlsAcmCertificate')
288
- VirtualGatewayListenerTlsCertificate = Shapes::StructureShape.new(name: 'VirtualGatewayListenerTlsCertificate')
288
+ VirtualGatewayListenerTlsCertificate = Shapes::UnionShape.new(name: 'VirtualGatewayListenerTlsCertificate')
289
289
  VirtualGatewayListenerTlsFileCertificate = Shapes::StructureShape.new(name: 'VirtualGatewayListenerTlsFileCertificate')
290
290
  VirtualGatewayListenerTlsMode = Shapes::StringShape.new(name: 'VirtualGatewayListenerTlsMode')
291
291
  VirtualGatewayListenerTlsSdsCertificate = Shapes::StructureShape.new(name: 'VirtualGatewayListenerTlsSdsCertificate')
292
292
  VirtualGatewayListenerTlsValidationContext = Shapes::StructureShape.new(name: 'VirtualGatewayListenerTlsValidationContext')
293
- VirtualGatewayListenerTlsValidationContextTrust = Shapes::StructureShape.new(name: 'VirtualGatewayListenerTlsValidationContextTrust')
293
+ VirtualGatewayListenerTlsValidationContextTrust = Shapes::UnionShape.new(name: 'VirtualGatewayListenerTlsValidationContextTrust')
294
294
  VirtualGatewayListeners = Shapes::ListShape.new(name: 'VirtualGatewayListeners')
295
295
  VirtualGatewayLogging = Shapes::StructureShape.new(name: 'VirtualGatewayLogging')
296
296
  VirtualGatewayPortMapping = Shapes::StructureShape.new(name: 'VirtualGatewayPortMapping')
@@ -304,8 +304,8 @@ module Aws::AppMesh
304
304
  VirtualGatewayTlsValidationContextAcmTrust = Shapes::StructureShape.new(name: 'VirtualGatewayTlsValidationContextAcmTrust')
305
305
  VirtualGatewayTlsValidationContextFileTrust = Shapes::StructureShape.new(name: 'VirtualGatewayTlsValidationContextFileTrust')
306
306
  VirtualGatewayTlsValidationContextSdsTrust = Shapes::StructureShape.new(name: 'VirtualGatewayTlsValidationContextSdsTrust')
307
- VirtualGatewayTlsValidationContextTrust = Shapes::StructureShape.new(name: 'VirtualGatewayTlsValidationContextTrust')
308
- VirtualNodeConnectionPool = Shapes::StructureShape.new(name: 'VirtualNodeConnectionPool')
307
+ VirtualGatewayTlsValidationContextTrust = Shapes::UnionShape.new(name: 'VirtualGatewayTlsValidationContextTrust')
308
+ VirtualNodeConnectionPool = Shapes::UnionShape.new(name: 'VirtualNodeConnectionPool')
309
309
  VirtualNodeData = Shapes::StructureShape.new(name: 'VirtualNodeData')
310
310
  VirtualNodeGrpcConnectionPool = Shapes::StructureShape.new(name: 'VirtualNodeGrpcConnectionPool')
311
311
  VirtualNodeHttp2ConnectionPool = Shapes::StructureShape.new(name: 'VirtualNodeHttp2ConnectionPool')
@@ -329,7 +329,7 @@ module Aws::AppMesh
329
329
  VirtualServiceBackend = Shapes::StructureShape.new(name: 'VirtualServiceBackend')
330
330
  VirtualServiceData = Shapes::StructureShape.new(name: 'VirtualServiceData')
331
331
  VirtualServiceList = Shapes::ListShape.new(name: 'VirtualServiceList')
332
- VirtualServiceProvider = Shapes::StructureShape.new(name: 'VirtualServiceProvider')
332
+ VirtualServiceProvider = Shapes::UnionShape.new(name: 'VirtualServiceProvider')
333
333
  VirtualServiceRef = Shapes::StructureShape.new(name: 'VirtualServiceRef')
334
334
  VirtualServiceSpec = Shapes::StructureShape.new(name: 'VirtualServiceSpec')
335
335
  VirtualServiceStatus = Shapes::StructureShape.new(name: 'VirtualServiceStatus')
@@ -338,6 +338,9 @@ module Aws::AppMesh
338
338
  WeightedTargets = Shapes::ListShape.new(name: 'WeightedTargets')
339
339
 
340
340
  AccessLog.add_member(:file, Shapes::ShapeRef.new(shape: FileAccessLog, location_name: "file"))
341
+ AccessLog.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
342
+ AccessLog.add_member_subclass(:file, Types::AccessLog::File)
343
+ AccessLog.add_member_subclass(:unknown, Types::AccessLog::Unknown)
341
344
  AccessLog.struct_class = Types::AccessLog
342
345
 
343
346
  AwsCloudMapInstanceAttribute.add_member(:key, Shapes::ShapeRef.new(shape: AwsCloudMapInstanceAttributeKey, required: true, location_name: "key"))
@@ -352,6 +355,9 @@ module Aws::AppMesh
352
355
  AwsCloudMapServiceDiscovery.struct_class = Types::AwsCloudMapServiceDiscovery
353
356
 
354
357
  Backend.add_member(:virtual_service, Shapes::ShapeRef.new(shape: VirtualServiceBackend, location_name: "virtualService"))
358
+ Backend.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
359
+ Backend.add_member_subclass(:virtual_service, Types::Backend::VirtualService)
360
+ Backend.add_member_subclass(:unknown, Types::Backend::Unknown)
355
361
  Backend.struct_class = Types::Backend
356
362
 
357
363
  BackendDefaults.add_member(:client_policy, Shapes::ShapeRef.new(shape: ClientPolicy, location_name: "clientPolicy"))
@@ -375,6 +381,10 @@ module Aws::AppMesh
375
381
 
376
382
  ClientTlsCertificate.add_member(:file, Shapes::ShapeRef.new(shape: ListenerTlsFileCertificate, location_name: "file"))
377
383
  ClientTlsCertificate.add_member(:sds, Shapes::ShapeRef.new(shape: ListenerTlsSdsCertificate, location_name: "sds"))
384
+ ClientTlsCertificate.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
385
+ ClientTlsCertificate.add_member_subclass(:file, Types::ClientTlsCertificate::File)
386
+ ClientTlsCertificate.add_member_subclass(:sds, Types::ClientTlsCertificate::Sds)
387
+ ClientTlsCertificate.add_member_subclass(:unknown, Types::ClientTlsCertificate::Unknown)
378
388
  ClientTlsCertificate.struct_class = Types::ClientTlsCertificate
379
389
 
380
390
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -700,6 +710,13 @@ module Aws::AppMesh
700
710
  GrpcMetadataMatchMethod.add_member(:range, Shapes::ShapeRef.new(shape: MatchRange, location_name: "range"))
701
711
  GrpcMetadataMatchMethod.add_member(:regex, Shapes::ShapeRef.new(shape: HeaderMatch, location_name: "regex"))
702
712
  GrpcMetadataMatchMethod.add_member(:suffix, Shapes::ShapeRef.new(shape: HeaderMatch, location_name: "suffix"))
713
+ GrpcMetadataMatchMethod.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
714
+ GrpcMetadataMatchMethod.add_member_subclass(:exact, Types::GrpcMetadataMatchMethod::Exact)
715
+ GrpcMetadataMatchMethod.add_member_subclass(:prefix, Types::GrpcMetadataMatchMethod::Prefix)
716
+ GrpcMetadataMatchMethod.add_member_subclass(:range, Types::GrpcMetadataMatchMethod::Range)
717
+ GrpcMetadataMatchMethod.add_member_subclass(:regex, Types::GrpcMetadataMatchMethod::Regex)
718
+ GrpcMetadataMatchMethod.add_member_subclass(:suffix, Types::GrpcMetadataMatchMethod::Suffix)
719
+ GrpcMetadataMatchMethod.add_member_subclass(:unknown, Types::GrpcMetadataMatchMethod::Unknown)
703
720
  GrpcMetadataMatchMethod.struct_class = Types::GrpcMetadataMatchMethod
704
721
 
705
722
  GrpcRetryPolicy.add_member(:grpc_retry_events, Shapes::ShapeRef.new(shape: GrpcRetryPolicyEvents, location_name: "grpcRetryEvents"))
@@ -737,6 +754,13 @@ module Aws::AppMesh
737
754
  GrpcRouteMetadataMatchMethod.add_member(:range, Shapes::ShapeRef.new(shape: MatchRange, location_name: "range"))
738
755
  GrpcRouteMetadataMatchMethod.add_member(:regex, Shapes::ShapeRef.new(shape: HeaderMatch, location_name: "regex"))
739
756
  GrpcRouteMetadataMatchMethod.add_member(:suffix, Shapes::ShapeRef.new(shape: HeaderMatch, location_name: "suffix"))
757
+ GrpcRouteMetadataMatchMethod.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
758
+ GrpcRouteMetadataMatchMethod.add_member_subclass(:exact, Types::GrpcRouteMetadataMatchMethod::Exact)
759
+ GrpcRouteMetadataMatchMethod.add_member_subclass(:prefix, Types::GrpcRouteMetadataMatchMethod::Prefix)
760
+ GrpcRouteMetadataMatchMethod.add_member_subclass(:range, Types::GrpcRouteMetadataMatchMethod::Range)
761
+ GrpcRouteMetadataMatchMethod.add_member_subclass(:regex, Types::GrpcRouteMetadataMatchMethod::Regex)
762
+ GrpcRouteMetadataMatchMethod.add_member_subclass(:suffix, Types::GrpcRouteMetadataMatchMethod::Suffix)
763
+ GrpcRouteMetadataMatchMethod.add_member_subclass(:unknown, Types::GrpcRouteMetadataMatchMethod::Unknown)
740
764
  GrpcRouteMetadataMatchMethod.struct_class = Types::GrpcRouteMetadataMatchMethod
741
765
 
742
766
  GrpcTimeout.add_member(:idle, Shapes::ShapeRef.new(shape: Duration, location_name: "idle"))
@@ -748,6 +772,13 @@ module Aws::AppMesh
748
772
  HeaderMatchMethod.add_member(:range, Shapes::ShapeRef.new(shape: MatchRange, location_name: "range"))
749
773
  HeaderMatchMethod.add_member(:regex, Shapes::ShapeRef.new(shape: HeaderMatch, location_name: "regex"))
750
774
  HeaderMatchMethod.add_member(:suffix, Shapes::ShapeRef.new(shape: HeaderMatch, location_name: "suffix"))
775
+ HeaderMatchMethod.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
776
+ HeaderMatchMethod.add_member_subclass(:exact, Types::HeaderMatchMethod::Exact)
777
+ HeaderMatchMethod.add_member_subclass(:prefix, Types::HeaderMatchMethod::Prefix)
778
+ HeaderMatchMethod.add_member_subclass(:range, Types::HeaderMatchMethod::Range)
779
+ HeaderMatchMethod.add_member_subclass(:regex, Types::HeaderMatchMethod::Regex)
780
+ HeaderMatchMethod.add_member_subclass(:suffix, Types::HeaderMatchMethod::Suffix)
781
+ HeaderMatchMethod.add_member_subclass(:unknown, Types::HeaderMatchMethod::Unknown)
751
782
  HeaderMatchMethod.struct_class = Types::HeaderMatchMethod
752
783
 
753
784
  HealthCheckPolicy.add_member(:healthy_threshold, Shapes::ShapeRef.new(shape: HealthCheckThreshold, required: true, location_name: "healthyThreshold"))
@@ -937,6 +968,12 @@ module Aws::AppMesh
937
968
  ListenerTimeout.add_member(:http, Shapes::ShapeRef.new(shape: HttpTimeout, location_name: "http"))
938
969
  ListenerTimeout.add_member(:http2, Shapes::ShapeRef.new(shape: HttpTimeout, location_name: "http2"))
939
970
  ListenerTimeout.add_member(:tcp, Shapes::ShapeRef.new(shape: TcpTimeout, location_name: "tcp"))
971
+ ListenerTimeout.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
972
+ ListenerTimeout.add_member_subclass(:grpc, Types::ListenerTimeout::Grpc)
973
+ ListenerTimeout.add_member_subclass(:http, Types::ListenerTimeout::Http)
974
+ ListenerTimeout.add_member_subclass(:http2, Types::ListenerTimeout::Http2)
975
+ ListenerTimeout.add_member_subclass(:tcp, Types::ListenerTimeout::Tcp)
976
+ ListenerTimeout.add_member_subclass(:unknown, Types::ListenerTimeout::Unknown)
940
977
  ListenerTimeout.struct_class = Types::ListenerTimeout
941
978
 
942
979
  ListenerTls.add_member(:certificate, Shapes::ShapeRef.new(shape: ListenerTlsCertificate, required: true, location_name: "certificate"))
@@ -950,6 +987,11 @@ module Aws::AppMesh
950
987
  ListenerTlsCertificate.add_member(:acm, Shapes::ShapeRef.new(shape: ListenerTlsAcmCertificate, location_name: "acm"))
951
988
  ListenerTlsCertificate.add_member(:file, Shapes::ShapeRef.new(shape: ListenerTlsFileCertificate, location_name: "file"))
952
989
  ListenerTlsCertificate.add_member(:sds, Shapes::ShapeRef.new(shape: ListenerTlsSdsCertificate, location_name: "sds"))
990
+ ListenerTlsCertificate.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
991
+ ListenerTlsCertificate.add_member_subclass(:acm, Types::ListenerTlsCertificate::Acm)
992
+ ListenerTlsCertificate.add_member_subclass(:file, Types::ListenerTlsCertificate::File)
993
+ ListenerTlsCertificate.add_member_subclass(:sds, Types::ListenerTlsCertificate::Sds)
994
+ ListenerTlsCertificate.add_member_subclass(:unknown, Types::ListenerTlsCertificate::Unknown)
953
995
  ListenerTlsCertificate.struct_class = Types::ListenerTlsCertificate
954
996
 
955
997
  ListenerTlsFileCertificate.add_member(:certificate_chain, Shapes::ShapeRef.new(shape: FilePath, required: true, location_name: "certificateChain"))
@@ -965,6 +1007,10 @@ module Aws::AppMesh
965
1007
 
966
1008
  ListenerTlsValidationContextTrust.add_member(:file, Shapes::ShapeRef.new(shape: TlsValidationContextFileTrust, location_name: "file"))
967
1009
  ListenerTlsValidationContextTrust.add_member(:sds, Shapes::ShapeRef.new(shape: TlsValidationContextSdsTrust, location_name: "sds"))
1010
+ ListenerTlsValidationContextTrust.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1011
+ ListenerTlsValidationContextTrust.add_member_subclass(:file, Types::ListenerTlsValidationContextTrust::File)
1012
+ ListenerTlsValidationContextTrust.add_member_subclass(:sds, Types::ListenerTlsValidationContextTrust::Sds)
1013
+ ListenerTlsValidationContextTrust.add_member_subclass(:unknown, Types::ListenerTlsValidationContextTrust::Unknown)
968
1014
  ListenerTlsValidationContextTrust.struct_class = Types::ListenerTlsValidationContextTrust
969
1015
 
970
1016
  Listeners.member = Shapes::ShapeRef.new(shape: Listener)
@@ -1062,6 +1108,10 @@ module Aws::AppMesh
1062
1108
 
1063
1109
  ServiceDiscovery.add_member(:aws_cloud_map, Shapes::ShapeRef.new(shape: AwsCloudMapServiceDiscovery, location_name: "awsCloudMap"))
1064
1110
  ServiceDiscovery.add_member(:dns, Shapes::ShapeRef.new(shape: DnsServiceDiscovery, location_name: "dns"))
1111
+ ServiceDiscovery.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1112
+ ServiceDiscovery.add_member_subclass(:aws_cloud_map, Types::ServiceDiscovery::AwsCloudMap)
1113
+ ServiceDiscovery.add_member_subclass(:dns, Types::ServiceDiscovery::Dns)
1114
+ ServiceDiscovery.add_member_subclass(:unknown, Types::ServiceDiscovery::Unknown)
1065
1115
  ServiceDiscovery.struct_class = Types::ServiceDiscovery
1066
1116
 
1067
1117
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -1117,6 +1167,11 @@ module Aws::AppMesh
1117
1167
  TlsValidationContextTrust.add_member(:acm, Shapes::ShapeRef.new(shape: TlsValidationContextAcmTrust, location_name: "acm"))
1118
1168
  TlsValidationContextTrust.add_member(:file, Shapes::ShapeRef.new(shape: TlsValidationContextFileTrust, location_name: "file"))
1119
1169
  TlsValidationContextTrust.add_member(:sds, Shapes::ShapeRef.new(shape: TlsValidationContextSdsTrust, location_name: "sds"))
1170
+ TlsValidationContextTrust.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1171
+ TlsValidationContextTrust.add_member_subclass(:acm, Types::TlsValidationContextTrust::Acm)
1172
+ TlsValidationContextTrust.add_member_subclass(:file, Types::TlsValidationContextTrust::File)
1173
+ TlsValidationContextTrust.add_member_subclass(:sds, Types::TlsValidationContextTrust::Sds)
1174
+ TlsValidationContextTrust.add_member_subclass(:unknown, Types::TlsValidationContextTrust::Unknown)
1120
1175
  TlsValidationContextTrust.struct_class = Types::TlsValidationContextTrust
1121
1176
 
1122
1177
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -1216,6 +1271,9 @@ module Aws::AppMesh
1216
1271
  UpdateVirtualServiceOutput[:payload_member] = UpdateVirtualServiceOutput.member(:virtual_service)
1217
1272
 
1218
1273
  VirtualGatewayAccessLog.add_member(:file, Shapes::ShapeRef.new(shape: VirtualGatewayFileAccessLog, location_name: "file"))
1274
+ VirtualGatewayAccessLog.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1275
+ VirtualGatewayAccessLog.add_member_subclass(:file, Types::VirtualGatewayAccessLog::File)
1276
+ VirtualGatewayAccessLog.add_member_subclass(:unknown, Types::VirtualGatewayAccessLog::Unknown)
1219
1277
  VirtualGatewayAccessLog.struct_class = Types::VirtualGatewayAccessLog
1220
1278
 
1221
1279
  VirtualGatewayBackendDefaults.add_member(:client_policy, Shapes::ShapeRef.new(shape: VirtualGatewayClientPolicy, location_name: "clientPolicy"))
@@ -1234,11 +1292,20 @@ module Aws::AppMesh
1234
1292
 
1235
1293
  VirtualGatewayClientTlsCertificate.add_member(:file, Shapes::ShapeRef.new(shape: VirtualGatewayListenerTlsFileCertificate, location_name: "file"))
1236
1294
  VirtualGatewayClientTlsCertificate.add_member(:sds, Shapes::ShapeRef.new(shape: VirtualGatewayListenerTlsSdsCertificate, location_name: "sds"))
1295
+ VirtualGatewayClientTlsCertificate.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1296
+ VirtualGatewayClientTlsCertificate.add_member_subclass(:file, Types::VirtualGatewayClientTlsCertificate::File)
1297
+ VirtualGatewayClientTlsCertificate.add_member_subclass(:sds, Types::VirtualGatewayClientTlsCertificate::Sds)
1298
+ VirtualGatewayClientTlsCertificate.add_member_subclass(:unknown, Types::VirtualGatewayClientTlsCertificate::Unknown)
1237
1299
  VirtualGatewayClientTlsCertificate.struct_class = Types::VirtualGatewayClientTlsCertificate
1238
1300
 
1239
1301
  VirtualGatewayConnectionPool.add_member(:grpc, Shapes::ShapeRef.new(shape: VirtualGatewayGrpcConnectionPool, location_name: "grpc"))
1240
1302
  VirtualGatewayConnectionPool.add_member(:http, Shapes::ShapeRef.new(shape: VirtualGatewayHttpConnectionPool, location_name: "http"))
1241
1303
  VirtualGatewayConnectionPool.add_member(:http2, Shapes::ShapeRef.new(shape: VirtualGatewayHttp2ConnectionPool, location_name: "http2"))
1304
+ VirtualGatewayConnectionPool.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1305
+ VirtualGatewayConnectionPool.add_member_subclass(:grpc, Types::VirtualGatewayConnectionPool::Grpc)
1306
+ VirtualGatewayConnectionPool.add_member_subclass(:http, Types::VirtualGatewayConnectionPool::Http)
1307
+ VirtualGatewayConnectionPool.add_member_subclass(:http2, Types::VirtualGatewayConnectionPool::Http2)
1308
+ VirtualGatewayConnectionPool.add_member_subclass(:unknown, Types::VirtualGatewayConnectionPool::Unknown)
1242
1309
  VirtualGatewayConnectionPool.struct_class = Types::VirtualGatewayConnectionPool
1243
1310
 
1244
1311
  VirtualGatewayData.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
@@ -1289,6 +1356,11 @@ module Aws::AppMesh
1289
1356
  VirtualGatewayListenerTlsCertificate.add_member(:acm, Shapes::ShapeRef.new(shape: VirtualGatewayListenerTlsAcmCertificate, location_name: "acm"))
1290
1357
  VirtualGatewayListenerTlsCertificate.add_member(:file, Shapes::ShapeRef.new(shape: VirtualGatewayListenerTlsFileCertificate, location_name: "file"))
1291
1358
  VirtualGatewayListenerTlsCertificate.add_member(:sds, Shapes::ShapeRef.new(shape: VirtualGatewayListenerTlsSdsCertificate, location_name: "sds"))
1359
+ VirtualGatewayListenerTlsCertificate.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1360
+ VirtualGatewayListenerTlsCertificate.add_member_subclass(:acm, Types::VirtualGatewayListenerTlsCertificate::Acm)
1361
+ VirtualGatewayListenerTlsCertificate.add_member_subclass(:file, Types::VirtualGatewayListenerTlsCertificate::File)
1362
+ VirtualGatewayListenerTlsCertificate.add_member_subclass(:sds, Types::VirtualGatewayListenerTlsCertificate::Sds)
1363
+ VirtualGatewayListenerTlsCertificate.add_member_subclass(:unknown, Types::VirtualGatewayListenerTlsCertificate::Unknown)
1292
1364
  VirtualGatewayListenerTlsCertificate.struct_class = Types::VirtualGatewayListenerTlsCertificate
1293
1365
 
1294
1366
  VirtualGatewayListenerTlsFileCertificate.add_member(:certificate_chain, Shapes::ShapeRef.new(shape: FilePath, required: true, location_name: "certificateChain"))
@@ -1304,6 +1376,10 @@ module Aws::AppMesh
1304
1376
 
1305
1377
  VirtualGatewayListenerTlsValidationContextTrust.add_member(:file, Shapes::ShapeRef.new(shape: VirtualGatewayTlsValidationContextFileTrust, location_name: "file"))
1306
1378
  VirtualGatewayListenerTlsValidationContextTrust.add_member(:sds, Shapes::ShapeRef.new(shape: VirtualGatewayTlsValidationContextSdsTrust, location_name: "sds"))
1379
+ VirtualGatewayListenerTlsValidationContextTrust.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1380
+ VirtualGatewayListenerTlsValidationContextTrust.add_member_subclass(:file, Types::VirtualGatewayListenerTlsValidationContextTrust::File)
1381
+ VirtualGatewayListenerTlsValidationContextTrust.add_member_subclass(:sds, Types::VirtualGatewayListenerTlsValidationContextTrust::Sds)
1382
+ VirtualGatewayListenerTlsValidationContextTrust.add_member_subclass(:unknown, Types::VirtualGatewayListenerTlsValidationContextTrust::Unknown)
1307
1383
  VirtualGatewayListenerTlsValidationContextTrust.struct_class = Types::VirtualGatewayListenerTlsValidationContextTrust
1308
1384
 
1309
1385
  VirtualGatewayListeners.member = Shapes::ShapeRef.new(shape: VirtualGatewayListener)
@@ -1349,12 +1425,23 @@ module Aws::AppMesh
1349
1425
  VirtualGatewayTlsValidationContextTrust.add_member(:acm, Shapes::ShapeRef.new(shape: VirtualGatewayTlsValidationContextAcmTrust, location_name: "acm"))
1350
1426
  VirtualGatewayTlsValidationContextTrust.add_member(:file, Shapes::ShapeRef.new(shape: VirtualGatewayTlsValidationContextFileTrust, location_name: "file"))
1351
1427
  VirtualGatewayTlsValidationContextTrust.add_member(:sds, Shapes::ShapeRef.new(shape: VirtualGatewayTlsValidationContextSdsTrust, location_name: "sds"))
1428
+ VirtualGatewayTlsValidationContextTrust.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1429
+ VirtualGatewayTlsValidationContextTrust.add_member_subclass(:acm, Types::VirtualGatewayTlsValidationContextTrust::Acm)
1430
+ VirtualGatewayTlsValidationContextTrust.add_member_subclass(:file, Types::VirtualGatewayTlsValidationContextTrust::File)
1431
+ VirtualGatewayTlsValidationContextTrust.add_member_subclass(:sds, Types::VirtualGatewayTlsValidationContextTrust::Sds)
1432
+ VirtualGatewayTlsValidationContextTrust.add_member_subclass(:unknown, Types::VirtualGatewayTlsValidationContextTrust::Unknown)
1352
1433
  VirtualGatewayTlsValidationContextTrust.struct_class = Types::VirtualGatewayTlsValidationContextTrust
1353
1434
 
1354
1435
  VirtualNodeConnectionPool.add_member(:grpc, Shapes::ShapeRef.new(shape: VirtualNodeGrpcConnectionPool, location_name: "grpc"))
1355
1436
  VirtualNodeConnectionPool.add_member(:http, Shapes::ShapeRef.new(shape: VirtualNodeHttpConnectionPool, location_name: "http"))
1356
1437
  VirtualNodeConnectionPool.add_member(:http2, Shapes::ShapeRef.new(shape: VirtualNodeHttp2ConnectionPool, location_name: "http2"))
1357
1438
  VirtualNodeConnectionPool.add_member(:tcp, Shapes::ShapeRef.new(shape: VirtualNodeTcpConnectionPool, location_name: "tcp"))
1439
+ VirtualNodeConnectionPool.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1440
+ VirtualNodeConnectionPool.add_member_subclass(:grpc, Types::VirtualNodeConnectionPool::Grpc)
1441
+ VirtualNodeConnectionPool.add_member_subclass(:http, Types::VirtualNodeConnectionPool::Http)
1442
+ VirtualNodeConnectionPool.add_member_subclass(:http2, Types::VirtualNodeConnectionPool::Http2)
1443
+ VirtualNodeConnectionPool.add_member_subclass(:tcp, Types::VirtualNodeConnectionPool::Tcp)
1444
+ VirtualNodeConnectionPool.add_member_subclass(:unknown, Types::VirtualNodeConnectionPool::Unknown)
1358
1445
  VirtualNodeConnectionPool.struct_class = Types::VirtualNodeConnectionPool
1359
1446
 
1360
1447
  VirtualNodeData.add_member(:mesh_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "meshName"))
@@ -1450,6 +1537,10 @@ module Aws::AppMesh
1450
1537
 
1451
1538
  VirtualServiceProvider.add_member(:virtual_node, Shapes::ShapeRef.new(shape: VirtualNodeServiceProvider, location_name: "virtualNode"))
1452
1539
  VirtualServiceProvider.add_member(:virtual_router, Shapes::ShapeRef.new(shape: VirtualRouterServiceProvider, location_name: "virtualRouter"))
1540
+ VirtualServiceProvider.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1541
+ VirtualServiceProvider.add_member_subclass(:virtual_node, Types::VirtualServiceProvider::VirtualNode)
1542
+ VirtualServiceProvider.add_member_subclass(:virtual_router, Types::VirtualServiceProvider::VirtualRouter)
1543
+ VirtualServiceProvider.add_member_subclass(:unknown, Types::VirtualServiceProvider::Unknown)
1453
1544
  VirtualServiceProvider.struct_class = Types::VirtualServiceProvider
1454
1545
 
1455
1546
  VirtualServiceRef.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
@@ -13,14 +13,9 @@ module Aws::AppMesh
13
13
  # An object that represents the access logging information for a virtual
14
14
  # node.
15
15
  #
16
- # @note When making an API call, you may pass AccessLog
17
- # data as a hash:
16
+ # @note AccessLog is a union - when making an API calls you must set exactly one of the members.
18
17
  #
19
- # {
20
- # file: {
21
- # path: "FilePath", # required
22
- # },
23
- # }
18
+ # @note AccessLog is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AccessLog corresponding to the set member.
24
19
  #
25
20
  # @!attribute [rw] file
26
21
  # The file object to send virtual node access logs to.
@@ -29,9 +24,14 @@ module Aws::AppMesh
29
24
  # @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/AccessLog AWS API Documentation
30
25
  #
31
26
  class AccessLog < Struct.new(
32
- :file)
27
+ :file,
28
+ :unknown)
33
29
  SENSITIVE = []
34
30
  include Aws::Structure
31
+ include Aws::Structure::Union
32
+
33
+ class File < AccessLog; end
34
+ class Unknown < AccessLog; end
35
35
  end
36
36
 
37
37
  # An object that represents the Cloud Map attribute information for your
@@ -119,47 +119,9 @@ module Aws::AppMesh
119
119
  # An object that represents the backends that a virtual node is expected
120
120
  # to send outbound traffic to.
121
121
  #
122
- # @note When making an API call, you may pass Backend
123
- # data as a hash:
122
+ # @note Backend is a union - when making an API calls you must set exactly one of the members.
124
123
  #
125
- # {
126
- # virtual_service: {
127
- # client_policy: {
128
- # tls: {
129
- # certificate: {
130
- # file: {
131
- # certificate_chain: "FilePath", # required
132
- # private_key: "FilePath", # required
133
- # },
134
- # sds: {
135
- # secret_name: "SdsSecretName", # required
136
- # },
137
- # },
138
- # enforce: false,
139
- # ports: [1],
140
- # validation: { # required
141
- # subject_alternative_names: {
142
- # match: { # required
143
- # exact: ["SubjectAlternativeName"], # required
144
- # },
145
- # },
146
- # trust: { # required
147
- # acm: {
148
- # certificate_authority_arns: ["Arn"], # required
149
- # },
150
- # file: {
151
- # certificate_chain: "FilePath", # required
152
- # },
153
- # sds: {
154
- # secret_name: "SdsSecretName", # required
155
- # },
156
- # },
157
- # },
158
- # },
159
- # },
160
- # virtual_service_name: "ServiceName", # required
161
- # },
162
- # }
124
+ # @note Backend is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Backend corresponding to the set member.
163
125
  #
164
126
  # @!attribute [rw] virtual_service
165
127
  # Specifies a virtual service to use as a backend.
@@ -168,9 +130,14 @@ module Aws::AppMesh
168
130
  # @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/Backend AWS API Documentation
169
131
  #
170
132
  class Backend < Struct.new(
171
- :virtual_service)
133
+ :virtual_service,
134
+ :unknown)
172
135
  SENSITIVE = []
173
136
  include Aws::Structure
137
+ include Aws::Structure::Union
138
+
139
+ class VirtualService < Backend; end
140
+ class Unknown < Backend; end
174
141
  end
175
142
 
176
143
  # An object that represents the default properties for a backend.
@@ -361,18 +328,9 @@ module Aws::AppMesh
361
328
 
362
329
  # An object that represents the client's certificate.
363
330
  #
364
- # @note When making an API call, you may pass ClientTlsCertificate
365
- # data as a hash:
331
+ # @note ClientTlsCertificate is a union - when making an API calls you must set exactly one of the members.
366
332
  #
367
- # {
368
- # file: {
369
- # certificate_chain: "FilePath", # required
370
- # private_key: "FilePath", # required
371
- # },
372
- # sds: {
373
- # secret_name: "SdsSecretName", # required
374
- # },
375
- # }
333
+ # @note ClientTlsCertificate is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ClientTlsCertificate corresponding to the set member.
376
334
  #
377
335
  # @!attribute [rw] file
378
336
  # An object that represents a local file certificate. The certificate
@@ -394,9 +352,15 @@ module Aws::AppMesh
394
352
  #
395
353
  class ClientTlsCertificate < Struct.new(
396
354
  :file,
397
- :sds)
355
+ :sds,
356
+ :unknown)
398
357
  SENSITIVE = []
399
358
  include Aws::Structure
359
+ include Aws::Structure::Union
360
+
361
+ class File < ClientTlsCertificate; end
362
+ class Sds < ClientTlsCertificate; end
363
+ class Unknown < ClientTlsCertificate; end
400
364
  end
401
365
 
402
366
  # The request contains a client token that was used for a previous
@@ -3246,19 +3210,9 @@ module Aws::AppMesh
3246
3210
 
3247
3211
  # An object representing the method header to be matched.
3248
3212
  #
3249
- # @note When making an API call, you may pass GrpcMetadataMatchMethod
3250
- # data as a hash:
3213
+ # @note GrpcMetadataMatchMethod is a union - when making an API calls you must set exactly one of the members.
3251
3214
  #
3252
- # {
3253
- # exact: "HeaderMatch",
3254
- # prefix: "HeaderMatch",
3255
- # range: {
3256
- # end: 1, # required
3257
- # start: 1, # required
3258
- # },
3259
- # regex: "HeaderMatch",
3260
- # suffix: "HeaderMatch",
3261
- # }
3215
+ # @note GrpcMetadataMatchMethod is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of GrpcMetadataMatchMethod corresponding to the set member.
3262
3216
  #
3263
3217
  # @!attribute [rw] exact
3264
3218
  # The exact method header to be matched on.
@@ -3291,9 +3245,18 @@ module Aws::AppMesh
3291
3245
  :prefix,
3292
3246
  :range,
3293
3247
  :regex,
3294
- :suffix)
3248
+ :suffix,
3249
+ :unknown)
3295
3250
  SENSITIVE = []
3296
3251
  include Aws::Structure
3252
+ include Aws::Structure::Union
3253
+
3254
+ class Exact < GrpcMetadataMatchMethod; end
3255
+ class Prefix < GrpcMetadataMatchMethod; end
3256
+ class Range < GrpcMetadataMatchMethod; end
3257
+ class Regex < GrpcMetadataMatchMethod; end
3258
+ class Suffix < GrpcMetadataMatchMethod; end
3259
+ class Unknown < GrpcMetadataMatchMethod; end
3297
3260
  end
3298
3261
 
3299
3262
  # An object that represents a retry policy. Specify at least one value
@@ -3573,19 +3536,9 @@ module Aws::AppMesh
3573
3536
  # An object that represents the match method. Specify one of the match
3574
3537
  # values.
3575
3538
  #
3576
- # @note When making an API call, you may pass GrpcRouteMetadataMatchMethod
3577
- # data as a hash:
3539
+ # @note GrpcRouteMetadataMatchMethod is a union - when making an API calls you must set exactly one of the members.
3578
3540
  #
3579
- # {
3580
- # exact: "HeaderMatch",
3581
- # prefix: "HeaderMatch",
3582
- # range: {
3583
- # end: 1, # required
3584
- # start: 1, # required
3585
- # },
3586
- # regex: "HeaderMatch",
3587
- # suffix: "HeaderMatch",
3588
- # }
3541
+ # @note GrpcRouteMetadataMatchMethod is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of GrpcRouteMetadataMatchMethod corresponding to the set member.
3589
3542
  #
3590
3543
  # @!attribute [rw] exact
3591
3544
  # The value sent by the client must match the specified value exactly.
@@ -3615,9 +3568,18 @@ module Aws::AppMesh
3615
3568
  :prefix,
3616
3569
  :range,
3617
3570
  :regex,
3618
- :suffix)
3571
+ :suffix,
3572
+ :unknown)
3619
3573
  SENSITIVE = []
3620
3574
  include Aws::Structure
3575
+ include Aws::Structure::Union
3576
+
3577
+ class Exact < GrpcRouteMetadataMatchMethod; end
3578
+ class Prefix < GrpcRouteMetadataMatchMethod; end
3579
+ class Range < GrpcRouteMetadataMatchMethod; end
3580
+ class Regex < GrpcRouteMetadataMatchMethod; end
3581
+ class Suffix < GrpcRouteMetadataMatchMethod; end
3582
+ class Unknown < GrpcRouteMetadataMatchMethod; end
3621
3583
  end
3622
3584
 
3623
3585
  # An object that represents types of timeouts.
@@ -3664,19 +3626,9 @@ module Aws::AppMesh
3664
3626
  # An object that represents the method and value to match with the
3665
3627
  # header value sent in a request. Specify one match method.
3666
3628
  #
3667
- # @note When making an API call, you may pass HeaderMatchMethod
3668
- # data as a hash:
3629
+ # @note HeaderMatchMethod is a union - when making an API calls you must set exactly one of the members.
3669
3630
  #
3670
- # {
3671
- # exact: "HeaderMatch",
3672
- # prefix: "HeaderMatch",
3673
- # range: {
3674
- # end: 1, # required
3675
- # start: 1, # required
3676
- # },
3677
- # regex: "HeaderMatch",
3678
- # suffix: "HeaderMatch",
3679
- # }
3631
+ # @note HeaderMatchMethod is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of HeaderMatchMethod corresponding to the set member.
3680
3632
  #
3681
3633
  # @!attribute [rw] exact
3682
3634
  # The value sent by the client must match the specified value exactly.
@@ -3706,9 +3658,18 @@ module Aws::AppMesh
3706
3658
  :prefix,
3707
3659
  :range,
3708
3660
  :regex,
3709
- :suffix)
3661
+ :suffix,
3662
+ :unknown)
3710
3663
  SENSITIVE = []
3711
3664
  include Aws::Structure
3665
+ include Aws::Structure::Union
3666
+
3667
+ class Exact < HeaderMatchMethod; end
3668
+ class Prefix < HeaderMatchMethod; end
3669
+ class Range < HeaderMatchMethod; end
3670
+ class Regex < HeaderMatchMethod; end
3671
+ class Suffix < HeaderMatchMethod; end
3672
+ class Unknown < HeaderMatchMethod; end
3712
3673
  end
3713
3674
 
3714
3675
  # An object that represents the health check policy for a virtual
@@ -5362,47 +5323,9 @@ module Aws::AppMesh
5362
5323
 
5363
5324
  # An object that represents timeouts for different protocols.
5364
5325
  #
5365
- # @note When making an API call, you may pass ListenerTimeout
5366
- # data as a hash:
5326
+ # @note ListenerTimeout is a union - when making an API calls you must set exactly one of the members.
5367
5327
  #
5368
- # {
5369
- # grpc: {
5370
- # idle: {
5371
- # unit: "s", # accepts s, ms
5372
- # value: 1,
5373
- # },
5374
- # per_request: {
5375
- # unit: "s", # accepts s, ms
5376
- # value: 1,
5377
- # },
5378
- # },
5379
- # http: {
5380
- # idle: {
5381
- # unit: "s", # accepts s, ms
5382
- # value: 1,
5383
- # },
5384
- # per_request: {
5385
- # unit: "s", # accepts s, ms
5386
- # value: 1,
5387
- # },
5388
- # },
5389
- # http2: {
5390
- # idle: {
5391
- # unit: "s", # accepts s, ms
5392
- # value: 1,
5393
- # },
5394
- # per_request: {
5395
- # unit: "s", # accepts s, ms
5396
- # value: 1,
5397
- # },
5398
- # },
5399
- # tcp: {
5400
- # idle: {
5401
- # unit: "s", # accepts s, ms
5402
- # value: 1,
5403
- # },
5404
- # },
5405
- # }
5328
+ # @note ListenerTimeout is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ListenerTimeout corresponding to the set member.
5406
5329
  #
5407
5330
  # @!attribute [rw] grpc
5408
5331
  # An object that represents types of timeouts.
@@ -5426,9 +5349,17 @@ module Aws::AppMesh
5426
5349
  :grpc,
5427
5350
  :http,
5428
5351
  :http2,
5429
- :tcp)
5352
+ :tcp,
5353
+ :unknown)
5430
5354
  SENSITIVE = []
5431
5355
  include Aws::Structure
5356
+ include Aws::Structure::Union
5357
+
5358
+ class Grpc < ListenerTimeout; end
5359
+ class Http < ListenerTimeout; end
5360
+ class Http2 < ListenerTimeout; end
5361
+ class Tcp < ListenerTimeout; end
5362
+ class Unknown < ListenerTimeout; end
5432
5363
  end
5433
5364
 
5434
5365
  # An object that represents the Transport Layer Security (TLS)
@@ -5530,21 +5461,9 @@ module Aws::AppMesh
5530
5461
  # An object that represents a listener's Transport Layer Security (TLS)
5531
5462
  # certificate.
5532
5463
  #
5533
- # @note When making an API call, you may pass ListenerTlsCertificate
5534
- # data as a hash:
5464
+ # @note ListenerTlsCertificate is a union - when making an API calls you must set exactly one of the members.
5535
5465
  #
5536
- # {
5537
- # acm: {
5538
- # certificate_arn: "Arn", # required
5539
- # },
5540
- # file: {
5541
- # certificate_chain: "FilePath", # required
5542
- # private_key: "FilePath", # required
5543
- # },
5544
- # sds: {
5545
- # secret_name: "SdsSecretName", # required
5546
- # },
5547
- # }
5466
+ # @note ListenerTlsCertificate is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ListenerTlsCertificate corresponding to the set member.
5548
5467
  #
5549
5468
  # @!attribute [rw] acm
5550
5469
  # A reference to an object that represents an AWS Certicate Manager
@@ -5565,9 +5484,16 @@ module Aws::AppMesh
5565
5484
  class ListenerTlsCertificate < Struct.new(
5566
5485
  :acm,
5567
5486
  :file,
5568
- :sds)
5487
+ :sds,
5488
+ :unknown)
5569
5489
  SENSITIVE = []
5570
5490
  include Aws::Structure
5491
+ include Aws::Structure::Union
5492
+
5493
+ class Acm < ListenerTlsCertificate; end
5494
+ class File < ListenerTlsCertificate; end
5495
+ class Sds < ListenerTlsCertificate; end
5496
+ class Unknown < ListenerTlsCertificate; end
5571
5497
  end
5572
5498
 
5573
5499
  # An object that represents a local file certificate. The certificate
@@ -5680,17 +5606,9 @@ module Aws::AppMesh
5680
5606
  # An object that represents a listener's Transport Layer Security (TLS)
5681
5607
  # validation context trust.
5682
5608
  #
5683
- # @note When making an API call, you may pass ListenerTlsValidationContextTrust
5684
- # data as a hash:
5609
+ # @note ListenerTlsValidationContextTrust is a union - when making an API calls you must set exactly one of the members.
5685
5610
  #
5686
- # {
5687
- # file: {
5688
- # certificate_chain: "FilePath", # required
5689
- # },
5690
- # sds: {
5691
- # secret_name: "SdsSecretName", # required
5692
- # },
5693
- # }
5611
+ # @note ListenerTlsValidationContextTrust is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ListenerTlsValidationContextTrust corresponding to the set member.
5694
5612
  #
5695
5613
  # @!attribute [rw] file
5696
5614
  # An object that represents a Transport Layer Security (TLS)
@@ -5707,9 +5625,15 @@ module Aws::AppMesh
5707
5625
  #
5708
5626
  class ListenerTlsValidationContextTrust < Struct.new(
5709
5627
  :file,
5710
- :sds)
5628
+ :sds,
5629
+ :unknown)
5711
5630
  SENSITIVE = []
5712
5631
  include Aws::Structure
5632
+ include Aws::Structure::Union
5633
+
5634
+ class File < ListenerTlsValidationContextTrust; end
5635
+ class Sds < ListenerTlsValidationContextTrust; end
5636
+ class Unknown < ListenerTlsValidationContextTrust; end
5713
5637
  end
5714
5638
 
5715
5639
  # An object that represents the logging information for a virtual node.
@@ -6440,25 +6364,9 @@ module Aws::AppMesh
6440
6364
  # An object that represents the service discovery information for a
6441
6365
  # virtual node.
6442
6366
  #
6443
- # @note When making an API call, you may pass ServiceDiscovery
6444
- # data as a hash:
6367
+ # @note ServiceDiscovery is a union - when making an API calls you must set exactly one of the members.
6445
6368
  #
6446
- # {
6447
- # aws_cloud_map: {
6448
- # attributes: [
6449
- # {
6450
- # key: "AwsCloudMapInstanceAttributeKey", # required
6451
- # value: "AwsCloudMapInstanceAttributeValue", # required
6452
- # },
6453
- # ],
6454
- # namespace_name: "AwsCloudMapName", # required
6455
- # service_name: "AwsCloudMapName", # required
6456
- # },
6457
- # dns: {
6458
- # hostname: "Hostname", # required
6459
- # response_type: "LOADBALANCER", # accepts LOADBALANCER, ENDPOINTS
6460
- # },
6461
- # }
6369
+ # @note ServiceDiscovery is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ServiceDiscovery corresponding to the set member.
6462
6370
  #
6463
6371
  # @!attribute [rw] aws_cloud_map
6464
6372
  # Specifies any Cloud Map information for the virtual node.
@@ -6472,9 +6380,15 @@ module Aws::AppMesh
6472
6380
  #
6473
6381
  class ServiceDiscovery < Struct.new(
6474
6382
  :aws_cloud_map,
6475
- :dns)
6383
+ :dns,
6384
+ :unknown)
6476
6385
  SENSITIVE = []
6477
6386
  include Aws::Structure
6387
+ include Aws::Structure::Union
6388
+
6389
+ class AwsCloudMap < ServiceDiscovery; end
6390
+ class Dns < ServiceDiscovery; end
6391
+ class Unknown < ServiceDiscovery; end
6478
6392
  end
6479
6393
 
6480
6394
  # The request has failed due to a temporary failure of the service.
@@ -6830,20 +6744,9 @@ module Aws::AppMesh
6830
6744
  # An object that represents a Transport Layer Security (TLS) validation
6831
6745
  # context trust.
6832
6746
  #
6833
- # @note When making an API call, you may pass TlsValidationContextTrust
6834
- # data as a hash:
6747
+ # @note TlsValidationContextTrust is a union - when making an API calls you must set exactly one of the members.
6835
6748
  #
6836
- # {
6837
- # acm: {
6838
- # certificate_authority_arns: ["Arn"], # required
6839
- # },
6840
- # file: {
6841
- # certificate_chain: "FilePath", # required
6842
- # },
6843
- # sds: {
6844
- # secret_name: "SdsSecretName", # required
6845
- # },
6846
- # }
6749
+ # @note TlsValidationContextTrust is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TlsValidationContextTrust corresponding to the set member.
6847
6750
  #
6848
6751
  # @!attribute [rw] acm
6849
6752
  # A reference to an object that represents a Transport Layer Security
@@ -6866,9 +6769,16 @@ module Aws::AppMesh
6866
6769
  class TlsValidationContextTrust < Struct.new(
6867
6770
  :acm,
6868
6771
  :file,
6869
- :sds)
6772
+ :sds,
6773
+ :unknown)
6870
6774
  SENSITIVE = []
6871
6775
  include Aws::Structure
6776
+ include Aws::Structure::Union
6777
+
6778
+ class Acm < TlsValidationContextTrust; end
6779
+ class File < TlsValidationContextTrust; end
6780
+ class Sds < TlsValidationContextTrust; end
6781
+ class Unknown < TlsValidationContextTrust; end
6872
6782
  end
6873
6783
 
6874
6784
  # The maximum request rate permitted by the App Mesh APIs has been
@@ -8131,14 +8041,9 @@ module Aws::AppMesh
8131
8041
 
8132
8042
  # The access log configuration for a virtual gateway.
8133
8043
  #
8134
- # @note When making an API call, you may pass VirtualGatewayAccessLog
8135
- # data as a hash:
8044
+ # @note VirtualGatewayAccessLog is a union - when making an API calls you must set exactly one of the members.
8136
8045
  #
8137
- # {
8138
- # file: {
8139
- # path: "FilePath", # required
8140
- # },
8141
- # }
8046
+ # @note VirtualGatewayAccessLog is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of VirtualGatewayAccessLog corresponding to the set member.
8142
8047
  #
8143
8048
  # @!attribute [rw] file
8144
8049
  # The file object to send virtual gateway access logs to.
@@ -8147,9 +8052,14 @@ module Aws::AppMesh
8147
8052
  # @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualGatewayAccessLog AWS API Documentation
8148
8053
  #
8149
8054
  class VirtualGatewayAccessLog < Struct.new(
8150
- :file)
8055
+ :file,
8056
+ :unknown)
8151
8057
  SENSITIVE = []
8152
8058
  include Aws::Structure
8059
+ include Aws::Structure::Union
8060
+
8061
+ class File < VirtualGatewayAccessLog; end
8062
+ class Unknown < VirtualGatewayAccessLog; end
8153
8063
  end
8154
8064
 
8155
8065
  # An object that represents the default properties for a backend.
@@ -8328,18 +8238,9 @@ module Aws::AppMesh
8328
8238
  # An object that represents the virtual gateway's client's Transport
8329
8239
  # Layer Security (TLS) certificate.
8330
8240
  #
8331
- # @note When making an API call, you may pass VirtualGatewayClientTlsCertificate
8332
- # data as a hash:
8241
+ # @note VirtualGatewayClientTlsCertificate is a union - when making an API calls you must set exactly one of the members.
8333
8242
  #
8334
- # {
8335
- # file: {
8336
- # certificate_chain: "FilePath", # required
8337
- # private_key: "FilePath", # required
8338
- # },
8339
- # sds: {
8340
- # secret_name: "VirtualGatewaySdsSecretName", # required
8341
- # },
8342
- # }
8243
+ # @note VirtualGatewayClientTlsCertificate is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of VirtualGatewayClientTlsCertificate corresponding to the set member.
8343
8244
  #
8344
8245
  # @!attribute [rw] file
8345
8246
  # An object that represents a local file certificate. The certificate
@@ -8361,9 +8262,15 @@ module Aws::AppMesh
8361
8262
  #
8362
8263
  class VirtualGatewayClientTlsCertificate < Struct.new(
8363
8264
  :file,
8364
- :sds)
8265
+ :sds,
8266
+ :unknown)
8365
8267
  SENSITIVE = []
8366
8268
  include Aws::Structure
8269
+ include Aws::Structure::Union
8270
+
8271
+ class File < VirtualGatewayClientTlsCertificate; end
8272
+ class Sds < VirtualGatewayClientTlsCertificate; end
8273
+ class Unknown < VirtualGatewayClientTlsCertificate; end
8367
8274
  end
8368
8275
 
8369
8276
  # An object that represents the type of virtual gateway connection pool.
@@ -8374,21 +8281,9 @@ module Aws::AppMesh
8374
8281
  # If not present the default value for `maxPendingRequests` is
8375
8282
  # `2147483647`.
8376
8283
  #
8377
- # @note When making an API call, you may pass VirtualGatewayConnectionPool
8378
- # data as a hash:
8284
+ # @note VirtualGatewayConnectionPool is a union - when making an API calls you must set exactly one of the members.
8379
8285
  #
8380
- # {
8381
- # grpc: {
8382
- # max_requests: 1, # required
8383
- # },
8384
- # http: {
8385
- # max_connections: 1, # required
8386
- # max_pending_requests: 1,
8387
- # },
8388
- # http2: {
8389
- # max_requests: 1, # required
8390
- # },
8391
- # }
8286
+ # @note VirtualGatewayConnectionPool is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of VirtualGatewayConnectionPool corresponding to the set member.
8392
8287
  #
8393
8288
  # @!attribute [rw] grpc
8394
8289
  # An object that represents a type of connection pool.
@@ -8407,9 +8302,16 @@ module Aws::AppMesh
8407
8302
  class VirtualGatewayConnectionPool < Struct.new(
8408
8303
  :grpc,
8409
8304
  :http,
8410
- :http2)
8305
+ :http2,
8306
+ :unknown)
8411
8307
  SENSITIVE = []
8412
8308
  include Aws::Structure
8309
+ include Aws::Structure::Union
8310
+
8311
+ class Grpc < VirtualGatewayConnectionPool; end
8312
+ class Http < VirtualGatewayConnectionPool; end
8313
+ class Http2 < VirtualGatewayConnectionPool; end
8314
+ class Unknown < VirtualGatewayConnectionPool; end
8413
8315
  end
8414
8316
 
8415
8317
  # An object that represents a virtual gateway returned by a describe
@@ -8806,21 +8708,9 @@ module Aws::AppMesh
8806
8708
  # An object that represents a listener's Transport Layer Security (TLS)
8807
8709
  # certificate.
8808
8710
  #
8809
- # @note When making an API call, you may pass VirtualGatewayListenerTlsCertificate
8810
- # data as a hash:
8711
+ # @note VirtualGatewayListenerTlsCertificate is a union - when making an API calls you must set exactly one of the members.
8811
8712
  #
8812
- # {
8813
- # acm: {
8814
- # certificate_arn: "Arn", # required
8815
- # },
8816
- # file: {
8817
- # certificate_chain: "FilePath", # required
8818
- # private_key: "FilePath", # required
8819
- # },
8820
- # sds: {
8821
- # secret_name: "VirtualGatewaySdsSecretName", # required
8822
- # },
8823
- # }
8713
+ # @note VirtualGatewayListenerTlsCertificate is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of VirtualGatewayListenerTlsCertificate corresponding to the set member.
8824
8714
  #
8825
8715
  # @!attribute [rw] acm
8826
8716
  # A reference to an object that represents an Certificate Manager
@@ -8841,9 +8731,16 @@ module Aws::AppMesh
8841
8731
  class VirtualGatewayListenerTlsCertificate < Struct.new(
8842
8732
  :acm,
8843
8733
  :file,
8844
- :sds)
8734
+ :sds,
8735
+ :unknown)
8845
8736
  SENSITIVE = []
8846
8737
  include Aws::Structure
8738
+ include Aws::Structure::Union
8739
+
8740
+ class Acm < VirtualGatewayListenerTlsCertificate; end
8741
+ class File < VirtualGatewayListenerTlsCertificate; end
8742
+ class Sds < VirtualGatewayListenerTlsCertificate; end
8743
+ class Unknown < VirtualGatewayListenerTlsCertificate; end
8847
8744
  end
8848
8745
 
8849
8746
  # An object that represents a local file certificate. The certificate
@@ -8957,17 +8854,9 @@ module Aws::AppMesh
8957
8854
  # An object that represents a virtual gateway's listener's Transport
8958
8855
  # Layer Security (TLS) validation context trust.
8959
8856
  #
8960
- # @note When making an API call, you may pass VirtualGatewayListenerTlsValidationContextTrust
8961
- # data as a hash:
8857
+ # @note VirtualGatewayListenerTlsValidationContextTrust is a union - when making an API calls you must set exactly one of the members.
8962
8858
  #
8963
- # {
8964
- # file: {
8965
- # certificate_chain: "FilePath", # required
8966
- # },
8967
- # sds: {
8968
- # secret_name: "VirtualGatewaySdsSecretName", # required
8969
- # },
8970
- # }
8859
+ # @note VirtualGatewayListenerTlsValidationContextTrust is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of VirtualGatewayListenerTlsValidationContextTrust corresponding to the set member.
8971
8860
  #
8972
8861
  # @!attribute [rw] file
8973
8862
  # An object that represents a Transport Layer Security (TLS)
@@ -8984,9 +8873,15 @@ module Aws::AppMesh
8984
8873
  #
8985
8874
  class VirtualGatewayListenerTlsValidationContextTrust < Struct.new(
8986
8875
  :file,
8987
- :sds)
8876
+ :sds,
8877
+ :unknown)
8988
8878
  SENSITIVE = []
8989
8879
  include Aws::Structure
8880
+ include Aws::Structure::Union
8881
+
8882
+ class File < VirtualGatewayListenerTlsValidationContextTrust; end
8883
+ class Sds < VirtualGatewayListenerTlsValidationContextTrust; end
8884
+ class Unknown < VirtualGatewayListenerTlsValidationContextTrust; end
8990
8885
  end
8991
8886
 
8992
8887
  # An object that represents logging information.
@@ -9378,20 +9273,9 @@ module Aws::AppMesh
9378
9273
  # An object that represents a Transport Layer Security (TLS) validation
9379
9274
  # context trust.
9380
9275
  #
9381
- # @note When making an API call, you may pass VirtualGatewayTlsValidationContextTrust
9382
- # data as a hash:
9276
+ # @note VirtualGatewayTlsValidationContextTrust is a union - when making an API calls you must set exactly one of the members.
9383
9277
  #
9384
- # {
9385
- # acm: {
9386
- # certificate_authority_arns: ["Arn"], # required
9387
- # },
9388
- # file: {
9389
- # certificate_chain: "FilePath", # required
9390
- # },
9391
- # sds: {
9392
- # secret_name: "VirtualGatewaySdsSecretName", # required
9393
- # },
9394
- # }
9278
+ # @note VirtualGatewayTlsValidationContextTrust is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of VirtualGatewayTlsValidationContextTrust corresponding to the set member.
9395
9279
  #
9396
9280
  # @!attribute [rw] acm
9397
9281
  # A reference to an object that represents a Transport Layer Security
@@ -9415,9 +9299,16 @@ module Aws::AppMesh
9415
9299
  class VirtualGatewayTlsValidationContextTrust < Struct.new(
9416
9300
  :acm,
9417
9301
  :file,
9418
- :sds)
9302
+ :sds,
9303
+ :unknown)
9419
9304
  SENSITIVE = []
9420
9305
  include Aws::Structure
9306
+ include Aws::Structure::Union
9307
+
9308
+ class Acm < VirtualGatewayTlsValidationContextTrust; end
9309
+ class File < VirtualGatewayTlsValidationContextTrust; end
9310
+ class Sds < VirtualGatewayTlsValidationContextTrust; end
9311
+ class Unknown < VirtualGatewayTlsValidationContextTrust; end
9421
9312
  end
9422
9313
 
9423
9314
  # An object that represents the type of virtual node connection pool.
@@ -9428,24 +9319,9 @@ module Aws::AppMesh
9428
9319
  # If not present the default value for `maxPendingRequests` is
9429
9320
  # `2147483647`.
9430
9321
  #
9431
- # @note When making an API call, you may pass VirtualNodeConnectionPool
9432
- # data as a hash:
9322
+ # @note VirtualNodeConnectionPool is a union - when making an API calls you must set exactly one of the members.
9433
9323
  #
9434
- # {
9435
- # grpc: {
9436
- # max_requests: 1, # required
9437
- # },
9438
- # http: {
9439
- # max_connections: 1, # required
9440
- # max_pending_requests: 1,
9441
- # },
9442
- # http2: {
9443
- # max_requests: 1, # required
9444
- # },
9445
- # tcp: {
9446
- # max_connections: 1, # required
9447
- # },
9448
- # }
9324
+ # @note VirtualNodeConnectionPool is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of VirtualNodeConnectionPool corresponding to the set member.
9449
9325
  #
9450
9326
  # @!attribute [rw] grpc
9451
9327
  # An object that represents a type of connection pool.
@@ -9469,9 +9345,17 @@ module Aws::AppMesh
9469
9345
  :grpc,
9470
9346
  :http,
9471
9347
  :http2,
9472
- :tcp)
9348
+ :tcp,
9349
+ :unknown)
9473
9350
  SENSITIVE = []
9474
9351
  include Aws::Structure
9352
+ include Aws::Structure::Union
9353
+
9354
+ class Grpc < VirtualNodeConnectionPool; end
9355
+ class Http < VirtualNodeConnectionPool; end
9356
+ class Http2 < VirtualNodeConnectionPool; end
9357
+ class Tcp < VirtualNodeConnectionPool; end
9358
+ class Unknown < VirtualNodeConnectionPool; end
9475
9359
  end
9476
9360
 
9477
9361
  # An object that represents a virtual node returned by a describe
@@ -10250,17 +10134,9 @@ module Aws::AppMesh
10250
10134
 
10251
10135
  # An object that represents the provider for a virtual service.
10252
10136
  #
10253
- # @note When making an API call, you may pass VirtualServiceProvider
10254
- # data as a hash:
10137
+ # @note VirtualServiceProvider is a union - when making an API calls you must set exactly one of the members.
10255
10138
  #
10256
- # {
10257
- # virtual_node: {
10258
- # virtual_node_name: "ResourceName", # required
10259
- # },
10260
- # virtual_router: {
10261
- # virtual_router_name: "ResourceName", # required
10262
- # },
10263
- # }
10139
+ # @note VirtualServiceProvider is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of VirtualServiceProvider corresponding to the set member.
10264
10140
  #
10265
10141
  # @!attribute [rw] virtual_node
10266
10142
  # The virtual node associated with a virtual service.
@@ -10274,9 +10150,15 @@ module Aws::AppMesh
10274
10150
  #
10275
10151
  class VirtualServiceProvider < Struct.new(
10276
10152
  :virtual_node,
10277
- :virtual_router)
10153
+ :virtual_router,
10154
+ :unknown)
10278
10155
  SENSITIVE = []
10279
10156
  include Aws::Structure
10157
+ include Aws::Structure::Union
10158
+
10159
+ class VirtualNode < VirtualServiceProvider; end
10160
+ class VirtualRouter < VirtualServiceProvider; end
10161
+ class Unknown < VirtualServiceProvider; end
10280
10162
  end
10281
10163
 
10282
10164
  # An object that represents a virtual service returned by a list
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appmesh
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.37.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-06-10 00:00:00.000000000 Z
11
+ date: 2021-07-28 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.112.0
22
+ version: 3.118.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.112.0
32
+ version: 3.118.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement