UNPKG

@aws-sdk/client-s3-control

Version:

AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native

105 lines (104 loc) 4.91 kB
import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { GetAccessPointForObjectLambdaRequest, GetAccessPointForObjectLambdaResult } from "../models/models_0"; import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetAccessPointForObjectLambdaCommand}. */ export interface GetAccessPointForObjectLambdaCommandInput extends GetAccessPointForObjectLambdaRequest { } /** * @public * * The output of {@link GetAccessPointForObjectLambdaCommand}. */ export interface GetAccessPointForObjectLambdaCommandOutput extends GetAccessPointForObjectLambdaResult, __MetadataBearer { } declare const GetAccessPointForObjectLambdaCommand_base: { new (input: GetAccessPointForObjectLambdaCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccessPointForObjectLambdaCommandInput, GetAccessPointForObjectLambdaCommandOutput, S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; new (__0_0: GetAccessPointForObjectLambdaCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccessPointForObjectLambdaCommandInput, GetAccessPointForObjectLambdaCommandOutput, S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** * <note> * <p>This operation is not supported by directory buckets.</p> * </note> * <p>Returns configuration information about the specified Object Lambda Access Point</p> * <p>The following actions are related to <code>GetAccessPointForObjectLambda</code>:</p> * <ul> * <li> * <p> * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html">CreateAccessPointForObjectLambda</a> * </p> * </li> * <li> * <p> * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html">DeleteAccessPointForObjectLambda</a> * </p> * </li> * <li> * <p> * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html">ListAccessPointsForObjectLambda</a> * </p> * </li> * </ul> * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { S3ControlClient, GetAccessPointForObjectLambdaCommand } from "@aws-sdk/client-s3-control"; // ES Modules import * // const { S3ControlClient, GetAccessPointForObjectLambdaCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import * const client = new S3ControlClient(config); * const input = { // GetAccessPointForObjectLambdaRequest * AccountId: "STRING_VALUE", * Name: "STRING_VALUE", // required * }; * const command = new GetAccessPointForObjectLambdaCommand(input); * const response = await client.send(command); * // { // GetAccessPointForObjectLambdaResult * // Name: "STRING_VALUE", * // PublicAccessBlockConfiguration: { // PublicAccessBlockConfiguration * // BlockPublicAcls: true || false, * // IgnorePublicAcls: true || false, * // BlockPublicPolicy: true || false, * // RestrictPublicBuckets: true || false, * // }, * // CreationDate: new Date("TIMESTAMP"), * // Alias: { // ObjectLambdaAccessPointAlias * // Value: "STRING_VALUE", * // Status: "PROVISIONING" || "READY", * // }, * // }; * * ``` * * @param GetAccessPointForObjectLambdaCommandInput - {@link GetAccessPointForObjectLambdaCommandInput} * @returns {@link GetAccessPointForObjectLambdaCommandOutput} * @see {@link GetAccessPointForObjectLambdaCommandInput} for command's `input` shape. * @see {@link GetAccessPointForObjectLambdaCommandOutput} for command's `response` shape. * @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape. * * @throws {@link S3ControlServiceException} * <p>Base exception class for all service exceptions from S3Control service.</p> * * @public */ export declare class GetAccessPointForObjectLambdaCommand extends GetAccessPointForObjectLambdaCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetAccessPointForObjectLambdaRequest; output: GetAccessPointForObjectLambdaResult; }; sdk: { input: GetAccessPointForObjectLambdaCommandInput; output: GetAccessPointForObjectLambdaCommandOutput; }; }; }