QuickSight / Client / update_vpc_connection
update_vpc_connection#
- QuickSight.Client.update_vpc_connection(**kwargs)#
Updates a VPC connection.
See also: AWS API Documentation
Request Syntax
response = client.update_vpc_connection( AwsAccountId='string', VPCConnectionId='string', Name='string', SubnetIds=[ 'string', ], SecurityGroupIds=[ 'string', ], DnsResolvers=[ 'string', ], RoleArn='string' )
- Parameters:
AwsAccountId (string) –
[REQUIRED]
The Amazon Web Services account ID of the account that contains the VPC connection that you want to update.
VPCConnectionId (string) –
[REQUIRED]
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 (string) –
[REQUIRED]
The display name for the VPC connection.
SubnetIds (list) –
[REQUIRED]
A list of subnet IDs for the VPC connection.
(string) –
SecurityGroupIds (list) –
[REQUIRED]
A list of security group IDs for the VPC connection.
(string) –
DnsResolvers (list) –
A list of IP addresses of DNS resolver endpoints for the VPC connection.
(string) –
RoleArn (string) –
[REQUIRED]
An IAM role associated with the VPC connection.
- Return type:
dict
- Returns:
Response Syntax
{ 'Arn': 'string', 'VPCConnectionId': 'string', 'UpdateStatus': 'CREATION_IN_PROGRESS'|'CREATION_SUCCESSFUL'|'CREATION_FAILED'|'UPDATE_IN_PROGRESS'|'UPDATE_SUCCESSFUL'|'UPDATE_FAILED'|'DELETION_IN_PROGRESS'|'DELETION_FAILED'|'DELETED', 'AvailabilityStatus': 'AVAILABLE'|'UNAVAILABLE'|'PARTIALLY_AVAILABLE', 'RequestId': 'string', 'Status': 123 }
Response Structure
(dict) –
Arn (string) –
The Amazon Resource Name (ARN) of the VPC connection.
VPCConnectionId (string) –
The ID of the VPC connection that you are updating. This ID is a unique identifier for each Amazon Web Services Region in anAmazon Web Services account.
UpdateStatus (string) –
The update status of the VPC connection’s last update.
AvailabilityStatus (string) –
The availability status of the VPC connection.
RequestId (string) –
The Amazon Web Services request ID for this operation.
Status (integer) –
The HTTP status of the request.
Exceptions
QuickSight.Client.exceptions.AccessDeniedException
QuickSight.Client.exceptions.ConflictException
QuickSight.Client.exceptions.InvalidParameterValueException
QuickSight.Client.exceptions.LimitExceededException
QuickSight.Client.exceptions.ResourceNotFoundException
QuickSight.Client.exceptions.ThrottlingException
QuickSight.Client.exceptions.UnsupportedUserEditionException
QuickSight.Client.exceptions.InternalFailureException