update_service_network_vpc_association
¶
update_service_network_vpc_association(
service_network_vpc_association_identifier: ServiceNetworkVpcAssociationIdentifier,
*,
config_overrides: Optional[VPCLatticeClientConfig] = 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/vpc_lattice.py
4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 | |