AWS SDK Version 3 for .NET
API Reference

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.

Note:

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

Syntax

C#
public abstract GetHostResponse GetHost(
         GetHostRequest request
)

Parameters

request
Type: Amazon.CodeStarconnections.Model.GetHostRequest

Container for the necessary parameters to execute the GetHost service method.

Return Value


The response from the GetHost service method, as returned by CodeStarconnections.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also