create_vpc_connection
¶
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[QuickSightClientConfig] = 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/quick_sight.py
4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 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 | |