Class: Aws::ARCRegionswitch::Types::StartPlanExecutionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

The action to perform. Valid values are activate (to shift traffic to the target Region) or deactivate (to shift traffic away from the target Region).

Returns:

  • (String)


2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 2550

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version,
  :recovery_execution_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request and returns the result of the original successful request. If you don't provide a client token, the service automatically generates one. For more information about idempotency, see Making retries safe with idempotent APIs.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 2550

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version,
  :recovery_execution_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#commentString

An optional comment explaining why the plan execution is being started.

Returns:

  • (String)


2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 2550

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version,
  :recovery_execution_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#latest_versionString

A boolean value indicating whether to use the latest version of the plan. If set to false, you must specify a specific version.

Returns:

  • (String)


2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 2550

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version,
  :recovery_execution_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#modeString

The plan execution mode. Valid values are graceful, for starting the execution in graceful mode, or ungraceful, for starting the execution in ungraceful mode.

Returns:

  • (String)


2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 2550

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version,
  :recovery_execution_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#plan_arnString

The Amazon Resource Name (ARN) of the plan to execute.

Returns:

  • (String)


2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 2550

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version,
  :recovery_execution_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#recovery_execution_idString

The execution identifier of the recovery execution that ran in the opposite region post-recovery is ran in. Required when starting a post-recovery execution.

Returns:

  • (String)


2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 2550

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version,
  :recovery_execution_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#target_regionString

The Amazon Web Services Region to target with this execution. This is the Region that traffic will be shifted to or from, depending on the action.

Returns:

  • (String)


2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 2550

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version,
  :recovery_execution_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end