AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration.
For .NET Core this operation is only available in asynchronous form. Please refer to GetHostAsync.
Namespace: Amazon.CodeStarconnections
Assembly: AWSSDK.CodeStarconnections.dll
Version: 3.x.y.z
public abstract GetHostResponse GetHost( GetHostRequest request )
Container for the necessary parameters to execute the GetHost service method.
Exception | Condition |
---|---|
ResourceNotFoundException | Resource not found. Verify the connection resource ARN and try again. |
ResourceUnavailableException | Resource not found. Verify the ARN for the host resource and try again. |
.NET Framework:
Supported in: 4.5 and newer, 3.5