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
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 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 | |