Turn off logging for a specified bucket.
Declaration Syntax
C# |
public DisableBucketLoggingResponse DisableBucketLogging( DisableBucketLoggingRequest request )
Parameters
- request (DisableBucketLoggingRequest)
- The DisableBucketLoggingRequest that defines the parameters of the operation.
Return Value
Returns a DisableBucketLoggingResponse from S3.
Remarks
An Amazon S3 bucket can be configured to create access log records for the
requests made against it. An access log record contains details about the
request such as the request type, the resource with which the request worked,
and the time and date that the request was processed. Server access logs are
useful for many applications, because they give bucket owners insight into
the nature of requests made by clients not under their control.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | |
WebException | |
AmazonS3Exception |