v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1427150102.0 KB

Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration.

post/#X-Amz-Target=com.amazonaws.codeconnections.CodeConnections_20231201.GetHost

Headers

X-Amz-Target'com.amazonaws.codeconnections.CodeConnections_20231201.GetHost' required

Request body

HostArnstring required

The Amazon Resource Name (ARN) of the requested host.

Response

Success

Namestring

The name of the requested host.

Statusstring

The status of the requested host.

ProviderType'Bitbucket' | 'GitHub' | 'GitHubEnterpriseServer' | 'GitLab' | 'GitLabSelfManaged' | 'AzureDevOps'

The provider type of the requested host, such as GitHub Enterprise Server.

ProviderEndpointstring

The endpoint of the infrastructure represented by the requested host.