amazonka-swf-1.4.3: Amazon Simple Workflow Service 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.SWF.DeprecateDomain

Contents

Description

Deprecates the specified domain. After a domain has been deprecated it cannot be used to create new workflow executions or register new types. However, you can still use visibility actions on this domain. Deprecating a domain also deprecates all activity and workflow types registered in the domain. Executions that were started before the domain was deprecated will continue to run.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

  • Use a Resource element with the domain name to limit the action to only specified domains.
  • Use an Action element to allow or deny permission to call this action.
  • You cannot use an IAM policy to constrain this action's parameters.

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

Synopsis

Creating a Request

deprecateDomain Source #

Arguments

:: Text

dName

-> DeprecateDomain 

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

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

data DeprecateDomain Source #

See: deprecateDomain smart constructor.

Instances

Eq DeprecateDomain Source # 
Data DeprecateDomain Source # 

Methods

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

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

toConstr :: DeprecateDomain -> Constr #

dataTypeOf :: DeprecateDomain -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeprecateDomain Source # 
Show DeprecateDomain Source # 
Generic DeprecateDomain Source # 
Hashable DeprecateDomain Source # 
ToJSON DeprecateDomain Source # 
NFData DeprecateDomain Source # 

Methods

rnf :: DeprecateDomain -> () #

AWSRequest DeprecateDomain Source # 
ToQuery DeprecateDomain Source # 
ToPath DeprecateDomain Source # 
ToHeaders DeprecateDomain Source # 
type Rep DeprecateDomain Source # 
type Rep DeprecateDomain = D1 (MetaData "DeprecateDomain" "Network.AWS.SWF.DeprecateDomain" "amazonka-swf-1.4.3-CUgUcKlV8EhcLLfbuVW5c" True) (C1 (MetaCons "DeprecateDomain'" PrefixI True) (S1 (MetaSel (Just Symbol "_dName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeprecateDomain Source # 

Request Lenses

dName :: Lens' DeprecateDomain Text Source #

The name of the domain to deprecate.

Destructuring the Response

deprecateDomainResponse :: DeprecateDomainResponse Source #

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

data DeprecateDomainResponse Source #

See: deprecateDomainResponse smart constructor.

Instances

Eq DeprecateDomainResponse Source # 
Data DeprecateDomainResponse Source # 

Methods

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

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

toConstr :: DeprecateDomainResponse -> Constr #

dataTypeOf :: DeprecateDomainResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeprecateDomainResponse Source # 
Show DeprecateDomainResponse Source # 
Generic DeprecateDomainResponse Source # 
NFData DeprecateDomainResponse Source # 

Methods

rnf :: DeprecateDomainResponse -> () #

type Rep DeprecateDomainResponse Source # 
type Rep DeprecateDomainResponse = D1 (MetaData "DeprecateDomainResponse" "Network.AWS.SWF.DeprecateDomain" "amazonka-swf-1.4.3-CUgUcKlV8EhcLLfbuVW5c" False) (C1 (MetaCons "DeprecateDomainResponse'" PrefixI False) U1)