update_vpc_connection
async
¶
update_vpc_connection(
aws_account_id: AwsAccountId,
vpc_connection_id: VPCConnectionResourceIdUnrestricted,
name: ResourceName,
subnet_ids: SubnetIdList,
security_group_ids: SecurityGroupIdList,
role_arn: RoleArn,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
dns_resolvers: Optional[DnsResolverList] = None,
) -> UpdateVPCConnectionResponse
Updates a VPC connection.
Parameters:
-
aws_account_id(AwsAccountId) –The Amazon Web Services account ID of the account that contains the VPC connection that you want to update.
-
vpc_connection_id(VPCConnectionResourceIdUnrestricted) –The ID of the VPC connection that you're updating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
-
name(ResourceName) –The display name for the VPC connection.
-
subnet_ids(SubnetIdList) –A list of subnet IDs for the VPC connection.
-
security_group_ids(SecurityGroupIdList) –A list of security group IDs for the VPC connection.
-
dns_resolvers(Optional[DnsResolverList], default:None) –A list of IP addresses of DNS resolver endpoints for the VPC connection.
-
role_arn(RoleArn) –An IAM role associated with the VPC connection.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
LimitExceededException–A limit is exceeded.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnsupportedUserEditionException–This error indicates that you are calling an operation on an Amazon Quick Suite subscription where the edition doesn't include support for that operation. Amazon Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and capability is available in every edition.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
21956 21957 21958 21959 21960 21961 21962 21963 21964 21965 21966 21967 21968 21969 21970 21971 21972 21973 21974 21975 21976 21977 21978 21979 21980 21981 21982 21983 21984 21985 21986 21987 21988 21989 21990 21991 21992 21993 21994 21995 21996 21997 21998 21999 22000 22001 22002 22003 22004 22005 22006 22007 22008 22009 22010 22011 22012 22013 22014 22015 22016 22017 22018 22019 22020 22021 22022 22023 22024 22025 22026 22027 22028 | |