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,205 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#CreateFleetInput``."""
|
|
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.compute_configuration
|
|
11
|
+
import capo_codebuild.types.compute_type
|
|
12
|
+
import capo_codebuild.types.environment_type
|
|
13
|
+
import capo_codebuild.types.fleet_capacity
|
|
14
|
+
import capo_codebuild.types.fleet_name
|
|
15
|
+
import capo_codebuild.types.fleet_overflow_behavior
|
|
16
|
+
import capo_codebuild.types.non_empty_string
|
|
17
|
+
import capo_codebuild.types.proxy_configuration
|
|
18
|
+
import capo_codebuild.types.scaling_configuration_input
|
|
19
|
+
import capo_codebuild.types.tag_list
|
|
20
|
+
import capo_codebuild.types.vpc_config
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class CreateFleetInput(TypedDict, closed=True):
|
|
24
|
+
name: "capo_codebuild.types.fleet_name.FleetName"
|
|
25
|
+
"""<p>The name of the compute fleet.</p>"""
|
|
26
|
+
base_capacity: "capo_codebuild.types.fleet_capacity.FleetCapacity"
|
|
27
|
+
"""<p>The initial number of machines allocated to the fleet, which defines the number of builds that can run in parallel.</p>"""
|
|
28
|
+
environment_type: "capo_codebuild.types.environment_type.EnvironmentType"
|
|
29
|
+
r"""<p>The environment type of the compute fleet.</p> <ul> <li> <p>The environment type <code>ARM_CONTAINER</code> is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo).</p> </li> <li> <p>The environment type <code>ARM_EC2</code> is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).</p> </li> <li> <p>The environment type <code>LINUX_CONTAINER</code> is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).</p> </li> <li> <p>The environment type <code>LINUX_EC2</code> is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).</p> </li> <li> <p>The environment type <code>LINUX_GPU_CONTAINER</code> is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).</p> </li> <li> <p>The environment type <code>MAC_ARM</code> is available for Medium fleets only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), and EU (Frankfurt)</p> </li> <li> <p>The environment type <code>MAC_ARM</code> is available for Large fleets only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), and Asia Pacific (Sydney).</p> </li> <li> <p>The environment type <code>WINDOWS_EC2</code> is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).</p> </li> <li> <p>The environment type <code>WINDOWS_SERVER_2019_CONTAINER</code> is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland).</p> </li> <li> <p>The environment type <code>WINDOWS_SERVER_2022_CONTAINER</code> is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai).</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html\">Build environment compute types</a> in the <i>CodeBuild user guide</i>.</p>"""
|
|
30
|
+
compute_type: "capo_codebuild.types.compute_type.ComputeType"
|
|
31
|
+
r"""<p>Information about the compute resources the compute fleet uses. Available values include:</p> <ul> <li> <p> <code>ATTRIBUTE_BASED_COMPUTE</code>: Specify the amount of vCPUs, memory, disk space, and the type of machine.</p> <note> <p> If you use <code>ATTRIBUTE_BASED_COMPUTE</code>, you must define your attributes by using <code>computeConfiguration</code>. CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.types\">Reserved capacity environment types</a> in the <i>CodeBuild User Guide</i>.</p> </note> </li> <li> <p> <code>CUSTOM_INSTANCE_TYPE</code>: Specify the instance type for your compute fleet. For a list of supported instance types, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.instance-types\">Supported instance families </a> in the <i>CodeBuild User Guide</i>.</p> </li> <li> <p> <code>BUILD_GENERAL1_SMALL</code>: Use up to 4 GiB memory and 2 vCPUs for builds.</p> </li> <li> <p> <code>BUILD_GENERAL1_MEDIUM</code>: Use up to 8 GiB memory and 4 vCPUs for builds.</p> </li> <li> <p> <code>BUILD_GENERAL1_LARGE</code>: Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type.</p> </li> <li> <p> <code>BUILD_GENERAL1_XLARGE</code>: Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type.</p> </li> <li> <p> <code>BUILD_GENERAL1_2XLARGE</code>: Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.</p> </li> <li> <p> <code>BUILD_LAMBDA_1GB</code>: Use up to 1 GiB memory for builds. Only available for environment type <code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.</p> </li> <li> <p> <code>BUILD_LAMBDA_2GB</code>: Use up to 2 GiB memory for builds. Only available for environment type <code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.</p> </li> <li> <p> <code>BUILD_LAMBDA_4GB</code>: Use up to 4 GiB memory for builds. Only available for environment type <code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.</p> </li> <li> <p> <code>BUILD_LAMBDA_8GB</code>: Use up to 8 GiB memory for builds. Only available for environment type <code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.</p> </li> <li> <p> <code>BUILD_LAMBDA_10GB</code>: Use up to 10 GiB memory for builds. Only available for environment type <code>LINUX_LAMBDA_CONTAINER</code> and <code>ARM_LAMBDA_CONTAINER</code>.</p> </li> </ul> <p> If you use <code>BUILD_GENERAL1_SMALL</code>: </p> <ul> <li> <p> For environment type <code>LINUX_CONTAINER</code>, you can use up to 4 GiB memory and 2 vCPUs for builds. </p> </li> <li> <p> For environment type <code>LINUX_GPU_CONTAINER</code>, you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.</p> </li> <li> <p> For environment type <code>ARM_CONTAINER</code>, you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds.</p> </li> </ul> <p> If you use <code>BUILD_GENERAL1_LARGE</code>: </p> <ul> <li> <p> For environment type <code>LINUX_CONTAINER</code>, you can use up to 16 GiB memory and 8 vCPUs for builds. </p> </li> <li> <p> For environment type <code>LINUX_GPU_CONTAINER</code>, you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.</p> </li> <li> <p> For environment type <code>ARM_CONTAINER</code>, you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types\">On-demand environment types</a> in the <i>CodeBuild User Guide.</i> </p>"""
|
|
32
|
+
compute_configuration: NotRequired[
|
|
33
|
+
"capo_codebuild.types.compute_configuration.ComputeConfiguration"
|
|
34
|
+
]
|
|
35
|
+
"""<p>The compute configuration of the compute fleet. This is only required if <code>computeType</code> is set to <code>ATTRIBUTE_BASED_COMPUTE</code> or <code>CUSTOM_INSTANCE_TYPE</code>.</p>"""
|
|
36
|
+
scaling_configuration: NotRequired[
|
|
37
|
+
"capo_codebuild.types.scaling_configuration_input.ScalingConfigurationInput"
|
|
38
|
+
]
|
|
39
|
+
"""<p>The scaling configuration of the compute fleet.</p>"""
|
|
40
|
+
overflow_behavior: NotRequired[
|
|
41
|
+
"capo_codebuild.types.fleet_overflow_behavior.FleetOverflowBehavior"
|
|
42
|
+
]
|
|
43
|
+
r"""<p>The compute fleet overflow behavior.</p> <ul> <li> <p>For overflow behavior <code>QUEUE</code>, your overflow builds need to wait on the existing fleet instance to become available.</p> </li> <li> <p>For overflow behavior <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p> <note> <p>If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface\">Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface</a>.</p> </note> </li> </ul>"""
|
|
44
|
+
vpc_config: NotRequired["capo_codebuild.types.vpc_config.VpcConfig"]
|
|
45
|
+
proxy_configuration: NotRequired[
|
|
46
|
+
"capo_codebuild.types.proxy_configuration.ProxyConfiguration"
|
|
47
|
+
]
|
|
48
|
+
"""<p>The proxy configuration of the compute fleet.</p>"""
|
|
49
|
+
image_id: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
50
|
+
"""<p>The Amazon Machine Image (AMI) of the compute fleet.</p>"""
|
|
51
|
+
fleet_service_role: NotRequired[
|
|
52
|
+
"capo_codebuild.types.non_empty_string.NonEmptyString"
|
|
53
|
+
]
|
|
54
|
+
r"""<p>The service role associated with the compute fleet. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html\"> Allow a user to add a permission policy for a fleet service role</a> in the <i>CodeBuild User Guide</i>.</p>"""
|
|
55
|
+
tags: NotRequired["capo_codebuild.types.tag_list.TagList"]
|
|
56
|
+
"""<p>A list of tag key and value pairs associated with this compute fleet.</p> <p>These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.</p>"""
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
# --- awsJson1_1 ser/de ---
|
|
60
|
+
def serialize_aws_json_1_1(value: CreateFleetInput) -> dict:
|
|
61
|
+
out: dict = {}
|
|
62
|
+
out["name"] = value["name"]
|
|
63
|
+
out["baseCapacity"] = value["base_capacity"]
|
|
64
|
+
import capo_codebuild.types.environment_type
|
|
65
|
+
|
|
66
|
+
out["environmentType"] = (
|
|
67
|
+
capo_codebuild.types.environment_type.serialize_aws_json_1_1(
|
|
68
|
+
value["environment_type"]
|
|
69
|
+
)
|
|
70
|
+
)
|
|
71
|
+
import capo_codebuild.types.compute_type
|
|
72
|
+
|
|
73
|
+
out["computeType"] = capo_codebuild.types.compute_type.serialize_aws_json_1_1(
|
|
74
|
+
value["compute_type"]
|
|
75
|
+
)
|
|
76
|
+
if "compute_configuration" in value:
|
|
77
|
+
import capo_codebuild.types.compute_configuration
|
|
78
|
+
|
|
79
|
+
out["computeConfiguration"] = (
|
|
80
|
+
capo_codebuild.types.compute_configuration.serialize_aws_json_1_1(
|
|
81
|
+
value["compute_configuration"]
|
|
82
|
+
)
|
|
83
|
+
)
|
|
84
|
+
if "scaling_configuration" in value:
|
|
85
|
+
import capo_codebuild.types.scaling_configuration_input
|
|
86
|
+
|
|
87
|
+
out["scalingConfiguration"] = (
|
|
88
|
+
capo_codebuild.types.scaling_configuration_input.serialize_aws_json_1_1(
|
|
89
|
+
value["scaling_configuration"]
|
|
90
|
+
)
|
|
91
|
+
)
|
|
92
|
+
if "overflow_behavior" in value:
|
|
93
|
+
import capo_codebuild.types.fleet_overflow_behavior
|
|
94
|
+
|
|
95
|
+
out["overflowBehavior"] = (
|
|
96
|
+
capo_codebuild.types.fleet_overflow_behavior.serialize_aws_json_1_1(
|
|
97
|
+
value["overflow_behavior"]
|
|
98
|
+
)
|
|
99
|
+
)
|
|
100
|
+
if "vpc_config" in value:
|
|
101
|
+
import capo_codebuild.types.vpc_config
|
|
102
|
+
|
|
103
|
+
out["vpcConfig"] = capo_codebuild.types.vpc_config.serialize_aws_json_1_1(
|
|
104
|
+
value["vpc_config"]
|
|
105
|
+
)
|
|
106
|
+
if "proxy_configuration" in value:
|
|
107
|
+
import capo_codebuild.types.proxy_configuration
|
|
108
|
+
|
|
109
|
+
out["proxyConfiguration"] = (
|
|
110
|
+
capo_codebuild.types.proxy_configuration.serialize_aws_json_1_1(
|
|
111
|
+
value["proxy_configuration"]
|
|
112
|
+
)
|
|
113
|
+
)
|
|
114
|
+
if "image_id" in value:
|
|
115
|
+
out["imageId"] = value["image_id"]
|
|
116
|
+
if "fleet_service_role" in value:
|
|
117
|
+
out["fleetServiceRole"] = value["fleet_service_role"]
|
|
118
|
+
if "tags" in value:
|
|
119
|
+
import capo_codebuild.types.tag_list
|
|
120
|
+
|
|
121
|
+
out["tags"] = capo_codebuild.types.tag_list.serialize_aws_json_1_1(
|
|
122
|
+
value["tags"]
|
|
123
|
+
)
|
|
124
|
+
return out
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
def deserialize_aws_json_1_1(data: dict) -> CreateFleetInput:
|
|
128
|
+
out: CreateFleetInput = {} # type: ignore[typeddict-item]
|
|
129
|
+
if data.get("name") is not None:
|
|
130
|
+
out["name"] = data["name"]
|
|
131
|
+
else:
|
|
132
|
+
raise DeserializationError("CreateFleetInput.name required")
|
|
133
|
+
if data.get("baseCapacity") is not None:
|
|
134
|
+
out["base_capacity"] = data["baseCapacity"]
|
|
135
|
+
else:
|
|
136
|
+
raise DeserializationError("CreateFleetInput.base_capacity required")
|
|
137
|
+
if data.get("environmentType") is not None:
|
|
138
|
+
import capo_codebuild.types.environment_type
|
|
139
|
+
|
|
140
|
+
out["environment_type"] = (
|
|
141
|
+
capo_codebuild.types.environment_type.deserialize_aws_json_1_1(
|
|
142
|
+
data["environmentType"]
|
|
143
|
+
)
|
|
144
|
+
)
|
|
145
|
+
else:
|
|
146
|
+
raise DeserializationError("CreateFleetInput.environment_type required")
|
|
147
|
+
if data.get("computeType") is not None:
|
|
148
|
+
import capo_codebuild.types.compute_type
|
|
149
|
+
|
|
150
|
+
out["compute_type"] = (
|
|
151
|
+
capo_codebuild.types.compute_type.deserialize_aws_json_1_1(
|
|
152
|
+
data["computeType"]
|
|
153
|
+
)
|
|
154
|
+
)
|
|
155
|
+
else:
|
|
156
|
+
raise DeserializationError("CreateFleetInput.compute_type required")
|
|
157
|
+
if data.get("computeConfiguration") is not None:
|
|
158
|
+
import capo_codebuild.types.compute_configuration
|
|
159
|
+
|
|
160
|
+
out["compute_configuration"] = (
|
|
161
|
+
capo_codebuild.types.compute_configuration.deserialize_aws_json_1_1(
|
|
162
|
+
data["computeConfiguration"]
|
|
163
|
+
)
|
|
164
|
+
)
|
|
165
|
+
if data.get("scalingConfiguration") is not None:
|
|
166
|
+
import capo_codebuild.types.scaling_configuration_input
|
|
167
|
+
|
|
168
|
+
out["scaling_configuration"] = (
|
|
169
|
+
capo_codebuild.types.scaling_configuration_input.deserialize_aws_json_1_1(
|
|
170
|
+
data["scalingConfiguration"]
|
|
171
|
+
)
|
|
172
|
+
)
|
|
173
|
+
if data.get("overflowBehavior") is not None:
|
|
174
|
+
import capo_codebuild.types.fleet_overflow_behavior
|
|
175
|
+
|
|
176
|
+
out["overflow_behavior"] = (
|
|
177
|
+
capo_codebuild.types.fleet_overflow_behavior.deserialize_aws_json_1_1(
|
|
178
|
+
data["overflowBehavior"]
|
|
179
|
+
)
|
|
180
|
+
)
|
|
181
|
+
if data.get("vpcConfig") is not None:
|
|
182
|
+
import capo_codebuild.types.vpc_config
|
|
183
|
+
|
|
184
|
+
out["vpc_config"] = capo_codebuild.types.vpc_config.deserialize_aws_json_1_1(
|
|
185
|
+
data["vpcConfig"]
|
|
186
|
+
)
|
|
187
|
+
if data.get("proxyConfiguration") is not None:
|
|
188
|
+
import capo_codebuild.types.proxy_configuration
|
|
189
|
+
|
|
190
|
+
out["proxy_configuration"] = (
|
|
191
|
+
capo_codebuild.types.proxy_configuration.deserialize_aws_json_1_1(
|
|
192
|
+
data["proxyConfiguration"]
|
|
193
|
+
)
|
|
194
|
+
)
|
|
195
|
+
if data.get("imageId") is not None:
|
|
196
|
+
out["image_id"] = data["imageId"]
|
|
197
|
+
if data.get("fleetServiceRole") is not None:
|
|
198
|
+
out["fleet_service_role"] = data["fleetServiceRole"]
|
|
199
|
+
if data.get("tags") is not None:
|
|
200
|
+
import capo_codebuild.types.tag_list
|
|
201
|
+
|
|
202
|
+
out["tags"] = capo_codebuild.types.tag_list.deserialize_aws_json_1_1(
|
|
203
|
+
data["tags"]
|
|
204
|
+
)
|
|
205
|
+
return out
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#CreateFleetOutput``."""
|
|
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.fleet
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class CreateFleetOutput(TypedDict, closed=True):
|
|
12
|
+
fleet: NotRequired["capo_codebuild.types.fleet.Fleet"]
|
|
13
|
+
"""<p>Information about the compute fleet</p>"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# --- awsJson1_1 ser/de ---
|
|
17
|
+
def serialize_aws_json_1_1(value: CreateFleetOutput) -> dict:
|
|
18
|
+
out: dict = {}
|
|
19
|
+
if "fleet" in value:
|
|
20
|
+
import capo_codebuild.types.fleet
|
|
21
|
+
|
|
22
|
+
out["fleet"] = capo_codebuild.types.fleet.serialize_aws_json_1_1(value["fleet"])
|
|
23
|
+
return out
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def deserialize_aws_json_1_1(data: dict) -> CreateFleetOutput:
|
|
27
|
+
out: CreateFleetOutput = {} # type: ignore[typeddict-item]
|
|
28
|
+
if data.get("fleet") is not None:
|
|
29
|
+
import capo_codebuild.types.fleet
|
|
30
|
+
|
|
31
|
+
out["fleet"] = capo_codebuild.types.fleet.deserialize_aws_json_1_1(
|
|
32
|
+
data["fleet"]
|
|
33
|
+
)
|
|
34
|
+
return out
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#CreateProjectInput``."""
|
|
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.build_time_out
|
|
11
|
+
import capo_codebuild.types.logs_config
|
|
12
|
+
import capo_codebuild.types.non_empty_string
|
|
13
|
+
import capo_codebuild.types.project_artifacts
|
|
14
|
+
import capo_codebuild.types.project_artifacts_list
|
|
15
|
+
import capo_codebuild.types.project_build_batch_config
|
|
16
|
+
import capo_codebuild.types.project_cache
|
|
17
|
+
import capo_codebuild.types.project_description
|
|
18
|
+
import capo_codebuild.types.project_environment
|
|
19
|
+
import capo_codebuild.types.project_file_system_locations
|
|
20
|
+
import capo_codebuild.types.project_name
|
|
21
|
+
import capo_codebuild.types.project_secondary_source_versions
|
|
22
|
+
import capo_codebuild.types.project_source
|
|
23
|
+
import capo_codebuild.types.project_sources
|
|
24
|
+
import capo_codebuild.types.string
|
|
25
|
+
import capo_codebuild.types.tag_list
|
|
26
|
+
import capo_codebuild.types.time_out
|
|
27
|
+
import capo_codebuild.types.vpc_config
|
|
28
|
+
import capo_codebuild.types.wrapper_boolean
|
|
29
|
+
import capo_codebuild.types.wrapper_int
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class CreateProjectInput(TypedDict, closed=True):
|
|
33
|
+
name: "capo_codebuild.types.project_name.ProjectName"
|
|
34
|
+
"""<p>The name of the build project.</p>"""
|
|
35
|
+
description: NotRequired[
|
|
36
|
+
"capo_codebuild.types.project_description.ProjectDescription"
|
|
37
|
+
]
|
|
38
|
+
"""<p>A description that makes the build project easy to identify.</p>"""
|
|
39
|
+
source: "capo_codebuild.types.project_source.ProjectSource"
|
|
40
|
+
"""<p>Information about the build input source code for the build project.</p>"""
|
|
41
|
+
secondary_sources: NotRequired[
|
|
42
|
+
"capo_codebuild.types.project_sources.ProjectSources"
|
|
43
|
+
]
|
|
44
|
+
"""<p>An array of <code>ProjectSource</code> objects. </p>"""
|
|
45
|
+
source_version: NotRequired["capo_codebuild.types.string.String"]
|
|
46
|
+
r"""<p>A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of: </p> <ul> <li> <p>For CodeCommit: the commit ID, branch, or Git tag to use.</p> </li> <li> <p>For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format <code>pr/pull-request-ID</code> (for example <code>pr/25</code>). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.</p> </li> <li> <p>For GitLab: the commit ID, branch, or Git tag to use.</p> </li> <li> <p>For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.</p> </li> <li> <p>For Amazon S3: the version ID of the object that represents the build input ZIP file to use.</p> </li> </ul> <p>If <code>sourceVersion</code> is specified at the build level, then that version takes precedence over this <code>sourceVersion</code> (at the project level). </p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html\">Source Version Sample with CodeBuild</a> in the <i>CodeBuild User Guide</i>. </p>"""
|
|
47
|
+
secondary_source_versions: NotRequired[
|
|
48
|
+
"capo_codebuild.types.project_secondary_source_versions.ProjectSecondarySourceVersions"
|
|
49
|
+
]
|
|
50
|
+
"""<p>An array of <code>ProjectSourceVersion</code> objects. If <code>secondarySourceVersions</code> is specified at the build level, then they take precedence over these <code>secondarySourceVersions</code> (at the project level). </p>"""
|
|
51
|
+
artifacts: "capo_codebuild.types.project_artifacts.ProjectArtifacts"
|
|
52
|
+
"""<p>Information about the build output artifacts for the build project.</p>"""
|
|
53
|
+
secondary_artifacts: NotRequired[
|
|
54
|
+
"capo_codebuild.types.project_artifacts_list.ProjectArtifactsList"
|
|
55
|
+
]
|
|
56
|
+
"""<p>An array of <code>ProjectArtifacts</code> objects. </p>"""
|
|
57
|
+
cache: NotRequired["capo_codebuild.types.project_cache.ProjectCache"]
|
|
58
|
+
"""<p>Stores recently used information so that it can be quickly accessed at a later time.</p>"""
|
|
59
|
+
environment: "capo_codebuild.types.project_environment.ProjectEnvironment"
|
|
60
|
+
"""<p>Information about the build environment for the build project.</p>"""
|
|
61
|
+
service_role: "capo_codebuild.types.non_empty_string.NonEmptyString"
|
|
62
|
+
"""<p>The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.</p>"""
|
|
63
|
+
timeout_in_minutes: NotRequired["capo_codebuild.types.build_time_out.BuildTimeOut"]
|
|
64
|
+
"""<p>How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before it times out any build that has not been marked as completed. The default is 60 minutes.</p>"""
|
|
65
|
+
queued_timeout_in_minutes: NotRequired["capo_codebuild.types.time_out.TimeOut"]
|
|
66
|
+
"""<p>The number of minutes a build is allowed to be queued before it times out. </p>"""
|
|
67
|
+
encryption_key: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
68
|
+
"""<p>The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.</p> <note> <p>You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. </p> </note> <p>You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format <code>alias/<alias-name></code>). </p>"""
|
|
69
|
+
tags: NotRequired["capo_codebuild.types.tag_list.TagList"]
|
|
70
|
+
"""<p>A list of tag key and value pairs associated with this build project.</p> <p>These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.</p>"""
|
|
71
|
+
vpc_config: NotRequired["capo_codebuild.types.vpc_config.VpcConfig"]
|
|
72
|
+
"""<p>VpcConfig enables CodeBuild to access resources in an Amazon VPC.</p> <note> <p>If you're using compute fleets during project creation, do not provide vpcConfig.</p> </note>"""
|
|
73
|
+
badge_enabled: NotRequired["capo_codebuild.types.wrapper_boolean.WrapperBoolean"]
|
|
74
|
+
"""<p>Set this to true to generate a publicly accessible URL for your project's build badge.</p>"""
|
|
75
|
+
logs_config: NotRequired["capo_codebuild.types.logs_config.LogsConfig"]
|
|
76
|
+
"""<p>Information about logs for the build project. These can be logs in CloudWatch Logs, logs uploaded to a specified S3 bucket, or both. </p>"""
|
|
77
|
+
file_system_locations: NotRequired[
|
|
78
|
+
"capo_codebuild.types.project_file_system_locations.ProjectFileSystemLocations"
|
|
79
|
+
]
|
|
80
|
+
"""<p> An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild build project. A <code>ProjectFileSystemLocation</code> object specifies the <code>identifier</code>, <code>location</code>, <code>mountOptions</code>, <code>mountPoint</code>, and <code>type</code> of a file system created using Amazon Elastic File System. </p>"""
|
|
81
|
+
build_batch_config: NotRequired[
|
|
82
|
+
"capo_codebuild.types.project_build_batch_config.ProjectBuildBatchConfig"
|
|
83
|
+
]
|
|
84
|
+
"""<p>A <a>ProjectBuildBatchConfig</a> object that defines the batch build options for the project.</p>"""
|
|
85
|
+
concurrent_build_limit: NotRequired["capo_codebuild.types.wrapper_int.WrapperInt"]
|
|
86
|
+
"""<p>The maximum number of concurrent builds that are allowed for this project.</p> <p>New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.</p>"""
|
|
87
|
+
auto_retry_limit: NotRequired["capo_codebuild.types.wrapper_int.WrapperInt"]
|
|
88
|
+
"""<p>The maximum number of additional automatic retries after a failed build. For example, if the auto-retry limit is set to 2, CodeBuild will call the <code>RetryBuild</code> API to automatically retry your build for up to 2 additional times.</p>"""
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
# --- awsJson1_1 ser/de ---
|
|
92
|
+
def serialize_aws_json_1_1(value: CreateProjectInput) -> dict:
|
|
93
|
+
out: dict = {}
|
|
94
|
+
out["name"] = value["name"]
|
|
95
|
+
if "description" in value:
|
|
96
|
+
out["description"] = value["description"]
|
|
97
|
+
import capo_codebuild.types.project_source
|
|
98
|
+
|
|
99
|
+
out["source"] = capo_codebuild.types.project_source.serialize_aws_json_1_1(
|
|
100
|
+
value["source"]
|
|
101
|
+
)
|
|
102
|
+
if "secondary_sources" in value:
|
|
103
|
+
import capo_codebuild.types.project_sources
|
|
104
|
+
|
|
105
|
+
out["secondarySources"] = (
|
|
106
|
+
capo_codebuild.types.project_sources.serialize_aws_json_1_1(
|
|
107
|
+
value["secondary_sources"]
|
|
108
|
+
)
|
|
109
|
+
)
|
|
110
|
+
if "source_version" in value:
|
|
111
|
+
out["sourceVersion"] = value["source_version"]
|
|
112
|
+
if "secondary_source_versions" in value:
|
|
113
|
+
import capo_codebuild.types.project_secondary_source_versions
|
|
114
|
+
|
|
115
|
+
out["secondarySourceVersions"] = (
|
|
116
|
+
capo_codebuild.types.project_secondary_source_versions.serialize_aws_json_1_1(
|
|
117
|
+
value["secondary_source_versions"]
|
|
118
|
+
)
|
|
119
|
+
)
|
|
120
|
+
import capo_codebuild.types.project_artifacts
|
|
121
|
+
|
|
122
|
+
out["artifacts"] = capo_codebuild.types.project_artifacts.serialize_aws_json_1_1(
|
|
123
|
+
value["artifacts"]
|
|
124
|
+
)
|
|
125
|
+
if "secondary_artifacts" in value:
|
|
126
|
+
import capo_codebuild.types.project_artifacts_list
|
|
127
|
+
|
|
128
|
+
out["secondaryArtifacts"] = (
|
|
129
|
+
capo_codebuild.types.project_artifacts_list.serialize_aws_json_1_1(
|
|
130
|
+
value["secondary_artifacts"]
|
|
131
|
+
)
|
|
132
|
+
)
|
|
133
|
+
if "cache" in value:
|
|
134
|
+
import capo_codebuild.types.project_cache
|
|
135
|
+
|
|
136
|
+
out["cache"] = capo_codebuild.types.project_cache.serialize_aws_json_1_1(
|
|
137
|
+
value["cache"]
|
|
138
|
+
)
|
|
139
|
+
import capo_codebuild.types.project_environment
|
|
140
|
+
|
|
141
|
+
out["environment"] = (
|
|
142
|
+
capo_codebuild.types.project_environment.serialize_aws_json_1_1(
|
|
143
|
+
value["environment"]
|
|
144
|
+
)
|
|
145
|
+
)
|
|
146
|
+
out["serviceRole"] = value["service_role"]
|
|
147
|
+
if "timeout_in_minutes" in value:
|
|
148
|
+
out["timeoutInMinutes"] = value["timeout_in_minutes"]
|
|
149
|
+
if "queued_timeout_in_minutes" in value:
|
|
150
|
+
out["queuedTimeoutInMinutes"] = value["queued_timeout_in_minutes"]
|
|
151
|
+
if "encryption_key" in value:
|
|
152
|
+
out["encryptionKey"] = value["encryption_key"]
|
|
153
|
+
if "tags" in value:
|
|
154
|
+
import capo_codebuild.types.tag_list
|
|
155
|
+
|
|
156
|
+
out["tags"] = capo_codebuild.types.tag_list.serialize_aws_json_1_1(
|
|
157
|
+
value["tags"]
|
|
158
|
+
)
|
|
159
|
+
if "vpc_config" in value:
|
|
160
|
+
import capo_codebuild.types.vpc_config
|
|
161
|
+
|
|
162
|
+
out["vpcConfig"] = capo_codebuild.types.vpc_config.serialize_aws_json_1_1(
|
|
163
|
+
value["vpc_config"]
|
|
164
|
+
)
|
|
165
|
+
if "badge_enabled" in value:
|
|
166
|
+
out["badgeEnabled"] = value["badge_enabled"]
|
|
167
|
+
if "logs_config" in value:
|
|
168
|
+
import capo_codebuild.types.logs_config
|
|
169
|
+
|
|
170
|
+
out["logsConfig"] = capo_codebuild.types.logs_config.serialize_aws_json_1_1(
|
|
171
|
+
value["logs_config"]
|
|
172
|
+
)
|
|
173
|
+
if "file_system_locations" in value:
|
|
174
|
+
import capo_codebuild.types.project_file_system_locations
|
|
175
|
+
|
|
176
|
+
out["fileSystemLocations"] = (
|
|
177
|
+
capo_codebuild.types.project_file_system_locations.serialize_aws_json_1_1(
|
|
178
|
+
value["file_system_locations"]
|
|
179
|
+
)
|
|
180
|
+
)
|
|
181
|
+
if "build_batch_config" in value:
|
|
182
|
+
import capo_codebuild.types.project_build_batch_config
|
|
183
|
+
|
|
184
|
+
out["buildBatchConfig"] = (
|
|
185
|
+
capo_codebuild.types.project_build_batch_config.serialize_aws_json_1_1(
|
|
186
|
+
value["build_batch_config"]
|
|
187
|
+
)
|
|
188
|
+
)
|
|
189
|
+
if "concurrent_build_limit" in value:
|
|
190
|
+
out["concurrentBuildLimit"] = value["concurrent_build_limit"]
|
|
191
|
+
if "auto_retry_limit" in value:
|
|
192
|
+
out["autoRetryLimit"] = value["auto_retry_limit"]
|
|
193
|
+
return out
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
def deserialize_aws_json_1_1(data: dict) -> CreateProjectInput:
|
|
197
|
+
out: CreateProjectInput = {} # type: ignore[typeddict-item]
|
|
198
|
+
if data.get("name") is not None:
|
|
199
|
+
out["name"] = data["name"]
|
|
200
|
+
else:
|
|
201
|
+
raise DeserializationError("CreateProjectInput.name required")
|
|
202
|
+
if data.get("description") is not None:
|
|
203
|
+
out["description"] = data["description"]
|
|
204
|
+
if data.get("source") is not None:
|
|
205
|
+
import capo_codebuild.types.project_source
|
|
206
|
+
|
|
207
|
+
out["source"] = capo_codebuild.types.project_source.deserialize_aws_json_1_1(
|
|
208
|
+
data["source"]
|
|
209
|
+
)
|
|
210
|
+
else:
|
|
211
|
+
raise DeserializationError("CreateProjectInput.source required")
|
|
212
|
+
if data.get("secondarySources") is not None:
|
|
213
|
+
import capo_codebuild.types.project_sources
|
|
214
|
+
|
|
215
|
+
out["secondary_sources"] = (
|
|
216
|
+
capo_codebuild.types.project_sources.deserialize_aws_json_1_1(
|
|
217
|
+
data["secondarySources"]
|
|
218
|
+
)
|
|
219
|
+
)
|
|
220
|
+
if data.get("sourceVersion") is not None:
|
|
221
|
+
out["source_version"] = data["sourceVersion"]
|
|
222
|
+
if data.get("secondarySourceVersions") is not None:
|
|
223
|
+
import capo_codebuild.types.project_secondary_source_versions
|
|
224
|
+
|
|
225
|
+
out["secondary_source_versions"] = (
|
|
226
|
+
capo_codebuild.types.project_secondary_source_versions.deserialize_aws_json_1_1(
|
|
227
|
+
data["secondarySourceVersions"]
|
|
228
|
+
)
|
|
229
|
+
)
|
|
230
|
+
if data.get("artifacts") is not None:
|
|
231
|
+
import capo_codebuild.types.project_artifacts
|
|
232
|
+
|
|
233
|
+
out["artifacts"] = (
|
|
234
|
+
capo_codebuild.types.project_artifacts.deserialize_aws_json_1_1(
|
|
235
|
+
data["artifacts"]
|
|
236
|
+
)
|
|
237
|
+
)
|
|
238
|
+
else:
|
|
239
|
+
raise DeserializationError("CreateProjectInput.artifacts required")
|
|
240
|
+
if data.get("secondaryArtifacts") is not None:
|
|
241
|
+
import capo_codebuild.types.project_artifacts_list
|
|
242
|
+
|
|
243
|
+
out["secondary_artifacts"] = (
|
|
244
|
+
capo_codebuild.types.project_artifacts_list.deserialize_aws_json_1_1(
|
|
245
|
+
data["secondaryArtifacts"]
|
|
246
|
+
)
|
|
247
|
+
)
|
|
248
|
+
if data.get("cache") is not None:
|
|
249
|
+
import capo_codebuild.types.project_cache
|
|
250
|
+
|
|
251
|
+
out["cache"] = capo_codebuild.types.project_cache.deserialize_aws_json_1_1(
|
|
252
|
+
data["cache"]
|
|
253
|
+
)
|
|
254
|
+
if data.get("environment") is not None:
|
|
255
|
+
import capo_codebuild.types.project_environment
|
|
256
|
+
|
|
257
|
+
out["environment"] = (
|
|
258
|
+
capo_codebuild.types.project_environment.deserialize_aws_json_1_1(
|
|
259
|
+
data["environment"]
|
|
260
|
+
)
|
|
261
|
+
)
|
|
262
|
+
else:
|
|
263
|
+
raise DeserializationError("CreateProjectInput.environment required")
|
|
264
|
+
if data.get("serviceRole") is not None:
|
|
265
|
+
out["service_role"] = data["serviceRole"]
|
|
266
|
+
else:
|
|
267
|
+
raise DeserializationError("CreateProjectInput.service_role required")
|
|
268
|
+
if data.get("timeoutInMinutes") is not None:
|
|
269
|
+
out["timeout_in_minutes"] = data["timeoutInMinutes"]
|
|
270
|
+
if data.get("queuedTimeoutInMinutes") is not None:
|
|
271
|
+
out["queued_timeout_in_minutes"] = data["queuedTimeoutInMinutes"]
|
|
272
|
+
if data.get("encryptionKey") is not None:
|
|
273
|
+
out["encryption_key"] = data["encryptionKey"]
|
|
274
|
+
if data.get("tags") is not None:
|
|
275
|
+
import capo_codebuild.types.tag_list
|
|
276
|
+
|
|
277
|
+
out["tags"] = capo_codebuild.types.tag_list.deserialize_aws_json_1_1(
|
|
278
|
+
data["tags"]
|
|
279
|
+
)
|
|
280
|
+
if data.get("vpcConfig") is not None:
|
|
281
|
+
import capo_codebuild.types.vpc_config
|
|
282
|
+
|
|
283
|
+
out["vpc_config"] = capo_codebuild.types.vpc_config.deserialize_aws_json_1_1(
|
|
284
|
+
data["vpcConfig"]
|
|
285
|
+
)
|
|
286
|
+
if data.get("badgeEnabled") is not None:
|
|
287
|
+
out["badge_enabled"] = data["badgeEnabled"]
|
|
288
|
+
if data.get("logsConfig") is not None:
|
|
289
|
+
import capo_codebuild.types.logs_config
|
|
290
|
+
|
|
291
|
+
out["logs_config"] = capo_codebuild.types.logs_config.deserialize_aws_json_1_1(
|
|
292
|
+
data["logsConfig"]
|
|
293
|
+
)
|
|
294
|
+
if data.get("fileSystemLocations") is not None:
|
|
295
|
+
import capo_codebuild.types.project_file_system_locations
|
|
296
|
+
|
|
297
|
+
out["file_system_locations"] = (
|
|
298
|
+
capo_codebuild.types.project_file_system_locations.deserialize_aws_json_1_1(
|
|
299
|
+
data["fileSystemLocations"]
|
|
300
|
+
)
|
|
301
|
+
)
|
|
302
|
+
if data.get("buildBatchConfig") is not None:
|
|
303
|
+
import capo_codebuild.types.project_build_batch_config
|
|
304
|
+
|
|
305
|
+
out["build_batch_config"] = (
|
|
306
|
+
capo_codebuild.types.project_build_batch_config.deserialize_aws_json_1_1(
|
|
307
|
+
data["buildBatchConfig"]
|
|
308
|
+
)
|
|
309
|
+
)
|
|
310
|
+
if data.get("concurrentBuildLimit") is not None:
|
|
311
|
+
out["concurrent_build_limit"] = data["concurrentBuildLimit"]
|
|
312
|
+
if data.get("autoRetryLimit") is not None:
|
|
313
|
+
out["auto_retry_limit"] = data["autoRetryLimit"]
|
|
314
|
+
return out
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#CreateProjectOutput``."""
|
|
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.project
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class CreateProjectOutput(TypedDict, closed=True):
|
|
12
|
+
project: NotRequired["capo_codebuild.types.project.Project"]
|
|
13
|
+
"""<p>Information about the build project that was created.</p>"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# --- awsJson1_1 ser/de ---
|
|
17
|
+
def serialize_aws_json_1_1(value: CreateProjectOutput) -> dict:
|
|
18
|
+
out: dict = {}
|
|
19
|
+
if "project" in value:
|
|
20
|
+
import capo_codebuild.types.project
|
|
21
|
+
|
|
22
|
+
out["project"] = capo_codebuild.types.project.serialize_aws_json_1_1(
|
|
23
|
+
value["project"]
|
|
24
|
+
)
|
|
25
|
+
return out
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def deserialize_aws_json_1_1(data: dict) -> CreateProjectOutput:
|
|
29
|
+
out: CreateProjectOutput = {} # type: ignore[typeddict-item]
|
|
30
|
+
if data.get("project") is not None:
|
|
31
|
+
import capo_codebuild.types.project
|
|
32
|
+
|
|
33
|
+
out["project"] = capo_codebuild.types.project.deserialize_aws_json_1_1(
|
|
34
|
+
data["project"]
|
|
35
|
+
)
|
|
36
|
+
return out
|