Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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. Information for at least one contact (registrant, administrator, or technical) must be supplied for update.
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.
See: AWS API Reference for UpdateDomainContact.
- 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
- udcrsStatus :: 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:
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.
Type: Complex
Children: FirstName
, MiddleName
, LastName
, ContactType
,
OrganizationName
, AddressLine1
, AddressLine2
, City
, State
,
CountryCode
, ZipCode
, PhoneNumber
, Email
, Fax
, ExtraParams
Required: Yes
udcAdminContact :: Lens' UpdateDomainContact (Maybe ContactDetail) Source
Provides detailed contact information.
Type: Complex
Children: FirstName
, MiddleName
, LastName
, ContactType
,
OrganizationName
, AddressLine1
, AddressLine2
, City
, State
,
CountryCode
, ZipCode
, PhoneNumber
, Email
, Fax
, ExtraParams
Required: Yes
udcTechContact :: Lens' UpdateDomainContact (Maybe ContactDetail) Source
Provides detailed contact information.
Type: Complex
Children: FirstName
, MiddleName
, LastName
, ContactType
,
OrganizationName
, AddressLine1
, AddressLine2
, City
, State
,
CountryCode
, ZipCode
, PhoneNumber
, Email
, Fax
, ExtraParams
Required: Yes
udcDomainName :: Lens' UpdateDomainContact Text Source
The name of a domain.
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
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:
data UpdateDomainContactResponse Source
The UpdateDomainContact response includes the following element.
See: updateDomainContactResponse
smart constructor.
Response Lenses
udcrsStatus :: 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.
Type: String
Default: None
Constraints: Maximum 255 characters.