#NEWLINE# def put( bucket , path = None , return_bin = False , action = None , local_file = None , key = None , keyid = None , service_url = None , verify_ssl = None , kms_keyid = None , location = None , role_arn = None ) : #NEWLINE# #INDENT# '\n    Create a new bucket, or upload an object to a bucket.\n\n    CLI Example to create a bucket:\n\n    .. code-block:: bash\n\n        salt myminion s3.put mybucket\n\n    CLI Example to upload an object to a bucket:\n\n    .. code-block:: bash\n\n        salt myminion s3.put mybucket remotepath local_file=/path/to/file\n    ' #NEWLINE# ( key , keyid , service_url , verify_ssl , kms_keyid , location , role_arn ) = _get_key ( key , keyid , service_url , verify_ssl , kms_keyid , location , role_arn ) #NEWLINE# return salt . utils . s3 . query ( method = 'PUT' , bucket = bucket , path = path , return_bin = return_bin , local_file = local_file , action = action , key = key , keyid = keyid , kms_keyid = kms_keyid , service_url = service_url , verify_ssl = verify_ssl , location = location , role_arn = role_arn )