amazonka-ec2-1.5.0: Amazon Elastic Compute Cloud 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.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Contents

Description

EC2-VPC only
Updates the description of an egress (outbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously.

You specify the description as part of the IP permissions structure. You can remove a description for a security group rule by omitting the description parameter in the request.

Synopsis

Creating a Request

updateSecurityGroupRuleDescriptionsEgress :: UpdateSecurityGroupRuleDescriptionsEgress Source #

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

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

  • usgrdeGroupId - The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
  • usgrdeGroupName - [Default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.
  • usgrdeDryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • usgrdeIPPermissions - The IP permissions for the security group rule.

data UpdateSecurityGroupRuleDescriptionsEgress Source #

Contains the parameters for UpdateSecurityGroupRuleDescriptionsEgress.

See: updateSecurityGroupRuleDescriptionsEgress smart constructor.

Instances

Eq UpdateSecurityGroupRuleDescriptionsEgress Source # 
Data UpdateSecurityGroupRuleDescriptionsEgress Source # 

Methods

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

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

toConstr :: UpdateSecurityGroupRuleDescriptionsEgress -> Constr #

dataTypeOf :: UpdateSecurityGroupRuleDescriptionsEgress -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateSecurityGroupRuleDescriptionsEgress Source # 
Show UpdateSecurityGroupRuleDescriptionsEgress Source # 
Generic UpdateSecurityGroupRuleDescriptionsEgress Source # 
Hashable UpdateSecurityGroupRuleDescriptionsEgress Source # 
NFData UpdateSecurityGroupRuleDescriptionsEgress Source # 
AWSRequest UpdateSecurityGroupRuleDescriptionsEgress Source # 
ToQuery UpdateSecurityGroupRuleDescriptionsEgress Source # 
ToPath UpdateSecurityGroupRuleDescriptionsEgress Source # 
ToHeaders UpdateSecurityGroupRuleDescriptionsEgress Source # 
type Rep UpdateSecurityGroupRuleDescriptionsEgress Source # 
type Rep UpdateSecurityGroupRuleDescriptionsEgress = D1 (MetaData "UpdateSecurityGroupRuleDescriptionsEgress" "Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "UpdateSecurityGroupRuleDescriptionsEgress'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_usgrdeGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_usgrdeGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_usgrdeDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_usgrdeIPPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [IPPermission])))))
type Rs UpdateSecurityGroupRuleDescriptionsEgress Source # 

Request Lenses

usgrdeGroupId :: Lens' UpdateSecurityGroupRuleDescriptionsEgress (Maybe Text) Source #

The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.

usgrdeGroupName :: Lens' UpdateSecurityGroupRuleDescriptionsEgress (Maybe Text) Source #

Default VPC
The name of the security group. You must specify either the security group ID or the security group name in the request.

usgrdeDryRun :: Lens' UpdateSecurityGroupRuleDescriptionsEgress (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .

usgrdeIPPermissions :: Lens' UpdateSecurityGroupRuleDescriptionsEgress [IPPermission] Source #

The IP permissions for the security group rule.

Destructuring the Response

updateSecurityGroupRuleDescriptionsEgressResponse Source #

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

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

data UpdateSecurityGroupRuleDescriptionsEgressResponse Source #

Contains the output of UpdateSecurityGroupRuleDescriptionsEgress.

See: updateSecurityGroupRuleDescriptionsEgressResponse smart constructor.

Instances

Eq UpdateSecurityGroupRuleDescriptionsEgressResponse Source # 
Data UpdateSecurityGroupRuleDescriptionsEgressResponse Source # 

Methods

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

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

toConstr :: UpdateSecurityGroupRuleDescriptionsEgressResponse -> Constr #

dataTypeOf :: UpdateSecurityGroupRuleDescriptionsEgressResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateSecurityGroupRuleDescriptionsEgressResponse Source # 
Show UpdateSecurityGroupRuleDescriptionsEgressResponse Source # 
Generic UpdateSecurityGroupRuleDescriptionsEgressResponse Source # 
NFData UpdateSecurityGroupRuleDescriptionsEgressResponse Source # 
type Rep UpdateSecurityGroupRuleDescriptionsEgressResponse Source # 
type Rep UpdateSecurityGroupRuleDescriptionsEgressResponse = D1 (MetaData "UpdateSecurityGroupRuleDescriptionsEgressResponse" "Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "UpdateSecurityGroupRuleDescriptionsEgressResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_usgrdersReturn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_usgrdersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

usgrdersReturn :: Lens' UpdateSecurityGroupRuleDescriptionsEgressResponse (Maybe Bool) Source #

Returns true if the request succeeds; otherwise, returns an error.