capo-codebuild 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_codebuild/__init__.py +70 -0
- capo_codebuild/_async.py +25 -0
- capo_codebuild/_auth/_identity.py +16 -0
- capo_codebuild/_auth/_providers.py +886 -0
- capo_codebuild/_auth/_signers.py +88 -0
- capo_codebuild/_auth/_sigv4.py +434 -0
- capo_codebuild/_auth/_zapros_handler.py +80 -0
- capo_codebuild/_iter.py +113 -0
- capo_codebuild/_operations/code_build_20161006/batch_delete_builds.py +150 -0
- capo_codebuild/_operations/code_build_20161006/batch_get_build_batches.py +148 -0
- capo_codebuild/_operations/code_build_20161006/batch_get_builds.py +148 -0
- capo_codebuild/_operations/code_build_20161006/batch_get_command_executions.py +148 -0
- capo_codebuild/_operations/code_build_20161006/batch_get_fleets.py +148 -0
- capo_codebuild/_operations/code_build_20161006/batch_get_projects.py +150 -0
- capo_codebuild/_operations/code_build_20161006/batch_get_report_groups.py +148 -0
- capo_codebuild/_operations/code_build_20161006/batch_get_reports.py +148 -0
- capo_codebuild/_operations/code_build_20161006/batch_get_sandboxes.py +150 -0
- capo_codebuild/_operations/code_build_20161006/create_fleet.py +161 -0
- capo_codebuild/_operations/code_build_20161006/create_project.py +169 -0
- capo_codebuild/_operations/code_build_20161006/create_report_group.py +162 -0
- capo_codebuild/_operations/code_build_20161006/create_webhook.py +166 -0
- capo_codebuild/_operations/code_build_20161006/delete_build_batch.py +150 -0
- capo_codebuild/_operations/code_build_20161006/delete_fleet.py +134 -0
- capo_codebuild/_operations/code_build_20161006/delete_project.py +138 -0
- capo_codebuild/_operations/code_build_20161006/delete_report.py +138 -0
- capo_codebuild/_operations/code_build_20161006/delete_report_group.py +140 -0
- capo_codebuild/_operations/code_build_20161006/delete_resource_policy.py +142 -0
- capo_codebuild/_operations/code_build_20161006/delete_source_credentials.py +155 -0
- capo_codebuild/_operations/code_build_20161006/delete_webhook.py +148 -0
- capo_codebuild/_operations/code_build_20161006/describe_code_coverages.py +149 -0
- capo_codebuild/_operations/code_build_20161006/describe_test_cases.py +155 -0
- capo_codebuild/_operations/code_build_20161006/get_report_group_trend.py +154 -0
- capo_codebuild/_operations/code_build_20161006/get_resource_policy.py +153 -0
- capo_codebuild/_operations/code_build_20161006/import_source_credentials.py +162 -0
- capo_codebuild/_operations/code_build_20161006/invalidate_project_cache.py +147 -0
- capo_codebuild/_operations/code_build_20161006/list_build_batches.py +151 -0
- capo_codebuild/_operations/code_build_20161006/list_build_batches_for_project.py +154 -0
- capo_codebuild/_operations/code_build_20161006/list_builds.py +144 -0
- capo_codebuild/_operations/code_build_20161006/list_builds_for_project.py +153 -0
- capo_codebuild/_operations/code_build_20161006/list_command_executions_for_sandbox.py +153 -0
- capo_codebuild/_operations/code_build_20161006/list_curated_environment_images.py +142 -0
- capo_codebuild/_operations/code_build_20161006/list_fleets.py +145 -0
- capo_codebuild/_operations/code_build_20161006/list_projects.py +149 -0
- capo_codebuild/_operations/code_build_20161006/list_report_groups.py +151 -0
- capo_codebuild/_operations/code_build_20161006/list_reports.py +145 -0
- capo_codebuild/_operations/code_build_20161006/list_reports_for_report_group.py +154 -0
- capo_codebuild/_operations/code_build_20161006/list_sandboxes.py +148 -0
- capo_codebuild/_operations/code_build_20161006/list_sandboxes_for_project.py +157 -0
- capo_codebuild/_operations/code_build_20161006/list_shared_projects.py +151 -0
- capo_codebuild/_operations/code_build_20161006/list_shared_report_groups.py +149 -0
- capo_codebuild/_operations/code_build_20161006/list_source_credentials.py +147 -0
- capo_codebuild/_operations/code_build_20161006/put_resource_policy.py +153 -0
- capo_codebuild/_operations/code_build_20161006/retry_build.py +153 -0
- capo_codebuild/_operations/code_build_20161006/retry_build_batch.py +153 -0
- capo_codebuild/_operations/code_build_20161006/start_build.py +169 -0
- capo_codebuild/_operations/code_build_20161006/start_build_batch.py +167 -0
- capo_codebuild/_operations/code_build_20161006/start_command_execution.py +153 -0
- capo_codebuild/_operations/code_build_20161006/start_sandbox.py +157 -0
- capo_codebuild/_operations/code_build_20161006/start_sandbox_connection.py +152 -0
- capo_codebuild/_operations/code_build_20161006/stop_build.py +148 -0
- capo_codebuild/_operations/code_build_20161006/stop_build_batch.py +152 -0
- capo_codebuild/_operations/code_build_20161006/stop_sandbox.py +148 -0
- capo_codebuild/_operations/code_build_20161006/update_fleet.py +161 -0
- capo_codebuild/_operations/code_build_20161006/update_project.py +164 -0
- capo_codebuild/_operations/code_build_20161006/update_project_visibility.py +156 -0
- capo_codebuild/_operations/code_build_20161006/update_report_group.py +156 -0
- capo_codebuild/_operations/code_build_20161006/update_webhook.py +160 -0
- capo_codebuild/_pagination.py +21 -0
- capo_codebuild/_protocol/__init__.py +1 -0
- capo_codebuild/_protocol/errors.py +93 -0
- capo_codebuild/_protocol/eventstream.py +238 -0
- capo_codebuild/_protocol/serialize.py +47 -0
- capo_codebuild/_protocol/xml.py +33 -0
- capo_codebuild/_rule_engine/__init__.py +0 -0
- capo_codebuild/_rule_engine/_aws_partition.py +160 -0
- capo_codebuild/_rule_engine/_endpoint_rule_set.py +136 -0
- capo_codebuild/_rule_engine/_endpoint_runtime.py +389 -0
- capo_codebuild/_services/_aws_config.py +160 -0
- capo_codebuild/_services/_pipeline.py +198 -0
- capo_codebuild/_services/async_code_build.py +4509 -0
- capo_codebuild/_services/code_build.py +4450 -0
- capo_codebuild/errors/__init__.py +37 -0
- capo_codebuild/errors/_base.py +94 -0
- capo_codebuild/errors/account_limit_exceeded_exception.py +53 -0
- capo_codebuild/errors/account_suspended_exception.py +51 -0
- capo_codebuild/errors/invalid_input_exception.py +51 -0
- capo_codebuild/errors/o_auth_provider_exception.py +51 -0
- capo_codebuild/errors/resource_already_exists_exception.py +53 -0
- capo_codebuild/errors/resource_not_found_exception.py +51 -0
- capo_codebuild/py.typed +0 -0
- capo_codebuild/types/_prelude/blob.py +12 -0
- capo_codebuild/types/_prelude/timestamp.py +17 -0
- capo_codebuild/types/artifact_namespace.py +17 -0
- capo_codebuild/types/artifact_packaging.py +17 -0
- capo_codebuild/types/artifacts_type.py +18 -0
- capo_codebuild/types/auth_type.py +20 -0
- capo_codebuild/types/auto_retry_config.py +47 -0
- capo_codebuild/types/batch_delete_builds_input.py +37 -0
- capo_codebuild/types/batch_delete_builds_output.py +57 -0
- capo_codebuild/types/batch_get_build_batches_input.py +39 -0
- capo_codebuild/types/batch_get_build_batches_output.py +59 -0
- capo_codebuild/types/batch_get_builds_input.py +37 -0
- capo_codebuild/types/batch_get_builds_output.py +53 -0
- capo_codebuild/types/batch_get_command_executions_input.py +55 -0
- capo_codebuild/types/batch_get_command_executions_output.py +63 -0
- capo_codebuild/types/batch_get_fleets_input.py +39 -0
- capo_codebuild/types/batch_get_fleets_output.py +53 -0
- capo_codebuild/types/batch_get_projects_input.py +39 -0
- capo_codebuild/types/batch_get_projects_output.py +55 -0
- capo_codebuild/types/batch_get_report_groups_input.py +45 -0
- capo_codebuild/types/batch_get_report_groups_output.py +59 -0
- capo_codebuild/types/batch_get_reports_input.py +39 -0
- capo_codebuild/types/batch_get_reports_output.py +55 -0
- capo_codebuild/types/batch_get_sandboxes_input.py +37 -0
- capo_codebuild/types/batch_get_sandboxes_output.py +55 -0
- capo_codebuild/types/batch_report_mode_type.py +17 -0
- capo_codebuild/types/batch_restrictions.py +68 -0
- capo_codebuild/types/boolean.py +5 -0
- capo_codebuild/types/bucket_owner_access.py +19 -0
- capo_codebuild/types/build.py +455 -0
- capo_codebuild/types/build_artifacts.py +83 -0
- capo_codebuild/types/build_artifacts_list.py +31 -0
- capo_codebuild/types/build_batch.py +416 -0
- capo_codebuild/types/build_batch_filter.py +36 -0
- capo_codebuild/types/build_batch_ids.py +17 -0
- capo_codebuild/types/build_batch_phase.py +108 -0
- capo_codebuild/types/build_batch_phase_type.py +22 -0
- capo_codebuild/types/build_batch_phases.py +33 -0
- capo_codebuild/types/build_batches.py +29 -0
- capo_codebuild/types/build_group.py +93 -0
- capo_codebuild/types/build_groups.py +29 -0
- capo_codebuild/types/build_ids.py +17 -0
- capo_codebuild/types/build_not_deleted.py +35 -0
- capo_codebuild/types/build_phase.py +104 -0
- capo_codebuild/types/build_phase_type.py +26 -0
- capo_codebuild/types/build_phases.py +29 -0
- capo_codebuild/types/build_report_arns.py +17 -0
- capo_codebuild/types/build_status_config.py +34 -0
- capo_codebuild/types/build_summaries.py +29 -0
- capo_codebuild/types/build_summary.py +100 -0
- capo_codebuild/types/build_time_out.py +5 -0
- capo_codebuild/types/builds.py +29 -0
- capo_codebuild/types/builds_not_deleted.py +33 -0
- capo_codebuild/types/cache_mode.py +18 -0
- capo_codebuild/types/cache_type.py +18 -0
- capo_codebuild/types/cloud_watch_logs_config.py +54 -0
- capo_codebuild/types/code_coverage.py +114 -0
- capo_codebuild/types/code_coverage_report_summary.py +80 -0
- capo_codebuild/types/code_coverages.py +29 -0
- capo_codebuild/types/command_execution.py +149 -0
- capo_codebuild/types/command_execution_ids.py +19 -0
- capo_codebuild/types/command_executions.py +33 -0
- capo_codebuild/types/command_type.py +14 -0
- capo_codebuild/types/compute_configuration.py +64 -0
- capo_codebuild/types/compute_type.py +27 -0
- capo_codebuild/types/compute_types_allowed.py +19 -0
- capo_codebuild/types/create_fleet_input.py +205 -0
- capo_codebuild/types/create_fleet_output.py +34 -0
- capo_codebuild/types/create_project_input.py +314 -0
- capo_codebuild/types/create_project_output.py +36 -0
- capo_codebuild/types/create_report_group_input.py +80 -0
- capo_codebuild/types/create_report_group_output.py +38 -0
- capo_codebuild/types/create_webhook_input.py +123 -0
- capo_codebuild/types/create_webhook_output.py +36 -0
- capo_codebuild/types/credential_provider_type.py +14 -0
- capo_codebuild/types/debug_session.py +35 -0
- capo_codebuild/types/delete_build_batch_input.py +31 -0
- capo_codebuild/types/delete_build_batch_output.py +64 -0
- capo_codebuild/types/delete_fleet_input.py +31 -0
- capo_codebuild/types/delete_fleet_output.py +18 -0
- capo_codebuild/types/delete_project_input.py +31 -0
- capo_codebuild/types/delete_project_output.py +18 -0
- capo_codebuild/types/delete_report_group_input.py +39 -0
- capo_codebuild/types/delete_report_group_output.py +18 -0
- capo_codebuild/types/delete_report_input.py +31 -0
- capo_codebuild/types/delete_report_output.py +18 -0
- capo_codebuild/types/delete_resource_policy_input.py +31 -0
- capo_codebuild/types/delete_resource_policy_output.py +18 -0
- capo_codebuild/types/delete_source_credentials_input.py +31 -0
- capo_codebuild/types/delete_source_credentials_output.py +28 -0
- capo_codebuild/types/delete_webhook_input.py +31 -0
- capo_codebuild/types/delete_webhook_output.py +18 -0
- capo_codebuild/types/describe_code_coverages_input.py +118 -0
- capo_codebuild/types/describe_code_coverages_output.py +47 -0
- capo_codebuild/types/describe_test_cases_input.py +59 -0
- capo_codebuild/types/describe_test_cases_output.py +43 -0
- capo_codebuild/types/docker_server.py +81 -0
- capo_codebuild/types/docker_server_status.py +34 -0
- capo_codebuild/types/environment_image.py +49 -0
- capo_codebuild/types/environment_images.py +33 -0
- capo_codebuild/types/environment_language.py +53 -0
- capo_codebuild/types/environment_languages.py +35 -0
- capo_codebuild/types/environment_platform.py +57 -0
- capo_codebuild/types/environment_platforms.py +35 -0
- capo_codebuild/types/environment_type.py +27 -0
- capo_codebuild/types/environment_variable.py +60 -0
- capo_codebuild/types/environment_variable_type.py +18 -0
- capo_codebuild/types/environment_variables.py +35 -0
- capo_codebuild/types/exported_environment_variable.py +35 -0
- capo_codebuild/types/exported_environment_variables.py +39 -0
- capo_codebuild/types/file_system_type.py +14 -0
- capo_codebuild/types/filter_group.py +29 -0
- capo_codebuild/types/filter_groups.py +29 -0
- capo_codebuild/types/fleet.py +257 -0
- capo_codebuild/types/fleet_arns.py +17 -0
- capo_codebuild/types/fleet_capacity.py +5 -0
- capo_codebuild/types/fleet_context_code.py +20 -0
- capo_codebuild/types/fleet_name.py +5 -0
- capo_codebuild/types/fleet_names.py +17 -0
- capo_codebuild/types/fleet_overflow_behavior.py +17 -0
- capo_codebuild/types/fleet_proxy_rule.py +81 -0
- capo_codebuild/types/fleet_proxy_rule_behavior.py +17 -0
- capo_codebuild/types/fleet_proxy_rule_effect_type.py +17 -0
- capo_codebuild/types/fleet_proxy_rule_entities.py +17 -0
- capo_codebuild/types/fleet_proxy_rule_type.py +17 -0
- capo_codebuild/types/fleet_proxy_rules.py +31 -0
- capo_codebuild/types/fleet_scaling_metric_type.py +14 -0
- capo_codebuild/types/fleet_scaling_type.py +14 -0
- capo_codebuild/types/fleet_sort_by_type.py +18 -0
- capo_codebuild/types/fleet_status.py +64 -0
- capo_codebuild/types/fleet_status_code.py +23 -0
- capo_codebuild/types/fleets.py +29 -0
- capo_codebuild/types/fleets_allowed.py +17 -0
- capo_codebuild/types/get_report_group_trend_input.py +60 -0
- capo_codebuild/types/get_report_group_trend_output.py +63 -0
- capo_codebuild/types/get_resource_policy_input.py +31 -0
- capo_codebuild/types/get_resource_policy_output.py +28 -0
- capo_codebuild/types/git_clone_depth.py +5 -0
- capo_codebuild/types/git_submodules_config.py +31 -0
- capo_codebuild/types/identifiers.py +17 -0
- capo_codebuild/types/image_pull_credentials_type.py +17 -0
- capo_codebuild/types/image_versions.py +17 -0
- capo_codebuild/types/import_source_credentials_input.py +77 -0
- capo_codebuild/types/import_source_credentials_output.py +28 -0
- capo_codebuild/types/invalidate_project_cache_input.py +31 -0
- capo_codebuild/types/invalidate_project_cache_output.py +18 -0
- capo_codebuild/types/key_input.py +5 -0
- capo_codebuild/types/language_type.py +25 -0
- capo_codebuild/types/list_build_batches_for_project_input.py +76 -0
- capo_codebuild/types/list_build_batches_for_project_output.py +43 -0
- capo_codebuild/types/list_build_batches_input.py +69 -0
- capo_codebuild/types/list_build_batches_output.py +43 -0
- capo_codebuild/types/list_builds_for_project_input.py +55 -0
- capo_codebuild/types/list_builds_for_project_output.py +41 -0
- capo_codebuild/types/list_builds_input.py +45 -0
- capo_codebuild/types/list_builds_output.py +41 -0
- capo_codebuild/types/list_command_executions_for_sandbox_input.py +64 -0
- capo_codebuild/types/list_command_executions_for_sandbox_output.py +49 -0
- capo_codebuild/types/list_curated_environment_images_input.py +18 -0
- capo_codebuild/types/list_curated_environment_images_output.py +42 -0
- capo_codebuild/types/list_fleets_input.py +69 -0
- capo_codebuild/types/list_fleets_output.py +43 -0
- capo_codebuild/types/list_projects_input.py +64 -0
- capo_codebuild/types/list_projects_output.py +43 -0
- capo_codebuild/types/list_report_groups_input.py +73 -0
- capo_codebuild/types/list_report_groups_output.py +47 -0
- capo_codebuild/types/list_reports_for_report_group_input.py +78 -0
- capo_codebuild/types/list_reports_for_report_group_output.py +43 -0
- capo_codebuild/types/list_reports_input.py +67 -0
- capo_codebuild/types/list_reports_output.py +43 -0
- capo_codebuild/types/list_sandboxes_for_project_input.py +62 -0
- capo_codebuild/types/list_sandboxes_for_project_output.py +43 -0
- capo_codebuild/types/list_sandboxes_input.py +52 -0
- capo_codebuild/types/list_sandboxes_output.py +43 -0
- capo_codebuild/types/list_shared_projects_input.py +73 -0
- capo_codebuild/types/list_shared_projects_output.py +43 -0
- capo_codebuild/types/list_shared_report_groups_input.py +73 -0
- capo_codebuild/types/list_shared_report_groups_output.py +47 -0
- capo_codebuild/types/list_source_credentials_input.py +18 -0
- capo_codebuild/types/list_source_credentials_output.py +42 -0
- capo_codebuild/types/logs_config.py +57 -0
- capo_codebuild/types/logs_config_status_type.py +17 -0
- capo_codebuild/types/logs_location.py +94 -0
- capo_codebuild/types/machine_type.py +17 -0
- capo_codebuild/types/network_interface.py +36 -0
- capo_codebuild/types/non_empty_string.py +5 -0
- capo_codebuild/types/non_negative_int.py +5 -0
- capo_codebuild/types/page_size.py +5 -0
- capo_codebuild/types/percentage.py +5 -0
- capo_codebuild/types/phase_context.py +34 -0
- capo_codebuild/types/phase_contexts.py +29 -0
- capo_codebuild/types/platform_type.py +19 -0
- capo_codebuild/types/project.py +405 -0
- capo_codebuild/types/project_arns.py +17 -0
- capo_codebuild/types/project_artifacts.py +141 -0
- capo_codebuild/types/project_artifacts_list.py +33 -0
- capo_codebuild/types/project_badge.py +36 -0
- capo_codebuild/types/project_build_batch_config.py +86 -0
- capo_codebuild/types/project_cache.py +67 -0
- capo_codebuild/types/project_cache_modes.py +29 -0
- capo_codebuild/types/project_description.py +5 -0
- capo_codebuild/types/project_environment.py +195 -0
- capo_codebuild/types/project_file_system_location.py +61 -0
- capo_codebuild/types/project_file_system_locations.py +39 -0
- capo_codebuild/types/project_fleet.py +28 -0
- capo_codebuild/types/project_name.py +5 -0
- capo_codebuild/types/project_names.py +17 -0
- capo_codebuild/types/project_secondary_source_versions.py +35 -0
- capo_codebuild/types/project_sort_by_type.py +18 -0
- capo_codebuild/types/project_source.py +135 -0
- capo_codebuild/types/project_source_version.py +38 -0
- capo_codebuild/types/project_sources.py +29 -0
- capo_codebuild/types/project_visibility_type.py +18 -0
- capo_codebuild/types/projects.py +29 -0
- capo_codebuild/types/proxy_configuration.py +63 -0
- capo_codebuild/types/pull_request_build_approver_role.py +29 -0
- capo_codebuild/types/pull_request_build_approver_roles.py +39 -0
- capo_codebuild/types/pull_request_build_comment_approval.py +18 -0
- capo_codebuild/types/pull_request_build_policy.py +66 -0
- capo_codebuild/types/put_resource_policy_input.py +38 -0
- capo_codebuild/types/put_resource_policy_output.py +28 -0
- capo_codebuild/types/registry_credential.py +53 -0
- capo_codebuild/types/report.py +180 -0
- capo_codebuild/types/report_arns.py +17 -0
- capo_codebuild/types/report_code_coverage_sort_by_type.py +17 -0
- capo_codebuild/types/report_export_config.py +63 -0
- capo_codebuild/types/report_export_config_type.py +17 -0
- capo_codebuild/types/report_filter.py +38 -0
- capo_codebuild/types/report_group.py +136 -0
- capo_codebuild/types/report_group_arns.py +19 -0
- capo_codebuild/types/report_group_name.py +5 -0
- capo_codebuild/types/report_group_sort_by_type.py +18 -0
- capo_codebuild/types/report_group_status_type.py +17 -0
- capo_codebuild/types/report_group_trend_field_type.py +24 -0
- capo_codebuild/types/report_group_trend_raw_data_list.py +35 -0
- capo_codebuild/types/report_group_trend_stats.py +40 -0
- capo_codebuild/types/report_groups.py +29 -0
- capo_codebuild/types/report_packaging_type.py +17 -0
- capo_codebuild/types/report_status_counts.py +28 -0
- capo_codebuild/types/report_status_type.py +20 -0
- capo_codebuild/types/report_type.py +17 -0
- capo_codebuild/types/report_with_raw_data.py +35 -0
- capo_codebuild/types/reports.py +29 -0
- capo_codebuild/types/resolved_artifact.py +49 -0
- capo_codebuild/types/resolved_secondary_artifacts.py +33 -0
- capo_codebuild/types/retry_build_batch_input.py +56 -0
- capo_codebuild/types/retry_build_batch_output.py +35 -0
- capo_codebuild/types/retry_build_batch_type.py +17 -0
- capo_codebuild/types/retry_build_input.py +35 -0
- capo_codebuild/types/retry_build_output.py +33 -0
- capo_codebuild/types/s3_logs_config.py +77 -0
- capo_codebuild/types/s3_report_export_config.py +77 -0
- capo_codebuild/types/sandbox.py +267 -0
- capo_codebuild/types/sandbox_ids.py +17 -0
- capo_codebuild/types/sandbox_session.py +133 -0
- capo_codebuild/types/sandbox_session_phase.py +94 -0
- capo_codebuild/types/sandbox_session_phases.py +35 -0
- capo_codebuild/types/sandboxes.py +29 -0
- capo_codebuild/types/scaling_configuration_input.py +70 -0
- capo_codebuild/types/scaling_configuration_output.py +76 -0
- capo_codebuild/types/scope_configuration.py +53 -0
- capo_codebuild/types/security_group_ids.py +19 -0
- capo_codebuild/types/sensitive_non_empty_string.py +5 -0
- capo_codebuild/types/sensitive_string.py +5 -0
- capo_codebuild/types/server_type.py +20 -0
- capo_codebuild/types/shared_resource_sort_by_type.py +17 -0
- capo_codebuild/types/sort_order_type.py +17 -0
- capo_codebuild/types/source_auth.py +46 -0
- capo_codebuild/types/source_auth_type.py +18 -0
- capo_codebuild/types/source_credentials_info.py +65 -0
- capo_codebuild/types/source_credentials_infos.py +35 -0
- capo_codebuild/types/source_type.py +24 -0
- capo_codebuild/types/ssm_session.py +40 -0
- capo_codebuild/types/start_build_batch_input.py +459 -0
- capo_codebuild/types/start_build_batch_output.py +36 -0
- capo_codebuild/types/start_build_input.py +481 -0
- capo_codebuild/types/start_build_output.py +34 -0
- capo_codebuild/types/start_command_execution_input.py +54 -0
- capo_codebuild/types/start_command_execution_output.py +42 -0
- capo_codebuild/types/start_sandbox_connection_input.py +31 -0
- capo_codebuild/types/start_sandbox_connection_output.py +36 -0
- capo_codebuild/types/start_sandbox_input.py +37 -0
- capo_codebuild/types/start_sandbox_output.py +36 -0
- capo_codebuild/types/status_type.py +21 -0
- capo_codebuild/types/stop_build_batch_input.py +31 -0
- capo_codebuild/types/stop_build_batch_output.py +35 -0
- capo_codebuild/types/stop_build_input.py +31 -0
- capo_codebuild/types/stop_build_output.py +34 -0
- capo_codebuild/types/stop_sandbox_input.py +31 -0
- capo_codebuild/types/stop_sandbox_output.py +36 -0
- capo_codebuild/types/string.py +5 -0
- capo_codebuild/types/subnets.py +17 -0
- capo_codebuild/types/tag.py +35 -0
- capo_codebuild/types/tag_list.py +29 -0
- capo_codebuild/types/target_tracking_scaling_configuration.py +57 -0
- capo_codebuild/types/target_tracking_scaling_configurations.py +39 -0
- capo_codebuild/types/test_case.py +89 -0
- capo_codebuild/types/test_case_filter.py +34 -0
- capo_codebuild/types/test_cases.py +29 -0
- capo_codebuild/types/test_report_summary.py +61 -0
- capo_codebuild/types/time_out.py +5 -0
- capo_codebuild/types/timestamp.py +20 -0
- capo_codebuild/types/update_fleet_input.py +203 -0
- capo_codebuild/types/update_fleet_output.py +34 -0
- capo_codebuild/types/update_project_input.py +312 -0
- capo_codebuild/types/update_project_output.py +36 -0
- capo_codebuild/types/update_project_visibility_input.py +62 -0
- capo_codebuild/types/update_project_visibility_output.py +56 -0
- capo_codebuild/types/update_report_group_input.py +67 -0
- capo_codebuild/types/update_report_group_output.py +38 -0
- capo_codebuild/types/update_webhook_input.py +103 -0
- capo_codebuild/types/update_webhook_output.py +36 -0
- capo_codebuild/types/value_input.py +5 -0
- capo_codebuild/types/vpc_config.py +64 -0
- capo_codebuild/types/webhook.py +171 -0
- capo_codebuild/types/webhook_build_type.py +18 -0
- capo_codebuild/types/webhook_filter.py +56 -0
- capo_codebuild/types/webhook_filter_type.py +26 -0
- capo_codebuild/types/webhook_scope_type.py +18 -0
- capo_codebuild/types/webhook_status.py +19 -0
- capo_codebuild/types/wrapper_boolean.py +5 -0
- capo_codebuild/types/wrapper_double.py +5 -0
- capo_codebuild/types/wrapper_int.py +5 -0
- capo_codebuild/types/wrapper_long.py +5 -0
- capo_codebuild-0.1.0.dist-info/METADATA +101 -0
- capo_codebuild-0.1.0.dist-info/RECORD +419 -0
- capo_codebuild-0.1.0.dist-info/WHEEL +5 -0
- capo_codebuild-0.1.0.dist-info/licenses/LICENSE +21 -0
- capo_codebuild-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#CreateReportGroupInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_codebuild.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_codebuild.types.report_export_config
|
|
11
|
+
import capo_codebuild.types.report_group_name
|
|
12
|
+
import capo_codebuild.types.report_type
|
|
13
|
+
import capo_codebuild.types.tag_list
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class CreateReportGroupInput(TypedDict, closed=True):
|
|
17
|
+
name: "capo_codebuild.types.report_group_name.ReportGroupName"
|
|
18
|
+
"""<p> The name of the report group. </p>"""
|
|
19
|
+
type: "capo_codebuild.types.report_type.ReportType"
|
|
20
|
+
"""<p> The type of report group. </p>"""
|
|
21
|
+
export_config: "capo_codebuild.types.report_export_config.ReportExportConfig"
|
|
22
|
+
"""<p> A <code>ReportExportConfig</code> object that contains information about where the report group test results are exported. </p>"""
|
|
23
|
+
tags: NotRequired["capo_codebuild.types.tag_list.TagList"]
|
|
24
|
+
"""<p> A list of tag key and value pairs associated with this report group. </p> <p>These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.</p>"""
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# --- awsJson1_1 ser/de ---
|
|
28
|
+
def serialize_aws_json_1_1(value: CreateReportGroupInput) -> dict:
|
|
29
|
+
out: dict = {}
|
|
30
|
+
out["name"] = value["name"]
|
|
31
|
+
import capo_codebuild.types.report_type
|
|
32
|
+
|
|
33
|
+
out["type"] = capo_codebuild.types.report_type.serialize_aws_json_1_1(value["type"])
|
|
34
|
+
import capo_codebuild.types.report_export_config
|
|
35
|
+
|
|
36
|
+
out["exportConfig"] = (
|
|
37
|
+
capo_codebuild.types.report_export_config.serialize_aws_json_1_1(
|
|
38
|
+
value["export_config"]
|
|
39
|
+
)
|
|
40
|
+
)
|
|
41
|
+
if "tags" in value:
|
|
42
|
+
import capo_codebuild.types.tag_list
|
|
43
|
+
|
|
44
|
+
out["tags"] = capo_codebuild.types.tag_list.serialize_aws_json_1_1(
|
|
45
|
+
value["tags"]
|
|
46
|
+
)
|
|
47
|
+
return out
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def deserialize_aws_json_1_1(data: dict) -> CreateReportGroupInput:
|
|
51
|
+
out: CreateReportGroupInput = {} # type: ignore[typeddict-item]
|
|
52
|
+
if data.get("name") is not None:
|
|
53
|
+
out["name"] = data["name"]
|
|
54
|
+
else:
|
|
55
|
+
raise DeserializationError("CreateReportGroupInput.name required")
|
|
56
|
+
if data.get("type") is not None:
|
|
57
|
+
import capo_codebuild.types.report_type
|
|
58
|
+
|
|
59
|
+
out["type"] = capo_codebuild.types.report_type.deserialize_aws_json_1_1(
|
|
60
|
+
data["type"]
|
|
61
|
+
)
|
|
62
|
+
else:
|
|
63
|
+
raise DeserializationError("CreateReportGroupInput.type required")
|
|
64
|
+
if data.get("exportConfig") is not None:
|
|
65
|
+
import capo_codebuild.types.report_export_config
|
|
66
|
+
|
|
67
|
+
out["export_config"] = (
|
|
68
|
+
capo_codebuild.types.report_export_config.deserialize_aws_json_1_1(
|
|
69
|
+
data["exportConfig"]
|
|
70
|
+
)
|
|
71
|
+
)
|
|
72
|
+
else:
|
|
73
|
+
raise DeserializationError("CreateReportGroupInput.export_config required")
|
|
74
|
+
if data.get("tags") is not None:
|
|
75
|
+
import capo_codebuild.types.tag_list
|
|
76
|
+
|
|
77
|
+
out["tags"] = capo_codebuild.types.tag_list.deserialize_aws_json_1_1(
|
|
78
|
+
data["tags"]
|
|
79
|
+
)
|
|
80
|
+
return out
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#CreateReportGroupOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codebuild.types.report_group
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class CreateReportGroupOutput(TypedDict, closed=True):
|
|
12
|
+
report_group: NotRequired["capo_codebuild.types.report_group.ReportGroup"]
|
|
13
|
+
"""<p> Information about the report group that was created. </p>"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# --- awsJson1_1 ser/de ---
|
|
17
|
+
def serialize_aws_json_1_1(value: CreateReportGroupOutput) -> dict:
|
|
18
|
+
out: dict = {}
|
|
19
|
+
if "report_group" in value:
|
|
20
|
+
import capo_codebuild.types.report_group
|
|
21
|
+
|
|
22
|
+
out["reportGroup"] = capo_codebuild.types.report_group.serialize_aws_json_1_1(
|
|
23
|
+
value["report_group"]
|
|
24
|
+
)
|
|
25
|
+
return out
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def deserialize_aws_json_1_1(data: dict) -> CreateReportGroupOutput:
|
|
29
|
+
out: CreateReportGroupOutput = {} # type: ignore[typeddict-item]
|
|
30
|
+
if data.get("reportGroup") is not None:
|
|
31
|
+
import capo_codebuild.types.report_group
|
|
32
|
+
|
|
33
|
+
out["report_group"] = (
|
|
34
|
+
capo_codebuild.types.report_group.deserialize_aws_json_1_1(
|
|
35
|
+
data["reportGroup"]
|
|
36
|
+
)
|
|
37
|
+
)
|
|
38
|
+
return out
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#CreateWebhookInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_codebuild.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_codebuild.types.filter_groups
|
|
11
|
+
import capo_codebuild.types.project_name
|
|
12
|
+
import capo_codebuild.types.pull_request_build_policy
|
|
13
|
+
import capo_codebuild.types.scope_configuration
|
|
14
|
+
import capo_codebuild.types.string
|
|
15
|
+
import capo_codebuild.types.webhook_build_type
|
|
16
|
+
import capo_codebuild.types.wrapper_boolean
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class CreateWebhookInput(TypedDict, closed=True):
|
|
20
|
+
project_name: "capo_codebuild.types.project_name.ProjectName"
|
|
21
|
+
"""<p>The name of the CodeBuild project.</p>"""
|
|
22
|
+
branch_filter: NotRequired["capo_codebuild.types.string.String"]
|
|
23
|
+
"""<p>A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If <code>branchFilter</code> is empty, then all branches are built.</p> <note> <p>It is recommended that you use <code>filterGroups</code> instead of <code>branchFilter</code>. </p> </note>"""
|
|
24
|
+
filter_groups: NotRequired["capo_codebuild.types.filter_groups.FilterGroups"]
|
|
25
|
+
"""<p>An array of arrays of <code>WebhookFilter</code> objects used to determine which webhooks are triggered. At least one <code>WebhookFilter</code> in the array must specify <code>EVENT</code> as its <code>type</code>. </p> <p>For a build to be triggered, at least one filter group in the <code>filterGroups</code> array must pass. For a filter group to pass, each of its filters must pass. </p>"""
|
|
26
|
+
build_type: NotRequired["capo_codebuild.types.webhook_build_type.WebhookBuildType"]
|
|
27
|
+
r"""<p>Specifies the type of build this webhook will trigger.</p> <note> <p> <code>RUNNER_BUILDKITE_BUILD</code> is only available for <code>NO_SOURCE</code> source type projects configured for Buildkite runner builds. For more information about CodeBuild-hosted Buildkite runner builds, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/sample-runner-buildkite.html\">Tutorial: Configure a CodeBuild-hosted Buildkite runner</a> in the <i>CodeBuild user guide</i>.</p> </note>"""
|
|
28
|
+
manual_creation: NotRequired["capo_codebuild.types.wrapper_boolean.WrapperBoolean"]
|
|
29
|
+
"""<p>If manualCreation is true, CodeBuild doesn't create a webhook in GitHub and instead returns <code>payloadUrl</code> and <code>secret</code> values for the webhook. The <code>payloadUrl</code> and <code>secret</code> values in the output can be used to manually create a webhook within GitHub.</p> <note> <p> <code>manualCreation</code> is only available for GitHub webhooks.</p> </note>"""
|
|
30
|
+
scope_configuration: NotRequired[
|
|
31
|
+
"capo_codebuild.types.scope_configuration.ScopeConfiguration"
|
|
32
|
+
]
|
|
33
|
+
"""<p>The scope configuration for global or organization webhooks.</p> <note> <p>Global or organization webhooks are only available for GitHub and Github Enterprise webhooks.</p> </note>"""
|
|
34
|
+
pull_request_build_policy: NotRequired[
|
|
35
|
+
"capo_codebuild.types.pull_request_build_policy.PullRequestBuildPolicy"
|
|
36
|
+
]
|
|
37
|
+
"""<p>A PullRequestBuildPolicy object that defines comment-based approval requirements for triggering builds on pull requests. This policy helps control when automated builds are executed based on contributor permissions and approval workflows.</p>"""
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# --- awsJson1_1 ser/de ---
|
|
41
|
+
def serialize_aws_json_1_1(value: CreateWebhookInput) -> dict:
|
|
42
|
+
out: dict = {}
|
|
43
|
+
out["projectName"] = value["project_name"]
|
|
44
|
+
if "branch_filter" in value:
|
|
45
|
+
out["branchFilter"] = value["branch_filter"]
|
|
46
|
+
if "filter_groups" in value:
|
|
47
|
+
import capo_codebuild.types.filter_groups
|
|
48
|
+
|
|
49
|
+
out["filterGroups"] = capo_codebuild.types.filter_groups.serialize_aws_json_1_1(
|
|
50
|
+
value["filter_groups"]
|
|
51
|
+
)
|
|
52
|
+
if "build_type" in value:
|
|
53
|
+
import capo_codebuild.types.webhook_build_type
|
|
54
|
+
|
|
55
|
+
out["buildType"] = (
|
|
56
|
+
capo_codebuild.types.webhook_build_type.serialize_aws_json_1_1(
|
|
57
|
+
value["build_type"]
|
|
58
|
+
)
|
|
59
|
+
)
|
|
60
|
+
if "manual_creation" in value:
|
|
61
|
+
out["manualCreation"] = value["manual_creation"]
|
|
62
|
+
if "scope_configuration" in value:
|
|
63
|
+
import capo_codebuild.types.scope_configuration
|
|
64
|
+
|
|
65
|
+
out["scopeConfiguration"] = (
|
|
66
|
+
capo_codebuild.types.scope_configuration.serialize_aws_json_1_1(
|
|
67
|
+
value["scope_configuration"]
|
|
68
|
+
)
|
|
69
|
+
)
|
|
70
|
+
if "pull_request_build_policy" in value:
|
|
71
|
+
import capo_codebuild.types.pull_request_build_policy
|
|
72
|
+
|
|
73
|
+
out["pullRequestBuildPolicy"] = (
|
|
74
|
+
capo_codebuild.types.pull_request_build_policy.serialize_aws_json_1_1(
|
|
75
|
+
value["pull_request_build_policy"]
|
|
76
|
+
)
|
|
77
|
+
)
|
|
78
|
+
return out
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
def deserialize_aws_json_1_1(data: dict) -> CreateWebhookInput:
|
|
82
|
+
out: CreateWebhookInput = {} # type: ignore[typeddict-item]
|
|
83
|
+
if data.get("projectName") is not None:
|
|
84
|
+
out["project_name"] = data["projectName"]
|
|
85
|
+
else:
|
|
86
|
+
raise DeserializationError("CreateWebhookInput.project_name required")
|
|
87
|
+
if data.get("branchFilter") is not None:
|
|
88
|
+
out["branch_filter"] = data["branchFilter"]
|
|
89
|
+
if data.get("filterGroups") is not None:
|
|
90
|
+
import capo_codebuild.types.filter_groups
|
|
91
|
+
|
|
92
|
+
out["filter_groups"] = (
|
|
93
|
+
capo_codebuild.types.filter_groups.deserialize_aws_json_1_1(
|
|
94
|
+
data["filterGroups"]
|
|
95
|
+
)
|
|
96
|
+
)
|
|
97
|
+
if data.get("buildType") is not None:
|
|
98
|
+
import capo_codebuild.types.webhook_build_type
|
|
99
|
+
|
|
100
|
+
out["build_type"] = (
|
|
101
|
+
capo_codebuild.types.webhook_build_type.deserialize_aws_json_1_1(
|
|
102
|
+
data["buildType"]
|
|
103
|
+
)
|
|
104
|
+
)
|
|
105
|
+
if data.get("manualCreation") is not None:
|
|
106
|
+
out["manual_creation"] = data["manualCreation"]
|
|
107
|
+
if data.get("scopeConfiguration") is not None:
|
|
108
|
+
import capo_codebuild.types.scope_configuration
|
|
109
|
+
|
|
110
|
+
out["scope_configuration"] = (
|
|
111
|
+
capo_codebuild.types.scope_configuration.deserialize_aws_json_1_1(
|
|
112
|
+
data["scopeConfiguration"]
|
|
113
|
+
)
|
|
114
|
+
)
|
|
115
|
+
if data.get("pullRequestBuildPolicy") is not None:
|
|
116
|
+
import capo_codebuild.types.pull_request_build_policy
|
|
117
|
+
|
|
118
|
+
out["pull_request_build_policy"] = (
|
|
119
|
+
capo_codebuild.types.pull_request_build_policy.deserialize_aws_json_1_1(
|
|
120
|
+
data["pullRequestBuildPolicy"]
|
|
121
|
+
)
|
|
122
|
+
)
|
|
123
|
+
return out
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#CreateWebhookOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codebuild.types.webhook
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class CreateWebhookOutput(TypedDict, closed=True):
|
|
12
|
+
webhook: NotRequired["capo_codebuild.types.webhook.Webhook"]
|
|
13
|
+
"""<p>Information about a webhook that connects repository events to a build project in CodeBuild.</p>"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# --- awsJson1_1 ser/de ---
|
|
17
|
+
def serialize_aws_json_1_1(value: CreateWebhookOutput) -> dict:
|
|
18
|
+
out: dict = {}
|
|
19
|
+
if "webhook" in value:
|
|
20
|
+
import capo_codebuild.types.webhook
|
|
21
|
+
|
|
22
|
+
out["webhook"] = capo_codebuild.types.webhook.serialize_aws_json_1_1(
|
|
23
|
+
value["webhook"]
|
|
24
|
+
)
|
|
25
|
+
return out
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def deserialize_aws_json_1_1(data: dict) -> CreateWebhookOutput:
|
|
29
|
+
out: CreateWebhookOutput = {} # type: ignore[typeddict-item]
|
|
30
|
+
if data.get("webhook") is not None:
|
|
31
|
+
import capo_codebuild.types.webhook
|
|
32
|
+
|
|
33
|
+
out["webhook"] = capo_codebuild.types.webhook.deserialize_aws_json_1_1(
|
|
34
|
+
data["webhook"]
|
|
35
|
+
)
|
|
36
|
+
return out
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#CredentialProviderType``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
CredentialProviderType: TypeAlias = Literal["SECRETS_MANAGER",]
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# --- awsJson1_1 ser/de ---
|
|
9
|
+
def serialize_aws_json_1_1(value: CredentialProviderType) -> str:
|
|
10
|
+
return value
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def deserialize_aws_json_1_1(data: str) -> CredentialProviderType:
|
|
14
|
+
return cast(CredentialProviderType, data)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#DebugSession``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codebuild.types.non_empty_string
|
|
9
|
+
import capo_codebuild.types.wrapper_boolean
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class DebugSession(TypedDict, closed=True):
|
|
13
|
+
session_enabled: NotRequired["capo_codebuild.types.wrapper_boolean.WrapperBoolean"]
|
|
14
|
+
"""<p>Specifies if session debugging is enabled for this build.</p>"""
|
|
15
|
+
session_target: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
16
|
+
"""<p>Contains the identifier of the Session Manager session used for the build. To work with the paused build, you open this session to examine, control, and resume the build.</p>"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# --- awsJson1_1 ser/de ---
|
|
20
|
+
def serialize_aws_json_1_1(value: DebugSession) -> dict:
|
|
21
|
+
out: dict = {}
|
|
22
|
+
if "session_enabled" in value:
|
|
23
|
+
out["sessionEnabled"] = value["session_enabled"]
|
|
24
|
+
if "session_target" in value:
|
|
25
|
+
out["sessionTarget"] = value["session_target"]
|
|
26
|
+
return out
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def deserialize_aws_json_1_1(data: dict) -> DebugSession:
|
|
30
|
+
out: DebugSession = {} # type: ignore[typeddict-item]
|
|
31
|
+
if data.get("sessionEnabled") is not None:
|
|
32
|
+
out["session_enabled"] = data["sessionEnabled"]
|
|
33
|
+
if data.get("sessionTarget") is not None:
|
|
34
|
+
out["session_target"] = data["sessionTarget"]
|
|
35
|
+
return out
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#DeleteBuildBatchInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_codebuild.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_codebuild.types.non_empty_string
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class DeleteBuildBatchInput(TypedDict, closed=True):
|
|
14
|
+
id: "capo_codebuild.types.non_empty_string.NonEmptyString"
|
|
15
|
+
"""<p>The identifier of the batch build to delete.</p>"""
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# --- awsJson1_1 ser/de ---
|
|
19
|
+
def serialize_aws_json_1_1(value: DeleteBuildBatchInput) -> dict:
|
|
20
|
+
out: dict = {}
|
|
21
|
+
out["id"] = value["id"]
|
|
22
|
+
return out
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def deserialize_aws_json_1_1(data: dict) -> DeleteBuildBatchInput:
|
|
26
|
+
out: DeleteBuildBatchInput = {} # type: ignore[typeddict-item]
|
|
27
|
+
if data.get("id") is not None:
|
|
28
|
+
out["id"] = data["id"]
|
|
29
|
+
else:
|
|
30
|
+
raise DeserializationError("DeleteBuildBatchInput.id required")
|
|
31
|
+
return out
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#DeleteBuildBatchOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codebuild.types.build_ids
|
|
9
|
+
import capo_codebuild.types.builds_not_deleted
|
|
10
|
+
import capo_codebuild.types.string
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class DeleteBuildBatchOutput(TypedDict, closed=True):
|
|
14
|
+
status_code: NotRequired["capo_codebuild.types.string.String"]
|
|
15
|
+
"""<p>The status code.</p>"""
|
|
16
|
+
builds_deleted: NotRequired["capo_codebuild.types.build_ids.BuildIds"]
|
|
17
|
+
"""<p>An array of strings that contain the identifiers of the builds that were deleted.</p>"""
|
|
18
|
+
builds_not_deleted: NotRequired[
|
|
19
|
+
"capo_codebuild.types.builds_not_deleted.BuildsNotDeleted"
|
|
20
|
+
]
|
|
21
|
+
"""<p>An array of <code>BuildNotDeleted</code> objects that specify the builds that could not be deleted.</p>"""
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
# --- awsJson1_1 ser/de ---
|
|
25
|
+
def serialize_aws_json_1_1(value: DeleteBuildBatchOutput) -> dict:
|
|
26
|
+
out: dict = {}
|
|
27
|
+
if "status_code" in value:
|
|
28
|
+
out["statusCode"] = value["status_code"]
|
|
29
|
+
if "builds_deleted" in value:
|
|
30
|
+
import capo_codebuild.types.build_ids
|
|
31
|
+
|
|
32
|
+
out["buildsDeleted"] = capo_codebuild.types.build_ids.serialize_aws_json_1_1(
|
|
33
|
+
value["builds_deleted"]
|
|
34
|
+
)
|
|
35
|
+
if "builds_not_deleted" in value:
|
|
36
|
+
import capo_codebuild.types.builds_not_deleted
|
|
37
|
+
|
|
38
|
+
out["buildsNotDeleted"] = (
|
|
39
|
+
capo_codebuild.types.builds_not_deleted.serialize_aws_json_1_1(
|
|
40
|
+
value["builds_not_deleted"]
|
|
41
|
+
)
|
|
42
|
+
)
|
|
43
|
+
return out
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def deserialize_aws_json_1_1(data: dict) -> DeleteBuildBatchOutput:
|
|
47
|
+
out: DeleteBuildBatchOutput = {} # type: ignore[typeddict-item]
|
|
48
|
+
if data.get("statusCode") is not None:
|
|
49
|
+
out["status_code"] = data["statusCode"]
|
|
50
|
+
if data.get("buildsDeleted") is not None:
|
|
51
|
+
import capo_codebuild.types.build_ids
|
|
52
|
+
|
|
53
|
+
out["builds_deleted"] = capo_codebuild.types.build_ids.deserialize_aws_json_1_1(
|
|
54
|
+
data["buildsDeleted"]
|
|
55
|
+
)
|
|
56
|
+
if data.get("buildsNotDeleted") is not None:
|
|
57
|
+
import capo_codebuild.types.builds_not_deleted
|
|
58
|
+
|
|
59
|
+
out["builds_not_deleted"] = (
|
|
60
|
+
capo_codebuild.types.builds_not_deleted.deserialize_aws_json_1_1(
|
|
61
|
+
data["buildsNotDeleted"]
|
|
62
|
+
)
|
|
63
|
+
)
|
|
64
|
+
return out
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#DeleteFleetInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_codebuild.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_codebuild.types.non_empty_string
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class DeleteFleetInput(TypedDict, closed=True):
|
|
14
|
+
arn: "capo_codebuild.types.non_empty_string.NonEmptyString"
|
|
15
|
+
"""<p>The ARN of the compute fleet.</p>"""
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# --- awsJson1_1 ser/de ---
|
|
19
|
+
def serialize_aws_json_1_1(value: DeleteFleetInput) -> dict:
|
|
20
|
+
out: dict = {}
|
|
21
|
+
out["arn"] = value["arn"]
|
|
22
|
+
return out
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def deserialize_aws_json_1_1(data: dict) -> DeleteFleetInput:
|
|
26
|
+
out: DeleteFleetInput = {} # type: ignore[typeddict-item]
|
|
27
|
+
if data.get("arn") is not None:
|
|
28
|
+
out["arn"] = data["arn"]
|
|
29
|
+
else:
|
|
30
|
+
raise DeserializationError("DeleteFleetInput.arn required")
|
|
31
|
+
return out
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#DeleteFleetOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing_extensions import TypedDict
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class DeleteFleetOutput(TypedDict, closed=True):
|
|
7
|
+
pass
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# --- awsJson1_1 ser/de ---
|
|
11
|
+
def serialize_aws_json_1_1(value: DeleteFleetOutput) -> dict:
|
|
12
|
+
out: dict = {}
|
|
13
|
+
return out
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: dict) -> DeleteFleetOutput:
|
|
17
|
+
out: DeleteFleetOutput = {} # type: ignore[typeddict-item]
|
|
18
|
+
return out
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#DeleteProjectInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_codebuild.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_codebuild.types.non_empty_string
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class DeleteProjectInput(TypedDict, closed=True):
|
|
14
|
+
name: "capo_codebuild.types.non_empty_string.NonEmptyString"
|
|
15
|
+
"""<p>The name of the build project.</p>"""
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# --- awsJson1_1 ser/de ---
|
|
19
|
+
def serialize_aws_json_1_1(value: DeleteProjectInput) -> dict:
|
|
20
|
+
out: dict = {}
|
|
21
|
+
out["name"] = value["name"]
|
|
22
|
+
return out
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def deserialize_aws_json_1_1(data: dict) -> DeleteProjectInput:
|
|
26
|
+
out: DeleteProjectInput = {} # type: ignore[typeddict-item]
|
|
27
|
+
if data.get("name") is not None:
|
|
28
|
+
out["name"] = data["name"]
|
|
29
|
+
else:
|
|
30
|
+
raise DeserializationError("DeleteProjectInput.name required")
|
|
31
|
+
return out
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#DeleteProjectOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing_extensions import TypedDict
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class DeleteProjectOutput(TypedDict, closed=True):
|
|
7
|
+
pass
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# --- awsJson1_1 ser/de ---
|
|
11
|
+
def serialize_aws_json_1_1(value: DeleteProjectOutput) -> dict:
|
|
12
|
+
out: dict = {}
|
|
13
|
+
return out
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: dict) -> DeleteProjectOutput:
|
|
17
|
+
out: DeleteProjectOutput = {} # type: ignore[typeddict-item]
|
|
18
|
+
return out
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#DeleteReportGroupInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_codebuild.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_codebuild.types.boolean
|
|
11
|
+
import capo_codebuild.types.non_empty_string
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class DeleteReportGroupInput(TypedDict, closed=True):
|
|
15
|
+
arn: "capo_codebuild.types.non_empty_string.NonEmptyString"
|
|
16
|
+
"""<p>The ARN of the report group to delete. </p>"""
|
|
17
|
+
delete_reports: "capo_codebuild.types.boolean.Boolean"
|
|
18
|
+
r"""<p>If <code>true</code>, deletes any reports that belong to a report group before deleting the report group. </p> <p>If <code>false</code>, you must delete any reports in the report group. Use <a href=\"https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReportsForReportGroup.html\">ListReportsForReportGroup</a> to get the reports in a report group. Use <a href=\"https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteReport.html\">DeleteReport</a> to delete the reports. If you call <code>DeleteReportGroup</code> for a report group that contains one or more reports, an exception is thrown. </p>"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# --- awsJson1_1 ser/de ---
|
|
22
|
+
def serialize_aws_json_1_1(value: DeleteReportGroupInput) -> dict:
|
|
23
|
+
out: dict = {}
|
|
24
|
+
out["arn"] = value["arn"]
|
|
25
|
+
out["deleteReports"] = value.get("delete_reports", False)
|
|
26
|
+
return out
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def deserialize_aws_json_1_1(data: dict) -> DeleteReportGroupInput:
|
|
30
|
+
out: DeleteReportGroupInput = {} # type: ignore[typeddict-item]
|
|
31
|
+
if data.get("arn") is not None:
|
|
32
|
+
out["arn"] = data["arn"]
|
|
33
|
+
else:
|
|
34
|
+
raise DeserializationError("DeleteReportGroupInput.arn required")
|
|
35
|
+
if data.get("deleteReports") is not None:
|
|
36
|
+
out["delete_reports"] = data["deleteReports"]
|
|
37
|
+
else:
|
|
38
|
+
out["delete_reports"] = False
|
|
39
|
+
return out
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#DeleteReportGroupOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing_extensions import TypedDict
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class DeleteReportGroupOutput(TypedDict, closed=True):
|
|
7
|
+
pass
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# --- awsJson1_1 ser/de ---
|
|
11
|
+
def serialize_aws_json_1_1(value: DeleteReportGroupOutput) -> dict:
|
|
12
|
+
out: dict = {}
|
|
13
|
+
return out
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: dict) -> DeleteReportGroupOutput:
|
|
17
|
+
out: DeleteReportGroupOutput = {} # type: ignore[typeddict-item]
|
|
18
|
+
return out
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#DeleteReportInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_codebuild.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_codebuild.types.non_empty_string
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class DeleteReportInput(TypedDict, closed=True):
|
|
14
|
+
arn: "capo_codebuild.types.non_empty_string.NonEmptyString"
|
|
15
|
+
"""<p> The ARN of the report to delete. </p>"""
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# --- awsJson1_1 ser/de ---
|
|
19
|
+
def serialize_aws_json_1_1(value: DeleteReportInput) -> dict:
|
|
20
|
+
out: dict = {}
|
|
21
|
+
out["arn"] = value["arn"]
|
|
22
|
+
return out
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def deserialize_aws_json_1_1(data: dict) -> DeleteReportInput:
|
|
26
|
+
out: DeleteReportInput = {} # type: ignore[typeddict-item]
|
|
27
|
+
if data.get("arn") is not None:
|
|
28
|
+
out["arn"] = data["arn"]
|
|
29
|
+
else:
|
|
30
|
+
raise DeserializationError("DeleteReportInput.arn required")
|
|
31
|
+
return out
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#DeleteReportOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing_extensions import TypedDict
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class DeleteReportOutput(TypedDict, closed=True):
|
|
7
|
+
pass
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# --- awsJson1_1 ser/de ---
|
|
11
|
+
def serialize_aws_json_1_1(value: DeleteReportOutput) -> dict:
|
|
12
|
+
out: dict = {}
|
|
13
|
+
return out
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: dict) -> DeleteReportOutput:
|
|
17
|
+
out: DeleteReportOutput = {} # type: ignore[typeddict-item]
|
|
18
|
+
return out
|