Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateLocationS3Command

Creates an endpoint for an Amazon S3 bucket.

For more information, see Create an Amazon S3 location in the DataSync User Guide.

example

Use a bare-bones client and the command you need to make an API call.

import { DataSyncClient, CreateLocationS3Command } from "@aws-sdk/client-datasync"; // ES Modules import
// const { DataSyncClient, CreateLocationS3Command } = require("@aws-sdk/client-datasync"); // CommonJS import
const client = new DataSyncClient(config);
const command = new CreateLocationS3Command(input);
const response = await client.send(command);
see

CreateLocationS3CommandInput for command's input shape.

see

CreateLocationS3CommandOutput for command's response shape.

see

config for DataSyncClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CreateLocationS3CommandInput

Readonly middlewareStack