amazonka-lightsail-1.6.1: 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 # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Data AttachLoadBalancerTLSCertificate Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

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 # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Show AttachLoadBalancerTLSCertificate Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Generic AttachLoadBalancerTLSCertificate Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Associated Types

type Rep AttachLoadBalancerTLSCertificate :: Type -> Type #

Hashable AttachLoadBalancerTLSCertificate Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

ToJSON AttachLoadBalancerTLSCertificate Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

AWSRequest AttachLoadBalancerTLSCertificate Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Associated Types

type Rs AttachLoadBalancerTLSCertificate :: Type #

ToHeaders AttachLoadBalancerTLSCertificate Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

ToPath AttachLoadBalancerTLSCertificate Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

ToQuery AttachLoadBalancerTLSCertificate Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

NFData AttachLoadBalancerTLSCertificate Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

type Rep AttachLoadBalancerTLSCertificate Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

type Rep AttachLoadBalancerTLSCertificate = D1 (MetaData "AttachLoadBalancerTLSCertificate" "Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "AttachLoadBalancerTLSCertificate'" PrefixI True) (S1 (MetaSel (Just "_albtcLoadBalancerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_albtcCertificateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs AttachLoadBalancerTLSCertificate Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

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 # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Data AttachLoadBalancerTLSCertificateResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

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 # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Show AttachLoadBalancerTLSCertificateResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Generic AttachLoadBalancerTLSCertificateResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

NFData AttachLoadBalancerTLSCertificateResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

type Rep AttachLoadBalancerTLSCertificateResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

type Rep AttachLoadBalancerTLSCertificateResponse = D1 (MetaData "AttachLoadBalancerTLSCertificateResponse" "Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "AttachLoadBalancerTLSCertificateResponse'" PrefixI True) (S1 (MetaSel (Just "_albtcrsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 (MetaSel (Just "_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.