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 #

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 #

A request to delete a specified traffic policy version.

See: deleteTrafficPolicy smart constructor.

Instances

Eq DeleteTrafficPolicy # 
Data DeleteTrafficPolicy # 

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 # 
Show DeleteTrafficPolicy # 
Generic DeleteTrafficPolicy # 
Hashable DeleteTrafficPolicy # 
NFData DeleteTrafficPolicy # 

Methods

rnf :: DeleteTrafficPolicy -> () #

AWSRequest DeleteTrafficPolicy # 
ToQuery DeleteTrafficPolicy # 
ToPath DeleteTrafficPolicy # 
ToHeaders DeleteTrafficPolicy # 
type Rep DeleteTrafficPolicy # 
type Rep DeleteTrafficPolicy = D1 (MetaData "DeleteTrafficPolicy" "Network.AWS.Route53.DeleteTrafficPolicy" "amazonka-route53-1.4.5-1GBIEWLx4PAkG5NoOOGoJ" 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 # 

Request Lenses

dtpId :: Lens' DeleteTrafficPolicy Text #

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

dtpVersion :: Lens' DeleteTrafficPolicy Natural #

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

Destructuring the Response

deleteTrafficPolicyResponse #

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 #

An empty element.

See: deleteTrafficPolicyResponse smart constructor.

Instances

Eq DeleteTrafficPolicyResponse # 
Data DeleteTrafficPolicyResponse # 

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 # 
Show DeleteTrafficPolicyResponse # 
Generic DeleteTrafficPolicyResponse # 
NFData DeleteTrafficPolicyResponse # 
type Rep DeleteTrafficPolicyResponse # 
type Rep DeleteTrafficPolicyResponse = D1 (MetaData "DeleteTrafficPolicyResponse" "Network.AWS.Route53.DeleteTrafficPolicy" "amazonka-route53-1.4.5-1GBIEWLx4PAkG5NoOOGoJ" True) (C1 (MetaCons "DeleteTrafficPolicyResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_dtprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses