associate_source_network_stack
async
¶
associate_source_network_stack(
source_network_id: SourceNetworkID,
cfn_stack_name: CfnStackName,
*,
config_overrides: Optional[AsyncdrsClientConfig] = None,
) -> AssociateSourceNetworkStackResponse
Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks.
Parameters:
-
source_network_id(SourceNetworkID) –The Source Network ID to associate with CloudFormation template.
-
cfn_stack_name(CfnStackName) –CloudFormation template to associate with a Source Network.
Raises:
-
ConflictException–The request could not be completed due to a conflict with the current state of the target resource.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource for this operation was not found.
-
ServiceQuotaExceededException–The request could not be completed because its exceeded the service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
UninitializedAccountException–The account performing the request has not been initialized.
-
ValidationException–The input fails to satisfy the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_drs/_services/async_drs.py
4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 | |