« blib/lib/Paws/EC2/UpdateSecurityGroupRuleDescriptionsEgressResult.pm
↑ Summary
blib/lib/Paws/EC2/UpdateSecurityGroupRuleDescriptionsIngressResult.pm »
| 1 | |||
| 2 | package Paws::EC2::UpdateSecurityGroupRuleDescriptionsIngress; | ||
| 3 | use Moose; | ||
| 4 | has DryRun => (is => 'ro', isa => 'Bool'); | ||
| 5 | has GroupId => (is => 'ro', isa => 'Str'); | ||
| 6 | has GroupName => (is => 'ro', isa => 'Str'); | ||
| 7 | has IpPermissions => (is => 'ro', isa => 'ArrayRef[Paws::EC2::IpPermission]', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateSecurityGroupRuleDescriptionsIngress'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::UpdateSecurityGroupRuleDescriptionsIngressResult'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::EC2::UpdateSecurityGroupRuleDescriptionsIngress - Arguments for method UpdateSecurityGroupRuleDescriptionsIngress on L<Paws::EC2> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method UpdateSecurityGroupRuleDescriptionsIngress on the | ||
| 25 | L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class | ||
| 26 | as arguments to method UpdateSecurityGroupRuleDescriptionsIngress. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateSecurityGroupRuleDescriptionsIngress. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $ec2 = Paws->service('EC2'); | ||
| 33 | # To update an inbound security group rule description | ||
| 34 | # This example updates the description for the specified security group rule. | ||
| 35 | my $UpdateSecurityGroupRuleDescriptionsIngressResult = | ||
| 36 | $ec2->UpdateSecurityGroupRuleDescriptionsIngress( | ||
| 37 | 'GroupId' => 'sg-123abc12', | ||
| 38 | 'IpPermissions' => [ | ||
| 39 | |||
| 40 | { | ||
| 41 | 'FromPort' => 22, | ||
| 42 | 'IpProtocol' => 'tcp', | ||
| 43 | 'IpRanges' => [ | ||
| 44 | |||
| 45 | { | ||
| 46 | 'CidrIp' => '203.0.113.0/16', | ||
| 47 | 'Description' => 'SSH access from the LA office' | ||
| 48 | } | ||
| 49 | ], | ||
| 50 | 'ToPort' => 22 | ||
| 51 | } | ||
| 52 | ] | ||
| 53 | ); | ||
| 54 | |||
| 55 | |||
| 56 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 57 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/UpdateSecurityGroupRuleDescriptionsIngress> | ||
| 58 | |||
| 59 | =head1 ATTRIBUTES | ||
| 60 | |||
| 61 | |||
| 62 | =head2 DryRun => Bool | ||
| 63 | |||
| 64 | Checks whether you have the required permissions for the action, | ||
| 65 | without actually making the request, and provides an error response. If | ||
| 66 | you have the required permissions, the error response is | ||
| 67 | C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head2 GroupId => Str | ||
| 72 | |||
| 73 | The ID of the security group. You must specify either the security | ||
| 74 | group ID or the security group name in the request. For security groups | ||
| 75 | in a nondefault VPC, you must specify the security group ID. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 GroupName => Str | ||
| 80 | |||
| 81 | [EC2-Classic, default VPC] The name of the security group. You must | ||
| 82 | specify either the security group ID or the security group name in the | ||
| 83 | request. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head2 B<REQUIRED> IpPermissions => ArrayRef[L<Paws::EC2::IpPermission>] | ||
| 88 | |||
| 89 | The IP permissions for the security group rule. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head1 SEE ALSO | ||
| 95 | |||
| 96 | This class forms part of L<Paws>, documenting arguments for method UpdateSecurityGroupRuleDescriptionsIngress in L<Paws::EC2> | ||
| 97 | |||
| 98 | =head1 BUGS and CONTRIBUTIONS | ||
| 99 | |||
| 100 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 101 | |||
| 102 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 103 | |||
| 104 | =cut | ||
| 105 |