start_deployment
async
¶
start_deployment(
application_id: Name,
environment_id: Name,
deployment_strategy_id: DeploymentStrategyId,
configuration_profile_id: LongName,
configuration_version: Version,
*,
config_overrides: Optional[AsyncAppConfigClientConfig] = 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/async_app_config.py
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 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 | |