update_domain_contact
async
¶
update_domain_contact(
domain_name: DomainName,
*,
config_overrides: Optional[AsyncRoute53DomainsClientConfig] = None,
admin_contact: Optional[ContactDetail] = None,
registrant_contact: Optional[ContactDetail] = None,
tech_contact: Optional[ContactDetail] = None,
consent: Optional[Consent] = None,
billing_contact: Optional[ContactDetail] = None,
) -> UpdateDomainContactResponse
This operation updates the contact information for a particular domain. You must specify information for at least one contact: registrant, administrator, or technical.
If the update is successful, this method returns an operation ID that you can use to track the progress and completion of the operation. If the request is not completed successfully, the domain registrant will be notified by email.
Parameters:
-
domain_name(DomainName) –The name of the domain that you want to update contact information for.
-
admin_contact(Optional[ContactDetail], default:None) –Provides detailed contact information.
-
registrant_contact(Optional[ContactDetail], default:None) –Provides detailed contact information.
-
tech_contact(Optional[ContactDetail], default:None) –Provides detailed contact information.
-
consent(Optional[Consent], default:None) –The maximum amount that you agree to pay for the owner change. Required if the domain is not free (consent price is more than USD $0.00).
-
billing_contact(Optional[ContactDetail], default:None) –Provides detailed contact information.
Raises:
-
DuplicateRequest–The request is already in progress for the domain.
-
InvalidInput–The requested item is not acceptable. For example, for APIs that accept a domain name, the request might specify a domain name that doesn't belong to the account that submitted the request. For
AcceptDomainTransferFromAnotherAwsAccount, the password might be invalid. -
OperationLimitExceeded–The number of operations or jobs running exceeded the allowed threshold for the account.
-
TLDRulesViolation–The top-level domain does not support this operation.
-
UnsupportedTLD–Amazon Route 53 does not support this top-level domain (TLD).
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_route_53_domains/_services/async_route53_domains.py
2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 | |