aws-sdk-servicediscovery 1.32.0 → 1.37.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
 
@@ -66,9 +66,11 @@ module Aws::ServiceDiscovery
66
66
  HealthStatusFilter = Shapes::StringShape.new(name: 'HealthStatusFilter')
67
67
  HttpInstanceSummary = Shapes::StructureShape.new(name: 'HttpInstanceSummary')
68
68
  HttpInstanceSummaryList = Shapes::ListShape.new(name: 'HttpInstanceSummaryList')
69
+ HttpNamespaceChange = Shapes::StructureShape.new(name: 'HttpNamespaceChange')
69
70
  HttpProperties = Shapes::StructureShape.new(name: 'HttpProperties')
70
71
  Instance = Shapes::StructureShape.new(name: 'Instance')
71
72
  InstanceHealthStatusMap = Shapes::MapShape.new(name: 'InstanceHealthStatusMap')
73
+ InstanceId = Shapes::StringShape.new(name: 'InstanceId')
72
74
  InstanceIdList = Shapes::ListShape.new(name: 'InstanceIdList')
73
75
  InstanceNotFound = Shapes::StructureShape.new(name: 'InstanceNotFound')
74
76
  InstanceSummary = Shapes::StructureShape.new(name: 'InstanceSummary')
@@ -92,6 +94,9 @@ module Aws::ServiceDiscovery
92
94
  NamespaceFilterName = Shapes::StringShape.new(name: 'NamespaceFilterName')
93
95
  NamespaceFilters = Shapes::ListShape.new(name: 'NamespaceFilters')
94
96
  NamespaceName = Shapes::StringShape.new(name: 'NamespaceName')
97
+ NamespaceNameHttp = Shapes::StringShape.new(name: 'NamespaceNameHttp')
98
+ NamespaceNamePrivate = Shapes::StringShape.new(name: 'NamespaceNamePrivate')
99
+ NamespaceNamePublic = Shapes::StringShape.new(name: 'NamespaceNamePublic')
95
100
  NamespaceNotFound = Shapes::StructureShape.new(name: 'NamespaceNotFound')
96
101
  NamespaceProperties = Shapes::StructureShape.new(name: 'NamespaceProperties')
97
102
  NamespaceSummariesList = Shapes::ListShape.new(name: 'NamespaceSummariesList')
@@ -110,6 +115,16 @@ module Aws::ServiceDiscovery
110
115
  OperationTargetType = Shapes::StringShape.new(name: 'OperationTargetType')
111
116
  OperationTargetsMap = Shapes::MapShape.new(name: 'OperationTargetsMap')
112
117
  OperationType = Shapes::StringShape.new(name: 'OperationType')
118
+ PrivateDnsNamespaceChange = Shapes::StructureShape.new(name: 'PrivateDnsNamespaceChange')
119
+ PrivateDnsNamespaceProperties = Shapes::StructureShape.new(name: 'PrivateDnsNamespaceProperties')
120
+ PrivateDnsNamespacePropertiesChange = Shapes::StructureShape.new(name: 'PrivateDnsNamespacePropertiesChange')
121
+ PrivateDnsPropertiesMutable = Shapes::StructureShape.new(name: 'PrivateDnsPropertiesMutable')
122
+ PrivateDnsPropertiesMutableChange = Shapes::StructureShape.new(name: 'PrivateDnsPropertiesMutableChange')
123
+ PublicDnsNamespaceChange = Shapes::StructureShape.new(name: 'PublicDnsNamespaceChange')
124
+ PublicDnsNamespaceProperties = Shapes::StructureShape.new(name: 'PublicDnsNamespaceProperties')
125
+ PublicDnsNamespacePropertiesChange = Shapes::StructureShape.new(name: 'PublicDnsNamespacePropertiesChange')
126
+ PublicDnsPropertiesMutable = Shapes::StructureShape.new(name: 'PublicDnsPropertiesMutable')
127
+ PublicDnsPropertiesMutableChange = Shapes::StructureShape.new(name: 'PublicDnsPropertiesMutableChange')
113
128
  RecordTTL = Shapes::IntegerShape.new(name: 'RecordTTL')
114
129
  RecordType = Shapes::StringShape.new(name: 'RecordType')
115
130
  RegisterInstanceRequest = Shapes::StructureShape.new(name: 'RegisterInstanceRequest')
@@ -123,6 +138,8 @@ module Aws::ServiceDiscovery
123
138
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
124
139
  ResourcePath = Shapes::StringShape.new(name: 'ResourcePath')
125
140
  RoutingPolicy = Shapes::StringShape.new(name: 'RoutingPolicy')
141
+ SOA = Shapes::StructureShape.new(name: 'SOA')
142
+ SOAChange = Shapes::StructureShape.new(name: 'SOAChange')
126
143
  Service = Shapes::StructureShape.new(name: 'Service')
127
144
  ServiceAlreadyExists = Shapes::StructureShape.new(name: 'ServiceAlreadyExists')
128
145
  ServiceChange = Shapes::StructureShape.new(name: 'ServiceChange')
@@ -133,6 +150,8 @@ module Aws::ServiceDiscovery
133
150
  ServiceNotFound = Shapes::StructureShape.new(name: 'ServiceNotFound')
134
151
  ServiceSummariesList = Shapes::ListShape.new(name: 'ServiceSummariesList')
135
152
  ServiceSummary = Shapes::StructureShape.new(name: 'ServiceSummary')
153
+ ServiceType = Shapes::StringShape.new(name: 'ServiceType')
154
+ ServiceTypeOption = Shapes::StringShape.new(name: 'ServiceTypeOption')
136
155
  Tag = Shapes::StructureShape.new(name: 'Tag')
137
156
  TagKey = Shapes::StringShape.new(name: 'TagKey')
138
157
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -144,14 +163,20 @@ module Aws::ServiceDiscovery
144
163
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
145
164
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
146
165
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
166
+ UpdateHttpNamespaceRequest = Shapes::StructureShape.new(name: 'UpdateHttpNamespaceRequest')
167
+ UpdateHttpNamespaceResponse = Shapes::StructureShape.new(name: 'UpdateHttpNamespaceResponse')
147
168
  UpdateInstanceCustomHealthStatusRequest = Shapes::StructureShape.new(name: 'UpdateInstanceCustomHealthStatusRequest')
169
+ UpdatePrivateDnsNamespaceRequest = Shapes::StructureShape.new(name: 'UpdatePrivateDnsNamespaceRequest')
170
+ UpdatePrivateDnsNamespaceResponse = Shapes::StructureShape.new(name: 'UpdatePrivateDnsNamespaceResponse')
171
+ UpdatePublicDnsNamespaceRequest = Shapes::StructureShape.new(name: 'UpdatePublicDnsNamespaceRequest')
172
+ UpdatePublicDnsNamespaceResponse = Shapes::StructureShape.new(name: 'UpdatePublicDnsNamespaceResponse')
148
173
  UpdateServiceRequest = Shapes::StructureShape.new(name: 'UpdateServiceRequest')
149
174
  UpdateServiceResponse = Shapes::StructureShape.new(name: 'UpdateServiceResponse')
150
175
 
151
176
  Attributes.key = Shapes::ShapeRef.new(shape: AttrKey)
152
177
  Attributes.value = Shapes::ShapeRef.new(shape: AttrValue)
153
178
 
154
- CreateHttpNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "Name"))
179
+ CreateHttpNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceNameHttp, required: true, location_name: "Name"))
155
180
  CreateHttpNamespaceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken"=>true}))
156
181
  CreateHttpNamespaceRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
157
182
  CreateHttpNamespaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -160,20 +185,22 @@ module Aws::ServiceDiscovery
160
185
  CreateHttpNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
161
186
  CreateHttpNamespaceResponse.struct_class = Types::CreateHttpNamespaceResponse
162
187
 
163
- CreatePrivateDnsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "Name"))
188
+ CreatePrivateDnsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceNamePrivate, required: true, location_name: "Name"))
164
189
  CreatePrivateDnsNamespaceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken"=>true}))
165
190
  CreatePrivateDnsNamespaceRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
166
191
  CreatePrivateDnsNamespaceRequest.add_member(:vpc, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Vpc"))
167
192
  CreatePrivateDnsNamespaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
193
+ CreatePrivateDnsNamespaceRequest.add_member(:properties, Shapes::ShapeRef.new(shape: PrivateDnsNamespaceProperties, location_name: "Properties"))
168
194
  CreatePrivateDnsNamespaceRequest.struct_class = Types::CreatePrivateDnsNamespaceRequest
169
195
 
170
196
  CreatePrivateDnsNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
171
197
  CreatePrivateDnsNamespaceResponse.struct_class = Types::CreatePrivateDnsNamespaceResponse
172
198
 
173
- CreatePublicDnsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "Name"))
199
+ CreatePublicDnsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceNamePublic, required: true, location_name: "Name"))
174
200
  CreatePublicDnsNamespaceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken"=>true}))
175
201
  CreatePublicDnsNamespaceRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
176
202
  CreatePublicDnsNamespaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
203
+ CreatePublicDnsNamespaceRequest.add_member(:properties, Shapes::ShapeRef.new(shape: PublicDnsNamespaceProperties, location_name: "Properties"))
177
204
  CreatePublicDnsNamespaceRequest.struct_class = Types::CreatePublicDnsNamespaceRequest
178
205
 
179
206
  CreatePublicDnsNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
@@ -187,6 +214,7 @@ module Aws::ServiceDiscovery
187
214
  CreateServiceRequest.add_member(:health_check_config, Shapes::ShapeRef.new(shape: HealthCheckConfig, location_name: "HealthCheckConfig"))
188
215
  CreateServiceRequest.add_member(:health_check_custom_config, Shapes::ShapeRef.new(shape: HealthCheckCustomConfig, location_name: "HealthCheckCustomConfig"))
189
216
  CreateServiceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
217
+ CreateServiceRequest.add_member(:type, Shapes::ShapeRef.new(shape: ServiceTypeOption, location_name: "Type"))
190
218
  CreateServiceRequest.struct_class = Types::CreateServiceRequest
191
219
 
192
220
  CreateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "Service"))
@@ -233,6 +261,7 @@ module Aws::ServiceDiscovery
233
261
  DnsConfigChange.struct_class = Types::DnsConfigChange
234
262
 
235
263
  DnsProperties.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "HostedZoneId"))
264
+ DnsProperties.add_member(:soa, Shapes::ShapeRef.new(shape: SOA, location_name: "SOA"))
236
265
  DnsProperties.struct_class = Types::DnsProperties
237
266
 
238
267
  DnsRecord.add_member(:type, Shapes::ShapeRef.new(shape: RecordType, required: true, location_name: "Type"))
@@ -287,11 +316,11 @@ module Aws::ServiceDiscovery
287
316
  HealthCheckConfig.add_member(:failure_threshold, Shapes::ShapeRef.new(shape: FailureThreshold, location_name: "FailureThreshold"))
288
317
  HealthCheckConfig.struct_class = Types::HealthCheckConfig
289
318
 
290
- HealthCheckCustomConfig.add_member(:failure_threshold, Shapes::ShapeRef.new(shape: FailureThreshold, location_name: "FailureThreshold"))
319
+ 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
320
  HealthCheckCustomConfig.struct_class = Types::HealthCheckCustomConfig
292
321
 
293
322
  HttpInstanceSummary.add_member(:instance_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "InstanceId"))
294
- HttpInstanceSummary.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, location_name: "NamespaceName"))
323
+ HttpInstanceSummary.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceNameHttp, location_name: "NamespaceName"))
295
324
  HttpInstanceSummary.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "ServiceName"))
296
325
  HttpInstanceSummary.add_member(:health_status, Shapes::ShapeRef.new(shape: HealthStatus, location_name: "HealthStatus"))
297
326
  HttpInstanceSummary.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
@@ -299,6 +328,9 @@ module Aws::ServiceDiscovery
299
328
 
300
329
  HttpInstanceSummaryList.member = Shapes::ShapeRef.new(shape: HttpInstanceSummary)
301
330
 
331
+ HttpNamespaceChange.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
332
+ HttpNamespaceChange.struct_class = Types::HttpNamespaceChange
333
+
302
334
  HttpProperties.add_member(:http_name, Shapes::ShapeRef.new(shape: NamespaceName, location_name: "HttpName"))
303
335
  HttpProperties.struct_class = Types::HttpProperties
304
336
 
@@ -437,8 +469,40 @@ module Aws::ServiceDiscovery
437
469
  OperationTargetsMap.key = Shapes::ShapeRef.new(shape: OperationTargetType)
438
470
  OperationTargetsMap.value = Shapes::ShapeRef.new(shape: ResourceId)
439
471
 
472
+ PrivateDnsNamespaceChange.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
473
+ PrivateDnsNamespaceChange.add_member(:properties, Shapes::ShapeRef.new(shape: PrivateDnsNamespacePropertiesChange, location_name: "Properties"))
474
+ PrivateDnsNamespaceChange.struct_class = Types::PrivateDnsNamespaceChange
475
+
476
+ PrivateDnsNamespaceProperties.add_member(:dns_properties, Shapes::ShapeRef.new(shape: PrivateDnsPropertiesMutable, required: true, location_name: "DnsProperties"))
477
+ PrivateDnsNamespaceProperties.struct_class = Types::PrivateDnsNamespaceProperties
478
+
479
+ PrivateDnsNamespacePropertiesChange.add_member(:dns_properties, Shapes::ShapeRef.new(shape: PrivateDnsPropertiesMutableChange, required: true, location_name: "DnsProperties"))
480
+ PrivateDnsNamespacePropertiesChange.struct_class = Types::PrivateDnsNamespacePropertiesChange
481
+
482
+ PrivateDnsPropertiesMutable.add_member(:soa, Shapes::ShapeRef.new(shape: SOA, required: true, location_name: "SOA"))
483
+ PrivateDnsPropertiesMutable.struct_class = Types::PrivateDnsPropertiesMutable
484
+
485
+ PrivateDnsPropertiesMutableChange.add_member(:soa, Shapes::ShapeRef.new(shape: SOAChange, required: true, location_name: "SOA"))
486
+ PrivateDnsPropertiesMutableChange.struct_class = Types::PrivateDnsPropertiesMutableChange
487
+
488
+ PublicDnsNamespaceChange.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
489
+ PublicDnsNamespaceChange.add_member(:properties, Shapes::ShapeRef.new(shape: PublicDnsNamespacePropertiesChange, location_name: "Properties"))
490
+ PublicDnsNamespaceChange.struct_class = Types::PublicDnsNamespaceChange
491
+
492
+ PublicDnsNamespaceProperties.add_member(:dns_properties, Shapes::ShapeRef.new(shape: PublicDnsPropertiesMutable, required: true, location_name: "DnsProperties"))
493
+ PublicDnsNamespaceProperties.struct_class = Types::PublicDnsNamespaceProperties
494
+
495
+ PublicDnsNamespacePropertiesChange.add_member(:dns_properties, Shapes::ShapeRef.new(shape: PublicDnsPropertiesMutableChange, required: true, location_name: "DnsProperties"))
496
+ PublicDnsNamespacePropertiesChange.struct_class = Types::PublicDnsNamespacePropertiesChange
497
+
498
+ PublicDnsPropertiesMutable.add_member(:soa, Shapes::ShapeRef.new(shape: SOA, required: true, location_name: "SOA"))
499
+ PublicDnsPropertiesMutable.struct_class = Types::PublicDnsPropertiesMutable
500
+
501
+ PublicDnsPropertiesMutableChange.add_member(:soa, Shapes::ShapeRef.new(shape: SOAChange, required: true, location_name: "SOA"))
502
+ PublicDnsPropertiesMutableChange.struct_class = Types::PublicDnsPropertiesMutableChange
503
+
440
504
  RegisterInstanceRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
441
- RegisterInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "InstanceId"))
505
+ RegisterInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
442
506
  RegisterInstanceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken"=>true}))
443
507
  RegisterInstanceRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "Attributes"))
444
508
  RegisterInstanceRequest.struct_class = Types::RegisterInstanceRequest
@@ -458,6 +522,12 @@ module Aws::ServiceDiscovery
458
522
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
459
523
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
460
524
 
525
+ SOA.add_member(:ttl, Shapes::ShapeRef.new(shape: RecordTTL, required: true, location_name: "TTL"))
526
+ SOA.struct_class = Types::SOA
527
+
528
+ SOAChange.add_member(:ttl, Shapes::ShapeRef.new(shape: RecordTTL, required: true, location_name: "TTL"))
529
+ SOAChange.struct_class = Types::SOAChange
530
+
461
531
  Service.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
462
532
  Service.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
463
533
  Service.add_member(:name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "Name"))
@@ -465,6 +535,7 @@ module Aws::ServiceDiscovery
465
535
  Service.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
466
536
  Service.add_member(:instance_count, Shapes::ShapeRef.new(shape: ResourceCount, location_name: "InstanceCount"))
467
537
  Service.add_member(:dns_config, Shapes::ShapeRef.new(shape: DnsConfig, location_name: "DnsConfig"))
538
+ Service.add_member(:type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "Type"))
468
539
  Service.add_member(:health_check_config, Shapes::ShapeRef.new(shape: HealthCheckConfig, location_name: "HealthCheckConfig"))
469
540
  Service.add_member(:health_check_custom_config, Shapes::ShapeRef.new(shape: HealthCheckCustomConfig, location_name: "HealthCheckCustomConfig"))
470
541
  Service.add_member(:create_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateDate"))
@@ -496,6 +567,7 @@ module Aws::ServiceDiscovery
496
567
  ServiceSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
497
568
  ServiceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
498
569
  ServiceSummary.add_member(:name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "Name"))
570
+ ServiceSummary.add_member(:type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "Type"))
499
571
  ServiceSummary.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
500
572
  ServiceSummary.add_member(:instance_count, Shapes::ShapeRef.new(shape: ResourceCount, location_name: "InstanceCount"))
501
573
  ServiceSummary.add_member(:dns_config, Shapes::ShapeRef.new(shape: DnsConfig, location_name: "DnsConfig"))
@@ -528,11 +600,35 @@ module Aws::ServiceDiscovery
528
600
 
529
601
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
530
602
 
603
+ UpdateHttpNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
604
+ UpdateHttpNamespaceRequest.add_member(:updater_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "UpdaterRequestId", metadata: {"idempotencyToken"=>true}))
605
+ UpdateHttpNamespaceRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: HttpNamespaceChange, required: true, location_name: "Namespace"))
606
+ UpdateHttpNamespaceRequest.struct_class = Types::UpdateHttpNamespaceRequest
607
+
608
+ UpdateHttpNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
609
+ UpdateHttpNamespaceResponse.struct_class = Types::UpdateHttpNamespaceResponse
610
+
531
611
  UpdateInstanceCustomHealthStatusRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
532
612
  UpdateInstanceCustomHealthStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "InstanceId"))
533
613
  UpdateInstanceCustomHealthStatusRequest.add_member(:status, Shapes::ShapeRef.new(shape: CustomHealthStatus, required: true, location_name: "Status"))
534
614
  UpdateInstanceCustomHealthStatusRequest.struct_class = Types::UpdateInstanceCustomHealthStatusRequest
535
615
 
616
+ UpdatePrivateDnsNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
617
+ UpdatePrivateDnsNamespaceRequest.add_member(:updater_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "UpdaterRequestId", metadata: {"idempotencyToken"=>true}))
618
+ UpdatePrivateDnsNamespaceRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PrivateDnsNamespaceChange, required: true, location_name: "Namespace"))
619
+ UpdatePrivateDnsNamespaceRequest.struct_class = Types::UpdatePrivateDnsNamespaceRequest
620
+
621
+ UpdatePrivateDnsNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
622
+ UpdatePrivateDnsNamespaceResponse.struct_class = Types::UpdatePrivateDnsNamespaceResponse
623
+
624
+ UpdatePublicDnsNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
625
+ UpdatePublicDnsNamespaceRequest.add_member(:updater_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "UpdaterRequestId", metadata: {"idempotencyToken"=>true}))
626
+ UpdatePublicDnsNamespaceRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PublicDnsNamespaceChange, required: true, location_name: "Namespace"))
627
+ UpdatePublicDnsNamespaceRequest.struct_class = Types::UpdatePublicDnsNamespaceRequest
628
+
629
+ UpdatePublicDnsNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
630
+ UpdatePublicDnsNamespaceResponse.struct_class = Types::UpdatePublicDnsNamespaceResponse
631
+
536
632
  UpdateServiceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
537
633
  UpdateServiceRequest.add_member(:service, Shapes::ShapeRef.new(shape: ServiceChange, required: true, location_name: "Service"))
538
634
  UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
@@ -825,6 +921,18 @@ module Aws::ServiceDiscovery
825
921
  o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
826
922
  end)
827
923
 
924
+ api.add_operation(:update_http_namespace, Seahorse::Model::Operation.new.tap do |o|
925
+ o.name = "UpdateHttpNamespace"
926
+ o.http_method = "POST"
927
+ o.http_request_uri = "/"
928
+ o.input = Shapes::ShapeRef.new(shape: UpdateHttpNamespaceRequest)
929
+ o.output = Shapes::ShapeRef.new(shape: UpdateHttpNamespaceResponse)
930
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
931
+ o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFound)
932
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
933
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
934
+ end)
935
+
828
936
  api.add_operation(:update_instance_custom_health_status, Seahorse::Model::Operation.new.tap do |o|
829
937
  o.name = "UpdateInstanceCustomHealthStatus"
830
938
  o.http_method = "POST"
@@ -837,6 +945,30 @@ module Aws::ServiceDiscovery
837
945
  o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
838
946
  end)
839
947
 
948
+ api.add_operation(:update_private_dns_namespace, Seahorse::Model::Operation.new.tap do |o|
949
+ o.name = "UpdatePrivateDnsNamespace"
950
+ o.http_method = "POST"
951
+ o.http_request_uri = "/"
952
+ o.input = Shapes::ShapeRef.new(shape: UpdatePrivateDnsNamespaceRequest)
953
+ o.output = Shapes::ShapeRef.new(shape: UpdatePrivateDnsNamespaceResponse)
954
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
955
+ o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFound)
956
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
957
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
958
+ end)
959
+
960
+ api.add_operation(:update_public_dns_namespace, Seahorse::Model::Operation.new.tap do |o|
961
+ o.name = "UpdatePublicDnsNamespace"
962
+ o.http_method = "POST"
963
+ o.http_request_uri = "/"
964
+ o.input = Shapes::ShapeRef.new(shape: UpdatePublicDnsNamespaceRequest)
965
+ o.output = Shapes::ShapeRef.new(shape: UpdatePublicDnsNamespaceResponse)
966
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
967
+ o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFound)
968
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
969
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
970
+ end)
971
+
840
972
  api.add_operation(:update_service, Seahorse::Model::Operation.new.tap do |o|
841
973
  o.name = "UpdateService"
842
974
  o.http_method = "POST"
@@ -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
 
@@ -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
 
@@ -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
 
@@ -14,7 +14,7 @@ module Aws::ServiceDiscovery
14
14
  # data as a hash:
15
15
  #
16
16
  # {
17
- # name: "NamespaceName", # required
17
+ # name: "NamespaceNameHttp", # required
18
18
  # creator_request_id: "ResourceId",
19
19
  # description: "ResourceDescription",
20
20
  # tags: [
@@ -32,8 +32,8 @@ module Aws::ServiceDiscovery
32
32
  # @!attribute [rw] creator_request_id
33
33
  # A unique string that identifies the request and that allows failed
34
34
  # `CreateHttpNamespace` requests to be retried without the risk of
35
- # executing the operation twice. `CreatorRequestId` can be any unique
36
- # string, for example, a date/time stamp.
35
+ # running the operation twice. `CreatorRequestId` can be any unique
36
+ # string (for example, a date/time stamp).
37
37
  #
38
38
  # **A suitable default value is auto-generated.** You should normally
39
39
  # not need to pass this option.
@@ -45,9 +45,9 @@ module Aws::ServiceDiscovery
45
45
  #
46
46
  # @!attribute [rw] tags
47
47
  # The tags to add to the namespace. Each tag consists of a key and an
48
- # optional value, both of which you define. Tag keys can have a
49
- # maximum character length of 128 characters, and tag values can have
50
- # a maximum length of 256 characters.
48
+ # optional value that you define. Tags keys can be up to 128
49
+ # characters in length, and tag values can be up to 256 characters in
50
+ # length.
51
51
  # @return [Array<Types::Tag>]
52
52
  #
53
53
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateHttpNamespaceRequest AWS API Documentation
@@ -83,7 +83,7 @@ module Aws::ServiceDiscovery
83
83
  # data as a hash:
84
84
  #
85
85
  # {
86
- # name: "NamespaceName", # required
86
+ # name: "NamespaceNamePrivate", # required
87
87
  # creator_request_id: "ResourceId",
88
88
  # description: "ResourceDescription",
89
89
  # vpc: "ResourceId", # required
@@ -93,20 +93,27 @@ module Aws::ServiceDiscovery
93
93
  # value: "TagValue", # required
94
94
  # },
95
95
  # ],
96
+ # properties: {
97
+ # dns_properties: { # required
98
+ # soa: { # required
99
+ # ttl: 1, # required
100
+ # },
101
+ # },
102
+ # },
96
103
  # }
97
104
  #
98
105
  # @!attribute [rw] name
99
106
  # The name that you want to assign to this namespace. When you create
100
- # a private DNS namespace, AWS Cloud Map automatically creates an
101
- # Amazon Route 53 private hosted zone that has the same name as the
107
+ # a private DNS namespace, Cloud Map automatically creates an Amazon
108
+ # Route 53 private hosted zone that has the same name as the
102
109
  # namespace.
103
110
  # @return [String]
104
111
  #
105
112
  # @!attribute [rw] creator_request_id
106
113
  # A unique string that identifies the request and that allows failed
107
114
  # `CreatePrivateDnsNamespace` requests to be retried without the risk
108
- # of executing the operation twice. `CreatorRequestId` can be any
109
- # unique string, for example, a date/time stamp.
115
+ # of running the operation twice. `CreatorRequestId` can be any unique
116
+ # string (for example, a date/timestamp).
110
117
  #
111
118
  # **A suitable default value is auto-generated.** You should normally
112
119
  # not need to pass this option.
@@ -123,11 +130,15 @@ module Aws::ServiceDiscovery
123
130
  #
124
131
  # @!attribute [rw] tags
125
132
  # The tags to add to the namespace. Each tag consists of a key and an
126
- # optional value, both of which you define. Tag keys can have a
127
- # maximum character length of 128 characters, and tag values can have
128
- # a maximum length of 256 characters.
133
+ # optional value that you define. Tags keys can be up to 128
134
+ # characters in length, and tag values can be up to 256 characters in
135
+ # length.
129
136
  # @return [Array<Types::Tag>]
130
137
  #
138
+ # @!attribute [rw] properties
139
+ # Properties for the private DNS namespace.
140
+ # @return [Types::PrivateDnsNamespaceProperties]
141
+ #
131
142
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespaceRequest AWS API Documentation
132
143
  #
133
144
  class CreatePrivateDnsNamespaceRequest < Struct.new(
@@ -135,7 +146,8 @@ module Aws::ServiceDiscovery
135
146
  :creator_request_id,
136
147
  :description,
137
148
  :vpc,
138
- :tags)
149
+ :tags,
150
+ :properties)
139
151
  SENSITIVE = []
140
152
  include Aws::Structure
141
153
  end
@@ -162,7 +174,7 @@ module Aws::ServiceDiscovery
162
174
  # data as a hash:
163
175
  #
164
176
  # {
165
- # name: "NamespaceName", # required
177
+ # name: "NamespaceNamePublic", # required
166
178
  # creator_request_id: "ResourceId",
167
179
  # description: "ResourceDescription",
168
180
  # tags: [
@@ -171,6 +183,13 @@ module Aws::ServiceDiscovery
171
183
  # value: "TagValue", # required
172
184
  # },
173
185
  # ],
186
+ # properties: {
187
+ # dns_properties: { # required
188
+ # soa: { # required
189
+ # ttl: 1, # required
190
+ # },
191
+ # },
192
+ # },
174
193
  # }
175
194
  #
176
195
  # @!attribute [rw] name
@@ -180,8 +199,8 @@ module Aws::ServiceDiscovery
180
199
  # @!attribute [rw] creator_request_id
181
200
  # A unique string that identifies the request and that allows failed
182
201
  # `CreatePublicDnsNamespace` requests to be retried without the risk
183
- # of executing the operation twice. `CreatorRequestId` can be any
184
- # unique string, for example, a date/time stamp.
202
+ # of running the operation twice. `CreatorRequestId` can be any unique
203
+ # string (for example, a date/timestamp).
185
204
  #
186
205
  # **A suitable default value is auto-generated.** You should normally
187
206
  # not need to pass this option.
@@ -193,18 +212,23 @@ module Aws::ServiceDiscovery
193
212
  #
194
213
  # @!attribute [rw] tags
195
214
  # The tags to add to the namespace. Each tag consists of a key and an
196
- # optional value, both of which you define. Tag keys can have a
197
- # maximum character length of 128 characters, and tag values can have
198
- # a maximum length of 256 characters.
215
+ # optional value that you define. Tags keys can be up to 128
216
+ # characters in length, and tag values can be up to 256 characters in
217
+ # length.
199
218
  # @return [Array<Types::Tag>]
200
219
  #
220
+ # @!attribute [rw] properties
221
+ # Properties for the public DNS namespace.
222
+ # @return [Types::PublicDnsNamespaceProperties]
223
+ #
201
224
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespaceRequest AWS API Documentation
202
225
  #
203
226
  class CreatePublicDnsNamespaceRequest < Struct.new(
204
227
  :name,
205
228
  :creator_request_id,
206
229
  :description,
207
- :tags)
230
+ :tags,
231
+ :properties)
208
232
  SENSITIVE = []
209
233
  include Aws::Structure
210
234
  end
@@ -259,25 +283,34 @@ module Aws::ServiceDiscovery
259
283
  # value: "TagValue", # required
260
284
  # },
261
285
  # ],
286
+ # type: "HTTP", # accepts HTTP
262
287
  # }
263
288
  #
264
289
  # @!attribute [rw] name
265
290
  # The name that you want to assign to the service.
266
291
  #
267
- # If you want AWS Cloud Map to create an `SRV` record when you
268
- # register an instance, and if you're using a system that requires a
269
- # specific `SRV` format, such as [HAProxy][1], specify the following
270
- # for `Name`\:
292
+ # If you want Cloud Map to create an `SRV` record when you register an
293
+ # instance and you're using a system that requires a specific `SRV`
294
+ # format, such as [HAProxy][1], specify the following for `Name`\:
295
+ #
296
+ # * Start the name with an underscore (\_), such as `_exampleservice`.
297
+ #
298
+ # * End the name with *.\_protocol*, such as `._tcp`.
271
299
  #
272
- # * Start the name with an underscore (\_), such as `_exampleservice`
300
+ # When you register an instance, Cloud Map creates an `SRV` record and
301
+ # assigns a name to the record by concatenating the service name and
302
+ # the namespace name (for example,
273
303
  #
274
- # * End the name with *.\_protocol*, such as `._tcp`
304
+ # `_exampleservice._tcp.example.com`).
275
305
  #
276
- # When you register an instance, AWS Cloud Map creates an `SRV` record
277
- # and assigns a name to the record by concatenating the service name
278
- # and the namespace name, for example:
306
+ # <note markdown="1"> For services that are accessible by DNS queries, you can't create
307
+ # multiple services with names that differ only by case (such as
308
+ # EXAMPLE and example). Otherwise, these services have the same DNS
309
+ # name and can't be distinguished. However, if you use a namespace
310
+ # that's only accessible by API calls, then you can create services
311
+ # that with names that differ only by case.
279
312
  #
280
- # `_exampleservice._tcp.example.com`
313
+ # </note>
281
314
  #
282
315
  #
283
316
  #
@@ -286,13 +319,15 @@ module Aws::ServiceDiscovery
286
319
  #
287
320
  # @!attribute [rw] namespace_id
288
321
  # The ID of the namespace that you want to use to create the service.
322
+ # The namespace ID must be specified, but it can be specified either
323
+ # here or in the `DnsConfig` object.
289
324
  # @return [String]
290
325
  #
291
326
  # @!attribute [rw] creator_request_id
292
327
  # A unique string that identifies the request and that allows failed
293
- # `CreateService` requests to be retried without the risk of executing
294
- # the operation twice. `CreatorRequestId` can be any unique string,
295
- # for example, a date/time stamp.
328
+ # `CreateService` requests to be retried without the risk of running
329
+ # the operation twice. `CreatorRequestId` can be any unique string
330
+ # (for example, a date/timestamp).
296
331
  #
297
332
  # **A suitable default value is auto-generated.** You should normally
298
333
  # not need to pass this option.
@@ -303,23 +338,22 @@ module Aws::ServiceDiscovery
303
338
  # @return [String]
304
339
  #
305
340
  # @!attribute [rw] dns_config
306
- # A complex type that contains information about the Amazon Route 53
307
- # records that you want AWS Cloud Map to create when you register an
341
+ # A complex type that contains information about the Amazon Route 53
342
+ # records that you want Cloud Map to create when you register an
308
343
  # instance.
309
344
  # @return [Types::DnsConfig]
310
345
  #
311
346
  # @!attribute [rw] health_check_config
312
347
  # *Public DNS and HTTP namespaces only.* A complex type that contains
313
- # settings for an optional Route 53 health check. If you specify
314
- # settings for a health check, AWS Cloud Map associates the health
315
- # check with all the Route 53 DNS records that you specify in
316
- # `DnsConfig`.
348
+ # settings for an optional Route 53 health check. If you specify
349
+ # settings for a health check, Cloud Map associates the health check
350
+ # with all the Route 53 DNS records that you specify in `DnsConfig`.
317
351
  #
318
352
  # If you specify a health check configuration, you can specify either
319
353
  # `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
320
354
  #
321
- # For information about the charges for health checks, see [AWS Cloud
322
- # Map Pricing][1].
355
+ # For information about the charges for health checks, see [Cloud Map
356
+ # Pricing][1].
323
357
  #
324
358
  #
325
359
  #
@@ -339,11 +373,18 @@ module Aws::ServiceDiscovery
339
373
  #
340
374
  # @!attribute [rw] tags
341
375
  # The tags to add to the service. Each tag consists of a key and an
342
- # optional value, both of which you define. Tag keys can have a
343
- # maximum character length of 128 characters, and tag values can have
344
- # a maximum length of 256 characters.
376
+ # optional value that you define. Tags keys can be up to 128
377
+ # characters in length, and tag values can be up to 256 characters in
378
+ # length.
345
379
  # @return [Array<Types::Tag>]
346
380
  #
381
+ # @!attribute [rw] type
382
+ # If present, specifies that the service instances are only
383
+ # discoverable using the `DiscoverInstances` API operation. No DNS
384
+ # records is registered for the service instances. The only valid
385
+ # value is `HTTP`.
386
+ # @return [String]
387
+ #
347
388
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateServiceRequest AWS API Documentation
348
389
  #
349
390
  class CreateServiceRequest < Struct.new(
@@ -354,7 +395,8 @@ module Aws::ServiceDiscovery
354
395
  :dns_config,
355
396
  :health_check_config,
356
397
  :health_check_custom_config,
357
- :tags)
398
+ :tags,
399
+ :type)
358
400
  SENSITIVE = []
359
401
  include Aws::Structure
360
402
  end
@@ -371,8 +413,8 @@ module Aws::ServiceDiscovery
371
413
  include Aws::Structure
372
414
  end
373
415
 
374
- # The health check for the instance that is specified by `ServiceId` and
375
- # `InstanceId` is not a custom health check.
416
+ # The health check for the instance that's specified by `ServiceId` and
417
+ # `InstanceId` isn't a custom health check.
376
418
  #
377
419
  # @!attribute [rw] message
378
420
  # @return [String]
@@ -477,7 +519,8 @@ module Aws::ServiceDiscovery
477
519
 
478
520
  # @!attribute [rw] operation_id
479
521
  # A value that you can use to determine whether the request completed
480
- # successfully. For more information, see [GetOperation][1].
522
+ # successfully. To get the status of the operation, see
523
+ # [GetOperation][1].
481
524
  #
482
525
  #
483
526
  #
@@ -505,12 +548,12 @@ module Aws::ServiceDiscovery
505
548
  # optional_parameters: {
506
549
  # "AttrKey" => "AttrValue",
507
550
  # },
508
- # health_status: "HEALTHY", # accepts HEALTHY, UNHEALTHY, ALL
551
+ # health_status: "HEALTHY", # accepts HEALTHY, UNHEALTHY, ALL, HEALTHY_OR_ELSE_ALL
509
552
  # }
510
553
  #
511
554
  # @!attribute [rw] namespace_name
512
- # The name of the namespace that you specified when you registered the
513
- # instance.
555
+ # The `HttpName` name of the namespace. It's found in the
556
+ # `HttpProperties` member of the `Properties` member of the namespace.
514
557
  # @return [String]
515
558
  #
516
559
  # @!attribute [rw] service_name
@@ -519,29 +562,48 @@ module Aws::ServiceDiscovery
519
562
  # @return [String]
520
563
  #
521
564
  # @!attribute [rw] max_results
522
- # The maximum number of instances that you want AWS Cloud Map to
523
- # return in the response to a `DiscoverInstances` request. If you
524
- # don't specify a value for `MaxResults`, AWS Cloud Map returns up to
525
- # 100 instances.
565
+ # The maximum number of instances that you want Cloud Map to return in
566
+ # the response to a `DiscoverInstances` request. If you don't specify
567
+ # a value for `MaxResults`, Cloud Map returns up to 100 instances.
526
568
  # @return [Integer]
527
569
  #
528
570
  # @!attribute [rw] query_parameters
529
571
  # Filters to scope the results based on custom attributes for the
530
- # instance. For example, `\{version=v1, az=1a\}`. Only instances that
531
- # match all the specified key-value pairs will be returned.
572
+ # instance (for example, `\{version=v1, az=1a\}`). Only instances that
573
+ # match all the specified key-value pairs are returned.
532
574
  # @return [Hash<String,String>]
533
575
  #
534
576
  # @!attribute [rw] optional_parameters
535
577
  # Opportunistic filters to scope the results based on custom
536
578
  # attributes. If there are instances that match both the filters
537
579
  # specified in both the `QueryParameters` parameter and this
538
- # parameter, they are returned. Otherwise, these filters are ignored
539
- # and only instances that match the filters specified in the
540
- # `QueryParameters` parameter are returned.
580
+ # parameter, all of these instances are returned. Otherwise, the
581
+ # filters are ignored, and only instances that match the filters that
582
+ # are specified in the `QueryParameters` parameter are returned.
541
583
  # @return [Hash<String,String>]
542
584
  #
543
585
  # @!attribute [rw] health_status
544
- # The health status of the instances that you want to discover.
586
+ # The health status of the instances that you want to discover. This
587
+ # parameter is ignored for services that don't have a health check
588
+ # configured, and all instances are returned.
589
+ #
590
+ # HEALTHY
591
+ #
592
+ # : Returns healthy instances.
593
+ #
594
+ # UNHEALTHY
595
+ #
596
+ # : Returns unhealthy instances.
597
+ #
598
+ # ALL
599
+ #
600
+ # : Returns all instances.
601
+ #
602
+ # HEALTHY\_OR\_ELSE\_ALL
603
+ #
604
+ # : Returns healthy instances, unless none are reporting a healthy
605
+ # state. In that case, return all instances. This is also called
606
+ # failing open.
545
607
  # @return [String]
546
608
  #
547
609
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstancesRequest AWS API Documentation
@@ -570,8 +632,8 @@ module Aws::ServiceDiscovery
570
632
  include Aws::Structure
571
633
  end
572
634
 
573
- # A complex type that contains information about the Amazon Route 53 DNS
574
- # records that you want AWS Cloud Map to create when you register an
635
+ # A complex type that contains information about the Amazon Route 53 DNS
636
+ # records that you want Cloud Map to create when you register an
575
637
  # instance.
576
638
  #
577
639
  # @note When making an API call, you may pass DnsConfig
@@ -593,8 +655,8 @@ module Aws::ServiceDiscovery
593
655
  # @return [String]
594
656
  #
595
657
  # @!attribute [rw] routing_policy
596
- # The routing policy that you want to apply to all Route 53 DNS
597
- # records that AWS Cloud Map creates when you register an instance and
658
+ # The routing policy that you want to apply to all Route 53 DNS
659
+ # records that Cloud Map creates when you register an instance and
598
660
  # specify this service.
599
661
  #
600
662
  # <note markdown="1"> If you want to use this service to register instances that create
@@ -604,46 +666,46 @@ module Aws::ServiceDiscovery
604
666
  #
605
667
  # You can specify the following values:
606
668
  #
607
- # **MULTIVALUE**
669
+ # MULTIVALUE
608
670
  #
609
- # If you define a health check for the service and the health check is
610
- # healthy, Route 53 returns the applicable value for up to eight
611
- # instances.
671
+ # : If you define a health check for the service and the health check
672
+ # is healthy, Route 53 returns the applicable value for up to eight
673
+ # instances.
612
674
  #
613
- # For example, suppose the service includes configurations for one `A`
614
- # record and a health check, and you use the service to register 10
615
- # instances. Route 53 responds to DNS queries with IP addresses for up
616
- # to eight healthy instances. If fewer than eight instances are
617
- # healthy, Route 53 responds to every DNS query with the IP addresses
618
- # for all of the healthy instances.
675
+ # For example, suppose that the service includes configurations for
676
+ # one `A` record and a health check. You use the service to register
677
+ # 10 instances. Route 53 responds to DNS queries with IP addresses
678
+ # for up to eight healthy instances. If fewer than eight instances
679
+ # are healthy, Route 53 responds to every DNS query with the IP
680
+ # addresses for all of the healthy instances.
619
681
  #
620
- # If you don't define a health check for the service, Route 53
621
- # assumes that all instances are healthy and returns the values for up
622
- # to eight instances.
682
+ # If you don't define a health check for the service, Route 53
683
+ # assumes that all instances are healthy and returns the values for
684
+ # up to eight instances.
623
685
  #
624
- # For more information about the multivalue routing policy, see
625
- # [Multivalue Answer Routing][1] in the *Route 53 Developer Guide*.
686
+ # For more information about the multivalue routing policy, see
687
+ # [Multivalue Answer Routing][1] in the *Route 53 Developer Guide*.
626
688
  #
627
- # **WEIGHTED**
689
+ # WEIGHTED
628
690
  #
629
- # Route 53 returns the applicable value from one randomly selected
630
- # instance from among the instances that you registered using the same
631
- # service. Currently, all records have the same weight, so you can't
632
- # route more or less traffic to any instances.
691
+ # : Route 53 returns the applicable value from one randomly selected
692
+ # instance from among the instances that you registered using the
693
+ # same service. Currently, all records have the same weight, so you
694
+ # can't route more or less traffic to any instances.
633
695
  #
634
- # For example, suppose the service includes configurations for one `A`
635
- # record and a health check, and you use the service to register 10
636
- # instances. Route 53 responds to DNS queries with the IP address for
637
- # one randomly selected instance from among the healthy instances. If
638
- # no instances are healthy, Route 53 responds to DNS queries as if all
639
- # of the instances were healthy.
696
+ # For example, suppose that the service includes configurations for
697
+ # one `A` record and a health check. You use the service to register
698
+ # 10 instances. Route 53 responds to DNS queries with the IP address
699
+ # for one randomly selected instance from among the healthy
700
+ # instances. If no instances are healthy, Route 53 responds to DNS
701
+ # queries as if all of the instances were healthy.
640
702
  #
641
- # If you don't define a health check for the service, Route 53
642
- # assumes that all instances are healthy and returns the applicable
643
- # value for one randomly selected instance.
703
+ # If you don't define a health check for the service, Route 53
704
+ # assumes that all instances are healthy and returns the applicable
705
+ # value for one randomly selected instance.
644
706
  #
645
- # For more information about the weighted routing policy, see
646
- # [Weighted Routing][2] in the *Route 53 Developer Guide*.
707
+ # For more information about the weighted routing policy, see
708
+ # [Weighted Routing][2] in the *Route 53 Developer Guide*.
647
709
  #
648
710
  #
649
711
  #
@@ -652,8 +714,8 @@ module Aws::ServiceDiscovery
652
714
  # @return [String]
653
715
  #
654
716
  # @!attribute [rw] dns_records
655
- # An array that contains one `DnsRecord` object for each Route 53 DNS
656
- # record that you want AWS Cloud Map to create when you register an
717
+ # An array that contains one `DnsRecord` object for each Route 53 DNS
718
+ # record that you want Cloud Map to create when you register an
657
719
  # instance.
658
720
  # @return [Array<Types::DnsRecord>]
659
721
  #
@@ -667,8 +729,8 @@ module Aws::ServiceDiscovery
667
729
  include Aws::Structure
668
730
  end
669
731
 
670
- # A complex type that contains information about changes to the Route 53
671
- # DNS records that AWS Cloud Map creates when you register an instance.
732
+ # A complex type that contains information about changes to the Route 53
733
+ # DNS records that Cloud Map creates when you register an instance.
672
734
  #
673
735
  # @note When making an API call, you may pass DnsConfigChange
674
736
  # data as a hash:
@@ -683,8 +745,8 @@ module Aws::ServiceDiscovery
683
745
  # }
684
746
  #
685
747
  # @!attribute [rw] dns_records
686
- # An array that contains one `DnsRecord` object for each Route 53
687
- # record that you want AWS Cloud Map to create when you register an
748
+ # An array that contains one `DnsRecord` object for each Route 53
749
+ # record that you want Cloud Map to create when you register an
688
750
  # instance.
689
751
  # @return [Array<Types::DnsRecord>]
690
752
  #
@@ -696,24 +758,29 @@ module Aws::ServiceDiscovery
696
758
  include Aws::Structure
697
759
  end
698
760
 
699
- # A complex type that contains the ID for the Route 53 hosted zone that
700
- # AWS Cloud Map creates when you create a namespace.
761
+ # A complex type that contains the ID for the Route 53 hosted zone that
762
+ # Cloud Map creates when you create a namespace.
701
763
  #
702
764
  # @!attribute [rw] hosted_zone_id
703
- # The ID for the Route 53 hosted zone that AWS Cloud Map creates when
704
- # you create a namespace.
765
+ # The ID for the Route 53 hosted zone that Cloud Map creates when you
766
+ # create a namespace.
705
767
  # @return [String]
706
768
  #
769
+ # @!attribute [rw] soa
770
+ # Start of Authority (SOA) record for the hosted zone.
771
+ # @return [Types::SOA]
772
+ #
707
773
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsProperties AWS API Documentation
708
774
  #
709
775
  class DnsProperties < Struct.new(
710
- :hosted_zone_id)
776
+ :hosted_zone_id,
777
+ :soa)
711
778
  SENSITIVE = []
712
779
  include Aws::Structure
713
780
  end
714
781
 
715
- # A complex type that contains information about the Route 53 DNS
716
- # records that you want AWS Cloud Map to create when you register an
782
+ # A complex type that contains information about the Route 53 DNS
783
+ # records that you want Cloud Map to create when you register an
717
784
  # instance.
718
785
  #
719
786
  # @note When making an API call, you may pass DnsRecord
@@ -726,20 +793,20 @@ module Aws::ServiceDiscovery
726
793
  #
727
794
  # @!attribute [rw] type
728
795
  # The type of the resource, which indicates the type of value that
729
- # Route 53 returns in response to DNS queries. You can specify values
796
+ # Route 53 returns in response to DNS queries. You can specify values
730
797
  # for `Type` in the following combinations:
731
798
  #
732
- # * `A`
799
+ # * <b> <code>A</code> </b>
733
800
  #
734
- # * `AAAA`
801
+ # * <b> <code>AAAA</code> </b>
735
802
  #
736
- # * `A` and `AAAA`
803
+ # * <b> <code>A</code> </b> and <b> <code>AAAA</code> </b>
737
804
  #
738
- # * `SRV`
805
+ # * <b> <code>SRV</code> </b>
739
806
  #
740
- # * `CNAME`
807
+ # * <b> <code>CNAME</code> </b>
741
808
  #
742
- # If you want AWS Cloud Map to create a Route 53 alias record when you
809
+ # If you want Cloud Map to create a Route 53 alias record when you
743
810
  # register an instance, specify `A` or `AAAA` for `Type`.
744
811
  #
745
812
  # You specify other settings, such as the IP address for `A` and
@@ -748,74 +815,93 @@ module Aws::ServiceDiscovery
748
815
  #
749
816
  # The following values are supported:
750
817
  #
751
- # `A` <b> <code> </b> </p> <p>Route 53 returns the IP address of the
752
- # resource in IPv4 format, such as 192.0.2.44.</p> <p>
753
- # <code>AAAA</code> <b> <code> </b> </p> <p>Route 53 returns the IP
754
- # address of the resource in IPv6 format, such as
755
- # 2001:0db8:85a3:0000:0000:abcd:0001:2345.</p> <p> <code>CNAME</code>
756
- # <b> <code> </b> </p> <p>Route 53 returns the domain name of the
757
- # resource, such as www.example.com. Note the following:</p> <ul> <li>
758
- # <p>You specify the domain name that you want to route traffic to
759
- # when you register an instance. For more information, see <a
760
- # href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html#cloudmap-RegisterInstance-request-Attributes">Attributes</a>
761
- # in the topic <a
762
- # href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a>.</p>
763
- # </li> <li> <p>You must specify <code>WEIGHTED</code> for the value
764
- # of <code>RoutingPolicy</code>.</p> </li> <li> <p>You can't specify
765
- # both <code>CNAME</code> for <code>Type</code> and settings for
766
- # <code>HealthCheckConfig</code>. If you do, the request will fail
767
- # with an <code>InvalidInput</code> error.</p> </li> </ul> <p>
768
- # <b>SRV</b> </p> <p>Route 53 returns the value for an
769
- # <code>SRV</code> record. The value for an <code>SRV</code> record
770
- # uses the following values:</p> <p> <code>priority weight port
771
- # service-hostname</code> </p> <p>Note the following about the
772
- # values:</p> <ul> <li> <p>The values of <code>priority</code> and
773
- # <code>weight</code> are both set to <code>1</code> and can't be
774
- # changed. </p> </li> <li> <p>The value of <code>port</code> comes
775
- # from the value that you specify for the
776
- # <code>AWS_INSTANCE_PORT</code> attribute when you submit a <a
777
- # href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a>
778
- # request. </p> </li> <li> <p>The value of
779
- # <code>service-hostname</code> is a concatenation of the following
780
- # values:</p> <ul> <li> <p>The value that you specify for
781
- # <code>InstanceId</code> when you register an instance.</p> </li>
782
- # <li> <p>The name of the service.</p> </li> <li> <p>The name of the
783
- # namespace. </p> </li> </ul> <p>For example, if the value of
784
- # <code>InstanceId</code> is <code>test</code>, the name of the
785
- # service is <code>backend</code>, and the name of the namespace is
786
- # <code>example.com</code>, the value of <code>service-hostname</code>
787
- # is:</p> <p> <code>test.backend.example.com</code> </p> </li> </ul>
788
- # <p>If you specify settings for an <code>SRV</code> record, note the
789
- # following:</p> <ul> <li> <p>If you specify values for
790
- # <code>AWS_INSTANCE_IPV4</code>, <code>AWS_INSTANCE_IPV6</code>, or
791
- # both in the <code>RegisterInstance</code> request, AWS Cloud Map
792
- # automatically creates <code>A</code> and/or <code>AAAA</code>
793
- # records that have the same name as the value of
794
- # <code>service-hostname</code> in the <code>SRV</code> record. You
795
- # can ignore these records.</p> </li> <li> <p>If you're using a system
796
- # that requires a specific <code>SRV</code> format, such as HAProxy,
797
- # see the <a
798
- # href="https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html#cloudmap-CreateService-request-Name">Name</a>
799
- # element in the documentation about <code>CreateService</code> for
800
- # information about how to specify the correct name format.</p> </li>
801
- # </ul>
802
- # </code></b></p></code></b></p></code></b>
818
+ # A
819
+ #
820
+ # : Route 53 returns the IP address of the resource in IPv4 format,
821
+ # such as 192.0.2.44.
822
+ #
823
+ # AAAA
824
+ #
825
+ # : Route 53 returns the IP address of the resource in IPv6 format,
826
+ # such as 2001:0db8:85a3:0000:0000:abcd:0001:2345.
827
+ #
828
+ # CNAME
829
+ #
830
+ # : Route 53 returns the domain name of the resource, such as
831
+ # www.example.com. Note the following:
832
+ #
833
+ # * You specify the domain name that you want to route traffic to
834
+ # when you register an instance. For more information, see
835
+ # [Attributes][2] in the topic [RegisterInstance][1].
836
+ #
837
+ # * You must specify `WEIGHTED` for the value of `RoutingPolicy`.
838
+ #
839
+ # * You can't specify both `CNAME` for `Type` and settings for
840
+ # `HealthCheckConfig`. If you do, the request will fail with an
841
+ # `InvalidInput` error.
842
+ #
843
+ # SRV
844
+ #
845
+ # : Route 53 returns the value for an `SRV` record. The value for an
846
+ # `SRV` record uses the following values:
847
+ #
848
+ # `priority weight port service-hostname`
849
+ #
850
+ # Note the following about the values:
851
+ #
852
+ # * The values of `priority` and `weight` are both set to `1` and
853
+ # can't be changed.
854
+ #
855
+ # * The value of `port` comes from the value that you specify for
856
+ # the `AWS_INSTANCE_PORT` attribute when you submit a
857
+ # [RegisterInstance][1] request.
858
+ #
859
+ # * The value of `service-hostname` is a concatenation of the
860
+ # following values:
861
+ #
862
+ # * The value that you specify for `InstanceId` when you register
863
+ # an instance.
864
+ #
865
+ # * The name of the service.
866
+ #
867
+ # * The name of the namespace.
868
+ #
869
+ # For example, if the value of `InstanceId` is `test`, the name of
870
+ # the service is `backend`, and the name of the namespace is
871
+ # `example.com`, the value of `service-hostname` is the following:
872
+ #
873
+ # `test.backend.example.com`
874
+ #
875
+ # If you specify settings for an `SRV` record, note the following:
876
+ #
877
+ # * If you specify values for `AWS_INSTANCE_IPV4`,
878
+ # `AWS_INSTANCE_IPV6`, or both in the `RegisterInstance` request,
879
+ # Cloud Map automatically creates `A` and/or `AAAA` records that
880
+ # have the same name as the value of `service-hostname` in the
881
+ # `SRV` record. You can ignore these records.
882
+ #
883
+ # * If you're using a system that requires a specific `SRV` format,
884
+ # such as HAProxy, see the [Name][3] element in the documentation
885
+ # about `CreateService` for information about how to specify the
886
+ # correct name format.
803
887
  #
804
888
  #
805
889
  #
806
890
  # [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html
891
+ # [2]: https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html#cloudmap-RegisterInstance-request-Attributes
892
+ # [3]: https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html#cloudmap-CreateService-request-Name
807
893
  # @return [String]
808
894
  #
809
895
  # @!attribute [rw] ttl
810
896
  # The amount of time, in seconds, that you want DNS resolvers to cache
811
897
  # the settings for this record.
812
898
  #
813
- # <note markdown="1"> Alias records don't include a TTL because Route 53 uses the TTL for
814
- # the AWS resource that an alias record routes traffic to. If you
815
- # include the `AWS_ALIAS_DNS_NAME` attribute when you submit a
816
- # [RegisterInstance][1] request, the `TTL` value is ignored. Always
817
- # specify a TTL for the service; you can use a service to register
818
- # instances that create either alias or non-alias records.
899
+ # <note markdown="1"> Alias records don't include a TTL because Route 53 uses the TTL for
900
+ # the Amazon Web Services resource that an alias record routes traffic
901
+ # to. If you include the `AWS_ALIAS_DNS_NAME` attribute when you
902
+ # submit a [RegisterInstance][1] request, the `TTL` value is ignored.
903
+ # Always specify a TTL for the service; you can use a service to
904
+ # register instances that create either alias or non-alias records.
819
905
  #
820
906
  # </note>
821
907
  #
@@ -839,7 +925,7 @@ module Aws::ServiceDiscovery
839
925
  # @return [String]
840
926
  #
841
927
  # @!attribute [rw] duplicate_operation_id
842
- # The ID of the operation that is already in progress.
928
+ # The ID of the operation that's already in progress.
843
929
  # @return [String]
844
930
  #
845
931
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DuplicateRequest AWS API Documentation
@@ -906,8 +992,8 @@ module Aws::ServiceDiscovery
906
992
  # An array that contains the IDs of all the instances that you want to
907
993
  # get the health status for.
908
994
  #
909
- # If you omit `Instances`, AWS Cloud Map returns the health status for
910
- # all the instances that are associated with the specified service.
995
+ # If you omit `Instances`, Cloud Map returns the health status for all
996
+ # the instances that are associated with the specified service.
911
997
  #
912
998
  # <note markdown="1"> To get the IDs for the instances that you've registered by using a
913
999
  # specified service, submit a [ListInstances][1] request.
@@ -920,10 +1006,10 @@ module Aws::ServiceDiscovery
920
1006
  # @return [Array<String>]
921
1007
  #
922
1008
  # @!attribute [rw] max_results
923
- # The maximum number of instances that you want AWS Cloud Map to
924
- # return in the response to a `GetInstancesHealthStatus` request. If
925
- # you don't specify a value for `MaxResults`, AWS Cloud Map returns
926
- # up to 100 instances.
1009
+ # The maximum number of instances that you want Cloud Map to return in
1010
+ # the response to a `GetInstancesHealthStatus` request. If you don't
1011
+ # specify a value for `MaxResults`, Cloud Map returns up to 100
1012
+ # instances.
927
1013
  # @return [Integer]
928
1014
  #
929
1015
  # @!attribute [rw] next_token
@@ -1064,66 +1150,68 @@ module Aws::ServiceDiscovery
1064
1150
 
1065
1151
  # *Public DNS and HTTP namespaces only.* A complex type that contains
1066
1152
  # settings for an optional health check. If you specify settings for a
1067
- # health check, AWS Cloud Map associates the health check with the
1068
- # records that you specify in `DnsConfig`.
1153
+ # health check, Cloud Map associates the health check with the records
1154
+ # that you specify in `DnsConfig`.
1069
1155
  #
1070
1156
  # If you specify a health check configuration, you can specify either
1071
1157
  # `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
1072
1158
  #
1073
- # Health checks are basic Route 53 health checks that monitor an AWS
1074
- # endpoint. For information about pricing for health checks, see [Amazon
1075
- # Route 53 Pricing][1].
1159
+ # Health checks are basic Route 53 health checks that monitor an Amazon
1160
+ # Web Services endpoint. For information about pricing for health
1161
+ # checks, see [Amazon Route 53 Pricing][1].
1076
1162
  #
1077
1163
  # Note the following about configuring health checks.
1078
1164
  #
1079
- # <b> <code>A</code> and <code>AAAA</code> records</b>
1165
+ # A and AAAA records
1080
1166
  #
1081
- # If `DnsConfig` includes configurations for both `A` and `AAAA`
1082
- # records, AWS Cloud Map creates a health check that uses the IPv4
1083
- # address to check the health of the resource. If the endpoint that is
1084
- # specified by the IPv4 address is unhealthy, Route 53 considers both
1085
- # the `A` and `AAAA` records to be unhealthy.
1167
+ # : If `DnsConfig` includes configurations for both `A` and `AAAA`
1168
+ # records, Cloud Map creates a health check that uses the IPv4 address
1169
+ # to check the health of the resource. If the endpoint tthat's
1170
+ # specified by the IPv4 address is unhealthy, Route 53 considers both
1171
+ # the `A` and `AAAA` records to be unhealthy.
1086
1172
  #
1087
- # <b> <code>CNAME</code> records</b>
1173
+ # CNAME records
1088
1174
  #
1089
- # You can't specify settings for `HealthCheckConfig` when the
1090
- # `DNSConfig` includes `CNAME` for the value of `Type`. If you do, the
1091
- # `CreateService` request will fail with an `InvalidInput` error.
1175
+ # : You can't specify settings for `HealthCheckConfig` when the
1176
+ # `DNSConfig` includes `CNAME` for the value of `Type`. If you do, the
1177
+ # `CreateService` request will fail with an `InvalidInput` error.
1092
1178
  #
1093
- # **Request interval**
1179
+ # Request interval
1094
1180
  #
1095
- # A Route 53 health checker in each health-checking region sends a
1096
- # health check request to an endpoint every 30 seconds. On average, your
1097
- # endpoint receives a health check request about every two seconds.
1098
- # However, health checkers don't coordinate with one another, so
1099
- # you'll sometimes see several requests per second followed by a few
1100
- # seconds with no health checks at all.
1181
+ # : A Route 53 health checker in each health-checking Amazon Web
1182
+ # Services Region sends a health check request to an endpoint every 30
1183
+ # seconds. On average, your endpoint receives a health check request
1184
+ # about every two seconds. However, health checkers don't coordinate
1185
+ # with one another. Therefore, you might sometimes see several
1186
+ # requests in one second that's followed by a few seconds with no
1187
+ # health checks at all.
1101
1188
  #
1102
- # **Health checking regions**
1189
+ # Health checking regions
1103
1190
  #
1104
- # Health checkers perform checks from all Route 53 health-checking
1105
- # regions. For a list of the current regions, see [Regions][2].
1191
+ # : Health checkers perform checks from all Route 53 health-checking
1192
+ # Regions. For a list of the current Regions, see [Regions][2].
1106
1193
  #
1107
- # **Alias records**
1194
+ # Alias records
1108
1195
  #
1109
- # When you register an instance, if you include the `AWS_ALIAS_DNS_NAME`
1110
- # attribute, AWS Cloud Map creates a Route 53 alias record. Note the
1111
- # following:
1196
+ # : When you register an instance, if you include the
1197
+ # `AWS_ALIAS_DNS_NAME` attribute, Cloud Map creates a Route 53 alias
1198
+ # record. Note the following:
1112
1199
  #
1113
- # * Route 53 automatically sets `EvaluateTargetHealth` to true for alias
1114
- # records. When `EvaluateTargetHealth` is true, the alias record
1115
- # inherits the health of the referenced AWS resource. such as an ELB
1116
- # load balancer. For more information, see [EvaluateTargetHealth][3].
1200
+ # * Route 53 automatically sets `EvaluateTargetHealth` to true for
1201
+ # alias records. When `EvaluateTargetHealth` is true, the alias
1202
+ # record inherits the health of the referenced Amazon Web Services
1203
+ # resource. such as an ELB load balancer. For more information, see
1204
+ # [EvaluateTargetHealth][3].
1117
1205
  #
1118
- # * If you include `HealthCheckConfig` and then use the service to
1119
- # register an instance that creates an alias record, Route 53 doesn't
1120
- # create the health check.
1206
+ # * If you include `HealthCheckConfig` and then use the service to
1207
+ # register an instance that creates an alias record, Route 53
1208
+ # doesn't create the health check.
1121
1209
  #
1122
- # **Charges for health checks**
1210
+ # Charges for health checks
1123
1211
  #
1124
- # Health checks are basic Route 53 health checks that monitor an AWS
1125
- # endpoint. For information about pricing for health checks, see [Amazon
1126
- # Route 53 Pricing][1].
1212
+ # : Health checks are basic Route 53 health checks that monitor an
1213
+ # Amazon Web Services endpoint. For information about pricing for
1214
+ # health checks, see [Amazon Route 53 Pricing][1].
1127
1215
  #
1128
1216
  #
1129
1217
  #
@@ -1142,31 +1230,31 @@ module Aws::ServiceDiscovery
1142
1230
  #
1143
1231
  # @!attribute [rw] type
1144
1232
  # The type of health check that you want to create, which indicates
1145
- # how Route 53 determines whether an endpoint is healthy.
1233
+ # how Route 53 determines whether an endpoint is healthy.
1146
1234
  #
1147
1235
  # You can't change the value of `Type` after you create a health
1148
1236
  # check.
1149
1237
  #
1150
1238
  # You can create the following types of health checks:
1151
1239
  #
1152
- # * **HTTP**\: Route 53 tries to establish a TCP connection. If
1153
- # successful, Route 53 submits an HTTP request and waits for an HTTP
1240
+ # * **HTTP**\: Route 53 tries to establish a TCP connection. If
1241
+ # successful, Route 53 submits an HTTP request and waits for an HTTP
1154
1242
  # status code of 200 or greater and less than 400.
1155
1243
  #
1156
- # * **HTTPS**\: Route 53 tries to establish a TCP connection. If
1157
- # successful, Route 53 submits an HTTPS request and waits for an
1244
+ # * **HTTPS**\: Route 53 tries to establish a TCP connection. If
1245
+ # successful, Route 53 submits an HTTPS request and waits for an
1158
1246
  # HTTP status code of 200 or greater and less than 400.
1159
1247
  #
1160
1248
  # If you specify HTTPS for the value of `Type`, the endpoint must
1161
1249
  # support TLS v1.0 or later.
1162
1250
  #
1163
- # * **TCP**\: Route 53 tries to establish a TCP connection.
1251
+ # * **TCP**\: Route 53 tries to establish a TCP connection.
1164
1252
  #
1165
1253
  # If you specify `TCP` for `Type`, don't specify a value for
1166
1254
  # `ResourcePath`.
1167
1255
  #
1168
- # For more information, see [How Route 53 Determines Whether an
1169
- # Endpoint Is Healthy][1] in the *Route 53 Developer Guide*.
1256
+ # For more information, see [How Route 53 Determines Whether an
1257
+ # Endpoint Is Healthy][1] in the *Route 53 Developer Guide*.
1170
1258
  #
1171
1259
  #
1172
1260
  #
@@ -1174,12 +1262,12 @@ module Aws::ServiceDiscovery
1174
1262
  # @return [String]
1175
1263
  #
1176
1264
  # @!attribute [rw] resource_path
1177
- # The path that you want Route 53 to request when performing health
1178
- # checks. The path can be any value for which your endpoint will
1179
- # return an HTTP status code of 2xx or 3xx when the endpoint is
1180
- # healthy, such as the file `/docs/route53-health-check.html`.
1181
- # Route 53 automatically adds the DNS name for the service. If you
1182
- # don't specify a value for `ResourcePath`, the default value is `/`.
1265
+ # The path that you want Route 53 to request when performing health
1266
+ # checks. The path can be any value that your endpoint returns an HTTP
1267
+ # status code of a 2xx or 3xx format for when the endpoint is healthy.
1268
+ # An example file is `/docs/route53-health-check.html`. Route 53
1269
+ # automatically adds the DNS name for the service. If you don't
1270
+ # specify a value for `ResourcePath`, the default value is `/`.
1183
1271
  #
1184
1272
  # If you specify `TCP` for `Type`, you must *not* specify a value for
1185
1273
  # `ResourcePath`.
@@ -1187,10 +1275,10 @@ module Aws::ServiceDiscovery
1187
1275
  #
1188
1276
  # @!attribute [rw] failure_threshold
1189
1277
  # The number of consecutive health checks that an endpoint must pass
1190
- # or fail for Route 53 to change the current status of the endpoint
1191
- # from unhealthy to healthy or vice versa. For more information, see
1192
- # [How Route 53 Determines Whether an Endpoint Is Healthy][1] in the
1193
- # *Route 53 Developer Guide*.
1278
+ # or fail for Route 53 to change the current status of the endpoint
1279
+ # from unhealthy to healthy or the other way around. For more
1280
+ # information, see [How Route 53 Determines Whether an Endpoint Is
1281
+ # Healthy][1] in the *Route 53 Developer Guide*.
1194
1282
  #
1195
1283
  #
1196
1284
  #
@@ -1212,40 +1300,34 @@ module Aws::ServiceDiscovery
1212
1300
  # third-party health checker to evaluate the health of your resources,
1213
1301
  # is useful in the following circumstances:
1214
1302
  #
1215
- # * You can't use a health check that is defined by `HealthCheckConfig`
1303
+ # * You can't use a health check that's defined by `HealthCheckConfig`
1216
1304
  # because the resource isn't available over the internet. For
1217
1305
  # example, you can use a custom health check when the instance is in
1218
1306
  # an Amazon VPC. (To check the health of resources in a VPC, the
1219
1307
  # health checker must also be in the VPC.)
1220
1308
  #
1221
1309
  # * You want to use a third-party health checker regardless of where
1222
- # your resources are.
1310
+ # your resources are located.
1223
1311
  #
1224
1312
  # If you specify a health check configuration, you can specify either
1225
1313
  # `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
1226
1314
  #
1227
1315
  # To change the status of a custom health check, submit an
1228
- # `UpdateInstanceCustomHealthStatus` request. AWS Cloud Map doesn't
1229
- # monitor the status of the resource, it just keeps a record of the
1230
- # status specified in the most recent `UpdateInstanceCustomHealthStatus`
1316
+ # `UpdateInstanceCustomHealthStatus` request. Cloud Map doesn't monitor
1317
+ # the status of the resource, it just keeps a record of the status
1318
+ # specified in the most recent `UpdateInstanceCustomHealthStatus`
1231
1319
  # request.
1232
1320
  #
1233
1321
  # Here's how custom health checks work:
1234
1322
  #
1235
- # 1. You create a service and specify a value for `FailureThreshold`.
1236
- #
1237
- # The failure threshold indicates the number of 30-second intervals
1238
- # you want AWS Cloud Map to wait between the time that your
1239
- # application sends an [UpdateInstanceCustomHealthStatus][1] request
1240
- # and the time that AWS Cloud Map stops routing internet traffic to
1241
- # the corresponding resource.
1323
+ # 1. You create a service.
1242
1324
  #
1243
1325
  # 2. You register an instance.
1244
1326
  #
1245
1327
  # 3. You configure a third-party health checker to monitor the resource
1246
- # that is associated with the new instance.
1328
+ # that's associated with the new instance.
1247
1329
  #
1248
- # <note markdown="1"> AWS Cloud Map doesn't check the health of the resource directly.
1330
+ # <note markdown="1"> Cloud Map doesn't check the health of the resource directly.
1249
1331
  #
1250
1332
  # </note>
1251
1333
  #
@@ -1255,16 +1337,12 @@ module Aws::ServiceDiscovery
1255
1337
  # 5. Your application submits an `UpdateInstanceCustomHealthStatus`
1256
1338
  # request.
1257
1339
  #
1258
- # 6. AWS Cloud Map waits for (`FailureThreshold` x 30) seconds.
1340
+ # 6. Cloud Map waits for 30 seconds.
1259
1341
  #
1260
1342
  # 7. If another `UpdateInstanceCustomHealthStatus` request doesn't
1261
- # arrive during that time to change the status back to healthy, AWS
1343
+ # arrive during that time to change the status back to healthy,
1262
1344
  # Cloud Map stops routing traffic to the resource.
1263
1345
  #
1264
- #
1265
- #
1266
- # [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_UpdateInstanceCustomHealthStatus.html
1267
- #
1268
1346
  # @note When making an API call, you may pass HealthCheckCustomConfig
1269
1347
  # data as a hash:
1270
1348
  #
@@ -1273,19 +1351,19 @@ module Aws::ServiceDiscovery
1273
1351
  # }
1274
1352
  #
1275
1353
  # @!attribute [rw] failure_threshold
1276
- # This parameter has been deprecated and is always set to 1. AWS Cloud
1354
+ # This parameter is no longer supported and is always set to 1. Cloud
1277
1355
  # Map waits for approximately 30 seconds after receiving an
1278
1356
  # `UpdateInstanceCustomHealthStatus` request before changing the
1279
1357
  # status of the service instance.
1280
1358
  #
1281
- # The number of 30-second intervals that you want AWS Cloud Map to
1282
- # wait after receiving an `UpdateInstanceCustomHealthStatus` request
1283
- # before it changes the health status of a service instance.
1359
+ # The number of 30-second intervals that you want Cloud Map to wait
1360
+ # after receiving an `UpdateInstanceCustomHealthStatus` request before
1361
+ # it changes the health status of a service instance.
1284
1362
  #
1285
1363
  # Sending a second or subsequent `UpdateInstanceCustomHealthStatus`
1286
1364
  # request with the same value before 30 seconds has passed doesn't
1287
- # accelerate the change. AWS Cloud Map still waits `30` seconds after
1288
- # the first request to make the change.
1365
+ # accelerate the change. Cloud Map still waits `30` seconds after the
1366
+ # first request to make the change.
1289
1367
  # @return [Integer]
1290
1368
  #
1291
1369
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/HealthCheckCustomConfig AWS API Documentation
@@ -1310,8 +1388,9 @@ module Aws::ServiceDiscovery
1310
1388
  # @return [String]
1311
1389
  #
1312
1390
  # @!attribute [rw] namespace_name
1313
- # The name of the namespace that you specified when you registered the
1314
- # instance.
1391
+ # ` </p> The HttpName name of the namespace. It's found in the
1392
+ # HttpProperties member of the Properties member of the namespace.
1393
+ # `
1315
1394
  # @return [String]
1316
1395
  #
1317
1396
  # @!attribute [rw] service_name
@@ -1341,6 +1420,27 @@ module Aws::ServiceDiscovery
1341
1420
  include Aws::Structure
1342
1421
  end
1343
1422
 
1423
+ # Updated properties for the HTTP namespace.
1424
+ #
1425
+ # @note When making an API call, you may pass HttpNamespaceChange
1426
+ # data as a hash:
1427
+ #
1428
+ # {
1429
+ # description: "ResourceDescription", # required
1430
+ # }
1431
+ #
1432
+ # @!attribute [rw] description
1433
+ # An updated description for the HTTP namespace.
1434
+ # @return [String]
1435
+ #
1436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/HttpNamespaceChange AWS API Documentation
1437
+ #
1438
+ class HttpNamespaceChange < Struct.new(
1439
+ :description)
1440
+ SENSITIVE = []
1441
+ include Aws::Structure
1442
+ end
1443
+
1344
1444
  # A complex type that contains the name of an HTTP namespace.
1345
1445
  #
1346
1446
  # @!attribute [rw] http_name
@@ -1355,28 +1455,28 @@ module Aws::ServiceDiscovery
1355
1455
  include Aws::Structure
1356
1456
  end
1357
1457
 
1358
- # A complex type that contains information about an instance that AWS
1359
- # Cloud Map creates when you submit a `RegisterInstance` request.
1458
+ # A complex type that contains information about an instance that Cloud
1459
+ # Map creates when you submit a `RegisterInstance` request.
1360
1460
  #
1361
1461
  # @!attribute [rw] id
1362
1462
  # An identifier that you want to associate with the instance. Note the
1363
1463
  # following:
1364
1464
  #
1365
- # * If the service that is specified by `ServiceId` includes settings
1465
+ # * If the service that's specified by `ServiceId` includes settings
1366
1466
  # for an `SRV` record, the value of `InstanceId` is automatically
1367
1467
  # included as part of the value for the `SRV` record. For more
1368
1468
  # information, see [DnsRecord &gt; Type][1].
1369
1469
  #
1370
1470
  # * You can use this value to update an existing instance.
1371
1471
  #
1372
- # * To register a new instance, you must specify a value that is
1472
+ # * To register a new instance, you must specify a value that's
1373
1473
  # unique among instances that you register by using the same
1374
1474
  # service.
1375
1475
  #
1376
- # * If you specify an existing `InstanceId` and `ServiceId`, AWS Cloud
1377
- # Map updates the existing DNS records. If there's also an existing
1378
- # health check, AWS Cloud Map deletes the old health check and
1379
- # creates a new one.
1476
+ # * If you specify an existing `InstanceId` and `ServiceId`, Cloud Map
1477
+ # updates the existing DNS records. If there's also an existing
1478
+ # health check, Cloud Map deletes the old health check and creates a
1479
+ # new one.
1380
1480
  #
1381
1481
  # <note markdown="1"> The health check isn't deleted immediately, so it will still
1382
1482
  # appear for a while if you submit a `ListHealthChecks` request, for
@@ -1395,8 +1495,8 @@ module Aws::ServiceDiscovery
1395
1495
  # executing the operation twice. You must use a unique
1396
1496
  # `CreatorRequestId` string every time you submit a `RegisterInstance`
1397
1497
  # request if you're registering additional instances for the same
1398
- # namespace and service. `CreatorRequestId` can be any unique string,
1399
- # for example, a date/time stamp.
1498
+ # namespace and service. `CreatorRequestId` can be any unique string
1499
+ # (for example, a date/time stamp).
1400
1500
  # @return [String]
1401
1501
  #
1402
1502
  # @!attribute [rw] attributes
@@ -1410,87 +1510,94 @@ module Aws::ServiceDiscovery
1410
1510
  #
1411
1511
  # Supported attribute keys include the following:
1412
1512
  #
1413
- # **AWS\_ALIAS\_DNS\_NAME**
1513
+ # AWS\_ALIAS\_DNS\_NAME
1414
1514
  #
1415
- # ****
1515
+ # : If you want Cloud Map to create a Route 53 alias record that
1516
+ # routes traffic to an Elastic Load Balancing load balancer, specify
1517
+ # the DNS name that's associated with the load balancer. For
1518
+ # information about how to get the DNS name, see
1519
+ # [AliasTarget-&gt;DNSName][1] in the *Route 53 API Reference*.
1416
1520
  #
1417
- # If you want AWS Cloud Map to create a Route 53 alias record that
1418
- # routes traffic to an Elastic Load Balancing load balancer, specify
1419
- # the DNS name that is associated with the load balancer. For
1420
- # information about how to get the DNS name, see "DNSName" in the
1421
- # topic [AliasTarget][1].
1521
+ # Note the following:
1422
1522
  #
1423
- # Note the following:
1523
+ # * The configuration for the service that's specified by
1524
+ # `ServiceId` must include settings for an `A` record, an `AAAA`
1525
+ # record, or both.
1424
1526
  #
1425
- # * The configuration for the service that is specified by `ServiceId`
1426
- # must include settings for an `A` record, an `AAAA` record, or
1427
- # both.
1527
+ # * In the service that's specified by `ServiceId`, the value of
1528
+ # `RoutingPolicy` must be `WEIGHTED`.
1428
1529
  #
1429
- # * In the service that is specified by `ServiceId`, the value of
1430
- # `RoutingPolicy` must be `WEIGHTED`.
1530
+ # * If the service that's specified by `ServiceId` includes
1531
+ # `HealthCheckConfig` settings, Cloud Map creates the health
1532
+ # check, but it won't associate the health check with the alias
1533
+ # record.
1431
1534
  #
1432
- # * If the service that is specified by `ServiceId` includes
1433
- # `HealthCheckConfig` settings, AWS Cloud Map will create the health
1434
- # check, but it won't associate the health check with the alias
1435
- # record.
1535
+ # * Auto naming currently doesn't support creating alias records
1536
+ # that route traffic to Amazon Web Services resources other than
1537
+ # ELB load balancers.
1436
1538
  #
1437
- # * Auto naming currently doesn't support creating alias records that
1438
- # route traffic to AWS resources other than ELB load balancers.
1539
+ # * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
1540
+ # values for any of the `AWS_INSTANCE` attributes.
1439
1541
  #
1440
- # * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
1441
- # values for any of the `AWS_INSTANCE` attributes.
1542
+ # AWS\_EC2\_INSTANCE\_ID
1442
1543
  #
1443
- # **AWS\_EC2\_INSTANCE\_ID**
1544
+ # : *HTTP namespaces only.* The Amazon EC2 instance ID for the
1545
+ # instance. The `AWS_INSTANCE_IPV4` attribute contains the primary
1546
+ # private IPv4 address.
1444
1547
  #
1445
- # *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
1446
- # The `AWS_INSTANCE_IPV4` attribute contains the primary private IPv4
1447
- # address.
1548
+ # AWS\_INIT\_HEALTH\_STATUS
1448
1549
  #
1449
- # **AWS\_INSTANCE\_CNAME**
1550
+ # : If the service configuration includes `HealthCheckCustomConfig`,
1551
+ # you can optionally use `AWS_INIT_HEALTH_STATUS` to specify the
1552
+ # initial status of the custom health check, `HEALTHY` or
1553
+ # `UNHEALTHY`. If you don't specify a value for
1554
+ # `AWS_INIT_HEALTH_STATUS`, the initial status is `HEALTHY`.
1450
1555
  #
1451
- # If the service configuration includes a `CNAME` record, the domain
1452
- # name that you want Route 53 to return in response to DNS queries,
1453
- # for example, `example.com`.
1556
+ # AWS\_INSTANCE\_CNAME
1454
1557
  #
1455
- # This value is required if the service specified by `ServiceId`
1456
- # includes settings for an `CNAME` record.
1558
+ # : If the service configuration includes a `CNAME` record, the domain
1559
+ # name that you want Route 53 to return in response to DNS queries
1560
+ # (for example, `example.com`).
1457
1561
  #
1458
- # **AWS\_INSTANCE\_IPV4**
1562
+ # This value is required if the service specified by `ServiceId`
1563
+ # includes settings for an `CNAME` record.
1459
1564
  #
1460
- # If the service configuration includes an `A` record, the IPv4
1461
- # address that you want Route 53 to return in response to DNS queries,
1462
- # for example, `192.0.2.44`.
1565
+ # AWS\_INSTANCE\_IPV4
1463
1566
  #
1464
- # This value is required if the service specified by `ServiceId`
1465
- # includes settings for an `A` record. If the service includes
1466
- # settings for an `SRV` record, you must specify a value for
1467
- # `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
1567
+ # : If the service configuration includes an `A` record, the IPv4
1568
+ # address that you want Route 53 to return in response to DNS
1569
+ # queries (for example, `192.0.2.44`).
1468
1570
  #
1469
- # **AWS\_INSTANCE\_IPV6**
1571
+ # This value is required if the service specified by `ServiceId`
1572
+ # includes settings for an `A` record. If the service includes
1573
+ # settings for an `SRV` record, you must specify a value for
1574
+ # `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
1470
1575
  #
1471
- # If the service configuration includes an `AAAA` record, the IPv6
1472
- # address that you want Route 53 to return in response to DNS queries,
1473
- # for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
1576
+ # AWS\_INSTANCE\_IPV6
1474
1577
  #
1475
- # This value is required if the service specified by `ServiceId`
1476
- # includes settings for an `AAAA` record. If the service includes
1477
- # settings for an `SRV` record, you must specify a value for
1478
- # `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
1578
+ # : If the service configuration includes an `AAAA` record, the IPv6
1579
+ # address that you want Route 53 to return in response to DNS
1580
+ # queries (for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`).
1479
1581
  #
1480
- # **AWS\_INSTANCE\_PORT**
1582
+ # This value is required if the service specified by `ServiceId`
1583
+ # includes settings for an `AAAA` record. If the service includes
1584
+ # settings for an `SRV` record, you must specify a value for
1585
+ # `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
1481
1586
  #
1482
- # If the service includes an `SRV` record, the value that you want
1483
- # Route 53 to return for the port.
1587
+ # AWS\_INSTANCE\_PORT
1484
1588
  #
1485
- # If the service includes `HealthCheckConfig`, the port on the
1486
- # endpoint that you want Route 53 to send requests to.
1589
+ # : If the service includes an `SRV` record, the value that you want
1590
+ # Route 53 to return for the port.
1487
1591
  #
1488
- # This value is required if you specified settings for an `SRV` record
1489
- # or a Route 53 health check when you created the service.
1592
+ # If the service includes `HealthCheckConfig`, the port on the
1593
+ # endpoint that you want Route 53 to send requests to.
1490
1594
  #
1595
+ # This value is required if you specified settings for an `SRV`
1596
+ # record or a Route 53 health check when you created the service.
1491
1597
  #
1492
1598
  #
1493
- # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html
1599
+ #
1600
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html#Route53-Type-AliasTarget-DNSName
1494
1601
  # @return [Hash<String,String>]
1495
1602
  #
1496
1603
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Instance AWS API Documentation
@@ -1528,37 +1635,54 @@ module Aws::ServiceDiscovery
1528
1635
  # @!attribute [rw] attributes
1529
1636
  # A string map that contains the following information:
1530
1637
  #
1531
- # * The attributes that are associate with the instance.
1638
+ # * The attributes that are associated with the instance.
1532
1639
  #
1533
1640
  # * For each attribute, the applicable value.
1534
1641
  #
1535
1642
  # Supported attribute keys include the following:
1536
1643
  #
1537
- # * `AWS_ALIAS_DNS_NAME`\: For an alias record that routes traffic to
1538
- # an Elastic Load Balancing load balancer, the DNS name that is
1539
- # associated with the load balancer.
1644
+ # AWS\_ALIAS\_DNS\_NAME
1645
+ #
1646
+ # : For an alias record that routes traffic to an Elastic Load
1647
+ # Balancing load balancer, the DNS name that's associated with the
1648
+ # load balancer.
1649
+ #
1650
+ # AWS\_EC2\_INSTANCE\_ID (HTTP namespaces only)
1651
+ #
1652
+ # : The Amazon EC2 instance ID for the instance. When the
1653
+ # `AWS_EC2_INSTANCE_ID` attribute is specified, then the
1654
+ # `AWS_INSTANCE_IPV4` attribute contains the primary private IPv4
1655
+ # address.
1656
+ #
1657
+ # AWS\_INIT\_HEALTH\_STATUS
1658
+ #
1659
+ # : If the service configuration includes `HealthCheckCustomConfig`,
1660
+ # you can optionally use `AWS_INIT_HEALTH_STATUS` to specify the
1661
+ # initial status of the custom health check, `HEALTHY` or
1662
+ # `UNHEALTHY`. If you don't specify a value for
1663
+ # `AWS_INIT_HEALTH_STATUS`, the initial status is `HEALTHY`.
1664
+ #
1665
+ # AWS\_INSTANCE\_CNAME
1666
+ #
1667
+ # : For a `CNAME` record, the domain name that Route 53 returns in
1668
+ # response to DNS queries (for example, `example.com`).
1669
+ #
1670
+ # AWS\_INSTANCE\_IPV4
1540
1671
  #
1541
- # * `AWS_EC2_INSTANCE_ID`\: (HTTP namespaces only) The Amazon EC2
1542
- # instance ID for the instance. When the `AWS_EC2_INSTANCE_ID`
1543
- # attribute is specified, then the `AWS_INSTANCE_IPV4` attribute
1544
- # contains the primary private IPv4 address.
1672
+ # : For an `A` record, the IPv4 address that Route 53 returns in
1673
+ # response to DNS queries (for example, `192.0.2.44`).
1545
1674
  #
1546
- # * `AWS_INSTANCE_CNAME`\: For a `CNAME` record, the domain name that
1547
- # Route 53 returns in response to DNS queries, for example,
1548
- # `example.com`.
1675
+ # AWS\_INSTANCE\_IPV6
1549
1676
  #
1550
- # * `AWS_INSTANCE_IPV4`\: For an `A` record, the IPv4 address that
1551
- # Route 53 returns in response to DNS queries, for example,
1552
- # `192.0.2.44`.
1677
+ # : For an `AAAA` record, the IPv6 address that Route 53 returns in
1678
+ # response to DNS queries (for example,
1679
+ # `2001:0db8:85a3:0000:0000:abcd:0001:2345`).
1553
1680
  #
1554
- # * `AWS_INSTANCE_IPV6`\: For an `AAAA` record, the IPv6 address that
1555
- # Route 53 returns in response to DNS queries, for example,
1556
- # `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
1681
+ # AWS\_INSTANCE\_PORT
1557
1682
  #
1558
- # * `AWS_INSTANCE_PORT`\: For an `SRV` record, the value that Route 53
1559
- # returns for the port. In addition, if the service includes
1560
- # `HealthCheckConfig`, the port on the endpoint that Route 53 sends
1561
- # requests to.
1683
+ # : For an `SRV` record, the value that Route 53 returns for the port.
1684
+ # In addition, if the service includes `HealthCheckConfig`, the port
1685
+ # on the endpoint that Route 53 sends requests to.
1562
1686
  # @return [Hash<String,String>]
1563
1687
  #
1564
1688
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/InstanceSummary AWS API Documentation
@@ -1608,10 +1732,9 @@ module Aws::ServiceDiscovery
1608
1732
  # @return [String]
1609
1733
  #
1610
1734
  # @!attribute [rw] max_results
1611
- # The maximum number of instances that you want AWS Cloud Map to
1612
- # return in the response to a `ListInstances` request. If you don't
1613
- # specify a value for `MaxResults`, AWS Cloud Map returns up to 100
1614
- # instances.
1735
+ # The maximum number of instances that you want Cloud Map to return in
1736
+ # the response to a `ListInstances` request. If you don't specify a
1737
+ # value for `MaxResults`, Cloud Map returns up to 100 instances.
1615
1738
  # @return [Integer]
1616
1739
  #
1617
1740
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstancesRequest AWS API Documentation
@@ -1668,20 +1791,19 @@ module Aws::ServiceDiscovery
1668
1791
  # the value of `NextToken` from the previous response in the next
1669
1792
  # request.
1670
1793
  #
1671
- # <note markdown="1"> AWS Cloud Map gets `MaxResults` namespaces and then filters them
1672
- # based on the specified criteria. It's possible that no namespaces
1673
- # in the first `MaxResults` namespaces matched the specified criteria
1674
- # but that subsequent groups of `MaxResults` namespaces do contain
1794
+ # <note markdown="1"> Cloud Map gets `MaxResults` namespaces and then filters them based
1795
+ # on the specified criteria. It's possible that no namespaces in the
1796
+ # first `MaxResults` namespaces matched the specified criteria but
1797
+ # that subsequent groups of `MaxResults` namespaces do contain
1675
1798
  # namespaces that match the criteria.
1676
1799
  #
1677
1800
  # </note>
1678
1801
  # @return [String]
1679
1802
  #
1680
1803
  # @!attribute [rw] max_results
1681
- # The maximum number of namespaces that you want AWS Cloud Map to
1682
- # return in the response to a `ListNamespaces` request. If you don't
1683
- # specify a value for `MaxResults`, AWS Cloud Map returns up to 100
1684
- # namespaces.
1804
+ # The maximum number of namespaces that you want Cloud Map to return
1805
+ # in the response to a `ListNamespaces` request. If you don't specify
1806
+ # a value for `MaxResults`, Cloud Map returns up to 100 namespaces.
1685
1807
  # @return [Integer]
1686
1808
  #
1687
1809
  # @!attribute [rw] filters
@@ -1713,10 +1835,10 @@ module Aws::ServiceDiscovery
1713
1835
  # the value of `NextToken` from the previous response in the next
1714
1836
  # request.
1715
1837
  #
1716
- # <note markdown="1"> AWS Cloud Map gets `MaxResults` namespaces and then filters them
1717
- # based on the specified criteria. It's possible that no namespaces
1718
- # in the first `MaxResults` namespaces matched the specified criteria
1719
- # but that subsequent groups of `MaxResults` namespaces do contain
1838
+ # <note markdown="1"> Cloud Map gets `MaxResults` namespaces and then filters them based
1839
+ # on the specified criteria. It's possible that no namespaces in the
1840
+ # first `MaxResults` namespaces matched the specified criteria but
1841
+ # that subsequent groups of `MaxResults` namespaces do contain
1720
1842
  # namespaces that match the criteria.
1721
1843
  #
1722
1844
  # </note>
@@ -1754,19 +1876,19 @@ module Aws::ServiceDiscovery
1754
1876
  # the value of `NextToken` from the previous response in the next
1755
1877
  # request.
1756
1878
  #
1757
- # <note markdown="1"> AWS Cloud Map gets `MaxResults` operations and then filters them
1758
- # based on the specified criteria. It's possible that no operations
1759
- # in the first `MaxResults` operations matched the specified criteria
1760
- # but that subsequent groups of `MaxResults` operations do contain
1879
+ # <note markdown="1"> Cloud Map gets `MaxResults` operations and then filters them based
1880
+ # on the specified criteria. It's possible that no operations in the
1881
+ # first `MaxResults` operations matched the specified criteria but
1882
+ # that subsequent groups of `MaxResults` operations do contain
1761
1883
  # operations that match the criteria.
1762
1884
  #
1763
1885
  # </note>
1764
1886
  # @return [String]
1765
1887
  #
1766
1888
  # @!attribute [rw] max_results
1767
- # The maximum number of items that you want AWS Cloud Map to return in
1768
- # the response to a `ListOperations` request. If you don't specify a
1769
- # value for `MaxResults`, AWS Cloud Map returns up to 100 operations.
1889
+ # The maximum number of items that you want Cloud Map to return in the
1890
+ # response to a `ListOperations` request. If you don't specify a
1891
+ # value for `MaxResults`, Cloud Map returns up to 100 operations.
1770
1892
  # @return [Integer]
1771
1893
  #
1772
1894
  # @!attribute [rw] filters
@@ -1799,10 +1921,10 @@ module Aws::ServiceDiscovery
1799
1921
  # the value of `NextToken` from the previous response in the next
1800
1922
  # request.
1801
1923
  #
1802
- # <note markdown="1"> AWS Cloud Map gets `MaxResults` operations and then filters them
1803
- # based on the specified criteria. It's possible that no operations
1804
- # in the first `MaxResults` operations matched the specified criteria
1805
- # but that subsequent groups of `MaxResults` operations do contain
1924
+ # <note markdown="1"> Cloud Map gets `MaxResults` operations and then filters them based
1925
+ # on the specified criteria. It's possible that no operations in the
1926
+ # first `MaxResults` operations matched the specified criteria but
1927
+ # that subsequent groups of `MaxResults` operations do contain
1806
1928
  # operations that match the criteria.
1807
1929
  #
1808
1930
  # </note>
@@ -1839,9 +1961,9 @@ module Aws::ServiceDiscovery
1839
1961
  # request to get the next group of results. Specify the value of
1840
1962
  # `NextToken` from the previous response in the next request.
1841
1963
  #
1842
- # <note markdown="1"> AWS Cloud Map gets `MaxResults` services and then filters them based
1843
- # on the specified criteria. It's possible that no services in the
1844
- # first `MaxResults` services matched the specified criteria but that
1964
+ # <note markdown="1"> Cloud Map gets `MaxResults` services and then filters them based on
1965
+ # the specified criteria. It's possible that no services in the first
1966
+ # `MaxResults` services matched the specified criteria but that
1845
1967
  # subsequent groups of `MaxResults` services do contain services that
1846
1968
  # match the criteria.
1847
1969
  #
@@ -1849,9 +1971,9 @@ module Aws::ServiceDiscovery
1849
1971
  # @return [String]
1850
1972
  #
1851
1973
  # @!attribute [rw] max_results
1852
- # The maximum number of services that you want AWS Cloud Map to return
1853
- # in the response to a `ListServices` request. If you don't specify a
1854
- # value for `MaxResults`, AWS Cloud Map returns up to 100 services.
1974
+ # The maximum number of services that you want Cloud Map to return in
1975
+ # the response to a `ListServices` request. If you don't specify a
1976
+ # value for `MaxResults`, Cloud Map returns up to 100 services.
1855
1977
  # @return [Integer]
1856
1978
  #
1857
1979
  # @!attribute [rw] filters
@@ -1882,9 +2004,9 @@ module Aws::ServiceDiscovery
1882
2004
  # request to get the next group of results. Specify the value of
1883
2005
  # `NextToken` from the previous response in the next request.
1884
2006
  #
1885
- # <note markdown="1"> AWS Cloud Map gets `MaxResults` services and then filters them based
1886
- # on the specified criteria. It's possible that no services in the
1887
- # first `MaxResults` services matched the specified criteria but that
2007
+ # <note markdown="1"> Cloud Map gets `MaxResults` services and then filters them based on
2008
+ # the specified criteria. It's possible that no services in the first
2009
+ # `MaxResults` services matched the specified criteria but that
1888
2010
  # subsequent groups of `MaxResults` services do contain services that
1889
2011
  # match the criteria.
1890
2012
  #
@@ -1939,7 +2061,7 @@ module Aws::ServiceDiscovery
1939
2061
  # @return [String]
1940
2062
  #
1941
2063
  # @!attribute [rw] arn
1942
- # The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the
2064
+ # The Amazon Resource Name (ARN) that Cloud Map assigns to the
1943
2065
  # namespace when you create it.
1944
2066
  # @return [String]
1945
2067
  #
@@ -1951,14 +2073,20 @@ module Aws::ServiceDiscovery
1951
2073
  # The type of the namespace. The methods for discovering instances
1952
2074
  # depends on the value that you specify:
1953
2075
  #
1954
- # * `HTTP`\: Instances can be discovered only programmatically, using
1955
- # the AWS Cloud Map `DiscoverInstances` API.
2076
+ # HTTP
2077
+ #
2078
+ # : Instances can be discovered only programmatically, using the Cloud
2079
+ # Map `DiscoverInstances` API.
2080
+ #
2081
+ # DNS\_PUBLIC
2082
+ #
2083
+ # : Instances can be discovered using public DNS queries and using the
2084
+ # `DiscoverInstances` API.
1956
2085
  #
1957
- # * `DNS_PUBLIC`\: Instances can be discovered using public DNS
1958
- # queries and using the `DiscoverInstances` API.
2086
+ # DNS\_PRIVATE
1959
2087
  #
1960
- # * `DNS_PRIVATE`\: Instances can be discovered using DNS queries in
1961
- # VPCs and using the `DiscoverInstances` API.
2088
+ # : Instances can be discovered using DNS queries in VPCs and using
2089
+ # the `DiscoverInstances` API.
1962
2090
  # @return [String]
1963
2091
  #
1964
2092
  # @!attribute [rw] description
@@ -1984,7 +2112,7 @@ module Aws::ServiceDiscovery
1984
2112
  #
1985
2113
  # @!attribute [rw] creator_request_id
1986
2114
  # A unique string that identifies the request and that allows failed
1987
- # requests to be retried without the risk of executing an operation
2115
+ # requests to be retried without the risk of running an operation
1988
2116
  # twice.
1989
2117
  # @return [String]
1990
2118
  #
@@ -2056,14 +2184,20 @@ module Aws::ServiceDiscovery
2056
2184
  # `ListNamespaces` returns a namespace. Valid values for `condition`
2057
2185
  # include:
2058
2186
  #
2059
- # * `EQ`\: When you specify `EQ` for the condition, you can choose to
2060
- # list only public namespaces or private namespaces, but not both.
2061
- # `EQ` is the default condition and can be omitted.
2187
+ # EQ
2062
2188
  #
2063
- # * `IN`\: When you specify `IN` for the condition, you can choose to
2064
- # list public namespaces, private namespaces, or both.
2189
+ # : When you specify `EQ` for the condition, you can choose to list
2190
+ # only public namespaces or private namespaces, but not both. `EQ`
2191
+ # is the default condition and can be omitted.
2065
2192
  #
2066
- # * `BETWEEN`\: Not applicable
2193
+ # IN
2194
+ #
2195
+ # : When you specify `IN` for the condition, you can choose to list
2196
+ # public namespaces, private namespaces, or both.
2197
+ #
2198
+ # BETWEEN
2199
+ #
2200
+ # : Not applicable
2067
2201
  # @return [String]
2068
2202
  #
2069
2203
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceFilter AWS API Documentation
@@ -2089,12 +2223,12 @@ module Aws::ServiceDiscovery
2089
2223
  include Aws::Structure
2090
2224
  end
2091
2225
 
2092
- # A complex type that contains information that is specific to the
2226
+ # A complex type that contains information that's specific to the
2093
2227
  # namespace type.
2094
2228
  #
2095
2229
  # @!attribute [rw] dns_properties
2096
- # A complex type that contains the ID for the Route 53 hosted zone
2097
- # that AWS Cloud Map creates when you create a namespace.
2230
+ # A complex type that contains the ID for the Route 53 hosted zone
2231
+ # that Cloud Map creates when you create a namespace.
2098
2232
  # @return [Types::DnsProperties]
2099
2233
  #
2100
2234
  # @!attribute [rw] http_properties
@@ -2117,14 +2251,14 @@ module Aws::ServiceDiscovery
2117
2251
  # @return [String]
2118
2252
  #
2119
2253
  # @!attribute [rw] arn
2120
- # The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the
2254
+ # The Amazon Resource Name (ARN) that Cloud Map assigns to the
2121
2255
  # namespace when you create it.
2122
2256
  # @return [String]
2123
2257
  #
2124
2258
  # @!attribute [rw] name
2125
- # The name of the namespace. When you create a namespace, AWS Cloud
2126
- # Map automatically creates a Route 53 hosted zone that has the same
2127
- # name as the namespace.
2259
+ # The name of the namespace. When you create a namespace, Cloud Map
2260
+ # automatically creates a Route 53 hosted zone that has the same name
2261
+ # as the namespace.
2128
2262
  # @return [String]
2129
2263
  #
2130
2264
  # @!attribute [rw] type
@@ -2140,8 +2274,7 @@ module Aws::ServiceDiscovery
2140
2274
  # @return [Integer]
2141
2275
  #
2142
2276
  # @!attribute [rw] properties
2143
- # A complex type that contains information that is specific to the
2144
- # namespace type.
2277
+ # The properties of the namespace.
2145
2278
  # @return [Types::NamespaceProperties]
2146
2279
  #
2147
2280
  # @!attribute [rw] create_date
@@ -2170,21 +2303,28 @@ module Aws::ServiceDiscovery
2170
2303
  # @return [String]
2171
2304
  #
2172
2305
  # @!attribute [rw] type
2173
- # The name of the operation that is associated with the specified ID.
2306
+ # The name of the operation that's associated with the specified ID.
2174
2307
  # @return [String]
2175
2308
  #
2176
2309
  # @!attribute [rw] status
2177
2310
  # The status of the operation. Values include the following:
2178
2311
  #
2179
- # * **SUBMITTED**\: This is the initial state immediately after you
2180
- # submit a request.
2312
+ # SUBMITTED
2181
2313
  #
2182
- # * **PENDING**\: AWS Cloud Map is performing the operation.
2314
+ # : This is the initial state that occurs immediately after you submit
2315
+ # a request.
2183
2316
  #
2184
- # * **SUCCESS**\: The operation succeeded.
2317
+ # PENDING
2185
2318
  #
2186
- # * **FAIL**\: The operation failed. For the failure reason, see
2187
- # `ErrorMessage`.
2319
+ # : Cloud Map is performing the operation.
2320
+ #
2321
+ # SUCCESS
2322
+ #
2323
+ # : The operation succeeded.
2324
+ #
2325
+ # FAIL
2326
+ #
2327
+ # : The operation failed. For the failure reason, see `ErrorMessage`.
2188
2328
  # @return [String]
2189
2329
  #
2190
2330
  # @!attribute [rw] error_message
@@ -2228,16 +2368,19 @@ module Aws::ServiceDiscovery
2228
2368
  # @return [Time]
2229
2369
  #
2230
2370
  # @!attribute [rw] targets
2231
- # The name of the target entity that is associated with the operation:
2371
+ # The name of the target entity that's associated with the operation:
2232
2372
  #
2233
- # * **NAMESPACE**\: The namespace ID is returned in the `ResourceId`
2234
- # property.
2373
+ # NAMESPACE
2235
2374
  #
2236
- # * **SERVICE**\: The service ID is returned in the `ResourceId`
2237
- # property.
2375
+ # : The namespace ID is returned in the `ResourceId` property.
2238
2376
  #
2239
- # * **INSTANCE**\: The instance ID is returned in the `ResourceId`
2240
- # property.
2377
+ # SERVICE
2378
+ #
2379
+ # : The service ID is returned in the `ResourceId` property.
2380
+ #
2381
+ # INSTANCE
2382
+ #
2383
+ # : The instance ID is returned in the `ResourceId` property.
2241
2384
  # @return [Hash<String,String>]
2242
2385
  #
2243
2386
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Operation AWS API Documentation
@@ -2364,7 +2507,7 @@ module Aws::ServiceDiscovery
2364
2507
  # * **SUBMITTED**\: This is the initial state immediately after you
2365
2508
  # submit a request.
2366
2509
  #
2367
- # * **PENDING**\: AWS Cloud Map is performing the operation.
2510
+ # * **PENDING**\: Cloud Map is performing the operation.
2368
2511
  #
2369
2512
  # * **SUCCESS**\: The operation succeeded.
2370
2513
  #
@@ -2381,178 +2524,441 @@ module Aws::ServiceDiscovery
2381
2524
  include Aws::Structure
2382
2525
  end
2383
2526
 
2384
- # @note When making an API call, you may pass RegisterInstanceRequest
2527
+ # Updated properties for the private DNS namespace.
2528
+ #
2529
+ # @note When making an API call, you may pass PrivateDnsNamespaceChange
2385
2530
  # data as a hash:
2386
2531
  #
2387
2532
  # {
2388
- # service_id: "ResourceId", # required
2389
- # instance_id: "ResourceId", # required
2390
- # creator_request_id: "ResourceId",
2391
- # attributes: { # required
2392
- # "AttrKey" => "AttrValue",
2533
+ # description: "ResourceDescription",
2534
+ # properties: {
2535
+ # dns_properties: { # required
2536
+ # soa: { # required
2537
+ # ttl: 1, # required
2538
+ # },
2539
+ # },
2393
2540
  # },
2394
2541
  # }
2395
2542
  #
2396
- # @!attribute [rw] service_id
2397
- # The ID of the service that you want to use for settings for the
2398
- # instance.
2543
+ # @!attribute [rw] description
2544
+ # An updated description for the private DNS namespace.
2399
2545
  # @return [String]
2400
2546
  #
2401
- # @!attribute [rw] instance_id
2402
- # An identifier that you want to associate with the instance. Note the
2403
- # following:
2404
- #
2405
- # * If the service that is specified by `ServiceId` includes settings
2406
- # for an `SRV` record, the value of `InstanceId` is automatically
2407
- # included as part of the value for the `SRV` record. For more
2408
- # information, see [DnsRecord &gt; Type][1].
2547
+ # @!attribute [rw] properties
2548
+ # Properties to be updated in the private DNS namespace.
2549
+ # @return [Types::PrivateDnsNamespacePropertiesChange]
2409
2550
  #
2410
- # * You can use this value to update an existing instance.
2551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PrivateDnsNamespaceChange AWS API Documentation
2411
2552
  #
2412
- # * To register a new instance, you must specify a value that is
2413
- # unique among instances that you register by using the same
2414
- # service.
2553
+ class PrivateDnsNamespaceChange < Struct.new(
2554
+ :description,
2555
+ :properties)
2556
+ SENSITIVE = []
2557
+ include Aws::Structure
2558
+ end
2559
+
2560
+ # DNS properties for the private DNS namespace.
2415
2561
  #
2416
- # * If you specify an existing `InstanceId` and `ServiceId`, AWS Cloud
2417
- # Map updates the existing DNS records, if any. If there's also an
2418
- # existing health check, AWS Cloud Map deletes the old health check
2419
- # and creates a new one.
2562
+ # @note When making an API call, you may pass PrivateDnsNamespaceProperties
2563
+ # data as a hash:
2420
2564
  #
2421
- # <note markdown="1"> The health check isn't deleted immediately, so it will still
2422
- # appear for a while if you submit a `ListHealthChecks` request, for
2423
- # example.
2565
+ # {
2566
+ # dns_properties: { # required
2567
+ # soa: { # required
2568
+ # ttl: 1, # required
2569
+ # },
2570
+ # },
2571
+ # }
2424
2572
  #
2425
- # </note>
2573
+ # @!attribute [rw] dns_properties
2574
+ # DNS properties for the private DNS namespace.
2575
+ # @return [Types::PrivateDnsPropertiesMutable]
2426
2576
  #
2577
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PrivateDnsNamespaceProperties AWS API Documentation
2427
2578
  #
2579
+ class PrivateDnsNamespaceProperties < Struct.new(
2580
+ :dns_properties)
2581
+ SENSITIVE = []
2582
+ include Aws::Structure
2583
+ end
2584
+
2585
+ # Updated properties for the private DNS namespace.
2428
2586
  #
2429
- # [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_DnsRecord.html#cloudmap-Type-DnsRecord-Type
2430
- # @return [String]
2587
+ # @note When making an API call, you may pass PrivateDnsNamespacePropertiesChange
2588
+ # data as a hash:
2431
2589
  #
2432
- # @!attribute [rw] creator_request_id
2433
- # A unique string that identifies the request and that allows failed
2434
- # `RegisterInstance` requests to be retried without the risk of
2435
- # executing the operation twice. You must use a unique
2436
- # `CreatorRequestId` string every time you submit a `RegisterInstance`
2437
- # request if you're registering additional instances for the same
2438
- # namespace and service. `CreatorRequestId` can be any unique string,
2439
- # for example, a date/time stamp.
2590
+ # {
2591
+ # dns_properties: { # required
2592
+ # soa: { # required
2593
+ # ttl: 1, # required
2594
+ # },
2595
+ # },
2596
+ # }
2440
2597
  #
2441
- # **A suitable default value is auto-generated.** You should normally
2442
- # not need to pass this option.
2443
- # @return [String]
2598
+ # @!attribute [rw] dns_properties
2599
+ # Updated DNS properties for the private DNS namespace.
2600
+ # @return [Types::PrivateDnsPropertiesMutableChange]
2444
2601
  #
2445
- # @!attribute [rw] attributes
2446
- # A string map that contains the following information for the service
2447
- # that you specify in `ServiceId`\:
2602
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PrivateDnsNamespacePropertiesChange AWS API Documentation
2448
2603
  #
2449
- # * The attributes that apply to the records that are defined in the
2450
- # service.
2604
+ class PrivateDnsNamespacePropertiesChange < Struct.new(
2605
+ :dns_properties)
2606
+ SENSITIVE = []
2607
+ include Aws::Structure
2608
+ end
2609
+
2610
+ # DNS properties for the private DNS namespace.
2451
2611
  #
2452
- # * For each attribute, the applicable value.
2612
+ # @note When making an API call, you may pass PrivateDnsPropertiesMutable
2613
+ # data as a hash:
2453
2614
  #
2454
- # Supported attribute keys include the following:
2615
+ # {
2616
+ # soa: { # required
2617
+ # ttl: 1, # required
2618
+ # },
2619
+ # }
2455
2620
  #
2456
- # **AWS\_ALIAS\_DNS\_NAME**
2621
+ # @!attribute [rw] soa
2622
+ # Fields for the Start of Authority (SOA) record for the hosted zone
2623
+ # for the private DNS namespace.
2624
+ # @return [Types::SOA]
2457
2625
  #
2458
- # If you want AWS Cloud Map to create an Amazon Route 53 alias record
2459
- # that routes traffic to an Elastic Load Balancing load balancer,
2460
- # specify the DNS name that is associated with the load balancer. For
2461
- # information about how to get the DNS name, see "DNSName" in the
2462
- # topic [AliasTarget][1] in the *Route 53 API Reference*.
2626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PrivateDnsPropertiesMutable AWS API Documentation
2463
2627
  #
2464
- # Note the following:
2628
+ class PrivateDnsPropertiesMutable < Struct.new(
2629
+ :soa)
2630
+ SENSITIVE = []
2631
+ include Aws::Structure
2632
+ end
2633
+
2634
+ # Updated DNS properties for the private DNS namespace.
2465
2635
  #
2466
- # * The configuration for the service that is specified by `ServiceId`
2467
- # must include settings for an `A` record, an `AAAA` record, or
2468
- # both.
2636
+ # @note When making an API call, you may pass PrivateDnsPropertiesMutableChange
2637
+ # data as a hash:
2469
2638
  #
2470
- # * In the service that is specified by `ServiceId`, the value of
2471
- # `RoutingPolicy` must be `WEIGHTED`.
2639
+ # {
2640
+ # soa: { # required
2641
+ # ttl: 1, # required
2642
+ # },
2643
+ # }
2472
2644
  #
2473
- # * If the service that is specified by `ServiceId` includes
2474
- # `HealthCheckConfig` settings, AWS Cloud Map will create the
2475
- # Route 53 health check, but it won't associate the health check
2476
- # with the alias record.
2645
+ # @!attribute [rw] soa
2646
+ # Updated fields for the Start of Authority (SOA) record for the
2647
+ # hosted zone for the private DNS namespace.
2648
+ # @return [Types::SOAChange]
2477
2649
  #
2478
- # * Auto naming currently doesn't support creating alias records that
2479
- # route traffic to AWS resources other than Elastic Load Balancing
2480
- # load balancers.
2650
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PrivateDnsPropertiesMutableChange AWS API Documentation
2481
2651
  #
2482
- # * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
2483
- # values for any of the `AWS_INSTANCE` attributes.
2652
+ class PrivateDnsPropertiesMutableChange < Struct.new(
2653
+ :soa)
2654
+ SENSITIVE = []
2655
+ include Aws::Structure
2656
+ end
2657
+
2658
+ # Updated properties for the public DNS namespace.
2484
2659
  #
2485
- # **AWS\_EC2\_INSTANCE\_ID**
2660
+ # @note When making an API call, you may pass PublicDnsNamespaceChange
2661
+ # data as a hash:
2486
2662
  #
2487
- # *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
2488
- # If the `AWS_EC2_INSTANCE_ID` attribute is specified, then the only
2489
- # other attribute that can be specified is `AWS_INIT_HEALTH_STATUS`.
2490
- # When the `AWS_EC2_INSTANCE_ID` attribute is specified, then the
2491
- # `AWS_INSTANCE_IPV4` attribute will be filled out with the primary
2492
- # private IPv4 address.
2663
+ # {
2664
+ # description: "ResourceDescription",
2665
+ # properties: {
2666
+ # dns_properties: { # required
2667
+ # soa: { # required
2668
+ # ttl: 1, # required
2669
+ # },
2670
+ # },
2671
+ # },
2672
+ # }
2493
2673
  #
2494
- # **AWS\_INIT\_HEALTH\_STATUS**
2674
+ # @!attribute [rw] description
2675
+ # An updated description for the public DNS namespace.
2676
+ # @return [String]
2495
2677
  #
2496
- # If the service configuration includes `HealthCheckCustomConfig`, you
2497
- # can optionally use `AWS_INIT_HEALTH_STATUS` to specify the initial
2498
- # status of the custom health check, `HEALTHY` or `UNHEALTHY`. If you
2499
- # don't specify a value for `AWS_INIT_HEALTH_STATUS`, the initial
2500
- # status is `HEALTHY`.
2678
+ # @!attribute [rw] properties
2679
+ # Properties to be updated in the public DNS namespace.
2680
+ # @return [Types::PublicDnsNamespacePropertiesChange]
2501
2681
  #
2502
- # **AWS\_INSTANCE\_CNAME**
2682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PublicDnsNamespaceChange AWS API Documentation
2503
2683
  #
2504
- # If the service configuration includes a `CNAME` record, the domain
2505
- # name that you want Route 53 to return in response to DNS queries,
2506
- # for example, `example.com`.
2684
+ class PublicDnsNamespaceChange < Struct.new(
2685
+ :description,
2686
+ :properties)
2687
+ SENSITIVE = []
2688
+ include Aws::Structure
2689
+ end
2690
+
2691
+ # DNS properties for the public DNS namespace.
2507
2692
  #
2508
- # This value is required if the service specified by `ServiceId`
2509
- # includes settings for an `CNAME` record.
2693
+ # @note When making an API call, you may pass PublicDnsNamespaceProperties
2694
+ # data as a hash:
2510
2695
  #
2511
- # **AWS\_INSTANCE\_IPV4**
2696
+ # {
2697
+ # dns_properties: { # required
2698
+ # soa: { # required
2699
+ # ttl: 1, # required
2700
+ # },
2701
+ # },
2702
+ # }
2512
2703
  #
2513
- # If the service configuration includes an `A` record, the IPv4
2514
- # address that you want Route 53 to return in response to DNS queries,
2515
- # for example, `192.0.2.44`.
2704
+ # @!attribute [rw] dns_properties
2705
+ # DNS properties for the public DNS namespace.
2706
+ # @return [Types::PublicDnsPropertiesMutable]
2516
2707
  #
2517
- # This value is required if the service specified by `ServiceId`
2518
- # includes settings for an `A` record. If the service includes
2519
- # settings for an `SRV` record, you must specify a value for
2520
- # `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
2708
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PublicDnsNamespaceProperties AWS API Documentation
2521
2709
  #
2522
- # **AWS\_INSTANCE\_IPV6**
2710
+ class PublicDnsNamespaceProperties < Struct.new(
2711
+ :dns_properties)
2712
+ SENSITIVE = []
2713
+ include Aws::Structure
2714
+ end
2715
+
2716
+ # Updated properties for the public DNS namespace.
2523
2717
  #
2524
- # If the service configuration includes an `AAAA` record, the IPv6
2525
- # address that you want Route 53 to return in response to DNS queries,
2526
- # for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
2718
+ # @note When making an API call, you may pass PublicDnsNamespacePropertiesChange
2719
+ # data as a hash:
2527
2720
  #
2528
- # This value is required if the service specified by `ServiceId`
2529
- # includes settings for an `AAAA` record. If the service includes
2530
- # settings for an `SRV` record, you must specify a value for
2531
- # `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
2721
+ # {
2722
+ # dns_properties: { # required
2723
+ # soa: { # required
2724
+ # ttl: 1, # required
2725
+ # },
2726
+ # },
2727
+ # }
2532
2728
  #
2533
- # **AWS\_INSTANCE\_PORT**
2729
+ # @!attribute [rw] dns_properties
2730
+ # Updated DNS properties for the hosted zone for the public DNS
2731
+ # namespace.
2732
+ # @return [Types::PublicDnsPropertiesMutableChange]
2534
2733
  #
2535
- # If the service includes an `SRV` record, the value that you want
2536
- # Route 53 to return for the port.
2734
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PublicDnsNamespacePropertiesChange AWS API Documentation
2537
2735
  #
2538
- # If the service includes `HealthCheckConfig`, the port on the
2539
- # endpoint that you want Route 53 to send requests to.
2736
+ class PublicDnsNamespacePropertiesChange < Struct.new(
2737
+ :dns_properties)
2738
+ SENSITIVE = []
2739
+ include Aws::Structure
2740
+ end
2741
+
2742
+ # DNS properties for the public DNS namespace.
2540
2743
  #
2541
- # This value is required if you specified settings for an `SRV` record
2542
- # or a Route 53 health check when you created the service.
2744
+ # @note When making an API call, you may pass PublicDnsPropertiesMutable
2745
+ # data as a hash:
2543
2746
  #
2544
- # **Custom attributes**
2747
+ # {
2748
+ # soa: { # required
2749
+ # ttl: 1, # required
2750
+ # },
2751
+ # }
2545
2752
  #
2546
- # You can add up to 30 custom attributes. For each key-value pair, the
2547
- # maximum length of the attribute name is 255 characters, and the
2548
- # maximum length of the attribute value is 1,024 characters. The total
2549
- # size of all provided attributes (sum of all keys and values) must
2550
- # not exceed 5,000 characters.
2753
+ # @!attribute [rw] soa
2754
+ # Start of Authority (SOA) record for the hosted zone for the public
2755
+ # DNS namespace.
2756
+ # @return [Types::SOA]
2551
2757
  #
2758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PublicDnsPropertiesMutable AWS API Documentation
2552
2759
  #
2760
+ class PublicDnsPropertiesMutable < Struct.new(
2761
+ :soa)
2762
+ SENSITIVE = []
2763
+ include Aws::Structure
2764
+ end
2765
+
2766
+ # Updated DNS properties for the public DNS namespace.
2553
2767
  #
2554
- # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html
2555
- # @return [Hash<String,String>]
2768
+ # @note When making an API call, you may pass PublicDnsPropertiesMutableChange
2769
+ # data as a hash:
2770
+ #
2771
+ # {
2772
+ # soa: { # required
2773
+ # ttl: 1, # required
2774
+ # },
2775
+ # }
2776
+ #
2777
+ # @!attribute [rw] soa
2778
+ # Updated fields for the Start of Authority (SOA) record for the
2779
+ # hosted zone for the public DNS namespace.
2780
+ # @return [Types::SOAChange]
2781
+ #
2782
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PublicDnsPropertiesMutableChange AWS API Documentation
2783
+ #
2784
+ class PublicDnsPropertiesMutableChange < Struct.new(
2785
+ :soa)
2786
+ SENSITIVE = []
2787
+ include Aws::Structure
2788
+ end
2789
+
2790
+ # @note When making an API call, you may pass RegisterInstanceRequest
2791
+ # data as a hash:
2792
+ #
2793
+ # {
2794
+ # service_id: "ResourceId", # required
2795
+ # instance_id: "InstanceId", # required
2796
+ # creator_request_id: "ResourceId",
2797
+ # attributes: { # required
2798
+ # "AttrKey" => "AttrValue",
2799
+ # },
2800
+ # }
2801
+ #
2802
+ # @!attribute [rw] service_id
2803
+ # The ID of the service that you want to use for settings for the
2804
+ # instance.
2805
+ # @return [String]
2806
+ #
2807
+ # @!attribute [rw] instance_id
2808
+ # An identifier that you want to associate with the instance. Note the
2809
+ # following:
2810
+ #
2811
+ # * If the service that's specified by `ServiceId` includes settings
2812
+ # for an `SRV` record, the value of `InstanceId` is automatically
2813
+ # included as part of the value for the `SRV` record. For more
2814
+ # information, see [DnsRecord &gt; Type][1].
2815
+ #
2816
+ # * You can use this value to update an existing instance.
2817
+ #
2818
+ # * To register a new instance, you must specify a value that's
2819
+ # unique among instances that you register by using the same
2820
+ # service.
2821
+ #
2822
+ # * If you specify an existing `InstanceId` and `ServiceId`, Cloud Map
2823
+ # updates the existing DNS records, if any. If there's also an
2824
+ # existing health check, Cloud Map deletes the old health check and
2825
+ # creates a new one.
2826
+ #
2827
+ # <note markdown="1"> The health check isn't deleted immediately, so it will still
2828
+ # appear for a while if you submit a `ListHealthChecks` request, for
2829
+ # example.
2830
+ #
2831
+ # </note>
2832
+ #
2833
+ #
2834
+ #
2835
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_DnsRecord.html#cloudmap-Type-DnsRecord-Type
2836
+ # @return [String]
2837
+ #
2838
+ # @!attribute [rw] creator_request_id
2839
+ # A unique string that identifies the request and that allows failed
2840
+ # `RegisterInstance` requests to be retried without the risk of
2841
+ # executing the operation twice. You must use a unique
2842
+ # `CreatorRequestId` string every time you submit a `RegisterInstance`
2843
+ # request if you're registering additional instances for the same
2844
+ # namespace and service. `CreatorRequestId` can be any unique string
2845
+ # (for example, a date/time stamp).
2846
+ #
2847
+ # **A suitable default value is auto-generated.** You should normally
2848
+ # not need to pass this option.
2849
+ # @return [String]
2850
+ #
2851
+ # @!attribute [rw] attributes
2852
+ # A string map that contains the following information for the service
2853
+ # that you specify in `ServiceId`\:
2854
+ #
2855
+ # * The attributes that apply to the records that are defined in the
2856
+ # service.
2857
+ #
2858
+ # * For each attribute, the applicable value.
2859
+ #
2860
+ # Supported attribute keys include the following:
2861
+ #
2862
+ # AWS\_ALIAS\_DNS\_NAME
2863
+ #
2864
+ # : If you want Cloud Map to create an Amazon Route 53 alias record
2865
+ # that routes traffic to an Elastic Load Balancing load balancer,
2866
+ # specify the DNS name that's associated with the load balancer.
2867
+ # For information about how to get the DNS name, see "DNSName" in
2868
+ # the topic [AliasTarget][1] in the *Route 53 API Reference*.
2869
+ #
2870
+ # Note the following:
2871
+ #
2872
+ # * The configuration for the service that's specified by
2873
+ # `ServiceId` must include settings for an `A` record, an `AAAA`
2874
+ # record, or both.
2875
+ #
2876
+ # * In the service that's specified by `ServiceId`, the value of
2877
+ # `RoutingPolicy` must be `WEIGHTED`.
2878
+ #
2879
+ # * If the service that's specified by `ServiceId` includes
2880
+ # `HealthCheckConfig` settings, Cloud Map will create the Route 53
2881
+ # health check, but it doesn't associate the health check with
2882
+ # the alias record.
2883
+ #
2884
+ # * Auto naming currently doesn't support creating alias records
2885
+ # that route traffic to Amazon Web Services resources other than
2886
+ # Elastic Load Balancing load balancers.
2887
+ #
2888
+ # * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
2889
+ # values for any of the `AWS_INSTANCE` attributes.
2890
+ #
2891
+ # AWS\_EC2\_INSTANCE\_ID
2892
+ #
2893
+ # : *HTTP namespaces only.* The Amazon EC2 instance ID for the
2894
+ # instance. If the `AWS_EC2_INSTANCE_ID` attribute is specified,
2895
+ # then the only other attribute that can be specified is
2896
+ # `AWS_INIT_HEALTH_STATUS`. When the `AWS_EC2_INSTANCE_ID` attribute
2897
+ # is specified, then the `AWS_INSTANCE_IPV4` attribute will be
2898
+ # filled out with the primary private IPv4 address.
2899
+ #
2900
+ # AWS\_INIT\_HEALTH\_STATUS
2901
+ #
2902
+ # : If the service configuration includes `HealthCheckCustomConfig`,
2903
+ # you can optionally use `AWS_INIT_HEALTH_STATUS` to specify the
2904
+ # initial status of the custom health check, `HEALTHY` or
2905
+ # `UNHEALTHY`. If you don't specify a value for
2906
+ # `AWS_INIT_HEALTH_STATUS`, the initial status is `HEALTHY`.
2907
+ #
2908
+ # AWS\_INSTANCE\_CNAME
2909
+ #
2910
+ # : If the service configuration includes a `CNAME` record, the domain
2911
+ # name that you want Route 53 to return in response to DNS queries
2912
+ # (for example, `example.com`).
2913
+ #
2914
+ # This value is required if the service specified by `ServiceId`
2915
+ # includes settings for an `CNAME` record.
2916
+ #
2917
+ # AWS\_INSTANCE\_IPV4
2918
+ #
2919
+ # : If the service configuration includes an `A` record, the IPv4
2920
+ # address that you want Route 53 to return in response to DNS
2921
+ # queries (for example, `192.0.2.44`).
2922
+ #
2923
+ # This value is required if the service specified by `ServiceId`
2924
+ # includes settings for an `A` record. If the service includes
2925
+ # settings for an `SRV` record, you must specify a value for
2926
+ # `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
2927
+ #
2928
+ # AWS\_INSTANCE\_IPV6
2929
+ #
2930
+ # : If the service configuration includes an `AAAA` record, the IPv6
2931
+ # address that you want Route 53 to return in response to DNS
2932
+ # queries (for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`).
2933
+ #
2934
+ # This value is required if the service specified by `ServiceId`
2935
+ # includes settings for an `AAAA` record. If the service includes
2936
+ # settings for an `SRV` record, you must specify a value for
2937
+ # `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
2938
+ #
2939
+ # AWS\_INSTANCE\_PORT
2940
+ #
2941
+ # : If the service includes an `SRV` record, the value that you want
2942
+ # Route 53 to return for the port.
2943
+ #
2944
+ # If the service includes `HealthCheckConfig`, the port on the
2945
+ # endpoint that you want Route 53 to send requests to.
2946
+ #
2947
+ # This value is required if you specified settings for an `SRV`
2948
+ # record or a Route 53 health check when you created the service.
2949
+ #
2950
+ # Custom attributes
2951
+ #
2952
+ # : You can add up to 30 custom attributes. For each key-value pair,
2953
+ # the maximum length of the attribute name is 255 characters, and
2954
+ # the maximum length of the attribute value is 1,024 characters. The
2955
+ # total size of all provided attributes (sum of all keys and values)
2956
+ # must not exceed 5,000 characters.
2957
+ #
2958
+ #
2959
+ #
2960
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html
2961
+ # @return [Hash<String,String>]
2556
2962
  #
2557
2963
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstanceRequest AWS API Documentation
2558
2964
  #
@@ -2584,9 +2990,8 @@ module Aws::ServiceDiscovery
2584
2990
  end
2585
2991
 
2586
2992
  # The operation can't be completed because you've reached the quota
2587
- # for the number of requests. For more information, see [AWS Cloud Map
2588
- # API request throttling quota][1] in the *AWS Cloud Map Developer
2589
- # Guide*.
2993
+ # for the number of requests. For more information, see [Cloud Map API
2994
+ # request throttling quota][1] in the *Cloud Map Developer Guide*.
2590
2995
  #
2591
2996
  #
2592
2997
  #
@@ -2645,16 +3050,59 @@ module Aws::ServiceDiscovery
2645
3050
  include Aws::Structure
2646
3051
  end
2647
3052
 
3053
+ # Start of Authority (SOA) properties for a public or private DNS
3054
+ # namespace.
3055
+ #
3056
+ # @note When making an API call, you may pass SOA
3057
+ # data as a hash:
3058
+ #
3059
+ # {
3060
+ # ttl: 1, # required
3061
+ # }
3062
+ #
3063
+ # @!attribute [rw] ttl
3064
+ # The time to live (TTL) for purposes of negative caching.
3065
+ # @return [Integer]
3066
+ #
3067
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/SOA AWS API Documentation
3068
+ #
3069
+ class SOA < Struct.new(
3070
+ :ttl)
3071
+ SENSITIVE = []
3072
+ include Aws::Structure
3073
+ end
3074
+
3075
+ # Updated Start of Authority (SOA) properties for a public or private
3076
+ # DNS namespace.
3077
+ #
3078
+ # @note When making an API call, you may pass SOAChange
3079
+ # data as a hash:
3080
+ #
3081
+ # {
3082
+ # ttl: 1, # required
3083
+ # }
3084
+ #
3085
+ # @!attribute [rw] ttl
3086
+ # The updated time to live (TTL) for purposes of negative caching.
3087
+ # @return [Integer]
3088
+ #
3089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/SOAChange AWS API Documentation
3090
+ #
3091
+ class SOAChange < Struct.new(
3092
+ :ttl)
3093
+ SENSITIVE = []
3094
+ include Aws::Structure
3095
+ end
3096
+
2648
3097
  # A complex type that contains information about the specified service.
2649
3098
  #
2650
3099
  # @!attribute [rw] id
2651
- # The ID that AWS Cloud Map assigned to the service when you created
2652
- # it.
3100
+ # The ID that Cloud Map assigned to the service when you created it.
2653
3101
  # @return [String]
2654
3102
  #
2655
3103
  # @!attribute [rw] arn
2656
- # The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the
2657
- # service when you create it.
3104
+ # The Amazon Resource Name (ARN) that Cloud Map assigns to the service
3105
+ # when you create it.
2658
3106
  # @return [String]
2659
3107
  #
2660
3108
  # @!attribute [rw] name
@@ -2672,24 +3120,43 @@ module Aws::ServiceDiscovery
2672
3120
  # @!attribute [rw] instance_count
2673
3121
  # The number of instances that are currently associated with the
2674
3122
  # service. Instances that were previously associated with the service
2675
- # but that have been deleted are not included in the count. The count
2676
- # might not reflect pending registrations and deregistrations.
3123
+ # but that are deleted aren't included in the count. The count might
3124
+ # not reflect pending registrations and deregistrations.
2677
3125
  # @return [Integer]
2678
3126
  #
2679
3127
  # @!attribute [rw] dns_config
2680
- # A complex type that contains information about the Route 53 DNS
2681
- # records that you want AWS Cloud Map to create when you register an
3128
+ # A complex type that contains information about the Route 53 DNS
3129
+ # records that you want Cloud Map to create when you register an
2682
3130
  # instance.
2683
3131
  # @return [Types::DnsConfig]
2684
3132
  #
3133
+ # @!attribute [rw] type
3134
+ # Describes the systems that can be used to discover the service
3135
+ # instances.
3136
+ #
3137
+ # DNS\_HTTP
3138
+ #
3139
+ # : The service instances can be discovered using either DNS queries
3140
+ # or the `DiscoverInstances` API operation.
3141
+ #
3142
+ # HTTP
3143
+ #
3144
+ # : The service instances can only be discovered using the
3145
+ # `DiscoverInstances` API operation.
3146
+ #
3147
+ # DNS
3148
+ #
3149
+ # : Reserved.
3150
+ # @return [String]
3151
+ #
2685
3152
  # @!attribute [rw] health_check_config
2686
3153
  # *Public DNS and HTTP namespaces only.* A complex type that contains
2687
3154
  # settings for an optional health check. If you specify settings for a
2688
- # health check, AWS Cloud Map associates the health check with the
2689
- # records that you specify in `DnsConfig`.
3155
+ # health check, Cloud Map associates the health check with the records
3156
+ # that you specify in `DnsConfig`.
2690
3157
  #
2691
3158
  # For information about the charges for health checks, see [Amazon
2692
- # Route 53 Pricing][1].
3159
+ # Route 53 Pricing][1].
2693
3160
  #
2694
3161
  #
2695
3162
  #
@@ -2713,9 +3180,9 @@ module Aws::ServiceDiscovery
2713
3180
  #
2714
3181
  # @!attribute [rw] creator_request_id
2715
3182
  # A unique string that identifies the request and that allows failed
2716
- # requests to be retried without the risk of executing the operation
2717
- # twice. `CreatorRequestId` can be any unique string, for example, a
2718
- # date/time stamp.
3183
+ # requests to be retried without the risk of running the operation
3184
+ # twice. `CreatorRequestId` can be any unique string (for example, a
3185
+ # date/timestamp).
2719
3186
  # @return [String]
2720
3187
  #
2721
3188
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Service AWS API Documentation
@@ -2728,6 +3195,7 @@ module Aws::ServiceDiscovery
2728
3195
  :description,
2729
3196
  :instance_count,
2730
3197
  :dns_config,
3198
+ :type,
2731
3199
  :health_check_config,
2732
3200
  :health_check_custom_config,
2733
3201
  :create_date,
@@ -2787,81 +3255,15 @@ module Aws::ServiceDiscovery
2787
3255
  # @return [String]
2788
3256
  #
2789
3257
  # @!attribute [rw] dns_config
2790
- # A complex type that contains information about the Route 53 DNS
2791
- # records that you want AWS Cloud Map to create when you register an
2792
- # instance.
3258
+ # Information about the Route 53 DNS records that you want Cloud Map
3259
+ # to create when you register an instance.
2793
3260
  # @return [Types::DnsConfigChange]
2794
3261
  #
2795
3262
  # @!attribute [rw] health_check_config
2796
- # *Public DNS and HTTP namespaces only.* A complex type that contains
2797
- # settings for an optional health check. If you specify settings for a
2798
- # health check, AWS Cloud Map associates the health check with the
2799
- # records that you specify in `DnsConfig`.
2800
- #
2801
- # If you specify a health check configuration, you can specify either
2802
- # `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
2803
- #
2804
- # Health checks are basic Route 53 health checks that monitor an AWS
2805
- # endpoint. For information about pricing for health checks, see
2806
- # [Amazon Route 53 Pricing][1].
2807
- #
2808
- # Note the following about configuring health checks.
2809
- #
2810
- # <b> <code>A</code> and <code>AAAA</code> records</b>
2811
- #
2812
- # If `DnsConfig` includes configurations for both `A` and `AAAA`
2813
- # records, AWS Cloud Map creates a health check that uses the IPv4
2814
- # address to check the health of the resource. If the endpoint that is
2815
- # specified by the IPv4 address is unhealthy, Route 53 considers both
2816
- # the `A` and `AAAA` records to be unhealthy.
2817
- #
2818
- # <b> <code>CNAME</code> records</b>
2819
- #
2820
- # You can't specify settings for `HealthCheckConfig` when the
2821
- # `DNSConfig` includes `CNAME` for the value of `Type`. If you do, the
2822
- # `CreateService` request will fail with an `InvalidInput` error.
2823
- #
2824
- # **Request interval**
2825
- #
2826
- # A Route 53 health checker in each health-checking region sends a
2827
- # health check request to an endpoint every 30 seconds. On average,
2828
- # your endpoint receives a health check request about every two
2829
- # seconds. However, health checkers don't coordinate with one
2830
- # another, so you'll sometimes see several requests per second
2831
- # followed by a few seconds with no health checks at all.
2832
- #
2833
- # **Health checking regions**
2834
- #
2835
- # Health checkers perform checks from all Route 53 health-checking
2836
- # regions. For a list of the current regions, see [Regions][2].
2837
- #
2838
- # **Alias records**
2839
- #
2840
- # When you register an instance, if you include the
2841
- # `AWS_ALIAS_DNS_NAME` attribute, AWS Cloud Map creates a Route 53
2842
- # alias record. Note the following:
2843
- #
2844
- # * Route 53 automatically sets `EvaluateTargetHealth` to true for
2845
- # alias records. When `EvaluateTargetHealth` is true, the alias
2846
- # record inherits the health of the referenced AWS resource. such as
2847
- # an ELB load balancer. For more information, see
2848
- # [EvaluateTargetHealth][3].
2849
- #
2850
- # * If you include `HealthCheckConfig` and then use the service to
2851
- # register an instance that creates an alias record, Route 53
2852
- # doesn't create the health check.
2853
- #
2854
- # **Charges for health checks**
2855
- #
2856
- # Health checks are basic Route 53 health checks that monitor an AWS
2857
- # endpoint. For information about pricing for health checks, see
2858
- # [Amazon Route 53 Pricing][1].
2859
- #
2860
- #
2861
- #
2862
- # [1]: http://aws.amazon.com/route53/pricing/
2863
- # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_HealthCheckConfig.html#Route53-Type-HealthCheckConfig-Regions
2864
- # [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html#Route53-Type-AliasTarget-EvaluateTargetHealth
3263
+ # *Public DNS and HTTP namespaces only.* Settings for an optional
3264
+ # health check. If you specify settings for a health check, Cloud Map
3265
+ # associates the health check with the records that you specify in
3266
+ # `DnsConfig`.
2865
3267
  # @return [Types::HealthCheckConfig]
2866
3268
  #
2867
3269
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceChange AWS API Documentation
@@ -2936,19 +3338,37 @@ module Aws::ServiceDiscovery
2936
3338
  # A complex type that contains information about a specified service.
2937
3339
  #
2938
3340
  # @!attribute [rw] id
2939
- # The ID that AWS Cloud Map assigned to the service when you created
2940
- # it.
3341
+ # The ID that Cloud Map assigned to the service when you created it.
2941
3342
  # @return [String]
2942
3343
  #
2943
3344
  # @!attribute [rw] arn
2944
- # The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the
2945
- # service when you create it.
3345
+ # The Amazon Resource Name (ARN) that Cloud Map assigns to the service
3346
+ # when you create it.
2946
3347
  # @return [String]
2947
3348
  #
2948
3349
  # @!attribute [rw] name
2949
3350
  # The name of the service.
2950
3351
  # @return [String]
2951
3352
  #
3353
+ # @!attribute [rw] type
3354
+ # Describes the systems that can be used to discover the service
3355
+ # instances.
3356
+ #
3357
+ # DNS\_HTTP
3358
+ #
3359
+ # : The service instances can be discovered using either DNS queries
3360
+ # or the `DiscoverInstances` API operation.
3361
+ #
3362
+ # HTTP
3363
+ #
3364
+ # : The service instances can only be discovered using the
3365
+ # `DiscoverInstances` API operation.
3366
+ #
3367
+ # DNS
3368
+ #
3369
+ # : Reserved.
3370
+ # @return [String]
3371
+ #
2952
3372
  # @!attribute [rw] description
2953
3373
  # The description that you specify when you create the service.
2954
3374
  # @return [String]
@@ -2956,147 +3376,39 @@ module Aws::ServiceDiscovery
2956
3376
  # @!attribute [rw] instance_count
2957
3377
  # The number of instances that are currently associated with the
2958
3378
  # service. Instances that were previously associated with the service
2959
- # but that have been deleted are not included in the count. The count
2960
- # might not reflect pending registrations and deregistrations.
3379
+ # but that are deleted aren't included in the count. The count might
3380
+ # not reflect pending registrations and deregistrations.
2961
3381
  # @return [Integer]
2962
3382
  #
2963
3383
  # @!attribute [rw] dns_config
2964
- # A complex type that contains information about the Amazon Route 53
2965
- # DNS records that you want AWS Cloud Map to create when you register
2966
- # an instance.
3384
+ # Information about the Route 53 DNS records that you want Cloud Map
3385
+ # to create when you register an instance.
2967
3386
  # @return [Types::DnsConfig]
2968
3387
  #
2969
3388
  # @!attribute [rw] health_check_config
2970
- # *Public DNS and HTTP namespaces only.* A complex type that contains
2971
- # settings for an optional health check. If you specify settings for a
2972
- # health check, AWS Cloud Map associates the health check with the
2973
- # records that you specify in `DnsConfig`.
2974
- #
2975
- # If you specify a health check configuration, you can specify either
2976
- # `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
2977
- #
2978
- # Health checks are basic Route 53 health checks that monitor an AWS
2979
- # endpoint. For information about pricing for health checks, see
2980
- # [Amazon Route 53 Pricing][1].
2981
- #
2982
- # Note the following about configuring health checks.
2983
- #
2984
- # <b> <code>A</code> and <code>AAAA</code> records</b>
2985
- #
2986
- # If `DnsConfig` includes configurations for both `A` and `AAAA`
2987
- # records, AWS Cloud Map creates a health check that uses the IPv4
2988
- # address to check the health of the resource. If the endpoint that is
2989
- # specified by the IPv4 address is unhealthy, Route 53 considers both
2990
- # the `A` and `AAAA` records to be unhealthy.
2991
- #
2992
- # <b> <code>CNAME</code> records</b>
2993
- #
2994
- # You can't specify settings for `HealthCheckConfig` when the
2995
- # `DNSConfig` includes `CNAME` for the value of `Type`. If you do, the
2996
- # `CreateService` request will fail with an `InvalidInput` error.
2997
- #
2998
- # **Request interval**
2999
- #
3000
- # A Route 53 health checker in each health-checking region sends a
3001
- # health check request to an endpoint every 30 seconds. On average,
3002
- # your endpoint receives a health check request about every two
3003
- # seconds. However, health checkers don't coordinate with one
3004
- # another, so you'll sometimes see several requests per second
3005
- # followed by a few seconds with no health checks at all.
3006
- #
3007
- # **Health checking regions**
3008
- #
3009
- # Health checkers perform checks from all Route 53 health-checking
3010
- # regions. For a list of the current regions, see [Regions][2].
3011
- #
3012
- # **Alias records**
3013
- #
3014
- # When you register an instance, if you include the
3015
- # `AWS_ALIAS_DNS_NAME` attribute, AWS Cloud Map creates a Route 53
3016
- # alias record. Note the following:
3017
- #
3018
- # * Route 53 automatically sets `EvaluateTargetHealth` to true for
3019
- # alias records. When `EvaluateTargetHealth` is true, the alias
3020
- # record inherits the health of the referenced AWS resource. such as
3021
- # an ELB load balancer. For more information, see
3022
- # [EvaluateTargetHealth][3].
3023
- #
3024
- # * If you include `HealthCheckConfig` and then use the service to
3025
- # register an instance that creates an alias record, Route 53
3026
- # doesn't create the health check.
3027
- #
3028
- # **Charges for health checks**
3029
- #
3030
- # Health checks are basic Route 53 health checks that monitor an AWS
3031
- # endpoint. For information about pricing for health checks, see
3032
- # [Amazon Route 53 Pricing][1].
3033
- #
3034
- #
3035
- #
3036
- # [1]: http://aws.amazon.com/route53/pricing/
3037
- # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_HealthCheckConfig.html#Route53-Type-HealthCheckConfig-Regions
3038
- # [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html#Route53-Type-AliasTarget-EvaluateTargetHealth
3389
+ # *Public DNS and HTTP namespaces only.* Settings for an optional
3390
+ # health check. If you specify settings for a health check, Cloud Map
3391
+ # associates the health check with the records that you specify in
3392
+ # `DnsConfig`.
3039
3393
  # @return [Types::HealthCheckConfig]
3040
3394
  #
3041
3395
  # @!attribute [rw] health_check_custom_config
3042
- # A complex type that contains information about an optional custom
3043
- # health check. A custom health check, which requires that you use a
3044
- # third-party health checker to evaluate the health of your resources,
3045
- # is useful in the following circumstances:
3396
+ # Information about an optional custom health check. A custom health
3397
+ # check, which requires that you use a third-party health checker to
3398
+ # evaluate the health of your resources, is useful in the following
3399
+ # circumstances:
3046
3400
  #
3047
- # * You can't use a health check that is defined by
3401
+ # * You can't use a health check that's defined by
3048
3402
  # `HealthCheckConfig` because the resource isn't available over the
3049
3403
  # internet. For example, you can use a custom health check when the
3050
3404
  # instance is in an Amazon VPC. (To check the health of resources in
3051
3405
  # a VPC, the health checker must also be in the VPC.)
3052
3406
  #
3053
3407
  # * You want to use a third-party health checker regardless of where
3054
- # your resources are.
3408
+ # your resources are located.
3055
3409
  #
3056
3410
  # If you specify a health check configuration, you can specify either
3057
3411
  # `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
3058
- #
3059
- # To change the status of a custom health check, submit an
3060
- # `UpdateInstanceCustomHealthStatus` request. AWS Cloud Map doesn't
3061
- # monitor the status of the resource, it just keeps a record of the
3062
- # status specified in the most recent
3063
- # `UpdateInstanceCustomHealthStatus` request.
3064
- #
3065
- # Here's how custom health checks work:
3066
- #
3067
- # 1. You create a service and specify a value for `FailureThreshold`.
3068
- #
3069
- # The failure threshold indicates the number of 30-second
3070
- # intervals you want AWS Cloud Map to wait between the time that
3071
- # your application sends an [UpdateInstanceCustomHealthStatus][1]
3072
- # request and the time that AWS Cloud Map stops routing internet
3073
- # traffic to the corresponding resource.
3074
- #
3075
- # 2. You register an instance.
3076
- #
3077
- # 3. You configure a third-party health checker to monitor the
3078
- # resource that is associated with the new instance.
3079
- #
3080
- # <note markdown="1"> AWS Cloud Map doesn't check the health of the resource
3081
- # directly.
3082
- #
3083
- # </note>
3084
- #
3085
- # 4. The third-party health-checker determines that the resource is
3086
- # unhealthy and notifies your application.
3087
- #
3088
- # 5. Your application submits an `UpdateInstanceCustomHealthStatus`
3089
- # request.
3090
- #
3091
- # 6. AWS Cloud Map waits for (`FailureThreshold` x 30) seconds.
3092
- #
3093
- # 7. If another `UpdateInstanceCustomHealthStatus` request doesn't
3094
- # arrive during that time to change the status back to healthy,
3095
- # AWS Cloud Map stops routing traffic to the resource.
3096
- #
3097
- #
3098
- #
3099
- # [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_UpdateInstanceCustomHealthStatus.html
3100
3412
  # @return [Types::HealthCheckCustomConfig]
3101
3413
  #
3102
3414
  # @!attribute [rw] create_date
@@ -3109,6 +3421,7 @@ module Aws::ServiceDiscovery
3109
3421
  :id,
3110
3422
  :arn,
3111
3423
  :name,
3424
+ :type,
3112
3425
  :description,
3113
3426
  :instance_count,
3114
3427
  :dns_config,
@@ -3119,7 +3432,7 @@ module Aws::ServiceDiscovery
3119
3432
  include Aws::Structure
3120
3433
  end
3121
3434
 
3122
- # A custom key-value pair associated with a resource.
3435
+ # A custom key-value pair that's associated with a resource.
3123
3436
  #
3124
3437
  # @note When making an API call, you may pass Tag
3125
3438
  # data as a hash:
@@ -3134,9 +3447,9 @@ module Aws::ServiceDiscovery
3134
3447
  # @return [String]
3135
3448
  #
3136
3449
  # @!attribute [rw] value
3137
- # The string value associated with the key of the tag. You can set the
3138
- # value of a tag to an empty string, but you can't set the value of a
3139
- # tag to null.
3450
+ # The string value that's associated with the key of the tag. You can
3451
+ # set the value of a tag to an empty string, but you can't set the
3452
+ # value of a tag to null.
3140
3453
  # @return [String]
3141
3454
  #
3142
3455
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Tag AWS API Documentation
@@ -3234,6 +3547,63 @@ module Aws::ServiceDiscovery
3234
3547
  #
3235
3548
  class UntagResourceResponse < Aws::EmptyStructure; end
3236
3549
 
3550
+ # @note When making an API call, you may pass UpdateHttpNamespaceRequest
3551
+ # data as a hash:
3552
+ #
3553
+ # {
3554
+ # id: "ResourceId", # required
3555
+ # updater_request_id: "ResourceId",
3556
+ # namespace: { # required
3557
+ # description: "ResourceDescription", # required
3558
+ # },
3559
+ # }
3560
+ #
3561
+ # @!attribute [rw] id
3562
+ # The ID of the namespace that you want to update.
3563
+ # @return [String]
3564
+ #
3565
+ # @!attribute [rw] updater_request_id
3566
+ # A unique string that identifies the request and that allows failed
3567
+ # `UpdateHttpNamespace` requests to be retried without the risk of
3568
+ # running the operation twice. `UpdaterRequestId` can be any unique
3569
+ # string (for example, a date/timestamp).
3570
+ #
3571
+ # **A suitable default value is auto-generated.** You should normally
3572
+ # not need to pass this option.
3573
+ # @return [String]
3574
+ #
3575
+ # @!attribute [rw] namespace
3576
+ # Updated properties for the the HTTP namespace.
3577
+ # @return [Types::HttpNamespaceChange]
3578
+ #
3579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateHttpNamespaceRequest AWS API Documentation
3580
+ #
3581
+ class UpdateHttpNamespaceRequest < Struct.new(
3582
+ :id,
3583
+ :updater_request_id,
3584
+ :namespace)
3585
+ SENSITIVE = []
3586
+ include Aws::Structure
3587
+ end
3588
+
3589
+ # @!attribute [rw] operation_id
3590
+ # A value that you can use to determine whether the request completed
3591
+ # successfully. To get the status of the operation, see
3592
+ # [GetOperation][1].
3593
+ #
3594
+ #
3595
+ #
3596
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html
3597
+ # @return [String]
3598
+ #
3599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateHttpNamespaceResponse AWS API Documentation
3600
+ #
3601
+ class UpdateHttpNamespaceResponse < Struct.new(
3602
+ :operation_id)
3603
+ SENSITIVE = []
3604
+ include Aws::Structure
3605
+ end
3606
+
3237
3607
  # @note When making an API call, you may pass UpdateInstanceCustomHealthStatusRequest
3238
3608
  # data as a hash:
3239
3609
  #
@@ -3267,6 +3637,134 @@ module Aws::ServiceDiscovery
3267
3637
  include Aws::Structure
3268
3638
  end
3269
3639
 
3640
+ # @note When making an API call, you may pass UpdatePrivateDnsNamespaceRequest
3641
+ # data as a hash:
3642
+ #
3643
+ # {
3644
+ # id: "ResourceId", # required
3645
+ # updater_request_id: "ResourceId",
3646
+ # namespace: { # required
3647
+ # description: "ResourceDescription",
3648
+ # properties: {
3649
+ # dns_properties: { # required
3650
+ # soa: { # required
3651
+ # ttl: 1, # required
3652
+ # },
3653
+ # },
3654
+ # },
3655
+ # },
3656
+ # }
3657
+ #
3658
+ # @!attribute [rw] id
3659
+ # The ID of the namespace that you want to update.
3660
+ # @return [String]
3661
+ #
3662
+ # @!attribute [rw] updater_request_id
3663
+ # A unique string that identifies the request and that allows failed
3664
+ # `UpdatePrivateDnsNamespace` requests to be retried without the risk
3665
+ # of running the operation twice. `UpdaterRequestId` can be any unique
3666
+ # string (for example, a date/timestamp).
3667
+ #
3668
+ # **A suitable default value is auto-generated.** You should normally
3669
+ # not need to pass this option.
3670
+ # @return [String]
3671
+ #
3672
+ # @!attribute [rw] namespace
3673
+ # Updated properties for the private DNS namespace.
3674
+ # @return [Types::PrivateDnsNamespaceChange]
3675
+ #
3676
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdatePrivateDnsNamespaceRequest AWS API Documentation
3677
+ #
3678
+ class UpdatePrivateDnsNamespaceRequest < Struct.new(
3679
+ :id,
3680
+ :updater_request_id,
3681
+ :namespace)
3682
+ SENSITIVE = []
3683
+ include Aws::Structure
3684
+ end
3685
+
3686
+ # @!attribute [rw] operation_id
3687
+ # A value that you can use to determine whether the request completed
3688
+ # successfully. To get the status of the operation, see
3689
+ # [GetOperation][1].
3690
+ #
3691
+ #
3692
+ #
3693
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html
3694
+ # @return [String]
3695
+ #
3696
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdatePrivateDnsNamespaceResponse AWS API Documentation
3697
+ #
3698
+ class UpdatePrivateDnsNamespaceResponse < Struct.new(
3699
+ :operation_id)
3700
+ SENSITIVE = []
3701
+ include Aws::Structure
3702
+ end
3703
+
3704
+ # @note When making an API call, you may pass UpdatePublicDnsNamespaceRequest
3705
+ # data as a hash:
3706
+ #
3707
+ # {
3708
+ # id: "ResourceId", # required
3709
+ # updater_request_id: "ResourceId",
3710
+ # namespace: { # required
3711
+ # description: "ResourceDescription",
3712
+ # properties: {
3713
+ # dns_properties: { # required
3714
+ # soa: { # required
3715
+ # ttl: 1, # required
3716
+ # },
3717
+ # },
3718
+ # },
3719
+ # },
3720
+ # }
3721
+ #
3722
+ # @!attribute [rw] id
3723
+ # The ID of the namespace being updated.
3724
+ # @return [String]
3725
+ #
3726
+ # @!attribute [rw] updater_request_id
3727
+ # A unique string that identifies the request and that allows failed
3728
+ # `UpdatePublicDnsNamespace` requests to be retried without the risk
3729
+ # of running the operation twice. `UpdaterRequestId` can be any unique
3730
+ # string (for example, a date/timestamp).
3731
+ #
3732
+ # **A suitable default value is auto-generated.** You should normally
3733
+ # not need to pass this option.
3734
+ # @return [String]
3735
+ #
3736
+ # @!attribute [rw] namespace
3737
+ # Updated properties for the public DNS namespace.
3738
+ # @return [Types::PublicDnsNamespaceChange]
3739
+ #
3740
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdatePublicDnsNamespaceRequest AWS API Documentation
3741
+ #
3742
+ class UpdatePublicDnsNamespaceRequest < Struct.new(
3743
+ :id,
3744
+ :updater_request_id,
3745
+ :namespace)
3746
+ SENSITIVE = []
3747
+ include Aws::Structure
3748
+ end
3749
+
3750
+ # @!attribute [rw] operation_id
3751
+ # A value that you can use to determine whether the request completed
3752
+ # successfully. To get the status of the operation, see
3753
+ # [GetOperation][1].
3754
+ #
3755
+ #
3756
+ #
3757
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html
3758
+ # @return [String]
3759
+ #
3760
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdatePublicDnsNamespaceResponse AWS API Documentation
3761
+ #
3762
+ class UpdatePublicDnsNamespaceResponse < Struct.new(
3763
+ :operation_id)
3764
+ SENSITIVE = []
3765
+ include Aws::Structure
3766
+ end
3767
+
3270
3768
  # @note When making an API call, you may pass UpdateServiceRequest
3271
3769
  # data as a hash:
3272
3770
  #