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 #

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 #

See: setSecurityGroups smart constructor.

Instances
Eq SetSecurityGroups # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

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

Defined in Network.AWS.ELBv2.SetSecurityGroups

Show SetSecurityGroups # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

Generic SetSecurityGroups # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

Associated Types

type Rep SetSecurityGroups :: Type -> Type #

Hashable SetSecurityGroups # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

AWSRequest SetSecurityGroups # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

Associated Types

type Rs SetSecurityGroups :: Type #

ToHeaders SetSecurityGroups # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

ToPath SetSecurityGroups # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

ToQuery SetSecurityGroups # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

NFData SetSecurityGroups # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

Methods

rnf :: SetSecurityGroups -> () #

type Rep SetSecurityGroups # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

type Rep SetSecurityGroups = D1 (MetaData "SetSecurityGroups" "Network.AWS.ELBv2.SetSecurityGroups" "amazonka-elbv2-1.6.1-5ys4wXPHijD4uAPx8h280Q" 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 # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

Request Lenses

ssgLoadBalancerARN :: Lens' SetSecurityGroups Text #

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

ssgSecurityGroups :: Lens' SetSecurityGroups [Text] #

The IDs of the security groups.

Destructuring the Response

setSecurityGroupsResponse #

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 #

See: setSecurityGroupsResponse smart constructor.

Instances
Eq SetSecurityGroupsResponse # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

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

Defined in Network.AWS.ELBv2.SetSecurityGroups

Show SetSecurityGroupsResponse # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

Generic SetSecurityGroupsResponse # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

Associated Types

type Rep SetSecurityGroupsResponse :: Type -> Type #

NFData SetSecurityGroupsResponse # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

type Rep SetSecurityGroupsResponse # 
Instance details

Defined in Network.AWS.ELBv2.SetSecurityGroups

type Rep SetSecurityGroupsResponse = D1 (MetaData "SetSecurityGroupsResponse" "Network.AWS.ELBv2.SetSecurityGroups" "amazonka-elbv2-1.6.1-5ys4wXPHijD4uAPx8h280Q" 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] #

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

ssgrsResponseStatus :: Lens' SetSecurityGroupsResponse Int #

  • - | The response status code.