@aws-sdk/client-datazone 3.1142.0 → 3.1144.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.1141.0";
70
+ var version = "3.1143.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -970,6 +970,7 @@ const _Mem = "Member";
970
970
  const _Mo = "Model";
971
971
  const _N = "Name";
972
972
  const _NC = "NetworkConfig";
973
+ const _NCo = "NotificationConfig";
973
974
  const _NE = "NotebookError";
974
975
  const _NEE = "NotebookExportError";
975
976
  const _NETE = "NotEqualToExpression";
@@ -1727,13 +1728,15 @@ const _mo = "model";
1727
1728
  const _n = "name";
1728
1729
  const _nAT = "networkAccessType";
1729
1730
  const _nC = "networkConfiguration";
1731
+ const _nCo = "notificationConfiguration";
1730
1732
  const _nET = "notEqualTo";
1731
1733
  const _nI = "notebookId";
1732
1734
  const _nIo = "notebookIdentifier";
1733
1735
  const _nIot = "notIn";
1734
1736
  const _nL = "notLike";
1735
- const _nO = "newOwner";
1737
+ const _nO = "notifyOn";
1736
1738
  const _nOW = "numberOfWorkers";
1739
+ const _nOe = "newOwner";
1737
1740
  const _nQF = "numQueriesFailed";
1738
1741
  const _nT = "nextToken";
1739
1742
  const _na = "namespace";
@@ -3655,8 +3658,8 @@ var GetNotebookRunInput$ = [3, n0, _GNRI,
3655
3658
  ];
3656
3659
  var GetNotebookRunOutput$ = [3, n0, _GNRO,
3657
3660
  0,
3658
- [_id, _dIo, _oPI, _nI, _st, _sIc, _cO, _me, _par, _cCo, _nC, _tC, _eC, _sC, _tSr, _e, _cA, _cB, _uA, _uB, _sAt, _cAo],
3659
- [0, 0, 0, 0, 0, 0, () => CellOrder, [() => Metadata, 0], [() => _Parameters, 0], () => ComputeConfig$, () => NetworkConfig$, () => TimeoutConfig$, () => EnvironmentConfig$, () => StorageConfig$, () => TriggerSource$, () => NotebookRunError$, 4, 0, 4, 0, 4, 4], 5
3661
+ [_id, _dIo, _oPI, _nI, _st, _sIc, _cO, _me, _par, _cCo, _nC, _tC, _eC, _sC, _nCo, _tSr, _e, _cA, _cB, _uA, _uB, _sAt, _cAo],
3662
+ [0, 0, 0, 0, 0, 0, () => CellOrder, [() => Metadata, 0], [() => _Parameters, 0], () => ComputeConfig$, () => NetworkConfig$, () => TimeoutConfig$, () => EnvironmentConfig$, () => StorageConfig$, () => NotificationConfig$, () => TriggerSource$, () => NotebookRunError$, 4, 0, 4, 0, 4, 4], 5
3660
3663
  ];
3661
3664
  var GetProjectInput$ = [3, n0, _GPI,
3662
3665
  0,
@@ -4483,6 +4486,11 @@ var NotEqualToExpression$ = [3, n0, _NETE,
4483
4486
  [_cN, _v],
4484
4487
  [0, 0], 2
4485
4488
  ];
4489
+ var NotificationConfig$ = [3, n0, _NCo,
4490
+ 0,
4491
+ [_nO],
4492
+ [64 | 0], 1
4493
+ ];
4486
4494
  var NotificationOutput$ = [3, n0, _NO,
4487
4495
  0,
4488
4496
  [_i, _dI, _ty, _top, _tit, _m, _aLc, _cTre, _lUTa, _st, _me],
@@ -5030,13 +5038,13 @@ var StartNotebookImportOutput$ = [3, n0, _SNIO,
5030
5038
  ];
5031
5039
  var StartNotebookRunInput$ = [3, n0, _SNRI,
5032
5040
  0,
5033
- [_dI, _oPIw, _nIo, _sIch, _cCo, _nC, _tC, _tSr, _me, _par, _cT],
5034
- [[0, 1], 0, 0, 0, () => ComputeConfig$, () => NetworkConfig$, () => TimeoutConfig$, () => TriggerSource$, [() => Metadata, 0], [() => _Parameters, 0], [0, 4]], 3
5041
+ [_dI, _oPIw, _nIo, _sIch, _cCo, _nC, _tC, _nCo, _tSr, _me, _par, _cT],
5042
+ [[0, 1], 0, 0, 0, () => ComputeConfig$, () => NetworkConfig$, () => TimeoutConfig$, () => NotificationConfig$, () => TriggerSource$, [() => Metadata, 0], [() => _Parameters, 0], [0, 4]], 3
5035
5043
  ];
5036
5044
  var StartNotebookRunOutput$ = [3, n0, _SNRO,
5037
5045
  0,
5038
- [_id, _dIo, _oPI, _nI, _st, _sIc, _cO, _me, _par, _cCo, _nC, _tC, _eC, _sC, _tSr, _e, _cA, _cB, _uA, _uB, _sAt, _cAo],
5039
- [0, 0, 0, 0, 0, 0, () => CellOrder, [() => Metadata, 0], [() => _Parameters, 0], () => ComputeConfig$, () => NetworkConfig$, () => TimeoutConfig$, () => EnvironmentConfig$, () => StorageConfig$, () => TriggerSource$, () => NotebookRunError$, 4, 0, 4, 0, 4, 4], 5
5046
+ [_id, _dIo, _oPI, _nI, _st, _sIc, _cO, _me, _par, _cCo, _nC, _tC, _eC, _sC, _nCo, _tSr, _e, _cA, _cB, _uA, _uB, _sAt, _cAo],
5047
+ [0, 0, 0, 0, 0, 0, () => CellOrder, [() => Metadata, 0], [() => _Parameters, 0], () => ComputeConfig$, () => NetworkConfig$, () => TimeoutConfig$, () => EnvironmentConfig$, () => StorageConfig$, () => NotificationConfig$, () => TriggerSource$, () => NotebookRunError$, 4, 0, 4, 0, 4, 4], 5
5040
5048
  ];
5041
5049
  var StartNotebookSyncInput$ = [3, n0, _SNSI,
5042
5050
  0,
@@ -5380,7 +5388,7 @@ var UpdateProjectProfileOutput$ = [3, n0, _UPPO,
5380
5388
  ];
5381
5389
  var UpdateRootDomainUnitOwnerInput$ = [3, n0, _URDUOI,
5382
5390
  0,
5383
- [_dI, _cOu, _nO, _cT],
5391
+ [_dI, _cOu, _nOe, _cT],
5384
5392
  [[0, 1], 0, 0, [0, 4]], 3
5385
5393
  ];
5386
5394
  var UpdateRootDomainUnitOwnerOutput$ = [3, n0, _URDUOO,
@@ -8324,6 +8332,15 @@ const NetworkAccessType = {
8324
8332
  PUBLIC_INTERNET_ONLY: "PUBLIC_INTERNET_ONLY",
8325
8333
  VPC_ONLY: "VPC_ONLY",
8326
8334
  };
8335
+ const NotifyOnState = {
8336
+ FAILED: "FAILED",
8337
+ QUEUED: "QUEUED",
8338
+ RUNNING: "RUNNING",
8339
+ STARTING: "STARTING",
8340
+ STOPPED: "STOPPED",
8341
+ STOPPING: "STOPPING",
8342
+ SUCCEEDED: "SUCCEEDED",
8343
+ };
8327
8344
  const NotebookRunStatus = {
8328
8345
  FAILED: "FAILED",
8329
8346
  QUEUED: "QUEUED",
@@ -9243,11 +9260,13 @@ exports.NotebookRunSummary$ = NotebookRunSummary$;
9243
9260
  exports.NotebookStatus = NotebookStatus;
9244
9261
  exports.NotebookSummary$ = NotebookSummary$;
9245
9262
  exports.NotebookType = NotebookType;
9263
+ exports.NotificationConfig$ = NotificationConfig$;
9246
9264
  exports.NotificationOutput$ = NotificationOutput$;
9247
9265
  exports.NotificationResource$ = NotificationResource$;
9248
9266
  exports.NotificationResourceType = NotificationResourceType;
9249
9267
  exports.NotificationRole = NotificationRole;
9250
9268
  exports.NotificationType = NotificationType;
9269
+ exports.NotifyOnState = NotifyOnState;
9251
9270
  exports.OAuth2ClientApplication$ = OAuth2ClientApplication$;
9252
9271
  exports.OAuth2GrantType = OAuth2GrantType;
9253
9272
  exports.OAuth2Properties$ = OAuth2Properties$;
@@ -580,6 +580,15 @@ export const NetworkAccessType = {
580
580
  PUBLIC_INTERNET_ONLY: "PUBLIC_INTERNET_ONLY",
581
581
  VPC_ONLY: "VPC_ONLY",
582
582
  };
583
+ export const NotifyOnState = {
584
+ FAILED: "FAILED",
585
+ QUEUED: "QUEUED",
586
+ RUNNING: "RUNNING",
587
+ STARTING: "STARTING",
588
+ STOPPED: "STOPPED",
589
+ STOPPING: "STOPPING",
590
+ SUCCEEDED: "SUCCEEDED",
591
+ };
583
592
  export const NotebookRunStatus = {
584
593
  FAILED: "FAILED",
585
594
  QUEUED: "QUEUED",
@@ -741,6 +741,7 @@ const _Mem = "Member";
741
741
  const _Mo = "Model";
742
742
  const _N = "Name";
743
743
  const _NC = "NetworkConfig";
744
+ const _NCo = "NotificationConfig";
744
745
  const _NE = "NotebookError";
745
746
  const _NEE = "NotebookExportError";
746
747
  const _NETE = "NotEqualToExpression";
@@ -1498,13 +1499,15 @@ const _mo = "model";
1498
1499
  const _n = "name";
1499
1500
  const _nAT = "networkAccessType";
1500
1501
  const _nC = "networkConfiguration";
1502
+ const _nCo = "notificationConfiguration";
1501
1503
  const _nET = "notEqualTo";
1502
1504
  const _nI = "notebookId";
1503
1505
  const _nIo = "notebookIdentifier";
1504
1506
  const _nIot = "notIn";
1505
1507
  const _nL = "notLike";
1506
- const _nO = "newOwner";
1508
+ const _nO = "notifyOn";
1507
1509
  const _nOW = "numberOfWorkers";
1510
+ const _nOe = "newOwner";
1508
1511
  const _nQF = "numQueriesFailed";
1509
1512
  const _nT = "nextToken";
1510
1513
  const _na = "namespace";
@@ -3429,8 +3432,8 @@ export var GetNotebookRunInput$ = [3, n0, _GNRI,
3429
3432
  ];
3430
3433
  export var GetNotebookRunOutput$ = [3, n0, _GNRO,
3431
3434
  0,
3432
- [_id, _dIo, _oPI, _nI, _st, _sIc, _cO, _me, _par, _cCo, _nC, _tC, _eC, _sC, _tSr, _e, _cA, _cB, _uA, _uB, _sAt, _cAo],
3433
- [0, 0, 0, 0, 0, 0, () => CellOrder, [() => Metadata, 0], [() => _Parameters, 0], () => ComputeConfig$, () => NetworkConfig$, () => TimeoutConfig$, () => EnvironmentConfig$, () => StorageConfig$, () => TriggerSource$, () => NotebookRunError$, 4, 0, 4, 0, 4, 4], 5
3435
+ [_id, _dIo, _oPI, _nI, _st, _sIc, _cO, _me, _par, _cCo, _nC, _tC, _eC, _sC, _nCo, _tSr, _e, _cA, _cB, _uA, _uB, _sAt, _cAo],
3436
+ [0, 0, 0, 0, 0, 0, () => CellOrder, [() => Metadata, 0], [() => _Parameters, 0], () => ComputeConfig$, () => NetworkConfig$, () => TimeoutConfig$, () => EnvironmentConfig$, () => StorageConfig$, () => NotificationConfig$, () => TriggerSource$, () => NotebookRunError$, 4, 0, 4, 0, 4, 4], 5
3434
3437
  ];
3435
3438
  export var GetProjectInput$ = [3, n0, _GPI,
3436
3439
  0,
@@ -4257,6 +4260,11 @@ export var NotEqualToExpression$ = [3, n0, _NETE,
4257
4260
  [_cN, _v],
4258
4261
  [0, 0], 2
4259
4262
  ];
4263
+ export var NotificationConfig$ = [3, n0, _NCo,
4264
+ 0,
4265
+ [_nO],
4266
+ [64 | 0], 1
4267
+ ];
4260
4268
  export var NotificationOutput$ = [3, n0, _NO,
4261
4269
  0,
4262
4270
  [_i, _dI, _ty, _top, _tit, _m, _aLc, _cTre, _lUTa, _st, _me],
@@ -4804,13 +4812,13 @@ export var StartNotebookImportOutput$ = [3, n0, _SNIO,
4804
4812
  ];
4805
4813
  export var StartNotebookRunInput$ = [3, n0, _SNRI,
4806
4814
  0,
4807
- [_dI, _oPIw, _nIo, _sIch, _cCo, _nC, _tC, _tSr, _me, _par, _cT],
4808
- [[0, 1], 0, 0, 0, () => ComputeConfig$, () => NetworkConfig$, () => TimeoutConfig$, () => TriggerSource$, [() => Metadata, 0], [() => _Parameters, 0], [0, 4]], 3
4815
+ [_dI, _oPIw, _nIo, _sIch, _cCo, _nC, _tC, _nCo, _tSr, _me, _par, _cT],
4816
+ [[0, 1], 0, 0, 0, () => ComputeConfig$, () => NetworkConfig$, () => TimeoutConfig$, () => NotificationConfig$, () => TriggerSource$, [() => Metadata, 0], [() => _Parameters, 0], [0, 4]], 3
4809
4817
  ];
4810
4818
  export var StartNotebookRunOutput$ = [3, n0, _SNRO,
4811
4819
  0,
4812
- [_id, _dIo, _oPI, _nI, _st, _sIc, _cO, _me, _par, _cCo, _nC, _tC, _eC, _sC, _tSr, _e, _cA, _cB, _uA, _uB, _sAt, _cAo],
4813
- [0, 0, 0, 0, 0, 0, () => CellOrder, [() => Metadata, 0], [() => _Parameters, 0], () => ComputeConfig$, () => NetworkConfig$, () => TimeoutConfig$, () => EnvironmentConfig$, () => StorageConfig$, () => TriggerSource$, () => NotebookRunError$, 4, 0, 4, 0, 4, 4], 5
4820
+ [_id, _dIo, _oPI, _nI, _st, _sIc, _cO, _me, _par, _cCo, _nC, _tC, _eC, _sC, _nCo, _tSr, _e, _cA, _cB, _uA, _uB, _sAt, _cAo],
4821
+ [0, 0, 0, 0, 0, 0, () => CellOrder, [() => Metadata, 0], [() => _Parameters, 0], () => ComputeConfig$, () => NetworkConfig$, () => TimeoutConfig$, () => EnvironmentConfig$, () => StorageConfig$, () => NotificationConfig$, () => TriggerSource$, () => NotebookRunError$, 4, 0, 4, 0, 4, 4], 5
4814
4822
  ];
4815
4823
  export var StartNotebookSyncInput$ = [3, n0, _SNSI,
4816
4824
  0,
@@ -5154,7 +5162,7 @@ export var UpdateProjectProfileOutput$ = [3, n0, _UPPO,
5154
5162
  ];
5155
5163
  export var UpdateRootDomainUnitOwnerInput$ = [3, n0, _URDUOI,
5156
5164
  0,
5157
- [_dI, _cOu, _nO, _cT],
5165
+ [_dI, _cOu, _nOe, _cT],
5158
5166
  [[0, 1], 0, 0, [0, 4]], 3
5159
5167
  ];
5160
5168
  export var UpdateRootDomainUnitOwnerOutput$ = [3, n0, _URDUOO,
@@ -5524,6 +5532,7 @@ var NotificationsList = [1, n0, _NL,
5524
5532
  0]
5525
5533
  ];
5526
5534
  var NotificationSubjects = 64 | 0;
5535
+ var NotifyOnStates = 64 | 0;
5527
5536
  var PhysicalEndpoints = [1, n0, _PEh,
5528
5537
  0, [() => PhysicalEndpoint$,
5529
5538
  0]
@@ -83,6 +83,11 @@ declare const GetNotebookRunCommand_base: {
83
83
  * // projectS3Path: "STRING_VALUE",
84
84
  * // kmsKeyArn: "STRING_VALUE",
85
85
  * // },
86
+ * // notificationConfiguration: { // NotificationConfig
87
+ * // notifyOn: [ // NotifyOnStates // required
88
+ * // "SUCCEEDED" || "FAILED" || "STOPPED" || "QUEUED" || "STARTING" || "RUNNING" || "STOPPING",
89
+ * // ],
90
+ * // },
86
91
  * // triggerSource: { // TriggerSource
87
92
  * // type: "MANUAL" || "SCHEDULED" || "WORKFLOW",
88
93
  * // name: "STRING_VALUE",
@@ -55,6 +55,11 @@ declare const StartNotebookRunCommand_base: {
55
55
  * timeoutConfiguration: { // TimeoutConfig
56
56
  * runTimeoutInMinutes: Number("int"),
57
57
  * },
58
+ * notificationConfiguration: { // NotificationConfig
59
+ * notifyOn: [ // NotifyOnStates // required
60
+ * "SUCCEEDED" || "FAILED" || "STOPPED" || "QUEUED" || "STARTING" || "RUNNING" || "STOPPING",
61
+ * ],
62
+ * },
58
63
  * triggerSource: { // TriggerSource
59
64
  * type: "MANUAL" || "SCHEDULED" || "WORKFLOW",
60
65
  * name: "STRING_VALUE",
@@ -113,6 +118,11 @@ declare const StartNotebookRunCommand_base: {
113
118
  * // projectS3Path: "STRING_VALUE",
114
119
  * // kmsKeyArn: "STRING_VALUE",
115
120
  * // },
121
+ * // notificationConfiguration: { // NotificationConfig
122
+ * // notifyOn: [ // NotifyOnStates // required
123
+ * // "SUCCEEDED" || "FAILED" || "STOPPED" || "QUEUED" || "STARTING" || "RUNNING" || "STOPPING",
124
+ * // ],
125
+ * // },
116
126
  * // triggerSource: { // TriggerSource
117
127
  * // type: "MANUAL" || "SCHEDULED" || "WORKFLOW",
118
128
  * // name: "STRING_VALUE",
@@ -1377,6 +1377,44 @@ export declare const NetworkAccessType: {
1377
1377
  * @public
1378
1378
  */
1379
1379
  export type NetworkAccessType = (typeof NetworkAccessType)[keyof typeof NetworkAccessType];
1380
+ /**
1381
+ * @public
1382
+ * @enum
1383
+ */
1384
+ export declare const NotifyOnState: {
1385
+ /**
1386
+ * <p>Notify when the notebook run fails.</p>
1387
+ */
1388
+ readonly FAILED: "FAILED";
1389
+ /**
1390
+ * <p>Notify when the notebook run is queued.</p>
1391
+ */
1392
+ readonly QUEUED: "QUEUED";
1393
+ /**
1394
+ * <p>Notify when the notebook run is running.</p>
1395
+ */
1396
+ readonly RUNNING: "RUNNING";
1397
+ /**
1398
+ * <p>Notify when the notebook run is starting.</p>
1399
+ */
1400
+ readonly STARTING: "STARTING";
1401
+ /**
1402
+ * <p>Notify when the notebook run is stopped.</p>
1403
+ */
1404
+ readonly STOPPED: "STOPPED";
1405
+ /**
1406
+ * <p>Notify when the notebook run is stopping.</p>
1407
+ */
1408
+ readonly STOPPING: "STOPPING";
1409
+ /**
1410
+ * <p>Notify when the notebook run succeeds.</p>
1411
+ */
1412
+ readonly SUCCEEDED: "SUCCEEDED";
1413
+ };
1414
+ /**
1415
+ * @public
1416
+ */
1417
+ export type NotifyOnState = (typeof NotifyOnState)[keyof typeof NotifyOnState];
1380
1418
  /**
1381
1419
  * @public
1382
1420
  * @enum
@@ -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, 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, 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
  /**
@@ -232,6 +232,17 @@ export interface NetworkConfig {
232
232
  */
233
233
  securityGroupIds?: string[] | undefined;
234
234
  }
235
+ /**
236
+ * <p>The notification configuration for a notebook run in Amazon SageMaker Unified Studio.</p>
237
+ * @public
238
+ */
239
+ export interface NotificationConfig {
240
+ /**
241
+ * Notebook run states that trigger notifications. Ordering is not significant.
242
+ * @public
243
+ */
244
+ notifyOn: NotifyOnState[] | undefined;
245
+ }
235
246
  /**
236
247
  * <p>The storage configuration for a notebook run in Amazon SageMaker Unified Studio.</p>
237
248
  * @public
@@ -349,6 +360,11 @@ export interface GetNotebookRunOutput {
349
360
  * @public
350
361
  */
351
362
  storageConfiguration?: StorageConfig | undefined;
363
+ /**
364
+ * <p>The notification configuration of the notebook run, including the notebook run states that trigger notifications.</p>
365
+ * @public
366
+ */
367
+ notificationConfiguration?: NotificationConfig | undefined;
352
368
  /**
353
369
  * <p>The source that triggered the notebook run.</p>
354
370
  * @public
@@ -560,6 +576,11 @@ export interface StartNotebookRunInput {
560
576
  * @public
561
577
  */
562
578
  timeoutConfiguration?: TimeoutConfig | undefined;
579
+ /**
580
+ * <p>The notification configuration for the notebook run. Use this to specify the notebook run states that trigger notifications.</p>
581
+ * @public
582
+ */
583
+ notificationConfiguration?: NotificationConfig | undefined;
563
584
  /**
564
585
  * <p>The source that triggered the notebook run.</p>
565
586
  * @public
@@ -655,6 +676,11 @@ export interface StartNotebookRunOutput {
655
676
  * @public
656
677
  */
657
678
  storageConfiguration?: StorageConfig | undefined;
679
+ /**
680
+ * <p>The notification configuration of the notebook run, including the notebook run states that trigger notifications.</p>
681
+ * @public
682
+ */
683
+ notificationConfiguration?: NotificationConfig | undefined;
658
684
  /**
659
685
  * <p>The source that triggered the notebook run.</p>
660
686
  * @public
@@ -486,6 +486,7 @@ export declare var NotebookRunError$: StaticStructureSchema;
486
486
  export declare var NotebookRunSummary$: StaticStructureSchema;
487
487
  export declare var NotebookSummary$: StaticStructureSchema;
488
488
  export declare var NotEqualToExpression$: StaticStructureSchema;
489
+ export declare var NotificationConfig$: StaticStructureSchema;
489
490
  export declare var NotificationOutput$: StaticStructureSchema;
490
491
  export declare var NotificationResource$: StaticStructureSchema;
491
492
  export declare var NotInExpression$: StaticStructureSchema;
@@ -689,6 +689,16 @@ export declare const NetworkAccessType: {
689
689
  readonly VPC_ONLY: "VPC_ONLY";
690
690
  };
691
691
  export type NetworkAccessType = (typeof NetworkAccessType)[keyof typeof NetworkAccessType];
692
+ export declare const NotifyOnState: {
693
+ readonly FAILED: "FAILED";
694
+ readonly QUEUED: "QUEUED";
695
+ readonly RUNNING: "RUNNING";
696
+ readonly STARTING: "STARTING";
697
+ readonly STOPPED: "STOPPED";
698
+ readonly STOPPING: "STOPPING";
699
+ readonly SUCCEEDED: "SUCCEEDED";
700
+ };
701
+ export type NotifyOnState = (typeof NotifyOnState)[keyof typeof NotifyOnState];
692
702
  export declare const NotebookRunStatus: {
693
703
  readonly FAILED: "FAILED";
694
704
  readonly QUEUED: "QUEUED";
@@ -20,6 +20,7 @@ import {
20
20
  NotebookExportStatus,
21
21
  NotebookRunStatus,
22
22
  NotebookStatus,
23
+ NotifyOnState,
23
24
  ProjectStatus,
24
25
  RejectRuleBehavior,
25
26
  RelationDirection,
@@ -164,6 +165,9 @@ export interface NetworkConfig {
164
165
  subnetIds?: string[] | undefined;
165
166
  securityGroupIds?: string[] | undefined;
166
167
  }
168
+ export interface NotificationConfig {
169
+ notifyOn: NotifyOnState[] | undefined;
170
+ }
167
171
  export interface StorageConfig {
168
172
  projectS3Path?: string | undefined;
169
173
  kmsKeyArn?: string | undefined;
@@ -190,6 +194,7 @@ export interface GetNotebookRunOutput {
190
194
  timeoutConfiguration?: TimeoutConfig | undefined;
191
195
  environmentConfiguration?: EnvironmentConfig | undefined;
192
196
  storageConfiguration?: StorageConfig | undefined;
197
+ notificationConfiguration?: NotificationConfig | undefined;
193
198
  triggerSource?: TriggerSource | undefined;
194
199
  error?: NotebookRunError | undefined;
195
200
  createdAt?: Date | undefined;
@@ -236,6 +241,7 @@ export interface StartNotebookRunInput {
236
241
  computeConfiguration?: ComputeConfig | undefined;
237
242
  networkConfiguration?: NetworkConfig | undefined;
238
243
  timeoutConfiguration?: TimeoutConfig | undefined;
244
+ notificationConfiguration?: NotificationConfig | undefined;
239
245
  triggerSource?: TriggerSource | undefined;
240
246
  metadata?: Record<string, string> | undefined;
241
247
  parameters?: Record<string, string> | undefined;
@@ -256,6 +262,7 @@ export interface StartNotebookRunOutput {
256
262
  timeoutConfiguration?: TimeoutConfig | undefined;
257
263
  environmentConfiguration?: EnvironmentConfig | undefined;
258
264
  storageConfiguration?: StorageConfig | undefined;
265
+ notificationConfiguration?: NotificationConfig | undefined;
259
266
  triggerSource?: TriggerSource | undefined;
260
267
  error?: NotebookRunError | undefined;
261
268
  createdAt?: Date | undefined;
@@ -486,6 +486,7 @@ export declare var NotebookRunError$: StaticStructureSchema;
486
486
  export declare var NotebookRunSummary$: StaticStructureSchema;
487
487
  export declare var NotebookSummary$: StaticStructureSchema;
488
488
  export declare var NotEqualToExpression$: StaticStructureSchema;
489
+ export declare var NotificationConfig$: StaticStructureSchema;
489
490
  export declare var NotificationOutput$: StaticStructureSchema;
490
491
  export declare var NotificationResource$: StaticStructureSchema;
491
492
  export declare var NotInExpression$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-datazone",
3
- "version": "3.1142.0",
3
+ "version": "3.1144.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",