Protected
Retrieves information about when the specified access key was last used.
Use a bare-bones client and the command you need to make an API call.
import { IdentityClient, GetAccessKeyLastUsedCommand } from "@stedi/sdk-client-identity"; // ES Modules import// const { IdentityClient, GetAccessKeyLastUsedCommand } = require("@stedi/sdk-client-identity"); // CommonJS importconst client = new IdentityClient(config);const input = { // GetAccessKeyLastUsedInput accessKeyId: "STRING_VALUE", // required};const command = new GetAccessKeyLastUsedCommand(input);const response = await client.send(command);// { // GetAccessKeyLastUsedOutput// machineUserName: "STRING_VALUE", // required// accessKeyId: "STRING_VALUE", // required// lastUsed: new Date("TIMESTAMP"),// };
GetAccessKeyLastUsedCommandInput
GetAccessKeyLastUsedCommandOutput
input
response
config
AccessDeniedException (client fault)
ProductUnavailableException (client fault)
ResourceAlreadyExistsException (client fault)
ResourceNotFoundException (client fault)
ResourceUnderChangeException (client fault)
ServiceException (server fault)
IdentityServiceException
Base exception class for all service exceptions from Identity service.
Readonly
Static
Retrieves information about when the specified access key was last used.
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetAccessKeyLastUsedCommandInput
Returns
GetAccessKeyLastUsedCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
Throws
ProductUnavailableException (client fault)
Throws
ResourceAlreadyExistsException (client fault)
Throws
ResourceNotFoundException (client fault)
Throws
ResourceUnderChangeException (client fault)
Throws
ServiceException (server fault)
Throws
IdentityServiceException
Base exception class for all service exceptions from Identity service.