| 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.UpdateHost
Description
Updates a specified host with the provided configurations.
Synopsis
- data UpdateHost = UpdateHost' {}
- newUpdateHost :: Text -> UpdateHost
- updateHost_providerEndpoint :: Lens' UpdateHost (Maybe Text)
- updateHost_vpcConfiguration :: Lens' UpdateHost (Maybe VpcConfiguration)
- updateHost_hostArn :: Lens' UpdateHost Text
- data UpdateHostResponse = UpdateHostResponse' {
- httpStatus :: Int
- newUpdateHostResponse :: Int -> UpdateHostResponse
- updateHostResponse_httpStatus :: Lens' UpdateHostResponse Int
Creating a Request
data UpdateHost Source #
See: newUpdateHost smart constructor.
Constructors
| UpdateHost' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateHost |
Create a value of UpdateHost 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:
UpdateHost, updateHost_providerEndpoint - The URL or endpoint of the host to be updated.
UpdateHost, updateHost_vpcConfiguration - The VPC configuration of the host to be updated. A VPC must be
configured and the infrastructure to be represented by the host must
already be connected to the VPC.
UpdateHost, updateHost_hostArn - The Amazon Resource Name (ARN) of the host to be updated.
Request Lenses
updateHost_providerEndpoint :: Lens' UpdateHost (Maybe Text) Source #
The URL or endpoint of the host to be updated.
updateHost_vpcConfiguration :: Lens' UpdateHost (Maybe VpcConfiguration) Source #
The VPC configuration of the host to be updated. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
updateHost_hostArn :: Lens' UpdateHost Text Source #
The Amazon Resource Name (ARN) of the host to be updated.
Destructuring the Response
data UpdateHostResponse Source #
See: newUpdateHostResponse smart constructor.
Constructors
| UpdateHostResponse' | |
Fields
| |
Instances
newUpdateHostResponse Source #
Arguments
| :: Int | |
| -> UpdateHostResponse |
Create a value of UpdateHostResponse 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:
$sel:httpStatus:UpdateHostResponse', updateHostResponse_httpStatus - The response's http status code.
Response Lenses
updateHostResponse_httpStatus :: Lens' UpdateHostResponse Int Source #
The response's http status code.