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.AttachLoadBalancerTLSCertificate

Contents

Description

Attaches a Transport Layer Security (TLS) certificate to your load balancer. TLS is just an updated, more secure version of Secure Socket Layer (SSL).

Once you create and validate your certificate, you can attach it to your load balancer. You can also use this API to rotate the certificates on your account. Use the AttachLoadBalancerTlsCertificate operation with the non-attached certificate, and it will replace the existing one and become the attached certificate.

Synopsis

Creating a Request

attachLoadBalancerTLSCertificate Source #

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

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

data AttachLoadBalancerTLSCertificate Source #

See: attachLoadBalancerTLSCertificate smart constructor.

Instances

Eq AttachLoadBalancerTLSCertificate Source # 
Data AttachLoadBalancerTLSCertificate Source # 

Methods

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

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

toConstr :: AttachLoadBalancerTLSCertificate -> Constr #

dataTypeOf :: AttachLoadBalancerTLSCertificate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachLoadBalancerTLSCertificate Source # 
Show AttachLoadBalancerTLSCertificate Source # 
Generic AttachLoadBalancerTLSCertificate Source # 
Hashable AttachLoadBalancerTLSCertificate Source # 
ToJSON AttachLoadBalancerTLSCertificate Source # 
NFData AttachLoadBalancerTLSCertificate Source # 
AWSRequest AttachLoadBalancerTLSCertificate Source # 
ToHeaders AttachLoadBalancerTLSCertificate Source # 
ToPath AttachLoadBalancerTLSCertificate Source # 
ToQuery AttachLoadBalancerTLSCertificate Source # 
type Rep AttachLoadBalancerTLSCertificate Source # 
type Rep AttachLoadBalancerTLSCertificate = D1 * (MetaData "AttachLoadBalancerTLSCertificate" "Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" False) (C1 * (MetaCons "AttachLoadBalancerTLSCertificate'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_albtcLoadBalancerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_albtcCertificateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs AttachLoadBalancerTLSCertificate Source # 

Request Lenses

albtcLoadBalancerName :: Lens' AttachLoadBalancerTLSCertificate Text Source #

The name of the load balancer to which you want to associate the SSL/TLS certificate.

Destructuring the Response

attachLoadBalancerTLSCertificateResponse Source #

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

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

  • albtcrsOperations - An object representing the API operations. These SSL/TLS certificates are only usable by Lightsail load balancers. You can't get the certificate and use it for another purpose.
  • albtcrsResponseStatus - -- | The response status code.

data AttachLoadBalancerTLSCertificateResponse Source #

Instances

Eq AttachLoadBalancerTLSCertificateResponse Source # 
Data AttachLoadBalancerTLSCertificateResponse Source # 

Methods

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

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

toConstr :: AttachLoadBalancerTLSCertificateResponse -> Constr #

dataTypeOf :: AttachLoadBalancerTLSCertificateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachLoadBalancerTLSCertificateResponse Source # 
Show AttachLoadBalancerTLSCertificateResponse Source # 
Generic AttachLoadBalancerTLSCertificateResponse Source # 
NFData AttachLoadBalancerTLSCertificateResponse Source # 
type Rep AttachLoadBalancerTLSCertificateResponse Source # 
type Rep AttachLoadBalancerTLSCertificateResponse = D1 * (MetaData "AttachLoadBalancerTLSCertificateResponse" "Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" False) (C1 * (MetaCons "AttachLoadBalancerTLSCertificateResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_albtcrsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Operation]))) (S1 * (MetaSel (Just Symbol "_albtcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

albtcrsOperations :: Lens' AttachLoadBalancerTLSCertificateResponse [Operation] Source #

An object representing the API operations. These SSL/TLS certificates are only usable by Lightsail load balancers. You can't get the certificate and use it for another purpose.