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
Moves a domain to INACTIVE status if it was in the ACTIVE status.
Use a bare-bones client and the command you need to make an API call.
import { WorkLinkClient, RevokeDomainAccessCommand } from "@aws-sdk/client-worklink"; // ES Modules import// const { WorkLinkClient, RevokeDomainAccessCommand } = require("@aws-sdk/client-worklink"); // CommonJS importconst client = new WorkLinkClient(config);const input = { // RevokeDomainAccessRequest FleetArn: "STRING_VALUE", // required DomainName: "STRING_VALUE", // required};const command = new RevokeDomainAccessCommand(input);const response = await client.send(command);// {};
RevokeDomainAccessCommandInput
RevokeDomainAccessCommandOutput
input
response
config
InternalServerErrorException (server fault)
The service is temporarily unavailable.
InvalidRequestException (client fault)
The request is not valid.
ResourceNotFoundException (client fault)
The requested resource was not found.
TooManyRequestsException (client fault)
The number of requests exceeds the limit.
UnauthorizedException (client fault)
You are not authorized to perform this action.
WorkLinkServiceException
Base exception class for all service exceptions from WorkLink service.
Readonly
Static
Deprecated
Moves a domain to INACTIVE status if it was in the ACTIVE status.
Example
Use a bare-bones client and the command you need to make an API call.
Param
RevokeDomainAccessCommandInput
Returns
RevokeDomainAccessCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalServerErrorException (server fault)
The service is temporarily unavailable.
Throws
InvalidRequestException (client fault)
The request is not valid.
Throws
ResourceNotFoundException (client fault)
The requested resource was not found.
Throws
TooManyRequestsException (client fault)
The number of requests exceeds the limit.
Throws
UnauthorizedException (client fault)
You are not authorized to perform this action.
Throws
WorkLinkServiceException
Base exception class for all service exceptions from WorkLink service.