tis-aws-cli icon

AWS Command Line Interface

Silent install package for AWS Command Line Interface

2.29.0.0-1

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

package           : tis-aws-cli
version           : 2.29.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      : 8da1c76b-7135-44c5-a583-3e603caded7f
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-09-14T21:00:21.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         : wUxQCvy1gwPbuNaARWq3FSKK5gsX6BM4M+lcMPPsBaTNphO5nUYy9KvXBH3LYfaw2SL31JSmoyjXmVtLGL3TrSY8hD5yjdg6SHG9uOjZ2YpKxGrNMnpcs8XOyPmc36fgY45dxAPWoFN1lvXK3T51BMYN4bJI1pPb6tDonEmcxpQ6TieKlqigBJTOV9plQ47SuTrwbXqEkHAFmWTgUSqTEM5AA9BXA4zfHvEDTDnxEie/eu5ClvWNIvX2L7ybf6FanFYsbD5vpMp6ToTgATyHdXElnCEsIA4fjg7mZdvqPa2Vjwo3wpSvh8UU0XhY1R3xAzSHhDa+HFm7yN9tx4SXhA==

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

d2a1e25b3f76616d374e0084b6c694286efc42ba468b8f579f34497768b01097 : AWSCLIV2.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
daf112f1e82f3186d6f022f166b74b5b8e655df14f907a97939036fcc1bff7ae : WAPT/control
edac749d46a732ba24f8e39797fac93c401470ddd918eaf87ac1f1696330ee73 : WAPT/icon.png
49f8b953679a4ee214da3561f649b079c4eec0b9c35bf9d5c98710e5530587db : luti.json
fffe61f1cac760bc6350a98b9540307c5edc1d4f2e29c49c6768800fe19787d9 : setup.py
1dfb0ac43db0fd5610fa9f1d6637c53ae7d6306a0cd914aed5853c62b0612a08 : update_package.py