Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Submits a request to perform the following operations:
- Add or delete
DnsRecords
configurations - Update the TTL setting for existing
DnsRecords
configurations - Add, update, or delete
HealthCheckConfig
for a specified service
You must specify all DnsRecords
configurations (and, optionally, HealthCheckConfig
) that you want to appear in the updated service. Any current configurations that don't appear in an UpdateService
request are deleted.
When you update the TTL setting for a service, Amazon Route 53 also updates the corresponding settings in all the records and health checks that were created by using the specified service.
Synopsis
- updateService :: Text -> ServiceChange -> UpdateService
- data UpdateService
- usId :: Lens' UpdateService Text
- usService :: Lens' UpdateService ServiceChange
- updateServiceResponse :: Int -> UpdateServiceResponse
- data UpdateServiceResponse
- usrsOperationId :: Lens' UpdateServiceResponse (Maybe Text)
- usrsResponseStatus :: Lens' UpdateServiceResponse Int
Creating a Request
Creates a value of UpdateService
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateService Source #
See: updateService
smart constructor.
Instances
Request Lenses
usService :: Lens' UpdateService ServiceChange Source #
A complex type that contains the new settings for the service.
Destructuring the Response
updateServiceResponse Source #
Creates a value of UpdateServiceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usrsOperationId
- A value that you can use to determine whether the request completed successfully. To get the status of the operation, seeGetOperation
.usrsResponseStatus
- -- | The response status code.
data UpdateServiceResponse Source #
See: updateServiceResponse
smart constructor.
Instances
Response Lenses
usrsOperationId :: Lens' UpdateServiceResponse (Maybe Text) Source #
A value that you can use to determine whether the request completed successfully. To get the status of the operation, see GetOperation
.
usrsResponseStatus :: Lens' UpdateServiceResponse Int Source #
- - | The response status code.