S3 / Client / generate_presigned_url


S3.Client.generate_presigned_url(ClientMethod, Params=None, ExpiresIn=3600, HttpMethod=None)#

Generate a presigned url given a client, its method, and arguments

  • ClientMethod (string) – The client method to presign for

  • Params (dict) – The parameters normally passed to ClientMethod.

  • ExpiresIn (int) – The number of seconds the presigned url is valid for. By default it expires in an hour (3600 seconds)

  • HttpMethod (string) – The http method to use on the generated url. By default, the http method is whatever is used in the method’s model.


The presigned url