libZSservicesZSamazonka-stepfunctionsZSamazonka-stepfunctions
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.StepFunctions.UpdateStateMachine

Description

Updates an existing state machine by modifying its definition, roleArn, or loggingConfiguration. Running executions will continue to use the previous definition and roleArn. You must include at least one of definition or roleArn or you will receive a MissingRequiredParameter error.

All StartExecution calls within a few seconds will use the updated definition and roleArn. Executions started immediately after calling UpdateStateMachine may use the previous state machine definition and roleArn.

Synopsis

Creating a Request

data UpdateStateMachine Source #

See: newUpdateStateMachine smart constructor.

Constructors

UpdateStateMachine' 

Fields

Instances

Instances details
Eq UpdateStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

Show UpdateStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

Generic UpdateStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

Associated Types

type Rep UpdateStateMachine :: Type -> Type #

NFData UpdateStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

Methods

rnf :: UpdateStateMachine -> () #

Hashable UpdateStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

ToJSON UpdateStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

AWSRequest UpdateStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

Associated Types

type AWSResponse UpdateStateMachine #

ToHeaders UpdateStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

ToPath UpdateStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

ToQuery UpdateStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

type Rep UpdateStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

type Rep UpdateStateMachine = D1 ('MetaData "UpdateStateMachine" "Amazonka.StepFunctions.UpdateStateMachine" "libZSservicesZSamazonka-stepfunctionsZSamazonka-stepfunctions" 'False) (C1 ('MetaCons "UpdateStateMachine'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "tracingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TracingConfiguration))) :*: (S1 ('MetaSel ('Just "loggingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingConfiguration)) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stateMachineArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

newUpdateStateMachine Source #

Create a value of UpdateStateMachine 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:definition:UpdateStateMachine', updateStateMachine_definition - The Amazon States Language definition of the state machine. See Amazon States Language.

$sel:tracingConfiguration:UpdateStateMachine', updateStateMachine_tracingConfiguration - Selects whether AWS X-Ray tracing is enabled.

$sel:loggingConfiguration:UpdateStateMachine', updateStateMachine_loggingConfiguration - The LoggingConfiguration data type is used to set CloudWatch Logs options.

$sel:roleArn:UpdateStateMachine', updateStateMachine_roleArn - The Amazon Resource Name (ARN) of the IAM role of the state machine.

$sel:stateMachineArn:UpdateStateMachine', updateStateMachine_stateMachineArn - The Amazon Resource Name (ARN) of the state machine.

Request Lenses

updateStateMachine_definition :: Lens' UpdateStateMachine (Maybe Text) Source #

The Amazon States Language definition of the state machine. See Amazon States Language.

updateStateMachine_loggingConfiguration :: Lens' UpdateStateMachine (Maybe LoggingConfiguration) Source #

The LoggingConfiguration data type is used to set CloudWatch Logs options.

updateStateMachine_roleArn :: Lens' UpdateStateMachine (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role of the state machine.

updateStateMachine_stateMachineArn :: Lens' UpdateStateMachine Text Source #

The Amazon Resource Name (ARN) of the state machine.

Destructuring the Response

data UpdateStateMachineResponse Source #

See: newUpdateStateMachineResponse smart constructor.

Constructors

UpdateStateMachineResponse' 

Fields

Instances

Instances details
Eq UpdateStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

Read UpdateStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

Show UpdateStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

Generic UpdateStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

Associated Types

type Rep UpdateStateMachineResponse :: Type -> Type #

NFData UpdateStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

type Rep UpdateStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.UpdateStateMachine

type Rep UpdateStateMachineResponse = D1 ('MetaData "UpdateStateMachineResponse" "Amazonka.StepFunctions.UpdateStateMachine" "libZSservicesZSamazonka-stepfunctionsZSamazonka-stepfunctions" 'False) (C1 ('MetaCons "UpdateStateMachineResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "updateDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))

newUpdateStateMachineResponse Source #

Create a value of UpdateStateMachineResponse 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:httpStatus:UpdateStateMachineResponse', updateStateMachineResponse_httpStatus - The response's http status code.

$sel:updateDate:UpdateStateMachineResponse', updateStateMachineResponse_updateDate - The date and time the state machine was updated.

Response Lenses

updateStateMachineResponse_updateDate :: Lens' UpdateStateMachineResponse UTCTime Source #

The date and time the state machine was updated.