Class: Aws::MigrationHubConfig::Types::CreateHomeRegionControlRequest

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

Overview

Note:

When making an API call, you may pass CreateHomeRegionControlRequest data as a hash:

{
  home_region: "HomeRegion", # required
  target: { # required
    type: "ACCOUNT", # required, accepts ACCOUNT
    id: "TargetId",
  },
  dry_run: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dry_runBoolean

Optional Boolean flag to indicate whether any effect should take place. It tests whether the caller has permission to make the call.

Returns:

  • (Boolean)


54
55
56
57
58
59
60
# File 'gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/types.rb', line 54

class CreateHomeRegionControlRequest < Struct.new(
  :home_region,
  :target,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#home_regionString

The name of the home region of the calling account.

Returns:

  • (String)


54
55
56
57
58
59
60
# File 'gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/types.rb', line 54

class CreateHomeRegionControlRequest < Struct.new(
  :home_region,
  :target,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#targetTypes::Target

The account for which this command sets up a home region control. The Target is always of type ACCOUNT.

Returns:



54
55
56
57
58
59
60
# File 'gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/types.rb', line 54

class CreateHomeRegionControlRequest < Struct.new(
  :home_region,
  :target,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end