amazonka-route53-autonaming-1.6.0: Amazon Route 53 Auto Naming SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53AutoNaming.UpdateService

Contents

Description

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

Creating a Request

updateService Source #

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:

  • usId - The ID of the service that you want to update.
  • usService - A complex type that contains the new settings for the service.

data UpdateService Source #

See: updateService smart constructor.

Instances

Eq UpdateService Source # 
Data UpdateService Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateService -> c UpdateService #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateService #

toConstr :: UpdateService -> Constr #

dataTypeOf :: UpdateService -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateService) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateService) #

gmapT :: (forall b. Data b => b -> b) -> UpdateService -> UpdateService #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateService -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateService -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateService -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateService -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateService -> m UpdateService #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateService -> m UpdateService #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateService -> m UpdateService #

Read UpdateService Source # 
Show UpdateService Source # 
Generic UpdateService Source # 

Associated Types

type Rep UpdateService :: * -> * #

Hashable UpdateService Source # 
ToJSON UpdateService Source # 
NFData UpdateService Source # 

Methods

rnf :: UpdateService -> () #

AWSRequest UpdateService Source # 
ToHeaders UpdateService Source # 
ToPath UpdateService Source # 
ToQuery UpdateService Source # 
type Rep UpdateService Source # 
type Rep UpdateService = D1 * (MetaData "UpdateService" "Network.AWS.Route53AutoNaming.UpdateService" "amazonka-route53-autonaming-1.6.0-4f8jSBk5IlzKqnGwUJVunt" False) (C1 * (MetaCons "UpdateService'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_usId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_usService") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ServiceChange))))
type Rs UpdateService Source # 

Request Lenses

usId :: Lens' UpdateService Text Source #

The ID of the service that you want to update.

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, see GetOperation .
  • usrsResponseStatus - -- | The response status code.

data UpdateServiceResponse Source #

See: updateServiceResponse smart constructor.

Instances

Eq UpdateServiceResponse Source # 
Data UpdateServiceResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateServiceResponse -> c UpdateServiceResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateServiceResponse #

toConstr :: UpdateServiceResponse -> Constr #

dataTypeOf :: UpdateServiceResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateServiceResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateServiceResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateServiceResponse -> UpdateServiceResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateServiceResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateServiceResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateServiceResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateServiceResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateServiceResponse -> m UpdateServiceResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateServiceResponse -> m UpdateServiceResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateServiceResponse -> m UpdateServiceResponse #

Read UpdateServiceResponse Source # 
Show UpdateServiceResponse Source # 
Generic UpdateServiceResponse Source # 
NFData UpdateServiceResponse Source # 

Methods

rnf :: UpdateServiceResponse -> () #

type Rep UpdateServiceResponse Source # 
type Rep UpdateServiceResponse = D1 * (MetaData "UpdateServiceResponse" "Network.AWS.Route53AutoNaming.UpdateService" "amazonka-route53-autonaming-1.6.0-4f8jSBk5IlzKqnGwUJVunt" False) (C1 * (MetaCons "UpdateServiceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_usrsOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_usrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

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.