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 |
Disassociate a custom domain name from an App Runner service.
Certificates tracking domain validity are associated with a custom domain and are stored in AWS Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for 30 days after a domain is disassociated from your service.
Synopsis
- data DisassociateCustomDomain = DisassociateCustomDomain' {
- serviceArn :: Text
- domainName :: Text
- newDisassociateCustomDomain :: Text -> Text -> DisassociateCustomDomain
- disassociateCustomDomain_serviceArn :: Lens' DisassociateCustomDomain Text
- disassociateCustomDomain_domainName :: Lens' DisassociateCustomDomain Text
- data DisassociateCustomDomainResponse = DisassociateCustomDomainResponse' {
- httpStatus :: Int
- dNSTarget :: Text
- serviceArn :: Text
- customDomain :: CustomDomain
- newDisassociateCustomDomainResponse :: Int -> Text -> Text -> CustomDomain -> DisassociateCustomDomainResponse
- disassociateCustomDomainResponse_httpStatus :: Lens' DisassociateCustomDomainResponse Int
- disassociateCustomDomainResponse_dNSTarget :: Lens' DisassociateCustomDomainResponse Text
- disassociateCustomDomainResponse_serviceArn :: Lens' DisassociateCustomDomainResponse Text
- disassociateCustomDomainResponse_customDomain :: Lens' DisassociateCustomDomainResponse CustomDomain
Creating a Request
data DisassociateCustomDomain Source #
See: newDisassociateCustomDomain
smart constructor.
DisassociateCustomDomain' | |
|
Instances
newDisassociateCustomDomain Source #
:: Text | |
-> Text | |
-> DisassociateCustomDomain |
Create a value of DisassociateCustomDomain
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:serviceArn:DisassociateCustomDomain'
, disassociateCustomDomain_serviceArn
- The Amazon Resource Name (ARN) of the App Runner service that you want
to disassociate a custom domain name from.
$sel:domainName:DisassociateCustomDomain'
, disassociateCustomDomain_domainName
- The domain name that you want to disassociate from the App Runner
service.
Request Lenses
disassociateCustomDomain_serviceArn :: Lens' DisassociateCustomDomain Text Source #
The Amazon Resource Name (ARN) of the App Runner service that you want to disassociate a custom domain name from.
disassociateCustomDomain_domainName :: Lens' DisassociateCustomDomain Text Source #
The domain name that you want to disassociate from the App Runner service.
Destructuring the Response
data DisassociateCustomDomainResponse Source #
See: newDisassociateCustomDomainResponse
smart constructor.
DisassociateCustomDomainResponse' | |
|
Instances
newDisassociateCustomDomainResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> CustomDomain | |
-> DisassociateCustomDomainResponse |
Create a value of DisassociateCustomDomainResponse
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:DisassociateCustomDomainResponse'
, disassociateCustomDomainResponse_httpStatus
- The response's http status code.
$sel:dNSTarget:DisassociateCustomDomainResponse'
, disassociateCustomDomainResponse_dNSTarget
- The App Runner subdomain of the App Runner service. The disassociated
custom domain name was mapped to this target name.
$sel:serviceArn:DisassociateCustomDomain'
, disassociateCustomDomainResponse_serviceArn
- The Amazon Resource Name (ARN) of the App Runner service that a custom
domain name is disassociated from.
$sel:customDomain:DisassociateCustomDomainResponse'
, disassociateCustomDomainResponse_customDomain
- A description of the domain name that's being disassociated.
Response Lenses
disassociateCustomDomainResponse_httpStatus :: Lens' DisassociateCustomDomainResponse Int Source #
The response's http status code.
disassociateCustomDomainResponse_dNSTarget :: Lens' DisassociateCustomDomainResponse Text Source #
The App Runner subdomain of the App Runner service. The disassociated custom domain name was mapped to this target name.
disassociateCustomDomainResponse_serviceArn :: Lens' DisassociateCustomDomainResponse Text Source #
The Amazon Resource Name (ARN) of the App Runner service that a custom domain name is disassociated from.
disassociateCustomDomainResponse_customDomain :: Lens' DisassociateCustomDomainResponse CustomDomain Source #
A description of the domain name that's being disassociated.