Jump to Content

Class GetDataSetCommandProtected

This operation returns information about a data set.

Example

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

import { DataExchangeClient, GetDataSetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
// const { DataExchangeClient, GetDataSetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
const client = new DataExchangeClient(config);
const input = { // GetDataSetRequest
DataSetId: "STRING_VALUE", // required
};
const command = new GetDataSetCommand(input);
const response = await client.send(command);

Param

GetDataSetCommandInput

Returns

GetDataSetCommandOutput

See

Throws

InternalServerException (server fault)

An exception occurred with the service.

Throws

ResourceNotFoundException (client fault)

The resource couldn't be found.

Throws

ThrottlingException (client fault)

The limit on the number of requests per second was exceeded.

Throws

ValidationException (client fault)

The request was invalid.

Hierarchy

Constructors

Properties

middlewareStack: MiddlewareStack<GetDataSetCommandInput, GetDataSetCommandOutput>

Methods