amazonka-cloudsearch-1.6.1: Amazon CloudSearch 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.CloudSearch.DeleteDomain

Contents

Description

Permanently deletes a search domain and all of its data. Once a domain has been deleted, it cannot be recovered. For more information, see Deleting a Search Domain in the Amazon CloudSearch Developer Guide .

Synopsis

Creating a Request

deleteDomain Source #

Creates a value of DeleteDomain with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dddDomainName - The name of the domain you want to permanently delete.

data DeleteDomain Source #

Container for the parameters to the DeleteDomain operation. Specifies the name of the domain you want to delete.

See: deleteDomain smart constructor.

Instances
Eq DeleteDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Data DeleteDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Methods

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

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

toConstr :: DeleteDomain -> Constr #

dataTypeOf :: DeleteDomain -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Show DeleteDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Generic DeleteDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Associated Types

type Rep DeleteDomain :: Type -> Type #

Hashable DeleteDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

AWSRequest DeleteDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Associated Types

type Rs DeleteDomain :: Type #

ToHeaders DeleteDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

ToPath DeleteDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

ToQuery DeleteDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

NFData DeleteDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Methods

rnf :: DeleteDomain -> () #

type Rep DeleteDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

type Rep DeleteDomain = D1 (MetaData "DeleteDomain" "Network.AWS.CloudSearch.DeleteDomain" "amazonka-cloudsearch-1.6.1-Kw9zIXByEJoLQM3rt04GVo" True) (C1 (MetaCons "DeleteDomain'" PrefixI True) (S1 (MetaSel (Just "_dddDomainName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteDomain Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Request Lenses

dddDomainName :: Lens' DeleteDomain Text Source #

The name of the domain you want to permanently delete.

Destructuring the Response

deleteDomainResponse Source #

Creates a value of DeleteDomainResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DeleteDomainResponse Source #

The result of a DeleteDomain request. Contains the status of a newly deleted domain, or no status if the domain has already been completely deleted.

See: deleteDomainResponse smart constructor.

Instances
Eq DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Data DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Methods

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

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

toConstr :: DeleteDomainResponse -> Constr #

dataTypeOf :: DeleteDomainResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Show DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Generic DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Associated Types

type Rep DeleteDomainResponse :: Type -> Type #

NFData DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

Methods

rnf :: DeleteDomainResponse -> () #

type Rep DeleteDomainResponse Source # 
Instance details

Defined in Network.AWS.CloudSearch.DeleteDomain

type Rep DeleteDomainResponse = D1 (MetaData "DeleteDomainResponse" "Network.AWS.CloudSearch.DeleteDomain" "amazonka-cloudsearch-1.6.1-Kw9zIXByEJoLQM3rt04GVo" False) (C1 (MetaCons "DeleteDomainResponse'" PrefixI True) (S1 (MetaSel (Just "_ddrsDomainStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DomainStatus)) :*: S1 (MetaSel (Just "_ddrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

ddrsResponseStatus :: Lens' DeleteDomainResponse Int Source #

  • - | The response status code.