Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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 action. If the request is not completed successfully, the domain registrant will be notified by email.
Synopsis
- data UpdateDomainContact = UpdateDomainContact' {}
- newUpdateDomainContact :: Text -> UpdateDomainContact
- updateDomainContact_registrantContact :: Lens' UpdateDomainContact (Maybe ContactDetail)
- updateDomainContact_adminContact :: Lens' UpdateDomainContact (Maybe ContactDetail)
- updateDomainContact_techContact :: Lens' UpdateDomainContact (Maybe ContactDetail)
- updateDomainContact_domainName :: Lens' UpdateDomainContact Text
- data UpdateDomainContactResponse = UpdateDomainContactResponse' {
- httpStatus :: Int
- operationId :: Text
- newUpdateDomainContactResponse :: Int -> Text -> UpdateDomainContactResponse
- updateDomainContactResponse_httpStatus :: Lens' UpdateDomainContactResponse Int
- updateDomainContactResponse_operationId :: Lens' UpdateDomainContactResponse Text
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:registrantContact:UpdateDomainContact'
, updateDomainContact_registrantContact
- Provides detailed contact information.
$sel:adminContact:UpdateDomainContact'
, updateDomainContact_adminContact
- Provides detailed contact information.
$sel:techContact:UpdateDomainContact'
, updateDomainContact_techContact
- Provides detailed contact information.
$sel:domainName:UpdateDomainContact'
, updateDomainContact_domainName
- The name of the domain that you want to update contact information for.
Request Lenses
updateDomainContact_registrantContact :: Lens' UpdateDomainContact (Maybe ContactDetail) Source #
Provides detailed contact information.
updateDomainContact_adminContact :: 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 #
:: Int | |
-> Text | |
-> UpdateDomainContactResponse |
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:
$sel:httpStatus:UpdateDomainContactResponse'
, updateDomainContactResponse_httpStatus
- The response's http status code.
$sel:operationId:UpdateDomainContactResponse'
, updateDomainContactResponse_operationId
- Identifier for tracking the progress of the request. To query the
operation status, use
GetOperationDetail.
Response Lenses
updateDomainContactResponse_httpStatus :: Lens' UpdateDomainContactResponse Int Source #
The response's http status code.
updateDomainContactResponse_operationId :: Lens' UpdateDomainContactResponse Text Source #
Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.