@cloud-copilot/iam-collect
Version:
Collect IAM information from AWS Accounts
23 lines • 888 B
TypeScript
/**
* Custom exception for indicating that a resource was not found
* Compatible with AWS SDK error structure and can be caught by runAndCatch404
*/
export declare class ResourceNotFoundException extends Error {
readonly name = "ResourceNotFoundException";
readonly $metadata: {
httpStatusCode: number;
requestId: string;
attempts: number;
totalRetryDelay: number;
};
constructor(message: string, requestId?: string);
/**
* Create a ResourceNotFoundException for a missing resource
*/
static forResource(resourceType: string, identifier: string, requestId?: string): ResourceNotFoundException;
/**
* Create a ResourceNotFoundException with a custom message
*/
static withMessage(message: string, requestId?: string): ResourceNotFoundException;
}
//# sourceMappingURL=ResourceNotFoundException.d.ts.map