capo-codedeploy 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_codedeploy/__init__.py +70 -0
- capo_codedeploy/_async.py +25 -0
- capo_codedeploy/_auth/_identity.py +16 -0
- capo_codedeploy/_auth/_providers.py +886 -0
- capo_codedeploy/_auth/_signers.py +88 -0
- capo_codedeploy/_auth/_sigv4.py +434 -0
- capo_codedeploy/_auth/_zapros_handler.py +80 -0
- capo_codedeploy/_iter.py +113 -0
- capo_codedeploy/_operations/code_deploy_20141006/add_tags_to_on_premises_instances.py +153 -0
- capo_codedeploy/_operations/code_deploy_20141006/batch_get_application_revisions.py +173 -0
- capo_codedeploy/_operations/code_deploy_20141006/batch_get_applications.py +163 -0
- capo_codedeploy/_operations/code_deploy_20141006/batch_get_deployment_groups.py +178 -0
- capo_codedeploy/_operations/code_deploy_20141006/batch_get_deployment_instances.py +178 -0
- capo_codedeploy/_operations/code_deploy_20141006/batch_get_deployment_targets.py +188 -0
- capo_codedeploy/_operations/code_deploy_20141006/batch_get_deployments.py +158 -0
- capo_codedeploy/_operations/code_deploy_20141006/batch_get_on_premises_instances.py +158 -0
- capo_codedeploy/_operations/code_deploy_20141006/continue_deployment.py +155 -0
- capo_codedeploy/_operations/code_deploy_20141006/create_application.py +175 -0
- capo_codedeploy/_operations/code_deploy_20141006/create_deployment.py +278 -0
- capo_codedeploy/_operations/code_deploy_20141006/create_deployment_config.py +185 -0
- capo_codedeploy/_operations/code_deploy_20141006/create_deployment_group.py +320 -0
- capo_codedeploy/_operations/code_deploy_20141006/delete_application.py +129 -0
- capo_codedeploy/_operations/code_deploy_20141006/delete_deployment_config.py +136 -0
- capo_codedeploy/_operations/code_deploy_20141006/delete_deployment_group.py +167 -0
- capo_codedeploy/_operations/code_deploy_20141006/delete_git_hub_account_token.py +166 -0
- capo_codedeploy/_operations/code_deploy_20141006/delete_resources_by_external_id.py +137 -0
- capo_codedeploy/_operations/code_deploy_20141006/deregister_on_premises_instance.py +126 -0
- capo_codedeploy/_operations/code_deploy_20141006/get_application.py +157 -0
- capo_codedeploy/_operations/code_deploy_20141006/get_application_revision.py +173 -0
- capo_codedeploy/_operations/code_deploy_20141006/get_deployment.py +157 -0
- capo_codedeploy/_operations/code_deploy_20141006/get_deployment_config.py +162 -0
- capo_codedeploy/_operations/code_deploy_20141006/get_deployment_group.py +179 -0
- capo_codedeploy/_operations/code_deploy_20141006/get_deployment_instance.py +177 -0
- capo_codedeploy/_operations/code_deploy_20141006/get_deployment_target.py +182 -0
- capo_codedeploy/_operations/code_deploy_20141006/get_on_premises_instance.py +157 -0
- capo_codedeploy/_operations/code_deploy_20141006/list_application_revisions.py +195 -0
- capo_codedeploy/_operations/code_deploy_20141006/list_applications.py +149 -0
- capo_codedeploy/_operations/code_deploy_20141006/list_deployment_configs.py +147 -0
- capo_codedeploy/_operations/code_deploy_20141006/list_deployment_groups.py +162 -0
- capo_codedeploy/_operations/code_deploy_20141006/list_deployment_instances.py +198 -0
- capo_codedeploy/_operations/code_deploy_20141006/list_deployment_targets.py +188 -0
- capo_codedeploy/_operations/code_deploy_20141006/list_deployments.py +199 -0
- capo_codedeploy/_operations/code_deploy_20141006/list_git_hub_account_token_names.py +157 -0
- capo_codedeploy/_operations/code_deploy_20141006/list_on_premises_instances.py +159 -0
- capo_codedeploy/_operations/code_deploy_20141006/list_tags_for_resource.py +157 -0
- capo_codedeploy/_operations/code_deploy_20141006/put_lifecycle_event_hook_execution_status.py +177 -0
- capo_codedeploy/_operations/code_deploy_20141006/register_application_revision.py +147 -0
- capo_codedeploy/_operations/code_deploy_20141006/register_on_premises_instance.py +166 -0
- capo_codedeploy/_operations/code_deploy_20141006/remove_tags_from_on_premises_instances.py +153 -0
- capo_codedeploy/_operations/code_deploy_20141006/skip_wait_time_for_instance_termination.py +146 -0
- capo_codedeploy/_operations/code_deploy_20141006/stop_deployment.py +172 -0
- capo_codedeploy/_operations/code_deploy_20141006/tag_resource.py +174 -0
- capo_codedeploy/_operations/code_deploy_20141006/untag_resource.py +174 -0
- capo_codedeploy/_operations/code_deploy_20141006/update_application.py +134 -0
- capo_codedeploy/_operations/code_deploy_20141006/update_deployment_group.py +310 -0
- capo_codedeploy/_pagination.py +21 -0
- capo_codedeploy/_protocol/__init__.py +1 -0
- capo_codedeploy/_protocol/errors.py +93 -0
- capo_codedeploy/_protocol/eventstream.py +238 -0
- capo_codedeploy/_protocol/serialize.py +47 -0
- capo_codedeploy/_protocol/xml.py +33 -0
- capo_codedeploy/_rule_engine/__init__.py +0 -0
- capo_codedeploy/_rule_engine/_aws_partition.py +160 -0
- capo_codedeploy/_rule_engine/_endpoint_rule_set.py +138 -0
- capo_codedeploy/_rule_engine/_endpoint_runtime.py +389 -0
- capo_codedeploy/_services/_aws_config.py +160 -0
- capo_codedeploy/_services/_pipeline.py +198 -0
- capo_codedeploy/_services/async_code_deploy.py +3278 -0
- capo_codedeploy/_services/code_deploy.py +3229 -0
- capo_codedeploy/errors/__init__.py +335 -0
- capo_codedeploy/errors/_base.py +94 -0
- capo_codedeploy/errors/alarms_limit_exceeded_exception.py +52 -0
- capo_codedeploy/errors/application_already_exists_exception.py +54 -0
- capo_codedeploy/errors/application_does_not_exist_exception.py +54 -0
- capo_codedeploy/errors/application_limit_exceeded_exception.py +54 -0
- capo_codedeploy/errors/application_name_required_exception.py +54 -0
- capo_codedeploy/errors/arn_not_supported_exception.py +52 -0
- capo_codedeploy/errors/batch_limit_exceeded_exception.py +52 -0
- capo_codedeploy/errors/bucket_name_filter_required_exception.py +54 -0
- capo_codedeploy/errors/deployment_already_completed_exception.py +54 -0
- capo_codedeploy/errors/deployment_config_already_exists_exception.py +54 -0
- capo_codedeploy/errors/deployment_config_does_not_exist_exception.py +54 -0
- capo_codedeploy/errors/deployment_config_in_use_exception.py +54 -0
- capo_codedeploy/errors/deployment_config_limit_exceeded_exception.py +54 -0
- capo_codedeploy/errors/deployment_config_name_required_exception.py +54 -0
- capo_codedeploy/errors/deployment_does_not_exist_exception.py +54 -0
- capo_codedeploy/errors/deployment_group_already_exists_exception.py +54 -0
- capo_codedeploy/errors/deployment_group_does_not_exist_exception.py +54 -0
- capo_codedeploy/errors/deployment_group_limit_exceeded_exception.py +54 -0
- capo_codedeploy/errors/deployment_group_name_required_exception.py +54 -0
- capo_codedeploy/errors/deployment_id_required_exception.py +54 -0
- capo_codedeploy/errors/deployment_is_not_in_ready_state_exception.py +54 -0
- capo_codedeploy/errors/deployment_limit_exceeded_exception.py +54 -0
- capo_codedeploy/errors/deployment_not_started_exception.py +54 -0
- capo_codedeploy/errors/deployment_target_does_not_exist_exception.py +54 -0
- capo_codedeploy/errors/deployment_target_id_required_exception.py +54 -0
- capo_codedeploy/errors/deployment_target_list_size_exceeded_exception.py +56 -0
- capo_codedeploy/errors/description_too_long_exception.py +52 -0
- capo_codedeploy/errors/ecs_service_mapping_limit_exceeded_exception.py +54 -0
- capo_codedeploy/errors/git_hub_account_token_does_not_exist_exception.py +54 -0
- capo_codedeploy/errors/git_hub_account_token_name_required_exception.py +54 -0
- capo_codedeploy/errors/iam_arn_required_exception.py +52 -0
- capo_codedeploy/errors/iam_session_arn_already_registered_exception.py +54 -0
- capo_codedeploy/errors/iam_user_arn_already_registered_exception.py +54 -0
- capo_codedeploy/errors/iam_user_arn_required_exception.py +52 -0
- capo_codedeploy/errors/instance_does_not_exist_exception.py +54 -0
- capo_codedeploy/errors/instance_id_required_exception.py +52 -0
- capo_codedeploy/errors/instance_limit_exceeded_exception.py +54 -0
- capo_codedeploy/errors/instance_name_already_registered_exception.py +54 -0
- capo_codedeploy/errors/instance_name_required_exception.py +54 -0
- capo_codedeploy/errors/instance_not_registered_exception.py +54 -0
- capo_codedeploy/errors/invalid_alarm_config_exception.py +52 -0
- capo_codedeploy/errors/invalid_application_name_exception.py +54 -0
- capo_codedeploy/errors/invalid_arn_exception.py +52 -0
- capo_codedeploy/errors/invalid_auto_rollback_config_exception.py +54 -0
- capo_codedeploy/errors/invalid_auto_scaling_group_exception.py +54 -0
- capo_codedeploy/errors/invalid_blue_green_deployment_configuration_exception.py +60 -0
- capo_codedeploy/errors/invalid_bucket_name_filter_exception.py +54 -0
- capo_codedeploy/errors/invalid_compute_platform_exception.py +54 -0
- capo_codedeploy/errors/invalid_deployed_state_filter_exception.py +54 -0
- capo_codedeploy/errors/invalid_deployment_config_name_exception.py +54 -0
- capo_codedeploy/errors/invalid_deployment_group_name_exception.py +54 -0
- capo_codedeploy/errors/invalid_deployment_id_exception.py +52 -0
- capo_codedeploy/errors/invalid_deployment_instance_type_exception.py +54 -0
- capo_codedeploy/errors/invalid_deployment_status_exception.py +54 -0
- capo_codedeploy/errors/invalid_deployment_style_exception.py +54 -0
- capo_codedeploy/errors/invalid_deployment_target_id_exception.py +54 -0
- capo_codedeploy/errors/invalid_deployment_wait_type_exception.py +54 -0
- capo_codedeploy/errors/invalid_ec2_tag_combination_exception.py +54 -0
- capo_codedeploy/errors/invalid_ec2_tag_exception.py +52 -0
- capo_codedeploy/errors/invalid_ecs_service_exception.py +52 -0
- capo_codedeploy/errors/invalid_external_id_exception.py +52 -0
- capo_codedeploy/errors/invalid_file_exists_behavior_exception.py +54 -0
- capo_codedeploy/errors/invalid_git_hub_account_token_exception.py +54 -0
- capo_codedeploy/errors/invalid_git_hub_account_token_name_exception.py +54 -0
- capo_codedeploy/errors/invalid_iam_session_arn_exception.py +54 -0
- capo_codedeploy/errors/invalid_iam_user_arn_exception.py +52 -0
- capo_codedeploy/errors/invalid_ignore_application_stop_failures_value_exception.py +60 -0
- capo_codedeploy/errors/invalid_input_exception.py +52 -0
- capo_codedeploy/errors/invalid_instance_name_exception.py +52 -0
- capo_codedeploy/errors/invalid_instance_status_exception.py +54 -0
- capo_codedeploy/errors/invalid_instance_type_exception.py +52 -0
- capo_codedeploy/errors/invalid_key_prefix_filter_exception.py +54 -0
- capo_codedeploy/errors/invalid_lifecycle_event_hook_execution_id_exception.py +60 -0
- capo_codedeploy/errors/invalid_lifecycle_event_hook_execution_status_exception.py +60 -0
- capo_codedeploy/errors/invalid_load_balancer_info_exception.py +54 -0
- capo_codedeploy/errors/invalid_minimum_healthy_host_value_exception.py +54 -0
- capo_codedeploy/errors/invalid_next_token_exception.py +52 -0
- capo_codedeploy/errors/invalid_on_premises_tag_combination_exception.py +56 -0
- capo_codedeploy/errors/invalid_operation_exception.py +52 -0
- capo_codedeploy/errors/invalid_registration_status_exception.py +54 -0
- capo_codedeploy/errors/invalid_revision_exception.py +52 -0
- capo_codedeploy/errors/invalid_role_exception.py +52 -0
- capo_codedeploy/errors/invalid_sort_by_exception.py +52 -0
- capo_codedeploy/errors/invalid_sort_order_exception.py +52 -0
- capo_codedeploy/errors/invalid_tag_exception.py +52 -0
- capo_codedeploy/errors/invalid_tag_filter_exception.py +52 -0
- capo_codedeploy/errors/invalid_tags_to_add_exception.py +52 -0
- capo_codedeploy/errors/invalid_target_filter_name_exception.py +54 -0
- capo_codedeploy/errors/invalid_target_group_pair_exception.py +54 -0
- capo_codedeploy/errors/invalid_target_instances_exception.py +54 -0
- capo_codedeploy/errors/invalid_time_range_exception.py +52 -0
- capo_codedeploy/errors/invalid_traffic_routing_configuration_exception.py +58 -0
- capo_codedeploy/errors/invalid_trigger_config_exception.py +54 -0
- capo_codedeploy/errors/invalid_update_outdated_instances_only_value_exception.py +60 -0
- capo_codedeploy/errors/invalid_zonal_deployment_configuration_exception.py +60 -0
- capo_codedeploy/errors/lifecycle_event_already_completed_exception.py +54 -0
- capo_codedeploy/errors/lifecycle_hook_limit_exceeded_exception.py +54 -0
- capo_codedeploy/errors/multiple_iam_arns_provided_exception.py +54 -0
- capo_codedeploy/errors/operation_not_supported_exception.py +54 -0
- capo_codedeploy/errors/resource_arn_required_exception.py +52 -0
- capo_codedeploy/errors/resource_validation_exception.py +52 -0
- capo_codedeploy/errors/revision_does_not_exist_exception.py +54 -0
- capo_codedeploy/errors/revision_required_exception.py +52 -0
- capo_codedeploy/errors/role_required_exception.py +52 -0
- capo_codedeploy/errors/tag_limit_exceeded_exception.py +52 -0
- capo_codedeploy/errors/tag_required_exception.py +52 -0
- capo_codedeploy/errors/tag_set_list_limit_exceeded_exception.py +54 -0
- capo_codedeploy/errors/throttling_exception.py +52 -0
- capo_codedeploy/errors/trigger_targets_limit_exceeded_exception.py +54 -0
- capo_codedeploy/errors/unsupported_action_for_deployment_type_exception.py +58 -0
- capo_codedeploy/py.typed +0 -0
- capo_codedeploy/types/_prelude/blob.py +12 -0
- capo_codedeploy/types/_prelude/timestamp.py +17 -0
- capo_codedeploy/types/add_tags_to_on_premises_instances_input.py +59 -0
- capo_codedeploy/types/additional_deployment_status_info.py +5 -0
- capo_codedeploy/types/alarm.py +28 -0
- capo_codedeploy/types/alarm_configuration.py +51 -0
- capo_codedeploy/types/alarm_list.py +29 -0
- capo_codedeploy/types/alarm_name.py +5 -0
- capo_codedeploy/types/app_spec_content.py +35 -0
- capo_codedeploy/types/application_id.py +5 -0
- capo_codedeploy/types/application_info.py +90 -0
- capo_codedeploy/types/application_name.py +5 -0
- capo_codedeploy/types/application_revision_sort_by.py +18 -0
- capo_codedeploy/types/applications_info_list.py +33 -0
- capo_codedeploy/types/applications_list.py +19 -0
- capo_codedeploy/types/arn.py +5 -0
- capo_codedeploy/types/auto_rollback_configuration.py +50 -0
- capo_codedeploy/types/auto_rollback_event.py +18 -0
- capo_codedeploy/types/auto_rollback_events_list.py +35 -0
- capo_codedeploy/types/auto_scaling_group.py +47 -0
- capo_codedeploy/types/auto_scaling_group_hook.py +5 -0
- capo_codedeploy/types/auto_scaling_group_list.py +35 -0
- capo_codedeploy/types/auto_scaling_group_name.py +5 -0
- capo_codedeploy/types/auto_scaling_group_name_list.py +19 -0
- capo_codedeploy/types/batch_get_application_revisions_input.py +55 -0
- capo_codedeploy/types/batch_get_application_revisions_output.py +56 -0
- capo_codedeploy/types/batch_get_applications_input.py +45 -0
- capo_codedeploy/types/batch_get_applications_output.py +42 -0
- capo_codedeploy/types/batch_get_deployment_groups_input.py +57 -0
- capo_codedeploy/types/batch_get_deployment_groups_output.py +49 -0
- capo_codedeploy/types/batch_get_deployment_instances_input.py +53 -0
- capo_codedeploy/types/batch_get_deployment_instances_output.py +49 -0
- capo_codedeploy/types/batch_get_deployment_targets_input.py +51 -0
- capo_codedeploy/types/batch_get_deployment_targets_output.py +42 -0
- capo_codedeploy/types/batch_get_deployments_input.py +43 -0
- capo_codedeploy/types/batch_get_deployments_output.py +42 -0
- capo_codedeploy/types/batch_get_on_premises_instances_input.py +45 -0
- capo_codedeploy/types/batch_get_on_premises_instances_output.py +42 -0
- capo_codedeploy/types/blue_green_deployment_configuration.py +84 -0
- capo_codedeploy/types/blue_instance_termination_option.py +46 -0
- capo_codedeploy/types/boolean.py +5 -0
- capo_codedeploy/types/bundle_type.py +20 -0
- capo_codedeploy/types/cloud_formation_resource_type.py +5 -0
- capo_codedeploy/types/cloud_formation_target.py +112 -0
- capo_codedeploy/types/commit_id.py +5 -0
- capo_codedeploy/types/compute_platform.py +18 -0
- capo_codedeploy/types/continue_deployment_input.py +49 -0
- capo_codedeploy/types/create_application_input.py +67 -0
- capo_codedeploy/types/create_application_output.py +28 -0
- capo_codedeploy/types/create_deployment_config_input.py +115 -0
- capo_codedeploy/types/create_deployment_config_output.py +30 -0
- capo_codedeploy/types/create_deployment_group_input.py +353 -0
- capo_codedeploy/types/create_deployment_group_output.py +30 -0
- capo_codedeploy/types/create_deployment_input.py +178 -0
- capo_codedeploy/types/create_deployment_output.py +28 -0
- capo_codedeploy/types/delete_application_input.py +31 -0
- capo_codedeploy/types/delete_deployment_config_input.py +35 -0
- capo_codedeploy/types/delete_deployment_group_input.py +45 -0
- capo_codedeploy/types/delete_deployment_group_output.py +42 -0
- capo_codedeploy/types/delete_git_hub_account_token_input.py +30 -0
- capo_codedeploy/types/delete_git_hub_account_token_output.py +30 -0
- capo_codedeploy/types/delete_resources_by_external_id_input.py +28 -0
- capo_codedeploy/types/delete_resources_by_external_id_output.py +18 -0
- capo_codedeploy/types/deployment_config_id.py +5 -0
- capo_codedeploy/types/deployment_config_info.py +134 -0
- capo_codedeploy/types/deployment_config_name.py +5 -0
- capo_codedeploy/types/deployment_configs_list.py +19 -0
- capo_codedeploy/types/deployment_creator.py +23 -0
- capo_codedeploy/types/deployment_group_id.py +5 -0
- capo_codedeploy/types/deployment_group_info.py +420 -0
- capo_codedeploy/types/deployment_group_info_list.py +35 -0
- capo_codedeploy/types/deployment_group_name.py +5 -0
- capo_codedeploy/types/deployment_groups_list.py +19 -0
- capo_codedeploy/types/deployment_id.py +5 -0
- capo_codedeploy/types/deployment_info.py +499 -0
- capo_codedeploy/types/deployment_option.py +17 -0
- capo_codedeploy/types/deployment_overview.py +64 -0
- capo_codedeploy/types/deployment_ready_action.py +17 -0
- capo_codedeploy/types/deployment_ready_option.py +50 -0
- capo_codedeploy/types/deployment_status.py +23 -0
- capo_codedeploy/types/deployment_status_list.py +33 -0
- capo_codedeploy/types/deployment_status_message_list.py +19 -0
- capo_codedeploy/types/deployment_style.py +61 -0
- capo_codedeploy/types/deployment_target.py +115 -0
- capo_codedeploy/types/deployment_target_list.py +33 -0
- capo_codedeploy/types/deployment_target_type.py +19 -0
- capo_codedeploy/types/deployment_type.py +17 -0
- capo_codedeploy/types/deployment_wait_type.py +17 -0
- capo_codedeploy/types/deployments_info_list.py +31 -0
- capo_codedeploy/types/deployments_list.py +17 -0
- capo_codedeploy/types/deregister_on_premises_instance_input.py +33 -0
- capo_codedeploy/types/description.py +5 -0
- capo_codedeploy/types/diagnostics.py +63 -0
- capo_codedeploy/types/duration.py +5 -0
- capo_codedeploy/types/e_tag.py +5 -0
- capo_codedeploy/types/ec2_tag_filter.py +52 -0
- capo_codedeploy/types/ec2_tag_filter_list.py +29 -0
- capo_codedeploy/types/ec2_tag_filter_type.py +18 -0
- capo_codedeploy/types/ec2_tag_set.py +42 -0
- capo_codedeploy/types/ec2_tag_set_list.py +35 -0
- capo_codedeploy/types/ecs_cluster_name.py +5 -0
- capo_codedeploy/types/ecs_service.py +35 -0
- capo_codedeploy/types/ecs_service_list.py +29 -0
- capo_codedeploy/types/ecs_service_name.py +5 -0
- capo_codedeploy/types/ecs_target.py +114 -0
- capo_codedeploy/types/ecs_task_set.py +111 -0
- capo_codedeploy/types/ecs_task_set_count.py +5 -0
- capo_codedeploy/types/ecs_task_set_identifier.py +5 -0
- capo_codedeploy/types/ecs_task_set_list.py +29 -0
- capo_codedeploy/types/ecs_task_set_status.py +5 -0
- capo_codedeploy/types/elb_info.py +28 -0
- capo_codedeploy/types/elb_info_list.py +29 -0
- capo_codedeploy/types/elb_name.py +5 -0
- capo_codedeploy/types/error_code.py +49 -0
- capo_codedeploy/types/error_information.py +43 -0
- capo_codedeploy/types/error_message.py +5 -0
- capo_codedeploy/types/external_id.py +5 -0
- capo_codedeploy/types/file_exists_behavior.py +18 -0
- capo_codedeploy/types/filter_value.py +5 -0
- capo_codedeploy/types/filter_value_list.py +17 -0
- capo_codedeploy/types/generic_revision_info.py +96 -0
- capo_codedeploy/types/get_application_input.py +31 -0
- capo_codedeploy/types/get_application_output.py +40 -0
- capo_codedeploy/types/get_application_revision_input.py +51 -0
- capo_codedeploy/types/get_application_revision_output.py +70 -0
- capo_codedeploy/types/get_deployment_config_input.py +35 -0
- capo_codedeploy/types/get_deployment_config_output.py +42 -0
- capo_codedeploy/types/get_deployment_group_input.py +43 -0
- capo_codedeploy/types/get_deployment_group_output.py +42 -0
- capo_codedeploy/types/get_deployment_input.py +31 -0
- capo_codedeploy/types/get_deployment_instance_input.py +39 -0
- capo_codedeploy/types/get_deployment_instance_output.py +42 -0
- capo_codedeploy/types/get_deployment_output.py +40 -0
- capo_codedeploy/types/get_deployment_target_input.py +39 -0
- capo_codedeploy/types/get_deployment_target_output.py +42 -0
- capo_codedeploy/types/get_on_premises_instance_input.py +31 -0
- capo_codedeploy/types/get_on_premises_instance_output.py +40 -0
- capo_codedeploy/types/git_hub_account_token_name.py +5 -0
- capo_codedeploy/types/git_hub_account_token_name_list.py +19 -0
- capo_codedeploy/types/git_hub_location.py +35 -0
- capo_codedeploy/types/green_fleet_provisioning_action.py +17 -0
- capo_codedeploy/types/green_fleet_provisioning_option.py +42 -0
- capo_codedeploy/types/iam_session_arn.py +5 -0
- capo_codedeploy/types/iam_user_arn.py +5 -0
- capo_codedeploy/types/instance_action.py +17 -0
- capo_codedeploy/types/instance_arn.py +5 -0
- capo_codedeploy/types/instance_count.py +5 -0
- capo_codedeploy/types/instance_id.py +5 -0
- capo_codedeploy/types/instance_info.py +95 -0
- capo_codedeploy/types/instance_info_list.py +29 -0
- capo_codedeploy/types/instance_name.py +5 -0
- capo_codedeploy/types/instance_name_list.py +17 -0
- capo_codedeploy/types/instance_status.py +22 -0
- capo_codedeploy/types/instance_status_list.py +31 -0
- capo_codedeploy/types/instance_summary.py +107 -0
- capo_codedeploy/types/instance_summary_list.py +33 -0
- capo_codedeploy/types/instance_target.py +112 -0
- capo_codedeploy/types/instance_type.py +17 -0
- capo_codedeploy/types/instance_type_list.py +29 -0
- capo_codedeploy/types/instances_list.py +17 -0
- capo_codedeploy/types/key.py +5 -0
- capo_codedeploy/types/lambda_function_alias.py +5 -0
- capo_codedeploy/types/lambda_function_info.py +69 -0
- capo_codedeploy/types/lambda_function_name.py +5 -0
- capo_codedeploy/types/lambda_target.py +114 -0
- capo_codedeploy/types/last_deployment_info.py +74 -0
- capo_codedeploy/types/lifecycle_error_code.py +21 -0
- capo_codedeploy/types/lifecycle_event.py +95 -0
- capo_codedeploy/types/lifecycle_event_hook_execution_id.py +5 -0
- capo_codedeploy/types/lifecycle_event_list.py +31 -0
- capo_codedeploy/types/lifecycle_event_name.py +5 -0
- capo_codedeploy/types/lifecycle_event_status.py +21 -0
- capo_codedeploy/types/lifecycle_message.py +5 -0
- capo_codedeploy/types/list_application_revisions_input.py +111 -0
- capo_codedeploy/types/list_application_revisions_output.py +49 -0
- capo_codedeploy/types/list_applications_input.py +28 -0
- capo_codedeploy/types/list_applications_output.py +49 -0
- capo_codedeploy/types/list_deployment_configs_input.py +28 -0
- capo_codedeploy/types/list_deployment_configs_output.py +49 -0
- capo_codedeploy/types/list_deployment_groups_input.py +40 -0
- capo_codedeploy/types/list_deployment_groups_output.py +58 -0
- capo_codedeploy/types/list_deployment_instances_input.py +82 -0
- capo_codedeploy/types/list_deployment_instances_output.py +47 -0
- capo_codedeploy/types/list_deployment_targets_input.py +57 -0
- capo_codedeploy/types/list_deployment_targets_output.py +45 -0
- capo_codedeploy/types/list_deployments_input.py +93 -0
- capo_codedeploy/types/list_deployments_output.py +47 -0
- capo_codedeploy/types/list_git_hub_account_token_names_input.py +28 -0
- capo_codedeploy/types/list_git_hub_account_token_names_output.py +49 -0
- capo_codedeploy/types/list_on_premises_instances_input.py +68 -0
- capo_codedeploy/types/list_on_premises_instances_output.py +49 -0
- capo_codedeploy/types/list_state_filter_action.py +18 -0
- capo_codedeploy/types/list_tags_for_resource_input.py +38 -0
- capo_codedeploy/types/list_tags_for_resource_output.py +43 -0
- capo_codedeploy/types/listener_arn.py +5 -0
- capo_codedeploy/types/listener_arn_list.py +17 -0
- capo_codedeploy/types/load_balancer_info.py +80 -0
- capo_codedeploy/types/log_tail.py +5 -0
- capo_codedeploy/types/message.py +5 -0
- capo_codedeploy/types/minimum_healthy_hosts.py +50 -0
- capo_codedeploy/types/minimum_healthy_hosts_per_zone.py +50 -0
- capo_codedeploy/types/minimum_healthy_hosts_per_zone_type.py +17 -0
- capo_codedeploy/types/minimum_healthy_hosts_per_zone_value.py +5 -0
- capo_codedeploy/types/minimum_healthy_hosts_type.py +17 -0
- capo_codedeploy/types/minimum_healthy_hosts_value.py +5 -0
- capo_codedeploy/types/next_token.py +5 -0
- capo_codedeploy/types/nullable_boolean.py +5 -0
- capo_codedeploy/types/on_premises_tag_set.py +42 -0
- capo_codedeploy/types/on_premises_tag_set_list.py +31 -0
- capo_codedeploy/types/outdated_instances_strategy.py +17 -0
- capo_codedeploy/types/percentage.py +5 -0
- capo_codedeploy/types/put_lifecycle_event_hook_execution_status_input.py +60 -0
- capo_codedeploy/types/put_lifecycle_event_hook_execution_status_output.py +32 -0
- capo_codedeploy/types/raw_string.py +35 -0
- capo_codedeploy/types/raw_string_content.py +5 -0
- capo_codedeploy/types/raw_string_sha256.py +5 -0
- capo_codedeploy/types/register_application_revision_input.py +58 -0
- capo_codedeploy/types/register_on_premises_instance_input.py +47 -0
- capo_codedeploy/types/registration_status.py +17 -0
- capo_codedeploy/types/related_deployments.py +55 -0
- capo_codedeploy/types/remove_tags_from_on_premises_instances_input.py +61 -0
- capo_codedeploy/types/repository.py +5 -0
- capo_codedeploy/types/revision_info.py +63 -0
- capo_codedeploy/types/revision_info_list.py +29 -0
- capo_codedeploy/types/revision_location.py +114 -0
- capo_codedeploy/types/revision_location_list.py +33 -0
- capo_codedeploy/types/revision_location_type.py +19 -0
- capo_codedeploy/types/role.py +5 -0
- capo_codedeploy/types/rollback_info.py +49 -0
- capo_codedeploy/types/s3_bucket.py +5 -0
- capo_codedeploy/types/s3_key.py +5 -0
- capo_codedeploy/types/s3_location.py +64 -0
- capo_codedeploy/types/script_name.py +5 -0
- capo_codedeploy/types/skip_wait_time_for_instance_termination_input.py +28 -0
- capo_codedeploy/types/sort_order.py +17 -0
- capo_codedeploy/types/stop_deployment_input.py +40 -0
- capo_codedeploy/types/stop_deployment_output.py +43 -0
- capo_codedeploy/types/stop_status.py +17 -0
- capo_codedeploy/types/tag.py +35 -0
- capo_codedeploy/types/tag_filter.py +50 -0
- capo_codedeploy/types/tag_filter_list.py +29 -0
- capo_codedeploy/types/tag_filter_type.py +18 -0
- capo_codedeploy/types/tag_key_list.py +17 -0
- capo_codedeploy/types/tag_list.py +29 -0
- capo_codedeploy/types/tag_resource_input.py +45 -0
- capo_codedeploy/types/tag_resource_output.py +18 -0
- capo_codedeploy/types/target_arn.py +5 -0
- capo_codedeploy/types/target_filter_name.py +17 -0
- capo_codedeploy/types/target_filters.py +40 -0
- capo_codedeploy/types/target_group_info.py +28 -0
- capo_codedeploy/types/target_group_info_list.py +33 -0
- capo_codedeploy/types/target_group_name.py +5 -0
- capo_codedeploy/types/target_group_pair_info.py +79 -0
- capo_codedeploy/types/target_group_pair_info_list.py +35 -0
- capo_codedeploy/types/target_id.py +5 -0
- capo_codedeploy/types/target_id_list.py +17 -0
- capo_codedeploy/types/target_instances.py +78 -0
- capo_codedeploy/types/target_label.py +17 -0
- capo_codedeploy/types/target_status.py +22 -0
- capo_codedeploy/types/time.py +20 -0
- capo_codedeploy/types/time_based_canary.py +37 -0
- capo_codedeploy/types/time_based_linear.py +37 -0
- capo_codedeploy/types/time_range.py +50 -0
- capo_codedeploy/types/timestamp.py +20 -0
- capo_codedeploy/types/traffic_route.py +42 -0
- capo_codedeploy/types/traffic_routing_config.py +80 -0
- capo_codedeploy/types/traffic_routing_type.py +18 -0
- capo_codedeploy/types/traffic_weight.py +5 -0
- capo_codedeploy/types/trigger_config.py +58 -0
- capo_codedeploy/types/trigger_config_list.py +31 -0
- capo_codedeploy/types/trigger_event_type.py +25 -0
- capo_codedeploy/types/trigger_event_type_list.py +35 -0
- capo_codedeploy/types/trigger_name.py +5 -0
- capo_codedeploy/types/trigger_target_arn.py +5 -0
- capo_codedeploy/types/untag_resource_input.py +47 -0
- capo_codedeploy/types/untag_resource_output.py +18 -0
- capo_codedeploy/types/update_application_input.py +38 -0
- capo_codedeploy/types/update_deployment_group_input.py +343 -0
- capo_codedeploy/types/update_deployment_group_output.py +42 -0
- capo_codedeploy/types/value.py +5 -0
- capo_codedeploy/types/version.py +5 -0
- capo_codedeploy/types/version_id.py +5 -0
- capo_codedeploy/types/wait_time_in_mins.py +5 -0
- capo_codedeploy/types/wait_time_in_seconds.py +5 -0
- capo_codedeploy/types/zonal_config.py +63 -0
- capo_codedeploy-0.1.0.dist-info/METADATA +102 -0
- capo_codedeploy-0.1.0.dist-info/RECORD +472 -0
- capo_codedeploy-0.1.0.dist-info/WHEEL +5 -0
- capo_codedeploy-0.1.0.dist-info/licenses/LICENSE +21 -0
- capo_codedeploy-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#GetDeploymentTargetOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codedeploy.types.deployment_target
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GetDeploymentTargetOutput(TypedDict, closed=True):
|
|
12
|
+
deployment_target: NotRequired[
|
|
13
|
+
"capo_codedeploy.types.deployment_target.DeploymentTarget"
|
|
14
|
+
]
|
|
15
|
+
"""<p> A deployment target that contains information about a deployment such as its status, lifecycle events, and when it was last updated. It also contains metadata about the deployment target. The deployment target metadata depends on the deployment target's type (<code>instanceTarget</code>, <code>lambdaTarget</code>, or <code>ecsTarget</code>). </p>"""
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# --- awsJson1_1 ser/de ---
|
|
19
|
+
def serialize_aws_json_1_1(value: GetDeploymentTargetOutput) -> dict:
|
|
20
|
+
out: dict = {}
|
|
21
|
+
if "deployment_target" in value:
|
|
22
|
+
import capo_codedeploy.types.deployment_target
|
|
23
|
+
|
|
24
|
+
out["deploymentTarget"] = (
|
|
25
|
+
capo_codedeploy.types.deployment_target.serialize_aws_json_1_1(
|
|
26
|
+
value["deployment_target"]
|
|
27
|
+
)
|
|
28
|
+
)
|
|
29
|
+
return out
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def deserialize_aws_json_1_1(data: dict) -> GetDeploymentTargetOutput:
|
|
33
|
+
out: GetDeploymentTargetOutput = {} # type: ignore[typeddict-item]
|
|
34
|
+
if data.get("deploymentTarget") is not None:
|
|
35
|
+
import capo_codedeploy.types.deployment_target
|
|
36
|
+
|
|
37
|
+
out["deployment_target"] = (
|
|
38
|
+
capo_codedeploy.types.deployment_target.deserialize_aws_json_1_1(
|
|
39
|
+
data["deploymentTarget"]
|
|
40
|
+
)
|
|
41
|
+
)
|
|
42
|
+
return out
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#GetOnPremisesInstanceInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_codedeploy.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_codedeploy.types.instance_name
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class GetOnPremisesInstanceInput(TypedDict, closed=True):
|
|
14
|
+
instance_name: "capo_codedeploy.types.instance_name.InstanceName"
|
|
15
|
+
"""<p> The name of the on-premises instance about which to get information. </p>"""
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# --- awsJson1_1 ser/de ---
|
|
19
|
+
def serialize_aws_json_1_1(value: GetOnPremisesInstanceInput) -> dict:
|
|
20
|
+
out: dict = {}
|
|
21
|
+
out["instanceName"] = value["instance_name"]
|
|
22
|
+
return out
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def deserialize_aws_json_1_1(data: dict) -> GetOnPremisesInstanceInput:
|
|
26
|
+
out: GetOnPremisesInstanceInput = {} # type: ignore[typeddict-item]
|
|
27
|
+
if data.get("instanceName") is not None:
|
|
28
|
+
out["instance_name"] = data["instanceName"]
|
|
29
|
+
else:
|
|
30
|
+
raise DeserializationError("GetOnPremisesInstanceInput.instance_name required")
|
|
31
|
+
return out
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#GetOnPremisesInstanceOutput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codedeploy.types.instance_info
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GetOnPremisesInstanceOutput(TypedDict, closed=True):
|
|
12
|
+
instance_info: NotRequired["capo_codedeploy.types.instance_info.InstanceInfo"]
|
|
13
|
+
"""<p> Information about the on-premises instance. </p>"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# --- awsJson1_1 ser/de ---
|
|
17
|
+
def serialize_aws_json_1_1(value: GetOnPremisesInstanceOutput) -> dict:
|
|
18
|
+
out: dict = {}
|
|
19
|
+
if "instance_info" in value:
|
|
20
|
+
import capo_codedeploy.types.instance_info
|
|
21
|
+
|
|
22
|
+
out["instanceInfo"] = (
|
|
23
|
+
capo_codedeploy.types.instance_info.serialize_aws_json_1_1(
|
|
24
|
+
value["instance_info"]
|
|
25
|
+
)
|
|
26
|
+
)
|
|
27
|
+
return out
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def deserialize_aws_json_1_1(data: dict) -> GetOnPremisesInstanceOutput:
|
|
31
|
+
out: GetOnPremisesInstanceOutput = {} # type: ignore[typeddict-item]
|
|
32
|
+
if data.get("instanceInfo") is not None:
|
|
33
|
+
import capo_codedeploy.types.instance_info
|
|
34
|
+
|
|
35
|
+
out["instance_info"] = (
|
|
36
|
+
capo_codedeploy.types.instance_info.deserialize_aws_json_1_1(
|
|
37
|
+
data["instanceInfo"]
|
|
38
|
+
)
|
|
39
|
+
)
|
|
40
|
+
return out
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#GitHubAccountTokenNameList``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codedeploy.types.git_hub_account_token_name
|
|
7
|
+
|
|
8
|
+
GitHubAccountTokenNameList: TypeAlias = list[
|
|
9
|
+
"capo_codedeploy.types.git_hub_account_token_name.GitHubAccountTokenName"
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# --- awsJson1_1 ser/de ---
|
|
14
|
+
def serialize_aws_json_1_1(value: GitHubAccountTokenNameList) -> list:
|
|
15
|
+
return list(value)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def deserialize_aws_json_1_1(data: list) -> GitHubAccountTokenNameList:
|
|
19
|
+
return [item for item in data if item is not None]
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#GitHubLocation``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codedeploy.types.commit_id
|
|
9
|
+
import capo_codedeploy.types.repository
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GitHubLocation(TypedDict, closed=True):
|
|
13
|
+
repository: NotRequired["capo_codedeploy.types.repository.Repository"]
|
|
14
|
+
"""<p>The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision. </p> <p>Specified as account/repository.</p>"""
|
|
15
|
+
commit_id: NotRequired["capo_codedeploy.types.commit_id.CommitId"]
|
|
16
|
+
"""<p>The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.</p>"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# --- awsJson1_1 ser/de ---
|
|
20
|
+
def serialize_aws_json_1_1(value: GitHubLocation) -> dict:
|
|
21
|
+
out: dict = {}
|
|
22
|
+
if "repository" in value:
|
|
23
|
+
out["repository"] = value["repository"]
|
|
24
|
+
if "commit_id" in value:
|
|
25
|
+
out["commitId"] = value["commit_id"]
|
|
26
|
+
return out
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def deserialize_aws_json_1_1(data: dict) -> GitHubLocation:
|
|
30
|
+
out: GitHubLocation = {} # type: ignore[typeddict-item]
|
|
31
|
+
if data.get("repository") is not None:
|
|
32
|
+
out["repository"] = data["repository"]
|
|
33
|
+
if data.get("commitId") is not None:
|
|
34
|
+
out["commit_id"] = data["commitId"]
|
|
35
|
+
return out
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#GreenFleetProvisioningAction``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
GreenFleetProvisioningAction: TypeAlias = Literal[
|
|
6
|
+
"DISCOVER_EXISTING",
|
|
7
|
+
"COPY_AUTO_SCALING_GROUP",
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: GreenFleetProvisioningAction) -> str:
|
|
13
|
+
return value
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: str) -> GreenFleetProvisioningAction:
|
|
17
|
+
return cast(GreenFleetProvisioningAction, data)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#GreenFleetProvisioningOption``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codedeploy.types.green_fleet_provisioning_action
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GreenFleetProvisioningOption(TypedDict, closed=True):
|
|
12
|
+
action: NotRequired[
|
|
13
|
+
"capo_codedeploy.types.green_fleet_provisioning_action.GreenFleetProvisioningAction"
|
|
14
|
+
]
|
|
15
|
+
"""<p>The method used to add instances to a replacement environment.</p> <ul> <li> <p> <code>DISCOVER_EXISTING</code>: Use instances that already exist or will be created manually.</p> </li> <li> <p> <code>COPY_AUTO_SCALING_GROUP</code>: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.</p> </li> </ul>"""
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# --- awsJson1_1 ser/de ---
|
|
19
|
+
def serialize_aws_json_1_1(value: GreenFleetProvisioningOption) -> dict:
|
|
20
|
+
out: dict = {}
|
|
21
|
+
if "action" in value:
|
|
22
|
+
import capo_codedeploy.types.green_fleet_provisioning_action
|
|
23
|
+
|
|
24
|
+
out["action"] = (
|
|
25
|
+
capo_codedeploy.types.green_fleet_provisioning_action.serialize_aws_json_1_1(
|
|
26
|
+
value["action"]
|
|
27
|
+
)
|
|
28
|
+
)
|
|
29
|
+
return out
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def deserialize_aws_json_1_1(data: dict) -> GreenFleetProvisioningOption:
|
|
33
|
+
out: GreenFleetProvisioningOption = {} # type: ignore[typeddict-item]
|
|
34
|
+
if data.get("action") is not None:
|
|
35
|
+
import capo_codedeploy.types.green_fleet_provisioning_action
|
|
36
|
+
|
|
37
|
+
out["action"] = (
|
|
38
|
+
capo_codedeploy.types.green_fleet_provisioning_action.deserialize_aws_json_1_1(
|
|
39
|
+
data["action"]
|
|
40
|
+
)
|
|
41
|
+
)
|
|
42
|
+
return out
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#InstanceAction``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
InstanceAction: TypeAlias = Literal[
|
|
6
|
+
"TERMINATE",
|
|
7
|
+
"KEEP_ALIVE",
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: InstanceAction) -> str:
|
|
13
|
+
return value
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: str) -> InstanceAction:
|
|
17
|
+
return cast(InstanceAction, data)
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#InstanceInfo``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codedeploy.types.iam_session_arn
|
|
9
|
+
import capo_codedeploy.types.iam_user_arn
|
|
10
|
+
import capo_codedeploy.types.instance_arn
|
|
11
|
+
import capo_codedeploy.types.instance_name
|
|
12
|
+
import capo_codedeploy.types.tag_list
|
|
13
|
+
import capo_codedeploy.types.timestamp
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class InstanceInfo(TypedDict, closed=True):
|
|
17
|
+
instance_name: NotRequired["capo_codedeploy.types.instance_name.InstanceName"]
|
|
18
|
+
"""<p>The name of the on-premises instance.</p>"""
|
|
19
|
+
iam_session_arn: NotRequired["capo_codedeploy.types.iam_session_arn.IamSessionArn"]
|
|
20
|
+
"""<p>The ARN of the IAM session associated with the on-premises instance.</p>"""
|
|
21
|
+
iam_user_arn: NotRequired["capo_codedeploy.types.iam_user_arn.IamUserArn"]
|
|
22
|
+
"""<p>The user ARN associated with the on-premises instance.</p>"""
|
|
23
|
+
instance_arn: NotRequired["capo_codedeploy.types.instance_arn.InstanceArn"]
|
|
24
|
+
"""<p>The ARN of the on-premises instance.</p>"""
|
|
25
|
+
register_time: NotRequired["capo_codedeploy.types.timestamp.Timestamp"]
|
|
26
|
+
"""<p>The time at which the on-premises instance was registered.</p>"""
|
|
27
|
+
deregister_time: NotRequired["capo_codedeploy.types.timestamp.Timestamp"]
|
|
28
|
+
"""<p>If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.</p>"""
|
|
29
|
+
tags: NotRequired["capo_codedeploy.types.tag_list.TagList"]
|
|
30
|
+
"""<p>The tags currently associated with the on-premises instance.</p>"""
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# --- awsJson1_1 ser/de ---
|
|
34
|
+
def serialize_aws_json_1_1(value: InstanceInfo) -> dict:
|
|
35
|
+
out: dict = {}
|
|
36
|
+
if "instance_name" in value:
|
|
37
|
+
out["instanceName"] = value["instance_name"]
|
|
38
|
+
if "iam_session_arn" in value:
|
|
39
|
+
out["iamSessionArn"] = value["iam_session_arn"]
|
|
40
|
+
if "iam_user_arn" in value:
|
|
41
|
+
out["iamUserArn"] = value["iam_user_arn"]
|
|
42
|
+
if "instance_arn" in value:
|
|
43
|
+
out["instanceArn"] = value["instance_arn"]
|
|
44
|
+
if "register_time" in value:
|
|
45
|
+
import capo_codedeploy.types.timestamp
|
|
46
|
+
|
|
47
|
+
out["registerTime"] = capo_codedeploy.types.timestamp.serialize_aws_json_1_1(
|
|
48
|
+
value["register_time"]
|
|
49
|
+
)
|
|
50
|
+
if "deregister_time" in value:
|
|
51
|
+
import capo_codedeploy.types.timestamp
|
|
52
|
+
|
|
53
|
+
out["deregisterTime"] = capo_codedeploy.types.timestamp.serialize_aws_json_1_1(
|
|
54
|
+
value["deregister_time"]
|
|
55
|
+
)
|
|
56
|
+
if "tags" in value:
|
|
57
|
+
import capo_codedeploy.types.tag_list
|
|
58
|
+
|
|
59
|
+
out["tags"] = capo_codedeploy.types.tag_list.serialize_aws_json_1_1(
|
|
60
|
+
value["tags"]
|
|
61
|
+
)
|
|
62
|
+
return out
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def deserialize_aws_json_1_1(data: dict) -> InstanceInfo:
|
|
66
|
+
out: InstanceInfo = {} # type: ignore[typeddict-item]
|
|
67
|
+
if data.get("instanceName") is not None:
|
|
68
|
+
out["instance_name"] = data["instanceName"]
|
|
69
|
+
if data.get("iamSessionArn") is not None:
|
|
70
|
+
out["iam_session_arn"] = data["iamSessionArn"]
|
|
71
|
+
if data.get("iamUserArn") is not None:
|
|
72
|
+
out["iam_user_arn"] = data["iamUserArn"]
|
|
73
|
+
if data.get("instanceArn") is not None:
|
|
74
|
+
out["instance_arn"] = data["instanceArn"]
|
|
75
|
+
if data.get("registerTime") is not None:
|
|
76
|
+
import capo_codedeploy.types.timestamp
|
|
77
|
+
|
|
78
|
+
out["register_time"] = capo_codedeploy.types.timestamp.deserialize_aws_json_1_1(
|
|
79
|
+
data["registerTime"]
|
|
80
|
+
)
|
|
81
|
+
if data.get("deregisterTime") is not None:
|
|
82
|
+
import capo_codedeploy.types.timestamp
|
|
83
|
+
|
|
84
|
+
out["deregister_time"] = (
|
|
85
|
+
capo_codedeploy.types.timestamp.deserialize_aws_json_1_1(
|
|
86
|
+
data["deregisterTime"]
|
|
87
|
+
)
|
|
88
|
+
)
|
|
89
|
+
if data.get("tags") is not None:
|
|
90
|
+
import capo_codedeploy.types.tag_list
|
|
91
|
+
|
|
92
|
+
out["tags"] = capo_codedeploy.types.tag_list.deserialize_aws_json_1_1(
|
|
93
|
+
data["tags"]
|
|
94
|
+
)
|
|
95
|
+
return out
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#InstanceInfoList``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codedeploy.types.instance_info
|
|
7
|
+
|
|
8
|
+
InstanceInfoList: TypeAlias = list["capo_codedeploy.types.instance_info.InstanceInfo"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: InstanceInfoList) -> list:
|
|
13
|
+
import capo_codedeploy.types.instance_info
|
|
14
|
+
|
|
15
|
+
out: list = []
|
|
16
|
+
for item in value:
|
|
17
|
+
out.append(capo_codedeploy.types.instance_info.serialize_aws_json_1_1(item))
|
|
18
|
+
return out
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def deserialize_aws_json_1_1(data: list) -> InstanceInfoList:
|
|
22
|
+
import capo_codedeploy.types.instance_info
|
|
23
|
+
|
|
24
|
+
out: InstanceInfoList = []
|
|
25
|
+
for item in data:
|
|
26
|
+
if item is None:
|
|
27
|
+
continue
|
|
28
|
+
out.append(capo_codedeploy.types.instance_info.deserialize_aws_json_1_1(item))
|
|
29
|
+
return out
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#InstanceNameList``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codedeploy.types.instance_name
|
|
7
|
+
|
|
8
|
+
InstanceNameList: TypeAlias = list["capo_codedeploy.types.instance_name.InstanceName"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- awsJson1_1 ser/de ---
|
|
12
|
+
def serialize_aws_json_1_1(value: InstanceNameList) -> list:
|
|
13
|
+
return list(value)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_aws_json_1_1(data: list) -> InstanceNameList:
|
|
17
|
+
return [item for item in data if item is not None]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#InstanceStatus``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
InstanceStatus: TypeAlias = Literal[
|
|
6
|
+
"Pending",
|
|
7
|
+
"InProgress",
|
|
8
|
+
"Succeeded",
|
|
9
|
+
"Failed",
|
|
10
|
+
"Skipped",
|
|
11
|
+
"Unknown",
|
|
12
|
+
"Ready",
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# --- awsJson1_1 ser/de ---
|
|
17
|
+
def serialize_aws_json_1_1(value: InstanceStatus) -> str:
|
|
18
|
+
return value
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def deserialize_aws_json_1_1(data: str) -> InstanceStatus:
|
|
22
|
+
return cast(InstanceStatus, data)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#InstanceStatusList``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codedeploy.types.instance_status
|
|
7
|
+
|
|
8
|
+
InstanceStatusList: TypeAlias = list[
|
|
9
|
+
"capo_codedeploy.types.instance_status.InstanceStatus"
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# --- awsJson1_1 ser/de ---
|
|
14
|
+
def serialize_aws_json_1_1(value: InstanceStatusList) -> list:
|
|
15
|
+
import capo_codedeploy.types.instance_status
|
|
16
|
+
|
|
17
|
+
out: list = []
|
|
18
|
+
for item in value:
|
|
19
|
+
out.append(capo_codedeploy.types.instance_status.serialize_aws_json_1_1(item))
|
|
20
|
+
return out
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def deserialize_aws_json_1_1(data: list) -> InstanceStatusList:
|
|
24
|
+
import capo_codedeploy.types.instance_status
|
|
25
|
+
|
|
26
|
+
out: InstanceStatusList = []
|
|
27
|
+
for item in data:
|
|
28
|
+
if item is None:
|
|
29
|
+
continue
|
|
30
|
+
out.append(capo_codedeploy.types.instance_status.deserialize_aws_json_1_1(item))
|
|
31
|
+
return out
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#InstanceSummary``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_codedeploy.types.deployment_id
|
|
9
|
+
import capo_codedeploy.types.instance_id
|
|
10
|
+
import capo_codedeploy.types.instance_status
|
|
11
|
+
import capo_codedeploy.types.instance_type
|
|
12
|
+
import capo_codedeploy.types.lifecycle_event_list
|
|
13
|
+
import capo_codedeploy.types.timestamp
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class InstanceSummary(TypedDict, closed=True):
|
|
17
|
+
deployment_id: NotRequired["capo_codedeploy.types.deployment_id.DeploymentId"]
|
|
18
|
+
"""<p> The unique ID of a deployment. </p>"""
|
|
19
|
+
instance_id: NotRequired["capo_codedeploy.types.instance_id.InstanceId"]
|
|
20
|
+
"""<p>The instance ID.</p>"""
|
|
21
|
+
status: NotRequired["capo_codedeploy.types.instance_status.InstanceStatus"]
|
|
22
|
+
"""<p>The deployment status for this instance:</p> <ul> <li> <p> <code>Pending</code>: The deployment is pending for this instance.</p> </li> <li> <p> <code>In Progress</code>: The deployment is in progress for this instance.</p> </li> <li> <p> <code>Succeeded</code>: The deployment has succeeded for this instance.</p> </li> <li> <p> <code>Failed</code>: The deployment has failed for this instance.</p> </li> <li> <p> <code>Skipped</code>: The deployment has been skipped for this instance.</p> </li> <li> <p> <code>Unknown</code>: The deployment status is unknown for this instance.</p> </li> </ul>"""
|
|
23
|
+
last_updated_at: NotRequired["capo_codedeploy.types.timestamp.Timestamp"]
|
|
24
|
+
"""<p>A timestamp that indicates when the instance information was last updated.</p>"""
|
|
25
|
+
lifecycle_events: NotRequired[
|
|
26
|
+
"capo_codedeploy.types.lifecycle_event_list.LifecycleEventList"
|
|
27
|
+
]
|
|
28
|
+
"""<p>A list of lifecycle events for this instance.</p>"""
|
|
29
|
+
instance_type: NotRequired["capo_codedeploy.types.instance_type.InstanceType"]
|
|
30
|
+
"""<p>Information about which environment an instance belongs to in a blue/green deployment.</p> <ul> <li> <p>BLUE: The instance is part of the original environment.</p> </li> <li> <p>GREEN: The instance is part of the replacement environment.</p> </li> </ul>"""
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# --- awsJson1_1 ser/de ---
|
|
34
|
+
def serialize_aws_json_1_1(value: InstanceSummary) -> dict:
|
|
35
|
+
out: dict = {}
|
|
36
|
+
if "deployment_id" in value:
|
|
37
|
+
out["deploymentId"] = value["deployment_id"]
|
|
38
|
+
if "instance_id" in value:
|
|
39
|
+
out["instanceId"] = value["instance_id"]
|
|
40
|
+
if "status" in value:
|
|
41
|
+
import capo_codedeploy.types.instance_status
|
|
42
|
+
|
|
43
|
+
out["status"] = capo_codedeploy.types.instance_status.serialize_aws_json_1_1(
|
|
44
|
+
value["status"]
|
|
45
|
+
)
|
|
46
|
+
if "last_updated_at" in value:
|
|
47
|
+
import capo_codedeploy.types.timestamp
|
|
48
|
+
|
|
49
|
+
out["lastUpdatedAt"] = capo_codedeploy.types.timestamp.serialize_aws_json_1_1(
|
|
50
|
+
value["last_updated_at"]
|
|
51
|
+
)
|
|
52
|
+
if "lifecycle_events" in value:
|
|
53
|
+
import capo_codedeploy.types.lifecycle_event_list
|
|
54
|
+
|
|
55
|
+
out["lifecycleEvents"] = (
|
|
56
|
+
capo_codedeploy.types.lifecycle_event_list.serialize_aws_json_1_1(
|
|
57
|
+
value["lifecycle_events"]
|
|
58
|
+
)
|
|
59
|
+
)
|
|
60
|
+
if "instance_type" in value:
|
|
61
|
+
import capo_codedeploy.types.instance_type
|
|
62
|
+
|
|
63
|
+
out["instanceType"] = (
|
|
64
|
+
capo_codedeploy.types.instance_type.serialize_aws_json_1_1(
|
|
65
|
+
value["instance_type"]
|
|
66
|
+
)
|
|
67
|
+
)
|
|
68
|
+
return out
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def deserialize_aws_json_1_1(data: dict) -> InstanceSummary:
|
|
72
|
+
out: InstanceSummary = {} # type: ignore[typeddict-item]
|
|
73
|
+
if data.get("deploymentId") is not None:
|
|
74
|
+
out["deployment_id"] = data["deploymentId"]
|
|
75
|
+
if data.get("instanceId") is not None:
|
|
76
|
+
out["instance_id"] = data["instanceId"]
|
|
77
|
+
if data.get("status") is not None:
|
|
78
|
+
import capo_codedeploy.types.instance_status
|
|
79
|
+
|
|
80
|
+
out["status"] = capo_codedeploy.types.instance_status.deserialize_aws_json_1_1(
|
|
81
|
+
data["status"]
|
|
82
|
+
)
|
|
83
|
+
if data.get("lastUpdatedAt") is not None:
|
|
84
|
+
import capo_codedeploy.types.timestamp
|
|
85
|
+
|
|
86
|
+
out["last_updated_at"] = (
|
|
87
|
+
capo_codedeploy.types.timestamp.deserialize_aws_json_1_1(
|
|
88
|
+
data["lastUpdatedAt"]
|
|
89
|
+
)
|
|
90
|
+
)
|
|
91
|
+
if data.get("lifecycleEvents") is not None:
|
|
92
|
+
import capo_codedeploy.types.lifecycle_event_list
|
|
93
|
+
|
|
94
|
+
out["lifecycle_events"] = (
|
|
95
|
+
capo_codedeploy.types.lifecycle_event_list.deserialize_aws_json_1_1(
|
|
96
|
+
data["lifecycleEvents"]
|
|
97
|
+
)
|
|
98
|
+
)
|
|
99
|
+
if data.get("instanceType") is not None:
|
|
100
|
+
import capo_codedeploy.types.instance_type
|
|
101
|
+
|
|
102
|
+
out["instance_type"] = (
|
|
103
|
+
capo_codedeploy.types.instance_type.deserialize_aws_json_1_1(
|
|
104
|
+
data["instanceType"]
|
|
105
|
+
)
|
|
106
|
+
)
|
|
107
|
+
return out
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#InstanceSummaryList``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
if TYPE_CHECKING:
|
|
6
|
+
import capo_codedeploy.types.instance_summary
|
|
7
|
+
|
|
8
|
+
InstanceSummaryList: TypeAlias = list[
|
|
9
|
+
"capo_codedeploy.types.instance_summary.InstanceSummary"
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# --- awsJson1_1 ser/de ---
|
|
14
|
+
def serialize_aws_json_1_1(value: InstanceSummaryList) -> list:
|
|
15
|
+
import capo_codedeploy.types.instance_summary
|
|
16
|
+
|
|
17
|
+
out: list = []
|
|
18
|
+
for item in value:
|
|
19
|
+
out.append(capo_codedeploy.types.instance_summary.serialize_aws_json_1_1(item))
|
|
20
|
+
return out
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def deserialize_aws_json_1_1(data: list) -> InstanceSummaryList:
|
|
24
|
+
import capo_codedeploy.types.instance_summary
|
|
25
|
+
|
|
26
|
+
out: InstanceSummaryList = []
|
|
27
|
+
for item in data:
|
|
28
|
+
if item is None:
|
|
29
|
+
continue
|
|
30
|
+
out.append(
|
|
31
|
+
capo_codedeploy.types.instance_summary.deserialize_aws_json_1_1(item)
|
|
32
|
+
)
|
|
33
|
+
return out
|