Skip to content

/AWS1/CL_S3=>GETBUCKETREQUESTPAYMENT()

About GetBucketRequestPayment

This operation is not supported by directory buckets.

Returns the request payment configuration of a bucket. To use this version of the operation, you must be the bucket owner. For more information, see Requester Pays Buckets.

The following operations are related to GetBucketRequestPayment:

Method Signature

IMPORTING

Required arguments:

IV_BUCKET TYPE /AWS1/S3_BUCKETNAME /AWS1/S3_BUCKETNAME

The name of the bucket for which to get the payment request configuration

Optional arguments:

IV_EXPECTEDBUCKETOWNER TYPE /AWS1/S3_ACCOUNTID /AWS1/S3_ACCOUNTID

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_S3_GETBKTREQPMNTOUT /AWS1/CL_S3_GETBKTREQPMNTOUT