amazonka-route53-autonaming-1.6.1: 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 # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

Data UpdateService Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

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 # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

Show UpdateService Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

Generic UpdateService Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

Associated Types

type Rep UpdateService :: Type -> Type #

Hashable UpdateService Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

ToJSON UpdateService Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

AWSRequest UpdateService Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

Associated Types

type Rs UpdateService :: Type #

ToHeaders UpdateService Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

ToPath UpdateService Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

ToQuery UpdateService Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

NFData UpdateService Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

Methods

rnf :: UpdateService -> () #

type Rep UpdateService Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

type Rep UpdateService = D1 (MetaData "UpdateService" "Network.AWS.Route53AutoNaming.UpdateService" "amazonka-route53-autonaming-1.6.1-6b8id7oIY1vC1CYd7O7Vs3" False) (C1 (MetaCons "UpdateService'" PrefixI True) (S1 (MetaSel (Just "_usId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_usService") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServiceChange)))
type Rs UpdateService Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

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 # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

Data UpdateServiceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

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 # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

Show UpdateServiceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

Generic UpdateServiceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

Associated Types

type Rep UpdateServiceResponse :: Type -> Type #

NFData UpdateServiceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

Methods

rnf :: UpdateServiceResponse -> () #

type Rep UpdateServiceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.UpdateService

type Rep UpdateServiceResponse = D1 (MetaData "UpdateServiceResponse" "Network.AWS.Route53AutoNaming.UpdateService" "amazonka-route53-autonaming-1.6.1-6b8id7oIY1vC1CYd7O7Vs3" False) (C1 (MetaCons "UpdateServiceResponse'" PrefixI True) (S1 (MetaSel (Just "_usrsOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.