Amplify Toolbox
    Preparing search index...

    Class NoticesManifestValidator

    Validates the notices manifest.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • noticesManifest: {
            notices: {
                details: string;
                frequency?: "once" | "command" | "deployment" | "daily";
                id: string;
                link?: string;
                predicates: (
                    | {
                        packageName: string;
                        type: "packageVersion";
                        versionRange: string;
                    }
                    | { type: "nodeVersion"; versionRange: string }
                    | { osFamily: "linux" | "windows" | "macos"; type: "osFamily" }
                    | {
                        backendComponent: "function" | "data" | "auth" | "storage" | "ai";
                        type: "backendComponent";
                    }
                    | {
                        command: "sandbox"
                        | "pipeline-deploy"
                        | "generate"
                        | "configure";
                        type: "command";
                    }
                    | { errorMessage: string; type: "errorMessage" }
                )[];
                title: string;
                validFrom?: number;
                validTo?: number;
            }[];
        }

      Returns Promise<void>