ドキュメントを読めばわかるけど、どんなメンバやメソッドがあるのかパッと一覧で見たい時に使えるものを見つけたのでメモ

import inspect

s3 = boto3.client('s3')

for x in inspect.getmembers(s3, inspect.ismethod):
    print(x[0])

出力結果

__getattr__
__init__
_convert_to_request_dict
_emit_api_params
_get_waiter_config
_load_exceptions
_make_api_call
_make_request
_register_handlers
abort_multipart_upload
can_paginate
complete_multipart_upload
copy
copy_object
create_bucket
create_multipart_upload
delete_bucket
delete_bucket_analytics_configuration
delete_bucket_cors
delete_bucket_encryption
delete_bucket_intelligent_tiering_configuration
delete_bucket_inventory_configuration
delete_bucket_lifecycle
delete_bucket_metrics_configuration
delete_bucket_ownership_controls
delete_bucket_policy
delete_bucket_replication
delete_bucket_tagging
delete_bucket_website
delete_object
delete_object_tagging
delete_objects
delete_public_access_block
download_file
download_fileobj
generate_presigned_post
generate_presigned_url
get_bucket_accelerate_configuration
get_bucket_acl
get_bucket_analytics_configuration
get_bucket_cors
get_bucket_encryption
get_bucket_intelligent_tiering_configuration
get_bucket_inventory_configuration
get_bucket_lifecycle
get_bucket_lifecycle_configuration
get_bucket_location
get_bucket_logging
get_bucket_metrics_configuration
get_bucket_notification
get_bucket_notification_configuration
get_bucket_ownership_controls
get_bucket_policy
get_bucket_policy_status
get_bucket_replication
get_bucket_request_payment
get_bucket_tagging
get_bucket_versioning
get_bucket_website
get_object
get_object_acl
get_object_legal_hold
get_object_lock_configuration
get_object_retention
get_object_tagging
get_object_torrent
get_paginator
get_public_access_block
get_waiter
head_bucket
head_object
list_bucket_analytics_configurations
list_bucket_intelligent_tiering_configurations
list_bucket_inventory_configurations
list_bucket_metrics_configurations
list_buckets
list_multipart_uploads
list_object_versions
list_objects
list_objects_v2
list_parts
put_bucket_accelerate_configuration
put_bucket_acl
put_bucket_analytics_configuration
put_bucket_cors
put_bucket_encryption
put_bucket_intelligent_tiering_configuration
put_bucket_inventory_configuration
put_bucket_lifecycle
put_bucket_lifecycle_configuration
put_bucket_logging
put_bucket_metrics_configuration
put_bucket_notification
put_bucket_notification_configuration
put_bucket_ownership_controls
put_bucket_policy
put_bucket_replication
put_bucket_request_payment
put_bucket_tagging
put_bucket_versioning
put_bucket_website
put_object
put_object_acl
put_object_legal_hold
put_object_lock_configuration
put_object_retention
put_object_tagging
put_public_access_block
restore_object
select_object_content
upload_file
upload_fileobj
upload_part
upload_part_copy
write_get_object_response

pythonのclassとかで作られたオブジェクトに使えるはずなのでパッと確認したい時に便利ですね