You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MigrationHub::Types::AssociateDiscoveredResourceRequest

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

Overview

Note:

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

{
  progress_update_stream: "ProgressUpdateStream", # required
  migration_task_name: "MigrationTaskName", # required
  discovered_resource: { # required
    configuration_id: "ConfigurationId", # required
    description: "DiscoveredResourceDescription",
  },
  dry_run: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#discovered_resourceTypes::DiscoveredResource

Object representing a Resource.



88
89
90
91
92
93
94
# File 'gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/types.rb', line 88

class AssociateDiscoveredResourceRequest < Struct.new(
  :progress_update_stream,
  :migration_task_name,
  :discovered_resource,
  :dry_run)
  include Aws::Structure
end

#dry_runBoolean

Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.

Returns:

  • (Boolean)


88
89
90
91
92
93
94
# File 'gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/types.rb', line 88

class AssociateDiscoveredResourceRequest < Struct.new(
  :progress_update_stream,
  :migration_task_name,
  :discovered_resource,
  :dry_run)
  include Aws::Structure
end

#migration_task_nameString

The identifier given to the MigrationTask.

Returns:

  • (String)


88
89
90
91
92
93
94
# File 'gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/types.rb', line 88

class AssociateDiscoveredResourceRequest < Struct.new(
  :progress_update_stream,
  :migration_task_name,
  :discovered_resource,
  :dry_run)
  include Aws::Structure
end

#progress_update_streamString

The name of the ProgressUpdateStream.

Returns:

  • (String)


88
89
90
91
92
93
94
# File 'gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/types.rb', line 88

class AssociateDiscoveredResourceRequest < Struct.new(
  :progress_update_stream,
  :migration_task_name,
  :discovered_resource,
  :dry_run)
  include Aws::Structure
end