@aws-sdk/client-datazone 3.1046.0 → 3.1047.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.
Files changed (74) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +134 -2
  3. package/dist-cjs/schemas/schemas_0.js +225 -43
  4. package/dist-es/DataZone.js +18 -0
  5. package/dist-es/commands/CreateNotebookCommand.js +16 -0
  6. package/dist-es/commands/DeleteNotebookCommand.js +16 -0
  7. package/dist-es/commands/GetNotebookCommand.js +16 -0
  8. package/dist-es/commands/GetNotebookExportCommand.js +16 -0
  9. package/dist-es/commands/ListNotebooksCommand.js +16 -0
  10. package/dist-es/commands/StartNotebookExportCommand.js +16 -0
  11. package/dist-es/commands/StartNotebookImportCommand.js +16 -0
  12. package/dist-es/commands/UpdateNotebookCommand.js +16 -0
  13. package/dist-es/commands/index.js +8 -0
  14. package/dist-es/models/enums.js +15 -2
  15. package/dist-es/pagination/ListNotebooksPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/schemas/schemas_0.js +209 -27
  18. package/dist-types/DataZone.d.ts +63 -0
  19. package/dist-types/DataZoneClient.d.ts +10 -2
  20. package/dist-types/commands/CreateNotebookCommand.d.ts +142 -0
  21. package/dist-types/commands/CreateSubscriptionGrantCommand.d.ts +2 -1
  22. package/dist-types/commands/DeleteNotebookCommand.d.ts +93 -0
  23. package/dist-types/commands/GetNotebookCommand.d.ts +127 -0
  24. package/dist-types/commands/GetNotebookExportCommand.d.ts +111 -0
  25. package/dist-types/commands/GetNotebookRunCommand.d.ts +1 -1
  26. package/dist-types/commands/ListNotebookRunsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListNotebooksCommand.d.ts +111 -0
  28. package/dist-types/commands/PostTimeSeriesDataPointsCommand.d.ts +1 -1
  29. package/dist-types/commands/PutDataExportConfigurationCommand.d.ts +1 -1
  30. package/dist-types/commands/QueryGraphCommand.d.ts +1 -2
  31. package/dist-types/commands/RejectPredictionsCommand.d.ts +1 -1
  32. package/dist-types/commands/RejectSubscriptionRequestCommand.d.ts +1 -1
  33. package/dist-types/commands/RemoveEntityOwnerCommand.d.ts +1 -1
  34. package/dist-types/commands/RemovePolicyGrantCommand.d.ts +1 -2
  35. package/dist-types/commands/StartNotebookExportCommand.d.ts +111 -0
  36. package/dist-types/commands/StartNotebookImportCommand.d.ts +117 -0
  37. package/dist-types/commands/StartNotebookRunCommand.d.ts +1 -1
  38. package/dist-types/commands/StopNotebookRunCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateNotebookCommand.d.ts +150 -0
  40. package/dist-types/commands/index.d.ts +8 -0
  41. package/dist-types/models/enums.d.ts +62 -4
  42. package/dist-types/models/models_0.d.ts +186 -136
  43. package/dist-types/models/models_1.d.ts +695 -537
  44. package/dist-types/models/models_2.d.ts +670 -3
  45. package/dist-types/pagination/ListNotebooksPaginator.d.ts +7 -0
  46. package/dist-types/pagination/index.d.ts +1 -0
  47. package/dist-types/schemas/schemas_0.d.ts +30 -0
  48. package/dist-types/ts3.4/DataZone.d.ts +143 -0
  49. package/dist-types/ts3.4/DataZoneClient.d.ts +48 -0
  50. package/dist-types/ts3.4/commands/CreateNotebookCommand.d.ts +49 -0
  51. package/dist-types/ts3.4/commands/CreateSubscriptionGrantCommand.d.ts +2 -4
  52. package/dist-types/ts3.4/commands/DeleteNotebookCommand.d.ts +49 -0
  53. package/dist-types/ts3.4/commands/GetNotebookCommand.d.ts +49 -0
  54. package/dist-types/ts3.4/commands/GetNotebookExportCommand.d.ts +52 -0
  55. package/dist-types/ts3.4/commands/ListNotebooksCommand.d.ts +49 -0
  56. package/dist-types/ts3.4/commands/PostTimeSeriesDataPointsCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/PutDataExportConfigurationCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/QueryGraphCommand.d.ts +1 -2
  59. package/dist-types/ts3.4/commands/RejectPredictionsCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/RejectSubscriptionRequestCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/RemoveEntityOwnerCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/RemovePolicyGrantCommand.d.ts +4 -2
  63. package/dist-types/ts3.4/commands/StartNotebookExportCommand.d.ts +53 -0
  64. package/dist-types/ts3.4/commands/StartNotebookImportCommand.d.ts +53 -0
  65. package/dist-types/ts3.4/commands/UpdateNotebookCommand.d.ts +49 -0
  66. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  67. package/dist-types/ts3.4/models/enums.d.ts +22 -4
  68. package/dist-types/ts3.4/models/models_0.d.ts +43 -41
  69. package/dist-types/ts3.4/models/models_1.d.ts +189 -151
  70. package/dist-types/ts3.4/models/models_2.d.ts +185 -3
  71. package/dist-types/ts3.4/pagination/ListNotebooksPaginator.d.ts +11 -0
  72. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  73. package/dist-types/ts3.4/schemas/schemas_0.d.ts +30 -0
  74. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
- import type { AcceptRuleBehavior, AttributeEntityType, AuthenticationType, AuthType, ChangeAction, ComputeEnvironments, ConfigurableActionTypeAuthorization, ConnectionScope, ConnectionStatus, ConnectionType, DataProductItemType, DataProductStatus, DataSourceErrorType, DataSourceRunStatus, DataSourceStatus, DataZoneEntityType, DeploymentMode, DeploymentStatus, DeploymentType, DomainStatus, DomainUnitDesignation, DomainVersion, EnableSetting, EntityType, EnvironmentStatus, FilterExpressionType, FilterStatus, FormTypeStatus, GlossaryStatus, GlossaryTermStatus, GlossaryUsageRestriction, GlueConnectionType, GovernanceType, GovernedEntityType, GroupProfileStatus, HyperPodOrchestrator, ListingStatus, ManagedPolicyType, OAuth2GrantType, OverallDeploymentStatus, ProjectDesignation, ProjectStatus, Protocol, ResolutionStrategy, ResourceTagSource, RuleAction, RuleScopeSelectionMode, RuleTargetType, RuleType, S3Permission, Status, SubscriptionGrantOverallStatus, SubscriptionGrantStatus, SubscriptionRequestStatus, SubscriptionStatus, TargetEntityType, Timezone, UserAssignment, UserDesignation } from "./enums";
1
+ import type { AcceptRuleBehavior, AttributeEntityType, AuthenticationType, AuthType, ChangeAction, ComputeEnvironments, ConfigurableActionTypeAuthorization, ConnectionScope, ConnectionStatus, ConnectionType, DataProductItemType, DataProductStatus, DataSourceErrorType, DataSourceRunStatus, DataSourceStatus, DataZoneEntityType, DeploymentMode, DeploymentStatus, DeploymentType, DomainStatus, DomainUnitDesignation, DomainVersion, EnableSetting, EntityType, EnvironmentStatus, FilterExpressionType, FilterStatus, FormTypeStatus, GlossaryStatus, GlossaryTermStatus, GlossaryUsageRestriction, GlueConnectionType, GovernanceType, GovernedEntityType, GroupProfileStatus, HyperPodOrchestrator, ListingStatus, ManagedPolicyType, NotebookStatus, OAuth2GrantType, OverallDeploymentStatus, PackageManager, ProjectDesignation, ProjectStatus, Protocol, ResolutionStrategy, ResourceTagSource, RuleAction, RuleScopeSelectionMode, RuleTargetType, RuleType, S3Permission, Status, SubscriptionGrantStatus, SubscriptionRequestStatus, SubscriptionStatus, TargetEntityType, Timezone, UserAssignment, UserDesignation } from "./enums";
2
2
  /**
3
3
  * <p>Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.</p>
4
4
  * @public
@@ -4328,7 +4328,7 @@ export interface CancelSubscriptionOutput {
4328
4328
  retainPermissions?: boolean | undefined;
4329
4329
  }
4330
4330
  /**
4331
- * <p>The information about a cell in a notebook run in Amazon DataZone.</p>
4331
+ * <p>The information about a cell in a notebook run in Amazon SageMaker Unified Studio.</p>
4332
4332
  * @public
4333
4333
  */
4334
4334
  export interface CellInformation {
@@ -4345,7 +4345,7 @@ export interface CloudFormationProperties {
4345
4345
  templateUrl: string | undefined;
4346
4346
  }
4347
4347
  /**
4348
- * <p>The compute configuration for a notebook run in Amazon DataZone.</p>
4348
+ * <p>The compute configuration for a notebook run in Amazon SageMaker Unified Studio.</p>
4349
4349
  * @public
4350
4350
  */
4351
4351
  export interface ComputeConfig {
@@ -8847,6 +8847,189 @@ export interface CreateListingChangeSetOutput {
8847
8847
  */
8848
8848
  status: ListingStatus | undefined;
8849
8849
  }
8850
+ /**
8851
+ * @public
8852
+ */
8853
+ export interface CreateNotebookInput {
8854
+ /**
8855
+ * <p>The identifier of the Amazon SageMaker Unified Studio domain in which to create the notebook.</p>
8856
+ * @public
8857
+ */
8858
+ domainIdentifier: string | undefined;
8859
+ /**
8860
+ * <p>The identifier of the project that owns the notebook.</p>
8861
+ * @public
8862
+ */
8863
+ owningProjectIdentifier: string | undefined;
8864
+ /**
8865
+ * <p>The name of the notebook. The name must be between 1 and 256 characters.</p>
8866
+ * @public
8867
+ */
8868
+ name: string | undefined;
8869
+ /**
8870
+ * <p>The description of the notebook.</p>
8871
+ * @public
8872
+ */
8873
+ description?: string | undefined;
8874
+ /**
8875
+ * <p>The metadata for the notebook, specified as key-value pairs. You can specify up to 50 entries, with keys up to 128 characters and values up to 1024 characters.</p>
8876
+ * @public
8877
+ */
8878
+ metadata?: Record<string, string> | undefined;
8879
+ /**
8880
+ * <p>The sensitive parameters for the notebook, specified as key-value pairs. You can specify up to 50 entries, with keys up to 128 characters and values up to 1024 characters.</p>
8881
+ * @public
8882
+ */
8883
+ parameters?: Record<string, string> | undefined;
8884
+ /**
8885
+ * <p>A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.</p>
8886
+ * @public
8887
+ */
8888
+ clientToken?: string | undefined;
8889
+ }
8890
+ /**
8891
+ * <p>The package configuration for a notebook run environment in Amazon SageMaker Unified Studio.</p>
8892
+ * @public
8893
+ */
8894
+ export interface PackageConfig {
8895
+ /**
8896
+ * <p>The package manager for the notebook run environment. The default value is <code>UV</code>.</p>
8897
+ * @public
8898
+ */
8899
+ packageManager: PackageManager | undefined;
8900
+ /**
8901
+ * <p>The package specification content for the notebook run environment. The maximum length is 10240 characters.</p>
8902
+ * @public
8903
+ */
8904
+ packageSpecification?: string | undefined;
8905
+ }
8906
+ /**
8907
+ * <p>The environment configuration for a notebook run in Amazon SageMaker Unified Studio.</p>
8908
+ * @public
8909
+ */
8910
+ export interface EnvironmentConfig {
8911
+ /**
8912
+ * <p>The image version for the notebook run environment.</p>
8913
+ * @public
8914
+ */
8915
+ imageVersion?: string | undefined;
8916
+ /**
8917
+ * <p>The package configuration for the notebook run environment.</p>
8918
+ * @public
8919
+ */
8920
+ packageConfig?: PackageConfig | undefined;
8921
+ }
8922
+ /**
8923
+ * <p>The error details of a notebook in Amazon SageMaker Unified Studio.</p>
8924
+ * @public
8925
+ */
8926
+ export interface NotebookError {
8927
+ /**
8928
+ * <p>The error message. The maximum length is 256 characters.</p>
8929
+ * @public
8930
+ */
8931
+ message: string | undefined;
8932
+ }
8933
+ /**
8934
+ * @public
8935
+ */
8936
+ export interface CreateNotebookOutput {
8937
+ /**
8938
+ * <p>The identifier of the notebook.</p>
8939
+ * @public
8940
+ */
8941
+ id: string | undefined;
8942
+ /**
8943
+ * <p>The name of the notebook.</p>
8944
+ * @public
8945
+ */
8946
+ name: string | undefined;
8947
+ /**
8948
+ * <p>The identifier of the project that owns the notebook.</p>
8949
+ * @public
8950
+ */
8951
+ owningProjectId: string | undefined;
8952
+ /**
8953
+ * <p>The identifier of the Amazon SageMaker Unified Studio domain.</p>
8954
+ * @public
8955
+ */
8956
+ domainId: string | undefined;
8957
+ /**
8958
+ * <p>The ordered list of cells in the notebook.</p>
8959
+ * @public
8960
+ */
8961
+ cellOrder: CellInformation[] | undefined;
8962
+ /**
8963
+ * <p>The status of the notebook.</p>
8964
+ * @public
8965
+ */
8966
+ status: NotebookStatus | undefined;
8967
+ /**
8968
+ * <p>The description of the notebook.</p>
8969
+ * @public
8970
+ */
8971
+ description?: string | undefined;
8972
+ /**
8973
+ * <p>The timestamp of when the notebook was created.</p>
8974
+ * @public
8975
+ */
8976
+ createdAt?: Date | undefined;
8977
+ /**
8978
+ * <p>The identifier of the user who created the notebook.</p>
8979
+ * @public
8980
+ */
8981
+ createdBy?: string | undefined;
8982
+ /**
8983
+ * <p>The timestamp of when the notebook was last updated.</p>
8984
+ * @public
8985
+ */
8986
+ updatedAt?: Date | undefined;
8987
+ /**
8988
+ * <p>The identifier of the user who last updated the notebook.</p>
8989
+ * @public
8990
+ */
8991
+ updatedBy?: string | undefined;
8992
+ /**
8993
+ * <p>The identifier of the user who locked the notebook.</p>
8994
+ * @public
8995
+ */
8996
+ lockedBy?: string | undefined;
8997
+ /**
8998
+ * <p>The timestamp of when the notebook was locked.</p>
8999
+ * @public
9000
+ */
9001
+ lockedAt?: Date | undefined;
9002
+ /**
9003
+ * <p>The timestamp of when the notebook lock expires.</p>
9004
+ * @public
9005
+ */
9006
+ lockExpiresAt?: Date | undefined;
9007
+ /**
9008
+ * <p>The identifier of the compute associated with the notebook.</p>
9009
+ * @public
9010
+ */
9011
+ computeId?: string | undefined;
9012
+ /**
9013
+ * <p>The metadata of the notebook.</p>
9014
+ * @public
9015
+ */
9016
+ metadata?: Record<string, string> | undefined;
9017
+ /**
9018
+ * <p>The sensitive parameters of the notebook.</p>
9019
+ * @public
9020
+ */
9021
+ parameters?: Record<string, string> | undefined;
9022
+ /**
9023
+ * <p>The environment configuration of the notebook.</p>
9024
+ * @public
9025
+ */
9026
+ environmentConfiguration?: EnvironmentConfig | undefined;
9027
+ /**
9028
+ * <p>The error details if the notebook creation failed.</p>
9029
+ * @public
9030
+ */
9031
+ error?: NotebookError | undefined;
9032
+ }
8850
9033
  /**
8851
9034
  * <p>The details about a project member.</p>
8852
9035
  * @public
@@ -9903,136 +10086,3 @@ export interface ListingRevision {
9903
10086
  */
9904
10087
  revision: string | undefined;
9905
10088
  }
9906
- /**
9907
- * <p>The details of a listing for which a subscription is granted.</p>
9908
- * @public
9909
- */
9910
- export type GrantedEntity = GrantedEntity.ListingMember | GrantedEntity.$UnknownMember;
9911
- /**
9912
- * @public
9913
- */
9914
- export declare namespace GrantedEntity {
9915
- /**
9916
- * <p>The listing for which a subscription is granted.</p>
9917
- * @public
9918
- */
9919
- interface ListingMember {
9920
- listing: ListingRevision;
9921
- $unknown?: never;
9922
- }
9923
- /**
9924
- * @public
9925
- */
9926
- interface $UnknownMember {
9927
- listing?: never;
9928
- $unknown: [string, any];
9929
- }
9930
- /**
9931
- * @deprecated unused in schema-serde mode.
9932
- *
9933
- */
9934
- interface Visitor<T> {
9935
- listing: (value: ListingRevision) => T;
9936
- _: (name: string, value: any) => T;
9937
- }
9938
- }
9939
- /**
9940
- * @public
9941
- */
9942
- export interface CreateSubscriptionGrantOutput {
9943
- /**
9944
- * <p>The ID of the subscription grant.</p>
9945
- * @public
9946
- */
9947
- id: string | undefined;
9948
- /**
9949
- * <p>The Amazon DataZone user who created the subscription grant.</p>
9950
- * @public
9951
- */
9952
- createdBy: string | undefined;
9953
- /**
9954
- * <p>The Amazon DataZone user who updated the subscription grant.</p>
9955
- * @public
9956
- */
9957
- updatedBy?: string | undefined;
9958
- /**
9959
- * <p>The ID of the Amazon DataZone domain in which the subscription grant is created.</p>
9960
- * @public
9961
- */
9962
- domainId: string | undefined;
9963
- /**
9964
- * <p>A timestamp of when the subscription grant is created.</p>
9965
- * @public
9966
- */
9967
- createdAt: Date | undefined;
9968
- /**
9969
- * <p>A timestamp of when the subscription grant was updated.</p>
9970
- * @public
9971
- */
9972
- updatedAt: Date | undefined;
9973
- /**
9974
- * <p>The environment ID for which subscription grant is created.</p>
9975
- * @public
9976
- */
9977
- environmentId?: string | undefined;
9978
- /**
9979
- * <p>The ID of the subscription target for which the subscription grant is created.</p>
9980
- * @public
9981
- */
9982
- subscriptionTargetId: string | undefined;
9983
- /**
9984
- * <p>The entity to which the subscription is granted.</p>
9985
- * @public
9986
- */
9987
- grantedEntity: GrantedEntity | undefined;
9988
- /**
9989
- * <p>The status of the subscription grant.</p>
9990
- * @public
9991
- */
9992
- status: SubscriptionGrantOverallStatus | undefined;
9993
- /**
9994
- * <p>The assets for which the subscription grant is created.</p>
9995
- * @public
9996
- */
9997
- assets?: SubscribedAsset[] | undefined;
9998
- /**
9999
- * <p>The identifier of the subscription grant.</p>
10000
- *
10001
- * @deprecated Multiple subscriptions can exist for a single grant.
10002
- * @public
10003
- */
10004
- subscriptionId?: string | undefined;
10005
- }
10006
- /**
10007
- * <p>The published asset for which the subscription grant is to be created.</p>
10008
- * @public
10009
- */
10010
- export interface SubscribedListingInput {
10011
- /**
10012
- * <p>The identifier of the published asset for which the subscription grant is to be created.</p>
10013
- * @public
10014
- */
10015
- identifier: string | undefined;
10016
- }
10017
- /**
10018
- * <p>The details of the subscribed group.</p>
10019
- * @public
10020
- */
10021
- export interface SubscribedGroupInput {
10022
- /**
10023
- * <p>The ID of the subscribed group.</p>
10024
- * @public
10025
- */
10026
- identifier?: string | undefined;
10027
- }
10028
- /**
10029
- * <p>The details of the subscribed IAM principal.</p>
10030
- * @public
10031
- */
10032
- export interface SubscribedIamPrincipalInput {
10033
- /**
10034
- * <p>The ARN of the subscribed IAM principal.</p>
10035
- * @public
10036
- */
10037
- identifier?: string | undefined;
10038
- }