aws-sdk-servicediscovery 1.34.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 995c80b3744ab84e37ee31750176408762a73e7fb97d8bef7c9fa24128708657
4
- data.tar.gz: 415505081bc5218c11ae643cd22ebb57343fd6dd644090c2464dfd9dca6b17d3
3
+ metadata.gz: 0040bb67b527fcc6279c1aad740bec25f04552919560d3a8c1c44057f372d64d
4
+ data.tar.gz: dc5ecb102b8dc933dba3ead56ee86afbc242a97fc879581b60d62c1a531d139e
5
5
  SHA512:
6
- metadata.gz: 7be1c996ffaa01f5f3c59d4e9f76e3bfd7e2326f55be511cda1aa91b064b5ef93dd39c0099d582bc6fbc05765013d88bc603fb125ff7d4190a294a2719de78ba
7
- data.tar.gz: a063f7d05b748a907d430e589d93bc7861ed1200b7233b71592d6a24157833f11230f485be1b0042ccbaaf3d762f39b67d477db06f0b858f5255829b13c2ffc2
6
+ metadata.gz: cba7ef8d685a6e5415f7b9cd0e9bda826c19caa33b355cad4d94e25d7b39b5849618585f041b0038a9a33aaf185c717f3ad562f91def45607e47ea69d77d1d53
7
+ data.tar.gz: be07b2e880aa0ac9c7f5fa2fc94ba84e91bdf2a48db2babd82136f5ec2b68f8a28f23f3c1bba2e13449883f771e37d01b781b324cc7b1113a25c09ee3fa3c5a2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.38.0 (2021-07-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.37.0 (2021-06-30)
10
+ ------------------
11
+
12
+ * Feature - AWS Cloud Map now allows configuring the TTL of the SOA record for a hosted zone to control the negative caching for new services.
13
+
14
+ 1.36.0 (2021-06-01)
15
+ ------------------
16
+
17
+ * Feature - Bugfixes - The DiscoverInstances API operation now provides an option to return all instances for health-checked services when there are no healthy instances available.
18
+
19
+ 1.35.0 (2021-05-06)
20
+ ------------------
21
+
22
+ * Feature - Bugfix: Improved input validation for RegisterInstance action, InstanceId field
23
+
4
24
  1.34.0 (2021-03-10)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.34.0
1
+ 1.38.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-servicediscovery/customizations'
48
48
  # @!group service
49
49
  module Aws::ServiceDiscovery
50
50
 
51
- GEM_VERSION = '1.34.0'
51
+ GEM_VERSION = '1.38.0'
52
52
 
53
53
  end
@@ -337,13 +337,13 @@ module Aws::ServiceDiscovery
337
337
 
338
338
  # @!group API Operations
339
339
 
340
- # Creates an HTTP namespace. Service instances that you register using
341
- # an HTTP namespace can be discovered using a `DiscoverInstances`
342
- # request but can't be discovered using DNS.
340
+ # Creates an HTTP namespace. Service instances registered using an HTTP
341
+ # namespace can be discovered using a `DiscoverInstances` request but
342
+ # can't be discovered using DNS.
343
343
  #
344
344
  # For the current quota on the number of namespaces that you can create
345
- # using the same AWS account, see [AWS Cloud Map quotas][1] in the *AWS
346
- # Cloud Map Developer Guide*.
345
+ # using the same account, see [Cloud Map quotas][1] in the *Cloud Map
346
+ # Developer Guide*.
347
347
  #
348
348
  #
349
349
  #
@@ -355,8 +355,8 @@ module Aws::ServiceDiscovery
355
355
  # @option params [String] :creator_request_id
356
356
  # A unique string that identifies the request and that allows failed
357
357
  # `CreateHttpNamespace` requests to be retried without the risk of
358
- # executing the operation twice. `CreatorRequestId` can be any unique
359
- # string, for example, a date/time stamp.
358
+ # running the operation twice. `CreatorRequestId` can be any unique
359
+ # string (for example, a date/time stamp).
360
360
  #
361
361
  # **A suitable default value is auto-generated.** You should normally
362
362
  # not need to pass this option.**
@@ -366,9 +366,8 @@ module Aws::ServiceDiscovery
366
366
  #
367
367
  # @option params [Array<Types::Tag>] :tags
368
368
  # The tags to add to the namespace. Each tag consists of a key and an
369
- # optional value, both of which you define. Tag keys can have a maximum
370
- # character length of 128 characters, and tag values can have a maximum
371
- # length of 256 characters.
369
+ # optional value that you define. Tags keys can be up to 128 characters
370
+ # in length, and tag values can be up to 256 characters in length.
372
371
  #
373
372
  # @return [Types::CreateHttpNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
374
373
  #
@@ -417,13 +416,15 @@ module Aws::ServiceDiscovery
417
416
  req.send_request(options)
418
417
  end
419
418
 
420
- # Creates a private namespace based on DNS, which will be visible only
421
- # inside a specified Amazon VPC. The namespace defines your service
422
- # naming scheme. For example, if you name your namespace `example.com`
423
- # and name your service `backend`, the resulting DNS name for the
424
- # service will be `backend.example.com`. For the current quota on the
425
- # number of namespaces that you can create using the same AWS account,
426
- # see [AWS Cloud Map Limits][1] in the *AWS Cloud Map Developer Guide*.
419
+ # Creates a private namespace based on DNS, which is visible only inside
420
+ # a specified Amazon VPC. The namespace defines your service naming
421
+ # scheme. For example, if you name your namespace `example.com` and name
422
+ # your service `backend`, the resulting DNS name for the service is
423
+ # `backend.example.com`. Service instances that are registered using a
424
+ # private DNS namespace can be discovered using either a
425
+ # `DiscoverInstances` request or using DNS. For the current quota on the
426
+ # number of namespaces that you can create using the same account, see
427
+ # [Cloud Map quotas][1] in the *Cloud Map Developer Guide*.
427
428
  #
428
429
  #
429
430
  #
@@ -431,14 +432,14 @@ module Aws::ServiceDiscovery
431
432
  #
432
433
  # @option params [required, String] :name
433
434
  # The name that you want to assign to this namespace. When you create a
434
- # private DNS namespace, AWS Cloud Map automatically creates an Amazon
435
- # Route 53 private hosted zone that has the same name as the namespace.
435
+ # private DNS namespace, Cloud Map automatically creates an Amazon Route
436
+ # 53 private hosted zone that has the same name as the namespace.
436
437
  #
437
438
  # @option params [String] :creator_request_id
438
439
  # A unique string that identifies the request and that allows failed
439
440
  # `CreatePrivateDnsNamespace` requests to be retried without the risk of
440
- # executing the operation twice. `CreatorRequestId` can be any unique
441
- # string, for example, a date/time stamp.
441
+ # running the operation twice. `CreatorRequestId` can be any unique
442
+ # string (for example, a date/timestamp).
442
443
  #
443
444
  # **A suitable default value is auto-generated.** You should normally
444
445
  # not need to pass this option.**
@@ -452,9 +453,11 @@ module Aws::ServiceDiscovery
452
453
  #
453
454
  # @option params [Array<Types::Tag>] :tags
454
455
  # The tags to add to the namespace. Each tag consists of a key and an
455
- # optional value, both of which you define. Tag keys can have a maximum
456
- # character length of 128 characters, and tag values can have a maximum
457
- # length of 256 characters.
456
+ # optional value that you define. Tags keys can be up to 128 characters
457
+ # in length, and tag values can be up to 256 characters in length.
458
+ #
459
+ # @option params [Types::PrivateDnsNamespaceProperties] :properties
460
+ # Properties for the private DNS namespace.
458
461
  #
459
462
  # @return [Types::CreatePrivateDnsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
460
463
  #
@@ -489,6 +492,13 @@ module Aws::ServiceDiscovery
489
492
  # value: "TagValue", # required
490
493
  # },
491
494
  # ],
495
+ # properties: {
496
+ # dns_properties: { # required
497
+ # soa: { # required
498
+ # ttl: 1, # required
499
+ # },
500
+ # },
501
+ # },
492
502
  # })
493
503
  #
494
504
  # @example Response structure
@@ -504,13 +514,15 @@ module Aws::ServiceDiscovery
504
514
  req.send_request(options)
505
515
  end
506
516
 
507
- # Creates a public namespace based on DNS, which will be visible on the
517
+ # Creates a public namespace based on DNS, which is visible on the
508
518
  # internet. The namespace defines your service naming scheme. For
509
519
  # example, if you name your namespace `example.com` and name your
510
- # service `backend`, the resulting DNS name for the service will be
511
- # `backend.example.com`. For the current quota on the number of
512
- # namespaces that you can create using the same AWS account, see [AWS
513
- # Cloud Map Limits][1] in the *AWS Cloud Map Developer Guide*.
520
+ # service `backend`, the resulting DNS name for the service is
521
+ # `backend.example.com`. You can discover instances that were registered
522
+ # with a public DNS namespace by using either a `DiscoverInstances`
523
+ # request or using DNS. For the current quota on the number of
524
+ # namespaces that you can create using the same account, see [Cloud Map
525
+ # quotas][1] in the *Cloud Map Developer Guide*.
514
526
  #
515
527
  #
516
528
  #
@@ -522,8 +534,8 @@ module Aws::ServiceDiscovery
522
534
  # @option params [String] :creator_request_id
523
535
  # A unique string that identifies the request and that allows failed
524
536
  # `CreatePublicDnsNamespace` requests to be retried without the risk of
525
- # executing the operation twice. `CreatorRequestId` can be any unique
526
- # string, for example, a date/time stamp.
537
+ # running the operation twice. `CreatorRequestId` can be any unique
538
+ # string (for example, a date/timestamp).
527
539
  #
528
540
  # **A suitable default value is auto-generated.** You should normally
529
541
  # not need to pass this option.**
@@ -533,9 +545,11 @@ module Aws::ServiceDiscovery
533
545
  #
534
546
  # @option params [Array<Types::Tag>] :tags
535
547
  # The tags to add to the namespace. Each tag consists of a key and an
536
- # optional value, both of which you define. Tag keys can have a maximum
537
- # character length of 128 characters, and tag values can have a maximum
538
- # length of 256 characters.
548
+ # optional value that you define. Tags keys can be up to 128 characters
549
+ # in length, and tag values can be up to 256 characters in length.
550
+ #
551
+ # @option params [Types::PublicDnsNamespaceProperties] :properties
552
+ # Properties for the public DNS namespace.
539
553
  #
540
554
  # @return [Types::CreatePublicDnsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
541
555
  #
@@ -569,6 +583,13 @@ module Aws::ServiceDiscovery
569
583
  # value: "TagValue", # required
570
584
  # },
571
585
  # ],
586
+ # properties: {
587
+ # dns_properties: { # required
588
+ # soa: { # required
589
+ # ttl: 1, # required
590
+ # },
591
+ # },
592
+ # },
572
593
  # })
573
594
  #
574
595
  # @example Response structure
@@ -584,11 +605,11 @@ module Aws::ServiceDiscovery
584
605
  req.send_request(options)
585
606
  end
586
607
 
587
- # Creates a service, which defines the configuration for the following
588
- # entities:
608
+ # Creates a service. This action defines the configuration for the
609
+ # following entities:
589
610
  #
590
611
  # * For public and private DNS namespaces, one of the following
591
- # combinations of DNS records in Amazon Route 53:
612
+ # combinations of DNS records in Amazon Route 53:
592
613
  #
593
614
  # * `A`
594
615
  #
@@ -603,12 +624,12 @@ module Aws::ServiceDiscovery
603
624
  # * Optionally, a health check
604
625
  #
605
626
  # After you create the service, you can submit a [RegisterInstance][1]
606
- # request, and AWS Cloud Map uses the values in the configuration to
607
- # create the specified entities.
627
+ # request, and Cloud Map uses the values in the configuration to create
628
+ # the specified entities.
608
629
  #
609
630
  # For the current quota on the number of instances that you can register
610
- # using the same namespace and using the same service, see [AWS Cloud
611
- # Map Limits][2] in the *AWS Cloud Map Developer Guide*.
631
+ # using the same namespace and using the same service, see [Cloud Map
632
+ # quotas][2] in the *Cloud Map Developer Guide*.
612
633
  #
613
634
  #
614
635
  #
@@ -618,25 +639,26 @@ module Aws::ServiceDiscovery
618
639
  # @option params [required, String] :name
619
640
  # The name that you want to assign to the service.
620
641
  #
621
- # If you want AWS Cloud Map to create an `SRV` record when you register
622
- # an instance, and if you're using a system that requires a specific
623
- # `SRV` format, such as [HAProxy][1], specify the following for `Name`\:
642
+ # If you want Cloud Map to create an `SRV` record when you register an
643
+ # instance and you're using a system that requires a specific `SRV`
644
+ # format, such as [HAProxy][1], specify the following for `Name`\:
624
645
  #
625
- # * Start the name with an underscore (\_), such as `_exampleservice`
646
+ # * Start the name with an underscore (\_), such as `_exampleservice`.
626
647
  #
627
- # * End the name with *.\_protocol*, such as `._tcp`
648
+ # * End the name with *.\_protocol*, such as `._tcp`.
628
649
  #
629
- # When you register an instance, AWS Cloud Map creates an `SRV` record
630
- # and assigns a name to the record by concatenating the service name and
631
- # the namespace name, for example:
650
+ # When you register an instance, Cloud Map creates an `SRV` record and
651
+ # assigns a name to the record by concatenating the service name and the
652
+ # namespace name (for example,
632
653
  #
633
- # `_exampleservice._tcp.example.com`
654
+ # `_exampleservice._tcp.example.com`).
634
655
  #
635
- # <note markdown="1"> For a single DNS namespace, you cannot create two services with names
636
- # that differ only by case (such as EXAMPLE and example). Otherwise,
637
- # these services will have the same DNS name. However, you can create
638
- # multiple HTTP services with names that differ only by case because
639
- # HTTP services are case sensitive.
656
+ # <note markdown="1"> For services that are accessible by DNS queries, you can't create
657
+ # multiple services with names that differ only by case (such as EXAMPLE
658
+ # and example). Otherwise, these services have the same DNS name and
659
+ # can't be distinguished. However, if you use a namespace that's only
660
+ # accessible by API calls, then you can create services that with names
661
+ # that differ only by case.
640
662
  #
641
663
  # </note>
642
664
  #
@@ -646,12 +668,14 @@ module Aws::ServiceDiscovery
646
668
  #
647
669
  # @option params [String] :namespace_id
648
670
  # The ID of the namespace that you want to use to create the service.
671
+ # The namespace ID must be specified, but it can be specified either
672
+ # here or in the `DnsConfig` object.
649
673
  #
650
674
  # @option params [String] :creator_request_id
651
675
  # A unique string that identifies the request and that allows failed
652
- # `CreateService` requests to be retried without the risk of executing
653
- # the operation twice. `CreatorRequestId` can be any unique string, for
654
- # example, a date/time stamp.
676
+ # `CreateService` requests to be retried without the risk of running the
677
+ # operation twice. `CreatorRequestId` can be any unique string (for
678
+ # example, a date/timestamp).
655
679
  #
656
680
  # **A suitable default value is auto-generated.** You should normally
657
681
  # not need to pass this option.**
@@ -660,21 +684,21 @@ module Aws::ServiceDiscovery
660
684
  # A description for the service.
661
685
  #
662
686
  # @option params [Types::DnsConfig] :dns_config
663
- # A complex type that contains information about the Amazon Route 53
664
- # records that you want AWS Cloud Map to create when you register an
687
+ # A complex type that contains information about the Amazon Route 53
688
+ # records that you want Cloud Map to create when you register an
665
689
  # instance.
666
690
  #
667
691
  # @option params [Types::HealthCheckConfig] :health_check_config
668
692
  # *Public DNS and HTTP namespaces only.* A complex type that contains
669
- # settings for an optional Route 53 health check. If you specify
670
- # settings for a health check, AWS Cloud Map associates the health check
671
- # with all the Route 53 DNS records that you specify in `DnsConfig`.
693
+ # settings for an optional Route 53 health check. If you specify
694
+ # settings for a health check, Cloud Map associates the health check
695
+ # with all the Route 53 DNS records that you specify in `DnsConfig`.
672
696
  #
673
697
  # If you specify a health check configuration, you can specify either
674
698
  # `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
675
699
  #
676
- # For information about the charges for health checks, see [AWS Cloud
677
- # Map Pricing][1].
700
+ # For information about the charges for health checks, see [Cloud Map
701
+ # Pricing][1].
678
702
  #
679
703
  #
680
704
  #
@@ -692,13 +716,12 @@ module Aws::ServiceDiscovery
692
716
  #
693
717
  # @option params [Array<Types::Tag>] :tags
694
718
  # The tags to add to the service. Each tag consists of a key and an
695
- # optional value, both of which you define. Tag keys can have a maximum
696
- # character length of 128 characters, and tag values can have a maximum
697
- # length of 256 characters.
719
+ # optional value that you define. Tags keys can be up to 128 characters
720
+ # in length, and tag values can be up to 256 characters in length.
698
721
  #
699
722
  # @option params [String] :type
700
723
  # If present, specifies that the service instances are only discoverable
701
- # using the `DiscoverInstances` API operation. No DNS records will be
724
+ # using the `DiscoverInstances` API operation. No DNS records is
702
725
  # registered for the service instances. The only valid value is `HTTP`.
703
726
  #
704
727
  # @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -891,8 +914,8 @@ module Aws::ServiceDiscovery
891
914
  req.send_request(options)
892
915
  end
893
916
 
894
- # Deletes the Amazon Route 53 DNS records and health check, if any, that
895
- # AWS Cloud Map created for the specified instance.
917
+ # Deletes the Amazon Route 53 DNS records and health check, if any, that
918
+ # Cloud Map created for the specified instance.
896
919
  #
897
920
  # @option params [required, String] :service_id
898
921
  # The ID of the service that the instance is associated with.
@@ -950,33 +973,53 @@ module Aws::ServiceDiscovery
950
973
  # queries to discover instances.
951
974
  #
952
975
  # @option params [required, String] :namespace_name
953
- # The name of the namespace that you specified when you registered the
954
- # instance.
976
+ # The `HttpName` name of the namespace. It's found in the
977
+ # `HttpProperties` member of the `Properties` member of the namespace.
955
978
  #
956
979
  # @option params [required, String] :service_name
957
980
  # The name of the service that you specified when you registered the
958
981
  # instance.
959
982
  #
960
983
  # @option params [Integer] :max_results
961
- # The maximum number of instances that you want AWS Cloud Map to return
962
- # in the response to a `DiscoverInstances` request. If you don't
963
- # specify a value for `MaxResults`, AWS Cloud Map returns up to 100
964
- # instances.
984
+ # The maximum number of instances that you want Cloud Map to return in
985
+ # the response to a `DiscoverInstances` request. If you don't specify a
986
+ # value for `MaxResults`, Cloud Map returns up to 100 instances.
965
987
  #
966
988
  # @option params [Hash<String,String>] :query_parameters
967
989
  # Filters to scope the results based on custom attributes for the
968
- # instance. For example, `\{version=v1, az=1a\}`. Only instances that
969
- # match all the specified key-value pairs will be returned.
990
+ # instance (for example, `\{version=v1, az=1a\}`). Only instances that
991
+ # match all the specified key-value pairs are returned.
970
992
  #
971
993
  # @option params [Hash<String,String>] :optional_parameters
972
994
  # Opportunistic filters to scope the results based on custom attributes.
973
995
  # If there are instances that match both the filters specified in both
974
- # the `QueryParameters` parameter and this parameter, they are returned.
975
- # Otherwise, these filters are ignored and only instances that match the
976
- # filters specified in the `QueryParameters` parameter are returned.
996
+ # the `QueryParameters` parameter and this parameter, all of these
997
+ # instances are returned. Otherwise, the filters are ignored, and only
998
+ # instances that match the filters that are specified in the
999
+ # `QueryParameters` parameter are returned.
977
1000
  #
978
1001
  # @option params [String] :health_status
979
- # The health status of the instances that you want to discover.
1002
+ # The health status of the instances that you want to discover. This
1003
+ # parameter is ignored for services that don't have a health check
1004
+ # configured, and all instances are returned.
1005
+ #
1006
+ # HEALTHY
1007
+ #
1008
+ # : Returns healthy instances.
1009
+ #
1010
+ # UNHEALTHY
1011
+ #
1012
+ # : Returns unhealthy instances.
1013
+ #
1014
+ # ALL
1015
+ #
1016
+ # : Returns all instances.
1017
+ #
1018
+ # HEALTHY\_OR\_ELSE\_ALL
1019
+ #
1020
+ # : Returns healthy instances, unless none are reporting a healthy
1021
+ # state. In that case, return all instances. This is also called
1022
+ # failing open.
980
1023
  #
981
1024
  # @return [Types::DiscoverInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
982
1025
  #
@@ -1022,7 +1065,7 @@ module Aws::ServiceDiscovery
1022
1065
  # optional_parameters: {
1023
1066
  # "AttrKey" => "AttrValue",
1024
1067
  # },
1025
- # health_status: "HEALTHY", # accepts HEALTHY, UNHEALTHY, ALL
1068
+ # health_status: "HEALTHY", # accepts HEALTHY, UNHEALTHY, ALL, HEALTHY_OR_ELSE_ALL
1026
1069
  # })
1027
1070
  #
1028
1071
  # @example Response structure
@@ -1106,7 +1149,7 @@ module Aws::ServiceDiscovery
1106
1149
  # Gets the current health status (`Healthy`, `Unhealthy`, or `Unknown`)
1107
1150
  # of one or more instances that are associated with a specified service.
1108
1151
  #
1109
- # <note markdown="1"> There is a brief delay between when you register an instance and when
1152
+ # <note markdown="1"> There's a brief delay between when you register an instance and when
1110
1153
  # the health status for the instance is available.
1111
1154
  #
1112
1155
  # </note>
@@ -1118,8 +1161,8 @@ module Aws::ServiceDiscovery
1118
1161
  # An array that contains the IDs of all the instances that you want to
1119
1162
  # get the health status for.
1120
1163
  #
1121
- # If you omit `Instances`, AWS Cloud Map returns the health status for
1122
- # all the instances that are associated with the specified service.
1164
+ # If you omit `Instances`, Cloud Map returns the health status for all
1165
+ # the instances that are associated with the specified service.
1123
1166
  #
1124
1167
  # <note markdown="1"> To get the IDs for the instances that you've registered by using a
1125
1168
  # specified service, submit a [ListInstances][1] request.
@@ -1131,9 +1174,9 @@ module Aws::ServiceDiscovery
1131
1174
  # [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_ListInstances.html
1132
1175
  #
1133
1176
  # @option params [Integer] :max_results
1134
- # The maximum number of instances that you want AWS Cloud Map to return
1135
- # in the response to a `GetInstancesHealthStatus` request. If you don't
1136
- # specify a value for `MaxResults`, AWS Cloud Map returns up to 100
1177
+ # The maximum number of instances that you want Cloud Map to return in
1178
+ # the response to a `GetInstancesHealthStatus` request. If you don't
1179
+ # specify a value for `MaxResults`, Cloud Map returns up to 100
1137
1180
  # instances.
1138
1181
  #
1139
1182
  # @option params [String] :next_token
@@ -1245,6 +1288,7 @@ module Aws::ServiceDiscovery
1245
1288
  # resp.namespace.description #=> String
1246
1289
  # resp.namespace.service_count #=> Integer
1247
1290
  # resp.namespace.properties.dns_properties.hosted_zone_id #=> String
1291
+ # resp.namespace.properties.dns_properties.soa.ttl #=> Integer
1248
1292
  # resp.namespace.properties.http_properties.http_name #=> String
1249
1293
  # resp.namespace.create_date #=> Time
1250
1294
  # resp.namespace.creator_request_id #=> String
@@ -1309,7 +1353,7 @@ module Aws::ServiceDiscovery
1309
1353
  # @example Response structure
1310
1354
  #
1311
1355
  # resp.operation.id #=> String
1312
- # resp.operation.type #=> String, one of "CREATE_NAMESPACE", "DELETE_NAMESPACE", "UPDATE_SERVICE", "REGISTER_INSTANCE", "DEREGISTER_INSTANCE"
1356
+ # resp.operation.type #=> String, one of "CREATE_NAMESPACE", "DELETE_NAMESPACE", "UPDATE_NAMESPACE", "UPDATE_SERVICE", "REGISTER_INSTANCE", "DEREGISTER_INSTANCE"
1313
1357
  # resp.operation.status #=> String, one of "SUBMITTED", "PENDING", "SUCCESS", "FAIL"
1314
1358
  # resp.operation.error_message #=> String
1315
1359
  # resp.operation.error_code #=> String
@@ -1414,9 +1458,9 @@ module Aws::ServiceDiscovery
1414
1458
  # in the next request.
1415
1459
  #
1416
1460
  # @option params [Integer] :max_results
1417
- # The maximum number of instances that you want AWS Cloud Map to return
1418
- # in the response to a `ListInstances` request. If you don't specify a
1419
- # value for `MaxResults`, AWS Cloud Map returns up to 100 instances.
1461
+ # The maximum number of instances that you want Cloud Map to return in
1462
+ # the response to a `ListInstances` request. If you don't specify a
1463
+ # value for `MaxResults`, Cloud Map returns up to 100 instances.
1420
1464
  #
1421
1465
  # @return [Types::ListInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1422
1466
  #
@@ -1473,7 +1517,7 @@ module Aws::ServiceDiscovery
1473
1517
  end
1474
1518
 
1475
1519
  # Lists summary information about the namespaces that were created by
1476
- # the current AWS account.
1520
+ # the current account.
1477
1521
  #
1478
1522
  # @option params [String] :next_token
1479
1523
  # For the first `ListNamespaces` request, omit this value.
@@ -1482,18 +1526,18 @@ module Aws::ServiceDiscovery
1482
1526
  # request to get the next group of results. Specify the value of
1483
1527
  # `NextToken` from the previous response in the next request.
1484
1528
  #
1485
- # <note markdown="1"> AWS Cloud Map gets `MaxResults` namespaces and then filters them based
1486
- # on the specified criteria. It's possible that no namespaces in the
1487
- # first `MaxResults` namespaces matched the specified criteria but that
1529
+ # <note markdown="1"> Cloud Map gets `MaxResults` namespaces and then filters them based on
1530
+ # the specified criteria. It's possible that no namespaces in the first
1531
+ # `MaxResults` namespaces matched the specified criteria but that
1488
1532
  # subsequent groups of `MaxResults` namespaces do contain namespaces
1489
1533
  # that match the criteria.
1490
1534
  #
1491
1535
  # </note>
1492
1536
  #
1493
1537
  # @option params [Integer] :max_results
1494
- # The maximum number of namespaces that you want AWS Cloud Map to return
1495
- # in the response to a `ListNamespaces` request. If you don't specify a
1496
- # value for `MaxResults`, AWS Cloud Map returns up to 100 namespaces.
1538
+ # The maximum number of namespaces that you want Cloud Map to return in
1539
+ # the response to a `ListNamespaces` request. If you don't specify a
1540
+ # value for `MaxResults`, Cloud Map returns up to 100 namespaces.
1497
1541
  #
1498
1542
  # @option params [Array<Types::NamespaceFilter>] :filters
1499
1543
  # A complex type that contains specifications for the namespaces that
@@ -1592,6 +1636,7 @@ module Aws::ServiceDiscovery
1592
1636
  # resp.namespaces[0].description #=> String
1593
1637
  # resp.namespaces[0].service_count #=> Integer
1594
1638
  # resp.namespaces[0].properties.dns_properties.hosted_zone_id #=> String
1639
+ # resp.namespaces[0].properties.dns_properties.soa.ttl #=> Integer
1595
1640
  # resp.namespaces[0].properties.http_properties.http_name #=> String
1596
1641
  # resp.namespaces[0].create_date #=> Time
1597
1642
  # resp.next_token #=> String
@@ -1614,18 +1659,18 @@ module Aws::ServiceDiscovery
1614
1659
  # request to get the next group of results. Specify the value of
1615
1660
  # `NextToken` from the previous response in the next request.
1616
1661
  #
1617
- # <note markdown="1"> AWS Cloud Map gets `MaxResults` operations and then filters them based
1618
- # on the specified criteria. It's possible that no operations in the
1619
- # first `MaxResults` operations matched the specified criteria but that
1662
+ # <note markdown="1"> Cloud Map gets `MaxResults` operations and then filters them based on
1663
+ # the specified criteria. It's possible that no operations in the first
1664
+ # `MaxResults` operations matched the specified criteria but that
1620
1665
  # subsequent groups of `MaxResults` operations do contain operations
1621
1666
  # that match the criteria.
1622
1667
  #
1623
1668
  # </note>
1624
1669
  #
1625
1670
  # @option params [Integer] :max_results
1626
- # The maximum number of items that you want AWS Cloud Map to return in
1627
- # the response to a `ListOperations` request. If you don't specify a
1628
- # value for `MaxResults`, AWS Cloud Map returns up to 100 operations.
1671
+ # The maximum number of items that you want Cloud Map to return in the
1672
+ # response to a `ListOperations` request. If you don't specify a value
1673
+ # for `MaxResults`, Cloud Map returns up to 100 operations.
1629
1674
  #
1630
1675
  # @option params [Array<Types::OperationFilter>] :filters
1631
1676
  # A complex type that contains specifications for the operations that
@@ -1718,18 +1763,18 @@ module Aws::ServiceDiscovery
1718
1763
  # request to get the next group of results. Specify the value of
1719
1764
  # `NextToken` from the previous response in the next request.
1720
1765
  #
1721
- # <note markdown="1"> AWS Cloud Map gets `MaxResults` services and then filters them based
1722
- # on the specified criteria. It's possible that no services in the
1723
- # first `MaxResults` services matched the specified criteria but that
1766
+ # <note markdown="1"> Cloud Map gets `MaxResults` services and then filters them based on
1767
+ # the specified criteria. It's possible that no services in the first
1768
+ # `MaxResults` services matched the specified criteria but that
1724
1769
  # subsequent groups of `MaxResults` services do contain services that
1725
1770
  # match the criteria.
1726
1771
  #
1727
1772
  # </note>
1728
1773
  #
1729
1774
  # @option params [Integer] :max_results
1730
- # The maximum number of services that you want AWS Cloud Map to return
1731
- # in the response to a `ListServices` request. If you don't specify a
1732
- # value for `MaxResults`, AWS Cloud Map returns up to 100 services.
1775
+ # The maximum number of services that you want Cloud Map to return in
1776
+ # the response to a `ListServices` request. If you don't specify a
1777
+ # value for `MaxResults`, Cloud Map returns up to 100 services.
1733
1778
  #
1734
1779
  # @option params [Array<Types::ServiceFilter>] :filters
1735
1780
  # A complex type that contains specifications for the namespaces that
@@ -1876,9 +1921,9 @@ module Aws::ServiceDiscovery
1876
1921
  # health check based on the settings in a specified service. When you
1877
1922
  # submit a `RegisterInstance` request, the following occurs:
1878
1923
  #
1879
- # * For each DNS record that you define in the service that is specified
1924
+ # * For each DNS record that you define in the service that's specified
1880
1925
  # by `ServiceId`, a record is created or updated in the hosted zone
1881
- # that is associated with the corresponding namespace.
1926
+ # that's associated with the corresponding namespace.
1882
1927
  #
1883
1928
  # * If the service includes `HealthCheckConfig`, a health check is
1884
1929
  # created based on the settings in the health check configuration.
@@ -1891,7 +1936,7 @@ module Aws::ServiceDiscovery
1891
1936
  #
1892
1937
  # For more information, see [CreateService][1].
1893
1938
  #
1894
- # When AWS Cloud Map receives a DNS query for the specified DNS name, it
1939
+ # When Cloud Map receives a DNS query for the specified DNS name, it
1895
1940
  # returns the applicable value:
1896
1941
  #
1897
1942
  # * **If the health check is healthy**\: returns all the records
@@ -1903,8 +1948,8 @@ module Aws::ServiceDiscovery
1903
1948
  # all the records
1904
1949
  #
1905
1950
  # For the current quota on the number of instances that you can register
1906
- # using the same namespace and using the same service, see [AWS Cloud
1907
- # Map Limits][2] in the *AWS Cloud Map Developer Guide*.
1951
+ # using the same namespace and using the same service, see [Cloud Map
1952
+ # quotas][2] in the *Cloud Map Developer Guide*.
1908
1953
  #
1909
1954
  #
1910
1955
  #
@@ -1919,20 +1964,20 @@ module Aws::ServiceDiscovery
1919
1964
  # An identifier that you want to associate with the instance. Note the
1920
1965
  # following:
1921
1966
  #
1922
- # * If the service that is specified by `ServiceId` includes settings
1967
+ # * If the service that's specified by `ServiceId` includes settings
1923
1968
  # for an `SRV` record, the value of `InstanceId` is automatically
1924
1969
  # included as part of the value for the `SRV` record. For more
1925
1970
  # information, see [DnsRecord &gt; Type][1].
1926
1971
  #
1927
1972
  # * You can use this value to update an existing instance.
1928
1973
  #
1929
- # * To register a new instance, you must specify a value that is unique
1974
+ # * To register a new instance, you must specify a value that's unique
1930
1975
  # among instances that you register by using the same service.
1931
1976
  #
1932
- # * If you specify an existing `InstanceId` and `ServiceId`, AWS Cloud
1933
- # Map updates the existing DNS records, if any. If there's also an
1934
- # existing health check, AWS Cloud Map deletes the old health check
1935
- # and creates a new one.
1977
+ # * If you specify an existing `InstanceId` and `ServiceId`, Cloud Map
1978
+ # updates the existing DNS records, if any. If there's also an
1979
+ # existing health check, Cloud Map deletes the old health check and
1980
+ # creates a new one.
1936
1981
  #
1937
1982
  # <note markdown="1"> The health check isn't deleted immediately, so it will still appear
1938
1983
  # for a while if you submit a `ListHealthChecks` request, for example.
@@ -1949,8 +1994,8 @@ module Aws::ServiceDiscovery
1949
1994
  # executing the operation twice. You must use a unique
1950
1995
  # `CreatorRequestId` string every time you submit a `RegisterInstance`
1951
1996
  # request if you're registering additional instances for the same
1952
- # namespace and service. `CreatorRequestId` can be any unique string,
1953
- # for example, a date/time stamp.
1997
+ # namespace and service. `CreatorRequestId` can be any unique string
1998
+ # (for example, a date/time stamp).
1954
1999
  #
1955
2000
  # **A suitable default value is auto-generated.** You should normally
1956
2001
  # not need to pass this option.**
@@ -1966,100 +2011,101 @@ module Aws::ServiceDiscovery
1966
2011
  #
1967
2012
  # Supported attribute keys include the following:
1968
2013
  #
1969
- # **AWS\_ALIAS\_DNS\_NAME**
2014
+ # AWS\_ALIAS\_DNS\_NAME
1970
2015
  #
1971
- # If you want AWS Cloud Map to create an Amazon Route 53 alias record
1972
- # that routes traffic to an Elastic Load Balancing load balancer,
1973
- # specify the DNS name that is associated with the load balancer. For
1974
- # information about how to get the DNS name, see "DNSName" in the
1975
- # topic [AliasTarget][1] in the *Route 53 API Reference*.
2016
+ # : If you want Cloud Map to create an Amazon Route 53 alias record that
2017
+ # routes traffic to an Elastic Load Balancing load balancer, specify
2018
+ # the DNS name that's associated with the load balancer. For
2019
+ # information about how to get the DNS name, see "DNSName" in the
2020
+ # topic [AliasTarget][1] in the *Route 53 API Reference*.
1976
2021
  #
1977
- # Note the following:
2022
+ # Note the following:
1978
2023
  #
1979
- # * The configuration for the service that is specified by `ServiceId`
1980
- # must include settings for an `A` record, an `AAAA` record, or both.
2024
+ # * The configuration for the service that's specified by `ServiceId`
2025
+ # must include settings for an `A` record, an `AAAA` record, or
2026
+ # both.
1981
2027
  #
1982
- # * In the service that is specified by `ServiceId`, the value of
1983
- # `RoutingPolicy` must be `WEIGHTED`.
2028
+ # * In the service that's specified by `ServiceId`, the value of
2029
+ # `RoutingPolicy` must be `WEIGHTED`.
1984
2030
  #
1985
- # * If the service that is specified by `ServiceId` includes
1986
- # `HealthCheckConfig` settings, AWS Cloud Map will create the Route 53
1987
- # health check, but it won't associate the health check with the
1988
- # alias record.
2031
+ # * If the service that's specified by `ServiceId` includes
2032
+ # `HealthCheckConfig` settings, Cloud Map will create the Route 53
2033
+ # health check, but it doesn't associate the health check with the
2034
+ # alias record.
1989
2035
  #
1990
- # * Auto naming currently doesn't support creating alias records that
1991
- # route traffic to AWS resources other than Elastic Load Balancing
1992
- # load balancers.
2036
+ # * Auto naming currently doesn't support creating alias records that
2037
+ # route traffic to Amazon Web Services resources other than Elastic
2038
+ # Load Balancing load balancers.
1993
2039
  #
1994
- # * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
1995
- # values for any of the `AWS_INSTANCE` attributes.
2040
+ # * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
2041
+ # values for any of the `AWS_INSTANCE` attributes.
1996
2042
  #
1997
- # **AWS\_EC2\_INSTANCE\_ID**
2043
+ # AWS\_EC2\_INSTANCE\_ID
1998
2044
  #
1999
- # *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
2000
- # If the `AWS_EC2_INSTANCE_ID` attribute is specified, then the only
2001
- # other attribute that can be specified is `AWS_INIT_HEALTH_STATUS`.
2002
- # When the `AWS_EC2_INSTANCE_ID` attribute is specified, then the
2003
- # `AWS_INSTANCE_IPV4` attribute will be filled out with the primary
2004
- # private IPv4 address.
2045
+ # : *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
2046
+ # If the `AWS_EC2_INSTANCE_ID` attribute is specified, then the only
2047
+ # other attribute that can be specified is `AWS_INIT_HEALTH_STATUS`.
2048
+ # When the `AWS_EC2_INSTANCE_ID` attribute is specified, then the
2049
+ # `AWS_INSTANCE_IPV4` attribute will be filled out with the primary
2050
+ # private IPv4 address.
2005
2051
  #
2006
- # **AWS\_INIT\_HEALTH\_STATUS**
2052
+ # AWS\_INIT\_HEALTH\_STATUS
2007
2053
  #
2008
- # If the service configuration includes `HealthCheckCustomConfig`, you
2009
- # can optionally use `AWS_INIT_HEALTH_STATUS` to specify the initial
2010
- # status of the custom health check, `HEALTHY` or `UNHEALTHY`. If you
2011
- # don't specify a value for `AWS_INIT_HEALTH_STATUS`, the initial
2012
- # status is `HEALTHY`.
2054
+ # : If the service configuration includes `HealthCheckCustomConfig`, you
2055
+ # can optionally use `AWS_INIT_HEALTH_STATUS` to specify the initial
2056
+ # status of the custom health check, `HEALTHY` or `UNHEALTHY`. If you
2057
+ # don't specify a value for `AWS_INIT_HEALTH_STATUS`, the initial
2058
+ # status is `HEALTHY`.
2013
2059
  #
2014
- # **AWS\_INSTANCE\_CNAME**
2060
+ # AWS\_INSTANCE\_CNAME
2015
2061
  #
2016
- # If the service configuration includes a `CNAME` record, the domain
2017
- # name that you want Route 53 to return in response to DNS queries, for
2018
- # example, `example.com`.
2062
+ # : If the service configuration includes a `CNAME` record, the domain
2063
+ # name that you want Route 53 to return in response to DNS queries
2064
+ # (for example, `example.com`).
2019
2065
  #
2020
- # This value is required if the service specified by `ServiceId`
2021
- # includes settings for an `CNAME` record.
2066
+ # This value is required if the service specified by `ServiceId`
2067
+ # includes settings for an `CNAME` record.
2022
2068
  #
2023
- # **AWS\_INSTANCE\_IPV4**
2069
+ # AWS\_INSTANCE\_IPV4
2024
2070
  #
2025
- # If the service configuration includes an `A` record, the IPv4 address
2026
- # that you want Route 53 to return in response to DNS queries, for
2027
- # example, `192.0.2.44`.
2071
+ # : If the service configuration includes an `A` record, the IPv4
2072
+ # address that you want Route 53 to return in response to DNS queries
2073
+ # (for example, `192.0.2.44`).
2028
2074
  #
2029
- # This value is required if the service specified by `ServiceId`
2030
- # includes settings for an `A` record. If the service includes settings
2031
- # for an `SRV` record, you must specify a value for `AWS_INSTANCE_IPV4`,
2032
- # `AWS_INSTANCE_IPV6`, or both.
2075
+ # This value is required if the service specified by `ServiceId`
2076
+ # includes settings for an `A` record. If the service includes
2077
+ # settings for an `SRV` record, you must specify a value for
2078
+ # `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
2033
2079
  #
2034
- # **AWS\_INSTANCE\_IPV6**
2080
+ # AWS\_INSTANCE\_IPV6
2035
2081
  #
2036
- # If the service configuration includes an `AAAA` record, the IPv6
2037
- # address that you want Route 53 to return in response to DNS queries,
2038
- # for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
2082
+ # : If the service configuration includes an `AAAA` record, the IPv6
2083
+ # address that you want Route 53 to return in response to DNS queries
2084
+ # (for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`).
2039
2085
  #
2040
- # This value is required if the service specified by `ServiceId`
2041
- # includes settings for an `AAAA` record. If the service includes
2042
- # settings for an `SRV` record, you must specify a value for
2043
- # `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
2086
+ # This value is required if the service specified by `ServiceId`
2087
+ # includes settings for an `AAAA` record. If the service includes
2088
+ # settings for an `SRV` record, you must specify a value for
2089
+ # `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
2044
2090
  #
2045
- # **AWS\_INSTANCE\_PORT**
2091
+ # AWS\_INSTANCE\_PORT
2046
2092
  #
2047
- # If the service includes an `SRV` record, the value that you want
2048
- # Route 53 to return for the port.
2093
+ # : If the service includes an `SRV` record, the value that you want
2094
+ # Route 53 to return for the port.
2049
2095
  #
2050
- # If the service includes `HealthCheckConfig`, the port on the endpoint
2051
- # that you want Route 53 to send requests to.
2096
+ # If the service includes `HealthCheckConfig`, the port on the
2097
+ # endpoint that you want Route 53 to send requests to.
2052
2098
  #
2053
- # This value is required if you specified settings for an `SRV` record
2054
- # or a Route 53 health check when you created the service.
2099
+ # This value is required if you specified settings for an `SRV` record
2100
+ # or a Route 53 health check when you created the service.
2055
2101
  #
2056
- # **Custom attributes**
2102
+ # Custom attributes
2057
2103
  #
2058
- # You can add up to 30 custom attributes. For each key-value pair, the
2059
- # maximum length of the attribute name is 255 characters, and the
2060
- # maximum length of the attribute value is 1,024 characters. The total
2061
- # size of all provided attributes (sum of all keys and values) must not
2062
- # exceed 5,000 characters.
2104
+ # : You can add up to 30 custom attributes. For each key-value pair, the
2105
+ # maximum length of the attribute name is 255 characters, and the
2106
+ # maximum length of the attribute value is 1,024 characters. The total
2107
+ # size of all provided attributes (sum of all keys and values) must
2108
+ # not exceed 5,000 characters.
2063
2109
  #
2064
2110
  #
2065
2111
  #
@@ -2093,7 +2139,7 @@ module Aws::ServiceDiscovery
2093
2139
  #
2094
2140
  # resp = client.register_instance({
2095
2141
  # service_id: "ResourceId", # required
2096
- # instance_id: "ResourceId", # required
2142
+ # instance_id: "InstanceId", # required
2097
2143
  # creator_request_id: "ResourceId",
2098
2144
  # attributes: { # required
2099
2145
  # "AttrKey" => "AttrValue",
@@ -2214,13 +2260,57 @@ module Aws::ServiceDiscovery
2214
2260
  req.send_request(options)
2215
2261
  end
2216
2262
 
2263
+ # Updates an HTTP namespace.
2264
+ #
2265
+ # @option params [required, String] :id
2266
+ # The ID of the namespace that you want to update.
2267
+ #
2268
+ # @option params [String] :updater_request_id
2269
+ # A unique string that identifies the request and that allows failed
2270
+ # `UpdateHttpNamespace` requests to be retried without the risk of
2271
+ # running the operation twice. `UpdaterRequestId` can be any unique
2272
+ # string (for example, a date/timestamp).
2273
+ #
2274
+ # **A suitable default value is auto-generated.** You should normally
2275
+ # not need to pass this option.**
2276
+ #
2277
+ # @option params [required, Types::HttpNamespaceChange] :namespace
2278
+ # Updated properties for the the HTTP namespace.
2279
+ #
2280
+ # @return [Types::UpdateHttpNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2281
+ #
2282
+ # * {Types::UpdateHttpNamespaceResponse#operation_id #operation_id} => String
2283
+ #
2284
+ # @example Request syntax with placeholder values
2285
+ #
2286
+ # resp = client.update_http_namespace({
2287
+ # id: "ResourceId", # required
2288
+ # updater_request_id: "ResourceId",
2289
+ # namespace: { # required
2290
+ # description: "ResourceDescription", # required
2291
+ # },
2292
+ # })
2293
+ #
2294
+ # @example Response structure
2295
+ #
2296
+ # resp.operation_id #=> String
2297
+ #
2298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateHttpNamespace AWS API Documentation
2299
+ #
2300
+ # @overload update_http_namespace(params = {})
2301
+ # @param [Hash] params ({})
2302
+ def update_http_namespace(params = {}, options = {})
2303
+ req = build_request(:update_http_namespace, params)
2304
+ req.send_request(options)
2305
+ end
2306
+
2217
2307
  # Submits a request to change the health status of a custom health check
2218
2308
  # to healthy or unhealthy.
2219
2309
  #
2220
2310
  # You can use `UpdateInstanceCustomHealthStatus` to change the status
2221
2311
  # only for custom health checks, which you define using
2222
2312
  # `HealthCheckCustomConfig` when you create a service. You can't use it
2223
- # to change the status for Route 53 health checks, which you define
2313
+ # to change the status for Route 53 health checks, which you define
2224
2314
  # using `HealthCheckConfig`.
2225
2315
  #
2226
2316
  # For more information, see [HealthCheckCustomConfig][1].
@@ -2270,6 +2360,108 @@ module Aws::ServiceDiscovery
2270
2360
  req.send_request(options)
2271
2361
  end
2272
2362
 
2363
+ # Updates a private DNS namespace.
2364
+ #
2365
+ # @option params [required, String] :id
2366
+ # The ID of the namespace that you want to update.
2367
+ #
2368
+ # @option params [String] :updater_request_id
2369
+ # A unique string that identifies the request and that allows failed
2370
+ # `UpdatePrivateDnsNamespace` requests to be retried without the risk of
2371
+ # running the operation twice. `UpdaterRequestId` can be any unique
2372
+ # string (for example, a date/timestamp).
2373
+ #
2374
+ # **A suitable default value is auto-generated.** You should normally
2375
+ # not need to pass this option.**
2376
+ #
2377
+ # @option params [required, Types::PrivateDnsNamespaceChange] :namespace
2378
+ # Updated properties for the private DNS namespace.
2379
+ #
2380
+ # @return [Types::UpdatePrivateDnsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2381
+ #
2382
+ # * {Types::UpdatePrivateDnsNamespaceResponse#operation_id #operation_id} => String
2383
+ #
2384
+ # @example Request syntax with placeholder values
2385
+ #
2386
+ # resp = client.update_private_dns_namespace({
2387
+ # id: "ResourceId", # required
2388
+ # updater_request_id: "ResourceId",
2389
+ # namespace: { # required
2390
+ # description: "ResourceDescription",
2391
+ # properties: {
2392
+ # dns_properties: { # required
2393
+ # soa: { # required
2394
+ # ttl: 1, # required
2395
+ # },
2396
+ # },
2397
+ # },
2398
+ # },
2399
+ # })
2400
+ #
2401
+ # @example Response structure
2402
+ #
2403
+ # resp.operation_id #=> String
2404
+ #
2405
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdatePrivateDnsNamespace AWS API Documentation
2406
+ #
2407
+ # @overload update_private_dns_namespace(params = {})
2408
+ # @param [Hash] params ({})
2409
+ def update_private_dns_namespace(params = {}, options = {})
2410
+ req = build_request(:update_private_dns_namespace, params)
2411
+ req.send_request(options)
2412
+ end
2413
+
2414
+ # Updates a public DNS namespace.
2415
+ #
2416
+ # @option params [required, String] :id
2417
+ # The ID of the namespace being updated.
2418
+ #
2419
+ # @option params [String] :updater_request_id
2420
+ # A unique string that identifies the request and that allows failed
2421
+ # `UpdatePublicDnsNamespace` requests to be retried without the risk of
2422
+ # running the operation twice. `UpdaterRequestId` can be any unique
2423
+ # string (for example, a date/timestamp).
2424
+ #
2425
+ # **A suitable default value is auto-generated.** You should normally
2426
+ # not need to pass this option.**
2427
+ #
2428
+ # @option params [required, Types::PublicDnsNamespaceChange] :namespace
2429
+ # Updated properties for the public DNS namespace.
2430
+ #
2431
+ # @return [Types::UpdatePublicDnsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2432
+ #
2433
+ # * {Types::UpdatePublicDnsNamespaceResponse#operation_id #operation_id} => String
2434
+ #
2435
+ # @example Request syntax with placeholder values
2436
+ #
2437
+ # resp = client.update_public_dns_namespace({
2438
+ # id: "ResourceId", # required
2439
+ # updater_request_id: "ResourceId",
2440
+ # namespace: { # required
2441
+ # description: "ResourceDescription",
2442
+ # properties: {
2443
+ # dns_properties: { # required
2444
+ # soa: { # required
2445
+ # ttl: 1, # required
2446
+ # },
2447
+ # },
2448
+ # },
2449
+ # },
2450
+ # })
2451
+ #
2452
+ # @example Response structure
2453
+ #
2454
+ # resp.operation_id #=> String
2455
+ #
2456
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdatePublicDnsNamespace AWS API Documentation
2457
+ #
2458
+ # @overload update_public_dns_namespace(params = {})
2459
+ # @param [Hash] params ({})
2460
+ def update_public_dns_namespace(params = {}, options = {})
2461
+ req = build_request(:update_public_dns_namespace, params)
2462
+ req.send_request(options)
2463
+ end
2464
+
2273
2465
  # Submits a request to perform the following operations:
2274
2466
  #
2275
2467
  # * Update the TTL setting for existing `DnsRecords` configurations
@@ -2288,10 +2480,10 @@ module Aws::ServiceDiscovery
2288
2480
  # are deleted from the service.
2289
2481
  #
2290
2482
  # * If you omit an existing `HealthCheckCustomConfig` configuration from
2291
- # an `UpdateService` request, the configuration is not deleted from
2483
+ # an `UpdateService` request, the configuration isn't deleted from
2292
2484
  # the service.
2293
2485
  #
2294
- # When you update settings for a service, AWS Cloud Map also updates the
2486
+ # When you update settings for a service, Cloud Map also updates the
2295
2487
  # corresponding settings in all the records and health checks that were
2296
2488
  # created by using the specified service.
2297
2489
  #
@@ -2382,7 +2574,7 @@ module Aws::ServiceDiscovery
2382
2574
  params: params,
2383
2575
  config: config)
2384
2576
  context[:gem_name] = 'aws-sdk-servicediscovery'
2385
- context[:gem_version] = '1.34.0'
2577
+ context[:gem_version] = '1.38.0'
2386
2578
  Seahorse::Client::Request.new(handlers, context)
2387
2579
  end
2388
2580