aws-sdk-servicediscovery 1.25.1 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-servicediscovery.rb +5 -2
- data/lib/aws-sdk-servicediscovery/client.rb +86 -61
- data/lib/aws-sdk-servicediscovery/client_api.rb +2 -0
- data/lib/aws-sdk-servicediscovery/errors.rb +2 -0
- data/lib/aws-sdk-servicediscovery/resource.rb +2 -0
- data/lib/aws-sdk-servicediscovery/types.rb +336 -246
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f50384ae753d9d570facdb53b004b755558f3603289e00d2571d83d9b6149ce1
|
4
|
+
data.tar.gz: 40131ac2dcee2397fb0976e7cb4cf7b8e3e96a6f33ddc9dafa4375a08e0da40f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebbc9bb11931a728703d37a1424ef780162f79deb0de7dae95ca371864ef89c278f95b73e060cabe51aa04120d77166f073cb7c853b794b7a93650f64a06508a
|
7
|
+
data.tar.gz: f5335f5a52a4dadd633661f5f5333ef3671efabbb7d259bd64257cfcdeb0497f07c5c22bd1d8d1288a4269a5ff3f32201554f9ac7cd9f4b5863fa8adc0b187ec
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-servicediscovery/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::ServiceDiscovery
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.30.0'
|
49
52
|
|
50
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -83,13 +85,28 @@ module Aws::ServiceDiscovery
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::ServiceDiscovery
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -324,8 +341,8 @@ module Aws::ServiceDiscovery
|
|
324
341
|
# an HTTP namespace can be discovered using a `DiscoverInstances`
|
325
342
|
# request but can't be discovered using DNS.
|
326
343
|
#
|
327
|
-
# For the current
|
328
|
-
# using the same AWS account, see [AWS Cloud Map
|
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
|
329
346
|
# Cloud Map Developer Guide*.
|
330
347
|
#
|
331
348
|
#
|
@@ -404,7 +421,7 @@ module Aws::ServiceDiscovery
|
|
404
421
|
# inside a specified Amazon VPC. The namespace defines your service
|
405
422
|
# naming scheme. For example, if you name your namespace `example.com`
|
406
423
|
# and name your service `backend`, the resulting DNS name for the
|
407
|
-
# service will be `backend.example.com`. For the current
|
424
|
+
# service will be `backend.example.com`. For the current quota on the
|
408
425
|
# number of namespaces that you can create using the same AWS account,
|
409
426
|
# see [AWS Cloud Map Limits][1] in the *AWS Cloud Map Developer Guide*.
|
410
427
|
#
|
@@ -415,7 +432,7 @@ module Aws::ServiceDiscovery
|
|
415
432
|
# @option params [required, String] :name
|
416
433
|
# The name that you want to assign to this namespace. When you create a
|
417
434
|
# private DNS namespace, AWS Cloud Map automatically creates an Amazon
|
418
|
-
# Route
|
435
|
+
# Route 53 private hosted zone that has the same name as the namespace.
|
419
436
|
#
|
420
437
|
# @option params [String] :creator_request_id
|
421
438
|
# A unique string that identifies the request and that allows failed
|
@@ -491,7 +508,7 @@ module Aws::ServiceDiscovery
|
|
491
508
|
# internet. The namespace defines your service naming scheme. For
|
492
509
|
# example, if you name your namespace `example.com` and name your
|
493
510
|
# service `backend`, the resulting DNS name for the service will be
|
494
|
-
# `backend.example.com`. For the current
|
511
|
+
# `backend.example.com`. For the current quota on the number of
|
495
512
|
# namespaces that you can create using the same AWS account, see [AWS
|
496
513
|
# Cloud Map Limits][1] in the *AWS Cloud Map Developer Guide*.
|
497
514
|
#
|
@@ -571,17 +588,17 @@ module Aws::ServiceDiscovery
|
|
571
588
|
# entities:
|
572
589
|
#
|
573
590
|
# * For public and private DNS namespaces, one of the following
|
574
|
-
# combinations of DNS records in Amazon Route
|
591
|
+
# combinations of DNS records in Amazon Route 53:
|
575
592
|
#
|
576
|
-
# * A
|
593
|
+
# * `A`
|
577
594
|
#
|
578
|
-
# * AAAA
|
595
|
+
# * `AAAA`
|
579
596
|
#
|
580
|
-
# * A and AAAA
|
597
|
+
# * `A` and `AAAA`
|
581
598
|
#
|
582
|
-
# * SRV
|
599
|
+
# * `SRV`
|
583
600
|
#
|
584
|
-
# * CNAME
|
601
|
+
# * `CNAME`
|
585
602
|
#
|
586
603
|
# * Optionally, a health check
|
587
604
|
#
|
@@ -589,7 +606,7 @@ module Aws::ServiceDiscovery
|
|
589
606
|
# request, and AWS Cloud Map uses the values in the configuration to
|
590
607
|
# create the specified entities.
|
591
608
|
#
|
592
|
-
# For the current
|
609
|
+
# For the current quota on the number of instances that you can register
|
593
610
|
# using the same namespace and using the same service, see [AWS Cloud
|
594
611
|
# Map Limits][2] in the *AWS Cloud Map Developer Guide*.
|
595
612
|
#
|
@@ -601,17 +618,17 @@ module Aws::ServiceDiscovery
|
|
601
618
|
# @option params [required, String] :name
|
602
619
|
# The name that you want to assign to the service.
|
603
620
|
#
|
604
|
-
# If you want AWS Cloud Map to create an SRV record when you register
|
605
|
-
# instance, and if you're using a system that requires a specific
|
606
|
-
# format, such as [HAProxy][1], specify the following for `Name`\:
|
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`\:
|
607
624
|
#
|
608
625
|
# * Start the name with an underscore (\_), such as `_exampleservice`
|
609
626
|
#
|
610
627
|
# * End the name with *.\_protocol*, such as `._tcp`
|
611
628
|
#
|
612
|
-
# When you register an instance, AWS Cloud Map creates an SRV record
|
613
|
-
# assigns a name to the record by concatenating the service name and
|
614
|
-
# namespace name, for example:
|
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:
|
615
632
|
#
|
616
633
|
# `_exampleservice._tcp.example.com`
|
617
634
|
#
|
@@ -635,15 +652,15 @@ module Aws::ServiceDiscovery
|
|
635
652
|
# A description for the service.
|
636
653
|
#
|
637
654
|
# @option params [Types::DnsConfig] :dns_config
|
638
|
-
# A complex type that contains information about the Amazon Route
|
655
|
+
# A complex type that contains information about the Amazon Route 53
|
639
656
|
# records that you want AWS Cloud Map to create when you register an
|
640
657
|
# instance.
|
641
658
|
#
|
642
659
|
# @option params [Types::HealthCheckConfig] :health_check_config
|
643
660
|
# *Public DNS and HTTP namespaces only.* A complex type that contains
|
644
|
-
# settings for an optional Route
|
661
|
+
# settings for an optional Route 53 health check. If you specify
|
645
662
|
# settings for a health check, AWS Cloud Map associates the health check
|
646
|
-
# with all the Route
|
663
|
+
# with all the Route 53 DNS records that you specify in `DnsConfig`.
|
647
664
|
#
|
648
665
|
# If you specify a health check configuration, you can specify either
|
649
666
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
@@ -859,7 +876,7 @@ module Aws::ServiceDiscovery
|
|
859
876
|
req.send_request(options)
|
860
877
|
end
|
861
878
|
|
862
|
-
# Deletes the Amazon Route
|
879
|
+
# Deletes the Amazon Route 53 DNS records and health check, if any, that
|
863
880
|
# AWS Cloud Map created for the specified instance.
|
864
881
|
#
|
865
882
|
# @option params [required, String] :service_id
|
@@ -1859,7 +1876,7 @@ module Aws::ServiceDiscovery
|
|
1859
1876
|
# * **If you didn't specify a health check configuration**\: returns
|
1860
1877
|
# all the records
|
1861
1878
|
#
|
1862
|
-
# For the current
|
1879
|
+
# For the current quota on the number of instances that you can register
|
1863
1880
|
# using the same namespace and using the same service, see [AWS Cloud
|
1864
1881
|
# Map Limits][2] in the *AWS Cloud Map Developer Guide*.
|
1865
1882
|
#
|
@@ -1877,8 +1894,8 @@ module Aws::ServiceDiscovery
|
|
1877
1894
|
# following:
|
1878
1895
|
#
|
1879
1896
|
# * If the service that is specified by `ServiceId` includes settings
|
1880
|
-
# for an SRV record, the value of `InstanceId` is automatically
|
1881
|
-
# included as part of the value for the SRV record. For more
|
1897
|
+
# for an `SRV` record, the value of `InstanceId` is automatically
|
1898
|
+
# included as part of the value for the `SRV` record. For more
|
1882
1899
|
# information, see [DnsRecord > Type][1].
|
1883
1900
|
#
|
1884
1901
|
# * You can use this value to update an existing instance.
|
@@ -1925,33 +1942,41 @@ module Aws::ServiceDiscovery
|
|
1925
1942
|
#
|
1926
1943
|
# **AWS\_ALIAS\_DNS\_NAME**
|
1927
1944
|
#
|
1928
|
-
#
|
1929
|
-
#
|
1930
|
-
# If you want AWS Cloud Map to create an Amazon Route 53 alias record
|
1945
|
+
# If you want AWS Cloud Map to create an Amazon Route 53 alias record
|
1931
1946
|
# that routes traffic to an Elastic Load Balancing load balancer,
|
1932
1947
|
# specify the DNS name that is associated with the load balancer. For
|
1933
1948
|
# information about how to get the DNS name, see "DNSName" in the
|
1934
|
-
# topic [AliasTarget][1] in the *Route
|
1949
|
+
# topic [AliasTarget][1] in the *Route 53 API Reference*.
|
1935
1950
|
#
|
1936
1951
|
# Note the following:
|
1937
1952
|
#
|
1938
1953
|
# * The configuration for the service that is specified by `ServiceId`
|
1939
|
-
# must include settings for an A record, an AAAA record, or both.
|
1954
|
+
# must include settings for an `A` record, an `AAAA` record, or both.
|
1940
1955
|
#
|
1941
1956
|
# * In the service that is specified by `ServiceId`, the value of
|
1942
1957
|
# `RoutingPolicy` must be `WEIGHTED`.
|
1943
1958
|
#
|
1944
1959
|
# * If the service that is specified by `ServiceId` includes
|
1945
|
-
# `HealthCheckConfig` settings, AWS Cloud Map will create the Route
|
1960
|
+
# `HealthCheckConfig` settings, AWS Cloud Map will create the Route 53
|
1946
1961
|
# health check, but it won't associate the health check with the
|
1947
1962
|
# alias record.
|
1948
1963
|
#
|
1949
1964
|
# * Auto naming currently doesn't support creating alias records that
|
1950
|
-
# route traffic to AWS resources other than
|
1965
|
+
# route traffic to AWS resources other than Elastic Load Balancing
|
1966
|
+
# load balancers.
|
1951
1967
|
#
|
1952
1968
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
1953
1969
|
# values for any of the `AWS_INSTANCE` attributes.
|
1954
1970
|
#
|
1971
|
+
# **AWS\_EC2\_INSTANCE\_ID**
|
1972
|
+
#
|
1973
|
+
# *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
|
1974
|
+
# If the `AWS_EC2_INSTANCE_ID` attribute is specified, then the only
|
1975
|
+
# other attribute that can be specified is `AWS_INIT_HEALTH_STATUS`.
|
1976
|
+
# When the `AWS_EC2_INSTANCE_ID` attribute is specified, then the
|
1977
|
+
# `AWS_INSTANCE_IPV4` attribute will be filled out with the primary
|
1978
|
+
# private IPv4 address.
|
1979
|
+
#
|
1955
1980
|
# **AWS\_INIT\_HEALTH\_STATUS**
|
1956
1981
|
#
|
1957
1982
|
# If the service configuration includes `HealthCheckCustomConfig`, you
|
@@ -1962,52 +1987,52 @@ module Aws::ServiceDiscovery
|
|
1962
1987
|
#
|
1963
1988
|
# **AWS\_INSTANCE\_CNAME**
|
1964
1989
|
#
|
1965
|
-
# If the service configuration includes a CNAME record, the domain
|
1966
|
-
# that you want Route
|
1990
|
+
# If the service configuration includes a `CNAME` record, the domain
|
1991
|
+
# name that you want Route 53 to return in response to DNS queries, for
|
1967
1992
|
# example, `example.com`.
|
1968
1993
|
#
|
1969
1994
|
# This value is required if the service specified by `ServiceId`
|
1970
|
-
# includes settings for an CNAME record.
|
1995
|
+
# includes settings for an `CNAME` record.
|
1971
1996
|
#
|
1972
1997
|
# **AWS\_INSTANCE\_IPV4**
|
1973
1998
|
#
|
1974
|
-
# If the service configuration includes an A record, the IPv4 address
|
1975
|
-
# that you want Route
|
1999
|
+
# If the service configuration includes an `A` record, the IPv4 address
|
2000
|
+
# that you want Route 53 to return in response to DNS queries, for
|
1976
2001
|
# example, `192.0.2.44`.
|
1977
2002
|
#
|
1978
2003
|
# This value is required if the service specified by `ServiceId`
|
1979
|
-
# includes settings for an A record. If the service includes settings
|
1980
|
-
# for an SRV record, you must specify a value for `AWS_INSTANCE_IPV4`,
|
2004
|
+
# includes settings for an `A` record. If the service includes settings
|
2005
|
+
# for an `SRV` record, you must specify a value for `AWS_INSTANCE_IPV4`,
|
1981
2006
|
# `AWS_INSTANCE_IPV6`, or both.
|
1982
2007
|
#
|
1983
2008
|
# **AWS\_INSTANCE\_IPV6**
|
1984
2009
|
#
|
1985
|
-
# If the service configuration includes an AAAA record, the IPv6
|
1986
|
-
# that you want Route
|
1987
|
-
# example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
|
2010
|
+
# If the service configuration includes an `AAAA` record, the IPv6
|
2011
|
+
# address that you want Route 53 to return in response to DNS queries,
|
2012
|
+
# for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
|
1988
2013
|
#
|
1989
2014
|
# This value is required if the service specified by `ServiceId`
|
1990
|
-
# includes settings for an AAAA record. If the service includes
|
1991
|
-
# for an SRV record, you must specify a value for
|
1992
|
-
# `AWS_INSTANCE_IPV6`, or both.
|
2015
|
+
# includes settings for an `AAAA` record. If the service includes
|
2016
|
+
# settings for an `SRV` record, you must specify a value for
|
2017
|
+
# `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
|
1993
2018
|
#
|
1994
2019
|
# **AWS\_INSTANCE\_PORT**
|
1995
2020
|
#
|
1996
|
-
# If the service includes an SRV record, the value that you want
|
1997
|
-
# 53 to return for the port.
|
2021
|
+
# If the service includes an `SRV` record, the value that you want
|
2022
|
+
# Route 53 to return for the port.
|
1998
2023
|
#
|
1999
2024
|
# If the service includes `HealthCheckConfig`, the port on the endpoint
|
2000
|
-
# that you want Route
|
2025
|
+
# that you want Route 53 to send requests to.
|
2001
2026
|
#
|
2002
|
-
# This value is required if you specified settings for an SRV record
|
2003
|
-
# a Route
|
2027
|
+
# This value is required if you specified settings for an `SRV` record
|
2028
|
+
# or a Route 53 health check when you created the service.
|
2004
2029
|
#
|
2005
2030
|
# **Custom attributes**
|
2006
2031
|
#
|
2007
2032
|
# You can add up to 30 custom attributes. For each key-value pair, the
|
2008
2033
|
# maximum length of the attribute name is 255 characters, and the
|
2009
|
-
# maximum length of the attribute value is 1,024 characters.
|
2010
|
-
# of all provided attributes (sum of all keys and values) must not
|
2034
|
+
# maximum length of the attribute value is 1,024 characters. The total
|
2035
|
+
# size of all provided attributes (sum of all keys and values) must not
|
2011
2036
|
# exceed 5,000 characters.
|
2012
2037
|
#
|
2013
2038
|
#
|
@@ -2169,7 +2194,7 @@ module Aws::ServiceDiscovery
|
|
2169
2194
|
# You can use `UpdateInstanceCustomHealthStatus` to change the status
|
2170
2195
|
# only for custom health checks, which you define using
|
2171
2196
|
# `HealthCheckCustomConfig` when you create a service. You can't use it
|
2172
|
-
# to change the status for Route
|
2197
|
+
# to change the status for Route 53 health checks, which you define
|
2173
2198
|
# using `HealthCheckConfig`.
|
2174
2199
|
#
|
2175
2200
|
# For more information, see [HealthCheckCustomConfig][1].
|
@@ -2331,7 +2356,7 @@ module Aws::ServiceDiscovery
|
|
2331
2356
|
params: params,
|
2332
2357
|
config: config)
|
2333
2358
|
context[:gem_name] = 'aws-sdk-servicediscovery'
|
2334
|
-
context[:gem_version] = '1.
|
2359
|
+
context[:gem_version] = '1.30.0'
|
2335
2360
|
Seahorse::Client::Request.new(handlers, context)
|
2336
2361
|
end
|
2337
2362
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -55,6 +57,7 @@ module Aws::ServiceDiscovery
|
|
55
57
|
:creator_request_id,
|
56
58
|
:description,
|
57
59
|
:tags)
|
60
|
+
SENSITIVE = []
|
58
61
|
include Aws::Structure
|
59
62
|
end
|
60
63
|
|
@@ -72,6 +75,7 @@ module Aws::ServiceDiscovery
|
|
72
75
|
#
|
73
76
|
class CreateHttpNamespaceResponse < Struct.new(
|
74
77
|
:operation_id)
|
78
|
+
SENSITIVE = []
|
75
79
|
include Aws::Structure
|
76
80
|
end
|
77
81
|
|
@@ -94,7 +98,7 @@ module Aws::ServiceDiscovery
|
|
94
98
|
# @!attribute [rw] name
|
95
99
|
# The name that you want to assign to this namespace. When you create
|
96
100
|
# a private DNS namespace, AWS Cloud Map automatically creates an
|
97
|
-
# Amazon Route
|
101
|
+
# Amazon Route 53 private hosted zone that has the same name as the
|
98
102
|
# namespace.
|
99
103
|
# @return [String]
|
100
104
|
#
|
@@ -132,6 +136,7 @@ module Aws::ServiceDiscovery
|
|
132
136
|
:description,
|
133
137
|
:vpc,
|
134
138
|
:tags)
|
139
|
+
SENSITIVE = []
|
135
140
|
include Aws::Structure
|
136
141
|
end
|
137
142
|
|
@@ -149,6 +154,7 @@ module Aws::ServiceDiscovery
|
|
149
154
|
#
|
150
155
|
class CreatePrivateDnsNamespaceResponse < Struct.new(
|
151
156
|
:operation_id)
|
157
|
+
SENSITIVE = []
|
152
158
|
include Aws::Structure
|
153
159
|
end
|
154
160
|
|
@@ -199,6 +205,7 @@ module Aws::ServiceDiscovery
|
|
199
205
|
:creator_request_id,
|
200
206
|
:description,
|
201
207
|
:tags)
|
208
|
+
SENSITIVE = []
|
202
209
|
include Aws::Structure
|
203
210
|
end
|
204
211
|
|
@@ -216,6 +223,7 @@ module Aws::ServiceDiscovery
|
|
216
223
|
#
|
217
224
|
class CreatePublicDnsNamespaceResponse < Struct.new(
|
218
225
|
:operation_id)
|
226
|
+
SENSITIVE = []
|
219
227
|
include Aws::Structure
|
220
228
|
end
|
221
229
|
|
@@ -256,15 +264,16 @@ module Aws::ServiceDiscovery
|
|
256
264
|
# @!attribute [rw] name
|
257
265
|
# The name that you want to assign to the service.
|
258
266
|
#
|
259
|
-
# If you want AWS Cloud Map to create an SRV record when you
|
260
|
-
# an instance, and if you're using a system that requires a
|
261
|
-
# SRV format, such as [HAProxy][1], specify the following
|
267
|
+
# If you want AWS Cloud Map to create an `SRV` record when you
|
268
|
+
# register an instance, and if you're using a system that requires a
|
269
|
+
# specific `SRV` format, such as [HAProxy][1], specify the following
|
270
|
+
# for `Name`\:
|
262
271
|
#
|
263
272
|
# * Start the name with an underscore (\_), such as `_exampleservice`
|
264
273
|
#
|
265
274
|
# * End the name with *.\_protocol*, such as `._tcp`
|
266
275
|
#
|
267
|
-
# When you register an instance, AWS Cloud Map creates an SRV record
|
276
|
+
# When you register an instance, AWS Cloud Map creates an `SRV` record
|
268
277
|
# and assigns a name to the record by concatenating the service name
|
269
278
|
# and the namespace name, for example:
|
270
279
|
#
|
@@ -294,16 +303,16 @@ module Aws::ServiceDiscovery
|
|
294
303
|
# @return [String]
|
295
304
|
#
|
296
305
|
# @!attribute [rw] dns_config
|
297
|
-
# A complex type that contains information about the Amazon Route
|
306
|
+
# A complex type that contains information about the Amazon Route 53
|
298
307
|
# records that you want AWS Cloud Map to create when you register an
|
299
308
|
# instance.
|
300
309
|
# @return [Types::DnsConfig]
|
301
310
|
#
|
302
311
|
# @!attribute [rw] health_check_config
|
303
312
|
# *Public DNS and HTTP namespaces only.* A complex type that contains
|
304
|
-
# settings for an optional Route
|
313
|
+
# settings for an optional Route 53 health check. If you specify
|
305
314
|
# settings for a health check, AWS Cloud Map associates the health
|
306
|
-
# check with all the Route
|
315
|
+
# check with all the Route 53 DNS records that you specify in
|
307
316
|
# `DnsConfig`.
|
308
317
|
#
|
309
318
|
# If you specify a health check configuration, you can specify either
|
@@ -346,6 +355,7 @@ module Aws::ServiceDiscovery
|
|
346
355
|
:health_check_config,
|
347
356
|
:health_check_custom_config,
|
348
357
|
:tags)
|
358
|
+
SENSITIVE = []
|
349
359
|
include Aws::Structure
|
350
360
|
end
|
351
361
|
|
@@ -357,6 +367,7 @@ module Aws::ServiceDiscovery
|
|
357
367
|
#
|
358
368
|
class CreateServiceResponse < Struct.new(
|
359
369
|
:service)
|
370
|
+
SENSITIVE = []
|
360
371
|
include Aws::Structure
|
361
372
|
end
|
362
373
|
|
@@ -370,6 +381,7 @@ module Aws::ServiceDiscovery
|
|
370
381
|
#
|
371
382
|
class CustomHealthNotFound < Struct.new(
|
372
383
|
:message)
|
384
|
+
SENSITIVE = []
|
373
385
|
include Aws::Structure
|
374
386
|
end
|
375
387
|
|
@@ -388,6 +400,7 @@ module Aws::ServiceDiscovery
|
|
388
400
|
#
|
389
401
|
class DeleteNamespaceRequest < Struct.new(
|
390
402
|
:id)
|
403
|
+
SENSITIVE = []
|
391
404
|
include Aws::Structure
|
392
405
|
end
|
393
406
|
|
@@ -405,6 +418,7 @@ module Aws::ServiceDiscovery
|
|
405
418
|
#
|
406
419
|
class DeleteNamespaceResponse < Struct.new(
|
407
420
|
:operation_id)
|
421
|
+
SENSITIVE = []
|
408
422
|
include Aws::Structure
|
409
423
|
end
|
410
424
|
|
@@ -423,6 +437,7 @@ module Aws::ServiceDiscovery
|
|
423
437
|
#
|
424
438
|
class DeleteServiceRequest < Struct.new(
|
425
439
|
:id)
|
440
|
+
SENSITIVE = []
|
426
441
|
include Aws::Structure
|
427
442
|
end
|
428
443
|
|
@@ -456,6 +471,7 @@ module Aws::ServiceDiscovery
|
|
456
471
|
class DeregisterInstanceRequest < Struct.new(
|
457
472
|
:service_id,
|
458
473
|
:instance_id)
|
474
|
+
SENSITIVE = []
|
459
475
|
include Aws::Structure
|
460
476
|
end
|
461
477
|
|
@@ -472,6 +488,7 @@ module Aws::ServiceDiscovery
|
|
472
488
|
#
|
473
489
|
class DeregisterInstanceResponse < Struct.new(
|
474
490
|
:operation_id)
|
491
|
+
SENSITIVE = []
|
475
492
|
include Aws::Structure
|
476
493
|
end
|
477
494
|
|
@@ -524,6 +541,7 @@ module Aws::ServiceDiscovery
|
|
524
541
|
:max_results,
|
525
542
|
:query_parameters,
|
526
543
|
:health_status)
|
544
|
+
SENSITIVE = []
|
527
545
|
include Aws::Structure
|
528
546
|
end
|
529
547
|
|
@@ -536,10 +554,11 @@ module Aws::ServiceDiscovery
|
|
536
554
|
#
|
537
555
|
class DiscoverInstancesResponse < Struct.new(
|
538
556
|
:instances)
|
557
|
+
SENSITIVE = []
|
539
558
|
include Aws::Structure
|
540
559
|
end
|
541
560
|
|
542
|
-
# A complex type that contains information about the Amazon Route
|
561
|
+
# A complex type that contains information about the Amazon Route 53 DNS
|
543
562
|
# records that you want AWS Cloud Map to create when you register an
|
544
563
|
# instance.
|
545
564
|
#
|
@@ -562,7 +581,7 @@ module Aws::ServiceDiscovery
|
|
562
581
|
# @return [String]
|
563
582
|
#
|
564
583
|
# @!attribute [rw] routing_policy
|
565
|
-
# The routing policy that you want to apply to all Route
|
584
|
+
# The routing policy that you want to apply to all Route 53 DNS
|
566
585
|
# records that AWS Cloud Map creates when you register an instance and
|
567
586
|
# specify this service.
|
568
587
|
#
|
@@ -576,43 +595,43 @@ module Aws::ServiceDiscovery
|
|
576
595
|
# **MULTIVALUE**
|
577
596
|
#
|
578
597
|
# If you define a health check for the service and the health check is
|
579
|
-
# healthy, Route
|
598
|
+
# healthy, Route 53 returns the applicable value for up to eight
|
580
599
|
# instances.
|
581
600
|
#
|
582
|
-
# For example, suppose the service includes configurations for one A
|
601
|
+
# For example, suppose the service includes configurations for one `A`
|
583
602
|
# record and a health check, and you use the service to register 10
|
584
|
-
# instances. Route
|
603
|
+
# instances. Route 53 responds to DNS queries with IP addresses for up
|
585
604
|
# to eight healthy instances. If fewer than eight instances are
|
586
|
-
# healthy, Route
|
605
|
+
# healthy, Route 53 responds to every DNS query with the IP addresses
|
587
606
|
# for all of the healthy instances.
|
588
607
|
#
|
589
|
-
# If you don't define a health check for the service, Route
|
608
|
+
# If you don't define a health check for the service, Route 53
|
590
609
|
# assumes that all instances are healthy and returns the values for up
|
591
610
|
# to eight instances.
|
592
611
|
#
|
593
612
|
# For more information about the multivalue routing policy, see
|
594
|
-
# [Multivalue Answer Routing][1] in the *Route
|
613
|
+
# [Multivalue Answer Routing][1] in the *Route 53 Developer Guide*.
|
595
614
|
#
|
596
615
|
# **WEIGHTED**
|
597
616
|
#
|
598
|
-
# Route
|
617
|
+
# Route 53 returns the applicable value from one randomly selected
|
599
618
|
# instance from among the instances that you registered using the same
|
600
619
|
# service. Currently, all records have the same weight, so you can't
|
601
620
|
# route more or less traffic to any instances.
|
602
621
|
#
|
603
|
-
# For example, suppose the service includes configurations for one A
|
622
|
+
# For example, suppose the service includes configurations for one `A`
|
604
623
|
# record and a health check, and you use the service to register 10
|
605
|
-
# instances. Route
|
624
|
+
# instances. Route 53 responds to DNS queries with the IP address for
|
606
625
|
# one randomly selected instance from among the healthy instances. If
|
607
|
-
# no instances are healthy, Route
|
626
|
+
# no instances are healthy, Route 53 responds to DNS queries as if all
|
608
627
|
# of the instances were healthy.
|
609
628
|
#
|
610
|
-
# If you don't define a health check for the service, Route
|
629
|
+
# If you don't define a health check for the service, Route 53
|
611
630
|
# assumes that all instances are healthy and returns the applicable
|
612
631
|
# value for one randomly selected instance.
|
613
632
|
#
|
614
633
|
# For more information about the weighted routing policy, see
|
615
|
-
# [Weighted Routing][2] in the *Route
|
634
|
+
# [Weighted Routing][2] in the *Route 53 Developer Guide*.
|
616
635
|
#
|
617
636
|
#
|
618
637
|
#
|
@@ -621,7 +640,7 @@ module Aws::ServiceDiscovery
|
|
621
640
|
# @return [String]
|
622
641
|
#
|
623
642
|
# @!attribute [rw] dns_records
|
624
|
-
# An array that contains one `DnsRecord` object for each Route
|
643
|
+
# An array that contains one `DnsRecord` object for each Route 53 DNS
|
625
644
|
# record that you want AWS Cloud Map to create when you register an
|
626
645
|
# instance.
|
627
646
|
# @return [Array<Types::DnsRecord>]
|
@@ -632,10 +651,11 @@ module Aws::ServiceDiscovery
|
|
632
651
|
:namespace_id,
|
633
652
|
:routing_policy,
|
634
653
|
:dns_records)
|
654
|
+
SENSITIVE = []
|
635
655
|
include Aws::Structure
|
636
656
|
end
|
637
657
|
|
638
|
-
# A complex type that contains information about changes to the Route
|
658
|
+
# A complex type that contains information about changes to the Route 53
|
639
659
|
# DNS records that AWS Cloud Map creates when you register an instance.
|
640
660
|
#
|
641
661
|
# @note When making an API call, you may pass DnsConfigChange
|
@@ -651,7 +671,7 @@ module Aws::ServiceDiscovery
|
|
651
671
|
# }
|
652
672
|
#
|
653
673
|
# @!attribute [rw] dns_records
|
654
|
-
# An array that contains one `DnsRecord` object for each Route
|
674
|
+
# An array that contains one `DnsRecord` object for each Route 53
|
655
675
|
# record that you want AWS Cloud Map to create when you register an
|
656
676
|
# instance.
|
657
677
|
# @return [Array<Types::DnsRecord>]
|
@@ -660,14 +680,15 @@ module Aws::ServiceDiscovery
|
|
660
680
|
#
|
661
681
|
class DnsConfigChange < Struct.new(
|
662
682
|
:dns_records)
|
683
|
+
SENSITIVE = []
|
663
684
|
include Aws::Structure
|
664
685
|
end
|
665
686
|
|
666
|
-
# A complex type that contains the ID for the Route
|
687
|
+
# A complex type that contains the ID for the Route 53 hosted zone that
|
667
688
|
# AWS Cloud Map creates when you create a namespace.
|
668
689
|
#
|
669
690
|
# @!attribute [rw] hosted_zone_id
|
670
|
-
# The ID for the Route
|
691
|
+
# The ID for the Route 53 hosted zone that AWS Cloud Map creates when
|
671
692
|
# you create a namespace.
|
672
693
|
# @return [String]
|
673
694
|
#
|
@@ -675,10 +696,11 @@ module Aws::ServiceDiscovery
|
|
675
696
|
#
|
676
697
|
class DnsProperties < Struct.new(
|
677
698
|
:hosted_zone_id)
|
699
|
+
SENSITIVE = []
|
678
700
|
include Aws::Structure
|
679
701
|
end
|
680
702
|
|
681
|
-
# A complex type that contains information about the Route
|
703
|
+
# A complex type that contains information about the Route 53 DNS
|
682
704
|
# records that you want AWS Cloud Map to create when you register an
|
683
705
|
# instance.
|
684
706
|
#
|
@@ -692,110 +714,91 @@ module Aws::ServiceDiscovery
|
|
692
714
|
#
|
693
715
|
# @!attribute [rw] type
|
694
716
|
# The type of the resource, which indicates the type of value that
|
695
|
-
# Route
|
717
|
+
# Route 53 returns in response to DNS queries. You can specify values
|
696
718
|
# for `Type` in the following combinations:
|
697
719
|
#
|
698
|
-
# * A
|
720
|
+
# * `A`
|
699
721
|
#
|
700
|
-
# * AAAA
|
722
|
+
# * `AAAA`
|
701
723
|
#
|
702
|
-
# * A and AAAA
|
724
|
+
# * `A` and `AAAA`
|
703
725
|
#
|
704
|
-
# * SRV
|
726
|
+
# * `SRV`
|
705
727
|
#
|
706
|
-
# * CNAME
|
728
|
+
# * `CNAME`
|
707
729
|
#
|
708
|
-
# If you want AWS Cloud Map to create a Route
|
730
|
+
# If you want AWS Cloud Map to create a Route 53 alias record when you
|
709
731
|
# register an instance, specify `A` or `AAAA` for `Type`.
|
710
732
|
#
|
711
|
-
# You specify other settings, such as the IP address for A and
|
712
|
-
# records, when you register an instance. For more information,
|
713
|
-
# [RegisterInstance][1].
|
733
|
+
# You specify other settings, such as the IP address for `A` and
|
734
|
+
# `AAAA` records, when you register an instance. For more information,
|
735
|
+
# see [RegisterInstance][1].
|
714
736
|
#
|
715
737
|
# The following values are supported:
|
716
738
|
#
|
717
|
-
#
|
718
|
-
#
|
719
|
-
#
|
720
|
-
# as
|
721
|
-
#
|
722
|
-
#
|
723
|
-
#
|
724
|
-
#
|
725
|
-
#
|
726
|
-
#
|
727
|
-
#
|
728
|
-
#
|
729
|
-
#
|
730
|
-
#
|
731
|
-
#
|
732
|
-
#
|
733
|
-
#
|
734
|
-
#
|
735
|
-
#
|
736
|
-
#
|
737
|
-
#
|
738
|
-
#
|
739
|
-
#
|
740
|
-
#
|
741
|
-
#
|
742
|
-
#
|
743
|
-
#
|
744
|
-
#
|
745
|
-
#
|
746
|
-
#
|
747
|
-
#
|
748
|
-
#
|
749
|
-
#
|
750
|
-
#
|
751
|
-
#
|
752
|
-
#
|
753
|
-
#
|
754
|
-
#
|
755
|
-
#
|
756
|
-
#
|
757
|
-
#
|
758
|
-
#
|
759
|
-
#
|
760
|
-
#
|
761
|
-
#
|
762
|
-
#
|
763
|
-
#
|
764
|
-
#
|
765
|
-
#
|
766
|
-
#
|
767
|
-
#
|
768
|
-
#
|
769
|
-
# the service is `backend`, and the name of the namespace is
|
770
|
-
# `example.com`, the value of `service-hostname` is:
|
771
|
-
#
|
772
|
-
# `test.backend.example.com`
|
773
|
-
#
|
774
|
-
# If you specify settings for an SRV record, note the following:
|
775
|
-
#
|
776
|
-
# * If you specify values for `AWS_INSTANCE_IPV4`,
|
777
|
-
# `AWS_INSTANCE_IPV6`, or both in the `RegisterInstance` request,
|
778
|
-
# AWS Cloud Map automatically creates `A` and/or `AAAA` records that
|
779
|
-
# have the same name as the value of `service-hostname` in the SRV
|
780
|
-
# record. You can ignore these records.
|
781
|
-
#
|
782
|
-
# * If you're using a system that requires a specific SRV format,
|
783
|
-
# such as HAProxy, see the [Name][3] element in the documentation
|
784
|
-
# about `CreateService` for information about how to specify the
|
785
|
-
# correct name format.
|
739
|
+
# `A` <b> <code> </b> </p> <p>Route 53 returns the IP address of the
|
740
|
+
# resource in IPv4 format, such as 192.0.2.44.</p> <p>
|
741
|
+
# <code>AAAA</code> <b> <code> </b> </p> <p>Route 53 returns the IP
|
742
|
+
# address of the resource in IPv6 format, such as
|
743
|
+
# 2001:0db8:85a3:0000:0000:abcd:0001:2345.</p> <p> <code>CNAME</code>
|
744
|
+
# <b> <code> </b> </p> <p>Route 53 returns the domain name of the
|
745
|
+
# resource, such as www.example.com. Note the following:</p> <ul> <li>
|
746
|
+
# <p>You specify the domain name that you want to route traffic to
|
747
|
+
# when you register an instance. For more information, see <a
|
748
|
+
# href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html#cloudmap-RegisterInstance-request-Attributes">Attributes</a>
|
749
|
+
# in the topic <a
|
750
|
+
# href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a>.</p>
|
751
|
+
# </li> <li> <p>You must specify <code>WEIGHTED</code> for the value
|
752
|
+
# of <code>RoutingPolicy</code>.</p> </li> <li> <p>You can't specify
|
753
|
+
# both <code>CNAME</code> for <code>Type</code> and settings for
|
754
|
+
# <code>HealthCheckConfig</code>. If you do, the request will fail
|
755
|
+
# with an <code>InvalidInput</code> error.</p> </li> </ul> <p>
|
756
|
+
# <b>SRV</b> </p> <p>Route 53 returns the value for an
|
757
|
+
# <code>SRV</code> record. The value for an <code>SRV</code> record
|
758
|
+
# uses the following values:</p> <p> <code>priority weight port
|
759
|
+
# service-hostname</code> </p> <p>Note the following about the
|
760
|
+
# values:</p> <ul> <li> <p>The values of <code>priority</code> and
|
761
|
+
# <code>weight</code> are both set to <code>1</code> and can't be
|
762
|
+
# changed. </p> </li> <li> <p>The value of <code>port</code> comes
|
763
|
+
# from the value that you specify for the
|
764
|
+
# <code>AWS_INSTANCE_PORT</code> attribute when you submit a <a
|
765
|
+
# href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a>
|
766
|
+
# request. </p> </li> <li> <p>The value of
|
767
|
+
# <code>service-hostname</code> is a concatenation of the following
|
768
|
+
# values:</p> <ul> <li> <p>The value that you specify for
|
769
|
+
# <code>InstanceId</code> when you register an instance.</p> </li>
|
770
|
+
# <li> <p>The name of the service.</p> </li> <li> <p>The name of the
|
771
|
+
# namespace. </p> </li> </ul> <p>For example, if the value of
|
772
|
+
# <code>InstanceId</code> is <code>test</code>, the name of the
|
773
|
+
# service is <code>backend</code>, and the name of the namespace is
|
774
|
+
# <code>example.com</code>, the value of <code>service-hostname</code>
|
775
|
+
# is:</p> <p> <code>test.backend.example.com</code> </p> </li> </ul>
|
776
|
+
# <p>If you specify settings for an <code>SRV</code> record, note the
|
777
|
+
# following:</p> <ul> <li> <p>If you specify values for
|
778
|
+
# <code>AWS_INSTANCE_IPV4</code>, <code>AWS_INSTANCE_IPV6</code>, or
|
779
|
+
# both in the <code>RegisterInstance</code> request, AWS Cloud Map
|
780
|
+
# automatically creates <code>A</code> and/or <code>AAAA</code>
|
781
|
+
# records that have the same name as the value of
|
782
|
+
# <code>service-hostname</code> in the <code>SRV</code> record. You
|
783
|
+
# can ignore these records.</p> </li> <li> <p>If you're using a system
|
784
|
+
# that requires a specific <code>SRV</code> format, such as HAProxy,
|
785
|
+
# see the <a
|
786
|
+
# href="https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html#cloudmap-CreateService-request-Name">Name</a>
|
787
|
+
# element in the documentation about <code>CreateService</code> for
|
788
|
+
# information about how to specify the correct name format.</p> </li>
|
789
|
+
# </ul>
|
790
|
+
# </code></b></p></code></b></p></code></b>
|
786
791
|
#
|
787
792
|
#
|
788
793
|
#
|
789
794
|
# [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html
|
790
|
-
# [2]: https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html#cloudmap-RegisterInstance-request-Attributes
|
791
|
-
# [3]: https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html#cloudmap-CreateService-request-Name
|
792
795
|
# @return [String]
|
793
796
|
#
|
794
797
|
# @!attribute [rw] ttl
|
795
798
|
# The amount of time, in seconds, that you want DNS resolvers to cache
|
796
799
|
# the settings for this record.
|
797
800
|
#
|
798
|
-
# <note markdown="1"> Alias records don't include a TTL because Route
|
801
|
+
# <note markdown="1"> Alias records don't include a TTL because Route 53 uses the TTL for
|
799
802
|
# the AWS resource that an alias record routes traffic to. If you
|
800
803
|
# include the `AWS_ALIAS_DNS_NAME` attribute when you submit a
|
801
804
|
# [RegisterInstance][1] request, the `TTL` value is ignored. Always
|
@@ -814,6 +817,7 @@ module Aws::ServiceDiscovery
|
|
814
817
|
class DnsRecord < Struct.new(
|
815
818
|
:type,
|
816
819
|
:ttl)
|
820
|
+
SENSITIVE = []
|
817
821
|
include Aws::Structure
|
818
822
|
end
|
819
823
|
|
@@ -831,6 +835,7 @@ module Aws::ServiceDiscovery
|
|
831
835
|
class DuplicateRequest < Struct.new(
|
832
836
|
:message,
|
833
837
|
:duplicate_operation_id)
|
838
|
+
SENSITIVE = []
|
834
839
|
include Aws::Structure
|
835
840
|
end
|
836
841
|
|
@@ -855,6 +860,7 @@ module Aws::ServiceDiscovery
|
|
855
860
|
class GetInstanceRequest < Struct.new(
|
856
861
|
:service_id,
|
857
862
|
:instance_id)
|
863
|
+
SENSITIVE = []
|
858
864
|
include Aws::Structure
|
859
865
|
end
|
860
866
|
|
@@ -866,6 +872,7 @@ module Aws::ServiceDiscovery
|
|
866
872
|
#
|
867
873
|
class GetInstanceResponse < Struct.new(
|
868
874
|
:instance)
|
875
|
+
SENSITIVE = []
|
869
876
|
include Aws::Structure
|
870
877
|
end
|
871
878
|
|
@@ -923,6 +930,7 @@ module Aws::ServiceDiscovery
|
|
923
930
|
:instances,
|
924
931
|
:max_results,
|
925
932
|
:next_token)
|
933
|
+
SENSITIVE = []
|
926
934
|
include Aws::Structure
|
927
935
|
end
|
928
936
|
|
@@ -944,6 +952,7 @@ module Aws::ServiceDiscovery
|
|
944
952
|
class GetInstancesHealthStatusResponse < Struct.new(
|
945
953
|
:status,
|
946
954
|
:next_token)
|
955
|
+
SENSITIVE = []
|
947
956
|
include Aws::Structure
|
948
957
|
end
|
949
958
|
|
@@ -962,6 +971,7 @@ module Aws::ServiceDiscovery
|
|
962
971
|
#
|
963
972
|
class GetNamespaceRequest < Struct.new(
|
964
973
|
:id)
|
974
|
+
SENSITIVE = []
|
965
975
|
include Aws::Structure
|
966
976
|
end
|
967
977
|
|
@@ -974,6 +984,7 @@ module Aws::ServiceDiscovery
|
|
974
984
|
#
|
975
985
|
class GetNamespaceResponse < Struct.new(
|
976
986
|
:namespace)
|
987
|
+
SENSITIVE = []
|
977
988
|
include Aws::Structure
|
978
989
|
end
|
979
990
|
|
@@ -992,6 +1003,7 @@ module Aws::ServiceDiscovery
|
|
992
1003
|
#
|
993
1004
|
class GetOperationRequest < Struct.new(
|
994
1005
|
:operation_id)
|
1006
|
+
SENSITIVE = []
|
995
1007
|
include Aws::Structure
|
996
1008
|
end
|
997
1009
|
|
@@ -1003,6 +1015,7 @@ module Aws::ServiceDiscovery
|
|
1003
1015
|
#
|
1004
1016
|
class GetOperationResponse < Struct.new(
|
1005
1017
|
:operation)
|
1018
|
+
SENSITIVE = []
|
1006
1019
|
include Aws::Structure
|
1007
1020
|
end
|
1008
1021
|
|
@@ -1021,6 +1034,7 @@ module Aws::ServiceDiscovery
|
|
1021
1034
|
#
|
1022
1035
|
class GetServiceRequest < Struct.new(
|
1023
1036
|
:id)
|
1037
|
+
SENSITIVE = []
|
1024
1038
|
include Aws::Structure
|
1025
1039
|
end
|
1026
1040
|
|
@@ -1032,6 +1046,7 @@ module Aws::ServiceDiscovery
|
|
1032
1046
|
#
|
1033
1047
|
class GetServiceResponse < Struct.new(
|
1034
1048
|
:service)
|
1049
|
+
SENSITIVE = []
|
1035
1050
|
include Aws::Structure
|
1036
1051
|
end
|
1037
1052
|
|
@@ -1043,21 +1058,21 @@ module Aws::ServiceDiscovery
|
|
1043
1058
|
# If you specify a health check configuration, you can specify either
|
1044
1059
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
1045
1060
|
#
|
1046
|
-
# Health checks are basic Route
|
1061
|
+
# Health checks are basic Route 53 health checks that monitor an AWS
|
1047
1062
|
# endpoint. For information about pricing for health checks, see [Amazon
|
1048
|
-
# Route
|
1063
|
+
# Route 53 Pricing][1].
|
1049
1064
|
#
|
1050
1065
|
# Note the following about configuring health checks.
|
1051
1066
|
#
|
1052
|
-
#
|
1067
|
+
# <b> <code>A</code> and <code>AAAA</code> records</b>
|
1053
1068
|
#
|
1054
|
-
# If `DnsConfig` includes configurations for both A and AAAA
|
1055
|
-
# AWS Cloud Map creates a health check that uses the IPv4
|
1056
|
-
# check the health of the resource. If the endpoint that is
|
1057
|
-
# the IPv4 address is unhealthy, Route
|
1058
|
-
# records to be unhealthy.
|
1069
|
+
# If `DnsConfig` includes configurations for both `A` and `AAAA`
|
1070
|
+
# records, AWS Cloud Map creates a health check that uses the IPv4
|
1071
|
+
# address to check the health of the resource. If the endpoint that is
|
1072
|
+
# specified by the IPv4 address is unhealthy, Route 53 considers both
|
1073
|
+
# the `A` and `AAAA` records to be unhealthy.
|
1059
1074
|
#
|
1060
|
-
#
|
1075
|
+
# <b> <code>CNAME</code> records</b>
|
1061
1076
|
#
|
1062
1077
|
# You can't specify settings for `HealthCheckConfig` when the
|
1063
1078
|
# `DNSConfig` includes `CNAME` for the value of `Type`. If you do, the
|
@@ -1065,7 +1080,7 @@ module Aws::ServiceDiscovery
|
|
1065
1080
|
#
|
1066
1081
|
# **Request interval**
|
1067
1082
|
#
|
1068
|
-
# A Route
|
1083
|
+
# A Route 53 health checker in each health-checking region sends a
|
1069
1084
|
# health check request to an endpoint every 30 seconds. On average, your
|
1070
1085
|
# endpoint receives a health check request about every two seconds.
|
1071
1086
|
# However, health checkers don't coordinate with one another, so
|
@@ -1074,29 +1089,29 @@ module Aws::ServiceDiscovery
|
|
1074
1089
|
#
|
1075
1090
|
# **Health checking regions**
|
1076
1091
|
#
|
1077
|
-
# Health checkers perform checks from all Route
|
1092
|
+
# Health checkers perform checks from all Route 53 health-checking
|
1078
1093
|
# regions. For a list of the current regions, see [Regions][2].
|
1079
1094
|
#
|
1080
1095
|
# **Alias records**
|
1081
1096
|
#
|
1082
1097
|
# When you register an instance, if you include the `AWS_ALIAS_DNS_NAME`
|
1083
|
-
# attribute, AWS Cloud Map creates a Route
|
1098
|
+
# attribute, AWS Cloud Map creates a Route 53 alias record. Note the
|
1084
1099
|
# following:
|
1085
1100
|
#
|
1086
|
-
# * Route
|
1101
|
+
# * Route 53 automatically sets `EvaluateTargetHealth` to true for alias
|
1087
1102
|
# records. When `EvaluateTargetHealth` is true, the alias record
|
1088
1103
|
# inherits the health of the referenced AWS resource. such as an ELB
|
1089
1104
|
# load balancer. For more information, see [EvaluateTargetHealth][3].
|
1090
1105
|
#
|
1091
1106
|
# * If you include `HealthCheckConfig` and then use the service to
|
1092
|
-
# register an instance that creates an alias record, Route
|
1107
|
+
# register an instance that creates an alias record, Route 53 doesn't
|
1093
1108
|
# create the health check.
|
1094
1109
|
#
|
1095
1110
|
# **Charges for health checks**
|
1096
1111
|
#
|
1097
|
-
# Health checks are basic Route
|
1112
|
+
# Health checks are basic Route 53 health checks that monitor an AWS
|
1098
1113
|
# endpoint. For information about pricing for health checks, see [Amazon
|
1099
|
-
# Route
|
1114
|
+
# Route 53 Pricing][1].
|
1100
1115
|
#
|
1101
1116
|
#
|
1102
1117
|
#
|
@@ -1115,31 +1130,31 @@ module Aws::ServiceDiscovery
|
|
1115
1130
|
#
|
1116
1131
|
# @!attribute [rw] type
|
1117
1132
|
# The type of health check that you want to create, which indicates
|
1118
|
-
# how Route
|
1133
|
+
# how Route 53 determines whether an endpoint is healthy.
|
1119
1134
|
#
|
1120
1135
|
# You can't change the value of `Type` after you create a health
|
1121
1136
|
# check.
|
1122
1137
|
#
|
1123
1138
|
# You can create the following types of health checks:
|
1124
1139
|
#
|
1125
|
-
# * **HTTP**\: Route
|
1126
|
-
# successful, Route
|
1140
|
+
# * **HTTP**\: Route 53 tries to establish a TCP connection. If
|
1141
|
+
# successful, Route 53 submits an HTTP request and waits for an HTTP
|
1127
1142
|
# status code of 200 or greater and less than 400.
|
1128
1143
|
#
|
1129
|
-
# * **HTTPS**\: Route
|
1130
|
-
# successful, Route
|
1144
|
+
# * **HTTPS**\: Route 53 tries to establish a TCP connection. If
|
1145
|
+
# successful, Route 53 submits an HTTPS request and waits for an
|
1131
1146
|
# HTTP status code of 200 or greater and less than 400.
|
1132
1147
|
#
|
1133
1148
|
# If you specify HTTPS for the value of `Type`, the endpoint must
|
1134
1149
|
# support TLS v1.0 or later.
|
1135
1150
|
#
|
1136
|
-
# * **TCP**\: Route
|
1151
|
+
# * **TCP**\: Route 53 tries to establish a TCP connection.
|
1137
1152
|
#
|
1138
1153
|
# If you specify `TCP` for `Type`, don't specify a value for
|
1139
1154
|
# `ResourcePath`.
|
1140
1155
|
#
|
1141
|
-
# For more information, see [How Route
|
1142
|
-
# Endpoint Is Healthy][1] in the *Route
|
1156
|
+
# For more information, see [How Route 53 Determines Whether an
|
1157
|
+
# Endpoint Is Healthy][1] in the *Route 53 Developer Guide*.
|
1143
1158
|
#
|
1144
1159
|
#
|
1145
1160
|
#
|
@@ -1147,12 +1162,12 @@ module Aws::ServiceDiscovery
|
|
1147
1162
|
# @return [String]
|
1148
1163
|
#
|
1149
1164
|
# @!attribute [rw] resource_path
|
1150
|
-
# The path that you want Route
|
1165
|
+
# The path that you want Route 53 to request when performing health
|
1151
1166
|
# checks. The path can be any value for which your endpoint will
|
1152
1167
|
# return an HTTP status code of 2xx or 3xx when the endpoint is
|
1153
|
-
# healthy, such as the file `/docs/route53-health-check.html`.
|
1154
|
-
# 53 automatically adds the DNS name for the service. If you
|
1155
|
-
# specify a value for `ResourcePath`, the default value is `/`.
|
1168
|
+
# healthy, such as the file `/docs/route53-health-check.html`.
|
1169
|
+
# Route 53 automatically adds the DNS name for the service. If you
|
1170
|
+
# don't specify a value for `ResourcePath`, the default value is `/`.
|
1156
1171
|
#
|
1157
1172
|
# If you specify `TCP` for `Type`, you must *not* specify a value for
|
1158
1173
|
# `ResourcePath`.
|
@@ -1160,10 +1175,10 @@ module Aws::ServiceDiscovery
|
|
1160
1175
|
#
|
1161
1176
|
# @!attribute [rw] failure_threshold
|
1162
1177
|
# The number of consecutive health checks that an endpoint must pass
|
1163
|
-
# or fail for Route
|
1178
|
+
# or fail for Route 53 to change the current status of the endpoint
|
1164
1179
|
# from unhealthy to healthy or vice versa. For more information, see
|
1165
|
-
# [How Route
|
1166
|
-
# *Route
|
1180
|
+
# [How Route 53 Determines Whether an Endpoint Is Healthy][1] in the
|
1181
|
+
# *Route 53 Developer Guide*.
|
1167
1182
|
#
|
1168
1183
|
#
|
1169
1184
|
#
|
@@ -1176,6 +1191,7 @@ module Aws::ServiceDiscovery
|
|
1176
1191
|
:type,
|
1177
1192
|
:resource_path,
|
1178
1193
|
:failure_threshold)
|
1194
|
+
SENSITIVE = []
|
1179
1195
|
include Aws::Structure
|
1180
1196
|
end
|
1181
1197
|
|
@@ -1265,6 +1281,7 @@ module Aws::ServiceDiscovery
|
|
1265
1281
|
#
|
1266
1282
|
class HealthCheckCustomConfig < Struct.new(
|
1267
1283
|
:failure_threshold)
|
1284
|
+
SENSITIVE = []
|
1268
1285
|
include Aws::Structure
|
1269
1286
|
end
|
1270
1287
|
|
@@ -1309,6 +1326,7 @@ module Aws::ServiceDiscovery
|
|
1309
1326
|
:service_name,
|
1310
1327
|
:health_status,
|
1311
1328
|
:attributes)
|
1329
|
+
SENSITIVE = []
|
1312
1330
|
include Aws::Structure
|
1313
1331
|
end
|
1314
1332
|
|
@@ -1322,6 +1340,7 @@ module Aws::ServiceDiscovery
|
|
1322
1340
|
#
|
1323
1341
|
class HttpProperties < Struct.new(
|
1324
1342
|
:http_name)
|
1343
|
+
SENSITIVE = []
|
1325
1344
|
include Aws::Structure
|
1326
1345
|
end
|
1327
1346
|
|
@@ -1333,8 +1352,8 @@ module Aws::ServiceDiscovery
|
|
1333
1352
|
# following:
|
1334
1353
|
#
|
1335
1354
|
# * If the service that is specified by `ServiceId` includes settings
|
1336
|
-
# for an SRV record, the value of `InstanceId` is automatically
|
1337
|
-
# included as part of the value for the SRV record. For more
|
1355
|
+
# for an `SRV` record, the value of `InstanceId` is automatically
|
1356
|
+
# included as part of the value for the `SRV` record. For more
|
1338
1357
|
# information, see [DnsRecord > Type][1].
|
1339
1358
|
#
|
1340
1359
|
# * You can use this value to update an existing instance.
|
@@ -1384,7 +1403,7 @@ module Aws::ServiceDiscovery
|
|
1384
1403
|
#
|
1385
1404
|
# ****
|
1386
1405
|
#
|
1387
|
-
# If you want AWS Cloud Map to create a Route
|
1406
|
+
# If you want AWS Cloud Map to create a Route 53 alias record that
|
1388
1407
|
# routes traffic to an Elastic Load Balancing load balancer, specify
|
1389
1408
|
# the DNS name that is associated with the load balancer. For
|
1390
1409
|
# information about how to get the DNS name, see "DNSName" in the
|
@@ -1393,7 +1412,8 @@ module Aws::ServiceDiscovery
|
|
1393
1412
|
# Note the following:
|
1394
1413
|
#
|
1395
1414
|
# * The configuration for the service that is specified by `ServiceId`
|
1396
|
-
# must include settings for an A record, an AAAA record, or
|
1415
|
+
# must include settings for an `A` record, an `AAAA` record, or
|
1416
|
+
# both.
|
1397
1417
|
#
|
1398
1418
|
# * In the service that is specified by `ServiceId`, the value of
|
1399
1419
|
# `RoutingPolicy` must be `WEIGHTED`.
|
@@ -1409,47 +1429,53 @@ module Aws::ServiceDiscovery
|
|
1409
1429
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
1410
1430
|
# values for any of the `AWS_INSTANCE` attributes.
|
1411
1431
|
#
|
1432
|
+
# **AWS\_EC2\_INSTANCE\_ID**
|
1433
|
+
#
|
1434
|
+
# *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
|
1435
|
+
# The `AWS_INSTANCE_IPV4` attribute contains the primary private IPv4
|
1436
|
+
# address.
|
1437
|
+
#
|
1412
1438
|
# **AWS\_INSTANCE\_CNAME**
|
1413
1439
|
#
|
1414
|
-
# If the service configuration includes a CNAME record, the domain
|
1415
|
-
# name that you want Route
|
1440
|
+
# If the service configuration includes a `CNAME` record, the domain
|
1441
|
+
# name that you want Route 53 to return in response to DNS queries,
|
1416
1442
|
# for example, `example.com`.
|
1417
1443
|
#
|
1418
1444
|
# This value is required if the service specified by `ServiceId`
|
1419
|
-
# includes settings for an CNAME record.
|
1445
|
+
# includes settings for an `CNAME` record.
|
1420
1446
|
#
|
1421
1447
|
# **AWS\_INSTANCE\_IPV4**
|
1422
1448
|
#
|
1423
|
-
# If the service configuration includes an A record, the IPv4
|
1424
|
-
# that you want Route
|
1425
|
-
# example, `192.0.2.44`.
|
1449
|
+
# If the service configuration includes an `A` record, the IPv4
|
1450
|
+
# address that you want Route 53 to return in response to DNS queries,
|
1451
|
+
# for example, `192.0.2.44`.
|
1426
1452
|
#
|
1427
1453
|
# This value is required if the service specified by `ServiceId`
|
1428
|
-
# includes settings for an A record. If the service includes
|
1429
|
-
# for an SRV record, you must specify a value for
|
1430
|
-
# `AWS_INSTANCE_IPV6`, or both.
|
1454
|
+
# includes settings for an `A` record. If the service includes
|
1455
|
+
# settings for an `SRV` record, you must specify a value for
|
1456
|
+
# `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
|
1431
1457
|
#
|
1432
1458
|
# **AWS\_INSTANCE\_IPV6**
|
1433
1459
|
#
|
1434
|
-
# If the service configuration includes an AAAA record, the IPv6
|
1435
|
-
# address that you want Route
|
1460
|
+
# If the service configuration includes an `AAAA` record, the IPv6
|
1461
|
+
# address that you want Route 53 to return in response to DNS queries,
|
1436
1462
|
# for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
|
1437
1463
|
#
|
1438
1464
|
# This value is required if the service specified by `ServiceId`
|
1439
|
-
# includes settings for an AAAA record. If the service includes
|
1440
|
-
# settings for an SRV record, you must specify a value for
|
1465
|
+
# includes settings for an `AAAA` record. If the service includes
|
1466
|
+
# settings for an `SRV` record, you must specify a value for
|
1441
1467
|
# `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
|
1442
1468
|
#
|
1443
1469
|
# **AWS\_INSTANCE\_PORT**
|
1444
1470
|
#
|
1445
|
-
# If the service includes an SRV record, the value that you want
|
1446
|
-
# 53 to return for the port.
|
1471
|
+
# If the service includes an `SRV` record, the value that you want
|
1472
|
+
# Route 53 to return for the port.
|
1447
1473
|
#
|
1448
1474
|
# If the service includes `HealthCheckConfig`, the port on the
|
1449
|
-
# endpoint that you want Route
|
1475
|
+
# endpoint that you want Route 53 to send requests to.
|
1450
1476
|
#
|
1451
|
-
# This value is required if you specified settings for an SRV record
|
1452
|
-
# or a Route
|
1477
|
+
# This value is required if you specified settings for an `SRV` record
|
1478
|
+
# or a Route 53 health check when you created the service.
|
1453
1479
|
#
|
1454
1480
|
#
|
1455
1481
|
#
|
@@ -1462,6 +1488,7 @@ module Aws::ServiceDiscovery
|
|
1462
1488
|
:id,
|
1463
1489
|
:creator_request_id,
|
1464
1490
|
:attributes)
|
1491
|
+
SENSITIVE = []
|
1465
1492
|
include Aws::Structure
|
1466
1493
|
end
|
1467
1494
|
|
@@ -1475,6 +1502,7 @@ module Aws::ServiceDiscovery
|
|
1475
1502
|
#
|
1476
1503
|
class InstanceNotFound < Struct.new(
|
1477
1504
|
:message)
|
1505
|
+
SENSITIVE = []
|
1478
1506
|
include Aws::Structure
|
1479
1507
|
end
|
1480
1508
|
|
@@ -1499,20 +1527,26 @@ module Aws::ServiceDiscovery
|
|
1499
1527
|
# an Elastic Load Balancing load balancer, the DNS name that is
|
1500
1528
|
# associated with the load balancer.
|
1501
1529
|
#
|
1502
|
-
# * `
|
1503
|
-
#
|
1530
|
+
# * `AWS_EC2_INSTANCE_ID`\: (HTTP namespaces only) The Amazon EC2
|
1531
|
+
# instance ID for the instance. When the `AWS_EC2_INSTANCE_ID`
|
1532
|
+
# attribute is specified, then the `AWS_INSTANCE_IPV4` attribute
|
1533
|
+
# contains the primary private IPv4 address.
|
1534
|
+
#
|
1535
|
+
# * `AWS_INSTANCE_CNAME`\: For a `CNAME` record, the domain name that
|
1536
|
+
# Route 53 returns in response to DNS queries, for example,
|
1504
1537
|
# `example.com`.
|
1505
1538
|
#
|
1506
|
-
# * `AWS_INSTANCE_IPV4`\: For an A record, the IPv4 address that
|
1507
|
-
# 53 returns in response to DNS queries, for example,
|
1539
|
+
# * `AWS_INSTANCE_IPV4`\: For an `A` record, the IPv4 address that
|
1540
|
+
# Route 53 returns in response to DNS queries, for example,
|
1541
|
+
# `192.0.2.44`.
|
1508
1542
|
#
|
1509
|
-
# * `AWS_INSTANCE_IPV6`\: For an AAAA record, the IPv6 address that
|
1510
|
-
# Route
|
1543
|
+
# * `AWS_INSTANCE_IPV6`\: For an `AAAA` record, the IPv6 address that
|
1544
|
+
# Route 53 returns in response to DNS queries, for example,
|
1511
1545
|
# `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
|
1512
1546
|
#
|
1513
|
-
# * `AWS_INSTANCE_PORT`\: For an SRV record, the value that Route
|
1547
|
+
# * `AWS_INSTANCE_PORT`\: For an `SRV` record, the value that Route 53
|
1514
1548
|
# returns for the port. In addition, if the service includes
|
1515
|
-
# `HealthCheckConfig`, the port on the endpoint that Route
|
1549
|
+
# `HealthCheckConfig`, the port on the endpoint that Route 53 sends
|
1516
1550
|
# requests to.
|
1517
1551
|
# @return [Hash<String,String>]
|
1518
1552
|
#
|
@@ -1521,6 +1555,7 @@ module Aws::ServiceDiscovery
|
|
1521
1555
|
class InstanceSummary < Struct.new(
|
1522
1556
|
:id,
|
1523
1557
|
:attributes)
|
1558
|
+
SENSITIVE = []
|
1524
1559
|
include Aws::Structure
|
1525
1560
|
end
|
1526
1561
|
|
@@ -1535,6 +1570,7 @@ module Aws::ServiceDiscovery
|
|
1535
1570
|
#
|
1536
1571
|
class InvalidInput < Struct.new(
|
1537
1572
|
:message)
|
1573
|
+
SENSITIVE = []
|
1538
1574
|
include Aws::Structure
|
1539
1575
|
end
|
1540
1576
|
|
@@ -1573,6 +1609,7 @@ module Aws::ServiceDiscovery
|
|
1573
1609
|
:service_id,
|
1574
1610
|
:next_token,
|
1575
1611
|
:max_results)
|
1612
|
+
SENSITIVE = []
|
1576
1613
|
include Aws::Structure
|
1577
1614
|
end
|
1578
1615
|
|
@@ -1593,6 +1630,7 @@ module Aws::ServiceDiscovery
|
|
1593
1630
|
class ListInstancesResponse < Struct.new(
|
1594
1631
|
:instances,
|
1595
1632
|
:next_token)
|
1633
|
+
SENSITIVE = []
|
1596
1634
|
include Aws::Structure
|
1597
1635
|
end
|
1598
1636
|
|
@@ -1649,6 +1687,7 @@ module Aws::ServiceDiscovery
|
|
1649
1687
|
:next_token,
|
1650
1688
|
:max_results,
|
1651
1689
|
:filters)
|
1690
|
+
SENSITIVE = []
|
1652
1691
|
include Aws::Structure
|
1653
1692
|
end
|
1654
1693
|
|
@@ -1677,6 +1716,7 @@ module Aws::ServiceDiscovery
|
|
1677
1716
|
class ListNamespacesResponse < Struct.new(
|
1678
1717
|
:namespaces,
|
1679
1718
|
:next_token)
|
1719
|
+
SENSITIVE = []
|
1680
1720
|
include Aws::Structure
|
1681
1721
|
end
|
1682
1722
|
|
@@ -1733,6 +1773,7 @@ module Aws::ServiceDiscovery
|
|
1733
1773
|
:next_token,
|
1734
1774
|
:max_results,
|
1735
1775
|
:filters)
|
1776
|
+
SENSITIVE = []
|
1736
1777
|
include Aws::Structure
|
1737
1778
|
end
|
1738
1779
|
|
@@ -1761,6 +1802,7 @@ module Aws::ServiceDiscovery
|
|
1761
1802
|
class ListOperationsResponse < Struct.new(
|
1762
1803
|
:operations,
|
1763
1804
|
:next_token)
|
1805
|
+
SENSITIVE = []
|
1764
1806
|
include Aws::Structure
|
1765
1807
|
end
|
1766
1808
|
|
@@ -1815,6 +1857,7 @@ module Aws::ServiceDiscovery
|
|
1815
1857
|
:next_token,
|
1816
1858
|
:max_results,
|
1817
1859
|
:filters)
|
1860
|
+
SENSITIVE = []
|
1818
1861
|
include Aws::Structure
|
1819
1862
|
end
|
1820
1863
|
|
@@ -1842,6 +1885,7 @@ module Aws::ServiceDiscovery
|
|
1842
1885
|
class ListServicesResponse < Struct.new(
|
1843
1886
|
:services,
|
1844
1887
|
:next_token)
|
1888
|
+
SENSITIVE = []
|
1845
1889
|
include Aws::Structure
|
1846
1890
|
end
|
1847
1891
|
|
@@ -1861,6 +1905,7 @@ module Aws::ServiceDiscovery
|
|
1861
1905
|
#
|
1862
1906
|
class ListTagsForResourceRequest < Struct.new(
|
1863
1907
|
:resource_arn)
|
1908
|
+
SENSITIVE = []
|
1864
1909
|
include Aws::Structure
|
1865
1910
|
end
|
1866
1911
|
|
@@ -1872,6 +1917,7 @@ module Aws::ServiceDiscovery
|
|
1872
1917
|
#
|
1873
1918
|
class ListTagsForResourceResponse < Struct.new(
|
1874
1919
|
:tags)
|
1920
|
+
SENSITIVE = []
|
1875
1921
|
include Aws::Structure
|
1876
1922
|
end
|
1877
1923
|
|
@@ -1943,6 +1989,7 @@ module Aws::ServiceDiscovery
|
|
1943
1989
|
:properties,
|
1944
1990
|
:create_date,
|
1945
1991
|
:creator_request_id)
|
1992
|
+
SENSITIVE = []
|
1946
1993
|
include Aws::Structure
|
1947
1994
|
end
|
1948
1995
|
|
@@ -1965,6 +2012,7 @@ module Aws::ServiceDiscovery
|
|
1965
2012
|
:message,
|
1966
2013
|
:creator_request_id,
|
1967
2014
|
:namespace_id)
|
2015
|
+
SENSITIVE = []
|
1968
2016
|
include Aws::Structure
|
1969
2017
|
end
|
1970
2018
|
|
@@ -2013,6 +2061,7 @@ module Aws::ServiceDiscovery
|
|
2013
2061
|
:name,
|
2014
2062
|
:values,
|
2015
2063
|
:condition)
|
2064
|
+
SENSITIVE = []
|
2016
2065
|
include Aws::Structure
|
2017
2066
|
end
|
2018
2067
|
|
@@ -2025,6 +2074,7 @@ module Aws::ServiceDiscovery
|
|
2025
2074
|
#
|
2026
2075
|
class NamespaceNotFound < Struct.new(
|
2027
2076
|
:message)
|
2077
|
+
SENSITIVE = []
|
2028
2078
|
include Aws::Structure
|
2029
2079
|
end
|
2030
2080
|
|
@@ -2032,7 +2082,7 @@ module Aws::ServiceDiscovery
|
|
2032
2082
|
# namespace type.
|
2033
2083
|
#
|
2034
2084
|
# @!attribute [rw] dns_properties
|
2035
|
-
# A complex type that contains the ID for the Route
|
2085
|
+
# A complex type that contains the ID for the Route 53 hosted zone
|
2036
2086
|
# that AWS Cloud Map creates when you create a namespace.
|
2037
2087
|
# @return [Types::DnsProperties]
|
2038
2088
|
#
|
@@ -2045,6 +2095,7 @@ module Aws::ServiceDiscovery
|
|
2045
2095
|
class NamespaceProperties < Struct.new(
|
2046
2096
|
:dns_properties,
|
2047
2097
|
:http_properties)
|
2098
|
+
SENSITIVE = []
|
2048
2099
|
include Aws::Structure
|
2049
2100
|
end
|
2050
2101
|
|
@@ -2061,7 +2112,7 @@ module Aws::ServiceDiscovery
|
|
2061
2112
|
#
|
2062
2113
|
# @!attribute [rw] name
|
2063
2114
|
# The name of the namespace. When you create a namespace, AWS Cloud
|
2064
|
-
# Map automatically creates a Route
|
2115
|
+
# Map automatically creates a Route 53 hosted zone that has the same
|
2065
2116
|
# name as the namespace.
|
2066
2117
|
# @return [String]
|
2067
2118
|
#
|
@@ -2097,6 +2148,7 @@ module Aws::ServiceDiscovery
|
|
2097
2148
|
:service_count,
|
2098
2149
|
:properties,
|
2099
2150
|
:create_date)
|
2151
|
+
SENSITIVE = []
|
2100
2152
|
include Aws::Structure
|
2101
2153
|
end
|
2102
2154
|
|
@@ -2188,6 +2240,7 @@ module Aws::ServiceDiscovery
|
|
2188
2240
|
:create_date,
|
2189
2241
|
:update_date,
|
2190
2242
|
:targets)
|
2243
|
+
SENSITIVE = []
|
2191
2244
|
include Aws::Structure
|
2192
2245
|
end
|
2193
2246
|
|
@@ -2265,6 +2318,7 @@ module Aws::ServiceDiscovery
|
|
2265
2318
|
:name,
|
2266
2319
|
:values,
|
2267
2320
|
:condition)
|
2321
|
+
SENSITIVE = []
|
2268
2322
|
include Aws::Structure
|
2269
2323
|
end
|
2270
2324
|
|
@@ -2277,6 +2331,7 @@ module Aws::ServiceDiscovery
|
|
2277
2331
|
#
|
2278
2332
|
class OperationNotFound < Struct.new(
|
2279
2333
|
:message)
|
2334
|
+
SENSITIVE = []
|
2280
2335
|
include Aws::Structure
|
2281
2336
|
end
|
2282
2337
|
|
@@ -2311,6 +2366,7 @@ module Aws::ServiceDiscovery
|
|
2311
2366
|
class OperationSummary < Struct.new(
|
2312
2367
|
:id,
|
2313
2368
|
:status)
|
2369
|
+
SENSITIVE = []
|
2314
2370
|
include Aws::Structure
|
2315
2371
|
end
|
2316
2372
|
|
@@ -2336,8 +2392,8 @@ module Aws::ServiceDiscovery
|
|
2336
2392
|
# following:
|
2337
2393
|
#
|
2338
2394
|
# * If the service that is specified by `ServiceId` includes settings
|
2339
|
-
# for an SRV record, the value of `InstanceId` is automatically
|
2340
|
-
# included as part of the value for the SRV record. For more
|
2395
|
+
# for an `SRV` record, the value of `InstanceId` is automatically
|
2396
|
+
# included as part of the value for the `SRV` record. For more
|
2341
2397
|
# information, see [DnsRecord > Type][1].
|
2342
2398
|
#
|
2343
2399
|
# * You can use this value to update an existing instance.
|
@@ -2388,33 +2444,42 @@ module Aws::ServiceDiscovery
|
|
2388
2444
|
#
|
2389
2445
|
# **AWS\_ALIAS\_DNS\_NAME**
|
2390
2446
|
#
|
2391
|
-
#
|
2392
|
-
#
|
2393
|
-
# If you want AWS Cloud Map to create an Amazon Route 53 alias record
|
2447
|
+
# If you want AWS Cloud Map to create an Amazon Route 53 alias record
|
2394
2448
|
# that routes traffic to an Elastic Load Balancing load balancer,
|
2395
2449
|
# specify the DNS name that is associated with the load balancer. For
|
2396
2450
|
# information about how to get the DNS name, see "DNSName" in the
|
2397
|
-
# topic [AliasTarget][1] in the *Route
|
2451
|
+
# topic [AliasTarget][1] in the *Route 53 API Reference*.
|
2398
2452
|
#
|
2399
2453
|
# Note the following:
|
2400
2454
|
#
|
2401
2455
|
# * The configuration for the service that is specified by `ServiceId`
|
2402
|
-
# must include settings for an A record, an AAAA record, or
|
2456
|
+
# must include settings for an `A` record, an `AAAA` record, or
|
2457
|
+
# both.
|
2403
2458
|
#
|
2404
2459
|
# * In the service that is specified by `ServiceId`, the value of
|
2405
2460
|
# `RoutingPolicy` must be `WEIGHTED`.
|
2406
2461
|
#
|
2407
2462
|
# * If the service that is specified by `ServiceId` includes
|
2408
|
-
# `HealthCheckConfig` settings, AWS Cloud Map will create the
|
2409
|
-
# 53 health check, but it won't associate the health check
|
2410
|
-
# alias record.
|
2463
|
+
# `HealthCheckConfig` settings, AWS Cloud Map will create the
|
2464
|
+
# Route 53 health check, but it won't associate the health check
|
2465
|
+
# with the alias record.
|
2411
2466
|
#
|
2412
2467
|
# * Auto naming currently doesn't support creating alias records that
|
2413
|
-
# route traffic to AWS resources other than
|
2468
|
+
# route traffic to AWS resources other than Elastic Load Balancing
|
2469
|
+
# load balancers.
|
2414
2470
|
#
|
2415
2471
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
2416
2472
|
# values for any of the `AWS_INSTANCE` attributes.
|
2417
2473
|
#
|
2474
|
+
# **AWS\_EC2\_INSTANCE\_ID**
|
2475
|
+
#
|
2476
|
+
# *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
|
2477
|
+
# If the `AWS_EC2_INSTANCE_ID` attribute is specified, then the only
|
2478
|
+
# other attribute that can be specified is `AWS_INIT_HEALTH_STATUS`.
|
2479
|
+
# When the `AWS_EC2_INSTANCE_ID` attribute is specified, then the
|
2480
|
+
# `AWS_INSTANCE_IPV4` attribute will be filled out with the primary
|
2481
|
+
# private IPv4 address.
|
2482
|
+
#
|
2418
2483
|
# **AWS\_INIT\_HEALTH\_STATUS**
|
2419
2484
|
#
|
2420
2485
|
# If the service configuration includes `HealthCheckCustomConfig`, you
|
@@ -2425,51 +2490,51 @@ module Aws::ServiceDiscovery
|
|
2425
2490
|
#
|
2426
2491
|
# **AWS\_INSTANCE\_CNAME**
|
2427
2492
|
#
|
2428
|
-
# If the service configuration includes a CNAME record, the domain
|
2429
|
-
# name that you want Route
|
2493
|
+
# If the service configuration includes a `CNAME` record, the domain
|
2494
|
+
# name that you want Route 53 to return in response to DNS queries,
|
2430
2495
|
# for example, `example.com`.
|
2431
2496
|
#
|
2432
2497
|
# This value is required if the service specified by `ServiceId`
|
2433
|
-
# includes settings for an CNAME record.
|
2498
|
+
# includes settings for an `CNAME` record.
|
2434
2499
|
#
|
2435
2500
|
# **AWS\_INSTANCE\_IPV4**
|
2436
2501
|
#
|
2437
|
-
# If the service configuration includes an A record, the IPv4
|
2438
|
-
# that you want Route
|
2439
|
-
# example, `192.0.2.44`.
|
2502
|
+
# If the service configuration includes an `A` record, the IPv4
|
2503
|
+
# address that you want Route 53 to return in response to DNS queries,
|
2504
|
+
# for example, `192.0.2.44`.
|
2440
2505
|
#
|
2441
2506
|
# This value is required if the service specified by `ServiceId`
|
2442
|
-
# includes settings for an A record. If the service includes
|
2443
|
-
# for an SRV record, you must specify a value for
|
2444
|
-
# `AWS_INSTANCE_IPV6`, or both.
|
2507
|
+
# includes settings for an `A` record. If the service includes
|
2508
|
+
# settings for an `SRV` record, you must specify a value for
|
2509
|
+
# `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
|
2445
2510
|
#
|
2446
2511
|
# **AWS\_INSTANCE\_IPV6**
|
2447
2512
|
#
|
2448
|
-
# If the service configuration includes an AAAA record, the IPv6
|
2449
|
-
# address that you want Route
|
2513
|
+
# If the service configuration includes an `AAAA` record, the IPv6
|
2514
|
+
# address that you want Route 53 to return in response to DNS queries,
|
2450
2515
|
# for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
|
2451
2516
|
#
|
2452
2517
|
# This value is required if the service specified by `ServiceId`
|
2453
|
-
# includes settings for an AAAA record. If the service includes
|
2454
|
-
# settings for an SRV record, you must specify a value for
|
2518
|
+
# includes settings for an `AAAA` record. If the service includes
|
2519
|
+
# settings for an `SRV` record, you must specify a value for
|
2455
2520
|
# `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
|
2456
2521
|
#
|
2457
2522
|
# **AWS\_INSTANCE\_PORT**
|
2458
2523
|
#
|
2459
|
-
# If the service includes an SRV record, the value that you want
|
2460
|
-
# 53 to return for the port.
|
2524
|
+
# If the service includes an `SRV` record, the value that you want
|
2525
|
+
# Route 53 to return for the port.
|
2461
2526
|
#
|
2462
2527
|
# If the service includes `HealthCheckConfig`, the port on the
|
2463
|
-
# endpoint that you want Route
|
2528
|
+
# endpoint that you want Route 53 to send requests to.
|
2464
2529
|
#
|
2465
|
-
# This value is required if you specified settings for an SRV record
|
2466
|
-
# or a Route
|
2530
|
+
# This value is required if you specified settings for an `SRV` record
|
2531
|
+
# or a Route 53 health check when you created the service.
|
2467
2532
|
#
|
2468
2533
|
# **Custom attributes**
|
2469
2534
|
#
|
2470
2535
|
# You can add up to 30 custom attributes. For each key-value pair, the
|
2471
2536
|
# maximum length of the attribute name is 255 characters, and the
|
2472
|
-
# maximum length of the attribute value is 1,024 characters.
|
2537
|
+
# maximum length of the attribute value is 1,024 characters. The total
|
2473
2538
|
# size of all provided attributes (sum of all keys and values) must
|
2474
2539
|
# not exceed 5,000 characters.
|
2475
2540
|
#
|
@@ -2485,6 +2550,7 @@ module Aws::ServiceDiscovery
|
|
2485
2550
|
:instance_id,
|
2486
2551
|
:creator_request_id,
|
2487
2552
|
:attributes)
|
2553
|
+
SENSITIVE = []
|
2488
2554
|
include Aws::Structure
|
2489
2555
|
end
|
2490
2556
|
|
@@ -2502,11 +2568,18 @@ module Aws::ServiceDiscovery
|
|
2502
2568
|
#
|
2503
2569
|
class RegisterInstanceResponse < Struct.new(
|
2504
2570
|
:operation_id)
|
2571
|
+
SENSITIVE = []
|
2505
2572
|
include Aws::Structure
|
2506
2573
|
end
|
2507
2574
|
|
2508
|
-
# The operation can't be completed because you've reached the
|
2509
|
-
# the number of requests.
|
2575
|
+
# The operation can't be completed because you've reached the quota
|
2576
|
+
# for the number of requests. For more information, see [AWS Cloud Map
|
2577
|
+
# API request throttling quota][1] in the *AWS Cloud Map Developer
|
2578
|
+
# Guide*.
|
2579
|
+
#
|
2580
|
+
#
|
2581
|
+
#
|
2582
|
+
# [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/throttling.html
|
2510
2583
|
#
|
2511
2584
|
# @!attribute [rw] message
|
2512
2585
|
# @return [String]
|
@@ -2515,6 +2588,7 @@ module Aws::ServiceDiscovery
|
|
2515
2588
|
#
|
2516
2589
|
class RequestLimitExceeded < Struct.new(
|
2517
2590
|
:message)
|
2591
|
+
SENSITIVE = []
|
2518
2592
|
include Aws::Structure
|
2519
2593
|
end
|
2520
2594
|
|
@@ -2529,10 +2603,11 @@ module Aws::ServiceDiscovery
|
|
2529
2603
|
#
|
2530
2604
|
class ResourceInUse < Struct.new(
|
2531
2605
|
:message)
|
2606
|
+
SENSITIVE = []
|
2532
2607
|
include Aws::Structure
|
2533
2608
|
end
|
2534
2609
|
|
2535
|
-
# The resource can't be created because you've reached the
|
2610
|
+
# The resource can't be created because you've reached the quota on
|
2536
2611
|
# the number of resources.
|
2537
2612
|
#
|
2538
2613
|
# @!attribute [rw] message
|
@@ -2542,6 +2617,7 @@ module Aws::ServiceDiscovery
|
|
2542
2617
|
#
|
2543
2618
|
class ResourceLimitExceeded < Struct.new(
|
2544
2619
|
:message)
|
2620
|
+
SENSITIVE = []
|
2545
2621
|
include Aws::Structure
|
2546
2622
|
end
|
2547
2623
|
|
@@ -2554,6 +2630,7 @@ module Aws::ServiceDiscovery
|
|
2554
2630
|
#
|
2555
2631
|
class ResourceNotFoundException < Struct.new(
|
2556
2632
|
:message)
|
2633
|
+
SENSITIVE = []
|
2557
2634
|
include Aws::Structure
|
2558
2635
|
end
|
2559
2636
|
|
@@ -2589,7 +2666,7 @@ module Aws::ServiceDiscovery
|
|
2589
2666
|
# @return [Integer]
|
2590
2667
|
#
|
2591
2668
|
# @!attribute [rw] dns_config
|
2592
|
-
# A complex type that contains information about the Route
|
2669
|
+
# A complex type that contains information about the Route 53 DNS
|
2593
2670
|
# records that you want AWS Cloud Map to create when you register an
|
2594
2671
|
# instance.
|
2595
2672
|
# @return [Types::DnsConfig]
|
@@ -2601,7 +2678,7 @@ module Aws::ServiceDiscovery
|
|
2601
2678
|
# records that you specify in `DnsConfig`.
|
2602
2679
|
#
|
2603
2680
|
# For information about the charges for health checks, see [Amazon
|
2604
|
-
# Route
|
2681
|
+
# Route 53 Pricing][1].
|
2605
2682
|
#
|
2606
2683
|
#
|
2607
2684
|
#
|
@@ -2644,6 +2721,7 @@ module Aws::ServiceDiscovery
|
|
2644
2721
|
:health_check_custom_config,
|
2645
2722
|
:create_date,
|
2646
2723
|
:creator_request_id)
|
2724
|
+
SENSITIVE = []
|
2647
2725
|
include Aws::Structure
|
2648
2726
|
end
|
2649
2727
|
|
@@ -2667,6 +2745,7 @@ module Aws::ServiceDiscovery
|
|
2667
2745
|
:message,
|
2668
2746
|
:creator_request_id,
|
2669
2747
|
:service_id)
|
2748
|
+
SENSITIVE = []
|
2670
2749
|
include Aws::Structure
|
2671
2750
|
end
|
2672
2751
|
|
@@ -2697,7 +2776,7 @@ module Aws::ServiceDiscovery
|
|
2697
2776
|
# @return [String]
|
2698
2777
|
#
|
2699
2778
|
# @!attribute [rw] dns_config
|
2700
|
-
# A complex type that contains information about the Route
|
2779
|
+
# A complex type that contains information about the Route 53 DNS
|
2701
2780
|
# records that you want AWS Cloud Map to create when you register an
|
2702
2781
|
# instance.
|
2703
2782
|
# @return [Types::DnsConfigChange]
|
@@ -2711,21 +2790,21 @@ module Aws::ServiceDiscovery
|
|
2711
2790
|
# If you specify a health check configuration, you can specify either
|
2712
2791
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
2713
2792
|
#
|
2714
|
-
# Health checks are basic Route
|
2793
|
+
# Health checks are basic Route 53 health checks that monitor an AWS
|
2715
2794
|
# endpoint. For information about pricing for health checks, see
|
2716
|
-
# [Amazon Route
|
2795
|
+
# [Amazon Route 53 Pricing][1].
|
2717
2796
|
#
|
2718
2797
|
# Note the following about configuring health checks.
|
2719
2798
|
#
|
2720
|
-
#
|
2799
|
+
# <b> <code>A</code> and <code>AAAA</code> records</b>
|
2721
2800
|
#
|
2722
|
-
# If `DnsConfig` includes configurations for both A and AAAA
|
2723
|
-
# AWS Cloud Map creates a health check that uses the IPv4
|
2724
|
-
# check the health of the resource. If the endpoint that is
|
2725
|
-
# by the IPv4 address is unhealthy, Route
|
2726
|
-
# AAAA records to be unhealthy.
|
2801
|
+
# If `DnsConfig` includes configurations for both `A` and `AAAA`
|
2802
|
+
# records, AWS Cloud Map creates a health check that uses the IPv4
|
2803
|
+
# address to check the health of the resource. If the endpoint that is
|
2804
|
+
# specified by the IPv4 address is unhealthy, Route 53 considers both
|
2805
|
+
# the `A` and `AAAA` records to be unhealthy.
|
2727
2806
|
#
|
2728
|
-
#
|
2807
|
+
# <b> <code>CNAME</code> records</b>
|
2729
2808
|
#
|
2730
2809
|
# You can't specify settings for `HealthCheckConfig` when the
|
2731
2810
|
# `DNSConfig` includes `CNAME` for the value of `Type`. If you do, the
|
@@ -2733,7 +2812,7 @@ module Aws::ServiceDiscovery
|
|
2733
2812
|
#
|
2734
2813
|
# **Request interval**
|
2735
2814
|
#
|
2736
|
-
# A Route
|
2815
|
+
# A Route 53 health checker in each health-checking region sends a
|
2737
2816
|
# health check request to an endpoint every 30 seconds. On average,
|
2738
2817
|
# your endpoint receives a health check request about every two
|
2739
2818
|
# seconds. However, health checkers don't coordinate with one
|
@@ -2742,30 +2821,30 @@ module Aws::ServiceDiscovery
|
|
2742
2821
|
#
|
2743
2822
|
# **Health checking regions**
|
2744
2823
|
#
|
2745
|
-
# Health checkers perform checks from all Route
|
2824
|
+
# Health checkers perform checks from all Route 53 health-checking
|
2746
2825
|
# regions. For a list of the current regions, see [Regions][2].
|
2747
2826
|
#
|
2748
2827
|
# **Alias records**
|
2749
2828
|
#
|
2750
2829
|
# When you register an instance, if you include the
|
2751
|
-
# `AWS_ALIAS_DNS_NAME` attribute, AWS Cloud Map creates a Route
|
2830
|
+
# `AWS_ALIAS_DNS_NAME` attribute, AWS Cloud Map creates a Route 53
|
2752
2831
|
# alias record. Note the following:
|
2753
2832
|
#
|
2754
|
-
# * Route
|
2833
|
+
# * Route 53 automatically sets `EvaluateTargetHealth` to true for
|
2755
2834
|
# alias records. When `EvaluateTargetHealth` is true, the alias
|
2756
2835
|
# record inherits the health of the referenced AWS resource. such as
|
2757
2836
|
# an ELB load balancer. For more information, see
|
2758
2837
|
# [EvaluateTargetHealth][3].
|
2759
2838
|
#
|
2760
2839
|
# * If you include `HealthCheckConfig` and then use the service to
|
2761
|
-
# register an instance that creates an alias record, Route
|
2840
|
+
# register an instance that creates an alias record, Route 53
|
2762
2841
|
# doesn't create the health check.
|
2763
2842
|
#
|
2764
2843
|
# **Charges for health checks**
|
2765
2844
|
#
|
2766
|
-
# Health checks are basic Route
|
2845
|
+
# Health checks are basic Route 53 health checks that monitor an AWS
|
2767
2846
|
# endpoint. For information about pricing for health checks, see
|
2768
|
-
# [Amazon Route
|
2847
|
+
# [Amazon Route 53 Pricing][1].
|
2769
2848
|
#
|
2770
2849
|
#
|
2771
2850
|
#
|
@@ -2780,6 +2859,7 @@ module Aws::ServiceDiscovery
|
|
2780
2859
|
:description,
|
2781
2860
|
:dns_config,
|
2782
2861
|
:health_check_config)
|
2862
|
+
SENSITIVE = []
|
2783
2863
|
include Aws::Structure
|
2784
2864
|
end
|
2785
2865
|
|
@@ -2825,6 +2905,7 @@ module Aws::ServiceDiscovery
|
|
2825
2905
|
:name,
|
2826
2906
|
:values,
|
2827
2907
|
:condition)
|
2908
|
+
SENSITIVE = []
|
2828
2909
|
include Aws::Structure
|
2829
2910
|
end
|
2830
2911
|
|
@@ -2837,6 +2918,7 @@ module Aws::ServiceDiscovery
|
|
2837
2918
|
#
|
2838
2919
|
class ServiceNotFound < Struct.new(
|
2839
2920
|
:message)
|
2921
|
+
SENSITIVE = []
|
2840
2922
|
include Aws::Structure
|
2841
2923
|
end
|
2842
2924
|
|
@@ -2868,7 +2950,7 @@ module Aws::ServiceDiscovery
|
|
2868
2950
|
# @return [Integer]
|
2869
2951
|
#
|
2870
2952
|
# @!attribute [rw] dns_config
|
2871
|
-
# A complex type that contains information about the Amazon Route
|
2953
|
+
# A complex type that contains information about the Amazon Route 53
|
2872
2954
|
# DNS records that you want AWS Cloud Map to create when you register
|
2873
2955
|
# an instance.
|
2874
2956
|
# @return [Types::DnsConfig]
|
@@ -2882,21 +2964,21 @@ module Aws::ServiceDiscovery
|
|
2882
2964
|
# If you specify a health check configuration, you can specify either
|
2883
2965
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
2884
2966
|
#
|
2885
|
-
# Health checks are basic Route
|
2967
|
+
# Health checks are basic Route 53 health checks that monitor an AWS
|
2886
2968
|
# endpoint. For information about pricing for health checks, see
|
2887
|
-
# [Amazon Route
|
2969
|
+
# [Amazon Route 53 Pricing][1].
|
2888
2970
|
#
|
2889
2971
|
# Note the following about configuring health checks.
|
2890
2972
|
#
|
2891
|
-
#
|
2973
|
+
# <b> <code>A</code> and <code>AAAA</code> records</b>
|
2892
2974
|
#
|
2893
|
-
# If `DnsConfig` includes configurations for both A and AAAA
|
2894
|
-
# AWS Cloud Map creates a health check that uses the IPv4
|
2895
|
-
# check the health of the resource. If the endpoint that is
|
2896
|
-
# by the IPv4 address is unhealthy, Route
|
2897
|
-
# AAAA records to be unhealthy.
|
2975
|
+
# If `DnsConfig` includes configurations for both `A` and `AAAA`
|
2976
|
+
# records, AWS Cloud Map creates a health check that uses the IPv4
|
2977
|
+
# address to check the health of the resource. If the endpoint that is
|
2978
|
+
# specified by the IPv4 address is unhealthy, Route 53 considers both
|
2979
|
+
# the `A` and `AAAA` records to be unhealthy.
|
2898
2980
|
#
|
2899
|
-
#
|
2981
|
+
# <b> <code>CNAME</code> records</b>
|
2900
2982
|
#
|
2901
2983
|
# You can't specify settings for `HealthCheckConfig` when the
|
2902
2984
|
# `DNSConfig` includes `CNAME` for the value of `Type`. If you do, the
|
@@ -2904,7 +2986,7 @@ module Aws::ServiceDiscovery
|
|
2904
2986
|
#
|
2905
2987
|
# **Request interval**
|
2906
2988
|
#
|
2907
|
-
# A Route
|
2989
|
+
# A Route 53 health checker in each health-checking region sends a
|
2908
2990
|
# health check request to an endpoint every 30 seconds. On average,
|
2909
2991
|
# your endpoint receives a health check request about every two
|
2910
2992
|
# seconds. However, health checkers don't coordinate with one
|
@@ -2913,30 +2995,30 @@ module Aws::ServiceDiscovery
|
|
2913
2995
|
#
|
2914
2996
|
# **Health checking regions**
|
2915
2997
|
#
|
2916
|
-
# Health checkers perform checks from all Route
|
2998
|
+
# Health checkers perform checks from all Route 53 health-checking
|
2917
2999
|
# regions. For a list of the current regions, see [Regions][2].
|
2918
3000
|
#
|
2919
3001
|
# **Alias records**
|
2920
3002
|
#
|
2921
3003
|
# When you register an instance, if you include the
|
2922
|
-
# `AWS_ALIAS_DNS_NAME` attribute, AWS Cloud Map creates a Route
|
3004
|
+
# `AWS_ALIAS_DNS_NAME` attribute, AWS Cloud Map creates a Route 53
|
2923
3005
|
# alias record. Note the following:
|
2924
3006
|
#
|
2925
|
-
# * Route
|
3007
|
+
# * Route 53 automatically sets `EvaluateTargetHealth` to true for
|
2926
3008
|
# alias records. When `EvaluateTargetHealth` is true, the alias
|
2927
3009
|
# record inherits the health of the referenced AWS resource. such as
|
2928
3010
|
# an ELB load balancer. For more information, see
|
2929
3011
|
# [EvaluateTargetHealth][3].
|
2930
3012
|
#
|
2931
3013
|
# * If you include `HealthCheckConfig` and then use the service to
|
2932
|
-
# register an instance that creates an alias record, Route
|
3014
|
+
# register an instance that creates an alias record, Route 53
|
2933
3015
|
# doesn't create the health check.
|
2934
3016
|
#
|
2935
3017
|
# **Charges for health checks**
|
2936
3018
|
#
|
2937
|
-
# Health checks are basic Route
|
3019
|
+
# Health checks are basic Route 53 health checks that monitor an AWS
|
2938
3020
|
# endpoint. For information about pricing for health checks, see
|
2939
|
-
# [Amazon Route
|
3021
|
+
# [Amazon Route 53 Pricing][1].
|
2940
3022
|
#
|
2941
3023
|
#
|
2942
3024
|
#
|
@@ -3022,6 +3104,7 @@ module Aws::ServiceDiscovery
|
|
3022
3104
|
:health_check_config,
|
3023
3105
|
:health_check_custom_config,
|
3024
3106
|
:create_date)
|
3107
|
+
SENSITIVE = []
|
3025
3108
|
include Aws::Structure
|
3026
3109
|
end
|
3027
3110
|
|
@@ -3040,9 +3123,9 @@ module Aws::ServiceDiscovery
|
|
3040
3123
|
# @return [String]
|
3041
3124
|
#
|
3042
3125
|
# @!attribute [rw] value
|
3043
|
-
# The string value
|
3044
|
-
#
|
3045
|
-
#
|
3126
|
+
# The string value associated with the key of the tag. You can set the
|
3127
|
+
# value of a tag to an empty string, but you can't set the value of a
|
3128
|
+
# tag to null.
|
3046
3129
|
# @return [String]
|
3047
3130
|
#
|
3048
3131
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Tag AWS API Documentation
|
@@ -3050,6 +3133,7 @@ module Aws::ServiceDiscovery
|
|
3050
3133
|
class Tag < Struct.new(
|
3051
3134
|
:key,
|
3052
3135
|
:value)
|
3136
|
+
SENSITIVE = []
|
3053
3137
|
include Aws::Structure
|
3054
3138
|
end
|
3055
3139
|
|
@@ -3082,6 +3166,7 @@ module Aws::ServiceDiscovery
|
|
3082
3166
|
class TagResourceRequest < Struct.new(
|
3083
3167
|
:resource_arn,
|
3084
3168
|
:tags)
|
3169
|
+
SENSITIVE = []
|
3085
3170
|
include Aws::Structure
|
3086
3171
|
end
|
3087
3172
|
|
@@ -3089,7 +3174,7 @@ module Aws::ServiceDiscovery
|
|
3089
3174
|
#
|
3090
3175
|
class TagResourceResponse < Aws::EmptyStructure; end
|
3091
3176
|
|
3092
|
-
# The list of tags on the resource is over the
|
3177
|
+
# The list of tags on the resource is over the quota. The maximum number
|
3093
3178
|
# of tags that can be applied to a resource is 50.
|
3094
3179
|
#
|
3095
3180
|
# @!attribute [rw] message
|
@@ -3104,6 +3189,7 @@ module Aws::ServiceDiscovery
|
|
3104
3189
|
class TooManyTagsException < Struct.new(
|
3105
3190
|
:message,
|
3106
3191
|
:resource_name)
|
3192
|
+
SENSITIVE = []
|
3107
3193
|
include Aws::Structure
|
3108
3194
|
end
|
3109
3195
|
|
@@ -3129,6 +3215,7 @@ module Aws::ServiceDiscovery
|
|
3129
3215
|
class UntagResourceRequest < Struct.new(
|
3130
3216
|
:resource_arn,
|
3131
3217
|
:tag_keys)
|
3218
|
+
SENSITIVE = []
|
3132
3219
|
include Aws::Structure
|
3133
3220
|
end
|
3134
3221
|
|
@@ -3165,6 +3252,7 @@ module Aws::ServiceDiscovery
|
|
3165
3252
|
:service_id,
|
3166
3253
|
:instance_id,
|
3167
3254
|
:status)
|
3255
|
+
SENSITIVE = []
|
3168
3256
|
include Aws::Structure
|
3169
3257
|
end
|
3170
3258
|
|
@@ -3204,6 +3292,7 @@ module Aws::ServiceDiscovery
|
|
3204
3292
|
class UpdateServiceRequest < Struct.new(
|
3205
3293
|
:id,
|
3206
3294
|
:service)
|
3295
|
+
SENSITIVE = []
|
3207
3296
|
include Aws::Structure
|
3208
3297
|
end
|
3209
3298
|
|
@@ -3221,6 +3310,7 @@ module Aws::ServiceDiscovery
|
|
3221
3310
|
#
|
3222
3311
|
class UpdateServiceResponse < Struct.new(
|
3223
3312
|
:operation_id)
|
3313
|
+
SENSITIVE = []
|
3224
3314
|
include Aws::Structure
|
3225
3315
|
end
|
3226
3316
|
|