tis-aws-cli icon

AWS Command Line Interface

Silent install package for AWS Command Line Interface

2.28.25.0-1

  • package: tis-aws-cli
  • name: AWS Command Line Interface
  • version: 2.28.25.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.28.25.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      : 6b16ab90-c543-488b-b127-b6d86d0a7da0
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-11T00:14: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         : BAofCatfiDqF4u7xKdx/hFBC4WZWRbRexZRKU3+M+owAk339C8aovYaDJ84+laW7S8mJVOdCefgfUxla5blIEdslexYI2MaeyLcAzG43WXlTDAjD9fIg/2hOPhRkRJG/1eucH3pq57QPUHXJdcYQvONpk7As0oOi2EqUpqeWASwan6fBQIRDEnDeciylAr1m8GUJSykmet076xt+vTnEsywiJt3UOJGZ8Uzyk6ViOknSemMOFv6Z9YBpbI8H1l4PKt/f+UuW962HYNWL4ADEz2WBfCg6xopwjNy2LmefFWqIUTo37XPDE5Q4pZ7RJjEa2Yim9+HYYbits83/+NjoXQ==

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

0160b0e01fff833243427a4c648eb272cb7495fb19e31daa89e682194a4abc17 : AWSCLIV2.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
44d3c66c50822b7e7d3c421634e93fbbf9f03de332d696c275b3809fb8ba57d8 : WAPT/control
edac749d46a732ba24f8e39797fac93c401470ddd918eaf87ac1f1696330ee73 : WAPT/icon.png
2213929756c593528a536f89272502d432f69f26a65910149ac2a2c0ddeaa74b : luti.json
fffe61f1cac760bc6350a98b9540307c5edc1d4f2e29c49c6768800fe19787d9 : setup.py
1dfb0ac43db0fd5610fa9f1d6637c53ae7d6306a0cd914aed5853c62b0612a08 : update_package.py