Class: Aws::ApplicationDiscoveryService::Types::StartImportTaskRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApplicationDiscoveryService::Types::StartImportTaskRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-applicationdiscoveryservice/types.rb
Overview
When making an API call, you may pass StartImportTaskRequest data as a hash:
{
client_request_token: "ClientRequestToken",
name: "ImportTaskName", # required
import_url: "ImportURL", # required
}
Instance Attribute Summary collapse
-
#client_request_token ⇒ String
Optional.
-
#import_url ⇒ String
The URL for your import file that you’ve uploaded to Amazon S3.
-
#name ⇒ String
A descriptive name for this request.
Instance Attribute Details
#client_request_token ⇒ String
Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don’t provide a token, a token is automatically generated.
Sending more than one ‘StartImportTask` request with the same client request token will return information about the original import task with that client request token.
**A suitable default value is auto-generated.** You should normally not need to pass this option.
1740 1741 1742 1743 1744 1745 |
# File 'lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1740 class StartImportTaskRequest < Struct.new( :client_request_token, :name, :import_url) include Aws::Structure end |
#import_url ⇒ String
The URL for your import file that you’ve uploaded to Amazon S3.
<note markdown=“1”> If you’re using the AWS CLI, this URL is structured as follows: ‘s3://BucketName/ImportFileName.CSV`
</note>
1740 1741 1742 1743 1744 1745 |
# File 'lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1740 class StartImportTaskRequest < Struct.new( :client_request_token, :name, :import_url) include Aws::Structure end |
#name ⇒ String
A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
1740 1741 1742 1743 1744 1745 |
# File 'lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1740 class StartImportTaskRequest < Struct.new( :client_request_token, :name, :import_url) include Aws::Structure end |