aws-sdk-servicediscovery 1.31.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +193 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-servicediscovery.rb +2 -2
- data/lib/aws-sdk-servicediscovery/client.rb +174 -132
- data/lib/aws-sdk-servicediscovery/client_api.rb +16 -7
- data/lib/aws-sdk-servicediscovery/errors.rb +1 -1
- data/lib/aws-sdk-servicediscovery/resource.rb +1 -1
- data/lib/aws-sdk-servicediscovery/types.rb +544 -580
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f779bdf7fcaf639385391736aa8af29c6ac99ef23eedade55647e0fe592b9e69
|
4
|
+
data.tar.gz: e46cc499f772ed190b673334289258337fce2f6e02e39e036080f460dae16b17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0b64780a123acf6674bb6e93e45674ac8fdf39e0685c903c561beecc1b7e26ab0bdbf40cb6e1aa65d48f2d0da6142a33758c91e7eea1ff8e53db2f8a57f948a
|
7
|
+
data.tar.gz: 4cb521c7fbee4777cad38c1eac870fa0b2497f084e9f1416a073d3226c1615c3c5e977a45956d6a7668bd3761be70e11d0f8d9d89bbab3de76aa92456e38845f
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,193 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.36.0 (2021-06-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
9
|
+
1.35.0 (2021-05-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Bugfix: Improved input validation for RegisterInstance action, InstanceId field
|
13
|
+
|
14
|
+
1.34.0 (2021-03-10)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.33.0 (2021-03-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Supports creating API-only services under DNS namespace. Add namespace syntax validation.
|
23
|
+
|
24
|
+
1.32.0 (2021-02-02)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.31.0 (2020-10-02)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Added support for optional parameters for DiscoverInstances API in AWS Cloud Map
|
33
|
+
|
34
|
+
1.30.0 (2020-09-30)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.29.0 (2020-09-15)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.28.0 (2020-08-25)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.27.0 (2020-07-29)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Added new attribute AWS_EC2_INSTANCE_ID for RegisterInstance API
|
53
|
+
|
54
|
+
1.26.0 (2020-06-23)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.25.1 (2020-06-11)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
63
|
+
|
64
|
+
1.25.0 (2020-06-10)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Issue - This version has been yanked. (#2327).
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
69
|
+
|
70
|
+
1.24.0 (2020-06-08)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - Added support for tagging Service and Namespace type resources in Cloud Map
|
74
|
+
|
75
|
+
1.23.0 (2020-05-28)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.22.0 (2020-05-07)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.21.0 (2020-04-29)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Documentation updates for servicediscovery
|
89
|
+
|
90
|
+
1.20.0 (2020-03-09)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
94
|
+
|
95
|
+
1.19.0 (2019-10-23)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.18.0 (2019-07-25)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.17.0 (2019-07-01)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
109
|
+
|
110
|
+
1.16.0 (2019-06-17)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
114
|
+
|
115
|
+
1.15.0 (2019-05-21)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - API update.
|
119
|
+
|
120
|
+
1.14.0 (2019-05-15)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - API update.
|
124
|
+
|
125
|
+
1.13.0 (2019-05-14)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - API update.
|
129
|
+
|
130
|
+
1.12.0 (2019-03-21)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - API update.
|
134
|
+
|
135
|
+
1.11.0 (2019-03-18)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - API update.
|
139
|
+
|
140
|
+
1.10.0 (2019-03-14)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.9.0 (2018-11-29)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - API update.
|
149
|
+
|
150
|
+
1.8.0 (2018-11-20)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - API update.
|
154
|
+
|
155
|
+
1.7.0 (2018-10-24)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - API update.
|
159
|
+
|
160
|
+
1.6.0 (2018-10-23)
|
161
|
+
------------------
|
162
|
+
|
163
|
+
* Feature - API update.
|
164
|
+
|
165
|
+
1.5.0 (2018-09-06)
|
166
|
+
------------------
|
167
|
+
|
168
|
+
* Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
|
169
|
+
|
170
|
+
1.4.0 (2018-09-05)
|
171
|
+
------------------
|
172
|
+
|
173
|
+
* Feature - API update.
|
174
|
+
|
175
|
+
1.3.0 (2018-06-26)
|
176
|
+
------------------
|
177
|
+
|
178
|
+
* Feature - API update.
|
179
|
+
|
180
|
+
1.2.0 (2018-03-13)
|
181
|
+
------------------
|
182
|
+
|
183
|
+
* Feature - API update.
|
184
|
+
|
185
|
+
1.1.0 (2018-02-06)
|
186
|
+
------------------
|
187
|
+
|
188
|
+
* Feature - API update.
|
189
|
+
|
190
|
+
1.0.0 (2017-12-05)
|
191
|
+
------------------
|
192
|
+
|
193
|
+
* Feature - Initial release of `aws-sdk-servicediscovery`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.36.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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.
|
51
|
+
GEM_VERSION = '1.36.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -337,9 +337,9 @@ module Aws::ServiceDiscovery
|
|
337
337
|
|
338
338
|
# @!group API Operations
|
339
339
|
|
340
|
-
# Creates an HTTP namespace. Service instances
|
341
|
-
#
|
342
|
-
#
|
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
345
|
# using the same AWS account, see [AWS Cloud Map quotas][1] in the *AWS
|
@@ -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
|
-
#
|
359
|
-
# string
|
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
|
370
|
-
#
|
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
|
#
|
@@ -393,7 +392,7 @@ module Aws::ServiceDiscovery
|
|
393
392
|
# @example Request syntax with placeholder values
|
394
393
|
#
|
395
394
|
# resp = client.create_http_namespace({
|
396
|
-
# name: "
|
395
|
+
# name: "NamespaceNameHttp", # required
|
397
396
|
# creator_request_id: "ResourceId",
|
398
397
|
# description: "ResourceDescription",
|
399
398
|
# tags: [
|
@@ -417,11 +416,13 @@ module Aws::ServiceDiscovery
|
|
417
416
|
req.send_request(options)
|
418
417
|
end
|
419
418
|
|
420
|
-
# Creates a private namespace based on DNS, which
|
421
|
-
#
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
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
|
425
426
|
# number of namespaces that you can create using the same AWS account,
|
426
427
|
# see [AWS Cloud Map Limits][1] in the *AWS Cloud Map Developer Guide*.
|
427
428
|
#
|
@@ -437,8 +438,8 @@ module Aws::ServiceDiscovery
|
|
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
|
-
#
|
441
|
-
# string
|
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,8 @@ 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
|
456
|
-
#
|
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
458
|
#
|
459
459
|
# @return [Types::CreatePrivateDnsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
460
460
|
#
|
@@ -479,7 +479,7 @@ module Aws::ServiceDiscovery
|
|
479
479
|
# @example Request syntax with placeholder values
|
480
480
|
#
|
481
481
|
# resp = client.create_private_dns_namespace({
|
482
|
-
# name: "
|
482
|
+
# name: "NamespaceNamePrivate", # required
|
483
483
|
# creator_request_id: "ResourceId",
|
484
484
|
# description: "ResourceDescription",
|
485
485
|
# vpc: "ResourceId", # required
|
@@ -504,13 +504,15 @@ module Aws::ServiceDiscovery
|
|
504
504
|
req.send_request(options)
|
505
505
|
end
|
506
506
|
|
507
|
-
# Creates a public namespace based on DNS, which
|
507
|
+
# Creates a public namespace based on DNS, which is visible on the
|
508
508
|
# internet. The namespace defines your service naming scheme. For
|
509
509
|
# example, if you name your namespace `example.com` and name your
|
510
|
-
# service `backend`, the resulting DNS name for the service
|
511
|
-
# `backend.example.com`.
|
510
|
+
# service `backend`, the resulting DNS name for the service is
|
511
|
+
# `backend.example.com`. You can discover instances that were registered
|
512
|
+
# with a public DNS namespace by using either a `DiscoverInstances`
|
513
|
+
# request or using DNS. For the current quota on the number of
|
512
514
|
# namespaces that you can create using the same AWS account, see [AWS
|
513
|
-
# Cloud Map
|
515
|
+
# Cloud Map Quotas][1]in the *AWS Cloud Map Developer Guide*.
|
514
516
|
#
|
515
517
|
#
|
516
518
|
#
|
@@ -522,8 +524,8 @@ module Aws::ServiceDiscovery
|
|
522
524
|
# @option params [String] :creator_request_id
|
523
525
|
# A unique string that identifies the request and that allows failed
|
524
526
|
# `CreatePublicDnsNamespace` requests to be retried without the risk of
|
525
|
-
#
|
526
|
-
# string
|
527
|
+
# running the operation twice. `CreatorRequestId` can be any unique
|
528
|
+
# string (for example, a date/timestamp).
|
527
529
|
#
|
528
530
|
# **A suitable default value is auto-generated.** You should normally
|
529
531
|
# not need to pass this option.**
|
@@ -533,9 +535,8 @@ module Aws::ServiceDiscovery
|
|
533
535
|
#
|
534
536
|
# @option params [Array<Types::Tag>] :tags
|
535
537
|
# The tags to add to the namespace. Each tag consists of a key and an
|
536
|
-
# optional value
|
537
|
-
#
|
538
|
-
# length of 256 characters.
|
538
|
+
# optional value that you define. Tags keys can be up to 128 characters
|
539
|
+
# in length, and tag values can be up to 256 characters in length.
|
539
540
|
#
|
540
541
|
# @return [Types::CreatePublicDnsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
541
542
|
#
|
@@ -560,7 +561,7 @@ module Aws::ServiceDiscovery
|
|
560
561
|
# @example Request syntax with placeholder values
|
561
562
|
#
|
562
563
|
# resp = client.create_public_dns_namespace({
|
563
|
-
# name: "
|
564
|
+
# name: "NamespaceNamePublic", # required
|
564
565
|
# creator_request_id: "ResourceId",
|
565
566
|
# description: "ResourceDescription",
|
566
567
|
# tags: [
|
@@ -584,8 +585,8 @@ module Aws::ServiceDiscovery
|
|
584
585
|
req.send_request(options)
|
585
586
|
end
|
586
587
|
|
587
|
-
# Creates a service
|
588
|
-
# entities:
|
588
|
+
# Creates a service. This action defines the configuration for the
|
589
|
+
# following entities:
|
589
590
|
#
|
590
591
|
# * For public and private DNS namespaces, one of the following
|
591
592
|
# combinations of DNS records in Amazon Route 53:
|
@@ -619,18 +620,27 @@ module Aws::ServiceDiscovery
|
|
619
620
|
# The name that you want to assign to the service.
|
620
621
|
#
|
621
622
|
# If you want AWS Cloud Map to create an `SRV` record when you register
|
622
|
-
# an instance
|
623
|
-
#
|
623
|
+
# an instance and you're using a system that requires a specific `SRV`
|
624
|
+
# format, such as [HAProxy][1], specify the following for `Name`\:
|
624
625
|
#
|
625
|
-
# * Start the name with an underscore (\_), such as `_exampleservice
|
626
|
+
# * Start the name with an underscore (\_), such as `_exampleservice`.
|
626
627
|
#
|
627
|
-
# * End the name with *.\_protocol*, such as `._tcp
|
628
|
+
# * End the name with *.\_protocol*, such as `._tcp`.
|
628
629
|
#
|
629
630
|
# When you register an instance, AWS Cloud Map creates an `SRV` record
|
630
631
|
# and assigns a name to the record by concatenating the service name and
|
631
|
-
# the namespace name
|
632
|
+
# the namespace name (for example,
|
632
633
|
#
|
633
|
-
# `_exampleservice._tcp.example.com`
|
634
|
+
# `_exampleservice._tcp.example.com`).
|
635
|
+
#
|
636
|
+
# <note markdown="1"> For services that are accessible by DNS queries, you can't create
|
637
|
+
# multiple services with names that differ only by case (such as EXAMPLE
|
638
|
+
# and example). Otherwise, these services have the same DNS name and
|
639
|
+
# can't be distinguished. However, if you use a namespace that's only
|
640
|
+
# accessible by API calls, then you can create services that with names
|
641
|
+
# that differ only by case.
|
642
|
+
#
|
643
|
+
# </note>
|
634
644
|
#
|
635
645
|
#
|
636
646
|
#
|
@@ -638,12 +648,14 @@ module Aws::ServiceDiscovery
|
|
638
648
|
#
|
639
649
|
# @option params [String] :namespace_id
|
640
650
|
# The ID of the namespace that you want to use to create the service.
|
651
|
+
# The namespace ID must be specified, but it can be specified either
|
652
|
+
# here or in the `DnsConfig` object.
|
641
653
|
#
|
642
654
|
# @option params [String] :creator_request_id
|
643
655
|
# A unique string that identifies the request and that allows failed
|
644
|
-
# `CreateService` requests to be retried without the risk of
|
645
|
-
#
|
646
|
-
# example, a date/
|
656
|
+
# `CreateService` requests to be retried without the risk of running the
|
657
|
+
# operation twice. `CreatorRequestId` can be any unique string (for
|
658
|
+
# example, a date/timestamp).
|
647
659
|
#
|
648
660
|
# **A suitable default value is auto-generated.** You should normally
|
649
661
|
# not need to pass this option.**
|
@@ -684,9 +696,13 @@ module Aws::ServiceDiscovery
|
|
684
696
|
#
|
685
697
|
# @option params [Array<Types::Tag>] :tags
|
686
698
|
# The tags to add to the service. Each tag consists of a key and an
|
687
|
-
# optional value
|
688
|
-
#
|
689
|
-
#
|
699
|
+
# optional value that you define. Tags keys can be up to 128 characters
|
700
|
+
# in length, and tag values can be up to 256 characters in length.
|
701
|
+
#
|
702
|
+
# @option params [String] :type
|
703
|
+
# If present, specifies that the service instances are only discoverable
|
704
|
+
# using the `DiscoverInstances` API operation. No DNS records is
|
705
|
+
# registered for the service instances. The only valid value is `HTTP`.
|
690
706
|
#
|
691
707
|
# @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
692
708
|
#
|
@@ -766,6 +782,7 @@ module Aws::ServiceDiscovery
|
|
766
782
|
# value: "TagValue", # required
|
767
783
|
# },
|
768
784
|
# ],
|
785
|
+
# type: "HTTP", # accepts HTTP
|
769
786
|
# })
|
770
787
|
#
|
771
788
|
# @example Response structure
|
@@ -781,6 +798,7 @@ module Aws::ServiceDiscovery
|
|
781
798
|
# resp.service.dns_config.dns_records #=> Array
|
782
799
|
# resp.service.dns_config.dns_records[0].type #=> String, one of "SRV", "A", "AAAA", "CNAME"
|
783
800
|
# resp.service.dns_config.dns_records[0].ttl #=> Integer
|
801
|
+
# resp.service.type #=> String, one of "HTTP", "DNS_HTTP", "DNS"
|
784
802
|
# resp.service.health_check_config.type #=> String, one of "HTTP", "HTTPS", "TCP"
|
785
803
|
# resp.service.health_check_config.resource_path #=> String
|
786
804
|
# resp.service.health_check_config.failure_threshold #=> Integer
|
@@ -935,8 +953,8 @@ module Aws::ServiceDiscovery
|
|
935
953
|
# queries to discover instances.
|
936
954
|
#
|
937
955
|
# @option params [required, String] :namespace_name
|
938
|
-
# The name of the namespace
|
939
|
-
#
|
956
|
+
# The `HttpName` name of the namespace. It's found in the
|
957
|
+
# `HttpProperties` member of the `Properties` member of the namespace.
|
940
958
|
#
|
941
959
|
# @option params [required, String] :service_name
|
942
960
|
# The name of the service that you specified when you registered the
|
@@ -950,18 +968,39 @@ module Aws::ServiceDiscovery
|
|
950
968
|
#
|
951
969
|
# @option params [Hash<String,String>] :query_parameters
|
952
970
|
# Filters to scope the results based on custom attributes for the
|
953
|
-
# instance
|
954
|
-
# match all the specified key-value pairs
|
971
|
+
# instance (for example, `\{version=v1, az=1a\}`). Only instances that
|
972
|
+
# match all the specified key-value pairs are returned.
|
955
973
|
#
|
956
974
|
# @option params [Hash<String,String>] :optional_parameters
|
957
975
|
# Opportunistic filters to scope the results based on custom attributes.
|
958
976
|
# If there are instances that match both the filters specified in both
|
959
|
-
# the `QueryParameters` parameter and this parameter,
|
960
|
-
# Otherwise,
|
961
|
-
#
|
977
|
+
# the `QueryParameters` parameter and this parameter, all of these
|
978
|
+
# instances are returned. Otherwise, the filters are ignored, and only
|
979
|
+
# instances that match the filters that are specified in the
|
980
|
+
# `QueryParameters` parameter are returned.
|
962
981
|
#
|
963
982
|
# @option params [String] :health_status
|
964
|
-
# The health status of the instances that you want to discover.
|
983
|
+
# The health status of the instances that you want to discover. This
|
984
|
+
# parameter is ignored for services that don't have a health check
|
985
|
+
# configured, and all instances are returned.
|
986
|
+
#
|
987
|
+
# HEALTHY
|
988
|
+
#
|
989
|
+
# : Returns healthy instances.
|
990
|
+
#
|
991
|
+
# UNHEALTHY
|
992
|
+
#
|
993
|
+
# : Returns unhealthy instances.
|
994
|
+
#
|
995
|
+
# ALL
|
996
|
+
#
|
997
|
+
# : Returns all instances.
|
998
|
+
#
|
999
|
+
# HEALTHY\_OR\_ELSE\_ALL
|
1000
|
+
#
|
1001
|
+
# : Returns healthy instances, unless none are reporting a healthy
|
1002
|
+
# state. In that case, return all instances. This is also called
|
1003
|
+
# failing open.
|
965
1004
|
#
|
966
1005
|
# @return [Types::DiscoverInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
967
1006
|
#
|
@@ -1007,7 +1046,7 @@ module Aws::ServiceDiscovery
|
|
1007
1046
|
# optional_parameters: {
|
1008
1047
|
# "AttrKey" => "AttrValue",
|
1009
1048
|
# },
|
1010
|
-
# health_status: "HEALTHY", # accepts HEALTHY, UNHEALTHY, ALL
|
1049
|
+
# health_status: "HEALTHY", # accepts HEALTHY, UNHEALTHY, ALL, HEALTHY_OR_ELSE_ALL
|
1011
1050
|
# })
|
1012
1051
|
#
|
1013
1052
|
# @example Response structure
|
@@ -1091,7 +1130,7 @@ module Aws::ServiceDiscovery
|
|
1091
1130
|
# Gets the current health status (`Healthy`, `Unhealthy`, or `Unknown`)
|
1092
1131
|
# of one or more instances that are associated with a specified service.
|
1093
1132
|
#
|
1094
|
-
# <note markdown="1"> There
|
1133
|
+
# <note markdown="1"> There's a brief delay between when you register an instance and when
|
1095
1134
|
# the health status for the instance is available.
|
1096
1135
|
#
|
1097
1136
|
# </note>
|
@@ -1367,6 +1406,7 @@ module Aws::ServiceDiscovery
|
|
1367
1406
|
# resp.service.dns_config.dns_records #=> Array
|
1368
1407
|
# resp.service.dns_config.dns_records[0].type #=> String, one of "SRV", "A", "AAAA", "CNAME"
|
1369
1408
|
# resp.service.dns_config.dns_records[0].ttl #=> Integer
|
1409
|
+
# resp.service.type #=> String, one of "HTTP", "DNS_HTTP", "DNS"
|
1370
1410
|
# resp.service.health_check_config.type #=> String, one of "HTTP", "HTTPS", "TCP"
|
1371
1411
|
# resp.service.health_check_config.resource_path #=> String
|
1372
1412
|
# resp.service.health_check_config.failure_threshold #=> Integer
|
@@ -1778,6 +1818,7 @@ module Aws::ServiceDiscovery
|
|
1778
1818
|
# resp.services[0].id #=> String
|
1779
1819
|
# resp.services[0].arn #=> String
|
1780
1820
|
# resp.services[0].name #=> String
|
1821
|
+
# resp.services[0].type #=> String, one of "HTTP", "DNS_HTTP", "DNS"
|
1781
1822
|
# resp.services[0].description #=> String
|
1782
1823
|
# resp.services[0].instance_count #=> Integer
|
1783
1824
|
# resp.services[0].dns_config.namespace_id #=> String
|
@@ -1859,9 +1900,9 @@ module Aws::ServiceDiscovery
|
|
1859
1900
|
# health check based on the settings in a specified service. When you
|
1860
1901
|
# submit a `RegisterInstance` request, the following occurs:
|
1861
1902
|
#
|
1862
|
-
# * For each DNS record that you define in the service that
|
1903
|
+
# * For each DNS record that you define in the service that's specified
|
1863
1904
|
# by `ServiceId`, a record is created or updated in the hosted zone
|
1864
|
-
# that
|
1905
|
+
# that's associated with the corresponding namespace.
|
1865
1906
|
#
|
1866
1907
|
# * If the service includes `HealthCheckConfig`, a health check is
|
1867
1908
|
# created based on the settings in the health check configuration.
|
@@ -1902,14 +1943,14 @@ module Aws::ServiceDiscovery
|
|
1902
1943
|
# An identifier that you want to associate with the instance. Note the
|
1903
1944
|
# following:
|
1904
1945
|
#
|
1905
|
-
# * If the service that
|
1946
|
+
# * If the service that's specified by `ServiceId` includes settings
|
1906
1947
|
# for an `SRV` record, the value of `InstanceId` is automatically
|
1907
1948
|
# included as part of the value for the `SRV` record. For more
|
1908
1949
|
# information, see [DnsRecord > Type][1].
|
1909
1950
|
#
|
1910
1951
|
# * You can use this value to update an existing instance.
|
1911
1952
|
#
|
1912
|
-
# * To register a new instance, you must specify a value that
|
1953
|
+
# * To register a new instance, you must specify a value that's unique
|
1913
1954
|
# among instances that you register by using the same service.
|
1914
1955
|
#
|
1915
1956
|
# * If you specify an existing `InstanceId` and `ServiceId`, AWS Cloud
|
@@ -1932,8 +1973,8 @@ module Aws::ServiceDiscovery
|
|
1932
1973
|
# executing the operation twice. You must use a unique
|
1933
1974
|
# `CreatorRequestId` string every time you submit a `RegisterInstance`
|
1934
1975
|
# request if you're registering additional instances for the same
|
1935
|
-
# namespace and service. `CreatorRequestId` can be any unique string
|
1936
|
-
# for example, a date/time stamp.
|
1976
|
+
# namespace and service. `CreatorRequestId` can be any unique string
|
1977
|
+
# (for example, a date/time stamp).
|
1937
1978
|
#
|
1938
1979
|
# **A suitable default value is auto-generated.** You should normally
|
1939
1980
|
# not need to pass this option.**
|
@@ -1949,100 +1990,101 @@ module Aws::ServiceDiscovery
|
|
1949
1990
|
#
|
1950
1991
|
# Supported attribute keys include the following:
|
1951
1992
|
#
|
1952
|
-
#
|
1993
|
+
# AWS\_ALIAS\_DNS\_NAME
|
1953
1994
|
#
|
1954
|
-
# If you want AWS Cloud Map to create an Amazon Route 53 alias record
|
1955
|
-
#
|
1956
|
-
#
|
1957
|
-
#
|
1958
|
-
#
|
1995
|
+
# : If you want AWS Cloud Map to create an Amazon Route 53 alias record
|
1996
|
+
# that routes traffic to an Elastic Load Balancing load balancer,
|
1997
|
+
# specify the DNS name that's associated with the load balancer. For
|
1998
|
+
# information about how to get the DNS name, see "DNSName" in the
|
1999
|
+
# topic [AliasTarget][1] in the *Route 53 API Reference*.
|
1959
2000
|
#
|
1960
|
-
#
|
2001
|
+
# Note the following:
|
1961
2002
|
#
|
1962
|
-
#
|
1963
|
-
#
|
2003
|
+
# * The configuration for the service that's specified by `ServiceId`
|
2004
|
+
# must include settings for an `A` record, an `AAAA` record, or
|
2005
|
+
# both.
|
1964
2006
|
#
|
1965
|
-
#
|
1966
|
-
#
|
2007
|
+
# * In the service that's specified by `ServiceId`, the value of
|
2008
|
+
# `RoutingPolicy` must be `WEIGHTED`.
|
1967
2009
|
#
|
1968
|
-
#
|
1969
|
-
#
|
1970
|
-
#
|
1971
|
-
#
|
2010
|
+
# * If the service that's specified by `ServiceId` includes
|
2011
|
+
# `HealthCheckConfig` settings, AWS Cloud Map will create the
|
2012
|
+
# Route 53 health check, but it doesn't associate the health check
|
2013
|
+
# with the alias record.
|
1972
2014
|
#
|
1973
|
-
#
|
1974
|
-
#
|
1975
|
-
#
|
2015
|
+
# * Auto naming currently doesn't support creating alias records that
|
2016
|
+
# route traffic to AWS resources other than Elastic Load Balancing
|
2017
|
+
# load balancers.
|
1976
2018
|
#
|
1977
|
-
#
|
1978
|
-
#
|
2019
|
+
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
2020
|
+
# values for any of the `AWS_INSTANCE` attributes.
|
1979
2021
|
#
|
1980
|
-
#
|
2022
|
+
# AWS\_EC2\_INSTANCE\_ID
|
1981
2023
|
#
|
1982
|
-
# *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
|
1983
|
-
#
|
1984
|
-
#
|
1985
|
-
#
|
1986
|
-
#
|
1987
|
-
#
|
2024
|
+
# : *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
|
2025
|
+
# If the `AWS_EC2_INSTANCE_ID` attribute is specified, then the only
|
2026
|
+
# other attribute that can be specified is `AWS_INIT_HEALTH_STATUS`.
|
2027
|
+
# When the `AWS_EC2_INSTANCE_ID` attribute is specified, then the
|
2028
|
+
# `AWS_INSTANCE_IPV4` attribute will be filled out with the primary
|
2029
|
+
# private IPv4 address.
|
1988
2030
|
#
|
1989
|
-
#
|
2031
|
+
# AWS\_INIT\_HEALTH\_STATUS
|
1990
2032
|
#
|
1991
|
-
# If the service configuration includes `HealthCheckCustomConfig`, you
|
1992
|
-
#
|
1993
|
-
#
|
1994
|
-
#
|
1995
|
-
#
|
2033
|
+
# : If the service configuration includes `HealthCheckCustomConfig`, you
|
2034
|
+
# can optionally use `AWS_INIT_HEALTH_STATUS` to specify the initial
|
2035
|
+
# status of the custom health check, `HEALTHY` or `UNHEALTHY`. If you
|
2036
|
+
# don't specify a value for `AWS_INIT_HEALTH_STATUS`, the initial
|
2037
|
+
# status is `HEALTHY`.
|
1996
2038
|
#
|
1997
|
-
#
|
2039
|
+
# AWS\_INSTANCE\_CNAME
|
1998
2040
|
#
|
1999
|
-
# If the service configuration includes a `CNAME` record, the domain
|
2000
|
-
#
|
2001
|
-
#
|
2041
|
+
# : If the service configuration includes a `CNAME` record, the domain
|
2042
|
+
# name that you want Route 53 to return in response to DNS queries
|
2043
|
+
# (for example, `example.com`).
|
2002
2044
|
#
|
2003
|
-
#
|
2004
|
-
#
|
2045
|
+
# This value is required if the service specified by `ServiceId`
|
2046
|
+
# includes settings for an `CNAME` record.
|
2005
2047
|
#
|
2006
|
-
#
|
2048
|
+
# AWS\_INSTANCE\_IPV4
|
2007
2049
|
#
|
2008
|
-
# If the service configuration includes an `A` record, the IPv4
|
2009
|
-
#
|
2010
|
-
#
|
2050
|
+
# : If the service configuration includes an `A` record, the IPv4
|
2051
|
+
# address that you want Route 53 to return in response to DNS queries
|
2052
|
+
# (for example, `192.0.2.44`).
|
2011
2053
|
#
|
2012
|
-
#
|
2013
|
-
#
|
2014
|
-
#
|
2015
|
-
#
|
2054
|
+
# This value is required if the service specified by `ServiceId`
|
2055
|
+
# includes settings for an `A` record. If the service includes
|
2056
|
+
# settings for an `SRV` record, you must specify a value for
|
2057
|
+
# `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
|
2016
2058
|
#
|
2017
|
-
#
|
2059
|
+
# AWS\_INSTANCE\_IPV6
|
2018
2060
|
#
|
2019
|
-
# If the service configuration includes an `AAAA` record, the IPv6
|
2020
|
-
#
|
2021
|
-
#
|
2061
|
+
# : If the service configuration includes an `AAAA` record, the IPv6
|
2062
|
+
# address that you want Route 53 to return in response to DNS queries
|
2063
|
+
# (for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`).
|
2022
2064
|
#
|
2023
|
-
#
|
2024
|
-
#
|
2025
|
-
#
|
2026
|
-
#
|
2065
|
+
# This value is required if the service specified by `ServiceId`
|
2066
|
+
# includes settings for an `AAAA` record. If the service includes
|
2067
|
+
# settings for an `SRV` record, you must specify a value for
|
2068
|
+
# `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
|
2027
2069
|
#
|
2028
|
-
#
|
2070
|
+
# AWS\_INSTANCE\_PORT
|
2029
2071
|
#
|
2030
|
-
# If the service includes an `SRV` record, the value that you want
|
2031
|
-
#
|
2072
|
+
# : If the service includes an `SRV` record, the value that you want
|
2073
|
+
# Route 53 to return for the port.
|
2032
2074
|
#
|
2033
|
-
#
|
2034
|
-
#
|
2075
|
+
# If the service includes `HealthCheckConfig`, the port on the
|
2076
|
+
# endpoint that you want Route 53 to send requests to.
|
2035
2077
|
#
|
2036
|
-
#
|
2037
|
-
#
|
2078
|
+
# This value is required if you specified settings for an `SRV` record
|
2079
|
+
# or a Route 53 health check when you created the service.
|
2038
2080
|
#
|
2039
|
-
#
|
2081
|
+
# Custom attributes
|
2040
2082
|
#
|
2041
|
-
# You can add up to 30 custom attributes. For each key-value pair, the
|
2042
|
-
#
|
2043
|
-
#
|
2044
|
-
#
|
2045
|
-
#
|
2083
|
+
# : You can add up to 30 custom attributes. For each key-value pair, the
|
2084
|
+
# maximum length of the attribute name is 255 characters, and the
|
2085
|
+
# maximum length of the attribute value is 1,024 characters. The total
|
2086
|
+
# size of all provided attributes (sum of all keys and values) must
|
2087
|
+
# not exceed 5,000 characters.
|
2046
2088
|
#
|
2047
2089
|
#
|
2048
2090
|
#
|
@@ -2076,7 +2118,7 @@ module Aws::ServiceDiscovery
|
|
2076
2118
|
#
|
2077
2119
|
# resp = client.register_instance({
|
2078
2120
|
# service_id: "ResourceId", # required
|
2079
|
-
# instance_id: "
|
2121
|
+
# instance_id: "InstanceId", # required
|
2080
2122
|
# creator_request_id: "ResourceId",
|
2081
2123
|
# attributes: { # required
|
2082
2124
|
# "AttrKey" => "AttrValue",
|
@@ -2271,7 +2313,7 @@ module Aws::ServiceDiscovery
|
|
2271
2313
|
# are deleted from the service.
|
2272
2314
|
#
|
2273
2315
|
# * If you omit an existing `HealthCheckCustomConfig` configuration from
|
2274
|
-
# an `UpdateService` request, the configuration
|
2316
|
+
# an `UpdateService` request, the configuration isn't deleted from
|
2275
2317
|
# the service.
|
2276
2318
|
#
|
2277
2319
|
# When you update settings for a service, AWS Cloud Map also updates the
|
@@ -2365,7 +2407,7 @@ module Aws::ServiceDiscovery
|
|
2365
2407
|
params: params,
|
2366
2408
|
config: config)
|
2367
2409
|
context[:gem_name] = 'aws-sdk-servicediscovery'
|
2368
|
-
context[:gem_version] = '1.
|
2410
|
+
context[:gem_version] = '1.36.0'
|
2369
2411
|
Seahorse::Client::Request.new(handlers, context)
|
2370
2412
|
end
|
2371
2413
|
|