update_service_network_vpc_association
async
¶
update_service_network_vpc_association(
service_network_vpc_association_identifier: ServiceNetworkVpcAssociationIdentifier,
*,
config_overrides: Optional[AsyncVPCLatticeClientConfig] = None,
security_group_ids: Optional[SecurityGroupList] = None,
private_dns_enabled: Optional[Boolean] = None,
dns_options: Optional[DnsOptions] = None,
) -> UpdateServiceNetworkVpcAssociationResponse
Updates the service network and VPC association. If you add a security group to the service network and VPC association, the association must continue to have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and then recreate it without security groups.
Parameters:
-
service_network_vpc_association_identifier(ServiceNetworkVpcAssociationIdentifier) –The ID or ARN of the association.
-
security_group_ids(Optional[SecurityGroupList], default:None) –The IDs of the security groups.
-
private_dns_enabled(Optional[Boolean], default:None) –Indicates if private DNS is enabled for the VPC association.
-
dns_options(Optional[DnsOptions], default:None) –DNS options for the service network VPC association.
Raises:
-
AccessDeniedException–The user does not have sufficient access to perform this action.
-
ConflictException–The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The request references a resource that does not exist.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The input does not satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_vpc_lattice/_services/async_vpc_lattice.py
4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 | |