aws-sdk-appmesh 1.9.0 → 1.10.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
  SHA1:
3
- metadata.gz: 49dcc9697d75ce71f6086328b74607f79ca3e47a
4
- data.tar.gz: 7a4915d5345b2855c6224ab0603d793beb69c1e8
3
+ metadata.gz: 84c2df6923fa3d4069c766d882ba479cd333d425
4
+ data.tar.gz: 37dcf5f5acc00eb176a6aac8a08379ed78bb651c
5
5
  SHA512:
6
- metadata.gz: 5cbe2d06097cace449a6a233f62073e46fee642aa783e5750ce9f9289f859cd2d1c80f5736df6fe0216ec46c67b4381fdfcd5c293f03ee2a0283f87707fcd7b7
7
- data.tar.gz: d52498101dcb90c311e150798eb3371fb5604852cba5afa0ed6a36374a0bd2c61905dca3137c43eea839743c8410620c507fd3ece836fbecd88e69a2d9aadaab
6
+ metadata.gz: 3db3e3d5b874460774cbab6eb02193528abe193c4207cb4a974ba95dfa91c7fa14aefd9df9fec0b761f0732ceba73aafb99a897f0eec3e59995c2ada9dc53f90
7
+ data.tar.gz: a1fc3464b01d485dfcd233aa71b0ce663c7f7494c9b47d5f98463644fc7bc956245f389931b0dd6ae2eb4c9c96b04897e5725ad1f50fcc9fa4ac6ea82b6789d4
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-appmesh/customizations'
42
42
  # @service
43
43
  module Aws::AppMesh
44
44
 
45
- GEM_VERSION = '1.9.0'
45
+ GEM_VERSION = '1.10.0'
46
46
 
47
47
  end
@@ -433,8 +433,8 @@ module Aws::AppMesh
433
433
  #
434
434
  # A virtual node acts as a logical pointer to a particular task group,
435
435
  # such as an Amazon ECS service or a Kubernetes deployment. When you
436
- # create a virtual node, you must specify the DNS service discovery
437
- # hostname for your task group.
436
+ # create a virtual node, you can specify the service discovery
437
+ # information for your task group.
438
438
  #
439
439
  # Any inbound traffic that your virtual node expects should be specified
440
440
  # as a `listener`. Any outbound traffic that your virtual node expects
@@ -522,6 +522,16 @@ module Aws::AppMesh
522
522
  # },
523
523
  # },
524
524
  # service_discovery: {
525
+ # aws_cloud_map: {
526
+ # attributes: [
527
+ # {
528
+ # key: "AwsCloudMapInstanceAttributeKey", # required
529
+ # value: "AwsCloudMapInstanceAttributeValue", # required
530
+ # },
531
+ # ],
532
+ # namespace_name: "AwsCloudMapName", # required
533
+ # service_name: "AwsCloudMapName", # required
534
+ # },
525
535
  # dns: {
526
536
  # hostname: "Hostname", # required
527
537
  # },
@@ -557,6 +567,11 @@ module Aws::AppMesh
557
567
  # resp.virtual_node.spec.listeners[0].port_mapping.port #=> Integer
558
568
  # resp.virtual_node.spec.listeners[0].port_mapping.protocol #=> String, one of "http", "tcp"
559
569
  # resp.virtual_node.spec.logging.access_log.file.path #=> String
570
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes #=> Array
571
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes[0].key #=> String
572
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes[0].value #=> String
573
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.namespace_name #=> String
574
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.service_name #=> String
560
575
  # resp.virtual_node.spec.service_discovery.dns.hostname #=> String
561
576
  # resp.virtual_node.status.status #=> String, one of "ACTIVE", "DELETED", "INACTIVE"
562
577
  # resp.virtual_node.virtual_node_name #=> String
@@ -614,7 +629,7 @@ module Aws::AppMesh
614
629
  # client_token: "String",
615
630
  # mesh_name: "ResourceName", # required
616
631
  # spec: { # required
617
- # listeners: [ # required
632
+ # listeners: [
618
633
  # {
619
634
  # port_mapping: { # required
620
635
  # port: 1, # required
@@ -871,6 +886,11 @@ module Aws::AppMesh
871
886
  # resp.virtual_node.spec.listeners[0].port_mapping.port #=> Integer
872
887
  # resp.virtual_node.spec.listeners[0].port_mapping.protocol #=> String, one of "http", "tcp"
873
888
  # resp.virtual_node.spec.logging.access_log.file.path #=> String
889
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes #=> Array
890
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes[0].key #=> String
891
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes[0].value #=> String
892
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.namespace_name #=> String
893
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.service_name #=> String
874
894
  # resp.virtual_node.spec.service_discovery.dns.hostname #=> String
875
895
  # resp.virtual_node.status.status #=> String, one of "ACTIVE", "DELETED", "INACTIVE"
876
896
  # resp.virtual_node.virtual_node_name #=> String
@@ -1096,6 +1116,11 @@ module Aws::AppMesh
1096
1116
  # resp.virtual_node.spec.listeners[0].port_mapping.port #=> Integer
1097
1117
  # resp.virtual_node.spec.listeners[0].port_mapping.protocol #=> String, one of "http", "tcp"
1098
1118
  # resp.virtual_node.spec.logging.access_log.file.path #=> String
1119
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes #=> Array
1120
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes[0].key #=> String
1121
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes[0].value #=> String
1122
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.namespace_name #=> String
1123
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.service_name #=> String
1099
1124
  # resp.virtual_node.spec.service_discovery.dns.hostname #=> String
1100
1125
  # resp.virtual_node.status.status #=> String, one of "ACTIVE", "DELETED", "INACTIVE"
1101
1126
  # resp.virtual_node.virtual_node_name #=> String
@@ -1770,6 +1795,16 @@ module Aws::AppMesh
1770
1795
  # },
1771
1796
  # },
1772
1797
  # service_discovery: {
1798
+ # aws_cloud_map: {
1799
+ # attributes: [
1800
+ # {
1801
+ # key: "AwsCloudMapInstanceAttributeKey", # required
1802
+ # value: "AwsCloudMapInstanceAttributeValue", # required
1803
+ # },
1804
+ # ],
1805
+ # namespace_name: "AwsCloudMapName", # required
1806
+ # service_name: "AwsCloudMapName", # required
1807
+ # },
1773
1808
  # dns: {
1774
1809
  # hostname: "Hostname", # required
1775
1810
  # },
@@ -1799,6 +1834,11 @@ module Aws::AppMesh
1799
1834
  # resp.virtual_node.spec.listeners[0].port_mapping.port #=> Integer
1800
1835
  # resp.virtual_node.spec.listeners[0].port_mapping.protocol #=> String, one of "http", "tcp"
1801
1836
  # resp.virtual_node.spec.logging.access_log.file.path #=> String
1837
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes #=> Array
1838
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes[0].key #=> String
1839
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.attributes[0].value #=> String
1840
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.namespace_name #=> String
1841
+ # resp.virtual_node.spec.service_discovery.aws_cloud_map.service_name #=> String
1802
1842
  # resp.virtual_node.spec.service_discovery.dns.hostname #=> String
1803
1843
  # resp.virtual_node.status.status #=> String, one of "ACTIVE", "DELETED", "INACTIVE"
1804
1844
  # resp.virtual_node.virtual_node_name #=> String
@@ -1842,7 +1882,7 @@ module Aws::AppMesh
1842
1882
  # client_token: "String",
1843
1883
  # mesh_name: "ResourceName", # required
1844
1884
  # spec: { # required
1845
- # listeners: [ # required
1885
+ # listeners: [
1846
1886
  # {
1847
1887
  # port_mapping: { # required
1848
1888
  # port: 1, # required
@@ -1954,7 +1994,7 @@ module Aws::AppMesh
1954
1994
  params: params,
1955
1995
  config: config)
1956
1996
  context[:gem_name] = 'aws-sdk-appmesh'
1957
- context[:gem_version] = '1.9.0'
1997
+ context[:gem_version] = '1.10.0'
1958
1998
  Seahorse::Client::Request.new(handlers, context)
1959
1999
  end
1960
2000
 
@@ -13,6 +13,12 @@ module Aws::AppMesh
13
13
 
14
14
  AccessLog = Shapes::StructureShape.new(name: 'AccessLog')
15
15
  Arn = Shapes::StringShape.new(name: 'Arn')
16
+ AwsCloudMapInstanceAttribute = Shapes::StructureShape.new(name: 'AwsCloudMapInstanceAttribute')
17
+ AwsCloudMapInstanceAttributeKey = Shapes::StringShape.new(name: 'AwsCloudMapInstanceAttributeKey')
18
+ AwsCloudMapInstanceAttributeValue = Shapes::StringShape.new(name: 'AwsCloudMapInstanceAttributeValue')
19
+ AwsCloudMapInstanceAttributes = Shapes::ListShape.new(name: 'AwsCloudMapInstanceAttributes')
20
+ AwsCloudMapName = Shapes::StringShape.new(name: 'AwsCloudMapName')
21
+ AwsCloudMapServiceDiscovery = Shapes::StructureShape.new(name: 'AwsCloudMapServiceDiscovery')
16
22
  Backend = Shapes::StructureShape.new(name: 'Backend')
17
23
  Backends = Shapes::ListShape.new(name: 'Backends')
18
24
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
@@ -163,6 +169,17 @@ module Aws::AppMesh
163
169
  AccessLog.add_member(:file, Shapes::ShapeRef.new(shape: FileAccessLog, location_name: "file"))
164
170
  AccessLog.struct_class = Types::AccessLog
165
171
 
172
+ AwsCloudMapInstanceAttribute.add_member(:key, Shapes::ShapeRef.new(shape: AwsCloudMapInstanceAttributeKey, required: true, location_name: "key"))
173
+ AwsCloudMapInstanceAttribute.add_member(:value, Shapes::ShapeRef.new(shape: AwsCloudMapInstanceAttributeValue, required: true, location_name: "value"))
174
+ AwsCloudMapInstanceAttribute.struct_class = Types::AwsCloudMapInstanceAttribute
175
+
176
+ AwsCloudMapInstanceAttributes.member = Shapes::ShapeRef.new(shape: AwsCloudMapInstanceAttribute)
177
+
178
+ AwsCloudMapServiceDiscovery.add_member(:attributes, Shapes::ShapeRef.new(shape: AwsCloudMapInstanceAttributes, location_name: "attributes"))
179
+ AwsCloudMapServiceDiscovery.add_member(:namespace_name, Shapes::ShapeRef.new(shape: AwsCloudMapName, required: true, location_name: "namespaceName"))
180
+ AwsCloudMapServiceDiscovery.add_member(:service_name, Shapes::ShapeRef.new(shape: AwsCloudMapName, required: true, location_name: "serviceName"))
181
+ AwsCloudMapServiceDiscovery.struct_class = Types::AwsCloudMapServiceDiscovery
182
+
166
183
  Backend.add_member(:virtual_service, Shapes::ShapeRef.new(shape: VirtualServiceBackend, location_name: "virtualService"))
167
184
  Backend.struct_class = Types::Backend
168
185
 
@@ -482,6 +499,7 @@ module Aws::AppMesh
482
499
  RouteStatus.add_member(:status, Shapes::ShapeRef.new(shape: RouteStatusCode, required: true, location_name: "status"))
483
500
  RouteStatus.struct_class = Types::RouteStatus
484
501
 
502
+ ServiceDiscovery.add_member(:aws_cloud_map, Shapes::ShapeRef.new(shape: AwsCloudMapServiceDiscovery, location_name: "awsCloudMap"))
485
503
  ServiceDiscovery.add_member(:dns, Shapes::ShapeRef.new(shape: DnsServiceDiscovery, location_name: "dns"))
486
504
  ServiceDiscovery.struct_class = Types::ServiceDiscovery
487
505
 
@@ -623,7 +641,7 @@ module Aws::AppMesh
623
641
  VirtualRouterServiceProvider.add_member(:virtual_router_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "virtualRouterName"))
624
642
  VirtualRouterServiceProvider.struct_class = Types::VirtualRouterServiceProvider
625
643
 
626
- VirtualRouterSpec.add_member(:listeners, Shapes::ShapeRef.new(shape: VirtualRouterListeners, required: true, location_name: "listeners"))
644
+ VirtualRouterSpec.add_member(:listeners, Shapes::ShapeRef.new(shape: VirtualRouterListeners, location_name: "listeners"))
627
645
  VirtualRouterSpec.struct_class = Types::VirtualRouterSpec
628
646
 
629
647
  VirtualRouterStatus.add_member(:status, Shapes::ShapeRef.new(shape: VirtualRouterStatusCode, required: true, location_name: "status"))
@@ -71,6 +71,16 @@ module Aws::AppMesh
71
71
  # },
72
72
  # },
73
73
  # service_discovery: {
74
+ # aws_cloud_map: {
75
+ # attributes: [
76
+ # {
77
+ # key: "AwsCloudMapInstanceAttributeKey", # required
78
+ # value: "AwsCloudMapInstanceAttributeValue", # required
79
+ # },
80
+ # ],
81
+ # namespace_name: "AwsCloudMapName", # required
82
+ # service_name: "AwsCloudMapName", # required
83
+ # },
74
84
  # dns: {
75
85
  # hostname: "Hostname", # required
76
86
  # },
@@ -201,7 +211,7 @@ module Aws::AppMesh
201
211
  # client_token: "String",
202
212
  # mesh_name: "ResourceName", # required
203
213
  # spec: { # required
204
- # listeners: [ # required
214
+ # listeners: [
205
215
  # {
206
216
  # port_mapping: { # required
207
217
  # port: 1, # required
@@ -1123,6 +1133,37 @@ module Aws::AppMesh
1123
1133
  #
1124
1134
  class UntagResourceOutput < Aws::EmptyStructure; end
1125
1135
 
1136
+ # An object representing the AWS Cloud Map attribute information for
1137
+ # your virtual node.
1138
+ #
1139
+ # @note When making an API call, you may pass AwsCloudMapInstanceAttribute
1140
+ # data as a hash:
1141
+ #
1142
+ # {
1143
+ # key: "AwsCloudMapInstanceAttributeKey", # required
1144
+ # value: "AwsCloudMapInstanceAttributeValue", # required
1145
+ # }
1146
+ #
1147
+ # @!attribute [rw] key
1148
+ # The name of an AWS Cloud Map service instance attribute key. Any AWS
1149
+ # Cloud Map service instance that contains the specified key and value
1150
+ # is returned.
1151
+ # @return [String]
1152
+ #
1153
+ # @!attribute [rw] value
1154
+ # The value of an AWS Cloud Map service instance attribute key. Any
1155
+ # AWS Cloud Map service instance that contains the specified key and
1156
+ # value is returned.
1157
+ # @return [String]
1158
+ #
1159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/AwsCloudMapInstanceAttribute AWS API Documentation
1160
+ #
1161
+ class AwsCloudMapInstanceAttribute < Struct.new(
1162
+ :key,
1163
+ :value)
1164
+ include Aws::Structure
1165
+ end
1166
+
1126
1167
  # An object representing the specification of a virtual service.
1127
1168
  #
1128
1169
  # @note When making an API call, you may pass VirtualServiceSpec
@@ -1401,7 +1442,7 @@ module Aws::AppMesh
1401
1442
  # client_token: "String",
1402
1443
  # mesh_name: "ResourceName", # required
1403
1444
  # spec: { # required
1404
- # listeners: [ # required
1445
+ # listeners: [
1405
1446
  # {
1406
1447
  # port_mapping: { # required
1407
1448
  # port: 1, # required
@@ -1575,7 +1616,7 @@ module Aws::AppMesh
1575
1616
  # data as a hash:
1576
1617
  #
1577
1618
  # {
1578
- # listeners: [ # required
1619
+ # listeners: [
1579
1620
  # {
1580
1621
  # port_mapping: { # required
1581
1622
  # port: 1, # required
@@ -1650,6 +1691,16 @@ module Aws::AppMesh
1650
1691
  # },
1651
1692
  # },
1652
1693
  # service_discovery: {
1694
+ # aws_cloud_map: {
1695
+ # attributes: [
1696
+ # {
1697
+ # key: "AwsCloudMapInstanceAttributeKey", # required
1698
+ # value: "AwsCloudMapInstanceAttributeValue", # required
1699
+ # },
1700
+ # ],
1701
+ # namespace_name: "AwsCloudMapName", # required
1702
+ # service_name: "AwsCloudMapName", # required
1703
+ # },
1653
1704
  # dns: {
1654
1705
  # hostname: "Hostname", # required
1655
1706
  # },
@@ -2378,6 +2429,47 @@ module Aws::AppMesh
2378
2429
  include Aws::Structure
2379
2430
  end
2380
2431
 
2432
+ # An object representing the AWS Cloud Map service discovery information
2433
+ # for your virtual node.
2434
+ #
2435
+ # @note When making an API call, you may pass AwsCloudMapServiceDiscovery
2436
+ # data as a hash:
2437
+ #
2438
+ # {
2439
+ # attributes: [
2440
+ # {
2441
+ # key: "AwsCloudMapInstanceAttributeKey", # required
2442
+ # value: "AwsCloudMapInstanceAttributeValue", # required
2443
+ # },
2444
+ # ],
2445
+ # namespace_name: "AwsCloudMapName", # required
2446
+ # service_name: "AwsCloudMapName", # required
2447
+ # }
2448
+ #
2449
+ # @!attribute [rw] attributes
2450
+ # A string map that contains attributes with values that you can use
2451
+ # to filter instances by any custom attribute that you specified when
2452
+ # you registered the instance. Only instances that match all of the
2453
+ # specified key/value pairs will be returned.
2454
+ # @return [Array<Types::AwsCloudMapInstanceAttribute>]
2455
+ #
2456
+ # @!attribute [rw] namespace_name
2457
+ # The name of the AWS Cloud Map namespace to use.
2458
+ # @return [String]
2459
+ #
2460
+ # @!attribute [rw] service_name
2461
+ # The name of the AWS Cloud Map service to use.
2462
+ # @return [String]
2463
+ #
2464
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/AwsCloudMapServiceDiscovery AWS API Documentation
2465
+ #
2466
+ class AwsCloudMapServiceDiscovery < Struct.new(
2467
+ :attributes,
2468
+ :namespace_name,
2469
+ :service_name)
2470
+ include Aws::Structure
2471
+ end
2472
+
2381
2473
  # @!attribute [rw] virtual_service
2382
2474
  # A full description of the virtual service that was updated.
2383
2475
  # @return [Types::VirtualServiceData]
@@ -2513,6 +2605,16 @@ module Aws::AppMesh
2513
2605
  # },
2514
2606
  # },
2515
2607
  # service_discovery: {
2608
+ # aws_cloud_map: {
2609
+ # attributes: [
2610
+ # {
2611
+ # key: "AwsCloudMapInstanceAttributeKey", # required
2612
+ # value: "AwsCloudMapInstanceAttributeValue", # required
2613
+ # },
2614
+ # ],
2615
+ # namespace_name: "AwsCloudMapName", # required
2616
+ # service_name: "AwsCloudMapName", # required
2617
+ # },
2516
2618
  # dns: {
2517
2619
  # hostname: "Hostname", # required
2518
2620
  # },
@@ -2815,11 +2917,25 @@ module Aws::AppMesh
2815
2917
  # data as a hash:
2816
2918
  #
2817
2919
  # {
2920
+ # aws_cloud_map: {
2921
+ # attributes: [
2922
+ # {
2923
+ # key: "AwsCloudMapInstanceAttributeKey", # required
2924
+ # value: "AwsCloudMapInstanceAttributeValue", # required
2925
+ # },
2926
+ # ],
2927
+ # namespace_name: "AwsCloudMapName", # required
2928
+ # service_name: "AwsCloudMapName", # required
2929
+ # },
2818
2930
  # dns: {
2819
2931
  # hostname: "Hostname", # required
2820
2932
  # },
2821
2933
  # }
2822
2934
  #
2935
+ # @!attribute [rw] aws_cloud_map
2936
+ # Specifies any AWS Cloud Map information for the virtual node.
2937
+ # @return [Types::AwsCloudMapServiceDiscovery]
2938
+ #
2823
2939
  # @!attribute [rw] dns
2824
2940
  # Specifies the DNS information for the virtual node.
2825
2941
  # @return [Types::DnsServiceDiscovery]
@@ -2827,6 +2943,7 @@ module Aws::AppMesh
2827
2943
  # @see http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ServiceDiscovery AWS API Documentation
2828
2944
  #
2829
2945
  class ServiceDiscovery < Struct.new(
2946
+ :aws_cloud_map,
2830
2947
  :dns)
2831
2948
  include Aws::Structure
2832
2949
  end
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.9.0
4
+ version: 1.10.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: 2019-05-21 00:00:00.000000000 Z
11
+ date: 2019-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core