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
4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 | |