Public Member Functions | Static Public Member Functions | Protected Attributes

S3Permission Class Reference

An enumeration of all ACL permissions. More...

#import <S3Permission.h>

List of all members.

Public Member Functions

(id) - initWithXmlCode:

Static Public Member Functions

(S3Permission *) + readPermission
 Read Permission.
(S3Permission *) + writePermission
 Write permission.
(S3Permission *) + fullControlPermission
 The union of the other permissions.
(S3Permission *) + readAcpPermission
 Grants permission to read the ACL for the applicable bucket or object.
(S3Permission *) + writeAcpPermission
 Gives permission to overwrite the Access Control Policy for the applicable bucket or object.
(S3Permission *) + permissionWithString:
 Get the permission by the string supplied.

Protected Attributes

NSString * xmlValue

Detailed Description

An enumeration of all ACL permissions.

For more information, refer:

See also:
http://docs.amazonwebservices.com/AmazonS3/latest/S3_ACLs.html#S3_ACLs_Permissions

Member Function Documentation

+ (S3Permission * S3Permission.)fullControlPermission  

The union of the other permissions.

Provides readPermission, writePermission, readAcpPermission, and writeAcpPermission.

+ (S3Permission * S3Permission.)permissionWithString: (NSString *)  code  

Get the permission by the string supplied.

+ (S3Permission * S3Permission.)readAcpPermission  

Grants permission to read the ACL for the applicable bucket or object.

The owner of a bucket or object always has this permission implicitly.

+ (S3Permission * S3Permission.)readPermission  

Read Permission.

When applied to a bucket, grants permission to list the bucket. When applied to an object, this grants permission to read the object data and/or metadata.

+ (S3Permission * S3Permission.)writeAcpPermission  

Gives permission to overwrite the Access Control Policy for the applicable bucket or object.

The owner of a bucket or object always has this permission implicitly. Granting this permission is equivalent to granting FullControl because the grant recipient can make any changes to the ACP.

+ (S3Permission * S3Permission.)writePermission  

Write permission.

When applied to a bucket, grants permission to create, overwrite, and delete any object in the bucket. This permission is not supported for objects.


The documentation for this class was generated from the following file: