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,76 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ScalingConfigurationOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codebuild.types.fleet_capacity
|
|
9
|
+
import capo_codebuild.types.fleet_scaling_type
|
|
10
|
+
import capo_codebuild.types.target_tracking_scaling_configurations
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ScalingConfigurationOutput(TypedDict, closed=True):
|
|
14
|
+
scaling_type: NotRequired[
|
|
15
|
+
"capo_codebuild.types.fleet_scaling_type.FleetScalingType"
|
|
16
|
+
]
|
|
17
|
+
"""<p>The scaling type for a compute fleet.</p>"""
|
|
18
|
+
target_tracking_scaling_configs: NotRequired[
|
|
19
|
+
"capo_codebuild.types.target_tracking_scaling_configurations.TargetTrackingScalingConfigurations"
|
|
20
|
+
]
|
|
21
|
+
"""<p>A list of <code>TargetTrackingScalingConfiguration</code> objects.</p>"""
|
|
22
|
+
max_capacity: NotRequired["capo_codebuild.types.fleet_capacity.FleetCapacity"]
|
|
23
|
+
"""<p>The maximum number of instances in the fleet when auto-scaling.</p>"""
|
|
24
|
+
desired_capacity: NotRequired["capo_codebuild.types.fleet_capacity.FleetCapacity"]
|
|
25
|
+
"""<p>The desired number of instances in the fleet when auto-scaling.</p>"""
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# --- awsJson1_1 ser/de ---
|
|
29
|
+
def serialize_aws_json_1_1(value: ScalingConfigurationOutput) -> dict:
|
|
30
|
+
out: dict = {}
|
|
31
|
+
if "scaling_type" in value:
|
|
32
|
+
import capo_codebuild.types.fleet_scaling_type
|
|
33
|
+
|
|
34
|
+
out["scalingType"] = (
|
|
35
|
+
capo_codebuild.types.fleet_scaling_type.serialize_aws_json_1_1(
|
|
36
|
+
value["scaling_type"]
|
|
37
|
+
)
|
|
38
|
+
)
|
|
39
|
+
if "target_tracking_scaling_configs" in value:
|
|
40
|
+
import capo_codebuild.types.target_tracking_scaling_configurations
|
|
41
|
+
|
|
42
|
+
out["targetTrackingScalingConfigs"] = (
|
|
43
|
+
capo_codebuild.types.target_tracking_scaling_configurations.serialize_aws_json_1_1(
|
|
44
|
+
value["target_tracking_scaling_configs"]
|
|
45
|
+
)
|
|
46
|
+
)
|
|
47
|
+
if "max_capacity" in value:
|
|
48
|
+
out["maxCapacity"] = value["max_capacity"]
|
|
49
|
+
if "desired_capacity" in value:
|
|
50
|
+
out["desiredCapacity"] = value["desired_capacity"]
|
|
51
|
+
return out
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def deserialize_aws_json_1_1(data: dict) -> ScalingConfigurationOutput:
|
|
55
|
+
out: ScalingConfigurationOutput = {} # type: ignore[typeddict-item]
|
|
56
|
+
if data.get("scalingType") is not None:
|
|
57
|
+
import capo_codebuild.types.fleet_scaling_type
|
|
58
|
+
|
|
59
|
+
out["scaling_type"] = (
|
|
60
|
+
capo_codebuild.types.fleet_scaling_type.deserialize_aws_json_1_1(
|
|
61
|
+
data["scalingType"]
|
|
62
|
+
)
|
|
63
|
+
)
|
|
64
|
+
if data.get("targetTrackingScalingConfigs") is not None:
|
|
65
|
+
import capo_codebuild.types.target_tracking_scaling_configurations
|
|
66
|
+
|
|
67
|
+
out["target_tracking_scaling_configs"] = (
|
|
68
|
+
capo_codebuild.types.target_tracking_scaling_configurations.deserialize_aws_json_1_1(
|
|
69
|
+
data["targetTrackingScalingConfigs"]
|
|
70
|
+
)
|
|
71
|
+
)
|
|
72
|
+
if data.get("maxCapacity") is not None:
|
|
73
|
+
out["max_capacity"] = data["maxCapacity"]
|
|
74
|
+
if data.get("desiredCapacity") is not None:
|
|
75
|
+
out["desired_capacity"] = data["desiredCapacity"]
|
|
76
|
+
return out
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ScopeConfiguration``."""
|
|
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.string
|
|
11
|
+
import capo_codebuild.types.webhook_scope_type
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class ScopeConfiguration(TypedDict, closed=True):
|
|
15
|
+
name: "capo_codebuild.types.string.String"
|
|
16
|
+
"""<p>The name of either the group, enterprise, or organization that will send webhook events to CodeBuild, depending on the type of webhook.</p>"""
|
|
17
|
+
domain: NotRequired["capo_codebuild.types.string.String"]
|
|
18
|
+
"""<p>The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.</p>"""
|
|
19
|
+
scope: "capo_codebuild.types.webhook_scope_type.WebhookScopeType"
|
|
20
|
+
"""<p>The type of scope for a GitHub or GitLab webhook. The scope default is GITHUB_ORGANIZATION.</p>"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# --- awsJson1_1 ser/de ---
|
|
24
|
+
def serialize_aws_json_1_1(value: ScopeConfiguration) -> dict:
|
|
25
|
+
out: dict = {}
|
|
26
|
+
out["name"] = value["name"]
|
|
27
|
+
if "domain" in value:
|
|
28
|
+
out["domain"] = value["domain"]
|
|
29
|
+
import capo_codebuild.types.webhook_scope_type
|
|
30
|
+
|
|
31
|
+
out["scope"] = capo_codebuild.types.webhook_scope_type.serialize_aws_json_1_1(
|
|
32
|
+
value["scope"]
|
|
33
|
+
)
|
|
34
|
+
return out
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def deserialize_aws_json_1_1(data: dict) -> ScopeConfiguration:
|
|
38
|
+
out: ScopeConfiguration = {} # type: ignore[typeddict-item]
|
|
39
|
+
if data.get("name") is not None:
|
|
40
|
+
out["name"] = data["name"]
|
|
41
|
+
else:
|
|
42
|
+
raise DeserializationError("ScopeConfiguration.name required")
|
|
43
|
+
if data.get("domain") is not None:
|
|
44
|
+
out["domain"] = data["domain"]
|
|
45
|
+
if data.get("scope") is not None:
|
|
46
|
+
import capo_codebuild.types.webhook_scope_type
|
|
47
|
+
|
|
48
|
+
out["scope"] = capo_codebuild.types.webhook_scope_type.deserialize_aws_json_1_1(
|
|
49
|
+
data["scope"]
|
|
50
|
+
)
|
|
51
|
+
else:
|
|
52
|
+
raise DeserializationError("ScopeConfiguration.scope required")
|
|
53
|
+
return out
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#SecurityGroupIds``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codebuild.types.non_empty_string
|
|
7
|
+
|
|
8
|
+
SecurityGroupIds: TypeAlias = list[
|
|
9
|
+
"capo_codebuild.types.non_empty_string.NonEmptyString"
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# --- awsJson1_1 ser/de ---
|
|
14
|
+
def serialize_aws_json_1_1(value: SecurityGroupIds) -> list:
|
|
15
|
+
return list(value)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def deserialize_aws_json_1_1(data: list) -> SecurityGroupIds:
|
|
19
|
+
return [item for item in data if item is not None]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#ServerType``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
ServerType: TypeAlias = Literal[
|
|
6
|
+
"GITHUB",
|
|
7
|
+
"BITBUCKET",
|
|
8
|
+
"GITHUB_ENTERPRISE",
|
|
9
|
+
"GITLAB",
|
|
10
|
+
"GITLAB_SELF_MANAGED",
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# --- awsJson1_1 ser/de ---
|
|
15
|
+
def serialize_aws_json_1_1(value: ServerType) -> str:
|
|
16
|
+
return value
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def deserialize_aws_json_1_1(data: str) -> ServerType:
|
|
20
|
+
return cast(ServerType, data)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#SharedResourceSortByType``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
SharedResourceSortByType: TypeAlias = Literal[
|
|
6
|
+
"ARN",
|
|
7
|
+
"MODIFIED_TIME",
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: SharedResourceSortByType) -> str:
|
|
13
|
+
return value
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: str) -> SharedResourceSortByType:
|
|
17
|
+
return cast(SharedResourceSortByType, data)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#SortOrderType``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
SortOrderType: TypeAlias = Literal[
|
|
6
|
+
"ASCENDING",
|
|
7
|
+
"DESCENDING",
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: SortOrderType) -> str:
|
|
13
|
+
return value
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: str) -> SortOrderType:
|
|
17
|
+
return cast(SortOrderType, data)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#SourceAuth``."""
|
|
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.source_auth_type
|
|
11
|
+
import capo_codebuild.types.string
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class SourceAuth(TypedDict, closed=True):
|
|
15
|
+
type: "capo_codebuild.types.source_auth_type.SourceAuthType"
|
|
16
|
+
"""<p>The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.</p>"""
|
|
17
|
+
resource: NotRequired["capo_codebuild.types.string.String"]
|
|
18
|
+
"""<p>The resource value that applies to the specified authorization type.</p>"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# --- awsJson1_1 ser/de ---
|
|
22
|
+
def serialize_aws_json_1_1(value: SourceAuth) -> dict:
|
|
23
|
+
out: dict = {}
|
|
24
|
+
import capo_codebuild.types.source_auth_type
|
|
25
|
+
|
|
26
|
+
out["type"] = capo_codebuild.types.source_auth_type.serialize_aws_json_1_1(
|
|
27
|
+
value["type"]
|
|
28
|
+
)
|
|
29
|
+
if "resource" in value:
|
|
30
|
+
out["resource"] = value["resource"]
|
|
31
|
+
return out
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def deserialize_aws_json_1_1(data: dict) -> SourceAuth:
|
|
35
|
+
out: SourceAuth = {} # type: ignore[typeddict-item]
|
|
36
|
+
if data.get("type") is not None:
|
|
37
|
+
import capo_codebuild.types.source_auth_type
|
|
38
|
+
|
|
39
|
+
out["type"] = capo_codebuild.types.source_auth_type.deserialize_aws_json_1_1(
|
|
40
|
+
data["type"]
|
|
41
|
+
)
|
|
42
|
+
else:
|
|
43
|
+
raise DeserializationError("SourceAuth.type required")
|
|
44
|
+
if data.get("resource") is not None:
|
|
45
|
+
out["resource"] = data["resource"]
|
|
46
|
+
return out
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#SourceAuthType``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
SourceAuthType: TypeAlias = Literal[
|
|
6
|
+
"OAUTH",
|
|
7
|
+
"CODECONNECTIONS",
|
|
8
|
+
"SECRETS_MANAGER",
|
|
9
|
+
]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
# --- awsJson1_1 ser/de ---
|
|
13
|
+
def serialize_aws_json_1_1(value: SourceAuthType) -> str:
|
|
14
|
+
return value
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def deserialize_aws_json_1_1(data: str) -> SourceAuthType:
|
|
18
|
+
return cast(SourceAuthType, data)
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#SourceCredentialsInfo``."""
|
|
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.auth_type
|
|
9
|
+
import capo_codebuild.types.non_empty_string
|
|
10
|
+
import capo_codebuild.types.server_type
|
|
11
|
+
import capo_codebuild.types.string
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class SourceCredentialsInfo(TypedDict, closed=True):
|
|
15
|
+
arn: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
|
|
16
|
+
"""<p> The Amazon Resource Name (ARN) of the token. </p>"""
|
|
17
|
+
server_type: NotRequired["capo_codebuild.types.server_type.ServerType"]
|
|
18
|
+
"""<p> The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET. </p>"""
|
|
19
|
+
auth_type: NotRequired["capo_codebuild.types.auth_type.AuthType"]
|
|
20
|
+
"""<p> The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER. </p>"""
|
|
21
|
+
resource: NotRequired["capo_codebuild.types.string.String"]
|
|
22
|
+
"""<p>The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.</p>"""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# --- awsJson1_1 ser/de ---
|
|
26
|
+
def serialize_aws_json_1_1(value: SourceCredentialsInfo) -> dict:
|
|
27
|
+
out: dict = {}
|
|
28
|
+
if "arn" in value:
|
|
29
|
+
out["arn"] = value["arn"]
|
|
30
|
+
if "server_type" in value:
|
|
31
|
+
import capo_codebuild.types.server_type
|
|
32
|
+
|
|
33
|
+
out["serverType"] = capo_codebuild.types.server_type.serialize_aws_json_1_1(
|
|
34
|
+
value["server_type"]
|
|
35
|
+
)
|
|
36
|
+
if "auth_type" in value:
|
|
37
|
+
import capo_codebuild.types.auth_type
|
|
38
|
+
|
|
39
|
+
out["authType"] = capo_codebuild.types.auth_type.serialize_aws_json_1_1(
|
|
40
|
+
value["auth_type"]
|
|
41
|
+
)
|
|
42
|
+
if "resource" in value:
|
|
43
|
+
out["resource"] = value["resource"]
|
|
44
|
+
return out
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def deserialize_aws_json_1_1(data: dict) -> SourceCredentialsInfo:
|
|
48
|
+
out: SourceCredentialsInfo = {} # type: ignore[typeddict-item]
|
|
49
|
+
if data.get("arn") is not None:
|
|
50
|
+
out["arn"] = data["arn"]
|
|
51
|
+
if data.get("serverType") is not None:
|
|
52
|
+
import capo_codebuild.types.server_type
|
|
53
|
+
|
|
54
|
+
out["server_type"] = capo_codebuild.types.server_type.deserialize_aws_json_1_1(
|
|
55
|
+
data["serverType"]
|
|
56
|
+
)
|
|
57
|
+
if data.get("authType") is not None:
|
|
58
|
+
import capo_codebuild.types.auth_type
|
|
59
|
+
|
|
60
|
+
out["auth_type"] = capo_codebuild.types.auth_type.deserialize_aws_json_1_1(
|
|
61
|
+
data["authType"]
|
|
62
|
+
)
|
|
63
|
+
if data.get("resource") is not None:
|
|
64
|
+
out["resource"] = data["resource"]
|
|
65
|
+
return out
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#SourceCredentialsInfos``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codebuild.types.source_credentials_info
|
|
7
|
+
|
|
8
|
+
SourceCredentialsInfos: TypeAlias = list[
|
|
9
|
+
"capo_codebuild.types.source_credentials_info.SourceCredentialsInfo"
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# --- awsJson1_1 ser/de ---
|
|
14
|
+
def serialize_aws_json_1_1(value: SourceCredentialsInfos) -> list:
|
|
15
|
+
import capo_codebuild.types.source_credentials_info
|
|
16
|
+
|
|
17
|
+
out: list = []
|
|
18
|
+
for item in value:
|
|
19
|
+
out.append(
|
|
20
|
+
capo_codebuild.types.source_credentials_info.serialize_aws_json_1_1(item)
|
|
21
|
+
)
|
|
22
|
+
return out
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def deserialize_aws_json_1_1(data: list) -> SourceCredentialsInfos:
|
|
26
|
+
import capo_codebuild.types.source_credentials_info
|
|
27
|
+
|
|
28
|
+
out: SourceCredentialsInfos = []
|
|
29
|
+
for item in data:
|
|
30
|
+
if item is None:
|
|
31
|
+
continue
|
|
32
|
+
out.append(
|
|
33
|
+
capo_codebuild.types.source_credentials_info.deserialize_aws_json_1_1(item)
|
|
34
|
+
)
|
|
35
|
+
return out
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#SourceType``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
SourceType: TypeAlias = Literal[
|
|
6
|
+
"CODECOMMIT",
|
|
7
|
+
"CODEPIPELINE",
|
|
8
|
+
"GITHUB",
|
|
9
|
+
"GITLAB",
|
|
10
|
+
"GITLAB_SELF_MANAGED",
|
|
11
|
+
"S3",
|
|
12
|
+
"BITBUCKET",
|
|
13
|
+
"GITHUB_ENTERPRISE",
|
|
14
|
+
"NO_SOURCE",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# --- awsJson1_1 ser/de ---
|
|
19
|
+
def serialize_aws_json_1_1(value: SourceType) -> str:
|
|
20
|
+
return value
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def deserialize_aws_json_1_1(data: str) -> SourceType:
|
|
24
|
+
return cast(SourceType, data)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codebuild#SSMSession``."""
|
|
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 SSMSession(TypedDict, closed=True):
|
|
12
|
+
session_id: NotRequired["capo_codebuild.types.string.String"]
|
|
13
|
+
"""<p>The ID of the session.</p>"""
|
|
14
|
+
token_value: NotRequired["capo_codebuild.types.string.String"]
|
|
15
|
+
"""<p>An encrypted token value containing session and caller information.</p>"""
|
|
16
|
+
stream_url: NotRequired["capo_codebuild.types.string.String"]
|
|
17
|
+
"""<p>A URL back to SSM Agent on the managed node that the Session Manager client uses to send commands and receive output from the node.</p>"""
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# --- awsJson1_1 ser/de ---
|
|
21
|
+
def serialize_aws_json_1_1(value: SSMSession) -> dict:
|
|
22
|
+
out: dict = {}
|
|
23
|
+
if "session_id" in value:
|
|
24
|
+
out["sessionId"] = value["session_id"]
|
|
25
|
+
if "token_value" in value:
|
|
26
|
+
out["tokenValue"] = value["token_value"]
|
|
27
|
+
if "stream_url" in value:
|
|
28
|
+
out["streamUrl"] = value["stream_url"]
|
|
29
|
+
return out
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def deserialize_aws_json_1_1(data: dict) -> SSMSession:
|
|
33
|
+
out: SSMSession = {} # type: ignore[typeddict-item]
|
|
34
|
+
if data.get("sessionId") is not None:
|
|
35
|
+
out["session_id"] = data["sessionId"]
|
|
36
|
+
if data.get("tokenValue") is not None:
|
|
37
|
+
out["token_value"] = data["tokenValue"]
|
|
38
|
+
if data.get("streamUrl") is not None:
|
|
39
|
+
out["stream_url"] = data["streamUrl"]
|
|
40
|
+
return out
|