Class: Aws::DataExchange::Types::CreateJobRequest

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

Overview

Note:

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

{
  details: { # required
    export_asset_to_signed_url: {
      asset_id: "Id", # required
      data_set_id: "Id", # required
      revision_id: "Id", # required
    },
    export_assets_to_s3: {
      asset_destinations: [ # required
        {
          asset_id: "Id", # required
          bucket: "__string", # required
          key: "__string",
        },
      ],
      data_set_id: "Id", # required
      encryption: {
        kms_key_arn: "__string",
        type: "aws:kms", # required, accepts aws:kms, AES256
      },
      revision_id: "Id", # required
    },
    export_revisions_to_s3: {
      data_set_id: "Id", # required
      encryption: {
        kms_key_arn: "__string",
        type: "aws:kms", # required, accepts aws:kms, AES256
      },
      revision_destinations: [ # required
        {
          bucket: "__string", # required
          key_pattern: "__string",
          revision_id: "Id", # required
        },
      ],
    },
    import_asset_from_signed_url: {
      asset_name: "AssetName", # required
      data_set_id: "Id", # required
      md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
      revision_id: "Id", # required
    },
    import_assets_from_s3: {
      asset_sources: [ # required
        {
          bucket: "__string", # required
          key: "__string", # required
        },
      ],
      data_set_id: "Id", # required
      revision_id: "Id", # required
    },
    import_assets_from_redshift_data_shares: {
      asset_sources: [ # required
        {
          data_share_arn: "__string", # required
        },
      ],
      data_set_id: "Id", # required
      revision_id: "Id", # required
    },
    import_asset_from_api_gateway_api: {
      api_description: "ApiDescription",
      api_id: "__string", # required
      api_key: "__string",
      api_name: "__string", # required
      api_specification_md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
      data_set_id: "Id", # required
      protocol_type: "REST", # required, accepts REST
      revision_id: "Id", # required
      stage: "__string", # required
    },
  },
  type: "IMPORT_ASSETS_FROM_S3", # required, accepts IMPORT_ASSETS_FROM_S3, IMPORT_ASSET_FROM_SIGNED_URL, EXPORT_ASSETS_TO_S3, EXPORT_ASSET_TO_SIGNED_URL, EXPORT_REVISIONS_TO_S3, IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES, IMPORT_ASSET_FROM_API_GATEWAY_API
}

The CreateJob request. AWS Data Exchange Jobs are asynchronous import or export operations used to create or copy assets. A data set owner can both import and export assets. A subscriber with an entitlement to a data set can only export. Jobs are deleted 90 days after they are created. Created jobs must be started with the StartJob operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#detailsTypes::RequestDetails

The details for the CreateJob request.



671
672
673
674
675
676
# File 'gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/types.rb', line 671

class CreateJobRequest < Struct.new(
  :details,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of job to be created.

Returns:

  • (String)


671
672
673
674
675
676
# File 'gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/types.rb', line 671

class CreateJobRequest < Struct.new(
  :details,
  :type)
  SENSITIVE = []
  include Aws::Structure
end