/** * Functions Service API * API for the Functions service. * OpenAPI spec version: 20181201 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as serviceRequests from "./request"; import * as serviceResponses from "./response"; import * as models from "./model"; import { FunctionsManagementClient } from "./client"; export declare class FunctionsManagementWaiter { private client; private readonly config?; constructor(client: FunctionsManagementClient, config?: Partial | undefined); /** * Waits forApplication till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetApplicationResponse | null (null in case of 404 response) */ forApplication(request: serviceRequests.GetApplicationRequest, ...targetStates: models.Application.LifecycleState[]): Promise; /** * Waits forFunction till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetFunctionResponse | null (null in case of 404 response) */ forFunction(request: serviceRequests.GetFunctionRequest, ...targetStates: models.Function.LifecycleState[]): Promise; /** * Waits forPbfListing till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetPbfListingResponse | null (null in case of 404 response) */ forPbfListing(request: serviceRequests.GetPbfListingRequest, ...targetStates: models.PbfListing.LifecycleState[]): Promise; /** * Waits forPbfListingVersion till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetPbfListingVersionResponse | null (null in case of 404 response) */ forPbfListingVersion(request: serviceRequests.GetPbfListingVersionRequest, ...targetStates: models.PbfListingVersion.LifecycleState[]): Promise; }