:doc:`S3 <../../s3>` / Client / generate_presigned_url

**********************
generate_presigned_url
**********************



.. py:method:: S3.Client.generate_presigned_url(ClientMethod, Params=None, ExpiresIn=3600, HttpMethod=None)

    
  Generate a presigned url given a client, its method, and arguments
  
  :type ClientMethod: string
  :param ClientMethod: The client method to presign for
  
  :type Params: dict
  :param Params: The parameters normally passed to
      ``ClientMethod``.
  
  :type ExpiresIn: int
  :param ExpiresIn: The number of seconds the presigned url is valid
      for. By default it expires in an hour (3600 seconds)
  
  :type HttpMethod: string
  :param HttpMethod: The http method to use on the generated url. By
      default, the http method is whatever is used in the method's model.
  
  :returns: The presigned url
