@aws-sdk/client-datazone 3.693.0 → 3.697.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 (64) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +478 -45
  3. package/dist-es/DataZone.js +10 -0
  4. package/dist-es/commands/CreateRuleCommand.js +23 -0
  5. package/dist-es/commands/DeleteRuleCommand.js +22 -0
  6. package/dist-es/commands/GetDomainUnitCommand.js +1 -1
  7. package/dist-es/commands/GetRuleCommand.js +23 -0
  8. package/dist-es/commands/ListDomainsCommand.js +1 -1
  9. package/dist-es/commands/ListRulesCommand.js +23 -0
  10. package/dist-es/commands/UpdateDomainUnitCommand.js +1 -1
  11. package/dist-es/commands/UpdateRuleCommand.js +23 -0
  12. package/dist-es/commands/index.js +5 -0
  13. package/dist-es/models/models_0.js +50 -30
  14. package/dist-es/models/models_1.js +65 -0
  15. package/dist-es/pagination/ListRulesPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_restJson1.js +227 -0
  18. package/dist-types/DataZone.d.ts +35 -0
  19. package/dist-types/DataZoneClient.d.ts +7 -2
  20. package/dist-types/commands/AcceptSubscriptionRequestCommand.d.ts +9 -0
  21. package/dist-types/commands/CreateRuleCommand.d.ts +174 -0
  22. package/dist-types/commands/CreateSubscriptionRequestCommand.d.ts +17 -0
  23. package/dist-types/commands/DeleteDomainUnitCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteEnvironmentBlueprintConfigurationCommand.d.ts +1 -2
  25. package/dist-types/commands/DeleteRuleCommand.d.ts +97 -0
  26. package/dist-types/commands/GetDomainUnitCommand.d.ts +1 -1
  27. package/dist-types/commands/GetRuleCommand.d.ts +138 -0
  28. package/dist-types/commands/GetSubscriptionRequestDetailsCommand.d.ts +9 -0
  29. package/dist-types/commands/ListDomainUnitsForParentCommand.d.ts +1 -1
  30. package/dist-types/commands/ListDomainsCommand.d.ts +2 -1
  31. package/dist-types/commands/ListRulesCommand.d.ts +142 -0
  32. package/dist-types/commands/ListSubscriptionRequestsCommand.d.ts +8 -0
  33. package/dist-types/commands/RejectSubscriptionRequestCommand.d.ts +9 -0
  34. package/dist-types/commands/UpdateDomainCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateDomainUnitCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateRuleCommand.d.ts +170 -0
  37. package/dist-types/commands/UpdateSubscriptionRequestCommand.d.ts +9 -0
  38. package/dist-types/commands/index.d.ts +5 -0
  39. package/dist-types/models/models_0.d.ts +741 -824
  40. package/dist-types/models/models_1.d.ts +3458 -2583
  41. package/dist-types/pagination/ListRulesPaginator.d.ts +7 -0
  42. package/dist-types/pagination/index.d.ts +1 -0
  43. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  44. package/dist-types/ts3.4/DataZone.d.ts +85 -0
  45. package/dist-types/ts3.4/DataZoneClient.d.ts +30 -0
  46. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +47 -0
  47. package/dist-types/ts3.4/commands/DeleteDomainUnitCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DeleteEnvironmentBlueprintConfigurationCommand.d.ts +4 -2
  49. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +47 -0
  50. package/dist-types/ts3.4/commands/GetDomainUnitCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +41 -0
  52. package/dist-types/ts3.4/commands/ListDomainUnitsForParentCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +2 -1
  54. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +47 -0
  55. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UpdateDomainUnitCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +47 -0
  58. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +120 -111
  60. package/dist-types/ts3.4/models/models_1.d.ts +221 -0
  61. package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  63. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  64. package/package.json +35 -35
@@ -238,6 +238,32 @@ export interface AcceptSubscriptionRequestInput {
238
238
  */
239
239
  assetScopes?: AcceptedAssetScope[] | undefined;
240
240
  }
241
+ /**
242
+ * <p>The details of a metadata form.</p>
243
+ * @public
244
+ */
245
+ export interface FormOutput {
246
+ /**
247
+ * <p>The name of the metadata form.</p>
248
+ * @public
249
+ */
250
+ formName: string | undefined;
251
+ /**
252
+ * <p>The name of the metadata form type.</p>
253
+ * @public
254
+ */
255
+ typeName?: string | undefined;
256
+ /**
257
+ * <p>The revision of the metadata form type.</p>
258
+ * @public
259
+ */
260
+ typeRevision?: string | undefined;
261
+ /**
262
+ * <p>The content of the metadata form.</p>
263
+ * @public
264
+ */
265
+ content?: string | undefined;
266
+ }
241
267
  /**
242
268
  * @public
243
269
  * @enum
@@ -588,6 +614,16 @@ export interface AcceptSubscriptionRequestOutput {
588
614
  * @public
589
615
  */
590
616
  decisionComment?: string | undefined;
617
+ /**
618
+ * <p>The ID of the existing subscription.</p>
619
+ * @public
620
+ */
621
+ existingSubscriptionId?: string | undefined;
622
+ /**
623
+ * <p>The metadata form in the subscription request.</p>
624
+ * @public
625
+ */
626
+ metadataForms?: FormOutput[] | undefined;
591
627
  }
592
628
  /**
593
629
  * <p>The parameters of the console link specified as part of the environment action.</p>
@@ -1616,32 +1652,6 @@ export interface CreateAssetInput {
1616
1652
  */
1617
1653
  clientToken?: string | undefined;
1618
1654
  }
1619
- /**
1620
- * <p>The details of a metadata form.</p>
1621
- * @public
1622
- */
1623
- export interface FormOutput {
1624
- /**
1625
- * <p>The name of the metadata form.</p>
1626
- * @public
1627
- */
1628
- formName: string | undefined;
1629
- /**
1630
- * <p>The name of the metadata form type.</p>
1631
- * @public
1632
- */
1633
- typeName?: string | undefined;
1634
- /**
1635
- * <p>The revision of the metadata form type.</p>
1636
- * @public
1637
- */
1638
- typeRevision?: string | undefined;
1639
- /**
1640
- * <p>The content of the metadata form.</p>
1641
- * @public
1642
- */
1643
- content?: string | undefined;
1644
- }
1645
1655
  /**
1646
1656
  * <p>The summary of the time series data points form.</p>
1647
1657
  * @public
@@ -3192,6 +3202,34 @@ export interface AssetTypeItem {
3192
3202
  */
3193
3203
  updatedBy?: string | undefined;
3194
3204
  }
3205
+ /**
3206
+ * @public
3207
+ * @enum
3208
+ */
3209
+ export declare const RuleScopeSelectionMode: {
3210
+ readonly ALL: "ALL";
3211
+ readonly SPECIFIC: "SPECIFIC";
3212
+ };
3213
+ /**
3214
+ * @public
3215
+ */
3216
+ export type RuleScopeSelectionMode = (typeof RuleScopeSelectionMode)[keyof typeof RuleScopeSelectionMode];
3217
+ /**
3218
+ * <p>The asset type for the rule details.</p>
3219
+ * @public
3220
+ */
3221
+ export interface AssetTypesForRule {
3222
+ /**
3223
+ * <p>The selection mode for the rule.</p>
3224
+ * @public
3225
+ */
3226
+ selectionMode: RuleScopeSelectionMode | undefined;
3227
+ /**
3228
+ * <p>The specific asset types that are included in the rule.</p>
3229
+ * @public
3230
+ */
3231
+ specificAssetTypes?: string[] | undefined;
3232
+ }
3195
3233
  /**
3196
3234
  * @public
3197
3235
  */
@@ -5948,369 +5986,361 @@ export interface CreateProjectMembershipInput {
5948
5986
  export interface CreateProjectMembershipOutput {
5949
5987
  }
5950
5988
  /**
5951
- * <p>A revision to be made to an asset published in a Amazon DataZone catalog.</p>
5952
5989
  * @public
5990
+ * @enum
5953
5991
  */
5954
- export interface ListingRevisionInput {
5992
+ export declare const RuleAction: {
5993
+ readonly CREATE_SUBSCRIPTION_REQUEST: "CREATE_SUBSCRIPTION_REQUEST";
5994
+ };
5995
+ /**
5996
+ * @public
5997
+ */
5998
+ export type RuleAction = (typeof RuleAction)[keyof typeof RuleAction];
5999
+ /**
6000
+ * <p>The reference of a metadata form.</p>
6001
+ * @public
6002
+ */
6003
+ export interface MetadataFormReference {
5955
6004
  /**
5956
- * <p>An identifier of revision to be made to an asset published in a Amazon DataZone
5957
- * catalog.</p>
6005
+ * <p>The type ID of the metadata form reference.</p>
5958
6006
  * @public
5959
6007
  */
5960
- identifier: string | undefined;
6008
+ typeIdentifier: string | undefined;
5961
6009
  /**
5962
- * <p>The details of a revision to be made to an asset published in a Amazon DataZone
5963
- * catalog.</p>
6010
+ * <p>The type revision of the metadata form reference.</p>
5964
6011
  * @public
5965
6012
  */
5966
- revision: string | undefined;
6013
+ typeRevision: string | undefined;
5967
6014
  }
5968
6015
  /**
5969
- * <p>The details of a listing for which a subscription is to be granted.</p>
6016
+ * <p>The enforcement details of a metadata form.</p>
5970
6017
  * @public
5971
6018
  */
5972
- export type GrantedEntityInput = GrantedEntityInput.ListingMember | GrantedEntityInput.$UnknownMember;
6019
+ export interface MetadataFormEnforcementDetail {
6020
+ /**
6021
+ * <p>The required metadata forms.</p>
6022
+ * @public
6023
+ */
6024
+ requiredMetadataForms?: MetadataFormReference[] | undefined;
6025
+ }
5973
6026
  /**
6027
+ * <p>The details of a rule.</p>
5974
6028
  * @public
5975
6029
  */
5976
- export declare namespace GrantedEntityInput {
6030
+ export type RuleDetail = RuleDetail.MetadataFormEnforcementDetailMember | RuleDetail.$UnknownMember;
6031
+ /**
6032
+ * @public
6033
+ */
6034
+ export declare namespace RuleDetail {
5977
6035
  /**
5978
- * <p>The listing for which a subscription is to be granted.</p>
6036
+ * <p>The enforcement detail of the metadata form.</p>
5979
6037
  * @public
5980
6038
  */
5981
- interface ListingMember {
5982
- listing: ListingRevisionInput;
6039
+ interface MetadataFormEnforcementDetailMember {
6040
+ metadataFormEnforcementDetail: MetadataFormEnforcementDetail;
5983
6041
  $unknown?: never;
5984
6042
  }
5985
6043
  /**
5986
6044
  * @public
5987
6045
  */
5988
6046
  interface $UnknownMember {
5989
- listing?: never;
6047
+ metadataFormEnforcementDetail?: never;
5990
6048
  $unknown: [string, any];
5991
6049
  }
5992
6050
  interface Visitor<T> {
5993
- listing: (value: ListingRevisionInput) => T;
6051
+ metadataFormEnforcementDetail: (value: MetadataFormEnforcementDetail) => T;
5994
6052
  _: (name: string, value: any) => T;
5995
6053
  }
5996
- const visit: <T>(value: GrantedEntityInput, visitor: Visitor<T>) => T;
6054
+ const visit: <T>(value: RuleDetail, visitor: Visitor<T>) => T;
5997
6055
  }
5998
6056
  /**
6057
+ * <p>Specifies projects in which the rule is created.</p>
5999
6058
  * @public
6000
6059
  */
6001
- export interface CreateSubscriptionGrantInput {
6060
+ export interface ProjectsForRule {
6002
6061
  /**
6003
- * <p>The ID of the Amazon DataZone domain in which the subscription grant is created.</p>
6004
- * @public
6005
- */
6006
- domainIdentifier: string | undefined;
6007
- /**
6008
- * <p>The ID of the environment in which the subscription grant is created.</p>
6062
+ * <p>The selection mode of the rule.</p>
6009
6063
  * @public
6010
6064
  */
6011
- environmentIdentifier: string | undefined;
6065
+ selectionMode: RuleScopeSelectionMode | undefined;
6012
6066
  /**
6013
- * <p>The ID of the subscription target for which the subscription grant is created.</p>
6067
+ * <p>The specific projects in which the rule is created.</p>
6014
6068
  * @public
6015
6069
  */
6016
- subscriptionTargetIdentifier: string | undefined;
6070
+ specificProjects?: string[] | undefined;
6071
+ }
6072
+ /**
6073
+ * <p>The scope of a rule.</p>
6074
+ * @public
6075
+ */
6076
+ export interface RuleScope {
6017
6077
  /**
6018
- * <p>The entity to which the subscription is to be granted.</p>
6078
+ * <p>The asset type included in the rule scope.</p>
6019
6079
  * @public
6020
6080
  */
6021
- grantedEntity: GrantedEntityInput | undefined;
6081
+ assetType?: AssetTypesForRule | undefined;
6022
6082
  /**
6023
- * <p>The names of the assets for which the subscription grant is created.</p>
6083
+ * <p>The data product included in the rule scope.</p>
6024
6084
  * @public
6025
6085
  */
6026
- assetTargetNames?: AssetTargetNameMap[] | undefined;
6086
+ dataProduct?: boolean | undefined;
6027
6087
  /**
6028
- * <p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the
6029
- * request.</p>
6088
+ * <p>The project included in the rule scope.</p>
6030
6089
  * @public
6031
6090
  */
6032
- clientToken?: string | undefined;
6091
+ project?: ProjectsForRule | undefined;
6033
6092
  }
6034
6093
  /**
6035
- * <p>Specifies the error message that is returned if the operation cannot be successfully
6036
- * completed.</p>
6094
+ * <p>The target for the domain unit.</p>
6037
6095
  * @public
6038
6096
  */
6039
- export interface FailureCause {
6097
+ export interface DomainUnitTarget {
6040
6098
  /**
6041
- * <p>The description of the error message.</p>
6099
+ * <p>The ID of the domain unit.</p>
6042
6100
  * @public
6043
6101
  */
6044
- message?: string | undefined;
6102
+ domainUnitId: string | undefined;
6103
+ /**
6104
+ * <p>Specifies whether to apply a rule to the child domain units.</p>
6105
+ * @public
6106
+ */
6107
+ includeChildDomainUnits?: boolean | undefined;
6045
6108
  }
6046
6109
  /**
6047
- * @public
6048
- * @enum
6049
- */
6050
- export declare const SubscriptionGrantStatus: {
6051
- readonly GRANTED: "GRANTED";
6052
- readonly GRANT_FAILED: "GRANT_FAILED";
6053
- readonly GRANT_IN_PROGRESS: "GRANT_IN_PROGRESS";
6054
- readonly GRANT_PENDING: "GRANT_PENDING";
6055
- readonly REVOKED: "REVOKED";
6056
- readonly REVOKE_FAILED: "REVOKE_FAILED";
6057
- readonly REVOKE_IN_PROGRESS: "REVOKE_IN_PROGRESS";
6058
- readonly REVOKE_PENDING: "REVOKE_PENDING";
6059
- };
6060
- /**
6110
+ * <p>The target of the rule.</p>
6061
6111
  * @public
6062
6112
  */
6063
- export type SubscriptionGrantStatus = (typeof SubscriptionGrantStatus)[keyof typeof SubscriptionGrantStatus];
6113
+ export type RuleTarget = RuleTarget.DomainUnitTargetMember | RuleTarget.$UnknownMember;
6064
6114
  /**
6065
- * <p>The details of the asset for which the subscription grant is created.</p>
6066
6115
  * @public
6067
6116
  */
6068
- export interface SubscribedAsset {
6117
+ export declare namespace RuleTarget {
6069
6118
  /**
6070
- * <p>The identifier of the asset for which the subscription grant is created.</p>
6119
+ * <p>The ID of the domain unit.</p>
6071
6120
  * @public
6072
6121
  */
6073
- assetId: string | undefined;
6122
+ interface DomainUnitTargetMember {
6123
+ domainUnitTarget: DomainUnitTarget;
6124
+ $unknown?: never;
6125
+ }
6074
6126
  /**
6075
- * <p>The revision of the asset for which the subscription grant is created.</p>
6076
6127
  * @public
6077
6128
  */
6078
- assetRevision: string | undefined;
6129
+ interface $UnknownMember {
6130
+ domainUnitTarget?: never;
6131
+ $unknown: [string, any];
6132
+ }
6133
+ interface Visitor<T> {
6134
+ domainUnitTarget: (value: DomainUnitTarget) => T;
6135
+ _: (name: string, value: any) => T;
6136
+ }
6137
+ const visit: <T>(value: RuleTarget, visitor: Visitor<T>) => T;
6138
+ }
6139
+ /**
6140
+ * @public
6141
+ */
6142
+ export interface CreateRuleInput {
6079
6143
  /**
6080
- * <p>The status of the asset for which the subscription grant is created.</p>
6144
+ * <p>The ID of the domain where the rule is created.</p>
6081
6145
  * @public
6082
6146
  */
6083
- status: SubscriptionGrantStatus | undefined;
6147
+ domainIdentifier: string | undefined;
6084
6148
  /**
6085
- * <p>The target name of the asset for which the subscription grant is created.</p>
6149
+ * <p>The name of the rule.</p>
6086
6150
  * @public
6087
6151
  */
6088
- targetName?: string | undefined;
6152
+ name: string | undefined;
6089
6153
  /**
6090
- * <p>The failure cause included in the details of the asset for which the subscription grant
6091
- * is created.</p>
6154
+ * <p>The target of the rule.</p>
6092
6155
  * @public
6093
6156
  */
6094
- failureCause?: FailureCause | undefined;
6157
+ target: RuleTarget | undefined;
6095
6158
  /**
6096
- * <p>The timestamp of when the subscription grant to the asset is created.</p>
6159
+ * <p>The action of the rule.</p>
6097
6160
  * @public
6098
6161
  */
6099
- grantedTimestamp?: Date | undefined;
6162
+ action: RuleAction | undefined;
6100
6163
  /**
6101
- * <p>The failure timestamp included in the details of the asset for which the subscription
6102
- * grant is created.</p>
6164
+ * <p>The scope of the rule.</p>
6103
6165
  * @public
6104
6166
  */
6105
- failureTimestamp?: Date | undefined;
6167
+ scope: RuleScope | undefined;
6106
6168
  /**
6107
- * <p>The asset scope of the subscribed asset.</p>
6169
+ * <p>The detail of the rule.</p>
6108
6170
  * @public
6109
6171
  */
6110
- assetScope?: AssetScope | undefined;
6111
- }
6112
- /**
6113
- * <p>A revision of an asset published in a Amazon DataZone catalog.</p>
6114
- * @public
6115
- */
6116
- export interface ListingRevision {
6172
+ detail: RuleDetail | undefined;
6117
6173
  /**
6118
- * <p>An identifier of a revision of an asset published in a Amazon DataZone catalog.</p>
6174
+ * <p>The description of the rule.</p>
6119
6175
  * @public
6120
6176
  */
6121
- id: string | undefined;
6177
+ description?: string | undefined;
6122
6178
  /**
6123
- * <p>The details of a revision of an asset published in a Amazon DataZone catalog.</p>
6179
+ * <p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the
6180
+ * request.</p>
6124
6181
  * @public
6125
6182
  */
6126
- revision: string | undefined;
6183
+ clientToken?: string | undefined;
6127
6184
  }
6128
6185
  /**
6129
- * <p>The details of a listing for which a subscription is granted.</p>
6130
6186
  * @public
6187
+ * @enum
6131
6188
  */
6132
- export type GrantedEntity = GrantedEntity.ListingMember | GrantedEntity.$UnknownMember;
6189
+ export declare const RuleType: {
6190
+ readonly METADATA_FORM_ENFORCEMENT: "METADATA_FORM_ENFORCEMENT";
6191
+ };
6133
6192
  /**
6134
6193
  * @public
6135
6194
  */
6136
- export declare namespace GrantedEntity {
6137
- /**
6138
- * <p>The listing for which a subscription is granted.</p>
6139
- * @public
6140
- */
6141
- interface ListingMember {
6142
- listing: ListingRevision;
6143
- $unknown?: never;
6144
- }
6145
- /**
6146
- * @public
6147
- */
6148
- interface $UnknownMember {
6149
- listing?: never;
6150
- $unknown: [string, any];
6151
- }
6152
- interface Visitor<T> {
6153
- listing: (value: ListingRevision) => T;
6154
- _: (name: string, value: any) => T;
6155
- }
6156
- const visit: <T>(value: GrantedEntity, visitor: Visitor<T>) => T;
6157
- }
6195
+ export type RuleType = (typeof RuleType)[keyof typeof RuleType];
6158
6196
  /**
6159
6197
  * @public
6160
6198
  * @enum
6161
6199
  */
6162
- export declare const SubscriptionGrantOverallStatus: {
6163
- readonly COMPLETED: "COMPLETED";
6164
- readonly GRANT_AND_REVOKE_FAILED: "GRANT_AND_REVOKE_FAILED";
6165
- readonly GRANT_FAILED: "GRANT_FAILED";
6166
- readonly INACCESSIBLE: "INACCESSIBLE";
6167
- readonly IN_PROGRESS: "IN_PROGRESS";
6168
- readonly PENDING: "PENDING";
6169
- readonly REVOKE_FAILED: "REVOKE_FAILED";
6200
+ export declare const RuleTargetType: {
6201
+ readonly DOMAIN_UNIT: "DOMAIN_UNIT";
6170
6202
  };
6171
6203
  /**
6172
6204
  * @public
6173
6205
  */
6174
- export type SubscriptionGrantOverallStatus = (typeof SubscriptionGrantOverallStatus)[keyof typeof SubscriptionGrantOverallStatus];
6206
+ export type RuleTargetType = (typeof RuleTargetType)[keyof typeof RuleTargetType];
6175
6207
  /**
6176
6208
  * @public
6177
6209
  */
6178
- export interface CreateSubscriptionGrantOutput {
6210
+ export interface CreateRuleOutput {
6179
6211
  /**
6180
- * <p>The ID of the subscription grant.</p>
6212
+ * <p>The ID of the rule.</p>
6181
6213
  * @public
6182
6214
  */
6183
- id: string | undefined;
6215
+ identifier: string | undefined;
6184
6216
  /**
6185
- * <p>The Amazon DataZone user who created the subscription grant.</p>
6217
+ * <p>The name of the rule.</p>
6186
6218
  * @public
6187
6219
  */
6188
- createdBy: string | undefined;
6220
+ name: string | undefined;
6189
6221
  /**
6190
- * <p>The Amazon DataZone user who updated the subscription grant.</p>
6222
+ * <p>The type of the rule.</p>
6191
6223
  * @public
6192
6224
  */
6193
- updatedBy?: string | undefined;
6225
+ ruleType: RuleType | undefined;
6194
6226
  /**
6195
- * <p>The ID of the Amazon DataZone domain in which the subscription grant is created.</p>
6227
+ * <p>The target of the rule.</p>
6196
6228
  * @public
6197
6229
  */
6198
- domainId: string | undefined;
6230
+ target: RuleTarget | undefined;
6199
6231
  /**
6200
- * <p>A timestamp of when the subscription grant is created.</p>
6232
+ * <p>The action of the rule.</p>
6201
6233
  * @public
6202
6234
  */
6203
- createdAt: Date | undefined;
6235
+ action: RuleAction | undefined;
6204
6236
  /**
6205
- * <p>A timestamp of when the subscription grant was updated.</p>
6237
+ * <p>The scope of the rule.</p>
6206
6238
  * @public
6207
6239
  */
6208
- updatedAt: Date | undefined;
6240
+ scope: RuleScope | undefined;
6209
6241
  /**
6210
- * <p>The ID of the subscription target for which the subscription grant is created.</p>
6242
+ * <p>The detail of the rule.</p>
6211
6243
  * @public
6212
6244
  */
6213
- subscriptionTargetId: string | undefined;
6245
+ detail: RuleDetail | undefined;
6214
6246
  /**
6215
- * <p>The entity to which the subscription is granted.</p>
6247
+ * <p>The target type of the rule.</p>
6216
6248
  * @public
6217
6249
  */
6218
- grantedEntity: GrantedEntity | undefined;
6250
+ targetType?: RuleTargetType | undefined;
6219
6251
  /**
6220
- * <p>The status of the subscription grant.</p>
6252
+ * <p>The description of the rule.</p>
6221
6253
  * @public
6222
6254
  */
6223
- status: SubscriptionGrantOverallStatus | undefined;
6255
+ description?: string | undefined;
6224
6256
  /**
6225
- * <p>The assets for which the subscription grant is created.</p>
6257
+ * <p>The timestamp at which the rule is created.</p>
6226
6258
  * @public
6227
6259
  */
6228
- assets?: SubscribedAsset[] | undefined;
6260
+ createdAt: Date | undefined;
6229
6261
  /**
6230
- * @deprecated
6231
- *
6232
- * <p>The identifier of the subscription grant.</p>
6262
+ * <p>The user who creates the rule.</p>
6233
6263
  * @public
6234
6264
  */
6235
- subscriptionId?: string | undefined;
6265
+ createdBy: string | undefined;
6236
6266
  }
6237
6267
  /**
6238
- * <p>The published asset for which the subscription grant is to be created.</p>
6268
+ * <p>A revision to be made to an asset published in a Amazon DataZone catalog.</p>
6239
6269
  * @public
6240
6270
  */
6241
- export interface SubscribedListingInput {
6271
+ export interface ListingRevisionInput {
6242
6272
  /**
6243
- * <p>The identifier of the published asset for which the subscription grant is to be
6244
- * created.</p>
6273
+ * <p>An identifier of revision to be made to an asset published in a Amazon DataZone
6274
+ * catalog.</p>
6245
6275
  * @public
6246
6276
  */
6247
6277
  identifier: string | undefined;
6248
- }
6249
- /**
6250
- * <p>The project that is to be given a subscription grant.</p>
6251
- * @public
6252
- */
6253
- export interface SubscribedProjectInput {
6254
6278
  /**
6255
- * <p>The identifier of the project that is to be given a subscription grant.</p>
6279
+ * <p>The details of a revision to be made to an asset published in a Amazon DataZone
6280
+ * catalog.</p>
6256
6281
  * @public
6257
6282
  */
6258
- identifier?: string | undefined;
6283
+ revision: string | undefined;
6259
6284
  }
6260
6285
  /**
6261
- * <p>The principal that is to be given a subscriptiong grant.</p>
6286
+ * <p>The details of a listing for which a subscription is to be granted.</p>
6262
6287
  * @public
6263
6288
  */
6264
- export type SubscribedPrincipalInput = SubscribedPrincipalInput.ProjectMember | SubscribedPrincipalInput.$UnknownMember;
6289
+ export type GrantedEntityInput = GrantedEntityInput.ListingMember | GrantedEntityInput.$UnknownMember;
6265
6290
  /**
6266
6291
  * @public
6267
6292
  */
6268
- export declare namespace SubscribedPrincipalInput {
6293
+ export declare namespace GrantedEntityInput {
6269
6294
  /**
6270
- * <p>The project that is to be given a subscription grant.</p>
6295
+ * <p>The listing for which a subscription is to be granted.</p>
6271
6296
  * @public
6272
6297
  */
6273
- interface ProjectMember {
6274
- project: SubscribedProjectInput;
6298
+ interface ListingMember {
6299
+ listing: ListingRevisionInput;
6275
6300
  $unknown?: never;
6276
6301
  }
6277
6302
  /**
6278
6303
  * @public
6279
6304
  */
6280
6305
  interface $UnknownMember {
6281
- project?: never;
6306
+ listing?: never;
6282
6307
  $unknown: [string, any];
6283
6308
  }
6284
6309
  interface Visitor<T> {
6285
- project: (value: SubscribedProjectInput) => T;
6310
+ listing: (value: ListingRevisionInput) => T;
6286
6311
  _: (name: string, value: any) => T;
6287
6312
  }
6288
- const visit: <T>(value: SubscribedPrincipalInput, visitor: Visitor<T>) => T;
6313
+ const visit: <T>(value: GrantedEntityInput, visitor: Visitor<T>) => T;
6289
6314
  }
6290
6315
  /**
6291
6316
  * @public
6292
6317
  */
6293
- export interface CreateSubscriptionRequestInput {
6318
+ export interface CreateSubscriptionGrantInput {
6294
6319
  /**
6295
- * <p>The ID of the Amazon DataZone domain in which the subscription request is created.</p>
6320
+ * <p>The ID of the Amazon DataZone domain in which the subscription grant is created.</p>
6296
6321
  * @public
6297
6322
  */
6298
6323
  domainIdentifier: string | undefined;
6299
6324
  /**
6300
- * <p>The Amazon DataZone principals for whom the subscription request is created.</p>
6325
+ * <p>The ID of the environment in which the subscription grant is created.</p>
6301
6326
  * @public
6302
6327
  */
6303
- subscribedPrincipals: SubscribedPrincipalInput[] | undefined;
6328
+ environmentIdentifier: string | undefined;
6304
6329
  /**
6305
- * <p>The published asset for which the subscription grant is to be created.</p>
6330
+ * <p>The ID of the subscription target for which the subscription grant is created.</p>
6306
6331
  * @public
6307
6332
  */
6308
- subscribedListings: SubscribedListingInput[] | undefined;
6333
+ subscriptionTargetIdentifier: string | undefined;
6309
6334
  /**
6310
- * <p>The reason for the subscription request.</p>
6335
+ * <p>The entity to which the subscription is to be granted.</p>
6311
6336
  * @public
6312
6337
  */
6313
- requestReason: string | undefined;
6338
+ grantedEntity: GrantedEntityInput | undefined;
6339
+ /**
6340
+ * <p>The names of the assets for which the subscription grant is created.</p>
6341
+ * @public
6342
+ */
6343
+ assetTargetNames?: AssetTargetNameMap[] | undefined;
6314
6344
  /**
6315
6345
  * <p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the
6316
6346
  * request.</p>
@@ -6319,148 +6349,450 @@ export interface CreateSubscriptionRequestInput {
6319
6349
  clientToken?: string | undefined;
6320
6350
  }
6321
6351
  /**
6352
+ * <p>Specifies the error message that is returned if the operation cannot be successfully
6353
+ * completed.</p>
6322
6354
  * @public
6323
6355
  */
6324
- export interface CreateSubscriptionRequestOutput {
6325
- /**
6326
- * <p>The ID of the subscription request.</p>
6327
- * @public
6328
- */
6329
- id: string | undefined;
6356
+ export interface FailureCause {
6330
6357
  /**
6331
- * <p>The Amazon DataZone user who created the subscription request.</p>
6358
+ * <p>The description of the error message.</p>
6332
6359
  * @public
6333
6360
  */
6334
- createdBy: string | undefined;
6361
+ message?: string | undefined;
6362
+ }
6363
+ /**
6364
+ * @public
6365
+ * @enum
6366
+ */
6367
+ export declare const SubscriptionGrantStatus: {
6368
+ readonly GRANTED: "GRANTED";
6369
+ readonly GRANT_FAILED: "GRANT_FAILED";
6370
+ readonly GRANT_IN_PROGRESS: "GRANT_IN_PROGRESS";
6371
+ readonly GRANT_PENDING: "GRANT_PENDING";
6372
+ readonly REVOKED: "REVOKED";
6373
+ readonly REVOKE_FAILED: "REVOKE_FAILED";
6374
+ readonly REVOKE_IN_PROGRESS: "REVOKE_IN_PROGRESS";
6375
+ readonly REVOKE_PENDING: "REVOKE_PENDING";
6376
+ };
6377
+ /**
6378
+ * @public
6379
+ */
6380
+ export type SubscriptionGrantStatus = (typeof SubscriptionGrantStatus)[keyof typeof SubscriptionGrantStatus];
6381
+ /**
6382
+ * <p>The details of the asset for which the subscription grant is created.</p>
6383
+ * @public
6384
+ */
6385
+ export interface SubscribedAsset {
6335
6386
  /**
6336
- * <p>The Amazon DataZone user who updated the subscription request.</p>
6387
+ * <p>The identifier of the asset for which the subscription grant is created.</p>
6337
6388
  * @public
6338
6389
  */
6339
- updatedBy?: string | undefined;
6390
+ assetId: string | undefined;
6340
6391
  /**
6341
- * <p>The ID of the Amazon DataZone domain in whcih the subscription request is created.</p>
6392
+ * <p>The revision of the asset for which the subscription grant is created.</p>
6342
6393
  * @public
6343
6394
  */
6344
- domainId: string | undefined;
6395
+ assetRevision: string | undefined;
6345
6396
  /**
6346
- * <p>The status of the subscription request.</p>
6397
+ * <p>The status of the asset for which the subscription grant is created.</p>
6347
6398
  * @public
6348
6399
  */
6349
- status: SubscriptionRequestStatus | undefined;
6400
+ status: SubscriptionGrantStatus | undefined;
6350
6401
  /**
6351
- * <p>A timestamp of when the subscription request is created.</p>
6402
+ * <p>The target name of the asset for which the subscription grant is created.</p>
6352
6403
  * @public
6353
6404
  */
6354
- createdAt: Date | undefined;
6405
+ targetName?: string | undefined;
6355
6406
  /**
6356
- * <p>The timestamp of when the subscription request was updated.</p>
6407
+ * <p>The failure cause included in the details of the asset for which the subscription grant
6408
+ * is created.</p>
6357
6409
  * @public
6358
6410
  */
6359
- updatedAt: Date | undefined;
6411
+ failureCause?: FailureCause | undefined;
6360
6412
  /**
6361
- * <p>The reason for the subscription request.</p>
6413
+ * <p>The timestamp of when the subscription grant to the asset is created.</p>
6362
6414
  * @public
6363
6415
  */
6364
- requestReason: string | undefined;
6416
+ grantedTimestamp?: Date | undefined;
6365
6417
  /**
6366
- * <p>The subscribed principals of the subscription request.</p>
6418
+ * <p>The failure timestamp included in the details of the asset for which the subscription
6419
+ * grant is created.</p>
6367
6420
  * @public
6368
6421
  */
6369
- subscribedPrincipals: SubscribedPrincipal[] | undefined;
6422
+ failureTimestamp?: Date | undefined;
6370
6423
  /**
6371
- * <p>The published asset for which the subscription grant is to be created.</p>
6424
+ * <p>The asset scope of the subscribed asset.</p>
6372
6425
  * @public
6373
6426
  */
6374
- subscribedListings: SubscribedListing[] | undefined;
6427
+ assetScope?: AssetScope | undefined;
6428
+ }
6429
+ /**
6430
+ * <p>A revision of an asset published in a Amazon DataZone catalog.</p>
6431
+ * @public
6432
+ */
6433
+ export interface ListingRevision {
6375
6434
  /**
6376
- * <p>The ID of the reviewer of the subscription request.</p>
6435
+ * <p>An identifier of a revision of an asset published in a Amazon DataZone catalog.</p>
6377
6436
  * @public
6378
6437
  */
6379
- reviewerId?: string | undefined;
6438
+ id: string | undefined;
6380
6439
  /**
6381
- * <p>The decision comment of the subscription request.</p>
6440
+ * <p>The details of a revision of an asset published in a Amazon DataZone catalog.</p>
6382
6441
  * @public
6383
6442
  */
6384
- decisionComment?: string | undefined;
6443
+ revision: string | undefined;
6385
6444
  }
6386
6445
  /**
6387
- * <p>The details of the subscription target configuration.</p>
6446
+ * <p>The details of a listing for which a subscription is granted.</p>
6388
6447
  * @public
6389
6448
  */
6390
- export interface SubscriptionTargetForm {
6449
+ export type GrantedEntity = GrantedEntity.ListingMember | GrantedEntity.$UnknownMember;
6450
+ /**
6451
+ * @public
6452
+ */
6453
+ export declare namespace GrantedEntity {
6391
6454
  /**
6392
- * <p>The form name included in the subscription target configuration.</p>
6455
+ * <p>The listing for which a subscription is granted.</p>
6393
6456
  * @public
6394
6457
  */
6395
- formName: string | undefined;
6458
+ interface ListingMember {
6459
+ listing: ListingRevision;
6460
+ $unknown?: never;
6461
+ }
6396
6462
  /**
6397
- * <p>The content of the subscription target configuration.</p>
6398
6463
  * @public
6399
6464
  */
6400
- content: string | undefined;
6465
+ interface $UnknownMember {
6466
+ listing?: never;
6467
+ $unknown: [string, any];
6468
+ }
6469
+ interface Visitor<T> {
6470
+ listing: (value: ListingRevision) => T;
6471
+ _: (name: string, value: any) => T;
6472
+ }
6473
+ const visit: <T>(value: GrantedEntity, visitor: Visitor<T>) => T;
6401
6474
  }
6402
6475
  /**
6403
6476
  * @public
6477
+ * @enum
6404
6478
  */
6405
- export interface CreateSubscriptionTargetInput {
6479
+ export declare const SubscriptionGrantOverallStatus: {
6480
+ readonly COMPLETED: "COMPLETED";
6481
+ readonly GRANT_AND_REVOKE_FAILED: "GRANT_AND_REVOKE_FAILED";
6482
+ readonly GRANT_FAILED: "GRANT_FAILED";
6483
+ readonly INACCESSIBLE: "INACCESSIBLE";
6484
+ readonly IN_PROGRESS: "IN_PROGRESS";
6485
+ readonly PENDING: "PENDING";
6486
+ readonly REVOKE_FAILED: "REVOKE_FAILED";
6487
+ };
6488
+ /**
6489
+ * @public
6490
+ */
6491
+ export type SubscriptionGrantOverallStatus = (typeof SubscriptionGrantOverallStatus)[keyof typeof SubscriptionGrantOverallStatus];
6492
+ /**
6493
+ * @public
6494
+ */
6495
+ export interface CreateSubscriptionGrantOutput {
6406
6496
  /**
6407
- * <p>The ID of the Amazon DataZone domain in which subscription target is created.</p>
6497
+ * <p>The ID of the subscription grant.</p>
6408
6498
  * @public
6409
6499
  */
6410
- domainIdentifier: string | undefined;
6500
+ id: string | undefined;
6411
6501
  /**
6412
- * <p>The ID of the environment in which subscription target is created.</p>
6502
+ * <p>The Amazon DataZone user who created the subscription grant.</p>
6413
6503
  * @public
6414
6504
  */
6415
- environmentIdentifier: string | undefined;
6505
+ createdBy: string | undefined;
6416
6506
  /**
6417
- * <p>The name of the subscription target.</p>
6507
+ * <p>The Amazon DataZone user who updated the subscription grant.</p>
6418
6508
  * @public
6419
6509
  */
6420
- name: string | undefined;
6510
+ updatedBy?: string | undefined;
6421
6511
  /**
6422
- * <p>The type of the subscription target.</p>
6512
+ * <p>The ID of the Amazon DataZone domain in which the subscription grant is created.</p>
6423
6513
  * @public
6424
6514
  */
6425
- type: string | undefined;
6515
+ domainId: string | undefined;
6426
6516
  /**
6427
- * <p>The configuration of the subscription target.</p>
6517
+ * <p>A timestamp of when the subscription grant is created.</p>
6428
6518
  * @public
6429
6519
  */
6430
- subscriptionTargetConfig: SubscriptionTargetForm[] | undefined;
6520
+ createdAt: Date | undefined;
6431
6521
  /**
6432
- * <p>The authorized principals of the subscription target.</p>
6522
+ * <p>A timestamp of when the subscription grant was updated.</p>
6433
6523
  * @public
6434
6524
  */
6435
- authorizedPrincipals: string[] | undefined;
6525
+ updatedAt: Date | undefined;
6436
6526
  /**
6437
- * <p>The manage access role that is used to create the subscription target.</p>
6527
+ * <p>The ID of the subscription target for which the subscription grant is created.</p>
6438
6528
  * @public
6439
6529
  */
6440
- manageAccessRole: string | undefined;
6530
+ subscriptionTargetId: string | undefined;
6441
6531
  /**
6442
- * <p>The asset types that can be included in the subscription target.</p>
6532
+ * <p>The entity to which the subscription is granted.</p>
6443
6533
  * @public
6444
6534
  */
6445
- applicableAssetTypes: string[] | undefined;
6535
+ grantedEntity: GrantedEntity | undefined;
6446
6536
  /**
6447
- * <p>The provider of the subscription target.</p>
6537
+ * <p>The status of the subscription grant.</p>
6448
6538
  * @public
6449
6539
  */
6450
- provider?: string | undefined;
6540
+ status: SubscriptionGrantOverallStatus | undefined;
6451
6541
  /**
6452
- * <p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the
6453
- * request.</p>
6542
+ * <p>The assets for which the subscription grant is created.</p>
6454
6543
  * @public
6455
6544
  */
6456
- clientToken?: string | undefined;
6545
+ assets?: SubscribedAsset[] | undefined;
6546
+ /**
6547
+ * @deprecated
6548
+ *
6549
+ * <p>The identifier of the subscription grant.</p>
6550
+ * @public
6551
+ */
6552
+ subscriptionId?: string | undefined;
6457
6553
  }
6458
6554
  /**
6555
+ * <p>The published asset for which the subscription grant is to be created.</p>
6459
6556
  * @public
6460
6557
  */
6461
- export interface CreateSubscriptionTargetOutput {
6558
+ export interface SubscribedListingInput {
6462
6559
  /**
6463
- * <p>The ID of the subscription target.</p>
6560
+ * <p>The identifier of the published asset for which the subscription grant is to be
6561
+ * created.</p>
6562
+ * @public
6563
+ */
6564
+ identifier: string | undefined;
6565
+ }
6566
+ /**
6567
+ * <p>The project that is to be given a subscription grant.</p>
6568
+ * @public
6569
+ */
6570
+ export interface SubscribedProjectInput {
6571
+ /**
6572
+ * <p>The identifier of the project that is to be given a subscription grant.</p>
6573
+ * @public
6574
+ */
6575
+ identifier?: string | undefined;
6576
+ }
6577
+ /**
6578
+ * <p>The principal that is to be given a subscriptiong grant.</p>
6579
+ * @public
6580
+ */
6581
+ export type SubscribedPrincipalInput = SubscribedPrincipalInput.ProjectMember | SubscribedPrincipalInput.$UnknownMember;
6582
+ /**
6583
+ * @public
6584
+ */
6585
+ export declare namespace SubscribedPrincipalInput {
6586
+ /**
6587
+ * <p>The project that is to be given a subscription grant.</p>
6588
+ * @public
6589
+ */
6590
+ interface ProjectMember {
6591
+ project: SubscribedProjectInput;
6592
+ $unknown?: never;
6593
+ }
6594
+ /**
6595
+ * @public
6596
+ */
6597
+ interface $UnknownMember {
6598
+ project?: never;
6599
+ $unknown: [string, any];
6600
+ }
6601
+ interface Visitor<T> {
6602
+ project: (value: SubscribedProjectInput) => T;
6603
+ _: (name: string, value: any) => T;
6604
+ }
6605
+ const visit: <T>(value: SubscribedPrincipalInput, visitor: Visitor<T>) => T;
6606
+ }
6607
+ /**
6608
+ * @public
6609
+ */
6610
+ export interface CreateSubscriptionRequestInput {
6611
+ /**
6612
+ * <p>The ID of the Amazon DataZone domain in which the subscription request is created.</p>
6613
+ * @public
6614
+ */
6615
+ domainIdentifier: string | undefined;
6616
+ /**
6617
+ * <p>The Amazon DataZone principals for whom the subscription request is created.</p>
6618
+ * @public
6619
+ */
6620
+ subscribedPrincipals: SubscribedPrincipalInput[] | undefined;
6621
+ /**
6622
+ * <p>The published asset for which the subscription grant is to be created.</p>
6623
+ * @public
6624
+ */
6625
+ subscribedListings: SubscribedListingInput[] | undefined;
6626
+ /**
6627
+ * <p>The reason for the subscription request.</p>
6628
+ * @public
6629
+ */
6630
+ requestReason: string | undefined;
6631
+ /**
6632
+ * <p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the
6633
+ * request.</p>
6634
+ * @public
6635
+ */
6636
+ clientToken?: string | undefined;
6637
+ /**
6638
+ * <p>The metadata form included in the subscription request.</p>
6639
+ * @public
6640
+ */
6641
+ metadataForms?: FormInput[] | undefined;
6642
+ }
6643
+ /**
6644
+ * @public
6645
+ */
6646
+ export interface CreateSubscriptionRequestOutput {
6647
+ /**
6648
+ * <p>The ID of the subscription request.</p>
6649
+ * @public
6650
+ */
6651
+ id: string | undefined;
6652
+ /**
6653
+ * <p>The Amazon DataZone user who created the subscription request.</p>
6654
+ * @public
6655
+ */
6656
+ createdBy: string | undefined;
6657
+ /**
6658
+ * <p>The Amazon DataZone user who updated the subscription request.</p>
6659
+ * @public
6660
+ */
6661
+ updatedBy?: string | undefined;
6662
+ /**
6663
+ * <p>The ID of the Amazon DataZone domain in whcih the subscription request is created.</p>
6664
+ * @public
6665
+ */
6666
+ domainId: string | undefined;
6667
+ /**
6668
+ * <p>The status of the subscription request.</p>
6669
+ * @public
6670
+ */
6671
+ status: SubscriptionRequestStatus | undefined;
6672
+ /**
6673
+ * <p>A timestamp of when the subscription request is created.</p>
6674
+ * @public
6675
+ */
6676
+ createdAt: Date | undefined;
6677
+ /**
6678
+ * <p>The timestamp of when the subscription request was updated.</p>
6679
+ * @public
6680
+ */
6681
+ updatedAt: Date | undefined;
6682
+ /**
6683
+ * <p>The reason for the subscription request.</p>
6684
+ * @public
6685
+ */
6686
+ requestReason: string | undefined;
6687
+ /**
6688
+ * <p>The subscribed principals of the subscription request.</p>
6689
+ * @public
6690
+ */
6691
+ subscribedPrincipals: SubscribedPrincipal[] | undefined;
6692
+ /**
6693
+ * <p>The published asset for which the subscription grant is to be created.</p>
6694
+ * @public
6695
+ */
6696
+ subscribedListings: SubscribedListing[] | undefined;
6697
+ /**
6698
+ * <p>The ID of the reviewer of the subscription request.</p>
6699
+ * @public
6700
+ */
6701
+ reviewerId?: string | undefined;
6702
+ /**
6703
+ * <p>The decision comment of the subscription request.</p>
6704
+ * @public
6705
+ */
6706
+ decisionComment?: string | undefined;
6707
+ /**
6708
+ * <p>The ID of the existing subscription.</p>
6709
+ * @public
6710
+ */
6711
+ existingSubscriptionId?: string | undefined;
6712
+ /**
6713
+ * <p>The metadata form included in the subscription request.</p>
6714
+ * @public
6715
+ */
6716
+ metadataForms?: FormOutput[] | undefined;
6717
+ }
6718
+ /**
6719
+ * <p>The details of the subscription target configuration.</p>
6720
+ * @public
6721
+ */
6722
+ export interface SubscriptionTargetForm {
6723
+ /**
6724
+ * <p>The form name included in the subscription target configuration.</p>
6725
+ * @public
6726
+ */
6727
+ formName: string | undefined;
6728
+ /**
6729
+ * <p>The content of the subscription target configuration.</p>
6730
+ * @public
6731
+ */
6732
+ content: string | undefined;
6733
+ }
6734
+ /**
6735
+ * @public
6736
+ */
6737
+ export interface CreateSubscriptionTargetInput {
6738
+ /**
6739
+ * <p>The ID of the Amazon DataZone domain in which subscription target is created.</p>
6740
+ * @public
6741
+ */
6742
+ domainIdentifier: string | undefined;
6743
+ /**
6744
+ * <p>The ID of the environment in which subscription target is created.</p>
6745
+ * @public
6746
+ */
6747
+ environmentIdentifier: string | undefined;
6748
+ /**
6749
+ * <p>The name of the subscription target.</p>
6750
+ * @public
6751
+ */
6752
+ name: string | undefined;
6753
+ /**
6754
+ * <p>The type of the subscription target.</p>
6755
+ * @public
6756
+ */
6757
+ type: string | undefined;
6758
+ /**
6759
+ * <p>The configuration of the subscription target.</p>
6760
+ * @public
6761
+ */
6762
+ subscriptionTargetConfig: SubscriptionTargetForm[] | undefined;
6763
+ /**
6764
+ * <p>The authorized principals of the subscription target.</p>
6765
+ * @public
6766
+ */
6767
+ authorizedPrincipals: string[] | undefined;
6768
+ /**
6769
+ * <p>The manage access role that is used to create the subscription target.</p>
6770
+ * @public
6771
+ */
6772
+ manageAccessRole: string | undefined;
6773
+ /**
6774
+ * <p>The asset types that can be included in the subscription target.</p>
6775
+ * @public
6776
+ */
6777
+ applicableAssetTypes: string[] | undefined;
6778
+ /**
6779
+ * <p>The provider of the subscription target.</p>
6780
+ * @public
6781
+ */
6782
+ provider?: string | undefined;
6783
+ /**
6784
+ * <p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the
6785
+ * request.</p>
6786
+ * @public
6787
+ */
6788
+ clientToken?: string | undefined;
6789
+ }
6790
+ /**
6791
+ * @public
6792
+ */
6793
+ export interface CreateSubscriptionTargetOutput {
6794
+ /**
6795
+ * <p>The ID of the subscription target.</p>
6464
6796
  * @public
6465
6797
  */
6466
6798
  id: string | undefined;
@@ -8351,477 +8683,77 @@ export interface DeleteSubscriptionGrantInput {
8351
8683
  /**
8352
8684
  * @public
8353
8685
  */
8354
- export interface DeleteSubscriptionGrantOutput {
8355
- /**
8356
- * <p>The ID of the subscription grant that is deleted.</p>
8357
- * @public
8358
- */
8359
- id: string | undefined;
8360
- /**
8361
- * <p>The Amazon DataZone user who created the subscription grant that is deleted.</p>
8362
- * @public
8363
- */
8364
- createdBy: string | undefined;
8365
- /**
8366
- * <p>The Amazon DataZone user who updated the subscription grant that is deleted.</p>
8367
- * @public
8368
- */
8369
- updatedBy?: string | undefined;
8370
- /**
8371
- * <p>The ID of the Amazon DataZone domain in which the subscription grant is deleted.</p>
8372
- * @public
8373
- */
8374
- domainId: string | undefined;
8375
- /**
8376
- * <p>The timestamp of when the subscription grant that is deleted was created.</p>
8377
- * @public
8378
- */
8379
- createdAt: Date | undefined;
8380
- /**
8381
- * <p>The timestamp of when the subscription grant that is deleted was updated.</p>
8382
- * @public
8383
- */
8384
- updatedAt: Date | undefined;
8385
- /**
8386
- * <p>The ID of the subscription target associated with the subscription grant that is
8387
- * deleted.</p>
8388
- * @public
8389
- */
8390
- subscriptionTargetId: string | undefined;
8391
- /**
8392
- * <p>The entity to which the subscription is deleted.</p>
8393
- * @public
8394
- */
8395
- grantedEntity: GrantedEntity | undefined;
8396
- /**
8397
- * <p>The status of the subscription grant that is deleted.</p>
8398
- * @public
8399
- */
8400
- status: SubscriptionGrantOverallStatus | undefined;
8401
- /**
8402
- * <p>The assets for which the subsctiption grant that is deleted gave access.</p>
8403
- * @public
8404
- */
8405
- assets?: SubscribedAsset[] | undefined;
8406
- /**
8407
- * @deprecated
8408
- *
8409
- * <p>The identifier of the subsctiption whose subscription grant is to be deleted.</p>
8410
- * @public
8411
- */
8412
- subscriptionId?: string | undefined;
8413
- }
8414
- /**
8415
- * @public
8416
- */
8417
- export interface DeleteSubscriptionRequestInput {
8418
- /**
8419
- * <p>The ID of the Amazon DataZone domain in which the subscription request is deleted.</p>
8420
- * @public
8421
- */
8422
- domainIdentifier: string | undefined;
8423
- /**
8424
- * <p>The ID of the subscription request that is deleted.</p>
8425
- * @public
8426
- */
8427
- identifier: string | undefined;
8428
- }
8429
- /**
8430
- * @public
8431
- */
8432
- export interface DeleteSubscriptionTargetInput {
8433
- /**
8434
- * <p>The ID of the Amazon DataZone domain in which the subscription target is deleted.</p>
8435
- * @public
8436
- */
8437
- domainIdentifier: string | undefined;
8438
- /**
8439
- * <p>The ID of the Amazon DataZone environment in which the subscription target is deleted.</p>
8440
- * @public
8441
- */
8442
- environmentIdentifier: string | undefined;
8443
- /**
8444
- * <p>The ID of the subscription target that is deleted.</p>
8445
- * @public
8446
- */
8447
- identifier: string | undefined;
8448
- }
8449
- /**
8450
- * @public
8451
- * @enum
8452
- */
8453
- export declare const TimeSeriesEntityType: {
8454
- readonly ASSET: "ASSET";
8455
- readonly LISTING: "LISTING";
8456
- };
8457
- /**
8458
- * @public
8459
- */
8460
- export type TimeSeriesEntityType = (typeof TimeSeriesEntityType)[keyof typeof TimeSeriesEntityType];
8461
- /**
8462
- * @public
8463
- */
8464
- export interface DeleteTimeSeriesDataPointsInput {
8465
- /**
8466
- * <p>The ID of the Amazon DataZone domain that houses the asset for which you want to delete
8467
- * a time series form.</p>
8468
- * @public
8469
- */
8470
- domainIdentifier: string | undefined;
8471
- /**
8472
- * <p>The ID of the asset for which you want to delete a time series form.</p>
8473
- * @public
8474
- */
8475
- entityIdentifier: string | undefined;
8476
- /**
8477
- * <p>The type of the asset for which you want to delete a time series form.</p>
8478
- * @public
8479
- */
8480
- entityType: TimeSeriesEntityType | undefined;
8481
- /**
8482
- * <p>The name of the time series form that you want to delete.</p>
8483
- * @public
8484
- */
8485
- formName: string | undefined;
8486
- /**
8487
- * <p>A unique, case-sensitive identifier to ensure idempotency of the request. This field is
8488
- * automatically populated if not provided.</p>
8489
- * @public
8490
- */
8491
- clientToken?: string | undefined;
8492
- }
8493
- /**
8494
- * @public
8495
- */
8496
- export interface DeleteTimeSeriesDataPointsOutput {
8497
- }
8498
- /**
8499
- * @public
8500
- */
8501
- export interface DisassociateEnvironmentRoleInput {
8502
- /**
8503
- * <p>The ID of the Amazon DataZone domain in which an environment role is disassociated.</p>
8504
- * @public
8505
- */
8506
- domainIdentifier: string | undefined;
8507
- /**
8508
- * <p>The ID of the environment.</p>
8509
- * @public
8510
- */
8511
- environmentIdentifier: string | undefined;
8512
- /**
8513
- * <p>The ARN of the environment role.</p>
8514
- * @public
8515
- */
8516
- environmentRoleArn: string | undefined;
8517
- }
8518
- /**
8519
- * @public
8520
- */
8521
- export interface DisassociateEnvironmentRoleOutput {
8522
- }
8523
- /**
8524
- * @public
8525
- */
8526
- export interface DeleteDomainInput {
8527
- /**
8528
- * <p>The identifier of the Amazon Web Services domain that is to be deleted.</p>
8529
- * @public
8530
- */
8531
- identifier: string | undefined;
8532
- /**
8533
- * <p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the
8534
- * request.</p>
8535
- * @public
8536
- */
8537
- clientToken?: string | undefined;
8538
- /**
8539
- * <p>Specifies the optional flag to delete all child entities within the domain.</p>
8540
- * @public
8541
- */
8542
- skipDeletionCheck?: boolean | undefined;
8543
- }
8544
- /**
8545
- * @public
8546
- */
8547
- export interface DeleteDomainOutput {
8548
- /**
8549
- * <p>The status of the domain.</p>
8550
- * @public
8551
- */
8552
- status: DomainStatus | undefined;
8553
- }
8554
- /**
8555
- * @public
8556
- */
8557
- export interface GetDomainInput {
8558
- /**
8559
- * <p>The identifier of the specified Amazon DataZone domain.</p>
8560
- * @public
8561
- */
8562
- identifier: string | undefined;
8563
- }
8564
- /**
8565
- * @public
8566
- */
8567
- export interface GetDomainOutput {
8568
- /**
8569
- * <p>The identifier of the specified Amazon DataZone domain.</p>
8570
- * @public
8571
- */
8572
- id: string | undefined;
8573
- /**
8574
- * <p>The ID of the root domain in Amazon Datazone.</p>
8575
- * @public
8576
- */
8577
- rootDomainUnitId?: string | undefined;
8578
- /**
8579
- * <p>The name of the Amazon DataZone domain.</p>
8580
- * @public
8581
- */
8582
- name?: string | undefined;
8583
- /**
8584
- * <p>The description of the Amazon DataZone domain.</p>
8585
- * @public
8586
- */
8587
- description?: string | undefined;
8588
- /**
8589
- * <p>The single sing-on option of the specified Amazon DataZone domain.</p>
8590
- * @public
8591
- */
8592
- singleSignOn?: SingleSignOn | undefined;
8593
- /**
8594
- * <p>The domain execution role with which the Amazon DataZone domain is created.</p>
8595
- * @public
8596
- */
8597
- domainExecutionRole: string | undefined;
8598
- /**
8599
- * <p>The ARN of the specified Amazon DataZone domain.</p>
8600
- * @public
8601
- */
8602
- arn?: string | undefined;
8603
- /**
8604
- * <p>The identifier of the Amazon Web Services Key Management Service (KMS) key that is used
8605
- * to encrypt the Amazon DataZone domain, metadata, and reporting data. </p>
8606
- * @public
8607
- */
8608
- kmsKeyIdentifier?: string | undefined;
8609
- /**
8610
- * <p>The status of the specified Amazon DataZone domain.</p>
8611
- * @public
8612
- */
8613
- status: DomainStatus | undefined;
8614
- /**
8615
- * <p>The URL of the data portal for this Amazon DataZone domain.</p>
8616
- * @public
8617
- */
8618
- portalUrl?: string | undefined;
8619
- /**
8620
- * <p>The timestamp of when the Amazon DataZone domain was created.</p>
8621
- * @public
8622
- */
8623
- createdAt?: Date | undefined;
8624
- /**
8625
- * <p>The timestamp of when the Amazon DataZone domain was last updated.</p>
8626
- * @public
8627
- */
8628
- lastUpdatedAt?: Date | undefined;
8629
- /**
8630
- * <p>The tags specified for the Amazon DataZone domain.</p>
8631
- * @public
8632
- */
8633
- tags?: Record<string, string> | undefined;
8634
- }
8635
- /**
8636
- * @public
8637
- */
8638
- export interface ListDomainsInput {
8639
- /**
8640
- * <p>The status of the data source.</p>
8641
- * @public
8642
- */
8643
- status?: DomainStatus | undefined;
8644
- /**
8645
- * <p>The maximum number of domains to return in a single call to <code>ListDomains</code>.
8646
- * When the number of domains to be listed is greater than the value of
8647
- * <code>MaxResults</code>, the response contains a <code>NextToken</code> value that you
8648
- * can use in a subsequent call to <code>ListDomains</code> to list the next set of
8649
- * domains.</p>
8650
- * @public
8651
- */
8652
- maxResults?: number | undefined;
8653
- /**
8654
- * <p>When the number of domains is greater than the default value for the
8655
- * <code>MaxResults</code> parameter, or if you explicitly specify a value for
8656
- * <code>MaxResults</code> that is less than the number of domains, the response includes a
8657
- * pagination token named <code>NextToken</code>. You can specify this <code>NextToken</code>
8658
- * value in a subsequent call to <code>ListDomains</code> to list the next set of
8659
- * domains.</p>
8660
- * @public
8661
- */
8662
- nextToken?: string | undefined;
8663
- }
8664
- /**
8665
- * <p>A summary of a Amazon DataZone domain.</p>
8666
- * @public
8667
- */
8668
- export interface DomainSummary {
8669
- /**
8670
- * <p>The ID of the Amazon DataZone domain.</p>
8671
- * @public
8672
- */
8673
- id: string | undefined;
8674
- /**
8675
- * <p>A name of an Amazon DataZone domain.</p>
8676
- * @public
8677
- */
8678
- name: string | undefined;
8679
- /**
8680
- * <p>A description of an Amazon DataZone domain.</p>
8681
- * @public
8682
- */
8683
- description?: string | undefined;
8684
- /**
8685
- * <p>The ARN of the Amazon DataZone domain.</p>
8686
- * @public
8687
- */
8688
- arn: string | undefined;
8689
- /**
8690
- * <p>The identifier of the Amazon Web Services account that manages the domain.</p>
8691
- * @public
8692
- */
8693
- managedAccountId: string | undefined;
8694
- /**
8695
- * <p>The status of the Amazon DataZone domain.</p>
8696
- * @public
8697
- */
8698
- status: DomainStatus | undefined;
8699
- /**
8700
- * <p>The data portal URL for the Amazon DataZone domain.</p>
8701
- * @public
8702
- */
8703
- portalUrl?: string | undefined;
8704
- /**
8705
- * <p>A timestamp of when a Amazon DataZone domain was created.</p>
8706
- * @public
8707
- */
8708
- createdAt: Date | undefined;
8709
- /**
8710
- * <p>A timestamp of when a Amazon DataZone domain was last updated.</p>
8711
- * @public
8712
- */
8713
- lastUpdatedAt?: Date | undefined;
8714
- }
8715
- /**
8716
- * @public
8717
- */
8718
- export interface ListDomainsOutput {
8719
- /**
8720
- * <p>The results of the <code>ListDomains</code> action.</p>
8721
- * @public
8722
- */
8723
- items: DomainSummary[] | undefined;
8724
- /**
8725
- * <p>When the number of domains is greater than the default value for the
8726
- * <code>MaxResults</code> parameter, or if you explicitly specify a value for
8727
- * <code>MaxResults</code> that is less than the number of domains, the response includes a
8728
- * pagination token named <code>NextToken</code>. You can specify this <code>NextToken</code>
8729
- * value in a subsequent call to <code>ListDomains</code> to list the next set of
8730
- * domains.</p>
8731
- * @public
8732
- */
8733
- nextToken?: string | undefined;
8734
- }
8735
- /**
8736
- * @public
8737
- */
8738
- export interface UpdateDomainInput {
8739
- /**
8740
- * <p>The ID of the Amazon Web Services domain that is to be updated.</p>
8741
- * @public
8742
- */
8743
- identifier: string | undefined;
8744
- /**
8745
- * <p>The description to be updated as part of the <code>UpdateDomain</code> action.</p>
8746
- * @public
8747
- */
8748
- description?: string | undefined;
8686
+ export interface DeleteSubscriptionGrantOutput {
8749
8687
  /**
8750
- * <p>The single sign-on option to be updated as part of the <code>UpdateDomain</code>
8751
- * action.</p>
8688
+ * <p>The ID of the subscription grant that is deleted.</p>
8752
8689
  * @public
8753
8690
  */
8754
- singleSignOn?: SingleSignOn | undefined;
8691
+ id: string | undefined;
8755
8692
  /**
8756
- * <p>The domain execution role to be updated as part of the <code>UpdateDomain</code>
8757
- * action.</p>
8693
+ * <p>The Amazon DataZone user who created the subscription grant that is deleted.</p>
8758
8694
  * @public
8759
8695
  */
8760
- domainExecutionRole?: string | undefined;
8696
+ createdBy: string | undefined;
8761
8697
  /**
8762
- * <p>The name to be updated as part of the <code>UpdateDomain</code> action.</p>
8698
+ * <p>The Amazon DataZone user who updated the subscription grant that is deleted.</p>
8763
8699
  * @public
8764
8700
  */
8765
- name?: string | undefined;
8701
+ updatedBy?: string | undefined;
8766
8702
  /**
8767
- * <p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the
8768
- * request.</p>
8703
+ * <p>The ID of the Amazon DataZone domain in which the subscription grant is deleted.</p>
8769
8704
  * @public
8770
8705
  */
8771
- clientToken?: string | undefined;
8772
- }
8773
- /**
8774
- * @public
8775
- */
8776
- export interface UpdateDomainOutput {
8706
+ domainId: string | undefined;
8777
8707
  /**
8778
- * <p>The identifier of the Amazon DataZone domain.</p>
8708
+ * <p>The timestamp of when the subscription grant that is deleted was created.</p>
8779
8709
  * @public
8780
8710
  */
8781
- id: string | undefined;
8711
+ createdAt: Date | undefined;
8782
8712
  /**
8783
- * <p>The ID of the root domain unit.</p>
8713
+ * <p>The timestamp of when the subscription grant that is deleted was updated.</p>
8784
8714
  * @public
8785
8715
  */
8786
- rootDomainUnitId?: string | undefined;
8716
+ updatedAt: Date | undefined;
8787
8717
  /**
8788
- * <p>The description to be updated as part of the <code>UpdateDomain</code> action.</p>
8718
+ * <p>The ID of the subscription target associated with the subscription grant that is
8719
+ * deleted.</p>
8789
8720
  * @public
8790
8721
  */
8791
- description?: string | undefined;
8722
+ subscriptionTargetId: string | undefined;
8792
8723
  /**
8793
- * <p>The single sign-on option of the Amazon DataZone domain.</p>
8724
+ * <p>The entity to which the subscription is deleted.</p>
8794
8725
  * @public
8795
8726
  */
8796
- singleSignOn?: SingleSignOn | undefined;
8727
+ grantedEntity: GrantedEntity | undefined;
8797
8728
  /**
8798
- * <p>The domain execution role to be updated as part of the <code>UpdateDomain</code>
8799
- * action.</p>
8729
+ * <p>The status of the subscription grant that is deleted.</p>
8800
8730
  * @public
8801
8731
  */
8802
- domainExecutionRole?: string | undefined;
8732
+ status: SubscriptionGrantOverallStatus | undefined;
8803
8733
  /**
8804
- * <p>The name to be updated as part of the <code>UpdateDomain</code> action.</p>
8734
+ * <p>The assets for which the subsctiption grant that is deleted gave access.</p>
8805
8735
  * @public
8806
8736
  */
8807
- name?: string | undefined;
8737
+ assets?: SubscribedAsset[] | undefined;
8808
8738
  /**
8809
- * <p>Specifies the timestamp of when the domain was last updated.</p>
8739
+ * @deprecated
8740
+ *
8741
+ * <p>The identifier of the subsctiption whose subscription grant is to be deleted.</p>
8810
8742
  * @public
8811
8743
  */
8812
- lastUpdatedAt?: Date | undefined;
8744
+ subscriptionId?: string | undefined;
8813
8745
  }
8814
8746
  /**
8815
8747
  * @public
8816
8748
  */
8817
- export interface DeleteDomainUnitInput {
8749
+ export interface DeleteSubscriptionRequestInput {
8818
8750
  /**
8819
- * <p>The ID of the domain where you want to delete a domain unit.</p>
8751
+ * <p>The ID of the Amazon DataZone domain in which the subscription request is deleted.</p>
8820
8752
  * @public
8821
8753
  */
8822
8754
  domainIdentifier: string | undefined;
8823
8755
  /**
8824
- * <p>The ID of the domain unit that you want to delete.</p>
8756
+ * <p>The ID of the subscription request that is deleted.</p>
8825
8757
  * @public
8826
8758
  */
8827
8759
  identifier: string | undefined;
@@ -8829,240 +8761,237 @@ export interface DeleteDomainUnitInput {
8829
8761
  /**
8830
8762
  * @public
8831
8763
  */
8832
- export interface DeleteDomainUnitOutput {
8833
- }
8834
- /**
8835
- * @public
8836
- */
8837
- export interface GetDomainUnitInput {
8764
+ export interface DeleteSubscriptionTargetInput {
8838
8765
  /**
8839
- * <p>The ID of the domain where you want to get a domain unit.</p>
8766
+ * <p>The ID of the Amazon DataZone domain in which the subscription target is deleted.</p>
8840
8767
  * @public
8841
8768
  */
8842
8769
  domainIdentifier: string | undefined;
8843
8770
  /**
8844
- * <p>The identifier of the domain unit that you want to get.</p>
8771
+ * <p>The ID of the Amazon DataZone environment in which the subscription target is deleted.</p>
8772
+ * @public
8773
+ */
8774
+ environmentIdentifier: string | undefined;
8775
+ /**
8776
+ * <p>The ID of the subscription target that is deleted.</p>
8845
8777
  * @public
8846
8778
  */
8847
8779
  identifier: string | undefined;
8848
8780
  }
8781
+ /**
8782
+ * @public
8783
+ * @enum
8784
+ */
8785
+ export declare const TimeSeriesEntityType: {
8786
+ readonly ASSET: "ASSET";
8787
+ readonly LISTING: "LISTING";
8788
+ };
8849
8789
  /**
8850
8790
  * @public
8851
8791
  */
8852
- export interface GetDomainUnitOutput {
8853
- /**
8854
- * <p>The ID of the domain unit.</p>
8855
- * @public
8856
- */
8857
- id: string | undefined;
8858
- /**
8859
- * <p>The ID of the domain in which the domain unit lives.</p>
8860
- * @public
8861
- */
8862
- domainId: string | undefined;
8792
+ export type TimeSeriesEntityType = (typeof TimeSeriesEntityType)[keyof typeof TimeSeriesEntityType];
8793
+ /**
8794
+ * @public
8795
+ */
8796
+ export interface DeleteTimeSeriesDataPointsInput {
8863
8797
  /**
8864
- * <p>The name of the domain unit.</p>
8798
+ * <p>The ID of the Amazon DataZone domain that houses the asset for which you want to delete
8799
+ * a time series form.</p>
8865
8800
  * @public
8866
8801
  */
8867
- name: string | undefined;
8802
+ domainIdentifier: string | undefined;
8868
8803
  /**
8869
- * <p>The ID of the parent domain unit.</p>
8804
+ * <p>The ID of the asset for which you want to delete a time series form.</p>
8870
8805
  * @public
8871
8806
  */
8872
- parentDomainUnitId?: string | undefined;
8807
+ entityIdentifier: string | undefined;
8873
8808
  /**
8874
- * <p>The description of the domain unit.</p>
8809
+ * <p>The type of the asset for which you want to delete a time series form.</p>
8875
8810
  * @public
8876
8811
  */
8877
- description?: string | undefined;
8812
+ entityType: TimeSeriesEntityType | undefined;
8878
8813
  /**
8879
- * <p>The owners of the domain unit.</p>
8814
+ * <p>The name of the time series form that you want to delete.</p>
8880
8815
  * @public
8881
8816
  */
8882
- owners: DomainUnitOwnerProperties[] | undefined;
8817
+ formName: string | undefined;
8883
8818
  /**
8884
- * <p>The time stamp at which the domain unit was created.</p>
8819
+ * <p>A unique, case-sensitive identifier to ensure idempotency of the request. This field is
8820
+ * automatically populated if not provided.</p>
8885
8821
  * @public
8886
8822
  */
8887
- createdAt?: Date | undefined;
8823
+ clientToken?: string | undefined;
8824
+ }
8825
+ /**
8826
+ * @public
8827
+ */
8828
+ export interface DeleteTimeSeriesDataPointsOutput {
8829
+ }
8830
+ /**
8831
+ * @public
8832
+ */
8833
+ export interface DisassociateEnvironmentRoleInput {
8888
8834
  /**
8889
- * <p>The timestamp at which the domain unit was last updated.</p>
8835
+ * <p>The ID of the Amazon DataZone domain in which an environment role is disassociated.</p>
8890
8836
  * @public
8891
8837
  */
8892
- lastUpdatedAt?: Date | undefined;
8838
+ domainIdentifier: string | undefined;
8893
8839
  /**
8894
- * <p>The user who created the domain unit.</p>
8840
+ * <p>The ID of the environment.</p>
8895
8841
  * @public
8896
8842
  */
8897
- createdBy?: string | undefined;
8843
+ environmentIdentifier: string | undefined;
8898
8844
  /**
8899
- * <p>The user who last updated the domain unit.</p>
8845
+ * <p>The ARN of the environment role.</p>
8900
8846
  * @public
8901
8847
  */
8902
- lastUpdatedBy?: string | undefined;
8848
+ environmentRoleArn: string | undefined;
8903
8849
  }
8904
8850
  /**
8905
8851
  * @public
8906
8852
  */
8907
- export interface ListDomainUnitsForParentInput {
8908
- /**
8909
- * <p>The ID of the domain in which you want to list domain units for a parent domain
8910
- * unit.</p>
8911
- * @public
8912
- */
8913
- domainIdentifier: string | undefined;
8853
+ export interface DisassociateEnvironmentRoleOutput {
8854
+ }
8855
+ /**
8856
+ * @public
8857
+ */
8858
+ export interface DeleteDomainInput {
8914
8859
  /**
8915
- * <p>The ID of the parent domain unit.</p>
8860
+ * <p>The identifier of the Amazon Web Services domain that is to be deleted.</p>
8916
8861
  * @public
8917
8862
  */
8918
- parentDomainUnitIdentifier: string | undefined;
8863
+ identifier: string | undefined;
8919
8864
  /**
8920
- * <p>The maximum number of domain units to return in a single call to
8921
- * ListDomainUnitsForParent. When the number of domain units to be listed is greater than the
8922
- * value of MaxResults, the response contains a NextToken value that you can use in a
8923
- * subsequent call to ListDomainUnitsForParent to list the next set of domain units.</p>
8865
+ * <p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the
8866
+ * request.</p>
8924
8867
  * @public
8925
8868
  */
8926
- maxResults?: number | undefined;
8869
+ clientToken?: string | undefined;
8927
8870
  /**
8928
- * <p>When the number of domain units is greater than the default value for the MaxResults
8929
- * parameter, or if you explicitly specify a value for MaxResults that is less than the number
8930
- * of domain units, the response includes a pagination token named NextToken. You can specify
8931
- * this NextToken value in a subsequent call to ListDomainUnitsForParent to list the next set
8932
- * of domain units.</p>
8871
+ * <p>Specifies the optional flag to delete all child entities within the domain.</p>
8933
8872
  * @public
8934
8873
  */
8935
- nextToken?: string | undefined;
8874
+ skipDeletionCheck?: boolean | undefined;
8936
8875
  }
8937
8876
  /**
8938
- * <p>The summary of the domain unit.</p>
8939
8877
  * @public
8940
8878
  */
8941
- export interface DomainUnitSummary {
8942
- /**
8943
- * <p>The name of the domain unit summary.</p>
8944
- * @public
8945
- */
8946
- name: string | undefined;
8879
+ export interface DeleteDomainOutput {
8947
8880
  /**
8948
- * <p>The ID of the domain unit summary.</p>
8881
+ * <p>The status of the domain.</p>
8949
8882
  * @public
8950
8883
  */
8951
- id: string | undefined;
8884
+ status: DomainStatus | undefined;
8952
8885
  }
8953
8886
  /**
8954
8887
  * @public
8955
8888
  */
8956
- export interface ListDomainUnitsForParentOutput {
8957
- /**
8958
- * <p>The results returned by this action.</p>
8959
- * @public
8960
- */
8961
- items: DomainUnitSummary[] | undefined;
8889
+ export interface GetDomainInput {
8962
8890
  /**
8963
- * <p>When the number of domain units is greater than the default value for the MaxResults
8964
- * parameter, or if you explicitly specify a value for MaxResults that is less than the number
8965
- * of domain units, the response includes a pagination token named NextToken. You can specify
8966
- * this NextToken value in a subsequent call to ListDomainUnitsForParent to list the next set
8967
- * of domain units.</p>
8891
+ * <p>The identifier of the specified Amazon DataZone domain.</p>
8968
8892
  * @public
8969
8893
  */
8970
- nextToken?: string | undefined;
8894
+ identifier: string | undefined;
8971
8895
  }
8972
8896
  /**
8973
8897
  * @public
8974
8898
  */
8975
- export interface UpdateDomainUnitInput {
8899
+ export interface GetDomainOutput {
8976
8900
  /**
8977
- * <p>The ID of the domain where you want to update a domain unit.</p>
8901
+ * <p>The identifier of the specified Amazon DataZone domain.</p>
8978
8902
  * @public
8979
8903
  */
8980
- domainIdentifier: string | undefined;
8904
+ id: string | undefined;
8981
8905
  /**
8982
- * <p>The ID of the domain unit that you want to update.</p>
8906
+ * <p>The ID of the root domain in Amazon Datazone.</p>
8983
8907
  * @public
8984
8908
  */
8985
- identifier: string | undefined;
8909
+ rootDomainUnitId?: string | undefined;
8986
8910
  /**
8987
- * <p>The description of the domain unit that you want to update.</p>
8911
+ * <p>The name of the Amazon DataZone domain.</p>
8988
8912
  * @public
8989
8913
  */
8990
- description?: string | undefined;
8914
+ name?: string | undefined;
8991
8915
  /**
8992
- * <p>The name of the domain unit that you want to update.</p>
8916
+ * <p>The description of the Amazon DataZone domain.</p>
8993
8917
  * @public
8994
8918
  */
8995
- name?: string | undefined;
8996
- }
8997
- /**
8998
- * @public
8999
- */
9000
- export interface UpdateDomainUnitOutput {
8919
+ description?: string | undefined;
9001
8920
  /**
9002
- * <p>The ID of the domain unit that you want to update.</p>
8921
+ * <p>The single sing-on option of the specified Amazon DataZone domain.</p>
9003
8922
  * @public
9004
8923
  */
9005
- id: string | undefined;
8924
+ singleSignOn?: SingleSignOn | undefined;
9006
8925
  /**
9007
- * <p>The ID of the domain where you want to update the domain unit.</p>
8926
+ * <p>The domain execution role with which the Amazon DataZone domain is created.</p>
9008
8927
  * @public
9009
8928
  */
9010
- domainId: string | undefined;
8929
+ domainExecutionRole: string | undefined;
9011
8930
  /**
9012
- * <p>The name of the domain unit that you want to update.</p>
8931
+ * <p>The ARN of the specified Amazon DataZone domain.</p>
9013
8932
  * @public
9014
8933
  */
9015
- name: string | undefined;
8934
+ arn?: string | undefined;
9016
8935
  /**
9017
- * <p>The owners of the domain unit that you want to update.</p>
8936
+ * <p>The identifier of the Amazon Web Services Key Management Service (KMS) key that is used
8937
+ * to encrypt the Amazon DataZone domain, metadata, and reporting data. </p>
9018
8938
  * @public
9019
8939
  */
9020
- owners: DomainUnitOwnerProperties[] | undefined;
8940
+ kmsKeyIdentifier?: string | undefined;
9021
8941
  /**
9022
- * <p>The description of the domain unit that you want to update.</p>
8942
+ * <p>The status of the specified Amazon DataZone domain.</p>
9023
8943
  * @public
9024
8944
  */
9025
- description?: string | undefined;
8945
+ status: DomainStatus | undefined;
9026
8946
  /**
9027
- * <p>The ID of the parent domain unit.</p>
8947
+ * <p>The URL of the data portal for this Amazon DataZone domain.</p>
9028
8948
  * @public
9029
8949
  */
9030
- parentDomainUnitId?: string | undefined;
8950
+ portalUrl?: string | undefined;
9031
8951
  /**
9032
- * <p>The time stamp at which the domain unit that you want to update was created.</p>
8952
+ * <p>The timestamp of when the Amazon DataZone domain was created.</p>
9033
8953
  * @public
9034
8954
  */
9035
8955
  createdAt?: Date | undefined;
9036
8956
  /**
9037
- * <p>The timestamp at which the domain unit was last updated.</p>
8957
+ * <p>The timestamp of when the Amazon DataZone domain was last updated.</p>
9038
8958
  * @public
9039
8959
  */
9040
8960
  lastUpdatedAt?: Date | undefined;
9041
8961
  /**
9042
- * <p>The user who created the domain unit that you want to update.</p>
9043
- * @public
9044
- */
9045
- createdBy?: string | undefined;
9046
- /**
9047
- * <p>The user who last updated the domain unit.</p>
8962
+ * <p>The tags specified for the Amazon DataZone domain.</p>
9048
8963
  * @public
9049
8964
  */
9050
- lastUpdatedBy?: string | undefined;
8965
+ tags?: Record<string, string> | undefined;
9051
8966
  }
9052
8967
  /**
9053
8968
  * @public
9054
8969
  */
9055
- export interface DeleteEnvironmentBlueprintConfigurationInput {
8970
+ export interface ListDomainsInput {
9056
8971
  /**
9057
- * <p>The ID of the Amazon DataZone domain in which the blueprint configuration is deleted.</p>
8972
+ * <p>The status of the data source.</p>
9058
8973
  * @public
9059
8974
  */
9060
- domainIdentifier: string | undefined;
8975
+ status?: DomainStatus | undefined;
9061
8976
  /**
9062
- * <p>The ID of the blueprint the configuration of which is deleted.</p>
8977
+ * <p>The maximum number of domains to return in a single call to <code>ListDomains</code>.
8978
+ * When the number of domains to be listed is greater than the value of
8979
+ * <code>MaxResults</code>, the response contains a <code>NextToken</code> value that you
8980
+ * can use in a subsequent call to <code>ListDomains</code> to list the next set of
8981
+ * domains.</p>
9063
8982
  * @public
9064
8983
  */
9065
- environmentBlueprintIdentifier: string | undefined;
8984
+ maxResults?: number | undefined;
8985
+ /**
8986
+ * <p>When the number of domains is greater than the default value for the
8987
+ * <code>MaxResults</code> parameter, or if you explicitly specify a value for
8988
+ * <code>MaxResults</code> that is less than the number of domains, the response includes a
8989
+ * pagination token named <code>NextToken</code>. You can specify this <code>NextToken</code>
8990
+ * value in a subsequent call to <code>ListDomains</code> to list the next set of
8991
+ * domains.</p>
8992
+ * @public
8993
+ */
8994
+ nextToken?: string | undefined;
9066
8995
  }
9067
8996
  /**
9068
8997
  * @internal
@@ -9076,6 +9005,10 @@ export declare const AcceptPredictionsInputFilterSensitiveLog: (obj: AcceptPredi
9076
9005
  * @internal
9077
9006
  */
9078
9007
  export declare const AcceptSubscriptionRequestInputFilterSensitiveLog: (obj: AcceptSubscriptionRequestInput) => any;
9008
+ /**
9009
+ * @internal
9010
+ */
9011
+ export declare const FormOutputFilterSensitiveLog: (obj: FormOutput) => any;
9079
9012
  /**
9080
9013
  * @internal
9081
9014
  */
@@ -9116,10 +9049,6 @@ export declare const FormInputFilterSensitiveLog: (obj: FormInput) => any;
9116
9049
  * @internal
9117
9050
  */
9118
9051
  export declare const CreateAssetInputFilterSensitiveLog: (obj: CreateAssetInput) => any;
9119
- /**
9120
- * @internal
9121
- */
9122
- export declare const FormOutputFilterSensitiveLog: (obj: FormOutput) => any;
9123
9052
  /**
9124
9053
  * @internal
9125
9054
  */
@@ -9272,6 +9201,14 @@ export declare const CreateProjectInputFilterSensitiveLog: (obj: CreateProjectIn
9272
9201
  * @internal
9273
9202
  */
9274
9203
  export declare const CreateProjectOutputFilterSensitiveLog: (obj: CreateProjectOutput) => any;
9204
+ /**
9205
+ * @internal
9206
+ */
9207
+ export declare const CreateRuleInputFilterSensitiveLog: (obj: CreateRuleInput) => any;
9208
+ /**
9209
+ * @internal
9210
+ */
9211
+ export declare const CreateRuleOutputFilterSensitiveLog: (obj: CreateRuleOutput) => any;
9275
9212
  /**
9276
9213
  * @internal
9277
9214
  */
@@ -9356,23 +9293,3 @@ export declare const UpdateDataSourceOutputFilterSensitiveLog: (obj: UpdateDataS
9356
9293
  * @internal
9357
9294
  */
9358
9295
  export declare const DataSourceRunActivityFilterSensitiveLog: (obj: DataSourceRunActivity) => any;
9359
- /**
9360
- * @internal
9361
- */
9362
- export declare const DomainSummaryFilterSensitiveLog: (obj: DomainSummary) => any;
9363
- /**
9364
- * @internal
9365
- */
9366
- export declare const ListDomainsOutputFilterSensitiveLog: (obj: ListDomainsOutput) => any;
9367
- /**
9368
- * @internal
9369
- */
9370
- export declare const GetDomainUnitOutputFilterSensitiveLog: (obj: GetDomainUnitOutput) => any;
9371
- /**
9372
- * @internal
9373
- */
9374
- export declare const UpdateDomainUnitInputFilterSensitiveLog: (obj: UpdateDomainUnitInput) => any;
9375
- /**
9376
- * @internal
9377
- */
9378
- export declare const UpdateDomainUnitOutputFilterSensitiveLog: (obj: UpdateDomainUnitOutput) => any;