aws-sdk-servicediscovery 1.35.0 → 1.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-servicediscovery.rb +1 -1
- data/lib/aws-sdk-servicediscovery/client.rb +311 -119
- data/lib/aws-sdk-servicediscovery/client_api.rb +123 -0
- data/lib/aws-sdk-servicediscovery/types.rb +860 -314
- metadata +4 -4
@@ -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"
|
@@ -33,7 +33,7 @@ module Aws::ServiceDiscovery
|
|
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
35
|
# running the operation twice. `CreatorRequestId` can be any unique
|
36
|
-
# string
|
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.
|
@@ -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
|
#
|
@@ -106,7 +113,7 @@ module Aws::ServiceDiscovery
|
|
106
113
|
# A unique string that identifies the request and that allows failed
|
107
114
|
# `CreatePrivateDnsNamespace` requests to be retried without the risk
|
108
115
|
# of running the operation twice. `CreatorRequestId` can be any unique
|
109
|
-
# string
|
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.
|
@@ -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
|
@@ -181,7 +200,7 @@ module Aws::ServiceDiscovery
|
|
181
200
|
# A unique string that identifies the request and that allows failed
|
182
201
|
# `CreatePublicDnsNamespace` requests to be retried without the risk
|
183
202
|
# of running the operation twice. `CreatorRequestId` can be any unique
|
184
|
-
# string
|
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.
|
@@ -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,20 +289,19 @@ 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
|
-
# `_exampleservice._tcp.example.com`
|
304
|
+
# `_exampleservice._tcp.example.com`).
|
282
305
|
#
|
283
306
|
# <note markdown="1"> For services that are accessible by DNS queries, you can't create
|
284
307
|
# multiple services with names that differ only by case (such as
|
@@ -303,8 +326,8 @@ module Aws::ServiceDiscovery
|
|
303
326
|
# @!attribute [rw] creator_request_id
|
304
327
|
# A unique string that identifies the request and that allows failed
|
305
328
|
# `CreateService` requests to be retried without the risk of running
|
306
|
-
# the operation twice. `CreatorRequestId` can be any unique string
|
307
|
-
# for example, a date/timestamp.
|
329
|
+
# the operation twice. `CreatorRequestId` can be any unique string
|
330
|
+
# (for example, a date/timestamp).
|
308
331
|
#
|
309
332
|
# **A suitable default value is auto-generated.** You should normally
|
310
333
|
# not need to pass this option.
|
@@ -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
|
#
|
@@ -359,7 +381,7 @@ module Aws::ServiceDiscovery
|
|
359
381
|
# @!attribute [rw] type
|
360
382
|
# If present, specifies that the service instances are only
|
361
383
|
# discoverable using the `DiscoverInstances` API operation. No DNS
|
362
|
-
# records
|
384
|
+
# records is registered for the service instances. The only valid
|
363
385
|
# value is `HTTP`.
|
364
386
|
# @return [String]
|
365
387
|
#
|
@@ -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
|
#
|
@@ -525,12 +548,12 @@ module Aws::ServiceDiscovery
|
|
525
548
|
# optional_parameters: {
|
526
549
|
# "AttrKey" => "AttrValue",
|
527
550
|
# },
|
528
|
-
# health_status: "HEALTHY", # accepts HEALTHY, UNHEALTHY, ALL
|
551
|
+
# health_status: "HEALTHY", # accepts HEALTHY, UNHEALTHY, ALL, HEALTHY_OR_ELSE_ALL
|
529
552
|
# }
|
530
553
|
#
|
531
554
|
# @!attribute [rw] namespace_name
|
532
|
-
# The `HttpName` name of the namespace
|
533
|
-
# member of the `Properties` member of the namespace.
|
555
|
+
# The `HttpName` name of the namespace. It's found in the
|
556
|
+
# `HttpProperties` member of the `Properties` member of the namespace.
|
534
557
|
# @return [String]
|
535
558
|
#
|
536
559
|
# @!attribute [rw] service_name
|
@@ -539,15 +562,14 @@ 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
|
549
571
|
# Filters to scope the results based on custom attributes for the
|
550
|
-
# instance
|
572
|
+
# instance (for example, `\{version=v1, az=1a\}`). Only instances that
|
551
573
|
# match all the specified key-value pairs are returned.
|
552
574
|
# @return [Hash<String,String>]
|
553
575
|
#
|
@@ -555,13 +577,33 @@ module Aws::ServiceDiscovery
|
|
555
577
|
# Opportunistic filters to scope the results based on custom
|
556
578
|
# attributes. If there are instances that match both the filters
|
557
579
|
# specified in both the `QueryParameters` parameter and this
|
558
|
-
# parameter,
|
559
|
-
# and only instances that match the filters
|
560
|
-
# `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.
|
561
583
|
# @return [Hash<String,String>]
|
562
584
|
#
|
563
585
|
# @!attribute [rw] health_status
|
564
|
-
# 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.
|
565
607
|
# @return [String]
|
566
608
|
#
|
567
609
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstancesRequest AWS API Documentation
|
@@ -590,8 +632,8 @@ module Aws::ServiceDiscovery
|
|
590
632
|
include Aws::Structure
|
591
633
|
end
|
592
634
|
|
593
|
-
# A complex type that contains information about the Amazon Route
|
594
|
-
# 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
|
595
637
|
# instance.
|
596
638
|
#
|
597
639
|
# @note When making an API call, you may pass DnsConfig
|
@@ -613,8 +655,8 @@ module Aws::ServiceDiscovery
|
|
613
655
|
# @return [String]
|
614
656
|
#
|
615
657
|
# @!attribute [rw] routing_policy
|
616
|
-
# The routing policy that you want to apply to all Route
|
617
|
-
# 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
|
618
660
|
# specify this service.
|
619
661
|
#
|
620
662
|
# <note markdown="1"> If you want to use this service to register instances that create
|
@@ -627,43 +669,43 @@ module Aws::ServiceDiscovery
|
|
627
669
|
# MULTIVALUE
|
628
670
|
#
|
629
671
|
# : If you define a health check for the service and the health check
|
630
|
-
# is healthy, Route
|
672
|
+
# is healthy, Route 53 returns the applicable value for up to eight
|
631
673
|
# instances.
|
632
674
|
#
|
633
675
|
# For example, suppose that the service includes configurations for
|
634
676
|
# one `A` record and a health check. You use the service to register
|
635
|
-
# 10 instances. Route
|
677
|
+
# 10 instances. Route 53 responds to DNS queries with IP addresses
|
636
678
|
# for up to eight healthy instances. If fewer than eight instances
|
637
|
-
# are healthy, Route
|
679
|
+
# are healthy, Route 53 responds to every DNS query with the IP
|
638
680
|
# addresses for all of the healthy instances.
|
639
681
|
#
|
640
|
-
# 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
|
641
683
|
# assumes that all instances are healthy and returns the values for
|
642
684
|
# up to eight instances.
|
643
685
|
#
|
644
686
|
# For more information about the multivalue routing policy, see
|
645
|
-
# [Multivalue Answer Routing][1] in the *Route
|
687
|
+
# [Multivalue Answer Routing][1] in the *Route 53 Developer Guide*.
|
646
688
|
#
|
647
689
|
# WEIGHTED
|
648
690
|
#
|
649
|
-
# : Route
|
691
|
+
# : Route 53 returns the applicable value from one randomly selected
|
650
692
|
# instance from among the instances that you registered using the
|
651
693
|
# same service. Currently, all records have the same weight, so you
|
652
694
|
# can't route more or less traffic to any instances.
|
653
695
|
#
|
654
696
|
# For example, suppose that the service includes configurations for
|
655
697
|
# one `A` record and a health check. You use the service to register
|
656
|
-
# 10 instances. Route
|
698
|
+
# 10 instances. Route 53 responds to DNS queries with the IP address
|
657
699
|
# for one randomly selected instance from among the healthy
|
658
|
-
# instances. If no instances are healthy, Route
|
700
|
+
# instances. If no instances are healthy, Route 53 responds to DNS
|
659
701
|
# queries as if all of the instances were healthy.
|
660
702
|
#
|
661
|
-
# 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
|
662
704
|
# assumes that all instances are healthy and returns the applicable
|
663
705
|
# value for one randomly selected instance.
|
664
706
|
#
|
665
707
|
# For more information about the weighted routing policy, see
|
666
|
-
# [Weighted Routing][2] in the *Route
|
708
|
+
# [Weighted Routing][2] in the *Route 53 Developer Guide*.
|
667
709
|
#
|
668
710
|
#
|
669
711
|
#
|
@@ -672,8 +714,8 @@ module Aws::ServiceDiscovery
|
|
672
714
|
# @return [String]
|
673
715
|
#
|
674
716
|
# @!attribute [rw] dns_records
|
675
|
-
# An array that contains one `DnsRecord` object for each Route
|
676
|
-
# 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
|
677
719
|
# instance.
|
678
720
|
# @return [Array<Types::DnsRecord>]
|
679
721
|
#
|
@@ -687,8 +729,8 @@ module Aws::ServiceDiscovery
|
|
687
729
|
include Aws::Structure
|
688
730
|
end
|
689
731
|
|
690
|
-
# A complex type that contains information about changes to the Route
|
691
|
-
# 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.
|
692
734
|
#
|
693
735
|
# @note When making an API call, you may pass DnsConfigChange
|
694
736
|
# data as a hash:
|
@@ -703,8 +745,8 @@ module Aws::ServiceDiscovery
|
|
703
745
|
# }
|
704
746
|
#
|
705
747
|
# @!attribute [rw] dns_records
|
706
|
-
# An array that contains one `DnsRecord` object for each Route
|
707
|
-
# 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
|
708
750
|
# instance.
|
709
751
|
# @return [Array<Types::DnsRecord>]
|
710
752
|
#
|
@@ -716,24 +758,29 @@ module Aws::ServiceDiscovery
|
|
716
758
|
include Aws::Structure
|
717
759
|
end
|
718
760
|
|
719
|
-
# A complex type that contains the ID for the Route
|
720
|
-
#
|
761
|
+
# A complex type that contains the ID for the Route 53 hosted zone that
|
762
|
+
# Cloud Map creates when you create a namespace.
|
721
763
|
#
|
722
764
|
# @!attribute [rw] hosted_zone_id
|
723
|
-
# The ID for the Route
|
724
|
-
#
|
765
|
+
# The ID for the Route 53 hosted zone that Cloud Map creates when you
|
766
|
+
# create a namespace.
|
725
767
|
# @return [String]
|
726
768
|
#
|
769
|
+
# @!attribute [rw] soa
|
770
|
+
# Start of Authority (SOA) record for the hosted zone.
|
771
|
+
# @return [Types::SOA]
|
772
|
+
#
|
727
773
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsProperties AWS API Documentation
|
728
774
|
#
|
729
775
|
class DnsProperties < Struct.new(
|
730
|
-
:hosted_zone_id
|
776
|
+
:hosted_zone_id,
|
777
|
+
:soa)
|
731
778
|
SENSITIVE = []
|
732
779
|
include Aws::Structure
|
733
780
|
end
|
734
781
|
|
735
|
-
# A complex type that contains information about the Route
|
736
|
-
# 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
|
737
784
|
# instance.
|
738
785
|
#
|
739
786
|
# @note When making an API call, you may pass DnsRecord
|
@@ -746,7 +793,7 @@ module Aws::ServiceDiscovery
|
|
746
793
|
#
|
747
794
|
# @!attribute [rw] type
|
748
795
|
# The type of the resource, which indicates the type of value that
|
749
|
-
# Route
|
796
|
+
# Route 53 returns in response to DNS queries. You can specify values
|
750
797
|
# for `Type` in the following combinations:
|
751
798
|
#
|
752
799
|
# * <b> <code>A</code> </b>
|
@@ -759,7 +806,7 @@ module Aws::ServiceDiscovery
|
|
759
806
|
#
|
760
807
|
# * <b> <code>CNAME</code> </b>
|
761
808
|
#
|
762
|
-
# If you want
|
809
|
+
# If you want Cloud Map to create a Route 53 alias record when you
|
763
810
|
# register an instance, specify `A` or `AAAA` for `Type`.
|
764
811
|
#
|
765
812
|
# You specify other settings, such as the IP address for `A` and
|
@@ -770,17 +817,17 @@ module Aws::ServiceDiscovery
|
|
770
817
|
#
|
771
818
|
# A
|
772
819
|
#
|
773
|
-
# : Route
|
820
|
+
# : Route 53 returns the IP address of the resource in IPv4 format,
|
774
821
|
# such as 192.0.2.44.
|
775
822
|
#
|
776
823
|
# AAAA
|
777
824
|
#
|
778
|
-
# : Route
|
825
|
+
# : Route 53 returns the IP address of the resource in IPv6 format,
|
779
826
|
# such as 2001:0db8:85a3:0000:0000:abcd:0001:2345.
|
780
827
|
#
|
781
828
|
# CNAME
|
782
829
|
#
|
783
|
-
# : Route
|
830
|
+
# : Route 53 returns the domain name of the resource, such as
|
784
831
|
# www.example.com. Note the following:
|
785
832
|
#
|
786
833
|
# * You specify the domain name that you want to route traffic to
|
@@ -795,7 +842,7 @@ module Aws::ServiceDiscovery
|
|
795
842
|
#
|
796
843
|
# SRV
|
797
844
|
#
|
798
|
-
# : Route
|
845
|
+
# : Route 53 returns the value for an `SRV` record. The value for an
|
799
846
|
# `SRV` record uses the following values:
|
800
847
|
#
|
801
848
|
# `priority weight port service-hostname`
|
@@ -829,9 +876,9 @@ module Aws::ServiceDiscovery
|
|
829
876
|
#
|
830
877
|
# * If you specify values for `AWS_INSTANCE_IPV4`,
|
831
878
|
# `AWS_INSTANCE_IPV6`, or both in the `RegisterInstance` request,
|
832
|
-
#
|
833
|
-
#
|
834
|
-
#
|
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.
|
835
882
|
#
|
836
883
|
# * If you're using a system that requires a specific `SRV` format,
|
837
884
|
# such as HAProxy, see the [Name][3] element in the documentation
|
@@ -849,12 +896,12 @@ module Aws::ServiceDiscovery
|
|
849
896
|
# The amount of time, in seconds, that you want DNS resolvers to cache
|
850
897
|
# the settings for this record.
|
851
898
|
#
|
852
|
-
# <note markdown="1"> Alias records don't include a TTL because Route
|
853
|
-
# the
|
854
|
-
# include the `AWS_ALIAS_DNS_NAME` attribute when you
|
855
|
-
# [RegisterInstance][1] request, the `TTL` value is ignored.
|
856
|
-
# specify a TTL for the service; you can use a service to
|
857
|
-
# 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.
|
858
905
|
#
|
859
906
|
# </note>
|
860
907
|
#
|
@@ -878,7 +925,7 @@ module Aws::ServiceDiscovery
|
|
878
925
|
# @return [String]
|
879
926
|
#
|
880
927
|
# @!attribute [rw] duplicate_operation_id
|
881
|
-
# The ID of the operation that
|
928
|
+
# The ID of the operation that's already in progress.
|
882
929
|
# @return [String]
|
883
930
|
#
|
884
931
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DuplicateRequest AWS API Documentation
|
@@ -945,8 +992,8 @@ module Aws::ServiceDiscovery
|
|
945
992
|
# An array that contains the IDs of all the instances that you want to
|
946
993
|
# get the health status for.
|
947
994
|
#
|
948
|
-
# If you omit `Instances`,
|
949
|
-
#
|
995
|
+
# If you omit `Instances`, Cloud Map returns the health status for all
|
996
|
+
# the instances that are associated with the specified service.
|
950
997
|
#
|
951
998
|
# <note markdown="1"> To get the IDs for the instances that you've registered by using a
|
952
999
|
# specified service, submit a [ListInstances][1] request.
|
@@ -959,10 +1006,10 @@ module Aws::ServiceDiscovery
|
|
959
1006
|
# @return [Array<String>]
|
960
1007
|
#
|
961
1008
|
# @!attribute [rw] max_results
|
962
|
-
# The maximum number of instances that you want
|
963
|
-
#
|
964
|
-
#
|
965
|
-
#
|
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.
|
966
1013
|
# @return [Integer]
|
967
1014
|
#
|
968
1015
|
# @!attribute [rw] next_token
|
@@ -1103,24 +1150,24 @@ module Aws::ServiceDiscovery
|
|
1103
1150
|
|
1104
1151
|
# *Public DNS and HTTP namespaces only.* A complex type that contains
|
1105
1152
|
# settings for an optional health check. If you specify settings for a
|
1106
|
-
# health check,
|
1107
|
-
#
|
1153
|
+
# health check, Cloud Map associates the health check with the records
|
1154
|
+
# that you specify in `DnsConfig`.
|
1108
1155
|
#
|
1109
1156
|
# If you specify a health check configuration, you can specify either
|
1110
1157
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
1111
1158
|
#
|
1112
|
-
# Health checks are basic Route
|
1113
|
-
# endpoint. For information about pricing for health
|
1114
|
-
# 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].
|
1115
1162
|
#
|
1116
1163
|
# Note the following about configuring health checks.
|
1117
1164
|
#
|
1118
1165
|
# A and AAAA records
|
1119
1166
|
#
|
1120
1167
|
# : If `DnsConfig` includes configurations for both `A` and `AAAA`
|
1121
|
-
# records,
|
1122
|
-
#
|
1123
|
-
# specified by the IPv4 address is unhealthy, Route
|
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
|
1124
1171
|
# the `A` and `AAAA` records to be unhealthy.
|
1125
1172
|
#
|
1126
1173
|
# CNAME records
|
@@ -1131,39 +1178,40 @@ module Aws::ServiceDiscovery
|
|
1131
1178
|
#
|
1132
1179
|
# Request interval
|
1133
1180
|
#
|
1134
|
-
# : A Route
|
1135
|
-
# health check request to an endpoint every 30
|
1136
|
-
# your endpoint receives a health check request
|
1137
|
-
# seconds. However, health checkers don't coordinate
|
1138
|
-
# another,
|
1139
|
-
# followed by a few seconds with no
|
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.
|
1140
1188
|
#
|
1141
1189
|
# Health checking regions
|
1142
1190
|
#
|
1143
|
-
# : Health checkers perform checks from all Route
|
1144
|
-
#
|
1191
|
+
# : Health checkers perform checks from all Route 53 health-checking
|
1192
|
+
# Regions. For a list of the current Regions, see [Regions][2].
|
1145
1193
|
#
|
1146
1194
|
# Alias records
|
1147
1195
|
#
|
1148
1196
|
# : When you register an instance, if you include the
|
1149
|
-
# `AWS_ALIAS_DNS_NAME` attribute,
|
1150
|
-
#
|
1197
|
+
# `AWS_ALIAS_DNS_NAME` attribute, Cloud Map creates a Route 53 alias
|
1198
|
+
# record. Note the following:
|
1151
1199
|
#
|
1152
|
-
# * Route
|
1200
|
+
# * Route 53 automatically sets `EvaluateTargetHealth` to true for
|
1153
1201
|
# alias records. When `EvaluateTargetHealth` is true, the alias
|
1154
|
-
# record inherits the health of the referenced
|
1155
|
-
# 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
|
1156
1204
|
# [EvaluateTargetHealth][3].
|
1157
1205
|
#
|
1158
1206
|
# * If you include `HealthCheckConfig` and then use the service to
|
1159
|
-
# register an instance that creates an alias record, Route
|
1207
|
+
# register an instance that creates an alias record, Route 53
|
1160
1208
|
# doesn't create the health check.
|
1161
1209
|
#
|
1162
1210
|
# Charges for health checks
|
1163
1211
|
#
|
1164
|
-
# : Health checks are basic Route
|
1165
|
-
# endpoint. For information about pricing for
|
1166
|
-
# [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].
|
1167
1215
|
#
|
1168
1216
|
#
|
1169
1217
|
#
|
@@ -1182,31 +1230,31 @@ module Aws::ServiceDiscovery
|
|
1182
1230
|
#
|
1183
1231
|
# @!attribute [rw] type
|
1184
1232
|
# The type of health check that you want to create, which indicates
|
1185
|
-
# how Route
|
1233
|
+
# how Route 53 determines whether an endpoint is healthy.
|
1186
1234
|
#
|
1187
1235
|
# You can't change the value of `Type` after you create a health
|
1188
1236
|
# check.
|
1189
1237
|
#
|
1190
1238
|
# You can create the following types of health checks:
|
1191
1239
|
#
|
1192
|
-
# * **HTTP**\: Route
|
1193
|
-
# 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
|
1194
1242
|
# status code of 200 or greater and less than 400.
|
1195
1243
|
#
|
1196
|
-
# * **HTTPS**\: Route
|
1197
|
-
# 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
|
1198
1246
|
# HTTP status code of 200 or greater and less than 400.
|
1199
1247
|
#
|
1200
1248
|
# If you specify HTTPS for the value of `Type`, the endpoint must
|
1201
1249
|
# support TLS v1.0 or later.
|
1202
1250
|
#
|
1203
|
-
# * **TCP**\: Route
|
1251
|
+
# * **TCP**\: Route 53 tries to establish a TCP connection.
|
1204
1252
|
#
|
1205
1253
|
# If you specify `TCP` for `Type`, don't specify a value for
|
1206
1254
|
# `ResourcePath`.
|
1207
1255
|
#
|
1208
|
-
# For more information, see [How Route
|
1209
|
-
# 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*.
|
1210
1258
|
#
|
1211
1259
|
#
|
1212
1260
|
#
|
@@ -1214,12 +1262,12 @@ module Aws::ServiceDiscovery
|
|
1214
1262
|
# @return [String]
|
1215
1263
|
#
|
1216
1264
|
# @!attribute [rw] resource_path
|
1217
|
-
# The path that you want Route
|
1218
|
-
# checks. The path can be any value
|
1219
|
-
#
|
1220
|
-
#
|
1221
|
-
#
|
1222
|
-
#
|
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 `/`.
|
1223
1271
|
#
|
1224
1272
|
# If you specify `TCP` for `Type`, you must *not* specify a value for
|
1225
1273
|
# `ResourcePath`.
|
@@ -1227,10 +1275,10 @@ module Aws::ServiceDiscovery
|
|
1227
1275
|
#
|
1228
1276
|
# @!attribute [rw] failure_threshold
|
1229
1277
|
# The number of consecutive health checks that an endpoint must pass
|
1230
|
-
# or fail for Route
|
1278
|
+
# or fail for Route 53 to change the current status of the endpoint
|
1231
1279
|
# from unhealthy to healthy or the other way around. For more
|
1232
|
-
# information, see [How Route
|
1233
|
-
# 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*.
|
1234
1282
|
#
|
1235
1283
|
#
|
1236
1284
|
#
|
@@ -1252,40 +1300,34 @@ module Aws::ServiceDiscovery
|
|
1252
1300
|
# third-party health checker to evaluate the health of your resources,
|
1253
1301
|
# is useful in the following circumstances:
|
1254
1302
|
#
|
1255
|
-
# * You can't use a health check that
|
1303
|
+
# * You can't use a health check that's defined by `HealthCheckConfig`
|
1256
1304
|
# because the resource isn't available over the internet. For
|
1257
1305
|
# example, you can use a custom health check when the instance is in
|
1258
1306
|
# an Amazon VPC. (To check the health of resources in a VPC, the
|
1259
1307
|
# health checker must also be in the VPC.)
|
1260
1308
|
#
|
1261
1309
|
# * You want to use a third-party health checker regardless of where
|
1262
|
-
# your resources are.
|
1310
|
+
# your resources are located.
|
1263
1311
|
#
|
1264
1312
|
# If you specify a health check configuration, you can specify either
|
1265
1313
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
1266
1314
|
#
|
1267
1315
|
# To change the status of a custom health check, submit an
|
1268
|
-
# `UpdateInstanceCustomHealthStatus` request.
|
1269
|
-
#
|
1270
|
-
#
|
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`
|
1271
1319
|
# request.
|
1272
1320
|
#
|
1273
1321
|
# Here's how custom health checks work:
|
1274
1322
|
#
|
1275
|
-
# 1. You create a service
|
1276
|
-
#
|
1277
|
-
# The failure threshold indicates the number of 30-second intervals
|
1278
|
-
# you want AWS Cloud Map to wait between the time that your
|
1279
|
-
# application sends an [UpdateInstanceCustomHealthStatus][1] request
|
1280
|
-
# and the time that AWS Cloud Map stops routing internet traffic to
|
1281
|
-
# the corresponding resource.
|
1323
|
+
# 1. You create a service.
|
1282
1324
|
#
|
1283
1325
|
# 2. You register an instance.
|
1284
1326
|
#
|
1285
1327
|
# 3. You configure a third-party health checker to monitor the resource
|
1286
|
-
# that
|
1328
|
+
# that's associated with the new instance.
|
1287
1329
|
#
|
1288
|
-
# <note markdown="1">
|
1330
|
+
# <note markdown="1"> Cloud Map doesn't check the health of the resource directly.
|
1289
1331
|
#
|
1290
1332
|
# </note>
|
1291
1333
|
#
|
@@ -1295,16 +1337,12 @@ module Aws::ServiceDiscovery
|
|
1295
1337
|
# 5. Your application submits an `UpdateInstanceCustomHealthStatus`
|
1296
1338
|
# request.
|
1297
1339
|
#
|
1298
|
-
# 6.
|
1340
|
+
# 6. Cloud Map waits for 30 seconds.
|
1299
1341
|
#
|
1300
1342
|
# 7. If another `UpdateInstanceCustomHealthStatus` request doesn't
|
1301
|
-
# arrive during that time to change the status back to healthy,
|
1343
|
+
# arrive during that time to change the status back to healthy,
|
1302
1344
|
# Cloud Map stops routing traffic to the resource.
|
1303
1345
|
#
|
1304
|
-
#
|
1305
|
-
#
|
1306
|
-
# [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_UpdateInstanceCustomHealthStatus.html
|
1307
|
-
#
|
1308
1346
|
# @note When making an API call, you may pass HealthCheckCustomConfig
|
1309
1347
|
# data as a hash:
|
1310
1348
|
#
|
@@ -1313,19 +1351,19 @@ module Aws::ServiceDiscovery
|
|
1313
1351
|
# }
|
1314
1352
|
#
|
1315
1353
|
# @!attribute [rw] failure_threshold
|
1316
|
-
# This parameter
|
1354
|
+
# This parameter is no longer supported and is always set to 1. Cloud
|
1317
1355
|
# Map waits for approximately 30 seconds after receiving an
|
1318
1356
|
# `UpdateInstanceCustomHealthStatus` request before changing the
|
1319
1357
|
# status of the service instance.
|
1320
1358
|
#
|
1321
|
-
# The number of 30-second intervals that you want
|
1322
|
-
#
|
1323
|
-
#
|
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.
|
1324
1362
|
#
|
1325
1363
|
# Sending a second or subsequent `UpdateInstanceCustomHealthStatus`
|
1326
1364
|
# request with the same value before 30 seconds has passed doesn't
|
1327
|
-
# accelerate the change.
|
1328
|
-
#
|
1365
|
+
# accelerate the change. Cloud Map still waits `30` seconds after the
|
1366
|
+
# first request to make the change.
|
1329
1367
|
# @return [Integer]
|
1330
1368
|
#
|
1331
1369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/HealthCheckCustomConfig AWS API Documentation
|
@@ -1350,7 +1388,7 @@ module Aws::ServiceDiscovery
|
|
1350
1388
|
# @return [String]
|
1351
1389
|
#
|
1352
1390
|
# @!attribute [rw] namespace_name
|
1353
|
-
# ` </p> The HttpName name of the namespace
|
1391
|
+
# ` </p> The HttpName name of the namespace. It's found in the
|
1354
1392
|
# HttpProperties member of the Properties member of the namespace.
|
1355
1393
|
# `
|
1356
1394
|
# @return [String]
|
@@ -1382,6 +1420,27 @@ module Aws::ServiceDiscovery
|
|
1382
1420
|
include Aws::Structure
|
1383
1421
|
end
|
1384
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
|
+
|
1385
1444
|
# A complex type that contains the name of an HTTP namespace.
|
1386
1445
|
#
|
1387
1446
|
# @!attribute [rw] http_name
|
@@ -1396,28 +1455,28 @@ module Aws::ServiceDiscovery
|
|
1396
1455
|
include Aws::Structure
|
1397
1456
|
end
|
1398
1457
|
|
1399
|
-
# A complex type that contains information about an instance that
|
1400
|
-
#
|
1458
|
+
# A complex type that contains information about an instance that Cloud
|
1459
|
+
# Map creates when you submit a `RegisterInstance` request.
|
1401
1460
|
#
|
1402
1461
|
# @!attribute [rw] id
|
1403
1462
|
# An identifier that you want to associate with the instance. Note the
|
1404
1463
|
# following:
|
1405
1464
|
#
|
1406
|
-
# * If the service that
|
1465
|
+
# * If the service that's specified by `ServiceId` includes settings
|
1407
1466
|
# for an `SRV` record, the value of `InstanceId` is automatically
|
1408
1467
|
# included as part of the value for the `SRV` record. For more
|
1409
1468
|
# information, see [DnsRecord > Type][1].
|
1410
1469
|
#
|
1411
1470
|
# * You can use this value to update an existing instance.
|
1412
1471
|
#
|
1413
|
-
# * To register a new instance, you must specify a value that
|
1472
|
+
# * To register a new instance, you must specify a value that's
|
1414
1473
|
# unique among instances that you register by using the same
|
1415
1474
|
# service.
|
1416
1475
|
#
|
1417
|
-
# * If you specify an existing `InstanceId` and `ServiceId`,
|
1418
|
-
#
|
1419
|
-
# health check,
|
1420
|
-
#
|
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.
|
1421
1480
|
#
|
1422
1481
|
# <note markdown="1"> The health check isn't deleted immediately, so it will still
|
1423
1482
|
# appear for a while if you submit a `ListHealthChecks` request, for
|
@@ -1436,8 +1495,8 @@ module Aws::ServiceDiscovery
|
|
1436
1495
|
# executing the operation twice. You must use a unique
|
1437
1496
|
# `CreatorRequestId` string every time you submit a `RegisterInstance`
|
1438
1497
|
# request if you're registering additional instances for the same
|
1439
|
-
# namespace and service. `CreatorRequestId` can be any unique string
|
1440
|
-
# for example, a date/time stamp.
|
1498
|
+
# namespace and service. `CreatorRequestId` can be any unique string
|
1499
|
+
# (for example, a date/time stamp).
|
1441
1500
|
# @return [String]
|
1442
1501
|
#
|
1443
1502
|
# @!attribute [rw] attributes
|
@@ -1453,29 +1512,29 @@ module Aws::ServiceDiscovery
|
|
1453
1512
|
#
|
1454
1513
|
# AWS\_ALIAS\_DNS\_NAME
|
1455
1514
|
#
|
1456
|
-
# : If you want
|
1515
|
+
# : If you want Cloud Map to create a Route 53 alias record that
|
1457
1516
|
# routes traffic to an Elastic Load Balancing load balancer, specify
|
1458
|
-
# the DNS name that
|
1517
|
+
# the DNS name that's associated with the load balancer. For
|
1459
1518
|
# information about how to get the DNS name, see
|
1460
|
-
# [AliasTarget->DNSName][1] in the *Route
|
1519
|
+
# [AliasTarget->DNSName][1] in the *Route 53 API Reference*.
|
1461
1520
|
#
|
1462
1521
|
# Note the following:
|
1463
1522
|
#
|
1464
|
-
# * The configuration for the service that
|
1523
|
+
# * The configuration for the service that's specified by
|
1465
1524
|
# `ServiceId` must include settings for an `A` record, an `AAAA`
|
1466
1525
|
# record, or both.
|
1467
1526
|
#
|
1468
|
-
# * In the service that
|
1527
|
+
# * In the service that's specified by `ServiceId`, the value of
|
1469
1528
|
# `RoutingPolicy` must be `WEIGHTED`.
|
1470
1529
|
#
|
1471
|
-
# * If the service that
|
1472
|
-
# `HealthCheckConfig` settings,
|
1530
|
+
# * If the service that's specified by `ServiceId` includes
|
1531
|
+
# `HealthCheckConfig` settings, Cloud Map creates the health
|
1473
1532
|
# check, but it won't associate the health check with the alias
|
1474
1533
|
# record.
|
1475
1534
|
#
|
1476
1535
|
# * Auto naming currently doesn't support creating alias records
|
1477
|
-
# that route traffic to
|
1478
|
-
# balancers.
|
1536
|
+
# that route traffic to Amazon Web Services resources other than
|
1537
|
+
# ELB load balancers.
|
1479
1538
|
#
|
1480
1539
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
1481
1540
|
# values for any of the `AWS_INSTANCE` attributes.
|
@@ -1497,8 +1556,8 @@ module Aws::ServiceDiscovery
|
|
1497
1556
|
# AWS\_INSTANCE\_CNAME
|
1498
1557
|
#
|
1499
1558
|
# : If the service configuration includes a `CNAME` record, the domain
|
1500
|
-
# name that you want Route
|
1501
|
-
# for example, `example.com
|
1559
|
+
# name that you want Route 53 to return in response to DNS queries
|
1560
|
+
# (for example, `example.com`).
|
1502
1561
|
#
|
1503
1562
|
# This value is required if the service specified by `ServiceId`
|
1504
1563
|
# includes settings for an `CNAME` record.
|
@@ -1506,8 +1565,8 @@ module Aws::ServiceDiscovery
|
|
1506
1565
|
# AWS\_INSTANCE\_IPV4
|
1507
1566
|
#
|
1508
1567
|
# : If the service configuration includes an `A` record, the IPv4
|
1509
|
-
# address that you want Route
|
1510
|
-
# queries
|
1568
|
+
# address that you want Route 53 to return in response to DNS
|
1569
|
+
# queries (for example, `192.0.2.44`).
|
1511
1570
|
#
|
1512
1571
|
# This value is required if the service specified by `ServiceId`
|
1513
1572
|
# includes settings for an `A` record. If the service includes
|
@@ -1517,8 +1576,8 @@ module Aws::ServiceDiscovery
|
|
1517
1576
|
# AWS\_INSTANCE\_IPV6
|
1518
1577
|
#
|
1519
1578
|
# : If the service configuration includes an `AAAA` record, the IPv6
|
1520
|
-
# address that you want Route
|
1521
|
-
# queries
|
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`).
|
1522
1581
|
#
|
1523
1582
|
# This value is required if the service specified by `ServiceId`
|
1524
1583
|
# includes settings for an `AAAA` record. If the service includes
|
@@ -1528,13 +1587,13 @@ module Aws::ServiceDiscovery
|
|
1528
1587
|
# AWS\_INSTANCE\_PORT
|
1529
1588
|
#
|
1530
1589
|
# : If the service includes an `SRV` record, the value that you want
|
1531
|
-
# Route
|
1590
|
+
# Route 53 to return for the port.
|
1532
1591
|
#
|
1533
1592
|
# If the service includes `HealthCheckConfig`, the port on the
|
1534
|
-
# endpoint that you want Route
|
1593
|
+
# endpoint that you want Route 53 to send requests to.
|
1535
1594
|
#
|
1536
1595
|
# This value is required if you specified settings for an `SRV`
|
1537
|
-
# record or a Route
|
1596
|
+
# record or a Route 53 health check when you created the service.
|
1538
1597
|
#
|
1539
1598
|
#
|
1540
1599
|
#
|
@@ -1576,7 +1635,7 @@ module Aws::ServiceDiscovery
|
|
1576
1635
|
# @!attribute [rw] attributes
|
1577
1636
|
# A string map that contains the following information:
|
1578
1637
|
#
|
1579
|
-
# * The attributes that are
|
1638
|
+
# * The attributes that are associated with the instance.
|
1580
1639
|
#
|
1581
1640
|
# * For each attribute, the applicable value.
|
1582
1641
|
#
|
@@ -1585,7 +1644,7 @@ module Aws::ServiceDiscovery
|
|
1585
1644
|
# AWS\_ALIAS\_DNS\_NAME
|
1586
1645
|
#
|
1587
1646
|
# : For an alias record that routes traffic to an Elastic Load
|
1588
|
-
# Balancing load balancer, the DNS name that
|
1647
|
+
# Balancing load balancer, the DNS name that's associated with the
|
1589
1648
|
# load balancer.
|
1590
1649
|
#
|
1591
1650
|
# AWS\_EC2\_INSTANCE\_ID (HTTP namespaces only)
|
@@ -1605,25 +1664,25 @@ module Aws::ServiceDiscovery
|
|
1605
1664
|
#
|
1606
1665
|
# AWS\_INSTANCE\_CNAME
|
1607
1666
|
#
|
1608
|
-
# : For a `CNAME` record, the domain name that Route
|
1609
|
-
# response to DNS queries
|
1667
|
+
# : For a `CNAME` record, the domain name that Route 53 returns in
|
1668
|
+
# response to DNS queries (for example, `example.com`).
|
1610
1669
|
#
|
1611
1670
|
# AWS\_INSTANCE\_IPV4
|
1612
1671
|
#
|
1613
|
-
# : For an `A` record, the IPv4 address that Route
|
1614
|
-
# response to DNS queries
|
1672
|
+
# : For an `A` record, the IPv4 address that Route 53 returns in
|
1673
|
+
# response to DNS queries (for example, `192.0.2.44`).
|
1615
1674
|
#
|
1616
1675
|
# AWS\_INSTANCE\_IPV6
|
1617
1676
|
#
|
1618
|
-
# : For an `AAAA` record, the IPv6 address that Route
|
1619
|
-
# response to DNS queries
|
1620
|
-
# `2001:0db8:85a3:0000:0000:abcd:0001:2345
|
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`).
|
1621
1680
|
#
|
1622
1681
|
# AWS\_INSTANCE\_PORT
|
1623
1682
|
#
|
1624
|
-
# : For an `SRV` record, the value that Route
|
1683
|
+
# : For an `SRV` record, the value that Route 53 returns for the port.
|
1625
1684
|
# In addition, if the service includes `HealthCheckConfig`, the port
|
1626
|
-
# on the endpoint that Route
|
1685
|
+
# on the endpoint that Route 53 sends requests to.
|
1627
1686
|
# @return [Hash<String,String>]
|
1628
1687
|
#
|
1629
1688
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/InstanceSummary AWS API Documentation
|
@@ -1673,10 +1732,9 @@ module Aws::ServiceDiscovery
|
|
1673
1732
|
# @return [String]
|
1674
1733
|
#
|
1675
1734
|
# @!attribute [rw] max_results
|
1676
|
-
# The maximum number of instances that you want
|
1677
|
-
#
|
1678
|
-
#
|
1679
|
-
# 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.
|
1680
1738
|
# @return [Integer]
|
1681
1739
|
#
|
1682
1740
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstancesRequest AWS API Documentation
|
@@ -1733,20 +1791,19 @@ module Aws::ServiceDiscovery
|
|
1733
1791
|
# the value of `NextToken` from the previous response in the next
|
1734
1792
|
# request.
|
1735
1793
|
#
|
1736
|
-
# <note markdown="1">
|
1737
|
-
#
|
1738
|
-
#
|
1739
|
-
#
|
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
|
1740
1798
|
# namespaces that match the criteria.
|
1741
1799
|
#
|
1742
1800
|
# </note>
|
1743
1801
|
# @return [String]
|
1744
1802
|
#
|
1745
1803
|
# @!attribute [rw] max_results
|
1746
|
-
# The maximum number of namespaces that you want
|
1747
|
-
#
|
1748
|
-
#
|
1749
|
-
# 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.
|
1750
1807
|
# @return [Integer]
|
1751
1808
|
#
|
1752
1809
|
# @!attribute [rw] filters
|
@@ -1778,10 +1835,10 @@ module Aws::ServiceDiscovery
|
|
1778
1835
|
# the value of `NextToken` from the previous response in the next
|
1779
1836
|
# request.
|
1780
1837
|
#
|
1781
|
-
# <note markdown="1">
|
1782
|
-
#
|
1783
|
-
#
|
1784
|
-
#
|
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
|
1785
1842
|
# namespaces that match the criteria.
|
1786
1843
|
#
|
1787
1844
|
# </note>
|
@@ -1819,19 +1876,19 @@ module Aws::ServiceDiscovery
|
|
1819
1876
|
# the value of `NextToken` from the previous response in the next
|
1820
1877
|
# request.
|
1821
1878
|
#
|
1822
|
-
# <note markdown="1">
|
1823
|
-
#
|
1824
|
-
#
|
1825
|
-
#
|
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
|
1826
1883
|
# operations that match the criteria.
|
1827
1884
|
#
|
1828
1885
|
# </note>
|
1829
1886
|
# @return [String]
|
1830
1887
|
#
|
1831
1888
|
# @!attribute [rw] max_results
|
1832
|
-
# The maximum number of items that you want
|
1833
|
-
#
|
1834
|
-
# 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.
|
1835
1892
|
# @return [Integer]
|
1836
1893
|
#
|
1837
1894
|
# @!attribute [rw] filters
|
@@ -1864,10 +1921,10 @@ module Aws::ServiceDiscovery
|
|
1864
1921
|
# the value of `NextToken` from the previous response in the next
|
1865
1922
|
# request.
|
1866
1923
|
#
|
1867
|
-
# <note markdown="1">
|
1868
|
-
#
|
1869
|
-
#
|
1870
|
-
#
|
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
|
1871
1928
|
# operations that match the criteria.
|
1872
1929
|
#
|
1873
1930
|
# </note>
|
@@ -1904,9 +1961,9 @@ module Aws::ServiceDiscovery
|
|
1904
1961
|
# request to get the next group of results. Specify the value of
|
1905
1962
|
# `NextToken` from the previous response in the next request.
|
1906
1963
|
#
|
1907
|
-
# <note markdown="1">
|
1908
|
-
#
|
1909
|
-
#
|
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
|
1910
1967
|
# subsequent groups of `MaxResults` services do contain services that
|
1911
1968
|
# match the criteria.
|
1912
1969
|
#
|
@@ -1914,9 +1971,9 @@ module Aws::ServiceDiscovery
|
|
1914
1971
|
# @return [String]
|
1915
1972
|
#
|
1916
1973
|
# @!attribute [rw] max_results
|
1917
|
-
# The maximum number of services that you want
|
1918
|
-
#
|
1919
|
-
# 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.
|
1920
1977
|
# @return [Integer]
|
1921
1978
|
#
|
1922
1979
|
# @!attribute [rw] filters
|
@@ -1947,9 +2004,9 @@ module Aws::ServiceDiscovery
|
|
1947
2004
|
# request to get the next group of results. Specify the value of
|
1948
2005
|
# `NextToken` from the previous response in the next request.
|
1949
2006
|
#
|
1950
|
-
# <note markdown="1">
|
1951
|
-
#
|
1952
|
-
#
|
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
|
1953
2010
|
# subsequent groups of `MaxResults` services do contain services that
|
1954
2011
|
# match the criteria.
|
1955
2012
|
#
|
@@ -2004,7 +2061,7 @@ module Aws::ServiceDiscovery
|
|
2004
2061
|
# @return [String]
|
2005
2062
|
#
|
2006
2063
|
# @!attribute [rw] arn
|
2007
|
-
# The Amazon Resource Name (ARN) that
|
2064
|
+
# The Amazon Resource Name (ARN) that Cloud Map assigns to the
|
2008
2065
|
# namespace when you create it.
|
2009
2066
|
# @return [String]
|
2010
2067
|
#
|
@@ -2018,8 +2075,8 @@ module Aws::ServiceDiscovery
|
|
2018
2075
|
#
|
2019
2076
|
# HTTP
|
2020
2077
|
#
|
2021
|
-
# : Instances can be discovered only programmatically, using the
|
2022
|
-
#
|
2078
|
+
# : Instances can be discovered only programmatically, using the Cloud
|
2079
|
+
# Map `DiscoverInstances` API.
|
2023
2080
|
#
|
2024
2081
|
# DNS\_PUBLIC
|
2025
2082
|
#
|
@@ -2166,12 +2223,12 @@ module Aws::ServiceDiscovery
|
|
2166
2223
|
include Aws::Structure
|
2167
2224
|
end
|
2168
2225
|
|
2169
|
-
# A complex type that contains information that
|
2226
|
+
# A complex type that contains information that's specific to the
|
2170
2227
|
# namespace type.
|
2171
2228
|
#
|
2172
2229
|
# @!attribute [rw] dns_properties
|
2173
|
-
# A complex type that contains the ID for the Route
|
2174
|
-
# 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.
|
2175
2232
|
# @return [Types::DnsProperties]
|
2176
2233
|
#
|
2177
2234
|
# @!attribute [rw] http_properties
|
@@ -2194,14 +2251,14 @@ module Aws::ServiceDiscovery
|
|
2194
2251
|
# @return [String]
|
2195
2252
|
#
|
2196
2253
|
# @!attribute [rw] arn
|
2197
|
-
# The Amazon Resource Name (ARN) that
|
2254
|
+
# The Amazon Resource Name (ARN) that Cloud Map assigns to the
|
2198
2255
|
# namespace when you create it.
|
2199
2256
|
# @return [String]
|
2200
2257
|
#
|
2201
2258
|
# @!attribute [rw] name
|
2202
|
-
# The name of the namespace. When you create a namespace,
|
2203
|
-
#
|
2204
|
-
#
|
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.
|
2205
2262
|
# @return [String]
|
2206
2263
|
#
|
2207
2264
|
# @!attribute [rw] type
|
@@ -2246,7 +2303,7 @@ module Aws::ServiceDiscovery
|
|
2246
2303
|
# @return [String]
|
2247
2304
|
#
|
2248
2305
|
# @!attribute [rw] type
|
2249
|
-
# The name of the operation that
|
2306
|
+
# The name of the operation that's associated with the specified ID.
|
2250
2307
|
# @return [String]
|
2251
2308
|
#
|
2252
2309
|
# @!attribute [rw] status
|
@@ -2254,11 +2311,12 @@ module Aws::ServiceDiscovery
|
|
2254
2311
|
#
|
2255
2312
|
# SUBMITTED
|
2256
2313
|
#
|
2257
|
-
# : This is the initial state immediately after you submit
|
2314
|
+
# : This is the initial state that occurs immediately after you submit
|
2315
|
+
# a request.
|
2258
2316
|
#
|
2259
2317
|
# PENDING
|
2260
2318
|
#
|
2261
|
-
# :
|
2319
|
+
# : Cloud Map is performing the operation.
|
2262
2320
|
#
|
2263
2321
|
# SUCCESS
|
2264
2322
|
#
|
@@ -2310,7 +2368,7 @@ module Aws::ServiceDiscovery
|
|
2310
2368
|
# @return [Time]
|
2311
2369
|
#
|
2312
2370
|
# @!attribute [rw] targets
|
2313
|
-
# The name of the target entity that
|
2371
|
+
# The name of the target entity that's associated with the operation:
|
2314
2372
|
#
|
2315
2373
|
# NAMESPACE
|
2316
2374
|
#
|
@@ -2449,7 +2507,7 @@ module Aws::ServiceDiscovery
|
|
2449
2507
|
# * **SUBMITTED**\: This is the initial state immediately after you
|
2450
2508
|
# submit a request.
|
2451
2509
|
#
|
2452
|
-
# * **PENDING**\:
|
2510
|
+
# * **PENDING**\: Cloud Map is performing the operation.
|
2453
2511
|
#
|
2454
2512
|
# * **SUCCESS**\: The operation succeeded.
|
2455
2513
|
#
|
@@ -2466,6 +2524,269 @@ module Aws::ServiceDiscovery
|
|
2466
2524
|
include Aws::Structure
|
2467
2525
|
end
|
2468
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
|
+
|
2469
2790
|
# @note When making an API call, you may pass RegisterInstanceRequest
|
2470
2791
|
# data as a hash:
|
2471
2792
|
#
|
@@ -2487,21 +2808,21 @@ module Aws::ServiceDiscovery
|
|
2487
2808
|
# An identifier that you want to associate with the instance. Note the
|
2488
2809
|
# following:
|
2489
2810
|
#
|
2490
|
-
# * If the service that
|
2811
|
+
# * If the service that's specified by `ServiceId` includes settings
|
2491
2812
|
# for an `SRV` record, the value of `InstanceId` is automatically
|
2492
2813
|
# included as part of the value for the `SRV` record. For more
|
2493
2814
|
# information, see [DnsRecord > Type][1].
|
2494
2815
|
#
|
2495
2816
|
# * You can use this value to update an existing instance.
|
2496
2817
|
#
|
2497
|
-
# * To register a new instance, you must specify a value that
|
2818
|
+
# * To register a new instance, you must specify a value that's
|
2498
2819
|
# unique among instances that you register by using the same
|
2499
2820
|
# service.
|
2500
2821
|
#
|
2501
|
-
# * If you specify an existing `InstanceId` and `ServiceId`,
|
2502
|
-
#
|
2503
|
-
# existing health check,
|
2504
|
-
#
|
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.
|
2505
2826
|
#
|
2506
2827
|
# <note markdown="1"> The health check isn't deleted immediately, so it will still
|
2507
2828
|
# appear for a while if you submit a `ListHealthChecks` request, for
|
@@ -2520,8 +2841,8 @@ module Aws::ServiceDiscovery
|
|
2520
2841
|
# executing the operation twice. You must use a unique
|
2521
2842
|
# `CreatorRequestId` string every time you submit a `RegisterInstance`
|
2522
2843
|
# request if you're registering additional instances for the same
|
2523
|
-
# namespace and service. `CreatorRequestId` can be any unique string
|
2524
|
-
# for example, a date/time stamp.
|
2844
|
+
# namespace and service. `CreatorRequestId` can be any unique string
|
2845
|
+
# (for example, a date/time stamp).
|
2525
2846
|
#
|
2526
2847
|
# **A suitable default value is auto-generated.** You should normally
|
2527
2848
|
# not need to pass this option.
|
@@ -2540,30 +2861,29 @@ module Aws::ServiceDiscovery
|
|
2540
2861
|
#
|
2541
2862
|
# AWS\_ALIAS\_DNS\_NAME
|
2542
2863
|
#
|
2543
|
-
# : If you want
|
2544
|
-
#
|
2545
|
-
#
|
2546
|
-
#
|
2547
|
-
#
|
2548
|
-
# 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*.
|
2549
2869
|
#
|
2550
2870
|
# Note the following:
|
2551
2871
|
#
|
2552
|
-
# * The configuration for the service that
|
2872
|
+
# * The configuration for the service that's specified by
|
2553
2873
|
# `ServiceId` must include settings for an `A` record, an `AAAA`
|
2554
2874
|
# record, or both.
|
2555
2875
|
#
|
2556
|
-
# * In the service that
|
2876
|
+
# * In the service that's specified by `ServiceId`, the value of
|
2557
2877
|
# `RoutingPolicy` must be `WEIGHTED`.
|
2558
2878
|
#
|
2559
|
-
# * If the service that
|
2560
|
-
# `HealthCheckConfig` settings,
|
2561
|
-
#
|
2562
|
-
#
|
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.
|
2563
2883
|
#
|
2564
2884
|
# * Auto naming currently doesn't support creating alias records
|
2565
|
-
# that route traffic to
|
2566
|
-
# Balancing load balancers.
|
2885
|
+
# that route traffic to Amazon Web Services resources other than
|
2886
|
+
# Elastic Load Balancing load balancers.
|
2567
2887
|
#
|
2568
2888
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
2569
2889
|
# values for any of the `AWS_INSTANCE` attributes.
|
@@ -2588,8 +2908,8 @@ module Aws::ServiceDiscovery
|
|
2588
2908
|
# AWS\_INSTANCE\_CNAME
|
2589
2909
|
#
|
2590
2910
|
# : If the service configuration includes a `CNAME` record, the domain
|
2591
|
-
# name that you want Route
|
2592
|
-
# for example, `example.com
|
2911
|
+
# name that you want Route 53 to return in response to DNS queries
|
2912
|
+
# (for example, `example.com`).
|
2593
2913
|
#
|
2594
2914
|
# This value is required if the service specified by `ServiceId`
|
2595
2915
|
# includes settings for an `CNAME` record.
|
@@ -2597,8 +2917,8 @@ module Aws::ServiceDiscovery
|
|
2597
2917
|
# AWS\_INSTANCE\_IPV4
|
2598
2918
|
#
|
2599
2919
|
# : If the service configuration includes an `A` record, the IPv4
|
2600
|
-
# address that you want Route
|
2601
|
-
# queries
|
2920
|
+
# address that you want Route 53 to return in response to DNS
|
2921
|
+
# queries (for example, `192.0.2.44`).
|
2602
2922
|
#
|
2603
2923
|
# This value is required if the service specified by `ServiceId`
|
2604
2924
|
# includes settings for an `A` record. If the service includes
|
@@ -2608,8 +2928,8 @@ module Aws::ServiceDiscovery
|
|
2608
2928
|
# AWS\_INSTANCE\_IPV6
|
2609
2929
|
#
|
2610
2930
|
# : If the service configuration includes an `AAAA` record, the IPv6
|
2611
|
-
# address that you want Route
|
2612
|
-
# queries
|
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`).
|
2613
2933
|
#
|
2614
2934
|
# This value is required if the service specified by `ServiceId`
|
2615
2935
|
# includes settings for an `AAAA` record. If the service includes
|
@@ -2619,13 +2939,13 @@ module Aws::ServiceDiscovery
|
|
2619
2939
|
# AWS\_INSTANCE\_PORT
|
2620
2940
|
#
|
2621
2941
|
# : If the service includes an `SRV` record, the value that you want
|
2622
|
-
# Route
|
2942
|
+
# Route 53 to return for the port.
|
2623
2943
|
#
|
2624
2944
|
# If the service includes `HealthCheckConfig`, the port on the
|
2625
|
-
# endpoint that you want Route
|
2945
|
+
# endpoint that you want Route 53 to send requests to.
|
2626
2946
|
#
|
2627
2947
|
# This value is required if you specified settings for an `SRV`
|
2628
|
-
# record or a Route
|
2948
|
+
# record or a Route 53 health check when you created the service.
|
2629
2949
|
#
|
2630
2950
|
# Custom attributes
|
2631
2951
|
#
|
@@ -2670,9 +2990,8 @@ module Aws::ServiceDiscovery
|
|
2670
2990
|
end
|
2671
2991
|
|
2672
2992
|
# The operation can't be completed because you've reached the quota
|
2673
|
-
# for the number of requests. For more information, see [
|
2674
|
-
#
|
2675
|
-
# 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*.
|
2676
2995
|
#
|
2677
2996
|
#
|
2678
2997
|
#
|
@@ -2731,16 +3050,59 @@ module Aws::ServiceDiscovery
|
|
2731
3050
|
include Aws::Structure
|
2732
3051
|
end
|
2733
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
|
+
|
2734
3097
|
# A complex type that contains information about the specified service.
|
2735
3098
|
#
|
2736
3099
|
# @!attribute [rw] id
|
2737
|
-
# The ID that
|
2738
|
-
# it.
|
3100
|
+
# The ID that Cloud Map assigned to the service when you created it.
|
2739
3101
|
# @return [String]
|
2740
3102
|
#
|
2741
3103
|
# @!attribute [rw] arn
|
2742
|
-
# The Amazon Resource Name (ARN) that
|
2743
|
-
#
|
3104
|
+
# The Amazon Resource Name (ARN) that Cloud Map assigns to the service
|
3105
|
+
# when you create it.
|
2744
3106
|
# @return [String]
|
2745
3107
|
#
|
2746
3108
|
# @!attribute [rw] name
|
@@ -2758,13 +3120,13 @@ module Aws::ServiceDiscovery
|
|
2758
3120
|
# @!attribute [rw] instance_count
|
2759
3121
|
# The number of instances that are currently associated with the
|
2760
3122
|
# service. Instances that were previously associated with the service
|
2761
|
-
# but that
|
2762
|
-
#
|
3123
|
+
# but that are deleted aren't included in the count. The count might
|
3124
|
+
# not reflect pending registrations and deregistrations.
|
2763
3125
|
# @return [Integer]
|
2764
3126
|
#
|
2765
3127
|
# @!attribute [rw] dns_config
|
2766
|
-
# A complex type that contains information about the Route
|
2767
|
-
# 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
|
2768
3130
|
# instance.
|
2769
3131
|
# @return [Types::DnsConfig]
|
2770
3132
|
#
|
@@ -2790,11 +3152,11 @@ module Aws::ServiceDiscovery
|
|
2790
3152
|
# @!attribute [rw] health_check_config
|
2791
3153
|
# *Public DNS and HTTP namespaces only.* A complex type that contains
|
2792
3154
|
# settings for an optional health check. If you specify settings for a
|
2793
|
-
# health check,
|
2794
|
-
#
|
3155
|
+
# health check, Cloud Map associates the health check with the records
|
3156
|
+
# that you specify in `DnsConfig`.
|
2795
3157
|
#
|
2796
3158
|
# For information about the charges for health checks, see [Amazon
|
2797
|
-
# Route
|
3159
|
+
# Route 53 Pricing][1].
|
2798
3160
|
#
|
2799
3161
|
#
|
2800
3162
|
#
|
@@ -2819,8 +3181,8 @@ module Aws::ServiceDiscovery
|
|
2819
3181
|
# @!attribute [rw] creator_request_id
|
2820
3182
|
# A unique string that identifies the request and that allows failed
|
2821
3183
|
# requests to be retried without the risk of running the operation
|
2822
|
-
# twice. `CreatorRequestId` can be any unique string
|
2823
|
-
# date/timestamp.
|
3184
|
+
# twice. `CreatorRequestId` can be any unique string (for example, a
|
3185
|
+
# date/timestamp).
|
2824
3186
|
# @return [String]
|
2825
3187
|
#
|
2826
3188
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Service AWS API Documentation
|
@@ -2893,14 +3255,14 @@ module Aws::ServiceDiscovery
|
|
2893
3255
|
# @return [String]
|
2894
3256
|
#
|
2895
3257
|
# @!attribute [rw] dns_config
|
2896
|
-
# Information about the Route
|
2897
|
-
#
|
3258
|
+
# Information about the Route 53 DNS records that you want Cloud Map
|
3259
|
+
# to create when you register an instance.
|
2898
3260
|
# @return [Types::DnsConfigChange]
|
2899
3261
|
#
|
2900
3262
|
# @!attribute [rw] health_check_config
|
2901
3263
|
# *Public DNS and HTTP namespaces only.* Settings for an optional
|
2902
|
-
# health check. If you specify settings for a health check,
|
2903
|
-
#
|
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
|
2904
3266
|
# `DnsConfig`.
|
2905
3267
|
# @return [Types::HealthCheckConfig]
|
2906
3268
|
#
|
@@ -2976,13 +3338,12 @@ module Aws::ServiceDiscovery
|
|
2976
3338
|
# A complex type that contains information about a specified service.
|
2977
3339
|
#
|
2978
3340
|
# @!attribute [rw] id
|
2979
|
-
# The ID that
|
2980
|
-
# it.
|
3341
|
+
# The ID that Cloud Map assigned to the service when you created it.
|
2981
3342
|
# @return [String]
|
2982
3343
|
#
|
2983
3344
|
# @!attribute [rw] arn
|
2984
|
-
# The Amazon Resource Name (ARN) that
|
2985
|
-
#
|
3345
|
+
# The Amazon Resource Name (ARN) that Cloud Map assigns to the service
|
3346
|
+
# when you create it.
|
2986
3347
|
# @return [String]
|
2987
3348
|
#
|
2988
3349
|
# @!attribute [rw] name
|
@@ -3015,19 +3376,19 @@ module Aws::ServiceDiscovery
|
|
3015
3376
|
# @!attribute [rw] instance_count
|
3016
3377
|
# The number of instances that are currently associated with the
|
3017
3378
|
# service. Instances that were previously associated with the service
|
3018
|
-
# but that
|
3019
|
-
#
|
3379
|
+
# but that are deleted aren't included in the count. The count might
|
3380
|
+
# not reflect pending registrations and deregistrations.
|
3020
3381
|
# @return [Integer]
|
3021
3382
|
#
|
3022
3383
|
# @!attribute [rw] dns_config
|
3023
|
-
# Information about the Route
|
3024
|
-
#
|
3384
|
+
# Information about the Route 53 DNS records that you want Cloud Map
|
3385
|
+
# to create when you register an instance.
|
3025
3386
|
# @return [Types::DnsConfig]
|
3026
3387
|
#
|
3027
3388
|
# @!attribute [rw] health_check_config
|
3028
3389
|
# *Public DNS and HTTP namespaces only.* Settings for an optional
|
3029
|
-
# health check. If you specify settings for a health check,
|
3030
|
-
#
|
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
|
3031
3392
|
# `DnsConfig`.
|
3032
3393
|
# @return [Types::HealthCheckConfig]
|
3033
3394
|
#
|
@@ -3037,14 +3398,14 @@ module Aws::ServiceDiscovery
|
|
3037
3398
|
# evaluate the health of your resources, is useful in the following
|
3038
3399
|
# circumstances:
|
3039
3400
|
#
|
3040
|
-
# * You can't use a health check that
|
3401
|
+
# * You can't use a health check that's defined by
|
3041
3402
|
# `HealthCheckConfig` because the resource isn't available over the
|
3042
3403
|
# internet. For example, you can use a custom health check when the
|
3043
3404
|
# instance is in an Amazon VPC. (To check the health of resources in
|
3044
3405
|
# a VPC, the health checker must also be in the VPC.)
|
3045
3406
|
#
|
3046
3407
|
# * You want to use a third-party health checker regardless of where
|
3047
|
-
# your resources are.
|
3408
|
+
# your resources are located.
|
3048
3409
|
#
|
3049
3410
|
# If you specify a health check configuration, you can specify either
|
3050
3411
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
@@ -3071,7 +3432,7 @@ module Aws::ServiceDiscovery
|
|
3071
3432
|
include Aws::Structure
|
3072
3433
|
end
|
3073
3434
|
|
3074
|
-
# A custom key-value pair associated with a resource.
|
3435
|
+
# A custom key-value pair that's associated with a resource.
|
3075
3436
|
#
|
3076
3437
|
# @note When making an API call, you may pass Tag
|
3077
3438
|
# data as a hash:
|
@@ -3086,9 +3447,9 @@ module Aws::ServiceDiscovery
|
|
3086
3447
|
# @return [String]
|
3087
3448
|
#
|
3088
3449
|
# @!attribute [rw] value
|
3089
|
-
# The string value associated with the key of the tag. You can
|
3090
|
-
# value of a tag to an empty string, but you can't set the
|
3091
|
-
# 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.
|
3092
3453
|
# @return [String]
|
3093
3454
|
#
|
3094
3455
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Tag AWS API Documentation
|
@@ -3186,6 +3547,63 @@ module Aws::ServiceDiscovery
|
|
3186
3547
|
#
|
3187
3548
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
3188
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
|
+
|
3189
3607
|
# @note When making an API call, you may pass UpdateInstanceCustomHealthStatusRequest
|
3190
3608
|
# data as a hash:
|
3191
3609
|
#
|
@@ -3219,6 +3637,134 @@ module Aws::ServiceDiscovery
|
|
3219
3637
|
include Aws::Structure
|
3220
3638
|
end
|
3221
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
|
+
|
3222
3768
|
# @note When making an API call, you may pass UpdateServiceRequest
|
3223
3769
|
# data as a hash:
|
3224
3770
|
#
|