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
Get the Verified Access policy associated with the endpoint.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, GetVerifiedAccessEndpointPolicyCommand } from "@aws-sdk/client-ec2"; // ES Modules import// const { EC2Client, GetVerifiedAccessEndpointPolicyCommand } = require("@aws-sdk/client-ec2"); // CommonJS importconst client = new EC2Client(config);const input = { // GetVerifiedAccessEndpointPolicyRequest VerifiedAccessEndpointId: "STRING_VALUE", // required DryRun: true || false,};const command = new GetVerifiedAccessEndpointPolicyCommand(input);const response = await client.send(command);// { // GetVerifiedAccessEndpointPolicyResult// PolicyEnabled: true || false,// PolicyDocument: "STRING_VALUE",// };
GetVerifiedAccessEndpointPolicyCommandInput
GetVerifiedAccessEndpointPolicyCommandOutput
input
response
config
EC2ServiceException
Base exception class for all service exceptions from EC2 service.
Readonly
Static
Get the Verified Access policy associated with the endpoint.
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetVerifiedAccessEndpointPolicyCommandInput
Returns
GetVerifiedAccessEndpointPolicyCommandOutput
See
input
shape.response
shape.config
shape.Throws
EC2ServiceException
Base exception class for all service exceptions from EC2 service.