@aws-sdk/client-datazone 3.1146.0 → 3.1148.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.
package/dist-cjs/index.js CHANGED
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1145.0";
70
+ var version = "3.1147.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -1113,6 +1113,7 @@ const _S = "Subscriptions";
1113
1113
  const _SA = "SubscribedAsset";
1114
1114
  const _SAL = "SubscribedAssetListing";
1115
1115
  const _SAu = "SubscribedAssets";
1116
+ const _SBN = "S3BucketName";
1116
1117
  const _SC = "ScheduleConfiguration";
1117
1118
  const _SCt = "StorageConfig";
1118
1119
  const _SD = "ShortDescription";
@@ -1123,6 +1124,9 @@ const _SDe = "S3Destination";
1123
1124
  const _SEPI = "SparkEmrPropertiesInput";
1124
1125
  const _SEPO = "SparkEmrPropertiesOutput";
1125
1126
  const _SEPP = "SparkEmrPropertiesPatch";
1127
+ const _SF = "S3File";
1128
+ const _SFL = "S3FilesLocation";
1129
+ const _SFLi = "S3FileList";
1126
1130
  const _SG = "SubscribedGroup";
1127
1131
  const _SGA = "SparkGlueArgs";
1128
1132
  const _SGI = "SubscribedGroupInput";
@@ -1173,6 +1177,7 @@ const _SNS = "StartNotebookSync";
1173
1177
  const _SNSI = "StartNotebookSyncInput";
1174
1178
  const _SNSO = "StartNotebookSyncOutput";
1175
1179
  const _SO = "SearchOutput";
1180
+ const _SOK = "S3ObjectKey";
1176
1181
  const _SP = "SubscribedProject";
1177
1182
  const _SPI = "S3PropertiesInput";
1178
1183
  const _SPIn = "SnowflakePropertiesInput";
@@ -1392,6 +1397,7 @@ const _bC = "blueprintCategory";
1392
1397
  const _bNG = "businessNameGeneration";
1393
1398
  const _bT = "beforeTimestamp";
1394
1399
  const _bV = "blueprintVersion";
1400
+ const _bu = "bucket";
1395
1401
  const _c = "client";
1396
1402
  const _cA = "createdAt";
1397
1403
  const _cAC = "customAuthenticationCredentials";
@@ -1558,6 +1564,7 @@ const _fE = "filterExpressions";
1558
1564
  const _fF = "fileFormat";
1559
1565
  const _fI = "filterIds";
1560
1566
  const _fIo = "formsInput";
1567
+ const _fL = "fileList";
1561
1568
  const _fN = "formNames";
1562
1569
  const _fNi = "fileName";
1563
1570
  const _fNir = "firstName";
@@ -1889,6 +1896,7 @@ const _sD = "shortDescription";
1889
1896
  const _sDC = "skipDeletionCheck";
1890
1897
  const _sDPC = "successfullyDeletedProjectCount";
1891
1898
  const _sEP = "sparkEmrProperties";
1899
+ const _sF = "s3Files";
1892
1900
  const _sGCM = "subscriptionGrantCreationMode";
1893
1901
  const _sGI = "securityGroupIds";
1894
1902
  const _sGIL = "securityGroupIdList";
@@ -2125,6 +2133,8 @@ var ProjectName = [0, n0, _PN, 8, 0];
2125
2133
  var ProjectProfileName = [0, n0, _PPN, 8, 0];
2126
2134
  var RequestReason = [0, n0, _RR, 8, 0];
2127
2135
  var RuleName = [0, n0, _RN, 8, 0];
2136
+ var S3BucketName = [0, n0, _SBN, 8, 0];
2137
+ var S3ObjectKey = [0, n0, _SOK, 8, 0];
2128
2138
  var S3SourceLocation = [0, n0, _SSL, 8, 0];
2129
2139
  var ShortDescription = [0, n0, _SD, 8, 0];
2130
2140
  var SubscriptionTargetName = [0, n0, _STN, 8, 0];
@@ -4846,6 +4856,16 @@ var S3Destination$ = [3, n0, _SDe,
4846
4856
  [_u],
4847
4857
  [[() => NotebookS3Uri, 0]]
4848
4858
  ];
4859
+ var S3File$ = [3, n0, _SF,
4860
+ 0,
4861
+ [_k],
4862
+ [[() => S3ObjectKey, 0]], 1
4863
+ ];
4864
+ var S3FilesLocation$ = [3, n0, _SFL,
4865
+ 0,
4866
+ [_bu, _fL],
4867
+ [[() => S3BucketName, 0], [() => S3FileList, 0]], 2
4868
+ ];
4849
4869
  var S3PropertiesInput$ = [3, n0, _SPI,
4850
4870
  0,
4851
4871
  [_sU, _sAGLI, _rSAGL],
@@ -5028,13 +5048,13 @@ var StartNotebookExportOutput$ = [3, n0, _SNEO,
5028
5048
  ];
5029
5049
  var StartNotebookImportInput$ = [3, n0, _SNII,
5030
5050
  0,
5031
- [_dI, _oPIw, _sLo, _n, _de, _cT],
5032
- [[0, 1], 0, [() => SourceLocation$, 0], [() => NotebookName, 0], [() => Description, 0], [0, 4]], 4
5051
+ [_dI, _oPIw, _sLo, _n, _de, _ty, _cT],
5052
+ [[0, 1], 0, [() => SourceLocation$, 0], [() => NotebookName, 0], [() => Description, 0], 0, [0, 4]], 4
5033
5053
  ];
5034
5054
  var StartNotebookImportOutput$ = [3, n0, _SNIO,
5035
5055
  0,
5036
- [_nI, _st, _dIo, _oPI, _n, _de, _sLo, _cA, _cB],
5037
- [0, 0, 0, 0, [() => NotebookName, 0], [() => Description, 0], [() => SourceLocation$, 0], 4, 0]
5056
+ [_nI, _st, _dIo, _oPI, _n, _de, _ty, _sLo, _cA, _cB],
5057
+ [0, 0, 0, 0, [() => NotebookName, 0], [() => Description, 0], 0, [() => SourceLocation$, 0], 4, 0]
5038
5058
  ];
5039
5059
  var StartNotebookRunInput$ = [3, n0, _SNRI,
5040
5060
  0,
@@ -5793,6 +5813,10 @@ var RuleSummaries = [1, n0, _RSul,
5793
5813
  0, [() => RuleSummary$,
5794
5814
  0]
5795
5815
  ];
5816
+ var S3FileList = [1, n0, _SFLi,
5817
+ 0, [() => S3File$,
5818
+ 0]
5819
+ ];
5796
5820
  var SearchInList = [1, n0, _SIL,
5797
5821
  0, () => SearchInItem$
5798
5822
  ];
@@ -6113,8 +6137,8 @@ var SelfGrantStatusOutput$ = [4, n0, _SGSO,
6113
6137
  ];
6114
6138
  var SourceLocation$ = [4, n0, _SLo,
6115
6139
  0,
6116
- [_s_],
6117
- [[() => S3SourceLocation, 0]]
6140
+ [_s_, _sF],
6141
+ [[() => S3SourceLocation, 0], [() => S3FilesLocation$, 0]]
6118
6142
  ];
6119
6143
  var SubscribedListingItem$ = [4, n0, _SLIubs,
6120
6144
  0,
@@ -9390,6 +9414,8 @@ exports.RuleTargetType = RuleTargetType;
9390
9414
  exports.RuleType = RuleType;
9391
9415
  exports.RunStatisticsForAssets$ = RunStatisticsForAssets$;
9392
9416
  exports.S3Destination$ = S3Destination$;
9417
+ exports.S3File$ = S3File$;
9418
+ exports.S3FilesLocation$ = S3FilesLocation$;
9393
9419
  exports.S3Permission = S3Permission;
9394
9420
  exports.S3PropertiesInput$ = S3PropertiesInput$;
9395
9421
  exports.S3PropertiesOutput$ = S3PropertiesOutput$;
@@ -884,6 +884,7 @@ const _S = "Subscriptions";
884
884
  const _SA = "SubscribedAsset";
885
885
  const _SAL = "SubscribedAssetListing";
886
886
  const _SAu = "SubscribedAssets";
887
+ const _SBN = "S3BucketName";
887
888
  const _SC = "ScheduleConfiguration";
888
889
  const _SCt = "StorageConfig";
889
890
  const _SD = "ShortDescription";
@@ -894,6 +895,9 @@ const _SDe = "S3Destination";
894
895
  const _SEPI = "SparkEmrPropertiesInput";
895
896
  const _SEPO = "SparkEmrPropertiesOutput";
896
897
  const _SEPP = "SparkEmrPropertiesPatch";
898
+ const _SF = "S3File";
899
+ const _SFL = "S3FilesLocation";
900
+ const _SFLi = "S3FileList";
897
901
  const _SG = "SubscribedGroup";
898
902
  const _SGA = "SparkGlueArgs";
899
903
  const _SGI = "SubscribedGroupInput";
@@ -944,6 +948,7 @@ const _SNS = "StartNotebookSync";
944
948
  const _SNSI = "StartNotebookSyncInput";
945
949
  const _SNSO = "StartNotebookSyncOutput";
946
950
  const _SO = "SearchOutput";
951
+ const _SOK = "S3ObjectKey";
947
952
  const _SP = "SubscribedProject";
948
953
  const _SPI = "S3PropertiesInput";
949
954
  const _SPIn = "SnowflakePropertiesInput";
@@ -1163,6 +1168,7 @@ const _bC = "blueprintCategory";
1163
1168
  const _bNG = "businessNameGeneration";
1164
1169
  const _bT = "beforeTimestamp";
1165
1170
  const _bV = "blueprintVersion";
1171
+ const _bu = "bucket";
1166
1172
  const _c = "client";
1167
1173
  const _cA = "createdAt";
1168
1174
  const _cAC = "customAuthenticationCredentials";
@@ -1329,6 +1335,7 @@ const _fE = "filterExpressions";
1329
1335
  const _fF = "fileFormat";
1330
1336
  const _fI = "filterIds";
1331
1337
  const _fIo = "formsInput";
1338
+ const _fL = "fileList";
1332
1339
  const _fN = "formNames";
1333
1340
  const _fNi = "fileName";
1334
1341
  const _fNir = "firstName";
@@ -1660,6 +1667,7 @@ const _sD = "shortDescription";
1660
1667
  const _sDC = "skipDeletionCheck";
1661
1668
  const _sDPC = "successfullyDeletedProjectCount";
1662
1669
  const _sEP = "sparkEmrProperties";
1670
+ const _sF = "s3Files";
1663
1671
  const _sGCM = "subscriptionGrantCreationMode";
1664
1672
  const _sGI = "securityGroupIds";
1665
1673
  const _sGIL = "securityGroupIdList";
@@ -1899,6 +1907,8 @@ var ProjectName = [0, n0, _PN, 8, 0];
1899
1907
  var ProjectProfileName = [0, n0, _PPN, 8, 0];
1900
1908
  var RequestReason = [0, n0, _RR, 8, 0];
1901
1909
  var RuleName = [0, n0, _RN, 8, 0];
1910
+ var S3BucketName = [0, n0, _SBN, 8, 0];
1911
+ var S3ObjectKey = [0, n0, _SOK, 8, 0];
1902
1912
  var S3SourceLocation = [0, n0, _SSL, 8, 0];
1903
1913
  var ShortDescription = [0, n0, _SD, 8, 0];
1904
1914
  var SubscriptionTargetName = [0, n0, _STN, 8, 0];
@@ -4620,6 +4630,16 @@ export var S3Destination$ = [3, n0, _SDe,
4620
4630
  [_u],
4621
4631
  [[() => NotebookS3Uri, 0]]
4622
4632
  ];
4633
+ export var S3File$ = [3, n0, _SF,
4634
+ 0,
4635
+ [_k],
4636
+ [[() => S3ObjectKey, 0]], 1
4637
+ ];
4638
+ export var S3FilesLocation$ = [3, n0, _SFL,
4639
+ 0,
4640
+ [_bu, _fL],
4641
+ [[() => S3BucketName, 0], [() => S3FileList, 0]], 2
4642
+ ];
4623
4643
  export var S3PropertiesInput$ = [3, n0, _SPI,
4624
4644
  0,
4625
4645
  [_sU, _sAGLI, _rSAGL],
@@ -4802,13 +4822,13 @@ export var StartNotebookExportOutput$ = [3, n0, _SNEO,
4802
4822
  ];
4803
4823
  export var StartNotebookImportInput$ = [3, n0, _SNII,
4804
4824
  0,
4805
- [_dI, _oPIw, _sLo, _n, _de, _cT],
4806
- [[0, 1], 0, [() => SourceLocation$, 0], [() => NotebookName, 0], [() => Description, 0], [0, 4]], 4
4825
+ [_dI, _oPIw, _sLo, _n, _de, _ty, _cT],
4826
+ [[0, 1], 0, [() => SourceLocation$, 0], [() => NotebookName, 0], [() => Description, 0], 0, [0, 4]], 4
4807
4827
  ];
4808
4828
  export var StartNotebookImportOutput$ = [3, n0, _SNIO,
4809
4829
  0,
4810
- [_nI, _st, _dIo, _oPI, _n, _de, _sLo, _cA, _cB],
4811
- [0, 0, 0, 0, [() => NotebookName, 0], [() => Description, 0], [() => SourceLocation$, 0], 4, 0]
4830
+ [_nI, _st, _dIo, _oPI, _n, _de, _ty, _sLo, _cA, _cB],
4831
+ [0, 0, 0, 0, [() => NotebookName, 0], [() => Description, 0], 0, [() => SourceLocation$, 0], 4, 0]
4812
4832
  ];
4813
4833
  export var StartNotebookRunInput$ = [3, n0, _SNRI,
4814
4834
  0,
@@ -5597,6 +5617,10 @@ var RuleSummaries = [1, n0, _RSul,
5597
5617
  0, [() => RuleSummary$,
5598
5618
  0]
5599
5619
  ];
5620
+ var S3FileList = [1, n0, _SFLi,
5621
+ 0, [() => S3File$,
5622
+ 0]
5623
+ ];
5600
5624
  var S3LocationList = 64 | 0;
5601
5625
  var S3Permissions = 64 | 0;
5602
5626
  var SearchInList = [1, n0, _SIL,
@@ -5942,8 +5966,8 @@ export var SelfGrantStatusOutput$ = [4, n0, _SGSO,
5942
5966
  ];
5943
5967
  export var SourceLocation$ = [4, n0, _SLo,
5944
5968
  0,
5945
- [_s_],
5946
- [[() => S3SourceLocation, 0]]
5969
+ [_s_, _sF],
5970
+ [[() => S3SourceLocation, 0], [() => S3FilesLocation$, 0]]
5947
5971
  ];
5948
5972
  export var SubscribedListingItem$ = [4, n0, _SLIubs,
5949
5973
  0,
@@ -38,9 +38,18 @@ declare const StartNotebookImportCommand_base: {
38
38
  * owningProjectIdentifier: "STRING_VALUE", // required
39
39
  * sourceLocation: { // SourceLocation Union: only one key present
40
40
  * s3: "STRING_VALUE",
41
+ * s3Files: { // S3FilesLocation
42
+ * bucket: "STRING_VALUE", // required
43
+ * fileList: [ // S3FileList // required
44
+ * { // S3File
45
+ * key: "STRING_VALUE", // required
46
+ * },
47
+ * ],
48
+ * },
41
49
  * },
42
50
  * name: "STRING_VALUE", // required
43
51
  * description: "STRING_VALUE",
52
+ * type: "DATA" || "SQL",
44
53
  * clientToken: "STRING_VALUE",
45
54
  * };
46
55
  * const command = new StartNotebookImportCommand(input);
@@ -52,8 +61,17 @@ declare const StartNotebookImportCommand_base: {
52
61
  * // owningProjectId: "STRING_VALUE",
53
62
  * // name: "STRING_VALUE",
54
63
  * // description: "STRING_VALUE",
64
+ * // type: "DATA" || "SQL",
55
65
  * // sourceLocation: { // SourceLocation Union: only one key present
56
66
  * // s3: "STRING_VALUE",
67
+ * // s3Files: { // S3FilesLocation
68
+ * // bucket: "STRING_VALUE", // required
69
+ * // fileList: [ // S3FileList // required
70
+ * // { // S3File
71
+ * // key: "STRING_VALUE", // required
72
+ * // },
73
+ * // ],
74
+ * // },
57
75
  * // },
58
76
  * // createdAt: new Date("TIMESTAMP"),
59
77
  * // createdBy: "STRING_VALUE",
@@ -38,6 +38,14 @@ declare const StartNotebookSyncCommand_base: {
38
38
  * owningProjectIdentifier: "STRING_VALUE", // required
39
39
  * sourceLocation: { // SourceLocation Union: only one key present
40
40
  * s3: "STRING_VALUE",
41
+ * s3Files: { // S3FilesLocation
42
+ * bucket: "STRING_VALUE", // required
43
+ * fileList: [ // S3FileList // required
44
+ * { // S3File
45
+ * key: "STRING_VALUE", // required
46
+ * },
47
+ * ],
48
+ * },
41
49
  * },
42
50
  * gitMetadata: { // GitMetadata
43
51
  * connectionId: "STRING_VALUE", // required
@@ -62,6 +70,14 @@ declare const StartNotebookSyncCommand_base: {
62
70
  * // owningProjectId: "STRING_VALUE",
63
71
  * // sourceLocation: { // SourceLocation Union: only one key present
64
72
  * // s3: "STRING_VALUE",
73
+ * // s3Files: { // S3FilesLocation
74
+ * // bucket: "STRING_VALUE", // required
75
+ * // fileList: [ // S3FileList // required
76
+ * // { // S3File
77
+ * // key: "STRING_VALUE", // required
78
+ * // },
79
+ * // ],
80
+ * // },
65
81
  * // },
66
82
  * // gitMetadata: { // GitMetadata
67
83
  * // connectionId: "STRING_VALUE", // required
@@ -1,4 +1,4 @@
1
- import type { BlueprintCategory, ConnectionScope, ConnectionType, DataZoneEntityType, EnvironmentStatus, FileFormat, FilterOperator, FilterStatus, FormTypeStatus, GlossaryStatus, GlossaryTermStatus, GlossaryUsageRestriction, GraphEntityType, GroupProfileStatus, GroupSearchType, InventorySearchScope, ManagedPolicyType, NetworkAccessType, NotebookExportStatus, NotebookRunStatus, NotebookStatus, NotifyOnState, ProjectStatus, RejectRuleBehavior, RelationDirection, RelationType, ResolutionStrategy, RuleAction, RuleTargetType, RuleType, SearchOutputAdditionalAttribute, SortOrder, Status, SubscriptionGrantCreationMode, SubscriptionGrantOverallStatus, SubscriptionGrantStatus, SubscriptionRequestStatus, SubscriptionStatus, TargetEntityType, TimeSeriesEntityType, TriggerSourceType, TypesSearchScope, UserProfileStatus, UserProfileType, UserSearchType } from "./enums";
1
+ import type { BlueprintCategory, ConnectionScope, ConnectionType, DataZoneEntityType, EnvironmentStatus, FileFormat, FilterOperator, FilterStatus, FormTypeStatus, GlossaryStatus, GlossaryTermStatus, GlossaryUsageRestriction, GraphEntityType, GroupProfileStatus, GroupSearchType, InventorySearchScope, ManagedPolicyType, NetworkAccessType, NotebookExportStatus, NotebookRunStatus, NotebookStatus, NotebookType, NotifyOnState, ProjectStatus, RejectRuleBehavior, RelationDirection, RelationType, ResolutionStrategy, RuleAction, RuleTargetType, RuleType, SearchOutputAdditionalAttribute, SortOrder, Status, SubscriptionGrantCreationMode, SubscriptionGrantOverallStatus, SubscriptionGrantStatus, SubscriptionRequestStatus, SubscriptionStatus, TargetEntityType, TimeSeriesEntityType, TriggerSourceType, TypesSearchScope, UserProfileStatus, UserProfileType, UserSearchType } from "./enums";
2
2
  import type { AccountSource, ActionParameters, AdditionalAttributes, AggregationListItem, AggregationOutput, AssetItem, AssetListingItem, AssetTypeItem, AwsLocation, CellInformation, ColumnFilterConfiguration, ComputeConfig, ConfigurableEnvironmentAction, Configuration, ConnectionPropertiesOutput, ConnectionPropertiesPatch, CustomParameter, Deployment, DeploymentProperties, EnvironmentConfig, EnvironmentConfiguration, EnvironmentConfigurationUserParameter, EnvironmentDeploymentDetails, EnvironmentParameter, FormEntryOutput, FormOutput, GitMetadata, MatchRationaleItem, Model, OwnerProperties, PhysicalEndpoint, PolicyGrantPrincipal, ProjectDeletionError, ProvisioningProperties, Resource, ResourceTag, ResourceTagParameter, RowFilterExpression, SubscribedListing, SubscribedPrincipal, TermRelations, UserProfileDetails } from "./models_0";
3
3
  import type { DataProductListingItem, DataProductResultItem, EncryptionConfiguration, FailureCause, GrantedEntity, Import, NotebookExportError, RuleDetail, RuleScope, RuleTarget, SubscribedAsset, SubscriptionTargetForm, TimeSeriesDataPointFormOutput } from "./models_1";
4
4
  /**
@@ -2501,11 +2501,38 @@ export interface SearchUserProfilesOutput {
2501
2501
  */
2502
2502
  nextToken?: string | undefined;
2503
2503
  }
2504
+ /**
2505
+ * <p>A single Amazon Simple Storage Service object to import as a notebook cell.</p>
2506
+ * @public
2507
+ */
2508
+ export interface S3File {
2509
+ /**
2510
+ * <p>The key of the Amazon Simple Storage Service object to import.</p>
2511
+ * @public
2512
+ */
2513
+ key: string | undefined;
2514
+ }
2515
+ /**
2516
+ * <p>The Amazon Simple Storage Service objects to import as the cells of a notebook, specified as a bucket and an ordered list of object keys.</p>
2517
+ * @public
2518
+ */
2519
+ export interface S3FilesLocation {
2520
+ /**
2521
+ * <p>The name of the Amazon Simple Storage Service bucket that contains the files to import.</p>
2522
+ * @public
2523
+ */
2524
+ bucket: string | undefined;
2525
+ /**
2526
+ * <p>The files to import. Cells are created in the order in which you list the files. You can specify between 1 and 100 files.</p>
2527
+ * @public
2528
+ */
2529
+ fileList: S3File[] | undefined;
2530
+ }
2504
2531
  /**
2505
2532
  * <p>The source location for a notebook import in Amazon SageMaker Unified Studio.</p>
2506
2533
  * @public
2507
2534
  */
2508
- export type SourceLocation = SourceLocation.S3Member | SourceLocation.$UnknownMember;
2535
+ export type SourceLocation = SourceLocation.S3Member | SourceLocation.S3FilesMember | SourceLocation.$UnknownMember;
2509
2536
  /**
2510
2537
  * @public
2511
2538
  */
@@ -2516,6 +2543,16 @@ export declare namespace SourceLocation {
2516
2543
  */
2517
2544
  interface S3Member {
2518
2545
  s3: string;
2546
+ s3Files?: never;
2547
+ $unknown?: never;
2548
+ }
2549
+ /**
2550
+ * <p>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.</p>
2551
+ * @public
2552
+ */
2553
+ interface S3FilesMember {
2554
+ s3?: never;
2555
+ s3Files: S3FilesLocation;
2519
2556
  $unknown?: never;
2520
2557
  }
2521
2558
  /**
@@ -2523,6 +2560,7 @@ export declare namespace SourceLocation {
2523
2560
  */
2524
2561
  interface $UnknownMember {
2525
2562
  s3?: never;
2563
+ s3Files?: never;
2526
2564
  $unknown: [string, any];
2527
2565
  }
2528
2566
  /**
@@ -2531,6 +2569,7 @@ export declare namespace SourceLocation {
2531
2569
  */
2532
2570
  interface Visitor<T> {
2533
2571
  s3: (value: string) => T;
2572
+ s3Files: (value: S3FilesLocation) => T;
2534
2573
  _: (name: string, value: any) => T;
2535
2574
  }
2536
2575
  }
@@ -2549,7 +2588,7 @@ export interface StartNotebookImportInput {
2549
2588
  */
2550
2589
  owningProjectIdentifier: string | undefined;
2551
2590
  /**
2552
- * <p>The source location of the notebook to import. This specifies the Amazon Simple Storage Service URI of the notebook file.</p>
2591
+ * <p>The source location of the notebook to import. Specify either a single Amazon Simple Storage Service URI, or a list of objects to import as the notebook's cells.</p>
2553
2592
  * @public
2554
2593
  */
2555
2594
  sourceLocation: SourceLocation | undefined;
@@ -2563,6 +2602,11 @@ export interface StartNotebookImportInput {
2563
2602
  * @public
2564
2603
  */
2565
2604
  description?: string | undefined;
2605
+ /**
2606
+ * <p>The type of the notebook to import. If not specified, defaults to <code>DATA</code>.</p>
2607
+ * @public
2608
+ */
2609
+ type?: NotebookType | undefined;
2566
2610
  /**
2567
2611
  * <p>A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.</p>
2568
2612
  * @public
@@ -2603,6 +2647,11 @@ export interface StartNotebookImportOutput {
2603
2647
  * @public
2604
2648
  */
2605
2649
  description?: string | undefined;
2650
+ /**
2651
+ * <p>The type of the imported notebook.</p>
2652
+ * @public
2653
+ */
2654
+ type?: NotebookType | undefined;
2606
2655
  /**
2607
2656
  * <p>The source location from which the notebook was imported.</p>
2608
2657
  * @public
@@ -558,6 +558,8 @@ export declare var RuleScope$: StaticStructureSchema;
558
558
  export declare var RuleSummary$: StaticStructureSchema;
559
559
  export declare var RunStatisticsForAssets$: StaticStructureSchema;
560
560
  export declare var S3Destination$: StaticStructureSchema;
561
+ export declare var S3File$: StaticStructureSchema;
562
+ export declare var S3FilesLocation$: StaticStructureSchema;
561
563
  export declare var S3PropertiesInput$: StaticStructureSchema;
562
564
  export declare var S3PropertiesOutput$: StaticStructureSchema;
563
565
  export declare var S3PropertiesPatch$: StaticStructureSchema;
@@ -20,6 +20,7 @@ import {
20
20
  NotebookExportStatus,
21
21
  NotebookRunStatus,
22
22
  NotebookStatus,
23
+ NotebookType,
23
24
  NotifyOnState,
24
25
  ProjectStatus,
25
26
  RejectRuleBehavior,
@@ -757,18 +758,36 @@ export interface SearchUserProfilesOutput {
757
758
  items?: UserProfileSummary[] | undefined;
758
759
  nextToken?: string | undefined;
759
760
  }
760
- export type SourceLocation = SourceLocation.S3Member | SourceLocation.$UnknownMember;
761
+ export interface S3File {
762
+ key: string | undefined;
763
+ }
764
+ export interface S3FilesLocation {
765
+ bucket: string | undefined;
766
+ fileList: S3File[] | undefined;
767
+ }
768
+ export type SourceLocation =
769
+ | SourceLocation.S3Member
770
+ | SourceLocation.S3FilesMember
771
+ | SourceLocation.$UnknownMember;
761
772
  export declare namespace SourceLocation {
762
773
  interface S3Member {
763
774
  s3: string;
775
+ s3Files?: never;
776
+ $unknown?: never;
777
+ }
778
+ interface S3FilesMember {
779
+ s3?: never;
780
+ s3Files: S3FilesLocation;
764
781
  $unknown?: never;
765
782
  }
766
783
  interface $UnknownMember {
767
784
  s3?: never;
785
+ s3Files?: never;
768
786
  $unknown: [string, any];
769
787
  }
770
788
  interface Visitor<T> {
771
789
  s3: (value: string) => T;
790
+ s3Files: (value: S3FilesLocation) => T;
772
791
  _: (name: string, value: any) => T;
773
792
  }
774
793
  }
@@ -778,6 +797,7 @@ export interface StartNotebookImportInput {
778
797
  sourceLocation: SourceLocation | undefined;
779
798
  name: string | undefined;
780
799
  description?: string | undefined;
800
+ type?: NotebookType | undefined;
781
801
  clientToken?: string | undefined;
782
802
  }
783
803
  export interface StartNotebookImportOutput {
@@ -787,6 +807,7 @@ export interface StartNotebookImportOutput {
787
807
  owningProjectId?: string | undefined;
788
808
  name?: string | undefined;
789
809
  description?: string | undefined;
810
+ type?: NotebookType | undefined;
790
811
  sourceLocation?: SourceLocation | undefined;
791
812
  createdAt?: Date | undefined;
792
813
  createdBy?: string | undefined;
@@ -558,6 +558,8 @@ export declare var RuleScope$: StaticStructureSchema;
558
558
  export declare var RuleSummary$: StaticStructureSchema;
559
559
  export declare var RunStatisticsForAssets$: StaticStructureSchema;
560
560
  export declare var S3Destination$: StaticStructureSchema;
561
+ export declare var S3File$: StaticStructureSchema;
562
+ export declare var S3FilesLocation$: StaticStructureSchema;
561
563
  export declare var S3PropertiesInput$: StaticStructureSchema;
562
564
  export declare var S3PropertiesOutput$: StaticStructureSchema;
563
565
  export declare var S3PropertiesPatch$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-datazone",
3
- "version": "3.1146.0",
3
+ "version": "3.1148.0",
4
4
  "description": "AWS SDK for JavaScript Datazone Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-datazone",
6
6
  "license": "Apache-2.0",