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,38 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.devopsagent#ListAssetsRequest``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import datetime
|
|
9
|
+
|
|
10
|
+
import capo_devops_agent.types.agent_space_id
|
|
11
|
+
import capo_devops_agent.types.asset_type
|
|
12
|
+
import capo_devops_agent.types.next_token
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class ListAssetsRequest(TypedDict, closed=True):
|
|
16
|
+
agent_space_id: "capo_devops_agent.types.agent_space_id.AgentSpaceId"
|
|
17
|
+
"""<p>The unique identifier for the agent space to list assets from</p>"""
|
|
18
|
+
asset_type: NotRequired["capo_devops_agent.types.asset_type.AssetType"]
|
|
19
|
+
"""<p>Filter results to only assets of this type</p>"""
|
|
20
|
+
updated_after: NotRequired["datetime.datetime"]
|
|
21
|
+
"""<p>Filter results to only assets updated after this timestamp</p>"""
|
|
22
|
+
updated_before: NotRequired["datetime.datetime"]
|
|
23
|
+
"""<p>Filter results to only assets updated before this timestamp</p>"""
|
|
24
|
+
next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
|
|
25
|
+
"""<p>Pagination token from a previous response to retrieve the next page of results</p>"""
|
|
26
|
+
max_results: NotRequired["int"]
|
|
27
|
+
"""<p>The maximum number of results to return in a single response</p>"""
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# --- restJson1 ser/de ---
|
|
31
|
+
def serialize_json(value: ListAssetsRequest) -> dict:
|
|
32
|
+
out: dict = {}
|
|
33
|
+
return out
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def deserialize_json(data: dict) -> ListAssetsRequest:
|
|
37
|
+
out: ListAssetsRequest = {} # type: ignore[typeddict-item]
|
|
38
|
+
return out
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.devopsagent#ListAssetsResponse``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_devops_agent.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_devops_agent.types.asset_list
|
|
11
|
+
import capo_devops_agent.types.next_token
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class ListAssetsResponse(TypedDict, closed=True):
|
|
15
|
+
items: "capo_devops_agent.types.asset_list.AssetList"
|
|
16
|
+
"""<p>The list of assets for the agent space</p>"""
|
|
17
|
+
next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
|
|
18
|
+
"""<p>Pagination token to retrieve the next page of results. Absent when there are no more results.</p>"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# --- restJson1 ser/de ---
|
|
22
|
+
def serialize_json(value: ListAssetsResponse) -> dict:
|
|
23
|
+
out: dict = {}
|
|
24
|
+
import capo_devops_agent.types.asset_list
|
|
25
|
+
|
|
26
|
+
out["items"] = capo_devops_agent.types.asset_list.serialize_json(value["items"])
|
|
27
|
+
if "next_token" in value:
|
|
28
|
+
out["nextToken"] = value["next_token"]
|
|
29
|
+
return out
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def deserialize_json(data: dict) -> ListAssetsResponse:
|
|
33
|
+
out: ListAssetsResponse = {} # type: ignore[typeddict-item]
|
|
34
|
+
if data.get("items") is not None:
|
|
35
|
+
import capo_devops_agent.types.asset_list
|
|
36
|
+
|
|
37
|
+
out["items"] = capo_devops_agent.types.asset_list.deserialize_json(
|
|
38
|
+
data["items"]
|
|
39
|
+
)
|
|
40
|
+
else:
|
|
41
|
+
raise DeserializationError("ListAssetsResponse.items required")
|
|
42
|
+
if data.get("nextToken") is not None:
|
|
43
|
+
out["next_token"] = data["nextToken"]
|
|
44
|
+
return out
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.devopsagent#ListAssociationsInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_devops_agent.types.agent_space_id
|
|
9
|
+
import capo_devops_agent.types.next_token
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ListAssociationsInput(TypedDict, closed=True):
|
|
13
|
+
agent_space_id: "capo_devops_agent.types.agent_space_id.AgentSpaceId"
|
|
14
|
+
"""<p>The unique identifier of the AgentSpace</p>"""
|
|
15
|
+
max_results: "int"
|
|
16
|
+
"""<p>Maximum number of results to return in a single call.</p>"""
|
|
17
|
+
next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
|
|
18
|
+
"""<p>Token for the next page of results.</p>"""
|
|
19
|
+
filter_service_types: NotRequired["str"]
|
|
20
|
+
"""<p>A comma-separated list of service types to filter list associations output</p>"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# --- restJson1 ser/de ---
|
|
24
|
+
def serialize_json(value: ListAssociationsInput) -> dict:
|
|
25
|
+
out: dict = {}
|
|
26
|
+
return out
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def deserialize_json(data: dict) -> ListAssociationsInput:
|
|
30
|
+
out: ListAssociationsInput = {} # type: ignore[typeddict-item]
|
|
31
|
+
return out
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.devopsagent#ListAssociationsOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_devops_agent.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_devops_agent.types.associations_list
|
|
11
|
+
import capo_devops_agent.types.next_token
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class ListAssociationsOutput(TypedDict, closed=True):
|
|
15
|
+
next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
|
|
16
|
+
"""<p>Token to retrieve the next page of results, if there are more results.</p>"""
|
|
17
|
+
associations: "capo_devops_agent.types.associations_list.AssociationsList"
|
|
18
|
+
"""<p>The list of associations.</p>"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# --- restJson1 ser/de ---
|
|
22
|
+
def serialize_json(value: ListAssociationsOutput) -> dict:
|
|
23
|
+
out: dict = {}
|
|
24
|
+
if "next_token" in value:
|
|
25
|
+
out["nextToken"] = value["next_token"]
|
|
26
|
+
import capo_devops_agent.types.associations_list
|
|
27
|
+
|
|
28
|
+
out["associations"] = capo_devops_agent.types.associations_list.serialize_json(
|
|
29
|
+
value["associations"]
|
|
30
|
+
)
|
|
31
|
+
return out
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def deserialize_json(data: dict) -> ListAssociationsOutput:
|
|
35
|
+
out: ListAssociationsOutput = {} # type: ignore[typeddict-item]
|
|
36
|
+
if data.get("nextToken") is not None:
|
|
37
|
+
out["next_token"] = data["nextToken"]
|
|
38
|
+
if data.get("associations") is not None:
|
|
39
|
+
import capo_devops_agent.types.associations_list
|
|
40
|
+
|
|
41
|
+
out["associations"] = (
|
|
42
|
+
capo_devops_agent.types.associations_list.deserialize_json(
|
|
43
|
+
data["associations"]
|
|
44
|
+
)
|
|
45
|
+
)
|
|
46
|
+
else:
|
|
47
|
+
raise DeserializationError("ListAssociationsOutput.associations required")
|
|
48
|
+
return out
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.devopsagent#ListBacklogTasksRequest``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_devops_agent.types.agent_space_id
|
|
9
|
+
import capo_devops_agent.types.next_token
|
|
10
|
+
import capo_devops_agent.types.task_filter
|
|
11
|
+
import capo_devops_agent.types.task_sort_field
|
|
12
|
+
import capo_devops_agent.types.task_sort_order
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class ListBacklogTasksRequest(TypedDict, closed=True):
|
|
16
|
+
agent_space_id: "capo_devops_agent.types.agent_space_id.AgentSpaceId"
|
|
17
|
+
"""<p>The unique identifier for the agent space containing the tasks</p>"""
|
|
18
|
+
filter: NotRequired["capo_devops_agent.types.task_filter.TaskFilter"]
|
|
19
|
+
"""<p>Filter criteria to apply when listing tasks Filtering restrictions: - Each filter field list is limited to a single value - Filtering by Priority and Status at the same time when not filtering by Type is not permitted - Timestamp filters (createdAfter, createdBefore) can be combined with other filters when not sorting by priority</p>"""
|
|
20
|
+
limit: "int"
|
|
21
|
+
"""<p>Maximum number of tasks to return in a single response (1-1000, default: 100)</p>"""
|
|
22
|
+
next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
|
|
23
|
+
"""<p>Token for retrieving the next page of results</p>"""
|
|
24
|
+
sort_field: NotRequired["capo_devops_agent.types.task_sort_field.TaskSortField"]
|
|
25
|
+
"""<p>Field to sort by Sorting restrictions: - Only sorting on createdAt is supported when using priority or status filters alone. - Sorting by priority is not supported when using Timestamp filters (createdAfter, createdBefore)</p>"""
|
|
26
|
+
order: "capo_devops_agent.types.task_sort_order.TaskSortOrder"
|
|
27
|
+
"""<p>Sort order for the tasks based on sortField (default: DESC)</p>"""
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# --- restJson1 ser/de ---
|
|
31
|
+
def serialize_json(value: ListBacklogTasksRequest) -> dict:
|
|
32
|
+
out: dict = {}
|
|
33
|
+
if "filter" in value:
|
|
34
|
+
import capo_devops_agent.types.task_filter
|
|
35
|
+
|
|
36
|
+
out["filter"] = capo_devops_agent.types.task_filter.serialize_json(
|
|
37
|
+
value["filter"]
|
|
38
|
+
)
|
|
39
|
+
out["limit"] = value.get("limit", 100)
|
|
40
|
+
if "next_token" in value:
|
|
41
|
+
out["nextToken"] = value["next_token"]
|
|
42
|
+
if "sort_field" in value:
|
|
43
|
+
import capo_devops_agent.types.task_sort_field
|
|
44
|
+
|
|
45
|
+
out["sortField"] = capo_devops_agent.types.task_sort_field.serialize_json(
|
|
46
|
+
value["sort_field"]
|
|
47
|
+
)
|
|
48
|
+
import capo_devops_agent.types.task_sort_order
|
|
49
|
+
|
|
50
|
+
out["order"] = capo_devops_agent.types.task_sort_order.serialize_json(
|
|
51
|
+
value.get("order", "DESC")
|
|
52
|
+
)
|
|
53
|
+
return out
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def deserialize_json(data: dict) -> ListBacklogTasksRequest:
|
|
57
|
+
out: ListBacklogTasksRequest = {} # type: ignore[typeddict-item]
|
|
58
|
+
if data.get("filter") is not None:
|
|
59
|
+
import capo_devops_agent.types.task_filter
|
|
60
|
+
|
|
61
|
+
out["filter"] = capo_devops_agent.types.task_filter.deserialize_json(
|
|
62
|
+
data["filter"]
|
|
63
|
+
)
|
|
64
|
+
if data.get("limit") is not None:
|
|
65
|
+
out["limit"] = data["limit"]
|
|
66
|
+
else:
|
|
67
|
+
out["limit"] = 100
|
|
68
|
+
if data.get("nextToken") is not None:
|
|
69
|
+
out["next_token"] = data["nextToken"]
|
|
70
|
+
if data.get("sortField") is not None:
|
|
71
|
+
import capo_devops_agent.types.task_sort_field
|
|
72
|
+
|
|
73
|
+
out["sort_field"] = capo_devops_agent.types.task_sort_field.deserialize_json(
|
|
74
|
+
data["sortField"]
|
|
75
|
+
)
|
|
76
|
+
if data.get("order") is not None:
|
|
77
|
+
import capo_devops_agent.types.task_sort_order
|
|
78
|
+
|
|
79
|
+
out["order"] = capo_devops_agent.types.task_sort_order.deserialize_json(
|
|
80
|
+
data["order"]
|
|
81
|
+
)
|
|
82
|
+
else:
|
|
83
|
+
out["order"] = "DESC"
|
|
84
|
+
return out
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.devopsagent#ListBacklogTasksResponse``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_devops_agent.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_devops_agent.types.task_list
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ListBacklogTasksResponse(TypedDict, closed=True):
|
|
14
|
+
tasks: "capo_devops_agent.types.task_list.TaskList"
|
|
15
|
+
"""<p>List of backlog tasks</p>"""
|
|
16
|
+
next_token: NotRequired["str"]
|
|
17
|
+
"""<p>Token for retrieving the next page of results, if more results are available</p>"""
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# --- restJson1 ser/de ---
|
|
21
|
+
def serialize_json(value: ListBacklogTasksResponse) -> dict:
|
|
22
|
+
out: dict = {}
|
|
23
|
+
import capo_devops_agent.types.task_list
|
|
24
|
+
|
|
25
|
+
out["tasks"] = capo_devops_agent.types.task_list.serialize_json(value["tasks"])
|
|
26
|
+
if "next_token" in value:
|
|
27
|
+
out["nextToken"] = value["next_token"]
|
|
28
|
+
return out
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def deserialize_json(data: dict) -> ListBacklogTasksResponse:
|
|
32
|
+
out: ListBacklogTasksResponse = {} # type: ignore[typeddict-item]
|
|
33
|
+
if data.get("tasks") is not None:
|
|
34
|
+
import capo_devops_agent.types.task_list
|
|
35
|
+
|
|
36
|
+
out["tasks"] = capo_devops_agent.types.task_list.deserialize_json(data["tasks"])
|
|
37
|
+
else:
|
|
38
|
+
raise DeserializationError("ListBacklogTasksResponse.tasks required")
|
|
39
|
+
if data.get("nextToken") is not None:
|
|
40
|
+
out["next_token"] = data["nextToken"]
|
|
41
|
+
return out
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.devopsagent#ListChatsRequest``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_devops_agent.types.agent_space_id
|
|
9
|
+
import capo_devops_agent.types.resource_id
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ListChatsRequest(TypedDict, closed=True):
|
|
13
|
+
agent_space_id: "capo_devops_agent.types.agent_space_id.AgentSpaceId"
|
|
14
|
+
user_id: NotRequired["capo_devops_agent.types.resource_id.ResourceId"]
|
|
15
|
+
"""<p>The user identifier to list chats for. This field is deprecated and will be ignored — the service resolves user identity from the authenticated session.</p>"""
|
|
16
|
+
max_results: NotRequired["int"]
|
|
17
|
+
"""<p>Maximum number of results to return</p>"""
|
|
18
|
+
next_token: NotRequired["str"]
|
|
19
|
+
"""<p>Token for pagination</p>"""
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# --- restJson1 ser/de ---
|
|
23
|
+
def serialize_json(value: ListChatsRequest) -> dict:
|
|
24
|
+
out: dict = {}
|
|
25
|
+
return out
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def deserialize_json(data: dict) -> ListChatsRequest:
|
|
29
|
+
out: ListChatsRequest = {} # type: ignore[typeddict-item]
|
|
30
|
+
return out
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.devopsagent#ListChatsResponse``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_devops_agent.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_devops_agent.types.chat_execution_list
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ListChatsResponse(TypedDict, closed=True):
|
|
14
|
+
executions: "capo_devops_agent.types.chat_execution_list.ChatExecutionList"
|
|
15
|
+
"""<p>List of recent chat executions</p>"""
|
|
16
|
+
next_token: NotRequired["str"]
|
|
17
|
+
"""<p>Token for retrieving the next page of results</p>"""
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# --- restJson1 ser/de ---
|
|
21
|
+
def serialize_json(value: ListChatsResponse) -> dict:
|
|
22
|
+
out: dict = {}
|
|
23
|
+
import capo_devops_agent.types.chat_execution_list
|
|
24
|
+
|
|
25
|
+
out["executions"] = capo_devops_agent.types.chat_execution_list.serialize_json(
|
|
26
|
+
value["executions"]
|
|
27
|
+
)
|
|
28
|
+
if "next_token" in value:
|
|
29
|
+
out["nextToken"] = value["next_token"]
|
|
30
|
+
return out
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def deserialize_json(data: dict) -> ListChatsResponse:
|
|
34
|
+
out: ListChatsResponse = {} # type: ignore[typeddict-item]
|
|
35
|
+
if data.get("executions") is not None:
|
|
36
|
+
import capo_devops_agent.types.chat_execution_list
|
|
37
|
+
|
|
38
|
+
out["executions"] = (
|
|
39
|
+
capo_devops_agent.types.chat_execution_list.deserialize_json(
|
|
40
|
+
data["executions"]
|
|
41
|
+
)
|
|
42
|
+
)
|
|
43
|
+
else:
|
|
44
|
+
raise DeserializationError("ListChatsResponse.executions required")
|
|
45
|
+
if data.get("nextToken") is not None:
|
|
46
|
+
out["next_token"] = data["nextToken"]
|
|
47
|
+
return out
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.devopsagent#ListExecutionsRequest``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_devops_agent.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_devops_agent.types.agent_space_id
|
|
11
|
+
import capo_devops_agent.types.next_token
|
|
12
|
+
import capo_devops_agent.types.resource_id
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class ListExecutionsRequest(TypedDict, closed=True):
|
|
16
|
+
agent_space_id: "capo_devops_agent.types.agent_space_id.AgentSpaceId"
|
|
17
|
+
"""<p>The unique identifier for the agent space</p>"""
|
|
18
|
+
task_id: "capo_devops_agent.types.resource_id.ResourceId"
|
|
19
|
+
"""<p>The unique identifier of the task whose executions to retrieve</p>"""
|
|
20
|
+
limit: NotRequired["int"]
|
|
21
|
+
"""<p>Maximum number of executions to return</p>"""
|
|
22
|
+
next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
|
|
23
|
+
"""<p>Token for pagination to retrieve the next set of results</p>"""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# --- restJson1 ser/de ---
|
|
27
|
+
def serialize_json(value: ListExecutionsRequest) -> dict:
|
|
28
|
+
out: dict = {}
|
|
29
|
+
out["taskId"] = value["task_id"]
|
|
30
|
+
if "limit" in value:
|
|
31
|
+
out["limit"] = value["limit"]
|
|
32
|
+
if "next_token" in value:
|
|
33
|
+
out["nextToken"] = value["next_token"]
|
|
34
|
+
return out
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def deserialize_json(data: dict) -> ListExecutionsRequest:
|
|
38
|
+
out: ListExecutionsRequest = {} # type: ignore[typeddict-item]
|
|
39
|
+
if data.get("taskId") is not None:
|
|
40
|
+
out["task_id"] = data["taskId"]
|
|
41
|
+
else:
|
|
42
|
+
raise DeserializationError("ListExecutionsRequest.task_id required")
|
|
43
|
+
if data.get("limit") is not None:
|
|
44
|
+
out["limit"] = data["limit"]
|
|
45
|
+
if data.get("nextToken") is not None:
|
|
46
|
+
out["next_token"] = data["nextToken"]
|
|
47
|
+
return out
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.devopsagent#ListExecutionsResponse``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_devops_agent.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_devops_agent.types.execution_list
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ListExecutionsResponse(TypedDict, closed=True):
|
|
14
|
+
executions: "capo_devops_agent.types.execution_list.ExecutionList"
|
|
15
|
+
"""<p>List of executions</p>"""
|
|
16
|
+
next_token: NotRequired["str"]
|
|
17
|
+
"""<p>Token for retrieving the next page of results, if available</p>"""
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# --- restJson1 ser/de ---
|
|
21
|
+
def serialize_json(value: ListExecutionsResponse) -> dict:
|
|
22
|
+
out: dict = {}
|
|
23
|
+
import capo_devops_agent.types.execution_list
|
|
24
|
+
|
|
25
|
+
out["executions"] = capo_devops_agent.types.execution_list.serialize_json(
|
|
26
|
+
value["executions"]
|
|
27
|
+
)
|
|
28
|
+
if "next_token" in value:
|
|
29
|
+
out["nextToken"] = value["next_token"]
|
|
30
|
+
return out
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def deserialize_json(data: dict) -> ListExecutionsResponse:
|
|
34
|
+
out: ListExecutionsResponse = {} # type: ignore[typeddict-item]
|
|
35
|
+
if data.get("executions") is not None:
|
|
36
|
+
import capo_devops_agent.types.execution_list
|
|
37
|
+
|
|
38
|
+
out["executions"] = capo_devops_agent.types.execution_list.deserialize_json(
|
|
39
|
+
data["executions"]
|
|
40
|
+
)
|
|
41
|
+
else:
|
|
42
|
+
raise DeserializationError("ListExecutionsResponse.executions required")
|
|
43
|
+
if data.get("nextToken") is not None:
|
|
44
|
+
out["next_token"] = data["nextToken"]
|
|
45
|
+
return out
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.devopsagent#ListGoalsRequest``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_devops_agent.types.agent_space_id
|
|
9
|
+
import capo_devops_agent.types.goal_status
|
|
10
|
+
import capo_devops_agent.types.goal_type
|
|
11
|
+
import capo_devops_agent.types.next_token
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class ListGoalsRequest(TypedDict, closed=True):
|
|
15
|
+
agent_space_id: "capo_devops_agent.types.agent_space_id.AgentSpaceId"
|
|
16
|
+
"""<p>The unique identifier for the agent space</p>"""
|
|
17
|
+
status: NotRequired["capo_devops_agent.types.goal_status.GoalStatus"]
|
|
18
|
+
"""<p>Filter goals by goal status</p>"""
|
|
19
|
+
goal_type: NotRequired["capo_devops_agent.types.goal_type.GoalType"]
|
|
20
|
+
"""<p>Filter goals by goal type</p>"""
|
|
21
|
+
limit: "int"
|
|
22
|
+
"""<p>Maximum number of goals to return</p>"""
|
|
23
|
+
next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
|
|
24
|
+
"""<p>Pagination token for the next set of results</p>"""
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# --- restJson1 ser/de ---
|
|
28
|
+
def serialize_json(value: ListGoalsRequest) -> dict:
|
|
29
|
+
out: dict = {}
|
|
30
|
+
if "status" in value:
|
|
31
|
+
import capo_devops_agent.types.goal_status
|
|
32
|
+
|
|
33
|
+
out["status"] = capo_devops_agent.types.goal_status.serialize_json(
|
|
34
|
+
value["status"]
|
|
35
|
+
)
|
|
36
|
+
if "goal_type" in value:
|
|
37
|
+
import capo_devops_agent.types.goal_type
|
|
38
|
+
|
|
39
|
+
out["goalType"] = capo_devops_agent.types.goal_type.serialize_json(
|
|
40
|
+
value["goal_type"]
|
|
41
|
+
)
|
|
42
|
+
out["limit"] = value.get("limit", 50)
|
|
43
|
+
if "next_token" in value:
|
|
44
|
+
out["nextToken"] = value["next_token"]
|
|
45
|
+
return out
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def deserialize_json(data: dict) -> ListGoalsRequest:
|
|
49
|
+
out: ListGoalsRequest = {} # type: ignore[typeddict-item]
|
|
50
|
+
if data.get("status") is not None:
|
|
51
|
+
import capo_devops_agent.types.goal_status
|
|
52
|
+
|
|
53
|
+
out["status"] = capo_devops_agent.types.goal_status.deserialize_json(
|
|
54
|
+
data["status"]
|
|
55
|
+
)
|
|
56
|
+
if data.get("goalType") is not None:
|
|
57
|
+
import capo_devops_agent.types.goal_type
|
|
58
|
+
|
|
59
|
+
out["goal_type"] = capo_devops_agent.types.goal_type.deserialize_json(
|
|
60
|
+
data["goalType"]
|
|
61
|
+
)
|
|
62
|
+
if data.get("limit") is not None:
|
|
63
|
+
out["limit"] = data["limit"]
|
|
64
|
+
else:
|
|
65
|
+
out["limit"] = 50
|
|
66
|
+
if data.get("nextToken") is not None:
|
|
67
|
+
out["next_token"] = data["nextToken"]
|
|
68
|
+
return out
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.devopsagent#ListGoalsResponse``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_devops_agent.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_devops_agent.types.goal_list
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ListGoalsResponse(TypedDict, closed=True):
|
|
14
|
+
goals: "capo_devops_agent.types.goal_list.GoalList"
|
|
15
|
+
"""<p>List of goals matching the criteria</p>"""
|
|
16
|
+
next_token: NotRequired["str"]
|
|
17
|
+
"""<p>Pagination token for the next set of results</p>"""
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# --- restJson1 ser/de ---
|
|
21
|
+
def serialize_json(value: ListGoalsResponse) -> dict:
|
|
22
|
+
out: dict = {}
|
|
23
|
+
import capo_devops_agent.types.goal_list
|
|
24
|
+
|
|
25
|
+
out["goals"] = capo_devops_agent.types.goal_list.serialize_json(value["goals"])
|
|
26
|
+
if "next_token" in value:
|
|
27
|
+
out["nextToken"] = value["next_token"]
|
|
28
|
+
return out
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def deserialize_json(data: dict) -> ListGoalsResponse:
|
|
32
|
+
out: ListGoalsResponse = {} # type: ignore[typeddict-item]
|
|
33
|
+
if data.get("goals") is not None:
|
|
34
|
+
import capo_devops_agent.types.goal_list
|
|
35
|
+
|
|
36
|
+
out["goals"] = capo_devops_agent.types.goal_list.deserialize_json(data["goals"])
|
|
37
|
+
else:
|
|
38
|
+
raise DeserializationError("ListGoalsResponse.goals required")
|
|
39
|
+
if data.get("nextToken") is not None:
|
|
40
|
+
out["next_token"] = data["nextToken"]
|
|
41
|
+
return out
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.devopsagent#ListJournalRecordsRequest``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_devops_agent.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_devops_agent.types.agent_space_id
|
|
11
|
+
import capo_devops_agent.types.next_token
|
|
12
|
+
import capo_devops_agent.types.order_type
|
|
13
|
+
import capo_devops_agent.types.resource_id
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class ListJournalRecordsRequest(TypedDict, closed=True):
|
|
17
|
+
agent_space_id: "capo_devops_agent.types.agent_space_id.AgentSpaceId"
|
|
18
|
+
"""<p>The unique identifier for the agent space containing the execution</p>"""
|
|
19
|
+
execution_id: "capo_devops_agent.types.resource_id.ResourceId"
|
|
20
|
+
"""<p>The unique identifier of the execution whose journal records to retrieve</p>"""
|
|
21
|
+
limit: "int"
|
|
22
|
+
"""<p>Maximum number of records to return in a single response (1-100, default: 100)</p>"""
|
|
23
|
+
next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
|
|
24
|
+
"""<p>Token for retrieving the next page of results</p>"""
|
|
25
|
+
record_type: "str"
|
|
26
|
+
"""<p>Filter records by type (empty string returns all types)</p>"""
|
|
27
|
+
order: "capo_devops_agent.types.order_type.OrderType"
|
|
28
|
+
"""<p>Sort order for the records based on timestamp (default: DESC)</p>"""
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
# --- restJson1 ser/de ---
|
|
32
|
+
def serialize_json(value: ListJournalRecordsRequest) -> dict:
|
|
33
|
+
out: dict = {}
|
|
34
|
+
out["executionId"] = value["execution_id"]
|
|
35
|
+
out["limit"] = value.get("limit", 100)
|
|
36
|
+
if "next_token" in value:
|
|
37
|
+
out["nextToken"] = value["next_token"]
|
|
38
|
+
out["recordType"] = value.get("record_type", "")
|
|
39
|
+
import capo_devops_agent.types.order_type
|
|
40
|
+
|
|
41
|
+
out["order"] = capo_devops_agent.types.order_type.serialize_json(
|
|
42
|
+
value.get("order", "DESC")
|
|
43
|
+
)
|
|
44
|
+
return out
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def deserialize_json(data: dict) -> ListJournalRecordsRequest:
|
|
48
|
+
out: ListJournalRecordsRequest = {} # type: ignore[typeddict-item]
|
|
49
|
+
if data.get("executionId") is not None:
|
|
50
|
+
out["execution_id"] = data["executionId"]
|
|
51
|
+
else:
|
|
52
|
+
raise DeserializationError("ListJournalRecordsRequest.execution_id required")
|
|
53
|
+
if data.get("limit") is not None:
|
|
54
|
+
out["limit"] = data["limit"]
|
|
55
|
+
else:
|
|
56
|
+
out["limit"] = 100
|
|
57
|
+
if data.get("nextToken") is not None:
|
|
58
|
+
out["next_token"] = data["nextToken"]
|
|
59
|
+
if data.get("recordType") is not None:
|
|
60
|
+
out["record_type"] = data["recordType"]
|
|
61
|
+
else:
|
|
62
|
+
out["record_type"] = ""
|
|
63
|
+
if data.get("order") is not None:
|
|
64
|
+
import capo_devops_agent.types.order_type
|
|
65
|
+
|
|
66
|
+
out["order"] = capo_devops_agent.types.order_type.deserialize_json(
|
|
67
|
+
data["order"]
|
|
68
|
+
)
|
|
69
|
+
else:
|
|
70
|
+
out["order"] = "DESC"
|
|
71
|
+
return out
|