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.DeleteService

Description

Deletes a specified service. If the service still contains one or more registered instances, the request fails.

Synopsis

Creating a Request

data DeleteService Source #

See: newDeleteService smart constructor.

Constructors

DeleteService' 

Fields

  • id :: Text

    The ID of the service that you want to delete.

Instances

Instances details
Eq DeleteService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

Read DeleteService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

Show DeleteService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

Generic DeleteService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

Associated Types

type Rep DeleteService :: Type -> Type #

NFData DeleteService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

Methods

rnf :: DeleteService -> () #

Hashable DeleteService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

ToJSON DeleteService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

AWSRequest DeleteService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

Associated Types

type AWSResponse DeleteService #

ToHeaders DeleteService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

ToPath DeleteService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

ToQuery DeleteService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

type Rep DeleteService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

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

Defined in Amazonka.Route53AutoNaming.DeleteService

newDeleteService Source #

Create a value of DeleteService 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:DeleteService', deleteService_id - The ID of the service that you want to delete.

Request Lenses

deleteService_id :: Lens' DeleteService Text Source #

The ID of the service that you want to delete.

Destructuring the Response

data DeleteServiceResponse Source #

See: newDeleteServiceResponse smart constructor.

Constructors

DeleteServiceResponse' 

Fields

Instances

Instances details
Eq DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

Read DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

Show DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

Generic DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

Associated Types

type Rep DeleteServiceResponse :: Type -> Type #

NFData DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

Methods

rnf :: DeleteServiceResponse -> () #

type Rep DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteService

type Rep DeleteServiceResponse = D1 ('MetaData "DeleteServiceResponse" "Amazonka.Route53AutoNaming.DeleteService" "libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming" 'False) (C1 ('MetaCons "DeleteServiceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteServiceResponse Source #

Create a value of DeleteServiceResponse 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:DeleteServiceResponse', deleteServiceResponse_httpStatus - The response's http status code.

Response Lenses