amazonka-swf-1.6.0: 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 #

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 #

See: deprecateActivityType smart constructor.

Instances
Eq DeprecateActivityType # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

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

Defined in Network.AWS.SWF.DeprecateActivityType

Show DeprecateActivityType # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Generic DeprecateActivityType # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Associated Types

type Rep DeprecateActivityType :: * -> * #

Hashable DeprecateActivityType # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

ToJSON DeprecateActivityType # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

AWSRequest DeprecateActivityType # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Associated Types

type Rs DeprecateActivityType :: * #

ToHeaders DeprecateActivityType # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

ToPath DeprecateActivityType # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

ToQuery DeprecateActivityType # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

NFData DeprecateActivityType # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Methods

rnf :: DeprecateActivityType -> () #

type Rep DeprecateActivityType # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

type Rep DeprecateActivityType = D1 (MetaData "DeprecateActivityType" "Network.AWS.SWF.DeprecateActivityType" "amazonka-swf-1.6.0-1h41zhaEbfa3Fk0SeWaXFv" 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 # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Request Lenses

depDomain :: Lens' DeprecateActivityType Text #

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

depActivityType :: Lens' DeprecateActivityType ActivityType #

The activity type to deprecate.

Destructuring the Response

deprecateActivityTypeResponse :: DeprecateActivityTypeResponse #

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

data DeprecateActivityTypeResponse #

See: deprecateActivityTypeResponse smart constructor.

Instances
Eq DeprecateActivityTypeResponse # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

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

Defined in Network.AWS.SWF.DeprecateActivityType

Show DeprecateActivityTypeResponse # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Generic DeprecateActivityTypeResponse # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

Associated Types

type Rep DeprecateActivityTypeResponse :: * -> * #

NFData DeprecateActivityTypeResponse # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

type Rep DeprecateActivityTypeResponse # 
Instance details

Defined in Network.AWS.SWF.DeprecateActivityType

type Rep DeprecateActivityTypeResponse = D1 (MetaData "DeprecateActivityTypeResponse" "Network.AWS.SWF.DeprecateActivityType" "amazonka-swf-1.6.0-1h41zhaEbfa3Fk0SeWaXFv" False) (C1 (MetaCons "DeprecateActivityTypeResponse'" PrefixI False) (U1 :: * -> *))