get_host
(**kwargs)¶Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration.
See also: AWS API Documentation
Request Syntax
response = client.get_host(
HostArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the requested host.
{
'Name': 'string',
'Status': 'string',
'ProviderType': 'Bitbucket'|'GitHub'|'GitHubEnterpriseServer',
'ProviderEndpoint': 'string',
'VpcConfiguration': {
'VpcId': 'string',
'SubnetIds': [
'string',
],
'SecurityGroupIds': [
'string',
],
'TlsCertificate': 'string'
}
}
Response Structure
The name of the requested host.
The status of the requested host.
The provider type of the requested host, such as GitHub Enterprise Server.
The endpoint of the infrastructure represented by the requested host.
The VPC configuration of the requested host.
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.
Exceptions
CodeStarconnections.Client.exceptions.ResourceNotFoundException
CodeStarconnections.Client.exceptions.ResourceUnavailableException