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 |
Deletes a domain for a user pool.
Synopsis
- data DeleteUserPoolDomain = DeleteUserPoolDomain' {
- domain :: Text
- userPoolId :: Text
- newDeleteUserPoolDomain :: Text -> Text -> DeleteUserPoolDomain
- deleteUserPoolDomain_domain :: Lens' DeleteUserPoolDomain Text
- deleteUserPoolDomain_userPoolId :: Lens' DeleteUserPoolDomain Text
- data DeleteUserPoolDomainResponse = DeleteUserPoolDomainResponse' {
- httpStatus :: Int
- newDeleteUserPoolDomainResponse :: Int -> DeleteUserPoolDomainResponse
- deleteUserPoolDomainResponse_httpStatus :: Lens' DeleteUserPoolDomainResponse Int
Creating a Request
data DeleteUserPoolDomain Source #
See: newDeleteUserPoolDomain
smart constructor.
DeleteUserPoolDomain' | |
|
Instances
newDeleteUserPoolDomain Source #
:: Text | |
-> Text | |
-> DeleteUserPoolDomain |
Create a value of DeleteUserPoolDomain
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:domain:DeleteUserPoolDomain'
, deleteUserPoolDomain_domain
- The domain string.
$sel:userPoolId:DeleteUserPoolDomain'
, deleteUserPoolDomain_userPoolId
- The user pool ID.
Request Lenses
deleteUserPoolDomain_domain :: Lens' DeleteUserPoolDomain Text Source #
The domain string.
deleteUserPoolDomain_userPoolId :: Lens' DeleteUserPoolDomain Text Source #
The user pool ID.
Destructuring the Response
data DeleteUserPoolDomainResponse Source #
See: newDeleteUserPoolDomainResponse
smart constructor.
DeleteUserPoolDomainResponse' | |
|
Instances
newDeleteUserPoolDomainResponse Source #
Create a value of DeleteUserPoolDomainResponse
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:DeleteUserPoolDomainResponse'
, deleteUserPoolDomainResponse_httpStatus
- The response's http status code.
Response Lenses
deleteUserPoolDomainResponse_httpStatus :: Lens' DeleteUserPoolDomainResponse Int Source #
The response's http status code.