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 #

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 #

See: attachLoadBalancerTLSCertificate smart constructor.

Instances
Eq AttachLoadBalancerTLSCertificate # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

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

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Show AttachLoadBalancerTLSCertificate # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Generic AttachLoadBalancerTLSCertificate # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Associated Types

type Rep AttachLoadBalancerTLSCertificate :: * -> * #

Hashable AttachLoadBalancerTLSCertificate # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

ToJSON AttachLoadBalancerTLSCertificate # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

AWSRequest AttachLoadBalancerTLSCertificate # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Associated Types

type Rs AttachLoadBalancerTLSCertificate :: * #

ToHeaders AttachLoadBalancerTLSCertificate # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

ToPath AttachLoadBalancerTLSCertificate # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

ToQuery AttachLoadBalancerTLSCertificate # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

NFData AttachLoadBalancerTLSCertificate # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

type Rep AttachLoadBalancerTLSCertificate # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

type Rep AttachLoadBalancerTLSCertificate = D1 (MetaData "AttachLoadBalancerTLSCertificate" "Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate" "amazonka-lightsail-1.6.0-KbsnSgop875C22ikCzX5R7" 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 # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Request Lenses

albtcLoadBalancerName :: Lens' AttachLoadBalancerTLSCertificate Text #

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

albtcCertificateName :: Lens' AttachLoadBalancerTLSCertificate Text #

The name of your SSL/TLS certificate.

Destructuring the Response

attachLoadBalancerTLSCertificateResponse #

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 #

Instances
Eq AttachLoadBalancerTLSCertificateResponse # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

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

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Show AttachLoadBalancerTLSCertificateResponse # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Generic AttachLoadBalancerTLSCertificateResponse # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

Associated Types

type Rep AttachLoadBalancerTLSCertificateResponse :: * -> * #

NFData AttachLoadBalancerTLSCertificateResponse # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

type Rep AttachLoadBalancerTLSCertificateResponse # 
Instance details

Defined in Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate

type Rep AttachLoadBalancerTLSCertificateResponse = D1 (MetaData "AttachLoadBalancerTLSCertificateResponse" "Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate" "amazonka-lightsail-1.6.0-KbsnSgop875C22ikCzX5R7" 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] #

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.