amazonka-elbv2-1.6.0: Amazon Elastic Load Balancing 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.ELBv2.AddListenerCertificates

Contents

Description

Adds the specified certificate to the specified secure listener.

If the certificate was already added, the call is successful but the certificate is not added again.

To list the certificates for your listener, use DescribeListenerCertificates . To remove certificates from your listener, use RemoveListenerCertificates .

Synopsis

Creating a Request

addListenerCertificates #

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

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

  • alcListenerARN - The Amazon Resource Name (ARN) of the listener.
  • alcCertificates - The certificate to add. You can specify one certificate per call.

data AddListenerCertificates #

See: addListenerCertificates smart constructor.

Instances

Eq AddListenerCertificates # 
Data AddListenerCertificates # 

Methods

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

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

toConstr :: AddListenerCertificates -> Constr #

dataTypeOf :: AddListenerCertificates -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddListenerCertificates # 
Show AddListenerCertificates # 
Generic AddListenerCertificates # 
Hashable AddListenerCertificates # 
NFData AddListenerCertificates # 

Methods

rnf :: AddListenerCertificates -> () #

AWSRequest AddListenerCertificates # 
ToHeaders AddListenerCertificates # 
ToPath AddListenerCertificates # 
ToQuery AddListenerCertificates # 
type Rep AddListenerCertificates # 
type Rep AddListenerCertificates = D1 * (MetaData "AddListenerCertificates" "Network.AWS.ELBv2.AddListenerCertificates" "amazonka-elbv2-1.6.0-A9WY3bDmNBjLN5Xlgd8sNs" False) (C1 * (MetaCons "AddListenerCertificates'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_alcListenerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_alcCertificates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [Certificate]))))
type Rs AddListenerCertificates # 

Request Lenses

alcListenerARN :: Lens' AddListenerCertificates Text #

The Amazon Resource Name (ARN) of the listener.

alcCertificates :: Lens' AddListenerCertificates [Certificate] #

The certificate to add. You can specify one certificate per call.

Destructuring the Response

addListenerCertificatesResponse #

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

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

data AddListenerCertificatesResponse #

See: addListenerCertificatesResponse smart constructor.

Instances

Eq AddListenerCertificatesResponse # 
Data AddListenerCertificatesResponse # 

Methods

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

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

toConstr :: AddListenerCertificatesResponse -> Constr #

dataTypeOf :: AddListenerCertificatesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddListenerCertificatesResponse # 
Show AddListenerCertificatesResponse # 
Generic AddListenerCertificatesResponse # 
NFData AddListenerCertificatesResponse # 
type Rep AddListenerCertificatesResponse # 
type Rep AddListenerCertificatesResponse = D1 * (MetaData "AddListenerCertificatesResponse" "Network.AWS.ELBv2.AddListenerCertificates" "amazonka-elbv2-1.6.0-A9WY3bDmNBjLN5Xlgd8sNs" False) (C1 * (MetaCons "AddListenerCertificatesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_alcrsCertificates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Certificate]))) (S1 * (MetaSel (Just Symbol "_alcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

alcrsCertificates :: Lens' AddListenerCertificatesResponse [Certificate] #

Information about the certificates.