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

Defined in Network.AWS.ELBv2.SetSecurityGroups

Data SetSecurityGroups Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

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

Defined in Network.AWS.ELBv2.SetSecurityGroups

Show SetSecurityGroups Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

Generic SetSecurityGroups Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

Associated Types

type Rep SetSecurityGroups :: Type -> Type #

Hashable SetSecurityGroups Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

AWSRequest SetSecurityGroups Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

Associated Types

type Rs SetSecurityGroups :: Type #

ToHeaders SetSecurityGroups Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

ToPath SetSecurityGroups Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

ToQuery SetSecurityGroups Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

NFData SetSecurityGroups Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

Methods

rnf :: SetSecurityGroups -> () #

type Rep SetSecurityGroups Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

type Rep SetSecurityGroups = D1 (MetaData "SetSecurityGroups" "Network.AWS.ELBv2.SetSecurityGroups" "amazonka-elbv2-1.6.1-E4uu6EqNDMk4f08ZYDVKwx" False) (C1 (MetaCons "SetSecurityGroups'" PrefixI True) (S1 (MetaSel (Just "_ssgLoadBalancerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ssgSecurityGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))
type Rs SetSecurityGroups Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

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

Defined in Network.AWS.ELBv2.SetSecurityGroups

Data SetSecurityGroupsResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

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

Defined in Network.AWS.ELBv2.SetSecurityGroups

Show SetSecurityGroupsResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

Generic SetSecurityGroupsResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

Associated Types

type Rep SetSecurityGroupsResponse :: Type -> Type #

NFData SetSecurityGroupsResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

type Rep SetSecurityGroupsResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

type Rep SetSecurityGroupsResponse = D1 (MetaData "SetSecurityGroupsResponse" "Network.AWS.ELBv2.SetSecurityGroups" "amazonka-elbv2-1.6.1-E4uu6EqNDMk4f08ZYDVKwx" False) (C1 (MetaCons "SetSecurityGroupsResponse'" PrefixI True) (S1 (MetaSel (Just "_ssgrsSecurityGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_ssgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

ssgrsSecurityGroupIds :: Lens' SetSecurityGroupsResponse [Text] Source #

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