amazonka-ec2-1.6.1: 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.UpdateSecurityGroupRuleDescriptionsIngress

Contents

Description

Updates the description of an ingress (inbound) 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

updateSecurityGroupRuleDescriptionsIngress :: UpdateSecurityGroupRuleDescriptionsIngress Source #

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

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

  • usgrdiGroupId - 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.
  • usgrdiGroupName - [EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.
  • usgrdiDryRun - 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 .
  • usgrdiIPPermissions - The IP permissions for the security group rule.

data UpdateSecurityGroupRuleDescriptionsIngress Source #

Contains the parameters for UpdateSecurityGroupRuleDescriptionsIngress.

See: updateSecurityGroupRuleDescriptionsIngress smart constructor.

Instances
Eq UpdateSecurityGroupRuleDescriptionsIngress Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

Data UpdateSecurityGroupRuleDescriptionsIngress Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

Methods

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

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

toConstr :: UpdateSecurityGroupRuleDescriptionsIngress -> Constr #

dataTypeOf :: UpdateSecurityGroupRuleDescriptionsIngress -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateSecurityGroupRuleDescriptionsIngress Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

Show UpdateSecurityGroupRuleDescriptionsIngress Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

Generic UpdateSecurityGroupRuleDescriptionsIngress Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

Hashable UpdateSecurityGroupRuleDescriptionsIngress Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

AWSRequest UpdateSecurityGroupRuleDescriptionsIngress Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

ToHeaders UpdateSecurityGroupRuleDescriptionsIngress Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

ToPath UpdateSecurityGroupRuleDescriptionsIngress Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

ToQuery UpdateSecurityGroupRuleDescriptionsIngress Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

NFData UpdateSecurityGroupRuleDescriptionsIngress Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

type Rep UpdateSecurityGroupRuleDescriptionsIngress Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

type Rep UpdateSecurityGroupRuleDescriptionsIngress = D1 (MetaData "UpdateSecurityGroupRuleDescriptionsIngress" "Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "UpdateSecurityGroupRuleDescriptionsIngress'" PrefixI True) ((S1 (MetaSel (Just "_usgrdiGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_usgrdiGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_usgrdiDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_usgrdiIPPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [IPPermission]))))
type Rs UpdateSecurityGroupRuleDescriptionsIngress Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

Request Lenses

usgrdiGroupId :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (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.

usgrdiGroupName :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (Maybe Text) Source #

EC2-Classic, default VPC
The name of the security group. You must specify either the security group ID or the security group name in the request.

usgrdiDryRun :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (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 .

usgrdiIPPermissions :: Lens' UpdateSecurityGroupRuleDescriptionsIngress [IPPermission] Source #

The IP permissions for the security group rule.

Destructuring the Response

updateSecurityGroupRuleDescriptionsIngressResponse Source #

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

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

data UpdateSecurityGroupRuleDescriptionsIngressResponse Source #

Contains the output of UpdateSecurityGroupRuleDescriptionsIngress.

See: updateSecurityGroupRuleDescriptionsIngressResponse smart constructor.

Instances
Eq UpdateSecurityGroupRuleDescriptionsIngressResponse Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

Data UpdateSecurityGroupRuleDescriptionsIngressResponse Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

Methods

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

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

toConstr :: UpdateSecurityGroupRuleDescriptionsIngressResponse -> Constr #

dataTypeOf :: UpdateSecurityGroupRuleDescriptionsIngressResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateSecurityGroupRuleDescriptionsIngressResponse Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

Show UpdateSecurityGroupRuleDescriptionsIngressResponse Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

Generic UpdateSecurityGroupRuleDescriptionsIngressResponse Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

NFData UpdateSecurityGroupRuleDescriptionsIngressResponse Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

type Rep UpdateSecurityGroupRuleDescriptionsIngressResponse Source # 
Instance details

Defined in Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress

type Rep UpdateSecurityGroupRuleDescriptionsIngressResponse = D1 (MetaData "UpdateSecurityGroupRuleDescriptionsIngressResponse" "Network.AWS.EC2.UpdateSecurityGroupRuleDescriptionsIngress" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "UpdateSecurityGroupRuleDescriptionsIngressResponse'" PrefixI True) (S1 (MetaSel (Just "_usgrdirsReturn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_usgrdirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

usgrdirsReturn :: Lens' UpdateSecurityGroupRuleDescriptionsIngressResponse (Maybe Bool) Source #

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