capo-outposts 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_outposts/__init__.py +70 -0
- capo_outposts/_async.py +25 -0
- capo_outposts/_auth/_identity.py +16 -0
- capo_outposts/_auth/_providers.py +886 -0
- capo_outposts/_auth/_signers.py +88 -0
- capo_outposts/_auth/_sigv4.py +434 -0
- capo_outposts/_auth/_zapros_handler.py +80 -0
- capo_outposts/_iter.py +113 -0
- capo_outposts/_operations/outposts_olaf_service/cancel_capacity_task.py +163 -0
- capo_outposts/_operations/outposts_olaf_service/cancel_order.py +151 -0
- capo_outposts/_operations/outposts_olaf_service/create_order.py +169 -0
- capo_outposts/_operations/outposts_olaf_service/create_outpost.py +172 -0
- capo_outposts/_operations/outposts_olaf_service/create_quote.py +160 -0
- capo_outposts/_operations/outposts_olaf_service/create_renewal.py +162 -0
- capo_outposts/_operations/outposts_olaf_service/create_site.py +164 -0
- capo_outposts/_operations/outposts_olaf_service/delete_outpost.py +155 -0
- capo_outposts/_operations/outposts_olaf_service/delete_quote.py +146 -0
- capo_outposts/_operations/outposts_olaf_service/delete_site.py +151 -0
- capo_outposts/_operations/outposts_olaf_service/get_capacity_task.py +170 -0
- capo_outposts/_operations/outposts_olaf_service/get_catalog_item.py +159 -0
- capo_outposts/_operations/outposts_olaf_service/get_connection.py +159 -0
- capo_outposts/_operations/outposts_olaf_service/get_order.py +149 -0
- capo_outposts/_operations/outposts_olaf_service/get_outpost.py +155 -0
- capo_outposts/_operations/outposts_olaf_service/get_outpost_billing_information.py +160 -0
- capo_outposts/_operations/outposts_olaf_service/get_outpost_instance_types.py +165 -0
- capo_outposts/_operations/outposts_olaf_service/get_outpost_supported_instance_types.py +170 -0
- capo_outposts/_operations/outposts_olaf_service/get_quote.py +154 -0
- capo_outposts/_operations/outposts_olaf_service/get_renewal_pricing.py +164 -0
- capo_outposts/_operations/outposts_olaf_service/get_site.py +154 -0
- capo_outposts/_operations/outposts_olaf_service/get_site_address.py +169 -0
- capo_outposts/_operations/outposts_olaf_service/list_asset_instances.py +190 -0
- capo_outposts/_operations/outposts_olaf_service/list_assets.py +180 -0
- capo_outposts/_operations/outposts_olaf_service/list_blocking_instances_for_capacity_task.py +167 -0
- capo_outposts/_operations/outposts_olaf_service/list_capacity_tasks.py +176 -0
- capo_outposts/_operations/outposts_olaf_service/list_catalog_items.py +188 -0
- capo_outposts/_operations/outposts_olaf_service/list_orderable_instance_types.py +171 -0
- capo_outposts/_operations/outposts_olaf_service/list_orders.py +159 -0
- capo_outposts/_operations/outposts_olaf_service/list_outposts.py +168 -0
- capo_outposts/_operations/outposts_olaf_service/list_quotes.py +147 -0
- capo_outposts/_operations/outposts_olaf_service/list_sites.py +164 -0
- capo_outposts/_operations/outposts_olaf_service/list_tags_for_resource.py +152 -0
- capo_outposts/_operations/outposts_olaf_service/start_capacity_task.py +177 -0
- capo_outposts/_operations/outposts_olaf_service/start_connection.py +162 -0
- capo_outposts/_operations/outposts_olaf_service/start_outpost_decommission.py +173 -0
- capo_outposts/_operations/outposts_olaf_service/tag_resource.py +149 -0
- capo_outposts/_operations/outposts_olaf_service/untag_resource.py +148 -0
- capo_outposts/_operations/outposts_olaf_service/update_outpost.py +168 -0
- capo_outposts/_operations/outposts_olaf_service/update_quote.py +162 -0
- capo_outposts/_operations/outposts_olaf_service/update_site.py +163 -0
- capo_outposts/_operations/outposts_olaf_service/update_site_address.py +171 -0
- capo_outposts/_operations/outposts_olaf_service/update_site_rack_physical_properties.py +177 -0
- capo_outposts/_pagination.py +21 -0
- capo_outposts/_protocol/__init__.py +1 -0
- capo_outposts/_protocol/errors.py +93 -0
- capo_outposts/_protocol/eventstream.py +238 -0
- capo_outposts/_protocol/serialize.py +47 -0
- capo_outposts/_protocol/xml.py +33 -0
- capo_outposts/_rule_engine/__init__.py +0 -0
- capo_outposts/_rule_engine/_aws_partition.py +160 -0
- capo_outposts/_rule_engine/_endpoint_rule_set.py +150 -0
- capo_outposts/_rule_engine/_endpoint_runtime.py +389 -0
- capo_outposts/_services/_aws_config.py +160 -0
- capo_outposts/_services/_pipeline.py +198 -0
- capo_outposts/_services/async_outposts.py +3223 -0
- capo_outposts/_services/outposts.py +3172 -0
- capo_outposts/errors/__init__.py +33 -0
- capo_outposts/errors/_base.py +94 -0
- capo_outposts/errors/access_denied_exception.py +51 -0
- capo_outposts/errors/conflict_exception.py +71 -0
- capo_outposts/errors/internal_server_exception.py +51 -0
- capo_outposts/errors/not_found_exception.py +49 -0
- capo_outposts/errors/service_quota_exceeded_exception.py +53 -0
- capo_outposts/errors/validation_exception.py +49 -0
- capo_outposts/py.typed +0 -0
- capo_outposts/types/_prelude/blob.py +12 -0
- capo_outposts/types/_prelude/timestamp.py +17 -0
- capo_outposts/types/account_id.py +6 -0
- capo_outposts/types/account_id_list.py +17 -0
- capo_outposts/types/address.py +109 -0
- capo_outposts/types/address_line1.py +5 -0
- capo_outposts/types/address_line2.py +5 -0
- capo_outposts/types/address_line3.py +5 -0
- capo_outposts/types/address_type.py +17 -0
- capo_outposts/types/arn.py +5 -0
- capo_outposts/types/asset_id.py +5 -0
- capo_outposts/types/asset_id_input.py +5 -0
- capo_outposts/types/asset_id_list.py +17 -0
- capo_outposts/types/asset_info.py +86 -0
- capo_outposts/types/asset_instance.py +65 -0
- capo_outposts/types/asset_instance_capacity_list.py +35 -0
- capo_outposts/types/asset_instance_list.py +29 -0
- capo_outposts/types/asset_instance_type_capacity.py +39 -0
- capo_outposts/types/asset_list_definition.py +29 -0
- capo_outposts/types/asset_location.py +36 -0
- capo_outposts/types/asset_state.py +19 -0
- capo_outposts/types/asset_type.py +20 -0
- capo_outposts/types/asset_type_list.py +29 -0
- capo_outposts/types/auto_fill_idempotency_token.py +5 -0
- capo_outposts/types/availability_zone.py +6 -0
- capo_outposts/types/availability_zone_id.py +6 -0
- capo_outposts/types/availability_zone_id_list.py +19 -0
- capo_outposts/types/availability_zone_list.py +19 -0
- capo_outposts/types/aws_service_name.py +21 -0
- capo_outposts/types/aws_service_name_list.py +31 -0
- capo_outposts/types/blocking_instance.py +49 -0
- capo_outposts/types/blocking_instances_list.py +31 -0
- capo_outposts/types/blocking_resource_type.py +22 -0
- capo_outposts/types/blocking_resource_type_list.py +31 -0
- capo_outposts/types/cancel_capacity_task_input.py +27 -0
- capo_outposts/types/cancel_capacity_task_output.py +18 -0
- capo_outposts/types/cancel_order_input.py +24 -0
- capo_outposts/types/cancel_order_output.py +18 -0
- capo_outposts/types/capacity_summary.py +78 -0
- capo_outposts/types/capacity_task_failure.py +48 -0
- capo_outposts/types/capacity_task_failure_type.py +20 -0
- capo_outposts/types/capacity_task_id.py +5 -0
- capo_outposts/types/capacity_task_list.py +31 -0
- capo_outposts/types/capacity_task_status.py +22 -0
- capo_outposts/types/capacity_task_status_list.py +31 -0
- capo_outposts/types/capacity_task_status_reason.py +5 -0
- capo_outposts/types/capacity_task_summary.py +119 -0
- capo_outposts/types/catalog_item.py +134 -0
- capo_outposts/types/catalog_item_class.py +17 -0
- capo_outposts/types/catalog_item_class_list.py +31 -0
- capo_outposts/types/catalog_item_list_definition.py +31 -0
- capo_outposts/types/catalog_item_power_kva.py +5 -0
- capo_outposts/types/catalog_item_status.py +17 -0
- capo_outposts/types/catalog_item_weight_lbs.py +5 -0
- capo_outposts/types/cidr.py +5 -0
- capo_outposts/types/cidr_list.py +17 -0
- capo_outposts/types/city.py +5 -0
- capo_outposts/types/city_list.py +17 -0
- capo_outposts/types/compute_asset_state.py +19 -0
- capo_outposts/types/compute_attributes.py +90 -0
- capo_outposts/types/connection_details.py +73 -0
- capo_outposts/types/connection_id.py +5 -0
- capo_outposts/types/constraint_value.py +5 -0
- capo_outposts/types/contact_name.py +5 -0
- capo_outposts/types/contact_phone_number.py +5 -0
- capo_outposts/types/country_code.py +5 -0
- capo_outposts/types/country_code_list.py +17 -0
- capo_outposts/types/create_order_input.py +83 -0
- capo_outposts/types/create_order_output.py +32 -0
- capo_outposts/types/create_outpost_input.py +94 -0
- capo_outposts/types/create_outpost_output.py +31 -0
- capo_outposts/types/create_quote_input.py +128 -0
- capo_outposts/types/create_quote_output.py +32 -0
- capo_outposts/types/create_renewal_input.py +72 -0
- capo_outposts/types/create_renewal_output.py +104 -0
- capo_outposts/types/create_site_input.py +104 -0
- capo_outposts/types/create_site_output.py +31 -0
- capo_outposts/types/currency_code.py +14 -0
- capo_outposts/types/decommission_request_status.py +18 -0
- capo_outposts/types/delete_outpost_input.py +24 -0
- capo_outposts/types/delete_outpost_output.py +18 -0
- capo_outposts/types/delete_quote_input.py +24 -0
- capo_outposts/types/delete_quote_output.py +18 -0
- capo_outposts/types/delete_site_input.py +24 -0
- capo_outposts/types/delete_site_output.py +18 -0
- capo_outposts/types/detailed_instance_type_item.py +73 -0
- capo_outposts/types/detailed_instance_type_list_definition.py +33 -0
- capo_outposts/types/device_serial_number.py +5 -0
- capo_outposts/types/district_or_county.py +5 -0
- capo_outposts/types/dry_run.py +5 -0
- capo_outposts/types/ec2_capacity.py +42 -0
- capo_outposts/types/ec2_capacity_list_definition.py +31 -0
- capo_outposts/types/ec2_family_list.py +17 -0
- capo_outposts/types/error_message.py +5 -0
- capo_outposts/types/family.py +5 -0
- capo_outposts/types/fiber_optic_cable_type.py +17 -0
- capo_outposts/types/form_factor.py +17 -0
- capo_outposts/types/form_factor_config.py +57 -0
- capo_outposts/types/form_factor_config_list.py +31 -0
- capo_outposts/types/get_capacity_task_input.py +27 -0
- capo_outposts/types/get_capacity_task_output.py +205 -0
- capo_outposts/types/get_catalog_item_input.py +24 -0
- capo_outposts/types/get_catalog_item_output.py +36 -0
- capo_outposts/types/get_connection_request.py +24 -0
- capo_outposts/types/get_connection_response.py +49 -0
- capo_outposts/types/get_order_input.py +24 -0
- capo_outposts/types/get_order_output.py +31 -0
- capo_outposts/types/get_outpost_billing_information_input.py +28 -0
- capo_outposts/types/get_outpost_billing_information_output.py +79 -0
- capo_outposts/types/get_outpost_input.py +24 -0
- capo_outposts/types/get_outpost_instance_types_input.py +28 -0
- capo_outposts/types/get_outpost_instance_types_output.py +60 -0
- capo_outposts/types/get_outpost_output.py +31 -0
- capo_outposts/types/get_outpost_supported_instance_types_input.py +34 -0
- capo_outposts/types/get_outpost_supported_instance_types_output.py +47 -0
- capo_outposts/types/get_quote_input.py +24 -0
- capo_outposts/types/get_quote_output.py +32 -0
- capo_outposts/types/get_renewal_pricing_input.py +24 -0
- capo_outposts/types/get_renewal_pricing_output.py +55 -0
- capo_outposts/types/get_site_address_input.py +27 -0
- capo_outposts/types/get_site_address_output.py +53 -0
- capo_outposts/types/get_site_input.py +24 -0
- capo_outposts/types/get_site_output.py +31 -0
- capo_outposts/types/host_id.py +5 -0
- capo_outposts/types/host_id_list.py +17 -0
- capo_outposts/types/instance_families.py +19 -0
- capo_outposts/types/instance_family_name.py +5 -0
- capo_outposts/types/instance_id.py +5 -0
- capo_outposts/types/instance_id_list.py +17 -0
- capo_outposts/types/instance_type.py +6 -0
- capo_outposts/types/instance_type_capacity.py +39 -0
- capo_outposts/types/instance_type_count.py +5 -0
- capo_outposts/types/instance_type_item.py +34 -0
- capo_outposts/types/instance_type_list_definition.py +31 -0
- capo_outposts/types/instance_type_name.py +5 -0
- capo_outposts/types/instances_to_exclude.py +68 -0
- capo_outposts/types/iso8601_timestamp.py +20 -0
- capo_outposts/types/life_cycle_status.py +6 -0
- capo_outposts/types/life_cycle_status_list.py +19 -0
- capo_outposts/types/line_item.py +112 -0
- capo_outposts/types/line_item_asset_information.py +43 -0
- capo_outposts/types/line_item_asset_information_list.py +33 -0
- capo_outposts/types/line_item_id.py +5 -0
- capo_outposts/types/line_item_list_definition.py +29 -0
- capo_outposts/types/line_item_quantity.py +5 -0
- capo_outposts/types/line_item_request.py +35 -0
- capo_outposts/types/line_item_request_list_definition.py +31 -0
- capo_outposts/types/line_item_status.py +24 -0
- capo_outposts/types/line_item_status_counts.py +33 -0
- capo_outposts/types/list_asset_instances_input.py +44 -0
- capo_outposts/types/list_asset_instances_output.py +46 -0
- capo_outposts/types/list_assets_input.py +37 -0
- capo_outposts/types/list_assets_output.py +42 -0
- capo_outposts/types/list_blocking_instances_for_capacity_task_input.py +31 -0
- capo_outposts/types/list_blocking_instances_for_capacity_task_output.py +48 -0
- capo_outposts/types/list_capacity_tasks_input.py +35 -0
- capo_outposts/types/list_capacity_tasks_output.py +44 -0
- capo_outposts/types/list_catalog_items_input.py +38 -0
- capo_outposts/types/list_catalog_items_output.py +48 -0
- capo_outposts/types/list_orderable_instance_types_input.py +32 -0
- capo_outposts/types/list_orderable_instance_types_output.py +49 -0
- capo_outposts/types/list_orders_input.py +30 -0
- capo_outposts/types/list_orders_output.py +48 -0
- capo_outposts/types/list_outposts_input.py +40 -0
- capo_outposts/types/list_outposts_output.py +43 -0
- capo_outposts/types/list_quotes_input.py +27 -0
- capo_outposts/types/list_quotes_output.py +49 -0
- capo_outposts/types/list_sites_input.py +38 -0
- capo_outposts/types/list_sites_output.py +41 -0
- capo_outposts/types/list_tags_for_resource_request.py +24 -0
- capo_outposts/types/list_tags_for_resource_response.py +32 -0
- capo_outposts/types/mac_address.py +5 -0
- capo_outposts/types/mac_address_list.py +17 -0
- capo_outposts/types/max_results1000.py +6 -0
- capo_outposts/types/max_size.py +5 -0
- capo_outposts/types/maximum_supported_weight_lbs.py +20 -0
- capo_outposts/types/memory_in_mib.py +5 -0
- capo_outposts/types/municipality.py +5 -0
- capo_outposts/types/network_interface_device_index.py +5 -0
- capo_outposts/types/network_performance.py +5 -0
- capo_outposts/types/nullable_double.py +5 -0
- capo_outposts/types/nullable_float.py +5 -0
- capo_outposts/types/optical_standard.py +28 -0
- capo_outposts/types/order.py +153 -0
- capo_outposts/types/order_id.py +5 -0
- capo_outposts/types/order_id_list.py +17 -0
- capo_outposts/types/order_identifier.py +5 -0
- capo_outposts/types/order_status.py +26 -0
- capo_outposts/types/order_summary.py +125 -0
- capo_outposts/types/order_summary_list_definition.py +31 -0
- capo_outposts/types/order_type.py +17 -0
- capo_outposts/types/ordering_requirement.py +68 -0
- capo_outposts/types/ordering_requirement_list.py +31 -0
- capo_outposts/types/ordering_requirement_status.py +18 -0
- capo_outposts/types/ordering_requirement_type.py +32 -0
- capo_outposts/types/outpost.py +122 -0
- capo_outposts/types/outpost_arn.py +6 -0
- capo_outposts/types/outpost_description.py +6 -0
- capo_outposts/types/outpost_generation.py +17 -0
- capo_outposts/types/outpost_id.py +5 -0
- capo_outposts/types/outpost_id_only.py +5 -0
- capo_outposts/types/outpost_identifier.py +5 -0
- capo_outposts/types/outpost_identifier_or_empty.py +5 -0
- capo_outposts/types/outpost_instance_type.py +5 -0
- capo_outposts/types/outpost_instance_type_list.py +19 -0
- capo_outposts/types/outpost_list_definition.py +29 -0
- capo_outposts/types/outpost_name.py +6 -0
- capo_outposts/types/owner_id.py +6 -0
- capo_outposts/types/payment_option.py +18 -0
- capo_outposts/types/payment_option_list.py +29 -0
- capo_outposts/types/payment_term.py +18 -0
- capo_outposts/types/payment_term_list.py +29 -0
- capo_outposts/types/postal_code.py +5 -0
- capo_outposts/types/power_connector.py +20 -0
- capo_outposts/types/power_draw_kva.py +19 -0
- capo_outposts/types/power_feed_drop.py +17 -0
- capo_outposts/types/power_phase.py +17 -0
- capo_outposts/types/pricing_option.py +57 -0
- capo_outposts/types/pricing_option_list.py +29 -0
- capo_outposts/types/pricing_result.py +17 -0
- capo_outposts/types/quantity.py +5 -0
- capo_outposts/types/quote.py +238 -0
- capo_outposts/types/quote_capacity.py +64 -0
- capo_outposts/types/quote_capacity_list.py +29 -0
- capo_outposts/types/quote_capacity_type.py +18 -0
- capo_outposts/types/quote_constraint.py +49 -0
- capo_outposts/types/quote_constraint_list.py +31 -0
- capo_outposts/types/quote_constraint_type.py +18 -0
- capo_outposts/types/quote_description.py +5 -0
- capo_outposts/types/quote_id.py +5 -0
- capo_outposts/types/quote_identifier.py +5 -0
- capo_outposts/types/quote_option.py +102 -0
- capo_outposts/types/quote_option_identifier.py +5 -0
- capo_outposts/types/quote_option_list.py +29 -0
- capo_outposts/types/quote_pricing_type.py +14 -0
- capo_outposts/types/quote_rack_use_type.py +17 -0
- capo_outposts/types/quote_specification.py +104 -0
- capo_outposts/types/quote_specification_list.py +31 -0
- capo_outposts/types/quote_specification_type.py +19 -0
- capo_outposts/types/quote_status.py +18 -0
- capo_outposts/types/quote_summary.py +217 -0
- capo_outposts/types/quote_summary_list_definition.py +31 -0
- capo_outposts/types/rack_elevation.py +5 -0
- capo_outposts/types/rack_id.py +5 -0
- capo_outposts/types/rack_physical_properties.py +170 -0
- capo_outposts/types/rack_specification_details.py +150 -0
- capo_outposts/types/rack_unit_height.py +18 -0
- capo_outposts/types/requested_instance_pools.py +31 -0
- capo_outposts/types/resource_type.py +17 -0
- capo_outposts/types/server_endpoint.py +5 -0
- capo_outposts/types/server_specification_details.py +132 -0
- capo_outposts/types/shipment_carrier.py +20 -0
- capo_outposts/types/shipment_information.py +45 -0
- capo_outposts/types/site.py +117 -0
- capo_outposts/types/site_arn.py +6 -0
- capo_outposts/types/site_description.py +6 -0
- capo_outposts/types/site_id.py +6 -0
- capo_outposts/types/site_list_definition.py +29 -0
- capo_outposts/types/site_name.py +6 -0
- capo_outposts/types/site_notes.py +5 -0
- capo_outposts/types/sku_code.py +5 -0
- capo_outposts/types/start_capacity_task_input.py +110 -0
- capo_outposts/types/start_capacity_task_output.py +205 -0
- capo_outposts/types/start_connection_request.py +58 -0
- capo_outposts/types/start_connection_response.py +37 -0
- capo_outposts/types/start_outpost_decommission_input.py +32 -0
- capo_outposts/types/start_outpost_decommission_output.py +61 -0
- capo_outposts/types/state_or_region.py +5 -0
- capo_outposts/types/state_or_region_list.py +17 -0
- capo_outposts/types/status_list.py +29 -0
- capo_outposts/types/status_message.py +5 -0
- capo_outposts/types/string.py +5 -0
- capo_outposts/types/subscription.py +158 -0
- capo_outposts/types/subscription_list.py +29 -0
- capo_outposts/types/subscription_pricing_details.py +97 -0
- capo_outposts/types/subscription_status.py +19 -0
- capo_outposts/types/subscription_type.py +18 -0
- capo_outposts/types/supported_hardware_type.py +17 -0
- capo_outposts/types/supported_storage_enum.py +17 -0
- capo_outposts/types/supported_storage_list.py +31 -0
- capo_outposts/types/supported_uplink_gbps.py +5 -0
- capo_outposts/types/supported_uplink_gbps_list_definition.py +19 -0
- capo_outposts/types/tag_key.py +5 -0
- capo_outposts/types/tag_key_list.py +17 -0
- capo_outposts/types/tag_map.py +28 -0
- capo_outposts/types/tag_resource_request.py +38 -0
- capo_outposts/types/tag_resource_response.py +18 -0
- capo_outposts/types/tag_value.py +5 -0
- capo_outposts/types/task_action_on_blocking_instances.py +17 -0
- capo_outposts/types/token.py +6 -0
- capo_outposts/types/tracking_id.py +5 -0
- capo_outposts/types/underlay_ip_address.py +5 -0
- capo_outposts/types/untag_resource_request.py +27 -0
- capo_outposts/types/untag_resource_response.py +18 -0
- capo_outposts/types/update_outpost_input.py +59 -0
- capo_outposts/types/update_outpost_output.py +31 -0
- capo_outposts/types/update_quote_input.py +131 -0
- capo_outposts/types/update_quote_output.py +32 -0
- capo_outposts/types/update_site_address_input.py +54 -0
- capo_outposts/types/update_site_address_output.py +47 -0
- capo_outposts/types/update_site_input.py +43 -0
- capo_outposts/types/update_site_output.py +31 -0
- capo_outposts/types/update_site_rack_physical_properties_input.py +173 -0
- capo_outposts/types/update_site_rack_physical_properties_output.py +31 -0
- capo_outposts/types/uplink_count.py +25 -0
- capo_outposts/types/uplink_gbps.py +19 -0
- capo_outposts/types/validate_only.py +5 -0
- capo_outposts/types/vcpu_count.py +5 -0
- capo_outposts/types/wire_guard_public_key.py +5 -0
- capo_outposts-0.1.0.dist-info/METADATA +101 -0
- capo_outposts-0.1.0.dist-info/RECORD +388 -0
- capo_outposts-0.1.0.dist-info/WHEEL +5 -0
- capo_outposts-0.1.0.dist-info/licenses/LICENSE +21 -0
- capo_outposts-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_outposts import AsyncOutpostsClient as AsyncOutpostsClient
|
|
70
|
+
from ._services.outposts import OutpostsClient as OutpostsClient
|
capo_outposts/_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]
|