import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Preauthenticated Requests in Oracle Cloud Infrastructure Object Storage service. * * Lists pre-authenticated requests for the bucket. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPreauthenticatedRequests = oci.objectstorage.getPreauthrequests({ * bucket: preauthenticatedRequestBucket, * namespace: preauthenticatedRequestNamespace, * objectNamePrefix: preauthenticatedRequestObjectNamePrefix, * }); * ``` */ export declare function getPreauthrequests(args: GetPreauthrequestsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPreauthrequests. */ export interface GetPreauthrequestsArgs { /** * The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1` */ bucket: string; filters?: inputs.ObjectStorage.GetPreauthrequestsFilter[]; /** * The Object Storage namespace used for the request. */ namespace: string; /** * User-specified object name prefixes can be used to query and return a list of pre-authenticated requests. */ objectNamePrefix?: string; } /** * A collection of values returned by getPreauthrequests. */ export interface GetPreauthrequestsResult { /** * The name of the bucket. Example: `my-new-bucket1` */ readonly bucket: string; readonly filters?: outputs.ObjectStorage.GetPreauthrequestsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Object Storage namespace used for the request. */ readonly namespace: string; readonly objectNamePrefix?: string; /** * The list of preauthenticated_requests. */ readonly preauthenticatedRequests: outputs.ObjectStorage.GetPreauthrequestsPreauthenticatedRequest[]; } /** * This data source provides the list of Preauthenticated Requests in Oracle Cloud Infrastructure Object Storage service. * * Lists pre-authenticated requests for the bucket. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPreauthenticatedRequests = oci.objectstorage.getPreauthrequests({ * bucket: preauthenticatedRequestBucket, * namespace: preauthenticatedRequestNamespace, * objectNamePrefix: preauthenticatedRequestObjectNamePrefix, * }); * ``` */ export declare function getPreauthrequestsOutput(args: GetPreauthrequestsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPreauthrequests. */ export interface GetPreauthrequestsOutputArgs { /** * The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1` */ bucket: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The Object Storage namespace used for the request. */ namespace: pulumi.Input; /** * User-specified object name prefixes can be used to query and return a list of pre-authenticated requests. */ objectNamePrefix?: pulumi.Input; } //# sourceMappingURL=getPreauthrequests.d.ts.map