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,111 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#ListApplicationRevisionsInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_codedeploy.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_codedeploy.types.application_name
|
|
11
|
+
import capo_codedeploy.types.application_revision_sort_by
|
|
12
|
+
import capo_codedeploy.types.list_state_filter_action
|
|
13
|
+
import capo_codedeploy.types.next_token
|
|
14
|
+
import capo_codedeploy.types.s3_bucket
|
|
15
|
+
import capo_codedeploy.types.s3_key
|
|
16
|
+
import capo_codedeploy.types.sort_order
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class ListApplicationRevisionsInput(TypedDict, closed=True):
|
|
20
|
+
application_name: "capo_codedeploy.types.application_name.ApplicationName"
|
|
21
|
+
"""<p> The name of an CodeDeploy application associated with the user or Amazon Web Services account. </p>"""
|
|
22
|
+
sort_by: NotRequired[
|
|
23
|
+
"capo_codedeploy.types.application_revision_sort_by.ApplicationRevisionSortBy"
|
|
24
|
+
]
|
|
25
|
+
"""<p>The column name to use to sort the list results:</p> <ul> <li> <p> <code>registerTime</code>: Sort by the time the revisions were registered with CodeDeploy.</p> </li> <li> <p> <code>firstUsedTime</code>: Sort by the time the revisions were first used in a deployment.</p> </li> <li> <p> <code>lastUsedTime</code>: Sort by the time the revisions were last used in a deployment.</p> </li> </ul> <p> If not specified or set to null, the results are returned in an arbitrary order. </p>"""
|
|
26
|
+
sort_order: NotRequired["capo_codedeploy.types.sort_order.SortOrder"]
|
|
27
|
+
"""<p> The order in which to sort the list results: </p> <ul> <li> <p> <code>ascending</code>: ascending order.</p> </li> <li> <p> <code>descending</code>: descending order.</p> </li> </ul> <p>If not specified, the results are sorted in ascending order.</p> <p>If set to null, the results are sorted in an arbitrary order.</p>"""
|
|
28
|
+
s3_bucket: NotRequired["capo_codedeploy.types.s3_bucket.S3Bucket"]
|
|
29
|
+
"""<p> An Amazon S3 bucket name to limit the search for revisions. </p> <p> If set to null, all of the user's buckets are searched. </p>"""
|
|
30
|
+
s3_key_prefix: NotRequired["capo_codedeploy.types.s3_key.S3Key"]
|
|
31
|
+
"""<p> A key prefix for the set of Amazon S3 objects to limit the search for revisions. </p>"""
|
|
32
|
+
deployed: NotRequired[
|
|
33
|
+
"capo_codedeploy.types.list_state_filter_action.ListStateFilterAction"
|
|
34
|
+
]
|
|
35
|
+
"""<p> Whether to list revisions based on whether the revision is the target revision of a deployment group: </p> <ul> <li> <p> <code>include</code>: List revisions that are target revisions of a deployment group.</p> </li> <li> <p> <code>exclude</code>: Do not list revisions that are target revisions of a deployment group.</p> </li> <li> <p> <code>ignore</code>: List all revisions.</p> </li> </ul>"""
|
|
36
|
+
next_token: NotRequired["capo_codedeploy.types.next_token.NextToken"]
|
|
37
|
+
"""<p>An identifier returned from the previous <code>ListApplicationRevisions</code> call. It can be used to return the next set of applications in the list.</p>"""
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# --- awsJson1_1 ser/de ---
|
|
41
|
+
def serialize_aws_json_1_1(value: ListApplicationRevisionsInput) -> dict:
|
|
42
|
+
out: dict = {}
|
|
43
|
+
out["applicationName"] = value["application_name"]
|
|
44
|
+
if "sort_by" in value:
|
|
45
|
+
import capo_codedeploy.types.application_revision_sort_by
|
|
46
|
+
|
|
47
|
+
out["sortBy"] = (
|
|
48
|
+
capo_codedeploy.types.application_revision_sort_by.serialize_aws_json_1_1(
|
|
49
|
+
value["sort_by"]
|
|
50
|
+
)
|
|
51
|
+
)
|
|
52
|
+
if "sort_order" in value:
|
|
53
|
+
import capo_codedeploy.types.sort_order
|
|
54
|
+
|
|
55
|
+
out["sortOrder"] = capo_codedeploy.types.sort_order.serialize_aws_json_1_1(
|
|
56
|
+
value["sort_order"]
|
|
57
|
+
)
|
|
58
|
+
if "s3_bucket" in value:
|
|
59
|
+
out["s3Bucket"] = value["s3_bucket"]
|
|
60
|
+
if "s3_key_prefix" in value:
|
|
61
|
+
out["s3KeyPrefix"] = value["s3_key_prefix"]
|
|
62
|
+
if "deployed" in value:
|
|
63
|
+
import capo_codedeploy.types.list_state_filter_action
|
|
64
|
+
|
|
65
|
+
out["deployed"] = (
|
|
66
|
+
capo_codedeploy.types.list_state_filter_action.serialize_aws_json_1_1(
|
|
67
|
+
value["deployed"]
|
|
68
|
+
)
|
|
69
|
+
)
|
|
70
|
+
if "next_token" in value:
|
|
71
|
+
out["nextToken"] = value["next_token"]
|
|
72
|
+
return out
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def deserialize_aws_json_1_1(data: dict) -> ListApplicationRevisionsInput:
|
|
76
|
+
out: ListApplicationRevisionsInput = {} # type: ignore[typeddict-item]
|
|
77
|
+
if data.get("applicationName") is not None:
|
|
78
|
+
out["application_name"] = data["applicationName"]
|
|
79
|
+
else:
|
|
80
|
+
raise DeserializationError(
|
|
81
|
+
"ListApplicationRevisionsInput.application_name required"
|
|
82
|
+
)
|
|
83
|
+
if data.get("sortBy") is not None:
|
|
84
|
+
import capo_codedeploy.types.application_revision_sort_by
|
|
85
|
+
|
|
86
|
+
out["sort_by"] = (
|
|
87
|
+
capo_codedeploy.types.application_revision_sort_by.deserialize_aws_json_1_1(
|
|
88
|
+
data["sortBy"]
|
|
89
|
+
)
|
|
90
|
+
)
|
|
91
|
+
if data.get("sortOrder") is not None:
|
|
92
|
+
import capo_codedeploy.types.sort_order
|
|
93
|
+
|
|
94
|
+
out["sort_order"] = capo_codedeploy.types.sort_order.deserialize_aws_json_1_1(
|
|
95
|
+
data["sortOrder"]
|
|
96
|
+
)
|
|
97
|
+
if data.get("s3Bucket") is not None:
|
|
98
|
+
out["s3_bucket"] = data["s3Bucket"]
|
|
99
|
+
if data.get("s3KeyPrefix") is not None:
|
|
100
|
+
out["s3_key_prefix"] = data["s3KeyPrefix"]
|
|
101
|
+
if data.get("deployed") is not None:
|
|
102
|
+
import capo_codedeploy.types.list_state_filter_action
|
|
103
|
+
|
|
104
|
+
out["deployed"] = (
|
|
105
|
+
capo_codedeploy.types.list_state_filter_action.deserialize_aws_json_1_1(
|
|
106
|
+
data["deployed"]
|
|
107
|
+
)
|
|
108
|
+
)
|
|
109
|
+
if data.get("nextToken") is not None:
|
|
110
|
+
out["next_token"] = data["nextToken"]
|
|
111
|
+
return out
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#ListApplicationRevisionsOutput``."""
|
|
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.next_token
|
|
9
|
+
import capo_codedeploy.types.revision_location_list
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ListApplicationRevisionsOutput(TypedDict, closed=True):
|
|
13
|
+
revisions: NotRequired[
|
|
14
|
+
"capo_codedeploy.types.revision_location_list.RevisionLocationList"
|
|
15
|
+
]
|
|
16
|
+
"""<p>A list of locations that contain the matching revisions.</p>"""
|
|
17
|
+
next_token: NotRequired["capo_codedeploy.types.next_token.NextToken"]
|
|
18
|
+
"""<p>If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.</p>"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# --- awsJson1_1 ser/de ---
|
|
22
|
+
def serialize_aws_json_1_1(value: ListApplicationRevisionsOutput) -> dict:
|
|
23
|
+
out: dict = {}
|
|
24
|
+
if "revisions" in value:
|
|
25
|
+
import capo_codedeploy.types.revision_location_list
|
|
26
|
+
|
|
27
|
+
out["revisions"] = (
|
|
28
|
+
capo_codedeploy.types.revision_location_list.serialize_aws_json_1_1(
|
|
29
|
+
value["revisions"]
|
|
30
|
+
)
|
|
31
|
+
)
|
|
32
|
+
if "next_token" in value:
|
|
33
|
+
out["nextToken"] = value["next_token"]
|
|
34
|
+
return out
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def deserialize_aws_json_1_1(data: dict) -> ListApplicationRevisionsOutput:
|
|
38
|
+
out: ListApplicationRevisionsOutput = {} # type: ignore[typeddict-item]
|
|
39
|
+
if data.get("revisions") is not None:
|
|
40
|
+
import capo_codedeploy.types.revision_location_list
|
|
41
|
+
|
|
42
|
+
out["revisions"] = (
|
|
43
|
+
capo_codedeploy.types.revision_location_list.deserialize_aws_json_1_1(
|
|
44
|
+
data["revisions"]
|
|
45
|
+
)
|
|
46
|
+
)
|
|
47
|
+
if data.get("nextToken") is not None:
|
|
48
|
+
out["next_token"] = data["nextToken"]
|
|
49
|
+
return out
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#ListApplicationsInput``."""
|
|
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.next_token
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ListApplicationsInput(TypedDict, closed=True):
|
|
12
|
+
next_token: NotRequired["capo_codedeploy.types.next_token.NextToken"]
|
|
13
|
+
"""<p>An identifier returned from the previous list applications call. It can be used to return the next set of applications in the list.</p>"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# --- awsJson1_1 ser/de ---
|
|
17
|
+
def serialize_aws_json_1_1(value: ListApplicationsInput) -> dict:
|
|
18
|
+
out: dict = {}
|
|
19
|
+
if "next_token" in value:
|
|
20
|
+
out["nextToken"] = value["next_token"]
|
|
21
|
+
return out
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def deserialize_aws_json_1_1(data: dict) -> ListApplicationsInput:
|
|
25
|
+
out: ListApplicationsInput = {} # type: ignore[typeddict-item]
|
|
26
|
+
if data.get("nextToken") is not None:
|
|
27
|
+
out["next_token"] = data["nextToken"]
|
|
28
|
+
return out
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#ListApplicationsOutput``."""
|
|
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.applications_list
|
|
9
|
+
import capo_codedeploy.types.next_token
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ListApplicationsOutput(TypedDict, closed=True):
|
|
13
|
+
applications: NotRequired[
|
|
14
|
+
"capo_codedeploy.types.applications_list.ApplicationsList"
|
|
15
|
+
]
|
|
16
|
+
"""<p>A list of application names.</p>"""
|
|
17
|
+
next_token: NotRequired["capo_codedeploy.types.next_token.NextToken"]
|
|
18
|
+
"""<p>If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list applications call to return the next set of applications in the list.</p>"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# --- awsJson1_1 ser/de ---
|
|
22
|
+
def serialize_aws_json_1_1(value: ListApplicationsOutput) -> dict:
|
|
23
|
+
out: dict = {}
|
|
24
|
+
if "applications" in value:
|
|
25
|
+
import capo_codedeploy.types.applications_list
|
|
26
|
+
|
|
27
|
+
out["applications"] = (
|
|
28
|
+
capo_codedeploy.types.applications_list.serialize_aws_json_1_1(
|
|
29
|
+
value["applications"]
|
|
30
|
+
)
|
|
31
|
+
)
|
|
32
|
+
if "next_token" in value:
|
|
33
|
+
out["nextToken"] = value["next_token"]
|
|
34
|
+
return out
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def deserialize_aws_json_1_1(data: dict) -> ListApplicationsOutput:
|
|
38
|
+
out: ListApplicationsOutput = {} # type: ignore[typeddict-item]
|
|
39
|
+
if data.get("applications") is not None:
|
|
40
|
+
import capo_codedeploy.types.applications_list
|
|
41
|
+
|
|
42
|
+
out["applications"] = (
|
|
43
|
+
capo_codedeploy.types.applications_list.deserialize_aws_json_1_1(
|
|
44
|
+
data["applications"]
|
|
45
|
+
)
|
|
46
|
+
)
|
|
47
|
+
if data.get("nextToken") is not None:
|
|
48
|
+
out["next_token"] = data["nextToken"]
|
|
49
|
+
return out
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#ListDeploymentConfigsInput``."""
|
|
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.next_token
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ListDeploymentConfigsInput(TypedDict, closed=True):
|
|
12
|
+
next_token: NotRequired["capo_codedeploy.types.next_token.NextToken"]
|
|
13
|
+
"""<p>An identifier returned from the previous <code>ListDeploymentConfigs</code> call. It can be used to return the next set of deployment configurations in the list. </p>"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# --- awsJson1_1 ser/de ---
|
|
17
|
+
def serialize_aws_json_1_1(value: ListDeploymentConfigsInput) -> dict:
|
|
18
|
+
out: dict = {}
|
|
19
|
+
if "next_token" in value:
|
|
20
|
+
out["nextToken"] = value["next_token"]
|
|
21
|
+
return out
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def deserialize_aws_json_1_1(data: dict) -> ListDeploymentConfigsInput:
|
|
25
|
+
out: ListDeploymentConfigsInput = {} # type: ignore[typeddict-item]
|
|
26
|
+
if data.get("nextToken") is not None:
|
|
27
|
+
out["next_token"] = data["nextToken"]
|
|
28
|
+
return out
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#ListDeploymentConfigsOutput``."""
|
|
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_configs_list
|
|
9
|
+
import capo_codedeploy.types.next_token
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ListDeploymentConfigsOutput(TypedDict, closed=True):
|
|
13
|
+
deployment_configs_list: NotRequired[
|
|
14
|
+
"capo_codedeploy.types.deployment_configs_list.DeploymentConfigsList"
|
|
15
|
+
]
|
|
16
|
+
"""<p>A list of deployment configurations, including built-in configurations such as <code>CodeDeployDefault.OneAtATime</code>.</p>"""
|
|
17
|
+
next_token: NotRequired["capo_codedeploy.types.next_token.NextToken"]
|
|
18
|
+
"""<p>If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment configurations call to return the next set of deployment configurations in the list.</p>"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# --- awsJson1_1 ser/de ---
|
|
22
|
+
def serialize_aws_json_1_1(value: ListDeploymentConfigsOutput) -> dict:
|
|
23
|
+
out: dict = {}
|
|
24
|
+
if "deployment_configs_list" in value:
|
|
25
|
+
import capo_codedeploy.types.deployment_configs_list
|
|
26
|
+
|
|
27
|
+
out["deploymentConfigsList"] = (
|
|
28
|
+
capo_codedeploy.types.deployment_configs_list.serialize_aws_json_1_1(
|
|
29
|
+
value["deployment_configs_list"]
|
|
30
|
+
)
|
|
31
|
+
)
|
|
32
|
+
if "next_token" in value:
|
|
33
|
+
out["nextToken"] = value["next_token"]
|
|
34
|
+
return out
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def deserialize_aws_json_1_1(data: dict) -> ListDeploymentConfigsOutput:
|
|
38
|
+
out: ListDeploymentConfigsOutput = {} # type: ignore[typeddict-item]
|
|
39
|
+
if data.get("deploymentConfigsList") is not None:
|
|
40
|
+
import capo_codedeploy.types.deployment_configs_list
|
|
41
|
+
|
|
42
|
+
out["deployment_configs_list"] = (
|
|
43
|
+
capo_codedeploy.types.deployment_configs_list.deserialize_aws_json_1_1(
|
|
44
|
+
data["deploymentConfigsList"]
|
|
45
|
+
)
|
|
46
|
+
)
|
|
47
|
+
if data.get("nextToken") is not None:
|
|
48
|
+
out["next_token"] = data["nextToken"]
|
|
49
|
+
return out
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#ListDeploymentGroupsInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_codedeploy.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_codedeploy.types.application_name
|
|
11
|
+
import capo_codedeploy.types.next_token
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class ListDeploymentGroupsInput(TypedDict, closed=True):
|
|
15
|
+
application_name: "capo_codedeploy.types.application_name.ApplicationName"
|
|
16
|
+
"""<p>The name of an CodeDeploy application associated with the user or Amazon Web Services account.</p>"""
|
|
17
|
+
next_token: NotRequired["capo_codedeploy.types.next_token.NextToken"]
|
|
18
|
+
"""<p>An identifier returned from the previous list deployment groups call. It can be used to return the next set of deployment groups in the list.</p>"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# --- awsJson1_1 ser/de ---
|
|
22
|
+
def serialize_aws_json_1_1(value: ListDeploymentGroupsInput) -> dict:
|
|
23
|
+
out: dict = {}
|
|
24
|
+
out["applicationName"] = value["application_name"]
|
|
25
|
+
if "next_token" in value:
|
|
26
|
+
out["nextToken"] = value["next_token"]
|
|
27
|
+
return out
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def deserialize_aws_json_1_1(data: dict) -> ListDeploymentGroupsInput:
|
|
31
|
+
out: ListDeploymentGroupsInput = {} # type: ignore[typeddict-item]
|
|
32
|
+
if data.get("applicationName") is not None:
|
|
33
|
+
out["application_name"] = data["applicationName"]
|
|
34
|
+
else:
|
|
35
|
+
raise DeserializationError(
|
|
36
|
+
"ListDeploymentGroupsInput.application_name required"
|
|
37
|
+
)
|
|
38
|
+
if data.get("nextToken") is not None:
|
|
39
|
+
out["next_token"] = data["nextToken"]
|
|
40
|
+
return out
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#ListDeploymentGroupsOutput``."""
|
|
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.application_name
|
|
9
|
+
import capo_codedeploy.types.deployment_groups_list
|
|
10
|
+
import capo_codedeploy.types.next_token
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ListDeploymentGroupsOutput(TypedDict, closed=True):
|
|
14
|
+
application_name: NotRequired[
|
|
15
|
+
"capo_codedeploy.types.application_name.ApplicationName"
|
|
16
|
+
]
|
|
17
|
+
"""<p>The application name.</p>"""
|
|
18
|
+
deployment_groups: NotRequired[
|
|
19
|
+
"capo_codedeploy.types.deployment_groups_list.DeploymentGroupsList"
|
|
20
|
+
]
|
|
21
|
+
"""<p>A list of deployment group names.</p>"""
|
|
22
|
+
next_token: NotRequired["capo_codedeploy.types.next_token.NextToken"]
|
|
23
|
+
"""<p>If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment groups call to return the next set of deployment groups in the list.</p>"""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# --- awsJson1_1 ser/de ---
|
|
27
|
+
def serialize_aws_json_1_1(value: ListDeploymentGroupsOutput) -> dict:
|
|
28
|
+
out: dict = {}
|
|
29
|
+
if "application_name" in value:
|
|
30
|
+
out["applicationName"] = value["application_name"]
|
|
31
|
+
if "deployment_groups" in value:
|
|
32
|
+
import capo_codedeploy.types.deployment_groups_list
|
|
33
|
+
|
|
34
|
+
out["deploymentGroups"] = (
|
|
35
|
+
capo_codedeploy.types.deployment_groups_list.serialize_aws_json_1_1(
|
|
36
|
+
value["deployment_groups"]
|
|
37
|
+
)
|
|
38
|
+
)
|
|
39
|
+
if "next_token" in value:
|
|
40
|
+
out["nextToken"] = value["next_token"]
|
|
41
|
+
return out
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def deserialize_aws_json_1_1(data: dict) -> ListDeploymentGroupsOutput:
|
|
45
|
+
out: ListDeploymentGroupsOutput = {} # type: ignore[typeddict-item]
|
|
46
|
+
if data.get("applicationName") is not None:
|
|
47
|
+
out["application_name"] = data["applicationName"]
|
|
48
|
+
if data.get("deploymentGroups") is not None:
|
|
49
|
+
import capo_codedeploy.types.deployment_groups_list
|
|
50
|
+
|
|
51
|
+
out["deployment_groups"] = (
|
|
52
|
+
capo_codedeploy.types.deployment_groups_list.deserialize_aws_json_1_1(
|
|
53
|
+
data["deploymentGroups"]
|
|
54
|
+
)
|
|
55
|
+
)
|
|
56
|
+
if data.get("nextToken") is not None:
|
|
57
|
+
out["next_token"] = data["nextToken"]
|
|
58
|
+
return out
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#ListDeploymentInstancesInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_codedeploy.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_codedeploy.types.deployment_id
|
|
11
|
+
import capo_codedeploy.types.instance_status_list
|
|
12
|
+
import capo_codedeploy.types.instance_type_list
|
|
13
|
+
import capo_codedeploy.types.next_token
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class ListDeploymentInstancesInput(TypedDict, closed=True):
|
|
17
|
+
deployment_id: "capo_codedeploy.types.deployment_id.DeploymentId"
|
|
18
|
+
"""<p> The unique ID of a deployment. </p>"""
|
|
19
|
+
next_token: NotRequired["capo_codedeploy.types.next_token.NextToken"]
|
|
20
|
+
"""<p>An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list.</p>"""
|
|
21
|
+
instance_status_filter: NotRequired[
|
|
22
|
+
"capo_codedeploy.types.instance_status_list.InstanceStatusList"
|
|
23
|
+
]
|
|
24
|
+
"""<p>A subset of instances to list by status:</p> <ul> <li> <p> <code>Pending</code>: Include those instances with pending deployments.</p> </li> <li> <p> <code>InProgress</code>: Include those instances where deployments are still in progress.</p> </li> <li> <p> <code>Succeeded</code>: Include those instances with successful deployments.</p> </li> <li> <p> <code>Failed</code>: Include those instances with failed deployments.</p> </li> <li> <p> <code>Skipped</code>: Include those instances with skipped deployments.</p> </li> <li> <p> <code>Unknown</code>: Include those instances with deployments in an unknown state.</p> </li> </ul>"""
|
|
25
|
+
instance_type_filter: NotRequired[
|
|
26
|
+
"capo_codedeploy.types.instance_type_list.InstanceTypeList"
|
|
27
|
+
]
|
|
28
|
+
r"""<p>The set of instances in a blue/green deployment, either those in the original environment (\"BLUE\") or those in the replacement environment (\"GREEN\"), for which you want to view instance information.</p>"""
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
# --- awsJson1_1 ser/de ---
|
|
32
|
+
def serialize_aws_json_1_1(value: ListDeploymentInstancesInput) -> dict:
|
|
33
|
+
out: dict = {}
|
|
34
|
+
out["deploymentId"] = value["deployment_id"]
|
|
35
|
+
if "next_token" in value:
|
|
36
|
+
out["nextToken"] = value["next_token"]
|
|
37
|
+
if "instance_status_filter" in value:
|
|
38
|
+
import capo_codedeploy.types.instance_status_list
|
|
39
|
+
|
|
40
|
+
out["instanceStatusFilter"] = (
|
|
41
|
+
capo_codedeploy.types.instance_status_list.serialize_aws_json_1_1(
|
|
42
|
+
value["instance_status_filter"]
|
|
43
|
+
)
|
|
44
|
+
)
|
|
45
|
+
if "instance_type_filter" in value:
|
|
46
|
+
import capo_codedeploy.types.instance_type_list
|
|
47
|
+
|
|
48
|
+
out["instanceTypeFilter"] = (
|
|
49
|
+
capo_codedeploy.types.instance_type_list.serialize_aws_json_1_1(
|
|
50
|
+
value["instance_type_filter"]
|
|
51
|
+
)
|
|
52
|
+
)
|
|
53
|
+
return out
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def deserialize_aws_json_1_1(data: dict) -> ListDeploymentInstancesInput:
|
|
57
|
+
out: ListDeploymentInstancesInput = {} # type: ignore[typeddict-item]
|
|
58
|
+
if data.get("deploymentId") is not None:
|
|
59
|
+
out["deployment_id"] = data["deploymentId"]
|
|
60
|
+
else:
|
|
61
|
+
raise DeserializationError(
|
|
62
|
+
"ListDeploymentInstancesInput.deployment_id required"
|
|
63
|
+
)
|
|
64
|
+
if data.get("nextToken") is not None:
|
|
65
|
+
out["next_token"] = data["nextToken"]
|
|
66
|
+
if data.get("instanceStatusFilter") is not None:
|
|
67
|
+
import capo_codedeploy.types.instance_status_list
|
|
68
|
+
|
|
69
|
+
out["instance_status_filter"] = (
|
|
70
|
+
capo_codedeploy.types.instance_status_list.deserialize_aws_json_1_1(
|
|
71
|
+
data["instanceStatusFilter"]
|
|
72
|
+
)
|
|
73
|
+
)
|
|
74
|
+
if data.get("instanceTypeFilter") is not None:
|
|
75
|
+
import capo_codedeploy.types.instance_type_list
|
|
76
|
+
|
|
77
|
+
out["instance_type_filter"] = (
|
|
78
|
+
capo_codedeploy.types.instance_type_list.deserialize_aws_json_1_1(
|
|
79
|
+
data["instanceTypeFilter"]
|
|
80
|
+
)
|
|
81
|
+
)
|
|
82
|
+
return out
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#ListDeploymentInstancesOutput``."""
|
|
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.instances_list
|
|
9
|
+
import capo_codedeploy.types.next_token
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ListDeploymentInstancesOutput(TypedDict, closed=True):
|
|
13
|
+
instances_list: NotRequired["capo_codedeploy.types.instances_list.InstancesList"]
|
|
14
|
+
"""<p>A list of instance IDs.</p>"""
|
|
15
|
+
next_token: NotRequired["capo_codedeploy.types.next_token.NextToken"]
|
|
16
|
+
"""<p>If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment instances call to return the next set of deployment instances in the list.</p>"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# --- awsJson1_1 ser/de ---
|
|
20
|
+
def serialize_aws_json_1_1(value: ListDeploymentInstancesOutput) -> dict:
|
|
21
|
+
out: dict = {}
|
|
22
|
+
if "instances_list" in value:
|
|
23
|
+
import capo_codedeploy.types.instances_list
|
|
24
|
+
|
|
25
|
+
out["instancesList"] = (
|
|
26
|
+
capo_codedeploy.types.instances_list.serialize_aws_json_1_1(
|
|
27
|
+
value["instances_list"]
|
|
28
|
+
)
|
|
29
|
+
)
|
|
30
|
+
if "next_token" in value:
|
|
31
|
+
out["nextToken"] = value["next_token"]
|
|
32
|
+
return out
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def deserialize_aws_json_1_1(data: dict) -> ListDeploymentInstancesOutput:
|
|
36
|
+
out: ListDeploymentInstancesOutput = {} # type: ignore[typeddict-item]
|
|
37
|
+
if data.get("instancesList") is not None:
|
|
38
|
+
import capo_codedeploy.types.instances_list
|
|
39
|
+
|
|
40
|
+
out["instances_list"] = (
|
|
41
|
+
capo_codedeploy.types.instances_list.deserialize_aws_json_1_1(
|
|
42
|
+
data["instancesList"]
|
|
43
|
+
)
|
|
44
|
+
)
|
|
45
|
+
if data.get("nextToken") is not None:
|
|
46
|
+
out["next_token"] = data["nextToken"]
|
|
47
|
+
return out
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#ListDeploymentTargetsInput``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_codedeploy.errors import DeserializationError
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_codedeploy.types.deployment_id
|
|
11
|
+
import capo_codedeploy.types.next_token
|
|
12
|
+
import capo_codedeploy.types.target_filters
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class ListDeploymentTargetsInput(TypedDict, closed=True):
|
|
16
|
+
deployment_id: "capo_codedeploy.types.deployment_id.DeploymentId"
|
|
17
|
+
"""<p> The unique ID of a deployment. </p>"""
|
|
18
|
+
next_token: NotRequired["capo_codedeploy.types.next_token.NextToken"]
|
|
19
|
+
"""<p> A token identifier returned from the previous <code>ListDeploymentTargets</code> call. It can be used to return the next set of deployment targets in the list. </p>"""
|
|
20
|
+
target_filters: NotRequired["capo_codedeploy.types.target_filters.TargetFilters"]
|
|
21
|
+
"""<p> A key used to filter the returned targets. The two valid values are:</p> <ul> <li> <p> <code>TargetStatus</code> - A <code>TargetStatus</code> filter string can be <code>Failed</code>, <code>InProgress</code>, <code>Pending</code>, <code>Ready</code>, <code>Skipped</code>, <code>Succeeded</code>, or <code>Unknown</code>. </p> </li> <li> <p> <code>ServerInstanceLabel</code> - A <code>ServerInstanceLabel</code> filter string can be <code>Blue</code> or <code>Green</code>. </p> </li> </ul>"""
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
# --- awsJson1_1 ser/de ---
|
|
25
|
+
def serialize_aws_json_1_1(value: ListDeploymentTargetsInput) -> dict:
|
|
26
|
+
out: dict = {}
|
|
27
|
+
out["deploymentId"] = value["deployment_id"]
|
|
28
|
+
if "next_token" in value:
|
|
29
|
+
out["nextToken"] = value["next_token"]
|
|
30
|
+
if "target_filters" in value:
|
|
31
|
+
import capo_codedeploy.types.target_filters
|
|
32
|
+
|
|
33
|
+
out["targetFilters"] = (
|
|
34
|
+
capo_codedeploy.types.target_filters.serialize_aws_json_1_1(
|
|
35
|
+
value["target_filters"]
|
|
36
|
+
)
|
|
37
|
+
)
|
|
38
|
+
return out
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def deserialize_aws_json_1_1(data: dict) -> ListDeploymentTargetsInput:
|
|
42
|
+
out: ListDeploymentTargetsInput = {} # type: ignore[typeddict-item]
|
|
43
|
+
if data.get("deploymentId") is not None:
|
|
44
|
+
out["deployment_id"] = data["deploymentId"]
|
|
45
|
+
else:
|
|
46
|
+
raise DeserializationError("ListDeploymentTargetsInput.deployment_id required")
|
|
47
|
+
if data.get("nextToken") is not None:
|
|
48
|
+
out["next_token"] = data["nextToken"]
|
|
49
|
+
if data.get("targetFilters") is not None:
|
|
50
|
+
import capo_codedeploy.types.target_filters
|
|
51
|
+
|
|
52
|
+
out["target_filters"] = (
|
|
53
|
+
capo_codedeploy.types.target_filters.deserialize_aws_json_1_1(
|
|
54
|
+
data["targetFilters"]
|
|
55
|
+
)
|
|
56
|
+
)
|
|
57
|
+
return out
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.codedeploy#ListDeploymentTargetsOutput``."""
|
|
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.next_token
|
|
9
|
+
import capo_codedeploy.types.target_id_list
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ListDeploymentTargetsOutput(TypedDict, closed=True):
|
|
13
|
+
target_ids: NotRequired["capo_codedeploy.types.target_id_list.TargetIdList"]
|
|
14
|
+
"""<p> The unique IDs of deployment targets. </p>"""
|
|
15
|
+
next_token: NotRequired["capo_codedeploy.types.next_token.NextToken"]
|
|
16
|
+
"""<p> If a large amount of information is returned, a token identifier is also returned. It can be used in a subsequent <code>ListDeploymentTargets</code> call to return the next set of deployment targets in the list. </p>"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# --- awsJson1_1 ser/de ---
|
|
20
|
+
def serialize_aws_json_1_1(value: ListDeploymentTargetsOutput) -> dict:
|
|
21
|
+
out: dict = {}
|
|
22
|
+
if "target_ids" in value:
|
|
23
|
+
import capo_codedeploy.types.target_id_list
|
|
24
|
+
|
|
25
|
+
out["targetIds"] = capo_codedeploy.types.target_id_list.serialize_aws_json_1_1(
|
|
26
|
+
value["target_ids"]
|
|
27
|
+
)
|
|
28
|
+
if "next_token" in value:
|
|
29
|
+
out["nextToken"] = value["next_token"]
|
|
30
|
+
return out
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def deserialize_aws_json_1_1(data: dict) -> ListDeploymentTargetsOutput:
|
|
34
|
+
out: ListDeploymentTargetsOutput = {} # type: ignore[typeddict-item]
|
|
35
|
+
if data.get("targetIds") is not None:
|
|
36
|
+
import capo_codedeploy.types.target_id_list
|
|
37
|
+
|
|
38
|
+
out["target_ids"] = (
|
|
39
|
+
capo_codedeploy.types.target_id_list.deserialize_aws_json_1_1(
|
|
40
|
+
data["targetIds"]
|
|
41
|
+
)
|
|
42
|
+
)
|
|
43
|
+
if data.get("nextToken") is not None:
|
|
44
|
+
out["next_token"] = data["nextToken"]
|
|
45
|
+
return out
|