OptionalbodyOptionalcontent_type?: string | nullThe expected Content-type header of the request this signed URL will be valid for. If provided, the Content-type header must be sent with the request when this URL is used, and must be the same as it was when the signed URL was created. Required for all methods except GET or DELETE.
Optionalexpires_in?: number | nullHow long this signed URL will be valid for, in seconds. If omitted, the URL will be valid for 3600 seconds (1 hour).
The HTTP method allowed to be used with the pre-signed URL.
The name of the object that will be accessed with the pre-signed URL. This object need not exist, and no error will be returned if it doesn't. This behavior is useful for generating pre-signed URLs to upload new objects to by setting the method to PUT.
The bucket name.
Identifies a region where this bucket lives.
📘
You can use a
clusterIdin place ofregionIdin requests for buckets that you created using the legacy version of the API. Run List clusters to see each clusterid.
Optionalquery
Information about the request to sign.