| 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 |
Amazonka.CognitoIdentityProvider.DeleteUserPoolDomain
Description
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.
Constructors
| DeleteUserPoolDomain' | |
Fields
| |
Instances
newDeleteUserPoolDomain Source #
Arguments
| :: 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:
DeleteUserPoolDomain, deleteUserPoolDomain_domain - The domain string. For custom domains, this is the fully-qualified
domain name, such as auth.example.com. For Amazon Cognito prefix
domains, this is the prefix alone, such as auth.
DeleteUserPoolDomain, deleteUserPoolDomain_userPoolId - The user pool ID.
Request Lenses
deleteUserPoolDomain_domain :: Lens' DeleteUserPoolDomain Text Source #
The domain string. For custom domains, this is the fully-qualified
domain name, such as auth.example.com. For Amazon Cognito prefix
domains, this is the prefix alone, such as auth.
deleteUserPoolDomain_userPoolId :: Lens' DeleteUserPoolDomain Text Source #
The user pool ID.
Destructuring the Response
data DeleteUserPoolDomainResponse Source #
See: newDeleteUserPoolDomainResponse smart constructor.
Constructors
| DeleteUserPoolDomainResponse' | |
Fields
| |
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.