amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Description

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 can remove a description for a security group rule by omitting the description parameter in the request.
Synopsis

Creating a Request

data UpdateSecurityGroupRuleDescriptionsEgress Source #

Constructors

UpdateSecurityGroupRuleDescriptionsEgress' 

Fields

  • dryRun :: 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.

  • groupId :: 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.

  • groupName :: 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.
  • ipPermissions :: Maybe [IpPermission]

    The IP permissions for the security group rule. You must specify either the IP permissions or the description.

  • securityGroupRuleDescriptions :: Maybe [SecurityGroupRuleDescription]

    The description for the egress security group rules. You must specify either the description or the IP permissions.

Instances

Instances details
ToHeaders UpdateSecurityGroupRuleDescriptionsEgress Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

ToPath UpdateSecurityGroupRuleDescriptionsEgress Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

ToQuery UpdateSecurityGroupRuleDescriptionsEgress Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

AWSRequest UpdateSecurityGroupRuleDescriptionsEgress Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Generic UpdateSecurityGroupRuleDescriptionsEgress Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Read UpdateSecurityGroupRuleDescriptionsEgress Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Show UpdateSecurityGroupRuleDescriptionsEgress Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

NFData UpdateSecurityGroupRuleDescriptionsEgress Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Eq UpdateSecurityGroupRuleDescriptionsEgress Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Hashable UpdateSecurityGroupRuleDescriptionsEgress Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

type AWSResponse UpdateSecurityGroupRuleDescriptionsEgress Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

type Rep UpdateSecurityGroupRuleDescriptionsEgress Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

type Rep UpdateSecurityGroupRuleDescriptionsEgress = D1 ('MetaData "UpdateSecurityGroupRuleDescriptionsEgress" "Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "UpdateSecurityGroupRuleDescriptionsEgress'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ipPermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IpPermission])) :*: S1 ('MetaSel ('Just "securityGroupRuleDescriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SecurityGroupRuleDescription]))))))

newUpdateSecurityGroupRuleDescriptionsEgress :: UpdateSecurityGroupRuleDescriptionsEgress Source #

Create a value of UpdateSecurityGroupRuleDescriptionsEgress with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dryRun:UpdateSecurityGroupRuleDescriptionsEgress', updateSecurityGroupRuleDescriptionsEgress_dryRun - 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.

UpdateSecurityGroupRuleDescriptionsEgress, updateSecurityGroupRuleDescriptionsEgress_groupId - 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.

UpdateSecurityGroupRuleDescriptionsEgress, updateSecurityGroupRuleDescriptionsEgress_groupName - [Default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.

UpdateSecurityGroupRuleDescriptionsEgress, updateSecurityGroupRuleDescriptionsEgress_ipPermissions - The IP permissions for the security group rule. You must specify either the IP permissions or the description.

$sel:securityGroupRuleDescriptions:UpdateSecurityGroupRuleDescriptionsEgress', updateSecurityGroupRuleDescriptionsEgress_securityGroupRuleDescriptions - The description for the egress security group rules. You must specify either the description or the IP permissions.

Request Lenses

updateSecurityGroupRuleDescriptionsEgress_dryRun :: 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.

updateSecurityGroupRuleDescriptionsEgress_groupId :: 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.

updateSecurityGroupRuleDescriptionsEgress_groupName :: 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.

updateSecurityGroupRuleDescriptionsEgress_ipPermissions :: Lens' UpdateSecurityGroupRuleDescriptionsEgress (Maybe [IpPermission]) Source #

The IP permissions for the security group rule. You must specify either the IP permissions or the description.

updateSecurityGroupRuleDescriptionsEgress_securityGroupRuleDescriptions :: Lens' UpdateSecurityGroupRuleDescriptionsEgress (Maybe [SecurityGroupRuleDescription]) Source #

The description for the egress security group rules. You must specify either the description or the IP permissions.

Destructuring the Response

data UpdateSecurityGroupRuleDescriptionsEgressResponse Source #

Constructors

UpdateSecurityGroupRuleDescriptionsEgressResponse' 

Fields

Instances

Instances details
Generic UpdateSecurityGroupRuleDescriptionsEgressResponse Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Read UpdateSecurityGroupRuleDescriptionsEgressResponse Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Show UpdateSecurityGroupRuleDescriptionsEgressResponse Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

NFData UpdateSecurityGroupRuleDescriptionsEgressResponse Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

Eq UpdateSecurityGroupRuleDescriptionsEgressResponse Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

type Rep UpdateSecurityGroupRuleDescriptionsEgressResponse Source # 
Instance details

Defined in Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress

type Rep UpdateSecurityGroupRuleDescriptionsEgressResponse = D1 ('MetaData "UpdateSecurityGroupRuleDescriptionsEgressResponse" "Amazonka.EC2.UpdateSecurityGroupRuleDescriptionsEgress" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "UpdateSecurityGroupRuleDescriptionsEgressResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "return'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateSecurityGroupRuleDescriptionsEgressResponse Source #

Create a value of UpdateSecurityGroupRuleDescriptionsEgressResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:return':UpdateSecurityGroupRuleDescriptionsEgressResponse', updateSecurityGroupRuleDescriptionsEgressResponse_return - Returns true if the request succeeds; otherwise, returns an error.

$sel:httpStatus:UpdateSecurityGroupRuleDescriptionsEgressResponse', updateSecurityGroupRuleDescriptionsEgressResponse_httpStatus - The response's http status code.

Response Lenses