capo-devops-agent 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_devops_agent/__init__.py +72 -0
- capo_devops_agent/_async.py +25 -0
- capo_devops_agent/_auth/_identity.py +16 -0
- capo_devops_agent/_auth/_providers.py +886 -0
- capo_devops_agent/_auth/_signers.py +88 -0
- capo_devops_agent/_auth/_sigv4.py +434 -0
- capo_devops_agent/_auth/_zapros_handler.py +80 -0
- capo_devops_agent/_iter.py +113 -0
- capo_devops_agent/_operations/dev_ops_agent/associate_service.py +192 -0
- capo_devops_agent/_operations/dev_ops_agent/create_agent_space.py +189 -0
- capo_devops_agent/_operations/dev_ops_agent/create_asset.py +189 -0
- capo_devops_agent/_operations/dev_ops_agent/create_asset_file.py +196 -0
- capo_devops_agent/_operations/dev_ops_agent/create_backlog_task.py +189 -0
- capo_devops_agent/_operations/dev_ops_agent/create_chat.py +195 -0
- capo_devops_agent/_operations/dev_ops_agent/create_private_connection.py +188 -0
- capo_devops_agent/_operations/dev_ops_agent/delete_agent_space.py +177 -0
- capo_devops_agent/_operations/dev_ops_agent/delete_asset.py +178 -0
- capo_devops_agent/_operations/dev_ops_agent/delete_asset_file.py +182 -0
- capo_devops_agent/_operations/dev_ops_agent/delete_private_connection.py +182 -0
- capo_devops_agent/_operations/dev_ops_agent/deregister_service.py +177 -0
- capo_devops_agent/_operations/dev_ops_agent/describe_private_connection.py +185 -0
- capo_devops_agent/_operations/dev_ops_agent/disable_operator_app.py +168 -0
- capo_devops_agent/_operations/dev_ops_agent/disassociate_service.py +181 -0
- capo_devops_agent/_operations/dev_ops_agent/enable_operator_app.py +198 -0
- capo_devops_agent/_operations/dev_ops_agent/get_account_usage.py +185 -0
- capo_devops_agent/_operations/dev_ops_agent/get_agent_space.py +185 -0
- capo_devops_agent/_operations/dev_ops_agent/get_asset.py +189 -0
- capo_devops_agent/_operations/dev_ops_agent/get_asset_content.py +192 -0
- capo_devops_agent/_operations/dev_ops_agent/get_asset_file.py +193 -0
- capo_devops_agent/_operations/dev_ops_agent/get_association.py +188 -0
- capo_devops_agent/_operations/dev_ops_agent/get_backlog_task.py +189 -0
- capo_devops_agent/_operations/dev_ops_agent/get_operator_app.py +188 -0
- capo_devops_agent/_operations/dev_ops_agent/get_recommendation.py +188 -0
- capo_devops_agent/_operations/dev_ops_agent/get_service.py +185 -0
- capo_devops_agent/_operations/dev_ops_agent/list_agent_spaces.py +187 -0
- capo_devops_agent/_operations/dev_ops_agent/list_asset_files.py +196 -0
- capo_devops_agent/_operations/dev_ops_agent/list_asset_types.py +188 -0
- capo_devops_agent/_operations/dev_ops_agent/list_asset_versions.py +190 -0
- capo_devops_agent/_operations/dev_ops_agent/list_assets.py +210 -0
- capo_devops_agent/_operations/dev_ops_agent/list_associations.py +191 -0
- capo_devops_agent/_operations/dev_ops_agent/list_backlog_tasks.py +189 -0
- capo_devops_agent/_operations/dev_ops_agent/list_chats.py +190 -0
- capo_devops_agent/_operations/dev_ops_agent/list_executions.py +190 -0
- capo_devops_agent/_operations/dev_ops_agent/list_goals.py +190 -0
- capo_devops_agent/_operations/dev_ops_agent/list_journal_records.py +189 -0
- capo_devops_agent/_operations/dev_ops_agent/list_pending_messages.py +188 -0
- capo_devops_agent/_operations/dev_ops_agent/list_private_connections.py +184 -0
- capo_devops_agent/_operations/dev_ops_agent/list_recommendations.py +191 -0
- capo_devops_agent/_operations/dev_ops_agent/list_services.py +197 -0
- capo_devops_agent/_operations/dev_ops_agent/list_tags_for_resource.py +186 -0
- capo_devops_agent/_operations/dev_ops_agent/list_webhooks.py +188 -0
- capo_devops_agent/_operations/dev_ops_agent/register_service.py +203 -0
- capo_devops_agent/_operations/dev_ops_agent/send_message.py +201 -0
- capo_devops_agent/_operations/dev_ops_agent/tag_resource.py +180 -0
- capo_devops_agent/_operations/dev_ops_agent/untag_resource.py +180 -0
- capo_devops_agent/_operations/dev_ops_agent/update_agent_space.py +190 -0
- capo_devops_agent/_operations/dev_ops_agent/update_asset.py +192 -0
- capo_devops_agent/_operations/dev_ops_agent/update_asset_file.py +196 -0
- capo_devops_agent/_operations/dev_ops_agent/update_association.py +196 -0
- capo_devops_agent/_operations/dev_ops_agent/update_backlog_task.py +190 -0
- capo_devops_agent/_operations/dev_ops_agent/update_goal.py +192 -0
- capo_devops_agent/_operations/dev_ops_agent/update_operator_app_idp_config.py +188 -0
- capo_devops_agent/_operations/dev_ops_agent/update_private_connection_certificate.py +190 -0
- capo_devops_agent/_operations/dev_ops_agent/update_recommendation.py +195 -0
- capo_devops_agent/_operations/dev_ops_agent/validate_aws_associations.py +180 -0
- capo_devops_agent/_pagination.py +21 -0
- capo_devops_agent/_protocol/__init__.py +1 -0
- capo_devops_agent/_protocol/errors.py +93 -0
- capo_devops_agent/_protocol/eventstream.py +238 -0
- capo_devops_agent/_protocol/serialize.py +47 -0
- capo_devops_agent/_protocol/xml.py +33 -0
- capo_devops_agent/_resources/dev_ops_agent/agent_space_resource.py +1149 -0
- capo_devops_agent/_resources/dev_ops_agent/private_connection_resource.py +567 -0
- capo_devops_agent/_resources/dev_ops_agent/service_resource.py +552 -0
- capo_devops_agent/_rule_engine/__init__.py +0 -0
- capo_devops_agent/_rule_engine/_aws_partition.py +160 -0
- capo_devops_agent/_rule_engine/_endpoint_rule_set.py +65 -0
- capo_devops_agent/_rule_engine/_endpoint_runtime.py +389 -0
- capo_devops_agent/_services/_aws_config.py +156 -0
- capo_devops_agent/_services/_pipeline.py +196 -0
- capo_devops_agent/_services/async_dev_ops_agent.py +2498 -0
- capo_devops_agent/_services/dev_ops_agent.py +2466 -0
- capo_devops_agent/errors/__init__.py +45 -0
- capo_devops_agent/errors/_base.py +94 -0
- capo_devops_agent/errors/access_denied_exception.py +48 -0
- capo_devops_agent/errors/conflict_exception.py +46 -0
- capo_devops_agent/errors/content_size_exceeded_exception.py +47 -0
- capo_devops_agent/errors/identity_center_service_exception.py +56 -0
- capo_devops_agent/errors/internal_server_exception.py +47 -0
- capo_devops_agent/errors/invalid_parameter_exception.py +48 -0
- capo_devops_agent/errors/resource_not_found_exception.py +48 -0
- capo_devops_agent/errors/service_quota_exceeded_exception.py +50 -0
- capo_devops_agent/errors/throttling_exception.py +46 -0
- capo_devops_agent/errors/validation_exception.py +71 -0
- capo_devops_agent/py.typed +0 -0
- capo_devops_agent/types/_prelude/blob.py +12 -0
- capo_devops_agent/types/_prelude/timestamp.py +17 -0
- capo_devops_agent/types/additional_service_details.py +312 -0
- capo_devops_agent/types/additional_service_registration_step.py +48 -0
- capo_devops_agent/types/agent_space.py +92 -0
- capo_devops_agent/types/agent_space_id.py +6 -0
- capo_devops_agent/types/agent_space_list.py +29 -0
- capo_devops_agent/types/agent_space_name.py +6 -0
- capo_devops_agent/types/api_key_value.py +6 -0
- capo_devops_agent/types/asset.py +85 -0
- capo_devops_agent/types/asset_content.py +65 -0
- capo_devops_agent/types/asset_file.py +92 -0
- capo_devops_agent/types/asset_file_body.py +53 -0
- capo_devops_agent/types/asset_file_bytes.py +16 -0
- capo_devops_agent/types/asset_file_content.py +51 -0
- capo_devops_agent/types/asset_file_path.py +6 -0
- capo_devops_agent/types/asset_file_summary.py +76 -0
- capo_devops_agent/types/asset_file_summary_list.py +31 -0
- capo_devops_agent/types/asset_file_text.py +6 -0
- capo_devops_agent/types/asset_id_list.py +14 -0
- capo_devops_agent/types/asset_list.py +29 -0
- capo_devops_agent/types/asset_type.py +6 -0
- capo_devops_agent/types/asset_type_list.py +31 -0
- capo_devops_agent/types/asset_type_summary.py +38 -0
- capo_devops_agent/types/asset_version_metadata.py +61 -0
- capo_devops_agent/types/asset_version_metadata_list.py +33 -0
- capo_devops_agent/types/asset_zip_bytes.py +16 -0
- capo_devops_agent/types/asset_zip_content.py +39 -0
- capo_devops_agent/types/assistant_message.py +33 -0
- capo_devops_agent/types/assistant_message_block.py +39 -0
- capo_devops_agent/types/associate_service_input.py +52 -0
- capo_devops_agent/types/associate_service_output.py +53 -0
- capo_devops_agent/types/association.py +112 -0
- capo_devops_agent/types/association_id.py +6 -0
- capo_devops_agent/types/associations_list.py +29 -0
- capo_devops_agent/types/auth_flow.py +19 -0
- capo_devops_agent/types/aws_configuration.py +56 -0
- capo_devops_agent/types/azure_configuration.py +26 -0
- capo_devops_agent/types/azure_dev_ops_configuration.py +42 -0
- capo_devops_agent/types/back_log_timestamp.py +21 -0
- capo_devops_agent/types/backlog_task_description.py +6 -0
- capo_devops_agent/types/backlog_task_title.py +6 -0
- capo_devops_agent/types/certificate_string.py +6 -0
- capo_devops_agent/types/chat_execution.py +68 -0
- capo_devops_agent/types/chat_execution_id.py +6 -0
- capo_devops_agent/types/chat_execution_list.py +31 -0
- capo_devops_agent/types/client_id.py +6 -0
- capo_devops_agent/types/client_secret.py +6 -0
- capo_devops_agent/types/create_agent_space_input.py +69 -0
- capo_devops_agent/types/create_agent_space_output.py +49 -0
- capo_devops_agent/types/create_asset_file_request.py +60 -0
- capo_devops_agent/types/create_asset_file_response.py +35 -0
- capo_devops_agent/types/create_asset_request.py +62 -0
- capo_devops_agent/types/create_asset_response.py +35 -0
- capo_devops_agent/types/create_backlog_task_request.py +94 -0
- capo_devops_agent/types/create_backlog_task_response.py +35 -0
- capo_devops_agent/types/create_chat_request.py +29 -0
- capo_devops_agent/types/create_chat_response.py +48 -0
- capo_devops_agent/types/create_private_connection_input.py +58 -0
- capo_devops_agent/types/create_private_connection_output.py +158 -0
- capo_devops_agent/types/custom_header_name.py +6 -0
- capo_devops_agent/types/custom_header_value.py +6 -0
- capo_devops_agent/types/custom_headers.py +29 -0
- capo_devops_agent/types/datadog_authorization_config.py +48 -0
- capo_devops_agent/types/datadog_service_details.py +68 -0
- capo_devops_agent/types/date_time.py +20 -0
- capo_devops_agent/types/delete_agent_space_input.py +24 -0
- capo_devops_agent/types/delete_agent_space_output.py +18 -0
- capo_devops_agent/types/delete_asset_file_request.py +30 -0
- capo_devops_agent/types/delete_asset_file_response.py +18 -0
- capo_devops_agent/types/delete_asset_request.py +27 -0
- capo_devops_agent/types/delete_asset_response.py +18 -0
- capo_devops_agent/types/delete_private_connection_input.py +24 -0
- capo_devops_agent/types/delete_private_connection_output.py +49 -0
- capo_devops_agent/types/deregister_service_input.py +24 -0
- capo_devops_agent/types/deregister_service_output.py +18 -0
- capo_devops_agent/types/describe_private_connection_input.py +24 -0
- capo_devops_agent/types/describe_private_connection_output.py +158 -0
- capo_devops_agent/types/description.py +6 -0
- capo_devops_agent/types/disable_operator_app_input.py +27 -0
- capo_devops_agent/types/disassociate_service_input.py +27 -0
- capo_devops_agent/types/disassociate_service_output.py +18 -0
- capo_devops_agent/types/document_list.py +14 -0
- capo_devops_agent/types/dynatrace_configuration.py +51 -0
- capo_devops_agent/types/dynatrace_o_auth_client_credentials_config.py +70 -0
- capo_devops_agent/types/dynatrace_resource_list.py +14 -0
- capo_devops_agent/types/dynatrace_service_authorization_config.py +52 -0
- capo_devops_agent/types/dynatrace_service_details.py +51 -0
- capo_devops_agent/types/email_address.py +6 -0
- capo_devops_agent/types/enable_operator_app_input.py +86 -0
- capo_devops_agent/types/enable_operator_app_output.py +88 -0
- capo_devops_agent/types/event_channel_configuration.py +18 -0
- capo_devops_agent/types/event_channel_details.py +36 -0
- capo_devops_agent/types/event_channel_type.py +15 -0
- capo_devops_agent/types/exchange_parameter_value.py +6 -0
- capo_devops_agent/types/exchange_parameters.py +27 -0
- capo_devops_agent/types/execution.py +111 -0
- capo_devops_agent/types/execution_list.py +29 -0
- capo_devops_agent/types/execution_status.py +21 -0
- capo_devops_agent/types/failure_message.py +6 -0
- capo_devops_agent/types/generic_webhook.py +62 -0
- capo_devops_agent/types/get_account_usage_input.py +18 -0
- capo_devops_agent/types/get_account_usage_output.py +143 -0
- capo_devops_agent/types/get_agent_space_input.py +24 -0
- capo_devops_agent/types/get_agent_space_output.py +49 -0
- capo_devops_agent/types/get_asset_content_request.py +29 -0
- capo_devops_agent/types/get_asset_content_response.py +46 -0
- capo_devops_agent/types/get_asset_file_request.py +32 -0
- capo_devops_agent/types/get_asset_file_response.py +35 -0
- capo_devops_agent/types/get_asset_request.py +29 -0
- capo_devops_agent/types/get_asset_response.py +35 -0
- capo_devops_agent/types/get_association_input.py +27 -0
- capo_devops_agent/types/get_association_output.py +38 -0
- capo_devops_agent/types/get_backlog_task_request.py +27 -0
- capo_devops_agent/types/get_backlog_task_response.py +35 -0
- capo_devops_agent/types/get_operator_app_input.py +24 -0
- capo_devops_agent/types/get_operator_app_output.py +78 -0
- capo_devops_agent/types/get_recommendation_request.py +29 -0
- capo_devops_agent/types/get_recommendation_response.py +39 -0
- capo_devops_agent/types/get_service_input.py +24 -0
- capo_devops_agent/types/get_service_output.py +49 -0
- capo_devops_agent/types/git_hub_configuration.py +67 -0
- capo_devops_agent/types/git_lab_configuration.py +39 -0
- capo_devops_agent/types/git_lab_details.py +60 -0
- capo_devops_agent/types/git_lab_token_type.py +18 -0
- capo_devops_agent/types/github_repo_owner_type.py +18 -0
- capo_devops_agent/types/goal.py +181 -0
- capo_devops_agent/types/goal_content.py +33 -0
- capo_devops_agent/types/goal_list.py +29 -0
- capo_devops_agent/types/goal_schedule.py +45 -0
- capo_devops_agent/types/goal_schedule_input.py +39 -0
- capo_devops_agent/types/goal_status.py +19 -0
- capo_devops_agent/types/goal_type.py +18 -0
- capo_devops_agent/types/grafana_service_details.py +68 -0
- capo_devops_agent/types/guid.py +6 -0
- capo_devops_agent/types/iam_auth_configuration.py +62 -0
- capo_devops_agent/types/idc_auth_configuration.py +75 -0
- capo_devops_agent/types/idp_auth_configuration.py +83 -0
- capo_devops_agent/types/idp_client_id.py +6 -0
- capo_devops_agent/types/idp_client_secret.py +6 -0
- capo_devops_agent/types/ip_address_or_dns_name.py +6 -0
- capo_devops_agent/types/ip_address_type.py +19 -0
- capo_devops_agent/types/journal_record.py +89 -0
- capo_devops_agent/types/journal_record_list.py +31 -0
- capo_devops_agent/types/journal_timestamp.py +21 -0
- capo_devops_agent/types/kms_key_arn.py +6 -0
- capo_devops_agent/types/list_agent_spaces_input.py +26 -0
- capo_devops_agent/types/list_agent_spaces_output.py +46 -0
- capo_devops_agent/types/list_asset_files_request.py +34 -0
- capo_devops_agent/types/list_asset_files_response.py +46 -0
- capo_devops_agent/types/list_asset_types_request.py +26 -0
- capo_devops_agent/types/list_asset_types_response.py +46 -0
- capo_devops_agent/types/list_asset_versions_request.py +32 -0
- capo_devops_agent/types/list_asset_versions_response.py +50 -0
- capo_devops_agent/types/list_assets_request.py +38 -0
- capo_devops_agent/types/list_assets_response.py +44 -0
- capo_devops_agent/types/list_associations_input.py +31 -0
- capo_devops_agent/types/list_associations_output.py +48 -0
- capo_devops_agent/types/list_backlog_tasks_request.py +84 -0
- capo_devops_agent/types/list_backlog_tasks_response.py +41 -0
- capo_devops_agent/types/list_chats_request.py +30 -0
- capo_devops_agent/types/list_chats_response.py +47 -0
- capo_devops_agent/types/list_executions_request.py +47 -0
- capo_devops_agent/types/list_executions_response.py +45 -0
- capo_devops_agent/types/list_goals_request.py +68 -0
- capo_devops_agent/types/list_goals_response.py +41 -0
- capo_devops_agent/types/list_journal_records_request.py +71 -0
- capo_devops_agent/types/list_journal_records_response.py +45 -0
- capo_devops_agent/types/list_of_security_group_ids.py +19 -0
- capo_devops_agent/types/list_of_subnet_ids.py +17 -0
- capo_devops_agent/types/list_pending_messages_request.py +33 -0
- capo_devops_agent/types/list_pending_messages_response.py +72 -0
- capo_devops_agent/types/list_private_connections_input.py +18 -0
- capo_devops_agent/types/list_private_connections_output.py +45 -0
- capo_devops_agent/types/list_recommendations_request.py +89 -0
- capo_devops_agent/types/list_recommendations_response.py +49 -0
- capo_devops_agent/types/list_services_input.py +29 -0
- capo_devops_agent/types/list_services_output.py +47 -0
- capo_devops_agent/types/list_tags_for_resource_request.py +19 -0
- capo_devops_agent/types/list_tags_for_resource_response.py +35 -0
- capo_devops_agent/types/list_webhooks_input.py +27 -0
- capo_devops_agent/types/list_webhooks_output.py +39 -0
- capo_devops_agent/types/locale.py +6 -0
- capo_devops_agent/types/max_ipv4_addresses_per_eni.py +6 -0
- capo_devops_agent/types/mcp_server_api_key_config.py +45 -0
- capo_devops_agent/types/mcp_server_authorization_config.py +138 -0
- capo_devops_agent/types/mcp_server_authorization_discovery_config.py +28 -0
- capo_devops_agent/types/mcp_server_authorization_method.py +20 -0
- capo_devops_agent/types/mcp_server_bearer_token_config.py +45 -0
- capo_devops_agent/types/mcp_server_configuration.py +37 -0
- capo_devops_agent/types/mcp_server_datadog_configuration.py +18 -0
- capo_devops_agent/types/mcp_server_details.py +66 -0
- capo_devops_agent/types/mcp_server_endpoint.py +6 -0
- capo_devops_agent/types/mcp_server_grafana_configuration.py +51 -0
- capo_devops_agent/types/mcp_server_name.py +6 -0
- capo_devops_agent/types/mcp_server_new_relic_configuration.py +33 -0
- capo_devops_agent/types/mcp_server_o_auth3_lo_config.py +106 -0
- capo_devops_agent/types/mcp_server_o_auth_client_credentials_config.py +90 -0
- capo_devops_agent/types/mcp_server_sig_v4_authorization_config.py +67 -0
- capo_devops_agent/types/mcp_server_sig_v4_configuration.py +37 -0
- capo_devops_agent/types/mcp_server_sig_v4_service_details.py +68 -0
- capo_devops_agent/types/mcp_server_splunk_configuration.py +18 -0
- capo_devops_agent/types/mcp_tools_list.py +14 -0
- capo_devops_agent/types/message.py +65 -0
- capo_devops_agent/types/message_content.py +6 -0
- capo_devops_agent/types/monitor_account_type.py +15 -0
- capo_devops_agent/types/new_relic_alert_policy_ids.py +14 -0
- capo_devops_agent/types/new_relic_api_key_config.py +117 -0
- capo_devops_agent/types/new_relic_application_ids.py +14 -0
- capo_devops_agent/types/new_relic_entity_guids.py +14 -0
- capo_devops_agent/types/new_relic_region.py +18 -0
- capo_devops_agent/types/new_relic_service_authorization_config.py +50 -0
- capo_devops_agent/types/new_relic_service_details.py +45 -0
- capo_devops_agent/types/next_token.py +6 -0
- capo_devops_agent/types/o_auth_additional_step_details.py +28 -0
- capo_devops_agent/types/o_auth_scope.py +6 -0
- capo_devops_agent/types/operator_app_url.py +6 -0
- capo_devops_agent/types/order_type.py +18 -0
- capo_devops_agent/types/pager_duty_authorization_config.py +48 -0
- capo_devops_agent/types/pager_duty_configuration.py +49 -0
- capo_devops_agent/types/pager_duty_details.py +59 -0
- capo_devops_agent/types/pager_duty_o_auth_client_credentials_config.py +70 -0
- capo_devops_agent/types/pager_duty_scopes.py +14 -0
- capo_devops_agent/types/pager_duty_scopes_list.py +14 -0
- capo_devops_agent/types/pager_duty_services_list.py +14 -0
- capo_devops_agent/types/pending_message.py +44 -0
- capo_devops_agent/types/pending_messages.py +31 -0
- capo_devops_agent/types/port_range.py +6 -0
- capo_devops_agent/types/port_ranges.py +17 -0
- capo_devops_agent/types/post_register_service_supported_service.py +28 -0
- capo_devops_agent/types/priority.py +21 -0
- capo_devops_agent/types/priority_list.py +29 -0
- capo_devops_agent/types/private_connection_mode.py +67 -0
- capo_devops_agent/types/private_connection_name.py +6 -0
- capo_devops_agent/types/private_connection_status.py +21 -0
- capo_devops_agent/types/private_connection_summary.py +147 -0
- capo_devops_agent/types/private_connection_summary_list.py +35 -0
- capo_devops_agent/types/private_connection_type.py +18 -0
- capo_devops_agent/types/recommendation.py +181 -0
- capo_devops_agent/types/recommendation_content.py +32 -0
- capo_devops_agent/types/recommendation_list.py +31 -0
- capo_devops_agent/types/recommendation_priority.py +19 -0
- capo_devops_agent/types/recommendation_status.py +22 -0
- capo_devops_agent/types/reference_input.py +58 -0
- capo_devops_agent/types/reference_output.py +53 -0
- capo_devops_agent/types/register_service_input.py +101 -0
- capo_devops_agent/types/register_service_output.py +67 -0
- capo_devops_agent/types/registered_azure_dev_ops_service_details.py +28 -0
- capo_devops_agent/types/registered_azure_identity_details.py +70 -0
- capo_devops_agent/types/registered_git_lab_service_details.py +52 -0
- capo_devops_agent/types/registered_github_service_details.py +54 -0
- capo_devops_agent/types/registered_grafana_server_details.py +53 -0
- capo_devops_agent/types/registered_mcp_server_details.py +72 -0
- capo_devops_agent/types/registered_mcp_server_sig_v4_details.py +89 -0
- capo_devops_agent/types/registered_new_relic_details.py +53 -0
- capo_devops_agent/types/registered_pager_duty_details.py +39 -0
- capo_devops_agent/types/registered_service.py +112 -0
- capo_devops_agent/types/registered_service_now_details.py +30 -0
- capo_devops_agent/types/registered_services_list.py +31 -0
- capo_devops_agent/types/registered_slack_service_details.py +33 -0
- capo_devops_agent/types/resource_config_dns_resolution.py +18 -0
- capo_devops_agent/types/resource_configuration_arn.py +6 -0
- capo_devops_agent/types/resource_gateway_arn.py +6 -0
- capo_devops_agent/types/resource_id.py +6 -0
- capo_devops_agent/types/role_arn.py +6 -0
- capo_devops_agent/types/scheduler_state.py +18 -0
- capo_devops_agent/types/scopes.py +17 -0
- capo_devops_agent/types/security_group_id.py +6 -0
- capo_devops_agent/types/self_managed_input.py +44 -0
- capo_devops_agent/types/send_message_content_block_delta.py +69 -0
- capo_devops_agent/types/send_message_content_block_delta_event.py +69 -0
- capo_devops_agent/types/send_message_content_block_start_event.py +62 -0
- capo_devops_agent/types/send_message_content_block_stop_event.py +62 -0
- capo_devops_agent/types/send_message_context.py +35 -0
- capo_devops_agent/types/send_message_events.py +218 -0
- capo_devops_agent/types/send_message_heartbeat_event.py +33 -0
- capo_devops_agent/types/send_message_json_delta.py +23 -0
- capo_devops_agent/types/send_message_request.py +81 -0
- capo_devops_agent/types/send_message_response.py +13 -0
- capo_devops_agent/types/send_message_response_completed_event.py +65 -0
- capo_devops_agent/types/send_message_response_created_event.py +44 -0
- capo_devops_agent/types/send_message_response_failed_event.py +56 -0
- capo_devops_agent/types/send_message_response_in_progress_event.py +44 -0
- capo_devops_agent/types/send_message_summary_event.py +44 -0
- capo_devops_agent/types/send_message_text_delta.py +23 -0
- capo_devops_agent/types/send_message_usage_info.py +35 -0
- capo_devops_agent/types/service.py +32 -0
- capo_devops_agent/types/service_configuration.py +404 -0
- capo_devops_agent/types/service_details.py +297 -0
- capo_devops_agent/types/service_id.py +6 -0
- capo_devops_agent/types/service_managed_input.py +149 -0
- capo_devops_agent/types/service_name.py +6 -0
- capo_devops_agent/types/service_now_authentication_scope_list.py +14 -0
- capo_devops_agent/types/service_now_configuration.py +48 -0
- capo_devops_agent/types/service_now_instance_url.py +6 -0
- capo_devops_agent/types/service_now_o_auth_client_credentials_config.py +70 -0
- capo_devops_agent/types/service_now_service_authorization_config.py +52 -0
- capo_devops_agent/types/service_now_service_details.py +54 -0
- capo_devops_agent/types/sig_v4_region.py +6 -0
- capo_devops_agent/types/slack_channel.py +32 -0
- capo_devops_agent/types/slack_configuration.py +59 -0
- capo_devops_agent/types/slack_transmission_target.py +55 -0
- capo_devops_agent/types/source_account_type.py +15 -0
- capo_devops_agent/types/source_aws_configuration.py +62 -0
- capo_devops_agent/types/subnet_id.py +6 -0
- capo_devops_agent/types/tag_key.py +6 -0
- capo_devops_agent/types/tag_key_list.py +17 -0
- capo_devops_agent/types/tag_resource_request.py +37 -0
- capo_devops_agent/types/tag_resource_response.py +18 -0
- capo_devops_agent/types/tag_value.py +6 -0
- capo_devops_agent/types/tags.py +29 -0
- capo_devops_agent/types/task.py +184 -0
- capo_devops_agent/types/task_filter.py +112 -0
- capo_devops_agent/types/task_list.py +29 -0
- capo_devops_agent/types/task_sort_field.py +18 -0
- capo_devops_agent/types/task_sort_order.py +18 -0
- capo_devops_agent/types/task_status.py +26 -0
- capo_devops_agent/types/task_status_list.py +29 -0
- capo_devops_agent/types/task_type.py +18 -0
- capo_devops_agent/types/task_type_list.py +29 -0
- capo_devops_agent/types/token_value.py +6 -0
- capo_devops_agent/types/untag_resource_request.py +26 -0
- capo_devops_agent/types/untag_resource_response.py +18 -0
- capo_devops_agent/types/update_agent_space_input.py +45 -0
- capo_devops_agent/types/update_agent_space_output.py +38 -0
- capo_devops_agent/types/update_asset_file_request.py +57 -0
- capo_devops_agent/types/update_asset_file_response.py +35 -0
- capo_devops_agent/types/update_asset_request.py +54 -0
- capo_devops_agent/types/update_asset_response.py +35 -0
- capo_devops_agent/types/update_association_input.py +47 -0
- capo_devops_agent/types/update_association_output.py +53 -0
- capo_devops_agent/types/update_backlog_task_request.py +48 -0
- capo_devops_agent/types/update_backlog_task_response.py +35 -0
- capo_devops_agent/types/update_goal_request.py +53 -0
- capo_devops_agent/types/update_goal_response.py +35 -0
- capo_devops_agent/types/update_operator_app_idp_config_input.py +33 -0
- capo_devops_agent/types/update_operator_app_idp_config_output.py +48 -0
- capo_devops_agent/types/update_private_connection_certificate_input.py +36 -0
- capo_devops_agent/types/update_private_connection_certificate_output.py +153 -0
- capo_devops_agent/types/update_recommendation_request.py +56 -0
- capo_devops_agent/types/update_recommendation_response.py +41 -0
- capo_devops_agent/types/usage_metric.py +41 -0
- capo_devops_agent/types/user_message.py +31 -0
- capo_devops_agent/types/user_message_block.py +37 -0
- capo_devops_agent/types/user_reference.py +46 -0
- capo_devops_agent/types/user_type.py +19 -0
- capo_devops_agent/types/validate_aws_associations_input.py +24 -0
- capo_devops_agent/types/validate_aws_associations_output.py +18 -0
- capo_devops_agent/types/validation_exception_field.py +33 -0
- capo_devops_agent/types/validation_exception_field_list.py +35 -0
- capo_devops_agent/types/validation_status.py +19 -0
- capo_devops_agent/types/vpc_id.py +6 -0
- capo_devops_agent/types/web_identity_token_audience_list.py +14 -0
- capo_devops_agent/types/webhook.py +52 -0
- capo_devops_agent/types/webhook_secret.py +6 -0
- capo_devops_agent/types/webhook_type.py +20 -0
- capo_devops_agent/types/webhooks_list.py +29 -0
- capo_devops_agent-0.1.0.dist-info/METADATA +101 -0
- capo_devops_agent-0.1.0.dist-info/RECORD +457 -0
- capo_devops_agent-0.1.0.dist-info/WHEEL +5 -0
- capo_devops_agent-0.1.0.dist-info/licenses/LICENSE +21 -0
- capo_devops_agent-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,567 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Optional
|
|
4
|
+
|
|
5
|
+
import capo_devops_agent._auth._signers
|
|
6
|
+
import capo_devops_agent._auth._sigv4
|
|
7
|
+
from capo_devops_agent._services._pipeline import (
|
|
8
|
+
AsyncOperationRequest,
|
|
9
|
+
AsyncOperationResponse,
|
|
10
|
+
OperationRequest,
|
|
11
|
+
OperationResponse,
|
|
12
|
+
aexecute_pipeline,
|
|
13
|
+
execute_pipeline,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
if TYPE_CHECKING:
|
|
17
|
+
import capo_devops_agent.types.certificate_string
|
|
18
|
+
import capo_devops_agent.types.create_private_connection_input
|
|
19
|
+
import capo_devops_agent.types.create_private_connection_output
|
|
20
|
+
import capo_devops_agent.types.delete_private_connection_input
|
|
21
|
+
import capo_devops_agent.types.delete_private_connection_output
|
|
22
|
+
import capo_devops_agent.types.describe_private_connection_input
|
|
23
|
+
import capo_devops_agent.types.describe_private_connection_output
|
|
24
|
+
import capo_devops_agent.types.list_private_connections_input
|
|
25
|
+
import capo_devops_agent.types.list_private_connections_output
|
|
26
|
+
import capo_devops_agent.types.private_connection_mode
|
|
27
|
+
import capo_devops_agent.types.private_connection_name
|
|
28
|
+
import capo_devops_agent.types.tags
|
|
29
|
+
import capo_devops_agent.types.update_private_connection_certificate_input
|
|
30
|
+
import capo_devops_agent.types.update_private_connection_certificate_output
|
|
31
|
+
from capo_devops_agent._services.async_dev_ops_agent import (
|
|
32
|
+
AsyncDevOpsAgentClient,
|
|
33
|
+
AsyncDevOpsAgentClientConfig,
|
|
34
|
+
)
|
|
35
|
+
from capo_devops_agent._services.dev_ops_agent import (
|
|
36
|
+
DevOpsAgentClient,
|
|
37
|
+
DevOpsAgentClientConfig,
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class PrivateConnectionResource:
|
|
42
|
+
def __init__(self, service: DevOpsAgentClient) -> None:
|
|
43
|
+
self._service = service
|
|
44
|
+
|
|
45
|
+
def put(
|
|
46
|
+
self,
|
|
47
|
+
name: "capo_devops_agent.types.private_connection_name.PrivateConnectionName",
|
|
48
|
+
mode: "capo_devops_agent.types.private_connection_mode.PrivateConnectionMode",
|
|
49
|
+
*,
|
|
50
|
+
config_overrides: Optional[DevOpsAgentClientConfig] = None,
|
|
51
|
+
tags: Optional["capo_devops_agent.types.tags.Tags"] = None,
|
|
52
|
+
) -> "capo_devops_agent.types.create_private_connection_output.CreatePrivateConnectionOutput":
|
|
53
|
+
"""<p>Creates a Private Connection to a target resource.</p>
|
|
54
|
+
|
|
55
|
+
Args:
|
|
56
|
+
name: <p>Unique name for this Private Connection within the account.</p>
|
|
57
|
+
mode: <p>Private Connection mode configuration.</p>
|
|
58
|
+
tags: <p>Tags to add to the Private Connection at creation time.</p>
|
|
59
|
+
|
|
60
|
+
Raises:
|
|
61
|
+
capo_devops_agent.errors.access_denied_exception.AccessDeniedException: <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
62
|
+
capo_devops_agent.errors.conflict_exception.ConflictException: <p>The request conflicts with the current state of the resource.</p>
|
|
63
|
+
capo_devops_agent.errors.content_size_exceeded_exception.ContentSizeExceededException: <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
64
|
+
capo_devops_agent.errors.internal_server_exception.InternalServerException: <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
65
|
+
capo_devops_agent.errors.invalid_parameter_exception.InvalidParameterException: <p>One or more parameters provided in the request are invalid.</p>
|
|
66
|
+
capo_devops_agent.errors.resource_not_found_exception.ResourceNotFoundException: <p>The requested resource could not be found.</p>
|
|
67
|
+
capo_devops_agent.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p>The request would exceed the service quota limit.</p>
|
|
68
|
+
capo_devops_agent.errors.throttling_exception.ThrottlingException: <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
69
|
+
capo_devops_agent.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
70
|
+
capo_devops_agent.errors.UnknownServiceError: The service returned an error code this client does not model.
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
def _handler(
|
|
74
|
+
req: "OperationRequest[capo_devops_agent.types.create_private_connection_input.CreatePrivateConnectionInput]",
|
|
75
|
+
) -> OperationResponse[
|
|
76
|
+
"capo_devops_agent.types.create_private_connection_output.CreatePrivateConnectionOutput"
|
|
77
|
+
]:
|
|
78
|
+
import capo_devops_agent._operations.dev_ops_agent.create_private_connection
|
|
79
|
+
|
|
80
|
+
output, http_response = (
|
|
81
|
+
capo_devops_agent._operations.dev_ops_agent.create_private_connection.create_private_connection(
|
|
82
|
+
req.options, req.input
|
|
83
|
+
)
|
|
84
|
+
)
|
|
85
|
+
return OperationResponse(output=output, response=http_response)
|
|
86
|
+
|
|
87
|
+
interceptors_, options_ = self._service.operation_options(config_overrides)
|
|
88
|
+
input_: capo_devops_agent.types.create_private_connection_input.CreatePrivateConnectionInput = {
|
|
89
|
+
"name": name,
|
|
90
|
+
"mode": mode,
|
|
91
|
+
}
|
|
92
|
+
if tags is not None:
|
|
93
|
+
input_["tags"] = tags
|
|
94
|
+
|
|
95
|
+
response = execute_pipeline(
|
|
96
|
+
OperationRequest(input=input_, options=options_),
|
|
97
|
+
handler=_handler,
|
|
98
|
+
interceptors=list(interceptors_),
|
|
99
|
+
)
|
|
100
|
+
response.response.close()
|
|
101
|
+
return response.output
|
|
102
|
+
|
|
103
|
+
def read(
|
|
104
|
+
self,
|
|
105
|
+
name: "capo_devops_agent.types.private_connection_name.PrivateConnectionName",
|
|
106
|
+
*,
|
|
107
|
+
config_overrides: Optional[DevOpsAgentClientConfig] = None,
|
|
108
|
+
) -> "capo_devops_agent.types.describe_private_connection_output.DescribePrivateConnectionOutput":
|
|
109
|
+
"""<p>Retrieves details of an existing Private Connection.</p>
|
|
110
|
+
|
|
111
|
+
Args:
|
|
112
|
+
name: <p>The name of the Private Connection.</p>
|
|
113
|
+
|
|
114
|
+
Raises:
|
|
115
|
+
capo_devops_agent.errors.access_denied_exception.AccessDeniedException: <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
116
|
+
capo_devops_agent.errors.conflict_exception.ConflictException: <p>The request conflicts with the current state of the resource.</p>
|
|
117
|
+
capo_devops_agent.errors.content_size_exceeded_exception.ContentSizeExceededException: <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
118
|
+
capo_devops_agent.errors.internal_server_exception.InternalServerException: <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
119
|
+
capo_devops_agent.errors.invalid_parameter_exception.InvalidParameterException: <p>One or more parameters provided in the request are invalid.</p>
|
|
120
|
+
capo_devops_agent.errors.resource_not_found_exception.ResourceNotFoundException: <p>The requested resource could not be found.</p>
|
|
121
|
+
capo_devops_agent.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p>The request would exceed the service quota limit.</p>
|
|
122
|
+
capo_devops_agent.errors.throttling_exception.ThrottlingException: <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
123
|
+
capo_devops_agent.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
124
|
+
capo_devops_agent.errors.UnknownServiceError: The service returned an error code this client does not model.
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
def _handler(
|
|
128
|
+
req: "OperationRequest[capo_devops_agent.types.describe_private_connection_input.DescribePrivateConnectionInput]",
|
|
129
|
+
) -> OperationResponse[
|
|
130
|
+
"capo_devops_agent.types.describe_private_connection_output.DescribePrivateConnectionOutput"
|
|
131
|
+
]:
|
|
132
|
+
import capo_devops_agent._operations.dev_ops_agent.describe_private_connection
|
|
133
|
+
|
|
134
|
+
output, http_response = (
|
|
135
|
+
capo_devops_agent._operations.dev_ops_agent.describe_private_connection.describe_private_connection(
|
|
136
|
+
req.options, req.input
|
|
137
|
+
)
|
|
138
|
+
)
|
|
139
|
+
return OperationResponse(output=output, response=http_response)
|
|
140
|
+
|
|
141
|
+
interceptors_, options_ = self._service.operation_options(config_overrides)
|
|
142
|
+
input_: capo_devops_agent.types.describe_private_connection_input.DescribePrivateConnectionInput = {
|
|
143
|
+
"name": name
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
response = execute_pipeline(
|
|
147
|
+
OperationRequest(input=input_, options=options_),
|
|
148
|
+
handler=_handler,
|
|
149
|
+
interceptors=list(interceptors_),
|
|
150
|
+
)
|
|
151
|
+
response.response.close()
|
|
152
|
+
return response.output
|
|
153
|
+
|
|
154
|
+
def delete(
|
|
155
|
+
self,
|
|
156
|
+
name: "capo_devops_agent.types.private_connection_name.PrivateConnectionName",
|
|
157
|
+
*,
|
|
158
|
+
config_overrides: Optional[DevOpsAgentClientConfig] = None,
|
|
159
|
+
) -> "capo_devops_agent.types.delete_private_connection_output.DeletePrivateConnectionOutput":
|
|
160
|
+
"""<p>Deletes a Private Connection. The deletion is asynchronous and returns DELETE_IN_PROGRESS status.</p>
|
|
161
|
+
|
|
162
|
+
Args:
|
|
163
|
+
name: <p>The name of the Private Connection.</p>
|
|
164
|
+
|
|
165
|
+
Raises:
|
|
166
|
+
capo_devops_agent.errors.access_denied_exception.AccessDeniedException: <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
167
|
+
capo_devops_agent.errors.conflict_exception.ConflictException: <p>The request conflicts with the current state of the resource.</p>
|
|
168
|
+
capo_devops_agent.errors.content_size_exceeded_exception.ContentSizeExceededException: <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
169
|
+
capo_devops_agent.errors.internal_server_exception.InternalServerException: <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
170
|
+
capo_devops_agent.errors.invalid_parameter_exception.InvalidParameterException: <p>One or more parameters provided in the request are invalid.</p>
|
|
171
|
+
capo_devops_agent.errors.resource_not_found_exception.ResourceNotFoundException: <p>The requested resource could not be found.</p>
|
|
172
|
+
capo_devops_agent.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p>The request would exceed the service quota limit.</p>
|
|
173
|
+
capo_devops_agent.errors.throttling_exception.ThrottlingException: <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
174
|
+
capo_devops_agent.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
175
|
+
capo_devops_agent.errors.UnknownServiceError: The service returned an error code this client does not model.
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
def _handler(
|
|
179
|
+
req: "OperationRequest[capo_devops_agent.types.delete_private_connection_input.DeletePrivateConnectionInput]",
|
|
180
|
+
) -> OperationResponse[
|
|
181
|
+
"capo_devops_agent.types.delete_private_connection_output.DeletePrivateConnectionOutput"
|
|
182
|
+
]:
|
|
183
|
+
import capo_devops_agent._operations.dev_ops_agent.delete_private_connection
|
|
184
|
+
|
|
185
|
+
output, http_response = (
|
|
186
|
+
capo_devops_agent._operations.dev_ops_agent.delete_private_connection.delete_private_connection(
|
|
187
|
+
req.options, req.input
|
|
188
|
+
)
|
|
189
|
+
)
|
|
190
|
+
return OperationResponse(output=output, response=http_response)
|
|
191
|
+
|
|
192
|
+
interceptors_, options_ = self._service.operation_options(config_overrides)
|
|
193
|
+
input_: capo_devops_agent.types.delete_private_connection_input.DeletePrivateConnectionInput = {
|
|
194
|
+
"name": name
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
response = execute_pipeline(
|
|
198
|
+
OperationRequest(input=input_, options=options_),
|
|
199
|
+
handler=_handler,
|
|
200
|
+
interceptors=list(interceptors_),
|
|
201
|
+
)
|
|
202
|
+
response.response.close()
|
|
203
|
+
return response.output
|
|
204
|
+
|
|
205
|
+
def list(
|
|
206
|
+
self, *, config_overrides: Optional[DevOpsAgentClientConfig] = None
|
|
207
|
+
) -> "capo_devops_agent.types.list_private_connections_output.ListPrivateConnectionsOutput":
|
|
208
|
+
"""<p>Lists all Private Connections in the caller's account.</p>
|
|
209
|
+
|
|
210
|
+
Raises:
|
|
211
|
+
capo_devops_agent.errors.access_denied_exception.AccessDeniedException: <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
212
|
+
capo_devops_agent.errors.conflict_exception.ConflictException: <p>The request conflicts with the current state of the resource.</p>
|
|
213
|
+
capo_devops_agent.errors.content_size_exceeded_exception.ContentSizeExceededException: <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
214
|
+
capo_devops_agent.errors.internal_server_exception.InternalServerException: <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
215
|
+
capo_devops_agent.errors.invalid_parameter_exception.InvalidParameterException: <p>One or more parameters provided in the request are invalid.</p>
|
|
216
|
+
capo_devops_agent.errors.resource_not_found_exception.ResourceNotFoundException: <p>The requested resource could not be found.</p>
|
|
217
|
+
capo_devops_agent.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p>The request would exceed the service quota limit.</p>
|
|
218
|
+
capo_devops_agent.errors.throttling_exception.ThrottlingException: <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
219
|
+
capo_devops_agent.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
220
|
+
capo_devops_agent.errors.UnknownServiceError: The service returned an error code this client does not model.
|
|
221
|
+
"""
|
|
222
|
+
|
|
223
|
+
def _handler(
|
|
224
|
+
req: "OperationRequest[capo_devops_agent.types.list_private_connections_input.ListPrivateConnectionsInput]",
|
|
225
|
+
) -> OperationResponse[
|
|
226
|
+
"capo_devops_agent.types.list_private_connections_output.ListPrivateConnectionsOutput"
|
|
227
|
+
]:
|
|
228
|
+
import capo_devops_agent._operations.dev_ops_agent.list_private_connections
|
|
229
|
+
|
|
230
|
+
output, http_response = (
|
|
231
|
+
capo_devops_agent._operations.dev_ops_agent.list_private_connections.list_private_connections(
|
|
232
|
+
req.options, req.input
|
|
233
|
+
)
|
|
234
|
+
)
|
|
235
|
+
return OperationResponse(output=output, response=http_response)
|
|
236
|
+
|
|
237
|
+
interceptors_, options_ = self._service.operation_options(config_overrides)
|
|
238
|
+
input_: capo_devops_agent.types.list_private_connections_input.ListPrivateConnectionsInput = {}
|
|
239
|
+
|
|
240
|
+
response = execute_pipeline(
|
|
241
|
+
OperationRequest(input=input_, options=options_),
|
|
242
|
+
handler=_handler,
|
|
243
|
+
interceptors=list(interceptors_),
|
|
244
|
+
)
|
|
245
|
+
response.response.close()
|
|
246
|
+
return response.output
|
|
247
|
+
|
|
248
|
+
def update_private_connection_certificate(
|
|
249
|
+
self,
|
|
250
|
+
name: "capo_devops_agent.types.private_connection_name.PrivateConnectionName",
|
|
251
|
+
certificate: "capo_devops_agent.types.certificate_string.CertificateString",
|
|
252
|
+
*,
|
|
253
|
+
config_overrides: Optional[DevOpsAgentClientConfig] = None,
|
|
254
|
+
) -> "capo_devops_agent.types.update_private_connection_certificate_output.UpdatePrivateConnectionCertificateOutput":
|
|
255
|
+
"""<p>Updates the certificate associated with a Private Connection.</p>
|
|
256
|
+
|
|
257
|
+
Args:
|
|
258
|
+
name: <p>The name of the Private Connection.</p>
|
|
259
|
+
certificate: <p>The new certificate for the Private Connection.</p>
|
|
260
|
+
|
|
261
|
+
Raises:
|
|
262
|
+
capo_devops_agent.errors.access_denied_exception.AccessDeniedException: <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
263
|
+
capo_devops_agent.errors.conflict_exception.ConflictException: <p>The request conflicts with the current state of the resource.</p>
|
|
264
|
+
capo_devops_agent.errors.content_size_exceeded_exception.ContentSizeExceededException: <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
265
|
+
capo_devops_agent.errors.internal_server_exception.InternalServerException: <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
266
|
+
capo_devops_agent.errors.invalid_parameter_exception.InvalidParameterException: <p>One or more parameters provided in the request are invalid.</p>
|
|
267
|
+
capo_devops_agent.errors.resource_not_found_exception.ResourceNotFoundException: <p>The requested resource could not be found.</p>
|
|
268
|
+
capo_devops_agent.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p>The request would exceed the service quota limit.</p>
|
|
269
|
+
capo_devops_agent.errors.throttling_exception.ThrottlingException: <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
270
|
+
capo_devops_agent.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
271
|
+
capo_devops_agent.errors.UnknownServiceError: The service returned an error code this client does not model.
|
|
272
|
+
"""
|
|
273
|
+
|
|
274
|
+
def _handler(
|
|
275
|
+
req: "OperationRequest[capo_devops_agent.types.update_private_connection_certificate_input.UpdatePrivateConnectionCertificateInput]",
|
|
276
|
+
) -> OperationResponse[
|
|
277
|
+
"capo_devops_agent.types.update_private_connection_certificate_output.UpdatePrivateConnectionCertificateOutput"
|
|
278
|
+
]:
|
|
279
|
+
import capo_devops_agent._operations.dev_ops_agent.update_private_connection_certificate
|
|
280
|
+
|
|
281
|
+
output, http_response = (
|
|
282
|
+
capo_devops_agent._operations.dev_ops_agent.update_private_connection_certificate.update_private_connection_certificate(
|
|
283
|
+
req.options, req.input
|
|
284
|
+
)
|
|
285
|
+
)
|
|
286
|
+
return OperationResponse(output=output, response=http_response)
|
|
287
|
+
|
|
288
|
+
interceptors_, options_ = self._service.operation_options(config_overrides)
|
|
289
|
+
input_: capo_devops_agent.types.update_private_connection_certificate_input.UpdatePrivateConnectionCertificateInput = {
|
|
290
|
+
"name": name,
|
|
291
|
+
"certificate": certificate,
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
response = execute_pipeline(
|
|
295
|
+
OperationRequest(input=input_, options=options_),
|
|
296
|
+
handler=_handler,
|
|
297
|
+
interceptors=list(interceptors_),
|
|
298
|
+
)
|
|
299
|
+
response.response.close()
|
|
300
|
+
return response.output
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
class AsyncPrivateConnectionResource:
|
|
304
|
+
def __init__(self, service: AsyncDevOpsAgentClient) -> None:
|
|
305
|
+
self._service = service
|
|
306
|
+
|
|
307
|
+
async def put(
|
|
308
|
+
self,
|
|
309
|
+
name: "capo_devops_agent.types.private_connection_name.PrivateConnectionName",
|
|
310
|
+
mode: "capo_devops_agent.types.private_connection_mode.PrivateConnectionMode",
|
|
311
|
+
*,
|
|
312
|
+
config_overrides: Optional[AsyncDevOpsAgentClientConfig] = None,
|
|
313
|
+
tags: Optional["capo_devops_agent.types.tags.Tags"] = None,
|
|
314
|
+
) -> "capo_devops_agent.types.create_private_connection_output.CreatePrivateConnectionOutput":
|
|
315
|
+
"""<p>Creates a Private Connection to a target resource.</p>
|
|
316
|
+
|
|
317
|
+
Args:
|
|
318
|
+
name: <p>Unique name for this Private Connection within the account.</p>
|
|
319
|
+
mode: <p>Private Connection mode configuration.</p>
|
|
320
|
+
tags: <p>Tags to add to the Private Connection at creation time.</p>
|
|
321
|
+
|
|
322
|
+
Raises:
|
|
323
|
+
capo_devops_agent.errors.access_denied_exception.AccessDeniedException: <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
324
|
+
capo_devops_agent.errors.conflict_exception.ConflictException: <p>The request conflicts with the current state of the resource.</p>
|
|
325
|
+
capo_devops_agent.errors.content_size_exceeded_exception.ContentSizeExceededException: <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
326
|
+
capo_devops_agent.errors.internal_server_exception.InternalServerException: <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
327
|
+
capo_devops_agent.errors.invalid_parameter_exception.InvalidParameterException: <p>One or more parameters provided in the request are invalid.</p>
|
|
328
|
+
capo_devops_agent.errors.resource_not_found_exception.ResourceNotFoundException: <p>The requested resource could not be found.</p>
|
|
329
|
+
capo_devops_agent.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p>The request would exceed the service quota limit.</p>
|
|
330
|
+
capo_devops_agent.errors.throttling_exception.ThrottlingException: <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
331
|
+
capo_devops_agent.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
332
|
+
capo_devops_agent.errors.UnknownServiceError: The service returned an error code this client does not model.
|
|
333
|
+
"""
|
|
334
|
+
|
|
335
|
+
async def _handler(
|
|
336
|
+
req: "AsyncOperationRequest[capo_devops_agent.types.create_private_connection_input.CreatePrivateConnectionInput]",
|
|
337
|
+
) -> AsyncOperationResponse[
|
|
338
|
+
"capo_devops_agent.types.create_private_connection_output.CreatePrivateConnectionOutput"
|
|
339
|
+
]:
|
|
340
|
+
import capo_devops_agent._operations.dev_ops_agent.create_private_connection
|
|
341
|
+
|
|
342
|
+
(
|
|
343
|
+
output,
|
|
344
|
+
http_response,
|
|
345
|
+
) = await capo_devops_agent._operations.dev_ops_agent.create_private_connection.async_create_private_connection(
|
|
346
|
+
req.options, req.input
|
|
347
|
+
)
|
|
348
|
+
return AsyncOperationResponse(output=output, response=http_response)
|
|
349
|
+
|
|
350
|
+
interceptors_, options_ = self._service.operation_options(config_overrides)
|
|
351
|
+
input_: capo_devops_agent.types.create_private_connection_input.CreatePrivateConnectionInput = {
|
|
352
|
+
"name": name,
|
|
353
|
+
"mode": mode,
|
|
354
|
+
}
|
|
355
|
+
if tags is not None:
|
|
356
|
+
input_["tags"] = tags
|
|
357
|
+
|
|
358
|
+
response = await aexecute_pipeline(
|
|
359
|
+
AsyncOperationRequest(input=input_, options=options_),
|
|
360
|
+
handler=_handler,
|
|
361
|
+
interceptors=list(interceptors_),
|
|
362
|
+
)
|
|
363
|
+
await response.response.aclose()
|
|
364
|
+
return response.output
|
|
365
|
+
|
|
366
|
+
async def read(
|
|
367
|
+
self,
|
|
368
|
+
name: "capo_devops_agent.types.private_connection_name.PrivateConnectionName",
|
|
369
|
+
*,
|
|
370
|
+
config_overrides: Optional[AsyncDevOpsAgentClientConfig] = None,
|
|
371
|
+
) -> "capo_devops_agent.types.describe_private_connection_output.DescribePrivateConnectionOutput":
|
|
372
|
+
"""<p>Retrieves details of an existing Private Connection.</p>
|
|
373
|
+
|
|
374
|
+
Args:
|
|
375
|
+
name: <p>The name of the Private Connection.</p>
|
|
376
|
+
|
|
377
|
+
Raises:
|
|
378
|
+
capo_devops_agent.errors.access_denied_exception.AccessDeniedException: <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
379
|
+
capo_devops_agent.errors.conflict_exception.ConflictException: <p>The request conflicts with the current state of the resource.</p>
|
|
380
|
+
capo_devops_agent.errors.content_size_exceeded_exception.ContentSizeExceededException: <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
381
|
+
capo_devops_agent.errors.internal_server_exception.InternalServerException: <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
382
|
+
capo_devops_agent.errors.invalid_parameter_exception.InvalidParameterException: <p>One or more parameters provided in the request are invalid.</p>
|
|
383
|
+
capo_devops_agent.errors.resource_not_found_exception.ResourceNotFoundException: <p>The requested resource could not be found.</p>
|
|
384
|
+
capo_devops_agent.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p>The request would exceed the service quota limit.</p>
|
|
385
|
+
capo_devops_agent.errors.throttling_exception.ThrottlingException: <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
386
|
+
capo_devops_agent.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
387
|
+
capo_devops_agent.errors.UnknownServiceError: The service returned an error code this client does not model.
|
|
388
|
+
"""
|
|
389
|
+
|
|
390
|
+
async def _handler(
|
|
391
|
+
req: "AsyncOperationRequest[capo_devops_agent.types.describe_private_connection_input.DescribePrivateConnectionInput]",
|
|
392
|
+
) -> AsyncOperationResponse[
|
|
393
|
+
"capo_devops_agent.types.describe_private_connection_output.DescribePrivateConnectionOutput"
|
|
394
|
+
]:
|
|
395
|
+
import capo_devops_agent._operations.dev_ops_agent.describe_private_connection
|
|
396
|
+
|
|
397
|
+
(
|
|
398
|
+
output,
|
|
399
|
+
http_response,
|
|
400
|
+
) = await capo_devops_agent._operations.dev_ops_agent.describe_private_connection.async_describe_private_connection(
|
|
401
|
+
req.options, req.input
|
|
402
|
+
)
|
|
403
|
+
return AsyncOperationResponse(output=output, response=http_response)
|
|
404
|
+
|
|
405
|
+
interceptors_, options_ = self._service.operation_options(config_overrides)
|
|
406
|
+
input_: capo_devops_agent.types.describe_private_connection_input.DescribePrivateConnectionInput = {
|
|
407
|
+
"name": name
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
response = await aexecute_pipeline(
|
|
411
|
+
AsyncOperationRequest(input=input_, options=options_),
|
|
412
|
+
handler=_handler,
|
|
413
|
+
interceptors=list(interceptors_),
|
|
414
|
+
)
|
|
415
|
+
await response.response.aclose()
|
|
416
|
+
return response.output
|
|
417
|
+
|
|
418
|
+
async def delete(
|
|
419
|
+
self,
|
|
420
|
+
name: "capo_devops_agent.types.private_connection_name.PrivateConnectionName",
|
|
421
|
+
*,
|
|
422
|
+
config_overrides: Optional[AsyncDevOpsAgentClientConfig] = None,
|
|
423
|
+
) -> "capo_devops_agent.types.delete_private_connection_output.DeletePrivateConnectionOutput":
|
|
424
|
+
"""<p>Deletes a Private Connection. The deletion is asynchronous and returns DELETE_IN_PROGRESS status.</p>
|
|
425
|
+
|
|
426
|
+
Args:
|
|
427
|
+
name: <p>The name of the Private Connection.</p>
|
|
428
|
+
|
|
429
|
+
Raises:
|
|
430
|
+
capo_devops_agent.errors.access_denied_exception.AccessDeniedException: <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
431
|
+
capo_devops_agent.errors.conflict_exception.ConflictException: <p>The request conflicts with the current state of the resource.</p>
|
|
432
|
+
capo_devops_agent.errors.content_size_exceeded_exception.ContentSizeExceededException: <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
433
|
+
capo_devops_agent.errors.internal_server_exception.InternalServerException: <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
434
|
+
capo_devops_agent.errors.invalid_parameter_exception.InvalidParameterException: <p>One or more parameters provided in the request are invalid.</p>
|
|
435
|
+
capo_devops_agent.errors.resource_not_found_exception.ResourceNotFoundException: <p>The requested resource could not be found.</p>
|
|
436
|
+
capo_devops_agent.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p>The request would exceed the service quota limit.</p>
|
|
437
|
+
capo_devops_agent.errors.throttling_exception.ThrottlingException: <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
438
|
+
capo_devops_agent.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
439
|
+
capo_devops_agent.errors.UnknownServiceError: The service returned an error code this client does not model.
|
|
440
|
+
"""
|
|
441
|
+
|
|
442
|
+
async def _handler(
|
|
443
|
+
req: "AsyncOperationRequest[capo_devops_agent.types.delete_private_connection_input.DeletePrivateConnectionInput]",
|
|
444
|
+
) -> AsyncOperationResponse[
|
|
445
|
+
"capo_devops_agent.types.delete_private_connection_output.DeletePrivateConnectionOutput"
|
|
446
|
+
]:
|
|
447
|
+
import capo_devops_agent._operations.dev_ops_agent.delete_private_connection
|
|
448
|
+
|
|
449
|
+
(
|
|
450
|
+
output,
|
|
451
|
+
http_response,
|
|
452
|
+
) = await capo_devops_agent._operations.dev_ops_agent.delete_private_connection.async_delete_private_connection(
|
|
453
|
+
req.options, req.input
|
|
454
|
+
)
|
|
455
|
+
return AsyncOperationResponse(output=output, response=http_response)
|
|
456
|
+
|
|
457
|
+
interceptors_, options_ = self._service.operation_options(config_overrides)
|
|
458
|
+
input_: capo_devops_agent.types.delete_private_connection_input.DeletePrivateConnectionInput = {
|
|
459
|
+
"name": name
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
response = await aexecute_pipeline(
|
|
463
|
+
AsyncOperationRequest(input=input_, options=options_),
|
|
464
|
+
handler=_handler,
|
|
465
|
+
interceptors=list(interceptors_),
|
|
466
|
+
)
|
|
467
|
+
await response.response.aclose()
|
|
468
|
+
return response.output
|
|
469
|
+
|
|
470
|
+
async def list(
|
|
471
|
+
self, *, config_overrides: Optional[AsyncDevOpsAgentClientConfig] = None
|
|
472
|
+
) -> "capo_devops_agent.types.list_private_connections_output.ListPrivateConnectionsOutput":
|
|
473
|
+
"""<p>Lists all Private Connections in the caller's account.</p>
|
|
474
|
+
|
|
475
|
+
Raises:
|
|
476
|
+
capo_devops_agent.errors.access_denied_exception.AccessDeniedException: <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
477
|
+
capo_devops_agent.errors.conflict_exception.ConflictException: <p>The request conflicts with the current state of the resource.</p>
|
|
478
|
+
capo_devops_agent.errors.content_size_exceeded_exception.ContentSizeExceededException: <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
479
|
+
capo_devops_agent.errors.internal_server_exception.InternalServerException: <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
480
|
+
capo_devops_agent.errors.invalid_parameter_exception.InvalidParameterException: <p>One or more parameters provided in the request are invalid.</p>
|
|
481
|
+
capo_devops_agent.errors.resource_not_found_exception.ResourceNotFoundException: <p>The requested resource could not be found.</p>
|
|
482
|
+
capo_devops_agent.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p>The request would exceed the service quota limit.</p>
|
|
483
|
+
capo_devops_agent.errors.throttling_exception.ThrottlingException: <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
484
|
+
capo_devops_agent.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
485
|
+
capo_devops_agent.errors.UnknownServiceError: The service returned an error code this client does not model.
|
|
486
|
+
"""
|
|
487
|
+
|
|
488
|
+
async def _handler(
|
|
489
|
+
req: "AsyncOperationRequest[capo_devops_agent.types.list_private_connections_input.ListPrivateConnectionsInput]",
|
|
490
|
+
) -> AsyncOperationResponse[
|
|
491
|
+
"capo_devops_agent.types.list_private_connections_output.ListPrivateConnectionsOutput"
|
|
492
|
+
]:
|
|
493
|
+
import capo_devops_agent._operations.dev_ops_agent.list_private_connections
|
|
494
|
+
|
|
495
|
+
(
|
|
496
|
+
output,
|
|
497
|
+
http_response,
|
|
498
|
+
) = await capo_devops_agent._operations.dev_ops_agent.list_private_connections.async_list_private_connections(
|
|
499
|
+
req.options, req.input
|
|
500
|
+
)
|
|
501
|
+
return AsyncOperationResponse(output=output, response=http_response)
|
|
502
|
+
|
|
503
|
+
interceptors_, options_ = self._service.operation_options(config_overrides)
|
|
504
|
+
input_: capo_devops_agent.types.list_private_connections_input.ListPrivateConnectionsInput = {}
|
|
505
|
+
|
|
506
|
+
response = await aexecute_pipeline(
|
|
507
|
+
AsyncOperationRequest(input=input_, options=options_),
|
|
508
|
+
handler=_handler,
|
|
509
|
+
interceptors=list(interceptors_),
|
|
510
|
+
)
|
|
511
|
+
await response.response.aclose()
|
|
512
|
+
return response.output
|
|
513
|
+
|
|
514
|
+
async def update_private_connection_certificate(
|
|
515
|
+
self,
|
|
516
|
+
name: "capo_devops_agent.types.private_connection_name.PrivateConnectionName",
|
|
517
|
+
certificate: "capo_devops_agent.types.certificate_string.CertificateString",
|
|
518
|
+
*,
|
|
519
|
+
config_overrides: Optional[AsyncDevOpsAgentClientConfig] = None,
|
|
520
|
+
) -> "capo_devops_agent.types.update_private_connection_certificate_output.UpdatePrivateConnectionCertificateOutput":
|
|
521
|
+
"""<p>Updates the certificate associated with a Private Connection.</p>
|
|
522
|
+
|
|
523
|
+
Args:
|
|
524
|
+
name: <p>The name of the Private Connection.</p>
|
|
525
|
+
certificate: <p>The new certificate for the Private Connection.</p>
|
|
526
|
+
|
|
527
|
+
Raises:
|
|
528
|
+
capo_devops_agent.errors.access_denied_exception.AccessDeniedException: <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
529
|
+
capo_devops_agent.errors.conflict_exception.ConflictException: <p>The request conflicts with the current state of the resource.</p>
|
|
530
|
+
capo_devops_agent.errors.content_size_exceeded_exception.ContentSizeExceededException: <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
531
|
+
capo_devops_agent.errors.internal_server_exception.InternalServerException: <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
532
|
+
capo_devops_agent.errors.invalid_parameter_exception.InvalidParameterException: <p>One or more parameters provided in the request are invalid.</p>
|
|
533
|
+
capo_devops_agent.errors.resource_not_found_exception.ResourceNotFoundException: <p>The requested resource could not be found.</p>
|
|
534
|
+
capo_devops_agent.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p>The request would exceed the service quota limit.</p>
|
|
535
|
+
capo_devops_agent.errors.throttling_exception.ThrottlingException: <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
536
|
+
capo_devops_agent.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
537
|
+
capo_devops_agent.errors.UnknownServiceError: The service returned an error code this client does not model.
|
|
538
|
+
"""
|
|
539
|
+
|
|
540
|
+
async def _handler(
|
|
541
|
+
req: "AsyncOperationRequest[capo_devops_agent.types.update_private_connection_certificate_input.UpdatePrivateConnectionCertificateInput]",
|
|
542
|
+
) -> AsyncOperationResponse[
|
|
543
|
+
"capo_devops_agent.types.update_private_connection_certificate_output.UpdatePrivateConnectionCertificateOutput"
|
|
544
|
+
]:
|
|
545
|
+
import capo_devops_agent._operations.dev_ops_agent.update_private_connection_certificate
|
|
546
|
+
|
|
547
|
+
(
|
|
548
|
+
output,
|
|
549
|
+
http_response,
|
|
550
|
+
) = await capo_devops_agent._operations.dev_ops_agent.update_private_connection_certificate.async_update_private_connection_certificate(
|
|
551
|
+
req.options, req.input
|
|
552
|
+
)
|
|
553
|
+
return AsyncOperationResponse(output=output, response=http_response)
|
|
554
|
+
|
|
555
|
+
interceptors_, options_ = self._service.operation_options(config_overrides)
|
|
556
|
+
input_: capo_devops_agent.types.update_private_connection_certificate_input.UpdatePrivateConnectionCertificateInput = {
|
|
557
|
+
"name": name,
|
|
558
|
+
"certificate": certificate,
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
response = await aexecute_pipeline(
|
|
562
|
+
AsyncOperationRequest(input=input_, options=options_),
|
|
563
|
+
handler=_handler,
|
|
564
|
+
interceptors=list(interceptors_),
|
|
565
|
+
)
|
|
566
|
+
await response.response.aclose()
|
|
567
|
+
return response.output
|