aws-sdk-servicediscovery 1.30.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f50384ae753d9d570facdb53b004b755558f3603289e00d2571d83d9b6149ce1
4
- data.tar.gz: 40131ac2dcee2397fb0976e7cb4cf7b8e3e96a6f33ddc9dafa4375a08e0da40f
3
+ metadata.gz: 6f73c3cba52718cd49187f0e517a50725823f9a5e93a4dc64ec8da5dc7bb1e7c
4
+ data.tar.gz: 72a140daf32ced7dc254a7a10bd1ba72c1096d53b5783e5bf2318d28d0fda0dd
5
5
  SHA512:
6
- metadata.gz: ebbc9bb11931a728703d37a1424ef780162f79deb0de7dae95ca371864ef89c278f95b73e060cabe51aa04120d77166f073cb7c853b794b7a93650f64a06508a
7
- data.tar.gz: f5335f5a52a4dadd633661f5f5333ef3671efabbb7d259bd64257cfcdeb0497f07c5c22bd1d8d1288a4269a5ff3f32201554f9ac7cd9f4b5863fa8adc0b187ec
6
+ metadata.gz: d153878e57f5dd403d3f053b910c12ab6e213cda290a6b9753fa1600678d49152046a1b4cf9344b171dfcaa7d23ec61efc63fca36dc8584b895c8289d9dc84f4
7
+ data.tar.gz: 9d1c0375baaf29b0d084060f2080f59962ac05389f74e315fced821a95816e573f86ab8e0441b91f1e18391336b0b182b3fe24475a1ea9df40086bfe0e689dfa
data/CHANGELOG.md ADDED
@@ -0,0 +1,188 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.35.0 (2021-05-06)
5
+ ------------------
6
+
7
+ * Feature - Bugfix: Improved input validation for RegisterInstance action, InstanceId field
8
+
9
+ 1.34.0 (2021-03-10)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.33.0 (2021-03-04)
15
+ ------------------
16
+
17
+ * Feature - Supports creating API-only services under DNS namespace. Add namespace syntax validation.
18
+
19
+ 1.32.0 (2021-02-02)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.31.0 (2020-10-02)
25
+ ------------------
26
+
27
+ * Feature - Added support for optional parameters for DiscoverInstances API in AWS Cloud Map
28
+
29
+ 1.30.0 (2020-09-30)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.29.0 (2020-09-15)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.28.0 (2020-08-25)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.27.0 (2020-07-29)
45
+ ------------------
46
+
47
+ * Feature - Added new attribute AWS_EC2_INSTANCE_ID for RegisterInstance API
48
+
49
+ 1.26.0 (2020-06-23)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.25.1 (2020-06-11)
55
+ ------------------
56
+
57
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
58
+
59
+ 1.25.0 (2020-06-10)
60
+ ------------------
61
+
62
+ * Issue - This version has been yanked. (#2327).
63
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
64
+
65
+ 1.24.0 (2020-06-08)
66
+ ------------------
67
+
68
+ * Feature - Added support for tagging Service and Namespace type resources in Cloud Map
69
+
70
+ 1.23.0 (2020-05-28)
71
+ ------------------
72
+
73
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
74
+
75
+ 1.22.0 (2020-05-07)
76
+ ------------------
77
+
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.21.0 (2020-04-29)
81
+ ------------------
82
+
83
+ * Feature - Documentation updates for servicediscovery
84
+
85
+ 1.20.0 (2020-03-09)
86
+ ------------------
87
+
88
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
89
+
90
+ 1.19.0 (2019-10-23)
91
+ ------------------
92
+
93
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
94
+
95
+ 1.18.0 (2019-07-25)
96
+ ------------------
97
+
98
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
99
+
100
+ 1.17.0 (2019-07-01)
101
+ ------------------
102
+
103
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
104
+
105
+ 1.16.0 (2019-06-17)
106
+ ------------------
107
+
108
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
109
+
110
+ 1.15.0 (2019-05-21)
111
+ ------------------
112
+
113
+ * Feature - API update.
114
+
115
+ 1.14.0 (2019-05-15)
116
+ ------------------
117
+
118
+ * Feature - API update.
119
+
120
+ 1.13.0 (2019-05-14)
121
+ ------------------
122
+
123
+ * Feature - API update.
124
+
125
+ 1.12.0 (2019-03-21)
126
+ ------------------
127
+
128
+ * Feature - API update.
129
+
130
+ 1.11.0 (2019-03-18)
131
+ ------------------
132
+
133
+ * Feature - API update.
134
+
135
+ 1.10.0 (2019-03-14)
136
+ ------------------
137
+
138
+ * Feature - API update.
139
+
140
+ 1.9.0 (2018-11-29)
141
+ ------------------
142
+
143
+ * Feature - API update.
144
+
145
+ 1.8.0 (2018-11-20)
146
+ ------------------
147
+
148
+ * Feature - API update.
149
+
150
+ 1.7.0 (2018-10-24)
151
+ ------------------
152
+
153
+ * Feature - API update.
154
+
155
+ 1.6.0 (2018-10-23)
156
+ ------------------
157
+
158
+ * Feature - API update.
159
+
160
+ 1.5.0 (2018-09-06)
161
+ ------------------
162
+
163
+ * Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
164
+
165
+ 1.4.0 (2018-09-05)
166
+ ------------------
167
+
168
+ * Feature - API update.
169
+
170
+ 1.3.0 (2018-06-26)
171
+ ------------------
172
+
173
+ * Feature - API update.
174
+
175
+ 1.2.0 (2018-03-13)
176
+ ------------------
177
+
178
+ * Feature - API update.
179
+
180
+ 1.1.0 (2018-02-06)
181
+ ------------------
182
+
183
+ * Feature - API update.
184
+
185
+ 1.0.0 (2017-12-05)
186
+ ------------------
187
+
188
+ * 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.35.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/master/CONTRIBUTING.md
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.30.0'
51
+ GEM_VERSION = '1.35.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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -355,7 +355,7 @@ module Aws::ServiceDiscovery
355
355
  # @option params [String] :creator_request_id
356
356
  # A unique string that identifies the request and that allows failed
357
357
  # `CreateHttpNamespace` requests to be retried without the risk of
358
- # executing the operation twice. `CreatorRequestId` can be any unique
358
+ # running the operation twice. `CreatorRequestId` can be any unique
359
359
  # string, for example, a date/time stamp.
360
360
  #
361
361
  # **A suitable default value is auto-generated.** You should normally
@@ -366,9 +366,8 @@ module Aws::ServiceDiscovery
366
366
  #
367
367
  # @option params [Array<Types::Tag>] :tags
368
368
  # The tags to add to the namespace. Each tag consists of a key and an
369
- # optional value, both of which you define. Tag keys can have a maximum
370
- # character length of 128 characters, and tag values can have a maximum
371
- # length of 256 characters.
369
+ # optional value that you define. Tags keys can be up to 128 characters
370
+ # in length, and tag values can be up to 256 characters in length.
372
371
  #
373
372
  # @return [Types::CreateHttpNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
374
373
  #
@@ -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: "NamespaceName", # required
395
+ # name: "NamespaceNameHttp", # required
397
396
  # creator_request_id: "ResourceId",
398
397
  # description: "ResourceDescription",
399
398
  # tags: [
@@ -417,13 +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 will be visible only
421
- # inside a specified Amazon VPC. The namespace defines your service
422
- # naming scheme. For example, if you name your namespace `example.com`
423
- # and name your service `backend`, the resulting DNS name for the
424
- # service will be `backend.example.com`. For the current quota on the
425
- # number of namespaces that you can create using the same AWS account,
426
- # see [AWS Cloud Map Limits][1] in the *AWS Cloud Map Developer Guide*.
419
+ # Creates a private namespace based on DNS, which is visible only inside
420
+ # a specified Amazon VPC. The namespace defines your service naming
421
+ # scheme. For example, if you name your namespace `example.com` and name
422
+ # your service `backend`, the resulting DNS name for the service is
423
+ # `backend.example.com`. For the current quota on the number of
424
+ # namespaces that you can create using the same AWS account, see [AWS
425
+ # Cloud Map Limits][1] in the *AWS Cloud Map Developer Guide*.
427
426
  #
428
427
  #
429
428
  #
@@ -437,8 +436,8 @@ module Aws::ServiceDiscovery
437
436
  # @option params [String] :creator_request_id
438
437
  # A unique string that identifies the request and that allows failed
439
438
  # `CreatePrivateDnsNamespace` requests to be retried without the risk of
440
- # executing the operation twice. `CreatorRequestId` can be any unique
441
- # string, for example, a date/time stamp.
439
+ # running the operation twice. `CreatorRequestId` can be any unique
440
+ # string, for example, a date/timestamp.
442
441
  #
443
442
  # **A suitable default value is auto-generated.** You should normally
444
443
  # not need to pass this option.**
@@ -452,9 +451,8 @@ module Aws::ServiceDiscovery
452
451
  #
453
452
  # @option params [Array<Types::Tag>] :tags
454
453
  # The tags to add to the namespace. Each tag consists of a key and an
455
- # optional value, both of which you define. Tag keys can have a maximum
456
- # character length of 128 characters, and tag values can have a maximum
457
- # length of 256 characters.
454
+ # optional value that you define. Tags keys can be up to 128 characters
455
+ # in length, and tag values can be up to 256 characters in length.
458
456
  #
459
457
  # @return [Types::CreatePrivateDnsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
460
458
  #
@@ -479,7 +477,7 @@ module Aws::ServiceDiscovery
479
477
  # @example Request syntax with placeholder values
480
478
  #
481
479
  # resp = client.create_private_dns_namespace({
482
- # name: "NamespaceName", # required
480
+ # name: "NamespaceNamePrivate", # required
483
481
  # creator_request_id: "ResourceId",
484
482
  # description: "ResourceDescription",
485
483
  # vpc: "ResourceId", # required
@@ -504,10 +502,10 @@ module Aws::ServiceDiscovery
504
502
  req.send_request(options)
505
503
  end
506
504
 
507
- # Creates a public namespace based on DNS, which will be visible on the
505
+ # Creates a public namespace based on DNS, which is visible on the
508
506
  # internet. The namespace defines your service naming scheme. For
509
507
  # example, if you name your namespace `example.com` and name your
510
- # service `backend`, the resulting DNS name for the service will be
508
+ # service `backend`, the resulting DNS name for the service is
511
509
  # `backend.example.com`. For the current quota on the number of
512
510
  # namespaces that you can create using the same AWS account, see [AWS
513
511
  # Cloud Map Limits][1] in the *AWS Cloud Map Developer Guide*.
@@ -522,8 +520,8 @@ module Aws::ServiceDiscovery
522
520
  # @option params [String] :creator_request_id
523
521
  # A unique string that identifies the request and that allows failed
524
522
  # `CreatePublicDnsNamespace` requests to be retried without the risk of
525
- # executing the operation twice. `CreatorRequestId` can be any unique
526
- # string, for example, a date/time stamp.
523
+ # running the operation twice. `CreatorRequestId` can be any unique
524
+ # string, for example, a date/timestamp.
527
525
  #
528
526
  # **A suitable default value is auto-generated.** You should normally
529
527
  # not need to pass this option.**
@@ -533,9 +531,8 @@ module Aws::ServiceDiscovery
533
531
  #
534
532
  # @option params [Array<Types::Tag>] :tags
535
533
  # The tags to add to the namespace. Each tag consists of a key and an
536
- # optional value, both of which you define. Tag keys can have a maximum
537
- # character length of 128 characters, and tag values can have a maximum
538
- # length of 256 characters.
534
+ # optional value that you define. Tags keys can be up to 128 characters
535
+ # in length, and tag values can be up to 256 characters in length.
539
536
  #
540
537
  # @return [Types::CreatePublicDnsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
541
538
  #
@@ -560,7 +557,7 @@ module Aws::ServiceDiscovery
560
557
  # @example Request syntax with placeholder values
561
558
  #
562
559
  # resp = client.create_public_dns_namespace({
563
- # name: "NamespaceName", # required
560
+ # name: "NamespaceNamePublic", # required
564
561
  # creator_request_id: "ResourceId",
565
562
  # description: "ResourceDescription",
566
563
  # tags: [
@@ -619,12 +616,12 @@ module Aws::ServiceDiscovery
619
616
  # The name that you want to assign to the service.
620
617
  #
621
618
  # 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`\:
619
+ # an instance and you're using a system that requires a specific `SRV`
620
+ # format, such as [HAProxy][1], specify the following for `Name`\:
624
621
  #
625
- # * Start the name with an underscore (\_), such as `_exampleservice`
622
+ # * Start the name with an underscore (\_), such as `_exampleservice`.
626
623
  #
627
- # * End the name with *.\_protocol*, such as `._tcp`
624
+ # * End the name with *.\_protocol*, such as `._tcp`.
628
625
  #
629
626
  # When you register an instance, AWS Cloud Map creates an `SRV` record
630
627
  # and assigns a name to the record by concatenating the service name and
@@ -632,18 +629,29 @@ module Aws::ServiceDiscovery
632
629
  #
633
630
  # `_exampleservice._tcp.example.com`
634
631
  #
632
+ # <note markdown="1"> For services that are accessible by DNS queries, you can't create
633
+ # multiple services with names that differ only by case (such as EXAMPLE
634
+ # and example). Otherwise, these services have the same DNS name and
635
+ # can't be distinguished. However, if you use a namespace that's only
636
+ # accessible by API calls, then you can create services that with names
637
+ # that differ only by case.
638
+ #
639
+ # </note>
640
+ #
635
641
  #
636
642
  #
637
643
  # [1]: http://www.haproxy.org/
638
644
  #
639
645
  # @option params [String] :namespace_id
640
646
  # The ID of the namespace that you want to use to create the service.
647
+ # The namespace ID must be specified, but it can be specified either
648
+ # here or in the `DnsConfig` object.
641
649
  #
642
650
  # @option params [String] :creator_request_id
643
651
  # A unique string that identifies the request and that allows failed
644
- # `CreateService` requests to be retried without the risk of executing
645
- # the operation twice. `CreatorRequestId` can be any unique string, for
646
- # example, a date/time stamp.
652
+ # `CreateService` requests to be retried without the risk of running the
653
+ # operation twice. `CreatorRequestId` can be any unique string, for
654
+ # example, a date/timestamp.
647
655
  #
648
656
  # **A suitable default value is auto-generated.** You should normally
649
657
  # not need to pass this option.**
@@ -684,9 +692,13 @@ module Aws::ServiceDiscovery
684
692
  #
685
693
  # @option params [Array<Types::Tag>] :tags
686
694
  # The tags to add to the service. Each tag consists of a key and an
687
- # optional value, both of which you define. Tag keys can have a maximum
688
- # character length of 128 characters, and tag values can have a maximum
689
- # length of 256 characters.
695
+ # optional value that you define. Tags keys can be up to 128 characters
696
+ # in length, and tag values can be up to 256 characters in length.
697
+ #
698
+ # @option params [String] :type
699
+ # If present, specifies that the service instances are only discoverable
700
+ # using the `DiscoverInstances` API operation. No DNS records will be
701
+ # registered for the service instances. The only valid value is `HTTP`.
690
702
  #
691
703
  # @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
692
704
  #
@@ -766,6 +778,7 @@ module Aws::ServiceDiscovery
766
778
  # value: "TagValue", # required
767
779
  # },
768
780
  # ],
781
+ # type: "HTTP", # accepts HTTP
769
782
  # })
770
783
  #
771
784
  # @example Response structure
@@ -781,6 +794,7 @@ module Aws::ServiceDiscovery
781
794
  # resp.service.dns_config.dns_records #=> Array
782
795
  # resp.service.dns_config.dns_records[0].type #=> String, one of "SRV", "A", "AAAA", "CNAME"
783
796
  # resp.service.dns_config.dns_records[0].ttl #=> Integer
797
+ # resp.service.type #=> String, one of "HTTP", "DNS_HTTP", "DNS"
784
798
  # resp.service.health_check_config.type #=> String, one of "HTTP", "HTTPS", "TCP"
785
799
  # resp.service.health_check_config.resource_path #=> String
786
800
  # resp.service.health_check_config.failure_threshold #=> Integer
@@ -935,8 +949,8 @@ module Aws::ServiceDiscovery
935
949
  # queries to discover instances.
936
950
  #
937
951
  # @option params [required, String] :namespace_name
938
- # The name of the namespace that you specified when you registered the
939
- # instance.
952
+ # The `HttpName` name of the namespace, found in the `HttpProperties`
953
+ # member of the `Properties` member of the namespace.
940
954
  #
941
955
  # @option params [required, String] :service_name
942
956
  # The name of the service that you specified when you registered the
@@ -949,10 +963,16 @@ module Aws::ServiceDiscovery
949
963
  # instances.
950
964
  #
951
965
  # @option params [Hash<String,String>] :query_parameters
952
- # A string map that contains attributes with values that you can use to
953
- # filter instances by any custom attribute that you specified when you
954
- # registered the instance. Only instances that match all the specified
955
- # key/value pairs will be returned.
966
+ # Filters to scope the results based on custom attributes for the
967
+ # instance. For example, `\{version=v1, az=1a\}`. Only instances that
968
+ # match all the specified key-value pairs are returned.
969
+ #
970
+ # @option params [Hash<String,String>] :optional_parameters
971
+ # Opportunistic filters to scope the results based on custom attributes.
972
+ # If there are instances that match both the filters specified in both
973
+ # the `QueryParameters` parameter and this parameter, they are returned.
974
+ # Otherwise, these filters are ignored and only instances that match the
975
+ # filters specified in the `QueryParameters` parameter are returned.
956
976
  #
957
977
  # @option params [String] :health_status
958
978
  # The health status of the instances that you want to discover.
@@ -998,6 +1018,9 @@ module Aws::ServiceDiscovery
998
1018
  # query_parameters: {
999
1019
  # "AttrKey" => "AttrValue",
1000
1020
  # },
1021
+ # optional_parameters: {
1022
+ # "AttrKey" => "AttrValue",
1023
+ # },
1001
1024
  # health_status: "HEALTHY", # accepts HEALTHY, UNHEALTHY, ALL
1002
1025
  # })
1003
1026
  #
@@ -1358,6 +1381,7 @@ module Aws::ServiceDiscovery
1358
1381
  # resp.service.dns_config.dns_records #=> Array
1359
1382
  # resp.service.dns_config.dns_records[0].type #=> String, one of "SRV", "A", "AAAA", "CNAME"
1360
1383
  # resp.service.dns_config.dns_records[0].ttl #=> Integer
1384
+ # resp.service.type #=> String, one of "HTTP", "DNS_HTTP", "DNS"
1361
1385
  # resp.service.health_check_config.type #=> String, one of "HTTP", "HTTPS", "TCP"
1362
1386
  # resp.service.health_check_config.resource_path #=> String
1363
1387
  # resp.service.health_check_config.failure_threshold #=> Integer
@@ -1769,6 +1793,7 @@ module Aws::ServiceDiscovery
1769
1793
  # resp.services[0].id #=> String
1770
1794
  # resp.services[0].arn #=> String
1771
1795
  # resp.services[0].name #=> String
1796
+ # resp.services[0].type #=> String, one of "HTTP", "DNS_HTTP", "DNS"
1772
1797
  # resp.services[0].description #=> String
1773
1798
  # resp.services[0].instance_count #=> Integer
1774
1799
  # resp.services[0].dns_config.namespace_id #=> String
@@ -1940,100 +1965,101 @@ module Aws::ServiceDiscovery
1940
1965
  #
1941
1966
  # Supported attribute keys include the following:
1942
1967
  #
1943
- # **AWS\_ALIAS\_DNS\_NAME**
1968
+ # AWS\_ALIAS\_DNS\_NAME
1944
1969
  #
1945
- # If you want AWS Cloud Map to create an Amazon Route 53 alias record
1946
- # that routes traffic to an Elastic Load Balancing load balancer,
1947
- # specify the DNS name that is associated with the load balancer. For
1948
- # information about how to get the DNS name, see "DNSName" in the
1949
- # topic [AliasTarget][1] in the *Route 53 API Reference*.
1970
+ # : If you want AWS Cloud Map to create an Amazon Route 53 alias record
1971
+ # that routes traffic to an Elastic Load Balancing load balancer,
1972
+ # specify the DNS name that is associated with the load balancer. For
1973
+ # information about how to get the DNS name, see "DNSName" in the
1974
+ # topic [AliasTarget][1] in the *Route 53 API Reference*.
1950
1975
  #
1951
- # Note the following:
1976
+ # Note the following:
1952
1977
  #
1953
- # * The configuration for the service that is specified by `ServiceId`
1954
- # must include settings for an `A` record, an `AAAA` record, or both.
1978
+ # * The configuration for the service that is specified by `ServiceId`
1979
+ # must include settings for an `A` record, an `AAAA` record, or
1980
+ # both.
1955
1981
  #
1956
- # * In the service that is specified by `ServiceId`, the value of
1957
- # `RoutingPolicy` must be `WEIGHTED`.
1982
+ # * In the service that is specified by `ServiceId`, the value of
1983
+ # `RoutingPolicy` must be `WEIGHTED`.
1958
1984
  #
1959
- # * If the service that is specified by `ServiceId` includes
1960
- # `HealthCheckConfig` settings, AWS Cloud Map will create the Route 53
1961
- # health check, but it won't associate the health check with the
1962
- # alias record.
1985
+ # * If the service that is specified by `ServiceId` includes
1986
+ # `HealthCheckConfig` settings, AWS Cloud Map will create the
1987
+ # Route 53 health check, but it doesn't associate the health check
1988
+ # with the alias record.
1963
1989
  #
1964
- # * Auto naming currently doesn't support creating alias records that
1965
- # route traffic to AWS resources other than Elastic Load Balancing
1966
- # load balancers.
1990
+ # * Auto naming currently doesn't support creating alias records that
1991
+ # route traffic to AWS resources other than Elastic Load Balancing
1992
+ # load balancers.
1967
1993
  #
1968
- # * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
1969
- # values for any of the `AWS_INSTANCE` attributes.
1994
+ # * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
1995
+ # values for any of the `AWS_INSTANCE` attributes.
1970
1996
  #
1971
- # **AWS\_EC2\_INSTANCE\_ID**
1997
+ # AWS\_EC2\_INSTANCE\_ID
1972
1998
  #
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.
1999
+ # : *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
2000
+ # If the `AWS_EC2_INSTANCE_ID` attribute is specified, then the only
2001
+ # other attribute that can be specified is `AWS_INIT_HEALTH_STATUS`.
2002
+ # When the `AWS_EC2_INSTANCE_ID` attribute is specified, then the
2003
+ # `AWS_INSTANCE_IPV4` attribute will be filled out with the primary
2004
+ # private IPv4 address.
1979
2005
  #
1980
- # **AWS\_INIT\_HEALTH\_STATUS**
2006
+ # AWS\_INIT\_HEALTH\_STATUS
1981
2007
  #
1982
- # If the service configuration includes `HealthCheckCustomConfig`, you
1983
- # can optionally use `AWS_INIT_HEALTH_STATUS` to specify the initial
1984
- # status of the custom health check, `HEALTHY` or `UNHEALTHY`. If you
1985
- # don't specify a value for `AWS_INIT_HEALTH_STATUS`, the initial
1986
- # status is `HEALTHY`.
2008
+ # : If the service configuration includes `HealthCheckCustomConfig`, you
2009
+ # can optionally use `AWS_INIT_HEALTH_STATUS` to specify the initial
2010
+ # status of the custom health check, `HEALTHY` or `UNHEALTHY`. If you
2011
+ # don't specify a value for `AWS_INIT_HEALTH_STATUS`, the initial
2012
+ # status is `HEALTHY`.
1987
2013
  #
1988
- # **AWS\_INSTANCE\_CNAME**
2014
+ # AWS\_INSTANCE\_CNAME
1989
2015
  #
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
1992
- # example, `example.com`.
2016
+ # : If the service configuration includes a `CNAME` record, the domain
2017
+ # name that you want Route 53 to return in response to DNS queries,
2018
+ # for example, `example.com`.
1993
2019
  #
1994
- # This value is required if the service specified by `ServiceId`
1995
- # includes settings for an `CNAME` record.
2020
+ # This value is required if the service specified by `ServiceId`
2021
+ # includes settings for an `CNAME` record.
1996
2022
  #
1997
- # **AWS\_INSTANCE\_IPV4**
2023
+ # AWS\_INSTANCE\_IPV4
1998
2024
  #
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
2001
- # example, `192.0.2.44`.
2025
+ # : If the service configuration includes an `A` record, the IPv4
2026
+ # address that you want Route 53 to return in response to DNS queries,
2027
+ # for example, `192.0.2.44`.
2002
2028
  #
2003
- # This value is required if the service specified by `ServiceId`
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`,
2006
- # `AWS_INSTANCE_IPV6`, or both.
2029
+ # This value is required if the service specified by `ServiceId`
2030
+ # includes settings for an `A` record. If the service includes
2031
+ # settings for an `SRV` record, you must specify a value for
2032
+ # `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
2007
2033
  #
2008
- # **AWS\_INSTANCE\_IPV6**
2034
+ # AWS\_INSTANCE\_IPV6
2009
2035
  #
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`.
2036
+ # : If the service configuration includes an `AAAA` record, the IPv6
2037
+ # address that you want Route 53 to return in response to DNS queries,
2038
+ # for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
2013
2039
  #
2014
- # This value is required if the service specified by `ServiceId`
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.
2040
+ # This value is required if the service specified by `ServiceId`
2041
+ # includes settings for an `AAAA` record. If the service includes
2042
+ # settings for an `SRV` record, you must specify a value for
2043
+ # `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
2018
2044
  #
2019
- # **AWS\_INSTANCE\_PORT**
2045
+ # AWS\_INSTANCE\_PORT
2020
2046
  #
2021
- # If the service includes an `SRV` record, the value that you want
2022
- # Route 53 to return for the port.
2047
+ # : If the service includes an `SRV` record, the value that you want
2048
+ # Route 53 to return for the port.
2023
2049
  #
2024
- # If the service includes `HealthCheckConfig`, the port on the endpoint
2025
- # that you want Route 53 to send requests to.
2050
+ # If the service includes `HealthCheckConfig`, the port on the
2051
+ # endpoint that you want Route 53 to send requests to.
2026
2052
  #
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.
2053
+ # This value is required if you specified settings for an `SRV` record
2054
+ # or a Route 53 health check when you created the service.
2029
2055
  #
2030
- # **Custom attributes**
2056
+ # Custom attributes
2031
2057
  #
2032
- # You can add up to 30 custom attributes. For each key-value pair, the
2033
- # maximum length of the attribute name is 255 characters, and the
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
2036
- # exceed 5,000 characters.
2058
+ # : You can add up to 30 custom attributes. For each key-value pair, the
2059
+ # maximum length of the attribute name is 255 characters, and the
2060
+ # maximum length of the attribute value is 1,024 characters. The total
2061
+ # size of all provided attributes (sum of all keys and values) must
2062
+ # not exceed 5,000 characters.
2037
2063
  #
2038
2064
  #
2039
2065
  #
@@ -2067,7 +2093,7 @@ module Aws::ServiceDiscovery
2067
2093
  #
2068
2094
  # resp = client.register_instance({
2069
2095
  # service_id: "ResourceId", # required
2070
- # instance_id: "ResourceId", # required
2096
+ # instance_id: "InstanceId", # required
2071
2097
  # creator_request_id: "ResourceId",
2072
2098
  # attributes: { # required
2073
2099
  # "AttrKey" => "AttrValue",
@@ -2262,7 +2288,7 @@ module Aws::ServiceDiscovery
2262
2288
  # are deleted from the service.
2263
2289
  #
2264
2290
  # * If you omit an existing `HealthCheckCustomConfig` configuration from
2265
- # an `UpdateService` request, the configuration is not deleted from
2291
+ # an `UpdateService` request, the configuration isn't deleted from
2266
2292
  # the service.
2267
2293
  #
2268
2294
  # When you update settings for a service, AWS Cloud Map also updates the
@@ -2356,7 +2382,7 @@ module Aws::ServiceDiscovery
2356
2382
  params: params,
2357
2383
  config: config)
2358
2384
  context[:gem_name] = 'aws-sdk-servicediscovery'
2359
- context[:gem_version] = '1.30.0'
2385
+ context[:gem_version] = '1.35.0'
2360
2386
  Seahorse::Client::Request.new(handlers, context)
2361
2387
  end
2362
2388