update_domain_contact
¶
update_domain_contact(
domain_name: DomainName,
*,
config_overrides: Optional[Route53DomainsClientConfig] = 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/route53_domains.py
2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 | |