aws-sdk-servicediscovery 1.88.0 → 1.89.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.
@@ -14,6 +14,7 @@ module Aws::ServiceDiscovery
14
14
 
15
15
  include Seahorse::Model
16
16
 
17
+ AWSAccountId = Shapes::StringShape.new(name: 'AWSAccountId')
17
18
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
18
19
  Arn = Shapes::StringShape.new(name: 'Arn')
19
20
  AttrKey = Shapes::StringShape.new(name: 'AttrKey')
@@ -223,7 +224,7 @@ module Aws::ServiceDiscovery
223
224
  CreatePublicDnsNamespaceResponse.struct_class = Types::CreatePublicDnsNamespaceResponse
224
225
 
225
226
  CreateServiceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "Name"))
226
- CreateServiceRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "NamespaceId"))
227
+ CreateServiceRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: Arn, location_name: "NamespaceId"))
227
228
  CreateServiceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken" => true}))
228
229
  CreateServiceRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
229
230
  CreateServiceRequest.add_member(:dns_config, Shapes::ShapeRef.new(shape: DnsConfig, location_name: "DnsConfig"))
@@ -239,24 +240,24 @@ module Aws::ServiceDiscovery
239
240
  CustomHealthNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
240
241
  CustomHealthNotFound.struct_class = Types::CustomHealthNotFound
241
242
 
242
- DeleteNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
243
+ DeleteNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Id"))
243
244
  DeleteNamespaceRequest.struct_class = Types::DeleteNamespaceRequest
244
245
 
245
246
  DeleteNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
246
247
  DeleteNamespaceResponse.struct_class = Types::DeleteNamespaceResponse
247
248
 
248
- DeleteServiceAttributesRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
249
+ DeleteServiceAttributesRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ServiceId"))
249
250
  DeleteServiceAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ServiceAttributeKeyList, required: true, location_name: "Attributes"))
250
251
  DeleteServiceAttributesRequest.struct_class = Types::DeleteServiceAttributesRequest
251
252
 
252
253
  DeleteServiceAttributesResponse.struct_class = Types::DeleteServiceAttributesResponse
253
254
 
254
- DeleteServiceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
255
+ DeleteServiceRequest.add_member(:id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Id"))
255
256
  DeleteServiceRequest.struct_class = Types::DeleteServiceRequest
256
257
 
257
258
  DeleteServiceResponse.struct_class = Types::DeleteServiceResponse
258
259
 
259
- DeregisterInstanceRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
260
+ DeregisterInstanceRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ServiceId"))
260
261
  DeregisterInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "InstanceId"))
261
262
  DeregisterInstanceRequest.struct_class = Types::DeregisterInstanceRequest
262
263
 
@@ -269,6 +270,7 @@ module Aws::ServiceDiscovery
269
270
  DiscoverInstancesRequest.add_member(:query_parameters, Shapes::ShapeRef.new(shape: Attributes, location_name: "QueryParameters"))
270
271
  DiscoverInstancesRequest.add_member(:optional_parameters, Shapes::ShapeRef.new(shape: Attributes, location_name: "OptionalParameters"))
271
272
  DiscoverInstancesRequest.add_member(:health_status, Shapes::ShapeRef.new(shape: HealthStatusFilter, location_name: "HealthStatus"))
273
+ DiscoverInstancesRequest.add_member(:owner_account, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "OwnerAccount"))
272
274
  DiscoverInstancesRequest.struct_class = Types::DiscoverInstancesRequest
273
275
 
274
276
  DiscoverInstancesResponse.add_member(:instances, Shapes::ShapeRef.new(shape: HttpInstanceSummaryList, location_name: "Instances"))
@@ -277,6 +279,7 @@ module Aws::ServiceDiscovery
277
279
 
278
280
  DiscoverInstancesRevisionRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "NamespaceName"))
279
281
  DiscoverInstancesRevisionRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "ServiceName"))
282
+ DiscoverInstancesRevisionRequest.add_member(:owner_account, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "OwnerAccount"))
280
283
  DiscoverInstancesRevisionRequest.struct_class = Types::DiscoverInstancesRevisionRequest
281
284
 
282
285
  DiscoverInstancesRevisionResponse.add_member(:instances_revision, Shapes::ShapeRef.new(shape: Revision, location_name: "InstancesRevision"))
@@ -301,19 +304,20 @@ module Aws::ServiceDiscovery
301
304
  DnsRecordList.member = Shapes::ShapeRef.new(shape: DnsRecord)
302
305
 
303
306
  DuplicateRequest.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
304
- DuplicateRequest.add_member(:duplicate_operation_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "DuplicateOperationId"))
307
+ DuplicateRequest.add_member(:duplicate_operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "DuplicateOperationId"))
305
308
  DuplicateRequest.struct_class = Types::DuplicateRequest
306
309
 
307
310
  FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
308
311
 
309
- GetInstanceRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
312
+ GetInstanceRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ServiceId"))
310
313
  GetInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "InstanceId"))
311
314
  GetInstanceRequest.struct_class = Types::GetInstanceRequest
312
315
 
316
+ GetInstanceResponse.add_member(:resource_owner, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "ResourceOwner"))
313
317
  GetInstanceResponse.add_member(:instance, Shapes::ShapeRef.new(shape: Instance, location_name: "Instance"))
314
318
  GetInstanceResponse.struct_class = Types::GetInstanceResponse
315
319
 
316
- GetInstancesHealthStatusRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
320
+ GetInstancesHealthStatusRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ServiceId"))
317
321
  GetInstancesHealthStatusRequest.add_member(:instances, Shapes::ShapeRef.new(shape: InstanceIdList, location_name: "Instances"))
318
322
  GetInstancesHealthStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
319
323
  GetInstancesHealthStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -323,25 +327,26 @@ module Aws::ServiceDiscovery
323
327
  GetInstancesHealthStatusResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
324
328
  GetInstancesHealthStatusResponse.struct_class = Types::GetInstancesHealthStatusResponse
325
329
 
326
- GetNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
330
+ GetNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Id"))
327
331
  GetNamespaceRequest.struct_class = Types::GetNamespaceRequest
328
332
 
329
333
  GetNamespaceResponse.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, location_name: "Namespace"))
330
334
  GetNamespaceResponse.struct_class = Types::GetNamespaceResponse
331
335
 
332
- GetOperationRequest.add_member(:operation_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "OperationId"))
336
+ GetOperationRequest.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, required: true, location_name: "OperationId"))
337
+ GetOperationRequest.add_member(:owner_account, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "OwnerAccount"))
333
338
  GetOperationRequest.struct_class = Types::GetOperationRequest
334
339
 
335
340
  GetOperationResponse.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "Operation"))
336
341
  GetOperationResponse.struct_class = Types::GetOperationResponse
337
342
 
338
- GetServiceAttributesRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
343
+ GetServiceAttributesRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ServiceId"))
339
344
  GetServiceAttributesRequest.struct_class = Types::GetServiceAttributesRequest
340
345
 
341
346
  GetServiceAttributesResponse.add_member(:service_attributes, Shapes::ShapeRef.new(shape: ServiceAttributes, location_name: "ServiceAttributes"))
342
347
  GetServiceAttributesResponse.struct_class = Types::GetServiceAttributesResponse
343
348
 
344
- GetServiceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
349
+ GetServiceRequest.add_member(:id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Id"))
345
350
  GetServiceRequest.struct_class = Types::GetServiceRequest
346
351
 
347
352
  GetServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "Service"))
@@ -373,6 +378,7 @@ module Aws::ServiceDiscovery
373
378
  Instance.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
374
379
  Instance.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId"))
375
380
  Instance.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
381
+ Instance.add_member(:created_by_account, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "CreatedByAccount"))
376
382
  Instance.struct_class = Types::Instance
377
383
 
378
384
  InstanceHealthStatusMap.key = Shapes::ShapeRef.new(shape: ResourceId)
@@ -385,6 +391,7 @@ module Aws::ServiceDiscovery
385
391
 
386
392
  InstanceSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
387
393
  InstanceSummary.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
394
+ InstanceSummary.add_member(:created_by_account, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "CreatedByAccount"))
388
395
  InstanceSummary.struct_class = Types::InstanceSummary
389
396
 
390
397
  InstanceSummaryList.member = Shapes::ShapeRef.new(shape: InstanceSummary)
@@ -392,11 +399,12 @@ module Aws::ServiceDiscovery
392
399
  InvalidInput.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
393
400
  InvalidInput.struct_class = Types::InvalidInput
394
401
 
395
- ListInstancesRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
402
+ ListInstancesRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ServiceId"))
396
403
  ListInstancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
397
404
  ListInstancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
398
405
  ListInstancesRequest.struct_class = Types::ListInstancesRequest
399
406
 
407
+ ListInstancesResponse.add_member(:resource_owner, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "ResourceOwner"))
400
408
  ListInstancesResponse.add_member(:instances, Shapes::ShapeRef.new(shape: InstanceSummaryList, location_name: "Instances"))
401
409
  ListInstancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
402
410
  ListInstancesResponse.struct_class = Types::ListInstancesResponse
@@ -436,6 +444,7 @@ module Aws::ServiceDiscovery
436
444
 
437
445
  Namespace.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
438
446
  Namespace.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
447
+ Namespace.add_member(:resource_owner, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "ResourceOwner"))
439
448
  Namespace.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceName, location_name: "Name"))
440
449
  Namespace.add_member(:type, Shapes::ShapeRef.new(shape: NamespaceType, location_name: "Type"))
441
450
  Namespace.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
@@ -468,6 +477,7 @@ module Aws::ServiceDiscovery
468
477
 
469
478
  NamespaceSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
470
479
  NamespaceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
480
+ NamespaceSummary.add_member(:resource_owner, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "ResourceOwner"))
471
481
  NamespaceSummary.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceName, location_name: "Name"))
472
482
  NamespaceSummary.add_member(:type, Shapes::ShapeRef.new(shape: NamespaceType, location_name: "Type"))
473
483
  NamespaceSummary.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
@@ -477,6 +487,7 @@ module Aws::ServiceDiscovery
477
487
  NamespaceSummary.struct_class = Types::NamespaceSummary
478
488
 
479
489
  Operation.add_member(:id, Shapes::ShapeRef.new(shape: OperationId, location_name: "Id"))
490
+ Operation.add_member(:owner_account, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "OwnerAccount"))
480
491
  Operation.add_member(:type, Shapes::ShapeRef.new(shape: OperationType, location_name: "Type"))
481
492
  Operation.add_member(:status, Shapes::ShapeRef.new(shape: OperationStatus, location_name: "Status"))
482
493
  Operation.add_member(:error_message, Shapes::ShapeRef.new(shape: Message, location_name: "ErrorMessage"))
@@ -537,7 +548,7 @@ module Aws::ServiceDiscovery
537
548
  PublicDnsPropertiesMutableChange.add_member(:soa, Shapes::ShapeRef.new(shape: SOAChange, required: true, location_name: "SOA"))
538
549
  PublicDnsPropertiesMutableChange.struct_class = Types::PublicDnsPropertiesMutableChange
539
550
 
540
- RegisterInstanceRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
551
+ RegisterInstanceRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ServiceId"))
541
552
  RegisterInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
542
553
  RegisterInstanceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken" => true}))
543
554
  RegisterInstanceRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "Attributes"))
@@ -566,6 +577,7 @@ module Aws::ServiceDiscovery
566
577
 
567
578
  Service.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
568
579
  Service.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
580
+ Service.add_member(:resource_owner, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "ResourceOwner"))
569
581
  Service.add_member(:name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "Name"))
570
582
  Service.add_member(:namespace_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "NamespaceId"))
571
583
  Service.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
@@ -576,16 +588,19 @@ module Aws::ServiceDiscovery
576
588
  Service.add_member(:health_check_custom_config, Shapes::ShapeRef.new(shape: HealthCheckCustomConfig, location_name: "HealthCheckCustomConfig"))
577
589
  Service.add_member(:create_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateDate"))
578
590
  Service.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId"))
591
+ Service.add_member(:created_by_account, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "CreatedByAccount"))
579
592
  Service.struct_class = Types::Service
580
593
 
581
594
  ServiceAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
582
595
  ServiceAlreadyExists.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId"))
583
596
  ServiceAlreadyExists.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ServiceId"))
597
+ ServiceAlreadyExists.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ServiceArn"))
584
598
  ServiceAlreadyExists.struct_class = Types::ServiceAlreadyExists
585
599
 
586
600
  ServiceAttributeKeyList.member = Shapes::ShapeRef.new(shape: ServiceAttributeKey)
587
601
 
588
602
  ServiceAttributes.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ServiceArn"))
603
+ ServiceAttributes.add_member(:resource_owner, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "ResourceOwner"))
589
604
  ServiceAttributes.add_member(:attributes, Shapes::ShapeRef.new(shape: ServiceAttributesMap, location_name: "Attributes"))
590
605
  ServiceAttributes.struct_class = Types::ServiceAttributes
591
606
 
@@ -614,6 +629,7 @@ module Aws::ServiceDiscovery
614
629
 
615
630
  ServiceSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
616
631
  ServiceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
632
+ ServiceSummary.add_member(:resource_owner, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "ResourceOwner"))
617
633
  ServiceSummary.add_member(:name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "Name"))
618
634
  ServiceSummary.add_member(:type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "Type"))
619
635
  ServiceSummary.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
@@ -622,6 +638,7 @@ module Aws::ServiceDiscovery
622
638
  ServiceSummary.add_member(:health_check_config, Shapes::ShapeRef.new(shape: HealthCheckConfig, location_name: "HealthCheckConfig"))
623
639
  ServiceSummary.add_member(:health_check_custom_config, Shapes::ShapeRef.new(shape: HealthCheckCustomConfig, location_name: "HealthCheckCustomConfig"))
624
640
  ServiceSummary.add_member(:create_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateDate"))
641
+ ServiceSummary.add_member(:created_by_account, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "CreatedByAccount"))
625
642
  ServiceSummary.struct_class = Types::ServiceSummary
626
643
 
627
644
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -648,7 +665,7 @@ module Aws::ServiceDiscovery
648
665
 
649
666
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
650
667
 
651
- UpdateHttpNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
668
+ UpdateHttpNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Id"))
652
669
  UpdateHttpNamespaceRequest.add_member(:updater_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "UpdaterRequestId", metadata: {"idempotencyToken" => true}))
653
670
  UpdateHttpNamespaceRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: HttpNamespaceChange, required: true, location_name: "Namespace"))
654
671
  UpdateHttpNamespaceRequest.struct_class = Types::UpdateHttpNamespaceRequest
@@ -656,12 +673,12 @@ module Aws::ServiceDiscovery
656
673
  UpdateHttpNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
657
674
  UpdateHttpNamespaceResponse.struct_class = Types::UpdateHttpNamespaceResponse
658
675
 
659
- UpdateInstanceCustomHealthStatusRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
676
+ UpdateInstanceCustomHealthStatusRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ServiceId"))
660
677
  UpdateInstanceCustomHealthStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "InstanceId"))
661
678
  UpdateInstanceCustomHealthStatusRequest.add_member(:status, Shapes::ShapeRef.new(shape: CustomHealthStatus, required: true, location_name: "Status"))
662
679
  UpdateInstanceCustomHealthStatusRequest.struct_class = Types::UpdateInstanceCustomHealthStatusRequest
663
680
 
664
- UpdatePrivateDnsNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
681
+ UpdatePrivateDnsNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Id"))
665
682
  UpdatePrivateDnsNamespaceRequest.add_member(:updater_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "UpdaterRequestId", metadata: {"idempotencyToken" => true}))
666
683
  UpdatePrivateDnsNamespaceRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PrivateDnsNamespaceChange, required: true, location_name: "Namespace"))
667
684
  UpdatePrivateDnsNamespaceRequest.struct_class = Types::UpdatePrivateDnsNamespaceRequest
@@ -669,7 +686,7 @@ module Aws::ServiceDiscovery
669
686
  UpdatePrivateDnsNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
670
687
  UpdatePrivateDnsNamespaceResponse.struct_class = Types::UpdatePrivateDnsNamespaceResponse
671
688
 
672
- UpdatePublicDnsNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
689
+ UpdatePublicDnsNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Id"))
673
690
  UpdatePublicDnsNamespaceRequest.add_member(:updater_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "UpdaterRequestId", metadata: {"idempotencyToken" => true}))
674
691
  UpdatePublicDnsNamespaceRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PublicDnsNamespaceChange, required: true, location_name: "Namespace"))
675
692
  UpdatePublicDnsNamespaceRequest.struct_class = Types::UpdatePublicDnsNamespaceRequest
@@ -677,13 +694,13 @@ module Aws::ServiceDiscovery
677
694
  UpdatePublicDnsNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
678
695
  UpdatePublicDnsNamespaceResponse.struct_class = Types::UpdatePublicDnsNamespaceResponse
679
696
 
680
- UpdateServiceAttributesRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
697
+ UpdateServiceAttributesRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ServiceId"))
681
698
  UpdateServiceAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ServiceAttributesMap, required: true, location_name: "Attributes"))
682
699
  UpdateServiceAttributesRequest.struct_class = Types::UpdateServiceAttributesRequest
683
700
 
684
701
  UpdateServiceAttributesResponse.struct_class = Types::UpdateServiceAttributesResponse
685
702
 
686
- UpdateServiceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
703
+ UpdateServiceRequest.add_member(:id, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Id"))
687
704
  UpdateServiceRequest.add_member(:service, Shapes::ShapeRef.new(shape: ServiceChange, required: true, location_name: "Service"))
688
705
  UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
689
706
 
@@ -252,6 +252,11 @@ module Aws::ServiceDiscovery
252
252
  def service_id
253
253
  @data[:service_id]
254
254
  end
255
+
256
+ # @return [String]
257
+ def service_arn
258
+ @data[:service_arn]
259
+ end
255
260
  end
256
261
 
257
262
  class ServiceAttributesLimitExceededException < ServiceError