tis-aws-cli icon

AWS Command Line Interface

Silent install package for AWS Command Line Interface

2.28.10.0-1

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

package           : tis-aws-cli
version           : 2.28.10.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      : 20c50649-4a57-4e3f-80a0-1c28579ffed9
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-19T20:01:14.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         : cy/wujXeKob57Xt11PGlYpXTk7eO9lAMaVUtUQ8IC0yHkKG2nY79W3KtBNMPO0+lg/dgWhhIeEHvYYvEvrBVbQavzjJPLiWl6sEmDnUiAZ/waki5PmtX6wMp4oCAjjghEtc4XLzCVXF5mipl8Cn58jYCdeXw8Ur3t0ceEtWbU8cp279IQUXY978nCQesYbPDKi47VCUeFrN4baShnVOC3kkI/Glz3YDt5evNtNxdU39CFsQNZPFxlKFrNnN5ypL0fi4e50eEcoD7nfN9M7fhPhv2kn2fRQ28XyL+v0x1QjQdcP5GJaWz1+3oWqz2u5JiMqdEN3PqQcjUBI0t4JqT0w==

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

6e2acdd5e06505c553714426639d833cdf874c021bcd1fbc9e6936bdf5af0a58 : AWSCLIV2.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
ced4503dd4cd139bb6195742135cbc6281e38855ddd284d52b78d3d50caaca96 : WAPT/control
edac749d46a732ba24f8e39797fac93c401470ddd918eaf87ac1f1696330ee73 : WAPT/icon.png
63a7c008e9a87b6fa0441b0e93bcbe370d930c176d72d2f2f4a994f0f463de52 : luti.json
fffe61f1cac760bc6350a98b9540307c5edc1d4f2e29c49c6768800fe19787d9 : setup.py
1dfb0ac43db0fd5610fa9f1d6637c53ae7d6306a0cd914aed5853c62b0612a08 : update_package.py