tis-aws-cli icon

AWS Command Line Interface

Silent install package for AWS Command Line Interface

2.27.62.0-1

  • package: tis-aws-cli
  • name: AWS Command Line Interface
  • version: 2.27.62.0-1
  • maintainer: Amel FRADJ
  • licence: 2012-2021 Amazon.com, Inc.
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 41.29 Mo
  • homepage : https://aws.amazon.com/

package           : tis-aws-cli
version           : 2.27.62.0-1
architecture      : x64
section           : base
priority          : optional
name              : AWS Command Line Interface
categories        : 
maintainer        : Amel FRADJ
description       : AWS Command Line Interface v2 (Amazon Web Services)
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Interface de ligne de commande AWS v2 (Amazon Web Services)
description_pl    : Interfejs wiersza poleceń AWS v2 (Amazon Web Services)
description_de    : AWS-Befehlszeilenschnittstelle v2 (Amazon Web Services)
description_es    : Interfaz de línea de comandos de AWS v2 (Amazon Web Services)
description_pt    : AWS Command Line Interface v2 (Amazon Web Services)
description_it    : Interfaccia a riga di comando AWS v2 (Amazon Web Services)
description_nl    : AWS-opdrachtregelinterface v2 (Amazon Web Services)
description_ru    : Интерфейс командной строки AWS v2 (Amazon Web Services)
audit_schedule    : 
editor            : 
keywords          : 
licence           : 2012-2021 Amazon.com, Inc.
homepage          : https://aws.amazon.com/
package_uuid      : b2fbe334-53e3-45de-96e3-62c677a644a8
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://raw.githubusercontent.com/aws/aws-cli/v2/CHANGELOG.rst
min_os_version    : 
max_os_version    : 
icon_sha256sum    : edac749d46a732ba24f8e39797fac93c401470ddd918eaf87ac1f1696330ee73
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-03T20:03:19.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : vsuz3kDpydQNUReH6A+z54TbnRdxbec4ubJavTehz1xzspw2GYQWpBx2Nmc/jEfGU6Rl82osaDrKCNUfYd6NMnAbBnotaIVCvbsSIq1OhWSgyaV/+QkW9XO2PdDgpLf4ZO6Y2PcGvFNObxhxUZw24r9H9YTkbotr3F379U/EXsanq/sh2um9CV926f9UU4IOab6GEhD0p7JmXGmJDDk8+SBir1+z83GnHDMOGTv+kwAWchZvHO4PGsO1Th9TbOUXz8cKpnM0EMqaIW8NDJH1XjW8wKHGCklalw83D6/8LPPkVCiW7dlr2DwJVulzzTjrHh64wuzWjoL1c7ioYpcTVA==

# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('AWSCLI*.msi')[0]
    # Installing the software
    install_msi_if_needed(bin_name)




# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
import zipfile



def update_package():
    # Declaring local variables
    package_updated = False
    
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

  
    url_base = "https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html"
    response = requests.get(url_base,allow_redirects=True, proxies=proxies)
    # Extract the correct div using bs_find_all
    divs = bs_find_all(response.text, "div","class","procedure", proxies=proxies)
    msi_file = None
    for div in divs:
        if msi_file:
            break
        links = div.find_all('a', href=True)
        for link in links:
            if link['href'].endswith('.msi'):
                href = link['href']
                msi_file = href
                download_url = msi_file
                latest_bin = msi_file.split('/')[-1]
                break


    # Downloading latest binaries
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)


    # Deleting outdated binaries
    for f in glob.glob('*.msi'):
        if f != latest_bin:
            remove_file(f)

      
    version = get_version_from_binary(latest_bin)
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

b1d3702f9cf04d5299dd62ae7b1c5942e10e49ab8e9a03b500529919662a7e70 : AWSCLIV2.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
7f7bd9cdf09c6f16fdb4d2287103d591af04170a128ffc9aa4b66a6b18788006 : WAPT/control
edac749d46a732ba24f8e39797fac93c401470ddd918eaf87ac1f1696330ee73 : WAPT/icon.png
c3e1644198625661fd3816c8bac9fa09bdd617e8efa63c81a8f4f5484af8dc34 : luti.json
fffe61f1cac760bc6350a98b9540307c5edc1d4f2e29c49c6768800fe19787d9 : setup.py
1dfb0ac43db0fd5610fa9f1d6637c53ae7d6306a0cd914aed5853c62b0612a08 : update_package.py