capo-drs 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_drs/__init__.py +70 -0
- capo_drs/_async.py +25 -0
- capo_drs/_auth/_identity.py +16 -0
- capo_drs/_auth/_providers.py +882 -0
- capo_drs/_auth/_signers.py +88 -0
- capo_drs/_auth/_sigv4.py +434 -0
- capo_drs/_auth/_zapros_handler.py +80 -0
- capo_drs/_iter.py +113 -0
- capo_drs/_operations/elastic_disaster_recovery_service/associate_source_network_stack.py +174 -0
- capo_drs/_operations/elastic_disaster_recovery_service/create_extended_source_server.py +175 -0
- capo_drs/_operations/elastic_disaster_recovery_service/create_launch_configuration_template.py +173 -0
- capo_drs/_operations/elastic_disaster_recovery_service/create_replication_configuration_template.py +173 -0
- capo_drs/_operations/elastic_disaster_recovery_service/create_source_network.py +178 -0
- capo_drs/_operations/elastic_disaster_recovery_service/delete_job.py +152 -0
- capo_drs/_operations/elastic_disaster_recovery_service/delete_launch_action.py +159 -0
- capo_drs/_operations/elastic_disaster_recovery_service/delete_launch_configuration_template.py +161 -0
- capo_drs/_operations/elastic_disaster_recovery_service/delete_recovery_instance.py +138 -0
- capo_drs/_operations/elastic_disaster_recovery_service/delete_replication_configuration_template.py +161 -0
- capo_drs/_operations/elastic_disaster_recovery_service/delete_source_network.py +159 -0
- capo_drs/_operations/elastic_disaster_recovery_service/delete_source_server.py +159 -0
- capo_drs/_operations/elastic_disaster_recovery_service/describe_job_log_items.py +163 -0
- capo_drs/_operations/elastic_disaster_recovery_service/describe_jobs.py +157 -0
- capo_drs/_operations/elastic_disaster_recovery_service/describe_launch_configuration_templates.py +167 -0
- capo_drs/_operations/elastic_disaster_recovery_service/describe_recovery_instances.py +160 -0
- capo_drs/_operations/elastic_disaster_recovery_service/describe_recovery_snapshots.py +165 -0
- capo_drs/_operations/elastic_disaster_recovery_service/describe_replication_configuration_templates.py +167 -0
- capo_drs/_operations/elastic_disaster_recovery_service/describe_source_networks.py +160 -0
- capo_drs/_operations/elastic_disaster_recovery_service/describe_source_servers.py +160 -0
- capo_drs/_operations/elastic_disaster_recovery_service/disconnect_recovery_instance.py +143 -0
- capo_drs/_operations/elastic_disaster_recovery_service/disconnect_source_server.py +165 -0
- capo_drs/_operations/elastic_disaster_recovery_service/export_source_network_cfn_template.py +170 -0
- capo_drs/_operations/elastic_disaster_recovery_service/get_failback_replication_configuration.py +160 -0
- capo_drs/_operations/elastic_disaster_recovery_service/get_launch_configuration.py +158 -0
- capo_drs/_operations/elastic_disaster_recovery_service/get_replication_configuration.py +169 -0
- capo_drs/_operations/elastic_disaster_recovery_service/initialize_service.py +150 -0
- capo_drs/_operations/elastic_disaster_recovery_service/list_extensible_source_servers.py +164 -0
- capo_drs/_operations/elastic_disaster_recovery_service/list_launch_actions.py +169 -0
- capo_drs/_operations/elastic_disaster_recovery_service/list_staging_accounts.py +168 -0
- capo_drs/_operations/elastic_disaster_recovery_service/list_tags_for_resource.py +166 -0
- capo_drs/_operations/elastic_disaster_recovery_service/put_launch_action.py +170 -0
- capo_drs/_operations/elastic_disaster_recovery_service/retry_data_replication.py +165 -0
- capo_drs/_operations/elastic_disaster_recovery_service/reverse_replication.py +177 -0
- capo_drs/_operations/elastic_disaster_recovery_service/start_failback_launch.py +175 -0
- capo_drs/_operations/elastic_disaster_recovery_service/start_recovery.py +167 -0
- capo_drs/_operations/elastic_disaster_recovery_service/start_replication.py +165 -0
- capo_drs/_operations/elastic_disaster_recovery_service/start_source_network_recovery.py +171 -0
- capo_drs/_operations/elastic_disaster_recovery_service/start_source_network_replication.py +164 -0
- capo_drs/_operations/elastic_disaster_recovery_service/stop_failback.py +132 -0
- capo_drs/_operations/elastic_disaster_recovery_service/stop_replication.py +165 -0
- capo_drs/_operations/elastic_disaster_recovery_service/stop_source_network_replication.py +169 -0
- capo_drs/_operations/elastic_disaster_recovery_service/tag_resource.py +140 -0
- capo_drs/_operations/elastic_disaster_recovery_service/terminate_recovery_instances.py +165 -0
- capo_drs/_operations/elastic_disaster_recovery_service/untag_resource.py +139 -0
- capo_drs/_operations/elastic_disaster_recovery_service/update_failback_replication_configuration.py +140 -0
- capo_drs/_operations/elastic_disaster_recovery_service/update_launch_configuration.py +168 -0
- capo_drs/_operations/elastic_disaster_recovery_service/update_launch_configuration_template.py +172 -0
- capo_drs/_operations/elastic_disaster_recovery_service/update_replication_configuration.py +179 -0
- capo_drs/_operations/elastic_disaster_recovery_service/update_replication_configuration_template.py +173 -0
- capo_drs/_pagination.py +21 -0
- capo_drs/_protocol/__init__.py +1 -0
- capo_drs/_protocol/errors.py +93 -0
- capo_drs/_protocol/eventstream.py +238 -0
- capo_drs/_protocol/serialize.py +47 -0
- capo_drs/_protocol/xml.py +33 -0
- capo_drs/_resources/elastic_disaster_recovery_service/account_resource.py +17 -0
- capo_drs/_resources/elastic_disaster_recovery_service/job_resource.py +359 -0
- capo_drs/_resources/elastic_disaster_recovery_service/launch_configuration_template_resource.py +606 -0
- capo_drs/_resources/elastic_disaster_recovery_service/recovery_instance_resource.py +966 -0
- capo_drs/_resources/elastic_disaster_recovery_service/replication_configuration_template_resource.py +772 -0
- capo_drs/_resources/elastic_disaster_recovery_service/source_network_resource.py +893 -0
- capo_drs/_resources/elastic_disaster_recovery_service/source_server_resource.py +1560 -0
- capo_drs/_rule_engine/__init__.py +0 -0
- capo_drs/_rule_engine/_aws_partition.py +160 -0
- capo_drs/_rule_engine/_endpoint_rule_set.py +136 -0
- capo_drs/_rule_engine/_endpoint_runtime.py +389 -0
- capo_drs/_services/_aws_config.py +160 -0
- capo_drs/_services/_pipeline.py +198 -0
- capo_drs/_services/async_drs.py +808 -0
- capo_drs/_services/drs.py +798 -0
- capo_drs/errors/__init__.py +39 -0
- capo_drs/errors/_base.py +94 -0
- capo_drs/errors/access_denied_exception.py +56 -0
- capo_drs/errors/conflict_exception.py +66 -0
- capo_drs/errors/internal_server_exception.py +55 -0
- capo_drs/errors/resource_not_found_exception.py +68 -0
- capo_drs/errors/service_quota_exceeded_exception.py +82 -0
- capo_drs/errors/throttling_exception.py +66 -0
- capo_drs/errors/uninitialized_account_exception.py +58 -0
- capo_drs/errors/validation_exception.py +84 -0
- capo_drs/py.typed +0 -0
- capo_drs/types/_prelude/blob.py +12 -0
- capo_drs/types/_prelude/timestamp.py +17 -0
- capo_drs/types/account.py +28 -0
- capo_drs/types/account_i_ds.py +17 -0
- capo_drs/types/account_id.py +5 -0
- capo_drs/types/accounts.py +29 -0
- capo_drs/types/agent_version.py +5 -0
- capo_drs/types/arn.py +5 -0
- capo_drs/types/associate_source_network_stack_request.py +43 -0
- capo_drs/types/associate_source_network_stack_response.py +32 -0
- capo_drs/types/aws_availability_zone.py +5 -0
- capo_drs/types/aws_region.py +5 -0
- capo_drs/types/bounded_string.py +5 -0
- capo_drs/types/cfn_stack_name.py +5 -0
- capo_drs/types/conversion_map.py +27 -0
- capo_drs/types/conversion_properties.py +105 -0
- capo_drs/types/cpu.py +36 -0
- capo_drs/types/cpus.py +29 -0
- capo_drs/types/create_extended_source_server_request.py +44 -0
- capo_drs/types/create_extended_source_server_response.py +36 -0
- capo_drs/types/create_launch_configuration_template_request.py +96 -0
- capo_drs/types/create_launch_configuration_template_response.py +42 -0
- capo_drs/types/create_replication_configuration_template_request.py +182 -0
- capo_drs/types/create_source_network_request.py +60 -0
- capo_drs/types/create_source_network_response.py +28 -0
- capo_drs/types/data_replication_error.py +37 -0
- capo_drs/types/data_replication_error_string.py +5 -0
- capo_drs/types/data_replication_info.py +127 -0
- capo_drs/types/data_replication_info_replicated_disk.py +64 -0
- capo_drs/types/data_replication_info_replicated_disks.py +35 -0
- capo_drs/types/data_replication_initiation.py +57 -0
- capo_drs/types/data_replication_initiation_step.py +39 -0
- capo_drs/types/data_replication_initiation_step_name.py +5 -0
- capo_drs/types/data_replication_initiation_step_status.py +5 -0
- capo_drs/types/data_replication_initiation_steps.py +33 -0
- capo_drs/types/data_replication_state.py +5 -0
- capo_drs/types/delete_job_request.py +31 -0
- capo_drs/types/delete_job_response.py +18 -0
- capo_drs/types/delete_launch_action_request.py +37 -0
- capo_drs/types/delete_launch_action_response.py +18 -0
- capo_drs/types/delete_launch_configuration_template_request.py +35 -0
- capo_drs/types/delete_launch_configuration_template_response.py +18 -0
- capo_drs/types/delete_recovery_instance_request.py +33 -0
- capo_drs/types/delete_replication_configuration_template_request.py +37 -0
- capo_drs/types/delete_replication_configuration_template_response.py +18 -0
- capo_drs/types/delete_source_network_request.py +33 -0
- capo_drs/types/delete_source_network_response.py +18 -0
- capo_drs/types/delete_source_server_request.py +33 -0
- capo_drs/types/delete_source_server_response.py +18 -0
- capo_drs/types/describe_job_log_items_request.py +47 -0
- capo_drs/types/describe_job_log_items_response.py +39 -0
- capo_drs/types/describe_jobs_request.py +54 -0
- capo_drs/types/describe_jobs_request_filters.py +57 -0
- capo_drs/types/describe_jobs_request_filters_job_i_ds.py +17 -0
- capo_drs/types/describe_jobs_response.py +39 -0
- capo_drs/types/describe_launch_configuration_templates_request.py +56 -0
- capo_drs/types/describe_launch_configuration_templates_response.py +45 -0
- capo_drs/types/describe_recovery_instances_items.py +31 -0
- capo_drs/types/describe_recovery_instances_request.py +58 -0
- capo_drs/types/describe_recovery_instances_request_filters.py +57 -0
- capo_drs/types/describe_recovery_instances_response.py +47 -0
- capo_drs/types/describe_recovery_snapshots_request.py +77 -0
- capo_drs/types/describe_recovery_snapshots_request_filters.py +38 -0
- capo_drs/types/describe_recovery_snapshots_response.py +43 -0
- capo_drs/types/describe_replication_configuration_templates_request.py +58 -0
- capo_drs/types/describe_replication_configuration_templates_response.py +49 -0
- capo_drs/types/describe_source_networks_request.py +58 -0
- capo_drs/types/describe_source_networks_request_filters.py +56 -0
- capo_drs/types/describe_source_networks_request_filters_i_ds.py +19 -0
- capo_drs/types/describe_source_networks_response.py +43 -0
- capo_drs/types/describe_source_servers_request.py +58 -0
- capo_drs/types/describe_source_servers_request_filters.py +64 -0
- capo_drs/types/describe_source_servers_request_filters_i_ds.py +19 -0
- capo_drs/types/describe_source_servers_response.py +41 -0
- capo_drs/types/disconnect_recovery_instance_request.py +33 -0
- capo_drs/types/disconnect_source_server_request.py +33 -0
- capo_drs/types/disk.py +36 -0
- capo_drs/types/disks.py +29 -0
- capo_drs/types/ebs_snapshot.py +5 -0
- capo_drs/types/ebs_snapshots_list.py +17 -0
- capo_drs/types/ebs_volume_id.py +5 -0
- capo_drs/types/ec2_instance_id.py +5 -0
- capo_drs/types/ec2_instance_state.py +5 -0
- capo_drs/types/ec2_instance_type.py +5 -0
- capo_drs/types/event_resource_data.py +44 -0
- capo_drs/types/export_source_network_cfn_template_request.py +33 -0
- capo_drs/types/export_source_network_cfn_template_response.py +30 -0
- capo_drs/types/extension_status.py +5 -0
- capo_drs/types/failback_launch_type.py +5 -0
- capo_drs/types/failback_replication_error.py +5 -0
- capo_drs/types/failback_state.py +5 -0
- capo_drs/types/failure_reason.py +5 -0
- capo_drs/types/get_failback_replication_configuration_request.py +33 -0
- capo_drs/types/get_failback_replication_configuration_response.py +61 -0
- capo_drs/types/get_launch_configuration_request.py +33 -0
- capo_drs/types/get_replication_configuration_request.py +33 -0
- capo_drs/types/i_ps_list.py +17 -0
- capo_drs/types/identification_hints.py +47 -0
- capo_drs/types/initialize_service_request.py +18 -0
- capo_drs/types/initialize_service_response.py +18 -0
- capo_drs/types/initiated_by.py +5 -0
- capo_drs/types/internet_protocol.py +5 -0
- capo_drs/types/iso8601_datetime_string.py +5 -0
- capo_drs/types/iso8601_duration_string.py +5 -0
- capo_drs/types/job.py +129 -0
- capo_drs/types/job_event_attempt_count.py +5 -0
- capo_drs/types/job_id.py +5 -0
- capo_drs/types/job_log.py +52 -0
- capo_drs/types/job_log_event.py +5 -0
- capo_drs/types/job_log_event_data.py +103 -0
- capo_drs/types/job_logs.py +29 -0
- capo_drs/types/job_status.py +5 -0
- capo_drs/types/job_type.py +5 -0
- capo_drs/types/jobs_list.py +29 -0
- capo_drs/types/large_bounded_string.py +5 -0
- capo_drs/types/last_launch_result.py +5 -0
- capo_drs/types/last_launch_type.py +5 -0
- capo_drs/types/launch_action.py +103 -0
- capo_drs/types/launch_action_category.py +6 -0
- capo_drs/types/launch_action_description.py +6 -0
- capo_drs/types/launch_action_id.py +6 -0
- capo_drs/types/launch_action_ids.py +17 -0
- capo_drs/types/launch_action_name.py +6 -0
- capo_drs/types/launch_action_order.py +6 -0
- capo_drs/types/launch_action_parameter.py +39 -0
- capo_drs/types/launch_action_parameter_name.py +5 -0
- capo_drs/types/launch_action_parameter_type.py +5 -0
- capo_drs/types/launch_action_parameter_value.py +5 -0
- capo_drs/types/launch_action_parameters.py +33 -0
- capo_drs/types/launch_action_resource_id.py +6 -0
- capo_drs/types/launch_action_run.py +53 -0
- capo_drs/types/launch_action_run_id.py +5 -0
- capo_drs/types/launch_action_run_status.py +5 -0
- capo_drs/types/launch_action_runs.py +29 -0
- capo_drs/types/launch_action_type.py +5 -0
- capo_drs/types/launch_action_version.py +6 -0
- capo_drs/types/launch_actions.py +29 -0
- capo_drs/types/launch_actions_request_filters.py +36 -0
- capo_drs/types/launch_actions_status.py +41 -0
- capo_drs/types/launch_configuration.py +114 -0
- capo_drs/types/launch_configuration_template.py +111 -0
- capo_drs/types/launch_configuration_template_i_ds.py +19 -0
- capo_drs/types/launch_configuration_template_id.py +5 -0
- capo_drs/types/launch_configuration_templates.py +31 -0
- capo_drs/types/launch_disposition.py +5 -0
- capo_drs/types/launch_into_instance_properties.py +30 -0
- capo_drs/types/launch_status.py +5 -0
- capo_drs/types/licensing.py +23 -0
- capo_drs/types/life_cycle.py +72 -0
- capo_drs/types/life_cycle_last_launch.py +49 -0
- capo_drs/types/life_cycle_last_launch_initiated.py +44 -0
- capo_drs/types/list_extensible_source_servers_request.py +49 -0
- capo_drs/types/list_extensible_source_servers_response.py +45 -0
- capo_drs/types/list_launch_actions_request.py +61 -0
- capo_drs/types/list_launch_actions_response.py +39 -0
- capo_drs/types/list_staging_accounts_request.py +26 -0
- capo_drs/types/list_staging_accounts_response.py +39 -0
- capo_drs/types/list_tags_for_resource_request.py +24 -0
- capo_drs/types/list_tags_for_resource_response.py +32 -0
- capo_drs/types/max_results_replicating_source_servers.py +5 -0
- capo_drs/types/max_results_type.py +5 -0
- capo_drs/types/network_interface.py +45 -0
- capo_drs/types/network_interfaces.py +29 -0
- capo_drs/types/origin_environment.py +5 -0
- capo_drs/types/os.py +28 -0
- capo_drs/types/outpost_arn.py +5 -0
- capo_drs/types/pagination_token.py +5 -0
- capo_drs/types/participating_resource.py +49 -0
- capo_drs/types/participating_resource_id.py +32 -0
- capo_drs/types/participating_resources.py +31 -0
- capo_drs/types/participating_server.py +65 -0
- capo_drs/types/participating_servers.py +31 -0
- capo_drs/types/pit_policy.py +29 -0
- capo_drs/types/pit_policy_rule.py +62 -0
- capo_drs/types/pit_policy_rule_units.py +5 -0
- capo_drs/types/positive_integer.py +5 -0
- capo_drs/types/product_code.py +35 -0
- capo_drs/types/product_code_id.py +5 -0
- capo_drs/types/product_code_mode.py +5 -0
- capo_drs/types/product_codes.py +29 -0
- capo_drs/types/put_launch_action_request.py +110 -0
- capo_drs/types/put_launch_action_response.py +111 -0
- capo_drs/types/recovery_instance.py +184 -0
- capo_drs/types/recovery_instance_data_replication_error.py +37 -0
- capo_drs/types/recovery_instance_data_replication_info.py +126 -0
- capo_drs/types/recovery_instance_data_replication_info_replicated_disk.py +57 -0
- capo_drs/types/recovery_instance_data_replication_info_replicated_disks.py +39 -0
- capo_drs/types/recovery_instance_data_replication_initiation.py +51 -0
- capo_drs/types/recovery_instance_data_replication_initiation_step.py +39 -0
- capo_drs/types/recovery_instance_data_replication_initiation_step_name.py +5 -0
- capo_drs/types/recovery_instance_data_replication_initiation_step_status.py +5 -0
- capo_drs/types/recovery_instance_data_replication_initiation_steps.py +39 -0
- capo_drs/types/recovery_instance_data_replication_state.py +5 -0
- capo_drs/types/recovery_instance_disk.py +43 -0
- capo_drs/types/recovery_instance_disks.py +31 -0
- capo_drs/types/recovery_instance_failback.py +106 -0
- capo_drs/types/recovery_instance_i_ds.py +19 -0
- capo_drs/types/recovery_instance_id.py +5 -0
- capo_drs/types/recovery_instance_properties.py +111 -0
- capo_drs/types/recovery_instances_for_termination_request.py +19 -0
- capo_drs/types/recovery_life_cycle.py +51 -0
- capo_drs/types/recovery_result.py +5 -0
- capo_drs/types/recovery_snapshot.py +70 -0
- capo_drs/types/recovery_snapshot_id.py +5 -0
- capo_drs/types/recovery_snapshots_list.py +31 -0
- capo_drs/types/recovery_snapshots_order.py +5 -0
- capo_drs/types/replication_configuration.py +194 -0
- capo_drs/types/replication_configuration_data_plane_routing.py +5 -0
- capo_drs/types/replication_configuration_default_large_staging_disk_type.py +5 -0
- capo_drs/types/replication_configuration_ebs_encryption.py +5 -0
- capo_drs/types/replication_configuration_replicated_disk.py +66 -0
- capo_drs/types/replication_configuration_replicated_disk_staging_disk_type.py +5 -0
- capo_drs/types/replication_configuration_replicated_disks.py +39 -0
- capo_drs/types/replication_configuration_template.py +191 -0
- capo_drs/types/replication_configuration_template_i_ds.py +19 -0
- capo_drs/types/replication_configuration_template_id.py +5 -0
- capo_drs/types/replication_configuration_templates.py +35 -0
- capo_drs/types/replication_direction.py +6 -0
- capo_drs/types/replication_servers_security_groups_i_ds.py +19 -0
- capo_drs/types/replication_status.py +5 -0
- capo_drs/types/retry_data_replication_request.py +33 -0
- capo_drs/types/reverse_replication_request.py +33 -0
- capo_drs/types/reverse_replication_response.py +34 -0
- capo_drs/types/security_group_id.py +5 -0
- capo_drs/types/sensitive_bounded_string.py +5 -0
- capo_drs/types/small_bounded_string.py +5 -0
- capo_drs/types/source_cloud_properties.py +51 -0
- capo_drs/types/source_network.py +113 -0
- capo_drs/types/source_network_data.py +48 -0
- capo_drs/types/source_network_id.py +5 -0
- capo_drs/types/source_networks_list.py +29 -0
- capo_drs/types/source_properties.py +122 -0
- capo_drs/types/source_server.py +185 -0
- capo_drs/types/source_server_arn.py +5 -0
- capo_drs/types/source_server_i_ds.py +17 -0
- capo_drs/types/source_server_id.py +5 -0
- capo_drs/types/source_servers_list.py +29 -0
- capo_drs/types/ssm_document_name.py +5 -0
- capo_drs/types/staging_area.py +49 -0
- capo_drs/types/staging_source_server.py +46 -0
- capo_drs/types/staging_source_servers_list.py +31 -0
- capo_drs/types/start_failback_launch_request.py +56 -0
- capo_drs/types/start_failback_launch_response.py +32 -0
- capo_drs/types/start_failback_request_recovery_instance_i_ds.py +19 -0
- capo_drs/types/start_recovery_request.py +60 -0
- capo_drs/types/start_recovery_request_source_server.py +42 -0
- capo_drs/types/start_recovery_request_source_servers.py +35 -0
- capo_drs/types/start_recovery_response.py +32 -0
- capo_drs/types/start_replication_request.py +31 -0
- capo_drs/types/start_replication_response.py +36 -0
- capo_drs/types/start_source_network_recovery_request.py +62 -0
- capo_drs/types/start_source_network_recovery_request_network_entries.py +39 -0
- capo_drs/types/start_source_network_recovery_request_network_entry.py +40 -0
- capo_drs/types/start_source_network_recovery_response.py +32 -0
- capo_drs/types/start_source_network_replication_request.py +33 -0
- capo_drs/types/start_source_network_replication_response.py +36 -0
- capo_drs/types/stop_failback_request.py +31 -0
- capo_drs/types/stop_replication_request.py +31 -0
- capo_drs/types/stop_replication_response.py +36 -0
- capo_drs/types/stop_source_network_replication_request.py +33 -0
- capo_drs/types/stop_source_network_replication_response.py +36 -0
- capo_drs/types/strictly_positive_integer.py +5 -0
- capo_drs/types/subnet_id.py +5 -0
- capo_drs/types/tag_key.py +5 -0
- capo_drs/types/tag_keys.py +17 -0
- capo_drs/types/tag_resource_request.py +38 -0
- capo_drs/types/tag_value.py +5 -0
- capo_drs/types/tags_map.py +28 -0
- capo_drs/types/target_instance_type_right_sizing_method.py +5 -0
- capo_drs/types/terminate_recovery_instances_request.py +45 -0
- capo_drs/types/terminate_recovery_instances_response.py +32 -0
- capo_drs/types/untag_resource_request.py +27 -0
- capo_drs/types/update_failback_replication_configuration_request.py +61 -0
- capo_drs/types/update_launch_configuration_request.py +112 -0
- capo_drs/types/update_launch_configuration_template_request.py +99 -0
- capo_drs/types/update_launch_configuration_template_response.py +42 -0
- capo_drs/types/update_replication_configuration_request.py +199 -0
- capo_drs/types/update_replication_configuration_template_request.py +181 -0
- capo_drs/types/validation_exception_field.py +34 -0
- capo_drs/types/validation_exception_field_list.py +31 -0
- capo_drs/types/validation_exception_reason.py +5 -0
- capo_drs/types/volume_status.py +5 -0
- capo_drs/types/volume_to_conversion_map.py +33 -0
- capo_drs/types/volume_to_product_codes.py +33 -0
- capo_drs/types/volume_to_size_map.py +29 -0
- capo_drs/types/vpc_id.py +5 -0
- capo_drs-0.1.0.dist-info/METADATA +101 -0
- capo_drs-0.1.0.dist-info/RECORD +381 -0
- capo_drs-0.1.0.dist-info/WHEEL +5 -0
- capo_drs-0.1.0.dist-info/licenses/LICENSE +21 -0
- capo_drs-0.1.0.dist-info/top_level.txt +1 -0
capo_drs/__init__.py
ADDED
|
@@ -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_drs import AsyncdrsClient as AsyncdrsClient
|
|
70
|
+
from ._services.drs import drsClient as drsClient
|
capo_drs/_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]
|