start_deployment
¶
start_deployment(
application_id: Name,
environment_id: Name,
deployment_strategy_id: DeploymentStrategyId,
configuration_profile_id: LongName,
configuration_version: Version,
*,
config_overrides: Optional[AppConfigClientConfig] = None,
description: Optional[Description] = None,
tags: Optional[TagMap] = None,
kms_key_identifier: Optional[KmsKeyIdentifier] = None,
dynamic_extension_parameters: Optional[DynamicParameterMap] = None,
latest_deployment_number: Optional[Integer] = None,
) -> Deployment
Starts a deployment.
AppConfig Agent supports deploying feature flag or free-form configuration data to specific segments or individual users during a gradual rollout. Entity-based gradual deployments ensure that once a user or segment receives a configuration version, they continue to receive that same version throughout the deployment period, regardless of which compute resource serves their requests. For more information, see Using AppConfig Agent for user-based or entity-based gradual deployments
Parameters:
-
application_id(Name) –The application ID.
-
environment_id(Name) –The environment ID.
-
deployment_strategy_id(DeploymentStrategyId) –The deployment strategy ID.
-
configuration_profile_id(LongName) –The configuration profile ID.
-
configuration_version(Version) –The configuration version to deploy. If deploying an AppConfig hosted configuration version, you can specify either the version number or version label. For all other configurations, you must specify the version number.
-
description(Optional[Description], default:None) –A description of the deployment.
-
tags(Optional[TagMap], default:None) –Metadata to assign to the deployment. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
-
kms_key_identifier(Optional[KmsKeyIdentifier], default:None) –The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to encrypt the configuration data using a customer managed key.
-
dynamic_extension_parameters(Optional[DynamicParameterMap], default:None) –A map of dynamic extension parameter names to values to pass to associated extensions with
PRE_START_DEPLOYMENTactions. -
latest_deployment_number(Optional[Integer], default:None) –The number of the latest deployment. Use this value to ensure that the deployment starts from the expected state and to prevent conflicting updates.
Raises:
-
BadRequestException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
ConflictException–The request could not be processed because of conflict in the current state of the resource.
-
InternalServerException–There was an internal failure in the AppConfig service.
-
ResourceNotFoundException–The requested resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appconfig/_services/app_config.py
3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 | |