create_vpc_connection
async
¶
create_vpc_connection(
aws_account_id: AwsAccountId,
vpc_connection_id: VPCConnectionResourceIdRestricted,
name: ResourceName,
subnet_ids: SubnetIdList,
security_group_ids: SecurityGroupIdList,
role_arn: RoleArn,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
dns_resolvers: Optional[DnsResolverList] = None,
tags: Optional[TagList] = None,
) -> CreateVPCConnectionResponse
Creates a new VPC connection.
Parameters:
-
aws_account_id(AwsAccountId) –The Amazon Web Services account ID of the account where you want to create a new VPC connection.
-
vpc_connection_id(VPCConnectionResourceIdRestricted) –The ID of the VPC connection that you're creating. 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) –The IAM role to associate with the VPC connection.
-
tags(Optional[TagList], default:None) –A map of the key-value pairs for the resource tag or tags assigned to 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.
-
ResourceExistsException–The resource specified already exists.
-
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
4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 | |