PutBucketLogging
Enables and disables the mechanism for logging actions with the bucket.
Request
Path parameters
Parameter | Description |
---|---|
| Name of the bucket. |
Query parameters
Parameter | Description |
---|---|
| Required parameter that indicates the type of operation. |
Data schema
To enable logging of actions with the bucket:
Element | Description |
---|---|
| Root element. |
| The name of the target bucket where the objects are saved with logs. Type: String. |
| Object key prefix with logs. Type: String. |
To disable logging of actions with the bucket:
Headers
Use only common request headers in requests.
Response
Headers
Responses can only contain common response headers.
Response codes
For a list of possible responses, see Responses.
A successful response does not contain any additional data.
Last updated