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

Description

Deletes a namespace from the current account. If the namespace still contains one or more services, the request fails.

Synopsis

Creating a Request

data DeleteNamespace Source #

See: newDeleteNamespace smart constructor.

Constructors

DeleteNamespace' 

Fields

  • id :: Text

    The ID of the namespace that you want to delete.

Instances

Instances details
Eq DeleteNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

Read DeleteNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

Show DeleteNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

Generic DeleteNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

Associated Types

type Rep DeleteNamespace :: Type -> Type #

NFData DeleteNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

Methods

rnf :: DeleteNamespace -> () #

Hashable DeleteNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

ToJSON DeleteNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

AWSRequest DeleteNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

Associated Types

type AWSResponse DeleteNamespace #

ToHeaders DeleteNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

ToPath DeleteNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

ToQuery DeleteNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

type Rep DeleteNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

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

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

newDeleteNamespace Source #

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

Request Lenses

deleteNamespace_id :: Lens' DeleteNamespace Text Source #

The ID of the namespace that you want to delete.

Destructuring the Response

data DeleteNamespaceResponse Source #

See: newDeleteNamespaceResponse smart constructor.

Constructors

DeleteNamespaceResponse' 

Fields

Instances

Instances details
Eq DeleteNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

Read DeleteNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

Show DeleteNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

Generic DeleteNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

Associated Types

type Rep DeleteNamespaceResponse :: Type -> Type #

NFData DeleteNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

Methods

rnf :: DeleteNamespaceResponse -> () #

type Rep DeleteNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.DeleteNamespace

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

newDeleteNamespaceResponse Source #

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

Response Lenses

deleteNamespaceResponse_operationId :: Lens' DeleteNamespaceResponse (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.