Dashboard
PHP:
8.3.30
OS:
Linux
User:
dh_mnqueb
/
/
usr
/
lib
/
python3
/
dist-packages
/
awscli
/
customizations
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: awslambda.cpython-310.pyc
o �s�aG � @ s� d dl Z d dlZd dlmZ d dlZd dlmZmZ dZdZ dd� Z dd � ZG d d� de�Z dd � Zdd� ZG dd� de�ZG dd� de�ZdS )� N)�closing)�CustomArgument�CLIArgumentzk--zip-file must be a zip file with the fileb:// prefix. Example usage: --zip-file fileb://path/to/file.zipz�<p>The path to the zip file of the {param_type} you are uploading. Specify --zip-file or --{param_type}, but not both. Example: fileb://{param_type}.zip</p>c C s@ | � dtd�j� | � dtd�j� | � dt� | � dt� d S )Nz.building-argument-table.lambda.create-function�Codez4building-argument-table.lambda.publish-layer-version�Contentz3building-argument-table.lambda.update-function-codez+process-cli-arg.lambda.update-function-code)�register�ZipFileArgumentHoister�hoist�_modify_zipfile_docstring�validate_is_zip_file)�cli� r �A/usr/lib/python3/dist-packages/awscli/customizations/awslambda.py�register_lambda_create_function! s ����r c K s | j dkrt|� d S d S �N�zip-file)�name�_should_contain_zip_content)�cli_argument�value�kwargsr r r r , s �r c @ s e Zd ZdZdd� Zdd� ZdS )r ar Hoists a ZipFile argument up to the top level. Injects a top-level ZipFileArgument into the argument table which maps a --zip-file parameter to the underlying ``serialized_name`` ZipFile shape. Repalces the old ZipFile argument with an instance of ReplacedZipFileArgument to prevent its usage and recommend the new top-level injected parameter. c C s || _ |�� | _d S )N)�_serialized_name�lower�_name)�self�serialized_namer r r �__init__: s zZipFileArgumentHoister.__init__c K sl t j| jd�}td|d| jd�|d<