amazonka-lightsail-1.6.0: Amazon Lightsail SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Lightsail.CreateLoadBalancerTLSCertificate

Contents

Description

Creates a Lightsail load balancer TLS certificate.

TLS is just an updated, more secure version of Secure Socket Layer (SSL).

Synopsis

Creating a Request

createLoadBalancerTLSCertificate #

Creates a value of CreateLoadBalancerTLSCertificate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • clbtcCertificateAlternativeNames - An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (e.g., *.example.com ).
  • clbtcLoadBalancerName - The load balancer name where you want to create the SSL/TLS certificate.
  • clbtcCertificateName - The SSLTLS certificate name. You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see <http:docs.aws.amazon.comacmlatestuserguide/acm-limits.html Limits> .
  • clbtcCertificateDomainName - The domain name (e.g., example.com ) for your SSL/TLS certificate.

data CreateLoadBalancerTLSCertificate #

See: createLoadBalancerTLSCertificate smart constructor.

Instances

Eq CreateLoadBalancerTLSCertificate # 
Data CreateLoadBalancerTLSCertificate # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateLoadBalancerTLSCertificate -> c CreateLoadBalancerTLSCertificate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateLoadBalancerTLSCertificate #

toConstr :: CreateLoadBalancerTLSCertificate -> Constr #

dataTypeOf :: CreateLoadBalancerTLSCertificate -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateLoadBalancerTLSCertificate) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateLoadBalancerTLSCertificate) #

gmapT :: (forall b. Data b => b -> b) -> CreateLoadBalancerTLSCertificate -> CreateLoadBalancerTLSCertificate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateLoadBalancerTLSCertificate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateLoadBalancerTLSCertificate -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateLoadBalancerTLSCertificate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateLoadBalancerTLSCertificate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateLoadBalancerTLSCertificate -> m CreateLoadBalancerTLSCertificate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateLoadBalancerTLSCertificate -> m CreateLoadBalancerTLSCertificate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateLoadBalancerTLSCertificate -> m CreateLoadBalancerTLSCertificate #

Read CreateLoadBalancerTLSCertificate # 
Show CreateLoadBalancerTLSCertificate # 
Generic CreateLoadBalancerTLSCertificate # 
Hashable CreateLoadBalancerTLSCertificate # 
ToJSON CreateLoadBalancerTLSCertificate # 
NFData CreateLoadBalancerTLSCertificate # 
AWSRequest CreateLoadBalancerTLSCertificate # 
ToHeaders CreateLoadBalancerTLSCertificate # 
ToPath CreateLoadBalancerTLSCertificate # 
ToQuery CreateLoadBalancerTLSCertificate # 
type Rep CreateLoadBalancerTLSCertificate # 
type Rep CreateLoadBalancerTLSCertificate = D1 * (MetaData "CreateLoadBalancerTLSCertificate" "Network.AWS.Lightsail.CreateLoadBalancerTLSCertificate" "amazonka-lightsail-1.6.0-IATUqEytvF48KpKMPJ7t6L" False) (C1 * (MetaCons "CreateLoadBalancerTLSCertificate'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_clbtcCertificateAlternativeNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_clbtcLoadBalancerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_clbtcCertificateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_clbtcCertificateDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs CreateLoadBalancerTLSCertificate # 

Request Lenses

clbtcCertificateAlternativeNames :: Lens' CreateLoadBalancerTLSCertificate [Text] #

An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (e.g., *.example.com ).

clbtcLoadBalancerName :: Lens' CreateLoadBalancerTLSCertificate Text #

The load balancer name where you want to create the SSL/TLS certificate.

clbtcCertificateName :: Lens' CreateLoadBalancerTLSCertificate Text #

The SSLTLS certificate name. You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see <http:docs.aws.amazon.comacmlatestuserguide/acm-limits.html Limits> .

clbtcCertificateDomainName :: Lens' CreateLoadBalancerTLSCertificate Text #

The domain name (e.g., example.com ) for your SSL/TLS certificate.

Destructuring the Response

createLoadBalancerTLSCertificateResponse #

Creates a value of CreateLoadBalancerTLSCertificateResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateLoadBalancerTLSCertificateResponse #

Instances

Eq CreateLoadBalancerTLSCertificateResponse # 
Data CreateLoadBalancerTLSCertificateResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateLoadBalancerTLSCertificateResponse -> c CreateLoadBalancerTLSCertificateResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateLoadBalancerTLSCertificateResponse #

toConstr :: CreateLoadBalancerTLSCertificateResponse -> Constr #

dataTypeOf :: CreateLoadBalancerTLSCertificateResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateLoadBalancerTLSCertificateResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateLoadBalancerTLSCertificateResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateLoadBalancerTLSCertificateResponse -> CreateLoadBalancerTLSCertificateResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateLoadBalancerTLSCertificateResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateLoadBalancerTLSCertificateResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateLoadBalancerTLSCertificateResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateLoadBalancerTLSCertificateResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateLoadBalancerTLSCertificateResponse -> m CreateLoadBalancerTLSCertificateResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateLoadBalancerTLSCertificateResponse -> m CreateLoadBalancerTLSCertificateResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateLoadBalancerTLSCertificateResponse -> m CreateLoadBalancerTLSCertificateResponse #

Read CreateLoadBalancerTLSCertificateResponse # 
Show CreateLoadBalancerTLSCertificateResponse # 
Generic CreateLoadBalancerTLSCertificateResponse # 
NFData CreateLoadBalancerTLSCertificateResponse # 
type Rep CreateLoadBalancerTLSCertificateResponse # 
type Rep CreateLoadBalancerTLSCertificateResponse = D1 * (MetaData "CreateLoadBalancerTLSCertificateResponse" "Network.AWS.Lightsail.CreateLoadBalancerTLSCertificate" "amazonka-lightsail-1.6.0-IATUqEytvF48KpKMPJ7t6L" False) (C1 * (MetaCons "CreateLoadBalancerTLSCertificateResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_clbtcrsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Operation]))) (S1 * (MetaSel (Just Symbol "_clbtcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

clbtcrsOperations :: Lens' CreateLoadBalancerTLSCertificateResponse [Operation] #

An object containing information about the API operations.