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,17 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ReportPackagingType``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
ReportPackagingType: TypeAlias = Literal[
|
|
6
|
+
"ZIP",
|
|
7
|
+
"NONE",
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: ReportPackagingType) -> str:
|
|
13
|
+
return value
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: str) -> ReportPackagingType:
|
|
17
|
+
return cast(ReportPackagingType, data)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ReportStatusCounts``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codebuild.types.string
|
|
7
|
+
import capo_codebuild.types.wrapper_int
|
|
8
|
+
|
|
9
|
+
ReportStatusCounts: TypeAlias = dict[
|
|
10
|
+
"capo_codebuild.types.string.String", "capo_codebuild.types.wrapper_int.WrapperInt"
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# --- awsJson1_1 ser/de ---
|
|
15
|
+
def serialize_aws_json_1_1(input_to_serialize: ReportStatusCounts) -> dict:
|
|
16
|
+
out: dict = {}
|
|
17
|
+
for key, value in input_to_serialize.items():
|
|
18
|
+
out[key] = value
|
|
19
|
+
return out
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def deserialize_aws_json_1_1(data: dict) -> ReportStatusCounts:
|
|
23
|
+
out: ReportStatusCounts = {}
|
|
24
|
+
for key, value in data.items():
|
|
25
|
+
if value is None:
|
|
26
|
+
continue
|
|
27
|
+
out[key] = value
|
|
28
|
+
return out
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ReportStatusType``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
ReportStatusType: TypeAlias = Literal[
|
|
6
|
+
"GENERATING",
|
|
7
|
+
"SUCCEEDED",
|
|
8
|
+
"FAILED",
|
|
9
|
+
"INCOMPLETE",
|
|
10
|
+
"DELETING",
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# --- awsJson1_1 ser/de ---
|
|
15
|
+
def serialize_aws_json_1_1(value: ReportStatusType) -> str:
|
|
16
|
+
return value
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def deserialize_aws_json_1_1(data: str) -> ReportStatusType:
|
|
20
|
+
return cast(ReportStatusType, data)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ReportType``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
ReportType: TypeAlias = Literal[
|
|
6
|
+
"TEST",
|
|
7
|
+
"CODE_COVERAGE",
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: ReportType) -> str:
|
|
13
|
+
return value
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: str) -> ReportType:
|
|
17
|
+
return cast(ReportType, data)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ReportWithRawData``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codebuild.types.non_empty_string
|
|
9
|
+
import capo_codebuild.types.string
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ReportWithRawData(TypedDict, closed=True):
|
|
13
|
+
report_arn: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
14
|
+
"""<p>The ARN of the report.</p>"""
|
|
15
|
+
data: NotRequired["capo_codebuild.types.string.String"]
|
|
16
|
+
"""<p>The value of the requested data field from the report.</p>"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# --- awsJson1_1 ser/de ---
|
|
20
|
+
def serialize_aws_json_1_1(value: ReportWithRawData) -> dict:
|
|
21
|
+
out: dict = {}
|
|
22
|
+
if "report_arn" in value:
|
|
23
|
+
out["reportArn"] = value["report_arn"]
|
|
24
|
+
if "data" in value:
|
|
25
|
+
out["data"] = value["data"]
|
|
26
|
+
return out
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def deserialize_aws_json_1_1(data: dict) -> ReportWithRawData:
|
|
30
|
+
out: ReportWithRawData = {} # type: ignore[typeddict-item]
|
|
31
|
+
if data.get("reportArn") is not None:
|
|
32
|
+
out["report_arn"] = data["reportArn"]
|
|
33
|
+
if data.get("data") is not None:
|
|
34
|
+
out["data"] = data["data"]
|
|
35
|
+
return out
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#Reports``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codebuild.types.report
|
|
7
|
+
|
|
8
|
+
Reports: TypeAlias = list["capo_codebuild.types.report.Report"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: Reports) -> list:
|
|
13
|
+
import capo_codebuild.types.report
|
|
14
|
+
|
|
15
|
+
out: list = []
|
|
16
|
+
for item in value:
|
|
17
|
+
out.append(capo_codebuild.types.report.serialize_aws_json_1_1(item))
|
|
18
|
+
return out
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def deserialize_aws_json_1_1(data: list) -> Reports:
|
|
22
|
+
import capo_codebuild.types.report
|
|
23
|
+
|
|
24
|
+
out: Reports = []
|
|
25
|
+
for item in data:
|
|
26
|
+
if item is None:
|
|
27
|
+
continue
|
|
28
|
+
out.append(capo_codebuild.types.report.deserialize_aws_json_1_1(item))
|
|
29
|
+
return out
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ResolvedArtifact``."""
|
|
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.artifacts_type
|
|
9
|
+
import capo_codebuild.types.string
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ResolvedArtifact(TypedDict, closed=True):
|
|
13
|
+
type: NotRequired["capo_codebuild.types.artifacts_type.ArtifactsType"]
|
|
14
|
+
"""<p>Specifies the type of artifact.</p>"""
|
|
15
|
+
location: NotRequired["capo_codebuild.types.string.String"]
|
|
16
|
+
"""<p>The location of the artifact.</p>"""
|
|
17
|
+
identifier: NotRequired["capo_codebuild.types.string.String"]
|
|
18
|
+
"""<p>The identifier of the artifact.</p>"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# --- awsJson1_1 ser/de ---
|
|
22
|
+
def serialize_aws_json_1_1(value: ResolvedArtifact) -> dict:
|
|
23
|
+
out: dict = {}
|
|
24
|
+
if "type" in value:
|
|
25
|
+
import capo_codebuild.types.artifacts_type
|
|
26
|
+
|
|
27
|
+
out["type"] = capo_codebuild.types.artifacts_type.serialize_aws_json_1_1(
|
|
28
|
+
value["type"]
|
|
29
|
+
)
|
|
30
|
+
if "location" in value:
|
|
31
|
+
out["location"] = value["location"]
|
|
32
|
+
if "identifier" in value:
|
|
33
|
+
out["identifier"] = value["identifier"]
|
|
34
|
+
return out
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def deserialize_aws_json_1_1(data: dict) -> ResolvedArtifact:
|
|
38
|
+
out: ResolvedArtifact = {} # type: ignore[typeddict-item]
|
|
39
|
+
if data.get("type") is not None:
|
|
40
|
+
import capo_codebuild.types.artifacts_type
|
|
41
|
+
|
|
42
|
+
out["type"] = capo_codebuild.types.artifacts_type.deserialize_aws_json_1_1(
|
|
43
|
+
data["type"]
|
|
44
|
+
)
|
|
45
|
+
if data.get("location") is not None:
|
|
46
|
+
out["location"] = data["location"]
|
|
47
|
+
if data.get("identifier") is not None:
|
|
48
|
+
out["identifier"] = data["identifier"]
|
|
49
|
+
return out
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ResolvedSecondaryArtifacts``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codebuild.types.resolved_artifact
|
|
7
|
+
|
|
8
|
+
ResolvedSecondaryArtifacts: TypeAlias = list[
|
|
9
|
+
"capo_codebuild.types.resolved_artifact.ResolvedArtifact"
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# --- awsJson1_1 ser/de ---
|
|
14
|
+
def serialize_aws_json_1_1(value: ResolvedSecondaryArtifacts) -> list:
|
|
15
|
+
import capo_codebuild.types.resolved_artifact
|
|
16
|
+
|
|
17
|
+
out: list = []
|
|
18
|
+
for item in value:
|
|
19
|
+
out.append(capo_codebuild.types.resolved_artifact.serialize_aws_json_1_1(item))
|
|
20
|
+
return out
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def deserialize_aws_json_1_1(data: list) -> ResolvedSecondaryArtifacts:
|
|
24
|
+
import capo_codebuild.types.resolved_artifact
|
|
25
|
+
|
|
26
|
+
out: ResolvedSecondaryArtifacts = []
|
|
27
|
+
for item in data:
|
|
28
|
+
if item is None:
|
|
29
|
+
continue
|
|
30
|
+
out.append(
|
|
31
|
+
capo_codebuild.types.resolved_artifact.deserialize_aws_json_1_1(item)
|
|
32
|
+
)
|
|
33
|
+
return out
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#RetryBuildBatchInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codebuild.types.non_empty_string
|
|
9
|
+
import capo_codebuild.types.retry_build_batch_type
|
|
10
|
+
import capo_codebuild.types.string
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class RetryBuildBatchInput(TypedDict, closed=True):
|
|
14
|
+
id: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
15
|
+
"""<p>Specifies the identifier of the batch build to restart.</p>"""
|
|
16
|
+
idempotency_token: NotRequired["capo_codebuild.types.string.String"]
|
|
17
|
+
"""<p>A unique, case sensitive identifier you provide to ensure the idempotency of the <code>RetryBuildBatch</code> request. The token is included in the <code>RetryBuildBatch</code> request and is valid for five minutes. If you repeat the <code>RetryBuildBatch</code> request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.</p>"""
|
|
18
|
+
retry_type: NotRequired[
|
|
19
|
+
"capo_codebuild.types.retry_build_batch_type.RetryBuildBatchType"
|
|
20
|
+
]
|
|
21
|
+
"""<p>Specifies the type of retry to perform.</p>"""
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
# --- awsJson1_1 ser/de ---
|
|
25
|
+
def serialize_aws_json_1_1(value: RetryBuildBatchInput) -> dict:
|
|
26
|
+
out: dict = {}
|
|
27
|
+
if "id" in value:
|
|
28
|
+
out["id"] = value["id"]
|
|
29
|
+
if "idempotency_token" in value:
|
|
30
|
+
out["idempotencyToken"] = value["idempotency_token"]
|
|
31
|
+
if "retry_type" in value:
|
|
32
|
+
import capo_codebuild.types.retry_build_batch_type
|
|
33
|
+
|
|
34
|
+
out["retryType"] = (
|
|
35
|
+
capo_codebuild.types.retry_build_batch_type.serialize_aws_json_1_1(
|
|
36
|
+
value["retry_type"]
|
|
37
|
+
)
|
|
38
|
+
)
|
|
39
|
+
return out
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def deserialize_aws_json_1_1(data: dict) -> RetryBuildBatchInput:
|
|
43
|
+
out: RetryBuildBatchInput = {} # type: ignore[typeddict-item]
|
|
44
|
+
if data.get("id") is not None:
|
|
45
|
+
out["id"] = data["id"]
|
|
46
|
+
if data.get("idempotencyToken") is not None:
|
|
47
|
+
out["idempotency_token"] = data["idempotencyToken"]
|
|
48
|
+
if data.get("retryType") is not None:
|
|
49
|
+
import capo_codebuild.types.retry_build_batch_type
|
|
50
|
+
|
|
51
|
+
out["retry_type"] = (
|
|
52
|
+
capo_codebuild.types.retry_build_batch_type.deserialize_aws_json_1_1(
|
|
53
|
+
data["retryType"]
|
|
54
|
+
)
|
|
55
|
+
)
|
|
56
|
+
return out
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#RetryBuildBatchOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codebuild.types.build_batch
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class RetryBuildBatchOutput(TypedDict, closed=True):
|
|
12
|
+
build_batch: NotRequired["capo_codebuild.types.build_batch.BuildBatch"]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# --- awsJson1_1 ser/de ---
|
|
16
|
+
def serialize_aws_json_1_1(value: RetryBuildBatchOutput) -> dict:
|
|
17
|
+
out: dict = {}
|
|
18
|
+
if "build_batch" in value:
|
|
19
|
+
import capo_codebuild.types.build_batch
|
|
20
|
+
|
|
21
|
+
out["buildBatch"] = capo_codebuild.types.build_batch.serialize_aws_json_1_1(
|
|
22
|
+
value["build_batch"]
|
|
23
|
+
)
|
|
24
|
+
return out
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def deserialize_aws_json_1_1(data: dict) -> RetryBuildBatchOutput:
|
|
28
|
+
out: RetryBuildBatchOutput = {} # type: ignore[typeddict-item]
|
|
29
|
+
if data.get("buildBatch") is not None:
|
|
30
|
+
import capo_codebuild.types.build_batch
|
|
31
|
+
|
|
32
|
+
out["build_batch"] = capo_codebuild.types.build_batch.deserialize_aws_json_1_1(
|
|
33
|
+
data["buildBatch"]
|
|
34
|
+
)
|
|
35
|
+
return out
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#RetryBuildBatchType``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
RetryBuildBatchType: TypeAlias = Literal[
|
|
6
|
+
"RETRY_ALL_BUILDS",
|
|
7
|
+
"RETRY_FAILED_BUILDS",
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: RetryBuildBatchType) -> str:
|
|
13
|
+
return value
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: str) -> RetryBuildBatchType:
|
|
17
|
+
return cast(RetryBuildBatchType, data)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#RetryBuildInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codebuild.types.non_empty_string
|
|
9
|
+
import capo_codebuild.types.string
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class RetryBuildInput(TypedDict, closed=True):
|
|
13
|
+
id: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
14
|
+
"""<p>Specifies the identifier of the build to restart.</p>"""
|
|
15
|
+
idempotency_token: NotRequired["capo_codebuild.types.string.String"]
|
|
16
|
+
"""<p>A unique, case sensitive identifier you provide to ensure the idempotency of the <code>RetryBuild</code> request. The token is included in the <code>RetryBuild</code> request and is valid for five minutes. If you repeat the <code>RetryBuild</code> request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.</p>"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# --- awsJson1_1 ser/de ---
|
|
20
|
+
def serialize_aws_json_1_1(value: RetryBuildInput) -> dict:
|
|
21
|
+
out: dict = {}
|
|
22
|
+
if "id" in value:
|
|
23
|
+
out["id"] = value["id"]
|
|
24
|
+
if "idempotency_token" in value:
|
|
25
|
+
out["idempotencyToken"] = value["idempotency_token"]
|
|
26
|
+
return out
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def deserialize_aws_json_1_1(data: dict) -> RetryBuildInput:
|
|
30
|
+
out: RetryBuildInput = {} # type: ignore[typeddict-item]
|
|
31
|
+
if data.get("id") is not None:
|
|
32
|
+
out["id"] = data["id"]
|
|
33
|
+
if data.get("idempotencyToken") is not None:
|
|
34
|
+
out["idempotency_token"] = data["idempotencyToken"]
|
|
35
|
+
return out
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#RetryBuildOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codebuild.types.build
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class RetryBuildOutput(TypedDict, closed=True):
|
|
12
|
+
build: NotRequired["capo_codebuild.types.build.Build"]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# --- awsJson1_1 ser/de ---
|
|
16
|
+
def serialize_aws_json_1_1(value: RetryBuildOutput) -> dict:
|
|
17
|
+
out: dict = {}
|
|
18
|
+
if "build" in value:
|
|
19
|
+
import capo_codebuild.types.build
|
|
20
|
+
|
|
21
|
+
out["build"] = capo_codebuild.types.build.serialize_aws_json_1_1(value["build"])
|
|
22
|
+
return out
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def deserialize_aws_json_1_1(data: dict) -> RetryBuildOutput:
|
|
26
|
+
out: RetryBuildOutput = {} # type: ignore[typeddict-item]
|
|
27
|
+
if data.get("build") is not None:
|
|
28
|
+
import capo_codebuild.types.build
|
|
29
|
+
|
|
30
|
+
out["build"] = capo_codebuild.types.build.deserialize_aws_json_1_1(
|
|
31
|
+
data["build"]
|
|
32
|
+
)
|
|
33
|
+
return out
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#S3LogsConfig``."""
|
|
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.bucket_owner_access
|
|
11
|
+
import capo_codebuild.types.logs_config_status_type
|
|
12
|
+
import capo_codebuild.types.string
|
|
13
|
+
import capo_codebuild.types.wrapper_boolean
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class S3LogsConfig(TypedDict, closed=True):
|
|
17
|
+
status: "capo_codebuild.types.logs_config_status_type.LogsConfigStatusType"
|
|
18
|
+
"""<p>The current status of the S3 build logs. Valid values are:</p> <ul> <li> <p> <code>ENABLED</code>: S3 build logs are enabled for this build project.</p> </li> <li> <p> <code>DISABLED</code>: S3 build logs are not enabled for this build project.</p> </li> </ul>"""
|
|
19
|
+
location: NotRequired["capo_codebuild.types.string.String"]
|
|
20
|
+
"""<p> The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is <code>my-bucket</code>, and your path prefix is <code>build-log</code>, then acceptable formats are <code>my-bucket/build-log</code> or <code>arn:aws:s3:::my-bucket/build-log</code>. </p>"""
|
|
21
|
+
encryption_disabled: NotRequired[
|
|
22
|
+
"capo_codebuild.types.wrapper_boolean.WrapperBoolean"
|
|
23
|
+
]
|
|
24
|
+
"""<p> Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted. </p>"""
|
|
25
|
+
bucket_owner_access: NotRequired[
|
|
26
|
+
"capo_codebuild.types.bucket_owner_access.BucketOwnerAccess"
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# --- awsJson1_1 ser/de ---
|
|
31
|
+
def serialize_aws_json_1_1(value: S3LogsConfig) -> dict:
|
|
32
|
+
out: dict = {}
|
|
33
|
+
import capo_codebuild.types.logs_config_status_type
|
|
34
|
+
|
|
35
|
+
out["status"] = capo_codebuild.types.logs_config_status_type.serialize_aws_json_1_1(
|
|
36
|
+
value["status"]
|
|
37
|
+
)
|
|
38
|
+
if "location" in value:
|
|
39
|
+
out["location"] = value["location"]
|
|
40
|
+
if "encryption_disabled" in value:
|
|
41
|
+
out["encryptionDisabled"] = value["encryption_disabled"]
|
|
42
|
+
if "bucket_owner_access" in value:
|
|
43
|
+
import capo_codebuild.types.bucket_owner_access
|
|
44
|
+
|
|
45
|
+
out["bucketOwnerAccess"] = (
|
|
46
|
+
capo_codebuild.types.bucket_owner_access.serialize_aws_json_1_1(
|
|
47
|
+
value["bucket_owner_access"]
|
|
48
|
+
)
|
|
49
|
+
)
|
|
50
|
+
return out
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def deserialize_aws_json_1_1(data: dict) -> S3LogsConfig:
|
|
54
|
+
out: S3LogsConfig = {} # type: ignore[typeddict-item]
|
|
55
|
+
if data.get("status") is not None:
|
|
56
|
+
import capo_codebuild.types.logs_config_status_type
|
|
57
|
+
|
|
58
|
+
out["status"] = (
|
|
59
|
+
capo_codebuild.types.logs_config_status_type.deserialize_aws_json_1_1(
|
|
60
|
+
data["status"]
|
|
61
|
+
)
|
|
62
|
+
)
|
|
63
|
+
else:
|
|
64
|
+
raise DeserializationError("S3LogsConfig.status required")
|
|
65
|
+
if data.get("location") is not None:
|
|
66
|
+
out["location"] = data["location"]
|
|
67
|
+
if data.get("encryptionDisabled") is not None:
|
|
68
|
+
out["encryption_disabled"] = data["encryptionDisabled"]
|
|
69
|
+
if data.get("bucketOwnerAccess") is not None:
|
|
70
|
+
import capo_codebuild.types.bucket_owner_access
|
|
71
|
+
|
|
72
|
+
out["bucket_owner_access"] = (
|
|
73
|
+
capo_codebuild.types.bucket_owner_access.deserialize_aws_json_1_1(
|
|
74
|
+
data["bucketOwnerAccess"]
|
|
75
|
+
)
|
|
76
|
+
)
|
|
77
|
+
return out
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#S3ReportExportConfig``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codebuild.types.non_empty_string
|
|
9
|
+
import capo_codebuild.types.report_packaging_type
|
|
10
|
+
import capo_codebuild.types.string
|
|
11
|
+
import capo_codebuild.types.wrapper_boolean
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class S3ReportExportConfig(TypedDict, closed=True):
|
|
15
|
+
bucket: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
16
|
+
"""<p> The name of the S3 bucket where the raw data of a report are exported. </p>"""
|
|
17
|
+
bucket_owner: NotRequired["capo_codebuild.types.string.String"]
|
|
18
|
+
"""<p>The Amazon Web Services account identifier of the owner of the Amazon S3 bucket. This allows report data to be exported to an Amazon S3 bucket that is owned by an account other than the account running the build.</p>"""
|
|
19
|
+
path: NotRequired["capo_codebuild.types.string.String"]
|
|
20
|
+
"""<p> The path to the exported report's raw data results. </p>"""
|
|
21
|
+
packaging: NotRequired[
|
|
22
|
+
"capo_codebuild.types.report_packaging_type.ReportPackagingType"
|
|
23
|
+
]
|
|
24
|
+
"""<p> The type of build output artifact to create. Valid values include: </p> <ul> <li> <p> <code>NONE</code>: CodeBuild creates the raw data in the output bucket. This is the default if packaging is not specified. </p> </li> <li> <p> <code>ZIP</code>: CodeBuild creates a ZIP file with the raw data in the output bucket. </p> </li> </ul>"""
|
|
25
|
+
encryption_key: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
26
|
+
"""<p> The encryption key for the report's encrypted raw data. </p>"""
|
|
27
|
+
encryption_disabled: NotRequired[
|
|
28
|
+
"capo_codebuild.types.wrapper_boolean.WrapperBoolean"
|
|
29
|
+
]
|
|
30
|
+
"""<p> A boolean value that specifies if the results of a report are encrypted. </p>"""
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# --- awsJson1_1 ser/de ---
|
|
34
|
+
def serialize_aws_json_1_1(value: S3ReportExportConfig) -> dict:
|
|
35
|
+
out: dict = {}
|
|
36
|
+
if "bucket" in value:
|
|
37
|
+
out["bucket"] = value["bucket"]
|
|
38
|
+
if "bucket_owner" in value:
|
|
39
|
+
out["bucketOwner"] = value["bucket_owner"]
|
|
40
|
+
if "path" in value:
|
|
41
|
+
out["path"] = value["path"]
|
|
42
|
+
if "packaging" in value:
|
|
43
|
+
import capo_codebuild.types.report_packaging_type
|
|
44
|
+
|
|
45
|
+
out["packaging"] = (
|
|
46
|
+
capo_codebuild.types.report_packaging_type.serialize_aws_json_1_1(
|
|
47
|
+
value["packaging"]
|
|
48
|
+
)
|
|
49
|
+
)
|
|
50
|
+
if "encryption_key" in value:
|
|
51
|
+
out["encryptionKey"] = value["encryption_key"]
|
|
52
|
+
if "encryption_disabled" in value:
|
|
53
|
+
out["encryptionDisabled"] = value["encryption_disabled"]
|
|
54
|
+
return out
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def deserialize_aws_json_1_1(data: dict) -> S3ReportExportConfig:
|
|
58
|
+
out: S3ReportExportConfig = {} # type: ignore[typeddict-item]
|
|
59
|
+
if data.get("bucket") is not None:
|
|
60
|
+
out["bucket"] = data["bucket"]
|
|
61
|
+
if data.get("bucketOwner") is not None:
|
|
62
|
+
out["bucket_owner"] = data["bucketOwner"]
|
|
63
|
+
if data.get("path") is not None:
|
|
64
|
+
out["path"] = data["path"]
|
|
65
|
+
if data.get("packaging") is not None:
|
|
66
|
+
import capo_codebuild.types.report_packaging_type
|
|
67
|
+
|
|
68
|
+
out["packaging"] = (
|
|
69
|
+
capo_codebuild.types.report_packaging_type.deserialize_aws_json_1_1(
|
|
70
|
+
data["packaging"]
|
|
71
|
+
)
|
|
72
|
+
)
|
|
73
|
+
if data.get("encryptionKey") is not None:
|
|
74
|
+
out["encryption_key"] = data["encryptionKey"]
|
|
75
|
+
if data.get("encryptionDisabled") is not None:
|
|
76
|
+
out["encryption_disabled"] = data["encryptionDisabled"]
|
|
77
|
+
return out
|