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

Amazonka.Route53AutoNaming.UpdateService

Description

Submits a request to perform the following operations:

  • Update the TTL setting for existing DnsRecords configurations
  • Add, update, or delete HealthCheckConfig for a specified service

    You can't add, update, or delete a HealthCheckCustomConfig configuration.

For public and private DNS namespaces, note the following:

  • If you omit any existing DnsRecords or HealthCheckConfig configurations from an UpdateService request, the configurations are deleted from the service.
  • If you omit an existing HealthCheckCustomConfig configuration from an UpdateService request, the configuration isn't deleted from the service.

When you update settings for a service, Cloud Map also updates the corresponding settings in all the records and health checks that were created by using the specified service.

Synopsis

Creating a Request

data UpdateService Source #

See: newUpdateService smart constructor.

Constructors

UpdateService' 

Fields

  • id :: Text

    The ID of the service that you want to update.

  • service :: ServiceChange

    A complex type that contains the new settings for the service.

Instances

Instances details
Eq UpdateService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

Read UpdateService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

Show UpdateService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

Generic UpdateService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

Associated Types

type Rep UpdateService :: Type -> Type #

NFData UpdateService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

Methods

rnf :: UpdateService -> () #

Hashable UpdateService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

ToJSON UpdateService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

AWSRequest UpdateService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

Associated Types

type AWSResponse UpdateService #

ToHeaders UpdateService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

ToPath UpdateService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

ToQuery UpdateService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

type Rep UpdateService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

type Rep UpdateService = D1 ('MetaData "UpdateService" "Amazonka.Route53AutoNaming.UpdateService" "libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming" 'False) (C1 ('MetaCons "UpdateService'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServiceChange)))
type AWSResponse UpdateService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

newUpdateService Source #

Create a value of UpdateService 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:id:UpdateService', updateService_id - The ID of the service that you want to update.

$sel:service:UpdateService', updateService_service - A complex type that contains the new settings for the service.

Request Lenses

updateService_id :: Lens' UpdateService Text Source #

The ID of the service that you want to update.

updateService_service :: Lens' UpdateService ServiceChange Source #

A complex type that contains the new settings for the service.

Destructuring the Response

data UpdateServiceResponse Source #

See: newUpdateServiceResponse smart constructor.

Constructors

UpdateServiceResponse' 

Fields

Instances

Instances details
Eq UpdateServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

Read UpdateServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

Show UpdateServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

Generic UpdateServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

Associated Types

type Rep UpdateServiceResponse :: Type -> Type #

NFData UpdateServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

Methods

rnf :: UpdateServiceResponse -> () #

type Rep UpdateServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.UpdateService

type Rep UpdateServiceResponse = D1 ('MetaData "UpdateServiceResponse" "Amazonka.Route53AutoNaming.UpdateService" "libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming" 'False) (C1 ('MetaCons "UpdateServiceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateServiceResponse Source #

Create a value of UpdateServiceResponse 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:operationId:UpdateServiceResponse', updateServiceResponse_operationId - A value that you can use to determine whether the request completed successfully. To get the status of the operation, see GetOperation.

$sel:httpStatus:UpdateServiceResponse', updateServiceResponse_httpStatus - The response's http status code.

Response Lenses

updateServiceResponse_operationId :: 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.