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)


21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 21679

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.



21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 21679

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



21679
21680
21681
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 21679

def unknown
  @unknown
end