Browse Source

Fixes minor typos.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15434 44c647ce-9c0f-0410-b52a-842ac1e357ba
wil 16 years ago
parent
commit
89395effb2

+ 9 - 9
documentation/manual/en/module_specs/Zend_Service_Amazon_Ec2-Securitygroups.xml

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