View a markdown version of this page

GetBucketLoggingStatus(SOAP API) - Amazon Simple Storage Service

GetBucketLoggingStatus(SOAP API)

참고

Amazon S3용 SOAP API는 신규 고객에게 제공되지 않으며 2025년 8월 31일에 서비스 종료(EOL)됩니다. REST API 또는 AWS SDK를 사용하는 것이 좋습니다.

GetBucketLoggingStatus는 기존 버킷의 로깅 상태를 검색합니다.

이 기능에 대한 일반적인 소개는 서버 로그를 참조하세요.

Sample Request

<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetBucketLoggingStatus xmlns="https://doc.s3.amazonaws.com/2006-03-01"> <Bucket>mybucket</Bucket> <AWSAccessKeyId>YOUR_AWS_ACCESS_KEY_ID</AWSAccessKeyId> <Timestamp>2006-03-01T12:00:00.183Z</Timestamp> <Signature>YOUR_SIGNATURE_HERE</Signature> </GetBucketLoggingStatus> </soap:Body> </soap:Envelope>

Sample Response

<?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > <soapenv:Header> </soapenv:Header> <soapenv:Body> <GetBucketLoggingStatusResponse xmlns="https://s3.amazonaws.com/doc/2006-03-01"> <GetBucketLoggingStatusResponse> <LoggingEnabled> <TargetBucket>mylogs</TargetBucket> <TargetPrefix>mybucket-access_log-</TargetPrefix> </LoggingEnabled> </GetBucketLoggingStatusResponse> </GetBucketLoggingStatusResponse> </soapenv:Body> </soapenv:Envelope>

액세스 통제

버킷 소유자만 이 작업을 간접적으로 호출할 수 있습니다.