Class UpdateSecurityGroupRuleDescriptionsIngressCommand
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 can remove a description for a security group rule by omitting the description
parameter in the request.
example
Use a bare-bones client and the command you need to make an API call.
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 can remove a description for a security group rule by omitting the description parameter in the request.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, UpdateSecurityGroupRuleDescriptionsIngressCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, UpdateSecurityGroupRuleDescriptionsIngressCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new UpdateSecurityGroupRuleDescriptionsIngressCommand(input); const response = await client.send(command);
UpdateSecurityGroupRuleDescriptionsIngressCommandInput for command's
input
shape.UpdateSecurityGroupRuleDescriptionsIngressCommandOutput for command's
response
shape.config for EC2Client's
config
shape.