aws-sdk-servicediscovery 1.14.0 → 1.15.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
  SHA1:
3
- metadata.gz: ef36e3b8019ce2cd25dbd6b8ac4541720f29a1f8
4
- data.tar.gz: 62556a997a706ac3cb4eb4acc530c0188142abac
3
+ metadata.gz: 9143fc84d399fd610392d9dbc693c348aad9b6b1
4
+ data.tar.gz: 5e2dc98a83a87b6d2bdaa2aeaeac71be6bdd921f
5
5
  SHA512:
6
- metadata.gz: 0c60f54098ebabd2d2dd08541ea3c0f3a05869f5ef955f900f1433aab63fcb509e8152ba4e971ff6d50116c5d0bbf7c04d1db00ed43469b9cc9ebe555cad7f51
7
- data.tar.gz: 324d780cf8b92a5c189172dacb298dd46adaeddd338944183d285c310e93b9b4ad73afd554a91849141f7d1982939b9431474f1d5a195b46ff6a9228e1df669a
6
+ metadata.gz: 991fcf05b8061c28ac6f3e1f3d2107c17d138c0e3cab41ebb9a57305f03ee6d6347c30cd409af4a5bb141cc7ec9361ce2b4760b2a96f28dd9b9dc72381962dc0
7
+ data.tar.gz: 913d83bbeac0b0f2f44b2caeba38607e76bdafcf7ecced5f90bd6fd5c5db04124a02dfe1b1cd32850615fbc5fd345847dd3bd87e583e87857da1a404be3fc217
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-servicediscovery/customizations'
42
42
  # @service
43
43
  module Aws::ServiceDiscovery
44
44
 
45
- GEM_VERSION = '1.14.0'
45
+ GEM_VERSION = '1.15.0'
46
46
 
47
47
  end
@@ -1513,7 +1513,7 @@ module Aws::ServiceDiscovery
1513
1513
  params: params,
1514
1514
  config: config)
1515
1515
  context[:gem_name] = 'aws-sdk-servicediscovery'
1516
- context[:gem_version] = '1.14.0'
1516
+ context[:gem_version] = '1.15.0'
1517
1517
  Seahorse::Client::Request.new(handlers, context)
1518
1518
  end
1519
1519
 
@@ -170,6 +170,9 @@ module Aws::ServiceDiscovery
170
170
  CreateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "Service"))
171
171
  CreateServiceResponse.struct_class = Types::CreateServiceResponse
172
172
 
173
+ CustomHealthNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
174
+ CustomHealthNotFound.struct_class = Types::CustomHealthNotFound
175
+
173
176
  DeleteNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
174
177
  DeleteNamespaceRequest.struct_class = Types::DeleteNamespaceRequest
175
178
 
@@ -215,6 +218,10 @@ module Aws::ServiceDiscovery
215
218
 
216
219
  DnsRecordList.member = Shapes::ShapeRef.new(shape: DnsRecord)
217
220
 
221
+ DuplicateRequest.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
222
+ DuplicateRequest.add_member(:duplicate_operation_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "DuplicateOperationId"))
223
+ DuplicateRequest.struct_class = Types::DuplicateRequest
224
+
218
225
  FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
219
226
 
220
227
  GetInstanceRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
@@ -282,12 +289,18 @@ module Aws::ServiceDiscovery
282
289
 
283
290
  InstanceIdList.member = Shapes::ShapeRef.new(shape: ResourceId)
284
291
 
292
+ InstanceNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
293
+ InstanceNotFound.struct_class = Types::InstanceNotFound
294
+
285
295
  InstanceSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
286
296
  InstanceSummary.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
287
297
  InstanceSummary.struct_class = Types::InstanceSummary
288
298
 
289
299
  InstanceSummaryList.member = Shapes::ShapeRef.new(shape: InstanceSummary)
290
300
 
301
+ InvalidInput.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
302
+ InvalidInput.struct_class = Types::InvalidInput
303
+
291
304
  ListInstancesRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
292
305
  ListInstancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
293
306
  ListInstancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
@@ -335,6 +348,11 @@ module Aws::ServiceDiscovery
335
348
  Namespace.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId"))
336
349
  Namespace.struct_class = Types::Namespace
337
350
 
351
+ NamespaceAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
352
+ NamespaceAlreadyExists.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId"))
353
+ NamespaceAlreadyExists.add_member(:namespace_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "NamespaceId"))
354
+ NamespaceAlreadyExists.struct_class = Types::NamespaceAlreadyExists
355
+
338
356
  NamespaceFilter.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceFilterName, required: true, location_name: "Name"))
339
357
  NamespaceFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "Values"))
340
358
  NamespaceFilter.add_member(:condition, Shapes::ShapeRef.new(shape: FilterCondition, location_name: "Condition"))
@@ -342,6 +360,9 @@ module Aws::ServiceDiscovery
342
360
 
343
361
  NamespaceFilters.member = Shapes::ShapeRef.new(shape: NamespaceFilter)
344
362
 
363
+ NamespaceNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
364
+ NamespaceNotFound.struct_class = Types::NamespaceNotFound
365
+
345
366
  NamespaceProperties.add_member(:dns_properties, Shapes::ShapeRef.new(shape: DnsProperties, location_name: "DnsProperties"))
346
367
  NamespaceProperties.add_member(:http_properties, Shapes::ShapeRef.new(shape: HttpProperties, location_name: "HttpProperties"))
347
368
  NamespaceProperties.struct_class = Types::NamespaceProperties
@@ -375,6 +396,9 @@ module Aws::ServiceDiscovery
375
396
 
376
397
  OperationFilters.member = Shapes::ShapeRef.new(shape: OperationFilter)
377
398
 
399
+ OperationNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
400
+ OperationNotFound.struct_class = Types::OperationNotFound
401
+
378
402
  OperationSummary.add_member(:id, Shapes::ShapeRef.new(shape: OperationId, location_name: "Id"))
379
403
  OperationSummary.add_member(:status, Shapes::ShapeRef.new(shape: OperationStatus, location_name: "Status"))
380
404
  OperationSummary.struct_class = Types::OperationSummary
@@ -393,6 +417,12 @@ module Aws::ServiceDiscovery
393
417
  RegisterInstanceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
394
418
  RegisterInstanceResponse.struct_class = Types::RegisterInstanceResponse
395
419
 
420
+ ResourceInUse.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
421
+ ResourceInUse.struct_class = Types::ResourceInUse
422
+
423
+ ResourceLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
424
+ ResourceLimitExceeded.struct_class = Types::ResourceLimitExceeded
425
+
396
426
  Service.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
397
427
  Service.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
398
428
  Service.add_member(:name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "Name"))
@@ -406,6 +436,11 @@ module Aws::ServiceDiscovery
406
436
  Service.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId"))
407
437
  Service.struct_class = Types::Service
408
438
 
439
+ ServiceAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
440
+ ServiceAlreadyExists.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId"))
441
+ ServiceAlreadyExists.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ServiceId"))
442
+ ServiceAlreadyExists.struct_class = Types::ServiceAlreadyExists
443
+
409
444
  ServiceChange.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
410
445
  ServiceChange.add_member(:dns_config, Shapes::ShapeRef.new(shape: DnsConfigChange, required: true, location_name: "DnsConfig"))
411
446
  ServiceChange.add_member(:health_check_config, Shapes::ShapeRef.new(shape: HealthCheckConfig, location_name: "HealthCheckConfig"))
@@ -418,6 +453,9 @@ module Aws::ServiceDiscovery
418
453
 
419
454
  ServiceFilters.member = Shapes::ShapeRef.new(shape: ServiceFilter)
420
455
 
456
+ ServiceNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
457
+ ServiceNotFound.struct_class = Types::ServiceNotFound
458
+
421
459
  ServiceSummariesList.member = Shapes::ShapeRef.new(shape: ServiceSummary)
422
460
 
423
461
  ServiceSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
@@ -10,5 +10,206 @@ module Aws::ServiceDiscovery
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class CustomHealthNotFound < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::ServiceDiscovery::Types::CustomHealthNotFound] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class DuplicateRequest < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::ServiceDiscovery::Types::DuplicateRequest] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ # @return [String]
44
+ def duplicate_operation_id
45
+ @data[:duplicate_operation_id]
46
+ end
47
+
48
+ end
49
+
50
+ class InstanceNotFound < ServiceError
51
+
52
+ # @param [Seahorse::Client::RequestContext] context
53
+ # @param [String] message
54
+ # @param [Aws::ServiceDiscovery::Types::InstanceNotFound] data
55
+ def initialize(context, message, data = Aws::EmptyStructure.new)
56
+ super(context, message, data)
57
+ end
58
+
59
+ # @return [String]
60
+ def message
61
+ @message || @data[:message]
62
+ end
63
+
64
+ end
65
+
66
+ class InvalidInput < ServiceError
67
+
68
+ # @param [Seahorse::Client::RequestContext] context
69
+ # @param [String] message
70
+ # @param [Aws::ServiceDiscovery::Types::InvalidInput] data
71
+ def initialize(context, message, data = Aws::EmptyStructure.new)
72
+ super(context, message, data)
73
+ end
74
+
75
+ # @return [String]
76
+ def message
77
+ @message || @data[:message]
78
+ end
79
+
80
+ end
81
+
82
+ class NamespaceAlreadyExists < ServiceError
83
+
84
+ # @param [Seahorse::Client::RequestContext] context
85
+ # @param [String] message
86
+ # @param [Aws::ServiceDiscovery::Types::NamespaceAlreadyExists] data
87
+ def initialize(context, message, data = Aws::EmptyStructure.new)
88
+ super(context, message, data)
89
+ end
90
+
91
+ # @return [String]
92
+ def message
93
+ @message || @data[:message]
94
+ end
95
+
96
+ # @return [String]
97
+ def creator_request_id
98
+ @data[:creator_request_id]
99
+ end
100
+
101
+ # @return [String]
102
+ def namespace_id
103
+ @data[:namespace_id]
104
+ end
105
+
106
+ end
107
+
108
+ class NamespaceNotFound < ServiceError
109
+
110
+ # @param [Seahorse::Client::RequestContext] context
111
+ # @param [String] message
112
+ # @param [Aws::ServiceDiscovery::Types::NamespaceNotFound] data
113
+ def initialize(context, message, data = Aws::EmptyStructure.new)
114
+ super(context, message, data)
115
+ end
116
+
117
+ # @return [String]
118
+ def message
119
+ @message || @data[:message]
120
+ end
121
+
122
+ end
123
+
124
+ class OperationNotFound < ServiceError
125
+
126
+ # @param [Seahorse::Client::RequestContext] context
127
+ # @param [String] message
128
+ # @param [Aws::ServiceDiscovery::Types::OperationNotFound] data
129
+ def initialize(context, message, data = Aws::EmptyStructure.new)
130
+ super(context, message, data)
131
+ end
132
+
133
+ # @return [String]
134
+ def message
135
+ @message || @data[:message]
136
+ end
137
+
138
+ end
139
+
140
+ class ResourceInUse < ServiceError
141
+
142
+ # @param [Seahorse::Client::RequestContext] context
143
+ # @param [String] message
144
+ # @param [Aws::ServiceDiscovery::Types::ResourceInUse] data
145
+ def initialize(context, message, data = Aws::EmptyStructure.new)
146
+ super(context, message, data)
147
+ end
148
+
149
+ # @return [String]
150
+ def message
151
+ @message || @data[:message]
152
+ end
153
+
154
+ end
155
+
156
+ class ResourceLimitExceeded < ServiceError
157
+
158
+ # @param [Seahorse::Client::RequestContext] context
159
+ # @param [String] message
160
+ # @param [Aws::ServiceDiscovery::Types::ResourceLimitExceeded] data
161
+ def initialize(context, message, data = Aws::EmptyStructure.new)
162
+ super(context, message, data)
163
+ end
164
+
165
+ # @return [String]
166
+ def message
167
+ @message || @data[:message]
168
+ end
169
+
170
+ end
171
+
172
+ class ServiceAlreadyExists < ServiceError
173
+
174
+ # @param [Seahorse::Client::RequestContext] context
175
+ # @param [String] message
176
+ # @param [Aws::ServiceDiscovery::Types::ServiceAlreadyExists] data
177
+ def initialize(context, message, data = Aws::EmptyStructure.new)
178
+ super(context, message, data)
179
+ end
180
+
181
+ # @return [String]
182
+ def message
183
+ @message || @data[:message]
184
+ end
185
+
186
+ # @return [String]
187
+ def creator_request_id
188
+ @data[:creator_request_id]
189
+ end
190
+
191
+ # @return [String]
192
+ def service_id
193
+ @data[:service_id]
194
+ end
195
+
196
+ end
197
+
198
+ class ServiceNotFound < ServiceError
199
+
200
+ # @param [Seahorse::Client::RequestContext] context
201
+ # @param [String] message
202
+ # @param [Aws::ServiceDiscovery::Types::ServiceNotFound] data
203
+ def initialize(context, message, data = Aws::EmptyStructure.new)
204
+ super(context, message, data)
205
+ end
206
+
207
+ # @return [String]
208
+ def message
209
+ @message || @data[:message]
210
+ end
211
+
212
+ end
213
+
13
214
  end
14
215
  end
@@ -267,6 +267,19 @@ module Aws::ServiceDiscovery
267
267
  include Aws::Structure
268
268
  end
269
269
 
270
+ # The health check for the instance that is specified by `ServiceId` and
271
+ # `InstanceId` is not a custom health check.
272
+ #
273
+ # @!attribute [rw] message
274
+ # @return [String]
275
+ #
276
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CustomHealthNotFound AWS API Documentation
277
+ #
278
+ class CustomHealthNotFound < Struct.new(
279
+ :message)
280
+ include Aws::Structure
281
+ end
282
+
270
283
  # @note When making an API call, you may pass DeleteNamespaceRequest
271
284
  # data as a hash:
272
285
  #
@@ -680,6 +693,23 @@ module Aws::ServiceDiscovery
680
693
  include Aws::Structure
681
694
  end
682
695
 
696
+ # The operation is already in progress.
697
+ #
698
+ # @!attribute [rw] message
699
+ # @return [String]
700
+ #
701
+ # @!attribute [rw] duplicate_operation_id
702
+ # The ID of the operation that is already in progress.
703
+ # @return [String]
704
+ #
705
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DuplicateRequest AWS API Documentation
706
+ #
707
+ class DuplicateRequest < Struct.new(
708
+ :message,
709
+ :duplicate_operation_id)
710
+ include Aws::Structure
711
+ end
712
+
683
713
  # @note When making an API call, you may pass GetInstanceRequest
684
714
  # data as a hash:
685
715
  #
@@ -1297,6 +1327,19 @@ module Aws::ServiceDiscovery
1297
1327
  include Aws::Structure
1298
1328
  end
1299
1329
 
1330
+ # No instance exists with the specified ID, or the instance was recently
1331
+ # registered, and information about the instance hasn't propagated yet.
1332
+ #
1333
+ # @!attribute [rw] message
1334
+ # @return [String]
1335
+ #
1336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/InstanceNotFound AWS API Documentation
1337
+ #
1338
+ class InstanceNotFound < Struct.new(
1339
+ :message)
1340
+ include Aws::Structure
1341
+ end
1342
+
1300
1343
  # A complex type that contains information about the instances that you
1301
1344
  # registered by using a specified service.
1302
1345
  #
@@ -1343,6 +1386,20 @@ module Aws::ServiceDiscovery
1343
1386
  include Aws::Structure
1344
1387
  end
1345
1388
 
1389
+ # One or more specified values aren't valid. For example, a required
1390
+ # value might be missing, a numeric value might be outside the allowed
1391
+ # range, or a string value might exceed length constraints.
1392
+ #
1393
+ # @!attribute [rw] message
1394
+ # @return [String]
1395
+ #
1396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/InvalidInput AWS API Documentation
1397
+ #
1398
+ class InvalidInput < Struct.new(
1399
+ :message)
1400
+ include Aws::Structure
1401
+ end
1402
+
1346
1403
  # @note When making an API call, you may pass ListInstancesRequest
1347
1404
  # data as a hash:
1348
1405
  #
@@ -1712,6 +1769,28 @@ module Aws::ServiceDiscovery
1712
1769
  include Aws::Structure
1713
1770
  end
1714
1771
 
1772
+ # The namespace that you're trying to create already exists.
1773
+ #
1774
+ # @!attribute [rw] message
1775
+ # @return [String]
1776
+ #
1777
+ # @!attribute [rw] creator_request_id
1778
+ # The `CreatorRequestId` that was used to create the namespace.
1779
+ # @return [String]
1780
+ #
1781
+ # @!attribute [rw] namespace_id
1782
+ # The ID of the existing namespace.
1783
+ # @return [String]
1784
+ #
1785
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceAlreadyExists AWS API Documentation
1786
+ #
1787
+ class NamespaceAlreadyExists < Struct.new(
1788
+ :message,
1789
+ :creator_request_id,
1790
+ :namespace_id)
1791
+ include Aws::Structure
1792
+ end
1793
+
1715
1794
  # A complex type that identifies the namespaces that you want to list.
1716
1795
  # You can choose to list public or private namespaces.
1717
1796
  #
@@ -1760,6 +1839,18 @@ module Aws::ServiceDiscovery
1760
1839
  include Aws::Structure
1761
1840
  end
1762
1841
 
1842
+ # No namespace exists with the specified ID.
1843
+ #
1844
+ # @!attribute [rw] message
1845
+ # @return [String]
1846
+ #
1847
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceNotFound AWS API Documentation
1848
+ #
1849
+ class NamespaceNotFound < Struct.new(
1850
+ :message)
1851
+ include Aws::Structure
1852
+ end
1853
+
1763
1854
  # A complex type that contains information that is specific to the
1764
1855
  # namespace type.
1765
1856
  #
@@ -2000,6 +2091,18 @@ module Aws::ServiceDiscovery
2000
2091
  include Aws::Structure
2001
2092
  end
2002
2093
 
2094
+ # No operation exists with the specified ID.
2095
+ #
2096
+ # @!attribute [rw] message
2097
+ # @return [String]
2098
+ #
2099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/OperationNotFound AWS API Documentation
2100
+ #
2101
+ class OperationNotFound < Struct.new(
2102
+ :message)
2103
+ include Aws::Structure
2104
+ end
2105
+
2003
2106
  # A complex type that contains information about an operation that
2004
2107
  # matches the criteria that you specified in a ListOperations request.
2005
2108
  #
@@ -2209,6 +2312,33 @@ module Aws::ServiceDiscovery
2209
2312
  include Aws::Structure
2210
2313
  end
2211
2314
 
2315
+ # The specified resource can't be deleted because it contains other
2316
+ # resources. For example, you can't delete a service that contains any
2317
+ # instances.
2318
+ #
2319
+ # @!attribute [rw] message
2320
+ # @return [String]
2321
+ #
2322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ResourceInUse AWS API Documentation
2323
+ #
2324
+ class ResourceInUse < Struct.new(
2325
+ :message)
2326
+ include Aws::Structure
2327
+ end
2328
+
2329
+ # The resource can't be created because you've reached the limit on
2330
+ # the number of resources.
2331
+ #
2332
+ # @!attribute [rw] message
2333
+ # @return [String]
2334
+ #
2335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ResourceLimitExceeded AWS API Documentation
2336
+ #
2337
+ class ResourceLimitExceeded < Struct.new(
2338
+ :message)
2339
+ include Aws::Structure
2340
+ end
2341
+
2212
2342
  # A complex type that contains information about the specified service.
2213
2343
  #
2214
2344
  # @!attribute [rw] id
@@ -2298,6 +2428,29 @@ module Aws::ServiceDiscovery
2298
2428
  include Aws::Structure
2299
2429
  end
2300
2430
 
2431
+ # The service can't be created because a service with the same name
2432
+ # already exists.
2433
+ #
2434
+ # @!attribute [rw] message
2435
+ # @return [String]
2436
+ #
2437
+ # @!attribute [rw] creator_request_id
2438
+ # The `CreatorRequestId` that was used to create the service.
2439
+ # @return [String]
2440
+ #
2441
+ # @!attribute [rw] service_id
2442
+ # The ID of the existing service.
2443
+ # @return [String]
2444
+ #
2445
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceAlreadyExists AWS API Documentation
2446
+ #
2447
+ class ServiceAlreadyExists < Struct.new(
2448
+ :message,
2449
+ :creator_request_id,
2450
+ :service_id)
2451
+ include Aws::Structure
2452
+ end
2453
+
2301
2454
  # A complex type that contains changes to an existing service.
2302
2455
  #
2303
2456
  # @note When making an API call, you may pass ServiceChange
@@ -2456,6 +2609,18 @@ module Aws::ServiceDiscovery
2456
2609
  include Aws::Structure
2457
2610
  end
2458
2611
 
2612
+ # No service exists with the specified ID.
2613
+ #
2614
+ # @!attribute [rw] message
2615
+ # @return [String]
2616
+ #
2617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceNotFound AWS API Documentation
2618
+ #
2619
+ class ServiceNotFound < Struct.new(
2620
+ :message)
2621
+ include Aws::Structure
2622
+ end
2623
+
2459
2624
  # A complex type that contains information about a specified service.
2460
2625
  #
2461
2626
  # @!attribute [rw] id
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.14.0
4
+ version: 1.15.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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.52.1
22
+ version: 3.53.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement