import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Preauthenticated Request resource in Oracle Cloud Infrastructure Object Storage service. * * Gets the pre-authenticated request for the bucket. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPreauthenticatedRequest = oci.objectstorage.getPreauthrequest({ * bucket: preauthenticatedRequestBucket, * namespace: preauthenticatedRequestNamespace, * parId: testPar.id, * }); * ``` */ export declare function getPreauthrequest(args: GetPreauthrequestArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPreauthrequest. */ export interface GetPreauthrequestArgs { /** * The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1` */ bucket: string; /** * The Object Storage namespace used for the request. */ namespace: string; /** * The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE. */ parId: string; } /** * A collection of values returned by getPreauthrequest. */ export interface GetPreauthrequestResult { /** * The operation that can be performed on this resource. */ readonly accessType: string; /** * The URI to embed in the URL when using the pre-authenticated request. */ readonly accessUri: string; /** * The name of the bucket. Example: `my-new-bucket1` */ readonly bucket: string; /** * Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation. */ readonly bucketListingAction: string; readonly fullPath: string; /** * The unique identifier to use when directly addressing the pre-authenticated request. */ readonly id: string; /** * The user-provided name of the pre-authenticated request. */ readonly name: string; /** * The Object Storage namespace used for the request. */ readonly namespace: string; /** * Deprecated. Instead use `objectName`.The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket. Example: test/object1.log * * @deprecated The 'object' field has been deprecated. Please use 'object_name' instead. */ readonly object: string; /** * The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket. Example: test/object1.log */ readonly objectName: string; readonly parId: string; /** * The date when the pre-authenticated request was created as per specification [RFC 3339](https://tools.ietf.org/html/rfc3339). */ readonly timeCreated: string; /** * The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/html/rfc3339). After this date the pre-authenticated request will no longer be valid. */ readonly timeExpires: string; } /** * This data source provides details about a specific Preauthenticated Request resource in Oracle Cloud Infrastructure Object Storage service. * * Gets the pre-authenticated request for the bucket. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPreauthenticatedRequest = oci.objectstorage.getPreauthrequest({ * bucket: preauthenticatedRequestBucket, * namespace: preauthenticatedRequestNamespace, * parId: testPar.id, * }); * ``` */ export declare function getPreauthrequestOutput(args: GetPreauthrequestOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPreauthrequest. */ export interface GetPreauthrequestOutputArgs { /** * The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1` */ bucket: pulumi.Input; /** * The Object Storage namespace used for the request. */ namespace: pulumi.Input; /** * The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE. */ parId: pulumi.Input; } //# sourceMappingURL=getPreauthrequest.d.ts.map