update_host
(**kwargs)¶Updates a specified host with the provided configurations.
See also: AWS API Documentation
Request Syntax
response = client.update_host(
HostArn='string',
ProviderEndpoint='string',
VpcConfiguration={
'VpcId': 'string',
'SubnetIds': [
'string',
],
'SecurityGroupIds': [
'string',
],
'TlsCertificate': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) of the host to be updated.
The VPC configuration of the host to be updated. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
The ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
dict
Response Syntax
{}
Response Structure
Exceptions
CodeStarconnections.Client.exceptions.ConflictException
CodeStarconnections.Client.exceptions.ResourceNotFoundException
CodeStarconnections.Client.exceptions.ResourceUnavailableException
CodeStarconnections.Client.exceptions.UnsupportedOperationException