Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
UpdateHost' | |
|
Instances
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:
$sel:providerEndpoint:UpdateHost'
, updateHost_providerEndpoint
- The URL or endpoint of the host to be updated.
$sel:vpcConfiguration: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.
$sel:hostArn: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.
UpdateHostResponse' | |
|
Instances
newUpdateHostResponse Source #
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.