- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
DeleteVPCEConfigurationCommand
Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { DeviceFarmClient, DeleteVPCEConfigurationCommand } from "@aws-sdk/client-device-farm"; // ES Modules import
// const { DeviceFarmClient, DeleteVPCEConfigurationCommand } = require("@aws-sdk/client-device-farm"); // CommonJS import
const client = new DeviceFarmClient(config);
const input = { // DeleteVPCEConfigurationRequest
arn: "STRING_VALUE", // required
};
const command = new DeleteVPCEConfigurationCommand(input);
const response = await client.send(command);
// {};
DeleteVPCEConfigurationCommand Input
See DeleteVPCEConfigurationCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
arn Required | string | undefined | The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to delete. |
DeleteVPCEConfigurationCommand Output
See DeleteVPCEConfigurationCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
ArgumentException | client | An invalid argument was specified. |
InvalidOperationException | client | There was an error with the update request, or you do not have sufficient permissions to update this VPC endpoint configuration. |
NotFoundException | client | The specified entity was not found. |
ServiceAccountException | client | There was a problem with the service account. |
DeviceFarmServiceException | Base exception class for all service exceptions from DeviceFarm service. |