import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeLocationS3Request, DescribeLocationS3Response } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeLocationS3Command}. */ export interface DescribeLocationS3CommandInput extends DescribeLocationS3Request { } /** * @public * * The output of {@link DescribeLocationS3Command}. */ export interface DescribeLocationS3CommandOutput extends DescribeLocationS3Response, __MetadataBearer { } declare const DescribeLocationS3Command_base: { new (input: DescribeLocationS3CommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeLocationS3CommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Provides details about how an DataSync transfer location for an S3 bucket * is configured.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataSyncClient, DescribeLocationS3Command } from "@aws-sdk/client-datasync"; // ES Modules import * // const { DataSyncClient, DescribeLocationS3Command } = require("@aws-sdk/client-datasync"); // CommonJS import * // import type { DataSyncClientConfig } from "@aws-sdk/client-datasync"; * const config = {}; // type is DataSyncClientConfig * const client = new DataSyncClient(config); * const input = { // DescribeLocationS3Request * LocationArn: "STRING_VALUE", // required * }; * const command = new DescribeLocationS3Command(input); * const response = await client.send(command); * // { // DescribeLocationS3Response * // LocationArn: "STRING_VALUE", * // LocationUri: "STRING_VALUE", * // S3StorageClass: "STANDARD" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_INSTANT_RETRIEVAL", * // S3Config: { // S3Config * // BucketAccessRoleArn: "STRING_VALUE", // required * // }, * // AgentArns: [ // AgentArnList * // "STRING_VALUE", * // ], * // CreationTime: new Date("TIMESTAMP"), * // }; * * ``` * * @param DescribeLocationS3CommandInput - {@link DescribeLocationS3CommandInput} * @returns {@link DescribeLocationS3CommandOutput} * @see {@link DescribeLocationS3CommandInput} for command's `input` shape. * @see {@link DescribeLocationS3CommandOutput} for command's `response` shape. * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape. * * @throws {@link InternalException} (server fault) *

This exception is thrown when an error occurs in the DataSync * service.

* * @throws {@link InvalidRequestException} (client fault) *

This exception is thrown when the client submits a malformed request.

* * @throws {@link DataSyncServiceException} *

Base exception class for all service exceptions from DataSync service.

* * * @public */ export declare class DescribeLocationS3Command extends DescribeLocationS3Command_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeLocationS3Request; output: DescribeLocationS3Response; }; sdk: { input: DescribeLocationS3CommandInput; output: DescribeLocationS3CommandOutput; }; }; }