@aws-sdk/client-datazone 3.1147.0 → 3.1149.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.1146.0";
70
+ var version = "3.1148.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -122,6 +122,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
122
122
  customEndpointFunctions.aws = awsEndpointFunctions;
123
123
 
124
124
  class DataZoneServiceException extends ServiceException {
125
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.datazone#DataZoneServiceException";
125
126
  constructor(options) {
126
127
  super(options);
127
128
  Object.setPrototypeOf(this, DataZoneServiceException.prototype);
@@ -129,6 +130,7 @@ class DataZoneServiceException extends ServiceException {
129
130
  }
130
131
 
131
132
  class AccessDeniedException extends DataZoneServiceException {
133
+ static shapeId = "com.amazonaws.datazone#AccessDeniedException";
132
134
  name = "AccessDeniedException";
133
135
  $fault = "client";
134
136
  constructor(opts) {
@@ -141,6 +143,7 @@ class AccessDeniedException extends DataZoneServiceException {
141
143
  }
142
144
  }
143
145
  class ConflictException extends DataZoneServiceException {
146
+ static shapeId = "com.amazonaws.datazone#ConflictException";
144
147
  name = "ConflictException";
145
148
  $fault = "client";
146
149
  constructor(opts) {
@@ -153,6 +156,7 @@ class ConflictException extends DataZoneServiceException {
153
156
  }
154
157
  }
155
158
  class InternalServerException extends DataZoneServiceException {
159
+ static shapeId = "com.amazonaws.datazone#InternalServerException";
156
160
  name = "InternalServerException";
157
161
  $fault = "server";
158
162
  $retryable = {};
@@ -166,6 +170,7 @@ class InternalServerException extends DataZoneServiceException {
166
170
  }
167
171
  }
168
172
  class ResourceNotFoundException extends DataZoneServiceException {
173
+ static shapeId = "com.amazonaws.datazone#ResourceNotFoundException";
169
174
  name = "ResourceNotFoundException";
170
175
  $fault = "client";
171
176
  constructor(opts) {
@@ -178,6 +183,7 @@ class ResourceNotFoundException extends DataZoneServiceException {
178
183
  }
179
184
  }
180
185
  class ThrottlingException extends DataZoneServiceException {
186
+ static shapeId = "com.amazonaws.datazone#ThrottlingException";
181
187
  name = "ThrottlingException";
182
188
  $fault = "client";
183
189
  $retryable = {};
@@ -191,6 +197,7 @@ class ThrottlingException extends DataZoneServiceException {
191
197
  }
192
198
  }
193
199
  class UnauthorizedException extends DataZoneServiceException {
200
+ static shapeId = "com.amazonaws.datazone#UnauthorizedException";
194
201
  name = "UnauthorizedException";
195
202
  $fault = "client";
196
203
  constructor(opts) {
@@ -203,6 +210,7 @@ class UnauthorizedException extends DataZoneServiceException {
203
210
  }
204
211
  }
205
212
  class ValidationException extends DataZoneServiceException {
213
+ static shapeId = "com.amazonaws.datazone#ValidationException";
206
214
  name = "ValidationException";
207
215
  $fault = "client";
208
216
  constructor(opts) {
@@ -215,6 +223,7 @@ class ValidationException extends DataZoneServiceException {
215
223
  }
216
224
  }
217
225
  class ServiceQuotaExceededException extends DataZoneServiceException {
226
+ static shapeId = "com.amazonaws.datazone#ServiceQuotaExceededException";
218
227
  name = "ServiceQuotaExceededException";
219
228
  $fault = "client";
220
229
  constructor(opts) {
@@ -1113,6 +1122,7 @@ const _S = "Subscriptions";
1113
1122
  const _SA = "SubscribedAsset";
1114
1123
  const _SAL = "SubscribedAssetListing";
1115
1124
  const _SAu = "SubscribedAssets";
1125
+ const _SBN = "S3BucketName";
1116
1126
  const _SC = "ScheduleConfiguration";
1117
1127
  const _SCt = "StorageConfig";
1118
1128
  const _SD = "ShortDescription";
@@ -1123,6 +1133,9 @@ const _SDe = "S3Destination";
1123
1133
  const _SEPI = "SparkEmrPropertiesInput";
1124
1134
  const _SEPO = "SparkEmrPropertiesOutput";
1125
1135
  const _SEPP = "SparkEmrPropertiesPatch";
1136
+ const _SF = "S3File";
1137
+ const _SFL = "S3FilesLocation";
1138
+ const _SFLi = "S3FileList";
1126
1139
  const _SG = "SubscribedGroup";
1127
1140
  const _SGA = "SparkGlueArgs";
1128
1141
  const _SGI = "SubscribedGroupInput";
@@ -1173,6 +1186,7 @@ const _SNS = "StartNotebookSync";
1173
1186
  const _SNSI = "StartNotebookSyncInput";
1174
1187
  const _SNSO = "StartNotebookSyncOutput";
1175
1188
  const _SO = "SearchOutput";
1189
+ const _SOK = "S3ObjectKey";
1176
1190
  const _SP = "SubscribedProject";
1177
1191
  const _SPI = "S3PropertiesInput";
1178
1192
  const _SPIn = "SnowflakePropertiesInput";
@@ -1392,6 +1406,7 @@ const _bC = "blueprintCategory";
1392
1406
  const _bNG = "businessNameGeneration";
1393
1407
  const _bT = "beforeTimestamp";
1394
1408
  const _bV = "blueprintVersion";
1409
+ const _bu = "bucket";
1395
1410
  const _c = "client";
1396
1411
  const _cA = "createdAt";
1397
1412
  const _cAC = "customAuthenticationCredentials";
@@ -1558,6 +1573,7 @@ const _fE = "filterExpressions";
1558
1573
  const _fF = "fileFormat";
1559
1574
  const _fI = "filterIds";
1560
1575
  const _fIo = "formsInput";
1576
+ const _fL = "fileList";
1561
1577
  const _fN = "formNames";
1562
1578
  const _fNi = "fileName";
1563
1579
  const _fNir = "firstName";
@@ -1889,6 +1905,7 @@ const _sD = "shortDescription";
1889
1905
  const _sDC = "skipDeletionCheck";
1890
1906
  const _sDPC = "successfullyDeletedProjectCount";
1891
1907
  const _sEP = "sparkEmrProperties";
1908
+ const _sF = "s3Files";
1892
1909
  const _sGCM = "subscriptionGrantCreationMode";
1893
1910
  const _sGI = "securityGroupIds";
1894
1911
  const _sGIL = "securityGroupIdList";
@@ -2125,6 +2142,8 @@ var ProjectName = [0, n0, _PN, 8, 0];
2125
2142
  var ProjectProfileName = [0, n0, _PPN, 8, 0];
2126
2143
  var RequestReason = [0, n0, _RR, 8, 0];
2127
2144
  var RuleName = [0, n0, _RN, 8, 0];
2145
+ var S3BucketName = [0, n0, _SBN, 8, 0];
2146
+ var S3ObjectKey = [0, n0, _SOK, 8, 0];
2128
2147
  var S3SourceLocation = [0, n0, _SSL, 8, 0];
2129
2148
  var ShortDescription = [0, n0, _SD, 8, 0];
2130
2149
  var SubscriptionTargetName = [0, n0, _STN, 8, 0];
@@ -4846,6 +4865,16 @@ var S3Destination$ = [3, n0, _SDe,
4846
4865
  [_u],
4847
4866
  [[() => NotebookS3Uri, 0]]
4848
4867
  ];
4868
+ var S3File$ = [3, n0, _SF,
4869
+ 0,
4870
+ [_k],
4871
+ [[() => S3ObjectKey, 0]], 1
4872
+ ];
4873
+ var S3FilesLocation$ = [3, n0, _SFL,
4874
+ 0,
4875
+ [_bu, _fL],
4876
+ [[() => S3BucketName, 0], [() => S3FileList, 0]], 2
4877
+ ];
4849
4878
  var S3PropertiesInput$ = [3, n0, _SPI,
4850
4879
  0,
4851
4880
  [_sU, _sAGLI, _rSAGL],
@@ -5028,13 +5057,13 @@ var StartNotebookExportOutput$ = [3, n0, _SNEO,
5028
5057
  ];
5029
5058
  var StartNotebookImportInput$ = [3, n0, _SNII,
5030
5059
  0,
5031
- [_dI, _oPIw, _sLo, _n, _de, _cT],
5032
- [[0, 1], 0, [() => SourceLocation$, 0], [() => NotebookName, 0], [() => Description, 0], [0, 4]], 4
5060
+ [_dI, _oPIw, _sLo, _n, _de, _ty, _cT],
5061
+ [[0, 1], 0, [() => SourceLocation$, 0], [() => NotebookName, 0], [() => Description, 0], 0, [0, 4]], 4
5033
5062
  ];
5034
5063
  var StartNotebookImportOutput$ = [3, n0, _SNIO,
5035
5064
  0,
5036
- [_nI, _st, _dIo, _oPI, _n, _de, _sLo, _cA, _cB],
5037
- [0, 0, 0, 0, [() => NotebookName, 0], [() => Description, 0], [() => SourceLocation$, 0], 4, 0]
5065
+ [_nI, _st, _dIo, _oPI, _n, _de, _ty, _sLo, _cA, _cB],
5066
+ [0, 0, 0, 0, [() => NotebookName, 0], [() => Description, 0], 0, [() => SourceLocation$, 0], 4, 0]
5038
5067
  ];
5039
5068
  var StartNotebookRunInput$ = [3, n0, _SNRI,
5040
5069
  0,
@@ -5793,6 +5822,10 @@ var RuleSummaries = [1, n0, _RSul,
5793
5822
  0, [() => RuleSummary$,
5794
5823
  0]
5795
5824
  ];
5825
+ var S3FileList = [1, n0, _SFLi,
5826
+ 0, [() => S3File$,
5827
+ 0]
5828
+ ];
5796
5829
  var SearchInList = [1, n0, _SIL,
5797
5830
  0, () => SearchInItem$
5798
5831
  ];
@@ -6113,8 +6146,8 @@ var SelfGrantStatusOutput$ = [4, n0, _SGSO,
6113
6146
  ];
6114
6147
  var SourceLocation$ = [4, n0, _SLo,
6115
6148
  0,
6116
- [_s_],
6117
- [[() => S3SourceLocation, 0]]
6149
+ [_s_, _sF],
6150
+ [[() => S3SourceLocation, 0], [() => S3FilesLocation$, 0]]
6118
6151
  ];
6119
6152
  var SubscribedListingItem$ = [4, n0, _SLIubs,
6120
6153
  0,
@@ -9390,6 +9423,8 @@ exports.RuleTargetType = RuleTargetType;
9390
9423
  exports.RuleType = RuleType;
9391
9424
  exports.RunStatisticsForAssets$ = RunStatisticsForAssets$;
9392
9425
  exports.S3Destination$ = S3Destination$;
9426
+ exports.S3File$ = S3File$;
9427
+ exports.S3FilesLocation$ = S3FilesLocation$;
9393
9428
  exports.S3Permission = S3Permission;
9394
9429
  exports.S3PropertiesInput$ = S3PropertiesInput$;
9395
9430
  exports.S3PropertiesOutput$ = S3PropertiesOutput$;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class DataZoneServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.datazone#DataZoneServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, DataZoneServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { DataZoneServiceException as __BaseException } from "./DataZoneServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.datazone#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class ConflictException extends __BaseException {
16
+ static shapeId = "com.amazonaws.datazone#ConflictException";
15
17
  name = "ConflictException";
16
18
  $fault = "client";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class ConflictException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class InternalServerException extends __BaseException {
29
+ static shapeId = "com.amazonaws.datazone#InternalServerException";
27
30
  name = "InternalServerException";
28
31
  $fault = "server";
29
32
  $retryable = {};
@@ -37,6 +40,7 @@ export class InternalServerException extends __BaseException {
37
40
  }
38
41
  }
39
42
  export class ResourceNotFoundException extends __BaseException {
43
+ static shapeId = "com.amazonaws.datazone#ResourceNotFoundException";
40
44
  name = "ResourceNotFoundException";
41
45
  $fault = "client";
42
46
  constructor(opts) {
@@ -49,6 +53,7 @@ export class ResourceNotFoundException extends __BaseException {
49
53
  }
50
54
  }
51
55
  export class ThrottlingException extends __BaseException {
56
+ static shapeId = "com.amazonaws.datazone#ThrottlingException";
52
57
  name = "ThrottlingException";
53
58
  $fault = "client";
54
59
  $retryable = {};
@@ -62,6 +67,7 @@ export class ThrottlingException extends __BaseException {
62
67
  }
63
68
  }
64
69
  export class UnauthorizedException extends __BaseException {
70
+ static shapeId = "com.amazonaws.datazone#UnauthorizedException";
65
71
  name = "UnauthorizedException";
66
72
  $fault = "client";
67
73
  constructor(opts) {
@@ -74,6 +80,7 @@ export class UnauthorizedException extends __BaseException {
74
80
  }
75
81
  }
76
82
  export class ValidationException extends __BaseException {
83
+ static shapeId = "com.amazonaws.datazone#ValidationException";
77
84
  name = "ValidationException";
78
85
  $fault = "client";
79
86
  constructor(opts) {
@@ -86,6 +93,7 @@ export class ValidationException extends __BaseException {
86
93
  }
87
94
  }
88
95
  export class ServiceQuotaExceededException extends __BaseException {
96
+ static shapeId = "com.amazonaws.datazone#ServiceQuotaExceededException";
89
97
  name = "ServiceQuotaExceededException";
90
98
  $fault = "client";
91
99
  constructor(opts) {
@@ -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
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from DataZone service.
8
8
  */
9
9
  export declare class DataZoneServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { DataZoneServiceException as __BaseException } from "./DataZoneServiceEx
5
5
  * @public
6
6
  */
7
7
  export declare class AccessDeniedException extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "AccessDeniedException";
9
10
  readonly $fault: "client";
10
11
  /**
@@ -17,6 +18,7 @@ export declare class AccessDeniedException extends __BaseException {
17
18
  * @public
18
19
  */
19
20
  export declare class ConflictException extends __BaseException {
21
+ static readonly shapeId: string;
20
22
  readonly name: "ConflictException";
21
23
  readonly $fault: "client";
22
24
  /**
@@ -29,6 +31,7 @@ export declare class ConflictException extends __BaseException {
29
31
  * @public
30
32
  */
31
33
  export declare class InternalServerException extends __BaseException {
34
+ static readonly shapeId: string;
32
35
  readonly name: "InternalServerException";
33
36
  readonly $fault: "server";
34
37
  $retryable: {};
@@ -42,6 +45,7 @@ export declare class InternalServerException extends __BaseException {
42
45
  * @public
43
46
  */
44
47
  export declare class ResourceNotFoundException extends __BaseException {
48
+ static readonly shapeId: string;
45
49
  readonly name: "ResourceNotFoundException";
46
50
  readonly $fault: "client";
47
51
  /**
@@ -54,6 +58,7 @@ export declare class ResourceNotFoundException extends __BaseException {
54
58
  * @public
55
59
  */
56
60
  export declare class ThrottlingException extends __BaseException {
61
+ static readonly shapeId: string;
57
62
  readonly name: "ThrottlingException";
58
63
  readonly $fault: "client";
59
64
  $retryable: {};
@@ -67,6 +72,7 @@ export declare class ThrottlingException extends __BaseException {
67
72
  * @public
68
73
  */
69
74
  export declare class UnauthorizedException extends __BaseException {
75
+ static readonly shapeId: string;
70
76
  readonly name: "UnauthorizedException";
71
77
  readonly $fault: "client";
72
78
  /**
@@ -79,6 +85,7 @@ export declare class UnauthorizedException extends __BaseException {
79
85
  * @public
80
86
  */
81
87
  export declare class ValidationException extends __BaseException {
88
+ static readonly shapeId: string;
82
89
  readonly name: "ValidationException";
83
90
  readonly $fault: "client";
84
91
  /**
@@ -91,6 +98,7 @@ export declare class ValidationException extends __BaseException {
91
98
  * @public
92
99
  */
93
100
  export declare class ServiceQuotaExceededException extends __BaseException {
101
+ static readonly shapeId: string;
94
102
  readonly name: "ServiceQuotaExceededException";
95
103
  readonly $fault: "client";
96
104
  /**
@@ -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;
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class DataZoneServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,43 +1,51 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { DataZoneServiceException as __BaseException } from "./DataZoneServiceException";
3
3
  export declare class AccessDeniedException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "AccessDeniedException";
5
6
  readonly $fault: "client";
6
7
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
8
  }
8
9
  export declare class ConflictException extends __BaseException {
10
+ static readonly shapeId: string;
9
11
  readonly name: "ConflictException";
10
12
  readonly $fault: "client";
11
13
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
12
14
  }
13
15
  export declare class InternalServerException extends __BaseException {
16
+ static readonly shapeId: string;
14
17
  readonly name: "InternalServerException";
15
18
  readonly $fault: "server";
16
19
  $retryable: {};
17
20
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
18
21
  }
19
22
  export declare class ResourceNotFoundException extends __BaseException {
23
+ static readonly shapeId: string;
20
24
  readonly name: "ResourceNotFoundException";
21
25
  readonly $fault: "client";
22
26
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
23
27
  }
24
28
  export declare class ThrottlingException extends __BaseException {
29
+ static readonly shapeId: string;
25
30
  readonly name: "ThrottlingException";
26
31
  readonly $fault: "client";
27
32
  $retryable: {};
28
33
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
29
34
  }
30
35
  export declare class UnauthorizedException extends __BaseException {
36
+ static readonly shapeId: string;
31
37
  readonly name: "UnauthorizedException";
32
38
  readonly $fault: "client";
33
39
  constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
34
40
  }
35
41
  export declare class ValidationException extends __BaseException {
42
+ static readonly shapeId: string;
36
43
  readonly name: "ValidationException";
37
44
  readonly $fault: "client";
38
45
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
39
46
  }
40
47
  export declare class ServiceQuotaExceededException extends __BaseException {
48
+ static readonly shapeId: string;
41
49
  readonly name: "ServiceQuotaExceededException";
42
50
  readonly $fault: "client";
43
51
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
@@ -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.1147.0",
3
+ "version": "3.1149.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",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.2",
50
+ "@aws-sdk/credential-provider-node": "^3.972.85",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",