aws-sdk-datazone 1.93.0 → 1.94.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c05cbdcf94e85df9f3e459a43247767414daca74aeb16010ae50b3ef3b248168
4
- data.tar.gz: 78020b2bbdd31038604a8045632287c3e1f051aa64760ebe3c6c0e418fd575e8
3
+ metadata.gz: 1b0aaceb28502d2c13012e928ceec314760589b0128f81937375b95443c5e5de
4
+ data.tar.gz: f596938db727e02989ef5f96d8a8169edf383f67b9907ca51fd7691dc4808c63
5
5
  SHA512:
6
- metadata.gz: '048b228241eb6c777d1a869f99562742fad3df6fb66fe9f56b835c9185d02fb9a404f8494f297b02a3d3d9307d79db45ad6233683768ab143e8dad10d97ed49a'
7
- data.tar.gz: 79d3074bc4f99feea35dbb9677cc7068b7fdb9f8ee82c39fc53a297245c80f8972937b5b0839b016cc6a5878d37eeadb023f17a332ba15f4b966b395a5377026
6
+ metadata.gz: c5470f186be3543eaf82dabdc76156caabcb7cff68dc1a39b73ce3e44908ffb2286e6a4e00f9a239de4fefb2750549dc1f72358ac523be07498e8802740fc7f8
7
+ data.tar.gz: d5e51788e4c3d7f53e93f33a29865724cf850ce6a6aa3b6854e4fa65f490d3952cb1c77b967538a6654cc7c2a1c02f5109316d9a835145bde1ec0f175a52ec0e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.94.0 (2026-10-08)
5
+ ------------------
6
+
7
+ * Feature - Adds support for multi-file notebook import. StartNotebookImport now accepts an s3Files source location with an ordered list of Amazon S3 objects, creating one notebook cell per file, plus a type field to create either a DATA or SQL notebook.
8
+
4
9
  1.93.0 (2026-09-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.93.0
1
+ 1.94.0
@@ -13733,8 +13733,9 @@ module Aws::DataZone
13733
13733
  # The identifier of the project that will own the imported notebook.
13734
13734
  #
13735
13735
  # @option params [required, Types::SourceLocation] :source_location
13736
- # The source location of the notebook to import. This specifies the
13737
- # Amazon Simple Storage Service URI of the notebook file.
13736
+ # The source location of the notebook to import. Specify either a single
13737
+ # Amazon Simple Storage Service URI, or a list of objects to import as
13738
+ # the notebook's cells.
13738
13739
  #
13739
13740
  # @option params [required, String] :name
13740
13741
  # The name of the imported notebook. The name must be between 1 and 256
@@ -13743,6 +13744,10 @@ module Aws::DataZone
13743
13744
  # @option params [String] :description
13744
13745
  # The description of the imported notebook.
13745
13746
  #
13747
+ # @option params [String] :type
13748
+ # The type of the notebook to import. If not specified, defaults to
13749
+ # `DATA`.
13750
+ #
13746
13751
  # @option params [String] :client_token
13747
13752
  # A unique, case-sensitive identifier to ensure idempotency of the
13748
13753
  # request. This field is automatically populated if not provided.
@@ -13758,6 +13763,7 @@ module Aws::DataZone
13758
13763
  # * {Types::StartNotebookImportOutput#owning_project_id #owning_project_id} => String
13759
13764
  # * {Types::StartNotebookImportOutput#name #name} => String
13760
13765
  # * {Types::StartNotebookImportOutput#description #description} => String
13766
+ # * {Types::StartNotebookImportOutput#type #type} => String
13761
13767
  # * {Types::StartNotebookImportOutput#source_location #source_location} => Types::SourceLocation
13762
13768
  # * {Types::StartNotebookImportOutput#created_at #created_at} => Time
13763
13769
  # * {Types::StartNotebookImportOutput#created_by #created_by} => String
@@ -13769,9 +13775,18 @@ module Aws::DataZone
13769
13775
  # owning_project_identifier: "ProjectId", # required
13770
13776
  # source_location: { # required
13771
13777
  # s3: "S3SourceLocation",
13778
+ # s3_files: {
13779
+ # bucket: "S3BucketName", # required
13780
+ # file_list: [ # required
13781
+ # {
13782
+ # key: "S3ObjectKey", # required
13783
+ # },
13784
+ # ],
13785
+ # },
13772
13786
  # },
13773
13787
  # name: "NotebookName", # required
13774
13788
  # description: "Description",
13789
+ # type: "DATA", # accepts DATA, SQL
13775
13790
  # client_token: "ClientToken",
13776
13791
  # })
13777
13792
  #
@@ -13783,7 +13798,11 @@ module Aws::DataZone
13783
13798
  # resp.owning_project_id #=> String
13784
13799
  # resp.name #=> String
13785
13800
  # resp.description #=> String
13801
+ # resp.type #=> String, one of "DATA", "SQL"
13786
13802
  # resp.source_location.s3 #=> String
13803
+ # resp.source_location.s3_files.bucket #=> String
13804
+ # resp.source_location.s3_files.file_list #=> Array
13805
+ # resp.source_location.s3_files.file_list[0].key #=> String
13787
13806
  # resp.created_at #=> Time
13788
13807
  # resp.created_by #=> String
13789
13808
  #
@@ -14020,6 +14039,14 @@ module Aws::DataZone
14020
14039
  # owning_project_identifier: "ProjectId", # required
14021
14040
  # source_location: { # required
14022
14041
  # s3: "S3SourceLocation",
14042
+ # s3_files: {
14043
+ # bucket: "S3BucketName", # required
14044
+ # file_list: [ # required
14045
+ # {
14046
+ # key: "S3ObjectKey", # required
14047
+ # },
14048
+ # ],
14049
+ # },
14023
14050
  # },
14024
14051
  # git_metadata: {
14025
14052
  # connection_id: "GitConnectionId", # required
@@ -14043,6 +14070,9 @@ module Aws::DataZone
14043
14070
  # resp.domain_id #=> String
14044
14071
  # resp.owning_project_id #=> String
14045
14072
  # resp.source_location.s3 #=> String
14073
+ # resp.source_location.s3_files.bucket #=> String
14074
+ # resp.source_location.s3_files.file_list #=> Array
14075
+ # resp.source_location.s3_files.file_list[0].key #=> String
14046
14076
  # resp.git_metadata.connection_id #=> String
14047
14077
  # resp.git_metadata.repository #=> String
14048
14078
  # resp.git_metadata.branch #=> String
@@ -16707,7 +16737,7 @@ module Aws::DataZone
16707
16737
  tracer: tracer
16708
16738
  )
16709
16739
  context[:gem_name] = 'aws-sdk-datazone'
16710
- context[:gem_version] = '1.93.0'
16740
+ context[:gem_version] = '1.94.0'
16711
16741
  Seahorse::Client::Request.new(handlers, context)
16712
16742
  end
16713
16743
 
@@ -1053,9 +1053,14 @@ module Aws::DataZone
1053
1053
  RunIdentifier = Shapes::StringShape.new(name: 'RunIdentifier')
1054
1054
  RunStatisticsForAssets = Shapes::StructureShape.new(name: 'RunStatisticsForAssets')
1055
1055
  S3AccessGrantLocationId = Shapes::StringShape.new(name: 'S3AccessGrantLocationId')
1056
+ S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
1056
1057
  S3Destination = Shapes::StructureShape.new(name: 'S3Destination')
1058
+ S3File = Shapes::StructureShape.new(name: 'S3File')
1059
+ S3FileList = Shapes::ListShape.new(name: 'S3FileList')
1060
+ S3FilesLocation = Shapes::StructureShape.new(name: 'S3FilesLocation')
1057
1061
  S3Location = Shapes::StringShape.new(name: 'S3Location')
1058
1062
  S3LocationList = Shapes::ListShape.new(name: 'S3LocationList')
1063
+ S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
1059
1064
  S3Path = Shapes::StringShape.new(name: 'S3Path')
1060
1065
  S3Permission = Shapes::StringShape.new(name: 'S3Permission')
1061
1066
  S3Permissions = Shapes::ListShape.new(name: 'S3Permissions')
@@ -5834,6 +5839,15 @@ module Aws::DataZone
5834
5839
  S3Destination.add_member(:uri, Shapes::ShapeRef.new(shape: NotebookS3Uri, location_name: "uri"))
5835
5840
  S3Destination.struct_class = Types::S3Destination
5836
5841
 
5842
+ S3File.add_member(:key, Shapes::ShapeRef.new(shape: S3ObjectKey, required: true, location_name: "key"))
5843
+ S3File.struct_class = Types::S3File
5844
+
5845
+ S3FileList.member = Shapes::ShapeRef.new(shape: S3File)
5846
+
5847
+ S3FilesLocation.add_member(:bucket, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "bucket"))
5848
+ S3FilesLocation.add_member(:file_list, Shapes::ShapeRef.new(shape: S3FileList, required: true, location_name: "fileList"))
5849
+ S3FilesLocation.struct_class = Types::S3FilesLocation
5850
+
5837
5851
  S3LocationList.member = Shapes::ShapeRef.new(shape: S3Location)
5838
5852
 
5839
5853
  S3Permissions.member = Shapes::ShapeRef.new(shape: S3Permission)
@@ -6033,8 +6047,10 @@ module Aws::DataZone
6033
6047
  SnowflakePropertiesPatch.struct_class = Types::SnowflakePropertiesPatch
6034
6048
 
6035
6049
  SourceLocation.add_member(:s3, Shapes::ShapeRef.new(shape: S3SourceLocation, location_name: "s3"))
6050
+ SourceLocation.add_member(:s3_files, Shapes::ShapeRef.new(shape: S3FilesLocation, location_name: "s3Files"))
6036
6051
  SourceLocation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
6037
6052
  SourceLocation.add_member_subclass(:s3, Types::SourceLocation::S3)
6053
+ SourceLocation.add_member_subclass(:s3_files, Types::SourceLocation::S3Files)
6038
6054
  SourceLocation.add_member_subclass(:unknown, Types::SourceLocation::Unknown)
6039
6055
  SourceLocation.struct_class = Types::SourceLocation
6040
6056
 
@@ -6164,6 +6180,7 @@ module Aws::DataZone
6164
6180
  StartNotebookImportInput.add_member(:source_location, Shapes::ShapeRef.new(shape: SourceLocation, required: true, location_name: "sourceLocation"))
6165
6181
  StartNotebookImportInput.add_member(:name, Shapes::ShapeRef.new(shape: NotebookName, required: true, location_name: "name"))
6166
6182
  StartNotebookImportInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
6183
+ StartNotebookImportInput.add_member(:type, Shapes::ShapeRef.new(shape: NotebookType, location_name: "type"))
6167
6184
  StartNotebookImportInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
6168
6185
  StartNotebookImportInput.struct_class = Types::StartNotebookImportInput
6169
6186
 
@@ -6173,6 +6190,7 @@ module Aws::DataZone
6173
6190
  StartNotebookImportOutput.add_member(:owning_project_id, Shapes::ShapeRef.new(shape: ProjectId, location_name: "owningProjectId"))
6174
6191
  StartNotebookImportOutput.add_member(:name, Shapes::ShapeRef.new(shape: NotebookName, location_name: "name"))
6175
6192
  StartNotebookImportOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
6193
+ StartNotebookImportOutput.add_member(:type, Shapes::ShapeRef.new(shape: NotebookType, location_name: "type"))
6176
6194
  StartNotebookImportOutput.add_member(:source_location, Shapes::ShapeRef.new(shape: SourceLocation, location_name: "sourceLocation"))
6177
6195
  StartNotebookImportOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt"))
6178
6196
  StartNotebookImportOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy"))
@@ -20343,6 +20343,43 @@ module Aws::DataZone
20343
20343
  include Aws::Structure
20344
20344
  end
20345
20345
 
20346
+ # A single Amazon Simple Storage Service object to import as a notebook
20347
+ # cell.
20348
+ #
20349
+ # @!attribute [rw] key
20350
+ # The key of the Amazon Simple Storage Service object to import.
20351
+ # @return [String]
20352
+ #
20353
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/S3File AWS API Documentation
20354
+ #
20355
+ class S3File < Struct.new(
20356
+ :key)
20357
+ SENSITIVE = [:key]
20358
+ include Aws::Structure
20359
+ end
20360
+
20361
+ # The Amazon Simple Storage Service objects to import as the cells of a
20362
+ # notebook, specified as a bucket and an ordered list of object keys.
20363
+ #
20364
+ # @!attribute [rw] bucket
20365
+ # The name of the Amazon Simple Storage Service bucket that contains
20366
+ # the files to import.
20367
+ # @return [String]
20368
+ #
20369
+ # @!attribute [rw] file_list
20370
+ # The files to import. Cells are created in the order in which you
20371
+ # list the files. You can specify between 1 and 100 files.
20372
+ # @return [Array<Types::S3File>]
20373
+ #
20374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/S3FilesLocation AWS API Documentation
20375
+ #
20376
+ class S3FilesLocation < Struct.new(
20377
+ :bucket,
20378
+ :file_list)
20379
+ SENSITIVE = [:bucket]
20380
+ include Aws::Structure
20381
+ end
20382
+
20346
20383
  # The Amazon S3 properties of a connection.
20347
20384
  #
20348
20385
  # @!attribute [rw] s3_uri
@@ -21224,16 +21261,24 @@ module Aws::DataZone
21224
21261
  # The Amazon Simple Storage Service URI of the notebook source file.
21225
21262
  # @return [String]
21226
21263
  #
21264
+ # @!attribute [rw] s3_files
21265
+ # The Amazon Simple Storage Service objects to import as the
21266
+ # notebook's cells. One cell is created for each object, in the order
21267
+ # in which you list them.
21268
+ # @return [Types::S3FilesLocation]
21269
+ #
21227
21270
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/SourceLocation AWS API Documentation
21228
21271
  #
21229
21272
  class SourceLocation < Struct.new(
21230
21273
  :s3,
21274
+ :s3_files,
21231
21275
  :unknown)
21232
21276
  SENSITIVE = [:s3]
21233
21277
  include Aws::Structure
21234
21278
  include Aws::Structure::Union
21235
21279
 
21236
21280
  class S3 < SourceLocation; end
21281
+ class S3Files < SourceLocation; end
21237
21282
  class Unknown < SourceLocation; end
21238
21283
  end
21239
21284
 
@@ -21864,8 +21909,9 @@ module Aws::DataZone
21864
21909
  # @return [String]
21865
21910
  #
21866
21911
  # @!attribute [rw] source_location
21867
- # The source location of the notebook to import. This specifies the
21868
- # Amazon Simple Storage Service URI of the notebook file.
21912
+ # The source location of the notebook to import. Specify either a
21913
+ # single Amazon Simple Storage Service URI, or a list of objects to
21914
+ # import as the notebook's cells.
21869
21915
  # @return [Types::SourceLocation]
21870
21916
  #
21871
21917
  # @!attribute [rw] name
@@ -21877,6 +21923,11 @@ module Aws::DataZone
21877
21923
  # The description of the imported notebook.
21878
21924
  # @return [String]
21879
21925
  #
21926
+ # @!attribute [rw] type
21927
+ # The type of the notebook to import. If not specified, defaults to
21928
+ # `DATA`.
21929
+ # @return [String]
21930
+ #
21880
21931
  # @!attribute [rw] client_token
21881
21932
  # A unique, case-sensitive identifier to ensure idempotency of the
21882
21933
  # request. This field is automatically populated if not provided.
@@ -21893,6 +21944,7 @@ module Aws::DataZone
21893
21944
  :source_location,
21894
21945
  :name,
21895
21946
  :description,
21947
+ :type,
21896
21948
  :client_token)
21897
21949
  SENSITIVE = [:name, :description]
21898
21950
  include Aws::Structure
@@ -21922,6 +21974,10 @@ module Aws::DataZone
21922
21974
  # The description of the imported notebook.
21923
21975
  # @return [String]
21924
21976
  #
21977
+ # @!attribute [rw] type
21978
+ # The type of the imported notebook.
21979
+ # @return [String]
21980
+ #
21925
21981
  # @!attribute [rw] source_location
21926
21982
  # The source location from which the notebook was imported.
21927
21983
  # @return [Types::SourceLocation]
@@ -21943,6 +21999,7 @@ module Aws::DataZone
21943
21999
  :owning_project_id,
21944
22000
  :name,
21945
22001
  :description,
22002
+ :type,
21946
22003
  :source_location,
21947
22004
  :created_at,
21948
22005
  :created_by)
@@ -55,7 +55,7 @@ module Aws::DataZone
55
55
  autoload :EndpointProvider, 'aws-sdk-datazone/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-datazone/endpoints'
57
57
 
58
- GEM_VERSION = '1.93.0'
58
+ GEM_VERSION = '1.94.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -3666,6 +3666,7 @@ module Aws
3666
3666
  def owning_project_id: () -> ::String
3667
3667
  def name: () -> ::String
3668
3668
  def description: () -> ::String
3669
+ def type: () -> ("DATA" | "SQL")
3669
3670
  def source_location: () -> Types::SourceLocation
3670
3671
  def created_at: () -> ::Time
3671
3672
  def created_by: () -> ::String
@@ -3674,11 +3675,10 @@ module Aws
3674
3675
  def start_notebook_import: (
3675
3676
  domain_identifier: ::String,
3676
3677
  owning_project_identifier: ::String,
3677
- source_location: {
3678
- s3: ::String?
3679
- },
3678
+ source_location: Params::source_location,
3680
3679
  name: ::String,
3681
3680
  ?description: ::String,
3681
+ ?type: ("DATA" | "SQL"),
3682
3682
  ?client_token: ::String
3683
3683
  ) -> _StartNotebookImportResponseSuccess
3684
3684
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartNotebookImportResponseSuccess
@@ -3757,9 +3757,7 @@ module Aws
3757
3757
  def start_notebook_sync: (
3758
3758
  domain_identifier: ::String,
3759
3759
  owning_project_identifier: ::String,
3760
- source_location: {
3761
- s3: ::String?
3762
- },
3760
+ source_location: Params::source_location,
3763
3761
  ?git_metadata: {
3764
3762
  connection_id: ::String,
3765
3763
  repository: ::String,
data/sig/params.rbs CHANGED
@@ -345,6 +345,18 @@ module Aws
345
345
  ]?
346
346
  }
347
347
 
348
+ type source_location = {
349
+ s3: ::String?,
350
+ s3_files: {
351
+ bucket: ::String,
352
+ file_list: Array[
353
+ {
354
+ key: ::String
355
+ }
356
+ ]
357
+ }?
358
+ }
359
+
348
360
  end
349
361
  end
350
362
  end
data/sig/types.rbs CHANGED
@@ -5556,6 +5556,17 @@ module Aws::DataZone
5556
5556
  SENSITIVE: [:uri]
5557
5557
  end
5558
5558
 
5559
+ class S3File
5560
+ attr_accessor key: ::String
5561
+ SENSITIVE: [:key]
5562
+ end
5563
+
5564
+ class S3FilesLocation
5565
+ attr_accessor bucket: ::String
5566
+ attr_accessor file_list: ::Array[Types::S3File]
5567
+ SENSITIVE: [:bucket]
5568
+ end
5569
+
5559
5570
  class S3PropertiesInput
5560
5571
  attr_accessor s3_uri: ::String
5561
5572
  attr_accessor s3_access_grant_location_id: ::String
@@ -5811,11 +5822,14 @@ module Aws::DataZone
5811
5822
 
5812
5823
  class SourceLocation
5813
5824
  attr_accessor s3: ::String
5825
+ attr_accessor s3_files: Types::S3FilesLocation
5814
5826
  attr_accessor unknown: untyped
5815
5827
  SENSITIVE: [:s3]
5816
5828
 
5817
5829
  class S3 < SourceLocation
5818
5830
  end
5831
+ class S3Files < SourceLocation
5832
+ end
5819
5833
  class Unknown < SourceLocation
5820
5834
  end
5821
5835
  end
@@ -5973,6 +5987,7 @@ module Aws::DataZone
5973
5987
  attr_accessor source_location: Types::SourceLocation
5974
5988
  attr_accessor name: ::String
5975
5989
  attr_accessor description: ::String
5990
+ attr_accessor type: ("DATA" | "SQL")
5976
5991
  attr_accessor client_token: ::String
5977
5992
  SENSITIVE: [:name, :description]
5978
5993
  end
@@ -5984,6 +5999,7 @@ module Aws::DataZone
5984
5999
  attr_accessor owning_project_id: ::String
5985
6000
  attr_accessor name: ::String
5986
6001
  attr_accessor description: ::String
6002
+ attr_accessor type: ("DATA" | "SQL")
5987
6003
  attr_accessor source_location: Types::SourceLocation
5988
6004
  attr_accessor created_at: ::Time
5989
6005
  attr_accessor created_by: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-datazone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.93.0
4
+ version: 1.94.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services