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.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 # 
Data 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 # 
Show SetSecurityGroups # 
Generic SetSecurityGroups # 
Hashable SetSecurityGroups # 
NFData SetSecurityGroups # 

Methods

rnf :: SetSecurityGroups -> () #

AWSRequest SetSecurityGroups # 
ToHeaders SetSecurityGroups # 
ToPath SetSecurityGroups # 
ToQuery SetSecurityGroups # 
type Rep SetSecurityGroups # 
type Rep SetSecurityGroups = D1 * (MetaData "SetSecurityGroups" "Network.AWS.ELBv2.SetSecurityGroups" "amazonka-elbv2-1.6.0-A9WY3bDmNBjLN5Xlgd8sNs" 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 # 

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

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 # 
Show SetSecurityGroupsResponse # 
Generic SetSecurityGroupsResponse # 
NFData SetSecurityGroupsResponse # 
type Rep SetSecurityGroupsResponse # 
type Rep SetSecurityGroupsResponse = D1 * (MetaData "SetSecurityGroupsResponse" "Network.AWS.ELBv2.SetSecurityGroups" "amazonka-elbv2-1.6.0-A9WY3bDmNBjLN5Xlgd8sNs" 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] #

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

ssgrsResponseStatus :: Lens' SetSecurityGroupsResponse Int #

  • - | The response status code.