amazonka-elbv2-1.5.0: Amazon Elastic Load Balancing SDK.

Copyright(c) 2013-2017 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.SetSecurityGroups

Contents

Description

Associates the specified security groups with the specified Application Load Balancer. The specified security groups override the previously associated security groups.

Note that you can't specify a security group for a Network Load Balancer.

Synopsis

Creating a Request

setSecurityGroups Source #

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

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

data SetSecurityGroups Source #

See: setSecurityGroups smart constructor.

Instances

Eq SetSecurityGroups Source # 
Data SetSecurityGroups Source # 

Methods

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

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

toConstr :: SetSecurityGroups -> Constr #

dataTypeOf :: SetSecurityGroups -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetSecurityGroups Source # 
Show SetSecurityGroups Source # 
Generic SetSecurityGroups Source # 
Hashable SetSecurityGroups Source # 
NFData SetSecurityGroups Source # 

Methods

rnf :: SetSecurityGroups -> () #

AWSRequest SetSecurityGroups Source # 
ToQuery SetSecurityGroups Source # 
ToPath SetSecurityGroups Source # 
ToHeaders SetSecurityGroups Source # 
type Rep SetSecurityGroups Source # 
type Rep SetSecurityGroups = D1 (MetaData "SetSecurityGroups" "Network.AWS.ELBv2.SetSecurityGroups" "amazonka-elbv2-1.5.0-8JFLFpIxDmMIkmtukHsD5H" False) (C1 (MetaCons "SetSecurityGroups'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ssgLoadBalancerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ssgSecurityGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs SetSecurityGroups Source # 

Request Lenses

ssgLoadBalancerARN :: Lens' SetSecurityGroups Text Source #

The Amazon Resource Name (ARN) of the load balancer.

ssgSecurityGroups :: Lens' SetSecurityGroups [Text] Source #

The IDs of the security groups.

Destructuring the Response

setSecurityGroupsResponse Source #

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

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

data SetSecurityGroupsResponse Source #

See: setSecurityGroupsResponse smart constructor.

Instances

Eq SetSecurityGroupsResponse Source # 
Data SetSecurityGroupsResponse Source # 

Methods

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

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

toConstr :: SetSecurityGroupsResponse -> Constr #

dataTypeOf :: SetSecurityGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetSecurityGroupsResponse Source # 
Show SetSecurityGroupsResponse Source # 
Generic SetSecurityGroupsResponse Source # 
NFData SetSecurityGroupsResponse Source # 
type Rep SetSecurityGroupsResponse Source # 
type Rep SetSecurityGroupsResponse = D1 (MetaData "SetSecurityGroupsResponse" "Network.AWS.ELBv2.SetSecurityGroups" "amazonka-elbv2-1.5.0-8JFLFpIxDmMIkmtukHsD5H" False) (C1 (MetaCons "SetSecurityGroupsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ssgrsSecurityGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_ssgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ssgrsSecurityGroupIds :: Lens' SetSecurityGroupsResponse [Text] Source #

The IDs of the security groups associated with the load balancer.