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,267 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#Sandbox``."""
|
|
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.logs_config
|
|
9
|
+
import capo_codebuild.types.non_empty_string
|
|
10
|
+
import capo_codebuild.types.project_environment
|
|
11
|
+
import capo_codebuild.types.project_file_system_locations
|
|
12
|
+
import capo_codebuild.types.project_secondary_source_versions
|
|
13
|
+
import capo_codebuild.types.project_source
|
|
14
|
+
import capo_codebuild.types.project_sources
|
|
15
|
+
import capo_codebuild.types.sandbox_session
|
|
16
|
+
import capo_codebuild.types.string
|
|
17
|
+
import capo_codebuild.types.timestamp
|
|
18
|
+
import capo_codebuild.types.vpc_config
|
|
19
|
+
import capo_codebuild.types.wrapper_int
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class Sandbox(TypedDict, closed=True):
|
|
23
|
+
id: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
24
|
+
"""<p>The ID of the sandbox.</p>"""
|
|
25
|
+
arn: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
26
|
+
"""<p>The ARN of the sandbox.</p>"""
|
|
27
|
+
project_name: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
28
|
+
"""<p>The CodeBuild project name.</p>"""
|
|
29
|
+
request_time: NotRequired["capo_codebuild.types.timestamp.Timestamp"]
|
|
30
|
+
"""<p>When the sandbox process was initially requested, expressed in Unix time format.</p>"""
|
|
31
|
+
start_time: NotRequired["capo_codebuild.types.timestamp.Timestamp"]
|
|
32
|
+
"""<p>When the sandbox process started, expressed in Unix time format.</p>"""
|
|
33
|
+
end_time: NotRequired["capo_codebuild.types.timestamp.Timestamp"]
|
|
34
|
+
"""<p>When the sandbox process ended, expressed in Unix time format.</p>"""
|
|
35
|
+
status: NotRequired["capo_codebuild.types.string.String"]
|
|
36
|
+
"""<p>The status of the sandbox.</p>"""
|
|
37
|
+
source: NotRequired["capo_codebuild.types.project_source.ProjectSource"]
|
|
38
|
+
source_version: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
39
|
+
"""<p>Any version identifier for the version of the sandbox to be built.</p>"""
|
|
40
|
+
secondary_sources: NotRequired[
|
|
41
|
+
"capo_codebuild.types.project_sources.ProjectSources"
|
|
42
|
+
]
|
|
43
|
+
"""<p> An array of <code>ProjectSource</code> objects. </p>"""
|
|
44
|
+
secondary_source_versions: NotRequired[
|
|
45
|
+
"capo_codebuild.types.project_secondary_source_versions.ProjectSecondarySourceVersions"
|
|
46
|
+
]
|
|
47
|
+
"""<p> An array of <code>ProjectSourceVersion</code> objects.</p>"""
|
|
48
|
+
environment: NotRequired[
|
|
49
|
+
"capo_codebuild.types.project_environment.ProjectEnvironment"
|
|
50
|
+
]
|
|
51
|
+
file_system_locations: NotRequired[
|
|
52
|
+
"capo_codebuild.types.project_file_system_locations.ProjectFileSystemLocations"
|
|
53
|
+
]
|
|
54
|
+
"""<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>"""
|
|
55
|
+
timeout_in_minutes: NotRequired["capo_codebuild.types.wrapper_int.WrapperInt"]
|
|
56
|
+
"""<p>How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out this sandbox if it does not get marked as completed.</p>"""
|
|
57
|
+
queued_timeout_in_minutes: NotRequired[
|
|
58
|
+
"capo_codebuild.types.wrapper_int.WrapperInt"
|
|
59
|
+
]
|
|
60
|
+
"""<p>The number of minutes a sandbox is allowed to be queued before it times out. </p>"""
|
|
61
|
+
vpc_config: NotRequired["capo_codebuild.types.vpc_config.VpcConfig"]
|
|
62
|
+
log_config: NotRequired["capo_codebuild.types.logs_config.LogsConfig"]
|
|
63
|
+
encryption_key: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
64
|
+
"""<p>The Key Management Service customer master key (CMK) to be used for encrypting the sandbox output artifacts.</p>"""
|
|
65
|
+
service_role: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
66
|
+
"""<p>The name of a service role used for this sandbox.</p>"""
|
|
67
|
+
current_session: NotRequired["capo_codebuild.types.sandbox_session.SandboxSession"]
|
|
68
|
+
"""<p>The current session for the sandbox.</p>"""
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
# --- awsJson1_1 ser/de ---
|
|
72
|
+
def serialize_aws_json_1_1(value: Sandbox) -> dict:
|
|
73
|
+
out: dict = {}
|
|
74
|
+
if "id" in value:
|
|
75
|
+
out["id"] = value["id"]
|
|
76
|
+
if "arn" in value:
|
|
77
|
+
out["arn"] = value["arn"]
|
|
78
|
+
if "project_name" in value:
|
|
79
|
+
out["projectName"] = value["project_name"]
|
|
80
|
+
if "request_time" in value:
|
|
81
|
+
import capo_codebuild.types.timestamp
|
|
82
|
+
|
|
83
|
+
out["requestTime"] = capo_codebuild.types.timestamp.serialize_aws_json_1_1(
|
|
84
|
+
value["request_time"]
|
|
85
|
+
)
|
|
86
|
+
if "start_time" in value:
|
|
87
|
+
import capo_codebuild.types.timestamp
|
|
88
|
+
|
|
89
|
+
out["startTime"] = capo_codebuild.types.timestamp.serialize_aws_json_1_1(
|
|
90
|
+
value["start_time"]
|
|
91
|
+
)
|
|
92
|
+
if "end_time" in value:
|
|
93
|
+
import capo_codebuild.types.timestamp
|
|
94
|
+
|
|
95
|
+
out["endTime"] = capo_codebuild.types.timestamp.serialize_aws_json_1_1(
|
|
96
|
+
value["end_time"]
|
|
97
|
+
)
|
|
98
|
+
if "status" in value:
|
|
99
|
+
out["status"] = value["status"]
|
|
100
|
+
if "source" in value:
|
|
101
|
+
import capo_codebuild.types.project_source
|
|
102
|
+
|
|
103
|
+
out["source"] = capo_codebuild.types.project_source.serialize_aws_json_1_1(
|
|
104
|
+
value["source"]
|
|
105
|
+
)
|
|
106
|
+
if "source_version" in value:
|
|
107
|
+
out["sourceVersion"] = value["source_version"]
|
|
108
|
+
if "secondary_sources" in value:
|
|
109
|
+
import capo_codebuild.types.project_sources
|
|
110
|
+
|
|
111
|
+
out["secondarySources"] = (
|
|
112
|
+
capo_codebuild.types.project_sources.serialize_aws_json_1_1(
|
|
113
|
+
value["secondary_sources"]
|
|
114
|
+
)
|
|
115
|
+
)
|
|
116
|
+
if "secondary_source_versions" in value:
|
|
117
|
+
import capo_codebuild.types.project_secondary_source_versions
|
|
118
|
+
|
|
119
|
+
out["secondarySourceVersions"] = (
|
|
120
|
+
capo_codebuild.types.project_secondary_source_versions.serialize_aws_json_1_1(
|
|
121
|
+
value["secondary_source_versions"]
|
|
122
|
+
)
|
|
123
|
+
)
|
|
124
|
+
if "environment" in value:
|
|
125
|
+
import capo_codebuild.types.project_environment
|
|
126
|
+
|
|
127
|
+
out["environment"] = (
|
|
128
|
+
capo_codebuild.types.project_environment.serialize_aws_json_1_1(
|
|
129
|
+
value["environment"]
|
|
130
|
+
)
|
|
131
|
+
)
|
|
132
|
+
if "file_system_locations" in value:
|
|
133
|
+
import capo_codebuild.types.project_file_system_locations
|
|
134
|
+
|
|
135
|
+
out["fileSystemLocations"] = (
|
|
136
|
+
capo_codebuild.types.project_file_system_locations.serialize_aws_json_1_1(
|
|
137
|
+
value["file_system_locations"]
|
|
138
|
+
)
|
|
139
|
+
)
|
|
140
|
+
if "timeout_in_minutes" in value:
|
|
141
|
+
out["timeoutInMinutes"] = value["timeout_in_minutes"]
|
|
142
|
+
if "queued_timeout_in_minutes" in value:
|
|
143
|
+
out["queuedTimeoutInMinutes"] = value["queued_timeout_in_minutes"]
|
|
144
|
+
if "vpc_config" in value:
|
|
145
|
+
import capo_codebuild.types.vpc_config
|
|
146
|
+
|
|
147
|
+
out["vpcConfig"] = capo_codebuild.types.vpc_config.serialize_aws_json_1_1(
|
|
148
|
+
value["vpc_config"]
|
|
149
|
+
)
|
|
150
|
+
if "log_config" in value:
|
|
151
|
+
import capo_codebuild.types.logs_config
|
|
152
|
+
|
|
153
|
+
out["logConfig"] = capo_codebuild.types.logs_config.serialize_aws_json_1_1(
|
|
154
|
+
value["log_config"]
|
|
155
|
+
)
|
|
156
|
+
if "encryption_key" in value:
|
|
157
|
+
out["encryptionKey"] = value["encryption_key"]
|
|
158
|
+
if "service_role" in value:
|
|
159
|
+
out["serviceRole"] = value["service_role"]
|
|
160
|
+
if "current_session" in value:
|
|
161
|
+
import capo_codebuild.types.sandbox_session
|
|
162
|
+
|
|
163
|
+
out["currentSession"] = (
|
|
164
|
+
capo_codebuild.types.sandbox_session.serialize_aws_json_1_1(
|
|
165
|
+
value["current_session"]
|
|
166
|
+
)
|
|
167
|
+
)
|
|
168
|
+
return out
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
def deserialize_aws_json_1_1(data: dict) -> Sandbox:
|
|
172
|
+
out: Sandbox = {} # type: ignore[typeddict-item]
|
|
173
|
+
if data.get("id") is not None:
|
|
174
|
+
out["id"] = data["id"]
|
|
175
|
+
if data.get("arn") is not None:
|
|
176
|
+
out["arn"] = data["arn"]
|
|
177
|
+
if data.get("projectName") is not None:
|
|
178
|
+
out["project_name"] = data["projectName"]
|
|
179
|
+
if data.get("requestTime") is not None:
|
|
180
|
+
import capo_codebuild.types.timestamp
|
|
181
|
+
|
|
182
|
+
out["request_time"] = capo_codebuild.types.timestamp.deserialize_aws_json_1_1(
|
|
183
|
+
data["requestTime"]
|
|
184
|
+
)
|
|
185
|
+
if data.get("startTime") is not None:
|
|
186
|
+
import capo_codebuild.types.timestamp
|
|
187
|
+
|
|
188
|
+
out["start_time"] = capo_codebuild.types.timestamp.deserialize_aws_json_1_1(
|
|
189
|
+
data["startTime"]
|
|
190
|
+
)
|
|
191
|
+
if data.get("endTime") is not None:
|
|
192
|
+
import capo_codebuild.types.timestamp
|
|
193
|
+
|
|
194
|
+
out["end_time"] = capo_codebuild.types.timestamp.deserialize_aws_json_1_1(
|
|
195
|
+
data["endTime"]
|
|
196
|
+
)
|
|
197
|
+
if data.get("status") is not None:
|
|
198
|
+
out["status"] = data["status"]
|
|
199
|
+
if data.get("source") is not None:
|
|
200
|
+
import capo_codebuild.types.project_source
|
|
201
|
+
|
|
202
|
+
out["source"] = capo_codebuild.types.project_source.deserialize_aws_json_1_1(
|
|
203
|
+
data["source"]
|
|
204
|
+
)
|
|
205
|
+
if data.get("sourceVersion") is not None:
|
|
206
|
+
out["source_version"] = data["sourceVersion"]
|
|
207
|
+
if data.get("secondarySources") is not None:
|
|
208
|
+
import capo_codebuild.types.project_sources
|
|
209
|
+
|
|
210
|
+
out["secondary_sources"] = (
|
|
211
|
+
capo_codebuild.types.project_sources.deserialize_aws_json_1_1(
|
|
212
|
+
data["secondarySources"]
|
|
213
|
+
)
|
|
214
|
+
)
|
|
215
|
+
if data.get("secondarySourceVersions") is not None:
|
|
216
|
+
import capo_codebuild.types.project_secondary_source_versions
|
|
217
|
+
|
|
218
|
+
out["secondary_source_versions"] = (
|
|
219
|
+
capo_codebuild.types.project_secondary_source_versions.deserialize_aws_json_1_1(
|
|
220
|
+
data["secondarySourceVersions"]
|
|
221
|
+
)
|
|
222
|
+
)
|
|
223
|
+
if data.get("environment") is not None:
|
|
224
|
+
import capo_codebuild.types.project_environment
|
|
225
|
+
|
|
226
|
+
out["environment"] = (
|
|
227
|
+
capo_codebuild.types.project_environment.deserialize_aws_json_1_1(
|
|
228
|
+
data["environment"]
|
|
229
|
+
)
|
|
230
|
+
)
|
|
231
|
+
if data.get("fileSystemLocations") is not None:
|
|
232
|
+
import capo_codebuild.types.project_file_system_locations
|
|
233
|
+
|
|
234
|
+
out["file_system_locations"] = (
|
|
235
|
+
capo_codebuild.types.project_file_system_locations.deserialize_aws_json_1_1(
|
|
236
|
+
data["fileSystemLocations"]
|
|
237
|
+
)
|
|
238
|
+
)
|
|
239
|
+
if data.get("timeoutInMinutes") is not None:
|
|
240
|
+
out["timeout_in_minutes"] = data["timeoutInMinutes"]
|
|
241
|
+
if data.get("queuedTimeoutInMinutes") is not None:
|
|
242
|
+
out["queued_timeout_in_minutes"] = data["queuedTimeoutInMinutes"]
|
|
243
|
+
if data.get("vpcConfig") is not None:
|
|
244
|
+
import capo_codebuild.types.vpc_config
|
|
245
|
+
|
|
246
|
+
out["vpc_config"] = capo_codebuild.types.vpc_config.deserialize_aws_json_1_1(
|
|
247
|
+
data["vpcConfig"]
|
|
248
|
+
)
|
|
249
|
+
if data.get("logConfig") is not None:
|
|
250
|
+
import capo_codebuild.types.logs_config
|
|
251
|
+
|
|
252
|
+
out["log_config"] = capo_codebuild.types.logs_config.deserialize_aws_json_1_1(
|
|
253
|
+
data["logConfig"]
|
|
254
|
+
)
|
|
255
|
+
if data.get("encryptionKey") is not None:
|
|
256
|
+
out["encryption_key"] = data["encryptionKey"]
|
|
257
|
+
if data.get("serviceRole") is not None:
|
|
258
|
+
out["service_role"] = data["serviceRole"]
|
|
259
|
+
if data.get("currentSession") is not None:
|
|
260
|
+
import capo_codebuild.types.sandbox_session
|
|
261
|
+
|
|
262
|
+
out["current_session"] = (
|
|
263
|
+
capo_codebuild.types.sandbox_session.deserialize_aws_json_1_1(
|
|
264
|
+
data["currentSession"]
|
|
265
|
+
)
|
|
266
|
+
)
|
|
267
|
+
return out
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#SandboxIds``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codebuild.types.non_empty_string
|
|
7
|
+
|
|
8
|
+
SandboxIds: TypeAlias = list["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: SandboxIds) -> list:
|
|
13
|
+
return list(value)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: list) -> SandboxIds:
|
|
17
|
+
return [item for item in data if item is not None]
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#SandboxSession``."""
|
|
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.logs_location
|
|
9
|
+
import capo_codebuild.types.network_interface
|
|
10
|
+
import capo_codebuild.types.non_empty_string
|
|
11
|
+
import capo_codebuild.types.sandbox_session_phases
|
|
12
|
+
import capo_codebuild.types.string
|
|
13
|
+
import capo_codebuild.types.timestamp
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class SandboxSession(TypedDict, closed=True):
|
|
17
|
+
id: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
18
|
+
"""<p>The ID of the sandbox session.</p>"""
|
|
19
|
+
status: NotRequired["capo_codebuild.types.string.String"]
|
|
20
|
+
"""<p>The status of the sandbox session.</p>"""
|
|
21
|
+
start_time: NotRequired["capo_codebuild.types.timestamp.Timestamp"]
|
|
22
|
+
"""<p>When the sandbox session started, expressed in Unix time format.</p>"""
|
|
23
|
+
end_time: NotRequired["capo_codebuild.types.timestamp.Timestamp"]
|
|
24
|
+
"""<p>When the sandbox session ended, expressed in Unix time format.</p>"""
|
|
25
|
+
current_phase: NotRequired["capo_codebuild.types.string.String"]
|
|
26
|
+
"""<p>The current phase for the sandbox.</p>"""
|
|
27
|
+
phases: NotRequired[
|
|
28
|
+
"capo_codebuild.types.sandbox_session_phases.SandboxSessionPhases"
|
|
29
|
+
]
|
|
30
|
+
"""<p> An array of <code>SandboxSessionPhase</code> objects. </p>"""
|
|
31
|
+
resolved_source_version: NotRequired[
|
|
32
|
+
"capo_codebuild.types.non_empty_string.NonEmptyString"
|
|
33
|
+
]
|
|
34
|
+
"""<p>An identifier for the version of this sandbox's source code.</p>"""
|
|
35
|
+
logs: NotRequired["capo_codebuild.types.logs_location.LogsLocation"]
|
|
36
|
+
network_interface: NotRequired[
|
|
37
|
+
"capo_codebuild.types.network_interface.NetworkInterface"
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# --- awsJson1_1 ser/de ---
|
|
42
|
+
def serialize_aws_json_1_1(value: SandboxSession) -> dict:
|
|
43
|
+
out: dict = {}
|
|
44
|
+
if "id" in value:
|
|
45
|
+
out["id"] = value["id"]
|
|
46
|
+
if "status" in value:
|
|
47
|
+
out["status"] = value["status"]
|
|
48
|
+
if "start_time" in value:
|
|
49
|
+
import capo_codebuild.types.timestamp
|
|
50
|
+
|
|
51
|
+
out["startTime"] = capo_codebuild.types.timestamp.serialize_aws_json_1_1(
|
|
52
|
+
value["start_time"]
|
|
53
|
+
)
|
|
54
|
+
if "end_time" in value:
|
|
55
|
+
import capo_codebuild.types.timestamp
|
|
56
|
+
|
|
57
|
+
out["endTime"] = capo_codebuild.types.timestamp.serialize_aws_json_1_1(
|
|
58
|
+
value["end_time"]
|
|
59
|
+
)
|
|
60
|
+
if "current_phase" in value:
|
|
61
|
+
out["currentPhase"] = value["current_phase"]
|
|
62
|
+
if "phases" in value:
|
|
63
|
+
import capo_codebuild.types.sandbox_session_phases
|
|
64
|
+
|
|
65
|
+
out["phases"] = (
|
|
66
|
+
capo_codebuild.types.sandbox_session_phases.serialize_aws_json_1_1(
|
|
67
|
+
value["phases"]
|
|
68
|
+
)
|
|
69
|
+
)
|
|
70
|
+
if "resolved_source_version" in value:
|
|
71
|
+
out["resolvedSourceVersion"] = value["resolved_source_version"]
|
|
72
|
+
if "logs" in value:
|
|
73
|
+
import capo_codebuild.types.logs_location
|
|
74
|
+
|
|
75
|
+
out["logs"] = capo_codebuild.types.logs_location.serialize_aws_json_1_1(
|
|
76
|
+
value["logs"]
|
|
77
|
+
)
|
|
78
|
+
if "network_interface" in value:
|
|
79
|
+
import capo_codebuild.types.network_interface
|
|
80
|
+
|
|
81
|
+
out["networkInterface"] = (
|
|
82
|
+
capo_codebuild.types.network_interface.serialize_aws_json_1_1(
|
|
83
|
+
value["network_interface"]
|
|
84
|
+
)
|
|
85
|
+
)
|
|
86
|
+
return out
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def deserialize_aws_json_1_1(data: dict) -> SandboxSession:
|
|
90
|
+
out: SandboxSession = {} # type: ignore[typeddict-item]
|
|
91
|
+
if data.get("id") is not None:
|
|
92
|
+
out["id"] = data["id"]
|
|
93
|
+
if data.get("status") is not None:
|
|
94
|
+
out["status"] = data["status"]
|
|
95
|
+
if data.get("startTime") is not None:
|
|
96
|
+
import capo_codebuild.types.timestamp
|
|
97
|
+
|
|
98
|
+
out["start_time"] = capo_codebuild.types.timestamp.deserialize_aws_json_1_1(
|
|
99
|
+
data["startTime"]
|
|
100
|
+
)
|
|
101
|
+
if data.get("endTime") is not None:
|
|
102
|
+
import capo_codebuild.types.timestamp
|
|
103
|
+
|
|
104
|
+
out["end_time"] = capo_codebuild.types.timestamp.deserialize_aws_json_1_1(
|
|
105
|
+
data["endTime"]
|
|
106
|
+
)
|
|
107
|
+
if data.get("currentPhase") is not None:
|
|
108
|
+
out["current_phase"] = data["currentPhase"]
|
|
109
|
+
if data.get("phases") is not None:
|
|
110
|
+
import capo_codebuild.types.sandbox_session_phases
|
|
111
|
+
|
|
112
|
+
out["phases"] = (
|
|
113
|
+
capo_codebuild.types.sandbox_session_phases.deserialize_aws_json_1_1(
|
|
114
|
+
data["phases"]
|
|
115
|
+
)
|
|
116
|
+
)
|
|
117
|
+
if data.get("resolvedSourceVersion") is not None:
|
|
118
|
+
out["resolved_source_version"] = data["resolvedSourceVersion"]
|
|
119
|
+
if data.get("logs") is not None:
|
|
120
|
+
import capo_codebuild.types.logs_location
|
|
121
|
+
|
|
122
|
+
out["logs"] = capo_codebuild.types.logs_location.deserialize_aws_json_1_1(
|
|
123
|
+
data["logs"]
|
|
124
|
+
)
|
|
125
|
+
if data.get("networkInterface") is not None:
|
|
126
|
+
import capo_codebuild.types.network_interface
|
|
127
|
+
|
|
128
|
+
out["network_interface"] = (
|
|
129
|
+
capo_codebuild.types.network_interface.deserialize_aws_json_1_1(
|
|
130
|
+
data["networkInterface"]
|
|
131
|
+
)
|
|
132
|
+
)
|
|
133
|
+
return out
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#SandboxSessionPhase``."""
|
|
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.phase_contexts
|
|
9
|
+
import capo_codebuild.types.status_type
|
|
10
|
+
import capo_codebuild.types.string
|
|
11
|
+
import capo_codebuild.types.timestamp
|
|
12
|
+
import capo_codebuild.types.wrapper_long
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class SandboxSessionPhase(TypedDict, closed=True):
|
|
16
|
+
phase_type: NotRequired["capo_codebuild.types.string.String"]
|
|
17
|
+
"""<p>The name of the sandbox phase.</p>"""
|
|
18
|
+
phase_status: NotRequired["capo_codebuild.types.status_type.StatusType"]
|
|
19
|
+
"""<p>The current status of the sandbox phase. Valid values include:</p> <dl> <dt>FAILED</dt> <dd> <p>The sandbox phase failed.</p> </dd> <dt>FAULT</dt> <dd> <p>The sandbox phase faulted.</p> </dd> <dt>IN_PROGRESS</dt> <dd> <p>The sandbox phase is still in progress.</p> </dd> <dt>STOPPED</dt> <dd> <p>The sandbox phase stopped.</p> </dd> <dt>SUCCEEDED</dt> <dd> <p>The sandbox phase succeeded.</p> </dd> <dt>TIMED_OUT</dt> <dd> <p>The sandbox phase timed out.</p> </dd> </dl>"""
|
|
20
|
+
start_time: NotRequired["capo_codebuild.types.timestamp.Timestamp"]
|
|
21
|
+
"""<p>When the sandbox phase started, expressed in Unix time format.</p>"""
|
|
22
|
+
end_time: NotRequired["capo_codebuild.types.timestamp.Timestamp"]
|
|
23
|
+
"""<p>When the sandbox phase ended, expressed in Unix time format.</p>"""
|
|
24
|
+
duration_in_seconds: NotRequired["capo_codebuild.types.wrapper_long.WrapperLong"]
|
|
25
|
+
"""<p>How long, in seconds, between the starting and ending times of the sandbox's phase.</p>"""
|
|
26
|
+
contexts: NotRequired["capo_codebuild.types.phase_contexts.PhaseContexts"]
|
|
27
|
+
"""<p> An array of <code>PhaseContext</code> objects. </p>"""
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# --- awsJson1_1 ser/de ---
|
|
31
|
+
def serialize_aws_json_1_1(value: SandboxSessionPhase) -> dict:
|
|
32
|
+
out: dict = {}
|
|
33
|
+
if "phase_type" in value:
|
|
34
|
+
out["phaseType"] = value["phase_type"]
|
|
35
|
+
if "phase_status" in value:
|
|
36
|
+
import capo_codebuild.types.status_type
|
|
37
|
+
|
|
38
|
+
out["phaseStatus"] = capo_codebuild.types.status_type.serialize_aws_json_1_1(
|
|
39
|
+
value["phase_status"]
|
|
40
|
+
)
|
|
41
|
+
if "start_time" in value:
|
|
42
|
+
import capo_codebuild.types.timestamp
|
|
43
|
+
|
|
44
|
+
out["startTime"] = capo_codebuild.types.timestamp.serialize_aws_json_1_1(
|
|
45
|
+
value["start_time"]
|
|
46
|
+
)
|
|
47
|
+
if "end_time" in value:
|
|
48
|
+
import capo_codebuild.types.timestamp
|
|
49
|
+
|
|
50
|
+
out["endTime"] = capo_codebuild.types.timestamp.serialize_aws_json_1_1(
|
|
51
|
+
value["end_time"]
|
|
52
|
+
)
|
|
53
|
+
if "duration_in_seconds" in value:
|
|
54
|
+
out["durationInSeconds"] = value["duration_in_seconds"]
|
|
55
|
+
if "contexts" in value:
|
|
56
|
+
import capo_codebuild.types.phase_contexts
|
|
57
|
+
|
|
58
|
+
out["contexts"] = capo_codebuild.types.phase_contexts.serialize_aws_json_1_1(
|
|
59
|
+
value["contexts"]
|
|
60
|
+
)
|
|
61
|
+
return out
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def deserialize_aws_json_1_1(data: dict) -> SandboxSessionPhase:
|
|
65
|
+
out: SandboxSessionPhase = {} # type: ignore[typeddict-item]
|
|
66
|
+
if data.get("phaseType") is not None:
|
|
67
|
+
out["phase_type"] = data["phaseType"]
|
|
68
|
+
if data.get("phaseStatus") is not None:
|
|
69
|
+
import capo_codebuild.types.status_type
|
|
70
|
+
|
|
71
|
+
out["phase_status"] = capo_codebuild.types.status_type.deserialize_aws_json_1_1(
|
|
72
|
+
data["phaseStatus"]
|
|
73
|
+
)
|
|
74
|
+
if data.get("startTime") is not None:
|
|
75
|
+
import capo_codebuild.types.timestamp
|
|
76
|
+
|
|
77
|
+
out["start_time"] = capo_codebuild.types.timestamp.deserialize_aws_json_1_1(
|
|
78
|
+
data["startTime"]
|
|
79
|
+
)
|
|
80
|
+
if data.get("endTime") is not None:
|
|
81
|
+
import capo_codebuild.types.timestamp
|
|
82
|
+
|
|
83
|
+
out["end_time"] = capo_codebuild.types.timestamp.deserialize_aws_json_1_1(
|
|
84
|
+
data["endTime"]
|
|
85
|
+
)
|
|
86
|
+
if data.get("durationInSeconds") is not None:
|
|
87
|
+
out["duration_in_seconds"] = data["durationInSeconds"]
|
|
88
|
+
if data.get("contexts") is not None:
|
|
89
|
+
import capo_codebuild.types.phase_contexts
|
|
90
|
+
|
|
91
|
+
out["contexts"] = capo_codebuild.types.phase_contexts.deserialize_aws_json_1_1(
|
|
92
|
+
data["contexts"]
|
|
93
|
+
)
|
|
94
|
+
return out
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#SandboxSessionPhases``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codebuild.types.sandbox_session_phase
|
|
7
|
+
|
|
8
|
+
SandboxSessionPhases: TypeAlias = list[
|
|
9
|
+
"capo_codebuild.types.sandbox_session_phase.SandboxSessionPhase"
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# --- awsJson1_1 ser/de ---
|
|
14
|
+
def serialize_aws_json_1_1(value: SandboxSessionPhases) -> list:
|
|
15
|
+
import capo_codebuild.types.sandbox_session_phase
|
|
16
|
+
|
|
17
|
+
out: list = []
|
|
18
|
+
for item in value:
|
|
19
|
+
out.append(
|
|
20
|
+
capo_codebuild.types.sandbox_session_phase.serialize_aws_json_1_1(item)
|
|
21
|
+
)
|
|
22
|
+
return out
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def deserialize_aws_json_1_1(data: list) -> SandboxSessionPhases:
|
|
26
|
+
import capo_codebuild.types.sandbox_session_phase
|
|
27
|
+
|
|
28
|
+
out: SandboxSessionPhases = []
|
|
29
|
+
for item in data:
|
|
30
|
+
if item is None:
|
|
31
|
+
continue
|
|
32
|
+
out.append(
|
|
33
|
+
capo_codebuild.types.sandbox_session_phase.deserialize_aws_json_1_1(item)
|
|
34
|
+
)
|
|
35
|
+
return out
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#Sandboxes``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codebuild.types.sandbox
|
|
7
|
+
|
|
8
|
+
Sandboxes: TypeAlias = list["capo_codebuild.types.sandbox.Sandbox"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: Sandboxes) -> list:
|
|
13
|
+
import capo_codebuild.types.sandbox
|
|
14
|
+
|
|
15
|
+
out: list = []
|
|
16
|
+
for item in value:
|
|
17
|
+
out.append(capo_codebuild.types.sandbox.serialize_aws_json_1_1(item))
|
|
18
|
+
return out
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def deserialize_aws_json_1_1(data: list) -> Sandboxes:
|
|
22
|
+
import capo_codebuild.types.sandbox
|
|
23
|
+
|
|
24
|
+
out: Sandboxes = []
|
|
25
|
+
for item in data:
|
|
26
|
+
if item is None:
|
|
27
|
+
continue
|
|
28
|
+
out.append(capo_codebuild.types.sandbox.deserialize_aws_json_1_1(item))
|
|
29
|
+
return out
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ScalingConfigurationInput``."""
|
|
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_capacity
|
|
9
|
+
import capo_codebuild.types.fleet_scaling_type
|
|
10
|
+
import capo_codebuild.types.target_tracking_scaling_configurations
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ScalingConfigurationInput(TypedDict, closed=True):
|
|
14
|
+
scaling_type: NotRequired[
|
|
15
|
+
"capo_codebuild.types.fleet_scaling_type.FleetScalingType"
|
|
16
|
+
]
|
|
17
|
+
"""<p>The scaling type for a compute fleet.</p>"""
|
|
18
|
+
target_tracking_scaling_configs: NotRequired[
|
|
19
|
+
"capo_codebuild.types.target_tracking_scaling_configurations.TargetTrackingScalingConfigurations"
|
|
20
|
+
]
|
|
21
|
+
"""<p>A list of <code>TargetTrackingScalingConfiguration</code> objects.</p>"""
|
|
22
|
+
max_capacity: NotRequired["capo_codebuild.types.fleet_capacity.FleetCapacity"]
|
|
23
|
+
"""<p>The maximum number of instances in the fleet when auto-scaling.</p>"""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# --- awsJson1_1 ser/de ---
|
|
27
|
+
def serialize_aws_json_1_1(value: ScalingConfigurationInput) -> dict:
|
|
28
|
+
out: dict = {}
|
|
29
|
+
if "scaling_type" in value:
|
|
30
|
+
import capo_codebuild.types.fleet_scaling_type
|
|
31
|
+
|
|
32
|
+
out["scalingType"] = (
|
|
33
|
+
capo_codebuild.types.fleet_scaling_type.serialize_aws_json_1_1(
|
|
34
|
+
value["scaling_type"]
|
|
35
|
+
)
|
|
36
|
+
)
|
|
37
|
+
if "target_tracking_scaling_configs" in value:
|
|
38
|
+
import capo_codebuild.types.target_tracking_scaling_configurations
|
|
39
|
+
|
|
40
|
+
out["targetTrackingScalingConfigs"] = (
|
|
41
|
+
capo_codebuild.types.target_tracking_scaling_configurations.serialize_aws_json_1_1(
|
|
42
|
+
value["target_tracking_scaling_configs"]
|
|
43
|
+
)
|
|
44
|
+
)
|
|
45
|
+
if "max_capacity" in value:
|
|
46
|
+
out["maxCapacity"] = value["max_capacity"]
|
|
47
|
+
return out
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def deserialize_aws_json_1_1(data: dict) -> ScalingConfigurationInput:
|
|
51
|
+
out: ScalingConfigurationInput = {} # type: ignore[typeddict-item]
|
|
52
|
+
if data.get("scalingType") is not None:
|
|
53
|
+
import capo_codebuild.types.fleet_scaling_type
|
|
54
|
+
|
|
55
|
+
out["scaling_type"] = (
|
|
56
|
+
capo_codebuild.types.fleet_scaling_type.deserialize_aws_json_1_1(
|
|
57
|
+
data["scalingType"]
|
|
58
|
+
)
|
|
59
|
+
)
|
|
60
|
+
if data.get("targetTrackingScalingConfigs") is not None:
|
|
61
|
+
import capo_codebuild.types.target_tracking_scaling_configurations
|
|
62
|
+
|
|
63
|
+
out["target_tracking_scaling_configs"] = (
|
|
64
|
+
capo_codebuild.types.target_tracking_scaling_configurations.deserialize_aws_json_1_1(
|
|
65
|
+
data["targetTrackingScalingConfigs"]
|
|
66
|
+
)
|
|
67
|
+
)
|
|
68
|
+
if data.get("maxCapacity") is not None:
|
|
69
|
+
out["max_capacity"] = data["maxCapacity"]
|
|
70
|
+
return out
|