Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
Synopsis
- data UpdateDomainContact = UpdateDomainContact' {}
- newUpdateDomainContact :: Text -> UpdateDomainContact
- updateDomainContact_adminContact :: Lens' UpdateDomainContact (Maybe ContactDetail)
- updateDomainContact_consent :: Lens' UpdateDomainContact (Maybe Consent)
- updateDomainContact_registrantContact :: Lens' UpdateDomainContact (Maybe ContactDetail)
- updateDomainContact_techContact :: Lens' UpdateDomainContact (Maybe ContactDetail)
- updateDomainContact_domainName :: Lens' UpdateDomainContact Text
- data UpdateDomainContactResponse = UpdateDomainContactResponse' {
- operationId :: Maybe Text
- httpStatus :: Int
- newUpdateDomainContactResponse :: Int -> UpdateDomainContactResponse
- updateDomainContactResponse_operationId :: Lens' UpdateDomainContactResponse (Maybe Text)
- updateDomainContactResponse_httpStatus :: Lens' UpdateDomainContactResponse Int
Creating a Request
data UpdateDomainContact Source #
The UpdateDomainContact request includes the following elements.
See: newUpdateDomainContact
smart constructor.
UpdateDomainContact' | |
|
Instances
newUpdateDomainContact Source #
Create a value of UpdateDomainContact
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:adminContact:UpdateDomainContact'
, updateDomainContact_adminContact
- Provides detailed contact information.
$sel:consent:UpdateDomainContact'
, updateDomainContact_consent
- Customer's consent for the owner change request.
$sel:registrantContact:UpdateDomainContact'
, updateDomainContact_registrantContact
- Provides detailed contact information.
$sel:techContact:UpdateDomainContact'
, updateDomainContact_techContact
- Provides detailed contact information.
UpdateDomainContact
, updateDomainContact_domainName
- The name of the domain that you want to update contact information for.
Request Lenses
updateDomainContact_adminContact :: Lens' UpdateDomainContact (Maybe ContactDetail) Source #
Provides detailed contact information.
updateDomainContact_consent :: Lens' UpdateDomainContact (Maybe Consent) Source #
Customer's consent for the owner change request.
updateDomainContact_registrantContact :: Lens' UpdateDomainContact (Maybe ContactDetail) Source #
Provides detailed contact information.
updateDomainContact_techContact :: Lens' UpdateDomainContact (Maybe ContactDetail) Source #
Provides detailed contact information.
updateDomainContact_domainName :: Lens' UpdateDomainContact Text Source #
The name of the domain that you want to update contact information for.
Destructuring the Response
data UpdateDomainContactResponse Source #
The UpdateDomainContact response includes the following element.
See: newUpdateDomainContactResponse
smart constructor.
UpdateDomainContactResponse' | |
|
Instances
newUpdateDomainContactResponse Source #
Create a value of UpdateDomainContactResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateDomainContactResponse
, updateDomainContactResponse_operationId
- Identifier for tracking the progress of the request. To query the
operation status, use
GetOperationDetail.
$sel:httpStatus:UpdateDomainContactResponse'
, updateDomainContactResponse_httpStatus
- The response's http status code.
Response Lenses
updateDomainContactResponse_operationId :: Lens' UpdateDomainContactResponse (Maybe Text) Source #
Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.
updateDomainContactResponse_httpStatus :: Lens' UpdateDomainContactResponse Int Source #
The response's http status code.