aws-sdk-servicediscovery 1.36.0 → 1.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-servicediscovery/client.rb +251 -84
- data/lib/aws-sdk-servicediscovery/client_api.rb +123 -0
- data/lib/aws-sdk-servicediscovery/types.rb +772 -238
- data/lib/aws-sdk-servicediscovery.rb +1 -1
- metadata +5 -5
@@ -66,6 +66,7 @@ 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')
|
@@ -114,6 +115,16 @@ module Aws::ServiceDiscovery
|
|
114
115
|
OperationTargetType = Shapes::StringShape.new(name: 'OperationTargetType')
|
115
116
|
OperationTargetsMap = Shapes::MapShape.new(name: 'OperationTargetsMap')
|
116
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')
|
117
128
|
RecordTTL = Shapes::IntegerShape.new(name: 'RecordTTL')
|
118
129
|
RecordType = Shapes::StringShape.new(name: 'RecordType')
|
119
130
|
RegisterInstanceRequest = Shapes::StructureShape.new(name: 'RegisterInstanceRequest')
|
@@ -127,6 +138,8 @@ module Aws::ServiceDiscovery
|
|
127
138
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
128
139
|
ResourcePath = Shapes::StringShape.new(name: 'ResourcePath')
|
129
140
|
RoutingPolicy = Shapes::StringShape.new(name: 'RoutingPolicy')
|
141
|
+
SOA = Shapes::StructureShape.new(name: 'SOA')
|
142
|
+
SOAChange = Shapes::StructureShape.new(name: 'SOAChange')
|
130
143
|
Service = Shapes::StructureShape.new(name: 'Service')
|
131
144
|
ServiceAlreadyExists = Shapes::StructureShape.new(name: 'ServiceAlreadyExists')
|
132
145
|
ServiceChange = Shapes::StructureShape.new(name: 'ServiceChange')
|
@@ -150,7 +163,13 @@ module Aws::ServiceDiscovery
|
|
150
163
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
151
164
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
152
165
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
166
|
+
UpdateHttpNamespaceRequest = Shapes::StructureShape.new(name: 'UpdateHttpNamespaceRequest')
|
167
|
+
UpdateHttpNamespaceResponse = Shapes::StructureShape.new(name: 'UpdateHttpNamespaceResponse')
|
153
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')
|
154
173
|
UpdateServiceRequest = Shapes::StructureShape.new(name: 'UpdateServiceRequest')
|
155
174
|
UpdateServiceResponse = Shapes::StructureShape.new(name: 'UpdateServiceResponse')
|
156
175
|
|
@@ -171,6 +190,7 @@ module Aws::ServiceDiscovery
|
|
171
190
|
CreatePrivateDnsNamespaceRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
172
191
|
CreatePrivateDnsNamespaceRequest.add_member(:vpc, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Vpc"))
|
173
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"))
|
174
194
|
CreatePrivateDnsNamespaceRequest.struct_class = Types::CreatePrivateDnsNamespaceRequest
|
175
195
|
|
176
196
|
CreatePrivateDnsNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
|
@@ -180,6 +200,7 @@ module Aws::ServiceDiscovery
|
|
180
200
|
CreatePublicDnsNamespaceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken"=>true}))
|
181
201
|
CreatePublicDnsNamespaceRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
182
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"))
|
183
204
|
CreatePublicDnsNamespaceRequest.struct_class = Types::CreatePublicDnsNamespaceRequest
|
184
205
|
|
185
206
|
CreatePublicDnsNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
|
@@ -240,6 +261,7 @@ module Aws::ServiceDiscovery
|
|
240
261
|
DnsConfigChange.struct_class = Types::DnsConfigChange
|
241
262
|
|
242
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"))
|
243
265
|
DnsProperties.struct_class = Types::DnsProperties
|
244
266
|
|
245
267
|
DnsRecord.add_member(:type, Shapes::ShapeRef.new(shape: RecordType, required: true, location_name: "Type"))
|
@@ -306,6 +328,9 @@ module Aws::ServiceDiscovery
|
|
306
328
|
|
307
329
|
HttpInstanceSummaryList.member = Shapes::ShapeRef.new(shape: HttpInstanceSummary)
|
308
330
|
|
331
|
+
HttpNamespaceChange.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
332
|
+
HttpNamespaceChange.struct_class = Types::HttpNamespaceChange
|
333
|
+
|
309
334
|
HttpProperties.add_member(:http_name, Shapes::ShapeRef.new(shape: NamespaceName, location_name: "HttpName"))
|
310
335
|
HttpProperties.struct_class = Types::HttpProperties
|
311
336
|
|
@@ -444,6 +469,38 @@ module Aws::ServiceDiscovery
|
|
444
469
|
OperationTargetsMap.key = Shapes::ShapeRef.new(shape: OperationTargetType)
|
445
470
|
OperationTargetsMap.value = Shapes::ShapeRef.new(shape: ResourceId)
|
446
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
|
+
|
447
504
|
RegisterInstanceRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
|
448
505
|
RegisterInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
449
506
|
RegisterInstanceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken"=>true}))
|
@@ -465,6 +522,12 @@ module Aws::ServiceDiscovery
|
|
465
522
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
466
523
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
467
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
|
+
|
468
531
|
Service.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
|
469
532
|
Service.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
470
533
|
Service.add_member(:name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "Name"))
|
@@ -537,11 +600,35 @@ module Aws::ServiceDiscovery
|
|
537
600
|
|
538
601
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
539
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
|
+
|
540
611
|
UpdateInstanceCustomHealthStatusRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
|
541
612
|
UpdateInstanceCustomHealthStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "InstanceId"))
|
542
613
|
UpdateInstanceCustomHealthStatusRequest.add_member(:status, Shapes::ShapeRef.new(shape: CustomHealthStatus, required: true, location_name: "Status"))
|
543
614
|
UpdateInstanceCustomHealthStatusRequest.struct_class = Types::UpdateInstanceCustomHealthStatusRequest
|
544
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
|
+
|
545
632
|
UpdateServiceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
|
546
633
|
UpdateServiceRequest.add_member(:service, Shapes::ShapeRef.new(shape: ServiceChange, required: true, location_name: "Service"))
|
547
634
|
UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
|
@@ -834,6 +921,18 @@ module Aws::ServiceDiscovery
|
|
834
921
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
835
922
|
end)
|
836
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
|
+
|
837
936
|
api.add_operation(:update_instance_custom_health_status, Seahorse::Model::Operation.new.tap do |o|
|
838
937
|
o.name = "UpdateInstanceCustomHealthStatus"
|
839
938
|
o.http_method = "POST"
|
@@ -846,6 +945,30 @@ module Aws::ServiceDiscovery
|
|
846
945
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
847
946
|
end)
|
848
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
|
+
|
849
972
|
api.add_operation(:update_service, Seahorse::Model::Operation.new.tap do |o|
|
850
973
|
o.name = "UpdateService"
|
851
974
|
o.http_method = "POST"
|
@@ -93,12 +93,19 @@ 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,
|
101
|
-
#
|
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
|
#
|
@@ -128,6 +135,10 @@ module Aws::ServiceDiscovery
|
|
128
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
|
@@ -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
|
@@ -198,13 +217,18 @@ module Aws::ServiceDiscovery
|
|
198
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
|
@@ -265,18 +289,17 @@ module Aws::ServiceDiscovery
|
|
265
289
|
# @!attribute [rw] name
|
266
290
|
# The name that you want to assign to the service.
|
267
291
|
#
|
268
|
-
# If you want
|
269
|
-
#
|
270
|
-
#
|
271
|
-
# 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`\:
|
272
295
|
#
|
273
296
|
# * Start the name with an underscore (\_), such as `_exampleservice`.
|
274
297
|
#
|
275
298
|
# * End the name with *.\_protocol*, such as `._tcp`.
|
276
299
|
#
|
277
|
-
# When you register an instance,
|
278
|
-
#
|
279
|
-
#
|
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,
|
280
303
|
#
|
281
304
|
# `_exampleservice._tcp.example.com`).
|
282
305
|
#
|
@@ -315,23 +338,22 @@ module Aws::ServiceDiscovery
|
|
315
338
|
# @return [String]
|
316
339
|
#
|
317
340
|
# @!attribute [rw] dns_config
|
318
|
-
# A complex type that contains information about the Amazon Route
|
319
|
-
# records that you want
|
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
|
320
343
|
# instance.
|
321
344
|
# @return [Types::DnsConfig]
|
322
345
|
#
|
323
346
|
# @!attribute [rw] health_check_config
|
324
347
|
# *Public DNS and HTTP namespaces only.* A complex type that contains
|
325
|
-
# settings for an optional Route
|
326
|
-
# settings for a health check,
|
327
|
-
#
|
328
|
-
# `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`.
|
329
351
|
#
|
330
352
|
# If you specify a health check configuration, you can specify either
|
331
353
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
332
354
|
#
|
333
|
-
# For information about the charges for health checks, see [
|
334
|
-
#
|
355
|
+
# For information about the charges for health checks, see [Cloud Map
|
356
|
+
# Pricing][1].
|
335
357
|
#
|
336
358
|
#
|
337
359
|
#
|
@@ -497,7 +519,8 @@ module Aws::ServiceDiscovery
|
|
497
519
|
|
498
520
|
# @!attribute [rw] operation_id
|
499
521
|
# A value that you can use to determine whether the request completed
|
500
|
-
# successfully.
|
522
|
+
# successfully. To get the status of the operation, see
|
523
|
+
# [GetOperation][1].
|
501
524
|
#
|
502
525
|
#
|
503
526
|
#
|
@@ -539,10 +562,9 @@ module Aws::ServiceDiscovery
|
|
539
562
|
# @return [String]
|
540
563
|
#
|
541
564
|
# @!attribute [rw] max_results
|
542
|
-
# The maximum number of instances that you want
|
543
|
-
#
|
544
|
-
#
|
545
|
-
# 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.
|
546
568
|
# @return [Integer]
|
547
569
|
#
|
548
570
|
# @!attribute [rw] query_parameters
|
@@ -610,8 +632,8 @@ module Aws::ServiceDiscovery
|
|
610
632
|
include Aws::Structure
|
611
633
|
end
|
612
634
|
|
613
|
-
# A complex type that contains information about the Amazon Route
|
614
|
-
# records that you want
|
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
|
615
637
|
# instance.
|
616
638
|
#
|
617
639
|
# @note When making an API call, you may pass DnsConfig
|
@@ -633,8 +655,8 @@ module Aws::ServiceDiscovery
|
|
633
655
|
# @return [String]
|
634
656
|
#
|
635
657
|
# @!attribute [rw] routing_policy
|
636
|
-
# The routing policy that you want to apply to all Route
|
637
|
-
# records that
|
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
|
638
660
|
# specify this service.
|
639
661
|
#
|
640
662
|
# <note markdown="1"> If you want to use this service to register instances that create
|
@@ -647,43 +669,43 @@ module Aws::ServiceDiscovery
|
|
647
669
|
# MULTIVALUE
|
648
670
|
#
|
649
671
|
# : If you define a health check for the service and the health check
|
650
|
-
# is healthy, Route
|
672
|
+
# is healthy, Route 53 returns the applicable value for up to eight
|
651
673
|
# instances.
|
652
674
|
#
|
653
675
|
# For example, suppose that the service includes configurations for
|
654
676
|
# one `A` record and a health check. You use the service to register
|
655
|
-
# 10 instances. Route
|
677
|
+
# 10 instances. Route 53 responds to DNS queries with IP addresses
|
656
678
|
# for up to eight healthy instances. If fewer than eight instances
|
657
|
-
# are healthy, Route
|
679
|
+
# are healthy, Route 53 responds to every DNS query with the IP
|
658
680
|
# addresses for all of the healthy instances.
|
659
681
|
#
|
660
|
-
# If you don't define a health check for the service, Route
|
682
|
+
# If you don't define a health check for the service, Route 53
|
661
683
|
# assumes that all instances are healthy and returns the values for
|
662
684
|
# up to eight instances.
|
663
685
|
#
|
664
686
|
# For more information about the multivalue routing policy, see
|
665
|
-
# [Multivalue Answer Routing][1] in the *Route
|
687
|
+
# [Multivalue Answer Routing][1] in the *Route 53 Developer Guide*.
|
666
688
|
#
|
667
689
|
# WEIGHTED
|
668
690
|
#
|
669
|
-
# : Route
|
691
|
+
# : Route 53 returns the applicable value from one randomly selected
|
670
692
|
# instance from among the instances that you registered using the
|
671
693
|
# same service. Currently, all records have the same weight, so you
|
672
694
|
# can't route more or less traffic to any instances.
|
673
695
|
#
|
674
696
|
# For example, suppose that the service includes configurations for
|
675
697
|
# one `A` record and a health check. You use the service to register
|
676
|
-
# 10 instances. Route
|
698
|
+
# 10 instances. Route 53 responds to DNS queries with the IP address
|
677
699
|
# for one randomly selected instance from among the healthy
|
678
|
-
# instances. If no instances are healthy, Route
|
700
|
+
# instances. If no instances are healthy, Route 53 responds to DNS
|
679
701
|
# queries as if all of the instances were healthy.
|
680
702
|
#
|
681
|
-
# If you don't define a health check for the service, Route
|
703
|
+
# If you don't define a health check for the service, Route 53
|
682
704
|
# assumes that all instances are healthy and returns the applicable
|
683
705
|
# value for one randomly selected instance.
|
684
706
|
#
|
685
707
|
# For more information about the weighted routing policy, see
|
686
|
-
# [Weighted Routing][2] in the *Route
|
708
|
+
# [Weighted Routing][2] in the *Route 53 Developer Guide*.
|
687
709
|
#
|
688
710
|
#
|
689
711
|
#
|
@@ -692,8 +714,8 @@ module Aws::ServiceDiscovery
|
|
692
714
|
# @return [String]
|
693
715
|
#
|
694
716
|
# @!attribute [rw] dns_records
|
695
|
-
# An array that contains one `DnsRecord` object for each Route
|
696
|
-
# record that you want
|
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
|
697
719
|
# instance.
|
698
720
|
# @return [Array<Types::DnsRecord>]
|
699
721
|
#
|
@@ -707,8 +729,8 @@ module Aws::ServiceDiscovery
|
|
707
729
|
include Aws::Structure
|
708
730
|
end
|
709
731
|
|
710
|
-
# A complex type that contains information about changes to the Route
|
711
|
-
# DNS records that
|
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.
|
712
734
|
#
|
713
735
|
# @note When making an API call, you may pass DnsConfigChange
|
714
736
|
# data as a hash:
|
@@ -723,8 +745,8 @@ module Aws::ServiceDiscovery
|
|
723
745
|
# }
|
724
746
|
#
|
725
747
|
# @!attribute [rw] dns_records
|
726
|
-
# An array that contains one `DnsRecord` object for each Route
|
727
|
-
# record that you want
|
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
|
728
750
|
# instance.
|
729
751
|
# @return [Array<Types::DnsRecord>]
|
730
752
|
#
|
@@ -736,24 +758,29 @@ module Aws::ServiceDiscovery
|
|
736
758
|
include Aws::Structure
|
737
759
|
end
|
738
760
|
|
739
|
-
# A complex type that contains the ID for the Route
|
740
|
-
#
|
761
|
+
# A complex type that contains the ID for the Route 53 hosted zone that
|
762
|
+
# Cloud Map creates when you create a namespace.
|
741
763
|
#
|
742
764
|
# @!attribute [rw] hosted_zone_id
|
743
|
-
# The ID for the Route
|
744
|
-
#
|
765
|
+
# The ID for the Route 53 hosted zone that Cloud Map creates when you
|
766
|
+
# create a namespace.
|
745
767
|
# @return [String]
|
746
768
|
#
|
769
|
+
# @!attribute [rw] soa
|
770
|
+
# Start of Authority (SOA) record for the hosted zone.
|
771
|
+
# @return [Types::SOA]
|
772
|
+
#
|
747
773
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsProperties AWS API Documentation
|
748
774
|
#
|
749
775
|
class DnsProperties < Struct.new(
|
750
|
-
:hosted_zone_id
|
776
|
+
:hosted_zone_id,
|
777
|
+
:soa)
|
751
778
|
SENSITIVE = []
|
752
779
|
include Aws::Structure
|
753
780
|
end
|
754
781
|
|
755
|
-
# A complex type that contains information about the Route
|
756
|
-
# records that you want
|
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
|
757
784
|
# instance.
|
758
785
|
#
|
759
786
|
# @note When making an API call, you may pass DnsRecord
|
@@ -766,7 +793,7 @@ module Aws::ServiceDiscovery
|
|
766
793
|
#
|
767
794
|
# @!attribute [rw] type
|
768
795
|
# The type of the resource, which indicates the type of value that
|
769
|
-
# Route
|
796
|
+
# Route 53 returns in response to DNS queries. You can specify values
|
770
797
|
# for `Type` in the following combinations:
|
771
798
|
#
|
772
799
|
# * <b> <code>A</code> </b>
|
@@ -779,7 +806,7 @@ module Aws::ServiceDiscovery
|
|
779
806
|
#
|
780
807
|
# * <b> <code>CNAME</code> </b>
|
781
808
|
#
|
782
|
-
# If you want
|
809
|
+
# If you want Cloud Map to create a Route 53 alias record when you
|
783
810
|
# register an instance, specify `A` or `AAAA` for `Type`.
|
784
811
|
#
|
785
812
|
# You specify other settings, such as the IP address for `A` and
|
@@ -790,17 +817,17 @@ module Aws::ServiceDiscovery
|
|
790
817
|
#
|
791
818
|
# A
|
792
819
|
#
|
793
|
-
# : Route
|
820
|
+
# : Route 53 returns the IP address of the resource in IPv4 format,
|
794
821
|
# such as 192.0.2.44.
|
795
822
|
#
|
796
823
|
# AAAA
|
797
824
|
#
|
798
|
-
# : Route
|
825
|
+
# : Route 53 returns the IP address of the resource in IPv6 format,
|
799
826
|
# such as 2001:0db8:85a3:0000:0000:abcd:0001:2345.
|
800
827
|
#
|
801
828
|
# CNAME
|
802
829
|
#
|
803
|
-
# : Route
|
830
|
+
# : Route 53 returns the domain name of the resource, such as
|
804
831
|
# www.example.com. Note the following:
|
805
832
|
#
|
806
833
|
# * You specify the domain name that you want to route traffic to
|
@@ -815,7 +842,7 @@ module Aws::ServiceDiscovery
|
|
815
842
|
#
|
816
843
|
# SRV
|
817
844
|
#
|
818
|
-
# : Route
|
845
|
+
# : Route 53 returns the value for an `SRV` record. The value for an
|
819
846
|
# `SRV` record uses the following values:
|
820
847
|
#
|
821
848
|
# `priority weight port service-hostname`
|
@@ -849,9 +876,9 @@ module Aws::ServiceDiscovery
|
|
849
876
|
#
|
850
877
|
# * If you specify values for `AWS_INSTANCE_IPV4`,
|
851
878
|
# `AWS_INSTANCE_IPV6`, or both in the `RegisterInstance` request,
|
852
|
-
#
|
853
|
-
#
|
854
|
-
#
|
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.
|
855
882
|
#
|
856
883
|
# * If you're using a system that requires a specific `SRV` format,
|
857
884
|
# such as HAProxy, see the [Name][3] element in the documentation
|
@@ -869,12 +896,12 @@ module Aws::ServiceDiscovery
|
|
869
896
|
# The amount of time, in seconds, that you want DNS resolvers to cache
|
870
897
|
# the settings for this record.
|
871
898
|
#
|
872
|
-
# <note markdown="1"> Alias records don't include a TTL because Route
|
873
|
-
# the
|
874
|
-
# include the `AWS_ALIAS_DNS_NAME` attribute when you
|
875
|
-
# [RegisterInstance][1] request, the `TTL` value is ignored.
|
876
|
-
# specify a TTL for the service; you can use a service to
|
877
|
-
# 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.
|
878
905
|
#
|
879
906
|
# </note>
|
880
907
|
#
|
@@ -965,8 +992,8 @@ module Aws::ServiceDiscovery
|
|
965
992
|
# An array that contains the IDs of all the instances that you want to
|
966
993
|
# get the health status for.
|
967
994
|
#
|
968
|
-
# If you omit `Instances`,
|
969
|
-
#
|
995
|
+
# If you omit `Instances`, Cloud Map returns the health status for all
|
996
|
+
# the instances that are associated with the specified service.
|
970
997
|
#
|
971
998
|
# <note markdown="1"> To get the IDs for the instances that you've registered by using a
|
972
999
|
# specified service, submit a [ListInstances][1] request.
|
@@ -979,10 +1006,10 @@ module Aws::ServiceDiscovery
|
|
979
1006
|
# @return [Array<String>]
|
980
1007
|
#
|
981
1008
|
# @!attribute [rw] max_results
|
982
|
-
# The maximum number of instances that you want
|
983
|
-
#
|
984
|
-
#
|
985
|
-
#
|
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.
|
986
1013
|
# @return [Integer]
|
987
1014
|
#
|
988
1015
|
# @!attribute [rw] next_token
|
@@ -1123,25 +1150,25 @@ module Aws::ServiceDiscovery
|
|
1123
1150
|
|
1124
1151
|
# *Public DNS and HTTP namespaces only.* A complex type that contains
|
1125
1152
|
# settings for an optional health check. If you specify settings for a
|
1126
|
-
# health check,
|
1127
|
-
#
|
1153
|
+
# health check, Cloud Map associates the health check with the records
|
1154
|
+
# that you specify in `DnsConfig`.
|
1128
1155
|
#
|
1129
1156
|
# If you specify a health check configuration, you can specify either
|
1130
1157
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
1131
1158
|
#
|
1132
|
-
# Health checks are basic Route
|
1133
|
-
# endpoint. For information about pricing for health
|
1134
|
-
# Route
|
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].
|
1135
1162
|
#
|
1136
1163
|
# Note the following about configuring health checks.
|
1137
1164
|
#
|
1138
1165
|
# A and AAAA records
|
1139
1166
|
#
|
1140
1167
|
# : If `DnsConfig` includes configurations for both `A` and `AAAA`
|
1141
|
-
# records,
|
1142
|
-
#
|
1143
|
-
#
|
1144
|
-
#
|
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.
|
1145
1172
|
#
|
1146
1173
|
# CNAME records
|
1147
1174
|
#
|
@@ -1151,40 +1178,40 @@ module Aws::ServiceDiscovery
|
|
1151
1178
|
#
|
1152
1179
|
# Request interval
|
1153
1180
|
#
|
1154
|
-
# : A Route
|
1155
|
-
# health check request to an endpoint every 30
|
1156
|
-
# your endpoint receives a health check request
|
1157
|
-
# seconds. However, health checkers don't coordinate
|
1158
|
-
# another. Therefore, you might sometimes see several
|
1159
|
-
# second that's followed by a few seconds with no
|
1160
|
-
# 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.
|
1161
1188
|
#
|
1162
1189
|
# Health checking regions
|
1163
1190
|
#
|
1164
|
-
# : Health checkers perform checks from all Route
|
1191
|
+
# : Health checkers perform checks from all Route 53 health-checking
|
1165
1192
|
# Regions. For a list of the current Regions, see [Regions][2].
|
1166
1193
|
#
|
1167
1194
|
# Alias records
|
1168
1195
|
#
|
1169
1196
|
# : When you register an instance, if you include the
|
1170
|
-
# `AWS_ALIAS_DNS_NAME` attribute,
|
1171
|
-
#
|
1197
|
+
# `AWS_ALIAS_DNS_NAME` attribute, Cloud Map creates a Route 53 alias
|
1198
|
+
# record. Note the following:
|
1172
1199
|
#
|
1173
|
-
# * Route
|
1200
|
+
# * Route 53 automatically sets `EvaluateTargetHealth` to true for
|
1174
1201
|
# alias records. When `EvaluateTargetHealth` is true, the alias
|
1175
|
-
# record inherits the health of the referenced
|
1176
|
-
# an ELB load balancer. For more information, see
|
1202
|
+
# record inherits the health of the referenced Amazon Web Services
|
1203
|
+
# resource. such as an ELB load balancer. For more information, see
|
1177
1204
|
# [EvaluateTargetHealth][3].
|
1178
1205
|
#
|
1179
1206
|
# * If you include `HealthCheckConfig` and then use the service to
|
1180
|
-
# register an instance that creates an alias record, Route
|
1207
|
+
# register an instance that creates an alias record, Route 53
|
1181
1208
|
# doesn't create the health check.
|
1182
1209
|
#
|
1183
1210
|
# Charges for health checks
|
1184
1211
|
#
|
1185
|
-
# : Health checks are basic Route
|
1186
|
-
# endpoint. For information about pricing for
|
1187
|
-
# [Amazon Route
|
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].
|
1188
1215
|
#
|
1189
1216
|
#
|
1190
1217
|
#
|
@@ -1203,31 +1230,31 @@ module Aws::ServiceDiscovery
|
|
1203
1230
|
#
|
1204
1231
|
# @!attribute [rw] type
|
1205
1232
|
# The type of health check that you want to create, which indicates
|
1206
|
-
# how Route
|
1233
|
+
# how Route 53 determines whether an endpoint is healthy.
|
1207
1234
|
#
|
1208
1235
|
# You can't change the value of `Type` after you create a health
|
1209
1236
|
# check.
|
1210
1237
|
#
|
1211
1238
|
# You can create the following types of health checks:
|
1212
1239
|
#
|
1213
|
-
# * **HTTP**\: Route
|
1214
|
-
# successful, Route
|
1240
|
+
# * **HTTP**\: Route 53 tries to establish a TCP connection. If
|
1241
|
+
# successful, Route 53 submits an HTTP request and waits for an HTTP
|
1215
1242
|
# status code of 200 or greater and less than 400.
|
1216
1243
|
#
|
1217
|
-
# * **HTTPS**\: Route
|
1218
|
-
# successful, Route
|
1244
|
+
# * **HTTPS**\: Route 53 tries to establish a TCP connection. If
|
1245
|
+
# successful, Route 53 submits an HTTPS request and waits for an
|
1219
1246
|
# HTTP status code of 200 or greater and less than 400.
|
1220
1247
|
#
|
1221
1248
|
# If you specify HTTPS for the value of `Type`, the endpoint must
|
1222
1249
|
# support TLS v1.0 or later.
|
1223
1250
|
#
|
1224
|
-
# * **TCP**\: Route
|
1251
|
+
# * **TCP**\: Route 53 tries to establish a TCP connection.
|
1225
1252
|
#
|
1226
1253
|
# If you specify `TCP` for `Type`, don't specify a value for
|
1227
1254
|
# `ResourcePath`.
|
1228
1255
|
#
|
1229
|
-
# For more information, see [How Route
|
1230
|
-
# Endpoint Is Healthy][1] in the *Route
|
1256
|
+
# For more information, see [How Route 53 Determines Whether an
|
1257
|
+
# Endpoint Is Healthy][1] in the *Route 53 Developer Guide*.
|
1231
1258
|
#
|
1232
1259
|
#
|
1233
1260
|
#
|
@@ -1235,10 +1262,10 @@ module Aws::ServiceDiscovery
|
|
1235
1262
|
# @return [String]
|
1236
1263
|
#
|
1237
1264
|
# @!attribute [rw] resource_path
|
1238
|
-
# The path that you want Route
|
1265
|
+
# The path that you want Route 53 to request when performing health
|
1239
1266
|
# checks. The path can be any value that your endpoint returns an HTTP
|
1240
1267
|
# status code of a 2xx or 3xx format for when the endpoint is healthy.
|
1241
|
-
# An example file is `/docs/route53-health-check.html`. Route
|
1268
|
+
# An example file is `/docs/route53-health-check.html`. Route 53
|
1242
1269
|
# automatically adds the DNS name for the service. If you don't
|
1243
1270
|
# specify a value for `ResourcePath`, the default value is `/`.
|
1244
1271
|
#
|
@@ -1248,10 +1275,10 @@ module Aws::ServiceDiscovery
|
|
1248
1275
|
#
|
1249
1276
|
# @!attribute [rw] failure_threshold
|
1250
1277
|
# The number of consecutive health checks that an endpoint must pass
|
1251
|
-
# or fail for Route
|
1278
|
+
# or fail for Route 53 to change the current status of the endpoint
|
1252
1279
|
# from unhealthy to healthy or the other way around. For more
|
1253
|
-
# information, see [How Route
|
1254
|
-
# Healthy][1] in the *Route
|
1280
|
+
# information, see [How Route 53 Determines Whether an Endpoint Is
|
1281
|
+
# Healthy][1] in the *Route 53 Developer Guide*.
|
1255
1282
|
#
|
1256
1283
|
#
|
1257
1284
|
#
|
@@ -1286,9 +1313,9 @@ module Aws::ServiceDiscovery
|
|
1286
1313
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
1287
1314
|
#
|
1288
1315
|
# To change the status of a custom health check, submit an
|
1289
|
-
# `UpdateInstanceCustomHealthStatus` request.
|
1290
|
-
#
|
1291
|
-
#
|
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`
|
1292
1319
|
# request.
|
1293
1320
|
#
|
1294
1321
|
# Here's how custom health checks work:
|
@@ -1300,7 +1327,7 @@ module Aws::ServiceDiscovery
|
|
1300
1327
|
# 3. You configure a third-party health checker to monitor the resource
|
1301
1328
|
# that's associated with the new instance.
|
1302
1329
|
#
|
1303
|
-
# <note markdown="1">
|
1330
|
+
# <note markdown="1"> Cloud Map doesn't check the health of the resource directly.
|
1304
1331
|
#
|
1305
1332
|
# </note>
|
1306
1333
|
#
|
@@ -1310,10 +1337,10 @@ module Aws::ServiceDiscovery
|
|
1310
1337
|
# 5. Your application submits an `UpdateInstanceCustomHealthStatus`
|
1311
1338
|
# request.
|
1312
1339
|
#
|
1313
|
-
# 6.
|
1340
|
+
# 6. Cloud Map waits for 30 seconds.
|
1314
1341
|
#
|
1315
1342
|
# 7. If another `UpdateInstanceCustomHealthStatus` request doesn't
|
1316
|
-
# arrive during that time to change the status back to healthy,
|
1343
|
+
# arrive during that time to change the status back to healthy,
|
1317
1344
|
# Cloud Map stops routing traffic to the resource.
|
1318
1345
|
#
|
1319
1346
|
# @note When making an API call, you may pass HealthCheckCustomConfig
|
@@ -1324,19 +1351,19 @@ module Aws::ServiceDiscovery
|
|
1324
1351
|
# }
|
1325
1352
|
#
|
1326
1353
|
# @!attribute [rw] failure_threshold
|
1327
|
-
# This parameter is no longer supported and is always set to 1.
|
1328
|
-
#
|
1354
|
+
# This parameter is no longer supported and is always set to 1. Cloud
|
1355
|
+
# Map waits for approximately 30 seconds after receiving an
|
1329
1356
|
# `UpdateInstanceCustomHealthStatus` request before changing the
|
1330
1357
|
# status of the service instance.
|
1331
1358
|
#
|
1332
|
-
# The number of 30-second intervals that you want
|
1333
|
-
#
|
1334
|
-
#
|
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.
|
1335
1362
|
#
|
1336
1363
|
# Sending a second or subsequent `UpdateInstanceCustomHealthStatus`
|
1337
1364
|
# request with the same value before 30 seconds has passed doesn't
|
1338
|
-
# accelerate the change.
|
1339
|
-
#
|
1365
|
+
# accelerate the change. Cloud Map still waits `30` seconds after the
|
1366
|
+
# first request to make the change.
|
1340
1367
|
# @return [Integer]
|
1341
1368
|
#
|
1342
1369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/HealthCheckCustomConfig AWS API Documentation
|
@@ -1393,6 +1420,27 @@ module Aws::ServiceDiscovery
|
|
1393
1420
|
include Aws::Structure
|
1394
1421
|
end
|
1395
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
|
+
|
1396
1444
|
# A complex type that contains the name of an HTTP namespace.
|
1397
1445
|
#
|
1398
1446
|
# @!attribute [rw] http_name
|
@@ -1407,8 +1455,8 @@ module Aws::ServiceDiscovery
|
|
1407
1455
|
include Aws::Structure
|
1408
1456
|
end
|
1409
1457
|
|
1410
|
-
# A complex type that contains information about an instance that
|
1411
|
-
#
|
1458
|
+
# A complex type that contains information about an instance that Cloud
|
1459
|
+
# Map creates when you submit a `RegisterInstance` request.
|
1412
1460
|
#
|
1413
1461
|
# @!attribute [rw] id
|
1414
1462
|
# An identifier that you want to associate with the instance. Note the
|
@@ -1425,10 +1473,10 @@ module Aws::ServiceDiscovery
|
|
1425
1473
|
# unique among instances that you register by using the same
|
1426
1474
|
# service.
|
1427
1475
|
#
|
1428
|
-
# * If you specify an existing `InstanceId` and `ServiceId`,
|
1429
|
-
#
|
1430
|
-
# health check,
|
1431
|
-
#
|
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.
|
1432
1480
|
#
|
1433
1481
|
# <note markdown="1"> The health check isn't deleted immediately, so it will still
|
1434
1482
|
# appear for a while if you submit a `ListHealthChecks` request, for
|
@@ -1464,11 +1512,11 @@ module Aws::ServiceDiscovery
|
|
1464
1512
|
#
|
1465
1513
|
# AWS\_ALIAS\_DNS\_NAME
|
1466
1514
|
#
|
1467
|
-
# : If you want
|
1515
|
+
# : If you want Cloud Map to create a Route 53 alias record that
|
1468
1516
|
# routes traffic to an Elastic Load Balancing load balancer, specify
|
1469
1517
|
# the DNS name that's associated with the load balancer. For
|
1470
1518
|
# information about how to get the DNS name, see
|
1471
|
-
# [AliasTarget->DNSName][1] in the *Route
|
1519
|
+
# [AliasTarget->DNSName][1] in the *Route 53 API Reference*.
|
1472
1520
|
#
|
1473
1521
|
# Note the following:
|
1474
1522
|
#
|
@@ -1480,13 +1528,13 @@ module Aws::ServiceDiscovery
|
|
1480
1528
|
# `RoutingPolicy` must be `WEIGHTED`.
|
1481
1529
|
#
|
1482
1530
|
# * If the service that's specified by `ServiceId` includes
|
1483
|
-
# `HealthCheckConfig` settings,
|
1531
|
+
# `HealthCheckConfig` settings, Cloud Map creates the health
|
1484
1532
|
# check, but it won't associate the health check with the alias
|
1485
1533
|
# record.
|
1486
1534
|
#
|
1487
1535
|
# * Auto naming currently doesn't support creating alias records
|
1488
|
-
# that route traffic to
|
1489
|
-
# balancers.
|
1536
|
+
# that route traffic to Amazon Web Services resources other than
|
1537
|
+
# ELB load balancers.
|
1490
1538
|
#
|
1491
1539
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
1492
1540
|
# values for any of the `AWS_INSTANCE` attributes.
|
@@ -1508,7 +1556,7 @@ module Aws::ServiceDiscovery
|
|
1508
1556
|
# AWS\_INSTANCE\_CNAME
|
1509
1557
|
#
|
1510
1558
|
# : If the service configuration includes a `CNAME` record, the domain
|
1511
|
-
# name that you want Route
|
1559
|
+
# name that you want Route 53 to return in response to DNS queries
|
1512
1560
|
# (for example, `example.com`).
|
1513
1561
|
#
|
1514
1562
|
# This value is required if the service specified by `ServiceId`
|
@@ -1517,7 +1565,7 @@ module Aws::ServiceDiscovery
|
|
1517
1565
|
# AWS\_INSTANCE\_IPV4
|
1518
1566
|
#
|
1519
1567
|
# : If the service configuration includes an `A` record, the IPv4
|
1520
|
-
# address that you want Route
|
1568
|
+
# address that you want Route 53 to return in response to DNS
|
1521
1569
|
# queries (for example, `192.0.2.44`).
|
1522
1570
|
#
|
1523
1571
|
# This value is required if the service specified by `ServiceId`
|
@@ -1528,7 +1576,7 @@ module Aws::ServiceDiscovery
|
|
1528
1576
|
# AWS\_INSTANCE\_IPV6
|
1529
1577
|
#
|
1530
1578
|
# : If the service configuration includes an `AAAA` record, the IPv6
|
1531
|
-
# address that you want Route
|
1579
|
+
# address that you want Route 53 to return in response to DNS
|
1532
1580
|
# queries (for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`).
|
1533
1581
|
#
|
1534
1582
|
# This value is required if the service specified by `ServiceId`
|
@@ -1539,13 +1587,13 @@ module Aws::ServiceDiscovery
|
|
1539
1587
|
# AWS\_INSTANCE\_PORT
|
1540
1588
|
#
|
1541
1589
|
# : If the service includes an `SRV` record, the value that you want
|
1542
|
-
# Route
|
1590
|
+
# Route 53 to return for the port.
|
1543
1591
|
#
|
1544
1592
|
# If the service includes `HealthCheckConfig`, the port on the
|
1545
|
-
# endpoint that you want Route
|
1593
|
+
# endpoint that you want Route 53 to send requests to.
|
1546
1594
|
#
|
1547
1595
|
# This value is required if you specified settings for an `SRV`
|
1548
|
-
# record or a Route
|
1596
|
+
# record or a Route 53 health check when you created the service.
|
1549
1597
|
#
|
1550
1598
|
#
|
1551
1599
|
#
|
@@ -1616,25 +1664,25 @@ module Aws::ServiceDiscovery
|
|
1616
1664
|
#
|
1617
1665
|
# AWS\_INSTANCE\_CNAME
|
1618
1666
|
#
|
1619
|
-
# : For a `CNAME` record, the domain name that Route
|
1667
|
+
# : For a `CNAME` record, the domain name that Route 53 returns in
|
1620
1668
|
# response to DNS queries (for example, `example.com`).
|
1621
1669
|
#
|
1622
1670
|
# AWS\_INSTANCE\_IPV4
|
1623
1671
|
#
|
1624
|
-
# : For an `A` record, the IPv4 address that Route
|
1672
|
+
# : For an `A` record, the IPv4 address that Route 53 returns in
|
1625
1673
|
# response to DNS queries (for example, `192.0.2.44`).
|
1626
1674
|
#
|
1627
1675
|
# AWS\_INSTANCE\_IPV6
|
1628
1676
|
#
|
1629
|
-
# : For an `AAAA` record, the IPv6 address that Route
|
1677
|
+
# : For an `AAAA` record, the IPv6 address that Route 53 returns in
|
1630
1678
|
# response to DNS queries (for example,
|
1631
1679
|
# `2001:0db8:85a3:0000:0000:abcd:0001:2345`).
|
1632
1680
|
#
|
1633
1681
|
# AWS\_INSTANCE\_PORT
|
1634
1682
|
#
|
1635
|
-
# : For an `SRV` record, the value that Route
|
1683
|
+
# : For an `SRV` record, the value that Route 53 returns for the port.
|
1636
1684
|
# In addition, if the service includes `HealthCheckConfig`, the port
|
1637
|
-
# on the endpoint that Route
|
1685
|
+
# on the endpoint that Route 53 sends requests to.
|
1638
1686
|
# @return [Hash<String,String>]
|
1639
1687
|
#
|
1640
1688
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/InstanceSummary AWS API Documentation
|
@@ -1684,10 +1732,9 @@ module Aws::ServiceDiscovery
|
|
1684
1732
|
# @return [String]
|
1685
1733
|
#
|
1686
1734
|
# @!attribute [rw] max_results
|
1687
|
-
# The maximum number of instances that you want
|
1688
|
-
#
|
1689
|
-
#
|
1690
|
-
# 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.
|
1691
1738
|
# @return [Integer]
|
1692
1739
|
#
|
1693
1740
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstancesRequest AWS API Documentation
|
@@ -1744,20 +1791,19 @@ module Aws::ServiceDiscovery
|
|
1744
1791
|
# the value of `NextToken` from the previous response in the next
|
1745
1792
|
# request.
|
1746
1793
|
#
|
1747
|
-
# <note markdown="1">
|
1748
|
-
#
|
1749
|
-
#
|
1750
|
-
#
|
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
|
1751
1798
|
# namespaces that match the criteria.
|
1752
1799
|
#
|
1753
1800
|
# </note>
|
1754
1801
|
# @return [String]
|
1755
1802
|
#
|
1756
1803
|
# @!attribute [rw] max_results
|
1757
|
-
# The maximum number of namespaces that you want
|
1758
|
-
#
|
1759
|
-
#
|
1760
|
-
# 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.
|
1761
1807
|
# @return [Integer]
|
1762
1808
|
#
|
1763
1809
|
# @!attribute [rw] filters
|
@@ -1789,10 +1835,10 @@ module Aws::ServiceDiscovery
|
|
1789
1835
|
# the value of `NextToken` from the previous response in the next
|
1790
1836
|
# request.
|
1791
1837
|
#
|
1792
|
-
# <note markdown="1">
|
1793
|
-
#
|
1794
|
-
#
|
1795
|
-
#
|
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
|
1796
1842
|
# namespaces that match the criteria.
|
1797
1843
|
#
|
1798
1844
|
# </note>
|
@@ -1830,19 +1876,19 @@ module Aws::ServiceDiscovery
|
|
1830
1876
|
# the value of `NextToken` from the previous response in the next
|
1831
1877
|
# request.
|
1832
1878
|
#
|
1833
|
-
# <note markdown="1">
|
1834
|
-
#
|
1835
|
-
#
|
1836
|
-
#
|
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
|
1837
1883
|
# operations that match the criteria.
|
1838
1884
|
#
|
1839
1885
|
# </note>
|
1840
1886
|
# @return [String]
|
1841
1887
|
#
|
1842
1888
|
# @!attribute [rw] max_results
|
1843
|
-
# The maximum number of items that you want
|
1844
|
-
#
|
1845
|
-
# value for `MaxResults`,
|
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.
|
1846
1892
|
# @return [Integer]
|
1847
1893
|
#
|
1848
1894
|
# @!attribute [rw] filters
|
@@ -1875,10 +1921,10 @@ module Aws::ServiceDiscovery
|
|
1875
1921
|
# the value of `NextToken` from the previous response in the next
|
1876
1922
|
# request.
|
1877
1923
|
#
|
1878
|
-
# <note markdown="1">
|
1879
|
-
#
|
1880
|
-
#
|
1881
|
-
#
|
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
|
1882
1928
|
# operations that match the criteria.
|
1883
1929
|
#
|
1884
1930
|
# </note>
|
@@ -1915,9 +1961,9 @@ module Aws::ServiceDiscovery
|
|
1915
1961
|
# request to get the next group of results. Specify the value of
|
1916
1962
|
# `NextToken` from the previous response in the next request.
|
1917
1963
|
#
|
1918
|
-
# <note markdown="1">
|
1919
|
-
#
|
1920
|
-
#
|
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
|
1921
1967
|
# subsequent groups of `MaxResults` services do contain services that
|
1922
1968
|
# match the criteria.
|
1923
1969
|
#
|
@@ -1925,9 +1971,9 @@ module Aws::ServiceDiscovery
|
|
1925
1971
|
# @return [String]
|
1926
1972
|
#
|
1927
1973
|
# @!attribute [rw] max_results
|
1928
|
-
# The maximum number of services that you want
|
1929
|
-
#
|
1930
|
-
# value for `MaxResults`,
|
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.
|
1931
1977
|
# @return [Integer]
|
1932
1978
|
#
|
1933
1979
|
# @!attribute [rw] filters
|
@@ -1958,9 +2004,9 @@ module Aws::ServiceDiscovery
|
|
1958
2004
|
# request to get the next group of results. Specify the value of
|
1959
2005
|
# `NextToken` from the previous response in the next request.
|
1960
2006
|
#
|
1961
|
-
# <note markdown="1">
|
1962
|
-
#
|
1963
|
-
#
|
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
|
1964
2010
|
# subsequent groups of `MaxResults` services do contain services that
|
1965
2011
|
# match the criteria.
|
1966
2012
|
#
|
@@ -2015,7 +2061,7 @@ module Aws::ServiceDiscovery
|
|
2015
2061
|
# @return [String]
|
2016
2062
|
#
|
2017
2063
|
# @!attribute [rw] arn
|
2018
|
-
# The Amazon Resource Name (ARN) that
|
2064
|
+
# The Amazon Resource Name (ARN) that Cloud Map assigns to the
|
2019
2065
|
# namespace when you create it.
|
2020
2066
|
# @return [String]
|
2021
2067
|
#
|
@@ -2029,8 +2075,8 @@ module Aws::ServiceDiscovery
|
|
2029
2075
|
#
|
2030
2076
|
# HTTP
|
2031
2077
|
#
|
2032
|
-
# : Instances can be discovered only programmatically, using the
|
2033
|
-
#
|
2078
|
+
# : Instances can be discovered only programmatically, using the Cloud
|
2079
|
+
# Map `DiscoverInstances` API.
|
2034
2080
|
#
|
2035
2081
|
# DNS\_PUBLIC
|
2036
2082
|
#
|
@@ -2181,8 +2227,8 @@ module Aws::ServiceDiscovery
|
|
2181
2227
|
# namespace type.
|
2182
2228
|
#
|
2183
2229
|
# @!attribute [rw] dns_properties
|
2184
|
-
# A complex type that contains the ID for the Route
|
2185
|
-
# that
|
2230
|
+
# A complex type that contains the ID for the Route 53 hosted zone
|
2231
|
+
# that Cloud Map creates when you create a namespace.
|
2186
2232
|
# @return [Types::DnsProperties]
|
2187
2233
|
#
|
2188
2234
|
# @!attribute [rw] http_properties
|
@@ -2205,14 +2251,14 @@ module Aws::ServiceDiscovery
|
|
2205
2251
|
# @return [String]
|
2206
2252
|
#
|
2207
2253
|
# @!attribute [rw] arn
|
2208
|
-
# The Amazon Resource Name (ARN) that
|
2254
|
+
# The Amazon Resource Name (ARN) that Cloud Map assigns to the
|
2209
2255
|
# namespace when you create it.
|
2210
2256
|
# @return [String]
|
2211
2257
|
#
|
2212
2258
|
# @!attribute [rw] name
|
2213
|
-
# The name of the namespace. When you create a namespace,
|
2214
|
-
#
|
2215
|
-
#
|
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.
|
2216
2262
|
# @return [String]
|
2217
2263
|
#
|
2218
2264
|
# @!attribute [rw] type
|
@@ -2270,7 +2316,7 @@ module Aws::ServiceDiscovery
|
|
2270
2316
|
#
|
2271
2317
|
# PENDING
|
2272
2318
|
#
|
2273
|
-
# :
|
2319
|
+
# : Cloud Map is performing the operation.
|
2274
2320
|
#
|
2275
2321
|
# SUCCESS
|
2276
2322
|
#
|
@@ -2461,7 +2507,7 @@ module Aws::ServiceDiscovery
|
|
2461
2507
|
# * **SUBMITTED**\: This is the initial state immediately after you
|
2462
2508
|
# submit a request.
|
2463
2509
|
#
|
2464
|
-
# * **PENDING**\:
|
2510
|
+
# * **PENDING**\: Cloud Map is performing the operation.
|
2465
2511
|
#
|
2466
2512
|
# * **SUCCESS**\: The operation succeeded.
|
2467
2513
|
#
|
@@ -2478,6 +2524,269 @@ module Aws::ServiceDiscovery
|
|
2478
2524
|
include Aws::Structure
|
2479
2525
|
end
|
2480
2526
|
|
2527
|
+
# Updated properties for the private DNS namespace.
|
2528
|
+
#
|
2529
|
+
# @note When making an API call, you may pass PrivateDnsNamespaceChange
|
2530
|
+
# data as a hash:
|
2531
|
+
#
|
2532
|
+
# {
|
2533
|
+
# description: "ResourceDescription",
|
2534
|
+
# properties: {
|
2535
|
+
# dns_properties: { # required
|
2536
|
+
# soa: { # required
|
2537
|
+
# ttl: 1, # required
|
2538
|
+
# },
|
2539
|
+
# },
|
2540
|
+
# },
|
2541
|
+
# }
|
2542
|
+
#
|
2543
|
+
# @!attribute [rw] description
|
2544
|
+
# An updated description for the private DNS namespace.
|
2545
|
+
# @return [String]
|
2546
|
+
#
|
2547
|
+
# @!attribute [rw] properties
|
2548
|
+
# Properties to be updated in the private DNS namespace.
|
2549
|
+
# @return [Types::PrivateDnsNamespacePropertiesChange]
|
2550
|
+
#
|
2551
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PrivateDnsNamespaceChange AWS API Documentation
|
2552
|
+
#
|
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.
|
2561
|
+
#
|
2562
|
+
# @note When making an API call, you may pass PrivateDnsNamespaceProperties
|
2563
|
+
# data as a hash:
|
2564
|
+
#
|
2565
|
+
# {
|
2566
|
+
# dns_properties: { # required
|
2567
|
+
# soa: { # required
|
2568
|
+
# ttl: 1, # required
|
2569
|
+
# },
|
2570
|
+
# },
|
2571
|
+
# }
|
2572
|
+
#
|
2573
|
+
# @!attribute [rw] dns_properties
|
2574
|
+
# DNS properties for the private DNS namespace.
|
2575
|
+
# @return [Types::PrivateDnsPropertiesMutable]
|
2576
|
+
#
|
2577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PrivateDnsNamespaceProperties AWS API Documentation
|
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.
|
2586
|
+
#
|
2587
|
+
# @note When making an API call, you may pass PrivateDnsNamespacePropertiesChange
|
2588
|
+
# data as a hash:
|
2589
|
+
#
|
2590
|
+
# {
|
2591
|
+
# dns_properties: { # required
|
2592
|
+
# soa: { # required
|
2593
|
+
# ttl: 1, # required
|
2594
|
+
# },
|
2595
|
+
# },
|
2596
|
+
# }
|
2597
|
+
#
|
2598
|
+
# @!attribute [rw] dns_properties
|
2599
|
+
# Updated DNS properties for the private DNS namespace.
|
2600
|
+
# @return [Types::PrivateDnsPropertiesMutableChange]
|
2601
|
+
#
|
2602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PrivateDnsNamespacePropertiesChange AWS API Documentation
|
2603
|
+
#
|
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.
|
2611
|
+
#
|
2612
|
+
# @note When making an API call, you may pass PrivateDnsPropertiesMutable
|
2613
|
+
# data as a hash:
|
2614
|
+
#
|
2615
|
+
# {
|
2616
|
+
# soa: { # required
|
2617
|
+
# ttl: 1, # required
|
2618
|
+
# },
|
2619
|
+
# }
|
2620
|
+
#
|
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]
|
2625
|
+
#
|
2626
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PrivateDnsPropertiesMutable AWS API Documentation
|
2627
|
+
#
|
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.
|
2635
|
+
#
|
2636
|
+
# @note When making an API call, you may pass PrivateDnsPropertiesMutableChange
|
2637
|
+
# data as a hash:
|
2638
|
+
#
|
2639
|
+
# {
|
2640
|
+
# soa: { # required
|
2641
|
+
# ttl: 1, # required
|
2642
|
+
# },
|
2643
|
+
# }
|
2644
|
+
#
|
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]
|
2649
|
+
#
|
2650
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PrivateDnsPropertiesMutableChange AWS API Documentation
|
2651
|
+
#
|
2652
|
+
class PrivateDnsPropertiesMutableChange < Struct.new(
|
2653
|
+
:soa)
|
2654
|
+
SENSITIVE = []
|
2655
|
+
include Aws::Structure
|
2656
|
+
end
|
2657
|
+
|
2658
|
+
# Updated properties for the public DNS namespace.
|
2659
|
+
#
|
2660
|
+
# @note When making an API call, you may pass PublicDnsNamespaceChange
|
2661
|
+
# data as a hash:
|
2662
|
+
#
|
2663
|
+
# {
|
2664
|
+
# description: "ResourceDescription",
|
2665
|
+
# properties: {
|
2666
|
+
# dns_properties: { # required
|
2667
|
+
# soa: { # required
|
2668
|
+
# ttl: 1, # required
|
2669
|
+
# },
|
2670
|
+
# },
|
2671
|
+
# },
|
2672
|
+
# }
|
2673
|
+
#
|
2674
|
+
# @!attribute [rw] description
|
2675
|
+
# An updated description for the public DNS namespace.
|
2676
|
+
# @return [String]
|
2677
|
+
#
|
2678
|
+
# @!attribute [rw] properties
|
2679
|
+
# Properties to be updated in the public DNS namespace.
|
2680
|
+
# @return [Types::PublicDnsNamespacePropertiesChange]
|
2681
|
+
#
|
2682
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PublicDnsNamespaceChange AWS API Documentation
|
2683
|
+
#
|
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.
|
2692
|
+
#
|
2693
|
+
# @note When making an API call, you may pass PublicDnsNamespaceProperties
|
2694
|
+
# data as a hash:
|
2695
|
+
#
|
2696
|
+
# {
|
2697
|
+
# dns_properties: { # required
|
2698
|
+
# soa: { # required
|
2699
|
+
# ttl: 1, # required
|
2700
|
+
# },
|
2701
|
+
# },
|
2702
|
+
# }
|
2703
|
+
#
|
2704
|
+
# @!attribute [rw] dns_properties
|
2705
|
+
# DNS properties for the public DNS namespace.
|
2706
|
+
# @return [Types::PublicDnsPropertiesMutable]
|
2707
|
+
#
|
2708
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PublicDnsNamespaceProperties AWS API Documentation
|
2709
|
+
#
|
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.
|
2717
|
+
#
|
2718
|
+
# @note When making an API call, you may pass PublicDnsNamespacePropertiesChange
|
2719
|
+
# data as a hash:
|
2720
|
+
#
|
2721
|
+
# {
|
2722
|
+
# dns_properties: { # required
|
2723
|
+
# soa: { # required
|
2724
|
+
# ttl: 1, # required
|
2725
|
+
# },
|
2726
|
+
# },
|
2727
|
+
# }
|
2728
|
+
#
|
2729
|
+
# @!attribute [rw] dns_properties
|
2730
|
+
# Updated DNS properties for the hosted zone for the public DNS
|
2731
|
+
# namespace.
|
2732
|
+
# @return [Types::PublicDnsPropertiesMutableChange]
|
2733
|
+
#
|
2734
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PublicDnsNamespacePropertiesChange AWS API Documentation
|
2735
|
+
#
|
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.
|
2743
|
+
#
|
2744
|
+
# @note When making an API call, you may pass PublicDnsPropertiesMutable
|
2745
|
+
# data as a hash:
|
2746
|
+
#
|
2747
|
+
# {
|
2748
|
+
# soa: { # required
|
2749
|
+
# ttl: 1, # required
|
2750
|
+
# },
|
2751
|
+
# }
|
2752
|
+
#
|
2753
|
+
# @!attribute [rw] soa
|
2754
|
+
# Start of Authority (SOA) record for the hosted zone for the public
|
2755
|
+
# DNS namespace.
|
2756
|
+
# @return [Types::SOA]
|
2757
|
+
#
|
2758
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PublicDnsPropertiesMutable AWS API Documentation
|
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.
|
2767
|
+
#
|
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
|
+
|
2481
2790
|
# @note When making an API call, you may pass RegisterInstanceRequest
|
2482
2791
|
# data as a hash:
|
2483
2792
|
#
|
@@ -2510,10 +2819,10 @@ module Aws::ServiceDiscovery
|
|
2510
2819
|
# unique among instances that you register by using the same
|
2511
2820
|
# service.
|
2512
2821
|
#
|
2513
|
-
# * If you specify an existing `InstanceId` and `ServiceId`,
|
2514
|
-
#
|
2515
|
-
# existing health check,
|
2516
|
-
#
|
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.
|
2517
2826
|
#
|
2518
2827
|
# <note markdown="1"> The health check isn't deleted immediately, so it will still
|
2519
2828
|
# appear for a while if you submit a `ListHealthChecks` request, for
|
@@ -2552,12 +2861,11 @@ module Aws::ServiceDiscovery
|
|
2552
2861
|
#
|
2553
2862
|
# AWS\_ALIAS\_DNS\_NAME
|
2554
2863
|
#
|
2555
|
-
# : If you want
|
2556
|
-
#
|
2557
|
-
#
|
2558
|
-
#
|
2559
|
-
#
|
2560
|
-
# Reference*.
|
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*.
|
2561
2869
|
#
|
2562
2870
|
# Note the following:
|
2563
2871
|
#
|
@@ -2569,13 +2877,13 @@ module Aws::ServiceDiscovery
|
|
2569
2877
|
# `RoutingPolicy` must be `WEIGHTED`.
|
2570
2878
|
#
|
2571
2879
|
# * If the service that's specified by `ServiceId` includes
|
2572
|
-
# `HealthCheckConfig` settings,
|
2573
|
-
#
|
2574
|
-
#
|
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.
|
2575
2883
|
#
|
2576
2884
|
# * Auto naming currently doesn't support creating alias records
|
2577
|
-
# that route traffic to
|
2578
|
-
# Balancing load balancers.
|
2885
|
+
# that route traffic to Amazon Web Services resources other than
|
2886
|
+
# Elastic Load Balancing load balancers.
|
2579
2887
|
#
|
2580
2888
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
2581
2889
|
# values for any of the `AWS_INSTANCE` attributes.
|
@@ -2600,7 +2908,7 @@ module Aws::ServiceDiscovery
|
|
2600
2908
|
# AWS\_INSTANCE\_CNAME
|
2601
2909
|
#
|
2602
2910
|
# : If the service configuration includes a `CNAME` record, the domain
|
2603
|
-
# name that you want Route
|
2911
|
+
# name that you want Route 53 to return in response to DNS queries
|
2604
2912
|
# (for example, `example.com`).
|
2605
2913
|
#
|
2606
2914
|
# This value is required if the service specified by `ServiceId`
|
@@ -2609,7 +2917,7 @@ module Aws::ServiceDiscovery
|
|
2609
2917
|
# AWS\_INSTANCE\_IPV4
|
2610
2918
|
#
|
2611
2919
|
# : If the service configuration includes an `A` record, the IPv4
|
2612
|
-
# address that you want Route
|
2920
|
+
# address that you want Route 53 to return in response to DNS
|
2613
2921
|
# queries (for example, `192.0.2.44`).
|
2614
2922
|
#
|
2615
2923
|
# This value is required if the service specified by `ServiceId`
|
@@ -2620,7 +2928,7 @@ module Aws::ServiceDiscovery
|
|
2620
2928
|
# AWS\_INSTANCE\_IPV6
|
2621
2929
|
#
|
2622
2930
|
# : If the service configuration includes an `AAAA` record, the IPv6
|
2623
|
-
# address that you want Route
|
2931
|
+
# address that you want Route 53 to return in response to DNS
|
2624
2932
|
# queries (for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`).
|
2625
2933
|
#
|
2626
2934
|
# This value is required if the service specified by `ServiceId`
|
@@ -2631,13 +2939,13 @@ module Aws::ServiceDiscovery
|
|
2631
2939
|
# AWS\_INSTANCE\_PORT
|
2632
2940
|
#
|
2633
2941
|
# : If the service includes an `SRV` record, the value that you want
|
2634
|
-
# Route
|
2942
|
+
# Route 53 to return for the port.
|
2635
2943
|
#
|
2636
2944
|
# If the service includes `HealthCheckConfig`, the port on the
|
2637
|
-
# endpoint that you want Route
|
2945
|
+
# endpoint that you want Route 53 to send requests to.
|
2638
2946
|
#
|
2639
2947
|
# This value is required if you specified settings for an `SRV`
|
2640
|
-
# record or a Route
|
2948
|
+
# record or a Route 53 health check when you created the service.
|
2641
2949
|
#
|
2642
2950
|
# Custom attributes
|
2643
2951
|
#
|
@@ -2682,9 +2990,8 @@ module Aws::ServiceDiscovery
|
|
2682
2990
|
end
|
2683
2991
|
|
2684
2992
|
# The operation can't be completed because you've reached the quota
|
2685
|
-
# for the number of requests. For more information, see [
|
2686
|
-
#
|
2687
|
-
# 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*.
|
2688
2995
|
#
|
2689
2996
|
#
|
2690
2997
|
#
|
@@ -2743,16 +3050,59 @@ module Aws::ServiceDiscovery
|
|
2743
3050
|
include Aws::Structure
|
2744
3051
|
end
|
2745
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
|
+
|
2746
3097
|
# A complex type that contains information about the specified service.
|
2747
3098
|
#
|
2748
3099
|
# @!attribute [rw] id
|
2749
|
-
# The ID that
|
2750
|
-
# it.
|
3100
|
+
# The ID that Cloud Map assigned to the service when you created it.
|
2751
3101
|
# @return [String]
|
2752
3102
|
#
|
2753
3103
|
# @!attribute [rw] arn
|
2754
|
-
# The Amazon Resource Name (ARN) that
|
2755
|
-
#
|
3104
|
+
# The Amazon Resource Name (ARN) that Cloud Map assigns to the service
|
3105
|
+
# when you create it.
|
2756
3106
|
# @return [String]
|
2757
3107
|
#
|
2758
3108
|
# @!attribute [rw] name
|
@@ -2775,8 +3125,8 @@ module Aws::ServiceDiscovery
|
|
2775
3125
|
# @return [Integer]
|
2776
3126
|
#
|
2777
3127
|
# @!attribute [rw] dns_config
|
2778
|
-
# A complex type that contains information about the Route
|
2779
|
-
# records that you want
|
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
|
2780
3130
|
# instance.
|
2781
3131
|
# @return [Types::DnsConfig]
|
2782
3132
|
#
|
@@ -2802,11 +3152,11 @@ module Aws::ServiceDiscovery
|
|
2802
3152
|
# @!attribute [rw] health_check_config
|
2803
3153
|
# *Public DNS and HTTP namespaces only.* A complex type that contains
|
2804
3154
|
# settings for an optional health check. If you specify settings for a
|
2805
|
-
# health check,
|
2806
|
-
#
|
3155
|
+
# health check, Cloud Map associates the health check with the records
|
3156
|
+
# that you specify in `DnsConfig`.
|
2807
3157
|
#
|
2808
3158
|
# For information about the charges for health checks, see [Amazon
|
2809
|
-
# Route
|
3159
|
+
# Route 53 Pricing][1].
|
2810
3160
|
#
|
2811
3161
|
#
|
2812
3162
|
#
|
@@ -2905,14 +3255,14 @@ module Aws::ServiceDiscovery
|
|
2905
3255
|
# @return [String]
|
2906
3256
|
#
|
2907
3257
|
# @!attribute [rw] dns_config
|
2908
|
-
# Information about the Route
|
2909
|
-
#
|
3258
|
+
# Information about the Route 53 DNS records that you want Cloud Map
|
3259
|
+
# to create when you register an instance.
|
2910
3260
|
# @return [Types::DnsConfigChange]
|
2911
3261
|
#
|
2912
3262
|
# @!attribute [rw] health_check_config
|
2913
3263
|
# *Public DNS and HTTP namespaces only.* Settings for an optional
|
2914
|
-
# health check. If you specify settings for a health check,
|
2915
|
-
#
|
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
|
2916
3266
|
# `DnsConfig`.
|
2917
3267
|
# @return [Types::HealthCheckConfig]
|
2918
3268
|
#
|
@@ -2988,13 +3338,12 @@ module Aws::ServiceDiscovery
|
|
2988
3338
|
# A complex type that contains information about a specified service.
|
2989
3339
|
#
|
2990
3340
|
# @!attribute [rw] id
|
2991
|
-
# The ID that
|
2992
|
-
# it.
|
3341
|
+
# The ID that Cloud Map assigned to the service when you created it.
|
2993
3342
|
# @return [String]
|
2994
3343
|
#
|
2995
3344
|
# @!attribute [rw] arn
|
2996
|
-
# The Amazon Resource Name (ARN) that
|
2997
|
-
#
|
3345
|
+
# The Amazon Resource Name (ARN) that Cloud Map assigns to the service
|
3346
|
+
# when you create it.
|
2998
3347
|
# @return [String]
|
2999
3348
|
#
|
3000
3349
|
# @!attribute [rw] name
|
@@ -3032,14 +3381,14 @@ module Aws::ServiceDiscovery
|
|
3032
3381
|
# @return [Integer]
|
3033
3382
|
#
|
3034
3383
|
# @!attribute [rw] dns_config
|
3035
|
-
# Information about the Route
|
3036
|
-
#
|
3384
|
+
# Information about the Route 53 DNS records that you want Cloud Map
|
3385
|
+
# to create when you register an instance.
|
3037
3386
|
# @return [Types::DnsConfig]
|
3038
3387
|
#
|
3039
3388
|
# @!attribute [rw] health_check_config
|
3040
3389
|
# *Public DNS and HTTP namespaces only.* Settings for an optional
|
3041
|
-
# health check. If you specify settings for a health check,
|
3042
|
-
#
|
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
|
3043
3392
|
# `DnsConfig`.
|
3044
3393
|
# @return [Types::HealthCheckConfig]
|
3045
3394
|
#
|
@@ -3198,6 +3547,63 @@ module Aws::ServiceDiscovery
|
|
3198
3547
|
#
|
3199
3548
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
3200
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
|
+
|
3201
3607
|
# @note When making an API call, you may pass UpdateInstanceCustomHealthStatusRequest
|
3202
3608
|
# data as a hash:
|
3203
3609
|
#
|
@@ -3231,6 +3637,134 @@ module Aws::ServiceDiscovery
|
|
3231
3637
|
include Aws::Structure
|
3232
3638
|
end
|
3233
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
|
+
|
3234
3768
|
# @note When making an API call, you may pass UpdateServiceRequest
|
3235
3769
|
# data as a hash:
|
3236
3770
|
#
|