Class GetBucketLoggingRequest
Container for the parameters to the GetBucketLogging operation.
Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner.
public class GetBucketLoggingRequest : AmazonWebServiceRequest
- Inheritance
-
GetBucketLoggingRequest
Constructors
GetBucketLoggingRequest()
public GetBucketLoggingRequest()
Properties
BucketName
The name of the bucket to query.
public string BucketName { get; set; }
Property Value
ExpectedBucketOwner
The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
public string ExpectedBucketOwner { get; set; }