| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeStarConnections.GetHost
Description
Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration.
Synopsis
- data GetHost = GetHost' {}
- newGetHost :: Text -> GetHost
- getHost_hostArn :: Lens' GetHost Text
- data GetHostResponse = GetHostResponse' {}
- newGetHostResponse :: Int -> GetHostResponse
- getHostResponse_name :: Lens' GetHostResponse (Maybe Text)
- getHostResponse_providerEndpoint :: Lens' GetHostResponse (Maybe Text)
- getHostResponse_providerType :: Lens' GetHostResponse (Maybe ProviderType)
- getHostResponse_status :: Lens' GetHostResponse (Maybe Text)
- getHostResponse_vpcConfiguration :: Lens' GetHostResponse (Maybe VpcConfiguration)
- getHostResponse_httpStatus :: Lens' GetHostResponse Int
Creating a Request
See: newGetHost smart constructor.
Instances
Create a value of GetHost with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetHost, getHost_hostArn - The Amazon Resource Name (ARN) of the requested host.
Request Lenses
Destructuring the Response
data GetHostResponse Source #
See: newGetHostResponse smart constructor.
Constructors
| GetHostResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetHostResponse |
Create a value of GetHostResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetHostResponse, getHostResponse_name - The name of the requested host.
GetHostResponse, getHostResponse_providerEndpoint - The endpoint of the infrastructure represented by the requested host.
GetHostResponse, getHostResponse_providerType - The provider type of the requested host, such as GitHub Enterprise
Server.
GetHostResponse, getHostResponse_status - The status of the requested host.
GetHostResponse, getHostResponse_vpcConfiguration - The VPC configuration of the requested host.
$sel:httpStatus:GetHostResponse', getHostResponse_httpStatus - The response's http status code.
Response Lenses
getHostResponse_name :: Lens' GetHostResponse (Maybe Text) Source #
The name of the requested host.
getHostResponse_providerEndpoint :: Lens' GetHostResponse (Maybe Text) Source #
The endpoint of the infrastructure represented by the requested host.
getHostResponse_providerType :: Lens' GetHostResponse (Maybe ProviderType) Source #
The provider type of the requested host, such as GitHub Enterprise Server.
getHostResponse_status :: Lens' GetHostResponse (Maybe Text) Source #
The status of the requested host.
getHostResponse_vpcConfiguration :: Lens' GetHostResponse (Maybe VpcConfiguration) Source #
The VPC configuration of the requested host.
getHostResponse_httpStatus :: Lens' GetHostResponse Int Source #
The response's http status code.