delete_host
(**kwargs)¶The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.
Note
A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.
See also: AWS API Documentation
Request Syntax
response = client.delete_host(
HostArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the host to be deleted.
{}
Response Structure
Exceptions
CodeStarconnections.Client.exceptions.ResourceNotFoundException
CodeStarconnections.Client.exceptions.ResourceUnavailableException