capo-datasync 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- capo_datasync/__init__.py +70 -0
- capo_datasync/_async.py +25 -0
- capo_datasync/_auth/_identity.py +16 -0
- capo_datasync/_auth/_providers.py +886 -0
- capo_datasync/_auth/_signers.py +88 -0
- capo_datasync/_auth/_sigv4.py +434 -0
- capo_datasync/_auth/_zapros_handler.py +80 -0
- capo_datasync/_iter.py +113 -0
- capo_datasync/_operations/fmrs_service/cancel_task_execution.py +147 -0
- capo_datasync/_operations/fmrs_service/create_agent.py +154 -0
- capo_datasync/_operations/fmrs_service/create_location_azure_blob.py +159 -0
- capo_datasync/_operations/fmrs_service/create_location_efs.py +156 -0
- capo_datasync/_operations/fmrs_service/create_location_fsx_lustre.py +153 -0
- capo_datasync/_operations/fmrs_service/create_location_fsx_ontap.py +154 -0
- capo_datasync/_operations/fmrs_service/create_location_fsx_open_zfs.py +154 -0
- capo_datasync/_operations/fmrs_service/create_location_fsx_windows.py +155 -0
- capo_datasync/_operations/fmrs_service/create_location_hdfs.py +158 -0
- capo_datasync/_operations/fmrs_service/create_location_nfs.py +156 -0
- capo_datasync/_operations/fmrs_service/create_location_object_storage.py +157 -0
- capo_datasync/_operations/fmrs_service/create_location_s3.py +157 -0
- capo_datasync/_operations/fmrs_service/create_location_smb.py +162 -0
- capo_datasync/_operations/fmrs_service/create_task.py +158 -0
- capo_datasync/_operations/fmrs_service/delete_agent.py +143 -0
- capo_datasync/_operations/fmrs_service/delete_location.py +143 -0
- capo_datasync/_operations/fmrs_service/delete_task.py +143 -0
- capo_datasync/_operations/fmrs_service/describe_agent.py +156 -0
- capo_datasync/_operations/fmrs_service/describe_location_azure_blob.py +159 -0
- capo_datasync/_operations/fmrs_service/describe_location_efs.py +154 -0
- capo_datasync/_operations/fmrs_service/describe_location_fsx_lustre.py +153 -0
- capo_datasync/_operations/fmrs_service/describe_location_fsx_ontap.py +154 -0
- capo_datasync/_operations/fmrs_service/describe_location_fsx_open_zfs.py +154 -0
- capo_datasync/_operations/fmrs_service/describe_location_fsx_windows.py +156 -0
- capo_datasync/_operations/fmrs_service/describe_location_hdfs.py +159 -0
- capo_datasync/_operations/fmrs_service/describe_location_nfs.py +154 -0
- capo_datasync/_operations/fmrs_service/describe_location_object_storage.py +158 -0
- capo_datasync/_operations/fmrs_service/describe_location_s3.py +153 -0
- capo_datasync/_operations/fmrs_service/describe_location_smb.py +159 -0
- capo_datasync/_operations/fmrs_service/describe_task.py +162 -0
- capo_datasync/_operations/fmrs_service/describe_task_execution.py +164 -0
- capo_datasync/_operations/fmrs_service/list_agents.py +152 -0
- capo_datasync/_operations/fmrs_service/list_locations.py +153 -0
- capo_datasync/_operations/fmrs_service/list_tags_for_resource.py +152 -0
- capo_datasync/_operations/fmrs_service/list_task_executions.py +150 -0
- capo_datasync/_operations/fmrs_service/list_tasks.py +149 -0
- capo_datasync/_operations/fmrs_service/start_task_execution.py +154 -0
- capo_datasync/_operations/fmrs_service/tag_resource.py +144 -0
- capo_datasync/_operations/fmrs_service/untag_resource.py +144 -0
- capo_datasync/_operations/fmrs_service/update_agent.py +143 -0
- capo_datasync/_operations/fmrs_service/update_location_azure_blob.py +154 -0
- capo_datasync/_operations/fmrs_service/update_location_efs.py +146 -0
- capo_datasync/_operations/fmrs_service/update_location_fsx_lustre.py +147 -0
- capo_datasync/_operations/fmrs_service/update_location_fsx_ontap.py +148 -0
- capo_datasync/_operations/fmrs_service/update_location_fsx_open_zfs.py +148 -0
- capo_datasync/_operations/fmrs_service/update_location_fsx_windows.py +149 -0
- capo_datasync/_operations/fmrs_service/update_location_hdfs.py +153 -0
- capo_datasync/_operations/fmrs_service/update_location_nfs.py +147 -0
- capo_datasync/_operations/fmrs_service/update_location_object_storage.py +152 -0
- capo_datasync/_operations/fmrs_service/update_location_s3.py +147 -0
- capo_datasync/_operations/fmrs_service/update_location_smb.py +153 -0
- capo_datasync/_operations/fmrs_service/update_task.py +148 -0
- capo_datasync/_operations/fmrs_service/update_task_execution.py +148 -0
- capo_datasync/_pagination.py +21 -0
- capo_datasync/_protocol/__init__.py +1 -0
- capo_datasync/_protocol/errors.py +93 -0
- capo_datasync/_protocol/eventstream.py +238 -0
- capo_datasync/_protocol/serialize.py +47 -0
- capo_datasync/_protocol/xml.py +33 -0
- capo_datasync/_rule_engine/__init__.py +0 -0
- capo_datasync/_rule_engine/_aws_partition.py +160 -0
- capo_datasync/_rule_engine/_endpoint_rule_set.py +136 -0
- capo_datasync/_rule_engine/_endpoint_runtime.py +389 -0
- capo_datasync/_services/_aws_config.py +160 -0
- capo_datasync/_services/_pipeline.py +198 -0
- capo_datasync/_services/async_data_sync.py +3793 -0
- capo_datasync/_services/data_sync.py +3742 -0
- capo_datasync/errors/__init__.py +27 -0
- capo_datasync/errors/_base.py +94 -0
- capo_datasync/errors/internal_exception.py +56 -0
- capo_datasync/errors/invalid_request_exception.py +61 -0
- capo_datasync/py.typed +0 -0
- capo_datasync/types/_prelude/blob.py +12 -0
- capo_datasync/types/_prelude/timestamp.py +17 -0
- capo_datasync/types/activation_key.py +5 -0
- capo_datasync/types/agent_arn.py +5 -0
- capo_datasync/types/agent_arn_list.py +17 -0
- capo_datasync/types/agent_list.py +29 -0
- capo_datasync/types/agent_list_entry.py +65 -0
- capo_datasync/types/agent_status.py +17 -0
- capo_datasync/types/agent_version.py +5 -0
- capo_datasync/types/atime.py +17 -0
- capo_datasync/types/azure_access_tier.py +18 -0
- capo_datasync/types/azure_blob_authentication_type.py +17 -0
- capo_datasync/types/azure_blob_container_url.py +5 -0
- capo_datasync/types/azure_blob_sas_configuration.py +31 -0
- capo_datasync/types/azure_blob_sas_token.py +5 -0
- capo_datasync/types/azure_blob_subdirectory.py +5 -0
- capo_datasync/types/azure_blob_type.py +14 -0
- capo_datasync/types/bytes_per_second.py +5 -0
- capo_datasync/types/cancel_task_execution_request.py +33 -0
- capo_datasync/types/cancel_task_execution_response.py +18 -0
- capo_datasync/types/cmk_secret_config.py +35 -0
- capo_datasync/types/create_agent_request.py +100 -0
- capo_datasync/types/create_agent_response.py +28 -0
- capo_datasync/types/create_location_azure_blob_request.py +193 -0
- capo_datasync/types/create_location_azure_blob_response.py +28 -0
- capo_datasync/types/create_location_efs_request.py +110 -0
- capo_datasync/types/create_location_efs_response.py +28 -0
- capo_datasync/types/create_location_fsx_lustre_request.py +81 -0
- capo_datasync/types/create_location_fsx_lustre_response.py +28 -0
- capo_datasync/types/create_location_fsx_ontap_request.py +98 -0
- capo_datasync/types/create_location_fsx_ontap_response.py +28 -0
- capo_datasync/types/create_location_fsx_open_zfs_request.py +97 -0
- capo_datasync/types/create_location_fsx_open_zfs_response.py +28 -0
- capo_datasync/types/create_location_fsx_windows_request.py +145 -0
- capo_datasync/types/create_location_fsx_windows_response.py +28 -0
- capo_datasync/types/create_location_hdfs_request.py +249 -0
- capo_datasync/types/create_location_hdfs_response.py +28 -0
- capo_datasync/types/create_location_nfs_request.py +91 -0
- capo_datasync/types/create_location_nfs_response.py +28 -0
- capo_datasync/types/create_location_object_storage_request.py +193 -0
- capo_datasync/types/create_location_object_storage_response.py +28 -0
- capo_datasync/types/create_location_s3_request.py +102 -0
- capo_datasync/types/create_location_s3_response.py +28 -0
- capo_datasync/types/create_location_smb_request.py +241 -0
- capo_datasync/types/create_location_smb_response.py +28 -0
- capo_datasync/types/create_task_request.py +185 -0
- capo_datasync/types/create_task_response.py +28 -0
- capo_datasync/types/custom_secret_config.py +37 -0
- capo_datasync/types/delete_agent_request.py +31 -0
- capo_datasync/types/delete_agent_response.py +18 -0
- capo_datasync/types/delete_location_request.py +31 -0
- capo_datasync/types/delete_location_response.py +18 -0
- capo_datasync/types/delete_task_request.py +31 -0
- capo_datasync/types/delete_task_response.py +18 -0
- capo_datasync/types/describe_agent_request.py +31 -0
- capo_datasync/types/describe_agent_response.py +132 -0
- capo_datasync/types/describe_location_azure_blob_request.py +33 -0
- capo_datasync/types/describe_location_azure_blob_response.py +183 -0
- capo_datasync/types/describe_location_efs_request.py +31 -0
- capo_datasync/types/describe_location_efs_response.py +103 -0
- capo_datasync/types/describe_location_fsx_lustre_request.py +33 -0
- capo_datasync/types/describe_location_fsx_lustre_response.py +71 -0
- capo_datasync/types/describe_location_fsx_ontap_request.py +33 -0
- capo_datasync/types/describe_location_fsx_ontap_response.py +103 -0
- capo_datasync/types/describe_location_fsx_open_zfs_request.py +33 -0
- capo_datasync/types/describe_location_fsx_open_zfs_response.py +86 -0
- capo_datasync/types/describe_location_fsx_windows_request.py +33 -0
- capo_datasync/types/describe_location_fsx_windows_response.py +148 -0
- capo_datasync/types/describe_location_hdfs_request.py +31 -0
- capo_datasync/types/describe_location_hdfs_response.py +230 -0
- capo_datasync/types/describe_location_nfs_request.py +31 -0
- capo_datasync/types/describe_location_nfs_response.py +85 -0
- capo_datasync/types/describe_location_object_storage_request.py +33 -0
- capo_datasync/types/describe_location_object_storage_response.py +188 -0
- capo_datasync/types/describe_location_s3_request.py +31 -0
- capo_datasync/types/describe_location_s3_response.py +98 -0
- capo_datasync/types/describe_location_smb_request.py +31 -0
- capo_datasync/types/describe_location_smb_response.py +208 -0
- capo_datasync/types/describe_task_execution_request.py +33 -0
- capo_datasync/types/describe_task_execution_response.py +435 -0
- capo_datasync/types/describe_task_request.py +31 -0
- capo_datasync/types/describe_task_response.py +288 -0
- capo_datasync/types/destination_network_interface_arns.py +19 -0
- capo_datasync/types/dns_ip_list.py +17 -0
- capo_datasync/types/duration.py +5 -0
- capo_datasync/types/ec2_config.py +53 -0
- capo_datasync/types/ec2_security_group_arn.py +5 -0
- capo_datasync/types/ec2_security_group_arn_list.py +19 -0
- capo_datasync/types/ec2_subnet_arn.py +5 -0
- capo_datasync/types/efs_access_point_arn.py +5 -0
- capo_datasync/types/efs_filesystem_arn.py +5 -0
- capo_datasync/types/efs_in_transit_encryption.py +17 -0
- capo_datasync/types/efs_subdirectory.py +5 -0
- capo_datasync/types/endpoint.py +5 -0
- capo_datasync/types/endpoint_type.py +19 -0
- capo_datasync/types/filter_attribute_value.py +5 -0
- capo_datasync/types/filter_list.py +29 -0
- capo_datasync/types/filter_rule.py +43 -0
- capo_datasync/types/filter_type.py +14 -0
- capo_datasync/types/filter_value.py +5 -0
- capo_datasync/types/filter_values.py +19 -0
- capo_datasync/types/fsx_filesystem_arn.py +5 -0
- capo_datasync/types/fsx_lustre_subdirectory.py +5 -0
- capo_datasync/types/fsx_ontap_subdirectory.py +5 -0
- capo_datasync/types/fsx_open_zfs_subdirectory.py +5 -0
- capo_datasync/types/fsx_protocol.py +51 -0
- capo_datasync/types/fsx_protocol_nfs.py +39 -0
- capo_datasync/types/fsx_protocol_smb.py +127 -0
- capo_datasync/types/fsx_update_protocol.py +52 -0
- capo_datasync/types/fsx_update_protocol_smb.py +102 -0
- capo_datasync/types/fsx_windows_subdirectory.py +5 -0
- capo_datasync/types/gid.py +19 -0
- capo_datasync/types/hdfs_authentication_type.py +17 -0
- capo_datasync/types/hdfs_block_size.py +5 -0
- capo_datasync/types/hdfs_data_transfer_protection.py +19 -0
- capo_datasync/types/hdfs_name_node.py +39 -0
- capo_datasync/types/hdfs_name_node_list.py +29 -0
- capo_datasync/types/hdfs_replication_factor.py +5 -0
- capo_datasync/types/hdfs_rpc_protection.py +19 -0
- capo_datasync/types/hdfs_server_hostname.py +5 -0
- capo_datasync/types/hdfs_server_port.py +5 -0
- capo_datasync/types/hdfs_subdirectory.py +5 -0
- capo_datasync/types/hdfs_user.py +5 -0
- capo_datasync/types/iam_role_arn.py +5 -0
- capo_datasync/types/iam_role_arn_or_empty_string.py +5 -0
- capo_datasync/types/input_tag_list.py +29 -0
- capo_datasync/types/item_count.py +5 -0
- capo_datasync/types/kerberos_keytab_file.py +15 -0
- capo_datasync/types/kerberos_krb5_conf_file.py +15 -0
- capo_datasync/types/kerberos_principal.py +5 -0
- capo_datasync/types/kms_key_arn.py +5 -0
- capo_datasync/types/kms_key_provider_uri.py +5 -0
- capo_datasync/types/list_agents_request.py +35 -0
- capo_datasync/types/list_agents_response.py +43 -0
- capo_datasync/types/list_locations_request.py +50 -0
- capo_datasync/types/list_locations_response.py +43 -0
- capo_datasync/types/list_tags_for_resource_request.py +45 -0
- capo_datasync/types/list_tags_for_resource_response.py +43 -0
- capo_datasync/types/list_task_executions_request.py +42 -0
- capo_datasync/types/list_task_executions_response.py +49 -0
- capo_datasync/types/list_tasks_request.py +50 -0
- capo_datasync/types/list_tasks_response.py +43 -0
- capo_datasync/types/location_arn.py +5 -0
- capo_datasync/types/location_filter.py +71 -0
- capo_datasync/types/location_filter_name.py +18 -0
- capo_datasync/types/location_filters.py +29 -0
- capo_datasync/types/location_list.py +33 -0
- capo_datasync/types/location_list_entry.py +35 -0
- capo_datasync/types/location_uri.py +5 -0
- capo_datasync/types/log_group_arn.py +5 -0
- capo_datasync/types/log_level.py +18 -0
- capo_datasync/types/long.py +5 -0
- capo_datasync/types/managed_secret_config.py +28 -0
- capo_datasync/types/manifest_action.py +14 -0
- capo_datasync/types/manifest_config.py +72 -0
- capo_datasync/types/manifest_format.py +14 -0
- capo_datasync/types/max_results.py +5 -0
- capo_datasync/types/mtime.py +17 -0
- capo_datasync/types/network_interface_arn.py +5 -0
- capo_datasync/types/next_token.py +5 -0
- capo_datasync/types/nfs_mount_options.py +36 -0
- capo_datasync/types/nfs_subdirectory.py +5 -0
- capo_datasync/types/nfs_version.py +19 -0
- capo_datasync/types/object_storage_access_key.py +5 -0
- capo_datasync/types/object_storage_bucket_name.py +5 -0
- capo_datasync/types/object_storage_certificate.py +15 -0
- capo_datasync/types/object_storage_secret_key.py +5 -0
- capo_datasync/types/object_storage_server_port.py +5 -0
- capo_datasync/types/object_storage_server_protocol.py +17 -0
- capo_datasync/types/object_tags.py +17 -0
- capo_datasync/types/object_version_ids.py +17 -0
- capo_datasync/types/on_prem_config.py +39 -0
- capo_datasync/types/operator.py +25 -0
- capo_datasync/types/options.py +254 -0
- capo_datasync/types/output_tag_list.py +29 -0
- capo_datasync/types/overwrite_mode.py +17 -0
- capo_datasync/types/phase_status.py +18 -0
- capo_datasync/types/pl_security_group_arn_list.py +19 -0
- capo_datasync/types/pl_subnet_arn_list.py +17 -0
- capo_datasync/types/platform.py +28 -0
- capo_datasync/types/posix_permissions.py +17 -0
- capo_datasync/types/preserve_deleted_files.py +17 -0
- capo_datasync/types/preserve_devices.py +17 -0
- capo_datasync/types/private_link_config.py +75 -0
- capo_datasync/types/qop_configuration.py +63 -0
- capo_datasync/types/report_destination.py +36 -0
- capo_datasync/types/report_destination_s3.py +48 -0
- capo_datasync/types/report_level.py +17 -0
- capo_datasync/types/report_output_type.py +17 -0
- capo_datasync/types/report_override.py +36 -0
- capo_datasync/types/report_overrides.py +80 -0
- capo_datasync/types/report_result.py +49 -0
- capo_datasync/types/s3_bucket_arn.py +5 -0
- capo_datasync/types/s3_config.py +31 -0
- capo_datasync/types/s3_manifest_config.py +56 -0
- capo_datasync/types/s3_object_version_id.py +5 -0
- capo_datasync/types/s3_storage_class.py +23 -0
- capo_datasync/types/s3_subdirectory.py +5 -0
- capo_datasync/types/schedule_disabled_by.py +17 -0
- capo_datasync/types/schedule_disabled_reason.py +5 -0
- capo_datasync/types/schedule_expression_cron.py +5 -0
- capo_datasync/types/schedule_status.py +17 -0
- capo_datasync/types/secret_arn.py +5 -0
- capo_datasync/types/server_hostname.py +5 -0
- capo_datasync/types/server_ip_address.py +5 -0
- capo_datasync/types/smb_authentication_type.py +17 -0
- capo_datasync/types/smb_domain.py +5 -0
- capo_datasync/types/smb_mount_options.py +36 -0
- capo_datasync/types/smb_password.py +5 -0
- capo_datasync/types/smb_security_descriptor_copy_flags.py +18 -0
- capo_datasync/types/smb_subdirectory.py +5 -0
- capo_datasync/types/smb_user.py +5 -0
- capo_datasync/types/smb_version.py +20 -0
- capo_datasync/types/source_manifest_config.py +39 -0
- capo_datasync/types/source_network_interface_arns.py +19 -0
- capo_datasync/types/start_task_execution_request.py +129 -0
- capo_datasync/types/start_task_execution_response.py +30 -0
- capo_datasync/types/storage_virtual_machine_arn.py +5 -0
- capo_datasync/types/string.py +5 -0
- capo_datasync/types/tag_key.py +5 -0
- capo_datasync/types/tag_key_list.py +17 -0
- capo_datasync/types/tag_list_entry.py +38 -0
- capo_datasync/types/tag_resource_request.py +47 -0
- capo_datasync/types/tag_resource_response.py +18 -0
- capo_datasync/types/tag_value.py +5 -0
- capo_datasync/types/taggable_resource_arn.py +5 -0
- capo_datasync/types/task_arn.py +5 -0
- capo_datasync/types/task_execution_arn.py +5 -0
- capo_datasync/types/task_execution_files_failed_detail.py +50 -0
- capo_datasync/types/task_execution_files_listed_detail.py +36 -0
- capo_datasync/types/task_execution_folders_failed_detail.py +57 -0
- capo_datasync/types/task_execution_folders_listed_detail.py +36 -0
- capo_datasync/types/task_execution_list.py +35 -0
- capo_datasync/types/task_execution_list_entry.py +64 -0
- capo_datasync/types/task_execution_result_detail.py +108 -0
- capo_datasync/types/task_execution_status.py +23 -0
- capo_datasync/types/task_filter.py +71 -0
- capo_datasync/types/task_filter_name.py +17 -0
- capo_datasync/types/task_filters.py +29 -0
- capo_datasync/types/task_list.py +29 -0
- capo_datasync/types/task_list_entry.py +65 -0
- capo_datasync/types/task_mode.py +17 -0
- capo_datasync/types/task_queueing.py +17 -0
- capo_datasync/types/task_report_config.py +112 -0
- capo_datasync/types/task_schedule.py +48 -0
- capo_datasync/types/task_schedule_details.py +66 -0
- capo_datasync/types/task_status.py +20 -0
- capo_datasync/types/time.py +20 -0
- capo_datasync/types/transfer_mode.py +17 -0
- capo_datasync/types/uid.py +19 -0
- capo_datasync/types/untag_resource_request.py +45 -0
- capo_datasync/types/untag_resource_response.py +18 -0
- capo_datasync/types/update_agent_request.py +38 -0
- capo_datasync/types/update_agent_response.py +18 -0
- capo_datasync/types/update_location_azure_blob_request.py +175 -0
- capo_datasync/types/update_location_azure_blob_response.py +18 -0
- capo_datasync/types/update_location_efs_request.py +77 -0
- capo_datasync/types/update_location_efs_response.py +18 -0
- capo_datasync/types/update_location_fsx_lustre_request.py +40 -0
- capo_datasync/types/update_location_fsx_lustre_response.py +18 -0
- capo_datasync/types/update_location_fsx_ontap_request.py +61 -0
- capo_datasync/types/update_location_fsx_ontap_response.py +18 -0
- capo_datasync/types/update_location_fsx_open_zfs_request.py +54 -0
- capo_datasync/types/update_location_fsx_open_zfs_response.py +18 -0
- capo_datasync/types/update_location_fsx_windows_request.py +105 -0
- capo_datasync/types/update_location_fsx_windows_response.py +18 -0
- capo_datasync/types/update_location_hdfs_request.py +239 -0
- capo_datasync/types/update_location_hdfs_response.py +18 -0
- capo_datasync/types/update_location_nfs_request.py +79 -0
- capo_datasync/types/update_location_nfs_response.py +18 -0
- capo_datasync/types/update_location_object_storage_request.py +173 -0
- capo_datasync/types/update_location_object_storage_response.py +18 -0
- capo_datasync/types/update_location_s3_request.py +71 -0
- capo_datasync/types/update_location_s3_response.py +18 -0
- capo_datasync/types/update_location_smb_request.py +230 -0
- capo_datasync/types/update_location_smb_response.py +18 -0
- capo_datasync/types/update_smb_domain.py +5 -0
- capo_datasync/types/update_task_execution_request.py +48 -0
- capo_datasync/types/update_task_execution_response.py +18 -0
- capo_datasync/types/update_task_request.py +145 -0
- capo_datasync/types/update_task_response.py +18 -0
- capo_datasync/types/updated_efs_access_point_arn.py +5 -0
- capo_datasync/types/updated_efs_iam_role_arn.py +5 -0
- capo_datasync/types/verify_mode.py +18 -0
- capo_datasync/types/vpc_endpoint_id.py +5 -0
- capo_datasync-0.1.0.dist-info/METADATA +101 -0
- capo_datasync-0.1.0.dist-info/RECORD +370 -0
- capo_datasync-0.1.0.dist-info/WHEEL +5 -0
- capo_datasync-0.1.0.dist-info/licenses/LICENSE +21 -0
- capo_datasync-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from . import _iter as _iter
|
|
4
|
+
from . import _protocol as _protocol
|
|
5
|
+
from ._auth._identity import Credentials as Credentials
|
|
6
|
+
from ._auth._identity import Identity as Identity
|
|
7
|
+
from ._auth._providers import (
|
|
8
|
+
AssumeRoleCredentialsProvider as AssumeRoleCredentialsProvider,
|
|
9
|
+
)
|
|
10
|
+
from ._auth._providers import (
|
|
11
|
+
AssumeRoleError as AssumeRoleError,
|
|
12
|
+
)
|
|
13
|
+
from ._auth._providers import (
|
|
14
|
+
CachedProvider as CachedProvider,
|
|
15
|
+
)
|
|
16
|
+
from ._auth._providers import (
|
|
17
|
+
ChainedProvider as ChainedProvider,
|
|
18
|
+
)
|
|
19
|
+
from ._auth._providers import (
|
|
20
|
+
CredentialsProvider as CredentialsProvider,
|
|
21
|
+
)
|
|
22
|
+
from ._auth._providers import (
|
|
23
|
+
EnvCredentialsProvider as EnvCredentialsProvider,
|
|
24
|
+
)
|
|
25
|
+
from ._auth._providers import (
|
|
26
|
+
IdentityNotFound as IdentityNotFound,
|
|
27
|
+
)
|
|
28
|
+
from ._auth._providers import (
|
|
29
|
+
IdentityProvider as IdentityProvider,
|
|
30
|
+
)
|
|
31
|
+
from ._auth._providers import (
|
|
32
|
+
MissingDependencyError as MissingDependencyError,
|
|
33
|
+
)
|
|
34
|
+
from ._auth._providers import (
|
|
35
|
+
ProfileCredentialsProvider as ProfileCredentialsProvider,
|
|
36
|
+
)
|
|
37
|
+
from ._auth._providers import (
|
|
38
|
+
SsoCredentialsProvider as SsoCredentialsProvider,
|
|
39
|
+
)
|
|
40
|
+
from ._auth._providers import (
|
|
41
|
+
SSOError as SSOError,
|
|
42
|
+
)
|
|
43
|
+
from ._auth._providers import (
|
|
44
|
+
StaticAwsCredentialsProvider as StaticAwsCredentialsProvider,
|
|
45
|
+
)
|
|
46
|
+
from ._auth._providers import (
|
|
47
|
+
WebIdentityCredentialsProvider as WebIdentityCredentialsProvider,
|
|
48
|
+
)
|
|
49
|
+
from ._auth._signers import Signer as Signer
|
|
50
|
+
from ._auth._signers import SigV4Signer as SigV4Signer
|
|
51
|
+
from ._services._pipeline import (
|
|
52
|
+
AsyncOperationOptions as AsyncOperationOptions,
|
|
53
|
+
)
|
|
54
|
+
from ._services._pipeline import (
|
|
55
|
+
AsyncOperationRequest as AsyncOperationRequest,
|
|
56
|
+
)
|
|
57
|
+
from ._services._pipeline import (
|
|
58
|
+
AsyncOperationResponse as AsyncOperationResponse,
|
|
59
|
+
)
|
|
60
|
+
from ._services._pipeline import (
|
|
61
|
+
OperationOptions as OperationOptions,
|
|
62
|
+
)
|
|
63
|
+
from ._services._pipeline import (
|
|
64
|
+
OperationRequest as OperationRequest,
|
|
65
|
+
)
|
|
66
|
+
from ._services._pipeline import (
|
|
67
|
+
OperationResponse as OperationResponse,
|
|
68
|
+
)
|
|
69
|
+
from ._services.async_data_sync import AsyncDataSyncClient as AsyncDataSyncClient
|
|
70
|
+
from ._services.data_sync import DataSyncClient as DataSyncClient
|
capo_datasync/_async.py
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import asyncio
|
|
4
|
+
from typing import TYPE_CHECKING
|
|
5
|
+
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
import trio
|
|
8
|
+
else:
|
|
9
|
+
try:
|
|
10
|
+
import trio
|
|
11
|
+
except ImportError:
|
|
12
|
+
trio = None
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def in_trio_run() -> bool:
|
|
16
|
+
if trio is None:
|
|
17
|
+
return False
|
|
18
|
+
return trio.lowlevel.in_trio_run()
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
async def anysleep(delay: float) -> None:
|
|
22
|
+
if in_trio_run():
|
|
23
|
+
await trio.sleep(delay)
|
|
24
|
+
else:
|
|
25
|
+
await asyncio.sleep(delay)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import TypedDict
|
|
5
|
+
|
|
6
|
+
from typing_extensions import NotRequired
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class Identity(TypedDict):
|
|
10
|
+
expiration: NotRequired[datetime | None]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class Credentials(Identity):
|
|
14
|
+
access_key: str
|
|
15
|
+
secret_key: str
|
|
16
|
+
session_token: NotRequired[str | None]
|