@aws-sdk/client-datazone 3.848.0 → 3.855.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.
@@ -1,4 +1,164 @@
1
- import { ActionParameters, AssetFilterSummary, AssetListing, AssetRevision, ConfigurableEnvironmentAction, ConnectionCredentials, ConnectionPropertiesOutput, ConnectionSummary, ConnectionType, CustomParameter, DataProductItem, DataProductStatus, DataSourceConfigurationInput, DataSourceConfigurationOutput, DataSourceErrorMessage, DataSourceRunStatus, DataSourceStatus, DataZoneEntityType, Deployment, DeploymentProperties, DetailedGlossaryTerm, DomainStatus, DomainUnitOwnerProperties, DomainVersion, EnableSetting, EnvironmentConfiguration, EnvironmentConfigurationUserParameter, EnvironmentDeploymentDetails, EnvironmentStatus, FilterStatus, FormInput, FormOutput, FormTypeStatus, GlossaryStatus, GlossaryTermStatus, GrantedEntity, GroupProfileStatus, ListingStatus, ManagedPolicyType, Member, Model, OwnerProperties, PhysicalEndpoint, PolicyGrantDetail, PolicyGrantPrincipal, ProjectDeletionError, ProjectStatus, ProvisioningProperties, RecommendationConfiguration, Resource, RuleAction, RuleDetail, RuleScope, RuleTarget, RuleTargetType, RuleType, ScheduleConfiguration, SingleSignOn, Status, SubscribedAsset, SubscribedListing, SubscribedPrincipal, SubscriptionRequestStatus, SubscriptionStatus, TargetEntityType, TermRelations, TimeSeriesDataPointSummaryFormOutput, UserDesignation } from "./models_0";
1
+ import { ActionParameters, AssetFilterSummary, AssetListing, AssetRevision, AssetScope, AssetTargetNameMap, ConfigurableEnvironmentAction, ConnectionCredentials, ConnectionPropertiesOutput, ConnectionSummary, ConnectionType, CustomParameter, DataProductItem, DataProductStatus, DataSourceConfigurationInput, DataSourceConfigurationOutput, DataSourceErrorMessage, DataSourceRunStatus, DataSourceStatus, DataZoneEntityType, Deployment, DeploymentProperties, DetailedGlossaryTerm, DomainStatus, DomainUnitOwnerProperties, DomainVersion, EnableSetting, EnvironmentConfiguration, EnvironmentConfigurationUserParameter, EnvironmentDeploymentDetails, EnvironmentStatus, FilterStatus, FormInput, FormOutput, FormTypeStatus, GlossaryStatus, GlossaryTermStatus, GrantedEntityInput, GroupProfileStatus, ListingStatus, ManagedPolicyType, MatchRationaleItem, Member, Model, OwnerProperties, PhysicalEndpoint, PolicyGrantDetail, PolicyGrantPrincipal, ProjectDeletionError, ProjectStatus, ProvisioningProperties, RecommendationConfiguration, Resource, ScheduleConfiguration, SingleSignOn, Status, SubscribedListing, SubscribedPrincipal, SubscriptionRequestStatus, SubscriptionStatus, TargetEntityType, TermRelations, TimeSeriesDataPointSummaryFormOutput, UserDesignation } from "./models_0";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface CreateSubscriptionGrantInput {
6
+ /**
7
+ * <p>The ID of the Amazon DataZone domain in which the subscription grant is created.</p>
8
+ * @public
9
+ */
10
+ domainIdentifier: string | undefined;
11
+ /**
12
+ * <p>The ID of the environment in which the subscription grant is created.</p>
13
+ * @public
14
+ */
15
+ environmentIdentifier: string | undefined;
16
+ /**
17
+ * <p>The ID of the subscription target for which the subscription grant is created.</p>
18
+ * @public
19
+ */
20
+ subscriptionTargetIdentifier?: string | undefined;
21
+ /**
22
+ * <p>The entity to which the subscription is to be granted.</p>
23
+ * @public
24
+ */
25
+ grantedEntity: GrantedEntityInput | undefined;
26
+ /**
27
+ * <p>The names of the assets for which the subscription grant is created.</p>
28
+ * @public
29
+ */
30
+ assetTargetNames?: AssetTargetNameMap[] | undefined;
31
+ /**
32
+ * <p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the
33
+ * request.</p>
34
+ * @public
35
+ */
36
+ clientToken?: string | undefined;
37
+ }
38
+ /**
39
+ * <p>Specifies the error message that is returned if the operation cannot be successfully
40
+ * completed.</p>
41
+ * @public
42
+ */
43
+ export interface FailureCause {
44
+ /**
45
+ * <p>The description of the error message.</p>
46
+ * @public
47
+ */
48
+ message?: string | undefined;
49
+ }
50
+ /**
51
+ * @public
52
+ * @enum
53
+ */
54
+ export declare const SubscriptionGrantStatus: {
55
+ readonly GRANTED: "GRANTED";
56
+ readonly GRANT_FAILED: "GRANT_FAILED";
57
+ readonly GRANT_IN_PROGRESS: "GRANT_IN_PROGRESS";
58
+ readonly GRANT_PENDING: "GRANT_PENDING";
59
+ readonly REVOKED: "REVOKED";
60
+ readonly REVOKE_FAILED: "REVOKE_FAILED";
61
+ readonly REVOKE_IN_PROGRESS: "REVOKE_IN_PROGRESS";
62
+ readonly REVOKE_PENDING: "REVOKE_PENDING";
63
+ };
64
+ /**
65
+ * @public
66
+ */
67
+ export type SubscriptionGrantStatus = (typeof SubscriptionGrantStatus)[keyof typeof SubscriptionGrantStatus];
68
+ /**
69
+ * <p>The details of the asset for which the subscription grant is created.</p>
70
+ * @public
71
+ */
72
+ export interface SubscribedAsset {
73
+ /**
74
+ * <p>The identifier of the asset for which the subscription grant is created.</p>
75
+ * @public
76
+ */
77
+ assetId: string | undefined;
78
+ /**
79
+ * <p>The revision of the asset for which the subscription grant is created.</p>
80
+ * @public
81
+ */
82
+ assetRevision: string | undefined;
83
+ /**
84
+ * <p>The status of the asset for which the subscription grant is created.</p>
85
+ * @public
86
+ */
87
+ status: SubscriptionGrantStatus | undefined;
88
+ /**
89
+ * <p>The target name of the asset for which the subscription grant is created.</p>
90
+ * @public
91
+ */
92
+ targetName?: string | undefined;
93
+ /**
94
+ * <p>The failure cause included in the details of the asset for which the subscription grant
95
+ * is created.</p>
96
+ * @public
97
+ */
98
+ failureCause?: FailureCause | undefined;
99
+ /**
100
+ * <p>The timestamp of when the subscription grant to the asset is created.</p>
101
+ * @public
102
+ */
103
+ grantedTimestamp?: Date | undefined;
104
+ /**
105
+ * <p>The failure timestamp included in the details of the asset for which the subscription
106
+ * grant is created.</p>
107
+ * @public
108
+ */
109
+ failureTimestamp?: Date | undefined;
110
+ /**
111
+ * <p>The asset scope of the subscribed asset.</p>
112
+ * @public
113
+ */
114
+ assetScope?: AssetScope | undefined;
115
+ }
116
+ /**
117
+ * <p>A revision of an asset published in a Amazon DataZone catalog.</p>
118
+ * @public
119
+ */
120
+ export interface ListingRevision {
121
+ /**
122
+ * <p>An identifier of a revision of an asset published in a Amazon DataZone catalog.</p>
123
+ * @public
124
+ */
125
+ id: string | undefined;
126
+ /**
127
+ * <p>The details of a revision of an asset published in a Amazon DataZone catalog.</p>
128
+ * @public
129
+ */
130
+ revision: string | undefined;
131
+ }
132
+ /**
133
+ * <p>The details of a listing for which a subscription is granted.</p>
134
+ * @public
135
+ */
136
+ export type GrantedEntity = GrantedEntity.ListingMember | GrantedEntity.$UnknownMember;
137
+ /**
138
+ * @public
139
+ */
140
+ export declare namespace GrantedEntity {
141
+ /**
142
+ * <p>The listing for which a subscription is granted.</p>
143
+ * @public
144
+ */
145
+ interface ListingMember {
146
+ listing: ListingRevision;
147
+ $unknown?: never;
148
+ }
149
+ /**
150
+ * @public
151
+ */
152
+ interface $UnknownMember {
153
+ listing?: never;
154
+ $unknown: [string, any];
155
+ }
156
+ interface Visitor<T> {
157
+ listing: (value: ListingRevision) => T;
158
+ _: (name: string, value: any) => T;
159
+ }
160
+ const visit: <T>(value: GrantedEntity, visitor: Visitor<T>) => T;
161
+ }
2
162
  /**
3
163
  * @public
4
164
  * @enum
@@ -696,6 +856,17 @@ export interface GetDataProductOutput {
696
856
  */
697
857
  firstRevisionCreatedBy?: string | undefined;
698
858
  }
859
+ /**
860
+ * <p>The additional attributes of an Amazon DataZone data product.</p>
861
+ * @public
862
+ */
863
+ export interface DataProductItemAdditionalAttributes {
864
+ /**
865
+ * <p>List of rationales indicating why this item was matched by search.</p>
866
+ * @public
867
+ */
868
+ matchRationale?: MatchRationaleItem[] | undefined;
869
+ }
699
870
  /**
700
871
  * <p>The summary of the listing of the data product.</p>
701
872
  * @public
@@ -768,6 +939,11 @@ export interface DataProductListingItemAdditionalAttributes {
768
939
  * @public
769
940
  */
770
941
  forms?: string | undefined;
942
+ /**
943
+ * <p>List of rationales indicating why this item was matched by search.</p>
944
+ * @public
945
+ */
946
+ matchRationale?: MatchRationaleItem[] | undefined;
771
947
  }
772
948
  /**
773
949
  * <p>The results of the data product summary.</p>
@@ -916,6 +1092,11 @@ export interface DataProductResultItem {
916
1092
  * @public
917
1093
  */
918
1094
  firstRevisionCreatedBy?: string | undefined;
1095
+ /**
1096
+ * <p>The additional attributes of an Amazon DataZone data product.</p>
1097
+ * @public
1098
+ */
1099
+ additionalAttributes?: DataProductItemAdditionalAttributes | undefined;
919
1100
  }
920
1101
  /**
921
1102
  * <p>The data product revision.</p>
@@ -9290,263 +9471,6 @@ export interface RevokeSubscriptionOutput {
9290
9471
  */
9291
9472
  retainPermissions?: boolean | undefined;
9292
9473
  }
9293
- /**
9294
- * @public
9295
- */
9296
- export interface DeleteRuleInput {
9297
- /**
9298
- * <p>The ID of the domain that where the rule is to be deleted.</p>
9299
- * @public
9300
- */
9301
- domainIdentifier: string | undefined;
9302
- /**
9303
- * <p>The ID of the rule that is to be deleted.</p>
9304
- * @public
9305
- */
9306
- identifier: string | undefined;
9307
- }
9308
- /**
9309
- * @public
9310
- */
9311
- export interface DeleteRuleOutput {
9312
- }
9313
- /**
9314
- * @public
9315
- */
9316
- export interface GetRuleInput {
9317
- /**
9318
- * <p>The ID of the domain where the <code>GetRule</code> action is to be invoked.</p>
9319
- * @public
9320
- */
9321
- domainIdentifier: string | undefined;
9322
- /**
9323
- * <p>The ID of the rule.</p>
9324
- * @public
9325
- */
9326
- identifier: string | undefined;
9327
- /**
9328
- * <p>The revision of the rule.</p>
9329
- * @public
9330
- */
9331
- revision?: string | undefined;
9332
- }
9333
- /**
9334
- * @public
9335
- */
9336
- export interface GetRuleOutput {
9337
- /**
9338
- * <p>The ID of the rule.</p>
9339
- * @public
9340
- */
9341
- identifier: string | undefined;
9342
- /**
9343
- * <p>The revision of the rule.</p>
9344
- * @public
9345
- */
9346
- revision: string | undefined;
9347
- /**
9348
- * <p>The name of the rule.</p>
9349
- * @public
9350
- */
9351
- name: string | undefined;
9352
- /**
9353
- * <p>The type of the rule.</p>
9354
- * @public
9355
- */
9356
- ruleType: RuleType | undefined;
9357
- /**
9358
- * <p>The target of the rule.</p>
9359
- * @public
9360
- */
9361
- target: RuleTarget | undefined;
9362
- /**
9363
- * <p>The action of the rule.</p>
9364
- * @public
9365
- */
9366
- action: RuleAction | undefined;
9367
- /**
9368
- * <p>The scope of the rule.</p>
9369
- * @public
9370
- */
9371
- scope: RuleScope | undefined;
9372
- /**
9373
- * <p>The detail of the rule.</p>
9374
- * @public
9375
- */
9376
- detail: RuleDetail | undefined;
9377
- /**
9378
- * <p>The target type of the rule.</p>
9379
- * @public
9380
- */
9381
- targetType?: RuleTargetType | undefined;
9382
- /**
9383
- * <p>The description of the rule.</p>
9384
- * @public
9385
- */
9386
- description?: string | undefined;
9387
- /**
9388
- * <p>The timestamp at which the rule was created.</p>
9389
- * @public
9390
- */
9391
- createdAt: Date | undefined;
9392
- /**
9393
- * <p>The timestamp at which the rule was last updated.</p>
9394
- * @public
9395
- */
9396
- updatedAt: Date | undefined;
9397
- /**
9398
- * <p>The user who created the rule.</p>
9399
- * @public
9400
- */
9401
- createdBy: string | undefined;
9402
- /**
9403
- * <p>The timestamp at which the rule was last updated.</p>
9404
- * @public
9405
- */
9406
- lastUpdatedBy: string | undefined;
9407
- }
9408
- /**
9409
- * @public
9410
- */
9411
- export interface ListRulesInput {
9412
- /**
9413
- * <p>The ID of the domain in which the rules are to be listed.</p>
9414
- * @public
9415
- */
9416
- domainIdentifier: string | undefined;
9417
- /**
9418
- * <p>The target type of the rule.</p>
9419
- * @public
9420
- */
9421
- targetType: RuleTargetType | undefined;
9422
- /**
9423
- * <p>The target ID of the rule.</p>
9424
- * @public
9425
- */
9426
- targetIdentifier: string | undefined;
9427
- /**
9428
- * <p>The type of the rule.</p>
9429
- * @public
9430
- */
9431
- ruleType?: RuleType | undefined;
9432
- /**
9433
- * <p>The action of the rule.</p>
9434
- * @public
9435
- */
9436
- action?: RuleAction | undefined;
9437
- /**
9438
- * <p>The IDs of projects in which rules are to be listed.</p>
9439
- * @public
9440
- */
9441
- projectIds?: string[] | undefined;
9442
- /**
9443
- * <p>The asset types of the rule.</p>
9444
- * @public
9445
- */
9446
- assetTypes?: string[] | undefined;
9447
- /**
9448
- * <p>The data product of the rule.</p>
9449
- * @public
9450
- */
9451
- dataProduct?: boolean | undefined;
9452
- /**
9453
- * <p>Specifies whether to include cascading rules in the results.</p>
9454
- * @public
9455
- */
9456
- includeCascaded?: boolean | undefined;
9457
- /**
9458
- * <p>The maximum number of rules to return in a single call to <code>ListRules</code>. When
9459
- * the number of rules to be listed is greater than the value of <code>MaxResults</code>, the
9460
- * response contains a <code>NextToken</code> value that you can use in a subsequent call to
9461
- * <code>ListRules</code> to list the next set of rules.</p>
9462
- * @public
9463
- */
9464
- maxResults?: number | undefined;
9465
- /**
9466
- * <p>When the number of rules is greater than the default value for the
9467
- * <code>MaxResults</code> parameter, or if you explicitly specify a value for
9468
- * <code>MaxResults</code> that is less than the number of rules, the response includes a
9469
- * pagination token named <code>NextToken</code>. You can specify this <code>NextToken</code>
9470
- * value in a subsequent call to <code>ListRules</code> to list the next set of rules.</p>
9471
- * @public
9472
- */
9473
- nextToken?: string | undefined;
9474
- }
9475
- /**
9476
- * <p>The summary of the rule.</p>
9477
- * @public
9478
- */
9479
- export interface RuleSummary {
9480
- /**
9481
- * <p>The ID of the rule.</p>
9482
- * @public
9483
- */
9484
- identifier?: string | undefined;
9485
- /**
9486
- * <p>The revision of the rule.</p>
9487
- * @public
9488
- */
9489
- revision?: string | undefined;
9490
- /**
9491
- * <p>The type of the rule.</p>
9492
- * @public
9493
- */
9494
- ruleType?: RuleType | undefined;
9495
- /**
9496
- * <p>The name of the rule.</p>
9497
- * @public
9498
- */
9499
- name?: string | undefined;
9500
- /**
9501
- * <p>The target type of the rule.</p>
9502
- * @public
9503
- */
9504
- targetType?: RuleTargetType | undefined;
9505
- /**
9506
- * <p>The target of the rule.</p>
9507
- * @public
9508
- */
9509
- target?: RuleTarget | undefined;
9510
- /**
9511
- * <p>The action of the rule.</p>
9512
- * @public
9513
- */
9514
- action?: RuleAction | undefined;
9515
- /**
9516
- * <p>The scope of the rule.</p>
9517
- * @public
9518
- */
9519
- scope?: RuleScope | undefined;
9520
- /**
9521
- * <p>The timestamp at which the rule was last updated.</p>
9522
- * @public
9523
- */
9524
- updatedAt?: Date | undefined;
9525
- /**
9526
- * <p>The timestamp at which the rule was last updated.</p>
9527
- * @public
9528
- */
9529
- lastUpdatedBy?: string | undefined;
9530
- }
9531
- /**
9532
- * @public
9533
- */
9534
- export interface ListRulesOutput {
9535
- /**
9536
- * <p>The results of the <code>ListRules</code> action.</p>
9537
- * @public
9538
- */
9539
- items: RuleSummary[] | undefined;
9540
- /**
9541
- * <p>When the number of rules is greater than the default value for the
9542
- * <code>MaxResults</code> parameter, or if you explicitly specify a value for
9543
- * <code>MaxResults</code> that is less than the number of rules, the response includes a
9544
- * pagination token named <code>NextToken</code>. You can specify this <code>NextToken</code>
9545
- * value in a subsequent call to <code>ListRules</code> to list the next set of rules.</p>
9546
- * @public
9547
- */
9548
- nextToken?: string | undefined;
9549
- }
9550
9474
  /**
9551
9475
  * @internal
9552
9476
  */
@@ -9863,15 +9787,3 @@ export declare const RejectSubscriptionRequestOutputFilterSensitiveLog: (obj: Re
9863
9787
  * @internal
9864
9788
  */
9865
9789
  export declare const RevokeSubscriptionOutputFilterSensitiveLog: (obj: RevokeSubscriptionOutput) => any;
9866
- /**
9867
- * @internal
9868
- */
9869
- export declare const GetRuleOutputFilterSensitiveLog: (obj: GetRuleOutput) => any;
9870
- /**
9871
- * @internal
9872
- */
9873
- export declare const RuleSummaryFilterSensitiveLog: (obj: RuleSummary) => any;
9874
- /**
9875
- * @internal
9876
- */
9877
- export declare const ListRulesOutputFilterSensitiveLog: (obj: ListRulesOutput) => any;