Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
134 lines
7.4 KiB
Text
134 lines
7.4 KiB
Text
import { Command as $Command } from "@smithy/smithy-client";
|
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
import type { GetBucketMetadataTableConfigurationOutput, GetBucketMetadataTableConfigurationRequest } from "../models/models_0";
|
|
import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
/**
|
|
* @public
|
|
*/
|
|
export type { __MetadataBearer };
|
|
export { $Command };
|
|
/**
|
|
* @public
|
|
*
|
|
* The input for {@link GetBucketMetadataTableConfigurationCommand}.
|
|
*/
|
|
export interface GetBucketMetadataTableConfigurationCommandInput extends GetBucketMetadataTableConfigurationRequest {
|
|
}
|
|
/**
|
|
* @public
|
|
*
|
|
* The output of {@link GetBucketMetadataTableConfigurationCommand}.
|
|
*/
|
|
export interface GetBucketMetadataTableConfigurationCommandOutput extends GetBucketMetadataTableConfigurationOutput, __MetadataBearer {
|
|
}
|
|
declare const GetBucketMetadataTableConfigurationCommand_base: {
|
|
new (input: GetBucketMetadataTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetBucketMetadataTableConfigurationCommandInput, GetBucketMetadataTableConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
new (input: GetBucketMetadataTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetBucketMetadataTableConfigurationCommandInput, GetBucketMetadataTableConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
};
|
|
/**
|
|
* <important>
|
|
* <p>
|
|
* We recommend that you retrieve your S3 Metadata configurations by using the V2
|
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetadataTableConfiguration.html">GetBucketMetadataTableConfiguration</a> API operation. We no longer recommend using the V1
|
|
* <code>GetBucketMetadataTableConfiguration</code> API operation.
|
|
* </p>
|
|
* <p>If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete
|
|
* and re-create your configuration by using <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html">CreateBucketMetadataConfiguration</a> so that you can expire journal table records and create
|
|
* a live inventory table.</p>
|
|
* </important>
|
|
* <p> Retrieves the V1 S3 Metadata configuration for a general purpose bucket. For more information, see
|
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html">Accelerating
|
|
* data discovery with S3 Metadata</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
* <note>
|
|
* <p>You can use the V2 <code>GetBucketMetadataConfiguration</code> API operation with V1 or V2
|
|
* metadata table configurations. However, if you try to use the V1
|
|
* <code>GetBucketMetadataTableConfiguration</code> API operation with V2 configurations, you
|
|
* will receive an HTTP <code>405 Method Not Allowed</code> error.</p>
|
|
* <p>Make sure that you update your processes to use the new V2 API operations
|
|
* (<code>CreateBucketMetadataConfiguration</code>, <code>GetBucketMetadataConfiguration</code>, and
|
|
* <code>DeleteBucketMetadataConfiguration</code>) instead of the V1 API operations. </p>
|
|
* </note>
|
|
* <dl>
|
|
* <dt>Permissions</dt>
|
|
* <dd>
|
|
* <p>To use this operation, you must have the <code>s3:GetBucketMetadataTableConfiguration</code>
|
|
* permission. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html">Setting up permissions for
|
|
* configuring metadata tables</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
* </dd>
|
|
* </dl>
|
|
* <p>The following operations are related to <code>GetBucketMetadataTableConfiguration</code>:</p>
|
|
* <ul>
|
|
* <li>
|
|
* <p>
|
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataTableConfiguration.html">CreateBucketMetadataTableConfiguration</a>
|
|
* </p>
|
|
* </li>
|
|
* <li>
|
|
* <p>
|
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetadataTableConfiguration.html">DeleteBucketMetadataTableConfiguration</a>
|
|
* </p>
|
|
* </li>
|
|
* </ul>
|
|
* <important>
|
|
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
* </important>
|
|
* @example
|
|
* Use a bare-bones client and the command you need to make an API call.
|
|
* ```javascript
|
|
* import { S3Client, GetBucketMetadataTableConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
* // const { S3Client, GetBucketMetadataTableConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
* // import type { S3ClientConfig } from "@aws-sdk/client-s3";
|
|
* const config = {}; // type is S3ClientConfig
|
|
* const client = new S3Client(config);
|
|
* const input = { // GetBucketMetadataTableConfigurationRequest
|
|
* Bucket: "STRING_VALUE", // required
|
|
* ExpectedBucketOwner: "STRING_VALUE",
|
|
* };
|
|
* const command = new GetBucketMetadataTableConfigurationCommand(input);
|
|
* const response = await client.send(command);
|
|
* // { // GetBucketMetadataTableConfigurationOutput
|
|
* // GetBucketMetadataTableConfigurationResult: { // GetBucketMetadataTableConfigurationResult
|
|
* // MetadataTableConfigurationResult: { // MetadataTableConfigurationResult
|
|
* // S3TablesDestinationResult: { // S3TablesDestinationResult
|
|
* // TableBucketArn: "STRING_VALUE", // required
|
|
* // TableName: "STRING_VALUE", // required
|
|
* // TableArn: "STRING_VALUE", // required
|
|
* // TableNamespace: "STRING_VALUE", // required
|
|
* // },
|
|
* // },
|
|
* // Status: "STRING_VALUE", // required
|
|
* // Error: { // ErrorDetails
|
|
* // ErrorCode: "STRING_VALUE",
|
|
* // ErrorMessage: "STRING_VALUE",
|
|
* // },
|
|
* // },
|
|
* // };
|
|
*
|
|
* ```
|
|
*
|
|
* @param GetBucketMetadataTableConfigurationCommandInput - {@link GetBucketMetadataTableConfigurationCommandInput}
|
|
* @returns {@link GetBucketMetadataTableConfigurationCommandOutput}
|
|
* @see {@link GetBucketMetadataTableConfigurationCommandInput} for command's `input` shape.
|
|
* @see {@link GetBucketMetadataTableConfigurationCommandOutput} for command's `response` shape.
|
|
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
*
|
|
* @throws {@link S3ServiceException}
|
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
*
|
|
*
|
|
* @public
|
|
*/
|
|
export declare class GetBucketMetadataTableConfigurationCommand extends GetBucketMetadataTableConfigurationCommand_base {
|
|
/** @internal type navigation helper, not in runtime. */
|
|
protected static __types: {
|
|
api: {
|
|
input: GetBucketMetadataTableConfigurationRequest;
|
|
output: GetBucketMetadataTableConfigurationOutput;
|
|
};
|
|
sdk: {
|
|
input: GetBucketMetadataTableConfigurationCommandInput;
|
|
output: GetBucketMetadataTableConfigurationCommandOutput;
|
|
};
|
|
};
|
|
}
|