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,73 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ListSharedProjectsInput``."""
|
|
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.page_size
|
|
10
|
+
import capo_codebuild.types.shared_resource_sort_by_type
|
|
11
|
+
import capo_codebuild.types.sort_order_type
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class ListSharedProjectsInput(TypedDict, closed=True):
|
|
15
|
+
sort_by: NotRequired[
|
|
16
|
+
"capo_codebuild.types.shared_resource_sort_by_type.SharedResourceSortByType"
|
|
17
|
+
]
|
|
18
|
+
"""<p> The criterion to be used to list build projects shared with the current Amazon Web Services account or user. Valid values include: </p> <ul> <li> <p> <code>ARN</code>: List based on the ARN. </p> </li> <li> <p> <code>MODIFIED_TIME</code>: List based on when information about the shared project was last changed. </p> </li> </ul>"""
|
|
19
|
+
sort_order: NotRequired["capo_codebuild.types.sort_order_type.SortOrderType"]
|
|
20
|
+
"""<p>The order in which to list shared build projects. Valid values include:</p> <ul> <li> <p> <code>ASCENDING</code>: List in ascending order.</p> </li> <li> <p> <code>DESCENDING</code>: List in descending order.</p> </li> </ul>"""
|
|
21
|
+
max_results: NotRequired["capo_codebuild.types.page_size.PageSize"]
|
|
22
|
+
"""<p> The maximum number of paginated shared build projects returned per response. Use <code>nextToken</code> to iterate pages in the list of returned <code>Project</code> objects. The default value is 100. </p>"""
|
|
23
|
+
next_token: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
24
|
+
"""<p> During a previous call, the maximum number of items that can be returned is the value specified in <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i> is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned. </p>"""
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# --- awsJson1_1 ser/de ---
|
|
28
|
+
def serialize_aws_json_1_1(value: ListSharedProjectsInput) -> dict:
|
|
29
|
+
out: dict = {}
|
|
30
|
+
if "sort_by" in value:
|
|
31
|
+
import capo_codebuild.types.shared_resource_sort_by_type
|
|
32
|
+
|
|
33
|
+
out["sortBy"] = (
|
|
34
|
+
capo_codebuild.types.shared_resource_sort_by_type.serialize_aws_json_1_1(
|
|
35
|
+
value["sort_by"]
|
|
36
|
+
)
|
|
37
|
+
)
|
|
38
|
+
if "sort_order" in value:
|
|
39
|
+
import capo_codebuild.types.sort_order_type
|
|
40
|
+
|
|
41
|
+
out["sortOrder"] = capo_codebuild.types.sort_order_type.serialize_aws_json_1_1(
|
|
42
|
+
value["sort_order"]
|
|
43
|
+
)
|
|
44
|
+
if "max_results" in value:
|
|
45
|
+
out["maxResults"] = value["max_results"]
|
|
46
|
+
if "next_token" in value:
|
|
47
|
+
out["nextToken"] = value["next_token"]
|
|
48
|
+
return out
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def deserialize_aws_json_1_1(data: dict) -> ListSharedProjectsInput:
|
|
52
|
+
out: ListSharedProjectsInput = {} # type: ignore[typeddict-item]
|
|
53
|
+
if data.get("sortBy") is not None:
|
|
54
|
+
import capo_codebuild.types.shared_resource_sort_by_type
|
|
55
|
+
|
|
56
|
+
out["sort_by"] = (
|
|
57
|
+
capo_codebuild.types.shared_resource_sort_by_type.deserialize_aws_json_1_1(
|
|
58
|
+
data["sortBy"]
|
|
59
|
+
)
|
|
60
|
+
)
|
|
61
|
+
if data.get("sortOrder") is not None:
|
|
62
|
+
import capo_codebuild.types.sort_order_type
|
|
63
|
+
|
|
64
|
+
out["sort_order"] = (
|
|
65
|
+
capo_codebuild.types.sort_order_type.deserialize_aws_json_1_1(
|
|
66
|
+
data["sortOrder"]
|
|
67
|
+
)
|
|
68
|
+
)
|
|
69
|
+
if data.get("maxResults") is not None:
|
|
70
|
+
out["max_results"] = data["maxResults"]
|
|
71
|
+
if data.get("nextToken") is not None:
|
|
72
|
+
out["next_token"] = data["nextToken"]
|
|
73
|
+
return out
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ListSharedProjectsOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codebuild.types.project_arns
|
|
9
|
+
import capo_codebuild.types.string
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ListSharedProjectsOutput(TypedDict, closed=True):
|
|
13
|
+
next_token: NotRequired["capo_codebuild.types.string.String"]
|
|
14
|
+
"""<p> During a previous call, the maximum number of items that can be returned is the value specified in <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i> is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned. </p>"""
|
|
15
|
+
projects: NotRequired["capo_codebuild.types.project_arns.ProjectArns"]
|
|
16
|
+
"""<p> The list of ARNs for the build projects shared with the current Amazon Web Services account or user. </p>"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# --- awsJson1_1 ser/de ---
|
|
20
|
+
def serialize_aws_json_1_1(value: ListSharedProjectsOutput) -> dict:
|
|
21
|
+
out: dict = {}
|
|
22
|
+
if "next_token" in value:
|
|
23
|
+
out["nextToken"] = value["next_token"]
|
|
24
|
+
if "projects" in value:
|
|
25
|
+
import capo_codebuild.types.project_arns
|
|
26
|
+
|
|
27
|
+
out["projects"] = capo_codebuild.types.project_arns.serialize_aws_json_1_1(
|
|
28
|
+
value["projects"]
|
|
29
|
+
)
|
|
30
|
+
return out
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def deserialize_aws_json_1_1(data: dict) -> ListSharedProjectsOutput:
|
|
34
|
+
out: ListSharedProjectsOutput = {} # type: ignore[typeddict-item]
|
|
35
|
+
if data.get("nextToken") is not None:
|
|
36
|
+
out["next_token"] = data["nextToken"]
|
|
37
|
+
if data.get("projects") is not None:
|
|
38
|
+
import capo_codebuild.types.project_arns
|
|
39
|
+
|
|
40
|
+
out["projects"] = capo_codebuild.types.project_arns.deserialize_aws_json_1_1(
|
|
41
|
+
data["projects"]
|
|
42
|
+
)
|
|
43
|
+
return out
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ListSharedReportGroupsInput``."""
|
|
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.page_size
|
|
9
|
+
import capo_codebuild.types.shared_resource_sort_by_type
|
|
10
|
+
import capo_codebuild.types.sort_order_type
|
|
11
|
+
import capo_codebuild.types.string
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class ListSharedReportGroupsInput(TypedDict, closed=True):
|
|
15
|
+
sort_order: NotRequired["capo_codebuild.types.sort_order_type.SortOrderType"]
|
|
16
|
+
"""<p>The order in which to list shared report groups. Valid values include:</p> <ul> <li> <p> <code>ASCENDING</code>: List in ascending order.</p> </li> <li> <p> <code>DESCENDING</code>: List in descending order.</p> </li> </ul>"""
|
|
17
|
+
sort_by: NotRequired[
|
|
18
|
+
"capo_codebuild.types.shared_resource_sort_by_type.SharedResourceSortByType"
|
|
19
|
+
]
|
|
20
|
+
"""<p> The criterion to be used to list report groups shared with the current Amazon Web Services account or user. Valid values include: </p> <ul> <li> <p> <code>ARN</code>: List based on the ARN. </p> </li> <li> <p> <code>MODIFIED_TIME</code>: List based on when information about the shared report group was last changed. </p> </li> </ul>"""
|
|
21
|
+
next_token: NotRequired["capo_codebuild.types.string.String"]
|
|
22
|
+
"""<p> During a previous call, the maximum number of items that can be returned is the value specified in <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i> is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned. </p>"""
|
|
23
|
+
max_results: NotRequired["capo_codebuild.types.page_size.PageSize"]
|
|
24
|
+
"""<p> The maximum number of paginated shared report groups per response. Use <code>nextToken</code> to iterate pages in the list of returned <code>ReportGroup</code> objects. The default value is 100. </p>"""
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# --- awsJson1_1 ser/de ---
|
|
28
|
+
def serialize_aws_json_1_1(value: ListSharedReportGroupsInput) -> dict:
|
|
29
|
+
out: dict = {}
|
|
30
|
+
if "sort_order" in value:
|
|
31
|
+
import capo_codebuild.types.sort_order_type
|
|
32
|
+
|
|
33
|
+
out["sortOrder"] = capo_codebuild.types.sort_order_type.serialize_aws_json_1_1(
|
|
34
|
+
value["sort_order"]
|
|
35
|
+
)
|
|
36
|
+
if "sort_by" in value:
|
|
37
|
+
import capo_codebuild.types.shared_resource_sort_by_type
|
|
38
|
+
|
|
39
|
+
out["sortBy"] = (
|
|
40
|
+
capo_codebuild.types.shared_resource_sort_by_type.serialize_aws_json_1_1(
|
|
41
|
+
value["sort_by"]
|
|
42
|
+
)
|
|
43
|
+
)
|
|
44
|
+
if "next_token" in value:
|
|
45
|
+
out["nextToken"] = value["next_token"]
|
|
46
|
+
if "max_results" in value:
|
|
47
|
+
out["maxResults"] = value["max_results"]
|
|
48
|
+
return out
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def deserialize_aws_json_1_1(data: dict) -> ListSharedReportGroupsInput:
|
|
52
|
+
out: ListSharedReportGroupsInput = {} # type: ignore[typeddict-item]
|
|
53
|
+
if data.get("sortOrder") is not None:
|
|
54
|
+
import capo_codebuild.types.sort_order_type
|
|
55
|
+
|
|
56
|
+
out["sort_order"] = (
|
|
57
|
+
capo_codebuild.types.sort_order_type.deserialize_aws_json_1_1(
|
|
58
|
+
data["sortOrder"]
|
|
59
|
+
)
|
|
60
|
+
)
|
|
61
|
+
if data.get("sortBy") is not None:
|
|
62
|
+
import capo_codebuild.types.shared_resource_sort_by_type
|
|
63
|
+
|
|
64
|
+
out["sort_by"] = (
|
|
65
|
+
capo_codebuild.types.shared_resource_sort_by_type.deserialize_aws_json_1_1(
|
|
66
|
+
data["sortBy"]
|
|
67
|
+
)
|
|
68
|
+
)
|
|
69
|
+
if data.get("nextToken") is not None:
|
|
70
|
+
out["next_token"] = data["nextToken"]
|
|
71
|
+
if data.get("maxResults") is not None:
|
|
72
|
+
out["max_results"] = data["maxResults"]
|
|
73
|
+
return out
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ListSharedReportGroupsOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codebuild.types.report_group_arns
|
|
9
|
+
import capo_codebuild.types.string
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ListSharedReportGroupsOutput(TypedDict, closed=True):
|
|
13
|
+
next_token: NotRequired["capo_codebuild.types.string.String"]
|
|
14
|
+
"""<p> During a previous call, the maximum number of items that can be returned is the value specified in <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i> is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned. </p>"""
|
|
15
|
+
report_groups: NotRequired["capo_codebuild.types.report_group_arns.ReportGroupArns"]
|
|
16
|
+
"""<p> The list of ARNs for the report groups shared with the current Amazon Web Services account or user. </p>"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# --- awsJson1_1 ser/de ---
|
|
20
|
+
def serialize_aws_json_1_1(value: ListSharedReportGroupsOutput) -> dict:
|
|
21
|
+
out: dict = {}
|
|
22
|
+
if "next_token" in value:
|
|
23
|
+
out["nextToken"] = value["next_token"]
|
|
24
|
+
if "report_groups" in value:
|
|
25
|
+
import capo_codebuild.types.report_group_arns
|
|
26
|
+
|
|
27
|
+
out["reportGroups"] = (
|
|
28
|
+
capo_codebuild.types.report_group_arns.serialize_aws_json_1_1(
|
|
29
|
+
value["report_groups"]
|
|
30
|
+
)
|
|
31
|
+
)
|
|
32
|
+
return out
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def deserialize_aws_json_1_1(data: dict) -> ListSharedReportGroupsOutput:
|
|
36
|
+
out: ListSharedReportGroupsOutput = {} # type: ignore[typeddict-item]
|
|
37
|
+
if data.get("nextToken") is not None:
|
|
38
|
+
out["next_token"] = data["nextToken"]
|
|
39
|
+
if data.get("reportGroups") is not None:
|
|
40
|
+
import capo_codebuild.types.report_group_arns
|
|
41
|
+
|
|
42
|
+
out["report_groups"] = (
|
|
43
|
+
capo_codebuild.types.report_group_arns.deserialize_aws_json_1_1(
|
|
44
|
+
data["reportGroups"]
|
|
45
|
+
)
|
|
46
|
+
)
|
|
47
|
+
return out
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ListSourceCredentialsInput``."""
|
|
2
|
+
|
|
3
|
+
from typing_extensions import TypedDict
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListSourceCredentialsInput(TypedDict, closed=True):
|
|
7
|
+
pass
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# --- awsJson1_1 ser/de ---
|
|
11
|
+
def serialize_aws_json_1_1(value: ListSourceCredentialsInput) -> dict:
|
|
12
|
+
out: dict = {}
|
|
13
|
+
return out
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: dict) -> ListSourceCredentialsInput:
|
|
17
|
+
out: ListSourceCredentialsInput = {} # type: ignore[typeddict-item]
|
|
18
|
+
return out
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ListSourceCredentialsOutput``."""
|
|
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.source_credentials_infos
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ListSourceCredentialsOutput(TypedDict, closed=True):
|
|
12
|
+
source_credentials_infos: NotRequired[
|
|
13
|
+
"capo_codebuild.types.source_credentials_infos.SourceCredentialsInfos"
|
|
14
|
+
]
|
|
15
|
+
"""<p> A list of <code>SourceCredentialsInfo</code> objects. Each <code>SourceCredentialsInfo</code> object includes the authentication type, token ARN, and type of source provider for one set of credentials. </p>"""
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# --- awsJson1_1 ser/de ---
|
|
19
|
+
def serialize_aws_json_1_1(value: ListSourceCredentialsOutput) -> dict:
|
|
20
|
+
out: dict = {}
|
|
21
|
+
if "source_credentials_infos" in value:
|
|
22
|
+
import capo_codebuild.types.source_credentials_infos
|
|
23
|
+
|
|
24
|
+
out["sourceCredentialsInfos"] = (
|
|
25
|
+
capo_codebuild.types.source_credentials_infos.serialize_aws_json_1_1(
|
|
26
|
+
value["source_credentials_infos"]
|
|
27
|
+
)
|
|
28
|
+
)
|
|
29
|
+
return out
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def deserialize_aws_json_1_1(data: dict) -> ListSourceCredentialsOutput:
|
|
33
|
+
out: ListSourceCredentialsOutput = {} # type: ignore[typeddict-item]
|
|
34
|
+
if data.get("sourceCredentialsInfos") is not None:
|
|
35
|
+
import capo_codebuild.types.source_credentials_infos
|
|
36
|
+
|
|
37
|
+
out["source_credentials_infos"] = (
|
|
38
|
+
capo_codebuild.types.source_credentials_infos.deserialize_aws_json_1_1(
|
|
39
|
+
data["sourceCredentialsInfos"]
|
|
40
|
+
)
|
|
41
|
+
)
|
|
42
|
+
return out
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#LogsConfig``."""
|
|
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.cloud_watch_logs_config
|
|
9
|
+
import capo_codebuild.types.s3_logs_config
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class LogsConfig(TypedDict, closed=True):
|
|
13
|
+
cloud_watch_logs: NotRequired[
|
|
14
|
+
"capo_codebuild.types.cloud_watch_logs_config.CloudWatchLogsConfig"
|
|
15
|
+
]
|
|
16
|
+
"""<p> Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default. </p>"""
|
|
17
|
+
s3_logs: NotRequired["capo_codebuild.types.s3_logs_config.S3LogsConfig"]
|
|
18
|
+
"""<p> Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default. </p>"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# --- awsJson1_1 ser/de ---
|
|
22
|
+
def serialize_aws_json_1_1(value: LogsConfig) -> dict:
|
|
23
|
+
out: dict = {}
|
|
24
|
+
if "cloud_watch_logs" in value:
|
|
25
|
+
import capo_codebuild.types.cloud_watch_logs_config
|
|
26
|
+
|
|
27
|
+
out["cloudWatchLogs"] = (
|
|
28
|
+
capo_codebuild.types.cloud_watch_logs_config.serialize_aws_json_1_1(
|
|
29
|
+
value["cloud_watch_logs"]
|
|
30
|
+
)
|
|
31
|
+
)
|
|
32
|
+
if "s3_logs" in value:
|
|
33
|
+
import capo_codebuild.types.s3_logs_config
|
|
34
|
+
|
|
35
|
+
out["s3Logs"] = capo_codebuild.types.s3_logs_config.serialize_aws_json_1_1(
|
|
36
|
+
value["s3_logs"]
|
|
37
|
+
)
|
|
38
|
+
return out
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def deserialize_aws_json_1_1(data: dict) -> LogsConfig:
|
|
42
|
+
out: LogsConfig = {} # type: ignore[typeddict-item]
|
|
43
|
+
if data.get("cloudWatchLogs") is not None:
|
|
44
|
+
import capo_codebuild.types.cloud_watch_logs_config
|
|
45
|
+
|
|
46
|
+
out["cloud_watch_logs"] = (
|
|
47
|
+
capo_codebuild.types.cloud_watch_logs_config.deserialize_aws_json_1_1(
|
|
48
|
+
data["cloudWatchLogs"]
|
|
49
|
+
)
|
|
50
|
+
)
|
|
51
|
+
if data.get("s3Logs") is not None:
|
|
52
|
+
import capo_codebuild.types.s3_logs_config
|
|
53
|
+
|
|
54
|
+
out["s3_logs"] = capo_codebuild.types.s3_logs_config.deserialize_aws_json_1_1(
|
|
55
|
+
data["s3Logs"]
|
|
56
|
+
)
|
|
57
|
+
return out
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#LogsConfigStatusType``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
LogsConfigStatusType: TypeAlias = Literal[
|
|
6
|
+
"ENABLED",
|
|
7
|
+
"DISABLED",
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: LogsConfigStatusType) -> str:
|
|
13
|
+
return value
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: str) -> LogsConfigStatusType:
|
|
17
|
+
return cast(LogsConfigStatusType, data)
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#LogsLocation``."""
|
|
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.cloud_watch_logs_config
|
|
9
|
+
import capo_codebuild.types.s3_logs_config
|
|
10
|
+
import capo_codebuild.types.string
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class LogsLocation(TypedDict, closed=True):
|
|
14
|
+
group_name: NotRequired["capo_codebuild.types.string.String"]
|
|
15
|
+
"""<p>The name of the CloudWatch Logs group for the build logs.</p>"""
|
|
16
|
+
stream_name: NotRequired["capo_codebuild.types.string.String"]
|
|
17
|
+
"""<p>The name of the CloudWatch Logs stream for the build logs.</p>"""
|
|
18
|
+
deep_link: NotRequired["capo_codebuild.types.string.String"]
|
|
19
|
+
"""<p>The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and the <code>deeplink</code> will not be valid until it is created.</p>"""
|
|
20
|
+
s3_deep_link: NotRequired["capo_codebuild.types.string.String"]
|
|
21
|
+
"""<p> The URL to a build log in an S3 bucket. </p>"""
|
|
22
|
+
cloud_watch_logs_arn: NotRequired["capo_codebuild.types.string.String"]
|
|
23
|
+
r"""<p>The ARN of the CloudWatch Logs stream for a build execution. Its format is <code>arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}</code>. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatchlogs.html#amazoncloudwatchlogs-resources-for-iam-policies\">Resources Defined by CloudWatch Logs</a>.</p>"""
|
|
24
|
+
s3_logs_arn: NotRequired["capo_codebuild.types.string.String"]
|
|
25
|
+
r"""<p> The ARN of S3 logs for a build project. Its format is <code>arn:${Partition}:s3:::${BucketName}/${ObjectName}</code>. For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html#amazons3-resources-for-iam-policies\">Resources Defined by Amazon S3</a>. </p>"""
|
|
26
|
+
cloud_watch_logs: NotRequired[
|
|
27
|
+
"capo_codebuild.types.cloud_watch_logs_config.CloudWatchLogsConfig"
|
|
28
|
+
]
|
|
29
|
+
"""<p> Information about CloudWatch Logs for a build project. </p>"""
|
|
30
|
+
s3_logs: NotRequired["capo_codebuild.types.s3_logs_config.S3LogsConfig"]
|
|
31
|
+
"""<p> Information about S3 logs for a build project. </p>"""
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# --- awsJson1_1 ser/de ---
|
|
35
|
+
def serialize_aws_json_1_1(value: LogsLocation) -> dict:
|
|
36
|
+
out: dict = {}
|
|
37
|
+
if "group_name" in value:
|
|
38
|
+
out["groupName"] = value["group_name"]
|
|
39
|
+
if "stream_name" in value:
|
|
40
|
+
out["streamName"] = value["stream_name"]
|
|
41
|
+
if "deep_link" in value:
|
|
42
|
+
out["deepLink"] = value["deep_link"]
|
|
43
|
+
if "s3_deep_link" in value:
|
|
44
|
+
out["s3DeepLink"] = value["s3_deep_link"]
|
|
45
|
+
if "cloud_watch_logs_arn" in value:
|
|
46
|
+
out["cloudWatchLogsArn"] = value["cloud_watch_logs_arn"]
|
|
47
|
+
if "s3_logs_arn" in value:
|
|
48
|
+
out["s3LogsArn"] = value["s3_logs_arn"]
|
|
49
|
+
if "cloud_watch_logs" in value:
|
|
50
|
+
import capo_codebuild.types.cloud_watch_logs_config
|
|
51
|
+
|
|
52
|
+
out["cloudWatchLogs"] = (
|
|
53
|
+
capo_codebuild.types.cloud_watch_logs_config.serialize_aws_json_1_1(
|
|
54
|
+
value["cloud_watch_logs"]
|
|
55
|
+
)
|
|
56
|
+
)
|
|
57
|
+
if "s3_logs" in value:
|
|
58
|
+
import capo_codebuild.types.s3_logs_config
|
|
59
|
+
|
|
60
|
+
out["s3Logs"] = capo_codebuild.types.s3_logs_config.serialize_aws_json_1_1(
|
|
61
|
+
value["s3_logs"]
|
|
62
|
+
)
|
|
63
|
+
return out
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def deserialize_aws_json_1_1(data: dict) -> LogsLocation:
|
|
67
|
+
out: LogsLocation = {} # type: ignore[typeddict-item]
|
|
68
|
+
if data.get("groupName") is not None:
|
|
69
|
+
out["group_name"] = data["groupName"]
|
|
70
|
+
if data.get("streamName") is not None:
|
|
71
|
+
out["stream_name"] = data["streamName"]
|
|
72
|
+
if data.get("deepLink") is not None:
|
|
73
|
+
out["deep_link"] = data["deepLink"]
|
|
74
|
+
if data.get("s3DeepLink") is not None:
|
|
75
|
+
out["s3_deep_link"] = data["s3DeepLink"]
|
|
76
|
+
if data.get("cloudWatchLogsArn") is not None:
|
|
77
|
+
out["cloud_watch_logs_arn"] = data["cloudWatchLogsArn"]
|
|
78
|
+
if data.get("s3LogsArn") is not None:
|
|
79
|
+
out["s3_logs_arn"] = data["s3LogsArn"]
|
|
80
|
+
if data.get("cloudWatchLogs") is not None:
|
|
81
|
+
import capo_codebuild.types.cloud_watch_logs_config
|
|
82
|
+
|
|
83
|
+
out["cloud_watch_logs"] = (
|
|
84
|
+
capo_codebuild.types.cloud_watch_logs_config.deserialize_aws_json_1_1(
|
|
85
|
+
data["cloudWatchLogs"]
|
|
86
|
+
)
|
|
87
|
+
)
|
|
88
|
+
if data.get("s3Logs") is not None:
|
|
89
|
+
import capo_codebuild.types.s3_logs_config
|
|
90
|
+
|
|
91
|
+
out["s3_logs"] = capo_codebuild.types.s3_logs_config.deserialize_aws_json_1_1(
|
|
92
|
+
data["s3Logs"]
|
|
93
|
+
)
|
|
94
|
+
return out
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#MachineType``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
MachineType: TypeAlias = Literal[
|
|
6
|
+
"GENERAL",
|
|
7
|
+
"NVME",
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: MachineType) -> str:
|
|
13
|
+
return value
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: str) -> MachineType:
|
|
17
|
+
return cast(MachineType, data)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#NetworkInterface``."""
|
|
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
|
+
|
|
10
|
+
|
|
11
|
+
class NetworkInterface(TypedDict, closed=True):
|
|
12
|
+
subnet_id: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
13
|
+
"""<p>The ID of the subnet.</p>"""
|
|
14
|
+
network_interface_id: NotRequired[
|
|
15
|
+
"capo_codebuild.types.non_empty_string.NonEmptyString"
|
|
16
|
+
]
|
|
17
|
+
"""<p>The ID of the network interface.</p>"""
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# --- awsJson1_1 ser/de ---
|
|
21
|
+
def serialize_aws_json_1_1(value: NetworkInterface) -> dict:
|
|
22
|
+
out: dict = {}
|
|
23
|
+
if "subnet_id" in value:
|
|
24
|
+
out["subnetId"] = value["subnet_id"]
|
|
25
|
+
if "network_interface_id" in value:
|
|
26
|
+
out["networkInterfaceId"] = value["network_interface_id"]
|
|
27
|
+
return out
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def deserialize_aws_json_1_1(data: dict) -> NetworkInterface:
|
|
31
|
+
out: NetworkInterface = {} # type: ignore[typeddict-item]
|
|
32
|
+
if data.get("subnetId") is not None:
|
|
33
|
+
out["subnet_id"] = data["subnetId"]
|
|
34
|
+
if data.get("networkInterfaceId") is not None:
|
|
35
|
+
out["network_interface_id"] = data["networkInterfaceId"]
|
|
36
|
+
return out
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#PhaseContext``."""
|
|
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.string
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class PhaseContext(TypedDict, closed=True):
|
|
12
|
+
status_code: NotRequired["capo_codebuild.types.string.String"]
|
|
13
|
+
"""<p>The status code for the context of the build phase.</p>"""
|
|
14
|
+
message: NotRequired["capo_codebuild.types.string.String"]
|
|
15
|
+
"""<p>An explanation of the build phase's context. This might include a command ID and an exit code.</p>"""
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# --- awsJson1_1 ser/de ---
|
|
19
|
+
def serialize_aws_json_1_1(value: PhaseContext) -> dict:
|
|
20
|
+
out: dict = {}
|
|
21
|
+
if "status_code" in value:
|
|
22
|
+
out["statusCode"] = value["status_code"]
|
|
23
|
+
if "message" in value:
|
|
24
|
+
out["message"] = value["message"]
|
|
25
|
+
return out
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def deserialize_aws_json_1_1(data: dict) -> PhaseContext:
|
|
29
|
+
out: PhaseContext = {} # type: ignore[typeddict-item]
|
|
30
|
+
if data.get("statusCode") is not None:
|
|
31
|
+
out["status_code"] = data["statusCode"]
|
|
32
|
+
if data.get("message") is not None:
|
|
33
|
+
out["message"] = data["message"]
|
|
34
|
+
return out
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#PhaseContexts``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codebuild.types.phase_context
|
|
7
|
+
|
|
8
|
+
PhaseContexts: TypeAlias = list["capo_codebuild.types.phase_context.PhaseContext"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: PhaseContexts) -> list:
|
|
13
|
+
import capo_codebuild.types.phase_context
|
|
14
|
+
|
|
15
|
+
out: list = []
|
|
16
|
+
for item in value:
|
|
17
|
+
out.append(capo_codebuild.types.phase_context.serialize_aws_json_1_1(item))
|
|
18
|
+
return out
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def deserialize_aws_json_1_1(data: list) -> PhaseContexts:
|
|
22
|
+
import capo_codebuild.types.phase_context
|
|
23
|
+
|
|
24
|
+
out: PhaseContexts = []
|
|
25
|
+
for item in data:
|
|
26
|
+
if item is None:
|
|
27
|
+
continue
|
|
28
|
+
out.append(capo_codebuild.types.phase_context.deserialize_aws_json_1_1(item))
|
|
29
|
+
return out
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#PlatformType``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
PlatformType: TypeAlias = Literal[
|
|
6
|
+
"DEBIAN",
|
|
7
|
+
"AMAZON_LINUX",
|
|
8
|
+
"UBUNTU",
|
|
9
|
+
"WINDOWS_SERVER",
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# --- awsJson1_1 ser/de ---
|
|
14
|
+
def serialize_aws_json_1_1(value: PlatformType) -> str:
|
|
15
|
+
return value
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def deserialize_aws_json_1_1(data: str) -> PlatformType:
|
|
19
|
+
return cast(PlatformType, data)
|