- 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.
DeleteVerifiedAccessGroupCommand
Delete an Amazon Web Services Verified Access group.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, DeleteVerifiedAccessGroupCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, DeleteVerifiedAccessGroupCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const input = { // DeleteVerifiedAccessGroupRequest
VerifiedAccessGroupId: "STRING_VALUE", // required
ClientToken: "STRING_VALUE",
DryRun: true || false,
};
const command = new DeleteVerifiedAccessGroupCommand(input);
const response = await client.send(command);
// { // DeleteVerifiedAccessGroupResult
// VerifiedAccessGroup: { // VerifiedAccessGroup
// VerifiedAccessGroupId: "STRING_VALUE",
// VerifiedAccessInstanceId: "STRING_VALUE",
// Description: "STRING_VALUE",
// Owner: "STRING_VALUE",
// VerifiedAccessGroupArn: "STRING_VALUE",
// CreationTime: "STRING_VALUE",
// LastUpdatedTime: "STRING_VALUE",
// DeletionTime: "STRING_VALUE",
// Tags: [ // TagList
// { // Tag
// Key: "STRING_VALUE",
// Value: "STRING_VALUE",
// },
// ],
// SseSpecification: { // VerifiedAccessSseSpecificationResponse
// CustomerManagedKeyEnabled: true || false,
// KmsKeyArn: "STRING_VALUE",
// },
// },
// };
DeleteVerifiedAccessGroupCommand Input
See DeleteVerifiedAccessGroupCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
VerifiedAccessGroupId Required | string | undefined | The ID of the Verified Access group. |
ClientToken | string | undefined | A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency . |
DryRun | boolean | undefined | Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is |
DeleteVerifiedAccessGroupCommand Output
See DeleteVerifiedAccessGroupCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
VerifiedAccessGroup | VerifiedAccessGroup | undefined | Details about the Verified Access group. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
EC2ServiceException | Base exception class for all service exceptions from EC2 service. |