|
|
@@ -51,12 +51,12 @@ $return = $ec2_sg->create('mygroup', 'my group description');
|
|
|
</para>
|
|
|
<para>
|
|
|
If you specify security group names, information about those security
|
|
|
- group is returned. Otherwise, information for all security group is
|
|
|
+ groups is returned. Otherwise, information for all security groups is
|
|
|
returned. If you specify a group that does not exist, a fault is returned.
|
|
|
</para>
|
|
|
<para>
|
|
|
- <code>describe</code> will return an array containg information
|
|
|
- about security groups which includes the ownerId, gropuName,
|
|
|
+ <code>describe</code> will return an array containing information
|
|
|
+ about security groups which includes the ownerId, groupName,
|
|
|
groupDescription and an array containing all the rules for that security
|
|
|
group.
|
|
|
</para>
|
|
|
@@ -64,7 +64,7 @@ $return = $ec2_sg->create('mygroup', 'my group description');
|
|
|
<programlisting role="php"><![CDATA[
|
|
|
$ec2_sg = new Zend_Service_Amazon_Ec2_Securitygroups('aws_key',
|
|
|
'aws_secret_key');
|
|
|
-$return = $ec2_ebs->describe('mygroup');
|
|
|
+$return = $ec2_sg->describe('mygroup');
|
|
|
]]></programlisting>
|
|
|
</example>
|
|
|
|
|
|
@@ -118,7 +118,7 @@ $return = $ec2_sg->delete('mygroup');
|
|
|
<programlisting role="php"><![CDATA[
|
|
|
$ec2_sg = new Zend_Service_Amazon_Ec2_Securitygroups('aws_key',
|
|
|
'aws_secret_key');
|
|
|
-$return = $ec2_ebs->authorizeIp('mygroup',
|
|
|
+$return = $ec2_sg->authorizeIp('mygroup',
|
|
|
'protocol',
|
|
|
'fromPort',
|
|
|
'toPort',
|
|
|
@@ -143,7 +143,7 @@ $return = $ec2_ebs->authorizeIp('mygroup',
|
|
|
<programlisting role="php"><![CDATA[
|
|
|
$ec2_sg = new Zend_Service_Amazon_Ec2_Securitygroups('aws_key',
|
|
|
'aws_secret_key');
|
|
|
-$return = $ec2_sg->authorizeGroup('mygroup', 'securityGruopName', 'ownerId');
|
|
|
+$return = $ec2_sg->authorizeGroup('mygroup', 'securityGroupName', 'ownerId');
|
|
|
]]></programlisting>
|
|
|
</example>
|
|
|
</sect2>
|
|
|
@@ -177,7 +177,7 @@ $return = $ec2_sg->authorizeGroup('mygroup', 'securityGruopName', 'ownerId');
|
|
|
<programlisting role="php"><![CDATA[
|
|
|
$ec2_sg = new Zend_Service_Amazon_Ec2_Securitygroups('aws_key',
|
|
|
'aws_secret_key');
|
|
|
-$return = $ec2_ebs->revokeIp('mygroup',
|
|
|
+$return = $ec2_sg->revokeIp('mygroup',
|
|
|
'protocol',
|
|
|
'fromPort',
|
|
|
'toPort',
|
|
|
@@ -189,7 +189,7 @@ $return = $ec2_ebs->revokeIp('mygroup',
|
|
|
<title>Revoke By Group</title>
|
|
|
<para>
|
|
|
<code>revokeGroup</code> Adds permissions to a security group. The permissions
|
|
|
- used to revoke must be specified using the same values used to grant the
|
|
|
+ to revoke must be specified using the same values used to grant the
|
|
|
permissions.
|
|
|
</para>
|
|
|
<para>
|
|
|
@@ -204,7 +204,7 @@ $return = $ec2_ebs->revokeIp('mygroup',
|
|
|
<programlisting role="php"><![CDATA[
|
|
|
$ec2_sg = new Zend_Service_Amazon_Ec2_Securitygroups('aws_key',
|
|
|
'aws_secret_key');
|
|
|
-$return = $ec2_sg->revokeGroup('mygroup', 'securityGruopName', 'ownerId');
|
|
|
+$return = $ec2_sg->revokeGroup('mygroup', 'securityGroupName', 'ownerId');
|
|
|
]]></programlisting>
|
|
|
</example>
|
|
|
</sect2>
|