Jump to Content

Class GetAssetCommandProtected

This operation returns information about an asset.

Example

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

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

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<GetAssetCommandInput, GetAssetCommandOutput>

Methods