amazonka-ec2-1.6.0: Amazon Elastic Compute Cloud 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.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 #

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 #

Contains the parameters for UpdateSecurityGroupRuleDescriptionsEgress.

See: updateSecurityGroupRuleDescriptionsEgress smart constructor.

Instances
Eq UpdateSecurityGroupRuleDescriptionsEgress # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Data UpdateSecurityGroupRuleDescriptionsEgress # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

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

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Show UpdateSecurityGroupRuleDescriptionsEgress # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Generic UpdateSecurityGroupRuleDescriptionsEgress # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Hashable UpdateSecurityGroupRuleDescriptionsEgress # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

AWSRequest UpdateSecurityGroupRuleDescriptionsEgress # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

ToHeaders UpdateSecurityGroupRuleDescriptionsEgress # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

ToPath UpdateSecurityGroupRuleDescriptionsEgress # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

ToQuery UpdateSecurityGroupRuleDescriptionsEgress # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

NFData UpdateSecurityGroupRuleDescriptionsEgress # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

type Rep UpdateSecurityGroupRuleDescriptionsEgress # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

type Rep UpdateSecurityGroupRuleDescriptionsEgress = D1 (MetaData "UpdateSecurityGroupRuleDescriptionsEgress" "Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress" "amazonka-ec2-1.6.0-G6ppxISnQxeI7PhDx9p8Zy" False) (C1 (MetaCons "UpdateSecurityGroupRuleDescriptionsEgress'" PrefixI True) ((S1 (MetaSel (Just "_usgrdeGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_usgrdeGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_usgrdeDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_usgrdeIPPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [IPPermission]))))
type Rs UpdateSecurityGroupRuleDescriptionsEgress # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Request Lenses

usgrdeGroupId :: Lens' UpdateSecurityGroupRuleDescriptionsEgress (Maybe Text) #

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) #

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) #

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] #

The IP permissions for the security group rule.

Destructuring the Response

updateSecurityGroupRuleDescriptionsEgressResponse #

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 #

Contains the output of UpdateSecurityGroupRuleDescriptionsEgress.

See: updateSecurityGroupRuleDescriptionsEgressResponse smart constructor.

Instances
Eq UpdateSecurityGroupRuleDescriptionsEgressResponse # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Data UpdateSecurityGroupRuleDescriptionsEgressResponse # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

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

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Show UpdateSecurityGroupRuleDescriptionsEgressResponse # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Generic UpdateSecurityGroupRuleDescriptionsEgressResponse # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

NFData UpdateSecurityGroupRuleDescriptionsEgressResponse # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

type Rep UpdateSecurityGroupRuleDescriptionsEgressResponse # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress

type Rep UpdateSecurityGroupRuleDescriptionsEgressResponse = D1 (MetaData "UpdateSecurityGroupRuleDescriptionsEgressResponse" "Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsEgress" "amazonka-ec2-1.6.0-G6ppxISnQxeI7PhDx9p8Zy" False) (C1 (MetaCons "UpdateSecurityGroupRuleDescriptionsEgressResponse'" PrefixI True) (S1 (MetaSel (Just "_usgrdersReturn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_usgrdersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

usgrdersReturn :: Lens' UpdateSecurityGroupRuleDescriptionsEgressResponse (Maybe Bool) #

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