tis-aws-cli icon

AWS Command Line Interface

Silent install package for AWS Command Line Interface

2.28.0.0-1

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

package           : tis-aws-cli
version           : 2.28.0.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      : 70eb7cad-6b21-484f-9627-08f5514c7911
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-05T21:00:15.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         : I2EI6gbEYJqKInI09+l4+6SnIRGMK7Bl7F/bwVhfSF0kL5Gv5Axq1FYheZvs7vQ1G/ZzsLPcWapu4P9w+E0+dRQTefbbtau06ix5V3YRO5yEnMSNCpWkSmXEjmvNvEgcrZNUifuQUdIOqucZbHx4HhxsVexRqWZqaA9ODw2X0xmrqIgBjMTMrTs/ob/zse7/2EhU9dTxjsZK6nSajoAtAes1Pq++7I4U8RAHihb7b7t8mhgu53dwW4K3sOcpeI2LZrbNgYvC+0vRIlYtaW8myHS5Z3k+ehYieG6w8wu9yxJaOujjrHkgTU61RPrQURYRbz89YRR/gAKf4l3PsDVutw==

# -*- 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()    
        

79046d72b4090b48ca6b162d40db89c0aa7e1ea1ac8e766974d927790dda21ca : AWSCLIV2.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
07da8ed44b7b17a43451f39cd2d1834fc776dab621bcde5f8c1e6f884942a225 : WAPT/control
edac749d46a732ba24f8e39797fac93c401470ddd918eaf87ac1f1696330ee73 : WAPT/icon.png
49ccf502352410089c04f9597eab108e6f580f2e1003ccec2be3a5e4209d31fb : luti.json
fffe61f1cac760bc6350a98b9540307c5edc1d4f2e29c49c6768800fe19787d9 : setup.py
1dfb0ac43db0fd5610fa9f1d6637c53ae7d6306a0cd914aed5853c62b0612a08 : update_package.py