Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetBucketRequestPaymentCommand

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:

example

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);
see

GetBucketRequestPaymentCommandInput for command's input shape.

see

GetBucketRequestPaymentCommandOutput for command's response shape.

see

config for S3Client's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: GetBucketRequestPaymentCommandInput

Readonly middlewareStack