Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class DescribeAcceleratorAttributesCommandProtected

Describe the attributes of an accelerator.

Example

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

import { GlobalAcceleratorClient, DescribeAcceleratorAttributesCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
// const { GlobalAcceleratorClient, DescribeAcceleratorAttributesCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
const client = new GlobalAcceleratorClient(config);
const input = { // DescribeAcceleratorAttributesRequest
AcceleratorArn: "STRING_VALUE", // required
};
const command = new DescribeAcceleratorAttributesCommand(input);
const response = await client.send(command);
// { // DescribeAcceleratorAttributesResponse
// AcceleratorAttributes: { // AcceleratorAttributes
// FlowLogsEnabled: true || false,
// FlowLogsS3Bucket: "STRING_VALUE",
// FlowLogsS3Prefix: "STRING_VALUE",
// },
// };

Param

DescribeAcceleratorAttributesCommandInput

Returns

DescribeAcceleratorAttributesCommandOutput

See

Throws

AcceleratorNotFoundException (client fault)

The accelerator that you specified doesn't exist.

Throws

InternalServiceErrorException (server fault)

There was an internal error for Global Accelerator.

Throws

InvalidArgumentException (client fault)

An argument that you specified is invalid.

Throws

GlobalAcceleratorServiceException

Base exception class for all service exceptions from GlobalAccelerator service.

Hierarchy

Constructors

Properties

Methods