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.
Protected
Describe the attributes of an accelerator.
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 importconst 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",// },// };
DescribeAcceleratorAttributesCommandInput
DescribeAcceleratorAttributesCommandOutput
input
response
config
AcceleratorNotFoundException (client fault)
The accelerator that you specified doesn't exist.
InternalServiceErrorException (server fault)
There was an internal error for Global Accelerator.
InvalidArgumentException (client fault)
An argument that you specified is invalid.
GlobalAcceleratorServiceException
Base exception class for all service exceptions from GlobalAccelerator service.
Readonly
Static
Describe the attributes of an accelerator.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DescribeAcceleratorAttributesCommandInput
Returns
DescribeAcceleratorAttributesCommandOutput
See
input
shape.response
shape.config
shape.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.