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 |
Specifies a domain to be associated to Amazon WorkLink.
Synopsis
- data AssociateDomain = AssociateDomain' {
- displayName :: Maybe Text
- fleetArn :: Text
- domainName :: Text
- acmCertificateArn :: Text
- newAssociateDomain :: Text -> Text -> Text -> AssociateDomain
- associateDomain_displayName :: Lens' AssociateDomain (Maybe Text)
- associateDomain_fleetArn :: Lens' AssociateDomain Text
- associateDomain_domainName :: Lens' AssociateDomain Text
- associateDomain_acmCertificateArn :: Lens' AssociateDomain Text
- data AssociateDomainResponse = AssociateDomainResponse' {
- httpStatus :: Int
- newAssociateDomainResponse :: Int -> AssociateDomainResponse
- associateDomainResponse_httpStatus :: Lens' AssociateDomainResponse Int
Creating a Request
data AssociateDomain Source #
See: newAssociateDomain
smart constructor.
AssociateDomain' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> AssociateDomain |
Create a value of AssociateDomain
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:displayName:AssociateDomain'
, associateDomain_displayName
- The name to display.
$sel:fleetArn:AssociateDomain'
, associateDomain_fleetArn
- The Amazon Resource Name (ARN) of the fleet.
$sel:domainName:AssociateDomain'
, associateDomain_domainName
- The fully qualified domain name (FQDN).
$sel:acmCertificateArn:AssociateDomain'
, associateDomain_acmCertificateArn
- The ARN of an issued ACM certificate that is valid for the domain being
associated.
Request Lenses
associateDomain_displayName :: Lens' AssociateDomain (Maybe Text) Source #
The name to display.
associateDomain_fleetArn :: Lens' AssociateDomain Text Source #
The Amazon Resource Name (ARN) of the fleet.
associateDomain_domainName :: Lens' AssociateDomain Text Source #
The fully qualified domain name (FQDN).
associateDomain_acmCertificateArn :: Lens' AssociateDomain Text Source #
The ARN of an issued ACM certificate that is valid for the domain being associated.
Destructuring the Response
data AssociateDomainResponse Source #
See: newAssociateDomainResponse
smart constructor.
AssociateDomainResponse' | |
|
Instances
newAssociateDomainResponse Source #
Create a value of AssociateDomainResponse
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:AssociateDomainResponse'
, associateDomainResponse_httpStatus
- The response's http status code.
Response Lenses
associateDomainResponse_httpStatus :: Lens' AssociateDomainResponse Int Source #
The response's http status code.