MCPcopy Create free account

hub / github.com/boto/boto3 / functions

Functions499 in github.com/boto/boto3

↓ 40 callersMethodload
Get the load action for this resource, if it is defined. :type: :py:class:`Action` or ``None``
boto3/resources/model.py:436
↓ 17 callersMethodget_collection
(self)
tests/unit/resources/test_collection.py:134
↓ 15 callersFunctionpy_type_name
Get the Python type name for a given model type. >>> py_type_name('list') 'list' >>> py_type_name('structure') '
boto3/docs.py:43
↓ 14 callersMethodread
(self, amount=None)
boto3/s3/transfer.py:231
↓ 14 callersMethodupload_file
(self, filename, bucket, key, callback=None, extra_args=None)
boto3/s3/transfer.py:581
↓ 13 callersFunctioncreate_request_parameters
Handle request parameters that can be filled in from identifiers, resource data members or constants. By passing ``params``, you can inv
boto3/resources/params.py:51
↓ 13 callersMethoddownload_file
Download an S3 object to a file. This method will issue a ``head_object`` request to determine the size of the S3 object. This is us
boto3/s3/transfer.py:602
↓ 13 callersMethodresource
Create a resource service client by name. :type service_name: string :param service_name: The name of a service, e.g. 's3' o
boto3/session.py:234
↓ 12 callersMethodall
(self, limit=None, page_size=None)
boto3/resources/collection.py:340
↓ 11 callersMethodclient
Create a low-level service client by name. :type service_name: string :param service_name: The name of a service, e.g. 's3'
boto3/session.py:166
↓ 11 callersMethodcreate_file_with_size
(self, filename, filesize)
tests/integration/test_s3.py:77
↓ 11 callersMethodcreate_s3_transfer
(self, config=None)
tests/integration/test_s3.py:248
↓ 10 callersMethodload_rename_map
Load a name translation map given a shape. This will set up renamed values for any collisions, e.g. if the shape, an action,
boto3/resources/model.py:261
↓ 9 callersMethodfrom_filename
Convenience factory function to create from a filename. :type start_byte: int :param start_byte: The first byte from which to start r
boto3/s3/transfer.py:200
↓ 9 callersMethodget_response
(self)
tests/unit/resources/test_response.py:150
↓ 8 callersFunctionbuild_identifiers
Builds a mapping of identifier names to values based on the identifier source location, type, and target. Identifier values may be scalar
boto3/resources/response.py:33
↓ 8 callersFunctionbuild_param_structure
This method provides a basic reverse JMESPath implementation that lets you go from a JMESPath-like string to a possibly deeply nested obj
boto3/resources/params.py:98
↓ 7 callersMethod_get_name
Get a possibly renamed value given a category and name. This uses the rename map set up in ``load_rename_map``, so that metho
boto3/resources/model.py:370
↓ 7 callersMethoddownload_file
(self, bucket, key, filename, object_size, extra_args, callback=None)
boto3/s3/transfer.py:428
↓ 6 callersMethodput
(self, item)
boto3/s3/transfer.py:409
↓ 5 callersMethodget_resource
(self, search_path, response)
tests/unit/resources/test_response.py:334
↓ 5 callersMethoditerator
Get a resource collection iterator from this manager. :rtype: :py:class:`ResourceCollection` :return: An iterable representi
boto3/resources/collection.py:329
↓ 4 callersMethod_clone
Create a clone of this collection. This is used by the methods below to provide a chainable interface that returns copies rat
boto3/resources/collection.py:91
↓ 4 callersFunctiondocument_operation
Document an operation. The description can be overridden and certain params hidden to support documenting resource actions.
boto3/docs.py:538
↓ 4 callersFunctiondocument_param_response
Document a nested structure (list or dict) parameter or return value as a snippet of Python code with dummy placeholders. For example:
boto3/docs.py:630
↓ 4 callersMethodfilter
(self, **kwargs)
boto3/resources/collection.py:344
↓ 4 callersMethodget_attributes
Get a dictionary of attribute names to original name and shape models that represent the attributes of this resource. Looks l
boto3/resources/model.py:391
↓ 4 callersMethodlimit
(self, count)
boto3/resources/collection.py:348
↓ 4 callersMethodload_from_definition
Loads a resource from a model, creating a new :py:class:`~boto3.resources.base.ServiceResource` subclass with the correct pro
boto3/resources/factory.py:40
↓ 4 callersMethodobject_exists
(self, key)
tests/integration/test_s3.py:243
↓ 4 callersMethodread
(self, *args, **kwargs)
boto3/s3/transfer.py:281
↓ 4 callersMethodseek
(self, where)
boto3/s3/transfer.py:242
↓ 4 callersMethodupload_file
(self, filename, bucket, key, callback, extra_args)
boto3/s3/transfer.py:338
↓ 3 callersFunctionassert_files_equal
(first, second)
tests/integration/test_s3.py:32
↓ 3 callersMethodcreate_bucket_resource
(self, bucket_name, region=None)
tests/integration/test_s3.py:115
↓ 3 callersMethodget_available_resources
Get a list of available services that can be loaded as resource clients via :py:meth:`Session.resource`. :rtype: list
boto3/session.py:150
↓ 3 callersMethodget_file_size
(self, filename)
boto3/s3/transfer.py:289
↓ 3 callersMethodpage_size
(self, count)
boto3/resources/collection.py:352
↓ 3 callersMethodpages
(self)
boto3/resources/collection.py:356
↓ 2 callersMethod__init__
(self, name, definition, resource_defs)
boto3/resources/model.py:57
↓ 2 callersFunction_get_default_session
Get the default session, creating one if needed. :rtype: :py:class:`~boto3.session.Sesssion` :return: The default session
boto3/__init__.py:61
↓ 2 callersMethod_get_has_definition
Get a ``has`` relationship definition from a model, where the service resource model is treated special in that it contains a
boto3/resources/model.py:479
↓ 2 callersMethod_get_related_resources
Get a list of sub-resources or references. :type subresources: bool :param subresources: ``True`` to get sub-resources, ``Fa
boto3/resources/model.py:542
↓ 2 callersMethod_get_resource_files
This generator yields paths to resource files in the loader's search paths. Specifically, it looks for files that end with ``
boto3/session.py:100
↓ 2 callersMethod_validate_all_known_args
(self, actual, allowed)
boto3/s3/transfer.py:635
↓ 2 callersMethodassert_has_public_read_acl
(self, response)
tests/integration/test_s3.py:252
↓ 2 callersFunctionbuild_empty_response
Creates an appropriate empty response for the type that is expected, based on the service model's shape type. For example, a value that i
boto3/resources/response.py:80
↓ 2 callersMethodclose
(self)
boto3/s3/transfer.py:246
↓ 2 callersMethodcopy
Create a copy of this metadata object.
boto3/resources/base.py:52
↓ 2 callersFunctiondocs_for
Generate reference documentation (low and high level) for a service by name. This generates docs for the latest available version. :type
boto3/docs.py:123
↓ 2 callersFunctiondocument_action
Document a resource action, including the low-level client operation and parameters.
boto3/docs.py:499
↓ 2 callersMethodget_available_services
Get a list of available services that can be loaded as low-level clients via :py:meth:`Session.client`. :rtype: list
boto3/session.py:140
↓ 2 callersFunctionget_data_member
Get a data member from a parent using a JMESPath search query, loading the parent if required. If the parent cannot be loaded and no data
boto3/resources/params.py:25
↓ 2 callersFunctionhtml_to_rst
Use bcdoc to convert html to rst. :type html: string :param html: Input HTML to be converted :type indent: int :param indent: Nu
boto3/docs.py:92
↓ 2 callersMethodmap
(self, function, args)
tests/unit/s3/test_transfer.py:75
↓ 2 callersMethodopen
(self, filename, mode)
boto3/s3/transfer.py:296
↓ 2 callersFunctionrandom_file_extension
(num_digits=8)
boto3/s3/transfer.py:151
↓ 2 callersMethodremove_file
(self, filename)
tests/unit/s3/test_transfer.py:53
↓ 2 callersMethodsetUp
(self)
tests/unit/resources/test_factory.py:24
↓ 2 callersMethodsetUp
(self)
tests/unit/resources/test_action.py:161
↓ 2 callersMethodsubmit
(self, function)
tests/unit/s3/test_transfer.py:81
↓ 2 callersMethodtrigger_shutdown
(self)
boto3/s3/transfer.py:404
↓ 2 callersFunctionunique_id
Generate a unique ID that includes the given name, a timestamp and a random number. This helps when running integration tests in parallel
tests/__init__.py:35
↓ 1 callersMethod_calculate_file_size
(self, fileobj, requested_size, start_byte, actual_file_size)
boto3/s3/transfer.py:226
↓ 1 callersMethod_calculate_range_param
(self, part_size, part_index, num_parts)
boto3/s3/transfer.py:464
↓ 1 callersMethod_create_action
Creates a new method which makes a request to the underlying AWS service.
boto3/resources/factory.py:310
↓ 1 callersMethod_create_autoload_property
Creates a new property on the resource to lazy-load its value via the resource's ``load`` method (if it exists).
boto3/resources/factory.py:187
↓ 1 callersMethod_create_batch_action
Creates a new method which makes a batch operation request to the underlying service API.
boto3/resources/collection.py:421
↓ 1 callersMethod_create_class_partial
Creates a new method which acts as a functools.partial, passing along the instance's low-level `client` to the new resource c
boto3/resources/factory.py:275
↓ 1 callersMethod_create_collection
Creates a new property on the resource to lazy-load a collection.
boto3/resources/factory.py:224
↓ 1 callersMethod_create_reference
Creates a new property on the resource to lazy-load a reference.
boto3/resources/factory.py:241
↓ 1 callersMethod_create_waiter
Creates a new wait method for each resource where both a waiter and resource model is defined.
boto3/resources/factory.py:210
↓ 1 callersMethod_do_get_object
(self, bucket, key, filename, extra_args, callback)
boto3/s3/transfer.py:669
↓ 1 callersMethod_download_file
(self, bucket, key, filename, object_size, extra_args, callback)
boto3/s3/transfer.py:627
↓ 1 callersMethod_extra_upload_part_args
(self, extra_args)
boto3/s3/transfer.py:329
↓ 1 callersMethod_find_latest_version
Find the latest resource version of a given service if it exists, otherwise raises an exception. TODO: Merge this logic upst
boto3/session.py:115
↓ 1 callersMethod_get_object
(self, bucket, key, filename, extra_args, callback)
boto3/s3/transfer.py:650
↓ 1 callersMethod_load_actions
Actions on the resource become methods, with the ``load`` method being a special case which sets internal data for attributes, and
boto3/resources/factory.py:107
↓ 1 callersMethod_load_attributes
Load resource attributes based on the resource shape. The shape name is referenced in the resource JSON, but the shape itself
boto3/resources/factory.py:122
↓ 1 callersMethod_load_batch_actions
Batch actions on the collection become methods on both the collection manager and iterators.
boto3/resources/collection.py:411
↓ 1 callersMethod_load_collections
Load resource collections from the model. Each collection becomes a :py:class:`~boto3.resources.collection.CollectionManager` instanc
boto3/resources/factory.py:136
↓ 1 callersMethod_load_has_relations
Load related resources, which are defined via a ``has`` relationship but conceptually come in two forms: 1. A reference, whi
boto3/resources/factory.py:148
↓ 1 callersMethod_load_identifiers
Populate required identifiers. These are arguments without which the resource cannot be used. Identifiers become arguments for
boto3/resources/factory.py:97
↓ 1 callersMethod_load_name_with_category
Load a name with a given category, possibly renaming it if that name is already in use. The name will be stored in ``names``
boto3/resources/model.py:337
↓ 1 callersMethod_load_waiters
Load resource waiters from the model. Each waiter allows you to wait until a resource reaches a specific state by polling the state
boto3/resources/factory.py:178
↓ 1 callersMethod_multipart_upload
(self, filename, bucket, key, callback, extra_args)
boto3/s3/transfer.py:682
↓ 1 callersMethod_object_size
(self, bucket, key, extra_args)
boto3/s3/transfer.py:678
↓ 1 callersMethod_process_future_results
(self, futures)
boto3/s3/transfer.py:445
↓ 1 callersMethod_put_object
(self, filename, bucket, key, callback, extra_args)
boto3/s3/transfer.py:592
↓ 1 callersMethod_ranged_download
(self, bucket, key, filename, object_size, extra_args, callback)
boto3/s3/transfer.py:643
↓ 1 callersMethod_register_default_handlers
(self)
boto3/session.py:314
↓ 1 callersMethod_setup_loader
Setup loader paths so that we can load resources.
boto3/session.py:90
↓ 1 callersMethod_upload_parts
(self, upload_id, filename, bucket, key, callback, extra_args)
boto3/s3/transfer.py:357
↓ 1 callersFunctionall_not_none
Return True if all elements of the iterable are not None (or if the iterable is empty). This is like the built-in ``all``, except checks
boto3/resources/response.py:21
↓ 1 callersMethodcreate_file
Creates a file in a tmpdir ``filename`` should be a relative path, e.g. "foo/bar/baz.txt" It will be translated into a full path in a
tests/integration/test_s3.py:58
↓ 1 callersFunctiondocument_client
Generate low-level client documentation for a service. This generates documentation for all available operations.
boto3/docs.py:228
↓ 1 callersFunctiondocument_client_waiter
(session, official_name, service_name, service_model, client)
boto3/docs.py:264
↓ 1 callersFunctiondocument_collection
Generate reference documentation about a collection and any batch actions it might have.
boto3/docs.py:427
↓ 1 callersFunctiondocument_resource
Generate reference documentation from a resource model.
boto3/docs.py:293
↓ 1 callersFunctiondocument_waiter
Document a resource waiter, including the low-level client waiter and parameters.
boto3/docs.py:463
next →1–100 of 499, ranked by callers