libZSservicesZSamazonka-swfZSamazonka-swf
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SWF.UndeprecateActivityType

Description

Undeprecates a previously deprecated activity type. After an activity type has been undeprecated, you can create new tasks of that activity type.

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

data UndeprecateActivityType Source #

See: newUndeprecateActivityType smart constructor.

Constructors

UndeprecateActivityType' 

Fields

Instances

Instances details
Eq UndeprecateActivityType Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

Read UndeprecateActivityType Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

Show UndeprecateActivityType Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

Generic UndeprecateActivityType Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

Associated Types

type Rep UndeprecateActivityType :: Type -> Type #

NFData UndeprecateActivityType Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

Methods

rnf :: UndeprecateActivityType -> () #

Hashable UndeprecateActivityType Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

ToJSON UndeprecateActivityType Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

AWSRequest UndeprecateActivityType Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

ToHeaders UndeprecateActivityType Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

ToPath UndeprecateActivityType Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

ToQuery UndeprecateActivityType Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

type Rep UndeprecateActivityType Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

type Rep UndeprecateActivityType = D1 ('MetaData "UndeprecateActivityType" "Amazonka.SWF.UndeprecateActivityType" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "UndeprecateActivityType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "activityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActivityType)))
type AWSResponse UndeprecateActivityType Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

newUndeprecateActivityType Source #

Create a value of UndeprecateActivityType with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:domain:UndeprecateActivityType', undeprecateActivityType_domain - The name of the domain of the deprecated activity type.

$sel:activityType:UndeprecateActivityType', undeprecateActivityType_activityType - The activity type to undeprecate.

Request Lenses

undeprecateActivityType_domain :: Lens' UndeprecateActivityType Text Source #

The name of the domain of the deprecated activity type.

Destructuring the Response

data UndeprecateActivityTypeResponse Source #

See: newUndeprecateActivityTypeResponse smart constructor.

Instances

Instances details
Eq UndeprecateActivityTypeResponse Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

Read UndeprecateActivityTypeResponse Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

Show UndeprecateActivityTypeResponse Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

Generic UndeprecateActivityTypeResponse Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

Associated Types

type Rep UndeprecateActivityTypeResponse :: Type -> Type #

NFData UndeprecateActivityTypeResponse Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

type Rep UndeprecateActivityTypeResponse Source # 
Instance details

Defined in Amazonka.SWF.UndeprecateActivityType

type Rep UndeprecateActivityTypeResponse = D1 ('MetaData "UndeprecateActivityTypeResponse" "Amazonka.SWF.UndeprecateActivityType" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "UndeprecateActivityTypeResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUndeprecateActivityTypeResponse :: UndeprecateActivityTypeResponse Source #

Create a value of UndeprecateActivityTypeResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.