Class: Aws::DataZone::Types::SourceLocation

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

Overview

Note:

SourceLocation is a union - when making an API calls you must set exactly one of the members.

Note:

SourceLocation is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SourceLocation corresponding to the set member.

The source location for a notebook import in Amazon SageMaker Unified Studio.

Defined Under Namespace

Classes: S3, S3Files, Unknown

Constant Summary collapse

SENSITIVE =
[:s3]

Instance Attribute Summary collapse

Instance Attribute Details

#s3 ⇒ String

The Amazon Simple Storage Service URI of the notebook source file.

Returns:

  • (String)


21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 21620

class SourceLocation < Struct.new(
  :s3,
  :s3_files,
  :unknown)
  SENSITIVE = [:s3]
  include Aws::Structure
  include Aws::Structure::Union

  class S3 < SourceLocation; end
  class S3Files < SourceLocation; end
  class Unknown < SourceLocation; end
end

#s3_files ⇒ Types::S3FilesLocation

The Amazon Simple Storage Service objects to import as the notebook's cells. One cell is created for each object, in the order in which you list them.



21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 21620

class SourceLocation < Struct.new(
  :s3,
  :s3_files,
  :unknown)
  SENSITIVE = [:s3]
  include Aws::Structure
  include Aws::Structure::Union

  class S3 < SourceLocation; end
  class S3Files < SourceLocation; end
  class Unknown < SourceLocation; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



21620
21621
21622
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 21620

def unknown
  @unknown
end