Copyright | (c) 2013-2018 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 |
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 action. If the request is not completed successfully, the domain registrant will be notified by email.
- updateDomainContact :: Text -> UpdateDomainContact
- data UpdateDomainContact
- udcRegistrantContact :: Lens' UpdateDomainContact (Maybe ContactDetail)
- udcAdminContact :: Lens' UpdateDomainContact (Maybe ContactDetail)
- udcTechContact :: Lens' UpdateDomainContact (Maybe ContactDetail)
- udcDomainName :: Lens' UpdateDomainContact Text
- updateDomainContactResponse :: Int -> Text -> UpdateDomainContactResponse
- data UpdateDomainContactResponse
- udcrsResponseStatus :: Lens' UpdateDomainContactResponse Int
- udcrsOperationId :: Lens' UpdateDomainContactResponse Text
Creating a Request
Creates a value of UpdateDomainContact
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udcRegistrantContact
- Provides detailed contact information.udcAdminContact
- Provides detailed contact information.udcTechContact
- Provides detailed contact information.udcDomainName
- The name of the domain that you want to update contact information for.
data UpdateDomainContact Source #
The UpdateDomainContact request includes the following elements.
See: updateDomainContact
smart constructor.
Request Lenses
udcRegistrantContact :: Lens' UpdateDomainContact (Maybe ContactDetail) Source #
Provides detailed contact information.
udcAdminContact :: Lens' UpdateDomainContact (Maybe ContactDetail) Source #
Provides detailed contact information.
udcTechContact :: Lens' UpdateDomainContact (Maybe ContactDetail) Source #
Provides detailed contact information.
udcDomainName :: Lens' UpdateDomainContact Text Source #
The name of the domain that you want to update contact information for.
Destructuring the Response
updateDomainContactResponse Source #
Creates a value of UpdateDomainContactResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udcrsResponseStatus
- -- | The response status code.udcrsOperationId
- Identifier for tracking the progress of the request. To use this ID to query the operation status, useGetOperationDetail
.
data UpdateDomainContactResponse Source #
The UpdateDomainContact response includes the following element.
See: updateDomainContactResponse
smart constructor.
Response Lenses
udcrsResponseStatus :: Lens' UpdateDomainContactResponse Int Source #
- - | The response status code.
udcrsOperationId :: Lens' UpdateDomainContactResponse Text Source #
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail
.