aws-sdk-servicediscovery 1.88.0 → 1.89.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.
@@ -233,9 +233,15 @@ module Aws::ServiceDiscovery
233
233
  # @return [String]
234
234
  #
235
235
  # @!attribute [rw] namespace_id
236
- # The ID of the namespace that you want to use to create the service.
237
- # The namespace ID must be specified, but it can be specified either
238
- # here or in the `DnsConfig` object.
236
+ # The ID or Amazon Resource Name (ARN) of the namespace that you want
237
+ # to use to create the service. For namespaces shared with your Amazon
238
+ # Web Services account, specify the namespace ARN. For more
239
+ # information about shared namespaces, see [Cross-account Cloud Map
240
+ # namespace sharing][1] in the *Cloud Map Developer Guide*.
241
+ #
242
+ #
243
+ #
244
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
239
245
  # @return [String]
240
246
  #
241
247
  # @!attribute [rw] creator_request_id
@@ -343,7 +349,8 @@ module Aws::ServiceDiscovery
343
349
  end
344
350
 
345
351
  # @!attribute [rw] id
346
- # The ID of the namespace that you want to delete.
352
+ # The ID or Amazon Resource Name (ARN) of the namespace that you want
353
+ # to delete.
347
354
  # @return [String]
348
355
  #
349
356
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespaceRequest AWS API Documentation
@@ -373,7 +380,16 @@ module Aws::ServiceDiscovery
373
380
  end
374
381
 
375
382
  # @!attribute [rw] service_id
376
- # The ID of the service from which the attributes will be deleted.
383
+ # The ID or Amazon Resource Name (ARN) of the service from which the
384
+ # attributes will be deleted. For services created in a namespace
385
+ # shared with your Amazon Web Services account, specify the service
386
+ # ARN. For more information about shared namespaces, see
387
+ # [Cross-account Cloud Map namespace sharing][1] in the *Cloud Map
388
+ # Developer Guide*.
389
+ #
390
+ #
391
+ #
392
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
377
393
  # @return [String]
378
394
  #
379
395
  # @!attribute [rw] attributes
@@ -395,7 +411,15 @@ module Aws::ServiceDiscovery
395
411
  class DeleteServiceAttributesResponse < Aws::EmptyStructure; end
396
412
 
397
413
  # @!attribute [rw] id
398
- # The ID of the service that you want to delete.
414
+ # The ID or Amazon Resource Name (ARN) of the service that you want to
415
+ # delete. If the namespace associated with the service is shared with
416
+ # your Amazon Web Services account, specify the service ARN. For more
417
+ # information about shared namespaces, see [Cross-account Cloud Map
418
+ # namespace sharing][1].
419
+ #
420
+ #
421
+ #
422
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
399
423
  # @return [String]
400
424
  #
401
425
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteServiceRequest AWS API Documentation
@@ -411,7 +435,15 @@ module Aws::ServiceDiscovery
411
435
  class DeleteServiceResponse < Aws::EmptyStructure; end
412
436
 
413
437
  # @!attribute [rw] service_id
414
- # The ID of the service that the instance is associated with.
438
+ # The ID or Amazon Resource Name (ARN) of the service that the
439
+ # instance is associated with. If the namespace associated with the
440
+ # service is shared with your account, specify the service ARN. For
441
+ # more information about shared namespaces, see [Cross-account Cloud
442
+ # Map namespace sharing][1] in the *Cloud Map Developer Guide*.
443
+ #
444
+ #
445
+ #
446
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
415
447
  # @return [String]
416
448
  #
417
449
  # @!attribute [rw] instance_id
@@ -451,7 +483,7 @@ module Aws::ServiceDiscovery
451
483
  end
452
484
 
453
485
  # @!attribute [rw] namespace_name
454
- # The `HttpName` name of the namespace. It's found in the
486
+ # The `HttpName` name of the namespace. The `HttpName` is found in the
455
487
  # `HttpProperties` member of the `Properties` member of the namespace.
456
488
  # In most cases, `Name` and `HttpName` match. However, if you reuse
457
489
  # `Name` for namespace creation, a generated hash is added to
@@ -508,6 +540,13 @@ module Aws::ServiceDiscovery
508
540
  # failing open.
509
541
  # @return [String]
510
542
  #
543
+ # @!attribute [rw] owner_account
544
+ # The ID of the Amazon Web Services account that owns the namespace
545
+ # associated with the instance, as specified in the namespace
546
+ # `ResourceOwner` field. For instances associated with namespaces that
547
+ # are shared with your account, you must specify an `OwnerAccount`.
548
+ # @return [String]
549
+ #
511
550
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstancesRequest AWS API Documentation
512
551
  #
513
552
  class DiscoverInstancesRequest < Struct.new(
@@ -516,7 +555,8 @@ module Aws::ServiceDiscovery
516
555
  :max_results,
517
556
  :query_parameters,
518
557
  :optional_parameters,
519
- :health_status)
558
+ :health_status,
559
+ :owner_account)
520
560
  SENSITIVE = []
521
561
  include Aws::Structure
522
562
  end
@@ -543,7 +583,7 @@ module Aws::ServiceDiscovery
543
583
  end
544
584
 
545
585
  # @!attribute [rw] namespace_name
546
- # The `HttpName` name of the namespace. It's found in the
586
+ # The `HttpName` name of the namespace. The `HttpName` is found in the
547
587
  # `HttpProperties` member of the `Properties` member of the namespace.
548
588
  # @return [String]
549
589
  #
@@ -552,11 +592,25 @@ module Aws::ServiceDiscovery
552
592
  # instance.
553
593
  # @return [String]
554
594
  #
595
+ # @!attribute [rw] owner_account
596
+ # The ID of the Amazon Web Services account that owns the namespace
597
+ # associated with the instance, as specified in the namespace
598
+ # `ResourceOwner` field. For instances associated with namespaces that
599
+ # are shared with your account, you must specify an `OwnerAccount`.
600
+ # For more information about shared namespaces, see [Cross-account
601
+ # Cloud Map namespace sharing][1] in the *Cloud Map Developer Guide*.
602
+ #
603
+ #
604
+ #
605
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
606
+ # @return [String]
607
+ #
555
608
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstancesRevisionRequest AWS API Documentation
556
609
  #
557
610
  class DiscoverInstancesRevisionRequest < Struct.new(
558
611
  :namespace_name,
559
- :service_name)
612
+ :service_name,
613
+ :owner_account)
560
614
  SENSITIVE = []
561
615
  include Aws::Structure
562
616
  end
@@ -857,7 +911,15 @@ module Aws::ServiceDiscovery
857
911
  end
858
912
 
859
913
  # @!attribute [rw] service_id
860
- # The ID of the service that the instance is associated with.
914
+ # The ID or Amazon Resource Name (ARN) of the service that the
915
+ # instance is associated with. For services created in a shared
916
+ # namespace, specify the service ARN. For more information about
917
+ # shared namespaces, see [Cross-account Cloud Map namespace
918
+ # sharing][1] in the *Cloud Map Developer Guide*.
919
+ #
920
+ #
921
+ #
922
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
861
923
  # @return [String]
862
924
  #
863
925
  # @!attribute [rw] instance_id
@@ -873,6 +935,13 @@ module Aws::ServiceDiscovery
873
935
  include Aws::Structure
874
936
  end
875
937
 
938
+ # @!attribute [rw] resource_owner
939
+ # The ID of the Amazon Web Services account that created the namespace
940
+ # that contains the service that the instance is associated with. If
941
+ # this isn't your account ID, it's the ID of the account that shared
942
+ # the namespace with your account.
943
+ # @return [String]
944
+ #
876
945
  # @!attribute [rw] instance
877
946
  # A complex type that contains information about a specified instance.
878
947
  # @return [Types::Instance]
@@ -880,13 +949,22 @@ module Aws::ServiceDiscovery
880
949
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstanceResponse AWS API Documentation
881
950
  #
882
951
  class GetInstanceResponse < Struct.new(
952
+ :resource_owner,
883
953
  :instance)
884
954
  SENSITIVE = []
885
955
  include Aws::Structure
886
956
  end
887
957
 
888
958
  # @!attribute [rw] service_id
889
- # The ID of the service that the instance is associated with.
959
+ # The ID or Amazon Resource Name (ARN) of the service that the
960
+ # instance is associated with. For services created in a shared
961
+ # namespace, specify the service ARN. For more information about
962
+ # shared namespaces, see [Cross-account Cloud Map namespace
963
+ # sharing][1] in the *Cloud Map Developer Guide*.
964
+ #
965
+ #
966
+ #
967
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
890
968
  # @return [String]
891
969
  #
892
970
  # @!attribute [rw] instances
@@ -956,7 +1034,15 @@ module Aws::ServiceDiscovery
956
1034
  end
957
1035
 
958
1036
  # @!attribute [rw] id
959
- # The ID of the namespace that you want to get information about.
1037
+ # The ID or Amazon Resource Name (ARN) of the namespace that you want
1038
+ # to get information about. For namespaces shared with your Amazon Web
1039
+ # Services account, specify the namespace ARN. For more information
1040
+ # about shared namespaces, see [Cross-account Cloud Map namespace
1041
+ # sharing][1] in the *Cloud Map Developer Guide*
1042
+ #
1043
+ #
1044
+ #
1045
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
960
1046
  # @return [String]
961
1047
  #
962
1048
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespaceRequest AWS API Documentation
@@ -984,10 +1070,19 @@ module Aws::ServiceDiscovery
984
1070
  # The ID of the operation that you want to get more information about.
985
1071
  # @return [String]
986
1072
  #
1073
+ # @!attribute [rw] owner_account
1074
+ # The ID of the Amazon Web Services account that owns the namespace
1075
+ # associated with the operation, as specified in the namespace
1076
+ # `ResourceOwner` field. For operations associated with namespaces
1077
+ # that are shared with your account, you must specify an
1078
+ # `OwnerAccount`.
1079
+ # @return [String]
1080
+ #
987
1081
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperationRequest AWS API Documentation
988
1082
  #
989
1083
  class GetOperationRequest < Struct.new(
990
- :operation_id)
1084
+ :operation_id,
1085
+ :owner_account)
991
1086
  SENSITIVE = []
992
1087
  include Aws::Structure
993
1088
  end
@@ -1005,7 +1100,15 @@ module Aws::ServiceDiscovery
1005
1100
  end
1006
1101
 
1007
1102
  # @!attribute [rw] service_id
1008
- # The ID of the service that you want to get attributes for.
1103
+ # The ID or Amazon Resource Name (ARN) of the service that you want to
1104
+ # get attributes for. For services created in a namespace shared with
1105
+ # your Amazon Web Services account, specify the service ARN. For more
1106
+ # information about shared namespaces, see [Cross-account Cloud Map
1107
+ # namespace sharing][1] in the *Cloud Map Developer Guide*.
1108
+ #
1109
+ #
1110
+ #
1111
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
1009
1112
  # @return [String]
1010
1113
  #
1011
1114
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetServiceAttributesRequest AWS API Documentation
@@ -1030,7 +1133,15 @@ module Aws::ServiceDiscovery
1030
1133
  end
1031
1134
 
1032
1135
  # @!attribute [rw] id
1033
- # The ID of the service that you want to get settings for.
1136
+ # The ID or Amazon Resource Name (ARN) of the service that you want to
1137
+ # get settings for. For services created by consumers in a shared
1138
+ # namespace, specify the service ARN. For more information about
1139
+ # shared namespaces, see [Cross-account Cloud Map namespace
1140
+ # sharing][1] in the *Cloud Map Developer Guide*.
1141
+ #
1142
+ #
1143
+ #
1144
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
1034
1145
  # @return [String]
1035
1146
  #
1036
1147
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetServiceRequest AWS API Documentation
@@ -1277,9 +1388,8 @@ module Aws::ServiceDiscovery
1277
1388
  # @return [String]
1278
1389
  #
1279
1390
  # @!attribute [rw] namespace_name
1280
- # ` </p> The HttpName name of the namespace. It's found in the
1281
- # HttpProperties member of the Properties member of the namespace.
1282
- # `
1391
+ # The `HttpName` name of the namespace. It's found in the
1392
+ # `HttpProperties` member of the `Properties` member of the namespace.
1283
1393
  # @return [String]
1284
1394
  #
1285
1395
  # @!attribute [rw] service_name
@@ -1487,12 +1597,26 @@ module Aws::ServiceDiscovery
1487
1597
  # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html#Route53-Type-AliasTarget-DNSName
1488
1598
  # @return [Hash<String,String>]
1489
1599
  #
1600
+ # @!attribute [rw] created_by_account
1601
+ # The ID of the Amazon Web Services account that registered the
1602
+ # instance. If this isn't your account ID, it's the ID of the
1603
+ # account that shared the namespace with your account or the ID of
1604
+ # another account with which the namespace has been shared. For more
1605
+ # information about shared namespaces, see [Cross-account Cloud Map
1606
+ # namespace sharing][1] in the *Cloud Map Developer Guide*.
1607
+ #
1608
+ #
1609
+ #
1610
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
1611
+ # @return [String]
1612
+ #
1490
1613
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Instance AWS API Documentation
1491
1614
  #
1492
1615
  class Instance < Struct.new(
1493
1616
  :id,
1494
1617
  :creator_request_id,
1495
- :attributes)
1618
+ :attributes,
1619
+ :created_by_account)
1496
1620
  SENSITIVE = []
1497
1621
  include Aws::Structure
1498
1622
  end
@@ -1572,11 +1696,25 @@ module Aws::ServiceDiscovery
1572
1696
  # on the endpoint that Route 53 sends requests to.
1573
1697
  # @return [Hash<String,String>]
1574
1698
  #
1699
+ # @!attribute [rw] created_by_account
1700
+ # The ID of the Amazon Web Services account that registered the
1701
+ # instance. If this isn't your account ID, it's the ID of the
1702
+ # account that shared the namespace with your account or the ID of
1703
+ # another account with which the namespace has been shared. For more
1704
+ # information about shared namespaces, see [Cross-account Cloud Map
1705
+ # namespace sharing][1] in the *Cloud Map Developer Guide*.
1706
+ #
1707
+ #
1708
+ #
1709
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
1710
+ # @return [String]
1711
+ #
1575
1712
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/InstanceSummary AWS API Documentation
1576
1713
  #
1577
1714
  class InstanceSummary < Struct.new(
1578
1715
  :id,
1579
- :attributes)
1716
+ :attributes,
1717
+ :created_by_account)
1580
1718
  SENSITIVE = []
1581
1719
  include Aws::Structure
1582
1720
  end
@@ -1597,7 +1735,15 @@ module Aws::ServiceDiscovery
1597
1735
  end
1598
1736
 
1599
1737
  # @!attribute [rw] service_id
1600
- # The ID of the service that you want to list instances for.
1738
+ # The ID or Amazon Resource Name (ARN) of the service that you want to
1739
+ # list instances for. For services created in a shared namespace,
1740
+ # specify the service ARN. For more information about shared
1741
+ # namespaces, see [Cross-account Cloud Map namespace sharing][1] in
1742
+ # the *Cloud Map Developer Guide*.
1743
+ #
1744
+ #
1745
+ #
1746
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
1601
1747
  # @return [String]
1602
1748
  #
1603
1749
  # @!attribute [rw] next_token
@@ -1625,6 +1771,13 @@ module Aws::ServiceDiscovery
1625
1771
  include Aws::Structure
1626
1772
  end
1627
1773
 
1774
+ # @!attribute [rw] resource_owner
1775
+ # The ID of the Amazon Web Services account that created the namespace
1776
+ # that contains the specified service. If this isn't your account ID,
1777
+ # it's the ID of the account that shared the namespace with your
1778
+ # account.
1779
+ # @return [String]
1780
+ #
1628
1781
  # @!attribute [rw] instances
1629
1782
  # Summary information about the instances that are associated with the
1630
1783
  # specified service.
@@ -1640,6 +1793,7 @@ module Aws::ServiceDiscovery
1640
1793
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstancesResponse AWS API Documentation
1641
1794
  #
1642
1795
  class ListInstancesResponse < Struct.new(
1796
+ :resource_owner,
1643
1797
  :instances,
1644
1798
  :next_token)
1645
1799
  SENSITIVE = []
@@ -1891,6 +2045,18 @@ module Aws::ServiceDiscovery
1891
2045
  # namespace when you create it.
1892
2046
  # @return [String]
1893
2047
  #
2048
+ # @!attribute [rw] resource_owner
2049
+ # The ID of the Amazon Web Services account that created the
2050
+ # namespace. If this isn't your account ID, it's the ID of the
2051
+ # account that shared the namespace with your account. For more
2052
+ # information about shared namespaces, see [Cross-account Cloud Map
2053
+ # namespace sharing][1] in the *Cloud Map Developer Guide*.
2054
+ #
2055
+ #
2056
+ #
2057
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
2058
+ # @return [String]
2059
+ #
1894
2060
  # @!attribute [rw] name
1895
2061
  # The name of the namespace, such as `example.com`.
1896
2062
  # @return [String]
@@ -1947,6 +2113,7 @@ module Aws::ServiceDiscovery
1947
2113
  class Namespace < Struct.new(
1948
2114
  :id,
1949
2115
  :arn,
2116
+ :resource_owner,
1950
2117
  :name,
1951
2118
  :type,
1952
2119
  :description,
@@ -1993,6 +2160,16 @@ module Aws::ServiceDiscovery
1993
2160
  # * `NAME`: Gets the namespaces with the specified name.
1994
2161
  #
1995
2162
  # * `HTTP_NAME`: Gets the namespaces with the specified HTTP name.
2163
+ #
2164
+ # * `RESOURCE_OWNER`: Gets the namespaces created by your Amazon Web
2165
+ # Services account or by other accounts. This can be used to filter
2166
+ # for shared namespaces. For more information about shared
2167
+ # namespaces, see [Cross-account Cloud Map namespace sharing][1] in
2168
+ # the *Cloud Map Developer Guide*.
2169
+ #
2170
+ #
2171
+ #
2172
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
1996
2173
  # @return [String]
1997
2174
  #
1998
2175
  # @!attribute [rw] values
@@ -2006,6 +2183,11 @@ module Aws::ServiceDiscovery
2006
2183
  #
2007
2184
  # * `HTTP_NAME`: Specify the HTTP name of the namespace, which is
2008
2185
  # found in `Namespace.Properties.HttpProperties.HttpName`.
2186
+ #
2187
+ # * `RESOURCE_OWNER`: Specify one of `SELF` or `OTHER_ACCOUNTS`.
2188
+ # `SELF` can be used to filter namespaces created by you and
2189
+ # `OTHER_ACCOUNTS` can be used to filter namespaces shared with you
2190
+ # that were created by other accounts.
2009
2191
  # @return [Array<String>]
2010
2192
  #
2011
2193
  # @!attribute [rw] condition
@@ -2014,8 +2196,8 @@ module Aws::ServiceDiscovery
2014
2196
  # are one of the following.
2015
2197
  #
2016
2198
  # * `EQ`: When you specify `EQ` for `Condition`, you can specify only
2017
- # one value. `EQ` is supported for `TYPE`, `NAME`, and `HTTP_NAME`.
2018
- # `EQ` is the default condition and can be omitted.
2199
+ # one value. `EQ` is supported for `TYPE`, `NAME`, `RESOURCE_OWNER`
2200
+ # and `HTTP_NAME`. `EQ` is the default condition and can be omitted.
2019
2201
  #
2020
2202
  # * `BEGINS_WITH`: When you specify `BEGINS_WITH` for `Condition`, you
2021
2203
  # can specify only one value. `BEGINS_WITH` is supported for `TYPE`,
@@ -2077,6 +2259,18 @@ module Aws::ServiceDiscovery
2077
2259
  # namespace when you create it.
2078
2260
  # @return [String]
2079
2261
  #
2262
+ # @!attribute [rw] resource_owner
2263
+ # The ID of the Amazon Web Services account that created the
2264
+ # namespace. If this isn't your account ID, it's the ID of the
2265
+ # account that shared the namespace with your account. For more
2266
+ # information about shared namespaces, see [Cross-account Cloud Map
2267
+ # namespace sharing][1] in the *Cloud Map Developer Guide*.
2268
+ #
2269
+ #
2270
+ #
2271
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
2272
+ # @return [String]
2273
+ #
2080
2274
  # @!attribute [rw] name
2081
2275
  # The name of the namespace. When you create a namespace, Cloud Map
2082
2276
  # automatically creates a Route 53 hosted zone that has the same name
@@ -2108,6 +2302,7 @@ module Aws::ServiceDiscovery
2108
2302
  class NamespaceSummary < Struct.new(
2109
2303
  :id,
2110
2304
  :arn,
2305
+ :resource_owner,
2111
2306
  :name,
2112
2307
  :type,
2113
2308
  :description,
@@ -2124,6 +2319,11 @@ module Aws::ServiceDiscovery
2124
2319
  # The ID of the operation that you want to get information about.
2125
2320
  # @return [String]
2126
2321
  #
2322
+ # @!attribute [rw] owner_account
2323
+ # The ID of the Amazon Web Services account that owns the namespace
2324
+ # associated with the operation.
2325
+ # @return [String]
2326
+ #
2127
2327
  # @!attribute [rw] type
2128
2328
  # The name of the operation that's associated with the specified ID.
2129
2329
  # @return [String]
@@ -2209,6 +2409,7 @@ module Aws::ServiceDiscovery
2209
2409
  #
2210
2410
  class Operation < Struct.new(
2211
2411
  :id,
2412
+ :owner_account,
2212
2413
  :type,
2213
2414
  :status,
2214
2415
  :error_message,
@@ -2493,8 +2694,15 @@ module Aws::ServiceDiscovery
2493
2694
  end
2494
2695
 
2495
2696
  # @!attribute [rw] service_id
2496
- # The ID of the service that you want to use for settings for the
2497
- # instance.
2697
+ # The ID or Amazon Resource Name (ARN) of the service that you want to
2698
+ # use for settings for the instance. For services created in a shared
2699
+ # namespace, specify the service ARN. For more information about
2700
+ # shared namespaces, see [Cross-account Cloud Map namespace
2701
+ # sharing][1] in the *Cloud Map Developer Guide*.
2702
+ #
2703
+ #
2704
+ #
2705
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
2498
2706
  # @return [String]
2499
2707
  #
2500
2708
  # @!attribute [rw] instance_id
@@ -2797,6 +3005,19 @@ module Aws::ServiceDiscovery
2797
3005
  # when you create it.
2798
3006
  # @return [String]
2799
3007
  #
3008
+ # @!attribute [rw] resource_owner
3009
+ # The ID of the Amazon Web Services account that created the namespace
3010
+ # with which the service is associated. If this isn't your account
3011
+ # ID, it is the ID of the account that shared the namespace with your
3012
+ # account. For more information about shared namespaces, see
3013
+ # [Cross-account Cloud Map namespace sharing][1] in the *Cloud Map
3014
+ # Developer Guide*.
3015
+ #
3016
+ #
3017
+ #
3018
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
3019
+ # @return [String]
3020
+ #
2800
3021
  # @!attribute [rw] name
2801
3022
  # The name of the service.
2802
3023
  # @return [String]
@@ -2880,11 +3101,25 @@ module Aws::ServiceDiscovery
2880
3101
  # date/timestamp).
2881
3102
  # @return [String]
2882
3103
  #
3104
+ # @!attribute [rw] created_by_account
3105
+ # The ID of the Amazon Web Services account that created the service.
3106
+ # If this isn't your account ID, it is the ID of account of the
3107
+ # namespace owner or of another account with which the namespace has
3108
+ # been shared. For more information about shared namespaces, see
3109
+ # [Cross-account Cloud Map namespace sharing][1] in the *Cloud Map
3110
+ # Developer Guide*.
3111
+ #
3112
+ #
3113
+ #
3114
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
3115
+ # @return [String]
3116
+ #
2883
3117
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Service AWS API Documentation
2884
3118
  #
2885
3119
  class Service < Struct.new(
2886
3120
  :id,
2887
3121
  :arn,
3122
+ :resource_owner,
2888
3123
  :name,
2889
3124
  :namespace_id,
2890
3125
  :description,
@@ -2894,7 +3129,8 @@ module Aws::ServiceDiscovery
2894
3129
  :health_check_config,
2895
3130
  :health_check_custom_config,
2896
3131
  :create_date,
2897
- :creator_request_id)
3132
+ :creator_request_id,
3133
+ :created_by_account)
2898
3134
  SENSITIVE = []
2899
3135
  include Aws::Structure
2900
3136
  end
@@ -2913,12 +3149,17 @@ module Aws::ServiceDiscovery
2913
3149
  # The ID of the existing service.
2914
3150
  # @return [String]
2915
3151
  #
3152
+ # @!attribute [rw] service_arn
3153
+ # The ARN of the existing service.
3154
+ # @return [String]
3155
+ #
2916
3156
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceAlreadyExists AWS API Documentation
2917
3157
  #
2918
3158
  class ServiceAlreadyExists < Struct.new(
2919
3159
  :message,
2920
3160
  :creator_request_id,
2921
- :service_id)
3161
+ :service_id,
3162
+ :service_arn)
2922
3163
  SENSITIVE = []
2923
3164
  include Aws::Structure
2924
3165
  end
@@ -2930,6 +3171,19 @@ module Aws::ServiceDiscovery
2930
3171
  # The ARN of the service that the attributes are associated with.
2931
3172
  # @return [String]
2932
3173
  #
3174
+ # @!attribute [rw] resource_owner
3175
+ # The ID of the Amazon Web Services account that created the namespace
3176
+ # with which the service is associated. If this isn't your account
3177
+ # ID, it is the ID of the account that shared the namespace with your
3178
+ # account. For more information about shared namespaces, see
3179
+ # [Cross-account Cloud Map namespace sharing][1] in the *Cloud Map
3180
+ # Developer Guide*.
3181
+ #
3182
+ #
3183
+ #
3184
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
3185
+ # @return [String]
3186
+ #
2933
3187
  # @!attribute [rw] attributes
2934
3188
  # A string map that contains the following information for the service
2935
3189
  # that you specify in `ServiceArn`:
@@ -2945,6 +3199,7 @@ module Aws::ServiceDiscovery
2945
3199
  #
2946
3200
  class ServiceAttributes < Struct.new(
2947
3201
  :service_arn,
3202
+ :resource_owner,
2948
3203
  :attributes)
2949
3204
  SENSITIVE = []
2950
3205
  include Aws::Structure
@@ -2996,12 +3251,36 @@ module Aws::ServiceDiscovery
2996
3251
  # list services for.
2997
3252
  #
2998
3253
  # @!attribute [rw] name
2999
- # Specify `NAMESPACE_ID`.
3254
+ # Specify the services that you want to get using one of the
3255
+ # following.
3256
+ #
3257
+ # * `NAMESPACE_ID`: Gets the services associated with the specified
3258
+ # namespace.
3259
+ #
3260
+ # * `RESOURCE_OWNER`: Gets the services associated with the namespaces
3261
+ # created by your Amazon Web Services account or by other accounts.
3262
+ # This can be used to filter for services created in a shared
3263
+ # namespace. For more information about shared namespaces, see
3264
+ # [Cross-account Cloud Map namespace sharing][1] in the *Cloud Map
3265
+ # Developer Guide*.
3266
+ #
3267
+ #
3268
+ #
3269
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
3000
3270
  # @return [String]
3001
3271
  #
3002
3272
  # @!attribute [rw] values
3003
3273
  # The values that are applicable to the value that you specify for
3004
3274
  # `Condition` to filter the list of services.
3275
+ #
3276
+ # * **NAMESPACE\_ID**: Specify one namespace ID or ARN. Specify the
3277
+ # namespace ARN for namespaces that are shared with your Amazon Web
3278
+ # Services account.
3279
+ #
3280
+ # * **RESOURCE\_OWNER**: Specify one of `SELF` or `OTHER_ACCOUNTS`.
3281
+ # `SELF` can be used to filter services associated with namespaces
3282
+ # created by you and `OTHER_ACCOUNTS` can be used to filter services
3283
+ # associated with namespaces that were shared with you.
3005
3284
  # @return [Array<String>]
3006
3285
  #
3007
3286
  # @!attribute [rw] condition
@@ -3009,8 +3288,8 @@ module Aws::ServiceDiscovery
3009
3288
  # returned by `ListServices`. Valid values for `Condition` include the
3010
3289
  # following:
3011
3290
  #
3012
- # * `EQ`: When you specify `EQ`, specify one namespace ID for
3013
- # `Values`. `EQ` is the default condition and can be omitted.
3291
+ # * `EQ`: When you specify `EQ`, specify one value. `EQ` is the
3292
+ # default condition and can be omitted.
3014
3293
  #
3015
3294
  # ^
3016
3295
  # @return [String]
@@ -3049,6 +3328,19 @@ module Aws::ServiceDiscovery
3049
3328
  # when you create it.
3050
3329
  # @return [String]
3051
3330
  #
3331
+ # @!attribute [rw] resource_owner
3332
+ # The ID of the Amazon Web Services account that created the namespace
3333
+ # with which the service is associated. If this isn't your account
3334
+ # ID, it is the ID of the account that shared the namespace with your
3335
+ # account. For more information about shared namespaces, see
3336
+ # [Cross-account Cloud Map namespace sharing][1] in the *Cloud Map
3337
+ # Developer Guide*.
3338
+ #
3339
+ #
3340
+ #
3341
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
3342
+ # @return [String]
3343
+ #
3052
3344
  # @!attribute [rw] name
3053
3345
  # The name of the service.
3054
3346
  # @return [String]
@@ -3118,11 +3410,25 @@ module Aws::ServiceDiscovery
3118
3410
  # The date and time that the service was created.
3119
3411
  # @return [Time]
3120
3412
  #
3413
+ # @!attribute [rw] created_by_account
3414
+ # The ID of the Amazon Web Services account that created the service.
3415
+ # If this isn't your account ID, it is the account ID of the
3416
+ # namespace owner or of another account with which the namespace has
3417
+ # been shared. For more information about shared namespaces, see
3418
+ # [Cross-account Cloud Map namespace sharing][1] in the *Cloud Map
3419
+ # Developer Guide*.
3420
+ #
3421
+ #
3422
+ #
3423
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
3424
+ # @return [String]
3425
+ #
3121
3426
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceSummary AWS API Documentation
3122
3427
  #
3123
3428
  class ServiceSummary < Struct.new(
3124
3429
  :id,
3125
3430
  :arn,
3431
+ :resource_owner,
3126
3432
  :name,
3127
3433
  :type,
3128
3434
  :description,
@@ -3130,7 +3436,8 @@ module Aws::ServiceDiscovery
3130
3436
  :dns_config,
3131
3437
  :health_check_config,
3132
3438
  :health_check_custom_config,
3133
- :create_date)
3439
+ :create_date,
3440
+ :created_by_account)
3134
3441
  SENSITIVE = []
3135
3442
  include Aws::Structure
3136
3443
  end
@@ -3222,7 +3529,8 @@ module Aws::ServiceDiscovery
3222
3529
  class UntagResourceResponse < Aws::EmptyStructure; end
3223
3530
 
3224
3531
  # @!attribute [rw] id
3225
- # The ID of the namespace that you want to update.
3532
+ # The ID or Amazon Resource Name (ARN) of the namespace that you want
3533
+ # to update.
3226
3534
  # @return [String]
3227
3535
  #
3228
3536
  # @!attribute [rw] updater_request_id
@@ -3268,8 +3576,16 @@ module Aws::ServiceDiscovery
3268
3576
  end
3269
3577
 
3270
3578
  # @!attribute [rw] service_id
3271
- # The ID of the service that includes the configuration for the custom
3272
- # health check that you want to change the status for.
3579
+ # The ID or Amazon Resource Name (ARN) of the service that includes
3580
+ # the configuration for the custom health check that you want to
3581
+ # change the status for. For services created in a shared namespace,
3582
+ # specify the service ARN. For more information about shared
3583
+ # namespaces, see [Cross-account Cloud Map namespace sharing][1] in
3584
+ # the *Cloud Map Developer Guide*.
3585
+ #
3586
+ #
3587
+ #
3588
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
3273
3589
  # @return [String]
3274
3590
  #
3275
3591
  # @!attribute [rw] instance_id
@@ -3292,7 +3608,8 @@ module Aws::ServiceDiscovery
3292
3608
  end
3293
3609
 
3294
3610
  # @!attribute [rw] id
3295
- # The ID of the namespace that you want to update.
3611
+ # The ID or Amazon Resource Name (ARN) of the namespace that you want
3612
+ # to update.
3296
3613
  # @return [String]
3297
3614
  #
3298
3615
  # @!attribute [rw] updater_request_id
@@ -3338,7 +3655,7 @@ module Aws::ServiceDiscovery
3338
3655
  end
3339
3656
 
3340
3657
  # @!attribute [rw] id
3341
- # The ID of the namespace being updated.
3658
+ # The ID or Amazon Resource Name (ARN) of the namespace being updated.
3342
3659
  # @return [String]
3343
3660
  #
3344
3661
  # @!attribute [rw] updater_request_id
@@ -3384,7 +3701,9 @@ module Aws::ServiceDiscovery
3384
3701
  end
3385
3702
 
3386
3703
  # @!attribute [rw] service_id
3387
- # The ID of the service that you want to update.
3704
+ # The ID or Amazon Resource Name (ARN) of the service that you want to
3705
+ # update. For services created in a namespace shared with your Amazon
3706
+ # Web Services account, specify the service ARN.
3388
3707
  # @return [String]
3389
3708
  #
3390
3709
  # @!attribute [rw] attributes
@@ -3405,7 +3724,15 @@ module Aws::ServiceDiscovery
3405
3724
  class UpdateServiceAttributesResponse < Aws::EmptyStructure; end
3406
3725
 
3407
3726
  # @!attribute [rw] id
3408
- # The ID of the service that you want to update.
3727
+ # The ID or Amazon Resource Name (ARN) of the service that you want to
3728
+ # update. If the namespace associated with the service is shared with
3729
+ # your Amazon Web Services account, specify the service ARN. For more
3730
+ # information about shared namespaces, see [Cross-account Cloud Map
3731
+ # namespace sharing][1] in the *Cloud Map Developer Guide*
3732
+ #
3733
+ #
3734
+ #
3735
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
3409
3736
  # @return [String]
3410
3737
  #
3411
3738
  # @!attribute [rw] service