amazonka-swf-1.6.1: Amazon Simple Workflow Service 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.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 continues to run.

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 doesn't 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 is set to OPERATION_NOT_PERMITTED . For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide .

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:

  • dName - The name of the domain to deprecate.

data DeprecateDomain Source #

See: deprecateDomain smart constructor.

Instances
Eq DeprecateDomain Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

Data DeprecateDomain Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

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 # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

Show DeprecateDomain Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

Generic DeprecateDomain Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

Associated Types

type Rep DeprecateDomain :: Type -> Type #

Hashable DeprecateDomain Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

ToJSON DeprecateDomain Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

AWSRequest DeprecateDomain Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

Associated Types

type Rs DeprecateDomain :: Type #

ToHeaders DeprecateDomain Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

ToPath DeprecateDomain Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

ToQuery DeprecateDomain Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

NFData DeprecateDomain Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

Methods

rnf :: DeprecateDomain -> () #

type Rep DeprecateDomain Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

type Rep DeprecateDomain = D1 (MetaData "DeprecateDomain" "Network.AWS.SWF.DeprecateDomain" "amazonka-swf-1.6.1-3kde1KSCGTp3D4Dj0lEH55" True) (C1 (MetaCons "DeprecateDomain'" PrefixI True) (S1 (MetaSel (Just "_dName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeprecateDomain Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

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 # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

Data DeprecateDomainResponse Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

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 # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

Show DeprecateDomainResponse Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

Generic DeprecateDomainResponse Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

Associated Types

type Rep DeprecateDomainResponse :: Type -> Type #

NFData DeprecateDomainResponse Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

Methods

rnf :: DeprecateDomainResponse -> () #

type Rep DeprecateDomainResponse Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateDomain

type Rep DeprecateDomainResponse = D1 (MetaData "DeprecateDomainResponse" "Network.AWS.SWF.DeprecateDomain" "amazonka-swf-1.6.1-3kde1KSCGTp3D4Dj0lEH55" False) (C1 (MetaCons "DeprecateDomainResponse'" PrefixI False) (U1 :: Type -> Type))