aws-sdk-servicediscovery 1.32.0 → 1.33.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 +178 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-servicediscovery.rb +1 -1
- data/lib/aws-sdk-servicediscovery/client.rb +21 -4
- data/lib/aws-sdk-servicediscovery/client_api.rb +13 -5
- data/lib/aws-sdk-servicediscovery/types.rb +61 -4
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 425ed1f7e9f5bf36b3281acefc34f825bbda59a1a96d31022f577c4b283cd277
|
4
|
+
data.tar.gz: 9f0da93334bcc9bb21eec143a6161af3629b8ff45de09bb1fffc9196ced4fa6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d01622f2ef25ba978fefcb881ac8a1adc045fd35f8310c45d1001b7f647320441881cf39b1d126051f7fd63697a2a6f6e7c2cbb0bdcb22ce4368882e0ee3e18
|
7
|
+
data.tar.gz: 7c25dae2841d52eb584e424bafbd2b20f348372a054e9b8f58e5b376a862c130fb4f8c8dece914c721cbe9af8337f6d186bb4ba0d553745a2ab4c9dbbf3245ba
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,178 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.33.0 (2021-03-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Supports creating API-only services under DNS namespace. Add namespace syntax validation.
|
8
|
+
|
9
|
+
1.32.0 (2021-02-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.31.0 (2020-10-02)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Added support for optional parameters for DiscoverInstances API in AWS Cloud Map
|
18
|
+
|
19
|
+
1.30.0 (2020-09-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.29.0 (2020-09-15)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.28.0 (2020-08-25)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.27.0 (2020-07-29)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Added new attribute AWS_EC2_INSTANCE_ID for RegisterInstance API
|
38
|
+
|
39
|
+
1.26.0 (2020-06-23)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.25.1 (2020-06-11)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
48
|
+
|
49
|
+
1.25.0 (2020-06-10)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Issue - This version has been yanked. (#2327).
|
53
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
54
|
+
|
55
|
+
1.24.0 (2020-06-08)
|
56
|
+
------------------
|
57
|
+
|
58
|
+
* Feature - Added support for tagging Service and Namespace type resources in Cloud Map
|
59
|
+
|
60
|
+
1.23.0 (2020-05-28)
|
61
|
+
------------------
|
62
|
+
|
63
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
64
|
+
|
65
|
+
1.22.0 (2020-05-07)
|
66
|
+
------------------
|
67
|
+
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
69
|
+
|
70
|
+
1.21.0 (2020-04-29)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - Documentation updates for servicediscovery
|
74
|
+
|
75
|
+
1.20.0 (2020-03-09)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.19.0 (2019-10-23)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.18.0 (2019-07-25)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.17.0 (2019-07-01)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
94
|
+
|
95
|
+
1.16.0 (2019-06-17)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.15.0 (2019-05-21)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - API update.
|
104
|
+
|
105
|
+
1.14.0 (2019-05-15)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - API update.
|
109
|
+
|
110
|
+
1.13.0 (2019-05-14)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - API update.
|
114
|
+
|
115
|
+
1.12.0 (2019-03-21)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - API update.
|
119
|
+
|
120
|
+
1.11.0 (2019-03-18)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - API update.
|
124
|
+
|
125
|
+
1.10.0 (2019-03-14)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - API update.
|
129
|
+
|
130
|
+
1.9.0 (2018-11-29)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - API update.
|
134
|
+
|
135
|
+
1.8.0 (2018-11-20)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - API update.
|
139
|
+
|
140
|
+
1.7.0 (2018-10-24)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.6.0 (2018-10-23)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - API update.
|
149
|
+
|
150
|
+
1.5.0 (2018-09-06)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
|
154
|
+
|
155
|
+
1.4.0 (2018-09-05)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - API update.
|
159
|
+
|
160
|
+
1.3.0 (2018-06-26)
|
161
|
+
------------------
|
162
|
+
|
163
|
+
* Feature - API update.
|
164
|
+
|
165
|
+
1.2.0 (2018-03-13)
|
166
|
+
------------------
|
167
|
+
|
168
|
+
* Feature - API update.
|
169
|
+
|
170
|
+
1.1.0 (2018-02-06)
|
171
|
+
------------------
|
172
|
+
|
173
|
+
* Feature - API update.
|
174
|
+
|
175
|
+
1.0.0 (2017-12-05)
|
176
|
+
------------------
|
177
|
+
|
178
|
+
* 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.33.0
|
@@ -393,7 +393,7 @@ module Aws::ServiceDiscovery
|
|
393
393
|
# @example Request syntax with placeholder values
|
394
394
|
#
|
395
395
|
# resp = client.create_http_namespace({
|
396
|
-
# name: "
|
396
|
+
# name: "NamespaceNameHttp", # required
|
397
397
|
# creator_request_id: "ResourceId",
|
398
398
|
# description: "ResourceDescription",
|
399
399
|
# tags: [
|
@@ -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
|
@@ -560,7 +560,7 @@ module Aws::ServiceDiscovery
|
|
560
560
|
# @example Request syntax with placeholder values
|
561
561
|
#
|
562
562
|
# resp = client.create_public_dns_namespace({
|
563
|
-
# name: "
|
563
|
+
# name: "NamespaceNamePublic", # required
|
564
564
|
# creator_request_id: "ResourceId",
|
565
565
|
# description: "ResourceDescription",
|
566
566
|
# tags: [
|
@@ -632,6 +632,14 @@ module Aws::ServiceDiscovery
|
|
632
632
|
#
|
633
633
|
# `_exampleservice._tcp.example.com`
|
634
634
|
#
|
635
|
+
# <note markdown="1"> For a single DNS namespace, you cannot create two services with names
|
636
|
+
# that differ only by case (such as EXAMPLE and example). Otherwise,
|
637
|
+
# these services will have the same DNS name. However, you can create
|
638
|
+
# multiple HTTP services with names that differ only by case because
|
639
|
+
# HTTP services are case sensitive.
|
640
|
+
#
|
641
|
+
# </note>
|
642
|
+
#
|
635
643
|
#
|
636
644
|
#
|
637
645
|
# [1]: http://www.haproxy.org/
|
@@ -688,6 +696,11 @@ module Aws::ServiceDiscovery
|
|
688
696
|
# character length of 128 characters, and tag values can have a maximum
|
689
697
|
# length of 256 characters.
|
690
698
|
#
|
699
|
+
# @option params [String] :type
|
700
|
+
# If present, specifies that the service instances are only discoverable
|
701
|
+
# using the `DiscoverInstances` API operation. No DNS records will be
|
702
|
+
# registered for the service instances. The only valid value is `HTTP`.
|
703
|
+
#
|
691
704
|
# @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
692
705
|
#
|
693
706
|
# * {Types::CreateServiceResponse#service #service} => Types::Service
|
@@ -766,6 +779,7 @@ module Aws::ServiceDiscovery
|
|
766
779
|
# value: "TagValue", # required
|
767
780
|
# },
|
768
781
|
# ],
|
782
|
+
# type: "HTTP", # accepts HTTP
|
769
783
|
# })
|
770
784
|
#
|
771
785
|
# @example Response structure
|
@@ -781,6 +795,7 @@ module Aws::ServiceDiscovery
|
|
781
795
|
# resp.service.dns_config.dns_records #=> Array
|
782
796
|
# resp.service.dns_config.dns_records[0].type #=> String, one of "SRV", "A", "AAAA", "CNAME"
|
783
797
|
# resp.service.dns_config.dns_records[0].ttl #=> Integer
|
798
|
+
# resp.service.type #=> String, one of "HTTP", "DNS_HTTP", "DNS"
|
784
799
|
# resp.service.health_check_config.type #=> String, one of "HTTP", "HTTPS", "TCP"
|
785
800
|
# resp.service.health_check_config.resource_path #=> String
|
786
801
|
# resp.service.health_check_config.failure_threshold #=> Integer
|
@@ -1367,6 +1382,7 @@ module Aws::ServiceDiscovery
|
|
1367
1382
|
# resp.service.dns_config.dns_records #=> Array
|
1368
1383
|
# resp.service.dns_config.dns_records[0].type #=> String, one of "SRV", "A", "AAAA", "CNAME"
|
1369
1384
|
# resp.service.dns_config.dns_records[0].ttl #=> Integer
|
1385
|
+
# resp.service.type #=> String, one of "HTTP", "DNS_HTTP", "DNS"
|
1370
1386
|
# resp.service.health_check_config.type #=> String, one of "HTTP", "HTTPS", "TCP"
|
1371
1387
|
# resp.service.health_check_config.resource_path #=> String
|
1372
1388
|
# resp.service.health_check_config.failure_threshold #=> Integer
|
@@ -1778,6 +1794,7 @@ module Aws::ServiceDiscovery
|
|
1778
1794
|
# resp.services[0].id #=> String
|
1779
1795
|
# resp.services[0].arn #=> String
|
1780
1796
|
# resp.services[0].name #=> String
|
1797
|
+
# resp.services[0].type #=> String, one of "HTTP", "DNS_HTTP", "DNS"
|
1781
1798
|
# resp.services[0].description #=> String
|
1782
1799
|
# resp.services[0].instance_count #=> Integer
|
1783
1800
|
# resp.services[0].dns_config.namespace_id #=> String
|
@@ -2365,7 +2382,7 @@ module Aws::ServiceDiscovery
|
|
2365
2382
|
params: params,
|
2366
2383
|
config: config)
|
2367
2384
|
context[:gem_name] = 'aws-sdk-servicediscovery'
|
2368
|
-
context[:gem_version] = '1.
|
2385
|
+
context[:gem_version] = '1.33.0'
|
2369
2386
|
Seahorse::Client::Request.new(handlers, context)
|
2370
2387
|
end
|
2371
2388
|
|
@@ -92,6 +92,9 @@ module Aws::ServiceDiscovery
|
|
92
92
|
NamespaceFilterName = Shapes::StringShape.new(name: 'NamespaceFilterName')
|
93
93
|
NamespaceFilters = Shapes::ListShape.new(name: 'NamespaceFilters')
|
94
94
|
NamespaceName = Shapes::StringShape.new(name: 'NamespaceName')
|
95
|
+
NamespaceNameHttp = Shapes::StringShape.new(name: 'NamespaceNameHttp')
|
96
|
+
NamespaceNamePrivate = Shapes::StringShape.new(name: 'NamespaceNamePrivate')
|
97
|
+
NamespaceNamePublic = Shapes::StringShape.new(name: 'NamespaceNamePublic')
|
95
98
|
NamespaceNotFound = Shapes::StructureShape.new(name: 'NamespaceNotFound')
|
96
99
|
NamespaceProperties = Shapes::StructureShape.new(name: 'NamespaceProperties')
|
97
100
|
NamespaceSummariesList = Shapes::ListShape.new(name: 'NamespaceSummariesList')
|
@@ -133,6 +136,8 @@ module Aws::ServiceDiscovery
|
|
133
136
|
ServiceNotFound = Shapes::StructureShape.new(name: 'ServiceNotFound')
|
134
137
|
ServiceSummariesList = Shapes::ListShape.new(name: 'ServiceSummariesList')
|
135
138
|
ServiceSummary = Shapes::StructureShape.new(name: 'ServiceSummary')
|
139
|
+
ServiceType = Shapes::StringShape.new(name: 'ServiceType')
|
140
|
+
ServiceTypeOption = Shapes::StringShape.new(name: 'ServiceTypeOption')
|
136
141
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
137
142
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
138
143
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -151,7 +156,7 @@ module Aws::ServiceDiscovery
|
|
151
156
|
Attributes.key = Shapes::ShapeRef.new(shape: AttrKey)
|
152
157
|
Attributes.value = Shapes::ShapeRef.new(shape: AttrValue)
|
153
158
|
|
154
|
-
CreateHttpNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape:
|
159
|
+
CreateHttpNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceNameHttp, required: true, location_name: "Name"))
|
155
160
|
CreateHttpNamespaceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken"=>true}))
|
156
161
|
CreateHttpNamespaceRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
157
162
|
CreateHttpNamespaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
@@ -160,7 +165,7 @@ module Aws::ServiceDiscovery
|
|
160
165
|
CreateHttpNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
|
161
166
|
CreateHttpNamespaceResponse.struct_class = Types::CreateHttpNamespaceResponse
|
162
167
|
|
163
|
-
CreatePrivateDnsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape:
|
168
|
+
CreatePrivateDnsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceNamePrivate, required: true, location_name: "Name"))
|
164
169
|
CreatePrivateDnsNamespaceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken"=>true}))
|
165
170
|
CreatePrivateDnsNamespaceRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
166
171
|
CreatePrivateDnsNamespaceRequest.add_member(:vpc, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Vpc"))
|
@@ -170,7 +175,7 @@ module Aws::ServiceDiscovery
|
|
170
175
|
CreatePrivateDnsNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
|
171
176
|
CreatePrivateDnsNamespaceResponse.struct_class = Types::CreatePrivateDnsNamespaceResponse
|
172
177
|
|
173
|
-
CreatePublicDnsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape:
|
178
|
+
CreatePublicDnsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceNamePublic, required: true, location_name: "Name"))
|
174
179
|
CreatePublicDnsNamespaceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken"=>true}))
|
175
180
|
CreatePublicDnsNamespaceRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
176
181
|
CreatePublicDnsNamespaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
@@ -187,6 +192,7 @@ module Aws::ServiceDiscovery
|
|
187
192
|
CreateServiceRequest.add_member(:health_check_config, Shapes::ShapeRef.new(shape: HealthCheckConfig, location_name: "HealthCheckConfig"))
|
188
193
|
CreateServiceRequest.add_member(:health_check_custom_config, Shapes::ShapeRef.new(shape: HealthCheckCustomConfig, location_name: "HealthCheckCustomConfig"))
|
189
194
|
CreateServiceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
195
|
+
CreateServiceRequest.add_member(:type, Shapes::ShapeRef.new(shape: ServiceTypeOption, location_name: "Type"))
|
190
196
|
CreateServiceRequest.struct_class = Types::CreateServiceRequest
|
191
197
|
|
192
198
|
CreateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "Service"))
|
@@ -287,11 +293,11 @@ module Aws::ServiceDiscovery
|
|
287
293
|
HealthCheckConfig.add_member(:failure_threshold, Shapes::ShapeRef.new(shape: FailureThreshold, location_name: "FailureThreshold"))
|
288
294
|
HealthCheckConfig.struct_class = Types::HealthCheckConfig
|
289
295
|
|
290
|
-
HealthCheckCustomConfig.add_member(:failure_threshold, Shapes::ShapeRef.new(shape: FailureThreshold, location_name: "FailureThreshold"))
|
296
|
+
HealthCheckCustomConfig.add_member(:failure_threshold, Shapes::ShapeRef.new(shape: FailureThreshold, deprecated: true, location_name: "FailureThreshold", metadata: {"deprecatedMessage"=>"Configurable FailureThreshold of HealthCheckCustomConfig is deprecated. It will always have value 1."}))
|
291
297
|
HealthCheckCustomConfig.struct_class = Types::HealthCheckCustomConfig
|
292
298
|
|
293
299
|
HttpInstanceSummary.add_member(:instance_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "InstanceId"))
|
294
|
-
HttpInstanceSummary.add_member(:namespace_name, Shapes::ShapeRef.new(shape:
|
300
|
+
HttpInstanceSummary.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceNameHttp, location_name: "NamespaceName"))
|
295
301
|
HttpInstanceSummary.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "ServiceName"))
|
296
302
|
HttpInstanceSummary.add_member(:health_status, Shapes::ShapeRef.new(shape: HealthStatus, location_name: "HealthStatus"))
|
297
303
|
HttpInstanceSummary.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
|
@@ -465,6 +471,7 @@ module Aws::ServiceDiscovery
|
|
465
471
|
Service.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
466
472
|
Service.add_member(:instance_count, Shapes::ShapeRef.new(shape: ResourceCount, location_name: "InstanceCount"))
|
467
473
|
Service.add_member(:dns_config, Shapes::ShapeRef.new(shape: DnsConfig, location_name: "DnsConfig"))
|
474
|
+
Service.add_member(:type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "Type"))
|
468
475
|
Service.add_member(:health_check_config, Shapes::ShapeRef.new(shape: HealthCheckConfig, location_name: "HealthCheckConfig"))
|
469
476
|
Service.add_member(:health_check_custom_config, Shapes::ShapeRef.new(shape: HealthCheckCustomConfig, location_name: "HealthCheckCustomConfig"))
|
470
477
|
Service.add_member(:create_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateDate"))
|
@@ -496,6 +503,7 @@ module Aws::ServiceDiscovery
|
|
496
503
|
ServiceSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
|
497
504
|
ServiceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
498
505
|
ServiceSummary.add_member(:name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "Name"))
|
506
|
+
ServiceSummary.add_member(:type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "Type"))
|
499
507
|
ServiceSummary.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
500
508
|
ServiceSummary.add_member(:instance_count, Shapes::ShapeRef.new(shape: ResourceCount, location_name: "InstanceCount"))
|
501
509
|
ServiceSummary.add_member(:dns_config, Shapes::ShapeRef.new(shape: DnsConfig, location_name: "DnsConfig"))
|
@@ -14,7 +14,7 @@ module Aws::ServiceDiscovery
|
|
14
14
|
# data as a hash:
|
15
15
|
#
|
16
16
|
# {
|
17
|
-
# name: "
|
17
|
+
# name: "NamespaceNameHttp", # required
|
18
18
|
# creator_request_id: "ResourceId",
|
19
19
|
# description: "ResourceDescription",
|
20
20
|
# tags: [
|
@@ -83,7 +83,7 @@ module Aws::ServiceDiscovery
|
|
83
83
|
# data as a hash:
|
84
84
|
#
|
85
85
|
# {
|
86
|
-
# name: "
|
86
|
+
# name: "NamespaceNamePrivate", # required
|
87
87
|
# creator_request_id: "ResourceId",
|
88
88
|
# description: "ResourceDescription",
|
89
89
|
# vpc: "ResourceId", # required
|
@@ -162,7 +162,7 @@ module Aws::ServiceDiscovery
|
|
162
162
|
# data as a hash:
|
163
163
|
#
|
164
164
|
# {
|
165
|
-
# name: "
|
165
|
+
# name: "NamespaceNamePublic", # required
|
166
166
|
# creator_request_id: "ResourceId",
|
167
167
|
# description: "ResourceDescription",
|
168
168
|
# tags: [
|
@@ -259,6 +259,7 @@ module Aws::ServiceDiscovery
|
|
259
259
|
# value: "TagValue", # required
|
260
260
|
# },
|
261
261
|
# ],
|
262
|
+
# type: "HTTP", # accepts HTTP
|
262
263
|
# }
|
263
264
|
#
|
264
265
|
# @!attribute [rw] name
|
@@ -279,6 +280,14 @@ module Aws::ServiceDiscovery
|
|
279
280
|
#
|
280
281
|
# `_exampleservice._tcp.example.com`
|
281
282
|
#
|
283
|
+
# <note markdown="1"> For a single DNS namespace, you cannot create two services with
|
284
|
+
# names that differ only by case (such as EXAMPLE and example).
|
285
|
+
# Otherwise, these services will have the same DNS name. However, you
|
286
|
+
# can create multiple HTTP services with names that differ only by
|
287
|
+
# case because HTTP services are case sensitive.
|
288
|
+
#
|
289
|
+
# </note>
|
290
|
+
#
|
282
291
|
#
|
283
292
|
#
|
284
293
|
# [1]: http://www.haproxy.org/
|
@@ -344,6 +353,13 @@ module Aws::ServiceDiscovery
|
|
344
353
|
# a maximum length of 256 characters.
|
345
354
|
# @return [Array<Types::Tag>]
|
346
355
|
#
|
356
|
+
# @!attribute [rw] type
|
357
|
+
# If present, specifies that the service instances are only
|
358
|
+
# discoverable using the `DiscoverInstances` API operation. No DNS
|
359
|
+
# records will be registered for the service instances. The only valid
|
360
|
+
# value is `HTTP`.
|
361
|
+
# @return [String]
|
362
|
+
#
|
347
363
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateServiceRequest AWS API Documentation
|
348
364
|
#
|
349
365
|
class CreateServiceRequest < Struct.new(
|
@@ -354,7 +370,8 @@ module Aws::ServiceDiscovery
|
|
354
370
|
:dns_config,
|
355
371
|
:health_check_config,
|
356
372
|
:health_check_custom_config,
|
357
|
-
:tags
|
373
|
+
:tags,
|
374
|
+
:type)
|
358
375
|
SENSITIVE = []
|
359
376
|
include Aws::Structure
|
360
377
|
end
|
@@ -2682,6 +2699,25 @@ module Aws::ServiceDiscovery
|
|
2682
2699
|
# instance.
|
2683
2700
|
# @return [Types::DnsConfig]
|
2684
2701
|
#
|
2702
|
+
# @!attribute [rw] type
|
2703
|
+
# Describes the systems that can be used to discover the service
|
2704
|
+
# instances.
|
2705
|
+
#
|
2706
|
+
# DNS\_HTTP
|
2707
|
+
#
|
2708
|
+
# : The service instances can be discovered using either DNS queries
|
2709
|
+
# or the `DiscoverInstances` API operation.
|
2710
|
+
#
|
2711
|
+
# HTTP
|
2712
|
+
#
|
2713
|
+
# : The service instances can only be discovered using the
|
2714
|
+
# `DiscoverInstances` API operation.
|
2715
|
+
#
|
2716
|
+
# DNS
|
2717
|
+
#
|
2718
|
+
# : Reserved.
|
2719
|
+
# @return [String]
|
2720
|
+
#
|
2685
2721
|
# @!attribute [rw] health_check_config
|
2686
2722
|
# *Public DNS and HTTP namespaces only.* A complex type that contains
|
2687
2723
|
# settings for an optional health check. If you specify settings for a
|
@@ -2728,6 +2764,7 @@ module Aws::ServiceDiscovery
|
|
2728
2764
|
:description,
|
2729
2765
|
:instance_count,
|
2730
2766
|
:dns_config,
|
2767
|
+
:type,
|
2731
2768
|
:health_check_config,
|
2732
2769
|
:health_check_custom_config,
|
2733
2770
|
:create_date,
|
@@ -2949,6 +2986,25 @@ module Aws::ServiceDiscovery
|
|
2949
2986
|
# The name of the service.
|
2950
2987
|
# @return [String]
|
2951
2988
|
#
|
2989
|
+
# @!attribute [rw] type
|
2990
|
+
# Describes the systems that can be used to discover the service
|
2991
|
+
# instances.
|
2992
|
+
#
|
2993
|
+
# DNS\_HTTP
|
2994
|
+
#
|
2995
|
+
# : The service instances can be discovered using either DNS queries
|
2996
|
+
# or the `DiscoverInstances` API operation.
|
2997
|
+
#
|
2998
|
+
# HTTP
|
2999
|
+
#
|
3000
|
+
# : The service instances can only be discovered using the
|
3001
|
+
# `DiscoverInstances` API operation.
|
3002
|
+
#
|
3003
|
+
# DNS
|
3004
|
+
#
|
3005
|
+
# : Reserved.
|
3006
|
+
# @return [String]
|
3007
|
+
#
|
2952
3008
|
# @!attribute [rw] description
|
2953
3009
|
# The description that you specify when you create the service.
|
2954
3010
|
# @return [String]
|
@@ -3109,6 +3165,7 @@ module Aws::ServiceDiscovery
|
|
3109
3165
|
:id,
|
3110
3166
|
:arn,
|
3111
3167
|
:name,
|
3168
|
+
:type,
|
3112
3169
|
:description,
|
3113
3170
|
:instance_count,
|
3114
3171
|
:dns_config,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-servicediscovery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.33.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -47,11 +47,14 @@ dependencies:
|
|
47
47
|
description: Official AWS Ruby gem for AWS Cloud Map (ServiceDiscovery). This gem
|
48
48
|
is part of the AWS SDK for Ruby.
|
49
49
|
email:
|
50
|
-
-
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
51
|
executables: []
|
52
52
|
extensions: []
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
55
58
|
- lib/aws-sdk-servicediscovery.rb
|
56
59
|
- lib/aws-sdk-servicediscovery/client.rb
|
57
60
|
- lib/aws-sdk-servicediscovery/client_api.rb
|