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:
GetBucketRequestPayment
ListObjects
Use a bare-bones client and the command you need to make an API call.
import { S3Client, GetBucketRequestPaymentCommand } from "@aws-sdk/client-s3"; // ES Modules import // const { S3Client, GetBucketRequestPaymentCommand } = require("@aws-sdk/client-s3"); // CommonJS import const client = new S3Client(config); const command = new GetBucketRequestPaymentCommand(input); const response = await client.send(command);
GetBucketRequestPaymentCommandInput for command's input shape.
input
GetBucketRequestPaymentCommandOutput for command's response shape.
response
config for S3Client's config shape.
config
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
:ListObjects
Use a bare-bones client and the command you need to make an API call.
import { S3Client, GetBucketRequestPaymentCommand } from "@aws-sdk/client-s3"; // ES Modules import // const { S3Client, GetBucketRequestPaymentCommand } = require("@aws-sdk/client-s3"); // CommonJS import const client = new S3Client(config); const command = new GetBucketRequestPaymentCommand(input); const response = await client.send(command);
GetBucketRequestPaymentCommandInput for command's
input
shape.GetBucketRequestPaymentCommandOutput for command's
response
shape.config for S3Client's
config
shape.