delete_host

CodeStarconnections.Client.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'
)
Parameters
HostArn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) of the host to be deleted.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • CodeStarconnections.Client.exceptions.ResourceNotFoundException
  • CodeStarconnections.Client.exceptions.ResourceUnavailableException