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.DeprecateActivityType

Contents

Description

Deprecates the specified activity type . After an activity type has been deprecated, you cannot create new tasks of that activity type. Tasks of this type that were scheduled before the type was deprecated continue 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.
  • Constrain the following parameters by using a Condition element with the appropriate keys.
  • activityType.name : String constraint. The key is swf:activityType.name .
  • activityType.version : String constraint. The key is swf:activityType.version .

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

deprecateActivityType Source #

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

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

  • depDomain - The name of the domain in which the activity type is registered.
  • depActivityType - The activity type to deprecate.

data DeprecateActivityType Source #

See: deprecateActivityType smart constructor.

Instances
Eq DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Data DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Methods

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

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

toConstr :: DeprecateActivityType -> Constr #

dataTypeOf :: DeprecateActivityType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Show DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Generic DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Associated Types

type Rep DeprecateActivityType :: Type -> Type #

Hashable DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

ToJSON DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

AWSRequest DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Associated Types

type Rs DeprecateActivityType :: Type #

ToHeaders DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

ToPath DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

ToQuery DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

NFData DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Methods

rnf :: DeprecateActivityType -> () #

type Rep DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

type Rep DeprecateActivityType = D1 (MetaData "DeprecateActivityType" "Network.AWS.SWF.DeprecateActivityType" "amazonka-swf-1.6.1-3kde1KSCGTp3D4Dj0lEH55" False) (C1 (MetaCons "DeprecateActivityType'" PrefixI True) (S1 (MetaSel (Just "_depDomain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_depActivityType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ActivityType)))
type Rs DeprecateActivityType Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Request Lenses

depDomain :: Lens' DeprecateActivityType Text Source #

The name of the domain in which the activity type is registered.

Destructuring the Response

deprecateActivityTypeResponse :: DeprecateActivityTypeResponse Source #

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

data DeprecateActivityTypeResponse Source #

See: deprecateActivityTypeResponse smart constructor.

Instances
Eq DeprecateActivityTypeResponse Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Data DeprecateActivityTypeResponse Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Methods

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

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

toConstr :: DeprecateActivityTypeResponse -> Constr #

dataTypeOf :: DeprecateActivityTypeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeprecateActivityTypeResponse Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Show DeprecateActivityTypeResponse Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Generic DeprecateActivityTypeResponse Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Associated Types

type Rep DeprecateActivityTypeResponse :: Type -> Type #

NFData DeprecateActivityTypeResponse Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

type Rep DeprecateActivityTypeResponse Source # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

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