amazonka-route53-1.4.5: Amazon Route 53 SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53.DeleteTrafficPolicy

Contents

Description

Deletes a traffic policy.

Send a DELETE request to the /Amazon Route 53 API version /trafficpolicy resource.

Synopsis

Creating a Request

deleteTrafficPolicy Source #

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

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

  • dtpId - The ID of the traffic policy that you want to delete.
  • dtpVersion - The version number of the traffic policy that you want to delete.

data DeleteTrafficPolicy Source #

A request to delete a specified traffic policy version.

See: deleteTrafficPolicy smart constructor.

Instances

Eq DeleteTrafficPolicy Source # 
Data DeleteTrafficPolicy Source # 

Methods

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

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

toConstr :: DeleteTrafficPolicy -> Constr #

dataTypeOf :: DeleteTrafficPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteTrafficPolicy Source # 
Show DeleteTrafficPolicy Source # 
Generic DeleteTrafficPolicy Source # 
Hashable DeleteTrafficPolicy Source # 
NFData DeleteTrafficPolicy Source # 

Methods

rnf :: DeleteTrafficPolicy -> () #

AWSRequest DeleteTrafficPolicy Source # 
ToPath DeleteTrafficPolicy Source # 
ToHeaders DeleteTrafficPolicy Source # 
ToQuery DeleteTrafficPolicy Source # 
type Rep DeleteTrafficPolicy Source # 
type Rep DeleteTrafficPolicy = D1 (MetaData "DeleteTrafficPolicy" "Network.AWS.Route53.DeleteTrafficPolicy" "amazonka-route53-1.4.5-DoQ7bXPvDC1HwWocjSAILy" False) (C1 (MetaCons "DeleteTrafficPolicy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dtpVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat))))
type Rs DeleteTrafficPolicy Source # 

Request Lenses

dtpId :: Lens' DeleteTrafficPolicy Text Source #

The ID of the traffic policy that you want to delete.

dtpVersion :: Lens' DeleteTrafficPolicy Natural Source #

The version number of the traffic policy that you want to delete.

Destructuring the Response

deleteTrafficPolicyResponse Source #

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

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

data DeleteTrafficPolicyResponse Source #

An empty element.

See: deleteTrafficPolicyResponse smart constructor.

Instances

Eq DeleteTrafficPolicyResponse Source # 
Data DeleteTrafficPolicyResponse Source # 

Methods

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

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

toConstr :: DeleteTrafficPolicyResponse -> Constr #

dataTypeOf :: DeleteTrafficPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteTrafficPolicyResponse Source # 
Show DeleteTrafficPolicyResponse Source # 
Generic DeleteTrafficPolicyResponse Source # 
NFData DeleteTrafficPolicyResponse Source # 
type Rep DeleteTrafficPolicyResponse Source # 
type Rep DeleteTrafficPolicyResponse = D1 (MetaData "DeleteTrafficPolicyResponse" "Network.AWS.Route53.DeleteTrafficPolicy" "amazonka-route53-1.4.5-DoQ7bXPvDC1HwWocjSAILy" True) (C1 (MetaCons "DeleteTrafficPolicyResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_dtprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses